diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 00000000..35eb1ddf --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 00000000..0de2685f --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,741 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + { + "keyToString": { + "RunOnceActivity.OpenProjectViewOnStart": "true", + "RunOnceActivity.ShowReadmeOnStart": "true", + "last_opened_file_path": "/Users/ping/workspace/dashboard" + } +} + + + $USER_HOME$/.subversion + + + + + 1678753718354 + + + + + + + + + + + \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 00000000..1d8dd06d --- /dev/null +++ b/README.md @@ -0,0 +1,46 @@ +# framework + +This template should help get you started developing with Vue 3 in Vite. + +## Recommended IDE Setup + +[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin). + +## Type Support for `.vue` Imports in TS + +TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin) to make the TypeScript language service aware of `.vue` types. + +If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a [Take Over Mode](https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669) that is more performant. You can enable it by the following steps: + +1. Disable the built-in TypeScript Extension + 1) Run `Extensions: Show Built-in Extensions` from VSCode's command palette + 2) Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)` +2. Reload the VSCode window by running `Developer: Reload Window` from the command palette. + +## Customize configuration + +See [Vite Configuration Reference](https://vitejs.dev/config/). + +## Project Setup + +```sh +npm install +``` + +### Compile and Hot-Reload for Development + +```sh +npm run dev +``` + +### Type-Check, Compile and Minify for Production + +```sh +npm run build +``` + +### Lint with [ESLint](https://eslint.org/) + +```sh +npm run lint +``` diff --git a/auto-imports.d.ts b/auto-imports.d.ts new file mode 100644 index 00000000..10eab88d --- /dev/null +++ b/auto-imports.d.ts @@ -0,0 +1,604 @@ +// Generated by 'unplugin-auto-import' +export {} +declare global { + const EffectScope: typeof import('vue')['EffectScope'] + const acceptHMRUpdate: typeof import('pinia')['acceptHMRUpdate'] + const asyncComputed: typeof import('@vueuse/core')['asyncComputed'] + const autoResetRef: typeof import('@vueuse/core')['autoResetRef'] + const computed: typeof import('vue')['computed'] + const computedAsync: typeof import('@vueuse/core')['computedAsync'] + const computedEager: typeof import('@vueuse/core')['computedEager'] + const computedInject: typeof import('@vueuse/core')['computedInject'] + const computedWithControl: typeof import('@vueuse/core')['computedWithControl'] + const controlledComputed: typeof import('@vueuse/core')['controlledComputed'] + const controlledRef: typeof import('@vueuse/core')['controlledRef'] + const createApp: typeof import('vue')['createApp'] + const createEventHook: typeof import('@vueuse/core')['createEventHook'] + const createGenericProjection: typeof import('@vueuse/math')['createGenericProjection'] + const createGlobalState: typeof import('@vueuse/core')['createGlobalState'] + const createInjectionState: typeof import('@vueuse/core')['createInjectionState'] + const createPinia: typeof import('pinia')['createPinia'] + const createProjection: typeof import('@vueuse/math')['createProjection'] + const createReactiveFn: typeof import('@vueuse/core')['createReactiveFn'] + const createSharedComposable: typeof import('@vueuse/core')['createSharedComposable'] + const createUnrefFn: typeof import('@vueuse/core')['createUnrefFn'] + const customRef: typeof import('vue')['customRef'] + const debouncedRef: typeof import('@vueuse/core')['debouncedRef'] + const debouncedWatch: typeof import('@vueuse/core')['debouncedWatch'] + const defineAsyncComponent: typeof import('vue')['defineAsyncComponent'] + const defineComponent: typeof import('vue')['defineComponent'] + const defineStore: typeof import('pinia')['defineStore'] + const eagerComputed: typeof import('@vueuse/core')['eagerComputed'] + const effectScope: typeof import('vue')['effectScope'] + const extendRef: typeof import('@vueuse/core')['extendRef'] + const getActivePinia: typeof import('pinia')['getActivePinia'] + const getCurrentInstance: typeof import('vue')['getCurrentInstance'] + const getCurrentScope: typeof import('vue')['getCurrentScope'] + const h: typeof import('vue')['h'] + const ignorableWatch: typeof import('@vueuse/core')['ignorableWatch'] + const inject: typeof import('vue')['inject'] + const isDefined: typeof import('@vueuse/core')['isDefined'] + const isProxy: typeof import('vue')['isProxy'] + const isReactive: typeof import('vue')['isReactive'] + const isReadonly: typeof import('vue')['isReadonly'] + const isRef: typeof import('vue')['isRef'] + const logicAnd: typeof import('@vueuse/math')['logicAnd'] + const logicNot: typeof import('@vueuse/math')['logicNot'] + const logicOr: typeof import('@vueuse/math')['logicOr'] + const makeDestructurable: typeof import('@vueuse/core')['makeDestructurable'] + const mapActions: typeof import('pinia')['mapActions'] + const mapGetters: typeof import('pinia')['mapGetters'] + const mapState: typeof import('pinia')['mapState'] + const mapStores: typeof import('pinia')['mapStores'] + const mapWritableState: typeof import('pinia')['mapWritableState'] + const markRaw: typeof import('vue')['markRaw'] + const nextTick: typeof import('vue')['nextTick'] + const onActivated: typeof import('vue')['onActivated'] + const onBeforeMount: typeof import('vue')['onBeforeMount'] + const onBeforeRouteLeave: typeof import('vue-router')['onBeforeRouteLeave'] + const onBeforeRouteUpdate: typeof import('vue-router')['onBeforeRouteUpdate'] + const onBeforeUnmount: typeof import('vue')['onBeforeUnmount'] + const onBeforeUpdate: typeof import('vue')['onBeforeUpdate'] + const onClickOutside: typeof import('@vueuse/core')['onClickOutside'] + const onDeactivated: typeof import('vue')['onDeactivated'] + const onErrorCaptured: typeof import('vue')['onErrorCaptured'] + const onKeyStroke: typeof import('@vueuse/core')['onKeyStroke'] + const onLongPress: typeof import('@vueuse/core')['onLongPress'] + const onMounted: typeof import('vue')['onMounted'] + const onRenderTracked: typeof import('vue')['onRenderTracked'] + const onRenderTriggered: typeof import('vue')['onRenderTriggered'] + const onScopeDispose: typeof import('vue')['onScopeDispose'] + const onServerPrefetch: typeof import('vue')['onServerPrefetch'] + const onStartTyping: typeof import('@vueuse/core')['onStartTyping'] + const onUnmounted: typeof import('vue')['onUnmounted'] + const onUpdated: typeof import('vue')['onUpdated'] + const pausableWatch: typeof import('@vueuse/core')['pausableWatch'] + const provide: typeof import('vue')['provide'] + const reactify: typeof import('@vueuse/core')['reactify'] + const reactifyObject: typeof import('@vueuse/core')['reactifyObject'] + const reactive: typeof import('vue')['reactive'] + const reactiveComputed: typeof import('@vueuse/core')['reactiveComputed'] + const reactiveOmit: typeof import('@vueuse/core')['reactiveOmit'] + const reactivePick: typeof import('@vueuse/core')['reactivePick'] + const readonly: typeof import('vue')['readonly'] + const ref: typeof import('vue')['ref'] + const refAutoReset: typeof import('@vueuse/core')['refAutoReset'] + const refDebounced: typeof import('@vueuse/core')['refDebounced'] + const refDefault: typeof import('@vueuse/core')['refDefault'] + const refThrottled: typeof import('@vueuse/core')['refThrottled'] + const refWithControl: typeof import('@vueuse/core')['refWithControl'] + const resolveComponent: typeof import('vue')['resolveComponent'] + const resolveDirective: typeof import('vue')['resolveDirective'] + const resolveRef: typeof import('@vueuse/core')['resolveRef'] + const resolveUnref: typeof import('@vueuse/core')['resolveUnref'] + const setActivePinia: typeof import('pinia')['setActivePinia'] + const setMapStoreSuffix: typeof import('pinia')['setMapStoreSuffix'] + const shallowReactive: typeof import('vue')['shallowReactive'] + const shallowReadonly: typeof import('vue')['shallowReadonly'] + const shallowRef: typeof import('vue')['shallowRef'] + const storeToRefs: typeof import('pinia')['storeToRefs'] + const syncRef: typeof import('@vueuse/core')['syncRef'] + const syncRefs: typeof import('@vueuse/core')['syncRefs'] + const templateRef: typeof import('@vueuse/core')['templateRef'] + const throttledRef: typeof import('@vueuse/core')['throttledRef'] + const throttledWatch: typeof import('@vueuse/core')['throttledWatch'] + const toRaw: typeof import('vue')['toRaw'] + const toReactive: typeof import('@vueuse/core')['toReactive'] + const toRef: typeof import('vue')['toRef'] + const toRefs: typeof import('vue')['toRefs'] + const triggerRef: typeof import('vue')['triggerRef'] + const tryOnBeforeMount: typeof import('@vueuse/core')['tryOnBeforeMount'] + const tryOnBeforeUnmount: typeof import('@vueuse/core')['tryOnBeforeUnmount'] + const tryOnMounted: typeof import('@vueuse/core')['tryOnMounted'] + const tryOnScopeDispose: typeof import('@vueuse/core')['tryOnScopeDispose'] + const tryOnUnmounted: typeof import('@vueuse/core')['tryOnUnmounted'] + const unref: typeof import('vue')['unref'] + const unrefElement: typeof import('@vueuse/core')['unrefElement'] + const until: typeof import('@vueuse/core')['until'] + const useAbs: typeof import('@vueuse/math')['useAbs'] + const useActiveElement: typeof import('@vueuse/core')['useActiveElement'] + const useArrayEvery: typeof import('@vueuse/core')['useArrayEvery'] + const useArrayFilter: typeof import('@vueuse/core')['useArrayFilter'] + const useArrayFind: typeof import('@vueuse/core')['useArrayFind'] + const useArrayFindIndex: typeof import('@vueuse/core')['useArrayFindIndex'] + const useArrayJoin: typeof import('@vueuse/core')['useArrayJoin'] + const useArrayMap: typeof import('@vueuse/core')['useArrayMap'] + const useArrayReduce: typeof import('@vueuse/core')['useArrayReduce'] + const useArraySome: typeof import('@vueuse/core')['useArraySome'] + const useArrayUnique: typeof import('@vueuse/core')['useArrayUnique'] + const useAsyncQueue: typeof import('@vueuse/core')['useAsyncQueue'] + const useAsyncState: typeof import('@vueuse/core')['useAsyncState'] + const useAttrs: typeof import('vue')['useAttrs'] + const useAverage: typeof import('@vueuse/math')['useAverage'] + const useBase64: typeof import('@vueuse/core')['useBase64'] + const useBattery: typeof import('@vueuse/core')['useBattery'] + const useBluetooth: typeof import('@vueuse/core')['useBluetooth'] + const useBreakpoints: typeof import('@vueuse/core')['useBreakpoints'] + const useBroadcastChannel: typeof import('@vueuse/core')['useBroadcastChannel'] + const useBrowserLocation: typeof import('@vueuse/core')['useBrowserLocation'] + const useCached: typeof import('@vueuse/core')['useCached'] + const useCeil: typeof import('@vueuse/math')['useCeil'] + const useClamp: typeof import('@vueuse/math')['useClamp'] + const useClipboard: typeof import('@vueuse/core')['useClipboard'] + const useCloned: typeof import('@vueuse/core')['useCloned'] + const useColorMode: typeof import('@vueuse/core')['useColorMode'] + const useConfirmDialog: typeof import('@vueuse/core')['useConfirmDialog'] + const useCounter: typeof import('@vueuse/core')['useCounter'] + const useCssModule: typeof import('vue')['useCssModule'] + const useCssVar: typeof import('@vueuse/core')['useCssVar'] + const useCssVars: typeof import('vue')['useCssVars'] + const useCurrentElement: typeof import('@vueuse/core')['useCurrentElement'] + const useCycleList: typeof import('@vueuse/core')['useCycleList'] + const useDark: typeof import('@vueuse/core')['useDark'] + const useDateFormat: typeof import('@vueuse/core')['useDateFormat'] + const useDebounce: typeof import('@vueuse/core')['useDebounce'] + const useDebounceFn: typeof import('@vueuse/core')['useDebounceFn'] + const useDebouncedRefHistory: typeof import('@vueuse/core')['useDebouncedRefHistory'] + const useDeviceMotion: typeof import('@vueuse/core')['useDeviceMotion'] + const useDeviceOrientation: typeof import('@vueuse/core')['useDeviceOrientation'] + const useDevicePixelRatio: typeof import('@vueuse/core')['useDevicePixelRatio'] + const useDevicesList: typeof import('@vueuse/core')['useDevicesList'] + const useDisplayMedia: typeof import('@vueuse/core')['useDisplayMedia'] + const useDocumentVisibility: typeof import('@vueuse/core')['useDocumentVisibility'] + const useDraggable: typeof import('@vueuse/core')['useDraggable'] + const useDropZone: typeof import('@vueuse/core')['useDropZone'] + const useElementBounding: typeof import('@vueuse/core')['useElementBounding'] + const useElementByPoint: typeof import('@vueuse/core')['useElementByPoint'] + const useElementHover: typeof import('@vueuse/core')['useElementHover'] + const useElementSize: typeof import('@vueuse/core')['useElementSize'] + const useElementVisibility: typeof import('@vueuse/core')['useElementVisibility'] + const useEventBus: typeof import('@vueuse/core')['useEventBus'] + const useEventListener: typeof import('@vueuse/core')['useEventListener'] + const useEventSource: typeof import('@vueuse/core')['useEventSource'] + const useEyeDropper: typeof import('@vueuse/core')['useEyeDropper'] + const useFavicon: typeof import('@vueuse/core')['useFavicon'] + const useFetch: typeof import('@vueuse/core')['useFetch'] + const useFileDialog: typeof import('@vueuse/core')['useFileDialog'] + const useFileSystemAccess: typeof import('@vueuse/core')['useFileSystemAccess'] + const useFloor: typeof import('@vueuse/math')['useFloor'] + const useFocus: typeof import('@vueuse/core')['useFocus'] + const useFocusWithin: typeof import('@vueuse/core')['useFocusWithin'] + const useFps: typeof import('@vueuse/core')['useFps'] + const useFullscreen: typeof import('@vueuse/core')['useFullscreen'] + const useGamepad: typeof import('@vueuse/core')['useGamepad'] + const useGeolocation: typeof import('@vueuse/core')['useGeolocation'] + const useI18n: typeof import('vue-i18n')['useI18n'] + const useIdle: typeof import('@vueuse/core')['useIdle'] + const useImage: typeof import('@vueuse/core')['useImage'] + const useInfiniteScroll: typeof import('@vueuse/core')['useInfiniteScroll'] + const useIntersectionObserver: typeof import('@vueuse/core')['useIntersectionObserver'] + const useInterval: typeof import('@vueuse/core')['useInterval'] + const useIntervalFn: typeof import('@vueuse/core')['useIntervalFn'] + const useKeyModifier: typeof import('@vueuse/core')['useKeyModifier'] + const useLastChanged: typeof import('@vueuse/core')['useLastChanged'] + const useLink: typeof import('vue-router')['useLink'] + const useLocalStorage: typeof import('@vueuse/core')['useLocalStorage'] + const useMagicKeys: typeof import('@vueuse/core')['useMagicKeys'] + const useManualRefHistory: typeof import('@vueuse/core')['useManualRefHistory'] + const useMath: typeof import('@vueuse/math')['useMath'] + const useMax: typeof import('@vueuse/math')['useMax'] + const useMediaControls: typeof import('@vueuse/core')['useMediaControls'] + const useMediaQuery: typeof import('@vueuse/core')['useMediaQuery'] + const useMemoize: typeof import('@vueuse/core')['useMemoize'] + const useMemory: typeof import('@vueuse/core')['useMemory'] + const useMin: typeof import('@vueuse/math')['useMin'] + const useMounted: typeof import('@vueuse/core')['useMounted'] + const useMouse: typeof import('@vueuse/core')['useMouse'] + const useMouseInElement: typeof import('@vueuse/core')['useMouseInElement'] + const useMousePressed: typeof import('@vueuse/core')['useMousePressed'] + const useMutationObserver: typeof import('@vueuse/core')['useMutationObserver'] + const useNavigatorLanguage: typeof import('@vueuse/core')['useNavigatorLanguage'] + const useNetwork: typeof import('@vueuse/core')['useNetwork'] + const useNow: typeof import('@vueuse/core')['useNow'] + const useObjectUrl: typeof import('@vueuse/core')['useObjectUrl'] + const useOffsetPagination: typeof import('@vueuse/core')['useOffsetPagination'] + const useOnline: typeof import('@vueuse/core')['useOnline'] + const usePageLeave: typeof import('@vueuse/core')['usePageLeave'] + const useParallax: typeof import('@vueuse/core')['useParallax'] + const usePermission: typeof import('@vueuse/core')['usePermission'] + const usePointer: typeof import('@vueuse/core')['usePointer'] + const usePointerLock: typeof import('@vueuse/core')['usePointerLock'] + const usePointerSwipe: typeof import('@vueuse/core')['usePointerSwipe'] + const usePrecision: typeof import('@vueuse/math')['usePrecision'] + const usePreferredColorScheme: typeof import('@vueuse/core')['usePreferredColorScheme'] + const usePreferredContrast: typeof import('@vueuse/core')['usePreferredContrast'] + const usePreferredDark: typeof import('@vueuse/core')['usePreferredDark'] + const usePreferredLanguages: typeof import('@vueuse/core')['usePreferredLanguages'] + const usePreferredReducedMotion: typeof import('@vueuse/core')['usePreferredReducedMotion'] + const usePrevious: typeof import('@vueuse/core')['usePrevious'] + const useProjection: typeof import('@vueuse/math')['useProjection'] + const useRafFn: typeof import('@vueuse/core')['useRafFn'] + const useRefHistory: typeof import('@vueuse/core')['useRefHistory'] + const useResizeObserver: typeof import('@vueuse/core')['useResizeObserver'] + const useRound: typeof import('@vueuse/math')['useRound'] + const useRoute: typeof import('vue-router')['useRoute'] + const useRouter: typeof import('vue-router')['useRouter'] + const useScreenOrientation: typeof import('@vueuse/core')['useScreenOrientation'] + const useScreenSafeArea: typeof import('@vueuse/core')['useScreenSafeArea'] + const useScriptTag: typeof import('@vueuse/core')['useScriptTag'] + const useScroll: typeof import('@vueuse/core')['useScroll'] + const useScrollLock: typeof import('@vueuse/core')['useScrollLock'] + const useSessionStorage: typeof import('@vueuse/core')['useSessionStorage'] + const useShare: typeof import('@vueuse/core')['useShare'] + const useSlots: typeof import('vue')['useSlots'] + const useSorted: typeof import('@vueuse/core')['useSorted'] + const useSpeechRecognition: typeof import('@vueuse/core')['useSpeechRecognition'] + const useSpeechSynthesis: typeof import('@vueuse/core')['useSpeechSynthesis'] + const useStepper: typeof import('@vueuse/core')['useStepper'] + const useStorage: typeof import('@vueuse/core')['useStorage'] + const useStorageAsync: typeof import('@vueuse/core')['useStorageAsync'] + const useStyleTag: typeof import('@vueuse/core')['useStyleTag'] + const useSum: typeof import('@vueuse/math')['useSum'] + const useSupported: typeof import('@vueuse/core')['useSupported'] + const useSwipe: typeof import('@vueuse/core')['useSwipe'] + const useTemplateRefsList: typeof import('@vueuse/core')['useTemplateRefsList'] + const useTextDirection: typeof import('@vueuse/core')['useTextDirection'] + const useTextSelection: typeof import('@vueuse/core')['useTextSelection'] + const useTextareaAutosize: typeof import('@vueuse/core')['useTextareaAutosize'] + const useThrottle: typeof import('@vueuse/core')['useThrottle'] + const useThrottleFn: typeof import('@vueuse/core')['useThrottleFn'] + const useThrottledRefHistory: typeof import('@vueuse/core')['useThrottledRefHistory'] + const useTimeAgo: typeof import('@vueuse/core')['useTimeAgo'] + const useTimeout: typeof import('@vueuse/core')['useTimeout'] + const useTimeoutFn: typeof import('@vueuse/core')['useTimeoutFn'] + const useTimeoutPoll: typeof import('@vueuse/core')['useTimeoutPoll'] + const useTimestamp: typeof import('@vueuse/core')['useTimestamp'] + const useTitle: typeof import('@vueuse/core')['useTitle'] + const useToFixed: typeof import('@vueuse/math')['useToFixed'] + const useToNumber: typeof import('@vueuse/core')['useToNumber'] + const useToString: typeof import('@vueuse/core')['useToString'] + const useToggle: typeof import('@vueuse/core')['useToggle'] + const useTransition: typeof import('@vueuse/core')['useTransition'] + const useTrunc: typeof import('@vueuse/math')['useTrunc'] + const useUrlSearchParams: typeof import('@vueuse/core')['useUrlSearchParams'] + const useUserMedia: typeof import('@vueuse/core')['useUserMedia'] + const useVModel: typeof import('@vueuse/core')['useVModel'] + const useVModels: typeof import('@vueuse/core')['useVModels'] + const useVibrate: typeof import('@vueuse/core')['useVibrate'] + const useVirtualList: typeof import('@vueuse/core')['useVirtualList'] + const useWakeLock: typeof import('@vueuse/core')['useWakeLock'] + const useWebNotification: typeof import('@vueuse/core')['useWebNotification'] + const useWebSocket: typeof import('@vueuse/core')['useWebSocket'] + const useWebWorker: typeof import('@vueuse/core')['useWebWorker'] + const useWebWorkerFn: typeof import('@vueuse/core')['useWebWorkerFn'] + const useWindowFocus: typeof import('@vueuse/core')['useWindowFocus'] + const useWindowScroll: typeof import('@vueuse/core')['useWindowScroll'] + const useWindowSize: typeof import('@vueuse/core')['useWindowSize'] + const watch: typeof import('vue')['watch'] + const watchArray: typeof import('@vueuse/core')['watchArray'] + const watchAtMost: typeof import('@vueuse/core')['watchAtMost'] + const watchDebounced: typeof import('@vueuse/core')['watchDebounced'] + const watchEffect: typeof import('vue')['watchEffect'] + const watchIgnorable: typeof import('@vueuse/core')['watchIgnorable'] + const watchOnce: typeof import('@vueuse/core')['watchOnce'] + const watchPausable: typeof import('@vueuse/core')['watchPausable'] + const watchPostEffect: typeof import('vue')['watchPostEffect'] + const watchSyncEffect: typeof import('vue')['watchSyncEffect'] + const watchThrottled: typeof import('@vueuse/core')['watchThrottled'] + const watchTriggerable: typeof import('@vueuse/core')['watchTriggerable'] + const watchWithFilter: typeof import('@vueuse/core')['watchWithFilter'] + const whenever: typeof import('@vueuse/core')['whenever'] +} +// for vue template auto import +import { UnwrapRef } from 'vue' +declare module 'vue' { + interface ComponentCustomProperties { + readonly EffectScope: UnwrapRef + readonly acceptHMRUpdate: UnwrapRef + readonly asyncComputed: UnwrapRef + readonly autoResetRef: UnwrapRef + readonly computed: UnwrapRef + readonly computedAsync: UnwrapRef + readonly computedEager: UnwrapRef + readonly computedInject: UnwrapRef + readonly computedWithControl: UnwrapRef + readonly controlledComputed: UnwrapRef + readonly controlledRef: UnwrapRef + readonly createApp: UnwrapRef + readonly createEventHook: UnwrapRef + readonly createGenericProjection: UnwrapRef + readonly createGlobalState: UnwrapRef + readonly createInjectionState: UnwrapRef + readonly createPinia: UnwrapRef + readonly createProjection: UnwrapRef + readonly createReactiveFn: UnwrapRef + readonly createSharedComposable: UnwrapRef + readonly createUnrefFn: UnwrapRef + readonly customRef: UnwrapRef + readonly debouncedRef: UnwrapRef + readonly debouncedWatch: UnwrapRef + readonly defineAsyncComponent: UnwrapRef + readonly defineComponent: UnwrapRef + readonly defineStore: UnwrapRef + readonly eagerComputed: UnwrapRef + readonly effectScope: UnwrapRef + readonly extendRef: UnwrapRef + readonly getActivePinia: UnwrapRef + readonly getCurrentInstance: UnwrapRef + readonly getCurrentScope: UnwrapRef + readonly h: UnwrapRef + readonly ignorableWatch: UnwrapRef + readonly inject: UnwrapRef + readonly isDefined: UnwrapRef + readonly isProxy: UnwrapRef + readonly isReactive: UnwrapRef + readonly isReadonly: UnwrapRef + readonly isRef: UnwrapRef + readonly logicAnd: UnwrapRef + readonly logicNot: UnwrapRef + readonly logicOr: UnwrapRef + readonly makeDestructurable: UnwrapRef + readonly mapActions: UnwrapRef + readonly mapGetters: UnwrapRef + readonly mapState: UnwrapRef + readonly mapStores: UnwrapRef + readonly mapWritableState: UnwrapRef + readonly markRaw: UnwrapRef + readonly nextTick: UnwrapRef + readonly onActivated: UnwrapRef + readonly onBeforeMount: UnwrapRef + readonly onBeforeRouteLeave: UnwrapRef + readonly onBeforeRouteUpdate: UnwrapRef + readonly onBeforeUnmount: UnwrapRef + readonly onBeforeUpdate: UnwrapRef + readonly onClickOutside: UnwrapRef + readonly onDeactivated: UnwrapRef + readonly onErrorCaptured: UnwrapRef + readonly onKeyStroke: UnwrapRef + readonly onLongPress: UnwrapRef + readonly onMounted: UnwrapRef + readonly onRenderTracked: UnwrapRef + readonly onRenderTriggered: UnwrapRef + readonly onScopeDispose: UnwrapRef + readonly onServerPrefetch: UnwrapRef + readonly onStartTyping: UnwrapRef + readonly onUnmounted: UnwrapRef + readonly onUpdated: UnwrapRef + readonly pausableWatch: UnwrapRef + readonly provide: UnwrapRef + readonly reactify: UnwrapRef + readonly reactifyObject: UnwrapRef + readonly reactive: UnwrapRef + readonly reactiveComputed: UnwrapRef + readonly reactiveOmit: UnwrapRef + readonly reactivePick: UnwrapRef + readonly readonly: UnwrapRef + readonly ref: UnwrapRef + readonly refAutoReset: UnwrapRef + readonly refDebounced: UnwrapRef + readonly refDefault: UnwrapRef + readonly refThrottled: UnwrapRef + readonly refWithControl: UnwrapRef + readonly resolveComponent: UnwrapRef + readonly resolveDirective: UnwrapRef + readonly resolveRef: UnwrapRef + readonly resolveUnref: UnwrapRef + readonly setActivePinia: UnwrapRef + readonly setMapStoreSuffix: UnwrapRef + readonly shallowReactive: UnwrapRef + readonly shallowReadonly: UnwrapRef + readonly shallowRef: UnwrapRef + readonly storeToRefs: UnwrapRef + readonly syncRef: UnwrapRef + readonly syncRefs: UnwrapRef + readonly templateRef: UnwrapRef + readonly throttledRef: UnwrapRef + readonly throttledWatch: UnwrapRef + readonly toRaw: UnwrapRef + readonly toReactive: UnwrapRef + readonly toRef: UnwrapRef + readonly toRefs: UnwrapRef + readonly triggerRef: UnwrapRef + readonly tryOnBeforeMount: UnwrapRef + readonly tryOnBeforeUnmount: UnwrapRef + readonly tryOnMounted: UnwrapRef + readonly tryOnScopeDispose: UnwrapRef + readonly tryOnUnmounted: UnwrapRef + readonly unref: UnwrapRef + readonly unrefElement: UnwrapRef + readonly until: UnwrapRef + readonly useAbs: UnwrapRef + readonly useActiveElement: UnwrapRef + readonly useArrayEvery: UnwrapRef + readonly useArrayFilter: UnwrapRef + readonly useArrayFind: UnwrapRef + readonly useArrayFindIndex: UnwrapRef + readonly useArrayJoin: UnwrapRef + readonly useArrayMap: UnwrapRef + readonly useArrayReduce: UnwrapRef + readonly useArraySome: UnwrapRef + readonly useArrayUnique: UnwrapRef + readonly useAsyncQueue: UnwrapRef + readonly useAsyncState: UnwrapRef + readonly useAttrs: UnwrapRef + readonly useAverage: UnwrapRef + readonly useBase64: UnwrapRef + readonly useBattery: UnwrapRef + readonly useBluetooth: UnwrapRef + readonly useBreakpoints: UnwrapRef + readonly useBroadcastChannel: UnwrapRef + readonly useBrowserLocation: UnwrapRef + readonly useCached: UnwrapRef + readonly useCeil: UnwrapRef + readonly useClamp: UnwrapRef + readonly useClipboard: UnwrapRef + readonly useCloned: UnwrapRef + readonly useColorMode: UnwrapRef + readonly useConfirmDialog: UnwrapRef + readonly useCounter: UnwrapRef + readonly useCssModule: UnwrapRef + readonly useCssVar: UnwrapRef + readonly useCssVars: UnwrapRef + readonly useCurrentElement: UnwrapRef + readonly useCycleList: UnwrapRef + readonly useDark: UnwrapRef + readonly useDateFormat: UnwrapRef + readonly useDebounce: UnwrapRef + readonly useDebounceFn: UnwrapRef + readonly useDebouncedRefHistory: UnwrapRef + readonly useDeviceMotion: UnwrapRef + readonly useDeviceOrientation: UnwrapRef + readonly useDevicePixelRatio: UnwrapRef + readonly useDevicesList: UnwrapRef + readonly useDisplayMedia: UnwrapRef + readonly useDocumentVisibility: UnwrapRef + readonly useDraggable: UnwrapRef + readonly useDropZone: UnwrapRef + readonly useElementBounding: UnwrapRef + readonly useElementByPoint: UnwrapRef + readonly useElementHover: UnwrapRef + readonly useElementSize: UnwrapRef + readonly useElementVisibility: UnwrapRef + readonly useEventBus: UnwrapRef + readonly useEventListener: UnwrapRef + readonly useEventSource: UnwrapRef + readonly useEyeDropper: UnwrapRef + readonly useFavicon: UnwrapRef + readonly useFetch: UnwrapRef + readonly useFileDialog: UnwrapRef + readonly useFileSystemAccess: UnwrapRef + readonly useFloor: UnwrapRef + readonly useFocus: UnwrapRef + readonly useFocusWithin: UnwrapRef + readonly useFps: UnwrapRef + readonly useFullscreen: UnwrapRef + readonly useGamepad: UnwrapRef + readonly useGeolocation: UnwrapRef + readonly useI18n: UnwrapRef + readonly useIdle: UnwrapRef + readonly useImage: UnwrapRef + readonly useInfiniteScroll: UnwrapRef + readonly useIntersectionObserver: UnwrapRef + readonly useInterval: UnwrapRef + readonly useIntervalFn: UnwrapRef + readonly useKeyModifier: UnwrapRef + readonly useLastChanged: UnwrapRef + readonly useLink: UnwrapRef + readonly useLocalStorage: UnwrapRef + readonly useMagicKeys: UnwrapRef + readonly useManualRefHistory: UnwrapRef + readonly useMath: UnwrapRef + readonly useMax: UnwrapRef + readonly useMediaControls: UnwrapRef + readonly useMediaQuery: UnwrapRef + readonly useMemoize: UnwrapRef + readonly useMemory: UnwrapRef + readonly useMin: UnwrapRef + readonly useMounted: UnwrapRef + readonly useMouse: UnwrapRef + readonly useMouseInElement: UnwrapRef + readonly useMousePressed: UnwrapRef + readonly useMutationObserver: UnwrapRef + readonly useNavigatorLanguage: UnwrapRef + readonly useNetwork: UnwrapRef + readonly useNow: UnwrapRef + readonly useObjectUrl: UnwrapRef + readonly useOffsetPagination: UnwrapRef + readonly useOnline: UnwrapRef + readonly usePageLeave: UnwrapRef + readonly useParallax: UnwrapRef + readonly usePermission: UnwrapRef + readonly usePointer: UnwrapRef + readonly usePointerLock: UnwrapRef + readonly usePointerSwipe: UnwrapRef + readonly usePrecision: UnwrapRef + readonly usePreferredColorScheme: UnwrapRef + readonly usePreferredContrast: UnwrapRef + readonly usePreferredDark: UnwrapRef + readonly usePreferredLanguages: UnwrapRef + readonly usePreferredReducedMotion: UnwrapRef + readonly usePrevious: UnwrapRef + readonly useProjection: UnwrapRef + readonly useRafFn: UnwrapRef + readonly useRefHistory: UnwrapRef + readonly useResizeObserver: UnwrapRef + readonly useRound: UnwrapRef + readonly useRoute: UnwrapRef + readonly useRouter: UnwrapRef + readonly useScreenOrientation: UnwrapRef + readonly useScreenSafeArea: UnwrapRef + readonly useScriptTag: UnwrapRef + readonly useScroll: UnwrapRef + readonly useScrollLock: UnwrapRef + readonly useSessionStorage: UnwrapRef + readonly useShare: UnwrapRef + readonly useSlots: UnwrapRef + readonly useSorted: UnwrapRef + readonly useSpeechRecognition: UnwrapRef + readonly useSpeechSynthesis: UnwrapRef + readonly useStepper: UnwrapRef + readonly useStorage: UnwrapRef + readonly useStorageAsync: UnwrapRef + readonly useStyleTag: UnwrapRef + readonly useSum: UnwrapRef + readonly useSupported: UnwrapRef + readonly useSwipe: UnwrapRef + readonly useTemplateRefsList: UnwrapRef + readonly useTextDirection: UnwrapRef + readonly useTextSelection: UnwrapRef + readonly useTextareaAutosize: UnwrapRef + readonly useThrottle: UnwrapRef + readonly useThrottleFn: UnwrapRef + readonly useThrottledRefHistory: UnwrapRef + readonly useTimeAgo: UnwrapRef + readonly useTimeout: UnwrapRef + readonly useTimeoutFn: UnwrapRef + readonly useTimeoutPoll: UnwrapRef + readonly useTimestamp: UnwrapRef + readonly useTitle: UnwrapRef + readonly useToFixed: UnwrapRef + readonly useToNumber: UnwrapRef + readonly useToString: UnwrapRef + readonly useToggle: UnwrapRef + readonly useTransition: UnwrapRef + readonly useTrunc: UnwrapRef + readonly useUrlSearchParams: UnwrapRef + readonly useUserMedia: UnwrapRef + readonly useVModel: UnwrapRef + readonly useVModels: UnwrapRef + readonly useVibrate: UnwrapRef + readonly useVirtualList: UnwrapRef + readonly useWakeLock: UnwrapRef + readonly useWebNotification: UnwrapRef + readonly useWebSocket: UnwrapRef + readonly useWebWorker: UnwrapRef + readonly useWebWorkerFn: UnwrapRef + readonly useWindowFocus: UnwrapRef + readonly useWindowScroll: UnwrapRef + readonly useWindowSize: UnwrapRef + readonly watch: UnwrapRef + readonly watchArray: UnwrapRef + readonly watchAtMost: UnwrapRef + readonly watchDebounced: UnwrapRef + readonly watchEffect: UnwrapRef + readonly watchIgnorable: UnwrapRef + readonly watchOnce: UnwrapRef + readonly watchPausable: UnwrapRef + readonly watchPostEffect: UnwrapRef + readonly watchSyncEffect: UnwrapRef + readonly watchThrottled: UnwrapRef + readonly watchTriggerable: UnwrapRef + readonly watchWithFilter: UnwrapRef + readonly whenever: UnwrapRef + } +} diff --git a/chains/mainnet/8ball.json b/chains/mainnet/8ball.json new file mode 100644 index 00000000..a937ad93 --- /dev/null +++ b/chains/mainnet/8ball.json @@ -0,0 +1,27 @@ +{ + "chain_name": "8ball", + "coingecko": "", + "api": [ + "https://rest.8ball.info", + "https://api-8ball.nodeist.net" + + ], + "rpc": [ + "https://rpc.8ball.info", + "https://rpc-8ball.nodeist.net" + ], + "snapshot_provider": "", + "coin_type": "118", + "sdk_version": "0.46.8", + "addr_prefix": "8ball", + "logo": "/logos/8ball.png", + "assets": [ + { + "base": "uebl", + "symbol": "EBL", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/8ball.png" + } + ] +} diff --git a/chains/mainnet/agoric.json b/chains/mainnet/agoric.json new file mode 100644 index 00000000..a831e63c --- /dev/null +++ b/chains/mainnet/agoric.json @@ -0,0 +1,34 @@ +{ + "chain_name": "agoric", + "api": [ + "https://agoric-api.polkachu.com", + "https://api-agoric.nodes.guru", + "https://agoric.stakesystems.io", + "https://agoric-lcd.stakely.io", + "https://api.agoric.nodestake.top", + "https://agoric.api.kjnodes.com" + ], + "rpc": ["https://main.rpc.agoric.net:443", "https://main.rpc.agoric.net:443", "https://rpc.agoric.nodestake.top", "https://agoric.rpc.kjnodes.com:443"], + "snapshot_provider": "", + "sdk_version": "0.45.4", + "coin_type": "564", + "min_tx_fee": "8000", + "assets": [ + { + "base": "ubld", + "symbol": "BLD", + "exponent": "6", + "coingecko_id": "agoric", + "logo": "/logos/agoric-bld.svg" + }, + { + "base": "uist", + "symbol": "IST", + "exponent": "6", + "coingecko_id": "", + "logo": "" + } + ], + "addr_prefix": "agoric", + "logo": "/logos/agoric.png" +} diff --git a/chains/mainnet/akash.json b/chains/mainnet/akash.json new file mode 100644 index 00000000..2aff7efb --- /dev/null +++ b/chains/mainnet/akash.json @@ -0,0 +1,19 @@ +{ + "chain_name": "akash", + "alias": "akash-network", + "api": ["https://api-akash-ia.cosmosia.notional.ventures/", "https://akash-api.polkachu.com", "https://akash.c29r3.xyz:443/api", "https://akash.api.ping.pub"], + "rpc": ["https://rpc-akash-ia.cosmosia.notional.ventures/", "https://akash-rpc.polkachu.com/", "http://rpc.akash.forbole.com:80", "http://akashsentry01.skynetvalidators.com:26657"], + "snapshot_provider": "", + "sdk_version": "0.45.4", + "coin_type": "118", + "min_tx_fee": "8000", + "assets": [{ + "base": "uakt", + "symbol": "AKT", + "exponent": "6", + "coingecko_id": "akash-network", + "logo": "/logos/akash-network.png" + }], + "addr_prefix": "akash", + "logo": "/logos/akash-network.png" +} \ No newline at end of file diff --git a/chains/mainnet/aura.json.disabled b/chains/mainnet/aura.json.disabled new file mode 100644 index 00000000..ec992f72 --- /dev/null +++ b/chains/mainnet/aura.json.disabled @@ -0,0 +1,19 @@ +{ + "chain_name": "aura", + "coingecko": "aura-network", + "api": ["https://lcd.euphoria.aura.network"], + "rpc": ["https://snapshot-1.euphoria.aura.network:443","https://snapshot-2.euphoria.aura.network:443"], + "snapshot_provider": "705e3c2b2b554586976ed88bb27f68e4c4176a33@13.250.223.114:26656,b9243524f659f2ff56691a4b2919c3060b2bb824@13.214.5.1:26656", + "sdk_version": "0.45.6", + "coin_type": "118", + "min_tx_fee": "8000", + "addr_prefix": "eaura", + "logo": "/logos/aura.png", + "assets": [{ + "base": "ueaura", + "symbol": "AURA", + "exponent": "6", + "coingecko_id": "aura-network", + "logo": "/logos/aura.png" + }] + } diff --git a/chains/mainnet/axelar.json b/chains/mainnet/axelar.json new file mode 100644 index 00000000..7b416ee8 --- /dev/null +++ b/chains/mainnet/axelar.json @@ -0,0 +1,60 @@ +{ + "chain_name": "axelar", + "api": ["https://api-axelar-ia.cosmosia.notional.ventures", "https://lcd-axelar.imperator.co", "https://axelar-lcd.quickapi.com", "https://axelar-api.polkachu.com", "https://axelar-lcd.qubelabs.io", "https://axelar-rest.chainode.tech", "https://axelar-lcd.quantnode.tech", "https://api-1.axelar.nodes.guru:443"], + "rpc": ["https://rpc-axelar-ia.cosmosia.notional.ventures:443", "https://rpc-axelar.imperator.co:443", "https://axelar-rpc.quickapi.com:443", "https://axelar-rpc.pops.one:443", "https://axelar-rpc.chainode.tech:443", "https://axelar-rpc.polkachu.com:443"], + "snapshot_provider": "", + "sdk_version": "0.45.6", + "coin_type": "118", + "min_tx_fee": "800", + "addr_prefix": "axelar", + "logo": "/logos/axelar.svg", + "assets": [{ + "base": "uaxl", + "symbol": "AXL", + "exponent": "6", + "coingecko_id": "axelar", + "logo": "/logos/axelar.svg" + }, { + "base": "uusdc", + "symbol": "axlUSDC", + "exponent": "6", + "coingecko_id": "usd-coin", + "logo": "/logos/usdc.svg" + }, { + "base": "uusdt", + "symbol": "axlUSDT", + "exponent": "6", + "coingecko_id": "tether", + "logo": "/logos/usdt.svg" + }, { + "base": "dai-wei", + "symbol": "axlDAI", + "exponent": "18", + "coingecko_id": "dai", + "logo": "/logos/dai.svg" + }, { + "base": "weth-wei", + "symbol": "axlWETH", + "exponent": "18", + "coingecko_id": "ethereum", + "logo": "/logos/weth.svg" + }, { + "base": "wmatic-wei", + "symbol": "axlWMATIC", + "exponent": "18", + "coingecko_id": "matic-network", + "logo": "/logos/wmatic.svg" + }, { + "base": "wavax-wei", + "symbol": "axlWAVAX", + "exponent": "18", + "coingecko_id": "avalanche-2", + "logo": "/logos/wavax.svg" + }, { + "base": "dot-planck", + "symbol": "axlDOT", + "exponent": "10", + "coingecko_id": "polkadot", + "logo": "/logos/dot.svg" + }] +} diff --git a/chains/mainnet/band.json b/chains/mainnet/band.json new file mode 100644 index 00000000..e4c300a9 --- /dev/null +++ b/chains/mainnet/band.json @@ -0,0 +1,19 @@ +{ + "chain_name": "band", + "alias": "band-protocol", + "api": "https://laozi1.bandchain.org/api", + "rpc": ["http://rpc.laozi1.bandchain.org:80", "http://rpc.laozi1.bandchain.org:80"], + "snapshot_provider": "", + "addr_prefix": "band", + "coin_type": "494", + "min_tx_fee": "8000", + "assets": [{ + "base": "uband", + "symbol": "BAND", + "exponent": "6", + "coingecko_id": "band-protocol", + "logo": "/logos/band-protocol.svg" + }], + "logo": "/logos/band-protocol.svg", + "sdk_version": "0.45.8" +} \ No newline at end of file diff --git a/chains/mainnet/beezee.json b/chains/mainnet/beezee.json new file mode 100644 index 00000000..37027bb0 --- /dev/null +++ b/chains/mainnet/beezee.json @@ -0,0 +1,19 @@ +{ + "chain_name": "beezee", + "coingecko": "bzedge", + "api": ["https://rest.getbze.com"], + "rpc": ["https://rpc-1.getbze.com:443","https://rpc-2.getbze.com:443"], + "snapshot_provider": ["a9fac0534bd6853f5810fdc692564967bd01b1fe@rpc-1.getbze.com:26656"], + "sdk_version": "0.45.9", + "coin_type": "370", + "min_tx_fee": "8000", + "addr_prefix": "bze", + "logo": "/logos/beezee.png", + "assets": [{ + "base": "ubze", + "symbol": "BZE", + "exponent": "6", + "coingecko_id": "bzedge", + "logo": "/logos/beezee.png" + }] + } diff --git a/chains/mainnet/bitcanna.json b/chains/mainnet/bitcanna.json new file mode 100644 index 00000000..941fddb2 --- /dev/null +++ b/chains/mainnet/bitcanna.json @@ -0,0 +1,19 @@ +{ + "chain_name": "bitcanna", + "coingecko": "bitcanna", + "api": ["https://api-bitcanna-ia.cosmosia.notional.ventures", "https://bitcanna-api.polkachu.com", "https://lcd.bitcanna.io"], + "rpc": ["https://rpc-bitcanna-ia.cosmosia.notional.ventures:443", "https://bitcanna-rpc.polkachu.com:443", "https://rpc.bitcanna.io:443"], + "snapshot_provider": "29edc55748bc341224f711a05cb0a9f6d73b4da3@bitcanna.rpc.ping.pub:26656", + "sdk_version": "0.45.10", + "coin_type": "118", + "min_tx_fee": "420", + "assets": [{ + "base": "ubcna", + "symbol": "BCNA", + "exponent": "6", + "coingecko_id": "bitcanna", + "logo": "/logos/bitcanna.svg" + }], + "addr_prefix": "bcna", + "logo": "/logos/bitcanna.svg" +} diff --git a/chains/mainnet/bitsong.json b/chains/mainnet/bitsong.json new file mode 100644 index 00000000..10ef2d7c --- /dev/null +++ b/chains/mainnet/bitsong.json @@ -0,0 +1,18 @@ +{ + "chain_name": "bitsong", + "coingecko": "bitsong", + "api": ["https://api-bitsong-ia.cosmosia.notional.ventures", "https://lcd.explorebitsong.com"], + "rpc": ["https://rpc-bitsong-ia.cosmosia.notional.ventures:443", "https://rpc-bitsong.itastakers.com:443","https://rpc-bitsong.itastakers.com:443"], + "addr_prefix": "bitsong", + "coin_type": "639", + "min_tx_fee": "5000", + "logo": "/logos/bitsong.svg", + "sdk_version": "0.45.6", + "assets": [{ + "base": "ubtsg", + "symbol": "BTSG", + "exponent": "6", + "coingecko_id": "bitsong", + "logo": "/logos/bitsong.svg" + }] +} \ No newline at end of file diff --git a/chains/mainnet/bostrom.json b/chains/mainnet/bostrom.json new file mode 100644 index 00000000..3b3e7249 --- /dev/null +++ b/chains/mainnet/bostrom.json @@ -0,0 +1,19 @@ +{ + "chain_name": "bostrom", + "coingecko": "", + "api": "https://lcd.bostrom.cybernode.ai", + "rpc": ["https://rpc.bostrom.cybernode.ai:443", "https://rpc.bostrom.cybernode.ai:443"], + "snapshot_provider": "", + "sdk_version": "0.44.3", + "coin_type": "118", + "min_tx_fee": "5000", + "addr_prefix": "bostrom", + "logo": "/logos/bostrom.png", + "assets": [{ + "base": "boot", + "symbol": "BOOT", + "exponent": "0", + "coingecko_id": "", + "logo": "/logos/bostrom.png" + }] +} diff --git a/chains/mainnet/canto.json b/chains/mainnet/canto.json new file mode 100644 index 00000000..41e8805c --- /dev/null +++ b/chains/mainnet/canto.json @@ -0,0 +1,18 @@ +{ + "chain_name": "canto", + "api": ["https://canto-api.polkachu.com","https://api.canto.nodestake.top"], + "rpc": ["https://canto-rpc.polkachu.com:443","https://rpc.canto.nodestake.top"], + "snapshot_provider": "", + "sdk_version": "0.45.6", + "coin_type": "60", + "min_tx_fee": "800", + "addr_prefix": "canto", + "logo": "/logos/canto.png", + "assets": [ + { + "base": "acanto", + "symbol": "CANTO", + "exponent": "18" + } + ] +} diff --git a/chains/mainnet/carbon.json b/chains/mainnet/carbon.json new file mode 100644 index 00000000..be874fc4 --- /dev/null +++ b/chains/mainnet/carbon.json @@ -0,0 +1,24 @@ +{ + "chain_name": "carbon", + "coingecko": "switcheo", + "api": "https://api.carbon.network", + "rpc": ["https://tm-api.carbon.network"], + "snapshot_provider": "", + "sdk_version": "0.45.2", + "coin_type": "118", + "min_tx_fee": "100000000", + "addr_prefix": "swth", + "logo": "/logos/carbon.svg", + "sign_opts": { + "keplr": { + "preferNoSetFee": true + } + }, + "assets": [{ + "base": "swth", + "symbol": "SWTH", + "exponent": "8", + "coingecko_id": "switcheo", + "logo": "/logos/carbon.svg" + }] +} \ No newline at end of file diff --git a/chains/mainnet/celestia.json.disabled b/chains/mainnet/celestia.json.disabled new file mode 100644 index 00000000..2b3785a4 --- /dev/null +++ b/chains/mainnet/celestia.json.disabled @@ -0,0 +1,19 @@ +{ + "chain_name": "celestia", + "coingecko": "", + "api": "https://celestia-api.skynetvalidators.com", + "rpc": [], + "snapshot_provider": "", + "sdk_version": "0.44.0", + "coin_type": "118", + "min_tx_fee": "800", + "addr_prefix": "celestia", + "logo": "/logos/celestia.png", + "assets": [{ + "base": "celes", + "symbol": "CELES", + "exponent": "0", + "coingecko_id": "", + "logo": "/logos/celestia.png" + }] +} diff --git a/chains/mainnet/cerberus.json b/chains/mainnet/cerberus.json new file mode 100644 index 00000000..712b3624 --- /dev/null +++ b/chains/mainnet/cerberus.json @@ -0,0 +1,21 @@ +{ + "chain_name": "cerberus", + "coingecko": "cerberus-2", + "api": ["https://cerberus-api.polkachu.com","https://api-cerberus-ia.cosmosia.notional.ventures", "https://api.cerberus.zone:1317"], + "rpc": ["https://cerberus-rpc.polkachu.com:443", "https://rpc-cerberus-ia.cosmosia.notional.ventures:443", "https://rpc-cerberus.ecostake.com:443"], + "snapshot_provider": "21cca2db122c48a11f426799131ef08235d46671@cerberus-rpc.polkachu.com:10656", + "sdk_version": "0.45.8", + "coin_type": "118", + "min_tx_fee": "5000", + "addr_prefix": "cerberus", + "logo": "/logos/cerberus.png", + "assets": [ + { + "base": "ucrbrus", + "symbol": "CRBRUS", + "exponent": "6", + "coingecko_id": "cerberus-2", + "logo": "/logos/cerberus.png" + } + ] +} diff --git a/chains/mainnet/chain4energy.json b/chains/mainnet/chain4energy.json new file mode 100644 index 00000000..2b5e72e9 --- /dev/null +++ b/chains/mainnet/chain4energy.json @@ -0,0 +1,16 @@ +{ + "chain_name": "chain4energy", + "api": ["https://lcd.c4e.io"], + "rpc": ["https://rpc.c4e.io:443", "https://rpc.c4e.io:443"], + "sdk_version": "0.45.5", + "coin_type": "4444", + "min_tx_fee": "3000", + "addr_prefix": "c4e", + "logo": "/logos/c4e.png", + "assets": [{ + "base": "uc4e", + "symbol": "C4E", + "exponent": "6", + "logo": "/logos/c4e.png" + }] +} diff --git a/chains/mainnet/cheqd.json b/chains/mainnet/cheqd.json new file mode 100644 index 00000000..a3a28188 --- /dev/null +++ b/chains/mainnet/cheqd.json @@ -0,0 +1,18 @@ +{ + "chain_name": "cheqd", + "api": ["https://api.cheqd.net","https://api.cheqd.nodestake.top"], + "rpc": ["https://rpc.cheqd.net:443", "https://rpc.cheqd.net:443","https://rpc.cheqd.nodestake.top"], + "snapshot_provider": "", + "sdk_version": "0.45.5", + "coin_type": "118", + "min_tx_fee": "5000", + "addr_prefix": "cheqd", + "logo": "/logos/cheqd.png", + "assets": [{ + "base": "ncheq", + "symbol": "CHEQ", + "exponent": "9", + "coingecko_id": "cheqd-network", + "logo": "/logos/cheqd.png" + }] +} diff --git a/chains/mainnet/chihuahua.json b/chains/mainnet/chihuahua.json new file mode 100644 index 00000000..e389fe65 --- /dev/null +++ b/chains/mainnet/chihuahua.json @@ -0,0 +1,19 @@ +{ + "chain_name": "chihuahua", + "coingecko": "chihuahua-token", + "api": ["https://chihuahua-api.polkachu.com", "https://api.chihuahua.wtf", "https://chihuahua-api.mercury-nodes.net"], + "rpc": ["https://chihuahua-rpc.polkachu.com:443", "https://rpc.chihuahua.wtf:443"], + "snapshot_provider": "12611137be6f64f9a7fb8977614a5a6f257c1394@65.21.200.224:29656", + "sdk_version": "0.45.8", + "coin_type": "118", + "min_tx_fee": "250000", + "addr_prefix": "chihuahua", + "logo": "/logos/chihuahua.png", + "assets": [{ + "base": "uhuahua", + "symbol": "HUAHUA", + "exponent": "6", + "coingecko_id": "chihuahua-token", + "logo": "/logos/chihuahua.png" + }] +} diff --git a/chains/mainnet/cht.json.disabled b/chains/mainnet/cht.json.disabled new file mode 100644 index 00000000..659ea734 --- /dev/null +++ b/chains/mainnet/cht.json.disabled @@ -0,0 +1,24 @@ +{ + "chain_name": "chronic-token", + "api": ["https://chtd-api.skynetvalidators.com"], + "rpc": ["https://rpc-chronic.zenchainlabs.io/"], + "snapshot_provider": "", + "sdk_version": "0.41.3", + "coin_type": "118", + "min_tx_fee": "200", + "assets": [{ + "base": "ucht", + "symbol": "CHT", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/chronic-token.jpg" + },{ + "base": "ucgas", + "symbol": "CGAS", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/chronic-token.jpg" + }], + "addr_prefix": "chronic", + "logo": "/logos/chronic-token.jpg" +} diff --git a/chains/mainnet/comdex.json b/chains/mainnet/comdex.json new file mode 100644 index 00000000..6d86ada8 --- /dev/null +++ b/chains/mainnet/comdex.json @@ -0,0 +1,18 @@ +{ + "chain_name": "comdex", + "api": ["https://api-comdex-ia.cosmosia.notional.ventures", "https://comdex-api.polkachu.com", "https://rest.comdex.one/"], + "rpc": ["https://rpc-comdex-ia.cosmosia.notional.ventures:443", "https://comdex-rpc.polkachu.com:443", "https://api.comdex.audit.one:443/rpc", "https://rpc.comdex.one:443"], + "snapshot_provider": "", + "sdk_version": "0.45.8", + "coin_type": "118", + "min_tx_fee": "5000", + "addr_prefix": "comdex", + "logo": "/logos/comdex.png", + "assets": [{ + "base": "ucmdx", + "symbol": "CMDX", + "exponent": "6", + "coingecko_id": "comdex", + "logo": "/logos/comdex.png" + }] +} diff --git a/chains/mainnet/commercionetwork.json b/chains/mainnet/commercionetwork.json new file mode 100644 index 00000000..bdadbc2d --- /dev/null +++ b/chains/mainnet/commercionetwork.json @@ -0,0 +1,25 @@ +{ + "chain_name": "commercio.network", + "coingecko": "", + "api": ["https://lcd-mainnet.commercio.network"], + "rpc": ["https://rpc-mainnet.commercio.network:443"], + "snapshot_provider": "", + "sdk_version": "0.45.9", + "coin_type": "118", + "min_tx_fee": "10000", + "addr_prefix": "did:com:", + "logo": "/logos/commercionetwork.png", + "assets": [{ + "base": "ucommercio", + "symbol": "COM", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/com.png" + },{ + "base": "uccc", + "symbol": "CCC", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/ccc.png" + }] +} diff --git a/chains/mainnet/cosmos.json b/chains/mainnet/cosmos.json new file mode 100644 index 00000000..338532b7 --- /dev/null +++ b/chains/mainnet/cosmos.json @@ -0,0 +1,35 @@ +{ + "chain_name": "cosmos", + "api": [ + "https://api-cosmoshub-ia.cosmosia.notional.ventures" + ], + "rpc": [{ + "address": "http://rpc-cosmoshub.freshstaking.com:26657/", + "provider": "FreshSTAKING" + }, + { + "address": "https://cosmos-rpc.polkachu.com/", + "provider": "Polkachu" + }, + + { + "address": "https://rpc.cosmoshub.strange.love/", + "provider": "strangelove-ventures" + }, + { + "address": "https://rpc-cosmoshub.whispernode.com/", + "provider": "WhisperNode🤐" + }], + "sdk_version": "0.45.1", + "coin_type": "118", + "min_tx_fee": "800", + "addr_prefix": "cosmos", + "logo": "/logos/cosmos.svg", + "assets": [{ + "base": "uatom", + "symbol": "ATOM", + "exponent": "6", + "coingecko_id": "cosmos", + "logo": "/logos/cosmos.svg" + }] +} \ No newline at end of file diff --git a/chains/mainnet/crescent.json b/chains/mainnet/crescent.json new file mode 100644 index 00000000..8f013b77 --- /dev/null +++ b/chains/mainnet/crescent.json @@ -0,0 +1,24 @@ +{ + "chain_name": "crescent", + "api": ["https://crescent-api.polkachu.com", "https://mainnet.crescent.network:1317", "https://api.crescent.pupmos.network"], + "rpc": ["https://mainnet.crescent.network:26657", "https://crescent-rpc.polkachu.com"], + "snapshot_provider": "", + "sdk_version": "0.45.3", + "coin_type": "118", + "min_tx_fee": "5000", + "addr_prefix": "cre", + "logo": "/logos/cre.png", + "assets": [{ + "base": "ucre", + "symbol": "CRE", + "exponent": "6", + "coingecko_id": "crescent-network", + "logo": "/logos/cre.png" + },{ + "base": "ubcre", + "symbol": "bCRE", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/cre.png" + }] +} diff --git a/chains/mainnet/cronos.json b/chains/mainnet/cronos.json new file mode 100644 index 00000000..7c74868e --- /dev/null +++ b/chains/mainnet/cronos.json @@ -0,0 +1,17 @@ + +{ + "chain_name": "cronos", + "api": ["https://rest.cronos.org"], + "rpc": ["https://rpc.cronos.org:443"], + "snapshot_provider": "", + "sdk_version": "0.45.11", + "coin_type": "60", + "min_tx_fee": "5000000000000000", + "addr_prefix": "crc", + "logo": "/logos/cronos.png", + "assets": [{ + "base": "basecro", + "symbol": "CRO", + "exponent": "18" + }] +} diff --git a/chains/mainnet/crypto.json b/chains/mainnet/crypto.json new file mode 100644 index 00000000..a75f5c23 --- /dev/null +++ b/chains/mainnet/crypto.json @@ -0,0 +1,20 @@ + +{ + "chain_name": "crypto-com-chain", + "coingecko": "crypto-com-chain", + "api": ["https://rest.mainnet.crypto.org"], + "rpc": ["https://rpc.mainnet.crypto.org:443"], + "snapshot_provider": "87c3adb7d8f649c51eebe0d3335d8f9e28c362f2@seed-0.crypto.org:26656,e1d7ff02b78044795371beb1cd5fb803f9389256@seed-1.crypto.org:26656,2c55809558a4e491e9995962e10c026eb9014655@seed-2.crypto.org:26656", + "sdk_version": "0.46.7", + "coin_type": "394", + "min_tx_fee": "5000", + "addr_prefix": "cro", + "logo": "/logos/crypto-com-chain.png", + "assets": [{ + "base": "basecro", + "symbol": "CRO", + "exponent": "8", + "coingecko_id": "crypto-com-chain", + "logo": "/logos/crypto-com-chain.png" + }] +} diff --git a/chains/mainnet/cudos.json b/chains/mainnet/cudos.json new file mode 100644 index 00000000..d3a07d44 --- /dev/null +++ b/chains/mainnet/cudos.json @@ -0,0 +1,20 @@ +{ + "chain_name": "cudos", + "coingecko": "cudos", + "api": ["https://rest.cudos.org"], + "rpc": ["https://rpc.cudos.org"], + "snapshot_provider": "", + "sdk_version": "0.45.3", + "coin_type": "118", + "min_tx_fee": "5000000000000", + "addr_prefix": "cudos", + "logo": "https://raw.githubusercontent.com/cosmos/chain-registry/master/cudos/images/cudos.png", + "assets": [{ + "base": "acudos", + "symbol": "CUDOS", + "exponent": "18", + "coingecko_id": "cudos", + "logo": "https://raw.githubusercontent.com/cosmos/chain-registry/master/cudos/images/cudos.png" + } + ] +} diff --git a/chains/mainnet/decentr.json b/chains/mainnet/decentr.json new file mode 100644 index 00000000..7f547ab7 --- /dev/null +++ b/chains/mainnet/decentr.json @@ -0,0 +1,18 @@ +{ + "chain_name": "decentr", + "api": ["https://rest.mainnet.decentr.xyz","https://api.decentr.nodestake.top"], + "rpc": ["https://ares.mainnet.decentr.xyz:443", "https://poseidon.mainnet.decentr.xyz:443","https://rpc.decentr.nodestake.top"], + "snapshot_provider": "", + "sdk_version": "0.44.3", + "coin_type": "118", + "min_tx_fee": "3000", + "addr_prefix": "decentr", + "logo": "/logos/decentr.png", + "assets": [{ + "base": "udec", + "symbol": "DEC", + "exponent": "6", + "coingecko_id": "decentr", + "logo": "/logos/decentr.png" + }] +} diff --git a/chains/mainnet/desmos.json b/chains/mainnet/desmos.json new file mode 100644 index 00000000..294312da --- /dev/null +++ b/chains/mainnet/desmos.json @@ -0,0 +1,18 @@ +{ + "chain_name": "desmos", + "coingecko": "desmos", + "api": ["https://api.mainnet.desmos.network"], + "rpc": ["https://rpc.mainnet.desmos.network:443"], + "sdk_version": "0.45.8", + "coin_type": "852", + "min_tx_fee": "3000", + "addr_prefix": "desmos", + "logo": "/logos/desmos.png", + "assets": [{ + "base": "udsm", + "symbol": "DSM", + "exponent": "6", + "coingecko_id": "desmos", + "logo": "/logos/desmos.png" + }] +} diff --git a/chains/mainnet/dig.json b/chains/mainnet/dig.json new file mode 100644 index 00000000..be50cdd1 --- /dev/null +++ b/chains/mainnet/dig.json @@ -0,0 +1,19 @@ +{ + "chain_name": "dig", + "coingecko": "", + "api": "https://api-1-dig.notional.ventures", + "rpc": ["https://rpc-1-dig.notional.ventures:443", "https://rpc-1-dig.notional.ventures:443"], + "snapshot_provider": "", + "sdk_version": "0.46.1", + "coin_type": "118", + "min_tx_fee": "5000", + "addr_prefix": "dig", + "logo": "/logos/dig1.png", + "assets": [{ + "base": "udig", + "symbol": "DIG", + "exponent": "6", + "coingecko_id": "dig-chain", + "logo": "/logos/dig1.png" + }] +} diff --git a/chains/mainnet/echelon.json b/chains/mainnet/echelon.json new file mode 100644 index 00000000..297346fe --- /dev/null +++ b/chains/mainnet/echelon.json @@ -0,0 +1,20 @@ +{ + "chain_name": "echelon", + "coingecko": "echelon", + "api": ["https://api.ech.network", "https://lcd-echelon.whispernode.com", "https://api.echelon.nodestake.top", "https://echelon-api.polkachu.com", "https://api.eu.ech.world", "https://api.us.ech.world"], + "rpc": ["https://tendermint.ech.network", "https://rpc-echelon.whispernode.com" , "https://rpc.echelon.nodestake.top", "https://echelon-rpc.polkachu.com", "https://rpc.eu.ech.world", "https://rpc.us.ech.world"], + "snapshot_provider": "", + "sdk_version": "0.45.1", + "coin_type": "60", + "min_tx_fee": "3000000000000000", + "addr_prefix": "echelon", + "logo": "/logos/echelon.gif", + "keplr_features": ["ibc-transfer", "ibc-go", "eth-address-gen", "eth-key-sign"], + "assets": [{ + "base": "aechelon", + "symbol": "ECH", + "exponent": "18", + "coingecko_id": "echelon", + "logo": "/logos/echelon.gif" + }] +} diff --git a/chains/mainnet/emoney.json b/chains/mainnet/emoney.json new file mode 100644 index 00000000..9ed8b533 --- /dev/null +++ b/chains/mainnet/emoney.json @@ -0,0 +1,26 @@ +{ + "chain_name": "e-money", + "coingecko": "e-money", + "api": "https://emoney.validator.network/api", + "rpc": ["https://rpc-emoney.keplr.app:443", "https://emoney.validator.network:443"], + "snapshot_provider": "", + "addr_prefix": "emoney", + "coin_type": "118", + "min_tx_fee": "5000", + "logo": "/logos/e-money.jpg", + "sdk_version": "0.42.10", + "excludes": "mint governance", + "assets": [{ + "base": "ungm", + "symbol": "NGM", + "exponent": "6", + "coingecko_id": "emoney", + "logo": "/logos/e-money.jpg" + },{ + "base": "eeur", + "symbol": "EEUR", + "exponent": "6", + "coingecko_id": "e-money-eur", + "logo": "/logos/e-money.jpg" + }] +} \ No newline at end of file diff --git a/chains/mainnet/evmos.json b/chains/mainnet/evmos.json new file mode 100644 index 00000000..737ecf52 --- /dev/null +++ b/chains/mainnet/evmos.json @@ -0,0 +1,19 @@ +{ + "chain_name": "evmos", + "api": ["https://evmos-api.polkachu.com", "https://api-evmos-ia.cosmosia.notional.ventures", "https://rest.bd.evmos.org:1317", "https://evmos-api.skynetvalidators.com","https://api.evmos.nodestake.top"], + "rpc": ["https://evmos-rpc.polkachu.com:443", "https://rpc-evmos-ia.cosmosia.notional.ventures:443", "https://tendermint.bd.evmos.org:26657", "https://tendermint.bd.evmos.org:26657","https://rpc.evmos.nodestake.top"], + "snapshot_provider": "", + "sdk_version": "0.46.2", + "coin_type": "60", + "min_tx_fee": "5000000000000000", + "addr_prefix": "evmos", + "logo": "/logos/evmos.png", + "keplr_features": ["ibc-transfer", "ibc-go", "eth-address-gen", "eth-key-sign"], + "assets": [{ + "base": "aevmos", + "symbol": "evmos", + "exponent": "18", + "coingecko_id": "evmos", + "logo": "/logos/evmos.jpeg" + }] +} diff --git a/chains/mainnet/fetchai.json b/chains/mainnet/fetchai.json new file mode 100644 index 00000000..12c4c9f8 --- /dev/null +++ b/chains/mainnet/fetchai.json @@ -0,0 +1,18 @@ +{ + "chain_name": "fetchhub", + "api": ["https://rest-fetchhub.fetch.ai"], + "rpc": ["https://rpc-fetchhub.fetch.ai:443", "https://rpc-fetchhub.fetch.ai:443"], + "snapshot_provider": "", + "sdk_version": "0.45.6", + "coin_type": "118", + "min_tx_fee": "3000000000000000", + "addr_prefix": "fetch", + "logo": "/logos/fetchhub.png", + "assets": [{ + "base": "afet", + "symbol": "fet", + "exponent": "18", + "coingecko_id": "fetch-ai", + "logo": "/logos/fetchhub.png" + }] +} diff --git a/chains/mainnet/genesisl1.json b/chains/mainnet/genesisl1.json new file mode 100644 index 00000000..40119b17 --- /dev/null +++ b/chains/mainnet/genesisl1.json @@ -0,0 +1,18 @@ +{ + "chain_name": "genesisL1", + "api": "https://api.genesisl1.org", + "rpc": ["https://26657.genesisl1.org:443", "https://26657.genesisl1.org:443"], + "snapshot_provider": "", + "sdk_version": "0.45.4", + "coin_type": "118", + "min_tx_fee": "3000000000000000", + "addr_prefix": "genesis", + "logo": "/logos/genesisl1.png", + "assets": [{ + "base": "el1", + "symbol": "L1", + "exponent": "18", + "coingecko_id": "", + "logo": "/logos/genesisl1.png" + }] +} diff --git a/chains/mainnet/gravitybridge.json b/chains/mainnet/gravitybridge.json new file mode 100644 index 00000000..bad8b842 --- /dev/null +++ b/chains/mainnet/gravitybridge.json @@ -0,0 +1,19 @@ +{ + "chain_name": "gravity-bridge", + "api": ["https://gravitychain.io:1317","https://api.gravity-bridge.nodestake.top"], + "rpc": ["https://gravitychain.io:26657", "http://gravity-bridge-1-08.nodes.amhost.net:26657","https://rpc.gravity-bridge.nodestake.top"], + "snapshot_provider": "", + "sdk_version": "0.44.5", + "coin_type": "60", + "min_tx_fee": "5000", + "addr_prefix": "gravity", + "excludes": "", + "logo": "/logos/gravity-bridge.png", + "assets": [{ + "base": "ugraviton", + "symbol": "GRAVITON", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/gravity-bridge.png" + }] +} diff --git a/chains/mainnet/injective.json b/chains/mainnet/injective.json new file mode 100644 index 00000000..f5350b49 --- /dev/null +++ b/chains/mainnet/injective.json @@ -0,0 +1,25 @@ +{ + "chain_name": "injective", + "api": ["https://lcd.injective.network", "https://injective-api.polkachu.com"], + "rpc": ["https://tm.injective.network", "https://injective-rpc.polkachu.com"], + "snapshot_provider": "", + "sdk_version": "v0.45.5", + "coin_type": "60", + "min_tx_fee": "5000", + "addr_prefix": "inj", + "excludes": "", + "logo": "/logos/injective.jpg", + "keplr_features": ["ibc-transfer", "ibc-go", "eth-address-gen", "eth-key-sign"], + "keplr_price_step": { + "low": 100000000000, + "average": 200000000000, + "high": 30000000000000 + }, + "assets": [{ + "base": "inj", + "symbol": "INJ", + "exponent": "18", + "coingecko_id": "injective-protocol", + "logo": "/logos/injective.jpg" + }] +} \ No newline at end of file diff --git a/chains/mainnet/iris.json b/chains/mainnet/iris.json new file mode 100644 index 00000000..de00b193 --- /dev/null +++ b/chains/mainnet/iris.json @@ -0,0 +1,20 @@ +{ + "chain_name": "iris", + "alias": "iris-network", + "api": ["https://api.irishub-1.irisnet.org"], + "rpc": ["http://34.82.96.8:26657","http://34.77.68.145:26657"], + "snapshot_provider": "fcc1d9bc43163b20ce5163cf41a302b33f25375f@34.82.96.8:26656", + "sdk_version": "0.46.1", + "coin_type": "118", + "min_tx_fee": "40000", + "addr_prefix": "iaa", + "excludes": "mint", + "logo": "/logos/iris-network.svg", + "assets": [{ + "base": "uiris", + "symbol": "IRIS", + "exponent": "6", + "coingecko_id": "iris-network", + "logo": "/logos/iris-network.svg" + }] +} \ No newline at end of file diff --git a/chains/mainnet/ixo.json b/chains/mainnet/ixo.json new file mode 100644 index 00000000..ae41429d --- /dev/null +++ b/chains/mainnet/ixo.json @@ -0,0 +1,18 @@ +{ + "chain_name": "ixo", + "api": ["https://impacthub.ixo.world/rest", "https://proxies.sifchain.finance/api/impacthub-3/rest"], + "rpc": [], + "snapshot_provider": "", + "sdk_version": "0.45.4", + "coin_type": "118", + "min_tx_fee": "3000", + "addr_prefix": "ixo", + "logo": "/logos/ixo.svg", + "assets": [{ + "base": "uixo", + "symbol": "IXO", + "exponent": "6", + "coingecko_id": "ixo", + "logo": "/logos/ixo.svg" + }] +} \ No newline at end of file diff --git a/chains/mainnet/jackal.json b/chains/mainnet/jackal.json new file mode 100644 index 00000000..7a964ad1 --- /dev/null +++ b/chains/mainnet/jackal.json @@ -0,0 +1,28 @@ +{ + "chain_name": "jackal", + "coingecko": "jackal-protocol", + "api": [ + "https://api.jackalprotocol.com", + "https://jackal-api.polkachu.com", + "https://api.jackal.nodestake.top" + ], + "rpc": [ + "https://rpc.jackalprotocol.com", + "https://jackal-rpc.polkachu.com", + "https://rpc.jackal.nodestake.top" + ], + "snapshot_provider": "", + "coin_type": "118", + "sdk_version": "0.45.11", + "addr_prefix": "jkl", + "logo": "/logos/jackal.png", + "assets": [ + { + "base": "ujkl", + "symbol": "JKL", + "exponent": "6", + "coingecko_id": "jackal-protocol", + "logo": "/logos/jackal.png" + } + ] +} diff --git a/chains/mainnet/juno.json b/chains/mainnet/juno.json new file mode 100644 index 00000000..fa984b54 --- /dev/null +++ b/chains/mainnet/juno.json @@ -0,0 +1,19 @@ +{ + "chain_name": "juno", + "coingecko": "juno-network", + "api": ["https://api-juno-ia.cosmosia.notional.ventures", "https://juno-api.polkachu.com", "https://lcd-juno.itastakers.com"], + "rpc": ["https://rpc-juno-ia.cosmosia.notional.ventures:443", "https://juno-rpc.polkachu.com:443", "https://rpc-juno.itastakers.com:443", "https://rpc-juno.itastakers.com:443"], + "snapshot_provider": "", + "sdk_version": "0.45.8", + "coin_type": "118", + "min_tx_fee": "3000", + "addr_prefix": "juno", + "logo": "/logos/juno.png", + "assets": [{ + "base": "ujuno", + "symbol": "JUNO", + "exponent": "6", + "coingecko_id": "juno-network", + "logo": "/logos/juno.png" + }] +} \ No newline at end of file diff --git a/chains/mainnet/kava.json b/chains/mainnet/kava.json new file mode 100644 index 00000000..86226752 --- /dev/null +++ b/chains/mainnet/kava.json @@ -0,0 +1,19 @@ +{ + "chain_name": "kava", + "coingecko": "kava", + "api": "https://api.data.kava.io", + "rpc": ["https://rpc.kava.io:443", "https://rpc.kava.io:443"], + "snapshot_provider": "", + "sdk_version": "0.45.4", + "coin_type": "118", + "min_tx_fee": "5000", + "addr_prefix": "kava", + "logo": "/logos/kava.png", + "assets": [{ + "base": "ukava", + "symbol": "KAVA", + "exponent": "6", + "coingecko_id": "kava", + "logo": "/logos/kava.png" + }] +} \ No newline at end of file diff --git a/chains/mainnet/kichain.json b/chains/mainnet/kichain.json new file mode 100644 index 00000000..4fbbae26 --- /dev/null +++ b/chains/mainnet/kichain.json @@ -0,0 +1,18 @@ +{ + "chain_name": "kichain", + "api": ["https://api-mainnet.blockchain.ki", "https://ki.api.ping.pub","https://api.ki.nodestake.top"], + "rpc": ["https://rpc-mainnet.blockchain.ki:443", "https://rpc-mainnet.blockchain.ki:443","https://rpc.ki.nodestake.top"], + "snapshot_provider": "", + "sdk_version": "0.45.6", + "coin_type": "118", + "min_tx_fee": "8000", + "addr_prefix": "ki", + "logo": "/logos/kichain.png", + "assets": [{ + "base": "uxki", + "symbol": "XKI", + "exponent": "6", + "coingecko_id": "ki", + "logo": "/logos/kichain.png" + }] +} diff --git a/chains/mainnet/kujira.json b/chains/mainnet/kujira.json new file mode 100644 index 00000000..53cd9d33 --- /dev/null +++ b/chains/mainnet/kujira.json @@ -0,0 +1,19 @@ +{ + "chain_name": "kujira", + "coingecko": "", + "api": ["https://lcd.kaiyo.kujira.setten.io", "https://kujira-api.polkachu.com", "https://api-kujira.nodeist.net", "https://kujira.api.kjnodes.com"], + "rpc": ["https://rpc.kaiyo.kujira.setten.io", "https://kujira-api.polkachu.com:443", "https://rpc-stride.nodeist.net", "https://kujira.rpc.kjnodes.com:443"], + "snapshot_provider": "", + "sdk_version": "0.45.4", + "coin_type": "118", + "min_tx_fee": "1250", + "addr_prefix": "kujira", + "logo": "/logos/kujira.png", + "assets": [{ + "base": "ukuji", + "symbol": "KUJI", + "exponent": "6", + "coingecko_id": "kujira", + "logo": "/logos/kujira.png" + }] +} diff --git a/chains/mainnet/lambda.json b/chains/mainnet/lambda.json new file mode 100644 index 00000000..0b7aef43 --- /dev/null +++ b/chains/mainnet/lambda.json @@ -0,0 +1,20 @@ +{ + "chain_name": "lambda", + "api": ["https://rest.lambda.im", "https://api.lambda.nodestake.top", "https://lambda-api.jambulmerah.dev"], + "rpc": ["https://rpc.lambda.im", "https://rpc.lambda.nodestake.top", "https://lambda-rpc.jambulmerah.dev"], + "sdk_version": "0.45.6", + "coin_type": "60", + "min_tx_fee": "5000", + "addr_prefix": "lamb", + "logo": "/logos/lambda.png", + "keplr_features": ["ibc-transfer", "ibc-go", "eth-address-gen", "eth-key-sign"], + "assets": [ + { + "base": "ulamb", + "symbol": "LAMB", + "exponent": "18", + "coingecko_id": "lambda", + "logo": "/logos/lambda.png" + } + ] + } diff --git a/chains/mainnet/likecoin.json b/chains/mainnet/likecoin.json new file mode 100644 index 00000000..f8f11f7c --- /dev/null +++ b/chains/mainnet/likecoin.json @@ -0,0 +1,19 @@ +{ + "chain_name": "likecoin", + "coingecko": "likecoin", + "api": "https://mainnet-node.like.co", + "rpc": ["https://mainnet-node.like.co:443/rpc/", "https://mainnet-node.like.co:443/rpc/"], + "snapshot_provider": "", + "sdk_version": "0.45.6", + "coin_type": "118", + "min_tx_fee": "3000", + "addr_prefix": "like", + "logo": "/logos/likecoin.png", + "assets": [{ + "base": "nanolike", + "symbol": "LIKE", + "exponent": "9", + "coingecko_id": "likecoin", + "logo": "/logos/likecoin.png" + }] +} diff --git a/chains/mainnet/lum.json b/chains/mainnet/lum.json new file mode 100644 index 00000000..0bdfd3f9 --- /dev/null +++ b/chains/mainnet/lum.json @@ -0,0 +1,19 @@ +{ + "chain_name": "lum-network", + "coingecko": "lum-network", + "api": ["https://api-lum.degeno.de", "https://node0.mainnet.lum.network/rest"], + "rpc": ["https://rpc-lum.degeno.de:443", "https://node0.mainnet.lum.network:443/rpc"], + "snapshot_provider": "", + "sdk_version": "0.44.5", + "coin_type": "880", + "min_tx_fee": "5000", + "addr_prefix": "lum", + "logo": "/logos/lum-network.png", + "assets": [{ + "base": "ulum", + "symbol": "LUM", + "exponent": "6", + "coingecko_id": "lum-network", + "logo": "/logos/lum-network.png" + }] +} diff --git a/chains/mainnet/lumenx.json b/chains/mainnet/lumenx.json new file mode 100644 index 00000000..137a7e43 --- /dev/null +++ b/chains/mainnet/lumenx.json @@ -0,0 +1,19 @@ +{ + "chain_name": "lumenx", + "coingecko": "", + "api": ["https://api.lumenx.chaintools.tech:443","https://api-lumenx.cryptonet.pl:443"], + "rpc": ["https://rpc.lumenx.chaintools.tech:443","https://rpc-lumenx.cryptonet.pl:443"], + "snapshot_provider": "", + "sdk_version": "0.45.5", + "coin_type": "118", + "min_tx_fee": "5000", + "addr_prefix": "lumen", + "logo": "/logos/lumen.png", + "assets": [{ + "base": "ulumen", + "symbol": "LUMEN", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/lumen.png" + }] +} diff --git a/chains/mainnet/mars.json b/chains/mainnet/mars.json new file mode 100644 index 00000000..db711f81 --- /dev/null +++ b/chains/mainnet/mars.json @@ -0,0 +1,29 @@ +{ + "chain_name": "mars", + "coingecko": "mars-protocol-a7fcbcfb-fd61-4017-92f0-7ee9f9cc6da3", + "api": [ + "https://rest.marsprotocol.io", + "https://mars-api.polkachu.com", + "https://rest.cosmos.directory/mars" + ], + "rpc": [ + "https://rpc.marsprotocol.io", + "https://mars-rpc.polkachu.com", + "https://rpc.marsprotocol.io", + "https://rpc.cosmos.directory/mars" + ], + "snapshot_provider": "", + "coin_type": "118", + "sdk_version": "0.46.8", + "addr_prefix": "mars", + "logo": "/logos/mars.png", + "assets": [ + { + "base": "umars", + "symbol": "MARS", + "exponent": "6", + "coingecko_id": "mars-protocol-a7fcbcfb-fd61-4017-92f0-7ee9f9cc6da3", + "logo": "/logos/mars.png" + } + ] +} diff --git a/chains/mainnet/meme.json b/chains/mainnet/meme.json new file mode 100644 index 00000000..2c1447b3 --- /dev/null +++ b/chains/mainnet/meme.json @@ -0,0 +1,21 @@ +{ + "chain_name": "meme", + "coingecko": "meme-network", + "api": [ "https://api-meme-1.meme.sx", "https://meme-api.polkachu.com:443", "https://api.meme.pupmos.network:443", "https://meme-api.kleomedes.network:443", "https://meme.api.m.anode.team:443" ], + "rpc": [ "https://rpc-meme-1.meme.sx:443", "https://meme-rpc.polkachu.com:443", "https://rpc-meme.pupmos.network:443", "https://meme-rpc.kleomedes.network:443", "http://meme.statesync.nodersteam.com:26657", "https://meme.rpc.m.anode.team:443" ], + "snapshot_provider": "", + "sdk_version": "0.45.9", + "coin_type": "118", + "min_tx_fee": "8000", + "addr_prefix": "meme", + "logo": "/logos/meme.png", + "assets": [ + { + "base": "umeme", + "symbol": "MEME", + "exponent": "6", + "coingecko_id": "meme-network", + "logo": "/logos/meme.png" + } + ] +} diff --git a/chains/mainnet/microtick.json b/chains/mainnet/microtick.json new file mode 100644 index 00000000..78b8767f --- /dev/null +++ b/chains/mainnet/microtick.json @@ -0,0 +1,18 @@ +{ + "chain_name": "microtick", + "api": "https://lcd.microtick.zone", + "rpc": [], + "snapshot_provider": "", + "sdk_version": "0.42.9", + "coin_type": "118", + "min_tx_fee": "5000", + "addr_prefix": "micro", + "logo": "/logos/microtick.png", + "assets": [{ + "base": "utick", + "symbol": "TICK", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/microtick.png" + }] +} diff --git a/chains/mainnet/migaloo.json b/chains/mainnet/migaloo.json new file mode 100644 index 00000000..dd52c81d --- /dev/null +++ b/chains/mainnet/migaloo.json @@ -0,0 +1,21 @@ +{ + "chain_name": "Migaloo", + "coingecko": "", + "api": ["https://api.migaloo.silknodes.io"], + "rpc": ["https://rpc.migaloo.silknodes.io"], + "snapshot_provider": "", + "coin_type": 118, + "sdk_version": "0.45.9", + "addr_prefix": "migaloo", + "logo": "/logos/migaloo.png", + "assets": [ + { + "base": "uwhale", + "symbol": "WHALE", + "exponent": 6, + "coingecko_id": "", + "logo": "/logos/whitewhale.jpg" + } + ] + } + diff --git a/chains/mainnet/nym.json b/chains/mainnet/nym.json new file mode 100644 index 00000000..54f5f5c6 --- /dev/null +++ b/chains/mainnet/nym.json @@ -0,0 +1,24 @@ +{ + "chain_name": "nyx", + "api": ["https://api.nyx.nodes.guru"], + "rpc": ["https://rpc.nyx.nodes.guru"], + "snapshot_provider": "", + "sdk_version": "0.45.1", + "coin_type": "118", + "min_tx_fee": "8000", + "assets": [{ + "base": "unym", + "symbol": "NYM", + "exponent": "6", + "coingecko_id": "nym", + "logo": "/logos/nym.jpeg" + },{ + "base": "unyx", + "symbol": "NYX", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/nym.jpeg" + }], + "addr_prefix": "n", + "logo": "/logos/nym.jpeg" +} diff --git a/chains/mainnet/odin.json b/chains/mainnet/odin.json new file mode 100644 index 00000000..086afaf0 --- /dev/null +++ b/chains/mainnet/odin.json @@ -0,0 +1,30 @@ +{ + "chain_name": "odin", + "coingecko": "odin-protocol", + "api": "https://node.odin-freya-website.odinprotocol.io/mainnet/a/api", + "rpc": ["http://34.79.179.216:26657","http://34.140.252.7:26657","http://35.241.221.154:26657","http://35.241.238.207:26657"], + "addr_prefix": "odin", + "coin_type": "118", + "min_tx_fee": "2500", + "logo": "/logos/odin.png", + "sdk_version": "0.45.6", + "assets": [{ + "base": "loki", + "symbol": "ODIN", + "exponent": "6", + "coingecko_id": "odin-protocol", + "logo": "/logos/odin.png" + },{ + "base": "mGeo", + "symbol": "geo", + "exponent": "6", + "coingecko_id": "geodb", + "logo": "/logos/odin.png" + },{ + "base": "mO9W", + "symbol": "O9W", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/odin.png" + }] +} diff --git a/chains/mainnet/okexchain.json.disabled b/chains/mainnet/okexchain.json.disabled new file mode 100644 index 00000000..b4a7179a --- /dev/null +++ b/chains/mainnet/okexchain.json.disabled @@ -0,0 +1,19 @@ +{ + "chain_name": "okexchain", + "api": "https://exchainrpc.okex.org/okexchain/v1", + "rpc": [], + "snapshot_provider": "", + "sdk_version": "0.39.2", + "coin_type": "118", + "min_tx_fee": "800", + "addr_prefix": "ex", + "logo": "/logos/okexchain.svg", + "unload_module": ["minting", "slashing"], + "assets": [{ + "base": "okt", + "symbol": "okt", + "exponent": "0", + "coingecko_id": "okexchain", + "logo": "/logos/okexchain.svg" + }] +} \ No newline at end of file diff --git a/chains/mainnet/omniflix.json b/chains/mainnet/omniflix.json new file mode 100644 index 00000000..0b841b7f --- /dev/null +++ b/chains/mainnet/omniflix.json @@ -0,0 +1,19 @@ +{ + "chain_name": "omniflix", + "coingecko": "", + "api": ["https://api.omniflix.nodestake.top","https://omniflixhub-api.skynetvalidators.com"], + "rpc": ["https://rpc.omniflix.nodestake.top"], + "snapshot_provider": "", + "sdk_version": "0.46.1", + "coin_type": "118", + "min_tx_fee": "3000", + "addr_prefix": "omniflix", + "logo": "/logos/omniflix.png", + "assets": [{ + "base": "uflix", + "symbol": "FLIX", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/omniflix.png" + }] +} diff --git a/chains/mainnet/osmosis.json b/chains/mainnet/osmosis.json new file mode 100644 index 00000000..f46d467f --- /dev/null +++ b/chains/mainnet/osmosis.json @@ -0,0 +1,31 @@ +{ + "chain_name": "osmosis", + "coingecko": "osmosis", + "api": ["https://api-osmosis-ia.cosmosia.notional.ventures", "https://osmosis-api.polkachu.com", "https://osmo.api.ping.pub", "https://lcd-osmosis.blockapsis.com"], + "rpc": ["https://rpc-osmosis-ia.cosmosia.notional.ventures:443", "https://osmosis-rpc.polkachu.com:443", "https://osmosis.validator.network:443", "https://rpc-osmosis.blockapsis.com:443"], + "snapshot_provider": "", + "sdk_version": "0.46.1", + "coin_type": "118", + "min_tx_fee": "800", + "addr_prefix": "osmo", + "logo": "/logos/osmosis.jpg", + "assets": [{ + "base": "uosmo", + "symbol": "OSMO", + "exponent": "6", + "coingecko_id": "osmosis", + "logo": "/logos/osmosis.jpg" + },{ + "base": "uion", + "symbol": "ION", + "exponent": "6", + "coingecko_id": "ion", + "logo": "/logos/osmosis.jpg" + },{ + "base": "usomm", + "symbol": "SOMM", + "exponent": "6", + "coingecko_id": "somm", + "logo": "" + }] +} diff --git a/chains/mainnet/passage.json b/chains/mainnet/passage.json new file mode 100644 index 00000000..ac616f58 --- /dev/null +++ b/chains/mainnet/passage.json @@ -0,0 +1,18 @@ +{ + "chain_name": "passage", + "api": ["https://passage-api.polkachu.com","https://api.passage.nodestake.top"], + "rpc": ["https://passage-rpc.polkachu.com:443","https://rpc.passage.nodestake.top"], + "snapshot_provider": "", + "sdk_version": "0.45.5", + "coin_type": "118", + "min_tx_fee": "800", + "addr_prefix": "pasg", + "logo": "/logos/passage.png", + "assets": [ + { + "base": "upasg", + "symbol": "PASG", + "exponent": "6" + } + ] +} diff --git a/chains/mainnet/persistence.json b/chains/mainnet/persistence.json new file mode 100644 index 00000000..f5654725 --- /dev/null +++ b/chains/mainnet/persistence.json @@ -0,0 +1,19 @@ +{ + "chain_name": "persistence", + "coingecko": "persistence", + "api": "https://rest.core.persistence.one", + "rpc": ["https://rpc.core.persistence.one:443", "https://rpc.core.persistence.one:443"], + "snapshot_provider": "", + "sdk_version": "0.45.6", + "coin_type": "750", + "min_tx_fee": "3000", + "addr_prefix": "persistence", + "logo": "/logos/persistence.png", + "assets": [{ + "base": "uxprt", + "symbol": "XPRT", + "exponent": "6", + "coingecko_id": "persistence", + "logo": "/logos/persistence.png" + }] +} diff --git a/chains/mainnet/planq.json b/chains/mainnet/planq.json new file mode 100644 index 00000000..5720d09f --- /dev/null +++ b/chains/mainnet/planq.json @@ -0,0 +1,19 @@ +{ + "chain_name": "planq", + "api": ["https://planq-api.polkachu.com", "https://rest.planq.network", "https://api-planq.comunitynode.my.id", "https://planq-api.enodex.lol", "https://api.planq.nodestake.top"], + "rpc": ["https://planq-rpc.polkachu.com", "https://rpc.planq.network", "https://rpc-planq.comunitynode.my.id", "https://planq-rpc.enodex.lol", "https://rpc.planq.nodestake.top"], + "snapshot_provider": "", + "sdk_version": "0.46.3", + "coin_type": "60", + "min_tx_fee": "5000000000000000", + "addr_prefix": "plq", + "logo": "/logos/planq.png", + "keplr_features": ["ibc-transfer", "ibc-go", "eth-address-gen", "eth-key-sign"], + "assets": [{ + "base": "aplanq", + "symbol": "plq", + "exponent": "18", + "coingecko_id": "planq", + "logo": "/logos/planq.png" + }] +} diff --git a/chains/mainnet/point.json b/chains/mainnet/point.json new file mode 100644 index 00000000..76205b42 --- /dev/null +++ b/chains/mainnet/point.json @@ -0,0 +1,18 @@ +{ + "chain_name": "Point", + "api": ["https://rpc-mainnet-1.point.space:1317","https://api.point.nodestake.top"], + "rpc": ["https://rpc-mainnet-1.point.space:26657","https://rpc.point.nodestake.top"], + "sdk_version": "0.45.7", + "coin_type": 60, + "min_tx_fee": "5000000000000000", + "addr_prefix": "point", + "logo": "/logos/point-logo.png", + "assets": [{ + "base": "apoint", + "symbol": "POINT", + "exponent": "18", + "coingecko_id": "point-network", + "logo": "/logos/point-logo.png" + }], + "keplr_features": ["ibc-transfer", "ibc-go", "eth-address-gen", "eth-key-sign"] +} diff --git a/chains/mainnet/provenance.json b/chains/mainnet/provenance.json new file mode 100644 index 00000000..50d6fd2a --- /dev/null +++ b/chains/mainnet/provenance.json @@ -0,0 +1,19 @@ +{ + "chain_name": "provenance", + "coingecko": "", + "api": "https://api.provenance.io", + "rpc": ["https://rpc.provenance.io:443", "https://rpc.provenance.io:443"], + "snapshot_provider": "", + "sdk_version": "0.46.1", + "coin_type": "505", + "min_tx_fee": "800000000", + "addr_prefix": "pb", + "logo": "/logos/provenance.svg", + "assets": [{ + "base": "nhash", + "symbol": "HASH", + "exponent": "9", + "coingecko_id": "provenance-blockchain", + "logo": "/logos/provenance.svg" + }] +} diff --git a/chains/mainnet/quicksilver.json b/chains/mainnet/quicksilver.json new file mode 100644 index 00000000..59572b06 --- /dev/null +++ b/chains/mainnet/quicksilver.json @@ -0,0 +1,20 @@ +{ + "chain_name": "quicksilver", + "coingecko": "", + "api": ["https://quicksilver-api.polkachu.com", "https://api-quicksilver.nodeist.net"], + "rpc": ["https://quicksilver-rpc.polkachu.com", "https://rpc-quicksilver.nodeist.net"], + "sdk_version": "0.46.7", + "coin_type": "118", + "min_tx_fee": "8000", + "addr_prefix": "quick", + "logo": "/logos/quicksilver.png", + "assets": [ + { + "base": "uqck", + "symbol": "QCK", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/quicksilver.png" + } + ] +} diff --git a/chains/mainnet/rebus.json b/chains/mainnet/rebus.json new file mode 100644 index 00000000..7f55e439 --- /dev/null +++ b/chains/mainnet/rebus.json @@ -0,0 +1,20 @@ +{ + "chain_name": "rebus", + "api": ["https://api.mainnet.rebus.money:1317","https://api.rebus.nodestake.top"], + "rpc": ["https://api.mainnet.rebus.money:26657","https://rpc.rebus.nodestake.top"], + "snapshot_provider": "", + "sdk_version": "0.45.6", + "coin_type": "118", + "min_tx_fee": "5000", + "addr_prefix": "rebus", + "logo": "/logos/rebus.png", + "assets": [ + { + "base": "arebus", + "symbol": "REBUS", + "exponent": "18", + "coingecko_id": "rebus", + "logo": "/logos/rebus.png" + } + ] +} diff --git a/chains/mainnet/regen.json b/chains/mainnet/regen.json new file mode 100644 index 00000000..1e4548b8 --- /dev/null +++ b/chains/mainnet/regen.json @@ -0,0 +1,19 @@ +{ + "chain_name": "regen", + "coingecko": "regen", + "api": "https://regen.api.ping.pub", + "rpc": ["http://public-rpc.regen.vitwit.com:26657", "https://regen.stakesystems.io:2053"], + "snapshot_provider": "", + "sdk_version": "0.46.2", + "coin_type": "118", + "min_tx_fee": "3000", + "addr_prefix": "regen", + "logo": "/logos/regen.svg", + "assets": [{ + "base": "uregen", + "symbol": "REGEN", + "exponent": "6", + "coingecko_id": "regen", + "logo": "/logos/regen.svg" + }] +} \ No newline at end of file diff --git a/chains/mainnet/rizon.json b/chains/mainnet/rizon.json new file mode 100644 index 00000000..f88a0c82 --- /dev/null +++ b/chains/mainnet/rizon.json @@ -0,0 +1,17 @@ +{ + "chain_name": "rizon", + "api": ["https://api.rizon.chaintools.tech", "https://restapi.rizon.world"], + "rpc": ["http://seed-1.mainnet.rizon.world:26657"], + "sdk_version": "v0.45.6", + "coin_type": "118", + "min_tx_fee": "8000", + "assets": [{ + "base": "uatolo", + "symbol": "ATOLO", + "exponent": "6", + "coingecko_id": "rizon", + "logo": "/logos/rizon.svg" + }], + "addr_prefix": "rizon", + "logo": "/logos/rizon.svg" +} \ No newline at end of file diff --git a/chains/mainnet/secret.json b/chains/mainnet/secret.json new file mode 100644 index 00000000..fce16d84 --- /dev/null +++ b/chains/mainnet/secret.json @@ -0,0 +1,19 @@ +{ + "chain_name": "secret", + "coingecko": "secret", + "api": ["https://lcd.spartanapi.dev", "https://secretnetwork-lcd.stakely.io"], + "rpc": ["https://rpc.spartanapi.dev", "https://secretnetwork-rpc.stakely.io"], + "snapshot_provider": "", + "sdk_version": "0.45.4", + "coin_type": "529", + "min_tx_fee": "5000", + "addr_prefix": "secret", + "logo": "/logos/secret.png", + "assets": [{ + "base": "uscrt", + "symbol": "SCRT", + "exponent": "6", + "coingecko_id": "secret", + "logo": "/logos/secret.png" + }] +} \ No newline at end of file diff --git a/chains/mainnet/sentinel.json b/chains/mainnet/sentinel.json new file mode 100644 index 00000000..17aed681 --- /dev/null +++ b/chains/mainnet/sentinel.json @@ -0,0 +1,18 @@ +{ + "chain_name": "sentinel", + "api": ["https://api-sentinel-ia.cosmosia.notional.ventures", "https://lcd.sentinel.co"], + "rpc": ["https://api-sentinel-ia.cosmosia.notional.ventures:443", "https://rpc-sentinel.keplr.app:443", "https://rpc-sentinel.keplr.app:443"], + "snapshot_provider": "", + "sdk_version": "0.45.8", + "coin_type": "118", + "min_tx_fee": "8000", + "addr_prefix": "sent", + "logo": "/logos/sentinel.png", + "assets": [{ + "base": "udvpn", + "symbol": "DVPN", + "exponent": "6", + "coingecko_id": "sentinel", + "logo": "/logos/sentinel.png" + }] +} diff --git a/chains/mainnet/shentu.json b/chains/mainnet/shentu.json new file mode 100644 index 00000000..f12c35a2 --- /dev/null +++ b/chains/mainnet/shentu.json @@ -0,0 +1,20 @@ + +{ + "chain_name": "shentu", + "coingecko": "certik", + "api": ["https://certik-api.polkachu.com", "https://chainfull.noopsbycertik.com"], + "rpc": ["https://certik-rpc.polkachu.com:443"], + "snapshot_provider": "", + "sdk_version": "0.45.9", + "coin_type": "118", + "min_tx_fee": "8000", + "addr_prefix": "certik", + "logo": "/logos/shentu.jpg", + "assets": [{ + "base": "uctk", + "symbol": "CTK", + "exponent": "6", + "coingecko_id": "certik", + "logo": "/logos/shentu.jpg" + }] +} diff --git a/chains/mainnet/sifchain.json b/chains/mainnet/sifchain.json new file mode 100644 index 00000000..cfd440ff --- /dev/null +++ b/chains/mainnet/sifchain.json @@ -0,0 +1,18 @@ +{ + "chain_name": "sifchain", + "api": ["https://api-sifchain-ia.cosmosia.notional.ventures", "https://sifchain-api.polkachu.com", "https://api.sifchain.finance"], + "rpc": ["https://rpc-sifchain-ia.cosmosia.notional.ventures/", "https://sifchain-rpc.polkachu.com:443", "https://rpc.sifchain.finance:443", "https://rpc-archive.sifchain.finance:443"], + "snapshot_provider": "", + "sdk_version": "0.45.0", + "coin_type": "118", + "min_tx_fee": "8000", + "addr_prefix": "sif", + "logo": "/logos/sifchain.jpeg", + "assets": [{ + "base": "rowan", + "symbol": "ROWAN", + "exponent": "18", + "coingecko_id": "sifchain", + "logo": "/logos/sifchain.jpeg" + }] +} \ No newline at end of file diff --git a/chains/mainnet/sommelier.json.disabled b/chains/mainnet/sommelier.json.disabled new file mode 100644 index 00000000..0ff46321 --- /dev/null +++ b/chains/mainnet/sommelier.json.disabled @@ -0,0 +1,22 @@ +{ + "chain_name": "sommelier", + "api": ["https://lcd-sommelier.keplr.app"], + "sdk_version": "0.44.5", + "coin_type": "118", + "min_tx_fee": "8000", + "addr_prefix": "somm", + "logo": "https://dl.airtable.com/.attachments/0f37f3aa77836b2db0ed217560264ff1/6f51315b/St07WEsb_400x400.png", + "assets": [{ + "base": "usomm", + "symbol": "somm", + "exponent": "6", + "coingecko_id": "", + "logo": "https://dl.airtable.com/.attachments/0f37f3aa77836b2db0ed217560264ff1/6f51315b/St07WEsb_400x400.png" + },{ + "base": "msomm", + "symbol": "somm", + "exponent": "3", + "coingecko_id": "", + "logo": "https://dl.airtable.com/.attachments/0f37f3aa77836b2db0ed217560264ff1/6f51315b/St07WEsb_400x400.png" + }] +} \ No newline at end of file diff --git a/chains/mainnet/stafihub.json b/chains/mainnet/stafihub.json new file mode 100644 index 00000000..b685b5c6 --- /dev/null +++ b/chains/mainnet/stafihub.json @@ -0,0 +1,37 @@ +{ + "chain_name": "stafihub", + "coingecko": "stafi", + "api": ["https://public-rest-rpc1.stafihub.io","https://api.stafihub.nodestake.top"], + "rpc": ["https://public-rpc1.stafihub.io:443","https://rpc.stafihub.nodestake.top"], + "snapshot_provider": "", + "sdk_version": "0.45.7", + "coin_type": "118", + "min_tx_fee": "20000", + "addr_prefix": "stafi", + "logo": "/logos/stafihub.png", + "assets": [{ + "base": "ufis", + "symbol": "FIS", + "exponent": "6", + "coingecko_id": "stafi", + "logo": "/logos/stafihub.png" + },{ + "base": "uratom", + "symbol": "rATOM", + "exponent": "6", + "coingecko_id": "stafi-ratom", + "logo": "/logos/stafihub.png" + },{ + "base": "uriris", + "symbol": "rIRIS", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/stafihub.png" + },{ + "base": "urhuahua", + "symbol": "rHUAHUA", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/stafihub.png" + }] +} diff --git a/chains/mainnet/stargaze.json b/chains/mainnet/stargaze.json new file mode 100644 index 00000000..879822bc --- /dev/null +++ b/chains/mainnet/stargaze.json @@ -0,0 +1,18 @@ +{ + "chain_name": "stargaze", + "api": ["https://stargaze-api.polkachu.com/","https://api-stargaze-ia.cosmosia.notional.ventures/", "https://rest.stargaze-apis.com", "https://rest.stargaze.publicawesome.dev"], + "rpc": ["https://stargaze-rpc.polkachu.com/", "https://rpc-stargaze-ia.cosmosia.notional.ventures/","https://rpc.stargaze-apis.com:443", "https://rpc.stargaze.ezstaking.io:443"], + "snapshot_provider": "", + "sdk_version": "0.45.6", + "coin_type": "118", + "min_tx_fee": "800", + "addr_prefix": "stars", + "logo": "/logos/stargaze.png", + "assets": [{ + "base": "ustars", + "symbol": "STARS", + "exponent": "6", + "coingecko_id": "stargaze", + "logo": "/logos/stargaze.png" + }] +} \ No newline at end of file diff --git a/chains/mainnet/starname.json b/chains/mainnet/starname.json new file mode 100644 index 00000000..0119de32 --- /dev/null +++ b/chains/mainnet/starname.json @@ -0,0 +1,18 @@ +{ + "chain_name": "starname", + "api": "https://api.iov-mainnet-ibc.iov.one", + "rpc": ["https://rpc-iov.keplr.app:443", "https://rpc-iov.keplr.app:443"], + "snapshot_provider": "", + "sdk_version": "0.44.5", + "coin_type": "234", + "min_tx_fee": "8000", + "addr_prefix": "star", + "logo": "/logos/starname.jpg", + "assets": [{ + "base": "uiov", + "symbol": "IOV", + "exponent": "6", + "coingecko_id": "starname", + "logo": "/logos/starname.jpg" + }] +} \ No newline at end of file diff --git a/chains/mainnet/stride.json b/chains/mainnet/stride.json new file mode 100644 index 00000000..4f7005e0 --- /dev/null +++ b/chains/mainnet/stride.json @@ -0,0 +1,18 @@ +{ + "chain_name": "stride", + "api": ["https://stride-api.polkachu.com", "https://api.stride.nodestake.top", "https://api-stride.nodeist.net", "https://stride.api.kjnodes.com"], + "rpc": ["https://stride-rpc.polkachu.com:443", "https://rpc.stride.nodestake.top", "https://rpc-stride.nodeist.net", "https://stride.rpc.kjnodes.com:443"], + "snapshot_provider": "", + "sdk_version": "0.45.5", + "coin_type": "118", + "min_tx_fee": "800", + "addr_prefix": "stride", + "logo": "/logos/stride.png", + "assets": [{ + "base": "ustrd", + "symbol": "STRD", + "exponent": "6", + "coingecko_id": "stride", + "logo": "/logos/stride.png" + }] +} diff --git a/chains/mainnet/teritori.json b/chains/mainnet/teritori.json new file mode 100644 index 00000000..ebb12292 --- /dev/null +++ b/chains/mainnet/teritori.json @@ -0,0 +1,20 @@ +{ + "chain_name": "teritori", + "api": ["https://rest.mainnet.teritori.com","https://api.teritori.nodestake.top"], + "rpc": ["https://rpc.mainnet.teritori.com","https://rpc.teritori.nodestake.top"], + "snapshot_provider": "", + "sdk_version": "0.45.4", + "coin_type": "118", + "min_tx_fee": "5000", + "addr_prefix": "tori", + "logo": "/logos/teritori.svg", + "assets": [ + { + "base": "utori", + "symbol": "TORI", + "exponent": "6", + "coingecko_id": "teritori", + "logo": "/logos/teritori.svg" + } + ] +} diff --git a/chains/mainnet/terra.json b/chains/mainnet/terra.json new file mode 100644 index 00000000..d9882914 --- /dev/null +++ b/chains/mainnet/terra.json @@ -0,0 +1,139 @@ +{ + "chain_name": "terra-luna", + "coingecko": "terra-luna", + "api": "https://fcd.terra.dev", + "rpc": ["https://terra-rpc.easy2stake.com:443", "http://public-node.terra.dev:26657"], + "snapshot_provider": "", + "sdk_version": "0.44.2", + "coin_type": "330", + "min_tx_fee": "5000", + "addr_prefix": "terra", + "logo": "/logos/terra-luna.jpg", + "assets": [{ + "base": "uluna", + "symbol": "LUNC", + "exponent": "6", + "coingecko_id": "terra-luna", + "logo": "/logos/terra-luna.jpg" + },{ + "base": "uusd", + "symbol": "USTc", + "exponent": "6", + "coingecko_id": "terrausd", + "logo": "/logos/terra-luna-ust.png" + },{ + "base": "ukrw", + "symbol": "KRT", + "exponent": "6", + "coingecko_id": "terrakrw", + "logo": "/logos/terra-luna-krt.png" + },{ + "base": "cw20:terra183cvzy6knvva6mpvzcq86uyfxw0nd4925m0d0m", + "symbol": "WHALE", + "exponent": "6", + "coingecko_id": "white-whale", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "uaud", + "symbol": "AUD", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "ucad", + "symbol": "CAD", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "uchf", + "symbol": "CHF", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "ucny", + "symbol": "CNY", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "udkk", + "symbol": "DKK", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "ueur", + "symbol": "EUR", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "ugbp", + "symbol": "GBP", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "uhkd", + "symbol": "HKD", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "uidr", + "symbol": "IDR", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "uinr", + "symbol": "INR", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "ujpy", + "symbol": "JPY", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "umnt", + "symbol": "MNT", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "uphp", + "symbol": "PHP", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "usdr", + "symbol": "SDR", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "usek", + "symbol": "SEK", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "usgd", + "symbol": "SGD", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "uthb", + "symbol": "THB", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + }] +} \ No newline at end of file diff --git a/chains/mainnet/terra2.json b/chains/mainnet/terra2.json new file mode 100644 index 00000000..d33e8a24 --- /dev/null +++ b/chains/mainnet/terra2.json @@ -0,0 +1,138 @@ +{ + "chain_name": "terra2", + "api": ["https://phoenix-lcd.terra.dev", "https://terra-api.polkachu.com/"], + "rpc": [], + "snapshot_provider": "", + "sdk_version": "0.44.2", + "coin_type": "330", + "min_tx_fee": "5000", + "addr_prefix": "terra", + "logo": "/logos/terra-luna.jpg", + "assets": [{ + "base": "uluna", + "symbol": "LUNA", + "exponent": "6", + "coingecko_id": "terra-luna-2", + "logo": "/logos/terra-luna.jpg" + },{ + "base": "uusd", + "symbol": "UST", + "exponent": "6", + "coingecko_id": "terrausd", + "logo": "/logos/terra-luna-ust.png" + },{ + "base": "ukrw", + "symbol": "KRT", + "exponent": "6", + "coingecko_id": "terrakrw", + "logo": "/logos/terra-luna-krt.png" + },{ + "base": "cw20:terra183cvzy6knvva6mpvzcq86uyfxw0nd4925m0d0m", + "symbol": "WHALE", + "exponent": "6", + "coingecko_id": "white-whale", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "uaud", + "symbol": "AUD", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "ucad", + "symbol": "CAD", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "uchf", + "symbol": "CHF", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "ucny", + "symbol": "CNY", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "udkk", + "symbol": "DKK", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "ueur", + "symbol": "EUR", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "ugbp", + "symbol": "GBP", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "uhkd", + "symbol": "HKD", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "uidr", + "symbol": "IDR", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "uinr", + "symbol": "INR", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "ujpy", + "symbol": "JPY", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "umnt", + "symbol": "MNT", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "uphp", + "symbol": "PHP", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "usdr", + "symbol": "SDR", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "usek", + "symbol": "SEK", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "usgd", + "symbol": "SGD", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + },{ + "base": "uthb", + "symbol": "THB", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/terra-luna-tokenlogo.png" + }] +} \ No newline at end of file diff --git a/chains/mainnet/umee.json b/chains/mainnet/umee.json new file mode 100644 index 00000000..38fbfa24 --- /dev/null +++ b/chains/mainnet/umee.json @@ -0,0 +1,18 @@ +{ + "chain_name": "umee", + "api": ["https://api.barnacle.mainnet.network.umee.cc:443"], + "rpc": ["https://rpc.barnacle.mainnet.network.umee.cc:443"], + "snapshot_provider": "", + "sdk_version": "0.46.2", + "coin_type": "118", + "min_tx_fee": "8000", + "addr_prefix": "umee", + "logo": "/logos/umee.png", + "assets": [{ + "base": "uumee", + "symbol": "UMEE", + "exponent": "6", + "coingecko_id": "umee", + "logo": "/logos/umee.png" + }] + } diff --git a/chains/mainnet/unification.json b/chains/mainnet/unification.json new file mode 100644 index 00000000..854f1be9 --- /dev/null +++ b/chains/mainnet/unification.json @@ -0,0 +1,26 @@ +{ + "chain_name": "Unification", + "coingecko": "unification", + "api": ["https://rest.unification.chainmasters.ninja", "https://rest.unification.io"], + "rpc": ["https://rpc.unification.chainmasters.ninja", "https://rpc1.unification.io"], + "snapshot_provider": "fcccb1745ee75a5984bd10f8d0b51564011c0310@sync1.unification.io:26657,35986ac67257e8f8805ff0c2f408ac2a48cbba77@sync2.unification.io:26657", + "sdk_version": "0.42.11", + "walletUrlForStaking": "https://explorer.unification.chainmasters.ninja/wallet", + "coin_type": "5555", + "min_tx_fee": "25000000000000000", + "addr_prefix": "und", + "logo": "/logos/unification.png", + "assets": [{ + "base": "nund", + "symbol": "FUND", + "exponent": "9", + "coingecko_id": "unification", + "logo": "/logos/unification.png" + }], + "gasPriceStep": { + "low": 100, + "average": 200, + "high": 300 + }, + "votingPowerPerCoin": 1000 +} diff --git a/chains/mainnet/vidulum.json b/chains/mainnet/vidulum.json new file mode 100644 index 00000000..ddd2fd76 --- /dev/null +++ b/chains/mainnet/vidulum.json @@ -0,0 +1,19 @@ +{ + "chain_name": "vidulum", + "coingecko": "vidulum", + "api": ["https://mainnet-lcd.vidulum.app", "https://api-vidulum-ia.cosmosia.notional.ventures"], + "rpc": ["https://mainnet-rpc.vidulum.app:443", "https://rpc-vidulum-ia.cosmosia.notional.ventures:443"], + "snapshot_provider": "", + "sdk_version": "0.45.9", + "coin_type": "370", + "min_tx_fee": "8000", + "addr_prefix": "vdl", + "logo": "/logos/VDL.png", + "assets": [{ + "base": "uvdl", + "symbol": "VDL", + "exponent": "6", + "coingecko_id": "vidulum", + "logo": "/logos/VDL.png" + }] + } \ No newline at end of file diff --git a/chains/mainnet/whitewhale.json b/chains/mainnet/whitewhale.json new file mode 100644 index 00000000..af5beab5 --- /dev/null +++ b/chains/mainnet/whitewhale.json @@ -0,0 +1,20 @@ +{ + "chain_name": "whitewhale", + "api": ["https://whitewhale-api.polkachu.com:443"], + "rpc": ["https://whitewhale-rpc.polkachu.com:443"], + "snapshot_provider": "", + "sdk_version": "0.46.9", + "coin_type": "118", + "min_tx_fee": "8000", + "addr_prefix": "migaloo", + "logo": "/logos/whitewhale.png", + "assets": [ + { + "base": "uwhale", + "symbol": "WHALE", + "exponent": "6", + "coingecko_id": "white-whale", + "logo": "/logos/whale.png" + } + ] +} diff --git a/chains/testnet/iris.json b/chains/testnet/iris.json new file mode 100644 index 00000000..be28a1ca --- /dev/null +++ b/chains/testnet/iris.json @@ -0,0 +1,20 @@ +{ + "chain_name": "iris", + "alias": "iris-network", + "api": ["https://api.gon.irisnet.org"], + "rpc": ["http://34.82.96.8:26657","http://34.77.68.145:26657"], + "snapshot_provider": "fcc1d9bc43163b20ce5163cf41a302b33f25375f@34.82.96.8:26656", + "sdk_version": "0.46.1", + "coin_type": "118", + "min_tx_fee": "40000", + "addr_prefix": "iaa", + "excludes": "mint", + "logo": "/logos/iris-network.svg", + "assets": [{ + "base": "uiris", + "symbol": "IRIS", + "exponent": "6", + "coingecko_id": "iris-network", + "logo": "/logos/iris-network.svg" + }] +} \ No newline at end of file diff --git a/chains/testnet/juno.json b/chains/testnet/juno.json new file mode 100644 index 00000000..7996dd15 --- /dev/null +++ b/chains/testnet/juno.json @@ -0,0 +1,17 @@ +{ + "chain_name": "juno", + "api": ["https://api.uni.junonetwork.io"], + "rpc": [""], + "sdk_version": "0.46.1", + "coin_type": "118", + "min_tx_fee": "3000", + "addr_prefix": "juno", + "logo": "/logos/juno.png", + "assets": [{ + "base": "ujunox", + "symbol": "JUNOX", + "exponent": "6", + "coingecko_id": "juno-network", + "logo": "/logos/juno.png" + }] +} \ No newline at end of file diff --git a/chains/testnet/omniflix.json b/chains/testnet/omniflix.json new file mode 100644 index 00000000..1b86d8cd --- /dev/null +++ b/chains/testnet/omniflix.json @@ -0,0 +1,18 @@ +{ + "chain_name": "omniflix", + "api": ["https://api.testnet.omniflix.network"], + "rpc": [""], + "snapshot_provider": "", + "sdk_version": "0.46.1", + "coin_type": "118", + "min_tx_fee": "3000", + "addr_prefix": "omniflix", + "logo": "/logos/omniflix.png", + "assets": [{ + "base": "uflix", + "symbol": "FLIX", + "exponent": "6", + "coingecko_id": "", + "logo": "/logos/omniflix.png" + }] +} diff --git a/chains/testnet/stargaze.json b/chains/testnet/stargaze.json new file mode 100644 index 00000000..d28122c8 --- /dev/null +++ b/chains/testnet/stargaze.json @@ -0,0 +1,18 @@ +{ + "chain_name": "stargaze", + "api": ["https://rest.elgafar-1.stargaze-apis.com"], + "rpc": [""], + "snapshot_provider": "", + "sdk_version": "0.45.6", + "coin_type": "118", + "min_tx_fee": "800", + "addr_prefix": "stars", + "logo": "/logos/stargaze.png", + "assets": [{ + "base": "ustars", + "symbol": "STARS", + "exponent": "6", + "coingecko_id": "stargaze", + "logo": "/logos/stargaze.png" + }] +} \ No newline at end of file diff --git a/components.d.ts b/components.d.ts new file mode 100644 index 00000000..667372cb --- /dev/null +++ b/components.d.ts @@ -0,0 +1,51 @@ +// generated by unplugin-vue-components +// We suggest you to commit this file into source control +// Read more: https://github.com/vuejs/core/pull/3399 +import '@vue/runtime-core' + +export {} + +declare module '@vue/runtime-core' { + export interface GlobalComponents { + AddAuthenticatorAppDialog: typeof import('./src/plugins/vuetify/@core/components/AddAuthenticatorAppDialog.vue')['default'] + AddEditAddressDialog: typeof import('./src/plugins/vuetify/@core/components/AddEditAddressDialog.vue')['default'] + AppBarSearch: typeof import('./src/plugins/vuetify/@core/components/AppBarSearch.vue')['default'] + AppCardActions: typeof import('./src/plugins/vuetify/@core/components/AppCardActions.vue')['default'] + AppCardCode: typeof import('./src/plugins/vuetify/@core/components/AppCardCode.vue')['default'] + AppDateTimePicker: typeof import('./src/plugins/vuetify/@core/components/AppDateTimePicker.vue')['default'] + AppDrawerHeaderSection: typeof import('./src/plugins/vuetify/@core/components/AppDrawerHeaderSection.vue')['default'] + AppOtpInput: typeof import('./src/plugins/vuetify/@core/components/AppOtpInput.vue')['default'] + AppPricing: typeof import('./src/plugins/vuetify/@core/components/AppPricing.vue')['default'] + AppSearchHeader: typeof import('./src/plugins/vuetify/@core/components/AppSearchHeader.vue')['default'] + BuyNow: typeof import('./src/plugins/vuetify/@core/components/BuyNow.vue')['default'] + CardAddEditDialog: typeof import('./src/plugins/vuetify/@core/components/CardAddEditDialog.vue')['default'] + CardStatisticsHorizontal: typeof import('./src/plugins/vuetify/@core/components/CardStatisticsHorizontal.vue')['default'] + CardStatisticsVertical: typeof import('./src/plugins/vuetify/@core/components/CardStatisticsVertical.vue')['default'] + CardStatisticsWithImages: typeof import('./src/plugins/vuetify/@core/components/CardStatisticsWithImages.vue')['default'] + ConfirmDialog: typeof import('./src/plugins/vuetify/@core/components/ConfirmDialog.vue')['default'] + CustomCheckboxes: typeof import('./src/plugins/vuetify/@core/components/CustomCheckboxes.vue')['default'] + CustomCheckboxesWithIcon: typeof import('./src/plugins/vuetify/@core/components/CustomCheckboxesWithIcon.vue')['default'] + CustomCheckboxesWithImage: typeof import('./src/plugins/vuetify/@core/components/CustomCheckboxesWithImage.vue')['default'] + CustomizerSection: typeof import('./src/plugins/vuetify/@core/components/CustomizerSection.vue')['default'] + CustomRadios: typeof import('./src/plugins/vuetify/@core/components/CustomRadios.vue')['default'] + CustomRadiosWithIcon: typeof import('./src/plugins/vuetify/@core/components/CustomRadiosWithIcon.vue')['default'] + CustomRadiosWithImage: typeof import('./src/plugins/vuetify/@core/components/CustomRadiosWithImage.vue')['default'] + DialogCloseBtn: typeof import('./src/plugins/vuetify/@core/components/DialogCloseBtn.vue')['default'] + EnableOneTimePasswordDialog: typeof import('./src/plugins/vuetify/@core/components/EnableOneTimePasswordDialog.vue')['default'] + ErrorHeader: typeof import('./src/plugins/vuetify/@core/components/ErrorHeader.vue')['default'] + I18n: typeof import('./src/plugins/vuetify/@core/components/I18n.vue')['default'] + MoreBtn: typeof import('./src/plugins/vuetify/@core/components/MoreBtn.vue')['default'] + Notifications: typeof import('./src/plugins/vuetify/@core/components/Notifications.vue')['default'] + PricingPlanDialog: typeof import('./src/plugins/vuetify/@core/components/PricingPlanDialog.vue')['default'] + ReferAndEarnDialog: typeof import('./src/plugins/vuetify/@core/components/ReferAndEarnDialog.vue')['default'] + RouterLink: typeof import('vue-router')['RouterLink'] + RouterView: typeof import('vue-router')['RouterView'] + ShareProjectDialog: typeof import('./src/plugins/vuetify/@core/components/ShareProjectDialog.vue')['default'] + Shortcuts: typeof import('./src/plugins/vuetify/@core/components/Shortcuts.vue')['default'] + TheCustomizer: typeof import('./src/plugins/vuetify/@core/components/TheCustomizer.vue')['default'] + ThemeSwitcher: typeof import('./src/plugins/vuetify/@core/components/ThemeSwitcher.vue')['default'] + TwoFactorAuthDialog: typeof import('./src/plugins/vuetify/@core/components/TwoFactorAuthDialog.vue')['default'] + UserInfoEditDialog: typeof import('./src/plugins/vuetify/@core/components/UserInfoEditDialog.vue')['default'] + UserUpgradePlanDialog: typeof import('./src/plugins/vuetify/@core/components/UserUpgradePlanDialog.vue')['default'] + } +} diff --git a/env.d.ts b/env.d.ts new file mode 100644 index 00000000..11f02fe2 --- /dev/null +++ b/env.d.ts @@ -0,0 +1 @@ +/// diff --git a/index.html b/index.html new file mode 100644 index 00000000..5baf65ce --- /dev/null +++ b/index.html @@ -0,0 +1,26 @@ + + + + + + + Ping Dashboard + + + + +
+
+ +
+
+
+
+
+
+
+ + + diff --git a/lerna.json b/lerna.json deleted file mode 100644 index aebebbab..00000000 --- a/lerna.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "$schema": "node_modules/lerna/schemas/lerna-schema.json", - "useWorkspaces": true, - "version": "0.0.0" -} diff --git a/package-lock.json b/package-lock.json deleted file mode 100644 index 89a19638..00000000 --- a/package-lock.json +++ /dev/null @@ -1,10471 +0,0 @@ -{ - "name": "dashboard", - "lockfileVersion": 3, - "requires": true, - "packages": { - "": { - "name": "dashboard", - "workspaces": [ - "packages/*" - ], - "devDependencies": { - "@vitejs/plugin-vue": "^4.0.0", - "lerna": "^6.4.1" - } - }, - "node_modules/@babel/code-frame": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz", - "integrity": "sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==", - "dev": true, - "dependencies": { - "@babel/highlight": "^7.18.6" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-validator-identifier": { - "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==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/highlight": { - "version": "7.18.6", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.18.6.tgz", - "integrity": "sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==", - "dev": true, - "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/highlight/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/highlight/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/highlight/node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/@babel/highlight/node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", - "dev": true - }, - "node_modules/@babel/highlight/node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", - "dev": true, - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/@babel/highlight/node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/highlight/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/parser": { - "version": "7.20.15", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.20.15.tgz", - "integrity": "sha512-DI4a1oZuf8wC+oAJA9RW6ga3Zbe8RZFt7kD9i4qAspz3I/yHet1VvC3DiSy/fsUvv5pvJuNPh0LPOdCcqinDPg==", - "bin": { - "parser": "bin/babel-parser.js" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@esbuild/android-arm": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.16.17.tgz", - "integrity": "sha512-N9x1CMXVhtWEAMS7pNNONyA14f71VPQN9Cnavj1XQh6T7bskqiLLrSca4O0Vr8Wdcga943eThxnVp3JLnBMYtw==", - "cpu": [ - "arm" - ], - "dev": true, - "optional": true, - "os": [ - "android" - ], - "peer": true, - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/android-arm64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.16.17.tgz", - "integrity": "sha512-MIGl6p5sc3RDTLLkYL1MyL8BMRN4tLMRCn+yRJJmEDvYZ2M7tmAf80hx1kbNEUX2KJ50RRtxZ4JHLvCfuB6kBg==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "android" - ], - "peer": true, - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/android-x64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.16.17.tgz", - "integrity": "sha512-a3kTv3m0Ghh4z1DaFEuEDfz3OLONKuFvI4Xqczqx4BqLyuFaFkuaG4j2MtA6fuWEFeC5x9IvqnX7drmRq/fyAQ==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "android" - ], - "peer": true, - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/darwin-arm64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.16.17.tgz", - "integrity": "sha512-/2agbUEfmxWHi9ARTX6OQ/KgXnOWfsNlTeLcoV7HSuSTv63E4DqtAc+2XqGw1KHxKMHGZgbVCZge7HXWX9Vn+w==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "darwin" - ], - "peer": true, - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/darwin-x64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.16.17.tgz", - "integrity": "sha512-2By45OBHulkd9Svy5IOCZt376Aa2oOkiE9QWUK9fe6Tb+WDr8hXL3dpqi+DeLiMed8tVXspzsTAvd0jUl96wmg==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "darwin" - ], - "peer": true, - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/freebsd-arm64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.16.17.tgz", - "integrity": "sha512-mt+cxZe1tVx489VTb4mBAOo2aKSnJ33L9fr25JXpqQqzbUIw/yzIzi+NHwAXK2qYV1lEFp4OoVeThGjUbmWmdw==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "freebsd" - ], - "peer": true, - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/freebsd-x64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.16.17.tgz", - "integrity": "sha512-8ScTdNJl5idAKjH8zGAsN7RuWcyHG3BAvMNpKOBaqqR7EbUhhVHOqXRdL7oZvz8WNHL2pr5+eIT5c65kA6NHug==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "freebsd" - ], - "peer": true, - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-arm": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.16.17.tgz", - "integrity": "sha512-iihzrWbD4gIT7j3caMzKb/RsFFHCwqqbrbH9SqUSRrdXkXaygSZCZg1FybsZz57Ju7N/SHEgPyaR0LZ8Zbe9gQ==", - "cpu": [ - "arm" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "peer": true, - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-arm64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.16.17.tgz", - "integrity": "sha512-7S8gJnSlqKGVJunnMCrXHU9Q8Q/tQIxk/xL8BqAP64wchPCTzuM6W3Ra8cIa1HIflAvDnNOt2jaL17vaW+1V0g==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "peer": true, - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-ia32": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.16.17.tgz", - "integrity": "sha512-kiX69+wcPAdgl3Lonh1VI7MBr16nktEvOfViszBSxygRQqSpzv7BffMKRPMFwzeJGPxcio0pdD3kYQGpqQ2SSg==", - "cpu": [ - "ia32" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "peer": true, - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-loong64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.16.17.tgz", - "integrity": "sha512-dTzNnQwembNDhd654cA4QhbS9uDdXC3TKqMJjgOWsC0yNCbpzfWoXdZvp0mY7HU6nzk5E0zpRGGx3qoQg8T2DQ==", - "cpu": [ - "loong64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "peer": true, - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-mips64el": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.16.17.tgz", - "integrity": "sha512-ezbDkp2nDl0PfIUn0CsQ30kxfcLTlcx4Foz2kYv8qdC6ia2oX5Q3E/8m6lq84Dj/6b0FrkgD582fJMIfHhJfSw==", - "cpu": [ - "mips64el" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "peer": true, - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-ppc64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.16.17.tgz", - "integrity": "sha512-dzS678gYD1lJsW73zrFhDApLVdM3cUF2MvAa1D8K8KtcSKdLBPP4zZSLy6LFZ0jYqQdQ29bjAHJDgz0rVbLB3g==", - "cpu": [ - "ppc64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "peer": true, - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-riscv64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.16.17.tgz", - "integrity": "sha512-ylNlVsxuFjZK8DQtNUwiMskh6nT0vI7kYl/4fZgV1llP5d6+HIeL/vmmm3jpuoo8+NuXjQVZxmKuhDApK0/cKw==", - "cpu": [ - "riscv64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "peer": true, - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-s390x": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.16.17.tgz", - "integrity": "sha512-gzy7nUTO4UA4oZ2wAMXPNBGTzZFP7mss3aKR2hH+/4UUkCOyqmjXiKpzGrY2TlEUhbbejzXVKKGazYcQTZWA/w==", - "cpu": [ - "s390x" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "peer": true, - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/linux-x64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.16.17.tgz", - "integrity": "sha512-mdPjPxfnmoqhgpiEArqi4egmBAMYvaObgn4poorpUaqmvzzbvqbowRllQ+ZgzGVMGKaPkqUmPDOOFQRUFDmeUw==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "linux" - ], - "peer": true, - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/netbsd-x64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.16.17.tgz", - "integrity": "sha512-/PzmzD/zyAeTUsduZa32bn0ORug+Jd1EGGAUJvqfeixoEISYpGnAezN6lnJoskauoai0Jrs+XSyvDhppCPoKOA==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "netbsd" - ], - "peer": true, - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/openbsd-x64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.16.17.tgz", - "integrity": "sha512-2yaWJhvxGEz2RiftSk0UObqJa/b+rIAjnODJgv2GbGGpRwAfpgzyrg1WLK8rqA24mfZa9GvpjLcBBg8JHkoodg==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "openbsd" - ], - "peer": true, - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/sunos-x64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.16.17.tgz", - "integrity": "sha512-xtVUiev38tN0R3g8VhRfN7Zl42YCJvyBhRKw1RJjwE1d2emWTVToPLNEQj/5Qxc6lVFATDiy6LjVHYhIPrLxzw==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "sunos" - ], - "peer": true, - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/win32-arm64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.16.17.tgz", - "integrity": "sha512-ga8+JqBDHY4b6fQAmOgtJJue36scANy4l/rL97W+0wYmijhxKetzZdKOJI7olaBaMhWt8Pac2McJdZLxXWUEQw==", - "cpu": [ - "arm64" - ], - "dev": true, - "optional": true, - "os": [ - "win32" - ], - "peer": true, - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/win32-ia32": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.16.17.tgz", - "integrity": "sha512-WnsKaf46uSSF/sZhwnqE4L/F89AYNMiD4YtEcYekBt9Q7nj0DiId2XH2Ng2PHM54qi5oPrQ8luuzGszqi/veig==", - "cpu": [ - "ia32" - ], - "dev": true, - "optional": true, - "os": [ - "win32" - ], - "peer": true, - "engines": { - "node": ">=12" - } - }, - "node_modules/@esbuild/win32-x64": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.16.17.tgz", - "integrity": "sha512-y+EHuSchhL7FjHgvQL/0fnnFmO4T1bhvWANX6gcnqTjtnKWbTvUMCpGnv2+t+31d7RzyEAYAd4u2fnIhHL6N/Q==", - "cpu": [ - "x64" - ], - "dev": true, - "optional": true, - "os": [ - "win32" - ], - "peer": true, - "engines": { - "node": ">=12" - } - }, - "node_modules/@eslint/eslintrc": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.4.1.tgz", - "integrity": "sha512-XXrH9Uarn0stsyldqDYq8r++mROmWRI1xKMXa640Bb//SY1+ECYX6VzT6Lcx5frD0V30XieqJ0oX9I2Xj5aoMA==", - "dev": true, - "dependencies": { - "ajv": "^6.12.4", - "debug": "^4.3.2", - "espree": "^9.4.0", - "globals": "^13.19.0", - "ignore": "^5.2.0", - "import-fresh": "^3.2.1", - "js-yaml": "^4.1.0", - "minimatch": "^3.1.2", - "strip-json-comments": "^3.1.1" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/@gar/promisify": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz", - "integrity": "sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==", - "dev": true - }, - "node_modules/@humanwhocodes/config-array": { - "version": "0.11.8", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.8.tgz", - "integrity": "sha512-UybHIJzJnR5Qc/MsD9Kr+RpO2h+/P1GhOwdiLPXK5TWk5sgTdu88bTD9UP+CKbPPh5Rni1u0GjAdYQLemG8g+g==", - "dev": true, - "dependencies": { - "@humanwhocodes/object-schema": "^1.2.1", - "debug": "^4.1.1", - "minimatch": "^3.0.5" - }, - "engines": { - "node": ">=10.10.0" - } - }, - "node_modules/@humanwhocodes/module-importer": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", - "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", - "dev": true, - "engines": { - "node": ">=12.22" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/nzakas" - } - }, - "node_modules/@humanwhocodes/object-schema": { - "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==", - "dev": true - }, - "node_modules/@hutson/parse-repository-url": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@hutson/parse-repository-url/-/parse-repository-url-3.0.2.tgz", - "integrity": "sha512-H9XAx3hc0BQHY6l+IFSWHDySypcXsvsuLhgYLUGywmJ5pswRVQJUHpOsobnLYp2ZUaUlKiKDrgWWhosOwAEM8Q==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@isaacs/string-locale-compare": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@isaacs/string-locale-compare/-/string-locale-compare-1.1.0.tgz", - "integrity": "sha512-SQ7Kzhh9+D+ZW9MA0zkYv3VXhIDNx+LzM6EJ+/65I3QY+enU6Itte7E5XX7EWrqLW2FN4n06GWzBnPoC3th2aQ==", - "dev": true - }, - "node_modules/@lerna/add": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/add/-/add-6.4.1.tgz", - "integrity": "sha512-YSRnMcsdYnQtQQK0NSyrS9YGXvB3jzvx183o+JTH892MKzSlBqwpBHekCknSibyxga1HeZ0SNKQXgsHAwWkrRw==", - "dev": true, - "dependencies": { - "@lerna/bootstrap": "6.4.1", - "@lerna/command": "6.4.1", - "@lerna/filter-options": "6.4.1", - "@lerna/npm-conf": "6.4.1", - "@lerna/validation-error": "6.4.1", - "dedent": "^0.7.0", - "npm-package-arg": "8.1.1", - "p-map": "^4.0.0", - "pacote": "^13.6.1", - "semver": "^7.3.4" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/bootstrap": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/bootstrap/-/bootstrap-6.4.1.tgz", - "integrity": "sha512-64cm0mnxzxhUUjH3T19ZSjPdn28vczRhhTXhNAvOhhU0sQgHrroam1xQC1395qbkV3iosSertlu8e7xbXW033w==", - "dev": true, - "dependencies": { - "@lerna/command": "6.4.1", - "@lerna/filter-options": "6.4.1", - "@lerna/has-npm-version": "6.4.1", - "@lerna/npm-install": "6.4.1", - "@lerna/package-graph": "6.4.1", - "@lerna/pulse-till-done": "6.4.1", - "@lerna/rimraf-dir": "6.4.1", - "@lerna/run-lifecycle": "6.4.1", - "@lerna/run-topologically": "6.4.1", - "@lerna/symlink-binary": "6.4.1", - "@lerna/symlink-dependencies": "6.4.1", - "@lerna/validation-error": "6.4.1", - "@npmcli/arborist": "5.3.0", - "dedent": "^0.7.0", - "get-port": "^5.1.1", - "multimatch": "^5.0.0", - "npm-package-arg": "8.1.1", - "npmlog": "^6.0.2", - "p-map": "^4.0.0", - "p-map-series": "^2.1.0", - "p-waterfall": "^2.1.1", - "semver": "^7.3.4" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/changed": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/changed/-/changed-6.4.1.tgz", - "integrity": "sha512-Z/z0sTm3l/iZW0eTSsnQpcY5d6eOpNO0g4wMOK+hIboWG0QOTc8b28XCnfCUO+33UisKl8PffultgoaHMKkGgw==", - "dev": true, - "dependencies": { - "@lerna/collect-updates": "6.4.1", - "@lerna/command": "6.4.1", - "@lerna/listable": "6.4.1", - "@lerna/output": "6.4.1" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/check-working-tree": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/check-working-tree/-/check-working-tree-6.4.1.tgz", - "integrity": "sha512-EnlkA1wxaRLqhJdn9HX7h+JYxqiTK9aWEFOPqAE8lqjxHn3RpM9qBp1bAdL7CeUk3kN1lvxKwDEm0mfcIyMbPA==", - "dev": true, - "dependencies": { - "@lerna/collect-uncommitted": "6.4.1", - "@lerna/describe-ref": "6.4.1", - "@lerna/validation-error": "6.4.1" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/child-process": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/child-process/-/child-process-6.4.1.tgz", - "integrity": "sha512-dvEKK0yKmxOv8pccf3I5D/k+OGiLxQp5KYjsrDtkes2pjpCFfQAMbmpol/Tqx6w/2o2rSaRrLsnX8TENo66FsA==", - "dev": true, - "dependencies": { - "chalk": "^4.1.0", - "execa": "^5.0.0", - "strong-log-transformer": "^2.1.0" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/clean": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/clean/-/clean-6.4.1.tgz", - "integrity": "sha512-FuVyW3mpos5ESCWSkQ1/ViXyEtsZ9k45U66cdM/HnteHQk/XskSQw0sz9R+whrZRUDu6YgYLSoj1j0YAHVK/3A==", - "dev": true, - "dependencies": { - "@lerna/command": "6.4.1", - "@lerna/filter-options": "6.4.1", - "@lerna/prompt": "6.4.1", - "@lerna/pulse-till-done": "6.4.1", - "@lerna/rimraf-dir": "6.4.1", - "p-map": "^4.0.0", - "p-map-series": "^2.1.0", - "p-waterfall": "^2.1.1" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/cli": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/cli/-/cli-6.4.1.tgz", - "integrity": "sha512-2pNa48i2wzFEd9LMPKWI3lkW/3widDqiB7oZUM1Xvm4eAOuDWc9I3RWmAUIVlPQNf3n4McxJCvsZZ9BpQN50Fg==", - "dev": true, - "dependencies": { - "@lerna/global-options": "6.4.1", - "dedent": "^0.7.0", - "npmlog": "^6.0.2", - "yargs": "^16.2.0" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/collect-uncommitted": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/collect-uncommitted/-/collect-uncommitted-6.4.1.tgz", - "integrity": "sha512-5IVQGhlLrt7Ujc5ooYA1Xlicdba/wMcDSnbQwr8ufeqnzV2z4729pLCVk55gmi6ZienH/YeBPHxhB5u34ofE0Q==", - "dev": true, - "dependencies": { - "@lerna/child-process": "6.4.1", - "chalk": "^4.1.0", - "npmlog": "^6.0.2" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/collect-updates": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/collect-updates/-/collect-updates-6.4.1.tgz", - "integrity": "sha512-pzw2/FC+nIqYkknUHK9SMmvP3MsLEjxI597p3WV86cEDN3eb1dyGIGuHiKShtjvT08SKSwpTX+3bCYvLVxtC5Q==", - "dev": true, - "dependencies": { - "@lerna/child-process": "6.4.1", - "@lerna/describe-ref": "6.4.1", - "minimatch": "^3.0.4", - "npmlog": "^6.0.2", - "slash": "^3.0.0" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/command": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/command/-/command-6.4.1.tgz", - "integrity": "sha512-3Lifj8UTNYbRad8JMP7IFEEdlIyclWyyvq/zvNnTS9kCOEymfmsB3lGXr07/AFoi6qDrvN64j7YSbPZ6C6qonw==", - "dev": true, - "dependencies": { - "@lerna/child-process": "6.4.1", - "@lerna/package-graph": "6.4.1", - "@lerna/project": "6.4.1", - "@lerna/validation-error": "6.4.1", - "@lerna/write-log-file": "6.4.1", - "clone-deep": "^4.0.1", - "dedent": "^0.7.0", - "execa": "^5.0.0", - "is-ci": "^2.0.0", - "npmlog": "^6.0.2" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/conventional-commits": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/conventional-commits/-/conventional-commits-6.4.1.tgz", - "integrity": "sha512-NIvCOjStjQy5O8VojB7/fVReNNDEJOmzRG2sTpgZ/vNS4AzojBQZ/tobzhm7rVkZZ43R9srZeuhfH9WgFsVUSA==", - "dev": true, - "dependencies": { - "@lerna/validation-error": "6.4.1", - "conventional-changelog-angular": "^5.0.12", - "conventional-changelog-core": "^4.2.4", - "conventional-recommended-bump": "^6.1.0", - "fs-extra": "^9.1.0", - "get-stream": "^6.0.0", - "npm-package-arg": "8.1.1", - "npmlog": "^6.0.2", - "pify": "^5.0.0", - "semver": "^7.3.4" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/create": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/create/-/create-6.4.1.tgz", - "integrity": "sha512-qfQS8PjeGDDlxEvKsI/tYixIFzV2938qLvJohEKWFn64uvdLnXCamQ0wvRJST8p1ZpHWX4AXrB+xEJM3EFABrA==", - "dev": true, - "dependencies": { - "@lerna/child-process": "6.4.1", - "@lerna/command": "6.4.1", - "@lerna/npm-conf": "6.4.1", - "@lerna/validation-error": "6.4.1", - "dedent": "^0.7.0", - "fs-extra": "^9.1.0", - "init-package-json": "^3.0.2", - "npm-package-arg": "8.1.1", - "p-reduce": "^2.1.0", - "pacote": "^13.6.1", - "pify": "^5.0.0", - "semver": "^7.3.4", - "slash": "^3.0.0", - "validate-npm-package-license": "^3.0.4", - "validate-npm-package-name": "^4.0.0", - "yargs-parser": "20.2.4" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/create-symlink": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/create-symlink/-/create-symlink-6.4.1.tgz", - "integrity": "sha512-rNivHFYV1GAULxnaTqeGb2AdEN2OZzAiZcx5CFgj45DWXQEGwPEfpFmCSJdXhFZbyd3K0uiDlAXjAmV56ov3FQ==", - "dev": true, - "dependencies": { - "cmd-shim": "^5.0.0", - "fs-extra": "^9.1.0", - "npmlog": "^6.0.2" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/describe-ref": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/describe-ref/-/describe-ref-6.4.1.tgz", - "integrity": "sha512-MXGXU8r27wl355kb1lQtAiu6gkxJ5tAisVJvFxFM1M+X8Sq56icNoaROqYrvW6y97A9+3S8Q48pD3SzkFv31Xw==", - "dev": true, - "dependencies": { - "@lerna/child-process": "6.4.1", - "npmlog": "^6.0.2" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/diff": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/diff/-/diff-6.4.1.tgz", - "integrity": "sha512-TnzJsRPN2fOjUrmo5Boi43fJmRtBJDsVgwZM51VnLoKcDtO1kcScXJ16Od2Xx5bXbp5dES5vGDLL/USVVWfeAg==", - "dev": true, - "dependencies": { - "@lerna/child-process": "6.4.1", - "@lerna/command": "6.4.1", - "@lerna/validation-error": "6.4.1", - "npmlog": "^6.0.2" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/exec": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/exec/-/exec-6.4.1.tgz", - "integrity": "sha512-KAWfuZpoyd3FMejHUORd0GORMr45/d9OGAwHitfQPVs4brsxgQFjbbBEEGIdwsg08XhkDb4nl6IYVASVTq9+gA==", - "dev": true, - "dependencies": { - "@lerna/child-process": "6.4.1", - "@lerna/command": "6.4.1", - "@lerna/filter-options": "6.4.1", - "@lerna/profiler": "6.4.1", - "@lerna/run-topologically": "6.4.1", - "@lerna/validation-error": "6.4.1", - "p-map": "^4.0.0" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/filter-options": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/filter-options/-/filter-options-6.4.1.tgz", - "integrity": "sha512-efJh3lP2T+9oyNIP2QNd9EErf0Sm3l3Tz8CILMsNJpjSU6kO43TYWQ+L/ezu2zM99KVYz8GROLqDcHRwdr8qUA==", - "dev": true, - "dependencies": { - "@lerna/collect-updates": "6.4.1", - "@lerna/filter-packages": "6.4.1", - "dedent": "^0.7.0", - "npmlog": "^6.0.2" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/filter-packages": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/filter-packages/-/filter-packages-6.4.1.tgz", - "integrity": "sha512-LCMGDGy4b+Mrb6xkcVzp4novbf5MoZEE6ZQF1gqG0wBWqJzNcKeFiOmf352rcDnfjPGZP6ct5+xXWosX/q6qwg==", - "dev": true, - "dependencies": { - "@lerna/validation-error": "6.4.1", - "multimatch": "^5.0.0", - "npmlog": "^6.0.2" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/get-npm-exec-opts": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/get-npm-exec-opts/-/get-npm-exec-opts-6.4.1.tgz", - "integrity": "sha512-IvN/jyoklrWcjssOf121tZhOc16MaFPOu5ii8a+Oy0jfTriIGv929Ya8MWodj75qec9s+JHoShB8yEcMqZce4g==", - "dev": true, - "dependencies": { - "npmlog": "^6.0.2" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/get-packed": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/get-packed/-/get-packed-6.4.1.tgz", - "integrity": "sha512-uaDtYwK1OEUVIXn84m45uPlXShtiUcw6V9TgB3rvHa3rrRVbR7D4r+JXcwVxLGrAS7LwxVbYWEEO/Z/bX7J/Lg==", - "dev": true, - "dependencies": { - "fs-extra": "^9.1.0", - "ssri": "^9.0.1", - "tar": "^6.1.0" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/github-client": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/github-client/-/github-client-6.4.1.tgz", - "integrity": "sha512-ridDMuzmjMNlcDmrGrV9mxqwUKzt9iYqCPwVYJlRYrnE3jxyg+RdooquqskVFj11djcY6xCV2Q2V1lUYwF+PmA==", - "dev": true, - "dependencies": { - "@lerna/child-process": "6.4.1", - "@octokit/plugin-enterprise-rest": "^6.0.1", - "@octokit/rest": "^19.0.3", - "git-url-parse": "^13.1.0", - "npmlog": "^6.0.2" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/gitlab-client": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/gitlab-client/-/gitlab-client-6.4.1.tgz", - "integrity": "sha512-AdLG4d+jbUvv0jQyygQUTNaTCNSMDxioJso6aAjQ/vkwyy3fBJ6FYzX74J4adSfOxC2MQZITFyuG+c9ggp7pyQ==", - "dev": true, - "dependencies": { - "node-fetch": "^2.6.1", - "npmlog": "^6.0.2" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/global-options": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/global-options/-/global-options-6.4.1.tgz", - "integrity": "sha512-UTXkt+bleBB8xPzxBPjaCN/v63yQdfssVjhgdbkQ//4kayaRA65LyEtJTi9rUrsLlIy9/rbeb+SAZUHg129fJg==", - "dev": true, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/has-npm-version": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/has-npm-version/-/has-npm-version-6.4.1.tgz", - "integrity": "sha512-vW191w5iCkwNWWWcy4542ZOpjKYjcP/pU3o3+w6NM1J3yBjWZcNa8lfzQQgde2QkGyNi+i70o6wIca1o0sdKwg==", - "dev": true, - "dependencies": { - "@lerna/child-process": "6.4.1", - "semver": "^7.3.4" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/import": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/import/-/import-6.4.1.tgz", - "integrity": "sha512-oDg8g1PNrCM1JESLsG3rQBtPC+/K9e4ohs0xDKt5E6p4l7dc0Ib4oo0oCCT/hGzZUlNwHxrc2q9JMRzSAn6P/Q==", - "dev": true, - "dependencies": { - "@lerna/child-process": "6.4.1", - "@lerna/command": "6.4.1", - "@lerna/prompt": "6.4.1", - "@lerna/pulse-till-done": "6.4.1", - "@lerna/validation-error": "6.4.1", - "dedent": "^0.7.0", - "fs-extra": "^9.1.0", - "p-map-series": "^2.1.0" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/info": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/info/-/info-6.4.1.tgz", - "integrity": "sha512-Ks4R7IndIr4vQXz+702gumPVhH6JVkshje0WKA3+ew2qzYZf68lU1sBe1OZsQJU3eeY2c60ax+bItSa7aaIHGw==", - "dev": true, - "dependencies": { - "@lerna/command": "6.4.1", - "@lerna/output": "6.4.1", - "envinfo": "^7.7.4" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/init": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/init/-/init-6.4.1.tgz", - "integrity": "sha512-CXd/s/xgj0ZTAoOVyolOTLW2BG7uQOhWW4P/ktlwwJr9s3c4H/z+Gj36UXw3q5X1xdR29NZt7Vc6fvROBZMjUQ==", - "dev": true, - "dependencies": { - "@lerna/child-process": "6.4.1", - "@lerna/command": "6.4.1", - "@lerna/project": "6.4.1", - "fs-extra": "^9.1.0", - "p-map": "^4.0.0", - "write-json-file": "^4.3.0" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/link": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/link/-/link-6.4.1.tgz", - "integrity": "sha512-O8Rt7MAZT/WT2AwrB/+HY76ktnXA9cDFO9rhyKWZGTHdplbzuJgfsGzu8Xv0Ind+w+a8xLfqtWGPlwiETnDyrw==", - "dev": true, - "dependencies": { - "@lerna/command": "6.4.1", - "@lerna/package-graph": "6.4.1", - "@lerna/symlink-dependencies": "6.4.1", - "@lerna/validation-error": "6.4.1", - "p-map": "^4.0.0", - "slash": "^3.0.0" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/list": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/list/-/list-6.4.1.tgz", - "integrity": "sha512-7a6AKgXgC4X7nK6twVPNrKCiDhrCiAhL/FE4u9HYhHqw9yFwyq8Qe/r1RVOkAOASNZzZ8GuBvob042bpunupCw==", - "dev": true, - "dependencies": { - "@lerna/command": "6.4.1", - "@lerna/filter-options": "6.4.1", - "@lerna/listable": "6.4.1", - "@lerna/output": "6.4.1" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/listable": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/listable/-/listable-6.4.1.tgz", - "integrity": "sha512-L8ANeidM10aoF8aL3L/771Bb9r/TRkbEPzAiC8Iy2IBTYftS87E3rT/4k5KBEGYzMieSKJaskSFBV0OQGYV1Cw==", - "dev": true, - "dependencies": { - "@lerna/query-graph": "6.4.1", - "chalk": "^4.1.0", - "columnify": "^1.6.0" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/log-packed": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/log-packed/-/log-packed-6.4.1.tgz", - "integrity": "sha512-Pwv7LnIgWqZH4vkM1rWTVF+pmWJu7d0ZhVwyhCaBJUsYbo+SyB2ZETGygo3Z/A+vZ/S7ImhEEKfIxU9bg5lScQ==", - "dev": true, - "dependencies": { - "byte-size": "^7.0.0", - "columnify": "^1.6.0", - "has-unicode": "^2.0.1", - "npmlog": "^6.0.2" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/npm-conf": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/npm-conf/-/npm-conf-6.4.1.tgz", - "integrity": "sha512-Q+83uySGXYk3n1pYhvxtzyGwBGijYgYecgpiwRG1YNyaeGy+Mkrj19cyTWubT+rU/kM5c6If28+y9kdudvc7zQ==", - "dev": true, - "dependencies": { - "config-chain": "^1.1.12", - "pify": "^5.0.0" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/npm-dist-tag": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/npm-dist-tag/-/npm-dist-tag-6.4.1.tgz", - "integrity": "sha512-If1Hn4q9fn0JWuBm455iIZDWE6Fsn4Nv8Tpqb+dYf0CtoT5Hn+iT64xSiU5XJw9Vc23IR7dIujkEXm2MVbnvZw==", - "dev": true, - "dependencies": { - "@lerna/otplease": "6.4.1", - "npm-package-arg": "8.1.1", - "npm-registry-fetch": "^13.3.0", - "npmlog": "^6.0.2" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/npm-install": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/npm-install/-/npm-install-6.4.1.tgz", - "integrity": "sha512-7gI1txMA9qTaT3iiuk/8/vL78wIhtbbOLhMf8m5yQ2G+3t47RUA8MNgUMsq4Zszw9C83drayqesyTf0u8BzVRg==", - "dev": true, - "dependencies": { - "@lerna/child-process": "6.4.1", - "@lerna/get-npm-exec-opts": "6.4.1", - "fs-extra": "^9.1.0", - "npm-package-arg": "8.1.1", - "npmlog": "^6.0.2", - "signal-exit": "^3.0.3", - "write-pkg": "^4.0.0" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/npm-publish": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/npm-publish/-/npm-publish-6.4.1.tgz", - "integrity": "sha512-lbNEg+pThPAD8lIgNArm63agtIuCBCF3umxvgTQeLzyqUX6EtGaKJFyz/6c2ANcAuf8UfU7WQxFFbOiolibXTQ==", - "dev": true, - "dependencies": { - "@lerna/otplease": "6.4.1", - "@lerna/run-lifecycle": "6.4.1", - "fs-extra": "^9.1.0", - "libnpmpublish": "^6.0.4", - "npm-package-arg": "8.1.1", - "npmlog": "^6.0.2", - "pify": "^5.0.0", - "read-package-json": "^5.0.1" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/npm-run-script": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/npm-run-script/-/npm-run-script-6.4.1.tgz", - "integrity": "sha512-HyvwuyhrGqDa1UbI+pPbI6v+wT6I34R0PW3WCADn6l59+AyqLOCUQQr+dMW7jdYNwjO6c/Ttbvj4W58EWsaGtQ==", - "dev": true, - "dependencies": { - "@lerna/child-process": "6.4.1", - "@lerna/get-npm-exec-opts": "6.4.1", - "npmlog": "^6.0.2" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/otplease": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/otplease/-/otplease-6.4.1.tgz", - "integrity": "sha512-ePUciFfFdythHNMp8FP5K15R/CoGzSLVniJdD50qm76c4ATXZHnGCW2PGwoeAZCy4QTzhlhdBq78uN0wAs75GA==", - "dev": true, - "dependencies": { - "@lerna/prompt": "6.4.1" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/output": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/output/-/output-6.4.1.tgz", - "integrity": "sha512-A1yRLF0bO+lhbIkrryRd6hGSD0wnyS1rTPOWJhScO/Zyv8vIPWhd2fZCLR1gI2d/Kt05qmK3T/zETTwloK7Fww==", - "dev": true, - "dependencies": { - "npmlog": "^6.0.2" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/pack-directory": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/pack-directory/-/pack-directory-6.4.1.tgz", - "integrity": "sha512-kBtDL9bPP72/Nl7Gqa2CA3Odb8CYY1EF2jt801f+B37TqRLf57UXQom7yF3PbWPCPmhoU+8Fc4RMpUwSbFC46Q==", - "dev": true, - "dependencies": { - "@lerna/get-packed": "6.4.1", - "@lerna/package": "6.4.1", - "@lerna/run-lifecycle": "6.4.1", - "@lerna/temp-write": "6.4.1", - "npm-packlist": "^5.1.1", - "npmlog": "^6.0.2", - "tar": "^6.1.0" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/package": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/package/-/package-6.4.1.tgz", - "integrity": "sha512-TrOah58RnwS9R8d3+WgFFTu5lqgZs7M+e1dvcRga7oSJeKscqpEK57G0xspvF3ycjfXQwRMmEtwPmpkeEVLMzA==", - "dev": true, - "dependencies": { - "load-json-file": "^6.2.0", - "npm-package-arg": "8.1.1", - "write-pkg": "^4.0.0" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/package-graph": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/package-graph/-/package-graph-6.4.1.tgz", - "integrity": "sha512-fQvc59stRYOqxT3Mn7g/yI9/Kw5XetJoKcW5l8XeqKqcTNDURqKnN0qaNBY6lTTLOe4cR7gfXF2l1u3HOz0qEg==", - "dev": true, - "dependencies": { - "@lerna/prerelease-id-from-version": "6.4.1", - "@lerna/validation-error": "6.4.1", - "npm-package-arg": "8.1.1", - "npmlog": "^6.0.2", - "semver": "^7.3.4" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/prerelease-id-from-version": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/prerelease-id-from-version/-/prerelease-id-from-version-6.4.1.tgz", - "integrity": "sha512-uGicdMFrmfHXeC0FTosnUKRgUjrBJdZwrmw7ZWMb5DAJGOuTzrvJIcz5f0/eL3XqypC/7g+9DoTgKjX3hlxPZA==", - "dev": true, - "dependencies": { - "semver": "^7.3.4" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/profiler": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/profiler/-/profiler-6.4.1.tgz", - "integrity": "sha512-dq2uQxcu0aq6eSoN+JwnvHoAnjtZAVngMvywz5bTAfzz/sSvIad1v8RCpJUMBQHxaPtbfiNvOIQgDZOmCBIM4g==", - "dev": true, - "dependencies": { - "fs-extra": "^9.1.0", - "npmlog": "^6.0.2", - "upath": "^2.0.1" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/project": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/project/-/project-6.4.1.tgz", - "integrity": "sha512-BPFYr4A0mNZ2jZymlcwwh7PfIC+I6r52xgGtJ4KIrIOB6mVKo9u30dgYJbUQxmSuMRTOnX7PJZttQQzSda4gEg==", - "dev": true, - "dependencies": { - "@lerna/package": "6.4.1", - "@lerna/validation-error": "6.4.1", - "cosmiconfig": "^7.0.0", - "dedent": "^0.7.0", - "dot-prop": "^6.0.1", - "glob-parent": "^5.1.1", - "globby": "^11.0.2", - "js-yaml": "^4.1.0", - "load-json-file": "^6.2.0", - "npmlog": "^6.0.2", - "p-map": "^4.0.0", - "resolve-from": "^5.0.0", - "write-json-file": "^4.3.0" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/project/node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, - "dependencies": { - "is-glob": "^4.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/@lerna/project/node_modules/resolve-from": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", - "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/@lerna/prompt": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/prompt/-/prompt-6.4.1.tgz", - "integrity": "sha512-vMxCIgF9Vpe80PnargBGAdS/Ib58iYEcfkcXwo7mYBCxEVcaUJFKZ72FEW8rw+H5LkxBlzrBJyfKRoOe0ks9gQ==", - "dev": true, - "dependencies": { - "inquirer": "^8.2.4", - "npmlog": "^6.0.2" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/publish": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/publish/-/publish-6.4.1.tgz", - "integrity": "sha512-/D/AECpw2VNMa1Nh4g29ddYKRIqygEV1ftV8PYXVlHpqWN7VaKrcbRU6pn0ldgpFlMyPtESfv1zS32F5CQ944w==", - "dev": true, - "dependencies": { - "@lerna/check-working-tree": "6.4.1", - "@lerna/child-process": "6.4.1", - "@lerna/collect-updates": "6.4.1", - "@lerna/command": "6.4.1", - "@lerna/describe-ref": "6.4.1", - "@lerna/log-packed": "6.4.1", - "@lerna/npm-conf": "6.4.1", - "@lerna/npm-dist-tag": "6.4.1", - "@lerna/npm-publish": "6.4.1", - "@lerna/otplease": "6.4.1", - "@lerna/output": "6.4.1", - "@lerna/pack-directory": "6.4.1", - "@lerna/prerelease-id-from-version": "6.4.1", - "@lerna/prompt": "6.4.1", - "@lerna/pulse-till-done": "6.4.1", - "@lerna/run-lifecycle": "6.4.1", - "@lerna/run-topologically": "6.4.1", - "@lerna/validation-error": "6.4.1", - "@lerna/version": "6.4.1", - "fs-extra": "^9.1.0", - "libnpmaccess": "^6.0.3", - "npm-package-arg": "8.1.1", - "npm-registry-fetch": "^13.3.0", - "npmlog": "^6.0.2", - "p-map": "^4.0.0", - "p-pipe": "^3.1.0", - "pacote": "^13.6.1", - "semver": "^7.3.4" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/pulse-till-done": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/pulse-till-done/-/pulse-till-done-6.4.1.tgz", - "integrity": "sha512-efAkOC1UuiyqYBfrmhDBL6ufYtnpSqAG+lT4d/yk3CzJEJKkoCwh2Hb692kqHHQ5F74Uusc8tcRB7GBcfNZRWA==", - "dev": true, - "dependencies": { - "npmlog": "^6.0.2" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/query-graph": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/query-graph/-/query-graph-6.4.1.tgz", - "integrity": "sha512-gBGZLgu2x6L4d4ZYDn4+d5rxT9RNBC+biOxi0QrbaIq83I+JpHVmFSmExXK3rcTritrQ3JT9NCqb+Yu9tL9adQ==", - "dev": true, - "dependencies": { - "@lerna/package-graph": "6.4.1" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/resolve-symlink": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/resolve-symlink/-/resolve-symlink-6.4.1.tgz", - "integrity": "sha512-gnqltcwhWVLUxCuwXWe/ch9WWTxXRI7F0ZvCtIgdfOpbosm3f1g27VO1LjXeJN2i6ks03qqMowqy4xB4uMR9IA==", - "dev": true, - "dependencies": { - "fs-extra": "^9.1.0", - "npmlog": "^6.0.2", - "read-cmd-shim": "^3.0.0" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/rimraf-dir": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/rimraf-dir/-/rimraf-dir-6.4.1.tgz", - "integrity": "sha512-5sDOmZmVj0iXIiEgdhCm0Prjg5q2SQQKtMd7ImimPtWKkV0IyJWxrepJFbeQoFj5xBQF7QB5jlVNEfQfKhD6pQ==", - "dev": true, - "dependencies": { - "@lerna/child-process": "6.4.1", - "npmlog": "^6.0.2", - "path-exists": "^4.0.0", - "rimraf": "^3.0.2" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/run": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/run/-/run-6.4.1.tgz", - "integrity": "sha512-HRw7kS6KNqTxqntFiFXPEeBEct08NjnL6xKbbOV6pXXf+lXUQbJlF8S7t6UYqeWgTZ4iU9caIxtZIY+EpW93mQ==", - "dev": true, - "dependencies": { - "@lerna/command": "6.4.1", - "@lerna/filter-options": "6.4.1", - "@lerna/npm-run-script": "6.4.1", - "@lerna/output": "6.4.1", - "@lerna/profiler": "6.4.1", - "@lerna/run-topologically": "6.4.1", - "@lerna/timer": "6.4.1", - "@lerna/validation-error": "6.4.1", - "fs-extra": "^9.1.0", - "nx": ">=15.4.2 < 16", - "p-map": "^4.0.0" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/run-lifecycle": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/run-lifecycle/-/run-lifecycle-6.4.1.tgz", - "integrity": "sha512-42VopI8NC8uVCZ3YPwbTycGVBSgukJltW5Saein0m7TIqFjwSfrcP0n7QJOr+WAu9uQkk+2kBstF5WmvKiqgEA==", - "dev": true, - "dependencies": { - "@lerna/npm-conf": "6.4.1", - "@npmcli/run-script": "^4.1.7", - "npmlog": "^6.0.2", - "p-queue": "^6.6.2" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/run-topologically": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/run-topologically/-/run-topologically-6.4.1.tgz", - "integrity": "sha512-gXlnAsYrjs6KIUGDnHM8M8nt30Amxq3r0lSCNAt+vEu2sMMEOh9lffGGaJobJZ4bdwoXnKay3uER/TU8E9owMw==", - "dev": true, - "dependencies": { - "@lerna/query-graph": "6.4.1", - "p-queue": "^6.6.2" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/symlink-binary": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/symlink-binary/-/symlink-binary-6.4.1.tgz", - "integrity": "sha512-poZX90VmXRjL/JTvxaUQPeMDxFUIQvhBkHnH+dwW0RjsHB/2Tu4QUAsE0OlFnlWQGsAtXF4FTtW8Xs57E/19Kw==", - "dev": true, - "dependencies": { - "@lerna/create-symlink": "6.4.1", - "@lerna/package": "6.4.1", - "fs-extra": "^9.1.0", - "p-map": "^4.0.0" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/symlink-dependencies": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/symlink-dependencies/-/symlink-dependencies-6.4.1.tgz", - "integrity": "sha512-43W2uLlpn3TTYuHVeO/2A6uiTZg6TOk/OSKi21ujD7IfVIYcRYCwCV+8LPP12R3rzyab0JWkWnhp80Z8A2Uykw==", - "dev": true, - "dependencies": { - "@lerna/create-symlink": "6.4.1", - "@lerna/resolve-symlink": "6.4.1", - "@lerna/symlink-binary": "6.4.1", - "fs-extra": "^9.1.0", - "p-map": "^4.0.0", - "p-map-series": "^2.1.0" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/temp-write": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/temp-write/-/temp-write-6.4.1.tgz", - "integrity": "sha512-7uiGFVoTyos5xXbVQg4bG18qVEn9dFmboXCcHbMj5mc/+/QmU9QeNz/Cq36O5TY6gBbLnyj3lfL5PhzERWKMFg==", - "dev": true, - "dependencies": { - "graceful-fs": "^4.1.15", - "is-stream": "^2.0.0", - "make-dir": "^3.0.0", - "temp-dir": "^1.0.0", - "uuid": "^8.3.2" - } - }, - "node_modules/@lerna/timer": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/timer/-/timer-6.4.1.tgz", - "integrity": "sha512-ogmjFTWwRvevZr76a2sAbhmu3Ut2x73nDIn0bcwZwZ3Qc3pHD8eITdjs/wIKkHse3J7l3TO5BFJPnrvDS7HLnw==", - "dev": true, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/validation-error": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/validation-error/-/validation-error-6.4.1.tgz", - "integrity": "sha512-fxfJvl3VgFd7eBfVMRX6Yal9omDLs2mcGKkNYeCEyt4Uwlz1B5tPAXyk/sNMfkKV2Aat/mlK5tnY13vUrMKkyA==", - "dev": true, - "dependencies": { - "npmlog": "^6.0.2" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/version": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/version/-/version-6.4.1.tgz", - "integrity": "sha512-1/krPq0PtEqDXtaaZsVuKev9pXJCkNC1vOo2qCcn6PBkODw/QTAvGcUi0I+BM2c//pdxge9/gfmbDo1lC8RtAQ==", - "dev": true, - "dependencies": { - "@lerna/check-working-tree": "6.4.1", - "@lerna/child-process": "6.4.1", - "@lerna/collect-updates": "6.4.1", - "@lerna/command": "6.4.1", - "@lerna/conventional-commits": "6.4.1", - "@lerna/github-client": "6.4.1", - "@lerna/gitlab-client": "6.4.1", - "@lerna/output": "6.4.1", - "@lerna/prerelease-id-from-version": "6.4.1", - "@lerna/prompt": "6.4.1", - "@lerna/run-lifecycle": "6.4.1", - "@lerna/run-topologically": "6.4.1", - "@lerna/temp-write": "6.4.1", - "@lerna/validation-error": "6.4.1", - "@nrwl/devkit": ">=15.4.2 < 16", - "chalk": "^4.1.0", - "dedent": "^0.7.0", - "load-json-file": "^6.2.0", - "minimatch": "^3.0.4", - "npmlog": "^6.0.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", - "write-json-file": "^4.3.0" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@lerna/write-log-file": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/@lerna/write-log-file/-/write-log-file-6.4.1.tgz", - "integrity": "sha512-LE4fueQSDrQo76F4/gFXL0wnGhqdG7WHVH8D8TrKouF2Afl4NHltObCm4WsSMPjcfciVnZQFfx1ruxU4r/enHQ==", - "dev": true, - "dependencies": { - "npmlog": "^6.0.2", - "write-file-atomic": "^4.0.1" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/@nodelib/fs.scandir": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", - "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", - "dev": true, - "dependencies": { - "@nodelib/fs.stat": "2.0.5", - "run-parallel": "^1.1.9" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@nodelib/fs.stat": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", - "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", - "dev": true, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@nodelib/fs.walk": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", - "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", - "dev": true, - "dependencies": { - "@nodelib/fs.scandir": "2.1.5", - "fastq": "^1.6.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@npmcli/arborist": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/@npmcli/arborist/-/arborist-5.3.0.tgz", - "integrity": "sha512-+rZ9zgL1lnbl8Xbb1NQdMjveOMwj4lIYfcDtyJHHi5x4X8jtR6m8SXooJMZy5vmFVZ8w7A2Bnd/oX9eTuU8w5A==", - "dev": true, - "dependencies": { - "@isaacs/string-locale-compare": "^1.1.0", - "@npmcli/installed-package-contents": "^1.0.7", - "@npmcli/map-workspaces": "^2.0.3", - "@npmcli/metavuln-calculator": "^3.0.1", - "@npmcli/move-file": "^2.0.0", - "@npmcli/name-from-folder": "^1.0.1", - "@npmcli/node-gyp": "^2.0.0", - "@npmcli/package-json": "^2.0.0", - "@npmcli/run-script": "^4.1.3", - "bin-links": "^3.0.0", - "cacache": "^16.0.6", - "common-ancestor-path": "^1.0.1", - "json-parse-even-better-errors": "^2.3.1", - "json-stringify-nice": "^1.1.4", - "mkdirp": "^1.0.4", - "mkdirp-infer-owner": "^2.0.0", - "nopt": "^5.0.0", - "npm-install-checks": "^5.0.0", - "npm-package-arg": "^9.0.0", - "npm-pick-manifest": "^7.0.0", - "npm-registry-fetch": "^13.0.0", - "npmlog": "^6.0.2", - "pacote": "^13.6.1", - "parse-conflict-json": "^2.0.1", - "proc-log": "^2.0.0", - "promise-all-reject-late": "^1.0.0", - "promise-call-limit": "^1.0.1", - "read-package-json-fast": "^2.0.2", - "readdir-scoped-modules": "^1.1.0", - "rimraf": "^3.0.2", - "semver": "^7.3.7", - "ssri": "^9.0.0", - "treeverse": "^2.0.0", - "walk-up-path": "^1.0.0" - }, - "bin": { - "arborist": "bin/index.js" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/@npmcli/arborist/node_modules/hosted-git-info": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-5.2.1.tgz", - "integrity": "sha512-xIcQYMnhcx2Nr4JTjsFmwwnr9vldugPy9uVm0o87bjqqWMv9GaqsTeT+i99wTl0mk1uLxJtHxLb8kymqTENQsw==", - "dev": true, - "dependencies": { - "lru-cache": "^7.5.1" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/@npmcli/arborist/node_modules/lru-cache": { - "version": "7.14.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.14.1.tgz", - "integrity": "sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==", - "dev": true, - "engines": { - "node": ">=12" - } - }, - "node_modules/@npmcli/arborist/node_modules/nopt": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz", - "integrity": "sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==", - "dev": true, - "dependencies": { - "abbrev": "1" - }, - "bin": { - "nopt": "bin/nopt.js" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@npmcli/arborist/node_modules/npm-package-arg": { - "version": "9.1.2", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-9.1.2.tgz", - "integrity": "sha512-pzd9rLEx4TfNJkovvlBSLGhq31gGu2QDexFPWT19yCDh0JgnRhlBLNo5759N0AJmBk+kQ9Y/hXoLnlgFD+ukmg==", - "dev": true, - "dependencies": { - "hosted-git-info": "^5.0.0", - "proc-log": "^2.0.1", - "semver": "^7.3.5", - "validate-npm-package-name": "^4.0.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/@npmcli/fs": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/@npmcli/fs/-/fs-2.1.2.tgz", - "integrity": "sha512-yOJKRvohFOaLqipNtwYB9WugyZKhC/DZC4VYPmpaCzDBrA8YpK3qHZ8/HGscMnE4GqbkLNuVcCnxkeQEdGt6LQ==", - "dev": true, - "dependencies": { - "@gar/promisify": "^1.1.3", - "semver": "^7.3.5" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/@npmcli/git": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@npmcli/git/-/git-3.0.2.tgz", - "integrity": "sha512-CAcd08y3DWBJqJDpfuVL0uijlq5oaXaOJEKHKc4wqrjd00gkvTZB+nFuLn+doOOKddaQS9JfqtNoFCO2LCvA3w==", - "dev": true, - "dependencies": { - "@npmcli/promise-spawn": "^3.0.0", - "lru-cache": "^7.4.4", - "mkdirp": "^1.0.4", - "npm-pick-manifest": "^7.0.0", - "proc-log": "^2.0.0", - "promise-inflight": "^1.0.1", - "promise-retry": "^2.0.1", - "semver": "^7.3.5", - "which": "^2.0.2" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/@npmcli/git/node_modules/lru-cache": { - "version": "7.14.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.14.1.tgz", - "integrity": "sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==", - "dev": true, - "engines": { - "node": ">=12" - } - }, - "node_modules/@npmcli/installed-package-contents": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/@npmcli/installed-package-contents/-/installed-package-contents-1.0.7.tgz", - "integrity": "sha512-9rufe0wnJusCQoLpV9ZPKIVP55itrM5BxOXs10DmdbRfgWtHy1LDyskbwRnBghuB0PrF7pNPOqREVtpz4HqzKw==", - "dev": true, - "dependencies": { - "npm-bundled": "^1.1.1", - "npm-normalize-package-bin": "^1.0.1" - }, - "bin": { - "installed-package-contents": "index.js" - }, - "engines": { - "node": ">= 10" - } - }, - "node_modules/@npmcli/map-workspaces": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@npmcli/map-workspaces/-/map-workspaces-2.0.4.tgz", - "integrity": "sha512-bMo0aAfwhVwqoVM5UzX1DJnlvVvzDCHae821jv48L1EsrYwfOZChlqWYXEtto/+BkBXetPbEWgau++/brh4oVg==", - "dev": true, - "dependencies": { - "@npmcli/name-from-folder": "^1.0.1", - "glob": "^8.0.1", - "minimatch": "^5.0.1", - "read-package-json-fast": "^2.0.3" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/@npmcli/map-workspaces/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0" - } - }, - "node_modules/@npmcli/map-workspaces/node_modules/minimatch": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", - "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", - "dev": true, - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@npmcli/metavuln-calculator": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@npmcli/metavuln-calculator/-/metavuln-calculator-3.1.1.tgz", - "integrity": "sha512-n69ygIaqAedecLeVH3KnO39M6ZHiJ2dEv5A7DGvcqCB8q17BGUgW8QaanIkbWUo2aYGZqJaOORTLAlIvKjNDKA==", - "dev": true, - "dependencies": { - "cacache": "^16.0.0", - "json-parse-even-better-errors": "^2.3.1", - "pacote": "^13.0.3", - "semver": "^7.3.5" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/@npmcli/move-file": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@npmcli/move-file/-/move-file-2.0.1.tgz", - "integrity": "sha512-mJd2Z5TjYWq/ttPLLGqArdtnC74J6bOzg4rMDnN+p1xTacZ2yPRCk2y0oSWQtygLR9YVQXgOcONrwtnk3JupxQ==", - "deprecated": "This functionality has been moved to @npmcli/fs", - "dev": true, - "dependencies": { - "mkdirp": "^1.0.4", - "rimraf": "^3.0.2" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/@npmcli/name-from-folder": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@npmcli/name-from-folder/-/name-from-folder-1.0.1.tgz", - "integrity": "sha512-qq3oEfcLFwNfEYOQ8HLimRGKlD8WSeGEdtUa7hmzpR8Sa7haL1KVQrvgO6wqMjhWFFVjgtrh1gIxDz+P8sjUaA==", - "dev": true - }, - "node_modules/@npmcli/node-gyp": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@npmcli/node-gyp/-/node-gyp-2.0.0.tgz", - "integrity": "sha512-doNI35wIe3bBaEgrlPfdJPaCpUR89pJWep4Hq3aRdh6gKazIVWfs0jHttvSSoq47ZXgC7h73kDsUl8AoIQUB+A==", - "dev": true, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/@npmcli/package-json": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@npmcli/package-json/-/package-json-2.0.0.tgz", - "integrity": "sha512-42jnZ6yl16GzjWSH7vtrmWyJDGVa/LXPdpN2rcUWolFjc9ON2N3uz0qdBbQACfmhuJZ2lbKYtmK5qx68ZPLHMA==", - "dev": true, - "dependencies": { - "json-parse-even-better-errors": "^2.3.1" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/@npmcli/promise-spawn": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@npmcli/promise-spawn/-/promise-spawn-3.0.0.tgz", - "integrity": "sha512-s9SgS+p3a9Eohe68cSI3fi+hpcZUmXq5P7w0kMlAsWVtR7XbK3ptkZqKT2cK1zLDObJ3sR+8P59sJE0w/KTL1g==", - "dev": true, - "dependencies": { - "infer-owner": "^1.0.4" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/@npmcli/run-script": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/@npmcli/run-script/-/run-script-4.2.1.tgz", - "integrity": "sha512-7dqywvVudPSrRCW5nTHpHgeWnbBtz8cFkOuKrecm6ih+oO9ciydhWt6OF7HlqupRRmB8Q/gECVdB9LMfToJbRg==", - "dev": true, - "dependencies": { - "@npmcli/node-gyp": "^2.0.0", - "@npmcli/promise-spawn": "^3.0.0", - "node-gyp": "^9.0.0", - "read-package-json-fast": "^2.0.3", - "which": "^2.0.2" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/@nrwl/cli": { - "version": "15.6.3", - "resolved": "https://registry.npmjs.org/@nrwl/cli/-/cli-15.6.3.tgz", - "integrity": "sha512-K4E0spofThZXMnhA6R8hkUTdfqmwSnUE2+DlD5Y3jqsvKTAgwF5U41IFkEouFZCf+dWjy0RA20bWoX48EVFtmQ==", - "dev": true, - "dependencies": { - "nx": "15.6.3" - } - }, - "node_modules/@nrwl/devkit": { - "version": "15.6.3", - "resolved": "https://registry.npmjs.org/@nrwl/devkit/-/devkit-15.6.3.tgz", - "integrity": "sha512-/JDvdzNxUM+C1PCZPCrvmFx+OfywqZdOq1GS9QR8C0VctTLG4D/SGSFD88O1SAdcbH/f1mMiBGfEYZYd23fghQ==", - "dev": true, - "dependencies": { - "@phenomnomnominal/tsquery": "4.1.1", - "ejs": "^3.1.7", - "ignore": "^5.0.4", - "semver": "7.3.4", - "tslib": "^2.3.0" - }, - "peerDependencies": { - "nx": ">= 14 <= 16" - } - }, - "node_modules/@nrwl/devkit/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@nrwl/devkit/node_modules/semver": { - "version": "7.3.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.4.tgz", - "integrity": "sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@nrwl/devkit/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, - "node_modules/@nrwl/tao": { - "version": "15.6.3", - "resolved": "https://registry.npmjs.org/@nrwl/tao/-/tao-15.6.3.tgz", - "integrity": "sha512-bDZbPIbU5Mf2BvX0q8GjPxrm1WkYyfW+gp7mLuuJth2sEpZiCr47mSwuGko/y4CKXvIX46VQcAS0pKQMKugXsg==", - "dev": true, - "dependencies": { - "nx": "15.6.3" - }, - "bin": { - "tao": "index.js" - } - }, - "node_modules/@octokit/auth-token": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-3.0.3.tgz", - "integrity": "sha512-/aFM2M4HVDBT/jjDBa84sJniv1t9Gm/rLkalaz9htOm+L+8JMj1k9w0CkUdcxNyNxZPlTxKPVko+m1VlM58ZVA==", - "dev": true, - "dependencies": { - "@octokit/types": "^9.0.0" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/@octokit/core": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/@octokit/core/-/core-4.2.0.tgz", - "integrity": "sha512-AgvDRUg3COpR82P7PBdGZF/NNqGmtMq2NiPqeSsDIeCfYFOZ9gddqWNQHnFdEUf+YwOj4aZYmJnlPp7OXmDIDg==", - "dev": true, - "dependencies": { - "@octokit/auth-token": "^3.0.0", - "@octokit/graphql": "^5.0.0", - "@octokit/request": "^6.0.0", - "@octokit/request-error": "^3.0.0", - "@octokit/types": "^9.0.0", - "before-after-hook": "^2.2.0", - "universal-user-agent": "^6.0.0" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/@octokit/endpoint": { - "version": "7.0.5", - "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-7.0.5.tgz", - "integrity": "sha512-LG4o4HMY1Xoaec87IqQ41TQ+glvIeTKqfjkCEmt5AIwDZJwQeVZFIEYXrYY6yLwK+pAScb9Gj4q+Nz2qSw1roA==", - "dev": true, - "dependencies": { - "@octokit/types": "^9.0.0", - "is-plain-object": "^5.0.0", - "universal-user-agent": "^6.0.0" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/@octokit/graphql": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-5.0.5.tgz", - "integrity": "sha512-Qwfvh3xdqKtIznjX9lz2D458r7dJPP8l6r4GQkIdWQouZwHQK0mVT88uwiU2bdTU2OtT1uOlKpRciUWldpG0yQ==", - "dev": true, - "dependencies": { - "@octokit/request": "^6.0.0", - "@octokit/types": "^9.0.0", - "universal-user-agent": "^6.0.0" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/@octokit/openapi-types": { - "version": "16.0.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-16.0.0.tgz", - "integrity": "sha512-JbFWOqTJVLHZSUUoF4FzAZKYtqdxWu9Z5m2QQnOyEa04fOFljvyh7D3GYKbfuaSWisqehImiVIMG4eyJeP5VEA==", - "dev": true - }, - "node_modules/@octokit/plugin-enterprise-rest": { - "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==", - "dev": true - }, - "node_modules/@octokit/plugin-paginate-rest": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-6.0.0.tgz", - "integrity": "sha512-Sq5VU1PfT6/JyuXPyt04KZNVsFOSBaYOAq2QRZUwzVlI10KFvcbUo8lR258AAQL1Et60b0WuVik+zOWKLuDZxw==", - "dev": true, - "dependencies": { - "@octokit/types": "^9.0.0" - }, - "engines": { - "node": ">= 14" - }, - "peerDependencies": { - "@octokit/core": ">=4" - } - }, - "node_modules/@octokit/plugin-request-log": { - "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==", - "dev": true, - "peerDependencies": { - "@octokit/core": ">=3" - } - }, - "node_modules/@octokit/plugin-rest-endpoint-methods": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-7.0.1.tgz", - "integrity": "sha512-pnCaLwZBudK5xCdrR823xHGNgqOzRnJ/mpC/76YPpNP7DybdsJtP7mdOwh+wYZxK5jqeQuhu59ogMI4NRlBUvA==", - "dev": true, - "dependencies": { - "@octokit/types": "^9.0.0", - "deprecation": "^2.3.1" - }, - "engines": { - "node": ">= 14" - }, - "peerDependencies": { - "@octokit/core": ">=3" - } - }, - "node_modules/@octokit/request": { - "version": "6.2.3", - "resolved": "https://registry.npmjs.org/@octokit/request/-/request-6.2.3.tgz", - "integrity": "sha512-TNAodj5yNzrrZ/VxP+H5HiYaZep0H3GU0O7PaF+fhDrt8FPrnkei9Aal/txsN/1P7V3CPiThG0tIvpPDYUsyAA==", - "dev": true, - "dependencies": { - "@octokit/endpoint": "^7.0.0", - "@octokit/request-error": "^3.0.0", - "@octokit/types": "^9.0.0", - "is-plain-object": "^5.0.0", - "node-fetch": "^2.6.7", - "universal-user-agent": "^6.0.0" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/@octokit/request-error": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-3.0.3.tgz", - "integrity": "sha512-crqw3V5Iy2uOU5Np+8M/YexTlT8zxCfI+qu+LxUB7SZpje4Qmx3mub5DfEKSO8Ylyk0aogi6TYdf6kxzh2BguQ==", - "dev": true, - "dependencies": { - "@octokit/types": "^9.0.0", - "deprecation": "^2.0.0", - "once": "^1.4.0" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/@octokit/rest": { - "version": "19.0.7", - "resolved": "https://registry.npmjs.org/@octokit/rest/-/rest-19.0.7.tgz", - "integrity": "sha512-HRtSfjrWmWVNp2uAkEpQnuGMJsu/+dBr47dRc5QVgsCbnIc1+GFEaoKBWkYG+zjrsHpSqcAElMio+n10c0b5JA==", - "dev": true, - "dependencies": { - "@octokit/core": "^4.1.0", - "@octokit/plugin-paginate-rest": "^6.0.0", - "@octokit/plugin-request-log": "^1.0.4", - "@octokit/plugin-rest-endpoint-methods": "^7.0.0" - }, - "engines": { - "node": ">= 14" - } - }, - "node_modules/@octokit/types": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-9.0.0.tgz", - "integrity": "sha512-LUewfj94xCMH2rbD5YJ+6AQ4AVjFYTgpp6rboWM5T7N3IsIF65SBEOVcYMGAEzO/kKNiNaW4LoWtoThOhH06gw==", - "dev": true, - "dependencies": { - "@octokit/openapi-types": "^16.0.0" - } - }, - "node_modules/@parcel/watcher": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.0.4.tgz", - "integrity": "sha512-cTDi+FUDBIUOBKEtj+nhiJ71AZVlkAsQFuGQTun5tV9mwQBQgZvhCzG+URPQc8myeN32yRVZEfVAPCs1RW+Jvg==", - "dev": true, - "hasInstallScript": true, - "dependencies": { - "node-addon-api": "^3.2.1", - "node-gyp-build": "^4.3.0" - }, - "engines": { - "node": ">= 10.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/parcel" - } - }, - "node_modules/@phenomnomnominal/tsquery": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/@phenomnomnominal/tsquery/-/tsquery-4.1.1.tgz", - "integrity": "sha512-jjMmK1tnZbm1Jq5a7fBliM4gQwjxMU7TFoRNwIyzwlO+eHPRCFv/Nv+H/Gi1jc3WR7QURG8D5d0Tn12YGrUqBQ==", - "dev": true, - "dependencies": { - "esquery": "^1.0.1" - }, - "peerDependencies": { - "typescript": "^3 || ^4" - } - }, - "node_modules/@rushstack/eslint-patch": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@rushstack/eslint-patch/-/eslint-patch-1.2.0.tgz", - "integrity": "sha512-sXo/qW2/pAcmT43VoRKOJbDOfV3cYpq3szSVfIThQXNt+E4DfKj361vaAt3c88U5tPUxzEswam7GW48PJqtKAg==", - "dev": true - }, - "node_modules/@tootallnate/once": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-2.0.0.tgz", - "integrity": "sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==", - "dev": true, - "engines": { - "node": ">= 10" - } - }, - "node_modules/@types/json-schema": { - "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==", - "dev": true - }, - "node_modules/@types/minimatch": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-3.0.5.tgz", - "integrity": "sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ==", - "dev": true - }, - "node_modules/@types/minimist": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/@types/minimist/-/minimist-1.2.2.tgz", - "integrity": "sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==", - "dev": true - }, - "node_modules/@types/node": { - "version": "18.11.19", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.19.tgz", - "integrity": "sha512-YUgMWAQBWLObABqrvx8qKO1enAvBUdjZOAWQ5grBAkp5LQv45jBvYKZ3oFS9iKRCQyFjqw6iuEa1vmFqtxYLZw==", - "dev": true - }, - "node_modules/@types/normalize-package-data": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz", - "integrity": "sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw==", - "dev": true - }, - "node_modules/@types/parse-json": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@types/parse-json/-/parse-json-4.0.0.tgz", - "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==", - "dev": true - }, - "node_modules/@types/semver": { - "version": "7.3.13", - "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.3.13.tgz", - "integrity": "sha512-21cFJr9z3g5dW8B0CVI9g2O9beqaThGQ6ZFBqHfwhzLDKUxaqTIy3vnfah/UPkfOiF2pLq+tGz+W8RyCskuslw==", - "dev": true - }, - "node_modules/@typescript-eslint/eslint-plugin": { - "version": "5.50.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.50.0.tgz", - "integrity": "sha512-vwksQWSFZiUhgq3Kv7o1Jcj0DUNylwnIlGvKvLLYsq8pAWha6/WCnXUeaSoNNha/K7QSf2+jvmkxggC1u3pIwQ==", - "dev": true, - "dependencies": { - "@typescript-eslint/scope-manager": "5.50.0", - "@typescript-eslint/type-utils": "5.50.0", - "@typescript-eslint/utils": "5.50.0", - "debug": "^4.3.4", - "grapheme-splitter": "^1.0.4", - "ignore": "^5.2.0", - "natural-compare-lite": "^1.4.0", - "regexpp": "^3.2.0", - "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" - }, - "peerDependencies": { - "@typescript-eslint/parser": "^5.0.0", - "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@typescript-eslint/parser": { - "version": "5.50.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.50.0.tgz", - "integrity": "sha512-KCcSyNaogUDftK2G9RXfQyOCt51uB5yqC6pkUYqhYh8Kgt+DwR5M0EwEAxGPy/+DH6hnmKeGsNhiZRQxjH71uQ==", - "dev": true, - "dependencies": { - "@typescript-eslint/scope-manager": "5.50.0", - "@typescript-eslint/types": "5.50.0", - "@typescript-eslint/typescript-estree": "5.50.0", - "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.50.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.50.0.tgz", - "integrity": "sha512-rt03kaX+iZrhssaT974BCmoUikYtZI24Vp/kwTSy841XhiYShlqoshRFDvN1FKKvU2S3gK+kcBW1EA7kNUrogg==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "5.50.0", - "@typescript-eslint/visitor-keys": "5.50.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } - }, - "node_modules/@typescript-eslint/type-utils": { - "version": "5.50.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.50.0.tgz", - "integrity": "sha512-dcnXfZ6OGrNCO7E5UY/i0ktHb7Yx1fV6fnQGGrlnfDhilcs6n19eIRcvLBqx6OQkrPaFlDPk3OJ0WlzQfrV0bQ==", - "dev": true, - "dependencies": { - "@typescript-eslint/typescript-estree": "5.50.0", - "@typescript-eslint/utils": "5.50.0", - "debug": "^4.3.4", - "tsutils": "^3.21.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "*" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@typescript-eslint/types": { - "version": "5.50.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.50.0.tgz", - "integrity": "sha512-atruOuJpir4OtyNdKahiHZobPKFvZnBnfDiyEaBf6d9vy9visE7gDjlmhl+y29uxZ2ZDgvXijcungGFjGGex7w==", - "dev": true, - "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.50.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.50.0.tgz", - "integrity": "sha512-Gq4zapso+OtIZlv8YNAStFtT6d05zyVCK7Fx3h5inlLBx2hWuc/0465C2mg/EQDDU2LKe52+/jN4f0g9bd+kow==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "5.50.0", - "@typescript-eslint/visitor-keys": "5.50.0", - "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/utils": { - "version": "5.50.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.50.0.tgz", - "integrity": "sha512-v/AnUFImmh8G4PH0NDkf6wA8hujNNcrwtecqW4vtQ1UOSNBaZl49zP1SHoZ/06e+UiwzHpgb5zP5+hwlYYWYAw==", - "dev": true, - "dependencies": { - "@types/json-schema": "^7.0.9", - "@types/semver": "^7.3.12", - "@typescript-eslint/scope-manager": "5.50.0", - "@typescript-eslint/types": "5.50.0", - "@typescript-eslint/typescript-estree": "5.50.0", - "eslint-scope": "^5.1.1", - "eslint-utils": "^3.0.0", - "semver": "^7.3.7" - }, - "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" - } - }, - "node_modules/@typescript-eslint/visitor-keys": { - "version": "5.50.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.50.0.tgz", - "integrity": "sha512-cdMeD9HGu6EXIeGOh2yVW6oGf9wq8asBgZx7nsR/D36gTfQ0odE5kcRYe5M81vjEFAcPeugXrHg78Imu55F6gg==", - "dev": true, - "dependencies": { - "@typescript-eslint/types": "5.50.0", - "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/@vitejs/plugin-vue": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@vitejs/plugin-vue/-/plugin-vue-4.0.0.tgz", - "integrity": "sha512-e0X4jErIxAB5oLtDqbHvHpJe/uWNkdpYV83AOG2xo2tEVSzCzewgJMtREZM30wXnM5ls90hxiOtAuVU6H5JgbA==", - "dev": true, - "engines": { - "node": "^14.18.0 || >=16.0.0" - }, - "peerDependencies": { - "vite": "^4.0.0", - "vue": "^3.2.25" - } - }, - "node_modules/@volar/language-core": { - "version": "1.0.24", - "resolved": "https://registry.npmjs.org/@volar/language-core/-/language-core-1.0.24.tgz", - "integrity": "sha512-vTN+alJiWwK0Pax6POqrmevbtFW2dXhjwWiW/MW4f48eDYPLdyURWcr8TixO7EN/nHsUBj2udT7igFKPtjyAKg==", - "dev": true, - "dependencies": { - "@volar/source-map": "1.0.24", - "muggle-string": "^0.1.0" - } - }, - "node_modules/@volar/source-map": { - "version": "1.0.24", - "resolved": "https://registry.npmjs.org/@volar/source-map/-/source-map-1.0.24.tgz", - "integrity": "sha512-Qsv/tkplx18pgBr8lKAbM1vcDqgkGKQzbChg6NW+v0CZc3G7FLmK+WrqEPzKlN7Cwdc6XVL559Nod8WKAfKr4A==", - "dev": true, - "dependencies": { - "muggle-string": "^0.1.0" - } - }, - "node_modules/@volar/typescript": { - "version": "1.0.24", - "resolved": "https://registry.npmjs.org/@volar/typescript/-/typescript-1.0.24.tgz", - "integrity": "sha512-f8hCSk+PfKR1/RQHxZ79V1NpDImHoivqoizK+mstphm25tn/YJ/JnKNjZHB+o21fuW0yKlI26NV3jkVb2Cc/7A==", - "dev": true, - "dependencies": { - "@volar/language-core": "1.0.24" - } - }, - "node_modules/@volar/vue-language-core": { - "version": "1.0.24", - "resolved": "https://registry.npmjs.org/@volar/vue-language-core/-/vue-language-core-1.0.24.tgz", - "integrity": "sha512-2NTJzSgrwKu6uYwPqLiTMuAzi7fAY3yFy5PJ255bGJc82If0Xr+cW8pC80vpjG0D/aVLmlwAdO4+Ya2BI8GdDg==", - "dev": true, - "dependencies": { - "@volar/language-core": "1.0.24", - "@volar/source-map": "1.0.24", - "@vue/compiler-dom": "^3.2.45", - "@vue/compiler-sfc": "^3.2.45", - "@vue/reactivity": "^3.2.45", - "@vue/shared": "^3.2.45", - "minimatch": "^5.1.1", - "vue-template-compiler": "^2.7.14" - } - }, - "node_modules/@volar/vue-language-core/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0" - } - }, - "node_modules/@volar/vue-language-core/node_modules/minimatch": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", - "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", - "dev": true, - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@volar/vue-typescript": { - "version": "1.0.24", - "resolved": "https://registry.npmjs.org/@volar/vue-typescript/-/vue-typescript-1.0.24.tgz", - "integrity": "sha512-9a25oHDvGaNC0okRS47uqJI6FxY4hUQZUsxeOUFHcqVxZEv8s17LPuP/pMMXyz7jPygrZubB/qXqHY5jEu/akA==", - "dev": true, - "dependencies": { - "@volar/typescript": "1.0.24", - "@volar/vue-language-core": "1.0.24" - } - }, - "node_modules/@vue/compiler-core": { - "version": "3.2.47", - "resolved": "https://registry.npmjs.org/@vue/compiler-core/-/compiler-core-3.2.47.tgz", - "integrity": "sha512-p4D7FDnQb7+YJmO2iPEv0SQNeNzcbHdGByJDsT4lynf63AFkOTFN07HsiRSvjGo0QrxR/o3d0hUyNCUnBU2Tig==", - "dependencies": { - "@babel/parser": "^7.16.4", - "@vue/shared": "3.2.47", - "estree-walker": "^2.0.2", - "source-map": "^0.6.1" - } - }, - "node_modules/@vue/compiler-dom": { - "version": "3.2.47", - "resolved": "https://registry.npmjs.org/@vue/compiler-dom/-/compiler-dom-3.2.47.tgz", - "integrity": "sha512-dBBnEHEPoftUiS03a4ggEig74J2YBZ2UIeyfpcRM2tavgMWo4bsEfgCGsu+uJIL/vax9S+JztH8NmQerUo7shQ==", - "dependencies": { - "@vue/compiler-core": "3.2.47", - "@vue/shared": "3.2.47" - } - }, - "node_modules/@vue/compiler-sfc": { - "version": "3.2.47", - "resolved": "https://registry.npmjs.org/@vue/compiler-sfc/-/compiler-sfc-3.2.47.tgz", - "integrity": "sha512-rog05W+2IFfxjMcFw10tM9+f7i/+FFpZJJ5XHX72NP9eC2uRD+42M3pYcQqDXVYoj74kHMSEdQ/WmCjt8JFksQ==", - "dependencies": { - "@babel/parser": "^7.16.4", - "@vue/compiler-core": "3.2.47", - "@vue/compiler-dom": "3.2.47", - "@vue/compiler-ssr": "3.2.47", - "@vue/reactivity-transform": "3.2.47", - "@vue/shared": "3.2.47", - "estree-walker": "^2.0.2", - "magic-string": "^0.25.7", - "postcss": "^8.1.10", - "source-map": "^0.6.1" - } - }, - "node_modules/@vue/compiler-ssr": { - "version": "3.2.47", - "resolved": "https://registry.npmjs.org/@vue/compiler-ssr/-/compiler-ssr-3.2.47.tgz", - "integrity": "sha512-wVXC+gszhulcMD8wpxMsqSOpvDZ6xKXSVWkf50Guf/S+28hTAXPDYRTbLQ3EDkOP5Xz/+SY37YiwDquKbJOgZw==", - "dependencies": { - "@vue/compiler-dom": "3.2.47", - "@vue/shared": "3.2.47" - } - }, - "node_modules/@vue/devtools-api": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/@vue/devtools-api/-/devtools-api-6.5.0.tgz", - "integrity": "sha512-o9KfBeaBmCKl10usN4crU53fYtC1r7jJwdGKjPT24t348rHxgfpZ0xL3Xm/gLUYnc0oTp8LAmrxOeLyu6tbk2Q==" - }, - "node_modules/@vue/eslint-config-prettier": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/@vue/eslint-config-prettier/-/eslint-config-prettier-7.0.0.tgz", - "integrity": "sha512-/CTc6ML3Wta1tCe1gUeO0EYnVXfo3nJXsIhZ8WJr3sov+cGASr6yuiibJTL6lmIBm7GobopToOuB3B6AWyV0Iw==", - "dev": true, - "dependencies": { - "eslint-config-prettier": "^8.3.0", - "eslint-plugin-prettier": "^4.0.0" - }, - "peerDependencies": { - "eslint": ">= 7.28.0", - "prettier": ">= 2.0.0" - } - }, - "node_modules/@vue/eslint-config-typescript": { - "version": "11.0.2", - "resolved": "https://registry.npmjs.org/@vue/eslint-config-typescript/-/eslint-config-typescript-11.0.2.tgz", - "integrity": "sha512-EiKud1NqlWmSapBFkeSrE994qpKx7/27uCGnhdqzllYDpQZroyX/O6bwjEpeuyKamvLbsGdO6PMR2faIf+zFnw==", - "dev": true, - "dependencies": { - "@typescript-eslint/eslint-plugin": "^5.0.0", - "@typescript-eslint/parser": "^5.0.0", - "vue-eslint-parser": "^9.0.0" - }, - "engines": { - "node": "^14.17.0 || >=16.0.0" - }, - "peerDependencies": { - "eslint": "^6.2.0 || ^7.0.0 || ^8.0.0", - "eslint-plugin-vue": "^9.0.0", - "typescript": "*" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@vue/reactivity": { - "version": "3.2.47", - "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.2.47.tgz", - "integrity": "sha512-7khqQ/75oyyg+N/e+iwV6lpy1f5wq759NdlS1fpAhFXa8VeAIKGgk2E/C4VF59lx5b+Ezs5fpp/5WsRYXQiKxQ==", - "dependencies": { - "@vue/shared": "3.2.47" - } - }, - "node_modules/@vue/reactivity-transform": { - "version": "3.2.47", - "resolved": "https://registry.npmjs.org/@vue/reactivity-transform/-/reactivity-transform-3.2.47.tgz", - "integrity": "sha512-m8lGXw8rdnPVVIdIFhf0LeQ/ixyHkH5plYuS83yop5n7ggVJU+z5v0zecwEnX7fa7HNLBhh2qngJJkxpwEEmYA==", - "dependencies": { - "@babel/parser": "^7.16.4", - "@vue/compiler-core": "3.2.47", - "@vue/shared": "3.2.47", - "estree-walker": "^2.0.2", - "magic-string": "^0.25.7" - } - }, - "node_modules/@vue/runtime-core": { - "version": "3.2.47", - "resolved": "https://registry.npmjs.org/@vue/runtime-core/-/runtime-core-3.2.47.tgz", - "integrity": "sha512-RZxbLQIRB/K0ev0K9FXhNbBzT32H9iRtYbaXb0ZIz2usLms/D55dJR2t6cIEUn6vyhS3ALNvNthI+Q95C+NOpA==", - "dependencies": { - "@vue/reactivity": "3.2.47", - "@vue/shared": "3.2.47" - } - }, - "node_modules/@vue/runtime-dom": { - "version": "3.2.47", - "resolved": "https://registry.npmjs.org/@vue/runtime-dom/-/runtime-dom-3.2.47.tgz", - "integrity": "sha512-ArXrFTjS6TsDei4qwNvgrdmHtD930KgSKGhS5M+j8QxXrDJYLqYw4RRcDy1bz1m1wMmb6j+zGLifdVHtkXA7gA==", - "dependencies": { - "@vue/runtime-core": "3.2.47", - "@vue/shared": "3.2.47", - "csstype": "^2.6.8" - } - }, - "node_modules/@vue/server-renderer": { - "version": "3.2.47", - "resolved": "https://registry.npmjs.org/@vue/server-renderer/-/server-renderer-3.2.47.tgz", - "integrity": "sha512-dN9gc1i8EvmP9RCzvneONXsKfBRgqFeFZLurmHOveL7oH6HiFXJw5OGu294n1nHc/HMgTy6LulU/tv5/A7f/LA==", - "dependencies": { - "@vue/compiler-ssr": "3.2.47", - "@vue/shared": "3.2.47" - }, - "peerDependencies": { - "vue": "3.2.47" - } - }, - "node_modules/@vue/shared": { - "version": "3.2.47", - "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.2.47.tgz", - "integrity": "sha512-BHGyyGN3Q97EZx0taMQ+OLNuZcW3d37ZEVmEAyeoA9ERdGvm9Irc/0Fua8SNyOtV1w6BS4q25wbMzJujO9HIfQ==" - }, - "node_modules/@vue/tsconfig": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/@vue/tsconfig/-/tsconfig-0.1.3.tgz", - "integrity": "sha512-kQVsh8yyWPvHpb8gIc9l/HIDiiVUy1amynLNpCy8p+FoCiZXCo6fQos5/097MmnNZc9AtseDsCrfkhqCrJ8Olg==", - "dev": true, - "peerDependencies": { - "@types/node": "*" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - } - } - }, - "node_modules/@yarnpkg/lockfile": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz", - "integrity": "sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ==", - "dev": true - }, - "node_modules/@yarnpkg/parsers": { - "version": "3.0.0-rc.38", - "resolved": "https://registry.npmjs.org/@yarnpkg/parsers/-/parsers-3.0.0-rc.38.tgz", - "integrity": "sha512-YqkUSOZSBjbhzvU/ZbK6yoE70L/KVXAQTyUMaKAFoHEpy7csAljivTBu0C3SZKbDxMRjFWAvnLS8US7W3hFLow==", - "dev": true, - "dependencies": { - "js-yaml": "^3.10.0", - "tslib": "^2.4.0" - }, - "engines": { - "node": ">=14.15.0" - } - }, - "node_modules/@yarnpkg/parsers/node_modules/argparse": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", - "dev": true, - "dependencies": { - "sprintf-js": "~1.0.2" - } - }, - "node_modules/@yarnpkg/parsers/node_modules/js-yaml": { - "version": "3.14.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", - "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", - "dev": true, - "dependencies": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" - } - }, - "node_modules/@zkochan/js-yaml": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/@zkochan/js-yaml/-/js-yaml-0.0.6.tgz", - "integrity": "sha512-nzvgl3VfhcELQ8LyVrYOru+UtAy1nrygk2+AGbTm8a5YcO6o8lSjAT+pfg3vJWxIoZKOUhrK6UU7xW/+00kQrg==", - "dev": true, - "dependencies": { - "argparse": "^2.0.1" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" - } - }, - "node_modules/abbrev": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", - "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", - "dev": true - }, - "node_modules/acorn": { - "version": "8.8.2", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.2.tgz", - "integrity": "sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==", - "dev": true, - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/acorn-jsx": { - "version": "5.3.2", - "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", - "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", - "dev": true, - "peerDependencies": { - "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" - } - }, - "node_modules/add-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/add-stream/-/add-stream-1.0.0.tgz", - "integrity": "sha512-qQLMr+8o0WC4FZGQTcJiKBVC59JylcPSrTtk6usvmIDFUOCKegapy1VHQwRbFMOFyb/inzUVqHs+eMYKDM1YeQ==", - "dev": true - }, - "node_modules/agent-base": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz", - "integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==", - "dev": true, - "dependencies": { - "debug": "4" - }, - "engines": { - "node": ">= 6.0.0" - } - }, - "node_modules/agentkeepalive": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.2.1.tgz", - "integrity": "sha512-Zn4cw2NEqd+9fiSVWMscnjyQ1a8Yfoc5oBajLeo5w+YBHgDUcEBY2hS4YpTz6iN5f/2zQiktcuM6tS8x1p9dpA==", - "dev": true, - "dependencies": { - "debug": "^4.1.0", - "depd": "^1.1.2", - "humanize-ms": "^1.2.1" - }, - "engines": { - "node": ">= 8.0.0" - } - }, - "node_modules/aggregate-error": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", - "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==", - "dev": true, - "dependencies": { - "clean-stack": "^2.0.0", - "indent-string": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", - "dev": true, - "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-colors": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz", - "integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/ansi-escapes": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", - "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", - "dev": true, - "dependencies": { - "type-fest": "^0.21.3" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/ansi-escapes/node_modules/type-fest": { - "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==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/aproba": { - "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==", - "dev": true - }, - "node_modules/are-we-there-yet": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz", - "integrity": "sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg==", - "dev": true, - "dependencies": { - "delegates": "^1.0.0", - "readable-stream": "^3.6.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/argparse": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", - "dev": true - }, - "node_modules/array-differ": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/array-differ/-/array-differ-3.0.0.tgz", - "integrity": "sha512-THtfYS6KtME/yIAhKjZ2ul7XI96lQGHRputJQHO80LAWQnuGP4iCIN8vdMRboGbIEYBwU33q8Tch1os2+X0kMg==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/array-ify": { - "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==", - "dev": true - }, - "node_modules/array-union": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", - "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/arrify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", - "integrity": "sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/asap": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", - "integrity": "sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==", - "dev": true - }, - "node_modules/async": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.4.tgz", - "integrity": "sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ==", - "dev": true - }, - "node_modules/asynckit": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", - "dev": true - }, - "node_modules/at-least-node": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz", - "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==", - "dev": true, - "engines": { - "node": ">= 4.0.0" - } - }, - "node_modules/available-typed-arrays": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", - "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==", - "dev": true, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/axios": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.3.2.tgz", - "integrity": "sha512-1M3O703bYqYuPhbHeya5bnhpYVsDDRyQSabNja04mZtboLNSuZ4YrltestrLXfHgmzua4TpUqRiVKbiQuo2epw==", - "dev": true, - "dependencies": { - "follow-redirects": "^1.15.0", - "form-data": "^4.0.0", - "proxy-from-env": "^1.1.0" - } - }, - "node_modules/balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "dev": true - }, - "node_modules/base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", - "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" - } - ] - }, - "node_modules/before-after-hook": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.2.3.tgz", - "integrity": "sha512-NzUnlZexiaH/46WDhANlyR2bXRopNg4F/zuSA3OpZnllCUgRaOF2znDioDWrmbNVsuZk6l9pMquQB38cfBZwkQ==", - "dev": true - }, - "node_modules/bin-links": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/bin-links/-/bin-links-3.0.3.tgz", - "integrity": "sha512-zKdnMPWEdh4F5INR07/eBrodC7QrF5JKvqskjz/ZZRXg5YSAZIbn8zGhbhUrElzHBZ2fvEQdOU59RHcTG3GiwA==", - "dev": true, - "dependencies": { - "cmd-shim": "^5.0.0", - "mkdirp-infer-owner": "^2.0.0", - "npm-normalize-package-bin": "^2.0.0", - "read-cmd-shim": "^3.0.0", - "rimraf": "^3.0.0", - "write-file-atomic": "^4.0.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/bin-links/node_modules/npm-normalize-package-bin": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-2.0.0.tgz", - "integrity": "sha512-awzfKUO7v0FscrSpRoogyNm0sajikhBWpU0QMrW09AMi9n1PoKU6WaIqUzuJSQnpciZZmJ/jMZ2Egfmb/9LiWQ==", - "dev": true, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/bl": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", - "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", - "dev": true, - "dependencies": { - "buffer": "^5.5.0", - "inherits": "^2.0.4", - "readable-stream": "^3.4.0" - } - }, - "node_modules/boolbase": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", - "integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==", - "dev": true - }, - "node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", - "dev": true, - "dependencies": { - "fill-range": "^7.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/buffer": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", - "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", - "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" - } - ], - "dependencies": { - "base64-js": "^1.3.1", - "ieee754": "^1.1.13" - } - }, - "node_modules/buffer-from": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", - "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", - "dev": true - }, - "node_modules/builtins": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/builtins/-/builtins-5.0.1.tgz", - "integrity": "sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==", - "dev": true, - "dependencies": { - "semver": "^7.0.0" - } - }, - "node_modules/byte-size": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/byte-size/-/byte-size-7.0.1.tgz", - "integrity": "sha512-crQdqyCwhokxwV1UyDzLZanhkugAgft7vt0qbbdt60C6Zf3CAiGmtUCylbtYwrU6loOUw3euGrNtW1J651ot1A==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/cacache": { - "version": "16.1.3", - "resolved": "https://registry.npmjs.org/cacache/-/cacache-16.1.3.tgz", - "integrity": "sha512-/+Emcj9DAXxX4cwlLmRI9c166RuL3w30zp4R7Joiv2cQTtTtA+jeuCAjH3ZlGnYS3tKENSrKhAzVVP9GVyzeYQ==", - "dev": true, - "dependencies": { - "@npmcli/fs": "^2.1.0", - "@npmcli/move-file": "^2.0.0", - "chownr": "^2.0.0", - "fs-minipass": "^2.1.0", - "glob": "^8.0.1", - "infer-owner": "^1.0.4", - "lru-cache": "^7.7.1", - "minipass": "^3.1.6", - "minipass-collect": "^1.0.2", - "minipass-flush": "^1.0.5", - "minipass-pipeline": "^1.2.4", - "mkdirp": "^1.0.4", - "p-map": "^4.0.0", - "promise-inflight": "^1.0.1", - "rimraf": "^3.0.2", - "ssri": "^9.0.0", - "tar": "^6.1.11", - "unique-filename": "^2.0.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/cacache/node_modules/lru-cache": { - "version": "7.14.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.14.1.tgz", - "integrity": "sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==", - "dev": true, - "engines": { - "node": ">=12" - } - }, - "node_modules/call-bind": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", - "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", - "dev": true, - "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", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", - "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/camelcase-keys": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-6.2.2.tgz", - "integrity": "sha512-YrwaA0vEKazPBkn0ipTiMpSajYDSe+KjQfrjhcBMxJt/znbvlHd8Pw/Vamaz5EB4Wfhs3SUR3Z9mwRu/P3s3Yg==", - "dev": true, - "dependencies": { - "camelcase": "^5.3.1", - "map-obj": "^4.0.0", - "quick-lru": "^4.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "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/chardet": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", - "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==", - "dev": true - }, - "node_modules/chownr": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz", - "integrity": "sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/ci-info": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-2.0.0.tgz", - "integrity": "sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ==", - "dev": true - }, - "node_modules/clean-stack": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz", - "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/cli-cursor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", - "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", - "dev": true, - "dependencies": { - "restore-cursor": "^3.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/cli-spinners": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.6.1.tgz", - "integrity": "sha512-x/5fWmGMnbKQAaNwN+UZlV79qBLM9JFnJuJ03gIi5whrob0xV0ofNVHy9DhwGdsMJQc2OKv0oGmLzvaqvAVv+g==", - "dev": true, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/cli-width": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz", - "integrity": "sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==", - "dev": true, - "engines": { - "node": ">= 10" - } - }, - "node_modules/cliui": { - "version": "7.0.4", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", - "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", - "dev": true, - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.0", - "wrap-ansi": "^7.0.0" - } - }, - "node_modules/clone": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", - "integrity": "sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==", - "dev": true, - "engines": { - "node": ">=0.8" - } - }, - "node_modules/clone-deep": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-4.0.1.tgz", - "integrity": "sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ==", - "dev": true, - "dependencies": { - "is-plain-object": "^2.0.4", - "kind-of": "^6.0.2", - "shallow-clone": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/clone-deep/node_modules/is-plain-object": { - "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==", - "dev": true, - "dependencies": { - "isobject": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/cmd-shim": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/cmd-shim/-/cmd-shim-5.0.0.tgz", - "integrity": "sha512-qkCtZ59BidfEwHltnJwkyVZn+XQojdAySM1D1gSeh11Z4pW1Kpolkyo53L5noc0nrxmIvyFwTmJRo4xs7FFLPw==", - "dev": true, - "dependencies": { - "mkdirp-infer-owner": "^2.0.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "node_modules/color-support": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-support/-/color-support-1.1.3.tgz", - "integrity": "sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg==", - "dev": true, - "bin": { - "color-support": "bin.js" - } - }, - "node_modules/columnify": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/columnify/-/columnify-1.6.0.tgz", - "integrity": "sha512-lomjuFZKfM6MSAnV9aCZC9sc0qGbmZdfygNv+nCpqVkSKdCxCklLtd16O0EILGkImHw9ZpHkAnHaB+8Zxq5W6Q==", - "dev": true, - "dependencies": { - "strip-ansi": "^6.0.1", - "wcwidth": "^1.0.0" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/combined-stream": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", - "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", - "dev": true, - "dependencies": { - "delayed-stream": "~1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/common-ancestor-path": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/common-ancestor-path/-/common-ancestor-path-1.0.1.tgz", - "integrity": "sha512-L3sHRo1pXXEqX8VU28kfgUY+YGsk09hPqZiZmLacNib6XNTCM8ubYeT7ryXQw8asB1sKgcU5lkB7ONug08aB8w==", - "dev": true - }, - "node_modules/compare-func": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/compare-func/-/compare-func-2.0.0.tgz", - "integrity": "sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==", - "dev": true, - "dependencies": { - "array-ify": "^1.0.0", - "dot-prop": "^5.1.0" - } - }, - "node_modules/compare-func/node_modules/dot-prop": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz", - "integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==", - "dev": true, - "dependencies": { - "is-obj": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", - "dev": true - }, - "node_modules/concat-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-2.0.0.tgz", - "integrity": "sha512-MWufYdFw53ccGjCA+Ol7XJYpAlW6/prSMzuPOTRnJGcGzuhLn4Scrz7qf6o8bROZ514ltazcIFJZevcfbo0x7A==", - "dev": true, - "engines": [ - "node >= 6.0" - ], - "dependencies": { - "buffer-from": "^1.0.0", - "inherits": "^2.0.3", - "readable-stream": "^3.0.2", - "typedarray": "^0.0.6" - } - }, - "node_modules/config-chain": { - "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==", - "dev": true, - "dependencies": { - "ini": "^1.3.4", - "proto-list": "~1.2.1" - } - }, - "node_modules/console-control-strings": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", - "integrity": "sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ==", - "dev": true - }, - "node_modules/conventional-changelog-angular": { - "version": "5.0.13", - "resolved": "https://registry.npmjs.org/conventional-changelog-angular/-/conventional-changelog-angular-5.0.13.tgz", - "integrity": "sha512-i/gipMxs7s8L/QeuavPF2hLnJgH6pEZAttySB6aiQLWcX3puWDL3ACVmvBhJGxnAy52Qc15ua26BufY6KpmrVA==", - "dev": true, - "dependencies": { - "compare-func": "^2.0.0", - "q": "^1.5.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/conventional-changelog-core": { - "version": "4.2.4", - "resolved": "https://registry.npmjs.org/conventional-changelog-core/-/conventional-changelog-core-4.2.4.tgz", - "integrity": "sha512-gDVS+zVJHE2v4SLc6B0sLsPiloR0ygU7HaDW14aNJE1v4SlqJPILPl/aJC7YdtRE4CybBf8gDwObBvKha8Xlyg==", - "dev": true, - "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" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/conventional-changelog-preset-loader": { - "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==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/conventional-changelog-writer": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/conventional-changelog-writer/-/conventional-changelog-writer-5.0.1.tgz", - "integrity": "sha512-5WsuKUfxW7suLblAbFnxAcrvf6r+0b7GvNaWUwUIk0bXMnENP/PEieGKVUQrjPqwPT4o3EPAASBXiY6iHooLOQ==", - "dev": true, - "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" - }, - "bin": { - "conventional-changelog-writer": "cli.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/conventional-changelog-writer/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true, - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/conventional-commits-filter": { - "version": "2.0.7", - "resolved": "https://registry.npmjs.org/conventional-commits-filter/-/conventional-commits-filter-2.0.7.tgz", - "integrity": "sha512-ASS9SamOP4TbCClsRHxIHXRfcGCnIoQqkvAzCSbZzTFLfcTqJVugB0agRgsEELsqaeWgsXv513eS116wnlSSPA==", - "dev": true, - "dependencies": { - "lodash.ismatch": "^4.4.0", - "modify-values": "^1.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/conventional-commits-parser": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/conventional-commits-parser/-/conventional-commits-parser-3.2.4.tgz", - "integrity": "sha512-nK7sAtfi+QXbxHCYfhpZsfRtaitZLIA6889kFIouLvz6repszQDgxBu7wf2WbU+Dco7sAnNCJYERCwt54WPC2Q==", - "dev": true, - "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" - }, - "bin": { - "conventional-commits-parser": "cli.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/conventional-recommended-bump": { - "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==", - "dev": true, - "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" - }, - "bin": { - "conventional-recommended-bump": "cli.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/core-util-is": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", - "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==", - "dev": true - }, - "node_modules/cosmiconfig": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-7.1.0.tgz", - "integrity": "sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA==", - "dev": true, - "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/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", - "dev": true, - "dependencies": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/cssesc": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz", - "integrity": "sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==", - "dev": true, - "bin": { - "cssesc": "bin/cssesc" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/csstype": { - "version": "2.6.21", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-2.6.21.tgz", - "integrity": "sha512-Z1PhmomIfypOpoMjRQB70jfvy/wxT50qW08YXO5lMIJkrdq4yOTR+AW7FqutScmB9NkLwxo+jU+kZLbofZZq/w==" - }, - "node_modules/dargs": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/dargs/-/dargs-7.0.0.tgz", - "integrity": "sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/dateformat": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-3.0.3.tgz", - "integrity": "sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q==", - "dev": true, - "engines": { - "node": "*" - } - }, - "node_modules/de-indent": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/de-indent/-/de-indent-1.0.2.tgz", - "integrity": "sha512-e/1zu3xH5MQryN2zdVaF0OrdNLUbvWxzMbi+iNA6Bky7l1RoP8a2fIbRocyHclXt/arDrrR6lL3TqFD9pMQTsg==", - "dev": true - }, - "node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "dev": true, - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/debuglog": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/debuglog/-/debuglog-1.0.1.tgz", - "integrity": "sha512-syBZ+rnAK3EgMsH2aYEOLUW7mZSY9Gb+0wUMCFsZvcmiz+HigA0LOcq/HoQqVuGG+EKykunc7QG2bzrponfaSw==", - "dev": true, - "engines": { - "node": "*" - } - }, - "node_modules/decamelize": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", - "integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/decamelize-keys": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/decamelize-keys/-/decamelize-keys-1.1.1.tgz", - "integrity": "sha512-WiPxgEirIV0/eIOMcnFBA3/IJZAZqKnwAwWyvvdi4lsr1WCN22nhdf/3db3DoZcUjTV2SqfzIwNyp6y2xs3nmg==", - "dev": true, - "dependencies": { - "decamelize": "^1.1.0", - "map-obj": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/decamelize-keys/node_modules/map-obj": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz", - "integrity": "sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/dedent": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/dedent/-/dedent-0.7.0.tgz", - "integrity": "sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA==", - "dev": true - }, - "node_modules/deep-is": { - "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==", - "dev": true - }, - "node_modules/defaults": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.4.tgz", - "integrity": "sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==", - "dev": true, - "dependencies": { - "clone": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/define-lazy-prop": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz", - "integrity": "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/define-properties": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.4.tgz", - "integrity": "sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA==", - "dev": true, - "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/delayed-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", - "dev": true, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/delegates": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", - "integrity": "sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ==", - "dev": true - }, - "node_modules/depd": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", - "integrity": "sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ==", - "dev": true, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/deprecation": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz", - "integrity": "sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==", - "dev": true - }, - "node_modules/detect-indent": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-6.1.0.tgz", - "integrity": "sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/dezalgo": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/dezalgo/-/dezalgo-1.0.4.tgz", - "integrity": "sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig==", - "dev": true, - "dependencies": { - "asap": "^2.0.0", - "wrappy": "1" - } - }, - "node_modules/dir-glob": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz", - "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", - "dev": true, - "dependencies": { - "path-type": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/doctrine": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", - "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", - "dev": true, - "dependencies": { - "esutils": "^2.0.2" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/dot-prop": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-6.0.1.tgz", - "integrity": "sha512-tE7ztYzXHIeyvc7N+hR3oi7FIbf/NIjVP9hmAt3yMXzrQ072/fpjGLx2GxNxGxUl5V73MEqYzioOMoVhGMJ5cA==", - "dev": true, - "dependencies": { - "is-obj": "^2.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/dotenv": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-10.0.0.tgz", - "integrity": "sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/duplexer": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.2.tgz", - "integrity": "sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==", - "dev": true - }, - "node_modules/ejs": { - "version": "3.1.8", - "resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.8.tgz", - "integrity": "sha512-/sXZeMlhS0ArkfX2Aw780gJzXSMPnKjtspYZv+f3NiKLlubezAHDU5+9xz6gd3/NhG3txQCo6xlglmTS+oTGEQ==", - "dev": true, - "dependencies": { - "jake": "^10.8.5" - }, - "bin": { - "ejs": "bin/cli.js" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true - }, - "node_modules/encoding": { - "version": "0.1.13", - "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", - "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", - "dev": true, - "optional": true, - "dependencies": { - "iconv-lite": "^0.6.2" - } - }, - "node_modules/encoding/node_modules/iconv-lite": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", - "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", - "dev": true, - "optional": true, - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/end-of-stream": { - "version": "1.4.4", - "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", - "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", - "dev": true, - "dependencies": { - "once": "^1.4.0" - } - }, - "node_modules/enquirer": { - "version": "2.3.6", - "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz", - "integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==", - "dev": true, - "dependencies": { - "ansi-colors": "^4.1.1" - }, - "engines": { - "node": ">=8.6" - } - }, - "node_modules/env-paths": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz", - "integrity": "sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/envinfo": { - "version": "7.8.1", - "resolved": "https://registry.npmjs.org/envinfo/-/envinfo-7.8.1.tgz", - "integrity": "sha512-/o+BXHmB7ocbHEAs6F2EnG0ogybVVUdkRunTT2glZU9XAaGmhqskrvKwqXuDfNjEO0LZKWdejEEpnq8aM0tOaw==", - "dev": true, - "bin": { - "envinfo": "dist/cli.js" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/err-code": { - "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==", - "dev": true - }, - "node_modules/error-ex": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", - "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", - "dev": true, - "dependencies": { - "is-arrayish": "^0.2.1" - } - }, - "node_modules/es-abstract": { - "version": "1.21.1", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.21.1.tgz", - "integrity": "sha512-QudMsPOz86xYz/1dG1OuGBKOELjCh99IIWHLzy5znUB6j8xG2yMA7bfTV86VSqKF+Y/H08vQPR+9jyXpuC6hfg==", - "dev": true, - "dependencies": { - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.2", - "es-set-tostringtag": "^2.0.1", - "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", - "globalthis": "^1.0.3", - "gopd": "^1.0.1", - "has": "^1.0.3", - "has-property-descriptors": "^1.0.0", - "has-proto": "^1.0.1", - "has-symbols": "^1.0.3", - "internal-slot": "^1.0.4", - "is-array-buffer": "^3.0.1", - "is-callable": "^1.2.7", - "is-negative-zero": "^2.0.2", - "is-regex": "^1.1.4", - "is-shared-array-buffer": "^1.0.2", - "is-string": "^1.0.7", - "is-typed-array": "^1.1.10", - "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.6", - "string.prototype.trimstart": "^1.0.6", - "typed-array-length": "^1.0.4", - "unbox-primitive": "^1.0.2", - "which-typed-array": "^1.1.9" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/es-set-tostringtag": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.1.tgz", - "integrity": "sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg==", - "dev": true, - "dependencies": { - "get-intrinsic": "^1.1.3", - "has": "^1.0.3", - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/es-to-primitive": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", - "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", - "dev": true, - "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/esbuild": { - "version": "0.16.17", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.16.17.tgz", - "integrity": "sha512-G8LEkV0XzDMNwXKgM0Jwu3nY3lSTwSGY6XbxM9cr9+s0T/qSV1q1JVPBGzm3dcjhCic9+emZDmMffkwgPeOeLg==", - "dev": true, - "hasInstallScript": true, - "bin": { - "esbuild": "bin/esbuild" - }, - "engines": { - "node": ">=12" - }, - "optionalDependencies": { - "@esbuild/android-arm": "0.16.17", - "@esbuild/android-arm64": "0.16.17", - "@esbuild/android-x64": "0.16.17", - "@esbuild/darwin-arm64": "0.16.17", - "@esbuild/darwin-x64": "0.16.17", - "@esbuild/freebsd-arm64": "0.16.17", - "@esbuild/freebsd-x64": "0.16.17", - "@esbuild/linux-arm": "0.16.17", - "@esbuild/linux-arm64": "0.16.17", - "@esbuild/linux-ia32": "0.16.17", - "@esbuild/linux-loong64": "0.16.17", - "@esbuild/linux-mips64el": "0.16.17", - "@esbuild/linux-ppc64": "0.16.17", - "@esbuild/linux-riscv64": "0.16.17", - "@esbuild/linux-s390x": "0.16.17", - "@esbuild/linux-x64": "0.16.17", - "@esbuild/netbsd-x64": "0.16.17", - "@esbuild/openbsd-x64": "0.16.17", - "@esbuild/sunos-x64": "0.16.17", - "@esbuild/win32-arm64": "0.16.17", - "@esbuild/win32-ia32": "0.16.17", - "@esbuild/win32-x64": "0.16.17" - } - }, - "node_modules/escalade": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", - "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/escape-string-regexp": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", - "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/eslint": { - "version": "8.33.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.33.0.tgz", - "integrity": "sha512-WjOpFQgKK8VrCnAtl8We0SUOy/oVZ5NHykyMiagV1M9r8IFpIJX7DduK6n1mpfhlG7T1NLWm2SuD8QB7KFySaA==", - "dev": true, - "dependencies": { - "@eslint/eslintrc": "^1.4.1", - "@humanwhocodes/config-array": "^0.11.8", - "@humanwhocodes/module-importer": "^1.0.1", - "@nodelib/fs.walk": "^1.2.8", - "ajv": "^6.10.0", - "chalk": "^4.0.0", - "cross-spawn": "^7.0.2", - "debug": "^4.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.4.0", - "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", - "glob-parent": "^6.0.2", - "globals": "^13.19.0", - "grapheme-splitter": "^1.0.4", - "ignore": "^5.2.0", - "import-fresh": "^3.0.0", - "imurmurhash": "^0.1.4", - "is-glob": "^4.0.0", - "is-path-inside": "^3.0.3", - "js-sdsl": "^4.1.4", - "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" - }, - "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-prettier": { - "version": "8.6.0", - "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-8.6.0.tgz", - "integrity": "sha512-bAF0eLpLVqP5oEVUFKpMA+NnRFICwn9X8B5jrR9FcqnYBuPbqWEjTEspPWMj5ye6czoSLDweCzSo3Ko7gGrZaA==", - "dev": true, - "bin": { - "eslint-config-prettier": "bin/cli.js" - }, - "peerDependencies": { - "eslint": ">=7.0.0" - } - }, - "node_modules/eslint-plugin-prettier": { - "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==", - "dev": true, - "dependencies": { - "prettier-linter-helpers": "^1.0.0" - }, - "engines": { - "node": ">=12.0.0" - }, - "peerDependencies": { - "eslint": ">=7.28.0", - "prettier": ">=2.0.0" - }, - "peerDependenciesMeta": { - "eslint-config-prettier": { - "optional": true - } - } - }, - "node_modules/eslint-plugin-vue": { - "version": "9.9.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-vue/-/eslint-plugin-vue-9.9.0.tgz", - "integrity": "sha512-YbubS7eK0J7DCf0U2LxvVP7LMfs6rC6UltihIgval3azO3gyDwEGVgsCMe1TmDiEkl6GdMKfRpaME6QxIYtzDQ==", - "dev": true, - "dependencies": { - "eslint-utils": "^3.0.0", - "natural-compare": "^1.4.0", - "nth-check": "^2.0.1", - "postcss-selector-parser": "^6.0.9", - "semver": "^7.3.5", - "vue-eslint-parser": "^9.0.1", - "xml-name-validator": "^4.0.0" - }, - "engines": { - "node": "^14.17.0 || >=16.0.0" - }, - "peerDependencies": { - "eslint": "^6.2.0 || ^7.0.0 || ^8.0.0" - } - }, - "node_modules/eslint-scope": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", - "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", - "dev": true, - "dependencies": { - "esrecurse": "^4.3.0", - "estraverse": "^4.1.1" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/eslint-utils": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-3.0.0.tgz", - "integrity": "sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==", - "dev": true, - "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", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", - "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/eslint-visitor-keys": { - "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==", - "dev": true, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "node_modules/eslint/node_modules/eslint-scope": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.1.1.tgz", - "integrity": "sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw==", - "dev": true, - "dependencies": { - "esrecurse": "^4.3.0", - "estraverse": "^5.2.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "node_modules/eslint/node_modules/estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "dev": true, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/espree": { - "version": "9.4.1", - "resolved": "https://registry.npmjs.org/espree/-/espree-9.4.1.tgz", - "integrity": "sha512-XwctdmTO6SIvCzd9810yyNzIrOrqNYV9Koizx4C/mRhf9uq0o4yHoCEU/670pOxOL/MSraektvSAji79kX90Vg==", - "dev": true, - "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/esprima": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", - "dev": true, - "bin": { - "esparse": "bin/esparse.js", - "esvalidate": "bin/esvalidate.js" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/esquery": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz", - "integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==", - "dev": true, - "dependencies": { - "estraverse": "^5.1.0" - }, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/esquery/node_modules/estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "dev": true, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/esrecurse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", - "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", - "dev": true, - "dependencies": { - "estraverse": "^5.2.0" - }, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/esrecurse/node_modules/estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "dev": true, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/estraverse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", - "dev": true, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/estree-walker": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz", - "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==" - }, - "node_modules/esutils": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", - "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/eventemitter3": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", - "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", - "dev": true - }, - "node_modules/execa": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", - "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", - "dev": true, - "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" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sindresorhus/execa?sponsor=1" - } - }, - "node_modules/external-editor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", - "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", - "dev": true, - "dependencies": { - "chardet": "^0.7.0", - "iconv-lite": "^0.4.24", - "tmp": "^0.0.33" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/fast-deep-equal": { - "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==", - "dev": true - }, - "node_modules/fast-diff": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.2.0.tgz", - "integrity": "sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==", - "dev": true - }, - "node_modules/fast-glob": { - "version": "3.2.12", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.12.tgz", - "integrity": "sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==", - "dev": true, - "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", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, - "dependencies": { - "is-glob": "^4.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/fast-json-stable-stringify": { - "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==", - "dev": true - }, - "node_modules/fast-levenshtein": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", - "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", - "dev": true - }, - "node_modules/fastq": { - "version": "1.15.0", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz", - "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==", - "dev": true, - "dependencies": { - "reusify": "^1.0.4" - } - }, - "node_modules/figures": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz", - "integrity": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==", - "dev": true, - "dependencies": { - "escape-string-regexp": "^1.0.5" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/figures/node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", - "dev": true, - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/file-entry-cache": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", - "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", - "dev": true, - "dependencies": { - "flat-cache": "^3.0.4" - }, - "engines": { - "node": "^10.12.0 || >=12.0.0" - } - }, - "node_modules/filelist": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/filelist/-/filelist-1.0.4.tgz", - "integrity": "sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==", - "dev": true, - "dependencies": { - "minimatch": "^5.0.1" - } - }, - "node_modules/filelist/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0" - } - }, - "node_modules/filelist/node_modules/minimatch": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", - "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", - "dev": true, - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", - "dev": true, - "dependencies": { - "to-regex-range": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/find-up": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", - "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", - "dev": true, - "dependencies": { - "locate-path": "^6.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/flat": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", - "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", - "dev": true, - "bin": { - "flat": "cli.js" - } - }, - "node_modules/flat-cache": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", - "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", - "dev": true, - "dependencies": { - "flatted": "^3.1.0", - "rimraf": "^3.0.2" - }, - "engines": { - "node": "^10.12.0 || >=12.0.0" - } - }, - "node_modules/flatted": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.7.tgz", - "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==", - "dev": true - }, - "node_modules/follow-redirects": { - "version": "1.15.2", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz", - "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==", - "dev": true, - "funding": [ - { - "type": "individual", - "url": "https://github.com/sponsors/RubenVerborgh" - } - ], - "engines": { - "node": ">=4.0" - }, - "peerDependenciesMeta": { - "debug": { - "optional": true - } - } - }, - "node_modules/for-each": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", - "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", - "dev": true, - "dependencies": { - "is-callable": "^1.1.3" - } - }, - "node_modules/form-data": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", - "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", - "dev": true, - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", - "mime-types": "^2.1.12" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/framework": { - "resolved": "packages/framework", - "link": true - }, - "node_modules/fs-constants": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs-constants/-/fs-constants-1.0.0.tgz", - "integrity": "sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow==", - "dev": true - }, - "node_modules/fs-extra": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", - "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", - "dev": true, - "dependencies": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/fs-minipass": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz", - "integrity": "sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==", - "dev": true, - "dependencies": { - "minipass": "^3.0.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", - "dev": true - }, - "node_modules/fsevents": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", - "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", - "dev": true, - "hasInstallScript": true, - "optional": true, - "os": [ - "darwin" - ], - "peer": true, - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, - "node_modules/function-bind": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", - "dev": true - }, - "node_modules/function.prototype.name": { - "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==", - "dev": true, - "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/functions-have-names": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", - "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", - "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/gauge": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/gauge/-/gauge-4.0.4.tgz", - "integrity": "sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg==", - "dev": true, - "dependencies": { - "aproba": "^1.0.3 || ^2.0.0", - "color-support": "^1.1.3", - "console-control-strings": "^1.1.0", - "has-unicode": "^2.0.1", - "signal-exit": "^3.0.7", - "string-width": "^4.2.3", - "strip-ansi": "^6.0.1", - "wide-align": "^1.1.5" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/get-caller-file": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", - "dev": true, - "engines": { - "node": "6.* || 8.* || >= 10.*" - } - }, - "node_modules/get-intrinsic": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.0.tgz", - "integrity": "sha512-L049y6nFOuom5wGyRc3/gdTLO94dySVKRACj1RmJZBQXlbTMhtNIgkWkUHq+jYmZvKf14EW1EoJnnjbmoHij0Q==", - "dev": true, - "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-pkg-repo": { - "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==", - "dev": true, - "dependencies": { - "@hutson/parse-repository-url": "^3.0.0", - "hosted-git-info": "^4.0.0", - "through2": "^2.0.0", - "yargs": "^16.2.0" - }, - "bin": { - "get-pkg-repo": "src/cli.js" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/get-pkg-repo/node_modules/readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "dev": true, - "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" - } - }, - "node_modules/get-pkg-repo/node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", - "dev": true - }, - "node_modules/get-pkg-repo/node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dev": true, - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, - "node_modules/get-pkg-repo/node_modules/through2": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", - "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", - "dev": true, - "dependencies": { - "readable-stream": "~2.3.6", - "xtend": "~4.0.1" - } - }, - "node_modules/get-port": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/get-port/-/get-port-5.1.1.tgz", - "integrity": "sha512-g/Q1aTSDOxFpchXC4i8ZWvxA1lnPqx/JHqcpIw0/LX9T8x/GBbi6YnlN5nhaKIFkT8oFsscUKgDJYxfwfS6QsQ==", - "dev": true, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/get-stream": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", - "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/get-symbol-description": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", - "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/git-raw-commits": { - "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==", - "dev": true, - "dependencies": { - "dargs": "^7.0.0", - "lodash": "^4.17.15", - "meow": "^8.0.0", - "split2": "^3.0.0", - "through2": "^4.0.0" - }, - "bin": { - "git-raw-commits": "cli.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/git-remote-origin-url": { - "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==", - "dev": true, - "dependencies": { - "gitconfiglocal": "^1.0.0", - "pify": "^2.3.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/git-remote-origin-url/node_modules/pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/git-semver-tags": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/git-semver-tags/-/git-semver-tags-4.1.1.tgz", - "integrity": "sha512-OWyMt5zBe7xFs8vglMmhM9lRQzCWL3WjHtxNNfJTMngGym7pC1kh8sP6jevfydJ6LP3ZvGxfb6ABYgPUM0mtsA==", - "dev": true, - "dependencies": { - "meow": "^8.0.0", - "semver": "^6.0.0" - }, - "bin": { - "git-semver-tags": "cli.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/git-semver-tags/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true, - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/git-up": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/git-up/-/git-up-7.0.0.tgz", - "integrity": "sha512-ONdIrbBCFusq1Oy0sC71F5azx8bVkvtZtMJAsv+a6lz5YAmbNnLD6HAB4gptHZVLPR8S2/kVN6Gab7lryq5+lQ==", - "dev": true, - "dependencies": { - "is-ssh": "^1.4.0", - "parse-url": "^8.1.0" - } - }, - "node_modules/git-url-parse": { - "version": "13.1.0", - "resolved": "https://registry.npmjs.org/git-url-parse/-/git-url-parse-13.1.0.tgz", - "integrity": "sha512-5FvPJP/70WkIprlUZ33bm4UAaFdjcLkJLpWft1BeZKqwR0uhhNGoKwlUaPtVb4LxCSQ++erHapRak9kWGj+FCA==", - "dev": true, - "dependencies": { - "git-up": "^7.0.0" - } - }, - "node_modules/gitconfiglocal": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/gitconfiglocal/-/gitconfiglocal-1.0.0.tgz", - "integrity": "sha512-spLUXeTAVHxDtKsJc8FkFVgFtMdEN9qPGpL23VfSHx4fP4+Ds097IXLvymbnDH8FnmxX5Nr9bPw3A+AQ6mWEaQ==", - "dev": true, - "dependencies": { - "ini": "^1.3.2" - } - }, - "node_modules/glob": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", - "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", - "dev": true, - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^5.0.1", - "once": "^1.3.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/glob-parent": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", - "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", - "dev": true, - "dependencies": { - "is-glob": "^4.0.3" - }, - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/glob/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0" - } - }, - "node_modules/glob/node_modules/minimatch": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", - "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", - "dev": true, - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/globals": { - "version": "13.20.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-13.20.0.tgz", - "integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==", - "dev": true, - "dependencies": { - "type-fest": "^0.20.2" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/globalthis": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz", - "integrity": "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==", - "dev": true, - "dependencies": { - "define-properties": "^1.1.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/globby": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz", - "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", - "dev": true, - "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/gopd": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", - "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", - "dev": true, - "dependencies": { - "get-intrinsic": "^1.1.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/graceful-fs": { - "version": "4.2.10", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.10.tgz", - "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==", - "dev": true - }, - "node_modules/grapheme-splitter": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz", - "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==", - "dev": true - }, - "node_modules/handlebars": { - "version": "4.7.7", - "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz", - "integrity": "sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==", - "dev": true, - "dependencies": { - "minimist": "^1.2.5", - "neo-async": "^2.6.0", - "source-map": "^0.6.1", - "wordwrap": "^1.0.0" - }, - "bin": { - "handlebars": "bin/handlebars" - }, - "engines": { - "node": ">=0.4.7" - }, - "optionalDependencies": { - "uglify-js": "^3.1.4" - } - }, - "node_modules/hard-rejection": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/hard-rejection/-/hard-rejection-2.1.0.tgz", - "integrity": "sha512-VIZB+ibDhx7ObhAe7OVtoEbuP4h/MuOTHJ+J8h/eBXotJYl0fBgR72xDFCKgIh22OJZIOVNxBMWuhAr10r8HdA==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/has": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "dev": true, - "dependencies": { - "function-bind": "^1.1.1" - }, - "engines": { - "node": ">= 0.4.0" - } - }, - "node_modules/has-bigints": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", - "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==", - "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/has-property-descriptors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz", - "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==", - "dev": true, - "dependencies": { - "get-intrinsic": "^1.1.1" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-proto": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", - "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==", - "dev": true, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-symbols": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", - "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", - "dev": true, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-tostringtag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", - "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", - "dev": true, - "dependencies": { - "has-symbols": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-unicode": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", - "integrity": "sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ==", - "dev": true - }, - "node_modules/he": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", - "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", - "dev": true, - "bin": { - "he": "bin/he" - } - }, - "node_modules/hosted-git-info": { - "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==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/hosted-git-info/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/hosted-git-info/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, - "node_modules/http-cache-semantics": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz", - "integrity": "sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==", - "dev": true - }, - "node_modules/http-proxy-agent": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz", - "integrity": "sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==", - "dev": true, - "dependencies": { - "@tootallnate/once": "2", - "agent-base": "6", - "debug": "4" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/https-proxy-agent": { - "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==", - "dev": true, - "dependencies": { - "agent-base": "6", - "debug": "4" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/human-signals": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", - "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", - "dev": true, - "engines": { - "node": ">=10.17.0" - } - }, - "node_modules/humanize-ms": { - "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==", - "dev": true, - "dependencies": { - "ms": "^2.0.0" - } - }, - "node_modules/iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", - "dev": true, - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/ieee754": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", - "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" - } - ] - }, - "node_modules/ignore": { - "version": "5.2.4", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", - "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", - "dev": true, - "engines": { - "node": ">= 4" - } - }, - "node_modules/ignore-walk": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-5.0.1.tgz", - "integrity": "sha512-yemi4pMf51WKT7khInJqAvsIGzoqYXblnsz0ql8tM+yi1EKYTY1evX4NAbJrLL/Aanr2HyZeluqU+Oi7MGHokw==", - "dev": true, - "dependencies": { - "minimatch": "^5.0.1" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/ignore-walk/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0" - } - }, - "node_modules/ignore-walk/node_modules/minimatch": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", - "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", - "dev": true, - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/import-fresh": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", - "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", - "dev": true, - "dependencies": { - "parent-module": "^1.0.0", - "resolve-from": "^4.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/import-local": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.1.0.tgz", - "integrity": "sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==", - "dev": true, - "dependencies": { - "pkg-dir": "^4.2.0", - "resolve-cwd": "^3.0.0" - }, - "bin": { - "import-local-fixture": "fixtures/cli.js" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/imurmurhash": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", - "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", - "dev": true, - "engines": { - "node": ">=0.8.19" - } - }, - "node_modules/indent-string": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", - "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/infer-owner": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/infer-owner/-/infer-owner-1.0.4.tgz", - "integrity": "sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A==", - "dev": true - }, - "node_modules/inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", - "dev": true, - "dependencies": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true - }, - "node_modules/ini": { - "version": "1.3.8", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", - "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", - "dev": true - }, - "node_modules/init-package-json": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/init-package-json/-/init-package-json-3.0.2.tgz", - "integrity": "sha512-YhlQPEjNFqlGdzrBfDNRLhvoSgX7iQRgSxgsNknRQ9ITXFT7UMfVMWhBTOh2Y+25lRnGrv5Xz8yZwQ3ACR6T3A==", - "dev": true, - "dependencies": { - "npm-package-arg": "^9.0.1", - "promzard": "^0.3.0", - "read": "^1.0.7", - "read-package-json": "^5.0.0", - "semver": "^7.3.5", - "validate-npm-package-license": "^3.0.4", - "validate-npm-package-name": "^4.0.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/init-package-json/node_modules/hosted-git-info": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-5.2.1.tgz", - "integrity": "sha512-xIcQYMnhcx2Nr4JTjsFmwwnr9vldugPy9uVm0o87bjqqWMv9GaqsTeT+i99wTl0mk1uLxJtHxLb8kymqTENQsw==", - "dev": true, - "dependencies": { - "lru-cache": "^7.5.1" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/init-package-json/node_modules/lru-cache": { - "version": "7.14.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.14.1.tgz", - "integrity": "sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==", - "dev": true, - "engines": { - "node": ">=12" - } - }, - "node_modules/init-package-json/node_modules/npm-package-arg": { - "version": "9.1.2", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-9.1.2.tgz", - "integrity": "sha512-pzd9rLEx4TfNJkovvlBSLGhq31gGu2QDexFPWT19yCDh0JgnRhlBLNo5759N0AJmBk+kQ9Y/hXoLnlgFD+ukmg==", - "dev": true, - "dependencies": { - "hosted-git-info": "^5.0.0", - "proc-log": "^2.0.1", - "semver": "^7.3.5", - "validate-npm-package-name": "^4.0.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/inquirer": { - "version": "8.2.5", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-8.2.5.tgz", - "integrity": "sha512-QAgPDQMEgrDssk1XiwwHoOGYF9BAbUcc1+j+FhEvaOt8/cKRqyLn0U5qA6F74fGhTMGxf92pOvPBeh29jQJDTQ==", - "dev": true, - "dependencies": { - "ansi-escapes": "^4.2.1", - "chalk": "^4.1.1", - "cli-cursor": "^3.1.0", - "cli-width": "^3.0.0", - "external-editor": "^3.0.3", - "figures": "^3.0.0", - "lodash": "^4.17.21", - "mute-stream": "0.0.8", - "ora": "^5.4.1", - "run-async": "^2.4.0", - "rxjs": "^7.5.5", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0", - "through": "^2.3.6", - "wrap-ansi": "^7.0.0" - }, - "engines": { - "node": ">=12.0.0" - } - }, - "node_modules/internal-slot": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.4.tgz", - "integrity": "sha512-tA8URYccNzMo94s5MQZgH8NB/XTa6HsOo0MLfXTKKEnHVVdegzaQoFZ7Jp44bdvLvY2waT5dc+j5ICEswhi7UQ==", - "dev": true, - "dependencies": { - "get-intrinsic": "^1.1.3", - "has": "^1.0.3", - "side-channel": "^1.0.4" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/ip": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ip/-/ip-2.0.0.tgz", - "integrity": "sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==", - "dev": true - }, - "node_modules/is-array-buffer": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.1.tgz", - "integrity": "sha512-ASfLknmY8Xa2XtB4wmbz13Wu202baeA18cJBCeCy0wXUHZF0IPyVEXqKEcd+t2fNSLLL1vC6k7lxZEojNbISXQ==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.3", - "is-typed-array": "^1.1.10" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-arrayish": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", - "dev": true - }, - "node_modules/is-bigint": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", - "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", - "dev": true, - "dependencies": { - "has-bigints": "^1.0.1" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-boolean-object": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", - "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", - "dev": true, - "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-callable": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", - "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", - "dev": true, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-ci": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-2.0.0.tgz", - "integrity": "sha512-YfJT7rkpQB0updsdHLGWrvhBJfcfzNNawYDNIyQXJz0IViGf75O8EBPKSdvw2rF+LGCsX4FZ8tcr3b19LcZq4w==", - "dev": true, - "dependencies": { - "ci-info": "^2.0.0" - }, - "bin": { - "is-ci": "bin.js" - } - }, - "node_modules/is-core-module": { - "version": "2.11.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.11.0.tgz", - "integrity": "sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==", - "dev": true, - "dependencies": { - "has": "^1.0.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-date-object": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", - "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", - "dev": true, - "dependencies": { - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-docker": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", - "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==", - "dev": true, - "bin": { - "is-docker": "cli.js" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-fullwidth-code-point": { - "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==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/is-glob": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "dev": true, - "dependencies": { - "is-extglob": "^2.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-interactive": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz", - "integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/is-lambda": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-lambda/-/is-lambda-1.0.1.tgz", - "integrity": "sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ==", - "dev": true - }, - "node_modules/is-negative-zero": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz", - "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==", - "dev": true, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "dev": true, - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/is-number-object": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz", - "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==", - "dev": true, - "dependencies": { - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-obj": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", - "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/is-path-inside": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", - "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/is-plain-obj": { - "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==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-plain-object": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-5.0.0.tgz", - "integrity": "sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-regex": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", - "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", - "dev": true, - "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", - "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==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-ssh": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/is-ssh/-/is-ssh-1.4.0.tgz", - "integrity": "sha512-x7+VxdxOdlV3CYpjvRLBv5Lo9OJerlYanjwFrPR9fuGPjCiNiCzFgAWpiLAohSbsnH4ZAys3SBh+hq5rJosxUQ==", - "dev": true, - "dependencies": { - "protocols": "^2.0.1" - } - }, - "node_modules/is-stream": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", - "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", - "dev": true, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-string": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", - "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", - "dev": true, - "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", - "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", - "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", - "dev": true, - "dependencies": { - "has-symbols": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-text-path": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-text-path/-/is-text-path-1.0.1.tgz", - "integrity": "sha512-xFuJpne9oFz5qDaodwmmG08e3CawH/2ZV8Qqza1Ko7Sk8POWbkRdwIoAWVhqvq0XeUzANEhKo2n0IXUGBm7A/w==", - "dev": true, - "dependencies": { - "text-extensions": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-typed-array": { - "version": "1.1.10", - "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.10.tgz", - "integrity": "sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A==", - "dev": true, - "dependencies": { - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.2", - "for-each": "^0.3.3", - "gopd": "^1.0.1", - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-typedarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", - "integrity": "sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==", - "dev": true - }, - "node_modules/is-unicode-supported": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", - "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-weakref": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", - "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-wsl": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", - "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", - "dev": true, - "dependencies": { - "is-docker": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", - "dev": true - }, - "node_modules/isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", - "dev": true - }, - "node_modules/isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jake": { - "version": "10.8.5", - "resolved": "https://registry.npmjs.org/jake/-/jake-10.8.5.tgz", - "integrity": "sha512-sVpxYeuAhWt0OTWITwT98oyV0GsXyMlXCF+3L1SuafBVUIr/uILGRB+NqwkzhgXKvoJpDIpQvqkUALgdmQsQxw==", - "dev": true, - "dependencies": { - "async": "^3.2.3", - "chalk": "^4.0.2", - "filelist": "^1.0.1", - "minimatch": "^3.0.4" - }, - "bin": { - "jake": "bin/cli.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/js-sdsl": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/js-sdsl/-/js-sdsl-4.3.0.tgz", - "integrity": "sha512-mifzlm2+5nZ+lEcLJMoBK0/IH/bDg8XnJfd/Wq6IP+xoCjLZsTOnV2QpxlVbX9bMnkl5PdEjNtBJ9Cj1NjifhQ==", - "dev": true, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/js-sdsl" - } - }, - "node_modules/js-tokens": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", - "dev": true - }, - "node_modules/js-yaml": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", - "dev": true, - "dependencies": { - "argparse": "^2.0.1" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" - } - }, - "node_modules/json-parse-better-errors": { - "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==", - "dev": true - }, - "node_modules/json-parse-even-better-errors": { - "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==", - "dev": true - }, - "node_modules/json-schema-traverse": { - "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==", - "dev": true - }, - "node_modules/json-stable-stringify-without-jsonify": { - "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==", - "dev": true - }, - "node_modules/json-stringify-nice": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/json-stringify-nice/-/json-stringify-nice-1.1.4.tgz", - "integrity": "sha512-5Z5RFW63yxReJ7vANgW6eZFGWaQvnPE3WNmZoOJrSkGju2etKA2L5rrOa1sm877TVTFt57A80BH1bArcmlLfPw==", - "dev": true, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/json-stringify-safe": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", - "integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==", - "dev": true - }, - "node_modules/json5": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", - "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", - "dev": true, - "bin": { - "json5": "lib/cli.js" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/jsonc-parser": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz", - "integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==", - "dev": true - }, - "node_modules/jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "dev": true, - "dependencies": { - "universalify": "^2.0.0" - }, - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, - "node_modules/jsonparse": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz", - "integrity": "sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==", - "dev": true, - "engines": [ - "node >= 0.2.0" - ] - }, - "node_modules/JSONStream": { - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/JSONStream/-/JSONStream-1.3.5.tgz", - "integrity": "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==", - "dev": true, - "dependencies": { - "jsonparse": "^1.2.0", - "through": ">=2.2.7 <3" - }, - "bin": { - "JSONStream": "bin.js" - }, - "engines": { - "node": "*" - } - }, - "node_modules/just-diff": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/just-diff/-/just-diff-5.2.0.tgz", - "integrity": "sha512-6ufhP9SHjb7jibNFrNxyFZ6od3g+An6Ai9mhGRvcYe8UJlH0prseN64M+6ZBBUoKYHZsitDP42gAJ8+eVWr3lw==", - "dev": true - }, - "node_modules/just-diff-apply": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/just-diff-apply/-/just-diff-apply-5.5.0.tgz", - "integrity": "sha512-OYTthRfSh55WOItVqwpefPtNt2VdKsq5AnAK6apdtR6yCH8pr0CmSr710J0Mf+WdQy7K/OzMy7K2MgAfdQURDw==", - "dev": true - }, - "node_modules/kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/lerna": { - "version": "6.4.1", - "resolved": "https://registry.npmjs.org/lerna/-/lerna-6.4.1.tgz", - "integrity": "sha512-0t8TSG4CDAn5+vORjvTFn/ZEGyc4LOEsyBUpzcdIxODHPKM4TVOGvbW9dBs1g40PhOrQfwhHS+3fSx/42j42dQ==", - "dev": true, - "dependencies": { - "@lerna/add": "6.4.1", - "@lerna/bootstrap": "6.4.1", - "@lerna/changed": "6.4.1", - "@lerna/clean": "6.4.1", - "@lerna/cli": "6.4.1", - "@lerna/command": "6.4.1", - "@lerna/create": "6.4.1", - "@lerna/diff": "6.4.1", - "@lerna/exec": "6.4.1", - "@lerna/filter-options": "6.4.1", - "@lerna/import": "6.4.1", - "@lerna/info": "6.4.1", - "@lerna/init": "6.4.1", - "@lerna/link": "6.4.1", - "@lerna/list": "6.4.1", - "@lerna/publish": "6.4.1", - "@lerna/run": "6.4.1", - "@lerna/validation-error": "6.4.1", - "@lerna/version": "6.4.1", - "@nrwl/devkit": ">=15.4.2 < 16", - "import-local": "^3.0.2", - "inquirer": "^8.2.4", - "npmlog": "^6.0.2", - "nx": ">=15.4.2 < 16", - "typescript": "^3 || ^4" - }, - "bin": { - "lerna": "cli.js" - }, - "engines": { - "node": "^14.15.0 || >=16.0.0" - } - }, - "node_modules/levn": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", - "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", - "dev": true, - "dependencies": { - "prelude-ls": "^1.2.1", - "type-check": "~0.4.0" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/libnpmaccess": { - "version": "6.0.4", - "resolved": "https://registry.npmjs.org/libnpmaccess/-/libnpmaccess-6.0.4.tgz", - "integrity": "sha512-qZ3wcfIyUoW0+qSFkMBovcTrSGJ3ZeyvpR7d5N9pEYv/kXs8sHP2wiqEIXBKLFrZlmM0kR0RJD7mtfLngtlLag==", - "dev": true, - "dependencies": { - "aproba": "^2.0.0", - "minipass": "^3.1.1", - "npm-package-arg": "^9.0.1", - "npm-registry-fetch": "^13.0.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/libnpmaccess/node_modules/hosted-git-info": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-5.2.1.tgz", - "integrity": "sha512-xIcQYMnhcx2Nr4JTjsFmwwnr9vldugPy9uVm0o87bjqqWMv9GaqsTeT+i99wTl0mk1uLxJtHxLb8kymqTENQsw==", - "dev": true, - "dependencies": { - "lru-cache": "^7.5.1" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/libnpmaccess/node_modules/lru-cache": { - "version": "7.14.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.14.1.tgz", - "integrity": "sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==", - "dev": true, - "engines": { - "node": ">=12" - } - }, - "node_modules/libnpmaccess/node_modules/npm-package-arg": { - "version": "9.1.2", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-9.1.2.tgz", - "integrity": "sha512-pzd9rLEx4TfNJkovvlBSLGhq31gGu2QDexFPWT19yCDh0JgnRhlBLNo5759N0AJmBk+kQ9Y/hXoLnlgFD+ukmg==", - "dev": true, - "dependencies": { - "hosted-git-info": "^5.0.0", - "proc-log": "^2.0.1", - "semver": "^7.3.5", - "validate-npm-package-name": "^4.0.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/libnpmpublish": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/libnpmpublish/-/libnpmpublish-6.0.5.tgz", - "integrity": "sha512-LUR08JKSviZiqrYTDfywvtnsnxr+tOvBU0BF8H+9frt7HMvc6Qn6F8Ubm72g5hDTHbq8qupKfDvDAln2TVPvFg==", - "dev": true, - "dependencies": { - "normalize-package-data": "^4.0.0", - "npm-package-arg": "^9.0.1", - "npm-registry-fetch": "^13.0.0", - "semver": "^7.3.7", - "ssri": "^9.0.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/libnpmpublish/node_modules/hosted-git-info": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-5.2.1.tgz", - "integrity": "sha512-xIcQYMnhcx2Nr4JTjsFmwwnr9vldugPy9uVm0o87bjqqWMv9GaqsTeT+i99wTl0mk1uLxJtHxLb8kymqTENQsw==", - "dev": true, - "dependencies": { - "lru-cache": "^7.5.1" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/libnpmpublish/node_modules/lru-cache": { - "version": "7.14.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.14.1.tgz", - "integrity": "sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==", - "dev": true, - "engines": { - "node": ">=12" - } - }, - "node_modules/libnpmpublish/node_modules/normalize-package-data": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-4.0.1.tgz", - "integrity": "sha512-EBk5QKKuocMJhB3BILuKhmaPjI8vNRSpIfO9woLC6NyHVkKKdVEdAO1mrT0ZfxNR1lKwCcTkuZfmGIFdizZ8Pg==", - "dev": true, - "dependencies": { - "hosted-git-info": "^5.0.0", - "is-core-module": "^2.8.1", - "semver": "^7.3.5", - "validate-npm-package-license": "^3.0.4" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/libnpmpublish/node_modules/npm-package-arg": { - "version": "9.1.2", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-9.1.2.tgz", - "integrity": "sha512-pzd9rLEx4TfNJkovvlBSLGhq31gGu2QDexFPWT19yCDh0JgnRhlBLNo5759N0AJmBk+kQ9Y/hXoLnlgFD+ukmg==", - "dev": true, - "dependencies": { - "hosted-git-info": "^5.0.0", - "proc-log": "^2.0.1", - "semver": "^7.3.5", - "validate-npm-package-name": "^4.0.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/lines-and-columns": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-2.0.3.tgz", - "integrity": "sha512-cNOjgCnLB+FnvWWtyRTzmB3POJ+cXxTA81LoW7u8JdmhfXzriropYwpjShnz1QLLWsQwY7nIxoDmcPTwphDK9w==", - "dev": true, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - } - }, - "node_modules/load-json-file": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-6.2.0.tgz", - "integrity": "sha512-gUD/epcRms75Cw8RT1pUdHugZYM5ce64ucs2GEISABwkRsOQr0q2wm/MV2TKThycIe5e0ytRweW2RZxclogCdQ==", - "dev": true, - "dependencies": { - "graceful-fs": "^4.1.15", - "parse-json": "^5.0.0", - "strip-bom": "^4.0.0", - "type-fest": "^0.6.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/load-json-file/node_modules/type-fest": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", - "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/locate-path": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", - "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", - "dev": true, - "dependencies": { - "p-locate": "^5.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dev": true - }, - "node_modules/lodash.ismatch": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/lodash.ismatch/-/lodash.ismatch-4.4.0.tgz", - "integrity": "sha512-fPMfXjGQEV9Xsq/8MTSgUf255gawYRbjwMyDbcvDhXgV7enSZA0hynz6vMPnpAb5iONEzBHBPsT+0zes5Z301g==", - "dev": true - }, - "node_modules/lodash.merge": { - "version": "4.6.2", - "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", - "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", - "dev": true - }, - "node_modules/log-symbols": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", - "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", - "dev": true, - "dependencies": { - "chalk": "^4.1.0", - "is-unicode-supported": "^0.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/magic-string": { - "version": "0.25.9", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.25.9.tgz", - "integrity": "sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==", - "dependencies": { - "sourcemap-codec": "^1.4.8" - } - }, - "node_modules/make-dir": { - "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==", - "dev": true, - "dependencies": { - "semver": "^6.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/make-dir/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true, - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/make-fetch-happen": { - "version": "10.2.1", - "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-10.2.1.tgz", - "integrity": "sha512-NgOPbRiaQM10DYXvN3/hhGVI2M5MtITFryzBGxHM5p4wnFxsVCbxkrBrDsk+EZ5OB4jEOT7AjDxtdF+KVEFT7w==", - "dev": true, - "dependencies": { - "agentkeepalive": "^4.2.1", - "cacache": "^16.1.0", - "http-cache-semantics": "^4.1.0", - "http-proxy-agent": "^5.0.0", - "https-proxy-agent": "^5.0.0", - "is-lambda": "^1.0.1", - "lru-cache": "^7.7.1", - "minipass": "^3.1.6", - "minipass-collect": "^1.0.2", - "minipass-fetch": "^2.0.3", - "minipass-flush": "^1.0.5", - "minipass-pipeline": "^1.2.4", - "negotiator": "^0.6.3", - "promise-retry": "^2.0.1", - "socks-proxy-agent": "^7.0.0", - "ssri": "^9.0.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/make-fetch-happen/node_modules/lru-cache": { - "version": "7.14.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.14.1.tgz", - "integrity": "sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==", - "dev": true, - "engines": { - "node": ">=12" - } - }, - "node_modules/map-obj": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-4.3.0.tgz", - "integrity": "sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ==", - "dev": true, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/memorystream": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/memorystream/-/memorystream-0.3.1.tgz", - "integrity": "sha512-S3UwM3yj5mtUSEfP41UZmt/0SCoVYUcU1rkXv+BQ5Ig8ndL4sPoJNBUJERafdPb5jjHJGuMgytgKvKIf58XNBw==", - "dev": true, - "engines": { - "node": ">= 0.10.0" - } - }, - "node_modules/meow": { - "version": "8.1.2", - "resolved": "https://registry.npmjs.org/meow/-/meow-8.1.2.tgz", - "integrity": "sha512-r85E3NdZ+mpYk1C6RjPFEMSE+s1iZMuHtsHAqY0DT3jZczl0diWUZ8g6oU7h0M9cD2EL+PzaYghhCLzR0ZNn5Q==", - "dev": true, - "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" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/meow/node_modules/find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/meow/node_modules/hosted-git-info": { - "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==", - "dev": true - }, - "node_modules/meow/node_modules/locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "dependencies": { - "p-locate": "^4.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/meow/node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "dependencies": { - "p-try": "^2.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/meow/node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "dependencies": { - "p-limit": "^2.2.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/meow/node_modules/read-pkg": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-5.2.0.tgz", - "integrity": "sha512-Ug69mNOpfvKDAc2Q8DRpMjjzdtrnv9HcSMX+4VsZxD1aZ6ZzrIE7rlzXBtWTyhULSMKg076AW6WR5iZpD0JiOg==", - "dev": true, - "dependencies": { - "@types/normalize-package-data": "^2.4.0", - "normalize-package-data": "^2.5.0", - "parse-json": "^5.0.0", - "type-fest": "^0.6.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/meow/node_modules/read-pkg-up": { - "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==", - "dev": true, - "dependencies": { - "find-up": "^4.1.0", - "read-pkg": "^5.2.0", - "type-fest": "^0.8.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/meow/node_modules/read-pkg-up/node_modules/type-fest": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", - "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/meow/node_modules/read-pkg/node_modules/normalize-package-data": { - "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==", - "dev": true, - "dependencies": { - "hosted-git-info": "^2.1.4", - "resolve": "^1.10.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" - } - }, - "node_modules/meow/node_modules/read-pkg/node_modules/type-fest": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.6.0.tgz", - "integrity": "sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/meow/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true, - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/meow/node_modules/type-fest": { - "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==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/merge-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", - "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", - "dev": true - }, - "node_modules/merge2": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", - "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", - "dev": true, - "engines": { - "node": ">= 8" - } - }, - "node_modules/micromatch": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz", - "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", - "dev": true, - "dependencies": { - "braces": "^3.0.2", - "picomatch": "^2.3.1" - }, - "engines": { - "node": ">=8.6" - } - }, - "node_modules/mime-db": { - "version": "1.52.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", - "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", - "dev": true, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mime-types": { - "version": "2.1.35", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", - "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", - "dev": true, - "dependencies": { - "mime-db": "1.52.0" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mimic-fn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/min-indent": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/min-indent/-/min-indent-1.0.1.tgz", - "integrity": "sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/minimist": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.7.tgz", - "integrity": "sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g==", - "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/minimist-options": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/minimist-options/-/minimist-options-4.1.0.tgz", - "integrity": "sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==", - "dev": true, - "dependencies": { - "arrify": "^1.0.1", - "is-plain-obj": "^1.1.0", - "kind-of": "^6.0.3" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/minipass": { - "version": "3.3.6", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz", - "integrity": "sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/minipass-collect": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/minipass-collect/-/minipass-collect-1.0.2.tgz", - "integrity": "sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA==", - "dev": true, - "dependencies": { - "minipass": "^3.0.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/minipass-fetch": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/minipass-fetch/-/minipass-fetch-2.1.2.tgz", - "integrity": "sha512-LT49Zi2/WMROHYoqGgdlQIZh8mLPZmOrN2NdJjMXxYe4nkN6FUyuPuOAOedNJDrx0IRGg9+4guZewtp8hE6TxA==", - "dev": true, - "dependencies": { - "minipass": "^3.1.6", - "minipass-sized": "^1.0.3", - "minizlib": "^2.1.2" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - }, - "optionalDependencies": { - "encoding": "^0.1.13" - } - }, - "node_modules/minipass-flush": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/minipass-flush/-/minipass-flush-1.0.5.tgz", - "integrity": "sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw==", - "dev": true, - "dependencies": { - "minipass": "^3.0.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/minipass-json-stream": { - "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==", - "dev": true, - "dependencies": { - "jsonparse": "^1.3.1", - "minipass": "^3.0.0" - } - }, - "node_modules/minipass-pipeline": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz", - "integrity": "sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A==", - "dev": true, - "dependencies": { - "minipass": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/minipass-sized": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/minipass-sized/-/minipass-sized-1.0.3.tgz", - "integrity": "sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g==", - "dev": true, - "dependencies": { - "minipass": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/minipass/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, - "node_modules/minizlib": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz", - "integrity": "sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==", - "dev": true, - "dependencies": { - "minipass": "^3.0.0", - "yallist": "^4.0.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/minizlib/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, - "node_modules/mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", - "dev": true, - "bin": { - "mkdirp": "bin/cmd.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/mkdirp-infer-owner": { - "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==", - "dev": true, - "dependencies": { - "chownr": "^2.0.0", - "infer-owner": "^1.0.4", - "mkdirp": "^1.0.3" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/modify-values": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/modify-values/-/modify-values-1.0.1.tgz", - "integrity": "sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/modules": { - "resolved": "packages/modules", - "link": true - }, - "node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", - "dev": true - }, - "node_modules/muggle-string": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/muggle-string/-/muggle-string-0.1.0.tgz", - "integrity": "sha512-Tr1knR3d2mKvvWthlk7202rywKbiOm4rVFLsfAaSIhJ6dt9o47W4S+JMtWhd/PW9Wrdew2/S2fSvhz3E2gkfEg==", - "dev": true - }, - "node_modules/multimatch": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/multimatch/-/multimatch-5.0.0.tgz", - "integrity": "sha512-ypMKuglUrZUD99Tk2bUQ+xNQj43lPEfAeX2o9cTteAmShXy2VHDJpuwu1o0xqoKCt9jLVAvwyFKdLTPXKAfJyA==", - "dev": true, - "dependencies": { - "@types/minimatch": "^3.0.3", - "array-differ": "^3.0.0", - "array-union": "^2.1.0", - "arrify": "^2.0.1", - "minimatch": "^3.0.4" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/multimatch/node_modules/arrify": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-2.0.1.tgz", - "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/mute-stream": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", - "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==", - "dev": true - }, - "node_modules/nanoid": { - "version": "3.3.4", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz", - "integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==", - "bin": { - "nanoid": "bin/nanoid.cjs" - }, - "engines": { - "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" - } - }, - "node_modules/natural-compare": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", - "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", - "dev": true - }, - "node_modules/natural-compare-lite": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz", - "integrity": "sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==", - "dev": true - }, - "node_modules/negotiator": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", - "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==", - "dev": true, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/neo-async": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", - "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", - "dev": true - }, - "node_modules/nice-try": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", - "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==", - "dev": true - }, - "node_modules/node-addon-api": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-3.2.1.tgz", - "integrity": "sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A==", - "dev": true - }, - "node_modules/node-fetch": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.9.tgz", - "integrity": "sha512-DJm/CJkZkRjKKj4Zi4BsKVZh3ValV5IR5s7LVZnW+6YMh0W1BfNA8XSs6DLMGYlId5F3KnA70uu2qepcR08Qqg==", - "dev": true, - "dependencies": { - "whatwg-url": "^5.0.0" - }, - "engines": { - "node": "4.x || >=6.0.0" - }, - "peerDependencies": { - "encoding": "^0.1.0" - }, - "peerDependenciesMeta": { - "encoding": { - "optional": true - } - } - }, - "node_modules/node-fetch/node_modules/tr46": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz", - "integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==", - "dev": true - }, - "node_modules/node-fetch/node_modules/webidl-conversions": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", - "integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==", - "dev": true - }, - "node_modules/node-fetch/node_modules/whatwg-url": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz", - "integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==", - "dev": true, - "dependencies": { - "tr46": "~0.0.3", - "webidl-conversions": "^3.0.0" - } - }, - "node_modules/node-gyp": { - "version": "9.3.1", - "resolved": "https://registry.npmjs.org/node-gyp/-/node-gyp-9.3.1.tgz", - "integrity": "sha512-4Q16ZCqq3g8awk6UplT7AuxQ35XN4R/yf/+wSAwcBUAjg7l58RTactWaP8fIDTi0FzI7YcVLujwExakZlfWkXg==", - "dev": true, - "dependencies": { - "env-paths": "^2.2.0", - "glob": "^7.1.4", - "graceful-fs": "^4.2.6", - "make-fetch-happen": "^10.0.3", - "nopt": "^6.0.0", - "npmlog": "^6.0.0", - "rimraf": "^3.0.2", - "semver": "^7.3.5", - "tar": "^6.1.2", - "which": "^2.0.2" - }, - "bin": { - "node-gyp": "bin/node-gyp.js" - }, - "engines": { - "node": "^12.13 || ^14.13 || >=16" - } - }, - "node_modules/node-gyp-build": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.6.0.tgz", - "integrity": "sha512-NTZVKn9IylLwUzaKjkas1e4u2DLNcV4rdYagA4PWdPwW87Bi7z+BznyKSRwS/761tV/lzCGXplWsiaMjLqP2zQ==", - "dev": true, - "bin": { - "node-gyp-build": "bin.js", - "node-gyp-build-optional": "optional.js", - "node-gyp-build-test": "build-test.js" - } - }, - "node_modules/node-gyp/node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "dev": true, - "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/nopt": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-6.0.0.tgz", - "integrity": "sha512-ZwLpbTgdhuZUnZzjd7nb1ZV+4DoiC6/sfiVKok72ym/4Tlf+DFdlHYmT2JPmcNNWV6Pi3SDf1kT+A4r9RTuT9g==", - "dev": true, - "dependencies": { - "abbrev": "^1.0.0" - }, - "bin": { - "nopt": "bin/nopt.js" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/normalize-package-data": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-3.0.3.tgz", - "integrity": "sha512-p2W1sgqij3zMMyRC067Dg16bfzVH+w7hyegmpIvZ4JNjqtGOVAIvLmjBx3yP7YTe9vKJgkoNOPjwQGogDoMXFA==", - "dev": true, - "dependencies": { - "hosted-git-info": "^4.0.1", - "is-core-module": "^2.5.0", - "semver": "^7.3.4", - "validate-npm-package-license": "^3.0.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/npm-bundled": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.1.2.tgz", - "integrity": "sha512-x5DHup0SuyQcmL3s7Rx/YQ8sbw/Hzg0rj48eN0dV7hf5cmQq5PXIeioroH3raV1QC1yh3uTYuMThvEQF3iKgGQ==", - "dev": true, - "dependencies": { - "npm-normalize-package-bin": "^1.0.1" - } - }, - "node_modules/npm-install-checks": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-5.0.0.tgz", - "integrity": "sha512-65lUsMI8ztHCxFz5ckCEC44DRvEGdZX5usQFriauxHEwt7upv1FKaQEmAtU0YnOAdwuNWCmk64xYiQABNrEyLA==", - "dev": true, - "dependencies": { - "semver": "^7.1.1" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/npm-normalize-package-bin": { - "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==", - "dev": true - }, - "node_modules/npm-package-arg": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-8.1.1.tgz", - "integrity": "sha512-CsP95FhWQDwNqiYS+Q0mZ7FAEDytDZAkNxQqea6IaAFJTAY9Lhhqyl0irU/6PMc7BGfUmnsbHcqxJD7XuVM/rg==", - "dev": true, - "dependencies": { - "hosted-git-info": "^3.0.6", - "semver": "^7.0.0", - "validate-npm-package-name": "^3.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/npm-package-arg/node_modules/builtins": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/builtins/-/builtins-1.0.3.tgz", - "integrity": "sha512-uYBjakWipfaO/bXI7E8rq6kpwHRZK5cNYrUv2OzZSI/FvmdMyXJ2tG9dKcjEC5YHmHpUAwsargWIZNWdxb/bnQ==", - "dev": true - }, - "node_modules/npm-package-arg/node_modules/hosted-git-info": { - "version": "3.0.8", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-3.0.8.tgz", - "integrity": "sha512-aXpmwoOhRBrw6X3j0h5RloK4x1OzsxMPyxqIHyNfSe2pypkVTZFpEiRoSipPEPlMrh0HW/XsjkJ5WgnCirpNUw==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/npm-package-arg/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/npm-package-arg/node_modules/validate-npm-package-name": { - "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==", - "dev": true, - "dependencies": { - "builtins": "^1.0.3" - } - }, - "node_modules/npm-package-arg/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, - "node_modules/npm-packlist": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-5.1.3.tgz", - "integrity": "sha512-263/0NGrn32YFYi4J533qzrQ/krmmrWwhKkzwTuM4f/07ug51odoaNjUexxO4vxlzURHcmYMH1QjvHjsNDKLVg==", - "dev": true, - "dependencies": { - "glob": "^8.0.1", - "ignore-walk": "^5.0.1", - "npm-bundled": "^2.0.0", - "npm-normalize-package-bin": "^2.0.0" - }, - "bin": { - "npm-packlist": "bin/index.js" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/npm-packlist/node_modules/npm-bundled": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-2.0.1.tgz", - "integrity": "sha512-gZLxXdjEzE/+mOstGDqR6b0EkhJ+kM6fxM6vUuckuctuVPh80Q6pw/rSZj9s4Gex9GxWtIicO1pc8DB9KZWudw==", - "dev": true, - "dependencies": { - "npm-normalize-package-bin": "^2.0.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/npm-packlist/node_modules/npm-normalize-package-bin": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-2.0.0.tgz", - "integrity": "sha512-awzfKUO7v0FscrSpRoogyNm0sajikhBWpU0QMrW09AMi9n1PoKU6WaIqUzuJSQnpciZZmJ/jMZ2Egfmb/9LiWQ==", - "dev": true, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/npm-pick-manifest": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/npm-pick-manifest/-/npm-pick-manifest-7.0.2.tgz", - "integrity": "sha512-gk37SyRmlIjvTfcYl6RzDbSmS9Y4TOBXfsPnoYqTHARNgWbyDiCSMLUpmALDj4jjcTZpURiEfsSHJj9k7EV4Rw==", - "dev": true, - "dependencies": { - "npm-install-checks": "^5.0.0", - "npm-normalize-package-bin": "^2.0.0", - "npm-package-arg": "^9.0.0", - "semver": "^7.3.5" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/npm-pick-manifest/node_modules/hosted-git-info": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-5.2.1.tgz", - "integrity": "sha512-xIcQYMnhcx2Nr4JTjsFmwwnr9vldugPy9uVm0o87bjqqWMv9GaqsTeT+i99wTl0mk1uLxJtHxLb8kymqTENQsw==", - "dev": true, - "dependencies": { - "lru-cache": "^7.5.1" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/npm-pick-manifest/node_modules/lru-cache": { - "version": "7.14.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.14.1.tgz", - "integrity": "sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==", - "dev": true, - "engines": { - "node": ">=12" - } - }, - "node_modules/npm-pick-manifest/node_modules/npm-normalize-package-bin": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-2.0.0.tgz", - "integrity": "sha512-awzfKUO7v0FscrSpRoogyNm0sajikhBWpU0QMrW09AMi9n1PoKU6WaIqUzuJSQnpciZZmJ/jMZ2Egfmb/9LiWQ==", - "dev": true, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/npm-pick-manifest/node_modules/npm-package-arg": { - "version": "9.1.2", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-9.1.2.tgz", - "integrity": "sha512-pzd9rLEx4TfNJkovvlBSLGhq31gGu2QDexFPWT19yCDh0JgnRhlBLNo5759N0AJmBk+kQ9Y/hXoLnlgFD+ukmg==", - "dev": true, - "dependencies": { - "hosted-git-info": "^5.0.0", - "proc-log": "^2.0.1", - "semver": "^7.3.5", - "validate-npm-package-name": "^4.0.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/npm-registry-fetch": { - "version": "13.3.1", - "resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-13.3.1.tgz", - "integrity": "sha512-eukJPi++DKRTjSBRcDZSDDsGqRK3ehbxfFUcgaRd0Yp6kRwOwh2WVn0r+8rMB4nnuzvAk6rQVzl6K5CkYOmnvw==", - "dev": true, - "dependencies": { - "make-fetch-happen": "^10.0.6", - "minipass": "^3.1.6", - "minipass-fetch": "^2.0.3", - "minipass-json-stream": "^1.0.1", - "minizlib": "^2.1.2", - "npm-package-arg": "^9.0.1", - "proc-log": "^2.0.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/npm-registry-fetch/node_modules/hosted-git-info": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-5.2.1.tgz", - "integrity": "sha512-xIcQYMnhcx2Nr4JTjsFmwwnr9vldugPy9uVm0o87bjqqWMv9GaqsTeT+i99wTl0mk1uLxJtHxLb8kymqTENQsw==", - "dev": true, - "dependencies": { - "lru-cache": "^7.5.1" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/npm-registry-fetch/node_modules/lru-cache": { - "version": "7.14.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.14.1.tgz", - "integrity": "sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==", - "dev": true, - "engines": { - "node": ">=12" - } - }, - "node_modules/npm-registry-fetch/node_modules/npm-package-arg": { - "version": "9.1.2", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-9.1.2.tgz", - "integrity": "sha512-pzd9rLEx4TfNJkovvlBSLGhq31gGu2QDexFPWT19yCDh0JgnRhlBLNo5759N0AJmBk+kQ9Y/hXoLnlgFD+ukmg==", - "dev": true, - "dependencies": { - "hosted-git-info": "^5.0.0", - "proc-log": "^2.0.1", - "semver": "^7.3.5", - "validate-npm-package-name": "^4.0.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/npm-run-all": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/npm-run-all/-/npm-run-all-4.1.5.tgz", - "integrity": "sha512-Oo82gJDAVcaMdi3nuoKFavkIHBRVqQ1qvMb+9LHk/cF4P6B2m8aP04hGf7oL6wZ9BuGwX1onlLhpuoofSyoQDQ==", - "dev": true, - "dependencies": { - "ansi-styles": "^3.2.1", - "chalk": "^2.4.1", - "cross-spawn": "^6.0.5", - "memorystream": "^0.3.1", - "minimatch": "^3.0.4", - "pidtree": "^0.3.0", - "read-pkg": "^3.0.0", - "shell-quote": "^1.6.1", - "string.prototype.padend": "^3.0.0" - }, - "bin": { - "npm-run-all": "bin/npm-run-all/index.js", - "run-p": "bin/run-p/index.js", - "run-s": "bin/run-s/index.js" - }, - "engines": { - "node": ">= 4" - } - }, - "node_modules/npm-run-all/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dev": true, - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/npm-run-all/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/npm-run-all/node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dev": true, - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/npm-run-all/node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", - "dev": true - }, - "node_modules/npm-run-all/node_modules/cross-spawn": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", - "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", - "dev": true, - "dependencies": { - "nice-try": "^1.0.4", - "path-key": "^2.0.1", - "semver": "^5.5.0", - "shebang-command": "^1.2.0", - "which": "^1.2.9" - }, - "engines": { - "node": ">=4.8" - } - }, - "node_modules/npm-run-all/node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", - "dev": true, - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/npm-run-all/node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/npm-run-all/node_modules/path-key": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", - "integrity": "sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/npm-run-all/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true, - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/npm-run-all/node_modules/shebang-command": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", - "integrity": "sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg==", - "dev": true, - "dependencies": { - "shebang-regex": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/npm-run-all/node_modules/shebang-regex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", - "integrity": "sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/npm-run-all/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/npm-run-all/node_modules/which": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", - "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", - "dev": true, - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "which": "bin/which" - } - }, - "node_modules/npm-run-path": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", - "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", - "dev": true, - "dependencies": { - "path-key": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/npmlog": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-6.0.2.tgz", - "integrity": "sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg==", - "dev": true, - "dependencies": { - "are-we-there-yet": "^3.0.0", - "console-control-strings": "^1.1.0", - "gauge": "^4.0.3", - "set-blocking": "^2.0.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/nth-check": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz", - "integrity": "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==", - "dev": true, - "dependencies": { - "boolbase": "^1.0.0" - }, - "funding": { - "url": "https://github.com/fb55/nth-check?sponsor=1" - } - }, - "node_modules/nx": { - "version": "15.6.3", - "resolved": "https://registry.npmjs.org/nx/-/nx-15.6.3.tgz", - "integrity": "sha512-3t0A0GPLNen1yPAyE+VGZ3nkAzZYb5nfXtAcx8SHBlKq4u42yBY3khBmP1y4Og3jhIwFIj7J7Npeh8ZKrthmYQ==", - "dev": true, - "hasInstallScript": true, - "dependencies": { - "@nrwl/cli": "15.6.3", - "@nrwl/tao": "15.6.3", - "@parcel/watcher": "2.0.4", - "@yarnpkg/lockfile": "^1.1.0", - "@yarnpkg/parsers": "^3.0.0-rc.18", - "@zkochan/js-yaml": "0.0.6", - "axios": "^1.0.0", - "chalk": "^4.1.0", - "cli-cursor": "3.1.0", - "cli-spinners": "2.6.1", - "cliui": "^7.0.2", - "dotenv": "~10.0.0", - "enquirer": "~2.3.6", - "fast-glob": "3.2.7", - "figures": "3.2.0", - "flat": "^5.0.2", - "fs-extra": "^11.1.0", - "glob": "7.1.4", - "ignore": "^5.0.4", - "js-yaml": "4.1.0", - "jsonc-parser": "3.2.0", - "lines-and-columns": "~2.0.3", - "minimatch": "3.0.5", - "npm-run-path": "^4.0.1", - "open": "^8.4.0", - "semver": "7.3.4", - "string-width": "^4.2.3", - "strong-log-transformer": "^2.1.0", - "tar-stream": "~2.2.0", - "tmp": "~0.2.1", - "tsconfig-paths": "^4.1.2", - "tslib": "^2.3.0", - "v8-compile-cache": "2.3.0", - "yargs": "^17.6.2", - "yargs-parser": "21.1.1" - }, - "bin": { - "nx": "bin/nx.js" - }, - "peerDependencies": { - "@swc-node/register": "^1.4.2", - "@swc/core": "^1.2.173" - }, - "peerDependenciesMeta": { - "@swc-node/register": { - "optional": true - }, - "@swc/core": { - "optional": true - } - } - }, - "node_modules/nx/node_modules/fast-glob": { - "version": "3.2.7", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.7.tgz", - "integrity": "sha512-rYGMRwip6lUMvYD3BTScMwT1HtAs2d71SMv66Vrxs0IekGZEjhM0pcMfjQPnknBt2zeCwQMEupiN02ZP4DiT1Q==", - "dev": true, - "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" - } - }, - "node_modules/nx/node_modules/fs-extra": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.1.0.tgz", - "integrity": "sha512-0rcTq621PD5jM/e0a3EJoGC/1TC5ZBCERW82LQuwfGnCa1V8w7dpYH1yNu+SLb6E5dkeCBzKEyLGlFrnr+dUyw==", - "dev": true, - "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=14.14" - } - }, - "node_modules/nx/node_modules/glob": { - "version": "7.1.4", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.4.tgz", - "integrity": "sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A==", - "dev": true, - "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": "*" - } - }, - "node_modules/nx/node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, - "dependencies": { - "is-glob": "^4.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/nx/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/nx/node_modules/minimatch": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.5.tgz", - "integrity": "sha512-tUpxzX0VAzJHjLu0xUfFv1gwVp9ba3IOuRAVH2EGuRW8a5emA2FlACLqiT/lDVtS1W+TGNwqz3sWaNyLgDJWuw==", - "dev": true, - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/nx/node_modules/semver": { - "version": "7.3.4", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.4.tgz", - "integrity": "sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/nx/node_modules/tmp": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.1.tgz", - "integrity": "sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ==", - "dev": true, - "dependencies": { - "rimraf": "^3.0.0" - }, - "engines": { - "node": ">=8.17.0" - } - }, - "node_modules/nx/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, - "node_modules/nx/node_modules/yargs": { - "version": "17.6.2", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.6.2.tgz", - "integrity": "sha512-1/9UrdHjDZc0eOU0HxOHoS78C69UD3JRMvzlJ7S79S2nTaWRA/whGCTV8o9e/N/1Va9YIV7Q4sOxD8VV4pCWOw==", - "dev": true, - "dependencies": { - "cliui": "^8.0.1", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.3", - "y18n": "^5.0.5", - "yargs-parser": "^21.1.1" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/nx/node_modules/yargs-parser": { - "version": "21.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", - "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", - "dev": true, - "engines": { - "node": ">=12" - } - }, - "node_modules/nx/node_modules/yargs/node_modules/cliui": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", - "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", - "dev": true, - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^7.0.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/object-inspect": { - "version": "1.12.3", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz", - "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==", - "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/object-keys": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", - "dev": true, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/object.assign": { - "version": "4.1.4", - "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.4.tgz", - "integrity": "sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==", - "dev": true, - "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/once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "dev": true, - "dependencies": { - "wrappy": "1" - } - }, - "node_modules/onetime": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", - "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", - "dev": true, - "dependencies": { - "mimic-fn": "^2.1.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/open": { - "version": "8.4.0", - "resolved": "https://registry.npmjs.org/open/-/open-8.4.0.tgz", - "integrity": "sha512-XgFPPM+B28FtCCgSb9I+s9szOC1vZRSwgWsRUA5ylIxRTgKozqjOCrVOqGsYABPYK5qnfqClxZTFBa8PKt2v6Q==", - "dev": true, - "dependencies": { - "define-lazy-prop": "^2.0.0", - "is-docker": "^2.1.1", - "is-wsl": "^2.2.0" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/optionator": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", - "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", - "dev": true, - "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/ora": { - "version": "5.4.1", - "resolved": "https://registry.npmjs.org/ora/-/ora-5.4.1.tgz", - "integrity": "sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==", - "dev": true, - "dependencies": { - "bl": "^4.1.0", - "chalk": "^4.1.0", - "cli-cursor": "^3.1.0", - "cli-spinners": "^2.5.0", - "is-interactive": "^1.0.0", - "is-unicode-supported": "^0.1.0", - "log-symbols": "^4.1.0", - "strip-ansi": "^6.0.0", - "wcwidth": "^1.0.1" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/os-tmpdir": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", - "integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/p-finally": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", - "integrity": "sha512-LICb2p9CB7FS+0eR1oqWnHhp0FljGLZCWBE9aix0Uye9W8LTQPwMTYVGWQWIw9RdQiDg4+epXQODwIYJtSJaow==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/p-limit": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", - "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", - "dev": true, - "dependencies": { - "yocto-queue": "^0.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-locate": { - "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==", - "dev": true, - "dependencies": { - "p-limit": "^3.0.2" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-map": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz", - "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==", - "dev": true, - "dependencies": { - "aggregate-error": "^3.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-map-series": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/p-map-series/-/p-map-series-2.1.0.tgz", - "integrity": "sha512-RpYIIK1zXSNEOdwxcfe7FdvGcs7+y5n8rifMhMNWvaxRNMPINJHF5GDeuVxWqnfrcHPSCnp7Oo5yNXHId9Av2Q==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/p-pipe": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/p-pipe/-/p-pipe-3.1.0.tgz", - "integrity": "sha512-08pj8ATpzMR0Y80x50yJHn37NF6vjrqHutASaX5LiH5npS9XPvrUmscd9MF5R4fuYRHOxQR1FfMIlF7AzwoPqw==", - "dev": true, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-queue": { - "version": "6.6.2", - "resolved": "https://registry.npmjs.org/p-queue/-/p-queue-6.6.2.tgz", - "integrity": "sha512-RwFpb72c/BhQLEXIZ5K2e+AhgNVmIejGlTgiB9MzZ0e93GRvqZ7uSi0dvRF7/XIXDeNkra2fNHBxTyPDGySpjQ==", - "dev": true, - "dependencies": { - "eventemitter3": "^4.0.4", - "p-timeout": "^3.2.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-reduce": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/p-reduce/-/p-reduce-2.1.0.tgz", - "integrity": "sha512-2USApvnsutq8uoxZBGbbWM0JIYLiEMJ9RlaN7fAzVNb9OZN0SHjjTTfIcb667XynS5Y1VhwDJVDa72TnPzAYWw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/p-timeout": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-3.2.0.tgz", - "integrity": "sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg==", - "dev": true, - "dependencies": { - "p-finally": "^1.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/p-waterfall": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/p-waterfall/-/p-waterfall-2.1.1.tgz", - "integrity": "sha512-RRTnDb2TBG/epPRI2yYXsimO0v3BXC8Yd3ogr1545IaqKK17VGhbWVeGGN+XfCm/08OK8635nH31c8bATkHuSw==", - "dev": true, - "dependencies": { - "p-reduce": "^2.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/pacote": { - "version": "13.6.2", - "resolved": "https://registry.npmjs.org/pacote/-/pacote-13.6.2.tgz", - "integrity": "sha512-Gu8fU3GsvOPkak2CkbojR7vjs3k3P9cA6uazKTHdsdV0gpCEQq2opelnEv30KRQWgVzP5Vd/5umjcedma3MKtg==", - "dev": true, - "dependencies": { - "@npmcli/git": "^3.0.0", - "@npmcli/installed-package-contents": "^1.0.7", - "@npmcli/promise-spawn": "^3.0.0", - "@npmcli/run-script": "^4.1.0", - "cacache": "^16.0.0", - "chownr": "^2.0.0", - "fs-minipass": "^2.1.0", - "infer-owner": "^1.0.4", - "minipass": "^3.1.6", - "mkdirp": "^1.0.4", - "npm-package-arg": "^9.0.0", - "npm-packlist": "^5.1.0", - "npm-pick-manifest": "^7.0.0", - "npm-registry-fetch": "^13.0.1", - "proc-log": "^2.0.0", - "promise-retry": "^2.0.1", - "read-package-json": "^5.0.0", - "read-package-json-fast": "^2.0.3", - "rimraf": "^3.0.2", - "ssri": "^9.0.0", - "tar": "^6.1.11" - }, - "bin": { - "pacote": "lib/bin.js" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/pacote/node_modules/hosted-git-info": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-5.2.1.tgz", - "integrity": "sha512-xIcQYMnhcx2Nr4JTjsFmwwnr9vldugPy9uVm0o87bjqqWMv9GaqsTeT+i99wTl0mk1uLxJtHxLb8kymqTENQsw==", - "dev": true, - "dependencies": { - "lru-cache": "^7.5.1" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/pacote/node_modules/lru-cache": { - "version": "7.14.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.14.1.tgz", - "integrity": "sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==", - "dev": true, - "engines": { - "node": ">=12" - } - }, - "node_modules/pacote/node_modules/npm-package-arg": { - "version": "9.1.2", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-9.1.2.tgz", - "integrity": "sha512-pzd9rLEx4TfNJkovvlBSLGhq31gGu2QDexFPWT19yCDh0JgnRhlBLNo5759N0AJmBk+kQ9Y/hXoLnlgFD+ukmg==", - "dev": true, - "dependencies": { - "hosted-git-info": "^5.0.0", - "proc-log": "^2.0.1", - "semver": "^7.3.5", - "validate-npm-package-name": "^4.0.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/parent-module": { - "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==", - "dev": true, - "dependencies": { - "callsites": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/parse-conflict-json": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/parse-conflict-json/-/parse-conflict-json-2.0.2.tgz", - "integrity": "sha512-jDbRGb00TAPFsKWCpZZOT93SxVP9nONOSgES3AevqRq/CHvavEBvKAjxX9p5Y5F0RZLxH9Ufd9+RwtCsa+lFDA==", - "dev": true, - "dependencies": { - "json-parse-even-better-errors": "^2.3.1", - "just-diff": "^5.0.1", - "just-diff-apply": "^5.2.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/parse-json": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", - "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", - "dev": true, - "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/parse-json/node_modules/lines-and-columns": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", - "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", - "dev": true - }, - "node_modules/parse-path": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/parse-path/-/parse-path-7.0.0.tgz", - "integrity": "sha512-Euf9GG8WT9CdqwuWJGdf3RkUcTBArppHABkO7Lm8IzRQp0e2r/kkFnmhu4TSK30Wcu5rVAZLmfPKSBBi9tWFog==", - "dev": true, - "dependencies": { - "protocols": "^2.0.0" - } - }, - "node_modules/parse-url": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/parse-url/-/parse-url-8.1.0.tgz", - "integrity": "sha512-xDvOoLU5XRrcOZvnI6b8zA6n9O9ejNk/GExuz1yBuWUGn9KA97GI6HTs6u02wKara1CeVmZhH+0TZFdWScR89w==", - "dev": true, - "dependencies": { - "parse-path": "^7.0.0" - } - }, - "node_modules/path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", - "dev": true - }, - "node_modules/path-type": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz", - "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/picocolors": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz", - "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==" - }, - "node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", - "dev": true, - "engines": { - "node": ">=8.6" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/pidtree": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/pidtree/-/pidtree-0.3.1.tgz", - "integrity": "sha512-qQbW94hLHEqCg7nhby4yRC7G2+jYHY4Rguc2bjw7Uug4GIJuu1tvf2uHaZv5Q8zdt+WKJ6qK1FOI6amaWUo5FA==", - "dev": true, - "bin": { - "pidtree": "bin/pidtree.js" - }, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/pify": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-5.0.0.tgz", - "integrity": "sha512-eW/gHNMlxdSP6dmG6uJip6FXN0EQBwm2clYYd8Wul42Cwu/DK8HEftzsapcNdYe2MfLiIwZqsDk2RDEsTE79hA==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/pinia": { - "version": "2.0.30", - "resolved": "https://registry.npmjs.org/pinia/-/pinia-2.0.30.tgz", - "integrity": "sha512-q6DUmxWwe/mQgg+55QQjykpKC+aGeGdaJV3niminl19V08dE+LRTvSEuqi6/NLSGCKHI49KGL6tMNEOssFiMyA==", - "dependencies": { - "@vue/devtools-api": "^6.4.5", - "vue-demi": "*" - }, - "funding": { - "url": "https://github.com/sponsors/posva" - }, - "peerDependencies": { - "@vue/composition-api": "^1.4.0", - "typescript": ">=4.4.4", - "vue": "^2.6.14 || ^3.2.0" - }, - "peerDependenciesMeta": { - "@vue/composition-api": { - "optional": true - }, - "typescript": { - "optional": true - } - } - }, - "node_modules/pkg-dir": { - "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==", - "dev": true, - "dependencies": { - "find-up": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/pkg-dir/node_modules/find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/pkg-dir/node_modules/locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "dependencies": { - "p-locate": "^4.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/pkg-dir/node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "dependencies": { - "p-try": "^2.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/pkg-dir/node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "dependencies": { - "p-limit": "^2.2.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/postcss": { - "version": "8.4.21", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.21.tgz", - "integrity": "sha512-tP7u/Sn/dVxK2NnruI4H9BG+x+Wxz6oeZ1cJ8P6G/PZY0IKk4k/63TDsQf2kQq3+qoJeLm2kIBUNlZe3zgb4Zg==", - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/postcss" - } - ], - "dependencies": { - "nanoid": "^3.3.4", - "picocolors": "^1.0.0", - "source-map-js": "^1.0.2" - }, - "engines": { - "node": "^10 || ^12 || >=14" - } - }, - "node_modules/postcss-selector-parser": { - "version": "6.0.11", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.11.tgz", - "integrity": "sha512-zbARubNdogI9j7WY4nQJBiNqQf3sLS3wCP4WfOidu+p28LofJqDH1tcXypGrcmMHhDk2t9wGhCsYe/+szLTy1g==", - "dev": true, - "dependencies": { - "cssesc": "^3.0.0", - "util-deprecate": "^1.0.2" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/prelude-ls": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", - "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", - "dev": true, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/prettier": { - "version": "2.8.3", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.8.3.tgz", - "integrity": "sha512-tJ/oJ4amDihPoufT5sM0Z1SKEuKay8LfVAMlbbhnnkvt6BUserZylqo2PN+p9KeljLr0OHa2rXHU1T8reeoTrw==", - "dev": true, - "bin": { - "prettier": "bin-prettier.js" - }, - "engines": { - "node": ">=10.13.0" - }, - "funding": { - "url": "https://github.com/prettier/prettier?sponsor=1" - } - }, - "node_modules/prettier-linter-helpers": { - "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==", - "dev": true, - "dependencies": { - "fast-diff": "^1.1.2" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/proc-log": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/proc-log/-/proc-log-2.0.1.tgz", - "integrity": "sha512-Kcmo2FhfDTXdcbfDH76N7uBYHINxc/8GW7UAVuVP9I+Va3uHSerrnKV6dLooga/gh7GlgzuCCr/eoldnL1muGw==", - "dev": true, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/process-nextick-args": { - "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==", - "dev": true - }, - "node_modules/promise-all-reject-late": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/promise-all-reject-late/-/promise-all-reject-late-1.0.1.tgz", - "integrity": "sha512-vuf0Lf0lOxyQREH7GDIOUMLS7kz+gs8i6B+Yi8dC68a2sychGrHTJYghMBD6k7eUcH0H5P73EckCA48xijWqXw==", - "dev": true, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/promise-call-limit": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/promise-call-limit/-/promise-call-limit-1.0.1.tgz", - "integrity": "sha512-3+hgaa19jzCGLuSCbieeRsu5C2joKfYn8pY6JAuXFRVfF4IO+L7UPpFWNTeWT9pM7uhskvbPPd/oEOktCn317Q==", - "dev": true, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/promise-inflight": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz", - "integrity": "sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g==", - "dev": true - }, - "node_modules/promise-retry": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/promise-retry/-/promise-retry-2.0.1.tgz", - "integrity": "sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g==", - "dev": true, - "dependencies": { - "err-code": "^2.0.2", - "retry": "^0.12.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/promzard": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/promzard/-/promzard-0.3.0.tgz", - "integrity": "sha512-JZeYqd7UAcHCwI+sTOeUDYkvEU+1bQ7iE0UT1MgB/tERkAPkesW46MrpIySzODi+owTjZtiF8Ay5j9m60KmMBw==", - "dev": true, - "dependencies": { - "read": "1" - } - }, - "node_modules/proto-list": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz", - "integrity": "sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA==", - "dev": true - }, - "node_modules/protocols": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/protocols/-/protocols-2.0.1.tgz", - "integrity": "sha512-/XJ368cyBJ7fzLMwLKv1e4vLxOju2MNAIokcr7meSaNcVbWz/CPcW22cP04mwxOErdA5mwjA8Q6w/cdAQxVn7Q==", - "dev": true - }, - "node_modules/proxy-from-env": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", - "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==", - "dev": true - }, - "node_modules/punycode": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", - "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/q": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz", - "integrity": "sha512-kV/CThkXo6xyFEZUugw/+pIOywXcDbFYgSct5cT3gqlbkBE1SJdwy6UQoZvodiWF/ckQLZyDE/Bu1M6gVu5lVw==", - "dev": true, - "engines": { - "node": ">=0.6.0", - "teleport": ">=0.2.0" - } - }, - "node_modules/queue-microtask": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", - "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", - "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" - } - ] - }, - "node_modules/quick-lru": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-4.0.1.tgz", - "integrity": "sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/read": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/read/-/read-1.0.7.tgz", - "integrity": "sha512-rSOKNYUmaxy0om1BNjMN4ezNT6VKK+2xF4GBhc81mkH7L60i6dp8qPYrkndNLT3QPphoII3maL9PVC9XmhHwVQ==", - "dev": true, - "dependencies": { - "mute-stream": "~0.0.4" - }, - "engines": { - "node": ">=0.8" - } - }, - "node_modules/read-cmd-shim": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/read-cmd-shim/-/read-cmd-shim-3.0.1.tgz", - "integrity": "sha512-kEmDUoYf/CDy8yZbLTmhB1X9kkjf9Q80PCNsDMb7ufrGd6zZSQA1+UyjrO+pZm5K/S4OXCWJeiIt1JA8kAsa6g==", - "dev": true, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/read-package-json": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/read-package-json/-/read-package-json-5.0.2.tgz", - "integrity": "sha512-BSzugrt4kQ/Z0krro8zhTwV1Kd79ue25IhNN/VtHFy1mG/6Tluyi+msc0UpwaoQzxSHa28mntAjIZY6kEgfR9Q==", - "dev": true, - "dependencies": { - "glob": "^8.0.1", - "json-parse-even-better-errors": "^2.3.1", - "normalize-package-data": "^4.0.0", - "npm-normalize-package-bin": "^2.0.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/read-package-json-fast": { - "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==", - "dev": true, - "dependencies": { - "json-parse-even-better-errors": "^2.3.0", - "npm-normalize-package-bin": "^1.0.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/read-package-json/node_modules/hosted-git-info": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-5.2.1.tgz", - "integrity": "sha512-xIcQYMnhcx2Nr4JTjsFmwwnr9vldugPy9uVm0o87bjqqWMv9GaqsTeT+i99wTl0mk1uLxJtHxLb8kymqTENQsw==", - "dev": true, - "dependencies": { - "lru-cache": "^7.5.1" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/read-package-json/node_modules/lru-cache": { - "version": "7.14.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.14.1.tgz", - "integrity": "sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA==", - "dev": true, - "engines": { - "node": ">=12" - } - }, - "node_modules/read-package-json/node_modules/normalize-package-data": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-4.0.1.tgz", - "integrity": "sha512-EBk5QKKuocMJhB3BILuKhmaPjI8vNRSpIfO9woLC6NyHVkKKdVEdAO1mrT0ZfxNR1lKwCcTkuZfmGIFdizZ8Pg==", - "dev": true, - "dependencies": { - "hosted-git-info": "^5.0.0", - "is-core-module": "^2.8.1", - "semver": "^7.3.5", - "validate-npm-package-license": "^3.0.4" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/read-package-json/node_modules/npm-normalize-package-bin": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-2.0.0.tgz", - "integrity": "sha512-awzfKUO7v0FscrSpRoogyNm0sajikhBWpU0QMrW09AMi9n1PoKU6WaIqUzuJSQnpciZZmJ/jMZ2Egfmb/9LiWQ==", - "dev": true, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/read-pkg": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", - "integrity": "sha512-BLq/cCO9two+lBgiTYNqD6GdtK8s4NpaWrl6/rCO9w0TUS8oJl7cmToOZfRYllKTISY6nt1U7jQ53brmKqY6BA==", - "dev": true, - "dependencies": { - "load-json-file": "^4.0.0", - "normalize-package-data": "^2.3.2", - "path-type": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/read-pkg-up": { - "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==", - "dev": true, - "dependencies": { - "find-up": "^2.0.0", - "read-pkg": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/read-pkg-up/node_modules/find-up": { - "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==", - "dev": true, - "dependencies": { - "locate-path": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/read-pkg-up/node_modules/locate-path": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", - "integrity": "sha512-NCI2kiDkyR7VeEKm27Kda/iQHyKJe1Bu0FlTbYp3CqJu+9IFe9bLyAjMxf5ZDDbEg+iMPzB5zYyUTSm8wVTKmA==", - "dev": true, - "dependencies": { - "p-locate": "^2.0.0", - "path-exists": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/read-pkg-up/node_modules/p-limit": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", - "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", - "dev": true, - "dependencies": { - "p-try": "^1.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/read-pkg-up/node_modules/p-locate": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", - "integrity": "sha512-nQja7m7gSKuewoVRen45CtVfODR3crN3goVQ0DDZ9N3yHxgpkuBhZqsaiotSQRrADUrne346peY7kT3TSACykg==", - "dev": true, - "dependencies": { - "p-limit": "^1.1.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/read-pkg-up/node_modules/p-try": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", - "integrity": "sha512-U1etNYuMJoIz3ZXSrrySFjsXQTWOx2/jdi86L+2pRvph/qMKL6sbcCYdH23fqsbm8TH2Gn0OybpT4eSFlCVHww==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/read-pkg-up/node_modules/path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/read-pkg/node_modules/hosted-git-info": { - "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==", - "dev": true - }, - "node_modules/read-pkg/node_modules/load-json-file": { - "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==", - "dev": true, - "dependencies": { - "graceful-fs": "^4.1.2", - "parse-json": "^4.0.0", - "pify": "^3.0.0", - "strip-bom": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/read-pkg/node_modules/normalize-package-data": { - "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==", - "dev": true, - "dependencies": { - "hosted-git-info": "^2.1.4", - "resolve": "^1.10.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" - } - }, - "node_modules/read-pkg/node_modules/parse-json": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", - "integrity": "sha512-aOIos8bujGN93/8Ox/jPLh7RwVnPEysynVFE+fQZyg6jKELEHwzgKdLRFHUgXJL6kylijVSBC4BvN9OmsB48Rw==", - "dev": true, - "dependencies": { - "error-ex": "^1.3.1", - "json-parse-better-errors": "^1.0.1" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/read-pkg/node_modules/path-type": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", - "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", - "dev": true, - "dependencies": { - "pify": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/read-pkg/node_modules/pify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/read-pkg/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true, - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/read-pkg/node_modules/strip-bom": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", - "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "dev": true, - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/readdir-scoped-modules": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/readdir-scoped-modules/-/readdir-scoped-modules-1.1.0.tgz", - "integrity": "sha512-asaikDeqAQg7JifRsZn1NJZXo9E+VwlyCfbkZhwyISinqk5zNS6266HS5kah6P0SaQKGF6SkNnZVHUzHFYxYDw==", - "deprecated": "This functionality has been moved to @npmcli/fs", - "dev": true, - "dependencies": { - "debuglog": "^1.0.1", - "dezalgo": "^1.0.0", - "graceful-fs": "^4.1.2", - "once": "^1.3.0" - } - }, - "node_modules/redent": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/redent/-/redent-3.0.0.tgz", - "integrity": "sha512-6tDA8g98We0zd0GvVeMT9arEOnTw9qM03L9cJXaCjrip1OO764RDBLBfrB4cwzNGDj5OA5ioymC9GkizgWJDUg==", - "dev": true, - "dependencies": { - "indent-string": "^4.0.0", - "strip-indent": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/regexp.prototype.flags": { - "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==", - "dev": true, - "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", - "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz", - "integrity": "sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==", - "dev": true, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/mysticatea" - } - }, - "node_modules/require-directory": { - "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==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/resolve": { - "version": "1.22.1", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.1.tgz", - "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==", - "dev": true, - "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-cwd": { - "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==", - "dev": true, - "dependencies": { - "resolve-from": "^5.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/resolve-cwd/node_modules/resolve-from": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", - "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/resolve-from": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", - "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/restore-cursor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", - "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", - "dev": true, - "dependencies": { - "onetime": "^5.1.0", - "signal-exit": "^3.0.2" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/retry": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/retry/-/retry-0.12.0.tgz", - "integrity": "sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow==", - "dev": true, - "engines": { - "node": ">= 4" - } - }, - "node_modules/reusify": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", - "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", - "dev": true, - "engines": { - "iojs": ">=1.0.0", - "node": ">=0.10.0" - } - }, - "node_modules/rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "dev": true, - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/rimraf/node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "dev": true, - "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/rollup": { - "version": "3.13.0", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.13.0.tgz", - "integrity": "sha512-HJwQtrXAc0AmyDohTJ/2c+Bx/sWPScJLlAUJ1kuD7rAkCro8Cr2SnVB2gVYBiSLxpgD2kZ24jbyXtG++GumrYQ==", - "dev": true, - "bin": { - "rollup": "dist/bin/rollup" - }, - "engines": { - "node": ">=14.18.0", - "npm": ">=8.0.0" - }, - "optionalDependencies": { - "fsevents": "~2.3.2" - } - }, - "node_modules/run-async": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz", - "integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==", - "dev": true, - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/run-parallel": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", - "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", - "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" - } - ], - "dependencies": { - "queue-microtask": "^1.2.2" - } - }, - "node_modules/rxjs": { - "version": "7.8.0", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.0.tgz", - "integrity": "sha512-F2+gxDshqmIub1KdvZkaEfGDwLNpPvk9Fs6LD/MyQxNgMds/WH9OdDDXOmxUZpME+iSK3rQCctkL0DYyytUqMg==", - "dev": true, - "dependencies": { - "tslib": "^2.1.0" - } - }, - "node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "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" - } - ] - }, - "node_modules/safe-regex-test": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.0.tgz", - "integrity": "sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.3", - "is-regex": "^1.1.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", - "dev": true - }, - "node_modules/semver": { - "version": "7.3.8", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", - "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", - "dev": true, - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/semver/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dev": true, - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/semver/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, - "node_modules/set-blocking": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", - "integrity": "sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==", - "dev": true - }, - "node_modules/shallow-clone": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-3.0.1.tgz", - "integrity": "sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA==", - "dev": true, - "dependencies": { - "kind-of": "^6.0.2" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/shebang-command": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", - "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "dev": true, - "dependencies": { - "shebang-regex": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/shebang-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/shell-quote": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.8.0.tgz", - "integrity": "sha512-QHsz8GgQIGKlRi24yFc6a6lN69Idnx634w49ay6+jA5yFh7a1UY+4Rp6HPx/L/1zcEDPEij8cIsiqR6bQsE5VQ==", - "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/side-channel": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", - "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", - "dev": true, - "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/signal-exit": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", - "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", - "dev": true - }, - "node_modules/slash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/smart-buffer": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", - "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==", - "dev": true, - "engines": { - "node": ">= 6.0.0", - "npm": ">= 3.0.0" - } - }, - "node_modules/socks": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/socks/-/socks-2.7.1.tgz", - "integrity": "sha512-7maUZy1N7uo6+WVEX6psASxtNlKaNVMlGQKkG/63nEDdLOWNbiUMoLK7X4uYoLhQstau72mLgfEWcXcwsaHbYQ==", - "dev": true, - "dependencies": { - "ip": "^2.0.0", - "smart-buffer": "^4.2.0" - }, - "engines": { - "node": ">= 10.13.0", - "npm": ">= 3.0.0" - } - }, - "node_modules/socks-proxy-agent": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-7.0.0.tgz", - "integrity": "sha512-Fgl0YPZ902wEsAyiQ+idGd1A7rSFx/ayC1CQVMw5P+EQx2V0SgpGtf6OKFhVjPflPUl9YMmEOnmfjCdMUsygww==", - "dev": true, - "dependencies": { - "agent-base": "^6.0.2", - "debug": "^4.3.3", - "socks": "^2.6.2" - }, - "engines": { - "node": ">= 10" - } - }, - "node_modules/sort-keys": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/sort-keys/-/sort-keys-4.2.0.tgz", - "integrity": "sha512-aUYIEU/UviqPgc8mHR6IW1EGxkAXpeRETYcrzg8cLAvUPZcpAlleSXHV2mY7G12GphSH6Gzv+4MMVSSkbdteHg==", - "dev": true, - "dependencies": { - "is-plain-obj": "^2.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/sort-keys/node_modules/is-plain-obj": { - "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==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/source-map-js": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz", - "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/sourcemap-codec": { - "version": "1.4.8", - "resolved": "https://registry.npmjs.org/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", - "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==", - "deprecated": "Please use @jridgewell/sourcemap-codec instead" - }, - "node_modules/spdx-correct": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz", - "integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==", - "dev": true, - "dependencies": { - "spdx-expression-parse": "^3.0.0", - "spdx-license-ids": "^3.0.0" - } - }, - "node_modules/spdx-exceptions": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", - "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==", - "dev": true - }, - "node_modules/spdx-expression-parse": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", - "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", - "dev": true, - "dependencies": { - "spdx-exceptions": "^2.1.0", - "spdx-license-ids": "^3.0.0" - } - }, - "node_modules/spdx-license-ids": { - "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==", - "dev": true - }, - "node_modules/split": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/split/-/split-1.0.1.tgz", - "integrity": "sha512-mTyOoPbrivtXnwnIxZRFYRrPNtEFKlpB2fvjSnCQUiAA6qAZzqwna5envK4uk6OIeP17CsdF3rSBGYVBsU0Tkg==", - "dev": true, - "dependencies": { - "through": "2" - }, - "engines": { - "node": "*" - } - }, - "node_modules/split2": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/split2/-/split2-3.2.2.tgz", - "integrity": "sha512-9NThjpgZnifTkJpzTZ7Eue85S49QwpNhZTq6GRJwObb6jnLFNGB7Qm73V5HewTROPyxD0C29xqmaI68bQtV+hg==", - "dev": true, - "dependencies": { - "readable-stream": "^3.0.0" - } - }, - "node_modules/sprintf-js": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", - "dev": true - }, - "node_modules/ssri": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/ssri/-/ssri-9.0.1.tgz", - "integrity": "sha512-o57Wcn66jMQvfHG1FlYbWeZWW/dHZhJXjpIcTfXldXEk5nz5lStPo3mK0OJQfGR3RbZUlbISexbljkJzuEj/8Q==", - "dev": true, - "dependencies": { - "minipass": "^3.1.1" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/string_decoder": { - "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==", - "dev": true, - "dependencies": { - "safe-buffer": "~5.2.0" - } - }, - "node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dev": true, - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/string.prototype.padend": { - "version": "3.1.4", - "resolved": "https://registry.npmjs.org/string.prototype.padend/-/string.prototype.padend-3.1.4.tgz", - "integrity": "sha512-67otBXoksdjsnXXRUq+KMVTdlVRZ2af422Y0aTyTjVaoQkGr3mxl2Bc5emi7dOQ3OGVVQQskmLEWwFXwommpNw==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/string.prototype.trimend": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.6.tgz", - "integrity": "sha512-JySq+4mrPf9EsDBEDYMOb/lM7XQLulwg5R/m1r0PXEFqrV0qHvl58sdTilSXtKOflCsK2E8jxf+GKC0T07RWwQ==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/string.prototype.trimstart": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.6.tgz", - "integrity": "sha512-omqjMDaY92pbn5HOX7f9IccLA+U1tA9GvtU4JrodiXFfYB7jPzzHpRzpglLAjtUV6bB557zwClJezTqnAiYnQA==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-bom": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", - "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-final-newline": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", - "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/strip-indent": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-3.0.0.tgz", - "integrity": "sha512-laJTa3Jb+VQpaC6DseHhF7dXVqHTfJPCRDaEbid/drOhgitgYku/letMUqOXFoWV0zIIUbjpdH2t+tYj4bQMRQ==", - "dev": true, - "dependencies": { - "min-indent": "^1.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-json-comments": { - "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==", - "dev": true, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/strong-log-transformer": { - "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==", - "dev": true, - "dependencies": { - "duplexer": "^0.1.1", - "minimist": "^1.2.0", - "through": "^2.3.4" - }, - "bin": { - "sl-log-transformer": "bin/sl-log-transformer.js" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/supports-preserve-symlinks-flag": { - "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==", - "dev": true, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/tar": { - "version": "6.1.13", - "resolved": "https://registry.npmjs.org/tar/-/tar-6.1.13.tgz", - "integrity": "sha512-jdIBIN6LTIe2jqzay/2vtYLlBHa3JF42ot3h1dW8Q0PaAG4v8rm0cvpVePtau5C6OKXGGcgO9q2AMNSWxiLqKw==", - "dev": true, - "dependencies": { - "chownr": "^2.0.0", - "fs-minipass": "^2.0.0", - "minipass": "^4.0.0", - "minizlib": "^2.1.1", - "mkdirp": "^1.0.3", - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/tar-stream": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.2.0.tgz", - "integrity": "sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ==", - "dev": true, - "dependencies": { - "bl": "^4.0.3", - "end-of-stream": "^1.4.1", - "fs-constants": "^1.0.0", - "inherits": "^2.0.3", - "readable-stream": "^3.1.1" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/tar/node_modules/minipass": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-4.0.1.tgz", - "integrity": "sha512-V9esFpNbK0arbN3fm2sxDKqMYgIp7XtVdE4Esj+PE4Qaaxdg1wIw48ITQIOn1sc8xXSmUviVL3cyjMqPlrVkiA==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/tar/node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==", - "dev": true - }, - "node_modules/temp-dir": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/temp-dir/-/temp-dir-1.0.0.tgz", - "integrity": "sha512-xZFXEGbG7SNC3itwBzI3RYjq/cEhBkx2hJuKGIUOcEULmkQExXiHat2z/qkISYsuR+IKumhEfKKbV5qXmhICFQ==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/text-extensions": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/text-extensions/-/text-extensions-1.9.0.tgz", - "integrity": "sha512-wiBrwC1EhBelW12Zy26JeOUkQ5mRu+5o8rpsJk5+2t+Y5vE7e842qtZDQ2g1NpX/29HdyFeJ4nSIhI47ENSxlQ==", - "dev": true, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/text-table": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", - "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", - "dev": true - }, - "node_modules/through": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", - "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==", - "dev": true - }, - "node_modules/through2": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/through2/-/through2-4.0.2.tgz", - "integrity": "sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw==", - "dev": true, - "dependencies": { - "readable-stream": "3" - } - }, - "node_modules/tmp": { - "version": "0.0.33", - "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", - "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", - "dev": true, - "dependencies": { - "os-tmpdir": "~1.0.2" - }, - "engines": { - "node": ">=0.6.0" - } - }, - "node_modules/to-regex-range": { - "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==", - "dev": true, - "dependencies": { - "is-number": "^7.0.0" - }, - "engines": { - "node": ">=8.0" - } - }, - "node_modules/treeverse": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/treeverse/-/treeverse-2.0.0.tgz", - "integrity": "sha512-N5gJCkLu1aXccpOTtqV6ddSEi6ZmGkh3hjmbu1IjcavJK4qyOVQmi0myQKM7z5jVGmD68SJoliaVrMmVObhj6A==", - "dev": true, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/trim-newlines": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz", - "integrity": "sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/tsconfig-paths": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-4.1.2.tgz", - "integrity": "sha512-uhxiMgnXQp1IR622dUXI+9Ehnws7i/y6xvpZB9IbUVOPy0muvdvgXeZOn88UcGPiT98Vp3rJPTa8bFoalZ3Qhw==", - "dev": true, - "dependencies": { - "json5": "^2.2.2", - "minimist": "^1.2.6", - "strip-bom": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/tsconfig-paths/node_modules/strip-bom": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", - "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/tslib": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.5.0.tgz", - "integrity": "sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg==", - "dev": true - }, - "node_modules/tsutils": { - "version": "3.21.0", - "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz", - "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==", - "dev": true, - "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", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", - "dev": true - }, - "node_modules/type-check": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", - "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", - "dev": true, - "dependencies": { - "prelude-ls": "^1.2.1" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/type-fest": { - "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==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/typed-array-length": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.4.tgz", - "integrity": "sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "for-each": "^0.3.3", - "is-typed-array": "^1.1.9" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/typedarray": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", - "integrity": "sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==", - "dev": true - }, - "node_modules/typedarray-to-buffer": { - "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==", - "dev": true, - "dependencies": { - "is-typedarray": "^1.0.0" - } - }, - "node_modules/typescript": { - "version": "4.7.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz", - "integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==", - "devOptional": true, - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=4.2.0" - } - }, - "node_modules/uglify-js": { - "version": "3.17.4", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.17.4.tgz", - "integrity": "sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g==", - "dev": true, - "optional": true, - "bin": { - "uglifyjs": "bin/uglifyjs" - }, - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/unbox-primitive": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz", - "integrity": "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==", - "dev": true, - "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/unique-filename": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-2.0.1.tgz", - "integrity": "sha512-ODWHtkkdx3IAR+veKxFV+VBkUMcN+FaqzUUd7IZzt+0zhDZFPFxhlqwPF3YQvMHx1TD0tdgYl+kuPnJ8E6ql7A==", - "dev": true, - "dependencies": { - "unique-slug": "^3.0.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/unique-slug": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-3.0.0.tgz", - "integrity": "sha512-8EyMynh679x/0gqE9fT9oilG+qEt+ibFyqjuVTsZn1+CMxH+XLlpvr2UZx4nVcCwTpx81nICr2JQFkM+HPLq4w==", - "dev": true, - "dependencies": { - "imurmurhash": "^0.1.4" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/universal-user-agent": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.0.tgz", - "integrity": "sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w==", - "dev": true - }, - "node_modules/universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", - "dev": true, - "engines": { - "node": ">= 10.0.0" - } - }, - "node_modules/upath": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/upath/-/upath-2.0.1.tgz", - "integrity": "sha512-1uEe95xksV1O0CYKXo8vQvN1JEbtJp7lb7C5U9HMsIp6IVwntkH/oNUzyVNQSd4S1sYk2FpSSW44FqMc8qee5w==", - "dev": true, - "engines": { - "node": ">=4", - "yarn": "*" - } - }, - "node_modules/uri-js": { - "version": "4.4.1", - "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", - "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", - "dev": true, - "dependencies": { - "punycode": "^2.1.0" - } - }, - "node_modules/util-deprecate": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", - "dev": true - }, - "node_modules/uuid": { - "version": "8.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", - "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", - "dev": true, - "bin": { - "uuid": "dist/bin/uuid" - } - }, - "node_modules/v8-compile-cache": { - "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==", - "dev": true - }, - "node_modules/validate-npm-package-license": { - "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==", - "dev": true, - "dependencies": { - "spdx-correct": "^3.0.0", - "spdx-expression-parse": "^3.0.0" - } - }, - "node_modules/validate-npm-package-name": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/validate-npm-package-name/-/validate-npm-package-name-4.0.0.tgz", - "integrity": "sha512-mzR0L8ZDktZjpX4OB46KT+56MAhl4EIazWP/+G/HPGuvfdaqg4YsCdtOm6U9+LOFyYDoh4dpnpxZRB9MQQns5Q==", - "dev": true, - "dependencies": { - "builtins": "^5.0.0" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/vite": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/vite/-/vite-4.1.1.tgz", - "integrity": "sha512-LM9WWea8vsxhr782r9ntg+bhSFS06FJgCvvB0+8hf8UWtvaiDagKYWXndjfX6kGl74keHJUcpzrQliDXZlF5yg==", - "dev": true, - "dependencies": { - "esbuild": "^0.16.14", - "postcss": "^8.4.21", - "resolve": "^1.22.1", - "rollup": "^3.10.0" - }, - "bin": { - "vite": "bin/vite.js" - }, - "engines": { - "node": "^14.18.0 || >=16.0.0" - }, - "optionalDependencies": { - "fsevents": "~2.3.2" - }, - "peerDependencies": { - "@types/node": ">= 14", - "less": "*", - "sass": "*", - "stylus": "*", - "sugarss": "*", - "terser": "^5.4.0" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - }, - "less": { - "optional": true - }, - "sass": { - "optional": true - }, - "stylus": { - "optional": true - }, - "sugarss": { - "optional": true - }, - "terser": { - "optional": true - } - } - }, - "node_modules/vue": { - "version": "3.2.47", - "resolved": "https://registry.npmjs.org/vue/-/vue-3.2.47.tgz", - "integrity": "sha512-60188y/9Dc9WVrAZeUVSDxRQOZ+z+y5nO2ts9jWXSTkMvayiWxCWOWtBQoYjLeccfXkiiPZWAHcV+WTPhkqJHQ==", - "dependencies": { - "@vue/compiler-dom": "3.2.47", - "@vue/compiler-sfc": "3.2.47", - "@vue/runtime-dom": "3.2.47", - "@vue/server-renderer": "3.2.47", - "@vue/shared": "3.2.47" - } - }, - "node_modules/vue-demi": { - "version": "0.13.11", - "resolved": "https://registry.npmjs.org/vue-demi/-/vue-demi-0.13.11.tgz", - "integrity": "sha512-IR8HoEEGM65YY3ZJYAjMlKygDQn25D5ajNFNoKh9RSDMQtlzCxtfQjdQgv9jjK+m3377SsJXY8ysq8kLCZL25A==", - "hasInstallScript": true, - "bin": { - "vue-demi-fix": "bin/vue-demi-fix.js", - "vue-demi-switch": "bin/vue-demi-switch.js" - }, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sponsors/antfu" - }, - "peerDependencies": { - "@vue/composition-api": "^1.0.0-rc.1", - "vue": "^3.0.0-0 || ^2.6.0" - }, - "peerDependenciesMeta": { - "@vue/composition-api": { - "optional": true - } - } - }, - "node_modules/vue-eslint-parser": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/vue-eslint-parser/-/vue-eslint-parser-9.1.0.tgz", - "integrity": "sha512-NGn/iQy8/Wb7RrRa4aRkokyCZfOUWk19OP5HP6JEozQFX5AoS/t+Z0ZN7FY4LlmWc4FNI922V7cvX28zctN8dQ==", - "dev": true, - "dependencies": { - "debug": "^4.3.4", - "eslint-scope": "^7.1.1", - "eslint-visitor-keys": "^3.3.0", - "espree": "^9.3.1", - "esquery": "^1.4.0", - "lodash": "^4.17.21", - "semver": "^7.3.6" - }, - "engines": { - "node": "^14.17.0 || >=16.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/mysticatea" - }, - "peerDependencies": { - "eslint": ">=6.0.0" - } - }, - "node_modules/vue-eslint-parser/node_modules/eslint-scope": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.1.1.tgz", - "integrity": "sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw==", - "dev": true, - "dependencies": { - "esrecurse": "^4.3.0", - "estraverse": "^5.2.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "node_modules/vue-eslint-parser/node_modules/estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "dev": true, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/vue-router": { - "version": "4.1.6", - "resolved": "https://registry.npmjs.org/vue-router/-/vue-router-4.1.6.tgz", - "integrity": "sha512-DYWYwsG6xNPmLq/FmZn8Ip+qrhFEzA14EI12MsMgVxvHFDYvlr4NXpVF5hrRH1wVcDP8fGi5F4rxuJSl8/r+EQ==", - "dependencies": { - "@vue/devtools-api": "^6.4.5" - }, - "funding": { - "url": "https://github.com/sponsors/posva" - }, - "peerDependencies": { - "vue": "^3.2.0" - } - }, - "node_modules/vue-template-compiler": { - "version": "2.7.14", - "resolved": "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.7.14.tgz", - "integrity": "sha512-zyA5Y3ArvVG0NacJDkkzJuPQDF8RFeRlzV2vLeSnhSpieO6LK2OVbdLPi5MPPs09Ii+gMO8nY4S3iKQxBxDmWQ==", - "dev": true, - "dependencies": { - "de-indent": "^1.0.2", - "he": "^1.2.0" - } - }, - "node_modules/vue-tsc": { - "version": "1.0.24", - "resolved": "https://registry.npmjs.org/vue-tsc/-/vue-tsc-1.0.24.tgz", - "integrity": "sha512-mmU1s5SAqE1nByQAiQnao9oU4vX+mSdsgI8H57SfKH6UVzq/jP9+Dbi2GaV+0b4Cn361d2ln8m6xeU60ApiEXg==", - "dev": true, - "dependencies": { - "@volar/vue-language-core": "1.0.24", - "@volar/vue-typescript": "1.0.24" - }, - "bin": { - "vue-tsc": "bin/vue-tsc.js" - }, - "peerDependencies": { - "typescript": "*" - } - }, - "node_modules/walk-up-path": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/walk-up-path/-/walk-up-path-1.0.0.tgz", - "integrity": "sha512-hwj/qMDUEjCU5h0xr90KGCf0tg0/LgJbmOWgrWKYlcJZM7XvquvUJZ0G/HMGr7F7OQMOUuPHWP9JpriinkAlkg==", - "dev": true - }, - "node_modules/wcwidth": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", - "integrity": "sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==", - "dev": true, - "dependencies": { - "defaults": "^1.0.3" - } - }, - "node_modules/which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "dev": true, - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "node-which": "bin/node-which" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/which-boxed-primitive": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", - "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", - "dev": true, - "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/which-typed-array": { - "version": "1.1.9", - "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.9.tgz", - "integrity": "sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA==", - "dev": true, - "dependencies": { - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.2", - "for-each": "^0.3.3", - "gopd": "^1.0.1", - "has-tostringtag": "^1.0.0", - "is-typed-array": "^1.1.10" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/wide-align": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.5.tgz", - "integrity": "sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==", - "dev": true, - "dependencies": { - "string-width": "^1.0.2 || 2 || 3 || 4" - } - }, - "node_modules/word-wrap": { - "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==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/wordwrap": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", - "integrity": "sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==", - "dev": true - }, - "node_modules/wrap-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", - "dev": true - }, - "node_modules/write-file-atomic": { - "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==", - "dev": true, - "dependencies": { - "imurmurhash": "^0.1.4", - "signal-exit": "^3.0.7" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/write-json-file": { - "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==", - "dev": true, - "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" - }, - "engines": { - "node": ">=8.3" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/write-json-file/node_modules/is-plain-obj": { - "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==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/write-json-file/node_modules/write-file-atomic": { - "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==", - "dev": true, - "dependencies": { - "imurmurhash": "^0.1.4", - "is-typedarray": "^1.0.0", - "signal-exit": "^3.0.2", - "typedarray-to-buffer": "^3.1.5" - } - }, - "node_modules/write-pkg": { - "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==", - "dev": true, - "dependencies": { - "sort-keys": "^2.0.0", - "type-fest": "^0.4.1", - "write-json-file": "^3.2.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/write-pkg/node_modules/detect-indent": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-5.0.0.tgz", - "integrity": "sha512-rlpvsxUtM0PQvy9iZe640/IWwWYyBsTApREbA1pHOpmOUIl9MkP/U4z7vTtg4Oaojvqhxt7sdufnT0EzGaR31g==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/write-pkg/node_modules/make-dir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", - "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", - "dev": true, - "dependencies": { - "pify": "^4.0.1", - "semver": "^5.6.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/write-pkg/node_modules/pify": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", - "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/write-pkg/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true, - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/write-pkg/node_modules/sort-keys": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/sort-keys/-/sort-keys-2.0.0.tgz", - "integrity": "sha512-/dPCrG1s3ePpWm6yBbxZq5Be1dXGLyLn9Z791chDC3NFrpkVbWGzkBwPN1knaciexFXgRJ7hzdnwZ4stHSDmjg==", - "dev": true, - "dependencies": { - "is-plain-obj": "^1.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/write-pkg/node_modules/type-fest": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.4.1.tgz", - "integrity": "sha512-IwzA/LSfD2vC1/YDYMv/zHP4rDF1usCwllsDpbolT3D4fUepIO7f9K70jjmUewU/LmGUKJcwcVtDCpnKk4BPMw==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/write-pkg/node_modules/write-file-atomic": { - "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==", - "dev": true, - "dependencies": { - "graceful-fs": "^4.1.11", - "imurmurhash": "^0.1.4", - "signal-exit": "^3.0.2" - } - }, - "node_modules/write-pkg/node_modules/write-json-file": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/write-json-file/-/write-json-file-3.2.0.tgz", - "integrity": "sha512-3xZqT7Byc2uORAatYiP3DHUUAVEkNOswEWNs9H5KXiicRTvzYzYqKjYc4G7p+8pltvAw641lVByKVtMpf+4sYQ==", - "dev": true, - "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" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/xml-name-validator": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-4.0.0.tgz", - "integrity": "sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==", - "dev": true, - "engines": { - "node": ">=12" - } - }, - "node_modules/xtend": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", - "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", - "dev": true, - "engines": { - "node": ">=0.4" - } - }, - "node_modules/y18n": { - "version": "5.0.8", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/yaml": { - "version": "1.10.2", - "resolved": "https://registry.npmjs.org/yaml/-/yaml-1.10.2.tgz", - "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==", - "dev": true, - "engines": { - "node": ">= 6" - } - }, - "node_modules/yargs": { - "version": "16.2.0", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", - "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", - "dev": true, - "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" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/yargs-parser": { - "version": "20.2.4", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz", - "integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/yocto-queue": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", - "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "packages/framework": { - "version": "0.0.0", - "dependencies": { - "pinia": "^2.0.28", - "vue": "^3.2.45", - "vue-router": "^4.1.6" - }, - "devDependencies": { - "@rushstack/eslint-patch": "^1.1.4", - "@types/node": "^18.11.12", - "@vitejs/plugin-vue": "^4.0.0", - "@vue/eslint-config-prettier": "^7.0.0", - "@vue/eslint-config-typescript": "^11.0.0", - "@vue/tsconfig": "^0.1.3", - "eslint": "^8.22.0", - "eslint-plugin-vue": "^9.3.0", - "npm-run-all": "^4.1.5", - "prettier": "^2.7.1", - "typescript": "~4.7.4", - "vite": "^4.0.0", - "vue-tsc": "^1.0.12" - } - }, - "packages/modules": { - "version": "0.0.0", - "dependencies": { - "pinia": "^2.0.28", - "vue": "^3.2.45", - "vue-router": "^4.1.6" - }, - "devDependencies": { - "@rushstack/eslint-patch": "^1.1.4", - "@types/node": "^18.11.12", - "@vitejs/plugin-vue": "^4.0.0", - "@vue/eslint-config-prettier": "^7.0.0", - "@vue/eslint-config-typescript": "^11.0.0", - "@vue/tsconfig": "^0.1.3", - "eslint": "^8.22.0", - "eslint-plugin-vue": "^9.3.0", - "npm-run-all": "^4.1.5", - "prettier": "^2.7.1", - "typescript": "~4.7.4", - "vite": "^4.0.0", - "vue-tsc": "^1.0.12" - } - } - } -} diff --git a/package.json b/package.json index a6dc5ab6..eb7b4d42 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,69 @@ { - "name": "dashboard", + "name": "framework", + "version": "0.0.0", "private": true, - "workspaces": [ - "packages/*" - ], + "target": "", + "scripts": { + "serve": "vite", + "build": "run-p type-check build-only", + "preview": "vite preview", + "build-only": "vite build", + "type-check": "vue-tsc --noEmit", + "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore" + }, + "dependencies": { + "@casl/ability": "^6.3.3", + "@casl/vue": "^2.2.1", + "@cosmjs/crypto": "^0.29.5", + "@cosmjs/encoding": "^0.29.5", + "@floating-ui/dom": "^1.2.0", + "@iconify/vue": "^4.1.0", + "@intlify/unplugin-vue-i18n": "^0.8.2", + "@osmonauts/lcd": "^0.8.0", + "@ping-pub/chain-registry-client": "^0.0.25", + "@vitejs/plugin-vue-jsx": "^3.0.0", + "@vueuse/core": "^9.12.0", + "@vueuse/math": "^9.12.0", + "apexcharts": "^3.37.1", + "axios": "^1.3.2", + "cross-fetch": "^3.1.5", + "dayjs": "^1.11.7", + "long": "^5.2.1", + "md-editor-v3": "^2.8.1", + "numeral": "^2.0.6", + "osmojs": "^14.0.0-rc.0", + "pinia": "^2.0.28", + "vite-plugin-vue-layouts": "^0.7.0", + "vite-plugin-vuetify": "^1.0.2", + "vue": "^3.2.45", + "vue-i18n": "^9.2.2", + "vue-router": "^4.1.6", + "vue3-apexcharts": "^1.4.1", + "vue3-perfect-scrollbar": "^1.6.1", + "vuetify": "3.0.6", + "webfontloader": "^1.6.28" + }, "devDependencies": { + "@osmonauts/telescope": "^0.88.2", + "@rushstack/eslint-patch": "^1.1.4", + "@types/marked": "^4.0.8", + "@types/node": "^18.11.12", + "@types/numeral": "^2.0.2", "@vitejs/plugin-vue": "^4.0.0", - "lerna": "^6.4.1" + "@vue/eslint-config-prettier": "^7.0.0", + "@vue/eslint-config-typescript": "^11.0.0", + "@vue/tsconfig": "^0.1.3", + "eslint": "^8.22.0", + "eslint-plugin-vue": "^9.3.0", + "npm-run-all": "^4.1.5", + "prettier": "^2.7.1", + "sass": "^1.58.0", + "typescript": "~4.9.5", + "unplugin-auto-import": "^0.13.0", + "unplugin-vue-components": "^0.23.0", + "unplugin-vue-define-options": "1.1.4", + "vite": "^4.0.0", + "vite-plugin-pages": "^0.28.0", + "vue-tsc": "^1.0.12" } } diff --git a/packages/codegen/.telescope.json b/packages/codegen/.telescope.json deleted file mode 100644 index 100bd5e4..00000000 --- a/packages/codegen/.telescope.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "protoDirs": [ - "./proto" - ], - "outPath": "./src", - "options": { - "aminoEncoding": { - "enabled": false - }, - "lcdClients": { - "enabled": true - }, - "rpcClients": { - "enabled": true - } - } -} \ No newline at end of file diff --git a/packages/codegen/dist/amino/amino.d.ts b/packages/codegen/dist/amino/amino.d.ts deleted file mode 100644 index cb0ff5c3..00000000 --- a/packages/codegen/dist/amino/amino.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/packages/codegen/dist/amino/bundle.d.ts b/packages/codegen/dist/amino/bundle.d.ts deleted file mode 100644 index 67f7ba53..00000000 --- a/packages/codegen/dist/amino/bundle.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const amino: {}; diff --git a/packages/codegen/dist/confio/proofs.d.ts b/packages/codegen/dist/confio/proofs.d.ts deleted file mode 100644 index 492007ac..00000000 --- a/packages/codegen/dist/confio/proofs.d.ts +++ /dev/null @@ -1,439 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../helpers"; -export declare 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 declare const HashOpSDKType: typeof HashOp; -export declare function hashOpFromJSON(object: any): HashOp; -export declare function hashOpToJSON(object: HashOp): string; -/** - * 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 declare 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 declare const LengthOpSDKType: typeof LengthOp; -export declare function lengthOpFromJSON(object: any): LengthOp; -export declare function lengthOpToJSON(object: LengthOp): string; -/** - * 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; - 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; - 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; - right?: ExistenceProof; -} -/** - * 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 { - key: Uint8Array; - left?: ExistenceProofSDKType; - right?: ExistenceProofSDKType; -} -/** CommitmentProof is either an ExistenceProof or a NonExistenceProof, or a Batch of such messages */ -export interface CommitmentProof { - exist?: ExistenceProof; - nonexist?: NonExistenceProof; - batch?: BatchProof; - compressed?: CompressedBatchProof; -} -/** CommitmentProof is either an ExistenceProof or a NonExistenceProof, or a Batch of such messages */ -export interface CommitmentProofSDKType { - exist?: ExistenceProofSDKType; - nonexist?: NonExistenceProofSDKType; - batch?: BatchProofSDKType; - compressed?: CompressedBatchProofSDKType; -} -/** - * 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: HashOp; - prehash_key: HashOp; - prehash_value: HashOp; - length: LengthOp; - 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: 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; - innerSpec?: InnerSpec; - /** 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 { - leaf_spec?: LeafOpSDKType; - inner_spec?: InnerSpecSDKType; - max_depth: number; - 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: number[]; - child_size: number; - min_prefix_length: number; - max_prefix_length: number; - empty_child: Uint8Array; - hash: HashOp; -} -/** 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; - nonexist?: NonExistenceProof; -} -/** Use BatchEntry not CommitmentProof, to avoid recursion */ -export interface BatchEntrySDKType { - exist?: ExistenceProofSDKType; - nonexist?: NonExistenceProofSDKType; -} -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; - nonexist?: CompressedNonExistenceProof; -} -/** Use BatchEntry not CommitmentProof, to avoid recursion */ -export interface CompressedBatchEntrySDKType { - exist?: CompressedExistenceProofSDKType; - nonexist?: CompressedNonExistenceProofSDKType; -} -export interface CompressedExistenceProof { - key: Uint8Array; - value: Uint8Array; - leaf?: LeafOp; - /** these are indexes into the lookup_inners table in CompressedBatchProof */ - path: number[]; -} -export interface CompressedExistenceProofSDKType { - key: Uint8Array; - value: Uint8Array; - leaf?: LeafOpSDKType; - path: number[]; -} -export interface CompressedNonExistenceProof { - /** TODO: remove this as unnecessary??? we prove a range */ - key: Uint8Array; - left?: CompressedExistenceProof; - right?: CompressedExistenceProof; -} -export interface CompressedNonExistenceProofSDKType { - key: Uint8Array; - left?: CompressedExistenceProofSDKType; - right?: CompressedExistenceProofSDKType; -} -export declare const ExistenceProof: { - encode(message: ExistenceProof, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ExistenceProof; - fromPartial(object: DeepPartial): ExistenceProof; -}; -export declare const NonExistenceProof: { - encode(message: NonExistenceProof, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): NonExistenceProof; - fromPartial(object: DeepPartial): NonExistenceProof; -}; -export declare const CommitmentProof: { - encode(message: CommitmentProof, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): CommitmentProof; - fromPartial(object: DeepPartial): CommitmentProof; -}; -export declare const LeafOp: { - encode(message: LeafOp, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): LeafOp; - fromPartial(object: DeepPartial): LeafOp; -}; -export declare const InnerOp: { - encode(message: InnerOp, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): InnerOp; - fromPartial(object: DeepPartial): InnerOp; -}; -export declare const ProofSpec: { - encode(message: ProofSpec, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ProofSpec; - fromPartial(object: DeepPartial): ProofSpec; -}; -export declare const InnerSpec: { - encode(message: InnerSpec, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): InnerSpec; - fromPartial(object: DeepPartial): InnerSpec; -}; -export declare const BatchProof: { - encode(message: BatchProof, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): BatchProof; - fromPartial(object: DeepPartial): BatchProof; -}; -export declare const BatchEntry: { - encode(message: BatchEntry, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): BatchEntry; - fromPartial(object: DeepPartial): BatchEntry; -}; -export declare const CompressedBatchProof: { - encode(message: CompressedBatchProof, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): CompressedBatchProof; - fromPartial(object: DeepPartial): CompressedBatchProof; -}; -export declare const CompressedBatchEntry: { - encode(message: CompressedBatchEntry, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): CompressedBatchEntry; - fromPartial(object: DeepPartial): CompressedBatchEntry; -}; -export declare const CompressedExistenceProof: { - encode(message: CompressedExistenceProof, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): CompressedExistenceProof; - fromPartial(object: DeepPartial): CompressedExistenceProof; -}; -export declare const CompressedNonExistenceProof: { - encode(message: CompressedNonExistenceProof, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): CompressedNonExistenceProof; - fromPartial(object: DeepPartial): CompressedNonExistenceProof; -}; diff --git a/packages/codegen/dist/cosmos/app/v1alpha1/config.d.ts b/packages/codegen/dist/cosmos/app/v1alpha1/config.d.ts deleted file mode 100644 index c5277666..00000000 --- a/packages/codegen/dist/cosmos/app/v1alpha1/config.d.ts +++ /dev/null @@ -1,64 +0,0 @@ -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../helpers"; -/** - * Config represents the configuration for a Cosmos SDK ABCI app. - * It is intended that all state machine logic including the version of - * baseapp and tx handlers (and possibly even Tendermint) that an app needs - * can be described in a config object. For compatibility, the framework should - * allow a mixture of declarative and imperative app wiring, however, apps - * that strive for the maximum ease of maintainability should be able to describe - * their state machine with a config object alone. - */ -export interface Config { - /** modules are the module configurations for the app. */ - modules: ModuleConfig[]; -} -/** - * Config represents the configuration for a Cosmos SDK ABCI app. - * It is intended that all state machine logic including the version of - * baseapp and tx handlers (and possibly even Tendermint) that an app needs - * can be described in a config object. For compatibility, the framework should - * allow a mixture of declarative and imperative app wiring, however, apps - * that strive for the maximum ease of maintainability should be able to describe - * their state machine with a config object alone. - */ -export interface ConfigSDKType { - modules: ModuleConfigSDKType[]; -} -/** ModuleConfig is a module configuration for an app. */ -export interface ModuleConfig { - /** - * name is the unique name of the module within the app. It should be a name - * that persists between different versions of a module so that modules - * can be smoothly upgraded to new versions. - * - * For example, for the module cosmos.bank.module.v1.Module, we may chose - * to simply name the module "bank" in the app. When we upgrade to - * cosmos.bank.module.v2.Module, the app-specific name "bank" stays the same - * and the framework knows that the v2 module should receive all the same state - * that the v1 module had. Note: modules should provide info on which versions - * they can migrate from in the ModuleDescriptor.can_migration_from field. - */ - name: string; - /** - * config is the config object for the module. Module config messages should - * define a ModuleDescriptor using the cosmos.app.v1alpha1.is_module extension. - */ - config?: Any; -} -/** ModuleConfig is a module configuration for an app. */ -export interface ModuleConfigSDKType { - name: string; - config?: AnySDKType; -} -export declare const Config: { - encode(message: Config, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Config; - fromPartial(object: DeepPartial): Config; -}; -export declare const ModuleConfig: { - encode(message: ModuleConfig, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ModuleConfig; - fromPartial(object: DeepPartial): ModuleConfig; -}; diff --git a/packages/codegen/dist/cosmos/app/v1alpha1/module.d.ts b/packages/codegen/dist/cosmos/app/v1alpha1/module.d.ts deleted file mode 100644 index 0aea08c5..00000000 --- a/packages/codegen/dist/cosmos/app/v1alpha1/module.d.ts +++ /dev/null @@ -1,117 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../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[]; -} -/** ModuleDescriptor describes an app module. */ -export interface ModuleDescriptorSDKType { - go_import: string; - use_package: PackageReferenceSDKType[]; - can_migrate_from: MigrateFromInfoSDKType[]; -} -/** PackageReference is a reference to a protobuf package used by a module. */ -export interface PackageReference { - /** name is the fully-qualified name of the package. */ - name: string; - /** - * revision is the optional revision of the package that is being used. - * Protobuf packages used in Cosmos should generally have a major version - * as the last part of the package name, ex. foo.bar.baz.v1. - * The revision of a package can be thought of as the minor version of a - * package which has additional backwards compatible definitions that weren't - * present in a previous version. - * - * A package should indicate its revision with a source code comment - * above the package declaration in one of its 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: string; - revision: number; -} -/** - * MigrateFromInfo is information on a module version that a newer module - * can migrate from. - */ -export interface MigrateFromInfo { - /** - * module is the fully-qualified protobuf name of the module config object - * for the previous module version, ex: "cosmos.group.module.v1.Module". - */ - module: string; -} -/** - * MigrateFromInfo is information on a module version that a newer module - * can migrate from. - */ -export interface MigrateFromInfoSDKType { - module: string; -} -export declare const ModuleDescriptor: { - encode(message: ModuleDescriptor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ModuleDescriptor; - fromPartial(object: DeepPartial): ModuleDescriptor; -}; -export declare const PackageReference: { - encode(message: PackageReference, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): PackageReference; - fromPartial(object: DeepPartial): PackageReference; -}; -export declare const MigrateFromInfo: { - encode(message: MigrateFromInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MigrateFromInfo; - fromPartial(object: DeepPartial): MigrateFromInfo; -}; diff --git a/packages/codegen/dist/cosmos/app/v1alpha1/query.d.ts b/packages/codegen/dist/cosmos/app/v1alpha1/query.d.ts deleted file mode 100644 index 43d29bc1..00000000 --- a/packages/codegen/dist/cosmos/app/v1alpha1/query.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { Config, ConfigSDKType } from "./config"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../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; -} -/** QueryConfigRequest is the Query/Config response type. */ -export interface QueryConfigResponseSDKType { - config?: ConfigSDKType; -} -export declare const QueryConfigRequest: { - encode(_: QueryConfigRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConfigRequest; - fromPartial(_: DeepPartial): QueryConfigRequest; -}; -export declare const QueryConfigResponse: { - encode(message: QueryConfigResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConfigResponse; - fromPartial(object: DeepPartial): QueryConfigResponse; -}; diff --git a/packages/codegen/dist/cosmos/app/v1alpha1/query.rpc.Query.d.ts b/packages/codegen/dist/cosmos/app/v1alpha1/query.rpc.Query.d.ts deleted file mode 100644 index 5022d334..00000000 --- a/packages/codegen/dist/cosmos/app/v1alpha1/query.rpc.Query.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { QueryClient } from "@cosmjs/stargate"; -import { QueryConfigRequest, QueryConfigResponse } from "./query"; -/** Query is the app module query service. */ -export interface Query { - /** Config returns the current app config. */ - config(request?: QueryConfigRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: Rpc); - config(request?: QueryConfigRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - config(request?: QueryConfigRequest): Promise; -}; diff --git a/packages/codegen/dist/cosmos/auth/v1beta1/auth.d.ts b/packages/codegen/dist/cosmos/auth/v1beta1/auth.d.ts deleted file mode 100644 index b9357161..00000000 --- a/packages/codegen/dist/cosmos/auth/v1beta1/auth.d.ts +++ /dev/null @@ -1,69 +0,0 @@ -/// -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import { Long, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * BaseAccount defines a base account type. It contains all the necessary fields - * for basic account functionality. Any custom account type should extend this - * type for additional functionality (e.g. vesting). - */ -export interface BaseAccount { - address: string; - pubKey?: Any; - 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; - account_number: Long; - sequence: Long; -} -/** ModuleAccount defines an account for modules that holds coins on a pool. */ -export interface ModuleAccount { - baseAccount?: BaseAccount; - name: string; - permissions: string[]; -} -/** ModuleAccount defines an account for modules that holds coins on a pool. */ -export interface ModuleAccountSDKType { - base_account?: BaseAccountSDKType; - name: string; - permissions: string[]; -} -/** Params defines the parameters for the auth module. */ -export interface Params { - maxMemoCharacters: Long; - txSigLimit: Long; - txSizeCostPerByte: Long; - sigVerifyCostEd25519: Long; - sigVerifyCostSecp256k1: Long; -} -/** Params defines the parameters for the auth module. */ -export interface ParamsSDKType { - max_memo_characters: Long; - tx_sig_limit: Long; - tx_size_cost_per_byte: Long; - sig_verify_cost_ed25519: Long; - sig_verify_cost_secp256k1: Long; -} -export declare const BaseAccount: { - encode(message: BaseAccount, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): BaseAccount; - fromPartial(object: DeepPartial): BaseAccount; -}; -export declare const ModuleAccount: { - encode(message: ModuleAccount, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ModuleAccount; - fromPartial(object: DeepPartial): ModuleAccount; -}; -export declare const Params: { - encode(message: Params, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Params; - fromPartial(object: DeepPartial): Params; -}; diff --git a/packages/codegen/dist/cosmos/auth/v1beta1/genesis.d.ts b/packages/codegen/dist/cosmos/auth/v1beta1/genesis.d.ts deleted file mode 100644 index 570ed542..00000000 --- a/packages/codegen/dist/cosmos/auth/v1beta1/genesis.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { Params, ParamsSDKType } from "./auth"; -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../helpers"; -/** GenesisState defines the auth module's genesis state. */ -export interface GenesisState { - /** params defines all the paramaters of the module. */ - params?: Params; - /** accounts are the accounts present at genesis. */ - accounts: Any[]; -} -/** GenesisState defines the auth module's genesis state. */ -export interface GenesisStateSDKType { - params?: ParamsSDKType; - accounts: AnySDKType[]; -} -export declare const GenesisState: { - encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState; - fromPartial(object: DeepPartial): GenesisState; -}; diff --git a/packages/codegen/dist/cosmos/auth/v1beta1/query.d.ts b/packages/codegen/dist/cosmos/auth/v1beta1/query.d.ts deleted file mode 100644 index bfa4ddb4..00000000 --- a/packages/codegen/dist/cosmos/auth/v1beta1/query.d.ts +++ /dev/null @@ -1,205 +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"; -import { DeepPartial } from "../../../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; -} -/** - * QueryAccountsRequest is the request type for the Query/Accounts RPC method. - * - * Since: cosmos-sdk 0.43 - */ -export interface QueryAccountsRequestSDKType { - pagination?: PageRequestSDKType; -} -/** - * QueryAccountsResponse is the response type for the Query/Accounts RPC method. - * - * Since: cosmos-sdk 0.43 - */ -export interface QueryAccountsResponse { - /** accounts are the existing accounts */ - accounts: Any[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse; -} -/** - * QueryAccountsResponse is the response type for the Query/Accounts RPC method. - * - * Since: cosmos-sdk 0.43 - */ -export interface QueryAccountsResponseSDKType { - accounts: AnySDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryAccountRequest is the request type for the Query/Account RPC method. */ -export interface QueryAccountRequest { - /** address defines the address to query for. */ - address: string; -} -/** QueryAccountRequest is the request type for the Query/Account RPC method. */ -export interface QueryAccountRequestSDKType { - 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; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseSDKType { - params?: ParamsSDKType; -} -/** QueryAccountResponse is the response type for the Query/Account RPC method. */ -export interface QueryAccountResponse { - /** account defines the account of the corresponding address. */ - account?: Any; -} -/** QueryAccountResponse is the response type for the Query/Account RPC method. */ -export interface QueryAccountResponseSDKType { - account?: AnySDKType; -} -/** 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; -} -export declare const QueryAccountsRequest: { - encode(message: QueryAccountsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountsRequest; - fromPartial(object: DeepPartial): QueryAccountsRequest; -}; -export declare const QueryAccountsResponse: { - encode(message: QueryAccountsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountsResponse; - fromPartial(object: DeepPartial): QueryAccountsResponse; -}; -export declare const QueryAccountRequest: { - encode(message: QueryAccountRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountRequest; - fromPartial(object: DeepPartial): QueryAccountRequest; -}; -export declare const QueryModuleAccountsRequest: { - encode(_: QueryModuleAccountsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleAccountsRequest; - fromPartial(_: DeepPartial): QueryModuleAccountsRequest; -}; -export declare const QueryParamsResponse: { - encode(message: QueryParamsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse; - fromPartial(object: DeepPartial): QueryParamsResponse; -}; -export declare const QueryAccountResponse: { - encode(message: QueryAccountResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAccountResponse; - fromPartial(object: DeepPartial): QueryAccountResponse; -}; -export declare const QueryParamsRequest: { - encode(_: QueryParamsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest; - fromPartial(_: DeepPartial): QueryParamsRequest; -}; -export declare const QueryModuleAccountsResponse: { - encode(message: QueryModuleAccountsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleAccountsResponse; - fromPartial(object: DeepPartial): QueryModuleAccountsResponse; -}; -export declare const Bech32PrefixRequest: { - encode(_: Bech32PrefixRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Bech32PrefixRequest; - fromPartial(_: DeepPartial): Bech32PrefixRequest; -}; -export declare const Bech32PrefixResponse: { - encode(message: Bech32PrefixResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Bech32PrefixResponse; - fromPartial(object: DeepPartial): Bech32PrefixResponse; -}; -export declare const AddressBytesToStringRequest: { - encode(message: AddressBytesToStringRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): AddressBytesToStringRequest; - fromPartial(object: DeepPartial): AddressBytesToStringRequest; -}; -export declare const AddressBytesToStringResponse: { - encode(message: AddressBytesToStringResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): AddressBytesToStringResponse; - fromPartial(object: DeepPartial): AddressBytesToStringResponse; -}; -export declare const AddressStringToBytesRequest: { - encode(message: AddressStringToBytesRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): AddressStringToBytesRequest; - fromPartial(object: DeepPartial): AddressStringToBytesRequest; -}; -export declare const AddressStringToBytesResponse: { - encode(message: AddressStringToBytesResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): AddressStringToBytesResponse; - fromPartial(object: DeepPartial): AddressStringToBytesResponse; -}; diff --git a/packages/codegen/dist/cosmos/auth/v1beta1/query.lcd.d.ts b/packages/codegen/dist/cosmos/auth/v1beta1/query.lcd.d.ts deleted file mode 100644 index 810e56e8..00000000 --- a/packages/codegen/dist/cosmos/auth/v1beta1/query.lcd.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { QueryAccountsRequest, QueryAccountsResponseSDKType, QueryAccountRequest, QueryAccountResponseSDKType, QueryParamsRequest, QueryParamsResponseSDKType, QueryModuleAccountsRequest, QueryModuleAccountsResponseSDKType, Bech32PrefixRequest, Bech32PrefixResponseSDKType, AddressBytesToStringRequest, AddressBytesToStringResponseSDKType, AddressStringToBytesRequest, AddressStringToBytesResponseSDKType } from "./query"; -export declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - accounts(params?: QueryAccountsRequest): Promise; - account(params: QueryAccountRequest): Promise; - params(_params?: QueryParamsRequest): Promise; - moduleAccounts(_params?: QueryModuleAccountsRequest): Promise; - bech32Prefix(_params?: Bech32PrefixRequest): Promise; - addressBytesToString(params: AddressBytesToStringRequest): Promise; - addressStringToBytes(params: AddressStringToBytesRequest): Promise; -} diff --git a/packages/codegen/dist/cosmos/auth/v1beta1/query.rpc.Query.d.ts b/packages/codegen/dist/cosmos/auth/v1beta1/query.rpc.Query.d.ts deleted file mode 100644 index 6e3b8d77..00000000 --- a/packages/codegen/dist/cosmos/auth/v1beta1/query.rpc.Query.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { QueryClient } 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 declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: Rpc); - accounts(request?: QueryAccountsRequest): Promise; - account(request: QueryAccountRequest): Promise; - params(request?: QueryParamsRequest): Promise; - moduleAccounts(request?: QueryModuleAccountsRequest): Promise; - bech32Prefix(request?: Bech32PrefixRequest): Promise; - addressBytesToString(request: AddressBytesToStringRequest): Promise; - addressStringToBytes(request: AddressStringToBytesRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - accounts(request?: QueryAccountsRequest): Promise; - account(request: QueryAccountRequest): Promise; - params(request?: QueryParamsRequest): Promise; - moduleAccounts(request?: QueryModuleAccountsRequest): Promise; - bech32Prefix(request?: Bech32PrefixRequest): Promise; - addressBytesToString(request: AddressBytesToStringRequest): Promise; - addressStringToBytes(request: AddressStringToBytesRequest): Promise; -}; diff --git a/packages/codegen/dist/cosmos/authz/v1beta1/authz.d.ts b/packages/codegen/dist/cosmos/authz/v1beta1/authz.d.ts deleted file mode 100644 index 532dd755..00000000 --- a/packages/codegen/dist/cosmos/authz/v1beta1/authz.d.ts +++ /dev/null @@ -1,88 +0,0 @@ -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } 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: string; -} -/** - * Grant gives permissions to execute - * the provide method with expiration time. - */ -export interface Grant { - authorization?: Any; - /** - * 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; -} -/** - * Grant gives permissions to execute - * the provide method with expiration time. - */ -export interface GrantSDKType { - authorization?: AnySDKType; - expiration?: Date; -} -/** - * 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; - expiration?: Date; -} -/** - * 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; - expiration?: Date; -} -/** 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: string[]; -} -export declare const GenericAuthorization: { - encode(message: GenericAuthorization, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenericAuthorization; - fromPartial(object: DeepPartial): GenericAuthorization; -}; -export declare const Grant: { - encode(message: Grant, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Grant; - fromPartial(object: DeepPartial): Grant; -}; -export declare const GrantAuthorization: { - encode(message: GrantAuthorization, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GrantAuthorization; - fromPartial(object: DeepPartial): GrantAuthorization; -}; -export declare const GrantQueueItem: { - encode(message: GrantQueueItem, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GrantQueueItem; - fromPartial(object: DeepPartial): GrantQueueItem; -}; diff --git a/packages/codegen/dist/cosmos/authz/v1beta1/event.d.ts b/packages/codegen/dist/cosmos/authz/v1beta1/event.d.ts deleted file mode 100644 index 9bac8906..00000000 --- a/packages/codegen/dist/cosmos/authz/v1beta1/event.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../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; -} -/** EventGrant is emitted on Msg/Grant */ -export interface EventGrantSDKType { - msg_type_url: string; - granter: string; - grantee: string; -} -/** EventRevoke is emitted on Msg/Revoke */ -export interface EventRevoke { - /** Msg type URL for which an autorization is revoked */ - msgTypeUrl: string; - /** Granter account address */ - granter: string; - /** Grantee account address */ - grantee: string; -} -/** EventRevoke is emitted on Msg/Revoke */ -export interface EventRevokeSDKType { - msg_type_url: string; - granter: string; - grantee: string; -} -export declare const EventGrant: { - encode(message: EventGrant, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventGrant; - fromPartial(object: DeepPartial): EventGrant; -}; -export declare const EventRevoke: { - encode(message: EventRevoke, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventRevoke; - fromPartial(object: DeepPartial): EventRevoke; -}; diff --git a/packages/codegen/dist/cosmos/authz/v1beta1/genesis.d.ts b/packages/codegen/dist/cosmos/authz/v1beta1/genesis.d.ts deleted file mode 100644 index c17384ee..00000000 --- a/packages/codegen/dist/cosmos/authz/v1beta1/genesis.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { GrantAuthorization, GrantAuthorizationSDKType } from "./authz"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../helpers"; -/** 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[]; -} -export declare const GenesisState: { - encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState; - fromPartial(object: DeepPartial): GenesisState; -}; diff --git a/packages/codegen/dist/cosmos/authz/v1beta1/query.d.ts b/packages/codegen/dist/cosmos/authz/v1beta1/query.d.ts deleted file mode 100644 index 8d93cef8..00000000 --- a/packages/codegen/dist/cosmos/authz/v1beta1/query.d.ts +++ /dev/null @@ -1,108 +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"; -import { DeepPartial } from "../../../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; -} -/** QueryGrantsRequest is the request type for the Query/Grants RPC method. */ -export interface QueryGrantsRequestSDKType { - granter: string; - grantee: string; - msg_type_url: string; - pagination?: PageRequestSDKType; -} -/** QueryGrantsResponse is the response type for the Query/Authorizations RPC method. */ -export interface QueryGrantsResponse { - /** authorizations is a list of grants granted for grantee by granter. */ - grants: Grant[]; - /** pagination defines an pagination for the response. */ - pagination?: PageResponse; -} -/** QueryGrantsResponse is the response type for the Query/Authorizations RPC method. */ -export interface QueryGrantsResponseSDKType { - grants: GrantSDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryGranterGrantsRequest is the request type for the Query/GranterGrants RPC method. */ -export interface QueryGranterGrantsRequest { - granter: string; - /** pagination defines an pagination for the request. */ - pagination?: PageRequest; -} -/** QueryGranterGrantsRequest is the request type for the Query/GranterGrants RPC method. */ -export interface QueryGranterGrantsRequestSDKType { - granter: string; - pagination?: PageRequestSDKType; -} -/** QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method. */ -export interface QueryGranterGrantsResponse { - /** grants is a list of grants granted by the granter. */ - grants: GrantAuthorization[]; - /** pagination defines an pagination for the response. */ - pagination?: PageResponse; -} -/** QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method. */ -export interface QueryGranterGrantsResponseSDKType { - grants: GrantAuthorizationSDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryGranteeGrantsRequest is the request type for the Query/IssuedGrants RPC method. */ -export interface QueryGranteeGrantsRequest { - grantee: string; - /** pagination defines an pagination for the request. */ - pagination?: PageRequest; -} -/** QueryGranteeGrantsRequest is the request type for the Query/IssuedGrants RPC method. */ -export interface QueryGranteeGrantsRequestSDKType { - grantee: string; - pagination?: PageRequestSDKType; -} -/** QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method. */ -export interface QueryGranteeGrantsResponse { - /** grants is a list of grants granted to the grantee. */ - grants: GrantAuthorization[]; - /** pagination defines an pagination for the response. */ - pagination?: PageResponse; -} -/** QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method. */ -export interface QueryGranteeGrantsResponseSDKType { - grants: GrantAuthorizationSDKType[]; - pagination?: PageResponseSDKType; -} -export declare const QueryGrantsRequest: { - encode(message: QueryGrantsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGrantsRequest; - fromPartial(object: DeepPartial): QueryGrantsRequest; -}; -export declare const QueryGrantsResponse: { - encode(message: QueryGrantsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGrantsResponse; - fromPartial(object: DeepPartial): QueryGrantsResponse; -}; -export declare const QueryGranterGrantsRequest: { - encode(message: QueryGranterGrantsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranterGrantsRequest; - fromPartial(object: DeepPartial): QueryGranterGrantsRequest; -}; -export declare const QueryGranterGrantsResponse: { - encode(message: QueryGranterGrantsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranterGrantsResponse; - fromPartial(object: DeepPartial): QueryGranterGrantsResponse; -}; -export declare const QueryGranteeGrantsRequest: { - encode(message: QueryGranteeGrantsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranteeGrantsRequest; - fromPartial(object: DeepPartial): QueryGranteeGrantsRequest; -}; -export declare const QueryGranteeGrantsResponse: { - encode(message: QueryGranteeGrantsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGranteeGrantsResponse; - fromPartial(object: DeepPartial): QueryGranteeGrantsResponse; -}; diff --git a/packages/codegen/dist/cosmos/authz/v1beta1/query.lcd.d.ts b/packages/codegen/dist/cosmos/authz/v1beta1/query.lcd.d.ts deleted file mode 100644 index 7e4f0a08..00000000 --- a/packages/codegen/dist/cosmos/authz/v1beta1/query.lcd.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { QueryGrantsRequest, QueryGrantsResponseSDKType, QueryGranterGrantsRequest, QueryGranterGrantsResponseSDKType, QueryGranteeGrantsRequest, QueryGranteeGrantsResponseSDKType } from "./query"; -export declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - grants(params: QueryGrantsRequest): Promise; - granterGrants(params: QueryGranterGrantsRequest): Promise; - granteeGrants(params: QueryGranteeGrantsRequest): Promise; -} diff --git a/packages/codegen/dist/cosmos/authz/v1beta1/query.rpc.Query.d.ts b/packages/codegen/dist/cosmos/authz/v1beta1/query.rpc.Query.d.ts deleted file mode 100644 index d7f1381d..00000000 --- a/packages/codegen/dist/cosmos/authz/v1beta1/query.rpc.Query.d.ts +++ /dev/null @@ -1,32 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { QueryClient } from "@cosmjs/stargate"; -import { QueryGrantsRequest, QueryGrantsResponse, QueryGranterGrantsRequest, QueryGranterGrantsResponse, QueryGranteeGrantsRequest, QueryGranteeGrantsResponse } from "./query"; -/** Query defines the gRPC querier service. */ -export interface Query { - /** Returns list of `Authorization`, granted to the grantee by the granter. */ - grants(request: QueryGrantsRequest): Promise; - /** - * GranterGrants returns list of `GrantAuthorization`, granted by granter. - * - * Since: cosmos-sdk 0.46 - */ - granterGrants(request: QueryGranterGrantsRequest): Promise; - /** - * GranteeGrants returns a list of `GrantAuthorization` by grantee. - * - * Since: cosmos-sdk 0.46 - */ - granteeGrants(request: QueryGranteeGrantsRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: Rpc); - grants(request: QueryGrantsRequest): Promise; - granterGrants(request: QueryGranterGrantsRequest): Promise; - granteeGrants(request: QueryGranteeGrantsRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - grants(request: QueryGrantsRequest): Promise; - granterGrants(request: QueryGranterGrantsRequest): Promise; - granteeGrants(request: QueryGranteeGrantsRequest): Promise; -}; diff --git a/packages/codegen/dist/cosmos/authz/v1beta1/tx.d.ts b/packages/codegen/dist/cosmos/authz/v1beta1/tx.d.ts deleted file mode 100644 index a5fc1f48..00000000 --- a/packages/codegen/dist/cosmos/authz/v1beta1/tx.d.ts +++ /dev/null @@ -1,113 +0,0 @@ -import { Grant, GrantSDKType } from "./authz"; -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../helpers"; -/** - * MsgGrant is a request type for Grant method. It declares authorization to the grantee - * on behalf of the granter with the provided expiration time. - */ -export interface MsgGrant { - granter: string; - grantee: string; - grant?: Grant; -} -/** - * MsgGrant is a request type for Grant method. It declares authorization to the grantee - * on behalf of the granter with the provided expiration time. - */ -export interface MsgGrantSDKType { - granter: string; - grantee: string; - grant?: GrantSDKType; -} -/** MsgExecResponse defines the Msg/MsgExecResponse response type. */ -export interface MsgExecResponse { - results: Uint8Array[]; -} -/** 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; - 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 { -} -export declare const MsgGrant: { - encode(message: MsgGrant, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrant; - fromPartial(object: DeepPartial): MsgGrant; -}; -export declare const MsgExecResponse: { - encode(message: MsgExecResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecResponse; - fromPartial(object: DeepPartial): MsgExecResponse; -}; -export declare const MsgExec: { - encode(message: MsgExec, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgExec; - fromPartial(object: DeepPartial): MsgExec; -}; -export declare const MsgGrantResponse: { - encode(_: MsgGrantResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrantResponse; - fromPartial(_: DeepPartial): MsgGrantResponse; -}; -export declare const MsgRevoke: { - encode(message: MsgRevoke, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevoke; - fromPartial(object: DeepPartial): MsgRevoke; -}; -export declare const MsgRevokeResponse: { - encode(_: MsgRevokeResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevokeResponse; - fromPartial(_: DeepPartial): MsgRevokeResponse; -}; diff --git a/packages/codegen/dist/cosmos/authz/v1beta1/tx.rpc.msg.d.ts b/packages/codegen/dist/cosmos/authz/v1beta1/tx.rpc.msg.d.ts deleted file mode 100644 index 3bcce35a..00000000 --- a/packages/codegen/dist/cosmos/authz/v1beta1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { MsgGrant, MsgGrantResponse, MsgExec, MsgExecResponse, MsgRevoke, MsgRevokeResponse } from "./tx"; -/** Msg defines the authz Msg service. */ -export interface Msg { - /** - * Grant grants the provided authorization to the grantee on the granter's - * account with the provided expiration time. If there is already a grant - * for the given (granter, grantee, Authorization) triple, then the grant - * will be overwritten. - */ - grant(request: MsgGrant): Promise; - /** - * Exec attempts to execute the provided messages using - * authorizations granted to the grantee. Each message should have only - * one signer corresponding to the granter of the authorization. - */ - exec(request: MsgExec): Promise; - /** - * Revoke revokes any authorization corresponding to the provided method name on the - * granter's account that has been granted to the grantee. - */ - revoke(request: MsgRevoke): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: Rpc); - grant(request: MsgGrant): Promise; - exec(request: MsgExec): Promise; - revoke(request: MsgRevoke): Promise; -} diff --git a/packages/codegen/dist/cosmos/bank/v1beta1/authz.d.ts b/packages/codegen/dist/cosmos/bank/v1beta1/authz.d.ts deleted file mode 100644 index 34bfd718..00000000 --- a/packages/codegen/dist/cosmos/bank/v1beta1/authz.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../helpers"; -/** - * 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[]; -} -export declare const SendAuthorization: { - encode(message: SendAuthorization, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SendAuthorization; - fromPartial(object: DeepPartial): SendAuthorization; -}; diff --git a/packages/codegen/dist/cosmos/bank/v1beta1/bank.d.ts b/packages/codegen/dist/cosmos/bank/v1beta1/bank.d.ts deleted file mode 100644 index 47e94746..00000000 --- a/packages/codegen/dist/cosmos/bank/v1beta1/bank.d.ts +++ /dev/null @@ -1,185 +0,0 @@ -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../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. - * 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: string; - exponent: number; - aliases: string[]; -} -/** - * Metadata represents a struct that describes - * a basic token. - */ -export interface Metadata { - description: string; - /** denom_units represents the list of DenomUnit's for a given coin */ - denomUnits: DenomUnit[]; - /** base represents the base denom (should be the DenomUnit with exponent = 0). */ - base: string; - /** - * display indicates the suggested denom that should be - * displayed in clients. - */ - display: string; - /** - * name defines the name of the token (eg: Cosmos Atom) - * - * Since: cosmos-sdk 0.43 - */ - name: string; - /** - * symbol is the token symbol usually shown on exchanges (eg: ATOM). This can - * be the same as the display. - * - * Since: cosmos-sdk 0.43 - */ - symbol: string; - /** - * URI to a document (on or off-chain) that contains additional information. Optional. - * - * Since: cosmos-sdk 0.46 - */ - uri: string; - /** - * URIHash is a sha256 hash of a document pointed by URI. It's used to verify that - * the document didn't change. Optional. - * - * Since: cosmos-sdk 0.46 - */ - uriHash: string; -} -/** - * Metadata represents a struct that describes - * a basic token. - */ -export interface MetadataSDKType { - description: string; - denom_units: DenomUnitSDKType[]; - base: string; - display: string; - name: string; - symbol: string; - uri: string; - uri_hash: string; -} -export declare const Params: { - encode(message: Params, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Params; - fromPartial(object: DeepPartial): Params; -}; -export declare const SendEnabled: { - encode(message: SendEnabled, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SendEnabled; - fromPartial(object: DeepPartial): SendEnabled; -}; -export declare const Input: { - encode(message: Input, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Input; - fromPartial(object: DeepPartial): Input; -}; -export declare const Output: { - encode(message: Output, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Output; - fromPartial(object: DeepPartial): Output; -}; -export declare const Supply: { - encode(message: Supply, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Supply; - fromPartial(object: DeepPartial): Supply; -}; -export declare const DenomUnit: { - encode(message: DenomUnit, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DenomUnit; - fromPartial(object: DeepPartial): DenomUnit; -}; -export declare const Metadata: { - encode(message: Metadata, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Metadata; - fromPartial(object: DeepPartial): Metadata; -}; diff --git a/packages/codegen/dist/cosmos/bank/v1beta1/genesis.d.ts b/packages/codegen/dist/cosmos/bank/v1beta1/genesis.d.ts deleted file mode 100644 index 9c967806..00000000 --- a/packages/codegen/dist/cosmos/bank/v1beta1/genesis.d.ts +++ /dev/null @@ -1,53 +0,0 @@ -import { Params, ParamsSDKType, Metadata, MetadataSDKType } from "./bank"; -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../helpers"; -/** GenesisState defines the bank module's genesis state. */ -export interface GenesisState { - /** params defines all the paramaters of the module. */ - params?: Params; - /** balances is an array containing the balances of all the accounts. */ - balances: Balance[]; - /** - * supply represents the total supply. If it is left empty, then supply will be calculated based on the provided - * balances. Otherwise, it will be used to validate that the sum of the balances equals this amount. - */ - supply: Coin[]; - /** denom_metadata defines the metadata of the differents coins. */ - denomMetadata: Metadata[]; -} -/** GenesisState defines the bank module's genesis state. */ -export interface GenesisStateSDKType { - params?: ParamsSDKType; - balances: BalanceSDKType[]; - supply: CoinSDKType[]; - denom_metadata: MetadataSDKType[]; -} -/** - * Balance defines an account address and balance pair used in the bank module's - * genesis state. - */ -export interface Balance { - /** address is the address of the balance holder. */ - address: string; - /** coins defines the different coins this balance holds. */ - coins: Coin[]; -} -/** - * Balance defines an account address and balance pair used in the bank module's - * genesis state. - */ -export interface BalanceSDKType { - address: string; - coins: CoinSDKType[]; -} -export declare const GenesisState: { - encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState; - fromPartial(object: DeepPartial): GenesisState; -}; -export declare const Balance: { - encode(message: Balance, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Balance; - fromPartial(object: DeepPartial): Balance; -}; diff --git a/packages/codegen/dist/cosmos/bank/v1beta1/query.d.ts b/packages/codegen/dist/cosmos/bank/v1beta1/query.d.ts deleted file mode 100644 index 0998895e..00000000 --- a/packages/codegen/dist/cosmos/bank/v1beta1/query.d.ts +++ /dev/null @@ -1,362 +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"; -import { DeepPartial } from "../../../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: string; - denom: string; -} -/** QueryBalanceResponse is the response type for the Query/Balance RPC method. */ -export interface QueryBalanceResponse { - /** balance is the balance of the coin. */ - balance?: Coin; -} -/** QueryBalanceResponse is the response type for the Query/Balance RPC method. */ -export interface QueryBalanceResponseSDKType { - balance?: CoinSDKType; -} -/** QueryBalanceRequest is the request type for the Query/AllBalances RPC method. */ -export interface QueryAllBalancesRequest { - /** address is the address to query balances for. */ - address: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest; -} -/** QueryBalanceRequest is the request type for the Query/AllBalances RPC method. */ -export interface QueryAllBalancesRequestSDKType { - address: string; - pagination?: PageRequestSDKType; -} -/** - * QueryAllBalancesResponse is the response type for the Query/AllBalances RPC - * method. - */ -export interface QueryAllBalancesResponse { - /** balances is the balances of all the coins. */ - balances: Coin[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse; -} -/** - * QueryAllBalancesResponse is the response type for the Query/AllBalances RPC - * method. - */ -export interface QueryAllBalancesResponseSDKType { - balances: CoinSDKType[]; - pagination?: PageResponseSDKType; -} -/** - * QuerySpendableBalancesRequest defines the gRPC request structure for querying - * an account's spendable balances. - */ -export interface QuerySpendableBalancesRequest { - /** address is the address to query spendable balances for. */ - address: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest; -} -/** - * QuerySpendableBalancesRequest defines the gRPC request structure for querying - * an account's spendable balances. - */ -export interface QuerySpendableBalancesRequestSDKType { - address: string; - pagination?: PageRequestSDKType; -} -/** - * 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; -} -/** - * QuerySpendableBalancesResponse defines the gRPC response structure for querying - * an account's spendable balances. - */ -export interface QuerySpendableBalancesResponseSDKType { - balances: CoinSDKType[]; - pagination?: PageResponseSDKType; -} -/** - * QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC - * method. - */ -export interface QueryTotalSupplyRequest { - /** - * pagination defines an optional pagination for the request. - * - * Since: cosmos-sdk 0.43 - */ - pagination?: PageRequest; -} -/** - * QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC - * method. - */ -export interface QueryTotalSupplyRequestSDKType { - pagination?: PageRequestSDKType; -} -/** - * QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC - * method - */ -export interface QueryTotalSupplyResponse { - /** supply is the supply of the coins */ - supply: Coin[]; - /** - * pagination defines the pagination in the response. - * - * Since: cosmos-sdk 0.43 - */ - pagination?: PageResponse; -} -/** - * QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC - * method - */ -export interface QueryTotalSupplyResponseSDKType { - supply: CoinSDKType[]; - pagination?: PageResponseSDKType; -} -/** QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method. */ -export interface QuerySupplyOfRequest { - /** denom is the coin denom to query balances for. */ - denom: string; -} -/** QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method. */ -export interface QuerySupplyOfRequestSDKType { - denom: string; -} -/** QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method. */ -export interface QuerySupplyOfResponse { - /** amount is the supply of the coin. */ - amount?: Coin; -} -/** QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method. */ -export interface QuerySupplyOfResponseSDKType { - amount?: CoinSDKType; -} -/** QueryParamsRequest defines the request type for querying x/bank parameters. */ -export interface QueryParamsRequest { -} -/** 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; -} -/** QueryParamsResponse defines the response type for querying x/bank parameters. */ -export interface QueryParamsResponseSDKType { - params?: ParamsSDKType; -} -/** QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method. */ -export interface QueryDenomsMetadataRequest { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest; -} -/** QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method. */ -export interface QueryDenomsMetadataRequestSDKType { - pagination?: PageRequestSDKType; -} -/** - * QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC - * method. - */ -export interface QueryDenomsMetadataResponse { - /** metadata provides the client information for all the registered tokens. */ - metadatas: Metadata[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse; -} -/** - * QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC - * method. - */ -export interface QueryDenomsMetadataResponseSDKType { - metadatas: MetadataSDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryDenomMetadataRequest is the request type for the Query/DenomMetadata RPC method. */ -export interface QueryDenomMetadataRequest { - /** denom is the coin denom to query the metadata for. */ - denom: string; -} -/** QueryDenomMetadataRequest is the request type for the Query/DenomMetadata RPC method. */ -export interface QueryDenomMetadataRequestSDKType { - denom: string; -} -/** - * QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC - * method. - */ -export interface QueryDenomMetadataResponse { - /** metadata describes and provides all the client information for the requested token. */ - metadata?: Metadata; -} -/** - * QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC - * method. - */ -export interface QueryDenomMetadataResponseSDKType { - metadata?: MetadataSDKType; -} -/** - * QueryDenomOwnersRequest defines the request type for the DenomOwners RPC query, - * which queries for a paginated set of all account holders of a particular - * denomination. - */ -export interface QueryDenomOwnersRequest { - /** denom defines the coin denomination to query all account holders for. */ - denom: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest; -} -/** - * QueryDenomOwnersRequest defines the request type for the DenomOwners RPC query, - * which queries for a paginated set of all account holders of a particular - * denomination. - */ -export interface QueryDenomOwnersRequestSDKType { - denom: string; - pagination?: PageRequestSDKType; -} -/** - * DenomOwner defines structure representing an account that owns or holds a - * particular denominated token. It contains the account address and account - * balance of the denominated token. - */ -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; -} -/** - * 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: string; - balance?: CoinSDKType; -} -/** QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query. */ -export interface QueryDenomOwnersResponse { - denomOwners: DenomOwner[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse; -} -/** QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query. */ -export interface QueryDenomOwnersResponseSDKType { - denom_owners: DenomOwnerSDKType[]; - pagination?: PageResponseSDKType; -} -export declare const QueryBalanceRequest: { - encode(message: QueryBalanceRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceRequest; - fromPartial(object: DeepPartial): QueryBalanceRequest; -}; -export declare const QueryBalanceResponse: { - encode(message: QueryBalanceResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceResponse; - fromPartial(object: DeepPartial): QueryBalanceResponse; -}; -export declare const QueryAllBalancesRequest: { - encode(message: QueryAllBalancesRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllBalancesRequest; - fromPartial(object: DeepPartial): QueryAllBalancesRequest; -}; -export declare const QueryAllBalancesResponse: { - encode(message: QueryAllBalancesResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllBalancesResponse; - fromPartial(object: DeepPartial): QueryAllBalancesResponse; -}; -export declare const QuerySpendableBalancesRequest: { - encode(message: QuerySpendableBalancesRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySpendableBalancesRequest; - fromPartial(object: DeepPartial): QuerySpendableBalancesRequest; -}; -export declare const QuerySpendableBalancesResponse: { - encode(message: QuerySpendableBalancesResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySpendableBalancesResponse; - fromPartial(object: DeepPartial): QuerySpendableBalancesResponse; -}; -export declare const QueryTotalSupplyRequest: { - encode(message: QueryTotalSupplyRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTotalSupplyRequest; - fromPartial(object: DeepPartial): QueryTotalSupplyRequest; -}; -export declare const QueryTotalSupplyResponse: { - encode(message: QueryTotalSupplyResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTotalSupplyResponse; - fromPartial(object: DeepPartial): QueryTotalSupplyResponse; -}; -export declare const QuerySupplyOfRequest: { - encode(message: QuerySupplyOfRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyOfRequest; - fromPartial(object: DeepPartial): QuerySupplyOfRequest; -}; -export declare const QuerySupplyOfResponse: { - encode(message: QuerySupplyOfResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyOfResponse; - fromPartial(object: DeepPartial): QuerySupplyOfResponse; -}; -export declare const QueryParamsRequest: { - encode(_: QueryParamsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest; - fromPartial(_: DeepPartial): QueryParamsRequest; -}; -export declare const QueryParamsResponse: { - encode(message: QueryParamsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse; - fromPartial(object: DeepPartial): QueryParamsResponse; -}; -export declare const QueryDenomsMetadataRequest: { - encode(message: QueryDenomsMetadataRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomsMetadataRequest; - fromPartial(object: DeepPartial): QueryDenomsMetadataRequest; -}; -export declare const QueryDenomsMetadataResponse: { - encode(message: QueryDenomsMetadataResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomsMetadataResponse; - fromPartial(object: DeepPartial): QueryDenomsMetadataResponse; -}; -export declare const QueryDenomMetadataRequest: { - encode(message: QueryDenomMetadataRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomMetadataRequest; - fromPartial(object: DeepPartial): QueryDenomMetadataRequest; -}; -export declare const QueryDenomMetadataResponse: { - encode(message: QueryDenomMetadataResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomMetadataResponse; - fromPartial(object: DeepPartial): QueryDenomMetadataResponse; -}; -export declare const QueryDenomOwnersRequest: { - encode(message: QueryDenomOwnersRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomOwnersRequest; - fromPartial(object: DeepPartial): QueryDenomOwnersRequest; -}; -export declare const DenomOwner: { - encode(message: DenomOwner, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DenomOwner; - fromPartial(object: DeepPartial): DenomOwner; -}; -export declare const QueryDenomOwnersResponse: { - encode(message: QueryDenomOwnersResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomOwnersResponse; - fromPartial(object: DeepPartial): QueryDenomOwnersResponse; -}; diff --git a/packages/codegen/dist/cosmos/bank/v1beta1/query.lcd.d.ts b/packages/codegen/dist/cosmos/bank/v1beta1/query.lcd.d.ts deleted file mode 100644 index 49fe501e..00000000 --- a/packages/codegen/dist/cosmos/bank/v1beta1/query.lcd.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { QueryBalanceRequest, QueryBalanceResponseSDKType, QueryAllBalancesRequest, QueryAllBalancesResponseSDKType, QuerySpendableBalancesRequest, QuerySpendableBalancesResponseSDKType, QueryTotalSupplyRequest, QueryTotalSupplyResponseSDKType, QuerySupplyOfRequest, QuerySupplyOfResponseSDKType, QueryParamsRequest, QueryParamsResponseSDKType, QueryDenomMetadataRequest, QueryDenomMetadataResponseSDKType, QueryDenomsMetadataRequest, QueryDenomsMetadataResponseSDKType, QueryDenomOwnersRequest, QueryDenomOwnersResponseSDKType } from "./query"; -export declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - balance(params: QueryBalanceRequest): Promise; - allBalances(params: QueryAllBalancesRequest): Promise; - spendableBalances(params: QuerySpendableBalancesRequest): Promise; - totalSupply(params?: QueryTotalSupplyRequest): Promise; - supplyOf(params: QuerySupplyOfRequest): Promise; - params(_params?: QueryParamsRequest): Promise; - denomMetadata(params: QueryDenomMetadataRequest): Promise; - denomsMetadata(params?: QueryDenomsMetadataRequest): Promise; - denomOwners(params: QueryDenomOwnersRequest): Promise; -} diff --git a/packages/codegen/dist/cosmos/bank/v1beta1/query.rpc.Query.d.ts b/packages/codegen/dist/cosmos/bank/v1beta1/query.rpc.Query.d.ts deleted file mode 100644 index d746df09..00000000 --- a/packages/codegen/dist/cosmos/bank/v1beta1/query.rpc.Query.d.ts +++ /dev/null @@ -1,57 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { QueryClient } from "@cosmjs/stargate"; -import { QueryBalanceRequest, QueryBalanceResponse, QueryAllBalancesRequest, QueryAllBalancesResponse, QuerySpendableBalancesRequest, QuerySpendableBalancesResponse, QueryTotalSupplyRequest, QueryTotalSupplyResponse, QuerySupplyOfRequest, QuerySupplyOfResponse, QueryParamsRequest, QueryParamsResponse, QueryDenomMetadataRequest, QueryDenomMetadataResponse, QueryDenomsMetadataRequest, QueryDenomsMetadataResponse, QueryDenomOwnersRequest, QueryDenomOwnersResponse } from "./query"; -/** Query defines the gRPC querier service. */ -export interface Query { - /** Balance queries the balance of a single coin for a single account. */ - balance(request: QueryBalanceRequest): Promise; - /** AllBalances queries the balance of all coins for a single account. */ - allBalances(request: QueryAllBalancesRequest): Promise; - /** - * SpendableBalances queries the spenable balance of all coins for a single - * account. - */ - 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 declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: Rpc); - balance(request: QueryBalanceRequest): Promise; - allBalances(request: QueryAllBalancesRequest): Promise; - spendableBalances(request: QuerySpendableBalancesRequest): Promise; - totalSupply(request?: QueryTotalSupplyRequest): Promise; - supplyOf(request: QuerySupplyOfRequest): Promise; - params(request?: QueryParamsRequest): Promise; - denomMetadata(request: QueryDenomMetadataRequest): Promise; - denomsMetadata(request?: QueryDenomsMetadataRequest): Promise; - denomOwners(request: QueryDenomOwnersRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - balance(request: QueryBalanceRequest): Promise; - allBalances(request: QueryAllBalancesRequest): Promise; - spendableBalances(request: QuerySpendableBalancesRequest): Promise; - totalSupply(request?: QueryTotalSupplyRequest): Promise; - supplyOf(request: QuerySupplyOfRequest): Promise; - params(request?: QueryParamsRequest): Promise; - denomMetadata(request: QueryDenomMetadataRequest): Promise; - denomsMetadata(request?: QueryDenomsMetadataRequest): Promise; - denomOwners(request: QueryDenomOwnersRequest): Promise; -}; diff --git a/packages/codegen/dist/cosmos/bank/v1beta1/tx.d.ts b/packages/codegen/dist/cosmos/bank/v1beta1/tx.d.ts deleted file mode 100644 index d10ec379..00000000 --- a/packages/codegen/dist/cosmos/bank/v1beta1/tx.d.ts +++ /dev/null @@ -1,58 +0,0 @@ -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import { Input, InputSDKType, Output, OutputSDKType } from "./bank"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../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 { -} -export declare const MsgSend: { - encode(message: MsgSend, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSend; - fromPartial(object: DeepPartial): MsgSend; -}; -export declare const MsgSendResponse: { - encode(_: MsgSendResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSendResponse; - fromPartial(_: DeepPartial): MsgSendResponse; -}; -export declare const MsgMultiSend: { - encode(message: MsgMultiSend, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgMultiSend; - fromPartial(object: DeepPartial): MsgMultiSend; -}; -export declare const MsgMultiSendResponse: { - encode(_: MsgMultiSendResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgMultiSendResponse; - fromPartial(_: DeepPartial): MsgMultiSendResponse; -}; diff --git a/packages/codegen/dist/cosmos/bank/v1beta1/tx.rpc.msg.d.ts b/packages/codegen/dist/cosmos/bank/v1beta1/tx.rpc.msg.d.ts deleted file mode 100644 index ac12e6ab..00000000 --- a/packages/codegen/dist/cosmos/bank/v1beta1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { MsgSend, MsgSendResponse, MsgMultiSend, MsgMultiSendResponse } from "./tx"; -/** Msg defines the bank Msg service. */ -export interface Msg { - /** Send defines a method for sending coins from one account to another account. */ - send(request: MsgSend): Promise; - /** MultiSend defines a method for sending coins from some accounts to other accounts. */ - multiSend(request: MsgMultiSend): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: Rpc); - send(request: MsgSend): Promise; - multiSend(request: MsgMultiSend): Promise; -} diff --git a/packages/codegen/dist/cosmos/base/abci/v1beta1/abci.d.ts b/packages/codegen/dist/cosmos/base/abci/v1beta1/abci.d.ts deleted file mode 100644 index d83cf951..00000000 --- a/packages/codegen/dist/cosmos/base/abci/v1beta1/abci.d.ts +++ /dev/null @@ -1,294 +0,0 @@ -/// -import { Any, AnySDKType } from "../../../../google/protobuf/any"; -import { Event, EventSDKType } from "../../../../tendermint/abci/types"; -import { Long, DeepPartial } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * TxResponse defines a structure containing relevant tx data and metadata. The - * tags are stringified and the log is JSON decoded. - */ -export interface TxResponse { - /** The block height */ - height: Long; - /** The transaction hash. */ - txhash: string; - /** Namespace for the Code */ - codespace: string; - /** Response code. */ - code: number; - /** Result bytes, if any. */ - data: string; - /** - * The output of the application's logger (raw string). May be - * non-deterministic. - */ - rawLog: string; - /** The output of the application's logger (typed). May be non-deterministic. */ - logs: ABCIMessageLog[]; - /** Additional information. May be non-deterministic. */ - info: string; - /** Amount of gas requested for transaction. */ - gasWanted: Long; - /** Amount of gas consumed by transaction. */ - gasUsed: Long; - /** The request transaction bytes. */ - tx?: Any; - /** - * Time of the previous block. For heights > 1, it's the weighted median of - * the timestamps of the valid votes in the block.LastCommit. For height == 1, - * it's genesis time. - */ - timestamp: string; - /** - * Events defines all the events emitted by processing a transaction. Note, - * these events include those emitted by processing all the messages and those - * emitted from the ante 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 { - height: Long; - txhash: string; - codespace: string; - code: number; - data: string; - raw_log: string; - logs: ABCIMessageLogSDKType[]; - info: string; - gas_wanted: Long; - gas_used: Long; - tx?: AnySDKType; - timestamp: string; - events: EventSDKType[]; -} -/** ABCIMessageLog defines a structure containing an indexed tx ABCI message log. */ -export interface ABCIMessageLog { - msgIndex: number; - log: string; - /** - * Events contains a slice of Event objects that were emitted during some - * execution. - */ - events: StringEvent[]; -} -/** ABCIMessageLog defines a structure containing an indexed tx ABCI message log. */ -export interface ABCIMessageLogSDKType { - msg_index: number; - log: string; - events: StringEventSDKType[]; -} -/** - * StringEvent defines en Event object wrapper where all the attributes - * contain key/value pairs that are strings instead of raw bytes. - */ -export interface StringEvent { - type: string; - attributes: Attribute[]; -} -/** - * 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 { - gas_wanted: Long; - gas_used: Long; -} -/** Result is the union of ResponseFormat and ResponseCheckTx. */ -export interface Result { - /** - * Data is any data returned from message or handler execution. It MUST be - * length prefixed in order to separate data from multiple message executions. - * Deprecated. This field is still populated, but prefer msg_response instead - * because it also contains the Msg response typeURL. - */ - /** @deprecated */ - data: Uint8Array; - /** Log contains the log information from message or handler execution. */ - log: string; - /** - * Events contains a slice of Event objects that were emitted during message - * or handler execution. - */ - events: Event[]; - /** - * msg_responses contains the Msg handler responses type packed in Anys. - * - * Since: cosmos-sdk 0.46 - */ - msgResponses: Any[]; -} -/** Result is the union of ResponseFormat and ResponseCheckTx. */ -export interface ResultSDKType { - /** @deprecated */ - data: Uint8Array; - log: string; - events: EventSDKType[]; - msg_responses: AnySDKType[]; -} -/** - * SimulationResponse defines the response generated when a transaction is - * successfully simulated. - */ -export interface SimulationResponse { - gasInfo?: GasInfo; - result?: Result; -} -/** - * SimulationResponse defines the response generated when a transaction is - * successfully simulated. - */ -export interface SimulationResponseSDKType { - gas_info?: GasInfoSDKType; - result?: ResultSDKType; -} -/** - * MsgData defines the data returned in a Result object during message - * execution. - */ -/** @deprecated */ -export interface MsgData { - msgType: string; - data: Uint8Array; -} -/** - * 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 { - /** @deprecated */ - data: MsgDataSDKType[]; - msg_responses: AnySDKType[]; -} -/** SearchTxsResult defines a structure for querying txs pageable */ -export interface SearchTxsResult { - /** Count of all txs */ - totalCount: Long; - /** Count of txs in current page */ - count: Long; - /** Index of current page, start from 1 */ - pageNumber: Long; - /** Count of total pages */ - pageTotal: Long; - /** Max count txs per page */ - limit: Long; - /** List of txs in current page */ - txs: TxResponse[]; -} -/** SearchTxsResult defines a structure for querying txs pageable */ -export interface SearchTxsResultSDKType { - total_count: Long; - count: Long; - page_number: Long; - page_total: Long; - limit: Long; - txs: TxResponseSDKType[]; -} -export declare const TxResponse: { - encode(message: TxResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): TxResponse; - fromPartial(object: DeepPartial): TxResponse; -}; -export declare const ABCIMessageLog: { - encode(message: ABCIMessageLog, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ABCIMessageLog; - fromPartial(object: DeepPartial): ABCIMessageLog; -}; -export declare const StringEvent: { - encode(message: StringEvent, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): StringEvent; - fromPartial(object: DeepPartial): StringEvent; -}; -export declare const Attribute: { - encode(message: Attribute, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Attribute; - fromPartial(object: DeepPartial): Attribute; -}; -export declare const GasInfo: { - encode(message: GasInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GasInfo; - fromPartial(object: DeepPartial): GasInfo; -}; -export declare const Result: { - encode(message: Result, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Result; - fromPartial(object: DeepPartial): Result; -}; -export declare const SimulationResponse: { - encode(message: SimulationResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SimulationResponse; - fromPartial(object: DeepPartial): SimulationResponse; -}; -export declare const MsgData: { - encode(message: MsgData, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgData; - fromPartial(object: DeepPartial): MsgData; -}; -export declare const TxMsgData: { - encode(message: TxMsgData, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): TxMsgData; - fromPartial(object: DeepPartial): TxMsgData; -}; -export declare const SearchTxsResult: { - encode(message: SearchTxsResult, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SearchTxsResult; - fromPartial(object: DeepPartial): SearchTxsResult; -}; diff --git a/packages/codegen/dist/cosmos/base/kv/v1beta1/kv.d.ts b/packages/codegen/dist/cosmos/base/kv/v1beta1/kv.d.ts deleted file mode 100644 index 9f6271ce..00000000 --- a/packages/codegen/dist/cosmos/base/kv/v1beta1/kv.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../../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; -} -export declare const Pairs: { - encode(message: Pairs, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Pairs; - fromPartial(object: DeepPartial): Pairs; -}; -export declare const Pair: { - encode(message: Pair, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Pair; - fromPartial(object: DeepPartial): Pair; -}; diff --git a/packages/codegen/dist/cosmos/base/query/v1beta1/pagination.d.ts b/packages/codegen/dist/cosmos/base/query/v1beta1/pagination.d.ts deleted file mode 100644 index cc13d8d7..00000000 --- a/packages/codegen/dist/cosmos/base/query/v1beta1/pagination.d.ts +++ /dev/null @@ -1,105 +0,0 @@ -/// -import { Long, DeepPartial } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * PageRequest is to be embedded in gRPC request messages for efficient - * pagination. Ex: - * - * message SomeRequest { - * Foo some_parameter = 1; - * PageRequest pagination = 2; - * } - */ -export interface PageRequest { - /** - * key is a value returned in PageResponse.next_key to begin - * querying the next page most efficiently. Only one of offset or key - * should be set. - */ - key: Uint8Array; - /** - * offset is a numeric offset that can be used when key is unavailable. - * It is less efficient than using key. Only one of offset or key should - * be set. - */ - offset: Long; - /** - * limit is the total number of results to be returned in the result page. - * If left empty it will default to a value to be set by each app. - */ - limit: Long; - /** - * count_total is set to true to indicate that the result set should include - * a count of the total number of items available for pagination in UIs. - * count_total is only respected when offset is used. It is ignored when key - * is set. - */ - countTotal: boolean; - /** - * reverse is set to true if results are to be returned in the descending order. - * - * Since: cosmos-sdk 0.43 - */ - reverse: boolean; -} -/** - * PageRequest is to be embedded in gRPC request messages for efficient - * pagination. Ex: - * - * message SomeRequest { - * Foo some_parameter = 1; - * PageRequest pagination = 2; - * } - */ -export interface PageRequestSDKType { - key: Uint8Array; - offset: Long; - limit: Long; - count_total: boolean; - reverse: boolean; -} -/** - * PageResponse is to be embedded in gRPC response messages where the - * corresponding request message has used PageRequest. - * - * message SomeResponse { - * repeated Bar results = 1; - * PageResponse page = 2; - * } - */ -export interface PageResponse { - /** - * next_key is the key to be passed to PageRequest.key to - * query the next page most efficiently. It will be empty if - * there are no more results. - */ - nextKey: Uint8Array; - /** - * total is total number of results available if PageRequest.count_total - * was set, its value is undefined otherwise - */ - total: Long; -} -/** - * PageResponse is to be embedded in gRPC response messages where the - * corresponding request message has used PageRequest. - * - * message SomeResponse { - * repeated Bar results = 1; - * PageResponse page = 2; - * } - */ -export interface PageResponseSDKType { - next_key: Uint8Array; - total: Long; -} -export declare const PageRequest: { - encode(message: PageRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): PageRequest; - fromPartial(object: DeepPartial): PageRequest; -}; -export declare const PageResponse: { - encode(message: PageResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): PageResponse; - fromPartial(object: DeepPartial): PageResponse; -}; diff --git a/packages/codegen/dist/cosmos/base/reflection/v1beta1/reflection.d.ts b/packages/codegen/dist/cosmos/base/reflection/v1beta1/reflection.d.ts deleted file mode 100644 index afa8751c..00000000 --- a/packages/codegen/dist/cosmos/base/reflection/v1beta1/reflection.d.ts +++ /dev/null @@ -1,66 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../../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: 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: 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[]; -} -export declare const ListAllInterfacesRequest: { - encode(_: ListAllInterfacesRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ListAllInterfacesRequest; - fromPartial(_: DeepPartial): ListAllInterfacesRequest; -}; -export declare const ListAllInterfacesResponse: { - encode(message: ListAllInterfacesResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ListAllInterfacesResponse; - fromPartial(object: DeepPartial): ListAllInterfacesResponse; -}; -export declare const ListImplementationsRequest: { - encode(message: ListImplementationsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ListImplementationsRequest; - fromPartial(object: DeepPartial): ListImplementationsRequest; -}; -export declare const ListImplementationsResponse: { - encode(message: ListImplementationsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ListImplementationsResponse; - fromPartial(object: DeepPartial): ListImplementationsResponse; -}; diff --git a/packages/codegen/dist/cosmos/base/reflection/v2alpha1/reflection.d.ts b/packages/codegen/dist/cosmos/base/reflection/v2alpha1/reflection.d.ts deleted file mode 100644 index 77ddfda7..00000000 --- a/packages/codegen/dist/cosmos/base/reflection/v2alpha1/reflection.d.ts +++ /dev/null @@ -1,451 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../../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; - /** chain provides the chain descriptor */ - chain?: ChainDescriptor; - /** codec provides metadata information regarding codec related types */ - codec?: CodecDescriptor; - /** configuration provides metadata information regarding the sdk.Config type */ - configuration?: ConfigurationDescriptor; - /** query_services provides metadata information regarding the available queriable endpoints */ - queryServices?: QueryServicesDescriptor; - /** tx provides metadata information regarding how to send transactions to the given application */ - tx?: TxDescriptor; -} -/** AppDescriptor describes a cosmos-sdk based application */ -export interface AppDescriptorSDKType { - authn?: AuthnDescriptorSDKType; - chain?: ChainDescriptorSDKType; - codec?: CodecDescriptorSDKType; - configuration?: ConfigurationDescriptorSDKType; - query_services?: QueryServicesDescriptorSDKType; - tx?: TxDescriptorSDKType; -} -/** TxDescriptor describes the accepted transaction type */ -export interface TxDescriptor { - /** - * fullname is the protobuf fullname of the raw transaction type (for instance the tx.Tx type) - * it is not meant to support polymorphism of transaction types, it is supposed to be used by - * reflection clients to understand if they can handle a specific transaction type in an application. - */ - fullname: string; - /** msgs lists the accepted application messages (sdk.Msg) */ - msgs: MsgDescriptor[]; -} -/** TxDescriptor describes the accepted transaction type */ -export interface TxDescriptorSDKType { - fullname: string; - msgs: MsgDescriptorSDKType[]; -} -/** - * AuthnDescriptor provides information on how to sign transactions without relying - * on the online RPCs GetTxMetadata and CombineUnsignedTxAndSignatures - */ -export interface AuthnDescriptor { - /** sign_modes defines the supported signature algorithm */ - signModes: SigningModeDescriptor[]; -} -/** - * AuthnDescriptor provides information on how to sign transactions without relying - * on the online RPCs GetTxMetadata and CombineUnsignedTxAndSignatures - */ -export interface AuthnDescriptorSDKType { - sign_modes: SigningModeDescriptorSDKType[]; -} -/** - * SigningModeDescriptor provides information on a signing flow of the application - * NOTE(fdymylja): here we could go as far as providing an entire flow on how - * to sign a message given a SigningModeDescriptor, but it's better to think about - * this another time - */ -export interface SigningModeDescriptor { - /** name defines the unique name of the signing mode */ - name: string; - /** number is the unique int32 identifier for the sign_mode enum */ - number: number; - /** - * authn_info_provider_method_fullname defines the fullname of the method to call to get - * the metadata required to authenticate using the provided sign_modes - */ - authnInfoProviderMethodFullname: string; -} -/** - * SigningModeDescriptor provides information on a signing flow of the application - * NOTE(fdymylja): here we could go as far as providing an entire flow on how - * to sign a message given a SigningModeDescriptor, but it's better to think about - * this another time - */ -export interface SigningModeDescriptorSDKType { - name: string; - number: number; - authn_info_provider_method_fullname: string; -} -/** ChainDescriptor describes chain information of the application */ -export interface ChainDescriptor { - /** id is the chain id */ - id: string; -} -/** ChainDescriptor describes chain information of the application */ -export interface ChainDescriptorSDKType { - id: string; -} -/** CodecDescriptor describes the registered interfaces and provides metadata information on the types */ -export interface CodecDescriptor { - /** interfaces is a list of the registerted interfaces descriptors */ - interfaces: InterfaceDescriptor[]; -} -/** CodecDescriptor describes the registered interfaces and provides metadata information on the types */ -export interface CodecDescriptorSDKType { - interfaces: InterfaceDescriptorSDKType[]; -} -/** InterfaceDescriptor describes the implementation of an interface */ -export interface InterfaceDescriptor { - /** fullname is the name of the interface */ - fullname: string; - /** - * interface_accepting_messages contains information regarding the proto messages which contain the interface as - * google.protobuf.Any field - */ - interfaceAcceptingMessages: InterfaceAcceptingMessageDescriptor[]; - /** interface_implementers is a list of the descriptors of the interface implementers */ - interfaceImplementers: InterfaceImplementerDescriptor[]; -} -/** InterfaceDescriptor describes the implementation of an interface */ -export interface InterfaceDescriptorSDKType { - fullname: string; - interface_accepting_messages: InterfaceAcceptingMessageDescriptorSDKType[]; - interface_implementers: InterfaceImplementerDescriptorSDKType[]; -} -/** InterfaceImplementerDescriptor describes an interface implementer */ -export interface InterfaceImplementerDescriptor { - /** fullname is the protobuf queryable name of the interface implementer */ - fullname: string; - /** - * type_url defines the type URL used when marshalling the type as any - * this is required so we can provide type safe google.protobuf.Any marshalling and - * unmarshalling, making sure that we don't accept just 'any' type - * in our interface fields - */ - typeUrl: string; -} -/** InterfaceImplementerDescriptor describes an interface implementer */ -export interface InterfaceImplementerDescriptorSDKType { - fullname: string; - type_url: string; -} -/** - * InterfaceAcceptingMessageDescriptor describes a protobuf message which contains - * an interface represented as a google.protobuf.Any - */ -export interface InterfaceAcceptingMessageDescriptor { - /** fullname is the protobuf fullname of the type containing the interface */ - fullname: string; - /** - * field_descriptor_names is a list of the protobuf name (not fullname) of the field - * which contains the interface as google.protobuf.Any (the interface is the same, but - * it can be in multiple fields of the same proto message) - */ - fieldDescriptorNames: string[]; -} -/** - * InterfaceAcceptingMessageDescriptor describes a protobuf message which contains - * an interface represented as a google.protobuf.Any - */ -export interface InterfaceAcceptingMessageDescriptorSDKType { - fullname: string; - field_descriptor_names: string[]; -} -/** ConfigurationDescriptor contains metadata information on the sdk.Config */ -export interface ConfigurationDescriptor { - /** bech32_account_address_prefix is the account address prefix */ - bech32AccountAddressPrefix: string; -} -/** ConfigurationDescriptor contains metadata information on the sdk.Config */ -export interface ConfigurationDescriptorSDKType { - bech32_account_address_prefix: string; -} -/** MsgDescriptor describes a cosmos-sdk message that can be delivered with a transaction */ -export interface MsgDescriptor { - /** msg_type_url contains the TypeURL of a sdk.Msg. */ - msgTypeUrl: string; -} -/** MsgDescriptor describes a cosmos-sdk message that can be delivered with a transaction */ -export interface MsgDescriptorSDKType { - msg_type_url: string; -} -/** GetAuthnDescriptorRequest is the request used for the GetAuthnDescriptor RPC */ -export interface GetAuthnDescriptorRequest { -} -/** 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; -} -/** GetAuthnDescriptorResponse is the response returned by the GetAuthnDescriptor RPC */ -export interface GetAuthnDescriptorResponseSDKType { - authn?: AuthnDescriptorSDKType; -} -/** GetChainDescriptorRequest is the request used for the GetChainDescriptor RPC */ -export interface GetChainDescriptorRequest { -} -/** 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; -} -/** GetChainDescriptorResponse is the response returned by the GetChainDescriptor RPC */ -export interface GetChainDescriptorResponseSDKType { - chain?: ChainDescriptorSDKType; -} -/** GetCodecDescriptorRequest is the request used for the GetCodecDescriptor RPC */ -export interface GetCodecDescriptorRequest { -} -/** 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; -} -/** GetCodecDescriptorResponse is the response returned by the GetCodecDescriptor RPC */ -export interface GetCodecDescriptorResponseSDKType { - codec?: CodecDescriptorSDKType; -} -/** GetConfigurationDescriptorRequest is the request used for the GetConfigurationDescriptor RPC */ -export interface GetConfigurationDescriptorRequest { -} -/** 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; -} -/** GetConfigurationDescriptorResponse is the response returned by the GetConfigurationDescriptor RPC */ -export interface GetConfigurationDescriptorResponseSDKType { - config?: ConfigurationDescriptorSDKType; -} -/** GetQueryServicesDescriptorRequest is the request used for the GetQueryServicesDescriptor RPC */ -export interface GetQueryServicesDescriptorRequest { -} -/** 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; -} -/** GetQueryServicesDescriptorResponse is the response returned by the GetQueryServicesDescriptor RPC */ -export interface GetQueryServicesDescriptorResponseSDKType { - queries?: QueryServicesDescriptorSDKType; -} -/** GetTxDescriptorRequest is the request used for the GetTxDescriptor RPC */ -export interface GetTxDescriptorRequest { -} -/** 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; -} -/** GetTxDescriptorResponse is the response returned by the GetTxDescriptor RPC */ -export interface GetTxDescriptorResponseSDKType { - tx?: TxDescriptorSDKType; -} -/** QueryServicesDescriptor contains the list of cosmos-sdk queriable services */ -export interface QueryServicesDescriptor { - /** query_services is a list of cosmos-sdk QueryServiceDescriptor */ - queryServices: QueryServiceDescriptor[]; -} -/** QueryServicesDescriptor contains the list of cosmos-sdk queriable services */ -export interface QueryServicesDescriptorSDKType { - query_services: QueryServiceDescriptorSDKType[]; -} -/** QueryServiceDescriptor describes a cosmos-sdk queryable service */ -export interface QueryServiceDescriptor { - /** fullname is the protobuf fullname of the service descriptor */ - fullname: string; - /** is_module describes if this service is actually exposed by an application's module */ - isModule: boolean; - /** methods provides a list of query service methods */ - methods: QueryMethodDescriptor[]; -} -/** QueryServiceDescriptor describes a cosmos-sdk queryable service */ -export interface QueryServiceDescriptorSDKType { - fullname: string; - is_module: boolean; - methods: QueryMethodDescriptorSDKType[]; -} -/** - * QueryMethodDescriptor describes a queryable method of a query service - * no other info is provided beside method name and tendermint queryable path - * because it would be redundant with the grpc reflection service - */ -export interface QueryMethodDescriptor { - /** name is the protobuf name (not fullname) of the method */ - name: string; - /** - * full_query_path is the path that can be used to query - * this method via tendermint abci.Query - */ - fullQueryPath: string; -} -/** - * QueryMethodDescriptor describes a queryable method of a query service - * no other info is provided beside method name and tendermint queryable path - * because it would be redundant with the grpc reflection service - */ -export interface QueryMethodDescriptorSDKType { - name: string; - full_query_path: string; -} -export declare const AppDescriptor: { - encode(message: AppDescriptor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): AppDescriptor; - fromPartial(object: DeepPartial): AppDescriptor; -}; -export declare const TxDescriptor: { - encode(message: TxDescriptor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): TxDescriptor; - fromPartial(object: DeepPartial): TxDescriptor; -}; -export declare const AuthnDescriptor: { - encode(message: AuthnDescriptor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): AuthnDescriptor; - fromPartial(object: DeepPartial): AuthnDescriptor; -}; -export declare const SigningModeDescriptor: { - encode(message: SigningModeDescriptor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SigningModeDescriptor; - fromPartial(object: DeepPartial): SigningModeDescriptor; -}; -export declare const ChainDescriptor: { - encode(message: ChainDescriptor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ChainDescriptor; - fromPartial(object: DeepPartial): ChainDescriptor; -}; -export declare const CodecDescriptor: { - encode(message: CodecDescriptor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): CodecDescriptor; - fromPartial(object: DeepPartial): CodecDescriptor; -}; -export declare const InterfaceDescriptor: { - encode(message: InterfaceDescriptor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): InterfaceDescriptor; - fromPartial(object: DeepPartial): InterfaceDescriptor; -}; -export declare const InterfaceImplementerDescriptor: { - encode(message: InterfaceImplementerDescriptor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): InterfaceImplementerDescriptor; - fromPartial(object: DeepPartial): InterfaceImplementerDescriptor; -}; -export declare const InterfaceAcceptingMessageDescriptor: { - encode(message: InterfaceAcceptingMessageDescriptor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): InterfaceAcceptingMessageDescriptor; - fromPartial(object: DeepPartial): InterfaceAcceptingMessageDescriptor; -}; -export declare const ConfigurationDescriptor: { - encode(message: ConfigurationDescriptor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ConfigurationDescriptor; - fromPartial(object: DeepPartial): ConfigurationDescriptor; -}; -export declare const MsgDescriptor: { - encode(message: MsgDescriptor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgDescriptor; - fromPartial(object: DeepPartial): MsgDescriptor; -}; -export declare const GetAuthnDescriptorRequest: { - encode(_: GetAuthnDescriptorRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetAuthnDescriptorRequest; - fromPartial(_: DeepPartial): GetAuthnDescriptorRequest; -}; -export declare const GetAuthnDescriptorResponse: { - encode(message: GetAuthnDescriptorResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetAuthnDescriptorResponse; - fromPartial(object: DeepPartial): GetAuthnDescriptorResponse; -}; -export declare const GetChainDescriptorRequest: { - encode(_: GetChainDescriptorRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetChainDescriptorRequest; - fromPartial(_: DeepPartial): GetChainDescriptorRequest; -}; -export declare const GetChainDescriptorResponse: { - encode(message: GetChainDescriptorResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetChainDescriptorResponse; - fromPartial(object: DeepPartial): GetChainDescriptorResponse; -}; -export declare const GetCodecDescriptorRequest: { - encode(_: GetCodecDescriptorRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetCodecDescriptorRequest; - fromPartial(_: DeepPartial): GetCodecDescriptorRequest; -}; -export declare const GetCodecDescriptorResponse: { - encode(message: GetCodecDescriptorResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetCodecDescriptorResponse; - fromPartial(object: DeepPartial): GetCodecDescriptorResponse; -}; -export declare const GetConfigurationDescriptorRequest: { - encode(_: GetConfigurationDescriptorRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetConfigurationDescriptorRequest; - fromPartial(_: DeepPartial): GetConfigurationDescriptorRequest; -}; -export declare const GetConfigurationDescriptorResponse: { - encode(message: GetConfigurationDescriptorResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetConfigurationDescriptorResponse; - fromPartial(object: DeepPartial): GetConfigurationDescriptorResponse; -}; -export declare const GetQueryServicesDescriptorRequest: { - encode(_: GetQueryServicesDescriptorRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetQueryServicesDescriptorRequest; - fromPartial(_: DeepPartial): GetQueryServicesDescriptorRequest; -}; -export declare const GetQueryServicesDescriptorResponse: { - encode(message: GetQueryServicesDescriptorResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetQueryServicesDescriptorResponse; - fromPartial(object: DeepPartial): GetQueryServicesDescriptorResponse; -}; -export declare const GetTxDescriptorRequest: { - encode(_: GetTxDescriptorRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetTxDescriptorRequest; - fromPartial(_: DeepPartial): GetTxDescriptorRequest; -}; -export declare const GetTxDescriptorResponse: { - encode(message: GetTxDescriptorResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetTxDescriptorResponse; - fromPartial(object: DeepPartial): GetTxDescriptorResponse; -}; -export declare const QueryServicesDescriptor: { - encode(message: QueryServicesDescriptor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryServicesDescriptor; - fromPartial(object: DeepPartial): QueryServicesDescriptor; -}; -export declare const QueryServiceDescriptor: { - encode(message: QueryServiceDescriptor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryServiceDescriptor; - fromPartial(object: DeepPartial): QueryServiceDescriptor; -}; -export declare const QueryMethodDescriptor: { - encode(message: QueryMethodDescriptor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryMethodDescriptor; - fromPartial(object: DeepPartial): QueryMethodDescriptor; -}; diff --git a/packages/codegen/dist/cosmos/base/snapshots/v1beta1/snapshot.d.ts b/packages/codegen/dist/cosmos/base/snapshots/v1beta1/snapshot.d.ts deleted file mode 100644 index a771a8bf..00000000 --- a/packages/codegen/dist/cosmos/base/snapshots/v1beta1/snapshot.d.ts +++ /dev/null @@ -1,151 +0,0 @@ -/// -import { Long, DeepPartial } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** Snapshot contains Tendermint state sync snapshot info. */ -export interface Snapshot { - height: Long; - format: number; - chunks: number; - hash: Uint8Array; - metadata?: Metadata; -} -/** Snapshot contains Tendermint state sync snapshot info. */ -export interface SnapshotSDKType { - height: Long; - format: number; - chunks: number; - hash: Uint8Array; - metadata?: MetadataSDKType; -} -/** Metadata contains SDK-specific snapshot metadata. */ -export interface Metadata { - /** SHA-256 chunk hashes */ - chunkHashes: Uint8Array[]; -} -/** Metadata contains SDK-specific snapshot metadata. */ -export interface MetadataSDKType { - chunk_hashes: Uint8Array[]; -} -/** SnapshotItem is an item contained in a rootmulti.Store snapshot. */ -export interface SnapshotItem { - store?: SnapshotStoreItem; - iavl?: SnapshotIAVLItem; - extension?: SnapshotExtensionMeta; - extensionPayload?: SnapshotExtensionPayload; - kv?: SnapshotKVItem; - schema?: SnapshotSchema; -} -/** SnapshotItem is an item contained in a rootmulti.Store snapshot. */ -export interface SnapshotItemSDKType { - store?: SnapshotStoreItemSDKType; - iavl?: SnapshotIAVLItemSDKType; - extension?: SnapshotExtensionMetaSDKType; - extension_payload?: SnapshotExtensionPayloadSDKType; - kv?: SnapshotKVItemSDKType; - schema?: SnapshotSchemaSDKType; -} -/** 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: Long; - 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[]; -} -export declare const Snapshot: { - encode(message: Snapshot, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Snapshot; - fromPartial(object: DeepPartial): Snapshot; -}; -export declare const Metadata: { - encode(message: Metadata, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Metadata; - fromPartial(object: DeepPartial): Metadata; -}; -export declare const SnapshotItem: { - encode(message: SnapshotItem, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotItem; - fromPartial(object: DeepPartial): SnapshotItem; -}; -export declare const SnapshotStoreItem: { - encode(message: SnapshotStoreItem, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotStoreItem; - fromPartial(object: DeepPartial): SnapshotStoreItem; -}; -export declare const SnapshotIAVLItem: { - encode(message: SnapshotIAVLItem, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotIAVLItem; - fromPartial(object: DeepPartial): SnapshotIAVLItem; -}; -export declare const SnapshotExtensionMeta: { - encode(message: SnapshotExtensionMeta, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotExtensionMeta; - fromPartial(object: DeepPartial): SnapshotExtensionMeta; -}; -export declare const SnapshotExtensionPayload: { - encode(message: SnapshotExtensionPayload, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotExtensionPayload; - fromPartial(object: DeepPartial): SnapshotExtensionPayload; -}; -export declare const SnapshotKVItem: { - encode(message: SnapshotKVItem, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotKVItem; - fromPartial(object: DeepPartial): SnapshotKVItem; -}; -export declare const SnapshotSchema: { - encode(message: SnapshotSchema, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SnapshotSchema; - fromPartial(object: DeepPartial): SnapshotSchema; -}; diff --git a/packages/codegen/dist/cosmos/base/store/v1beta1/commit_info.d.ts b/packages/codegen/dist/cosmos/base/store/v1beta1/commit_info.d.ts deleted file mode 100644 index 6870078b..00000000 --- a/packages/codegen/dist/cosmos/base/store/v1beta1/commit_info.d.ts +++ /dev/null @@ -1,66 +0,0 @@ -/// -import { Long, DeepPartial } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * CommitInfo defines commit information used by the multi-store when committing - * a version/height. - */ -export interface CommitInfo { - version: Long; - storeInfos: StoreInfo[]; -} -/** - * 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; -} -/** - * StoreInfo defines store-specific commit information. It contains a reference - * between a store name and the commit ID. - */ -export interface StoreInfoSDKType { - name: string; - commit_id?: CommitIDSDKType; -} -/** - * CommitID defines the committment information when a specific store is - * committed. - */ -export interface CommitID { - version: Long; - hash: Uint8Array; -} -/** - * CommitID defines the committment information when a specific store is - * committed. - */ -export interface CommitIDSDKType { - version: Long; - hash: Uint8Array; -} -export declare const CommitInfo: { - encode(message: CommitInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): CommitInfo; - fromPartial(object: DeepPartial): CommitInfo; -}; -export declare const StoreInfo: { - encode(message: StoreInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): StoreInfo; - fromPartial(object: DeepPartial): StoreInfo; -}; -export declare const CommitID: { - encode(message: CommitID, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): CommitID; - fromPartial(object: DeepPartial): CommitID; -}; diff --git a/packages/codegen/dist/cosmos/base/store/v1beta1/listening.d.ts b/packages/codegen/dist/cosmos/base/store/v1beta1/listening.d.ts deleted file mode 100644 index 463f289b..00000000 --- a/packages/codegen/dist/cosmos/base/store/v1beta1/listening.d.ts +++ /dev/null @@ -1,35 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../../helpers"; -/** - * StoreKVPair is a KVStore KVPair used for listening to state changes (Sets and Deletes) - * It optionally includes the StoreKey for the originating KVStore and a Boolean flag to distinguish between Sets and - * Deletes - * - * Since: cosmos-sdk 0.43 - */ -export interface StoreKVPair { - /** the store key for the KVStore this pair originates from */ - storeKey: string; - /** true indicates a delete operation, false indicates a set operation */ - delete: boolean; - key: Uint8Array; - value: Uint8Array; -} -/** - * StoreKVPair is a KVStore KVPair used for listening to state changes (Sets and Deletes) - * It optionally includes the StoreKey for the originating KVStore and a Boolean flag to distinguish between Sets and - * Deletes - * - * Since: cosmos-sdk 0.43 - */ -export interface StoreKVPairSDKType { - store_key: string; - delete: boolean; - key: Uint8Array; - value: Uint8Array; -} -export declare const StoreKVPair: { - encode(message: StoreKVPair, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): StoreKVPair; - fromPartial(object: DeepPartial): StoreKVPair; -}; diff --git a/packages/codegen/dist/cosmos/base/tendermint/v1beta1/query.d.ts b/packages/codegen/dist/cosmos/base/tendermint/v1beta1/query.d.ts deleted file mode 100644 index c5c1d545..00000000 --- a/packages/codegen/dist/cosmos/base/tendermint/v1beta1/query.d.ts +++ /dev/null @@ -1,245 +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 { Long, DeepPartial } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** GetValidatorSetByHeightRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */ -export interface GetValidatorSetByHeightRequest { - height: Long; - /** pagination defines an pagination for the request. */ - pagination?: PageRequest; -} -/** GetValidatorSetByHeightRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */ -export interface GetValidatorSetByHeightRequestSDKType { - height: Long; - pagination?: PageRequestSDKType; -} -/** GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method. */ -export interface GetValidatorSetByHeightResponse { - blockHeight: Long; - validators: Validator[]; - /** pagination defines an pagination for the response. */ - pagination?: PageResponse; -} -/** GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method. */ -export interface GetValidatorSetByHeightResponseSDKType { - block_height: Long; - validators: ValidatorSDKType[]; - pagination?: PageResponseSDKType; -} -/** GetLatestValidatorSetRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */ -export interface GetLatestValidatorSetRequest { - /** pagination defines an pagination for the request. */ - pagination?: PageRequest; -} -/** GetLatestValidatorSetRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */ -export interface GetLatestValidatorSetRequestSDKType { - pagination?: PageRequestSDKType; -} -/** GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method. */ -export interface GetLatestValidatorSetResponse { - blockHeight: Long; - validators: Validator[]; - /** pagination defines an pagination for the response. */ - pagination?: PageResponse; -} -/** GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method. */ -export interface GetLatestValidatorSetResponseSDKType { - block_height: Long; - validators: ValidatorSDKType[]; - pagination?: PageResponseSDKType; -} -/** Validator is the type for the validator-set. */ -export interface Validator { - address: string; - pubKey?: Any; - votingPower: Long; - proposerPriority: Long; -} -/** Validator is the type for the validator-set. */ -export interface ValidatorSDKType { - address: string; - pub_key?: AnySDKType; - voting_power: Long; - proposer_priority: Long; -} -/** GetBlockByHeightRequest is the request type for the Query/GetBlockByHeight RPC method. */ -export interface GetBlockByHeightRequest { - height: Long; -} -/** 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; - block?: Block; -} -/** GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method. */ -export interface GetBlockByHeightResponseSDKType { - block_id?: BlockIDSDKType; - block?: BlockSDKType; -} -/** 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; - block?: Block; -} -/** GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method. */ -export interface GetLatestBlockResponseSDKType { - block_id?: BlockIDSDKType; - block?: BlockSDKType; -} -/** 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; - applicationVersion?: VersionInfo; -} -/** GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method. */ -export interface GetNodeInfoResponseSDKType { - node_info?: NodeInfoSDKType; - application_version?: VersionInfoSDKType; -} -/** VersionInfo is the type for the GetNodeInfoResponse message. */ -export interface VersionInfo { - name: string; - appName: string; - version: string; - gitCommit: string; - buildTags: string; - goVersion: string; - buildDeps: Module[]; - /** Since: cosmos-sdk 0.43 */ - cosmosSdkVersion: string; -} -/** VersionInfo is the type for the GetNodeInfoResponse message. */ -export interface VersionInfoSDKType { - name: string; - app_name: string; - version: string; - git_commit: string; - build_tags: string; - go_version: string; - build_deps: ModuleSDKType[]; - cosmos_sdk_version: string; -} -/** Module is the type for VersionInfo */ -export interface Module { - /** module path */ - path: string; - /** module version */ - version: string; - /** checksum */ - sum: string; -} -/** Module is the type for VersionInfo */ -export interface ModuleSDKType { - path: string; - version: string; - sum: string; -} -export declare const GetValidatorSetByHeightRequest: { - encode(message: GetValidatorSetByHeightRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetValidatorSetByHeightRequest; - fromPartial(object: DeepPartial): GetValidatorSetByHeightRequest; -}; -export declare const GetValidatorSetByHeightResponse: { - encode(message: GetValidatorSetByHeightResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetValidatorSetByHeightResponse; - fromPartial(object: DeepPartial): GetValidatorSetByHeightResponse; -}; -export declare const GetLatestValidatorSetRequest: { - encode(message: GetLatestValidatorSetRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetLatestValidatorSetRequest; - fromPartial(object: DeepPartial): GetLatestValidatorSetRequest; -}; -export declare const GetLatestValidatorSetResponse: { - encode(message: GetLatestValidatorSetResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetLatestValidatorSetResponse; - fromPartial(object: DeepPartial): GetLatestValidatorSetResponse; -}; -export declare const Validator: { - encode(message: Validator, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Validator; - fromPartial(object: DeepPartial): Validator; -}; -export declare const GetBlockByHeightRequest: { - encode(message: GetBlockByHeightRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockByHeightRequest; - fromPartial(object: DeepPartial): GetBlockByHeightRequest; -}; -export declare const GetBlockByHeightResponse: { - encode(message: GetBlockByHeightResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockByHeightResponse; - fromPartial(object: DeepPartial): GetBlockByHeightResponse; -}; -export declare const GetLatestBlockRequest: { - encode(_: GetLatestBlockRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetLatestBlockRequest; - fromPartial(_: DeepPartial): GetLatestBlockRequest; -}; -export declare const GetLatestBlockResponse: { - encode(message: GetLatestBlockResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetLatestBlockResponse; - fromPartial(object: DeepPartial): GetLatestBlockResponse; -}; -export declare const GetSyncingRequest: { - encode(_: GetSyncingRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetSyncingRequest; - fromPartial(_: DeepPartial): GetSyncingRequest; -}; -export declare const GetSyncingResponse: { - encode(message: GetSyncingResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetSyncingResponse; - fromPartial(object: DeepPartial): GetSyncingResponse; -}; -export declare const GetNodeInfoRequest: { - encode(_: GetNodeInfoRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetNodeInfoRequest; - fromPartial(_: DeepPartial): GetNodeInfoRequest; -}; -export declare const GetNodeInfoResponse: { - encode(message: GetNodeInfoResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetNodeInfoResponse; - fromPartial(object: DeepPartial): GetNodeInfoResponse; -}; -export declare const VersionInfo: { - encode(message: VersionInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): VersionInfo; - fromPartial(object: DeepPartial): VersionInfo; -}; -export declare const Module: { - encode(message: Module, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Module; - fromPartial(object: DeepPartial): Module; -}; diff --git a/packages/codegen/dist/cosmos/base/tendermint/v1beta1/query.lcd.d.ts b/packages/codegen/dist/cosmos/base/tendermint/v1beta1/query.lcd.d.ts deleted file mode 100644 index 2baf7f20..00000000 --- a/packages/codegen/dist/cosmos/base/tendermint/v1beta1/query.lcd.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { GetNodeInfoRequest, GetNodeInfoResponseSDKType, GetSyncingRequest, GetSyncingResponseSDKType, GetLatestBlockRequest, GetLatestBlockResponseSDKType, GetBlockByHeightRequest, GetBlockByHeightResponseSDKType, GetLatestValidatorSetRequest, GetLatestValidatorSetResponseSDKType, GetValidatorSetByHeightRequest, GetValidatorSetByHeightResponseSDKType } from "./query"; -export declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - getNodeInfo(_params?: GetNodeInfoRequest): Promise; - getSyncing(_params?: GetSyncingRequest): Promise; - getLatestBlock(_params?: GetLatestBlockRequest): Promise; - getBlockByHeight(params: GetBlockByHeightRequest): Promise; - getLatestValidatorSet(params?: GetLatestValidatorSetRequest): Promise; - getValidatorSetByHeight(params: GetValidatorSetByHeightRequest): Promise; -} diff --git a/packages/codegen/dist/cosmos/base/tendermint/v1beta1/query.rpc.Service.d.ts b/packages/codegen/dist/cosmos/base/tendermint/v1beta1/query.rpc.Service.d.ts deleted file mode 100644 index e1584b9d..00000000 --- a/packages/codegen/dist/cosmos/base/tendermint/v1beta1/query.rpc.Service.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { Rpc } from "../../../../helpers"; -import { QueryClient } 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 declare class ServiceClientImpl implements Service { - private readonly rpc; - constructor(rpc: Rpc); - getNodeInfo(request?: GetNodeInfoRequest): Promise; - getSyncing(request?: GetSyncingRequest): Promise; - getLatestBlock(request?: GetLatestBlockRequest): Promise; - getBlockByHeight(request: GetBlockByHeightRequest): Promise; - getLatestValidatorSet(request?: GetLatestValidatorSetRequest): Promise; - getValidatorSetByHeight(request: GetValidatorSetByHeightRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - getNodeInfo(request?: GetNodeInfoRequest): Promise; - getSyncing(request?: GetSyncingRequest): Promise; - getLatestBlock(request?: GetLatestBlockRequest): Promise; - getBlockByHeight(request: GetBlockByHeightRequest): Promise; - getLatestValidatorSet(request?: GetLatestValidatorSetRequest): Promise; - getValidatorSetByHeight(request: GetValidatorSetByHeightRequest): Promise; -}; diff --git a/packages/codegen/dist/cosmos/base/v1beta1/coin.d.ts b/packages/codegen/dist/cosmos/base/v1beta1/coin.d.ts deleted file mode 100644 index 8fb1fcd3..00000000 --- a/packages/codegen/dist/cosmos/base/v1beta1/coin.d.ts +++ /dev/null @@ -1,78 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../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; -} -export declare const Coin: { - encode(message: Coin, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Coin; - fromPartial(object: DeepPartial): Coin; -}; -export declare const DecCoin: { - encode(message: DecCoin, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DecCoin; - fromPartial(object: DeepPartial): DecCoin; -}; -export declare const IntProto: { - encode(message: IntProto, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): IntProto; - fromPartial(object: DeepPartial): IntProto; -}; -export declare const DecProto: { - encode(message: DecProto, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DecProto; - fromPartial(object: DeepPartial): DecProto; -}; diff --git a/packages/codegen/dist/cosmos/bundle.d.ts b/packages/codegen/dist/cosmos/bundle.d.ts deleted file mode 100644 index 8769f2e4..00000000 --- a/packages/codegen/dist/cosmos/bundle.d.ts +++ /dev/null @@ -1,8995 +0,0 @@ -/// -import * as _3 from "./app/v1alpha1/config"; -import * as _4 from "./app/v1alpha1/module"; -import * as _5 from "./app/v1alpha1/query"; -import * as _6 from "./auth/v1beta1/auth"; -import * as _7 from "./auth/v1beta1/genesis"; -import * as _8 from "./auth/v1beta1/query"; -import * as _9 from "./authz/v1beta1/authz"; -import * as _10 from "./authz/v1beta1/event"; -import * as _11 from "./authz/v1beta1/genesis"; -import * as _12 from "./authz/v1beta1/query"; -import * as _13 from "./authz/v1beta1/tx"; -import * as _14 from "./bank/v1beta1/authz"; -import * as _15 from "./bank/v1beta1/bank"; -import * as _16 from "./bank/v1beta1/genesis"; -import * as _17 from "./bank/v1beta1/query"; -import * as _18 from "./bank/v1beta1/tx"; -import * as _19 from "./base/abci/v1beta1/abci"; -import * as _20 from "./base/kv/v1beta1/kv"; -import * as _21 from "./base/query/v1beta1/pagination"; -import * as _22 from "./base/reflection/v1beta1/reflection"; -import * as _23 from "./base/reflection/v2alpha1/reflection"; -import * as _24 from "./base/snapshots/v1beta1/snapshot"; -import * as _25 from "./base/store/v1beta1/commit_info"; -import * as _26 from "./base/store/v1beta1/listening"; -import * as _27 from "./base/tendermint/v1beta1/query"; -import * as _28 from "./base/v1beta1/coin"; -import * as _29 from "./capability/v1beta1/capability"; -import * as _30 from "./capability/v1beta1/genesis"; -import * as _31 from "./crisis/v1beta1/genesis"; -import * as _32 from "./crisis/v1beta1/tx"; -import * as _33 from "./crypto/ed25519/keys"; -import * as _34 from "./crypto/hd/v1/hd"; -import * as _35 from "./crypto/keyring/v1/record"; -import * as _36 from "./crypto/multisig/keys"; -import * as _37 from "./crypto/secp256k1/keys"; -import * as _38 from "./crypto/secp256r1/keys"; -import * as _39 from "./distribution/v1beta1/distribution"; -import * as _40 from "./distribution/v1beta1/genesis"; -import * as _41 from "./distribution/v1beta1/query"; -import * as _42 from "./distribution/v1beta1/tx"; -import * as _43 from "./evidence/v1beta1/evidence"; -import * as _44 from "./evidence/v1beta1/genesis"; -import * as _45 from "./evidence/v1beta1/query"; -import * as _46 from "./evidence/v1beta1/tx"; -import * as _47 from "./feegrant/v1beta1/feegrant"; -import * as _48 from "./feegrant/v1beta1/genesis"; -import * as _49 from "./feegrant/v1beta1/query"; -import * as _50 from "./feegrant/v1beta1/tx"; -import * as _51 from "./genutil/v1beta1/genesis"; -import * as _52 from "./gov/v1/genesis"; -import * as _53 from "./gov/v1/gov"; -import * as _54 from "./gov/v1/query"; -import * as _55 from "./gov/v1/tx"; -import * as _56 from "./gov/v1beta1/genesis"; -import * as _57 from "./gov/v1beta1/gov"; -import * as _58 from "./gov/v1beta1/query"; -import * as _59 from "./gov/v1beta1/tx"; -import * as _60 from "./group/v1/events"; -import * as _61 from "./group/v1/genesis"; -import * as _62 from "./group/v1/query"; -import * as _63 from "./group/v1/tx"; -import * as _64 from "./group/v1/types"; -import * as _65 from "./mint/v1beta1/genesis"; -import * as _66 from "./mint/v1beta1/mint"; -import * as _67 from "./mint/v1beta1/query"; -import * as _69 from "./nft/v1beta1/event"; -import * as _70 from "./nft/v1beta1/genesis"; -import * as _71 from "./nft/v1beta1/nft"; -import * as _72 from "./nft/v1beta1/query"; -import * as _73 from "./nft/v1beta1/tx"; -import * as _74 from "./orm/v1/orm"; -import * as _75 from "./orm/v1alpha1/schema"; -import * as _76 from "./params/v1beta1/params"; -import * as _77 from "./params/v1beta1/query"; -import * as _78 from "./slashing/v1beta1/genesis"; -import * as _79 from "./slashing/v1beta1/query"; -import * as _80 from "./slashing/v1beta1/slashing"; -import * as _81 from "./slashing/v1beta1/tx"; -import * as _82 from "./staking/v1beta1/authz"; -import * as _83 from "./staking/v1beta1/genesis"; -import * as _84 from "./staking/v1beta1/query"; -import * as _85 from "./staking/v1beta1/staking"; -import * as _86 from "./staking/v1beta1/tx"; -import * as _87 from "./tx/signing/v1beta1/signing"; -import * as _88 from "./tx/v1beta1/service"; -import * as _89 from "./tx/v1beta1/tx"; -import * as _90 from "./upgrade/v1beta1/query"; -import * as _91 from "./upgrade/v1beta1/tx"; -import * as _92 from "./upgrade/v1beta1/upgrade"; -import * as _93 from "./vesting/v1beta1/tx"; -import * as _94 from "./vesting/v1beta1/vesting"; -import * as _145 from "./auth/v1beta1/query.lcd"; -import * as _146 from "./authz/v1beta1/query.lcd"; -import * as _147 from "./bank/v1beta1/query.lcd"; -import * as _148 from "./base/tendermint/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 "./tx/v1beta1/service.lcd"; -import * as _161 from "./upgrade/v1beta1/query.lcd"; -import * as _162 from "./app/v1alpha1/query.rpc.Query"; -import * as _163 from "./auth/v1beta1/query.rpc.Query"; -import * as _164 from "./authz/v1beta1/query.rpc.Query"; -import * as _165 from "./bank/v1beta1/query.rpc.Query"; -import * as _166 from "./base/tendermint/v1beta1/query.rpc.Service"; -import * as _167 from "./distribution/v1beta1/query.rpc.Query"; -import * as _168 from "./evidence/v1beta1/query.rpc.Query"; -import * as _169 from "./feegrant/v1beta1/query.rpc.Query"; -import * as _170 from "./gov/v1/query.rpc.Query"; -import * as _171 from "./gov/v1beta1/query.rpc.Query"; -import * as _172 from "./group/v1/query.rpc.Query"; -import * as _173 from "./mint/v1beta1/query.rpc.Query"; -import * as _174 from "./nft/v1beta1/query.rpc.Query"; -import * as _175 from "./params/v1beta1/query.rpc.Query"; -import * as _176 from "./slashing/v1beta1/query.rpc.Query"; -import * as _177 from "./staking/v1beta1/query.rpc.Query"; -import * as _178 from "./tx/v1beta1/service.rpc.Service"; -import * as _179 from "./upgrade/v1beta1/query.rpc.Query"; -import * as _180 from "./authz/v1beta1/tx.rpc.msg"; -import * as _181 from "./bank/v1beta1/tx.rpc.msg"; -import * as _182 from "./crisis/v1beta1/tx.rpc.msg"; -import * as _183 from "./distribution/v1beta1/tx.rpc.msg"; -import * as _184 from "./evidence/v1beta1/tx.rpc.msg"; -import * as _185 from "./feegrant/v1beta1/tx.rpc.msg"; -import * as _186 from "./gov/v1/tx.rpc.msg"; -import * as _187 from "./gov/v1beta1/tx.rpc.msg"; -import * as _188 from "./group/v1/tx.rpc.msg"; -import * as _189 from "./nft/v1beta1/tx.rpc.msg"; -import * as _190 from "./slashing/v1beta1/tx.rpc.msg"; -import * as _191 from "./staking/v1beta1/tx.rpc.msg"; -import * as _192 from "./upgrade/v1beta1/tx.rpc.msg"; -import * as _193 from "./vesting/v1beta1/tx.rpc.msg"; -export declare namespace cosmos { - namespace app { - const v1alpha1: { - QueryClientImpl: typeof _162.QueryClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - config(request?: _5.QueryConfigRequest): Promise<_5.QueryConfigResponse>; - }; - QueryConfigRequest: { - encode(_: _5.QueryConfigRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _5.QueryConfigRequest; - fromPartial(_: {}): _5.QueryConfigRequest; - }; - QueryConfigResponse: { - encode(message: _5.QueryConfigResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _5.QueryConfigResponse; - fromPartial(object: { - config?: { - modules?: { - name?: string; - config?: { - typeUrl?: string; - value?: Uint8Array; - }; - }[]; - }; - }): _5.QueryConfigResponse; - }; - ModuleDescriptor: { - encode(message: _4.ModuleDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _4.ModuleDescriptor; - fromPartial(object: { - goImport?: string; - usePackage?: { - name?: string; - revision?: number; - }[]; - canMigrateFrom?: { - module?: string; - }[]; - }): _4.ModuleDescriptor; - }; - PackageReference: { - encode(message: _4.PackageReference, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _4.PackageReference; - fromPartial(object: { - name?: string; - revision?: number; - }): _4.PackageReference; - }; - MigrateFromInfo: { - encode(message: _4.MigrateFromInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _4.MigrateFromInfo; - fromPartial(object: { - module?: string; - }): _4.MigrateFromInfo; - }; - Config: { - encode(message: _3.Config, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _3.Config; - fromPartial(object: { - modules?: { - name?: string; - config?: { - typeUrl?: string; - value?: Uint8Array; - }; - }[]; - }): _3.Config; - }; - ModuleConfig: { - encode(message: _3.ModuleConfig, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _3.ModuleConfig; - fromPartial(object: { - name?: string; - config?: { - typeUrl?: string; - value?: Uint8Array; - }; - }): _3.ModuleConfig; - }; - }; - } - namespace auth { - const v1beta1: { - QueryClientImpl: typeof _163.QueryClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - accounts(request?: _8.QueryAccountsRequest): Promise<_8.QueryAccountsResponse>; - account(request: _8.QueryAccountRequest): Promise<_8.QueryAccountResponse>; - params(request?: _8.QueryParamsRequest): Promise<_8.QueryParamsResponse>; - moduleAccounts(request?: _8.QueryModuleAccountsRequest): Promise<_8.QueryModuleAccountsResponse>; - bech32Prefix(request?: _8.Bech32PrefixRequest): Promise<_8.Bech32PrefixResponse>; - addressBytesToString(request: _8.AddressBytesToStringRequest): Promise<_8.AddressBytesToStringResponse>; - addressStringToBytes(request: _8.AddressStringToBytesRequest): Promise<_8.AddressStringToBytesResponse>; - }; - LCDQueryClient: typeof _145.LCDQueryClient; - QueryAccountsRequest: { - encode(message: _8.QueryAccountsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _8.QueryAccountsRequest; - fromPartial(object: { - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _8.QueryAccountsRequest; - }; - QueryAccountsResponse: { - encode(message: _8.QueryAccountsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _8.QueryAccountsResponse; - fromPartial(object: { - accounts?: { - typeUrl?: string; - value?: Uint8Array; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _8.QueryAccountsResponse; - }; - QueryAccountRequest: { - encode(message: _8.QueryAccountRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _8.QueryAccountRequest; - fromPartial(object: { - address?: string; - }): _8.QueryAccountRequest; - }; - QueryModuleAccountsRequest: { - encode(_: _8.QueryModuleAccountsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _8.QueryModuleAccountsRequest; - fromPartial(_: {}): _8.QueryModuleAccountsRequest; - }; - QueryParamsResponse: { - encode(message: _8.QueryParamsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _8.QueryParamsResponse; - fromPartial(object: { - params?: { - maxMemoCharacters?: string | number | import("long").Long; - txSigLimit?: string | number | import("long").Long; - txSizeCostPerByte?: string | number | import("long").Long; - sigVerifyCostEd25519?: string | number | import("long").Long; - sigVerifyCostSecp256k1?: string | number | import("long").Long; - }; - }): _8.QueryParamsResponse; - }; - QueryAccountResponse: { - encode(message: _8.QueryAccountResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _8.QueryAccountResponse; - fromPartial(object: { - account?: { - typeUrl?: string; - value?: Uint8Array; - }; - }): _8.QueryAccountResponse; - }; - QueryParamsRequest: { - encode(_: _8.QueryParamsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _8.QueryParamsRequest; - fromPartial(_: {}): _8.QueryParamsRequest; - }; - QueryModuleAccountsResponse: { - encode(message: _8.QueryModuleAccountsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _8.QueryModuleAccountsResponse; - fromPartial(object: { - accounts?: { - typeUrl?: string; - value?: Uint8Array; - }[]; - }): _8.QueryModuleAccountsResponse; - }; - Bech32PrefixRequest: { - encode(_: _8.Bech32PrefixRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _8.Bech32PrefixRequest; - fromPartial(_: {}): _8.Bech32PrefixRequest; - }; - Bech32PrefixResponse: { - encode(message: _8.Bech32PrefixResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _8.Bech32PrefixResponse; - fromPartial(object: { - bech32Prefix?: string; - }): _8.Bech32PrefixResponse; - }; - AddressBytesToStringRequest: { - encode(message: _8.AddressBytesToStringRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _8.AddressBytesToStringRequest; - fromPartial(object: { - addressBytes?: Uint8Array; - }): _8.AddressBytesToStringRequest; - }; - AddressBytesToStringResponse: { - encode(message: _8.AddressBytesToStringResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _8.AddressBytesToStringResponse; - fromPartial(object: { - addressString?: string; - }): _8.AddressBytesToStringResponse; - }; - AddressStringToBytesRequest: { - encode(message: _8.AddressStringToBytesRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _8.AddressStringToBytesRequest; - fromPartial(object: { - addressString?: string; - }): _8.AddressStringToBytesRequest; - }; - AddressStringToBytesResponse: { - encode(message: _8.AddressStringToBytesResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _8.AddressStringToBytesResponse; - fromPartial(object: { - addressBytes?: Uint8Array; - }): _8.AddressStringToBytesResponse; - }; - GenesisState: { - encode(message: _7.GenesisState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _7.GenesisState; - fromPartial(object: { - params?: { - maxMemoCharacters?: string | number | import("long").Long; - txSigLimit?: string | number | import("long").Long; - txSizeCostPerByte?: string | number | import("long").Long; - sigVerifyCostEd25519?: string | number | import("long").Long; - sigVerifyCostSecp256k1?: string | number | import("long").Long; - }; - accounts?: { - typeUrl?: string; - value?: Uint8Array; - }[]; - }): _7.GenesisState; - }; - BaseAccount: { - encode(message: _6.BaseAccount, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _6.BaseAccount; - fromPartial(object: { - address?: string; - pubKey?: { - typeUrl?: string; - value?: Uint8Array; - }; - accountNumber?: string | number | import("long").Long; - sequence?: string | number | import("long").Long; - }): _6.BaseAccount; - }; - ModuleAccount: { - encode(message: _6.ModuleAccount, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _6.ModuleAccount; - fromPartial(object: { - baseAccount?: { - address?: string; - pubKey?: { - typeUrl?: string; - value?: Uint8Array; - }; - accountNumber?: string | number | import("long").Long; - sequence?: string | number | import("long").Long; - }; - name?: string; - permissions?: string[]; - }): _6.ModuleAccount; - }; - Params: { - encode(message: _6.Params, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _6.Params; - fromPartial(object: { - maxMemoCharacters?: string | number | import("long").Long; - txSigLimit?: string | number | import("long").Long; - txSizeCostPerByte?: string | number | import("long").Long; - sigVerifyCostEd25519?: string | number | import("long").Long; - sigVerifyCostSecp256k1?: string | number | import("long").Long; - }): _6.Params; - }; - }; - } - namespace authz { - const v1beta1: { - MsgClientImpl: typeof _180.MsgClientImpl; - QueryClientImpl: typeof _164.QueryClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - grants(request: _12.QueryGrantsRequest): Promise<_12.QueryGrantsResponse>; - granterGrants(request: _12.QueryGranterGrantsRequest): Promise<_12.QueryGranterGrantsResponse>; - granteeGrants(request: _12.QueryGranteeGrantsRequest): Promise<_12.QueryGranteeGrantsResponse>; - }; - LCDQueryClient: typeof _146.LCDQueryClient; - MsgGrant: { - encode(message: _13.MsgGrant, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _13.MsgGrant; - fromPartial(object: { - granter?: string; - grantee?: string; - grant?: { - authorization?: { - typeUrl?: string; - value?: Uint8Array; - }; - expiration?: Date; - }; - }): _13.MsgGrant; - }; - MsgExecResponse: { - encode(message: _13.MsgExecResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _13.MsgExecResponse; - fromPartial(object: { - results?: Uint8Array[]; - }): _13.MsgExecResponse; - }; - MsgExec: { - encode(message: _13.MsgExec, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _13.MsgExec; - fromPartial(object: { - grantee?: string; - msgs?: { - typeUrl?: string; - value?: Uint8Array; - }[]; - }): _13.MsgExec; - }; - MsgGrantResponse: { - encode(_: _13.MsgGrantResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _13.MsgGrantResponse; - fromPartial(_: {}): _13.MsgGrantResponse; - }; - MsgRevoke: { - encode(message: _13.MsgRevoke, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _13.MsgRevoke; - fromPartial(object: { - granter?: string; - grantee?: string; - msgTypeUrl?: string; - }): _13.MsgRevoke; - }; - MsgRevokeResponse: { - encode(_: _13.MsgRevokeResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _13.MsgRevokeResponse; - fromPartial(_: {}): _13.MsgRevokeResponse; - }; - QueryGrantsRequest: { - encode(message: _12.QueryGrantsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _12.QueryGrantsRequest; - fromPartial(object: { - granter?: string; - grantee?: string; - msgTypeUrl?: string; - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _12.QueryGrantsRequest; - }; - QueryGrantsResponse: { - encode(message: _12.QueryGrantsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _12.QueryGrantsResponse; - fromPartial(object: { - grants?: { - authorization?: { - typeUrl?: string; - value?: Uint8Array; - }; - expiration?: Date; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _12.QueryGrantsResponse; - }; - QueryGranterGrantsRequest: { - encode(message: _12.QueryGranterGrantsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _12.QueryGranterGrantsRequest; - fromPartial(object: { - granter?: string; - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _12.QueryGranterGrantsRequest; - }; - QueryGranterGrantsResponse: { - encode(message: _12.QueryGranterGrantsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _12.QueryGranterGrantsResponse; - fromPartial(object: { - grants?: { - granter?: string; - grantee?: string; - authorization?: { - typeUrl?: string; - value?: Uint8Array; - }; - expiration?: Date; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _12.QueryGranterGrantsResponse; - }; - QueryGranteeGrantsRequest: { - encode(message: _12.QueryGranteeGrantsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _12.QueryGranteeGrantsRequest; - fromPartial(object: { - grantee?: string; - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _12.QueryGranteeGrantsRequest; - }; - QueryGranteeGrantsResponse: { - encode(message: _12.QueryGranteeGrantsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _12.QueryGranteeGrantsResponse; - fromPartial(object: { - grants?: { - granter?: string; - grantee?: string; - authorization?: { - typeUrl?: string; - value?: Uint8Array; - }; - expiration?: Date; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _12.QueryGranteeGrantsResponse; - }; - GenesisState: { - encode(message: _11.GenesisState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _11.GenesisState; - fromPartial(object: { - authorization?: { - granter?: string; - grantee?: string; - authorization?: { - typeUrl?: string; - value?: Uint8Array; - }; - expiration?: Date; - }[]; - }): _11.GenesisState; - }; - EventGrant: { - encode(message: _10.EventGrant, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _10.EventGrant; - fromPartial(object: { - msgTypeUrl?: string; - granter?: string; - grantee?: string; - }): _10.EventGrant; - }; - EventRevoke: { - encode(message: _10.EventRevoke, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _10.EventRevoke; - fromPartial(object: { - msgTypeUrl?: string; - granter?: string; - grantee?: string; - }): _10.EventRevoke; - }; - GenericAuthorization: { - encode(message: _9.GenericAuthorization, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _9.GenericAuthorization; - fromPartial(object: { - msg?: string; - }): _9.GenericAuthorization; - }; - Grant: { - encode(message: _9.Grant, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _9.Grant; - fromPartial(object: { - authorization?: { - typeUrl?: string; - value?: Uint8Array; - }; - expiration?: Date; - }): _9.Grant; - }; - GrantAuthorization: { - encode(message: _9.GrantAuthorization, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _9.GrantAuthorization; - fromPartial(object: { - granter?: string; - grantee?: string; - authorization?: { - typeUrl?: string; - value?: Uint8Array; - }; - expiration?: Date; - }): _9.GrantAuthorization; - }; - GrantQueueItem: { - encode(message: _9.GrantQueueItem, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _9.GrantQueueItem; - fromPartial(object: { - msgTypeUrls?: string[]; - }): _9.GrantQueueItem; - }; - }; - } - namespace bank { - const v1beta1: { - MsgClientImpl: typeof _181.MsgClientImpl; - QueryClientImpl: typeof _165.QueryClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - balance(request: _17.QueryBalanceRequest): Promise<_17.QueryBalanceResponse>; - allBalances(request: _17.QueryAllBalancesRequest): Promise<_17.QueryAllBalancesResponse>; - spendableBalances(request: _17.QuerySpendableBalancesRequest): Promise<_17.QuerySpendableBalancesResponse>; - totalSupply(request?: _17.QueryTotalSupplyRequest): Promise<_17.QueryTotalSupplyResponse>; - supplyOf(request: _17.QuerySupplyOfRequest): Promise<_17.QuerySupplyOfResponse>; - params(request?: _17.QueryParamsRequest): Promise<_17.QueryParamsResponse>; - denomMetadata(request: _17.QueryDenomMetadataRequest): Promise<_17.QueryDenomMetadataResponse>; - denomsMetadata(request?: _17.QueryDenomsMetadataRequest): Promise<_17.QueryDenomsMetadataResponse>; - denomOwners(request: _17.QueryDenomOwnersRequest): Promise<_17.QueryDenomOwnersResponse>; - }; - LCDQueryClient: typeof _147.LCDQueryClient; - MsgSend: { - encode(message: _18.MsgSend, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _18.MsgSend; - fromPartial(object: { - fromAddress?: string; - toAddress?: string; - amount?: { - denom?: string; - amount?: string; - }[]; - }): _18.MsgSend; - }; - MsgSendResponse: { - encode(_: _18.MsgSendResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _18.MsgSendResponse; - fromPartial(_: {}): _18.MsgSendResponse; - }; - MsgMultiSend: { - encode(message: _18.MsgMultiSend, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _18.MsgMultiSend; - fromPartial(object: { - inputs?: { - address?: string; - coins?: { - denom?: string; - amount?: string; - }[]; - }[]; - outputs?: { - address?: string; - coins?: { - denom?: string; - amount?: string; - }[]; - }[]; - }): _18.MsgMultiSend; - }; - MsgMultiSendResponse: { - encode(_: _18.MsgMultiSendResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _18.MsgMultiSendResponse; - fromPartial(_: {}): _18.MsgMultiSendResponse; - }; - QueryBalanceRequest: { - encode(message: _17.QueryBalanceRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _17.QueryBalanceRequest; - fromPartial(object: { - address?: string; - denom?: string; - }): _17.QueryBalanceRequest; - }; - QueryBalanceResponse: { - encode(message: _17.QueryBalanceResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _17.QueryBalanceResponse; - fromPartial(object: { - balance?: { - denom?: string; - amount?: string; - }; - }): _17.QueryBalanceResponse; - }; - QueryAllBalancesRequest: { - encode(message: _17.QueryAllBalancesRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _17.QueryAllBalancesRequest; - fromPartial(object: { - address?: string; - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _17.QueryAllBalancesRequest; - }; - QueryAllBalancesResponse: { - encode(message: _17.QueryAllBalancesResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _17.QueryAllBalancesResponse; - fromPartial(object: { - balances?: { - denom?: string; - amount?: string; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _17.QueryAllBalancesResponse; - }; - QuerySpendableBalancesRequest: { - encode(message: _17.QuerySpendableBalancesRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _17.QuerySpendableBalancesRequest; - fromPartial(object: { - address?: string; - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _17.QuerySpendableBalancesRequest; - }; - QuerySpendableBalancesResponse: { - encode(message: _17.QuerySpendableBalancesResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _17.QuerySpendableBalancesResponse; - fromPartial(object: { - balances?: { - denom?: string; - amount?: string; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _17.QuerySpendableBalancesResponse; - }; - QueryTotalSupplyRequest: { - encode(message: _17.QueryTotalSupplyRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _17.QueryTotalSupplyRequest; - fromPartial(object: { - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _17.QueryTotalSupplyRequest; - }; - QueryTotalSupplyResponse: { - encode(message: _17.QueryTotalSupplyResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _17.QueryTotalSupplyResponse; - fromPartial(object: { - supply?: { - denom?: string; - amount?: string; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _17.QueryTotalSupplyResponse; - }; - QuerySupplyOfRequest: { - encode(message: _17.QuerySupplyOfRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _17.QuerySupplyOfRequest; - fromPartial(object: { - denom?: string; - }): _17.QuerySupplyOfRequest; - }; - QuerySupplyOfResponse: { - encode(message: _17.QuerySupplyOfResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _17.QuerySupplyOfResponse; - fromPartial(object: { - amount?: { - denom?: string; - amount?: string; - }; - }): _17.QuerySupplyOfResponse; - }; - QueryParamsRequest: { - encode(_: _17.QueryParamsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _17.QueryParamsRequest; - fromPartial(_: {}): _17.QueryParamsRequest; - }; - QueryParamsResponse: { - encode(message: _17.QueryParamsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _17.QueryParamsResponse; - fromPartial(object: { - params?: { - sendEnabled?: { - denom?: string; - enabled?: boolean; - }[]; - defaultSendEnabled?: boolean; - }; - }): _17.QueryParamsResponse; - }; - QueryDenomsMetadataRequest: { - encode(message: _17.QueryDenomsMetadataRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _17.QueryDenomsMetadataRequest; - fromPartial(object: { - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _17.QueryDenomsMetadataRequest; - }; - QueryDenomsMetadataResponse: { - encode(message: _17.QueryDenomsMetadataResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _17.QueryDenomsMetadataResponse; - fromPartial(object: { - metadatas?: { - description?: string; - denomUnits?: { - denom?: string; - exponent?: number; - aliases?: string[]; - }[]; - base?: string; - display?: string; - name?: string; - symbol?: string; - uri?: string; - uriHash?: string; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _17.QueryDenomsMetadataResponse; - }; - QueryDenomMetadataRequest: { - encode(message: _17.QueryDenomMetadataRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _17.QueryDenomMetadataRequest; - fromPartial(object: { - denom?: string; - }): _17.QueryDenomMetadataRequest; - }; - QueryDenomMetadataResponse: { - encode(message: _17.QueryDenomMetadataResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _17.QueryDenomMetadataResponse; - fromPartial(object: { - metadata?: { - description?: string; - denomUnits?: { - denom?: string; - exponent?: number; - aliases?: string[]; - }[]; - base?: string; - display?: string; - name?: string; - symbol?: string; - uri?: string; - uriHash?: string; - }; - }): _17.QueryDenomMetadataResponse; - }; - QueryDenomOwnersRequest: { - encode(message: _17.QueryDenomOwnersRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _17.QueryDenomOwnersRequest; - fromPartial(object: { - denom?: string; - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _17.QueryDenomOwnersRequest; - }; - DenomOwner: { - encode(message: _17.DenomOwner, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _17.DenomOwner; - fromPartial(object: { - address?: string; - balance?: { - denom?: string; - amount?: string; - }; - }): _17.DenomOwner; - }; - QueryDenomOwnersResponse: { - encode(message: _17.QueryDenomOwnersResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _17.QueryDenomOwnersResponse; - fromPartial(object: { - denomOwners?: { - address?: string; - balance?: { - denom?: string; - amount?: string; - }; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _17.QueryDenomOwnersResponse; - }; - GenesisState: { - encode(message: _16.GenesisState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _16.GenesisState; - fromPartial(object: { - params?: { - sendEnabled?: { - denom?: string; - enabled?: boolean; - }[]; - defaultSendEnabled?: boolean; - }; - balances?: { - address?: string; - coins?: { - denom?: string; - amount?: string; - }[]; - }[]; - supply?: { - denom?: string; - amount?: string; - }[]; - denomMetadata?: { - description?: string; - denomUnits?: { - denom?: string; - exponent?: number; - aliases?: string[]; - }[]; - base?: string; - display?: string; - name?: string; - symbol?: string; - uri?: string; - uriHash?: string; - }[]; - }): _16.GenesisState; - }; - Balance: { - encode(message: _16.Balance, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _16.Balance; - fromPartial(object: { - address?: string; - coins?: { - denom?: string; - amount?: string; - }[]; - }): _16.Balance; - }; - Params: { - encode(message: _15.Params, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _15.Params; - fromPartial(object: { - sendEnabled?: { - denom?: string; - enabled?: boolean; - }[]; - defaultSendEnabled?: boolean; - }): _15.Params; - }; - SendEnabled: { - encode(message: _15.SendEnabled, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _15.SendEnabled; - fromPartial(object: { - denom?: string; - enabled?: boolean; - }): _15.SendEnabled; - }; - Input: { - encode(message: _15.Input, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _15.Input; - fromPartial(object: { - address?: string; - coins?: { - denom?: string; - amount?: string; - }[]; - }): _15.Input; - }; - Output: { - encode(message: _15.Output, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _15.Output; - fromPartial(object: { - address?: string; - coins?: { - denom?: string; - amount?: string; - }[]; - }): _15.Output; - }; - Supply: { - encode(message: _15.Supply, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _15.Supply; - fromPartial(object: { - total?: { - denom?: string; - amount?: string; - }[]; - }): _15.Supply; - }; - DenomUnit: { - encode(message: _15.DenomUnit, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _15.DenomUnit; - fromPartial(object: { - denom?: string; - exponent?: number; - aliases?: string[]; - }): _15.DenomUnit; - }; - Metadata: { - encode(message: _15.Metadata, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _15.Metadata; - fromPartial(object: { - description?: string; - denomUnits?: { - denom?: string; - exponent?: number; - aliases?: string[]; - }[]; - base?: string; - display?: string; - name?: string; - symbol?: string; - uri?: string; - uriHash?: string; - }): _15.Metadata; - }; - SendAuthorization: { - encode(message: _14.SendAuthorization, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _14.SendAuthorization; - fromPartial(object: { - spendLimit?: { - denom?: string; - amount?: string; - }[]; - }): _14.SendAuthorization; - }; - }; - } - namespace base { - namespace abci { - const v1beta1: { - TxResponse: { - encode(message: _19.TxResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _19.TxResponse; - fromPartial(object: { - height?: string | number | import("long").Long; - txhash?: string; - codespace?: string; - code?: number; - data?: string; - rawLog?: string; - logs?: { - msgIndex?: number; - log?: string; - events?: { - type?: string; - attributes?: { - key?: string; - value?: string; - }[]; - }[]; - }[]; - info?: string; - gasWanted?: string | number | import("long").Long; - gasUsed?: string | number | import("long").Long; - tx?: { - typeUrl?: string; - value?: Uint8Array; - }; - timestamp?: string; - events?: { - type?: string; - attributes?: { - key?: Uint8Array; - value?: Uint8Array; - index?: boolean; - }[]; - }[]; - }): _19.TxResponse; - }; - ABCIMessageLog: { - encode(message: _19.ABCIMessageLog, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _19.ABCIMessageLog; - fromPartial(object: { - msgIndex?: number; - log?: string; - events?: { - type?: string; - attributes?: { - key?: string; - value?: string; - }[]; - }[]; - }): _19.ABCIMessageLog; - }; - StringEvent: { - encode(message: _19.StringEvent, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _19.StringEvent; - fromPartial(object: { - type?: string; - attributes?: { - key?: string; - value?: string; - }[]; - }): _19.StringEvent; - }; - Attribute: { - encode(message: _19.Attribute, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _19.Attribute; - fromPartial(object: { - key?: string; - value?: string; - }): _19.Attribute; - }; - GasInfo: { - encode(message: _19.GasInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _19.GasInfo; - fromPartial(object: { - gasWanted?: string | number | import("long").Long; - gasUsed?: string | number | import("long").Long; - }): _19.GasInfo; - }; - Result: { - encode(message: _19.Result, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _19.Result; - fromPartial(object: { - data?: Uint8Array; - log?: string; - events?: { - type?: string; - attributes?: { - key?: Uint8Array; - value?: Uint8Array; - index?: boolean; - }[]; - }[]; - msgResponses?: { - typeUrl?: string; - value?: Uint8Array; - }[]; - }): _19.Result; - }; - SimulationResponse: { - encode(message: _19.SimulationResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _19.SimulationResponse; - fromPartial(object: { - gasInfo?: { - gasWanted?: string | number | import("long").Long; - gasUsed?: string | number | import("long").Long; - }; - result?: { - data?: Uint8Array; - log?: string; - events?: { - type?: string; - attributes?: { - key?: Uint8Array; - value?: Uint8Array; - index?: boolean; - }[]; - }[]; - msgResponses?: { - typeUrl?: string; - value?: Uint8Array; - }[]; - }; - }): _19.SimulationResponse; - }; - MsgData: { - encode(message: _19.MsgData, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _19.MsgData; - fromPartial(object: { - msgType?: string; - data?: Uint8Array; - }): _19.MsgData; - }; - TxMsgData: { - encode(message: _19.TxMsgData, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _19.TxMsgData; - fromPartial(object: { - data?: { - msgType?: string; - data?: Uint8Array; - }[]; - msgResponses?: { - typeUrl?: string; - value?: Uint8Array; - }[]; - }): _19.TxMsgData; - }; - SearchTxsResult: { - encode(message: _19.SearchTxsResult, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _19.SearchTxsResult; - fromPartial(object: { - totalCount?: string | number | import("long").Long; - count?: string | number | import("long").Long; - pageNumber?: string | number | import("long").Long; - pageTotal?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - txs?: { - height?: string | number | import("long").Long; - txhash?: string; - codespace?: string; - code?: number; - data?: string; - rawLog?: string; - logs?: { - msgIndex?: number; - log?: string; - events?: { - type?: string; - attributes?: { - key?: string; - value?: string; - }[]; - }[]; - }[]; - info?: string; - gasWanted?: string | number | import("long").Long; - gasUsed?: string | number | import("long").Long; - tx?: { - typeUrl?: string; - value?: Uint8Array; - }; - timestamp?: string; - events?: { - type?: string; - attributes?: { - key?: Uint8Array; - value?: Uint8Array; - index?: boolean; - }[]; - }[]; - }[]; - }): _19.SearchTxsResult; - }; - }; - } - namespace kv { - const v1beta1: { - Pairs: { - encode(message: _20.Pairs, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _20.Pairs; - fromPartial(object: { - pairs?: { - key?: Uint8Array; - value?: Uint8Array; - }[]; - }): _20.Pairs; - }; - Pair: { - encode(message: _20.Pair, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _20.Pair; - fromPartial(object: { - key?: Uint8Array; - value?: Uint8Array; - }): _20.Pair; - }; - }; - } - namespace query { - const v1beta1: { - PageRequest: { - encode(message: _21.PageRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _21.PageRequest; - fromPartial(object: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }): _21.PageRequest; - }; - PageResponse: { - encode(message: _21.PageResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _21.PageResponse; - fromPartial(object: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }): _21.PageResponse; - }; - }; - } - namespace reflection { - const v1beta1: { - ListAllInterfacesRequest: { - encode(_: _22.ListAllInterfacesRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _22.ListAllInterfacesRequest; - fromPartial(_: {}): _22.ListAllInterfacesRequest; - }; - ListAllInterfacesResponse: { - encode(message: _22.ListAllInterfacesResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _22.ListAllInterfacesResponse; - fromPartial(object: { - interfaceNames?: string[]; - }): _22.ListAllInterfacesResponse; - }; - ListImplementationsRequest: { - encode(message: _22.ListImplementationsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _22.ListImplementationsRequest; - fromPartial(object: { - interfaceName?: string; - }): _22.ListImplementationsRequest; - }; - ListImplementationsResponse: { - encode(message: _22.ListImplementationsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _22.ListImplementationsResponse; - fromPartial(object: { - implementationMessageNames?: string[]; - }): _22.ListImplementationsResponse; - }; - }; - const v2alpha1: { - AppDescriptor: { - encode(message: _23.AppDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _23.AppDescriptor; - fromPartial(object: { - authn?: { - signModes?: { - name?: string; - number?: number; - authnInfoProviderMethodFullname?: string; - }[]; - }; - chain?: { - id?: string; - }; - codec?: { - interfaces?: { - fullname?: string; - interfaceAcceptingMessages?: { - fullname?: string; - fieldDescriptorNames?: string[]; - }[]; - interfaceImplementers?: { - fullname?: string; - typeUrl?: string; - }[]; - }[]; - }; - configuration?: { - bech32AccountAddressPrefix?: string; - }; - queryServices?: { - queryServices?: { - fullname?: string; - isModule?: boolean; - methods?: { - name?: string; - fullQueryPath?: string; - }[]; - }[]; - }; - tx?: { - fullname?: string; - msgs?: { - msgTypeUrl?: string; - }[]; - }; - }): _23.AppDescriptor; - }; - TxDescriptor: { - encode(message: _23.TxDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _23.TxDescriptor; - fromPartial(object: { - fullname?: string; - msgs?: { - msgTypeUrl?: string; - }[]; - }): _23.TxDescriptor; - }; - AuthnDescriptor: { - encode(message: _23.AuthnDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _23.AuthnDescriptor; - fromPartial(object: { - signModes?: { - name?: string; - number?: number; - authnInfoProviderMethodFullname?: string; - }[]; - }): _23.AuthnDescriptor; - }; - SigningModeDescriptor: { - encode(message: _23.SigningModeDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _23.SigningModeDescriptor; - fromPartial(object: { - name?: string; - number?: number; - authnInfoProviderMethodFullname?: string; - }): _23.SigningModeDescriptor; - }; - ChainDescriptor: { - encode(message: _23.ChainDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _23.ChainDescriptor; - fromPartial(object: { - id?: string; - }): _23.ChainDescriptor; - }; - CodecDescriptor: { - encode(message: _23.CodecDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _23.CodecDescriptor; - fromPartial(object: { - interfaces?: { - fullname?: string; - interfaceAcceptingMessages?: { - fullname?: string; - fieldDescriptorNames?: string[]; - }[]; - interfaceImplementers?: { - fullname?: string; - typeUrl?: string; - }[]; - }[]; - }): _23.CodecDescriptor; - }; - InterfaceDescriptor: { - encode(message: _23.InterfaceDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _23.InterfaceDescriptor; - fromPartial(object: { - fullname?: string; - interfaceAcceptingMessages?: { - fullname?: string; - fieldDescriptorNames?: string[]; - }[]; - interfaceImplementers?: { - fullname?: string; - typeUrl?: string; - }[]; - }): _23.InterfaceDescriptor; - }; - InterfaceImplementerDescriptor: { - encode(message: _23.InterfaceImplementerDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _23.InterfaceImplementerDescriptor; - fromPartial(object: { - fullname?: string; - typeUrl?: string; - }): _23.InterfaceImplementerDescriptor; - }; - InterfaceAcceptingMessageDescriptor: { - encode(message: _23.InterfaceAcceptingMessageDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _23.InterfaceAcceptingMessageDescriptor; - fromPartial(object: { - fullname?: string; - fieldDescriptorNames?: string[]; - }): _23.InterfaceAcceptingMessageDescriptor; - }; - ConfigurationDescriptor: { - encode(message: _23.ConfigurationDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _23.ConfigurationDescriptor; - fromPartial(object: { - bech32AccountAddressPrefix?: string; - }): _23.ConfigurationDescriptor; - }; - MsgDescriptor: { - encode(message: _23.MsgDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _23.MsgDescriptor; - fromPartial(object: { - msgTypeUrl?: string; - }): _23.MsgDescriptor; - }; - GetAuthnDescriptorRequest: { - encode(_: _23.GetAuthnDescriptorRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _23.GetAuthnDescriptorRequest; - fromPartial(_: {}): _23.GetAuthnDescriptorRequest; - }; - GetAuthnDescriptorResponse: { - encode(message: _23.GetAuthnDescriptorResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _23.GetAuthnDescriptorResponse; - fromPartial(object: { - authn?: { - signModes?: { - name?: string; - number?: number; - authnInfoProviderMethodFullname?: string; - }[]; - }; - }): _23.GetAuthnDescriptorResponse; - }; - GetChainDescriptorRequest: { - encode(_: _23.GetChainDescriptorRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _23.GetChainDescriptorRequest; - fromPartial(_: {}): _23.GetChainDescriptorRequest; - }; - GetChainDescriptorResponse: { - encode(message: _23.GetChainDescriptorResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _23.GetChainDescriptorResponse; - fromPartial(object: { - chain?: { - id?: string; - }; - }): _23.GetChainDescriptorResponse; - }; - GetCodecDescriptorRequest: { - encode(_: _23.GetCodecDescriptorRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _23.GetCodecDescriptorRequest; - fromPartial(_: {}): _23.GetCodecDescriptorRequest; - }; - GetCodecDescriptorResponse: { - encode(message: _23.GetCodecDescriptorResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _23.GetCodecDescriptorResponse; - fromPartial(object: { - codec?: { - interfaces?: { - fullname?: string; - interfaceAcceptingMessages?: { - fullname?: string; - fieldDescriptorNames?: string[]; - }[]; - interfaceImplementers?: { - fullname?: string; - typeUrl?: string; - }[]; - }[]; - }; - }): _23.GetCodecDescriptorResponse; - }; - GetConfigurationDescriptorRequest: { - encode(_: _23.GetConfigurationDescriptorRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _23.GetConfigurationDescriptorRequest; - fromPartial(_: {}): _23.GetConfigurationDescriptorRequest; - }; - GetConfigurationDescriptorResponse: { - encode(message: _23.GetConfigurationDescriptorResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _23.GetConfigurationDescriptorResponse; - fromPartial(object: { - config?: { - bech32AccountAddressPrefix?: string; - }; - }): _23.GetConfigurationDescriptorResponse; - }; - GetQueryServicesDescriptorRequest: { - encode(_: _23.GetQueryServicesDescriptorRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _23.GetQueryServicesDescriptorRequest; - fromPartial(_: {}): _23.GetQueryServicesDescriptorRequest; - }; - GetQueryServicesDescriptorResponse: { - encode(message: _23.GetQueryServicesDescriptorResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _23.GetQueryServicesDescriptorResponse; - fromPartial(object: { - queries?: { - queryServices?: { - fullname?: string; - isModule?: boolean; - methods?: { - name?: string; - fullQueryPath?: string; - }[]; - }[]; - }; - }): _23.GetQueryServicesDescriptorResponse; - }; - GetTxDescriptorRequest: { - encode(_: _23.GetTxDescriptorRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _23.GetTxDescriptorRequest; - fromPartial(_: {}): _23.GetTxDescriptorRequest; - }; - GetTxDescriptorResponse: { - encode(message: _23.GetTxDescriptorResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _23.GetTxDescriptorResponse; - fromPartial(object: { - tx?: { - fullname?: string; - msgs?: { - msgTypeUrl?: string; - }[]; - }; - }): _23.GetTxDescriptorResponse; - }; - QueryServicesDescriptor: { - encode(message: _23.QueryServicesDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _23.QueryServicesDescriptor; - fromPartial(object: { - queryServices?: { - fullname?: string; - isModule?: boolean; - methods?: { - name?: string; - fullQueryPath?: string; - }[]; - }[]; - }): _23.QueryServicesDescriptor; - }; - QueryServiceDescriptor: { - encode(message: _23.QueryServiceDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _23.QueryServiceDescriptor; - fromPartial(object: { - fullname?: string; - isModule?: boolean; - methods?: { - name?: string; - fullQueryPath?: string; - }[]; - }): _23.QueryServiceDescriptor; - }; - QueryMethodDescriptor: { - encode(message: _23.QueryMethodDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _23.QueryMethodDescriptor; - fromPartial(object: { - name?: string; - fullQueryPath?: string; - }): _23.QueryMethodDescriptor; - }; - }; - } - namespace snapshots { - const v1beta1: { - Snapshot: { - encode(message: _24.Snapshot, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _24.Snapshot; - fromPartial(object: { - height?: string | number | import("long").Long; - format?: number; - chunks?: number; - hash?: Uint8Array; - metadata?: { - chunkHashes?: Uint8Array[]; - }; - }): _24.Snapshot; - }; - Metadata: { - encode(message: _24.Metadata, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _24.Metadata; - fromPartial(object: { - chunkHashes?: Uint8Array[]; - }): _24.Metadata; - }; - SnapshotItem: { - encode(message: _24.SnapshotItem, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _24.SnapshotItem; - fromPartial(object: { - store?: { - name?: string; - }; - iavl?: { - key?: Uint8Array; - value?: Uint8Array; - version?: string | number | import("long").Long; - height?: number; - }; - extension?: { - name?: string; - format?: number; - }; - extensionPayload?: { - payload?: Uint8Array; - }; - kv?: { - key?: Uint8Array; - value?: Uint8Array; - }; - schema?: { - keys?: Uint8Array[]; - }; - }): _24.SnapshotItem; - }; - SnapshotStoreItem: { - encode(message: _24.SnapshotStoreItem, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _24.SnapshotStoreItem; - fromPartial(object: { - name?: string; - }): _24.SnapshotStoreItem; - }; - SnapshotIAVLItem: { - encode(message: _24.SnapshotIAVLItem, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _24.SnapshotIAVLItem; - fromPartial(object: { - key?: Uint8Array; - value?: Uint8Array; - version?: string | number | import("long").Long; - height?: number; - }): _24.SnapshotIAVLItem; - }; - SnapshotExtensionMeta: { - encode(message: _24.SnapshotExtensionMeta, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _24.SnapshotExtensionMeta; - fromPartial(object: { - name?: string; - format?: number; - }): _24.SnapshotExtensionMeta; - }; - SnapshotExtensionPayload: { - encode(message: _24.SnapshotExtensionPayload, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _24.SnapshotExtensionPayload; - fromPartial(object: { - payload?: Uint8Array; - }): _24.SnapshotExtensionPayload; - }; - SnapshotKVItem: { - encode(message: _24.SnapshotKVItem, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _24.SnapshotKVItem; - fromPartial(object: { - key?: Uint8Array; - value?: Uint8Array; - }): _24.SnapshotKVItem; - }; - SnapshotSchema: { - encode(message: _24.SnapshotSchema, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _24.SnapshotSchema; - fromPartial(object: { - keys?: Uint8Array[]; - }): _24.SnapshotSchema; - }; - }; - } - namespace store { - const v1beta1: { - StoreKVPair: { - encode(message: _26.StoreKVPair, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _26.StoreKVPair; - fromPartial(object: { - storeKey?: string; - delete?: boolean; - key?: Uint8Array; - value?: Uint8Array; - }): _26.StoreKVPair; - }; - CommitInfo: { - encode(message: _25.CommitInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _25.CommitInfo; - fromPartial(object: { - version?: string | number | import("long").Long; - storeInfos?: { - name?: string; - commitId?: { - version?: string | number | import("long").Long; - hash?: Uint8Array; - }; - }[]; - }): _25.CommitInfo; - }; - StoreInfo: { - encode(message: _25.StoreInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _25.StoreInfo; - fromPartial(object: { - name?: string; - commitId?: { - version?: string | number | import("long").Long; - hash?: Uint8Array; - }; - }): _25.StoreInfo; - }; - CommitID: { - encode(message: _25.CommitID, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _25.CommitID; - fromPartial(object: { - version?: string | number | import("long").Long; - hash?: Uint8Array; - }): _25.CommitID; - }; - }; - } - namespace tendermint { - const v1beta1: { - ServiceClientImpl: typeof _166.ServiceClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - getNodeInfo(request?: _27.GetNodeInfoRequest): Promise<_27.GetNodeInfoResponse>; - getSyncing(request?: _27.GetSyncingRequest): Promise<_27.GetSyncingResponse>; - getLatestBlock(request?: _27.GetLatestBlockRequest): Promise<_27.GetLatestBlockResponse>; - getBlockByHeight(request: _27.GetBlockByHeightRequest): Promise<_27.GetBlockByHeightResponse>; - getLatestValidatorSet(request?: _27.GetLatestValidatorSetRequest): Promise<_27.GetLatestValidatorSetResponse>; - getValidatorSetByHeight(request: _27.GetValidatorSetByHeightRequest): Promise<_27.GetValidatorSetByHeightResponse>; - }; - LCDQueryClient: typeof _148.LCDQueryClient; - GetValidatorSetByHeightRequest: { - encode(message: _27.GetValidatorSetByHeightRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _27.GetValidatorSetByHeightRequest; - fromPartial(object: { - height?: string | number | import("long").Long; - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _27.GetValidatorSetByHeightRequest; - }; - GetValidatorSetByHeightResponse: { - encode(message: _27.GetValidatorSetByHeightResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _27.GetValidatorSetByHeightResponse; - fromPartial(object: { - blockHeight?: string | number | import("long").Long; - validators?: { - address?: string; - pubKey?: { - typeUrl?: string; - value?: Uint8Array; - }; - votingPower?: string | number | import("long").Long; - proposerPriority?: string | number | import("long").Long; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _27.GetValidatorSetByHeightResponse; - }; - GetLatestValidatorSetRequest: { - encode(message: _27.GetLatestValidatorSetRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _27.GetLatestValidatorSetRequest; - fromPartial(object: { - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _27.GetLatestValidatorSetRequest; - }; - GetLatestValidatorSetResponse: { - encode(message: _27.GetLatestValidatorSetResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _27.GetLatestValidatorSetResponse; - fromPartial(object: { - blockHeight?: string | number | import("long").Long; - validators?: { - address?: string; - pubKey?: { - typeUrl?: string; - value?: Uint8Array; - }; - votingPower?: string | number | import("long").Long; - proposerPriority?: string | number | import("long").Long; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _27.GetLatestValidatorSetResponse; - }; - Validator: { - encode(message: _27.Validator, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _27.Validator; - fromPartial(object: { - address?: string; - pubKey?: { - typeUrl?: string; - value?: Uint8Array; - }; - votingPower?: string | number | import("long").Long; - proposerPriority?: string | number | import("long").Long; - }): _27.Validator; - }; - GetBlockByHeightRequest: { - encode(message: _27.GetBlockByHeightRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _27.GetBlockByHeightRequest; - fromPartial(object: { - height?: string | number | import("long").Long; - }): _27.GetBlockByHeightRequest; - }; - GetBlockByHeightResponse: { - encode(message: _27.GetBlockByHeightResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _27.GetBlockByHeightResponse; - fromPartial(object: { - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - block?: { - header?: { - version?: { - block?: string | number | import("long").Long; - app?: string | number | import("long").Long; - }; - chainId?: string; - height?: string | number | import("long").Long; - time?: Date; - lastBlockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - lastCommitHash?: Uint8Array; - dataHash?: Uint8Array; - validatorsHash?: Uint8Array; - nextValidatorsHash?: Uint8Array; - consensusHash?: Uint8Array; - appHash?: Uint8Array; - lastResultsHash?: Uint8Array; - evidenceHash?: Uint8Array; - proposerAddress?: Uint8Array; - }; - data?: { - txs?: Uint8Array[]; - }; - evidence?: { - evidence?: { - duplicateVoteEvidence?: { - voteA?: { - type?: import("../tendermint/types/types").SignedMsgType; - height?: string | number | import("long").Long; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - timestamp?: Date; - validatorAddress?: Uint8Array; - validatorIndex?: number; - signature?: Uint8Array; - }; - voteB?: { - type?: import("../tendermint/types/types").SignedMsgType; - height?: string | number | import("long").Long; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - timestamp?: Date; - validatorAddress?: Uint8Array; - validatorIndex?: number; - signature?: Uint8Array; - }; - totalVotingPower?: string | number | import("long").Long; - validatorPower?: string | number | import("long").Long; - timestamp?: Date; - }; - lightClientAttackEvidence?: { - conflictingBlock?: { - signedHeader?: { - header?: { - version?: { - block?: string | number | import("long").Long; - app?: string | number | import("long").Long; - }; - chainId?: string; - height?: string | number | import("long").Long; - time?: Date; - lastBlockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - lastCommitHash?: Uint8Array; - dataHash?: Uint8Array; - validatorsHash?: Uint8Array; - nextValidatorsHash?: Uint8Array; - consensusHash?: Uint8Array; - appHash?: Uint8Array; - lastResultsHash?: Uint8Array; - evidenceHash?: Uint8Array; - proposerAddress?: Uint8Array; - }; - commit?: { - height?: string | number | import("long").Long; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - signatures?: { - blockIdFlag?: import("../tendermint/types/types").BlockIDFlag; - validatorAddress?: Uint8Array; - timestamp?: Date; - signature?: Uint8Array; - }[]; - }; - }; - validatorSet?: { - validators?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: string | number | import("long").Long; - proposerPriority?: string | number | import("long").Long; - }[]; - proposer?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: string | number | import("long").Long; - proposerPriority?: string | number | import("long").Long; - }; - totalVotingPower?: string | number | import("long").Long; - }; - }; - commonHeight?: string | number | import("long").Long; - byzantineValidators?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: string | number | import("long").Long; - proposerPriority?: string | number | import("long").Long; - }[]; - totalVotingPower?: string | number | import("long").Long; - timestamp?: Date; - }; - }[]; - }; - lastCommit?: { - height?: string | number | import("long").Long; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - signatures?: { - blockIdFlag?: import("../tendermint/types/types").BlockIDFlag; - validatorAddress?: Uint8Array; - timestamp?: Date; - signature?: Uint8Array; - }[]; - }; - }; - }): _27.GetBlockByHeightResponse; - }; - GetLatestBlockRequest: { - encode(_: _27.GetLatestBlockRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _27.GetLatestBlockRequest; - fromPartial(_: {}): _27.GetLatestBlockRequest; - }; - GetLatestBlockResponse: { - encode(message: _27.GetLatestBlockResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _27.GetLatestBlockResponse; - fromPartial(object: { - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - block?: { - header?: { - version?: { - block?: string | number | import("long").Long; - app?: string | number | import("long").Long; - }; - chainId?: string; - height?: string | number | import("long").Long; - time?: Date; - lastBlockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - lastCommitHash?: Uint8Array; - dataHash?: Uint8Array; - validatorsHash?: Uint8Array; - nextValidatorsHash?: Uint8Array; - consensusHash?: Uint8Array; - appHash?: Uint8Array; - lastResultsHash?: Uint8Array; - evidenceHash?: Uint8Array; - proposerAddress?: Uint8Array; - }; - data?: { - txs?: Uint8Array[]; - }; - evidence?: { - evidence?: { - duplicateVoteEvidence?: { - voteA?: { - type?: import("../tendermint/types/types").SignedMsgType; - height?: string | number | import("long").Long; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - timestamp?: Date; - validatorAddress?: Uint8Array; - validatorIndex?: number; - signature?: Uint8Array; - }; - voteB?: { - type?: import("../tendermint/types/types").SignedMsgType; - height?: string | number | import("long").Long; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - timestamp?: Date; - validatorAddress?: Uint8Array; - validatorIndex?: number; - signature?: Uint8Array; - }; - totalVotingPower?: string | number | import("long").Long; - validatorPower?: string | number | import("long").Long; - timestamp?: Date; - }; - lightClientAttackEvidence?: { - conflictingBlock?: { - signedHeader?: { - header?: { - version?: { - block?: string | number | import("long").Long; - app?: string | number | import("long").Long; - }; - chainId?: string; - height?: string | number | import("long").Long; - time?: Date; - lastBlockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - lastCommitHash?: Uint8Array; - dataHash?: Uint8Array; - validatorsHash?: Uint8Array; - nextValidatorsHash?: Uint8Array; - consensusHash?: Uint8Array; - appHash?: Uint8Array; - lastResultsHash?: Uint8Array; - evidenceHash?: Uint8Array; - proposerAddress?: Uint8Array; - }; - commit?: { - height?: string | number | import("long").Long; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - signatures?: { - blockIdFlag?: import("../tendermint/types/types").BlockIDFlag; - validatorAddress?: Uint8Array; - timestamp?: Date; - signature?: Uint8Array; - }[]; - }; - }; - validatorSet?: { - validators?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: string | number | import("long").Long; - proposerPriority?: string | number | import("long").Long; - }[]; - proposer?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: string | number | import("long").Long; - proposerPriority?: string | number | import("long").Long; - }; - totalVotingPower?: string | number | import("long").Long; - }; - }; - commonHeight?: string | number | import("long").Long; - byzantineValidators?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: string | number | import("long").Long; - proposerPriority?: string | number | import("long").Long; - }[]; - totalVotingPower?: string | number | import("long").Long; - timestamp?: Date; - }; - }[]; - }; - lastCommit?: { - height?: string | number | import("long").Long; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - signatures?: { - blockIdFlag?: import("../tendermint/types/types").BlockIDFlag; - validatorAddress?: Uint8Array; - timestamp?: Date; - signature?: Uint8Array; - }[]; - }; - }; - }): _27.GetLatestBlockResponse; - }; - GetSyncingRequest: { - encode(_: _27.GetSyncingRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _27.GetSyncingRequest; - fromPartial(_: {}): _27.GetSyncingRequest; - }; - GetSyncingResponse: { - encode(message: _27.GetSyncingResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _27.GetSyncingResponse; - fromPartial(object: { - syncing?: boolean; - }): _27.GetSyncingResponse; - }; - GetNodeInfoRequest: { - encode(_: _27.GetNodeInfoRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _27.GetNodeInfoRequest; - fromPartial(_: {}): _27.GetNodeInfoRequest; - }; - GetNodeInfoResponse: { - encode(message: _27.GetNodeInfoResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _27.GetNodeInfoResponse; - fromPartial(object: { - nodeInfo?: { - protocolVersion?: { - p2p?: string | number | import("long").Long; - block?: string | number | import("long").Long; - app?: string | number | import("long").Long; - }; - nodeId?: string; - listenAddr?: string; - network?: string; - version?: string; - channels?: Uint8Array; - moniker?: string; - other?: { - txIndex?: string; - rpcAddress?: string; - }; - }; - applicationVersion?: { - name?: string; - appName?: string; - version?: string; - gitCommit?: string; - buildTags?: string; - goVersion?: string; - buildDeps?: { - path?: string; - version?: string; - sum?: string; - }[]; - cosmosSdkVersion?: string; - }; - }): _27.GetNodeInfoResponse; - }; - VersionInfo: { - encode(message: _27.VersionInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _27.VersionInfo; - fromPartial(object: { - name?: string; - appName?: string; - version?: string; - gitCommit?: string; - buildTags?: string; - goVersion?: string; - buildDeps?: { - path?: string; - version?: string; - sum?: string; - }[]; - cosmosSdkVersion?: string; - }): _27.VersionInfo; - }; - Module: { - encode(message: _27.Module, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _27.Module; - fromPartial(object: { - path?: string; - version?: string; - sum?: string; - }): _27.Module; - }; - }; - } - const v1beta1: { - Coin: { - encode(message: _28.Coin, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _28.Coin; - fromPartial(object: { - denom?: string; - amount?: string; - }): _28.Coin; - }; - DecCoin: { - encode(message: _28.DecCoin, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _28.DecCoin; - fromPartial(object: { - denom?: string; - amount?: string; - }): _28.DecCoin; - }; - IntProto: { - encode(message: _28.IntProto, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _28.IntProto; - fromPartial(object: { - int?: string; - }): _28.IntProto; - }; - DecProto: { - encode(message: _28.DecProto, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _28.DecProto; - fromPartial(object: { - dec?: string; - }): _28.DecProto; - }; - }; - } - namespace capability { - const v1beta1: { - GenesisOwners: { - encode(message: _30.GenesisOwners, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _30.GenesisOwners; - fromPartial(object: { - index?: string | number | import("long").Long; - indexOwners?: { - owners?: { - module?: string; - name?: string; - }[]; - }; - }): _30.GenesisOwners; - }; - GenesisState: { - encode(message: _30.GenesisState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _30.GenesisState; - fromPartial(object: { - index?: string | number | import("long").Long; - owners?: { - index?: string | number | import("long").Long; - indexOwners?: { - owners?: { - module?: string; - name?: string; - }[]; - }; - }[]; - }): _30.GenesisState; - }; - Capability: { - encode(message: _29.Capability, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _29.Capability; - fromPartial(object: { - index?: string | number | import("long").Long; - }): _29.Capability; - }; - Owner: { - encode(message: _29.Owner, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _29.Owner; - fromPartial(object: { - module?: string; - name?: string; - }): _29.Owner; - }; - CapabilityOwners: { - encode(message: _29.CapabilityOwners, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _29.CapabilityOwners; - fromPartial(object: { - owners?: { - module?: string; - name?: string; - }[]; - }): _29.CapabilityOwners; - }; - }; - } - namespace crisis { - const v1beta1: { - MsgClientImpl: typeof _182.MsgClientImpl; - MsgVerifyInvariant: { - encode(message: _32.MsgVerifyInvariant, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _32.MsgVerifyInvariant; - fromPartial(object: { - sender?: string; - invariantModuleName?: string; - invariantRoute?: string; - }): _32.MsgVerifyInvariant; - }; - MsgVerifyInvariantResponse: { - encode(_: _32.MsgVerifyInvariantResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _32.MsgVerifyInvariantResponse; - fromPartial(_: {}): _32.MsgVerifyInvariantResponse; - }; - GenesisState: { - encode(message: _31.GenesisState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _31.GenesisState; - fromPartial(object: { - constantFee?: { - denom?: string; - amount?: string; - }; - }): _31.GenesisState; - }; - }; - } - namespace crypto { - const ed25519: { - PubKey: { - encode(message: _33.PubKey, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _33.PubKey; - fromPartial(object: { - key?: Uint8Array; - }): _33.PubKey; - }; - PrivKey: { - encode(message: _33.PrivKey, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _33.PrivKey; - fromPartial(object: { - key?: Uint8Array; - }): _33.PrivKey; - }; - }; - namespace hd { - const v1: { - BIP44Params: { - encode(message: _34.BIP44Params, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _34.BIP44Params; - fromPartial(object: { - purpose?: number; - coinType?: number; - account?: number; - change?: boolean; - addressIndex?: number; - }): _34.BIP44Params; - }; - }; - } - namespace keyring { - const v1: { - Record: { - encode(message: _35.Record, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _35.Record; - fromPartial(object: { - name?: string; - pubKey?: { - typeUrl?: string; - value?: Uint8Array; - }; - local?: { - privKey?: { - typeUrl?: string; - value?: Uint8Array; - }; - privKeyType?: string; - }; - ledger?: { - path?: { - purpose?: number; - coinType?: number; - account?: number; - change?: boolean; - addressIndex?: number; - }; - }; - multi?: {}; - offline?: {}; - }): _35.Record; - }; - Record_Local: { - encode(message: _35.Record_Local, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _35.Record_Local; - fromPartial(object: { - privKey?: { - typeUrl?: string; - value?: Uint8Array; - }; - privKeyType?: string; - }): _35.Record_Local; - }; - Record_Ledger: { - encode(message: _35.Record_Ledger, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _35.Record_Ledger; - fromPartial(object: { - path?: { - purpose?: number; - coinType?: number; - account?: number; - change?: boolean; - addressIndex?: number; - }; - }): _35.Record_Ledger; - }; - Record_Multi: { - encode(_: _35.Record_Multi, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _35.Record_Multi; - fromPartial(_: {}): _35.Record_Multi; - }; - Record_Offline: { - encode(_: _35.Record_Offline, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _35.Record_Offline; - fromPartial(_: {}): _35.Record_Offline; - }; - }; - } - const multisig: { - LegacyAminoPubKey: { - encode(message: _36.LegacyAminoPubKey, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _36.LegacyAminoPubKey; - fromPartial(object: { - threshold?: number; - publicKeys?: { - typeUrl?: string; - value?: Uint8Array; - }[]; - }): _36.LegacyAminoPubKey; - }; - }; - const secp256k1: { - PubKey: { - encode(message: _37.PubKey, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _37.PubKey; - fromPartial(object: { - key?: Uint8Array; - }): _37.PubKey; - }; - PrivKey: { - encode(message: _37.PrivKey, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _37.PrivKey; - fromPartial(object: { - key?: Uint8Array; - }): _37.PrivKey; - }; - }; - const secp256r1: { - PubKey: { - encode(message: _38.PubKey, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _38.PubKey; - fromPartial(object: { - key?: Uint8Array; - }): _38.PubKey; - }; - PrivKey: { - encode(message: _38.PrivKey, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _38.PrivKey; - fromPartial(object: { - secret?: Uint8Array; - }): _38.PrivKey; - }; - }; - } - namespace distribution { - const v1beta1: { - MsgClientImpl: typeof _183.MsgClientImpl; - QueryClientImpl: typeof _167.QueryClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - params(request?: _41.QueryParamsRequest): Promise<_41.QueryParamsResponse>; - validatorOutstandingRewards(request: _41.QueryValidatorOutstandingRewardsRequest): Promise<_41.QueryValidatorOutstandingRewardsResponse>; - validatorCommission(request: _41.QueryValidatorCommissionRequest): Promise<_41.QueryValidatorCommissionResponse>; - validatorSlashes(request: _41.QueryValidatorSlashesRequest): Promise<_41.QueryValidatorSlashesResponse>; - delegationRewards(request: _41.QueryDelegationRewardsRequest): Promise<_41.QueryDelegationRewardsResponse>; - delegationTotalRewards(request: _41.QueryDelegationTotalRewardsRequest): Promise<_41.QueryDelegationTotalRewardsResponse>; - delegatorValidators(request: _41.QueryDelegatorValidatorsRequest): Promise<_41.QueryDelegatorValidatorsResponse>; - delegatorWithdrawAddress(request: _41.QueryDelegatorWithdrawAddressRequest): Promise<_41.QueryDelegatorWithdrawAddressResponse>; - communityPool(request?: _41.QueryCommunityPoolRequest): Promise<_41.QueryCommunityPoolResponse>; - }; - LCDQueryClient: typeof _149.LCDQueryClient; - MsgSetWithdrawAddress: { - encode(message: _42.MsgSetWithdrawAddress, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _42.MsgSetWithdrawAddress; - fromPartial(object: { - delegatorAddress?: string; - withdrawAddress?: string; - }): _42.MsgSetWithdrawAddress; - }; - MsgSetWithdrawAddressResponse: { - encode(_: _42.MsgSetWithdrawAddressResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _42.MsgSetWithdrawAddressResponse; - fromPartial(_: {}): _42.MsgSetWithdrawAddressResponse; - }; - MsgWithdrawDelegatorReward: { - encode(message: _42.MsgWithdrawDelegatorReward, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _42.MsgWithdrawDelegatorReward; - fromPartial(object: { - delegatorAddress?: string; - validatorAddress?: string; - }): _42.MsgWithdrawDelegatorReward; - }; - MsgWithdrawDelegatorRewardResponse: { - encode(message: _42.MsgWithdrawDelegatorRewardResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _42.MsgWithdrawDelegatorRewardResponse; - fromPartial(object: { - amount?: { - denom?: string; - amount?: string; - }[]; - }): _42.MsgWithdrawDelegatorRewardResponse; - }; - MsgWithdrawValidatorCommission: { - encode(message: _42.MsgWithdrawValidatorCommission, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _42.MsgWithdrawValidatorCommission; - fromPartial(object: { - validatorAddress?: string; - }): _42.MsgWithdrawValidatorCommission; - }; - MsgWithdrawValidatorCommissionResponse: { - encode(message: _42.MsgWithdrawValidatorCommissionResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _42.MsgWithdrawValidatorCommissionResponse; - fromPartial(object: { - amount?: { - denom?: string; - amount?: string; - }[]; - }): _42.MsgWithdrawValidatorCommissionResponse; - }; - MsgFundCommunityPool: { - encode(message: _42.MsgFundCommunityPool, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _42.MsgFundCommunityPool; - fromPartial(object: { - amount?: { - denom?: string; - amount?: string; - }[]; - depositor?: string; - }): _42.MsgFundCommunityPool; - }; - MsgFundCommunityPoolResponse: { - encode(_: _42.MsgFundCommunityPoolResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _42.MsgFundCommunityPoolResponse; - fromPartial(_: {}): _42.MsgFundCommunityPoolResponse; - }; - QueryParamsRequest: { - encode(_: _41.QueryParamsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _41.QueryParamsRequest; - fromPartial(_: {}): _41.QueryParamsRequest; - }; - QueryParamsResponse: { - encode(message: _41.QueryParamsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _41.QueryParamsResponse; - fromPartial(object: { - params?: { - communityTax?: string; - baseProposerReward?: string; - bonusProposerReward?: string; - withdrawAddrEnabled?: boolean; - }; - }): _41.QueryParamsResponse; - }; - QueryValidatorOutstandingRewardsRequest: { - encode(message: _41.QueryValidatorOutstandingRewardsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _41.QueryValidatorOutstandingRewardsRequest; - fromPartial(object: { - validatorAddress?: string; - }): _41.QueryValidatorOutstandingRewardsRequest; - }; - QueryValidatorOutstandingRewardsResponse: { - encode(message: _41.QueryValidatorOutstandingRewardsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _41.QueryValidatorOutstandingRewardsResponse; - fromPartial(object: { - rewards?: { - rewards?: { - denom?: string; - amount?: string; - }[]; - }; - }): _41.QueryValidatorOutstandingRewardsResponse; - }; - QueryValidatorCommissionRequest: { - encode(message: _41.QueryValidatorCommissionRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _41.QueryValidatorCommissionRequest; - fromPartial(object: { - validatorAddress?: string; - }): _41.QueryValidatorCommissionRequest; - }; - QueryValidatorCommissionResponse: { - encode(message: _41.QueryValidatorCommissionResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _41.QueryValidatorCommissionResponse; - fromPartial(object: { - commission?: { - commission?: { - denom?: string; - amount?: string; - }[]; - }; - }): _41.QueryValidatorCommissionResponse; - }; - QueryValidatorSlashesRequest: { - encode(message: _41.QueryValidatorSlashesRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _41.QueryValidatorSlashesRequest; - fromPartial(object: { - validatorAddress?: string; - startingHeight?: string | number | import("long").Long; - endingHeight?: string | number | import("long").Long; - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _41.QueryValidatorSlashesRequest; - }; - QueryValidatorSlashesResponse: { - encode(message: _41.QueryValidatorSlashesResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _41.QueryValidatorSlashesResponse; - fromPartial(object: { - slashes?: { - validatorPeriod?: string | number | import("long").Long; - fraction?: string; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _41.QueryValidatorSlashesResponse; - }; - QueryDelegationRewardsRequest: { - encode(message: _41.QueryDelegationRewardsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _41.QueryDelegationRewardsRequest; - fromPartial(object: { - delegatorAddress?: string; - validatorAddress?: string; - }): _41.QueryDelegationRewardsRequest; - }; - QueryDelegationRewardsResponse: { - encode(message: _41.QueryDelegationRewardsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _41.QueryDelegationRewardsResponse; - fromPartial(object: { - rewards?: { - denom?: string; - amount?: string; - }[]; - }): _41.QueryDelegationRewardsResponse; - }; - QueryDelegationTotalRewardsRequest: { - encode(message: _41.QueryDelegationTotalRewardsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _41.QueryDelegationTotalRewardsRequest; - fromPartial(object: { - delegatorAddress?: string; - }): _41.QueryDelegationTotalRewardsRequest; - }; - QueryDelegationTotalRewardsResponse: { - encode(message: _41.QueryDelegationTotalRewardsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _41.QueryDelegationTotalRewardsResponse; - fromPartial(object: { - rewards?: { - validatorAddress?: string; - reward?: { - denom?: string; - amount?: string; - }[]; - }[]; - total?: { - denom?: string; - amount?: string; - }[]; - }): _41.QueryDelegationTotalRewardsResponse; - }; - QueryDelegatorValidatorsRequest: { - encode(message: _41.QueryDelegatorValidatorsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _41.QueryDelegatorValidatorsRequest; - fromPartial(object: { - delegatorAddress?: string; - }): _41.QueryDelegatorValidatorsRequest; - }; - QueryDelegatorValidatorsResponse: { - encode(message: _41.QueryDelegatorValidatorsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _41.QueryDelegatorValidatorsResponse; - fromPartial(object: { - validators?: string[]; - }): _41.QueryDelegatorValidatorsResponse; - }; - QueryDelegatorWithdrawAddressRequest: { - encode(message: _41.QueryDelegatorWithdrawAddressRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _41.QueryDelegatorWithdrawAddressRequest; - fromPartial(object: { - delegatorAddress?: string; - }): _41.QueryDelegatorWithdrawAddressRequest; - }; - QueryDelegatorWithdrawAddressResponse: { - encode(message: _41.QueryDelegatorWithdrawAddressResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _41.QueryDelegatorWithdrawAddressResponse; - fromPartial(object: { - withdrawAddress?: string; - }): _41.QueryDelegatorWithdrawAddressResponse; - }; - QueryCommunityPoolRequest: { - encode(_: _41.QueryCommunityPoolRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _41.QueryCommunityPoolRequest; - fromPartial(_: {}): _41.QueryCommunityPoolRequest; - }; - QueryCommunityPoolResponse: { - encode(message: _41.QueryCommunityPoolResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _41.QueryCommunityPoolResponse; - fromPartial(object: { - pool?: { - denom?: string; - amount?: string; - }[]; - }): _41.QueryCommunityPoolResponse; - }; - DelegatorWithdrawInfo: { - encode(message: _40.DelegatorWithdrawInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _40.DelegatorWithdrawInfo; - fromPartial(object: { - delegatorAddress?: string; - withdrawAddress?: string; - }): _40.DelegatorWithdrawInfo; - }; - ValidatorOutstandingRewardsRecord: { - encode(message: _40.ValidatorOutstandingRewardsRecord, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _40.ValidatorOutstandingRewardsRecord; - fromPartial(object: { - validatorAddress?: string; - outstandingRewards?: { - denom?: string; - amount?: string; - }[]; - }): _40.ValidatorOutstandingRewardsRecord; - }; - ValidatorAccumulatedCommissionRecord: { - encode(message: _40.ValidatorAccumulatedCommissionRecord, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _40.ValidatorAccumulatedCommissionRecord; - fromPartial(object: { - validatorAddress?: string; - accumulated?: { - commission?: { - denom?: string; - amount?: string; - }[]; - }; - }): _40.ValidatorAccumulatedCommissionRecord; - }; - ValidatorHistoricalRewardsRecord: { - encode(message: _40.ValidatorHistoricalRewardsRecord, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _40.ValidatorHistoricalRewardsRecord; - fromPartial(object: { - validatorAddress?: string; - period?: string | number | import("long").Long; - rewards?: { - cumulativeRewardRatio?: { - denom?: string; - amount?: string; - }[]; - referenceCount?: number; - }; - }): _40.ValidatorHistoricalRewardsRecord; - }; - ValidatorCurrentRewardsRecord: { - encode(message: _40.ValidatorCurrentRewardsRecord, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _40.ValidatorCurrentRewardsRecord; - fromPartial(object: { - validatorAddress?: string; - rewards?: { - rewards?: { - denom?: string; - amount?: string; - }[]; - period?: string | number | import("long").Long; - }; - }): _40.ValidatorCurrentRewardsRecord; - }; - DelegatorStartingInfoRecord: { - encode(message: _40.DelegatorStartingInfoRecord, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _40.DelegatorStartingInfoRecord; - fromPartial(object: { - delegatorAddress?: string; - validatorAddress?: string; - startingInfo?: { - previousPeriod?: string | number | import("long").Long; - stake?: string; - height?: string | number | import("long").Long; - }; - }): _40.DelegatorStartingInfoRecord; - }; - ValidatorSlashEventRecord: { - encode(message: _40.ValidatorSlashEventRecord, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _40.ValidatorSlashEventRecord; - fromPartial(object: { - validatorAddress?: string; - height?: string | number | import("long").Long; - period?: string | number | import("long").Long; - validatorSlashEvent?: { - validatorPeriod?: string | number | import("long").Long; - fraction?: string; - }; - }): _40.ValidatorSlashEventRecord; - }; - GenesisState: { - encode(message: _40.GenesisState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _40.GenesisState; - fromPartial(object: { - params?: { - communityTax?: string; - baseProposerReward?: string; - bonusProposerReward?: string; - withdrawAddrEnabled?: boolean; - }; - feePool?: { - communityPool?: { - denom?: string; - amount?: string; - }[]; - }; - delegatorWithdrawInfos?: { - delegatorAddress?: string; - withdrawAddress?: string; - }[]; - previousProposer?: string; - outstandingRewards?: { - validatorAddress?: string; - outstandingRewards?: { - denom?: string; - amount?: string; - }[]; - }[]; - validatorAccumulatedCommissions?: { - validatorAddress?: string; - accumulated?: { - commission?: { - denom?: string; - amount?: string; - }[]; - }; - }[]; - validatorHistoricalRewards?: { - validatorAddress?: string; - period?: string | number | import("long").Long; - rewards?: { - cumulativeRewardRatio?: { - denom?: string; - amount?: string; - }[]; - referenceCount?: number; - }; - }[]; - validatorCurrentRewards?: { - validatorAddress?: string; - rewards?: { - rewards?: { - denom?: string; - amount?: string; - }[]; - period?: string | number | import("long").Long; - }; - }[]; - delegatorStartingInfos?: { - delegatorAddress?: string; - validatorAddress?: string; - startingInfo?: { - previousPeriod?: string | number | import("long").Long; - stake?: string; - height?: string | number | import("long").Long; - }; - }[]; - validatorSlashEvents?: { - validatorAddress?: string; - height?: string | number | import("long").Long; - period?: string | number | import("long").Long; - validatorSlashEvent?: { - validatorPeriod?: string | number | import("long").Long; - fraction?: string; - }; - }[]; - }): _40.GenesisState; - }; - Params: { - encode(message: _39.Params, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _39.Params; - fromPartial(object: { - communityTax?: string; - baseProposerReward?: string; - bonusProposerReward?: string; - withdrawAddrEnabled?: boolean; - }): _39.Params; - }; - ValidatorHistoricalRewards: { - encode(message: _39.ValidatorHistoricalRewards, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _39.ValidatorHistoricalRewards; - fromPartial(object: { - cumulativeRewardRatio?: { - denom?: string; - amount?: string; - }[]; - referenceCount?: number; - }): _39.ValidatorHistoricalRewards; - }; - ValidatorCurrentRewards: { - encode(message: _39.ValidatorCurrentRewards, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _39.ValidatorCurrentRewards; - fromPartial(object: { - rewards?: { - denom?: string; - amount?: string; - }[]; - period?: string | number | import("long").Long; - }): _39.ValidatorCurrentRewards; - }; - ValidatorAccumulatedCommission: { - encode(message: _39.ValidatorAccumulatedCommission, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _39.ValidatorAccumulatedCommission; - fromPartial(object: { - commission?: { - denom?: string; - amount?: string; - }[]; - }): _39.ValidatorAccumulatedCommission; - }; - ValidatorOutstandingRewards: { - encode(message: _39.ValidatorOutstandingRewards, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _39.ValidatorOutstandingRewards; - fromPartial(object: { - rewards?: { - denom?: string; - amount?: string; - }[]; - }): _39.ValidatorOutstandingRewards; - }; - ValidatorSlashEvent: { - encode(message: _39.ValidatorSlashEvent, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _39.ValidatorSlashEvent; - fromPartial(object: { - validatorPeriod?: string | number | import("long").Long; - fraction?: string; - }): _39.ValidatorSlashEvent; - }; - ValidatorSlashEvents: { - encode(message: _39.ValidatorSlashEvents, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _39.ValidatorSlashEvents; - fromPartial(object: { - validatorSlashEvents?: { - validatorPeriod?: string | number | import("long").Long; - fraction?: string; - }[]; - }): _39.ValidatorSlashEvents; - }; - FeePool: { - encode(message: _39.FeePool, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _39.FeePool; - fromPartial(object: { - communityPool?: { - denom?: string; - amount?: string; - }[]; - }): _39.FeePool; - }; - CommunityPoolSpendProposal: { - encode(message: _39.CommunityPoolSpendProposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _39.CommunityPoolSpendProposal; - fromPartial(object: { - title?: string; - description?: string; - recipient?: string; - amount?: { - denom?: string; - amount?: string; - }[]; - }): _39.CommunityPoolSpendProposal; - }; - DelegatorStartingInfo: { - encode(message: _39.DelegatorStartingInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _39.DelegatorStartingInfo; - fromPartial(object: { - previousPeriod?: string | number | import("long").Long; - stake?: string; - height?: string | number | import("long").Long; - }): _39.DelegatorStartingInfo; - }; - DelegationDelegatorReward: { - encode(message: _39.DelegationDelegatorReward, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _39.DelegationDelegatorReward; - fromPartial(object: { - validatorAddress?: string; - reward?: { - denom?: string; - amount?: string; - }[]; - }): _39.DelegationDelegatorReward; - }; - CommunityPoolSpendProposalWithDeposit: { - encode(message: _39.CommunityPoolSpendProposalWithDeposit, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _39.CommunityPoolSpendProposalWithDeposit; - fromPartial(object: { - title?: string; - description?: string; - recipient?: string; - amount?: string; - deposit?: string; - }): _39.CommunityPoolSpendProposalWithDeposit; - }; - }; - } - namespace evidence { - const v1beta1: { - MsgClientImpl: typeof _184.MsgClientImpl; - QueryClientImpl: typeof _168.QueryClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - evidence(request: _45.QueryEvidenceRequest): Promise<_45.QueryEvidenceResponse>; - allEvidence(request?: _45.QueryAllEvidenceRequest): Promise<_45.QueryAllEvidenceResponse>; - }; - LCDQueryClient: typeof _150.LCDQueryClient; - MsgSubmitEvidence: { - encode(message: _46.MsgSubmitEvidence, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _46.MsgSubmitEvidence; - fromPartial(object: { - submitter?: string; - evidence?: { - typeUrl?: string; - value?: Uint8Array; - }; - }): _46.MsgSubmitEvidence; - }; - MsgSubmitEvidenceResponse: { - encode(message: _46.MsgSubmitEvidenceResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _46.MsgSubmitEvidenceResponse; - fromPartial(object: { - hash?: Uint8Array; - }): _46.MsgSubmitEvidenceResponse; - }; - QueryEvidenceRequest: { - encode(message: _45.QueryEvidenceRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _45.QueryEvidenceRequest; - fromPartial(object: { - evidenceHash?: Uint8Array; - }): _45.QueryEvidenceRequest; - }; - QueryEvidenceResponse: { - encode(message: _45.QueryEvidenceResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _45.QueryEvidenceResponse; - fromPartial(object: { - evidence?: { - typeUrl?: string; - value?: Uint8Array; - }; - }): _45.QueryEvidenceResponse; - }; - QueryAllEvidenceRequest: { - encode(message: _45.QueryAllEvidenceRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _45.QueryAllEvidenceRequest; - fromPartial(object: { - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _45.QueryAllEvidenceRequest; - }; - QueryAllEvidenceResponse: { - encode(message: _45.QueryAllEvidenceResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _45.QueryAllEvidenceResponse; - fromPartial(object: { - evidence?: { - typeUrl?: string; - value?: Uint8Array; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _45.QueryAllEvidenceResponse; - }; - GenesisState: { - encode(message: _44.GenesisState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _44.GenesisState; - fromPartial(object: { - evidence?: { - typeUrl?: string; - value?: Uint8Array; - }[]; - }): _44.GenesisState; - }; - Equivocation: { - encode(message: _43.Equivocation, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _43.Equivocation; - fromPartial(object: { - height?: string | number | import("long").Long; - time?: Date; - power?: string | number | import("long").Long; - consensusAddress?: string; - }): _43.Equivocation; - }; - }; - } - namespace feegrant { - const v1beta1: { - MsgClientImpl: typeof _185.MsgClientImpl; - QueryClientImpl: typeof _169.QueryClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - allowance(request: _49.QueryAllowanceRequest): Promise<_49.QueryAllowanceResponse>; - allowances(request: _49.QueryAllowancesRequest): Promise<_49.QueryAllowancesResponse>; - allowancesByGranter(request: _49.QueryAllowancesByGranterRequest): Promise<_49.QueryAllowancesByGranterResponse>; - }; - LCDQueryClient: typeof _151.LCDQueryClient; - MsgGrantAllowance: { - encode(message: _50.MsgGrantAllowance, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _50.MsgGrantAllowance; - fromPartial(object: { - granter?: string; - grantee?: string; - allowance?: { - typeUrl?: string; - value?: Uint8Array; - }; - }): _50.MsgGrantAllowance; - }; - MsgGrantAllowanceResponse: { - encode(_: _50.MsgGrantAllowanceResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _50.MsgGrantAllowanceResponse; - fromPartial(_: {}): _50.MsgGrantAllowanceResponse; - }; - MsgRevokeAllowance: { - encode(message: _50.MsgRevokeAllowance, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _50.MsgRevokeAllowance; - fromPartial(object: { - granter?: string; - grantee?: string; - }): _50.MsgRevokeAllowance; - }; - MsgRevokeAllowanceResponse: { - encode(_: _50.MsgRevokeAllowanceResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _50.MsgRevokeAllowanceResponse; - fromPartial(_: {}): _50.MsgRevokeAllowanceResponse; - }; - QueryAllowanceRequest: { - encode(message: _49.QueryAllowanceRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _49.QueryAllowanceRequest; - fromPartial(object: { - granter?: string; - grantee?: string; - }): _49.QueryAllowanceRequest; - }; - QueryAllowanceResponse: { - encode(message: _49.QueryAllowanceResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _49.QueryAllowanceResponse; - fromPartial(object: { - allowance?: { - granter?: string; - grantee?: string; - allowance?: { - typeUrl?: string; - value?: Uint8Array; - }; - }; - }): _49.QueryAllowanceResponse; - }; - QueryAllowancesRequest: { - encode(message: _49.QueryAllowancesRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _49.QueryAllowancesRequest; - fromPartial(object: { - grantee?: string; - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _49.QueryAllowancesRequest; - }; - QueryAllowancesResponse: { - encode(message: _49.QueryAllowancesResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _49.QueryAllowancesResponse; - fromPartial(object: { - allowances?: { - granter?: string; - grantee?: string; - allowance?: { - typeUrl?: string; - value?: Uint8Array; - }; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _49.QueryAllowancesResponse; - }; - QueryAllowancesByGranterRequest: { - encode(message: _49.QueryAllowancesByGranterRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _49.QueryAllowancesByGranterRequest; - fromPartial(object: { - granter?: string; - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _49.QueryAllowancesByGranterRequest; - }; - QueryAllowancesByGranterResponse: { - encode(message: _49.QueryAllowancesByGranterResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _49.QueryAllowancesByGranterResponse; - fromPartial(object: { - allowances?: { - granter?: string; - grantee?: string; - allowance?: { - typeUrl?: string; - value?: Uint8Array; - }; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _49.QueryAllowancesByGranterResponse; - }; - GenesisState: { - encode(message: _48.GenesisState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _48.GenesisState; - fromPartial(object: { - allowances?: { - granter?: string; - grantee?: string; - allowance?: { - typeUrl?: string; - value?: Uint8Array; - }; - }[]; - }): _48.GenesisState; - }; - BasicAllowance: { - encode(message: _47.BasicAllowance, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _47.BasicAllowance; - fromPartial(object: { - spendLimit?: { - denom?: string; - amount?: string; - }[]; - expiration?: Date; - }): _47.BasicAllowance; - }; - PeriodicAllowance: { - encode(message: _47.PeriodicAllowance, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _47.PeriodicAllowance; - fromPartial(object: { - basic?: { - spendLimit?: { - denom?: string; - amount?: string; - }[]; - expiration?: Date; - }; - period?: { - seconds?: string | number | import("long").Long; - nanos?: number; - }; - periodSpendLimit?: { - denom?: string; - amount?: string; - }[]; - periodCanSpend?: { - denom?: string; - amount?: string; - }[]; - periodReset?: Date; - }): _47.PeriodicAllowance; - }; - AllowedMsgAllowance: { - encode(message: _47.AllowedMsgAllowance, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _47.AllowedMsgAllowance; - fromPartial(object: { - allowance?: { - typeUrl?: string; - value?: Uint8Array; - }; - allowedMessages?: string[]; - }): _47.AllowedMsgAllowance; - }; - Grant: { - encode(message: _47.Grant, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _47.Grant; - fromPartial(object: { - granter?: string; - grantee?: string; - allowance?: { - typeUrl?: string; - value?: Uint8Array; - }; - }): _47.Grant; - }; - }; - } - namespace genutil { - const v1beta1: { - GenesisState: { - encode(message: _51.GenesisState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _51.GenesisState; - fromPartial(object: { - genTxs?: Uint8Array[]; - }): _51.GenesisState; - }; - }; - } - namespace gov { - const v1: { - MsgClientImpl: typeof _186.MsgClientImpl; - QueryClientImpl: typeof _170.QueryClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - proposal(request: _54.QueryProposalRequest): Promise<_54.QueryProposalResponse>; - proposals(request: _54.QueryProposalsRequest): Promise<_54.QueryProposalsResponse>; - vote(request: _54.QueryVoteRequest): Promise<_54.QueryVoteResponse>; - votes(request: _54.QueryVotesRequest): Promise<_54.QueryVotesResponse>; - params(request: _54.QueryParamsRequest): Promise<_54.QueryParamsResponse>; - deposit(request: _54.QueryDepositRequest): Promise<_54.QueryDepositResponse>; - deposits(request: _54.QueryDepositsRequest): Promise<_54.QueryDepositsResponse>; - tallyResult(request: _54.QueryTallyResultRequest): Promise<_54.QueryTallyResultResponse>; - }; - LCDQueryClient: typeof _152.LCDQueryClient; - MsgSubmitProposal: { - encode(message: _55.MsgSubmitProposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _55.MsgSubmitProposal; - fromPartial(object: { - messages?: { - typeUrl?: string; - value?: Uint8Array; - }[]; - initialDeposit?: { - denom?: string; - amount?: string; - }[]; - proposer?: string; - metadata?: string; - }): _55.MsgSubmitProposal; - }; - MsgSubmitProposalResponse: { - encode(message: _55.MsgSubmitProposalResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _55.MsgSubmitProposalResponse; - fromPartial(object: { - proposalId?: string | number | import("long").Long; - }): _55.MsgSubmitProposalResponse; - }; - MsgExecLegacyContent: { - encode(message: _55.MsgExecLegacyContent, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _55.MsgExecLegacyContent; - fromPartial(object: { - content?: { - typeUrl?: string; - value?: Uint8Array; - }; - authority?: string; - }): _55.MsgExecLegacyContent; - }; - MsgExecLegacyContentResponse: { - encode(_: _55.MsgExecLegacyContentResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _55.MsgExecLegacyContentResponse; - fromPartial(_: {}): _55.MsgExecLegacyContentResponse; - }; - MsgVote: { - encode(message: _55.MsgVote, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _55.MsgVote; - fromPartial(object: { - proposalId?: string | number | import("long").Long; - voter?: string; - option?: _53.VoteOption; - metadata?: string; - }): _55.MsgVote; - }; - MsgVoteResponse: { - encode(_: _55.MsgVoteResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _55.MsgVoteResponse; - fromPartial(_: {}): _55.MsgVoteResponse; - }; - MsgVoteWeighted: { - encode(message: _55.MsgVoteWeighted, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _55.MsgVoteWeighted; - fromPartial(object: { - proposalId?: string | number | import("long").Long; - voter?: string; - options?: { - option?: _53.VoteOption; - weight?: string; - }[]; - metadata?: string; - }): _55.MsgVoteWeighted; - }; - MsgVoteWeightedResponse: { - encode(_: _55.MsgVoteWeightedResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _55.MsgVoteWeightedResponse; - fromPartial(_: {}): _55.MsgVoteWeightedResponse; - }; - MsgDeposit: { - encode(message: _55.MsgDeposit, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _55.MsgDeposit; - fromPartial(object: { - proposalId?: string | number | import("long").Long; - depositor?: string; - amount?: { - denom?: string; - amount?: string; - }[]; - }): _55.MsgDeposit; - }; - MsgDepositResponse: { - encode(_: _55.MsgDepositResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _55.MsgDepositResponse; - fromPartial(_: {}): _55.MsgDepositResponse; - }; - QueryProposalRequest: { - encode(message: _54.QueryProposalRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _54.QueryProposalRequest; - fromPartial(object: { - proposalId?: string | number | import("long").Long; - }): _54.QueryProposalRequest; - }; - QueryProposalResponse: { - encode(message: _54.QueryProposalResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _54.QueryProposalResponse; - fromPartial(object: { - proposal?: { - id?: string | number | import("long").Long; - messages?: { - typeUrl?: string; - value?: Uint8Array; - }[]; - status?: _53.ProposalStatus; - finalTallyResult?: { - yesCount?: string; - abstainCount?: string; - noCount?: string; - noWithVetoCount?: string; - }; - submitTime?: Date; - depositEndTime?: Date; - totalDeposit?: { - denom?: string; - amount?: string; - }[]; - votingStartTime?: Date; - votingEndTime?: Date; - metadata?: string; - }; - }): _54.QueryProposalResponse; - }; - QueryProposalsRequest: { - encode(message: _54.QueryProposalsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _54.QueryProposalsRequest; - fromPartial(object: { - proposalStatus?: _53.ProposalStatus; - voter?: string; - depositor?: string; - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _54.QueryProposalsRequest; - }; - QueryProposalsResponse: { - encode(message: _54.QueryProposalsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _54.QueryProposalsResponse; - fromPartial(object: { - proposals?: { - id?: string | number | import("long").Long; - messages?: { - typeUrl?: string; - value?: Uint8Array; - }[]; - status?: _53.ProposalStatus; - finalTallyResult?: { - yesCount?: string; - abstainCount?: string; - noCount?: string; - noWithVetoCount?: string; - }; - submitTime?: Date; - depositEndTime?: Date; - totalDeposit?: { - denom?: string; - amount?: string; - }[]; - votingStartTime?: Date; - votingEndTime?: Date; - metadata?: string; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _54.QueryProposalsResponse; - }; - QueryVoteRequest: { - encode(message: _54.QueryVoteRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _54.QueryVoteRequest; - fromPartial(object: { - proposalId?: string | number | import("long").Long; - voter?: string; - }): _54.QueryVoteRequest; - }; - QueryVoteResponse: { - encode(message: _54.QueryVoteResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _54.QueryVoteResponse; - fromPartial(object: { - vote?: { - proposalId?: string | number | import("long").Long; - voter?: string; - options?: { - option?: _53.VoteOption; - weight?: string; - }[]; - metadata?: string; - }; - }): _54.QueryVoteResponse; - }; - QueryVotesRequest: { - encode(message: _54.QueryVotesRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _54.QueryVotesRequest; - fromPartial(object: { - proposalId?: string | number | import("long").Long; - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _54.QueryVotesRequest; - }; - QueryVotesResponse: { - encode(message: _54.QueryVotesResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _54.QueryVotesResponse; - fromPartial(object: { - votes?: { - proposalId?: string | number | import("long").Long; - voter?: string; - options?: { - option?: _53.VoteOption; - weight?: string; - }[]; - metadata?: string; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _54.QueryVotesResponse; - }; - QueryParamsRequest: { - encode(message: _54.QueryParamsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _54.QueryParamsRequest; - fromPartial(object: { - paramsType?: string; - }): _54.QueryParamsRequest; - }; - QueryParamsResponse: { - encode(message: _54.QueryParamsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _54.QueryParamsResponse; - fromPartial(object: { - votingParams?: { - votingPeriod?: { - seconds?: string | number | import("long").Long; - nanos?: number; - }; - }; - depositParams?: { - minDeposit?: { - denom?: string; - amount?: string; - }[]; - maxDepositPeriod?: { - seconds?: string | number | import("long").Long; - nanos?: number; - }; - }; - tallyParams?: { - quorum?: string; - threshold?: string; - vetoThreshold?: string; - }; - }): _54.QueryParamsResponse; - }; - QueryDepositRequest: { - encode(message: _54.QueryDepositRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _54.QueryDepositRequest; - fromPartial(object: { - proposalId?: string | number | import("long").Long; - depositor?: string; - }): _54.QueryDepositRequest; - }; - QueryDepositResponse: { - encode(message: _54.QueryDepositResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _54.QueryDepositResponse; - fromPartial(object: { - deposit?: { - proposalId?: string | number | import("long").Long; - depositor?: string; - amount?: { - denom?: string; - amount?: string; - }[]; - }; - }): _54.QueryDepositResponse; - }; - QueryDepositsRequest: { - encode(message: _54.QueryDepositsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _54.QueryDepositsRequest; - fromPartial(object: { - proposalId?: string | number | import("long").Long; - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _54.QueryDepositsRequest; - }; - QueryDepositsResponse: { - encode(message: _54.QueryDepositsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _54.QueryDepositsResponse; - fromPartial(object: { - deposits?: { - proposalId?: string | number | import("long").Long; - depositor?: string; - amount?: { - denom?: string; - amount?: string; - }[]; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _54.QueryDepositsResponse; - }; - QueryTallyResultRequest: { - encode(message: _54.QueryTallyResultRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _54.QueryTallyResultRequest; - fromPartial(object: { - proposalId?: string | number | import("long").Long; - }): _54.QueryTallyResultRequest; - }; - QueryTallyResultResponse: { - encode(message: _54.QueryTallyResultResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _54.QueryTallyResultResponse; - fromPartial(object: { - tally?: { - yesCount?: string; - abstainCount?: string; - noCount?: string; - noWithVetoCount?: string; - }; - }): _54.QueryTallyResultResponse; - }; - voteOptionFromJSON(object: any): _53.VoteOption; - voteOptionToJSON(object: _53.VoteOption): string; - proposalStatusFromJSON(object: any): _53.ProposalStatus; - proposalStatusToJSON(object: _53.ProposalStatus): string; - VoteOption: typeof _53.VoteOption; - VoteOptionSDKType: typeof _53.VoteOption; - ProposalStatus: typeof _53.ProposalStatus; - ProposalStatusSDKType: typeof _53.ProposalStatus; - WeightedVoteOption: { - encode(message: _53.WeightedVoteOption, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _53.WeightedVoteOption; - fromPartial(object: { - option?: _53.VoteOption; - weight?: string; - }): _53.WeightedVoteOption; - }; - Deposit: { - encode(message: _53.Deposit, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _53.Deposit; - fromPartial(object: { - proposalId?: string | number | import("long").Long; - depositor?: string; - amount?: { - denom?: string; - amount?: string; - }[]; - }): _53.Deposit; - }; - Proposal: { - encode(message: _53.Proposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _53.Proposal; - fromPartial(object: { - id?: string | number | import("long").Long; - messages?: { - typeUrl?: string; - value?: Uint8Array; - }[]; - status?: _53.ProposalStatus; - finalTallyResult?: { - yesCount?: string; - abstainCount?: string; - noCount?: string; - noWithVetoCount?: string; - }; - submitTime?: Date; - depositEndTime?: Date; - totalDeposit?: { - denom?: string; - amount?: string; - }[]; - votingStartTime?: Date; - votingEndTime?: Date; - metadata?: string; - }): _53.Proposal; - }; - TallyResult: { - encode(message: _53.TallyResult, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _53.TallyResult; - fromPartial(object: { - yesCount?: string; - abstainCount?: string; - noCount?: string; - noWithVetoCount?: string; - }): _53.TallyResult; - }; - Vote: { - encode(message: _53.Vote, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _53.Vote; - fromPartial(object: { - proposalId?: string | number | import("long").Long; - voter?: string; - options?: { - option?: _53.VoteOption; - weight?: string; - }[]; - metadata?: string; - }): _53.Vote; - }; - DepositParams: { - encode(message: _53.DepositParams, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _53.DepositParams; - fromPartial(object: { - minDeposit?: { - denom?: string; - amount?: string; - }[]; - maxDepositPeriod?: { - seconds?: string | number | import("long").Long; - nanos?: number; - }; - }): _53.DepositParams; - }; - VotingParams: { - encode(message: _53.VotingParams, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _53.VotingParams; - fromPartial(object: { - votingPeriod?: { - seconds?: string | number | import("long").Long; - nanos?: number; - }; - }): _53.VotingParams; - }; - TallyParams: { - encode(message: _53.TallyParams, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _53.TallyParams; - fromPartial(object: { - quorum?: string; - threshold?: string; - vetoThreshold?: string; - }): _53.TallyParams; - }; - GenesisState: { - encode(message: _52.GenesisState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _52.GenesisState; - fromPartial(object: { - startingProposalId?: string | number | import("long").Long; - deposits?: { - proposalId?: string | number | import("long").Long; - depositor?: string; - amount?: { - denom?: string; - amount?: string; - }[]; - }[]; - votes?: { - proposalId?: string | number | import("long").Long; - voter?: string; - options?: { - option?: _53.VoteOption; - weight?: string; - }[]; - metadata?: string; - }[]; - proposals?: { - id?: string | number | import("long").Long; - messages?: { - typeUrl?: string; - value?: Uint8Array; - }[]; - status?: _53.ProposalStatus; - finalTallyResult?: { - yesCount?: string; - abstainCount?: string; - noCount?: string; - noWithVetoCount?: string; - }; - submitTime?: Date; - depositEndTime?: Date; - totalDeposit?: { - denom?: string; - amount?: string; - }[]; - votingStartTime?: Date; - votingEndTime?: Date; - metadata?: string; - }[]; - depositParams?: { - minDeposit?: { - denom?: string; - amount?: string; - }[]; - maxDepositPeriod?: { - seconds?: string | number | import("long").Long; - nanos?: number; - }; - }; - votingParams?: { - votingPeriod?: { - seconds?: string | number | import("long").Long; - nanos?: number; - }; - }; - tallyParams?: { - quorum?: string; - threshold?: string; - vetoThreshold?: string; - }; - }): _52.GenesisState; - }; - }; - const v1beta1: { - MsgClientImpl: typeof _187.MsgClientImpl; - QueryClientImpl: typeof _171.QueryClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - proposal(request: _58.QueryProposalRequest): Promise<_58.QueryProposalResponse>; - proposals(request: _58.QueryProposalsRequest): Promise<_58.QueryProposalsResponse>; - vote(request: _58.QueryVoteRequest): Promise<_58.QueryVoteResponse>; - votes(request: _58.QueryVotesRequest): Promise<_58.QueryVotesResponse>; - params(request: _58.QueryParamsRequest): Promise<_58.QueryParamsResponse>; - deposit(request: _58.QueryDepositRequest): Promise<_58.QueryDepositResponse>; - deposits(request: _58.QueryDepositsRequest): Promise<_58.QueryDepositsResponse>; - tallyResult(request: _58.QueryTallyResultRequest): Promise<_58.QueryTallyResultResponse>; - }; - LCDQueryClient: typeof _153.LCDQueryClient; - MsgSubmitProposal: { - encode(message: _59.MsgSubmitProposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _59.MsgSubmitProposal; - fromPartial(object: { - content?: { - typeUrl?: string; - value?: Uint8Array; - }; - initialDeposit?: { - denom?: string; - amount?: string; - }[]; - proposer?: string; - }): _59.MsgSubmitProposal; - }; - MsgSubmitProposalResponse: { - encode(message: _59.MsgSubmitProposalResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _59.MsgSubmitProposalResponse; - fromPartial(object: { - proposalId?: string | number | import("long").Long; - }): _59.MsgSubmitProposalResponse; - }; - MsgVote: { - encode(message: _59.MsgVote, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _59.MsgVote; - fromPartial(object: { - proposalId?: string | number | import("long").Long; - voter?: string; - option?: _57.VoteOption; - }): _59.MsgVote; - }; - MsgVoteResponse: { - encode(_: _59.MsgVoteResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _59.MsgVoteResponse; - fromPartial(_: {}): _59.MsgVoteResponse; - }; - MsgVoteWeighted: { - encode(message: _59.MsgVoteWeighted, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _59.MsgVoteWeighted; - fromPartial(object: { - proposalId?: string | number | import("long").Long; - voter?: string; - options?: { - option?: _57.VoteOption; - weight?: string; - }[]; - }): _59.MsgVoteWeighted; - }; - MsgVoteWeightedResponse: { - encode(_: _59.MsgVoteWeightedResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _59.MsgVoteWeightedResponse; - fromPartial(_: {}): _59.MsgVoteWeightedResponse; - }; - MsgDeposit: { - encode(message: _59.MsgDeposit, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _59.MsgDeposit; - fromPartial(object: { - proposalId?: string | number | import("long").Long; - depositor?: string; - amount?: { - denom?: string; - amount?: string; - }[]; - }): _59.MsgDeposit; - }; - MsgDepositResponse: { - encode(_: _59.MsgDepositResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _59.MsgDepositResponse; - fromPartial(_: {}): _59.MsgDepositResponse; - }; - QueryProposalRequest: { - encode(message: _58.QueryProposalRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _58.QueryProposalRequest; - fromPartial(object: { - proposalId?: string | number | import("long").Long; - }): _58.QueryProposalRequest; - }; - QueryProposalResponse: { - encode(message: _58.QueryProposalResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _58.QueryProposalResponse; - fromPartial(object: { - proposal?: { - proposalId?: string | number | import("long").Long; - content?: { - typeUrl?: string; - value?: Uint8Array; - }; - status?: _57.ProposalStatus; - finalTallyResult?: { - yes?: string; - abstain?: string; - no?: string; - noWithVeto?: string; - }; - submitTime?: Date; - depositEndTime?: Date; - totalDeposit?: { - denom?: string; - amount?: string; - }[]; - votingStartTime?: Date; - votingEndTime?: Date; - }; - }): _58.QueryProposalResponse; - }; - QueryProposalsRequest: { - encode(message: _58.QueryProposalsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _58.QueryProposalsRequest; - fromPartial(object: { - proposalStatus?: _57.ProposalStatus; - voter?: string; - depositor?: string; - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _58.QueryProposalsRequest; - }; - QueryProposalsResponse: { - encode(message: _58.QueryProposalsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _58.QueryProposalsResponse; - fromPartial(object: { - proposals?: { - proposalId?: string | number | import("long").Long; - content?: { - typeUrl?: string; - value?: Uint8Array; - }; - status?: _57.ProposalStatus; - finalTallyResult?: { - yes?: string; - abstain?: string; - no?: string; - noWithVeto?: string; - }; - submitTime?: Date; - depositEndTime?: Date; - totalDeposit?: { - denom?: string; - amount?: string; - }[]; - votingStartTime?: Date; - votingEndTime?: Date; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _58.QueryProposalsResponse; - }; - QueryVoteRequest: { - encode(message: _58.QueryVoteRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _58.QueryVoteRequest; - fromPartial(object: { - proposalId?: string | number | import("long").Long; - voter?: string; - }): _58.QueryVoteRequest; - }; - QueryVoteResponse: { - encode(message: _58.QueryVoteResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _58.QueryVoteResponse; - fromPartial(object: { - vote?: { - proposalId?: string | number | import("long").Long; - voter?: string; - option?: _57.VoteOption; - options?: { - option?: _57.VoteOption; - weight?: string; - }[]; - }; - }): _58.QueryVoteResponse; - }; - QueryVotesRequest: { - encode(message: _58.QueryVotesRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _58.QueryVotesRequest; - fromPartial(object: { - proposalId?: string | number | import("long").Long; - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _58.QueryVotesRequest; - }; - QueryVotesResponse: { - encode(message: _58.QueryVotesResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _58.QueryVotesResponse; - fromPartial(object: { - votes?: { - proposalId?: string | number | import("long").Long; - voter?: string; - option?: _57.VoteOption; - options?: { - option?: _57.VoteOption; - weight?: string; - }[]; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _58.QueryVotesResponse; - }; - QueryParamsRequest: { - encode(message: _58.QueryParamsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _58.QueryParamsRequest; - fromPartial(object: { - paramsType?: string; - }): _58.QueryParamsRequest; - }; - QueryParamsResponse: { - encode(message: _58.QueryParamsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _58.QueryParamsResponse; - fromPartial(object: { - votingParams?: { - votingPeriod?: { - seconds?: string | number | import("long").Long; - nanos?: number; - }; - }; - depositParams?: { - minDeposit?: { - denom?: string; - amount?: string; - }[]; - maxDepositPeriod?: { - seconds?: string | number | import("long").Long; - nanos?: number; - }; - }; - tallyParams?: { - quorum?: Uint8Array; - threshold?: Uint8Array; - vetoThreshold?: Uint8Array; - }; - }): _58.QueryParamsResponse; - }; - QueryDepositRequest: { - encode(message: _58.QueryDepositRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _58.QueryDepositRequest; - fromPartial(object: { - proposalId?: string | number | import("long").Long; - depositor?: string; - }): _58.QueryDepositRequest; - }; - QueryDepositResponse: { - encode(message: _58.QueryDepositResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _58.QueryDepositResponse; - fromPartial(object: { - deposit?: { - proposalId?: string | number | import("long").Long; - depositor?: string; - amount?: { - denom?: string; - amount?: string; - }[]; - }; - }): _58.QueryDepositResponse; - }; - QueryDepositsRequest: { - encode(message: _58.QueryDepositsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _58.QueryDepositsRequest; - fromPartial(object: { - proposalId?: string | number | import("long").Long; - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _58.QueryDepositsRequest; - }; - QueryDepositsResponse: { - encode(message: _58.QueryDepositsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _58.QueryDepositsResponse; - fromPartial(object: { - deposits?: { - proposalId?: string | number | import("long").Long; - depositor?: string; - amount?: { - denom?: string; - amount?: string; - }[]; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _58.QueryDepositsResponse; - }; - QueryTallyResultRequest: { - encode(message: _58.QueryTallyResultRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _58.QueryTallyResultRequest; - fromPartial(object: { - proposalId?: string | number | import("long").Long; - }): _58.QueryTallyResultRequest; - }; - QueryTallyResultResponse: { - encode(message: _58.QueryTallyResultResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _58.QueryTallyResultResponse; - fromPartial(object: { - tally?: { - yes?: string; - abstain?: string; - no?: string; - noWithVeto?: string; - }; - }): _58.QueryTallyResultResponse; - }; - voteOptionFromJSON(object: any): _57.VoteOption; - voteOptionToJSON(object: _57.VoteOption): string; - proposalStatusFromJSON(object: any): _57.ProposalStatus; - proposalStatusToJSON(object: _57.ProposalStatus): string; - VoteOption: typeof _57.VoteOption; - VoteOptionSDKType: typeof _57.VoteOption; - ProposalStatus: typeof _57.ProposalStatus; - ProposalStatusSDKType: typeof _57.ProposalStatus; - WeightedVoteOption: { - encode(message: _57.WeightedVoteOption, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _57.WeightedVoteOption; - fromPartial(object: { - option?: _57.VoteOption; - weight?: string; - }): _57.WeightedVoteOption; - }; - TextProposal: { - encode(message: _57.TextProposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _57.TextProposal; - fromPartial(object: { - title?: string; - description?: string; - }): _57.TextProposal; - }; - Deposit: { - encode(message: _57.Deposit, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _57.Deposit; - fromPartial(object: { - proposalId?: string | number | import("long").Long; - depositor?: string; - amount?: { - denom?: string; - amount?: string; - }[]; - }): _57.Deposit; - }; - Proposal: { - encode(message: _57.Proposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _57.Proposal; - fromPartial(object: { - proposalId?: string | number | import("long").Long; - content?: { - typeUrl?: string; - value?: Uint8Array; - }; - status?: _57.ProposalStatus; - finalTallyResult?: { - yes?: string; - abstain?: string; - no?: string; - noWithVeto?: string; - }; - submitTime?: Date; - depositEndTime?: Date; - totalDeposit?: { - denom?: string; - amount?: string; - }[]; - votingStartTime?: Date; - votingEndTime?: Date; - }): _57.Proposal; - }; - TallyResult: { - encode(message: _57.TallyResult, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _57.TallyResult; - fromPartial(object: { - yes?: string; - abstain?: string; - no?: string; - noWithVeto?: string; - }): _57.TallyResult; - }; - Vote: { - encode(message: _57.Vote, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _57.Vote; - fromPartial(object: { - proposalId?: string | number | import("long").Long; - voter?: string; - option?: _57.VoteOption; - options?: { - option?: _57.VoteOption; - weight?: string; - }[]; - }): _57.Vote; - }; - DepositParams: { - encode(message: _57.DepositParams, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _57.DepositParams; - fromPartial(object: { - minDeposit?: { - denom?: string; - amount?: string; - }[]; - maxDepositPeriod?: { - seconds?: string | number | import("long").Long; - nanos?: number; - }; - }): _57.DepositParams; - }; - VotingParams: { - encode(message: _57.VotingParams, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _57.VotingParams; - fromPartial(object: { - votingPeriod?: { - seconds?: string | number | import("long").Long; - nanos?: number; - }; - }): _57.VotingParams; - }; - TallyParams: { - encode(message: _57.TallyParams, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _57.TallyParams; - fromPartial(object: { - quorum?: Uint8Array; - threshold?: Uint8Array; - vetoThreshold?: Uint8Array; - }): _57.TallyParams; - }; - GenesisState: { - encode(message: _56.GenesisState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _56.GenesisState; - fromPartial(object: { - startingProposalId?: string | number | import("long").Long; - deposits?: { - proposalId?: string | number | import("long").Long; - depositor?: string; - amount?: { - denom?: string; - amount?: string; - }[]; - }[]; - votes?: { - proposalId?: string | number | import("long").Long; - voter?: string; - option?: _57.VoteOption; - options?: { - option?: _57.VoteOption; - weight?: string; - }[]; - }[]; - proposals?: { - proposalId?: string | number | import("long").Long; - content?: { - typeUrl?: string; - value?: Uint8Array; - }; - status?: _57.ProposalStatus; - finalTallyResult?: { - yes?: string; - abstain?: string; - no?: string; - noWithVeto?: string; - }; - submitTime?: Date; - depositEndTime?: Date; - totalDeposit?: { - denom?: string; - amount?: string; - }[]; - votingStartTime?: Date; - votingEndTime?: Date; - }[]; - depositParams?: { - minDeposit?: { - denom?: string; - amount?: string; - }[]; - maxDepositPeriod?: { - seconds?: string | number | import("long").Long; - nanos?: number; - }; - }; - votingParams?: { - votingPeriod?: { - seconds?: string | number | import("long").Long; - nanos?: number; - }; - }; - tallyParams?: { - quorum?: Uint8Array; - threshold?: Uint8Array; - vetoThreshold?: Uint8Array; - }; - }): _56.GenesisState; - }; - }; - } - namespace group { - const v1: { - MsgClientImpl: typeof _188.MsgClientImpl; - QueryClientImpl: typeof _172.QueryClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - groupInfo(request: _62.QueryGroupInfoRequest): Promise<_62.QueryGroupInfoResponse>; - groupPolicyInfo(request: _62.QueryGroupPolicyInfoRequest): Promise<_62.QueryGroupPolicyInfoResponse>; - groupMembers(request: _62.QueryGroupMembersRequest): Promise<_62.QueryGroupMembersResponse>; - groupsByAdmin(request: _62.QueryGroupsByAdminRequest): Promise<_62.QueryGroupsByAdminResponse>; - groupPoliciesByGroup(request: _62.QueryGroupPoliciesByGroupRequest): Promise<_62.QueryGroupPoliciesByGroupResponse>; - groupPoliciesByAdmin(request: _62.QueryGroupPoliciesByAdminRequest): Promise<_62.QueryGroupPoliciesByAdminResponse>; - proposal(request: _62.QueryProposalRequest): Promise<_62.QueryProposalResponse>; - proposalsByGroupPolicy(request: _62.QueryProposalsByGroupPolicyRequest): Promise<_62.QueryProposalsByGroupPolicyResponse>; - voteByProposalVoter(request: _62.QueryVoteByProposalVoterRequest): Promise<_62.QueryVoteByProposalVoterResponse>; - votesByProposal(request: _62.QueryVotesByProposalRequest): Promise<_62.QueryVotesByProposalResponse>; - votesByVoter(request: _62.QueryVotesByVoterRequest): Promise<_62.QueryVotesByVoterResponse>; - groupsByMember(request: _62.QueryGroupsByMemberRequest): Promise<_62.QueryGroupsByMemberResponse>; - tallyResult(request: _62.QueryTallyResultRequest): Promise<_62.QueryTallyResultResponse>; - }; - LCDQueryClient: typeof _154.LCDQueryClient; - voteOptionFromJSON(object: any): _64.VoteOption; - voteOptionToJSON(object: _64.VoteOption): string; - proposalStatusFromJSON(object: any): _64.ProposalStatus; - proposalStatusToJSON(object: _64.ProposalStatus): string; - proposalResultFromJSON(object: any): _64.ProposalResult; - proposalResultToJSON(object: _64.ProposalResult): string; - proposalExecutorResultFromJSON(object: any): _64.ProposalExecutorResult; - proposalExecutorResultToJSON(object: _64.ProposalExecutorResult): string; - VoteOption: typeof _64.VoteOption; - VoteOptionSDKType: typeof _64.VoteOption; - ProposalStatus: typeof _64.ProposalStatus; - ProposalStatusSDKType: typeof _64.ProposalStatus; - ProposalResult: typeof _64.ProposalResult; - ProposalResultSDKType: typeof _64.ProposalResult; - ProposalExecutorResult: typeof _64.ProposalExecutorResult; - ProposalExecutorResultSDKType: typeof _64.ProposalExecutorResult; - Member: { - encode(message: _64.Member, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _64.Member; - fromPartial(object: { - address?: string; - weight?: string; - metadata?: string; - addedAt?: Date; - }): _64.Member; - }; - Members: { - encode(message: _64.Members, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _64.Members; - fromPartial(object: { - members?: { - address?: string; - weight?: string; - metadata?: string; - addedAt?: Date; - }[]; - }): _64.Members; - }; - ThresholdDecisionPolicy: { - encode(message: _64.ThresholdDecisionPolicy, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _64.ThresholdDecisionPolicy; - fromPartial(object: { - threshold?: string; - windows?: { - votingPeriod?: { - seconds?: string | number | import("long").Long; - nanos?: number; - }; - minExecutionPeriod?: { - seconds?: string | number | import("long").Long; - nanos?: number; - }; - }; - }): _64.ThresholdDecisionPolicy; - }; - PercentageDecisionPolicy: { - encode(message: _64.PercentageDecisionPolicy, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _64.PercentageDecisionPolicy; - fromPartial(object: { - percentage?: string; - windows?: { - votingPeriod?: { - seconds?: string | number | import("long").Long; - nanos?: number; - }; - minExecutionPeriod?: { - seconds?: string | number | import("long").Long; - nanos?: number; - }; - }; - }): _64.PercentageDecisionPolicy; - }; - DecisionPolicyWindows: { - encode(message: _64.DecisionPolicyWindows, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _64.DecisionPolicyWindows; - fromPartial(object: { - votingPeriod?: { - seconds?: string | number | import("long").Long; - nanos?: number; - }; - minExecutionPeriod?: { - seconds?: string | number | import("long").Long; - nanos?: number; - }; - }): _64.DecisionPolicyWindows; - }; - GroupInfo: { - encode(message: _64.GroupInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _64.GroupInfo; - fromPartial(object: { - id?: string | number | import("long").Long; - admin?: string; - metadata?: string; - version?: string | number | import("long").Long; - totalWeight?: string; - createdAt?: Date; - }): _64.GroupInfo; - }; - GroupMember: { - encode(message: _64.GroupMember, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _64.GroupMember; - fromPartial(object: { - groupId?: string | number | import("long").Long; - member?: { - address?: string; - weight?: string; - metadata?: string; - addedAt?: Date; - }; - }): _64.GroupMember; - }; - GroupPolicyInfo: { - encode(message: _64.GroupPolicyInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _64.GroupPolicyInfo; - fromPartial(object: { - address?: string; - groupId?: string | number | import("long").Long; - admin?: string; - metadata?: string; - version?: string | number | import("long").Long; - decisionPolicy?: { - typeUrl?: string; - value?: Uint8Array; - }; - createdAt?: Date; - }): _64.GroupPolicyInfo; - }; - Proposal: { - encode(message: _64.Proposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _64.Proposal; - fromPartial(object: { - id?: string | number | import("long").Long; - address?: string; - metadata?: string; - proposers?: string[]; - submitTime?: Date; - groupVersion?: string | number | import("long").Long; - groupPolicyVersion?: string | number | import("long").Long; - status?: _64.ProposalStatus; - result?: _64.ProposalResult; - finalTallyResult?: { - yesCount?: string; - abstainCount?: string; - noCount?: string; - noWithVetoCount?: string; - }; - votingPeriodEnd?: Date; - executorResult?: _64.ProposalExecutorResult; - messages?: { - typeUrl?: string; - value?: Uint8Array; - }[]; - }): _64.Proposal; - }; - TallyResult: { - encode(message: _64.TallyResult, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _64.TallyResult; - fromPartial(object: { - yesCount?: string; - abstainCount?: string; - noCount?: string; - noWithVetoCount?: string; - }): _64.TallyResult; - }; - Vote: { - encode(message: _64.Vote, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _64.Vote; - fromPartial(object: { - proposalId?: string | number | import("long").Long; - voter?: string; - option?: _64.VoteOption; - metadata?: string; - submitTime?: Date; - }): _64.Vote; - }; - execFromJSON(object: any): _63.Exec; - execToJSON(object: _63.Exec): string; - Exec: typeof _63.Exec; - ExecSDKType: typeof _63.Exec; - MsgCreateGroup: { - encode(message: _63.MsgCreateGroup, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _63.MsgCreateGroup; - fromPartial(object: { - admin?: string; - members?: { - address?: string; - weight?: string; - metadata?: string; - addedAt?: Date; - }[]; - metadata?: string; - }): _63.MsgCreateGroup; - }; - MsgCreateGroupResponse: { - encode(message: _63.MsgCreateGroupResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _63.MsgCreateGroupResponse; - fromPartial(object: { - groupId?: string | number | import("long").Long; - }): _63.MsgCreateGroupResponse; - }; - MsgUpdateGroupMembers: { - encode(message: _63.MsgUpdateGroupMembers, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _63.MsgUpdateGroupMembers; - fromPartial(object: { - admin?: string; - groupId?: string | number | import("long").Long; - memberUpdates?: { - address?: string; - weight?: string; - metadata?: string; - addedAt?: Date; - }[]; - }): _63.MsgUpdateGroupMembers; - }; - MsgUpdateGroupMembersResponse: { - encode(_: _63.MsgUpdateGroupMembersResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _63.MsgUpdateGroupMembersResponse; - fromPartial(_: {}): _63.MsgUpdateGroupMembersResponse; - }; - MsgUpdateGroupAdmin: { - encode(message: _63.MsgUpdateGroupAdmin, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _63.MsgUpdateGroupAdmin; - fromPartial(object: { - admin?: string; - groupId?: string | number | import("long").Long; - newAdmin?: string; - }): _63.MsgUpdateGroupAdmin; - }; - MsgUpdateGroupAdminResponse: { - encode(_: _63.MsgUpdateGroupAdminResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _63.MsgUpdateGroupAdminResponse; - fromPartial(_: {}): _63.MsgUpdateGroupAdminResponse; - }; - MsgUpdateGroupMetadata: { - encode(message: _63.MsgUpdateGroupMetadata, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _63.MsgUpdateGroupMetadata; - fromPartial(object: { - admin?: string; - groupId?: string | number | import("long").Long; - metadata?: string; - }): _63.MsgUpdateGroupMetadata; - }; - MsgUpdateGroupMetadataResponse: { - encode(_: _63.MsgUpdateGroupMetadataResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _63.MsgUpdateGroupMetadataResponse; - fromPartial(_: {}): _63.MsgUpdateGroupMetadataResponse; - }; - MsgCreateGroupPolicy: { - encode(message: _63.MsgCreateGroupPolicy, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _63.MsgCreateGroupPolicy; - fromPartial(object: { - admin?: string; - groupId?: string | number | import("long").Long; - metadata?: string; - decisionPolicy?: { - typeUrl?: string; - value?: Uint8Array; - }; - }): _63.MsgCreateGroupPolicy; - }; - MsgCreateGroupPolicyResponse: { - encode(message: _63.MsgCreateGroupPolicyResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _63.MsgCreateGroupPolicyResponse; - fromPartial(object: { - address?: string; - }): _63.MsgCreateGroupPolicyResponse; - }; - MsgUpdateGroupPolicyAdmin: { - encode(message: _63.MsgUpdateGroupPolicyAdmin, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _63.MsgUpdateGroupPolicyAdmin; - fromPartial(object: { - admin?: string; - address?: string; - newAdmin?: string; - }): _63.MsgUpdateGroupPolicyAdmin; - }; - MsgCreateGroupWithPolicy: { - encode(message: _63.MsgCreateGroupWithPolicy, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _63.MsgCreateGroupWithPolicy; - fromPartial(object: { - admin?: string; - members?: { - address?: string; - weight?: string; - metadata?: string; - addedAt?: Date; - }[]; - groupMetadata?: string; - groupPolicyMetadata?: string; - groupPolicyAsAdmin?: boolean; - decisionPolicy?: { - typeUrl?: string; - value?: Uint8Array; - }; - }): _63.MsgCreateGroupWithPolicy; - }; - MsgCreateGroupWithPolicyResponse: { - encode(message: _63.MsgCreateGroupWithPolicyResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _63.MsgCreateGroupWithPolicyResponse; - fromPartial(object: { - groupId?: string | number | import("long").Long; - groupPolicyAddress?: string; - }): _63.MsgCreateGroupWithPolicyResponse; - }; - MsgUpdateGroupPolicyAdminResponse: { - encode(_: _63.MsgUpdateGroupPolicyAdminResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _63.MsgUpdateGroupPolicyAdminResponse; - fromPartial(_: {}): _63.MsgUpdateGroupPolicyAdminResponse; - }; - MsgUpdateGroupPolicyDecisionPolicy: { - encode(message: _63.MsgUpdateGroupPolicyDecisionPolicy, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _63.MsgUpdateGroupPolicyDecisionPolicy; - fromPartial(object: { - admin?: string; - address?: string; - decisionPolicy?: { - typeUrl?: string; - value?: Uint8Array; - }; - }): _63.MsgUpdateGroupPolicyDecisionPolicy; - }; - MsgUpdateGroupPolicyDecisionPolicyResponse: { - encode(_: _63.MsgUpdateGroupPolicyDecisionPolicyResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _63.MsgUpdateGroupPolicyDecisionPolicyResponse; - fromPartial(_: {}): _63.MsgUpdateGroupPolicyDecisionPolicyResponse; - }; - MsgUpdateGroupPolicyMetadata: { - encode(message: _63.MsgUpdateGroupPolicyMetadata, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _63.MsgUpdateGroupPolicyMetadata; - fromPartial(object: { - admin?: string; - address?: string; - metadata?: string; - }): _63.MsgUpdateGroupPolicyMetadata; - }; - MsgUpdateGroupPolicyMetadataResponse: { - encode(_: _63.MsgUpdateGroupPolicyMetadataResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _63.MsgUpdateGroupPolicyMetadataResponse; - fromPartial(_: {}): _63.MsgUpdateGroupPolicyMetadataResponse; - }; - MsgSubmitProposal: { - encode(message: _63.MsgSubmitProposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _63.MsgSubmitProposal; - fromPartial(object: { - address?: string; - proposers?: string[]; - metadata?: string; - messages?: { - typeUrl?: string; - value?: Uint8Array; - }[]; - exec?: _63.Exec; - }): _63.MsgSubmitProposal; - }; - MsgSubmitProposalResponse: { - encode(message: _63.MsgSubmitProposalResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _63.MsgSubmitProposalResponse; - fromPartial(object: { - proposalId?: string | number | import("long").Long; - }): _63.MsgSubmitProposalResponse; - }; - MsgWithdrawProposal: { - encode(message: _63.MsgWithdrawProposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _63.MsgWithdrawProposal; - fromPartial(object: { - proposalId?: string | number | import("long").Long; - address?: string; - }): _63.MsgWithdrawProposal; - }; - MsgWithdrawProposalResponse: { - encode(_: _63.MsgWithdrawProposalResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _63.MsgWithdrawProposalResponse; - fromPartial(_: {}): _63.MsgWithdrawProposalResponse; - }; - MsgVote: { - encode(message: _63.MsgVote, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _63.MsgVote; - fromPartial(object: { - proposalId?: string | number | import("long").Long; - voter?: string; - option?: _64.VoteOption; - metadata?: string; - exec?: _63.Exec; - }): _63.MsgVote; - }; - MsgVoteResponse: { - encode(_: _63.MsgVoteResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _63.MsgVoteResponse; - fromPartial(_: {}): _63.MsgVoteResponse; - }; - MsgExec: { - encode(message: _63.MsgExec, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _63.MsgExec; - fromPartial(object: { - proposalId?: string | number | import("long").Long; - signer?: string; - }): _63.MsgExec; - }; - MsgExecResponse: { - encode(_: _63.MsgExecResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _63.MsgExecResponse; - fromPartial(_: {}): _63.MsgExecResponse; - }; - MsgLeaveGroup: { - encode(message: _63.MsgLeaveGroup, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _63.MsgLeaveGroup; - fromPartial(object: { - address?: string; - groupId?: string | number | import("long").Long; - }): _63.MsgLeaveGroup; - }; - MsgLeaveGroupResponse: { - encode(_: _63.MsgLeaveGroupResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _63.MsgLeaveGroupResponse; - fromPartial(_: {}): _63.MsgLeaveGroupResponse; - }; - QueryGroupInfoRequest: { - encode(message: _62.QueryGroupInfoRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _62.QueryGroupInfoRequest; - fromPartial(object: { - groupId?: string | number | import("long").Long; - }): _62.QueryGroupInfoRequest; - }; - QueryGroupInfoResponse: { - encode(message: _62.QueryGroupInfoResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _62.QueryGroupInfoResponse; - fromPartial(object: { - info?: { - id?: string | number | import("long").Long; - admin?: string; - metadata?: string; - version?: string | number | import("long").Long; - totalWeight?: string; - createdAt?: Date; - }; - }): _62.QueryGroupInfoResponse; - }; - QueryGroupPolicyInfoRequest: { - encode(message: _62.QueryGroupPolicyInfoRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _62.QueryGroupPolicyInfoRequest; - fromPartial(object: { - address?: string; - }): _62.QueryGroupPolicyInfoRequest; - }; - QueryGroupPolicyInfoResponse: { - encode(message: _62.QueryGroupPolicyInfoResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _62.QueryGroupPolicyInfoResponse; - fromPartial(object: { - info?: { - address?: string; - groupId?: string | number | import("long").Long; - admin?: string; - metadata?: string; - version?: string | number | import("long").Long; - decisionPolicy?: { - typeUrl?: string; - value?: Uint8Array; - }; - createdAt?: Date; - }; - }): _62.QueryGroupPolicyInfoResponse; - }; - QueryGroupMembersRequest: { - encode(message: _62.QueryGroupMembersRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _62.QueryGroupMembersRequest; - fromPartial(object: { - groupId?: string | number | import("long").Long; - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _62.QueryGroupMembersRequest; - }; - QueryGroupMembersResponse: { - encode(message: _62.QueryGroupMembersResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _62.QueryGroupMembersResponse; - fromPartial(object: { - members?: { - groupId?: string | number | import("long").Long; - member?: { - address?: string; - weight?: string; - metadata?: string; - addedAt?: Date; - }; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _62.QueryGroupMembersResponse; - }; - QueryGroupsByAdminRequest: { - encode(message: _62.QueryGroupsByAdminRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _62.QueryGroupsByAdminRequest; - fromPartial(object: { - admin?: string; - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _62.QueryGroupsByAdminRequest; - }; - QueryGroupsByAdminResponse: { - encode(message: _62.QueryGroupsByAdminResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _62.QueryGroupsByAdminResponse; - fromPartial(object: { - groups?: { - id?: string | number | import("long").Long; - admin?: string; - metadata?: string; - version?: string | number | import("long").Long; - totalWeight?: string; - createdAt?: Date; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _62.QueryGroupsByAdminResponse; - }; - QueryGroupPoliciesByGroupRequest: { - encode(message: _62.QueryGroupPoliciesByGroupRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _62.QueryGroupPoliciesByGroupRequest; - fromPartial(object: { - groupId?: string | number | import("long").Long; - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _62.QueryGroupPoliciesByGroupRequest; - }; - QueryGroupPoliciesByGroupResponse: { - encode(message: _62.QueryGroupPoliciesByGroupResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _62.QueryGroupPoliciesByGroupResponse; - fromPartial(object: { - groupPolicies?: { - address?: string; - groupId?: string | number | import("long").Long; - admin?: string; - metadata?: string; - version?: string | number | import("long").Long; - decisionPolicy?: { - typeUrl?: string; - value?: Uint8Array; - }; - createdAt?: Date; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _62.QueryGroupPoliciesByGroupResponse; - }; - QueryGroupPoliciesByAdminRequest: { - encode(message: _62.QueryGroupPoliciesByAdminRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _62.QueryGroupPoliciesByAdminRequest; - fromPartial(object: { - admin?: string; - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _62.QueryGroupPoliciesByAdminRequest; - }; - QueryGroupPoliciesByAdminResponse: { - encode(message: _62.QueryGroupPoliciesByAdminResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _62.QueryGroupPoliciesByAdminResponse; - fromPartial(object: { - groupPolicies?: { - address?: string; - groupId?: string | number | import("long").Long; - admin?: string; - metadata?: string; - version?: string | number | import("long").Long; - decisionPolicy?: { - typeUrl?: string; - value?: Uint8Array; - }; - createdAt?: Date; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _62.QueryGroupPoliciesByAdminResponse; - }; - QueryProposalRequest: { - encode(message: _62.QueryProposalRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _62.QueryProposalRequest; - fromPartial(object: { - proposalId?: string | number | import("long").Long; - }): _62.QueryProposalRequest; - }; - QueryProposalResponse: { - encode(message: _62.QueryProposalResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _62.QueryProposalResponse; - fromPartial(object: { - proposal?: { - id?: string | number | import("long").Long; - address?: string; - metadata?: string; - proposers?: string[]; - submitTime?: Date; - groupVersion?: string | number | import("long").Long; - groupPolicyVersion?: string | number | import("long").Long; - status?: _64.ProposalStatus; - result?: _64.ProposalResult; - finalTallyResult?: { - yesCount?: string; - abstainCount?: string; - noCount?: string; - noWithVetoCount?: string; - }; - votingPeriodEnd?: Date; - executorResult?: _64.ProposalExecutorResult; - messages?: { - typeUrl?: string; - value?: Uint8Array; - }[]; - }; - }): _62.QueryProposalResponse; - }; - QueryProposalsByGroupPolicyRequest: { - encode(message: _62.QueryProposalsByGroupPolicyRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _62.QueryProposalsByGroupPolicyRequest; - fromPartial(object: { - address?: string; - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _62.QueryProposalsByGroupPolicyRequest; - }; - QueryProposalsByGroupPolicyResponse: { - encode(message: _62.QueryProposalsByGroupPolicyResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _62.QueryProposalsByGroupPolicyResponse; - fromPartial(object: { - proposals?: { - id?: string | number | import("long").Long; - address?: string; - metadata?: string; - proposers?: string[]; - submitTime?: Date; - groupVersion?: string | number | import("long").Long; - groupPolicyVersion?: string | number | import("long").Long; - status?: _64.ProposalStatus; - result?: _64.ProposalResult; - finalTallyResult?: { - yesCount?: string; - abstainCount?: string; - noCount?: string; - noWithVetoCount?: string; - }; - votingPeriodEnd?: Date; - executorResult?: _64.ProposalExecutorResult; - messages?: { - typeUrl?: string; - value?: Uint8Array; - }[]; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _62.QueryProposalsByGroupPolicyResponse; - }; - QueryVoteByProposalVoterRequest: { - encode(message: _62.QueryVoteByProposalVoterRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _62.QueryVoteByProposalVoterRequest; - fromPartial(object: { - proposalId?: string | number | import("long").Long; - voter?: string; - }): _62.QueryVoteByProposalVoterRequest; - }; - QueryVoteByProposalVoterResponse: { - encode(message: _62.QueryVoteByProposalVoterResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _62.QueryVoteByProposalVoterResponse; - fromPartial(object: { - vote?: { - proposalId?: string | number | import("long").Long; - voter?: string; - option?: _64.VoteOption; - metadata?: string; - submitTime?: Date; - }; - }): _62.QueryVoteByProposalVoterResponse; - }; - QueryVotesByProposalRequest: { - encode(message: _62.QueryVotesByProposalRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _62.QueryVotesByProposalRequest; - fromPartial(object: { - proposalId?: string | number | import("long").Long; - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _62.QueryVotesByProposalRequest; - }; - QueryVotesByProposalResponse: { - encode(message: _62.QueryVotesByProposalResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _62.QueryVotesByProposalResponse; - fromPartial(object: { - votes?: { - proposalId?: string | number | import("long").Long; - voter?: string; - option?: _64.VoteOption; - metadata?: string; - submitTime?: Date; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _62.QueryVotesByProposalResponse; - }; - QueryVotesByVoterRequest: { - encode(message: _62.QueryVotesByVoterRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _62.QueryVotesByVoterRequest; - fromPartial(object: { - voter?: string; - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _62.QueryVotesByVoterRequest; - }; - QueryVotesByVoterResponse: { - encode(message: _62.QueryVotesByVoterResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _62.QueryVotesByVoterResponse; - fromPartial(object: { - votes?: { - proposalId?: string | number | import("long").Long; - voter?: string; - option?: _64.VoteOption; - metadata?: string; - submitTime?: Date; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _62.QueryVotesByVoterResponse; - }; - QueryGroupsByMemberRequest: { - encode(message: _62.QueryGroupsByMemberRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _62.QueryGroupsByMemberRequest; - fromPartial(object: { - address?: string; - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _62.QueryGroupsByMemberRequest; - }; - QueryGroupsByMemberResponse: { - encode(message: _62.QueryGroupsByMemberResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _62.QueryGroupsByMemberResponse; - fromPartial(object: { - groups?: { - id?: string | number | import("long").Long; - admin?: string; - metadata?: string; - version?: string | number | import("long").Long; - totalWeight?: string; - createdAt?: Date; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _62.QueryGroupsByMemberResponse; - }; - QueryTallyResultRequest: { - encode(message: _62.QueryTallyResultRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _62.QueryTallyResultRequest; - fromPartial(object: { - proposalId?: string | number | import("long").Long; - }): _62.QueryTallyResultRequest; - }; - QueryTallyResultResponse: { - encode(message: _62.QueryTallyResultResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _62.QueryTallyResultResponse; - fromPartial(object: { - tally?: { - yesCount?: string; - abstainCount?: string; - noCount?: string; - noWithVetoCount?: string; - }; - }): _62.QueryTallyResultResponse; - }; - GenesisState: { - encode(message: _61.GenesisState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _61.GenesisState; - fromPartial(object: { - groupSeq?: string | number | import("long").Long; - groups?: { - id?: string | number | import("long").Long; - admin?: string; - metadata?: string; - version?: string | number | import("long").Long; - totalWeight?: string; - createdAt?: Date; - }[]; - groupMembers?: { - groupId?: string | number | import("long").Long; - member?: { - address?: string; - weight?: string; - metadata?: string; - addedAt?: Date; - }; - }[]; - groupPolicySeq?: string | number | import("long").Long; - groupPolicies?: { - address?: string; - groupId?: string | number | import("long").Long; - admin?: string; - metadata?: string; - version?: string | number | import("long").Long; - decisionPolicy?: { - typeUrl?: string; - value?: Uint8Array; - }; - createdAt?: Date; - }[]; - proposalSeq?: string | number | import("long").Long; - proposals?: { - id?: string | number | import("long").Long; - address?: string; - metadata?: string; - proposers?: string[]; - submitTime?: Date; - groupVersion?: string | number | import("long").Long; - groupPolicyVersion?: string | number | import("long").Long; - status?: _64.ProposalStatus; - result?: _64.ProposalResult; - finalTallyResult?: { - yesCount?: string; - abstainCount?: string; - noCount?: string; - noWithVetoCount?: string; - }; - votingPeriodEnd?: Date; - executorResult?: _64.ProposalExecutorResult; - messages?: { - typeUrl?: string; - value?: Uint8Array; - }[]; - }[]; - votes?: { - proposalId?: string | number | import("long").Long; - voter?: string; - option?: _64.VoteOption; - metadata?: string; - submitTime?: Date; - }[]; - }): _61.GenesisState; - }; - EventCreateGroup: { - encode(message: _60.EventCreateGroup, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _60.EventCreateGroup; - fromPartial(object: { - groupId?: string | number | import("long").Long; - }): _60.EventCreateGroup; - }; - EventUpdateGroup: { - encode(message: _60.EventUpdateGroup, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _60.EventUpdateGroup; - fromPartial(object: { - groupId?: string | number | import("long").Long; - }): _60.EventUpdateGroup; - }; - EventCreateGroupPolicy: { - encode(message: _60.EventCreateGroupPolicy, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _60.EventCreateGroupPolicy; - fromPartial(object: { - address?: string; - }): _60.EventCreateGroupPolicy; - }; - EventUpdateGroupPolicy: { - encode(message: _60.EventUpdateGroupPolicy, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _60.EventUpdateGroupPolicy; - fromPartial(object: { - address?: string; - }): _60.EventUpdateGroupPolicy; - }; - EventSubmitProposal: { - encode(message: _60.EventSubmitProposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _60.EventSubmitProposal; - fromPartial(object: { - proposalId?: string | number | import("long").Long; - }): _60.EventSubmitProposal; - }; - EventWithdrawProposal: { - encode(message: _60.EventWithdrawProposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _60.EventWithdrawProposal; - fromPartial(object: { - proposalId?: string | number | import("long").Long; - }): _60.EventWithdrawProposal; - }; - EventVote: { - encode(message: _60.EventVote, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _60.EventVote; - fromPartial(object: { - proposalId?: string | number | import("long").Long; - }): _60.EventVote; - }; - EventExec: { - encode(message: _60.EventExec, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _60.EventExec; - fromPartial(object: { - proposalId?: string | number | import("long").Long; - result?: _64.ProposalExecutorResult; - }): _60.EventExec; - }; - EventLeaveGroup: { - encode(message: _60.EventLeaveGroup, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _60.EventLeaveGroup; - fromPartial(object: { - groupId?: string | number | import("long").Long; - address?: string; - }): _60.EventLeaveGroup; - }; - }; - } - namespace mint { - const v1beta1: { - QueryClientImpl: typeof _173.QueryClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - params(request?: _67.QueryParamsRequest): Promise<_67.QueryParamsResponse>; - inflation(request?: _67.QueryInflationRequest): Promise<_67.QueryInflationResponse>; - annualProvisions(request?: _67.QueryAnnualProvisionsRequest): Promise<_67.QueryAnnualProvisionsResponse>; - }; - LCDQueryClient: typeof _155.LCDQueryClient; - QueryParamsRequest: { - encode(_: _67.QueryParamsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _67.QueryParamsRequest; - fromPartial(_: {}): _67.QueryParamsRequest; - }; - QueryParamsResponse: { - encode(message: _67.QueryParamsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _67.QueryParamsResponse; - fromPartial(object: { - params?: { - mintDenom?: string; - inflationRateChange?: string; - inflationMax?: string; - inflationMin?: string; - goalBonded?: string; - blocksPerYear?: string | number | import("long").Long; - }; - }): _67.QueryParamsResponse; - }; - QueryInflationRequest: { - encode(_: _67.QueryInflationRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _67.QueryInflationRequest; - fromPartial(_: {}): _67.QueryInflationRequest; - }; - QueryInflationResponse: { - encode(message: _67.QueryInflationResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _67.QueryInflationResponse; - fromPartial(object: { - inflation?: Uint8Array; - }): _67.QueryInflationResponse; - }; - QueryAnnualProvisionsRequest: { - encode(_: _67.QueryAnnualProvisionsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _67.QueryAnnualProvisionsRequest; - fromPartial(_: {}): _67.QueryAnnualProvisionsRequest; - }; - QueryAnnualProvisionsResponse: { - encode(message: _67.QueryAnnualProvisionsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _67.QueryAnnualProvisionsResponse; - fromPartial(object: { - annualProvisions?: Uint8Array; - }): _67.QueryAnnualProvisionsResponse; - }; - Minter: { - encode(message: _66.Minter, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _66.Minter; - fromPartial(object: { - inflation?: string; - annualProvisions?: string; - }): _66.Minter; - }; - Params: { - encode(message: _66.Params, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _66.Params; - fromPartial(object: { - mintDenom?: string; - inflationRateChange?: string; - inflationMax?: string; - inflationMin?: string; - goalBonded?: string; - blocksPerYear?: string | number | import("long").Long; - }): _66.Params; - }; - GenesisState: { - encode(message: _65.GenesisState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _65.GenesisState; - fromPartial(object: { - minter?: { - inflation?: string; - annualProvisions?: string; - }; - params?: { - mintDenom?: string; - inflationRateChange?: string; - inflationMax?: string; - inflationMin?: string; - goalBonded?: string; - blocksPerYear?: string | number | import("long").Long; - }; - }): _65.GenesisState; - }; - }; - } - namespace msg { - const v1: {}; - } - namespace nft { - const v1beta1: { - MsgClientImpl: typeof _189.MsgClientImpl; - QueryClientImpl: typeof _174.QueryClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - balance(request: _72.QueryBalanceRequest): Promise<_72.QueryBalanceResponse>; - owner(request: _72.QueryOwnerRequest): Promise<_72.QueryOwnerResponse>; - supply(request: _72.QuerySupplyRequest): Promise<_72.QuerySupplyResponse>; - nFTs(request: _72.QueryNFTsRequest): Promise<_72.QueryNFTsResponse>; - nFT(request: _72.QueryNFTRequest): Promise<_72.QueryNFTResponse>; - class(request: _72.QueryClassRequest): Promise<_72.QueryClassResponse>; - classes(request?: _72.QueryClassesRequest): Promise<_72.QueryClassesResponse>; - }; - LCDQueryClient: typeof _156.LCDQueryClient; - MsgSend: { - encode(message: _73.MsgSend, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _73.MsgSend; - fromPartial(object: { - classId?: string; - id?: string; - sender?: string; - receiver?: string; - }): _73.MsgSend; - }; - MsgSendResponse: { - encode(_: _73.MsgSendResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _73.MsgSendResponse; - fromPartial(_: {}): _73.MsgSendResponse; - }; - QueryBalanceRequest: { - encode(message: _72.QueryBalanceRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _72.QueryBalanceRequest; - fromPartial(object: { - classId?: string; - owner?: string; - }): _72.QueryBalanceRequest; - }; - QueryBalanceResponse: { - encode(message: _72.QueryBalanceResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _72.QueryBalanceResponse; - fromPartial(object: { - amount?: string | number | import("long").Long; - }): _72.QueryBalanceResponse; - }; - QueryOwnerRequest: { - encode(message: _72.QueryOwnerRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _72.QueryOwnerRequest; - fromPartial(object: { - classId?: string; - id?: string; - }): _72.QueryOwnerRequest; - }; - QueryOwnerResponse: { - encode(message: _72.QueryOwnerResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _72.QueryOwnerResponse; - fromPartial(object: { - owner?: string; - }): _72.QueryOwnerResponse; - }; - QuerySupplyRequest: { - encode(message: _72.QuerySupplyRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _72.QuerySupplyRequest; - fromPartial(object: { - classId?: string; - }): _72.QuerySupplyRequest; - }; - QuerySupplyResponse: { - encode(message: _72.QuerySupplyResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _72.QuerySupplyResponse; - fromPartial(object: { - amount?: string | number | import("long").Long; - }): _72.QuerySupplyResponse; - }; - QueryNFTsRequest: { - encode(message: _72.QueryNFTsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _72.QueryNFTsRequest; - fromPartial(object: { - classId?: string; - owner?: string; - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _72.QueryNFTsRequest; - }; - QueryNFTsResponse: { - encode(message: _72.QueryNFTsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _72.QueryNFTsResponse; - fromPartial(object: { - nfts?: { - classId?: string; - id?: string; - uri?: string; - uriHash?: string; - data?: { - typeUrl?: string; - value?: Uint8Array; - }; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _72.QueryNFTsResponse; - }; - QueryNFTRequest: { - encode(message: _72.QueryNFTRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _72.QueryNFTRequest; - fromPartial(object: { - classId?: string; - id?: string; - }): _72.QueryNFTRequest; - }; - QueryNFTResponse: { - encode(message: _72.QueryNFTResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _72.QueryNFTResponse; - fromPartial(object: { - nft?: { - classId?: string; - id?: string; - uri?: string; - uriHash?: string; - data?: { - typeUrl?: string; - value?: Uint8Array; - }; - }; - }): _72.QueryNFTResponse; - }; - QueryClassRequest: { - encode(message: _72.QueryClassRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _72.QueryClassRequest; - fromPartial(object: { - classId?: string; - }): _72.QueryClassRequest; - }; - QueryClassResponse: { - encode(message: _72.QueryClassResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _72.QueryClassResponse; - fromPartial(object: { - class?: { - id?: string; - name?: string; - symbol?: string; - description?: string; - uri?: string; - uriHash?: string; - data?: { - typeUrl?: string; - value?: Uint8Array; - }; - }; - }): _72.QueryClassResponse; - }; - QueryClassesRequest: { - encode(message: _72.QueryClassesRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _72.QueryClassesRequest; - fromPartial(object: { - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _72.QueryClassesRequest; - }; - QueryClassesResponse: { - encode(message: _72.QueryClassesResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _72.QueryClassesResponse; - fromPartial(object: { - classes?: { - id?: string; - name?: string; - symbol?: string; - description?: string; - uri?: string; - uriHash?: string; - data?: { - typeUrl?: string; - value?: Uint8Array; - }; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _72.QueryClassesResponse; - }; - Class: { - encode(message: _71.Class, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _71.Class; - fromPartial(object: { - id?: string; - name?: string; - symbol?: string; - description?: string; - uri?: string; - uriHash?: string; - data?: { - typeUrl?: string; - value?: Uint8Array; - }; - }): _71.Class; - }; - NFT: { - encode(message: _71.NFT, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _71.NFT; - fromPartial(object: { - classId?: string; - id?: string; - uri?: string; - uriHash?: string; - data?: { - typeUrl?: string; - value?: Uint8Array; - }; - }): _71.NFT; - }; - GenesisState: { - encode(message: _70.GenesisState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _70.GenesisState; - fromPartial(object: { - classes?: { - id?: string; - name?: string; - symbol?: string; - description?: string; - uri?: string; - uriHash?: string; - data?: { - typeUrl?: string; - value?: Uint8Array; - }; - }[]; - entries?: { - owner?: string; - nfts?: { - classId?: string; - id?: string; - uri?: string; - uriHash?: string; - data?: { - typeUrl?: string; - value?: Uint8Array; - }; - }[]; - }[]; - }): _70.GenesisState; - }; - Entry: { - encode(message: _70.Entry, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _70.Entry; - fromPartial(object: { - owner?: string; - nfts?: { - classId?: string; - id?: string; - uri?: string; - uriHash?: string; - data?: { - typeUrl?: string; - value?: Uint8Array; - }; - }[]; - }): _70.Entry; - }; - EventSend: { - encode(message: _69.EventSend, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _69.EventSend; - fromPartial(object: { - classId?: string; - id?: string; - sender?: string; - receiver?: string; - }): _69.EventSend; - }; - EventMint: { - encode(message: _69.EventMint, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _69.EventMint; - fromPartial(object: { - classId?: string; - id?: string; - owner?: string; - }): _69.EventMint; - }; - EventBurn: { - encode(message: _69.EventBurn, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _69.EventBurn; - fromPartial(object: { - classId?: string; - id?: string; - owner?: string; - }): _69.EventBurn; - }; - }; - } - namespace orm { - const v1: { - TableDescriptor: { - encode(message: _74.TableDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _74.TableDescriptor; - fromPartial(object: { - primaryKey?: { - fields?: string; - autoIncrement?: boolean; - }; - index?: { - fields?: string; - id?: number; - unique?: boolean; - }[]; - id?: number; - }): _74.TableDescriptor; - }; - PrimaryKeyDescriptor: { - encode(message: _74.PrimaryKeyDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _74.PrimaryKeyDescriptor; - fromPartial(object: { - fields?: string; - autoIncrement?: boolean; - }): _74.PrimaryKeyDescriptor; - }; - SecondaryIndexDescriptor: { - encode(message: _74.SecondaryIndexDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _74.SecondaryIndexDescriptor; - fromPartial(object: { - fields?: string; - id?: number; - unique?: boolean; - }): _74.SecondaryIndexDescriptor; - }; - SingletonDescriptor: { - encode(message: _74.SingletonDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _74.SingletonDescriptor; - fromPartial(object: { - id?: number; - }): _74.SingletonDescriptor; - }; - }; - const v1alpha1: { - storageTypeFromJSON(object: any): _75.StorageType; - storageTypeToJSON(object: _75.StorageType): string; - StorageType: typeof _75.StorageType; - StorageTypeSDKType: typeof _75.StorageType; - ModuleSchemaDescriptor: { - encode(message: _75.ModuleSchemaDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _75.ModuleSchemaDescriptor; - fromPartial(object: { - schemaFile?: { - id?: number; - protoFileName?: string; - storageType?: _75.StorageType; - }[]; - prefix?: Uint8Array; - }): _75.ModuleSchemaDescriptor; - }; - ModuleSchemaDescriptor_FileEntry: { - encode(message: _75.ModuleSchemaDescriptor_FileEntry, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _75.ModuleSchemaDescriptor_FileEntry; - fromPartial(object: { - id?: number; - protoFileName?: string; - storageType?: _75.StorageType; - }): _75.ModuleSchemaDescriptor_FileEntry; - }; - }; - } - namespace params { - const v1beta1: { - QueryClientImpl: typeof _175.QueryClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - params(request: _77.QueryParamsRequest): Promise<_77.QueryParamsResponse>; - subspaces(request?: _77.QuerySubspacesRequest): Promise<_77.QuerySubspacesResponse>; - }; - LCDQueryClient: typeof _157.LCDQueryClient; - QueryParamsRequest: { - encode(message: _77.QueryParamsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _77.QueryParamsRequest; - fromPartial(object: { - subspace?: string; - key?: string; - }): _77.QueryParamsRequest; - }; - QueryParamsResponse: { - encode(message: _77.QueryParamsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _77.QueryParamsResponse; - fromPartial(object: { - param?: { - subspace?: string; - key?: string; - value?: string; - }; - }): _77.QueryParamsResponse; - }; - QuerySubspacesRequest: { - encode(_: _77.QuerySubspacesRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _77.QuerySubspacesRequest; - fromPartial(_: {}): _77.QuerySubspacesRequest; - }; - QuerySubspacesResponse: { - encode(message: _77.QuerySubspacesResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _77.QuerySubspacesResponse; - fromPartial(object: { - subspaces?: { - subspace?: string; - keys?: string[]; - }[]; - }): _77.QuerySubspacesResponse; - }; - Subspace: { - encode(message: _77.Subspace, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _77.Subspace; - fromPartial(object: { - subspace?: string; - keys?: string[]; - }): _77.Subspace; - }; - ParameterChangeProposal: { - encode(message: _76.ParameterChangeProposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _76.ParameterChangeProposal; - fromPartial(object: { - title?: string; - description?: string; - changes?: { - subspace?: string; - key?: string; - value?: string; - }[]; - }): _76.ParameterChangeProposal; - }; - ParamChange: { - encode(message: _76.ParamChange, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _76.ParamChange; - fromPartial(object: { - subspace?: string; - key?: string; - value?: string; - }): _76.ParamChange; - }; - }; - } - namespace slashing { - const v1beta1: { - MsgClientImpl: typeof _190.MsgClientImpl; - QueryClientImpl: typeof _176.QueryClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - params(request?: _79.QueryParamsRequest): Promise<_79.QueryParamsResponse>; - signingInfo(request: _79.QuerySigningInfoRequest): Promise<_79.QuerySigningInfoResponse>; - signingInfos(request?: _79.QuerySigningInfosRequest): Promise<_79.QuerySigningInfosResponse>; - }; - LCDQueryClient: typeof _158.LCDQueryClient; - MsgUnjail: { - encode(message: _81.MsgUnjail, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _81.MsgUnjail; - fromPartial(object: { - validatorAddr?: string; - }): _81.MsgUnjail; - }; - MsgUnjailResponse: { - encode(_: _81.MsgUnjailResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _81.MsgUnjailResponse; - fromPartial(_: {}): _81.MsgUnjailResponse; - }; - ValidatorSigningInfo: { - encode(message: _80.ValidatorSigningInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _80.ValidatorSigningInfo; - fromPartial(object: { - address?: string; - startHeight?: string | number | import("long").Long; - indexOffset?: string | number | import("long").Long; - jailedUntil?: Date; - tombstoned?: boolean; - missedBlocksCounter?: string | number | import("long").Long; - }): _80.ValidatorSigningInfo; - }; - Params: { - encode(message: _80.Params, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _80.Params; - fromPartial(object: { - signedBlocksWindow?: string | number | import("long").Long; - minSignedPerWindow?: Uint8Array; - downtimeJailDuration?: { - seconds?: string | number | import("long").Long; - nanos?: number; - }; - slashFractionDoubleSign?: Uint8Array; - slashFractionDowntime?: Uint8Array; - }): _80.Params; - }; - QueryParamsRequest: { - encode(_: _79.QueryParamsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _79.QueryParamsRequest; - fromPartial(_: {}): _79.QueryParamsRequest; - }; - QueryParamsResponse: { - encode(message: _79.QueryParamsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _79.QueryParamsResponse; - fromPartial(object: { - params?: { - signedBlocksWindow?: string | number | import("long").Long; - minSignedPerWindow?: Uint8Array; - downtimeJailDuration?: { - seconds?: string | number | import("long").Long; - nanos?: number; - }; - slashFractionDoubleSign?: Uint8Array; - slashFractionDowntime?: Uint8Array; - }; - }): _79.QueryParamsResponse; - }; - QuerySigningInfoRequest: { - encode(message: _79.QuerySigningInfoRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _79.QuerySigningInfoRequest; - fromPartial(object: { - consAddress?: string; - }): _79.QuerySigningInfoRequest; - }; - QuerySigningInfoResponse: { - encode(message: _79.QuerySigningInfoResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _79.QuerySigningInfoResponse; - fromPartial(object: { - valSigningInfo?: { - address?: string; - startHeight?: string | number | import("long").Long; - indexOffset?: string | number | import("long").Long; - jailedUntil?: Date; - tombstoned?: boolean; - missedBlocksCounter?: string | number | import("long").Long; - }; - }): _79.QuerySigningInfoResponse; - }; - QuerySigningInfosRequest: { - encode(message: _79.QuerySigningInfosRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _79.QuerySigningInfosRequest; - fromPartial(object: { - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _79.QuerySigningInfosRequest; - }; - QuerySigningInfosResponse: { - encode(message: _79.QuerySigningInfosResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _79.QuerySigningInfosResponse; - fromPartial(object: { - info?: { - address?: string; - startHeight?: string | number | import("long").Long; - indexOffset?: string | number | import("long").Long; - jailedUntil?: Date; - tombstoned?: boolean; - missedBlocksCounter?: string | number | import("long").Long; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _79.QuerySigningInfosResponse; - }; - GenesisState: { - encode(message: _78.GenesisState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _78.GenesisState; - fromPartial(object: { - params?: { - signedBlocksWindow?: string | number | import("long").Long; - minSignedPerWindow?: Uint8Array; - downtimeJailDuration?: { - seconds?: string | number | import("long").Long; - nanos?: number; - }; - slashFractionDoubleSign?: Uint8Array; - slashFractionDowntime?: Uint8Array; - }; - signingInfos?: { - address?: string; - validatorSigningInfo?: { - address?: string; - startHeight?: string | number | import("long").Long; - indexOffset?: string | number | import("long").Long; - jailedUntil?: Date; - tombstoned?: boolean; - missedBlocksCounter?: string | number | import("long").Long; - }; - }[]; - missedBlocks?: { - address?: string; - missedBlocks?: { - index?: string | number | import("long").Long; - missed?: boolean; - }[]; - }[]; - }): _78.GenesisState; - }; - SigningInfo: { - encode(message: _78.SigningInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _78.SigningInfo; - fromPartial(object: { - address?: string; - validatorSigningInfo?: { - address?: string; - startHeight?: string | number | import("long").Long; - indexOffset?: string | number | import("long").Long; - jailedUntil?: Date; - tombstoned?: boolean; - missedBlocksCounter?: string | number | import("long").Long; - }; - }): _78.SigningInfo; - }; - ValidatorMissedBlocks: { - encode(message: _78.ValidatorMissedBlocks, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _78.ValidatorMissedBlocks; - fromPartial(object: { - address?: string; - missedBlocks?: { - index?: string | number | import("long").Long; - missed?: boolean; - }[]; - }): _78.ValidatorMissedBlocks; - }; - MissedBlock: { - encode(message: _78.MissedBlock, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _78.MissedBlock; - fromPartial(object: { - index?: string | number | import("long").Long; - missed?: boolean; - }): _78.MissedBlock; - }; - }; - } - namespace staking { - const v1beta1: { - MsgClientImpl: typeof _191.MsgClientImpl; - QueryClientImpl: typeof _177.QueryClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - validators(request: _84.QueryValidatorsRequest): Promise<_84.QueryValidatorsResponse>; - validator(request: _84.QueryValidatorRequest): Promise<_84.QueryValidatorResponse>; - validatorDelegations(request: _84.QueryValidatorDelegationsRequest): Promise<_84.QueryValidatorDelegationsResponse>; - validatorUnbondingDelegations(request: _84.QueryValidatorUnbondingDelegationsRequest): Promise<_84.QueryValidatorUnbondingDelegationsResponse>; - delegation(request: _84.QueryDelegationRequest): Promise<_84.QueryDelegationResponse>; - unbondingDelegation(request: _84.QueryUnbondingDelegationRequest): Promise<_84.QueryUnbondingDelegationResponse>; - delegatorDelegations(request: _84.QueryDelegatorDelegationsRequest): Promise<_84.QueryDelegatorDelegationsResponse>; - delegatorUnbondingDelegations(request: _84.QueryDelegatorUnbondingDelegationsRequest): Promise<_84.QueryDelegatorUnbondingDelegationsResponse>; - redelegations(request: _84.QueryRedelegationsRequest): Promise<_84.QueryRedelegationsResponse>; - delegatorValidators(request: _84.QueryDelegatorValidatorsRequest): Promise<_84.QueryDelegatorValidatorsResponse>; - delegatorValidator(request: _84.QueryDelegatorValidatorRequest): Promise<_84.QueryDelegatorValidatorResponse>; - historicalInfo(request: _84.QueryHistoricalInfoRequest): Promise<_84.QueryHistoricalInfoResponse>; - pool(request?: _84.QueryPoolRequest): Promise<_84.QueryPoolResponse>; - params(request?: _84.QueryParamsRequest): Promise<_84.QueryParamsResponse>; - }; - LCDQueryClient: typeof _159.LCDQueryClient; - MsgCreateValidator: { - encode(message: _86.MsgCreateValidator, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _86.MsgCreateValidator; - fromPartial(object: { - description?: { - moniker?: string; - identity?: string; - website?: string; - securityContact?: string; - details?: string; - }; - commission?: { - rate?: string; - maxRate?: string; - maxChangeRate?: string; - }; - minSelfDelegation?: string; - delegatorAddress?: string; - validatorAddress?: string; - pubkey?: { - typeUrl?: string; - value?: Uint8Array; - }; - value?: { - denom?: string; - amount?: string; - }; - }): _86.MsgCreateValidator; - }; - MsgCreateValidatorResponse: { - encode(_: _86.MsgCreateValidatorResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _86.MsgCreateValidatorResponse; - fromPartial(_: {}): _86.MsgCreateValidatorResponse; - }; - MsgEditValidator: { - encode(message: _86.MsgEditValidator, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _86.MsgEditValidator; - fromPartial(object: { - description?: { - moniker?: string; - identity?: string; - website?: string; - securityContact?: string; - details?: string; - }; - validatorAddress?: string; - commissionRate?: string; - minSelfDelegation?: string; - }): _86.MsgEditValidator; - }; - MsgEditValidatorResponse: { - encode(_: _86.MsgEditValidatorResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _86.MsgEditValidatorResponse; - fromPartial(_: {}): _86.MsgEditValidatorResponse; - }; - MsgDelegate: { - encode(message: _86.MsgDelegate, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _86.MsgDelegate; - fromPartial(object: { - delegatorAddress?: string; - validatorAddress?: string; - amount?: { - denom?: string; - amount?: string; - }; - }): _86.MsgDelegate; - }; - MsgDelegateResponse: { - encode(_: _86.MsgDelegateResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _86.MsgDelegateResponse; - fromPartial(_: {}): _86.MsgDelegateResponse; - }; - MsgBeginRedelegate: { - encode(message: _86.MsgBeginRedelegate, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _86.MsgBeginRedelegate; - fromPartial(object: { - delegatorAddress?: string; - validatorSrcAddress?: string; - validatorDstAddress?: string; - amount?: { - denom?: string; - amount?: string; - }; - }): _86.MsgBeginRedelegate; - }; - MsgBeginRedelegateResponse: { - encode(message: _86.MsgBeginRedelegateResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _86.MsgBeginRedelegateResponse; - fromPartial(object: { - completionTime?: Date; - }): _86.MsgBeginRedelegateResponse; - }; - MsgUndelegate: { - encode(message: _86.MsgUndelegate, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _86.MsgUndelegate; - fromPartial(object: { - delegatorAddress?: string; - validatorAddress?: string; - amount?: { - denom?: string; - amount?: string; - }; - }): _86.MsgUndelegate; - }; - MsgUndelegateResponse: { - encode(message: _86.MsgUndelegateResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _86.MsgUndelegateResponse; - fromPartial(object: { - completionTime?: Date; - }): _86.MsgUndelegateResponse; - }; - bondStatusFromJSON(object: any): _85.BondStatus; - bondStatusToJSON(object: _85.BondStatus): string; - BondStatus: typeof _85.BondStatus; - BondStatusSDKType: typeof _85.BondStatus; - HistoricalInfo: { - encode(message: _85.HistoricalInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _85.HistoricalInfo; - fromPartial(object: { - header?: { - version?: { - block?: string | number | import("long").Long; - app?: string | number | import("long").Long; - }; - chainId?: string; - height?: string | number | import("long").Long; - time?: Date; - lastBlockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - lastCommitHash?: Uint8Array; - dataHash?: Uint8Array; - validatorsHash?: Uint8Array; - nextValidatorsHash?: Uint8Array; - consensusHash?: Uint8Array; - appHash?: Uint8Array; - lastResultsHash?: Uint8Array; - evidenceHash?: Uint8Array; - proposerAddress?: Uint8Array; - }; - valset?: { - operatorAddress?: string; - consensusPubkey?: { - typeUrl?: string; - value?: Uint8Array; - }; - jailed?: boolean; - status?: _85.BondStatus; - tokens?: string; - delegatorShares?: string; - description?: { - moniker?: string; - identity?: string; - website?: string; - securityContact?: string; - details?: string; - }; - unbondingHeight?: string | number | import("long").Long; - unbondingTime?: Date; - commission?: { - commissionRates?: { - rate?: string; - maxRate?: string; - maxChangeRate?: string; - }; - updateTime?: Date; - }; - minSelfDelegation?: string; - }[]; - }): _85.HistoricalInfo; - }; - CommissionRates: { - encode(message: _85.CommissionRates, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _85.CommissionRates; - fromPartial(object: { - rate?: string; - maxRate?: string; - maxChangeRate?: string; - }): _85.CommissionRates; - }; - Commission: { - encode(message: _85.Commission, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _85.Commission; - fromPartial(object: { - commissionRates?: { - rate?: string; - maxRate?: string; - maxChangeRate?: string; - }; - updateTime?: Date; - }): _85.Commission; - }; - Description: { - encode(message: _85.Description, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _85.Description; - fromPartial(object: { - moniker?: string; - identity?: string; - website?: string; - securityContact?: string; - details?: string; - }): _85.Description; - }; - Validator: { - encode(message: _85.Validator, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _85.Validator; - fromPartial(object: { - operatorAddress?: string; - consensusPubkey?: { - typeUrl?: string; - value?: Uint8Array; - }; - jailed?: boolean; - status?: _85.BondStatus; - tokens?: string; - delegatorShares?: string; - description?: { - moniker?: string; - identity?: string; - website?: string; - securityContact?: string; - details?: string; - }; - unbondingHeight?: string | number | import("long").Long; - unbondingTime?: Date; - commission?: { - commissionRates?: { - rate?: string; - maxRate?: string; - maxChangeRate?: string; - }; - updateTime?: Date; - }; - minSelfDelegation?: string; - }): _85.Validator; - }; - ValAddresses: { - encode(message: _85.ValAddresses, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _85.ValAddresses; - fromPartial(object: { - addresses?: string[]; - }): _85.ValAddresses; - }; - DVPair: { - encode(message: _85.DVPair, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _85.DVPair; - fromPartial(object: { - delegatorAddress?: string; - validatorAddress?: string; - }): _85.DVPair; - }; - DVPairs: { - encode(message: _85.DVPairs, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _85.DVPairs; - fromPartial(object: { - pairs?: { - delegatorAddress?: string; - validatorAddress?: string; - }[]; - }): _85.DVPairs; - }; - DVVTriplet: { - encode(message: _85.DVVTriplet, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _85.DVVTriplet; - fromPartial(object: { - delegatorAddress?: string; - validatorSrcAddress?: string; - validatorDstAddress?: string; - }): _85.DVVTriplet; - }; - DVVTriplets: { - encode(message: _85.DVVTriplets, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _85.DVVTriplets; - fromPartial(object: { - triplets?: { - delegatorAddress?: string; - validatorSrcAddress?: string; - validatorDstAddress?: string; - }[]; - }): _85.DVVTriplets; - }; - Delegation: { - encode(message: _85.Delegation, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _85.Delegation; - fromPartial(object: { - delegatorAddress?: string; - validatorAddress?: string; - shares?: string; - }): _85.Delegation; - }; - UnbondingDelegation: { - encode(message: _85.UnbondingDelegation, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _85.UnbondingDelegation; - fromPartial(object: { - delegatorAddress?: string; - validatorAddress?: string; - entries?: { - creationHeight?: string | number | import("long").Long; - completionTime?: Date; - initialBalance?: string; - balance?: string; - }[]; - }): _85.UnbondingDelegation; - }; - UnbondingDelegationEntry: { - encode(message: _85.UnbondingDelegationEntry, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _85.UnbondingDelegationEntry; - fromPartial(object: { - creationHeight?: string | number | import("long").Long; - completionTime?: Date; - initialBalance?: string; - balance?: string; - }): _85.UnbondingDelegationEntry; - }; - RedelegationEntry: { - encode(message: _85.RedelegationEntry, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _85.RedelegationEntry; - fromPartial(object: { - creationHeight?: string | number | import("long").Long; - completionTime?: Date; - initialBalance?: string; - sharesDst?: string; - }): _85.RedelegationEntry; - }; - Redelegation: { - encode(message: _85.Redelegation, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _85.Redelegation; - fromPartial(object: { - delegatorAddress?: string; - validatorSrcAddress?: string; - validatorDstAddress?: string; - entries?: { - creationHeight?: string | number | import("long").Long; - completionTime?: Date; - initialBalance?: string; - sharesDst?: string; - }[]; - }): _85.Redelegation; - }; - Params: { - encode(message: _85.Params, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _85.Params; - fromPartial(object: { - unbondingTime?: { - seconds?: string | number | import("long").Long; - nanos?: number; - }; - maxValidators?: number; - maxEntries?: number; - historicalEntries?: number; - bondDenom?: string; - minCommissionRate?: string; - }): _85.Params; - }; - DelegationResponse: { - encode(message: _85.DelegationResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _85.DelegationResponse; - fromPartial(object: { - delegation?: { - delegatorAddress?: string; - validatorAddress?: string; - shares?: string; - }; - balance?: { - denom?: string; - amount?: string; - }; - }): _85.DelegationResponse; - }; - RedelegationEntryResponse: { - encode(message: _85.RedelegationEntryResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _85.RedelegationEntryResponse; - fromPartial(object: { - redelegationEntry?: { - creationHeight?: string | number | import("long").Long; - completionTime?: Date; - initialBalance?: string; - sharesDst?: string; - }; - balance?: string; - }): _85.RedelegationEntryResponse; - }; - RedelegationResponse: { - encode(message: _85.RedelegationResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _85.RedelegationResponse; - fromPartial(object: { - redelegation?: { - delegatorAddress?: string; - validatorSrcAddress?: string; - validatorDstAddress?: string; - entries?: { - creationHeight?: string | number | import("long").Long; - completionTime?: Date; - initialBalance?: string; - sharesDst?: string; - }[]; - }; - entries?: { - redelegationEntry?: { - creationHeight?: string | number | import("long").Long; - completionTime?: Date; - initialBalance?: string; - sharesDst?: string; - }; - balance?: string; - }[]; - }): _85.RedelegationResponse; - }; - Pool: { - encode(message: _85.Pool, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _85.Pool; - fromPartial(object: { - notBondedTokens?: string; - bondedTokens?: string; - }): _85.Pool; - }; - QueryValidatorsRequest: { - encode(message: _84.QueryValidatorsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _84.QueryValidatorsRequest; - fromPartial(object: { - status?: string; - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _84.QueryValidatorsRequest; - }; - QueryValidatorsResponse: { - encode(message: _84.QueryValidatorsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _84.QueryValidatorsResponse; - fromPartial(object: { - validators?: { - operatorAddress?: string; - consensusPubkey?: { - typeUrl?: string; - value?: Uint8Array; - }; - jailed?: boolean; - status?: _85.BondStatus; - tokens?: string; - delegatorShares?: string; - description?: { - moniker?: string; - identity?: string; - website?: string; - securityContact?: string; - details?: string; - }; - unbondingHeight?: string | number | import("long").Long; - unbondingTime?: Date; - commission?: { - commissionRates?: { - rate?: string; - maxRate?: string; - maxChangeRate?: string; - }; - updateTime?: Date; - }; - minSelfDelegation?: string; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _84.QueryValidatorsResponse; - }; - QueryValidatorRequest: { - encode(message: _84.QueryValidatorRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _84.QueryValidatorRequest; - fromPartial(object: { - validatorAddr?: string; - }): _84.QueryValidatorRequest; - }; - QueryValidatorResponse: { - encode(message: _84.QueryValidatorResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _84.QueryValidatorResponse; - fromPartial(object: { - validator?: { - operatorAddress?: string; - consensusPubkey?: { - typeUrl?: string; - value?: Uint8Array; - }; - jailed?: boolean; - status?: _85.BondStatus; - tokens?: string; - delegatorShares?: string; - description?: { - moniker?: string; - identity?: string; - website?: string; - securityContact?: string; - details?: string; - }; - unbondingHeight?: string | number | import("long").Long; - unbondingTime?: Date; - commission?: { - commissionRates?: { - rate?: string; - maxRate?: string; - maxChangeRate?: string; - }; - updateTime?: Date; - }; - minSelfDelegation?: string; - }; - }): _84.QueryValidatorResponse; - }; - QueryValidatorDelegationsRequest: { - encode(message: _84.QueryValidatorDelegationsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _84.QueryValidatorDelegationsRequest; - fromPartial(object: { - validatorAddr?: string; - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _84.QueryValidatorDelegationsRequest; - }; - QueryValidatorDelegationsResponse: { - encode(message: _84.QueryValidatorDelegationsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _84.QueryValidatorDelegationsResponse; - fromPartial(object: { - delegationResponses?: { - delegation?: { - delegatorAddress?: string; - validatorAddress?: string; - shares?: string; - }; - balance?: { - denom?: string; - amount?: string; - }; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _84.QueryValidatorDelegationsResponse; - }; - QueryValidatorUnbondingDelegationsRequest: { - encode(message: _84.QueryValidatorUnbondingDelegationsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _84.QueryValidatorUnbondingDelegationsRequest; - fromPartial(object: { - validatorAddr?: string; - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _84.QueryValidatorUnbondingDelegationsRequest; - }; - QueryValidatorUnbondingDelegationsResponse: { - encode(message: _84.QueryValidatorUnbondingDelegationsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _84.QueryValidatorUnbondingDelegationsResponse; - fromPartial(object: { - unbondingResponses?: { - delegatorAddress?: string; - validatorAddress?: string; - entries?: { - creationHeight?: string | number | import("long").Long; - completionTime?: Date; - initialBalance?: string; - balance?: string; - }[]; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _84.QueryValidatorUnbondingDelegationsResponse; - }; - QueryDelegationRequest: { - encode(message: _84.QueryDelegationRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _84.QueryDelegationRequest; - fromPartial(object: { - delegatorAddr?: string; - validatorAddr?: string; - }): _84.QueryDelegationRequest; - }; - QueryDelegationResponse: { - encode(message: _84.QueryDelegationResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _84.QueryDelegationResponse; - fromPartial(object: { - delegationResponse?: { - delegation?: { - delegatorAddress?: string; - validatorAddress?: string; - shares?: string; - }; - balance?: { - denom?: string; - amount?: string; - }; - }; - }): _84.QueryDelegationResponse; - }; - QueryUnbondingDelegationRequest: { - encode(message: _84.QueryUnbondingDelegationRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _84.QueryUnbondingDelegationRequest; - fromPartial(object: { - delegatorAddr?: string; - validatorAddr?: string; - }): _84.QueryUnbondingDelegationRequest; - }; - QueryUnbondingDelegationResponse: { - encode(message: _84.QueryUnbondingDelegationResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _84.QueryUnbondingDelegationResponse; - fromPartial(object: { - unbond?: { - delegatorAddress?: string; - validatorAddress?: string; - entries?: { - creationHeight?: string | number | import("long").Long; - completionTime?: Date; - initialBalance?: string; - balance?: string; - }[]; - }; - }): _84.QueryUnbondingDelegationResponse; - }; - QueryDelegatorDelegationsRequest: { - encode(message: _84.QueryDelegatorDelegationsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _84.QueryDelegatorDelegationsRequest; - fromPartial(object: { - delegatorAddr?: string; - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _84.QueryDelegatorDelegationsRequest; - }; - QueryDelegatorDelegationsResponse: { - encode(message: _84.QueryDelegatorDelegationsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _84.QueryDelegatorDelegationsResponse; - fromPartial(object: { - delegationResponses?: { - delegation?: { - delegatorAddress?: string; - validatorAddress?: string; - shares?: string; - }; - balance?: { - denom?: string; - amount?: string; - }; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _84.QueryDelegatorDelegationsResponse; - }; - QueryDelegatorUnbondingDelegationsRequest: { - encode(message: _84.QueryDelegatorUnbondingDelegationsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _84.QueryDelegatorUnbondingDelegationsRequest; - fromPartial(object: { - delegatorAddr?: string; - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _84.QueryDelegatorUnbondingDelegationsRequest; - }; - QueryDelegatorUnbondingDelegationsResponse: { - encode(message: _84.QueryDelegatorUnbondingDelegationsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _84.QueryDelegatorUnbondingDelegationsResponse; - fromPartial(object: { - unbondingResponses?: { - delegatorAddress?: string; - validatorAddress?: string; - entries?: { - creationHeight?: string | number | import("long").Long; - completionTime?: Date; - initialBalance?: string; - balance?: string; - }[]; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _84.QueryDelegatorUnbondingDelegationsResponse; - }; - QueryRedelegationsRequest: { - encode(message: _84.QueryRedelegationsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _84.QueryRedelegationsRequest; - fromPartial(object: { - delegatorAddr?: string; - srcValidatorAddr?: string; - dstValidatorAddr?: string; - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _84.QueryRedelegationsRequest; - }; - QueryRedelegationsResponse: { - encode(message: _84.QueryRedelegationsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _84.QueryRedelegationsResponse; - fromPartial(object: { - redelegationResponses?: { - redelegation?: { - delegatorAddress?: string; - validatorSrcAddress?: string; - validatorDstAddress?: string; - entries?: { - creationHeight?: string | number | import("long").Long; - completionTime?: Date; - initialBalance?: string; - sharesDst?: string; - }[]; - }; - entries?: { - redelegationEntry?: { - creationHeight?: string | number | import("long").Long; - completionTime?: Date; - initialBalance?: string; - sharesDst?: string; - }; - balance?: string; - }[]; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _84.QueryRedelegationsResponse; - }; - QueryDelegatorValidatorsRequest: { - encode(message: _84.QueryDelegatorValidatorsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _84.QueryDelegatorValidatorsRequest; - fromPartial(object: { - delegatorAddr?: string; - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _84.QueryDelegatorValidatorsRequest; - }; - QueryDelegatorValidatorsResponse: { - encode(message: _84.QueryDelegatorValidatorsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _84.QueryDelegatorValidatorsResponse; - fromPartial(object: { - validators?: { - operatorAddress?: string; - consensusPubkey?: { - typeUrl?: string; - value?: Uint8Array; - }; - jailed?: boolean; - status?: _85.BondStatus; - tokens?: string; - delegatorShares?: string; - description?: { - moniker?: string; - identity?: string; - website?: string; - securityContact?: string; - details?: string; - }; - unbondingHeight?: string | number | import("long").Long; - unbondingTime?: Date; - commission?: { - commissionRates?: { - rate?: string; - maxRate?: string; - maxChangeRate?: string; - }; - updateTime?: Date; - }; - minSelfDelegation?: string; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _84.QueryDelegatorValidatorsResponse; - }; - QueryDelegatorValidatorRequest: { - encode(message: _84.QueryDelegatorValidatorRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _84.QueryDelegatorValidatorRequest; - fromPartial(object: { - delegatorAddr?: string; - validatorAddr?: string; - }): _84.QueryDelegatorValidatorRequest; - }; - QueryDelegatorValidatorResponse: { - encode(message: _84.QueryDelegatorValidatorResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _84.QueryDelegatorValidatorResponse; - fromPartial(object: { - validator?: { - operatorAddress?: string; - consensusPubkey?: { - typeUrl?: string; - value?: Uint8Array; - }; - jailed?: boolean; - status?: _85.BondStatus; - tokens?: string; - delegatorShares?: string; - description?: { - moniker?: string; - identity?: string; - website?: string; - securityContact?: string; - details?: string; - }; - unbondingHeight?: string | number | import("long").Long; - unbondingTime?: Date; - commission?: { - commissionRates?: { - rate?: string; - maxRate?: string; - maxChangeRate?: string; - }; - updateTime?: Date; - }; - minSelfDelegation?: string; - }; - }): _84.QueryDelegatorValidatorResponse; - }; - QueryHistoricalInfoRequest: { - encode(message: _84.QueryHistoricalInfoRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _84.QueryHistoricalInfoRequest; - fromPartial(object: { - height?: string | number | import("long").Long; - }): _84.QueryHistoricalInfoRequest; - }; - QueryHistoricalInfoResponse: { - encode(message: _84.QueryHistoricalInfoResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _84.QueryHistoricalInfoResponse; - fromPartial(object: { - hist?: { - header?: { - version?: { - block?: string | number | import("long").Long; - app?: string | number | import("long").Long; - }; - chainId?: string; - height?: string | number | import("long").Long; - time?: Date; - lastBlockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - lastCommitHash?: Uint8Array; - dataHash?: Uint8Array; - validatorsHash?: Uint8Array; - nextValidatorsHash?: Uint8Array; - consensusHash?: Uint8Array; - appHash?: Uint8Array; - lastResultsHash?: Uint8Array; - evidenceHash?: Uint8Array; - proposerAddress?: Uint8Array; - }; - valset?: { - operatorAddress?: string; - consensusPubkey?: { - typeUrl?: string; - value?: Uint8Array; - }; - jailed?: boolean; - status?: _85.BondStatus; - tokens?: string; - delegatorShares?: string; - description?: { - moniker?: string; - identity?: string; - website?: string; - securityContact?: string; - details?: string; - }; - unbondingHeight?: string | number | import("long").Long; - unbondingTime?: Date; - commission?: { - commissionRates?: { - rate?: string; - maxRate?: string; - maxChangeRate?: string; - }; - updateTime?: Date; - }; - minSelfDelegation?: string; - }[]; - }; - }): _84.QueryHistoricalInfoResponse; - }; - QueryPoolRequest: { - encode(_: _84.QueryPoolRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _84.QueryPoolRequest; - fromPartial(_: {}): _84.QueryPoolRequest; - }; - QueryPoolResponse: { - encode(message: _84.QueryPoolResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _84.QueryPoolResponse; - fromPartial(object: { - pool?: { - notBondedTokens?: string; - bondedTokens?: string; - }; - }): _84.QueryPoolResponse; - }; - QueryParamsRequest: { - encode(_: _84.QueryParamsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _84.QueryParamsRequest; - fromPartial(_: {}): _84.QueryParamsRequest; - }; - QueryParamsResponse: { - encode(message: _84.QueryParamsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _84.QueryParamsResponse; - fromPartial(object: { - params?: { - unbondingTime?: { - seconds?: string | number | import("long").Long; - nanos?: number; - }; - maxValidators?: number; - maxEntries?: number; - historicalEntries?: number; - bondDenom?: string; - minCommissionRate?: string; - }; - }): _84.QueryParamsResponse; - }; - GenesisState: { - encode(message: _83.GenesisState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _83.GenesisState; - fromPartial(object: { - params?: { - unbondingTime?: { - seconds?: string | number | import("long").Long; - nanos?: number; - }; - maxValidators?: number; - maxEntries?: number; - historicalEntries?: number; - bondDenom?: string; - minCommissionRate?: string; - }; - lastTotalPower?: Uint8Array; - lastValidatorPowers?: { - address?: string; - power?: string | number | import("long").Long; - }[]; - validators?: { - operatorAddress?: string; - consensusPubkey?: { - typeUrl?: string; - value?: Uint8Array; - }; - jailed?: boolean; - status?: _85.BondStatus; - tokens?: string; - delegatorShares?: string; - description?: { - moniker?: string; - identity?: string; - website?: string; - securityContact?: string; - details?: string; - }; - unbondingHeight?: string | number | import("long").Long; - unbondingTime?: Date; - commission?: { - commissionRates?: { - rate?: string; - maxRate?: string; - maxChangeRate?: string; - }; - updateTime?: Date; - }; - minSelfDelegation?: string; - }[]; - delegations?: { - delegatorAddress?: string; - validatorAddress?: string; - shares?: string; - }[]; - unbondingDelegations?: { - delegatorAddress?: string; - validatorAddress?: string; - entries?: { - creationHeight?: string | number | import("long").Long; - completionTime?: Date; - initialBalance?: string; - balance?: string; - }[]; - }[]; - redelegations?: { - delegatorAddress?: string; - validatorSrcAddress?: string; - validatorDstAddress?: string; - entries?: { - creationHeight?: string | number | import("long").Long; - completionTime?: Date; - initialBalance?: string; - sharesDst?: string; - }[]; - }[]; - exported?: boolean; - }): _83.GenesisState; - }; - LastValidatorPower: { - encode(message: _83.LastValidatorPower, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _83.LastValidatorPower; - fromPartial(object: { - address?: string; - power?: string | number | import("long").Long; - }): _83.LastValidatorPower; - }; - authorizationTypeFromJSON(object: any): _82.AuthorizationType; - authorizationTypeToJSON(object: _82.AuthorizationType): string; - AuthorizationType: typeof _82.AuthorizationType; - AuthorizationTypeSDKType: typeof _82.AuthorizationType; - StakeAuthorization: { - encode(message: _82.StakeAuthorization, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _82.StakeAuthorization; - fromPartial(object: { - maxTokens?: { - denom?: string; - amount?: string; - }; - allowList?: { - address?: string[]; - }; - denyList?: { - address?: string[]; - }; - authorizationType?: _82.AuthorizationType; - }): _82.StakeAuthorization; - }; - StakeAuthorization_Validators: { - encode(message: _82.StakeAuthorization_Validators, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _82.StakeAuthorization_Validators; - fromPartial(object: { - address?: string[]; - }): _82.StakeAuthorization_Validators; - }; - }; - } - namespace tx { - namespace signing { - const v1beta1: { - signModeFromJSON(object: any): _87.SignMode; - signModeToJSON(object: _87.SignMode): string; - SignMode: typeof _87.SignMode; - SignModeSDKType: typeof _87.SignMode; - SignatureDescriptors: { - encode(message: _87.SignatureDescriptors, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _87.SignatureDescriptors; - fromPartial(object: { - signatures?: { - publicKey?: { - typeUrl?: string; - value?: Uint8Array; - }; - data?: { - single?: { - mode?: _87.SignMode; - signature?: Uint8Array; - }; - multi?: { - bitarray?: { - extraBitsStored?: number; - elems?: Uint8Array; - }; - signatures?: any[]; - }; - }; - sequence?: string | number | import("long").Long; - }[]; - }): _87.SignatureDescriptors; - }; - SignatureDescriptor: { - encode(message: _87.SignatureDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _87.SignatureDescriptor; - fromPartial(object: { - publicKey?: { - typeUrl?: string; - value?: Uint8Array; - }; - data?: { - single?: { - mode?: _87.SignMode; - signature?: Uint8Array; - }; - multi?: { - bitarray?: { - extraBitsStored?: number; - elems?: Uint8Array; - }; - signatures?: any[]; - }; - }; - sequence?: string | number | import("long").Long; - }): _87.SignatureDescriptor; - }; - SignatureDescriptor_Data: { - encode(message: _87.SignatureDescriptor_Data, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _87.SignatureDescriptor_Data; - fromPartial(object: { - single?: { - mode?: _87.SignMode; - signature?: Uint8Array; - }; - multi?: { - bitarray?: { - extraBitsStored?: number; - elems?: Uint8Array; - }; - signatures?: any[]; - }; - }): _87.SignatureDescriptor_Data; - }; - SignatureDescriptor_Data_Single: { - encode(message: _87.SignatureDescriptor_Data_Single, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _87.SignatureDescriptor_Data_Single; - fromPartial(object: { - mode?: _87.SignMode; - signature?: Uint8Array; - }): _87.SignatureDescriptor_Data_Single; - }; - SignatureDescriptor_Data_Multi: { - encode(message: _87.SignatureDescriptor_Data_Multi, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _87.SignatureDescriptor_Data_Multi; - fromPartial(object: { - bitarray?: { - extraBitsStored?: number; - elems?: Uint8Array; - }; - signatures?: any[]; - }): _87.SignatureDescriptor_Data_Multi; - }; - }; - } - const v1beta1: { - ServiceClientImpl: typeof _178.ServiceClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - simulate(request: _88.SimulateRequest): Promise<_88.SimulateResponse>; - getTx(request: _88.GetTxRequest): Promise<_88.GetTxResponse>; - broadcastTx(request: _88.BroadcastTxRequest): Promise<_88.BroadcastTxResponse>; - getTxsEvent(request: _88.GetTxsEventRequest): Promise<_88.GetTxsEventResponse>; - getBlockWithTxs(request: _88.GetBlockWithTxsRequest): Promise<_88.GetBlockWithTxsResponse>; - }; - LCDQueryClient: typeof _160.LCDQueryClient; - Tx: { - encode(message: _89.Tx, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _89.Tx; - fromPartial(object: { - body?: { - messages?: { - typeUrl?: string; - value?: Uint8Array; - }[]; - memo?: string; - timeoutHeight?: string | number | import("long").Long; - extensionOptions?: { - typeUrl?: string; - value?: Uint8Array; - }[]; - nonCriticalExtensionOptions?: { - typeUrl?: string; - value?: Uint8Array; - }[]; - }; - authInfo?: { - signerInfos?: { - publicKey?: { - typeUrl?: string; - value?: Uint8Array; - }; - modeInfo?: { - single?: { - mode?: _87.SignMode; - }; - multi?: { - bitarray?: { - extraBitsStored?: number; - elems?: Uint8Array; - }; - modeInfos?: any[]; - }; - }; - sequence?: string | number | import("long").Long; - }[]; - fee?: { - amount?: { - denom?: string; - amount?: string; - }[]; - gasLimit?: string | number | import("long").Long; - payer?: string; - granter?: string; - }; - tip?: { - amount?: { - denom?: string; - amount?: string; - }[]; - tipper?: string; - }; - }; - signatures?: Uint8Array[]; - }): _89.Tx; - }; - TxRaw: { - encode(message: _89.TxRaw, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _89.TxRaw; - fromPartial(object: { - bodyBytes?: Uint8Array; - authInfoBytes?: Uint8Array; - signatures?: Uint8Array[]; - }): _89.TxRaw; - }; - SignDoc: { - encode(message: _89.SignDoc, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _89.SignDoc; - fromPartial(object: { - bodyBytes?: Uint8Array; - authInfoBytes?: Uint8Array; - chainId?: string; - accountNumber?: string | number | import("long").Long; - }): _89.SignDoc; - }; - SignDocDirectAux: { - encode(message: _89.SignDocDirectAux, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _89.SignDocDirectAux; - fromPartial(object: { - bodyBytes?: Uint8Array; - publicKey?: { - typeUrl?: string; - value?: Uint8Array; - }; - chainId?: string; - accountNumber?: string | number | import("long").Long; - sequence?: string | number | import("long").Long; - tip?: { - amount?: { - denom?: string; - amount?: string; - }[]; - tipper?: string; - }; - }): _89.SignDocDirectAux; - }; - TxBody: { - encode(message: _89.TxBody, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _89.TxBody; - fromPartial(object: { - messages?: { - typeUrl?: string; - value?: Uint8Array; - }[]; - memo?: string; - timeoutHeight?: string | number | import("long").Long; - extensionOptions?: { - typeUrl?: string; - value?: Uint8Array; - }[]; - nonCriticalExtensionOptions?: { - typeUrl?: string; - value?: Uint8Array; - }[]; - }): _89.TxBody; - }; - AuthInfo: { - encode(message: _89.AuthInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _89.AuthInfo; - fromPartial(object: { - signerInfos?: { - publicKey?: { - typeUrl?: string; - value?: Uint8Array; - }; - modeInfo?: { - single?: { - mode?: _87.SignMode; - }; - multi?: { - bitarray?: { - extraBitsStored?: number; - elems?: Uint8Array; - }; - modeInfos?: any[]; - }; - }; - sequence?: string | number | import("long").Long; - }[]; - fee?: { - amount?: { - denom?: string; - amount?: string; - }[]; - gasLimit?: string | number | import("long").Long; - payer?: string; - granter?: string; - }; - tip?: { - amount?: { - denom?: string; - amount?: string; - }[]; - tipper?: string; - }; - }): _89.AuthInfo; - }; - SignerInfo: { - encode(message: _89.SignerInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _89.SignerInfo; - fromPartial(object: { - publicKey?: { - typeUrl?: string; - value?: Uint8Array; - }; - modeInfo?: { - single?: { - mode?: _87.SignMode; - }; - multi?: { - bitarray?: { - extraBitsStored?: number; - elems?: Uint8Array; - }; - modeInfos?: any[]; - }; - }; - sequence?: string | number | import("long").Long; - }): _89.SignerInfo; - }; - ModeInfo: { - encode(message: _89.ModeInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _89.ModeInfo; - fromPartial(object: { - single?: { - mode?: _87.SignMode; - }; - multi?: { - bitarray?: { - extraBitsStored?: number; - elems?: Uint8Array; - }; - modeInfos?: any[]; - }; - }): _89.ModeInfo; - }; - ModeInfo_Single: { - encode(message: _89.ModeInfo_Single, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _89.ModeInfo_Single; - fromPartial(object: { - mode?: _87.SignMode; - }): _89.ModeInfo_Single; - }; - ModeInfo_Multi: { - encode(message: _89.ModeInfo_Multi, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _89.ModeInfo_Multi; - fromPartial(object: { - bitarray?: { - extraBitsStored?: number; - elems?: Uint8Array; - }; - modeInfos?: any[]; - }): _89.ModeInfo_Multi; - }; - Fee: { - encode(message: _89.Fee, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _89.Fee; - fromPartial(object: { - amount?: { - denom?: string; - amount?: string; - }[]; - gasLimit?: string | number | import("long").Long; - payer?: string; - granter?: string; - }): _89.Fee; - }; - Tip: { - encode(message: _89.Tip, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _89.Tip; - fromPartial(object: { - amount?: { - denom?: string; - amount?: string; - }[]; - tipper?: string; - }): _89.Tip; - }; - AuxSignerData: { - encode(message: _89.AuxSignerData, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _89.AuxSignerData; - fromPartial(object: { - address?: string; - signDoc?: { - bodyBytes?: Uint8Array; - publicKey?: { - typeUrl?: string; - value?: Uint8Array; - }; - chainId?: string; - accountNumber?: string | number | import("long").Long; - sequence?: string | number | import("long").Long; - tip?: { - amount?: { - denom?: string; - amount?: string; - }[]; - tipper?: string; - }; - }; - mode?: _87.SignMode; - sig?: Uint8Array; - }): _89.AuxSignerData; - }; - orderByFromJSON(object: any): _88.OrderBy; - orderByToJSON(object: _88.OrderBy): string; - broadcastModeFromJSON(object: any): _88.BroadcastMode; - broadcastModeToJSON(object: _88.BroadcastMode): string; - OrderBy: typeof _88.OrderBy; - OrderBySDKType: typeof _88.OrderBy; - BroadcastMode: typeof _88.BroadcastMode; - BroadcastModeSDKType: typeof _88.BroadcastMode; - GetTxsEventRequest: { - encode(message: _88.GetTxsEventRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _88.GetTxsEventRequest; - fromPartial(object: { - events?: string[]; - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - orderBy?: _88.OrderBy; - }): _88.GetTxsEventRequest; - }; - GetTxsEventResponse: { - encode(message: _88.GetTxsEventResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _88.GetTxsEventResponse; - fromPartial(object: { - txs?: { - body?: { - messages?: { - typeUrl?: string; - value?: Uint8Array; - }[]; - memo?: string; - timeoutHeight?: string | number | import("long").Long; - extensionOptions?: { - typeUrl?: string; - value?: Uint8Array; - }[]; - nonCriticalExtensionOptions?: { - typeUrl?: string; - value?: Uint8Array; - }[]; - }; - authInfo?: { - signerInfos?: { - publicKey?: { - typeUrl?: string; - value?: Uint8Array; - }; - modeInfo?: { - single?: { - mode?: _87.SignMode; - }; - multi?: { - bitarray?: { - extraBitsStored?: number; - elems?: Uint8Array; - }; - modeInfos?: any[]; - }; - }; - sequence?: string | number | import("long").Long; - }[]; - fee?: { - amount?: { - denom?: string; - amount?: string; - }[]; - gasLimit?: string | number | import("long").Long; - payer?: string; - granter?: string; - }; - tip?: { - amount?: { - denom?: string; - amount?: string; - }[]; - tipper?: string; - }; - }; - signatures?: Uint8Array[]; - }[]; - txResponses?: { - height?: string | number | import("long").Long; - txhash?: string; - codespace?: string; - code?: number; - data?: string; - rawLog?: string; - logs?: { - msgIndex?: number; - log?: string; - events?: { - type?: string; - attributes?: { - key?: string; - value?: string; - }[]; - }[]; - }[]; - info?: string; - gasWanted?: string | number | import("long").Long; - gasUsed?: string | number | import("long").Long; - tx?: { - typeUrl?: string; - value?: Uint8Array; - }; - timestamp?: string; - events?: { - type?: string; - attributes?: { - key?: Uint8Array; - value?: Uint8Array; - index?: boolean; - }[]; - }[]; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _88.GetTxsEventResponse; - }; - BroadcastTxRequest: { - encode(message: _88.BroadcastTxRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _88.BroadcastTxRequest; - fromPartial(object: { - txBytes?: Uint8Array; - mode?: _88.BroadcastMode; - }): _88.BroadcastTxRequest; - }; - BroadcastTxResponse: { - encode(message: _88.BroadcastTxResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _88.BroadcastTxResponse; - fromPartial(object: { - txResponse?: { - height?: string | number | import("long").Long; - txhash?: string; - codespace?: string; - code?: number; - data?: string; - rawLog?: string; - logs?: { - msgIndex?: number; - log?: string; - events?: { - type?: string; - attributes?: { - key?: string; - value?: string; - }[]; - }[]; - }[]; - info?: string; - gasWanted?: string | number | import("long").Long; - gasUsed?: string | number | import("long").Long; - tx?: { - typeUrl?: string; - value?: Uint8Array; - }; - timestamp?: string; - events?: { - type?: string; - attributes?: { - key?: Uint8Array; - value?: Uint8Array; - index?: boolean; - }[]; - }[]; - }; - }): _88.BroadcastTxResponse; - }; - SimulateRequest: { - encode(message: _88.SimulateRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _88.SimulateRequest; - fromPartial(object: { - tx?: { - body?: { - messages?: { - typeUrl?: string; - value?: Uint8Array; - }[]; - memo?: string; - timeoutHeight?: string | number | import("long").Long; - extensionOptions?: { - typeUrl?: string; - value?: Uint8Array; - }[]; - nonCriticalExtensionOptions?: { - typeUrl?: string; - value?: Uint8Array; - }[]; - }; - authInfo?: { - signerInfos?: { - publicKey?: { - typeUrl?: string; - value?: Uint8Array; - }; - modeInfo?: { - single?: { - mode?: _87.SignMode; - }; - multi?: { - bitarray?: { - extraBitsStored?: number; - elems?: Uint8Array; - }; - modeInfos?: any[]; - }; - }; - sequence?: string | number | import("long").Long; - }[]; - fee?: { - amount?: { - denom?: string; - amount?: string; - }[]; - gasLimit?: string | number | import("long").Long; - payer?: string; - granter?: string; - }; - tip?: { - amount?: { - denom?: string; - amount?: string; - }[]; - tipper?: string; - }; - }; - signatures?: Uint8Array[]; - }; - txBytes?: Uint8Array; - }): _88.SimulateRequest; - }; - SimulateResponse: { - encode(message: _88.SimulateResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _88.SimulateResponse; - fromPartial(object: { - gasInfo?: { - gasWanted?: string | number | import("long").Long; - gasUsed?: string | number | import("long").Long; - }; - result?: { - data?: Uint8Array; - log?: string; - events?: { - type?: string; - attributes?: { - key?: Uint8Array; - value?: Uint8Array; - index?: boolean; - }[]; - }[]; - msgResponses?: { - typeUrl?: string; - value?: Uint8Array; - }[]; - }; - }): _88.SimulateResponse; - }; - GetTxRequest: { - encode(message: _88.GetTxRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _88.GetTxRequest; - fromPartial(object: { - hash?: string; - }): _88.GetTxRequest; - }; - GetTxResponse: { - encode(message: _88.GetTxResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _88.GetTxResponse; - fromPartial(object: { - tx?: { - body?: { - messages?: { - typeUrl?: string; - value?: Uint8Array; - }[]; - memo?: string; - timeoutHeight?: string | number | import("long").Long; - extensionOptions?: { - typeUrl?: string; - value?: Uint8Array; - }[]; - nonCriticalExtensionOptions?: { - typeUrl?: string; - value?: Uint8Array; - }[]; - }; - authInfo?: { - signerInfos?: { - publicKey?: { - typeUrl?: string; - value?: Uint8Array; - }; - modeInfo?: { - single?: { - mode?: _87.SignMode; - }; - multi?: { - bitarray?: { - extraBitsStored?: number; - elems?: Uint8Array; - }; - modeInfos?: any[]; - }; - }; - sequence?: string | number | import("long").Long; - }[]; - fee?: { - amount?: { - denom?: string; - amount?: string; - }[]; - gasLimit?: string | number | import("long").Long; - payer?: string; - granter?: string; - }; - tip?: { - amount?: { - denom?: string; - amount?: string; - }[]; - tipper?: string; - }; - }; - signatures?: Uint8Array[]; - }; - txResponse?: { - height?: string | number | import("long").Long; - txhash?: string; - codespace?: string; - code?: number; - data?: string; - rawLog?: string; - logs?: { - msgIndex?: number; - log?: string; - events?: { - type?: string; - attributes?: { - key?: string; - value?: string; - }[]; - }[]; - }[]; - info?: string; - gasWanted?: string | number | import("long").Long; - gasUsed?: string | number | import("long").Long; - tx?: { - typeUrl?: string; - value?: Uint8Array; - }; - timestamp?: string; - events?: { - type?: string; - attributes?: { - key?: Uint8Array; - value?: Uint8Array; - index?: boolean; - }[]; - }[]; - }; - }): _88.GetTxResponse; - }; - GetBlockWithTxsRequest: { - encode(message: _88.GetBlockWithTxsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _88.GetBlockWithTxsRequest; - fromPartial(object: { - height?: string | number | import("long").Long; - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _88.GetBlockWithTxsRequest; - }; - GetBlockWithTxsResponse: { - encode(message: _88.GetBlockWithTxsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _88.GetBlockWithTxsResponse; - fromPartial(object: { - txs?: { - body?: { - messages?: { - typeUrl?: string; - value?: Uint8Array; - }[]; - memo?: string; - timeoutHeight?: string | number | import("long").Long; - extensionOptions?: { - typeUrl?: string; - value?: Uint8Array; - }[]; - nonCriticalExtensionOptions?: { - typeUrl?: string; - value?: Uint8Array; - }[]; - }; - authInfo?: { - signerInfos?: { - publicKey?: { - typeUrl?: string; - value?: Uint8Array; - }; - modeInfo?: { - single?: { - mode?: _87.SignMode; - }; - multi?: { - bitarray?: { - extraBitsStored?: number; - elems?: Uint8Array; - }; - modeInfos?: any[]; - }; - }; - sequence?: string | number | import("long").Long; - }[]; - fee?: { - amount?: { - denom?: string; - amount?: string; - }[]; - gasLimit?: string | number | import("long").Long; - payer?: string; - granter?: string; - }; - tip?: { - amount?: { - denom?: string; - amount?: string; - }[]; - tipper?: string; - }; - }; - signatures?: Uint8Array[]; - }[]; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - block?: { - header?: { - version?: { - block?: string | number | import("long").Long; - app?: string | number | import("long").Long; - }; - chainId?: string; - height?: string | number | import("long").Long; - time?: Date; - lastBlockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - lastCommitHash?: Uint8Array; - dataHash?: Uint8Array; - validatorsHash?: Uint8Array; - nextValidatorsHash?: Uint8Array; - consensusHash?: Uint8Array; - appHash?: Uint8Array; - lastResultsHash?: Uint8Array; - evidenceHash?: Uint8Array; - proposerAddress?: Uint8Array; - }; - data?: { - txs?: Uint8Array[]; - }; - evidence?: { - evidence?: { - duplicateVoteEvidence?: { - voteA?: { - type?: import("../tendermint/types/types").SignedMsgType; - height?: string | number | import("long").Long; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - timestamp?: Date; - validatorAddress?: Uint8Array; - validatorIndex?: number; - signature?: Uint8Array; - }; - voteB?: { - type?: import("../tendermint/types/types").SignedMsgType; - height?: string | number | import("long").Long; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - timestamp?: Date; - validatorAddress?: Uint8Array; - validatorIndex?: number; - signature?: Uint8Array; - }; - totalVotingPower?: string | number | import("long").Long; - validatorPower?: string | number | import("long").Long; - timestamp?: Date; - }; - lightClientAttackEvidence?: { - conflictingBlock?: { - signedHeader?: { - header?: { - version?: { - block?: string | number | import("long").Long; - app?: string | number | import("long").Long; - }; - chainId?: string; - height?: string | number | import("long").Long; - time?: Date; - lastBlockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - lastCommitHash?: Uint8Array; - dataHash?: Uint8Array; - validatorsHash?: Uint8Array; - nextValidatorsHash?: Uint8Array; - consensusHash?: Uint8Array; - appHash?: Uint8Array; - lastResultsHash?: Uint8Array; - evidenceHash?: Uint8Array; - proposerAddress?: Uint8Array; - }; - commit?: { - height?: string | number | import("long").Long; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - signatures?: { - blockIdFlag?: import("../tendermint/types/types").BlockIDFlag; - validatorAddress?: Uint8Array; - timestamp?: Date; - signature?: Uint8Array; - }[]; - }; - }; - validatorSet?: { - validators?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: string | number | import("long").Long; - proposerPriority?: string | number | import("long").Long; - }[]; - proposer?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: string | number | import("long").Long; - proposerPriority?: string | number | import("long").Long; - }; - totalVotingPower?: string | number | import("long").Long; - }; - }; - commonHeight?: string | number | import("long").Long; - byzantineValidators?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: string | number | import("long").Long; - proposerPriority?: string | number | import("long").Long; - }[]; - totalVotingPower?: string | number | import("long").Long; - timestamp?: Date; - }; - }[]; - }; - lastCommit?: { - height?: string | number | import("long").Long; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - signatures?: { - blockIdFlag?: import("../tendermint/types/types").BlockIDFlag; - validatorAddress?: Uint8Array; - timestamp?: Date; - signature?: Uint8Array; - }[]; - }; - }; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _88.GetBlockWithTxsResponse; - }; - }; - } - namespace upgrade { - const v1beta1: { - MsgClientImpl: typeof _192.MsgClientImpl; - QueryClientImpl: typeof _179.QueryClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - currentPlan(request?: _90.QueryCurrentPlanRequest): Promise<_90.QueryCurrentPlanResponse>; - appliedPlan(request: _90.QueryAppliedPlanRequest): Promise<_90.QueryAppliedPlanResponse>; - upgradedConsensusState(request: _90.QueryUpgradedConsensusStateRequest): Promise<_90.QueryUpgradedConsensusStateResponse>; - moduleVersions(request: _90.QueryModuleVersionsRequest): Promise<_90.QueryModuleVersionsResponse>; - authority(request?: _90.QueryAuthorityRequest): Promise<_90.QueryAuthorityResponse>; - }; - LCDQueryClient: typeof _161.LCDQueryClient; - Plan: { - encode(message: _92.Plan, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _92.Plan; - fromPartial(object: { - name?: string; - time?: Date; - height?: string | number | import("long").Long; - info?: string; - upgradedClientState?: { - typeUrl?: string; - value?: Uint8Array; - }; - }): _92.Plan; - }; - SoftwareUpgradeProposal: { - encode(message: _92.SoftwareUpgradeProposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _92.SoftwareUpgradeProposal; - fromPartial(object: { - title?: string; - description?: string; - plan?: { - name?: string; - time?: Date; - height?: string | number | import("long").Long; - info?: string; - upgradedClientState?: { - typeUrl?: string; - value?: Uint8Array; - }; - }; - }): _92.SoftwareUpgradeProposal; - }; - CancelSoftwareUpgradeProposal: { - encode(message: _92.CancelSoftwareUpgradeProposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _92.CancelSoftwareUpgradeProposal; - fromPartial(object: { - title?: string; - description?: string; - }): _92.CancelSoftwareUpgradeProposal; - }; - ModuleVersion: { - encode(message: _92.ModuleVersion, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _92.ModuleVersion; - fromPartial(object: { - name?: string; - version?: string | number | import("long").Long; - }): _92.ModuleVersion; - }; - MsgSoftwareUpgrade: { - encode(message: _91.MsgSoftwareUpgrade, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _91.MsgSoftwareUpgrade; - fromPartial(object: { - authority?: string; - plan?: { - name?: string; - time?: Date; - height?: string | number | import("long").Long; - info?: string; - upgradedClientState?: { - typeUrl?: string; - value?: Uint8Array; - }; - }; - }): _91.MsgSoftwareUpgrade; - }; - MsgSoftwareUpgradeResponse: { - encode(_: _91.MsgSoftwareUpgradeResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _91.MsgSoftwareUpgradeResponse; - fromPartial(_: {}): _91.MsgSoftwareUpgradeResponse; - }; - MsgCancelUpgrade: { - encode(message: _91.MsgCancelUpgrade, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _91.MsgCancelUpgrade; - fromPartial(object: { - authority?: string; - }): _91.MsgCancelUpgrade; - }; - MsgCancelUpgradeResponse: { - encode(_: _91.MsgCancelUpgradeResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _91.MsgCancelUpgradeResponse; - fromPartial(_: {}): _91.MsgCancelUpgradeResponse; - }; - QueryCurrentPlanRequest: { - encode(_: _90.QueryCurrentPlanRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _90.QueryCurrentPlanRequest; - fromPartial(_: {}): _90.QueryCurrentPlanRequest; - }; - QueryCurrentPlanResponse: { - encode(message: _90.QueryCurrentPlanResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _90.QueryCurrentPlanResponse; - fromPartial(object: { - plan?: { - name?: string; - time?: Date; - height?: string | number | import("long").Long; - info?: string; - upgradedClientState?: { - typeUrl?: string; - value?: Uint8Array; - }; - }; - }): _90.QueryCurrentPlanResponse; - }; - QueryAppliedPlanRequest: { - encode(message: _90.QueryAppliedPlanRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _90.QueryAppliedPlanRequest; - fromPartial(object: { - name?: string; - }): _90.QueryAppliedPlanRequest; - }; - QueryAppliedPlanResponse: { - encode(message: _90.QueryAppliedPlanResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _90.QueryAppliedPlanResponse; - fromPartial(object: { - height?: string | number | import("long").Long; - }): _90.QueryAppliedPlanResponse; - }; - QueryUpgradedConsensusStateRequest: { - encode(message: _90.QueryUpgradedConsensusStateRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _90.QueryUpgradedConsensusStateRequest; - fromPartial(object: { - lastHeight?: string | number | import("long").Long; - }): _90.QueryUpgradedConsensusStateRequest; - }; - QueryUpgradedConsensusStateResponse: { - encode(message: _90.QueryUpgradedConsensusStateResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _90.QueryUpgradedConsensusStateResponse; - fromPartial(object: { - upgradedConsensusState?: Uint8Array; - }): _90.QueryUpgradedConsensusStateResponse; - }; - QueryModuleVersionsRequest: { - encode(message: _90.QueryModuleVersionsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _90.QueryModuleVersionsRequest; - fromPartial(object: { - moduleName?: string; - }): _90.QueryModuleVersionsRequest; - }; - QueryModuleVersionsResponse: { - encode(message: _90.QueryModuleVersionsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _90.QueryModuleVersionsResponse; - fromPartial(object: { - moduleVersions?: { - name?: string; - version?: string | number | import("long").Long; - }[]; - }): _90.QueryModuleVersionsResponse; - }; - QueryAuthorityRequest: { - encode(_: _90.QueryAuthorityRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _90.QueryAuthorityRequest; - fromPartial(_: {}): _90.QueryAuthorityRequest; - }; - QueryAuthorityResponse: { - encode(message: _90.QueryAuthorityResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _90.QueryAuthorityResponse; - fromPartial(object: { - address?: string; - }): _90.QueryAuthorityResponse; - }; - }; - } - namespace vesting { - const v1beta1: { - MsgClientImpl: typeof _193.MsgClientImpl; - BaseVestingAccount: { - encode(message: _94.BaseVestingAccount, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _94.BaseVestingAccount; - fromPartial(object: { - baseAccount?: { - address?: string; - pubKey?: { - typeUrl?: string; - value?: Uint8Array; - }; - accountNumber?: string | number | import("long").Long; - sequence?: string | number | import("long").Long; - }; - originalVesting?: { - denom?: string; - amount?: string; - }[]; - delegatedFree?: { - denom?: string; - amount?: string; - }[]; - delegatedVesting?: { - denom?: string; - amount?: string; - }[]; - endTime?: string | number | import("long").Long; - }): _94.BaseVestingAccount; - }; - ContinuousVestingAccount: { - encode(message: _94.ContinuousVestingAccount, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _94.ContinuousVestingAccount; - fromPartial(object: { - baseVestingAccount?: { - baseAccount?: { - address?: string; - pubKey?: { - typeUrl?: string; - value?: Uint8Array; - }; - accountNumber?: string | number | import("long").Long; - sequence?: string | number | import("long").Long; - }; - originalVesting?: { - denom?: string; - amount?: string; - }[]; - delegatedFree?: { - denom?: string; - amount?: string; - }[]; - delegatedVesting?: { - denom?: string; - amount?: string; - }[]; - endTime?: string | number | import("long").Long; - }; - startTime?: string | number | import("long").Long; - }): _94.ContinuousVestingAccount; - }; - DelayedVestingAccount: { - encode(message: _94.DelayedVestingAccount, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _94.DelayedVestingAccount; - fromPartial(object: { - baseVestingAccount?: { - baseAccount?: { - address?: string; - pubKey?: { - typeUrl?: string; - value?: Uint8Array; - }; - accountNumber?: string | number | import("long").Long; - sequence?: string | number | import("long").Long; - }; - originalVesting?: { - denom?: string; - amount?: string; - }[]; - delegatedFree?: { - denom?: string; - amount?: string; - }[]; - delegatedVesting?: { - denom?: string; - amount?: string; - }[]; - endTime?: string | number | import("long").Long; - }; - }): _94.DelayedVestingAccount; - }; - Period: { - encode(message: _94.Period, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _94.Period; - fromPartial(object: { - length?: string | number | import("long").Long; - amount?: { - denom?: string; - amount?: string; - }[]; - }): _94.Period; - }; - PeriodicVestingAccount: { - encode(message: _94.PeriodicVestingAccount, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _94.PeriodicVestingAccount; - fromPartial(object: { - baseVestingAccount?: { - baseAccount?: { - address?: string; - pubKey?: { - typeUrl?: string; - value?: Uint8Array; - }; - accountNumber?: string | number | import("long").Long; - sequence?: string | number | import("long").Long; - }; - originalVesting?: { - denom?: string; - amount?: string; - }[]; - delegatedFree?: { - denom?: string; - amount?: string; - }[]; - delegatedVesting?: { - denom?: string; - amount?: string; - }[]; - endTime?: string | number | import("long").Long; - }; - startTime?: string | number | import("long").Long; - vestingPeriods?: { - length?: string | number | import("long").Long; - amount?: { - denom?: string; - amount?: string; - }[]; - }[]; - }): _94.PeriodicVestingAccount; - }; - PermanentLockedAccount: { - encode(message: _94.PermanentLockedAccount, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _94.PermanentLockedAccount; - fromPartial(object: { - baseVestingAccount?: { - baseAccount?: { - address?: string; - pubKey?: { - typeUrl?: string; - value?: Uint8Array; - }; - accountNumber?: string | number | import("long").Long; - sequence?: string | number | import("long").Long; - }; - originalVesting?: { - denom?: string; - amount?: string; - }[]; - delegatedFree?: { - denom?: string; - amount?: string; - }[]; - delegatedVesting?: { - denom?: string; - amount?: string; - }[]; - endTime?: string | number | import("long").Long; - }; - }): _94.PermanentLockedAccount; - }; - MsgCreateVestingAccount: { - encode(message: _93.MsgCreateVestingAccount, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _93.MsgCreateVestingAccount; - fromPartial(object: { - fromAddress?: string; - toAddress?: string; - amount?: { - denom?: string; - amount?: string; - }[]; - endTime?: string | number | import("long").Long; - delayed?: boolean; - }): _93.MsgCreateVestingAccount; - }; - MsgCreateVestingAccountResponse: { - encode(_: _93.MsgCreateVestingAccountResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _93.MsgCreateVestingAccountResponse; - fromPartial(_: {}): _93.MsgCreateVestingAccountResponse; - }; - MsgCreatePermanentLockedAccount: { - encode(message: _93.MsgCreatePermanentLockedAccount, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _93.MsgCreatePermanentLockedAccount; - fromPartial(object: { - fromAddress?: string; - toAddress?: string; - amount?: { - denom?: string; - amount?: string; - }[]; - }): _93.MsgCreatePermanentLockedAccount; - }; - MsgCreatePermanentLockedAccountResponse: { - encode(_: _93.MsgCreatePermanentLockedAccountResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _93.MsgCreatePermanentLockedAccountResponse; - fromPartial(_: {}): _93.MsgCreatePermanentLockedAccountResponse; - }; - MsgCreatePeriodicVestingAccount: { - encode(message: _93.MsgCreatePeriodicVestingAccount, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _93.MsgCreatePeriodicVestingAccount; - fromPartial(object: { - fromAddress?: string; - toAddress?: string; - startTime?: string | number | import("long").Long; - vestingPeriods?: { - length?: string | number | import("long").Long; - amount?: { - denom?: string; - amount?: string; - }[]; - }[]; - }): _93.MsgCreatePeriodicVestingAccount; - }; - MsgCreatePeriodicVestingAccountResponse: { - encode(_: _93.MsgCreatePeriodicVestingAccountResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _93.MsgCreatePeriodicVestingAccountResponse; - fromPartial(_: {}): _93.MsgCreatePeriodicVestingAccountResponse; - }; - }; - } - const ClientFactory: { - createRPCMsgClient: ({ rpc }: { - rpc: import("../helpers").Rpc; - }) => Promise<{ - cosmos: { - authz: { - v1beta1: _180.MsgClientImpl; - }; - bank: { - v1beta1: _181.MsgClientImpl; - }; - crisis: { - v1beta1: _182.MsgClientImpl; - }; - distribution: { - v1beta1: _183.MsgClientImpl; - }; - evidence: { - v1beta1: _184.MsgClientImpl; - }; - feegrant: { - v1beta1: _185.MsgClientImpl; - }; - gov: { - v1: _186.MsgClientImpl; - v1beta1: _187.MsgClientImpl; - }; - group: { - v1: _188.MsgClientImpl; - }; - nft: { - v1beta1: _189.MsgClientImpl; - }; - slashing: { - v1beta1: _190.MsgClientImpl; - }; - staking: { - v1beta1: _191.MsgClientImpl; - }; - upgrade: { - v1beta1: _192.MsgClientImpl; - }; - vesting: { - v1beta1: _193.MsgClientImpl; - }; - }; - }>; - createRPCQueryClient: ({ rpcEndpoint }: { - rpcEndpoint: string | import("@cosmjs/tendermint-rpc").HttpEndpoint; - }) => Promise<{ - cosmos: { - app: { - v1alpha1: { - config(request?: _5.QueryConfigRequest): Promise<_5.QueryConfigResponse>; - }; - }; - auth: { - v1beta1: { - accounts(request?: _8.QueryAccountsRequest): Promise<_8.QueryAccountsResponse>; - account(request: _8.QueryAccountRequest): Promise<_8.QueryAccountResponse>; - params(request?: _8.QueryParamsRequest): Promise<_8.QueryParamsResponse>; - moduleAccounts(request?: _8.QueryModuleAccountsRequest): Promise<_8.QueryModuleAccountsResponse>; - bech32Prefix(request?: _8.Bech32PrefixRequest): Promise<_8.Bech32PrefixResponse>; - addressBytesToString(request: _8.AddressBytesToStringRequest): Promise<_8.AddressBytesToStringResponse>; - addressStringToBytes(request: _8.AddressStringToBytesRequest): Promise<_8.AddressStringToBytesResponse>; - }; - }; - authz: { - v1beta1: { - grants(request: _12.QueryGrantsRequest): Promise<_12.QueryGrantsResponse>; - granterGrants(request: _12.QueryGranterGrantsRequest): Promise<_12.QueryGranterGrantsResponse>; - granteeGrants(request: _12.QueryGranteeGrantsRequest): Promise<_12.QueryGranteeGrantsResponse>; - }; - }; - bank: { - v1beta1: { - balance(request: _17.QueryBalanceRequest): Promise<_17.QueryBalanceResponse>; - allBalances(request: _17.QueryAllBalancesRequest): Promise<_17.QueryAllBalancesResponse>; - spendableBalances(request: _17.QuerySpendableBalancesRequest): Promise<_17.QuerySpendableBalancesResponse>; - totalSupply(request?: _17.QueryTotalSupplyRequest): Promise<_17.QueryTotalSupplyResponse>; - supplyOf(request: _17.QuerySupplyOfRequest): Promise<_17.QuerySupplyOfResponse>; - params(request?: _17.QueryParamsRequest): Promise<_17.QueryParamsResponse>; - denomMetadata(request: _17.QueryDenomMetadataRequest): Promise<_17.QueryDenomMetadataResponse>; - denomsMetadata(request?: _17.QueryDenomsMetadataRequest): Promise<_17.QueryDenomsMetadataResponse>; - denomOwners(request: _17.QueryDenomOwnersRequest): Promise<_17.QueryDenomOwnersResponse>; - }; - }; - base: { - tendermint: { - v1beta1: { - getNodeInfo(request?: _27.GetNodeInfoRequest): Promise<_27.GetNodeInfoResponse>; - getSyncing(request?: _27.GetSyncingRequest): Promise<_27.GetSyncingResponse>; - getLatestBlock(request?: _27.GetLatestBlockRequest): Promise<_27.GetLatestBlockResponse>; - getBlockByHeight(request: _27.GetBlockByHeightRequest): Promise<_27.GetBlockByHeightResponse>; - getLatestValidatorSet(request?: _27.GetLatestValidatorSetRequest): Promise<_27.GetLatestValidatorSetResponse>; - getValidatorSetByHeight(request: _27.GetValidatorSetByHeightRequest): Promise<_27.GetValidatorSetByHeightResponse>; - }; - }; - }; - distribution: { - v1beta1: { - params(request?: _41.QueryParamsRequest): Promise<_41.QueryParamsResponse>; - validatorOutstandingRewards(request: _41.QueryValidatorOutstandingRewardsRequest): Promise<_41.QueryValidatorOutstandingRewardsResponse>; - validatorCommission(request: _41.QueryValidatorCommissionRequest): Promise<_41.QueryValidatorCommissionResponse>; - validatorSlashes(request: _41.QueryValidatorSlashesRequest): Promise<_41.QueryValidatorSlashesResponse>; - delegationRewards(request: _41.QueryDelegationRewardsRequest): Promise<_41.QueryDelegationRewardsResponse>; - delegationTotalRewards(request: _41.QueryDelegationTotalRewardsRequest): Promise<_41.QueryDelegationTotalRewardsResponse>; - delegatorValidators(request: _41.QueryDelegatorValidatorsRequest): Promise<_41.QueryDelegatorValidatorsResponse>; - delegatorWithdrawAddress(request: _41.QueryDelegatorWithdrawAddressRequest): Promise<_41.QueryDelegatorWithdrawAddressResponse>; - communityPool(request?: _41.QueryCommunityPoolRequest): Promise<_41.QueryCommunityPoolResponse>; - }; - }; - evidence: { - v1beta1: { - evidence(request: _45.QueryEvidenceRequest): Promise<_45.QueryEvidenceResponse>; - allEvidence(request?: _45.QueryAllEvidenceRequest): Promise<_45.QueryAllEvidenceResponse>; - }; - }; - feegrant: { - v1beta1: { - allowance(request: _49.QueryAllowanceRequest): Promise<_49.QueryAllowanceResponse>; - allowances(request: _49.QueryAllowancesRequest): Promise<_49.QueryAllowancesResponse>; - allowancesByGranter(request: _49.QueryAllowancesByGranterRequest): Promise<_49.QueryAllowancesByGranterResponse>; - }; - }; - gov: { - v1: { - proposal(request: _54.QueryProposalRequest): Promise<_54.QueryProposalResponse>; - proposals(request: _54.QueryProposalsRequest): Promise<_54.QueryProposalsResponse>; - vote(request: _54.QueryVoteRequest): Promise<_54.QueryVoteResponse>; - votes(request: _54.QueryVotesRequest): Promise<_54.QueryVotesResponse>; - params(request: _54.QueryParamsRequest): Promise<_54.QueryParamsResponse>; - deposit(request: _54.QueryDepositRequest): Promise<_54.QueryDepositResponse>; - deposits(request: _54.QueryDepositsRequest): Promise<_54.QueryDepositsResponse>; - tallyResult(request: _54.QueryTallyResultRequest): Promise<_54.QueryTallyResultResponse>; - }; - v1beta1: { - proposal(request: _58.QueryProposalRequest): Promise<_58.QueryProposalResponse>; - proposals(request: _58.QueryProposalsRequest): Promise<_58.QueryProposalsResponse>; - vote(request: _58.QueryVoteRequest): Promise<_58.QueryVoteResponse>; - votes(request: _58.QueryVotesRequest): Promise<_58.QueryVotesResponse>; - params(request: _58.QueryParamsRequest): Promise<_58.QueryParamsResponse>; - deposit(request: _58.QueryDepositRequest): Promise<_58.QueryDepositResponse>; - deposits(request: _58.QueryDepositsRequest): Promise<_58.QueryDepositsResponse>; - tallyResult(request: _58.QueryTallyResultRequest): Promise<_58.QueryTallyResultResponse>; - }; - }; - group: { - v1: { - groupInfo(request: _62.QueryGroupInfoRequest): Promise<_62.QueryGroupInfoResponse>; - groupPolicyInfo(request: _62.QueryGroupPolicyInfoRequest): Promise<_62.QueryGroupPolicyInfoResponse>; - groupMembers(request: _62.QueryGroupMembersRequest): Promise<_62.QueryGroupMembersResponse>; - groupsByAdmin(request: _62.QueryGroupsByAdminRequest): Promise<_62.QueryGroupsByAdminResponse>; - groupPoliciesByGroup(request: _62.QueryGroupPoliciesByGroupRequest): Promise<_62.QueryGroupPoliciesByGroupResponse>; - groupPoliciesByAdmin(request: _62.QueryGroupPoliciesByAdminRequest): Promise<_62.QueryGroupPoliciesByAdminResponse>; - proposal(request: _62.QueryProposalRequest): Promise<_62.QueryProposalResponse>; - proposalsByGroupPolicy(request: _62.QueryProposalsByGroupPolicyRequest): Promise<_62.QueryProposalsByGroupPolicyResponse>; - voteByProposalVoter(request: _62.QueryVoteByProposalVoterRequest): Promise<_62.QueryVoteByProposalVoterResponse>; - votesByProposal(request: _62.QueryVotesByProposalRequest): Promise<_62.QueryVotesByProposalResponse>; - votesByVoter(request: _62.QueryVotesByVoterRequest): Promise<_62.QueryVotesByVoterResponse>; - groupsByMember(request: _62.QueryGroupsByMemberRequest): Promise<_62.QueryGroupsByMemberResponse>; - tallyResult(request: _62.QueryTallyResultRequest): Promise<_62.QueryTallyResultResponse>; - }; - }; - mint: { - v1beta1: { - params(request?: _67.QueryParamsRequest): Promise<_67.QueryParamsResponse>; - inflation(request?: _67.QueryInflationRequest): Promise<_67.QueryInflationResponse>; - annualProvisions(request?: _67.QueryAnnualProvisionsRequest): Promise<_67.QueryAnnualProvisionsResponse>; - }; - }; - nft: { - v1beta1: { - balance(request: _72.QueryBalanceRequest): Promise<_72.QueryBalanceResponse>; - owner(request: _72.QueryOwnerRequest): Promise<_72.QueryOwnerResponse>; - supply(request: _72.QuerySupplyRequest): Promise<_72.QuerySupplyResponse>; - nFTs(request: _72.QueryNFTsRequest): Promise<_72.QueryNFTsResponse>; - nFT(request: _72.QueryNFTRequest): Promise<_72.QueryNFTResponse>; - class(request: _72.QueryClassRequest): Promise<_72.QueryClassResponse>; - classes(request?: _72.QueryClassesRequest): Promise<_72.QueryClassesResponse>; - }; - }; - params: { - v1beta1: { - params(request: _77.QueryParamsRequest): Promise<_77.QueryParamsResponse>; - subspaces(request?: _77.QuerySubspacesRequest): Promise<_77.QuerySubspacesResponse>; - }; - }; - slashing: { - v1beta1: { - params(request?: _79.QueryParamsRequest): Promise<_79.QueryParamsResponse>; - signingInfo(request: _79.QuerySigningInfoRequest): Promise<_79.QuerySigningInfoResponse>; - signingInfos(request?: _79.QuerySigningInfosRequest): Promise<_79.QuerySigningInfosResponse>; - }; - }; - staking: { - v1beta1: { - validators(request: _84.QueryValidatorsRequest): Promise<_84.QueryValidatorsResponse>; - validator(request: _84.QueryValidatorRequest): Promise<_84.QueryValidatorResponse>; - validatorDelegations(request: _84.QueryValidatorDelegationsRequest): Promise<_84.QueryValidatorDelegationsResponse>; - validatorUnbondingDelegations(request: _84.QueryValidatorUnbondingDelegationsRequest): Promise<_84.QueryValidatorUnbondingDelegationsResponse>; - delegation(request: _84.QueryDelegationRequest): Promise<_84.QueryDelegationResponse>; - unbondingDelegation(request: _84.QueryUnbondingDelegationRequest): Promise<_84.QueryUnbondingDelegationResponse>; - delegatorDelegations(request: _84.QueryDelegatorDelegationsRequest): Promise<_84.QueryDelegatorDelegationsResponse>; - delegatorUnbondingDelegations(request: _84.QueryDelegatorUnbondingDelegationsRequest): Promise<_84.QueryDelegatorUnbondingDelegationsResponse>; - redelegations(request: _84.QueryRedelegationsRequest): Promise<_84.QueryRedelegationsResponse>; - delegatorValidators(request: _84.QueryDelegatorValidatorsRequest): Promise<_84.QueryDelegatorValidatorsResponse>; - delegatorValidator(request: _84.QueryDelegatorValidatorRequest): Promise<_84.QueryDelegatorValidatorResponse>; - historicalInfo(request: _84.QueryHistoricalInfoRequest): Promise<_84.QueryHistoricalInfoResponse>; - pool(request?: _84.QueryPoolRequest): Promise<_84.QueryPoolResponse>; - params(request?: _84.QueryParamsRequest): Promise<_84.QueryParamsResponse>; - }; - }; - tx: { - v1beta1: { - simulate(request: _88.SimulateRequest): Promise<_88.SimulateResponse>; - getTx(request: _88.GetTxRequest): Promise<_88.GetTxResponse>; - broadcastTx(request: _88.BroadcastTxRequest): Promise<_88.BroadcastTxResponse>; - getTxsEvent(request: _88.GetTxsEventRequest): Promise<_88.GetTxsEventResponse>; - getBlockWithTxs(request: _88.GetBlockWithTxsRequest): Promise<_88.GetBlockWithTxsResponse>; - }; - }; - upgrade: { - v1beta1: { - currentPlan(request?: _90.QueryCurrentPlanRequest): Promise<_90.QueryCurrentPlanResponse>; - appliedPlan(request: _90.QueryAppliedPlanRequest): Promise<_90.QueryAppliedPlanResponse>; - upgradedConsensusState(request: _90.QueryUpgradedConsensusStateRequest): Promise<_90.QueryUpgradedConsensusStateResponse>; - moduleVersions(request: _90.QueryModuleVersionsRequest): Promise<_90.QueryModuleVersionsResponse>; - authority(request?: _90.QueryAuthorityRequest): Promise<_90.QueryAuthorityResponse>; - }; - }; - }; - }>; - createLCDClient: ({ restEndpoint }: { - restEndpoint: string; - }) => Promise<{ - cosmos: { - auth: { - v1beta1: _145.LCDQueryClient; - }; - authz: { - v1beta1: _146.LCDQueryClient; - }; - bank: { - v1beta1: _147.LCDQueryClient; - }; - base: { - tendermint: { - v1beta1: _148.LCDQueryClient; - }; - }; - distribution: { - v1beta1: _149.LCDQueryClient; - }; - evidence: { - v1beta1: _150.LCDQueryClient; - }; - feegrant: { - v1beta1: _151.LCDQueryClient; - }; - gov: { - v1: _152.LCDQueryClient; - v1beta1: _153.LCDQueryClient; - }; - group: { - v1: _154.LCDQueryClient; - }; - mint: { - v1beta1: _155.LCDQueryClient; - }; - nft: { - v1beta1: _156.LCDQueryClient; - }; - params: { - v1beta1: _157.LCDQueryClient; - }; - slashing: { - v1beta1: _158.LCDQueryClient; - }; - staking: { - v1beta1: _159.LCDQueryClient; - }; - tx: { - v1beta1: _160.LCDQueryClient; - }; - upgrade: { - v1beta1: _161.LCDQueryClient; - }; - }; - }>; - }; -} diff --git a/packages/codegen/dist/cosmos/capability/v1beta1/capability.d.ts b/packages/codegen/dist/cosmos/capability/v1beta1/capability.d.ts deleted file mode 100644 index cef4338d..00000000 --- a/packages/codegen/dist/cosmos/capability/v1beta1/capability.d.ts +++ /dev/null @@ -1,62 +0,0 @@ -/// -import { Long, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * Capability defines an implementation of an object capability. The index - * provided to a Capability must be globally unique. - */ -export interface Capability { - index: Long; -} -/** - * 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[]; -} -export declare const Capability: { - encode(message: Capability, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Capability; - fromPartial(object: DeepPartial): Capability; -}; -export declare const Owner: { - encode(message: Owner, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Owner; - fromPartial(object: DeepPartial): Owner; -}; -export declare const CapabilityOwners: { - encode(message: CapabilityOwners, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): CapabilityOwners; - fromPartial(object: DeepPartial): CapabilityOwners; -}; diff --git a/packages/codegen/dist/cosmos/capability/v1beta1/genesis.d.ts b/packages/codegen/dist/cosmos/capability/v1beta1/genesis.d.ts deleted file mode 100644 index 80ed85bb..00000000 --- a/packages/codegen/dist/cosmos/capability/v1beta1/genesis.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -/// -import { CapabilityOwners, CapabilityOwnersSDKType } from "./capability"; -import { Long, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** GenesisOwners defines the capability owners with their corresponding index. */ -export interface GenesisOwners { - /** index is the index of the capability owner. */ - index: Long; - /** index_owners are the owners at the given index. */ - indexOwners?: CapabilityOwners; -} -/** GenesisOwners defines the capability owners with their corresponding index. */ -export interface GenesisOwnersSDKType { - index: Long; - index_owners?: CapabilityOwnersSDKType; -} -/** GenesisState defines the capability module's genesis state. */ -export interface GenesisState { - /** index is the capability global index. */ - index: Long; - /** - * owners represents a map from index to owners of the capability index - * index key is string to allow amino marshalling. - */ - owners: GenesisOwners[]; -} -/** GenesisState defines the capability module's genesis state. */ -export interface GenesisStateSDKType { - index: Long; - owners: GenesisOwnersSDKType[]; -} -export declare const GenesisOwners: { - encode(message: GenesisOwners, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisOwners; - fromPartial(object: DeepPartial): GenesisOwners; -}; -export declare const GenesisState: { - encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState; - fromPartial(object: DeepPartial): GenesisState; -}; diff --git a/packages/codegen/dist/cosmos/crisis/v1beta1/genesis.d.ts b/packages/codegen/dist/cosmos/crisis/v1beta1/genesis.d.ts deleted file mode 100644 index fd05fea6..00000000 --- a/packages/codegen/dist/cosmos/crisis/v1beta1/genesis.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../helpers"; -/** GenesisState defines the crisis module's genesis state. */ -export interface GenesisState { - /** - * constant_fee is the fee used to verify the invariant in the crisis - * module. - */ - constantFee?: Coin; -} -/** GenesisState defines the crisis module's genesis state. */ -export interface GenesisStateSDKType { - constant_fee?: CoinSDKType; -} -export declare const GenesisState: { - encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState; - fromPartial(object: DeepPartial): GenesisState; -}; diff --git a/packages/codegen/dist/cosmos/crisis/v1beta1/tx.d.ts b/packages/codegen/dist/cosmos/crisis/v1beta1/tx.d.ts deleted file mode 100644 index 5da6e1f5..00000000 --- a/packages/codegen/dist/cosmos/crisis/v1beta1/tx.d.ts +++ /dev/null @@ -1,30 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../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 { -} -export declare const MsgVerifyInvariant: { - encode(message: MsgVerifyInvariant, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVerifyInvariant; - fromPartial(object: DeepPartial): MsgVerifyInvariant; -}; -export declare const MsgVerifyInvariantResponse: { - encode(_: MsgVerifyInvariantResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVerifyInvariantResponse; - fromPartial(_: DeepPartial): MsgVerifyInvariantResponse; -}; diff --git a/packages/codegen/dist/cosmos/crisis/v1beta1/tx.rpc.msg.d.ts b/packages/codegen/dist/cosmos/crisis/v1beta1/tx.rpc.msg.d.ts deleted file mode 100644 index bce7eac0..00000000 --- a/packages/codegen/dist/cosmos/crisis/v1beta1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { MsgVerifyInvariant, MsgVerifyInvariantResponse } from "./tx"; -/** Msg defines the bank Msg service. */ -export interface Msg { - /** VerifyInvariant defines a method to verify a particular invariance. */ - verifyInvariant(request: MsgVerifyInvariant): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: Rpc); - verifyInvariant(request: MsgVerifyInvariant): Promise; -} diff --git a/packages/codegen/dist/cosmos/crypto/ed25519/keys.d.ts b/packages/codegen/dist/cosmos/crypto/ed25519/keys.d.ts deleted file mode 100644 index e48fc896..00000000 --- a/packages/codegen/dist/cosmos/crypto/ed25519/keys.d.ts +++ /dev/null @@ -1,46 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../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; -} -/** - * 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; -} -export declare const PubKey: { - encode(message: PubKey, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): PubKey; - fromPartial(object: DeepPartial): PubKey; -}; -export declare const PrivKey: { - encode(message: PrivKey, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): PrivKey; - fromPartial(object: DeepPartial): PrivKey; -}; diff --git a/packages/codegen/dist/cosmos/crypto/hd/v1/hd.d.ts b/packages/codegen/dist/cosmos/crypto/hd/v1/hd.d.ts deleted file mode 100644 index 14fbcc44..00000000 --- a/packages/codegen/dist/cosmos/crypto/hd/v1/hd.d.ts +++ /dev/null @@ -1,31 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../../helpers"; -/** BIP44Params is used as path field in ledger item in Record. */ -export interface BIP44Params { - /** purpose is a constant set to 44' (or 0x8000002C) following the BIP43 recommendation */ - 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: number; - coin_type: number; - account: number; - change: boolean; - address_index: number; -} -export declare const BIP44Params: { - encode(message: BIP44Params, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): BIP44Params; - fromPartial(object: DeepPartial): BIP44Params; -}; diff --git a/packages/codegen/dist/cosmos/crypto/keyring/v1/record.d.ts b/packages/codegen/dist/cosmos/crypto/keyring/v1/record.d.ts deleted file mode 100644 index 3455a60e..00000000 --- a/packages/codegen/dist/cosmos/crypto/keyring/v1/record.d.ts +++ /dev/null @@ -1,89 +0,0 @@ -import { Any, AnySDKType } from "../../../../google/protobuf/any"; -import { BIP44Params, BIP44ParamsSDKType } from "../../hd/v1/hd"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../../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; - /** local stores the public information about a locally stored key */ - local?: Record_Local; - /** ledger stores the public information about a Ledger key */ - ledger?: Record_Ledger; - /** Multi does not store any information. */ - multi?: Record_Multi; - /** Offline does not store any information. */ - offline?: Record_Offline; -} -/** Record is used for representing a key in the keyring. */ -export interface RecordSDKType { - name: string; - pub_key?: AnySDKType; - local?: Record_LocalSDKType; - ledger?: Record_LedgerSDKType; - multi?: Record_MultiSDKType; - offline?: Record_OfflineSDKType; -} -/** - * Item is a keyring item stored in a keyring backend. - * Local item - */ -export interface Record_Local { - privKey?: Any; - privKeyType: string; -} -/** - * Item is a keyring item stored in a keyring backend. - * Local item - */ -export interface Record_LocalSDKType { - priv_key?: AnySDKType; - priv_key_type: string; -} -/** Ledger item */ -export interface Record_Ledger { - path?: BIP44Params; -} -/** Ledger item */ -export interface Record_LedgerSDKType { - path?: BIP44ParamsSDKType; -} -/** Multi item */ -export interface Record_Multi { -} -/** Multi item */ -export interface Record_MultiSDKType { -} -/** Offline item */ -export interface Record_Offline { -} -/** Offline item */ -export interface Record_OfflineSDKType { -} -export declare const Record: { - encode(message: Record, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Record; - fromPartial(object: DeepPartial): Record; -}; -export declare const Record_Local: { - encode(message: Record_Local, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Record_Local; - fromPartial(object: DeepPartial): Record_Local; -}; -export declare const Record_Ledger: { - encode(message: Record_Ledger, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Record_Ledger; - fromPartial(object: DeepPartial): Record_Ledger; -}; -export declare const Record_Multi: { - encode(_: Record_Multi, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Record_Multi; - fromPartial(_: DeepPartial): Record_Multi; -}; -export declare const Record_Offline: { - encode(_: Record_Offline, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Record_Offline; - fromPartial(_: DeepPartial): Record_Offline; -}; diff --git a/packages/codegen/dist/cosmos/crypto/multisig/keys.d.ts b/packages/codegen/dist/cosmos/crypto/multisig/keys.d.ts deleted file mode 100644 index e1ee8b57..00000000 --- a/packages/codegen/dist/cosmos/crypto/multisig/keys.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../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[]; -} -export declare const LegacyAminoPubKey: { - encode(message: LegacyAminoPubKey, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): LegacyAminoPubKey; - fromPartial(object: DeepPartial): LegacyAminoPubKey; -}; diff --git a/packages/codegen/dist/cosmos/crypto/multisig/v1beta1/multisig.d.ts b/packages/codegen/dist/cosmos/crypto/multisig/v1beta1/multisig.d.ts deleted file mode 100644 index db981e96..00000000 --- a/packages/codegen/dist/cosmos/crypto/multisig/v1beta1/multisig.d.ts +++ /dev/null @@ -1,48 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../../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; -} -export declare const MultiSignature: { - encode(message: MultiSignature, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MultiSignature; - fromPartial(object: DeepPartial): MultiSignature; -}; -export declare const CompactBitArray: { - encode(message: CompactBitArray, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): CompactBitArray; - fromPartial(object: DeepPartial): CompactBitArray; -}; diff --git a/packages/codegen/dist/cosmos/crypto/secp256k1/keys.d.ts b/packages/codegen/dist/cosmos/crypto/secp256k1/keys.d.ts deleted file mode 100644 index 3d87be5a..00000000 --- a/packages/codegen/dist/cosmos/crypto/secp256k1/keys.d.ts +++ /dev/null @@ -1,40 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../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; -} -/** - * 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; -} -export declare const PubKey: { - encode(message: PubKey, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): PubKey; - fromPartial(object: DeepPartial): PubKey; -}; -export declare const PrivKey: { - encode(message: PrivKey, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): PrivKey; - fromPartial(object: DeepPartial): PrivKey; -}; diff --git a/packages/codegen/dist/cosmos/crypto/secp256r1/keys.d.ts b/packages/codegen/dist/cosmos/crypto/secp256r1/keys.d.ts deleted file mode 100644 index 9a482187..00000000 --- a/packages/codegen/dist/cosmos/crypto/secp256r1/keys.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../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; -} -/** PubKey defines a secp256r1 ECDSA public key. */ -export interface PubKeySDKType { - key: Uint8Array; -} -/** PrivKey defines a secp256r1 ECDSA private key. */ -export interface PrivKey { - /** secret number serialized using big-endian encoding */ - secret: Uint8Array; -} -/** PrivKey defines a secp256r1 ECDSA private key. */ -export interface PrivKeySDKType { - secret: Uint8Array; -} -export declare const PubKey: { - encode(message: PubKey, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): PubKey; - fromPartial(object: DeepPartial): PubKey; -}; -export declare const PrivKey: { - encode(message: PrivKey, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): PrivKey; - fromPartial(object: DeepPartial): PrivKey; -}; diff --git a/packages/codegen/dist/cosmos/distribution/v1beta1/distribution.d.ts b/packages/codegen/dist/cosmos/distribution/v1beta1/distribution.d.ts deleted file mode 100644 index b663d6cd..00000000 --- a/packages/codegen/dist/cosmos/distribution/v1beta1/distribution.d.ts +++ /dev/null @@ -1,282 +0,0 @@ -/// -import { DecCoin, DecCoinSDKType, Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, 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; -} -export declare const Params: { - encode(message: Params, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Params; - fromPartial(object: DeepPartial): Params; -}; -export declare const ValidatorHistoricalRewards: { - encode(message: ValidatorHistoricalRewards, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorHistoricalRewards; - fromPartial(object: DeepPartial): ValidatorHistoricalRewards; -}; -export declare const ValidatorCurrentRewards: { - encode(message: ValidatorCurrentRewards, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorCurrentRewards; - fromPartial(object: DeepPartial): ValidatorCurrentRewards; -}; -export declare const ValidatorAccumulatedCommission: { - encode(message: ValidatorAccumulatedCommission, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorAccumulatedCommission; - fromPartial(object: DeepPartial): ValidatorAccumulatedCommission; -}; -export declare const ValidatorOutstandingRewards: { - encode(message: ValidatorOutstandingRewards, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorOutstandingRewards; - fromPartial(object: DeepPartial): ValidatorOutstandingRewards; -}; -export declare const ValidatorSlashEvent: { - encode(message: ValidatorSlashEvent, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSlashEvent; - fromPartial(object: DeepPartial): ValidatorSlashEvent; -}; -export declare const ValidatorSlashEvents: { - encode(message: ValidatorSlashEvents, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSlashEvents; - fromPartial(object: DeepPartial): ValidatorSlashEvents; -}; -export declare const FeePool: { - encode(message: FeePool, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): FeePool; - fromPartial(object: DeepPartial): FeePool; -}; -export declare const CommunityPoolSpendProposal: { - encode(message: CommunityPoolSpendProposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): CommunityPoolSpendProposal; - fromPartial(object: DeepPartial): CommunityPoolSpendProposal; -}; -export declare const DelegatorStartingInfo: { - encode(message: DelegatorStartingInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DelegatorStartingInfo; - fromPartial(object: DeepPartial): DelegatorStartingInfo; -}; -export declare const DelegationDelegatorReward: { - encode(message: DelegationDelegatorReward, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DelegationDelegatorReward; - fromPartial(object: DeepPartial): DelegationDelegatorReward; -}; -export declare const CommunityPoolSpendProposalWithDeposit: { - encode(message: CommunityPoolSpendProposalWithDeposit, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): CommunityPoolSpendProposalWithDeposit; - fromPartial(object: DeepPartial): CommunityPoolSpendProposalWithDeposit; -}; diff --git a/packages/codegen/dist/cosmos/distribution/v1beta1/genesis.d.ts b/packages/codegen/dist/cosmos/distribution/v1beta1/genesis.d.ts deleted file mode 100644 index 1eb2cf0b..00000000 --- a/packages/codegen/dist/cosmos/distribution/v1beta1/genesis.d.ts +++ /dev/null @@ -1,197 +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 { DeepPartial, 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: string; - withdraw_address: string; -} -/** ValidatorOutstandingRewardsRecord is used for import/export via genesis json. */ -export interface ValidatorOutstandingRewardsRecord { - /** validator_address is the address of the validator. */ - validatorAddress: string; - /** outstanding_rewards represents the oustanding rewards of a validator. */ - outstandingRewards: DecCoin[]; -} -/** ValidatorOutstandingRewardsRecord is used for import/export via genesis json. */ -export interface ValidatorOutstandingRewardsRecordSDKType { - validator_address: string; - outstanding_rewards: DecCoinSDKType[]; -} -/** - * ValidatorAccumulatedCommissionRecord is used for import / export via genesis - * json. - */ -export interface ValidatorAccumulatedCommissionRecord { - /** validator_address is the address of the validator. */ - validatorAddress: string; - /** accumulated is the accumulated commission of a validator. */ - accumulated?: ValidatorAccumulatedCommission; -} -/** - * ValidatorAccumulatedCommissionRecord is used for import / export via genesis - * json. - */ -export interface ValidatorAccumulatedCommissionRecordSDKType { - validator_address: string; - accumulated?: ValidatorAccumulatedCommissionSDKType; -} -/** - * ValidatorHistoricalRewardsRecord is used for import / export via genesis - * json. - */ -export interface ValidatorHistoricalRewardsRecord { - /** validator_address is the address of the validator. */ - validatorAddress: string; - /** period defines the period the historical rewards apply to. */ - period: Long; - /** rewards defines the historical rewards of a validator. */ - rewards?: ValidatorHistoricalRewards; -} -/** - * ValidatorHistoricalRewardsRecord is used for import / export via genesis - * json. - */ -export interface ValidatorHistoricalRewardsRecordSDKType { - validator_address: string; - period: Long; - rewards?: ValidatorHistoricalRewardsSDKType; -} -/** ValidatorCurrentRewardsRecord is used for import / export via genesis json. */ -export interface ValidatorCurrentRewardsRecord { - /** validator_address is the address of the validator. */ - validatorAddress: string; - /** rewards defines the current rewards of a validator. */ - rewards?: ValidatorCurrentRewards; -} -/** ValidatorCurrentRewardsRecord is used for import / export via genesis json. */ -export interface ValidatorCurrentRewardsRecordSDKType { - validator_address: string; - rewards?: ValidatorCurrentRewardsSDKType; -} -/** DelegatorStartingInfoRecord used for import / export via genesis json. */ -export interface DelegatorStartingInfoRecord { - /** delegator_address is the address of the delegator. */ - delegatorAddress: string; - /** validator_address is the address of the validator. */ - validatorAddress: string; - /** starting_info defines the starting info of a delegator. */ - startingInfo?: DelegatorStartingInfo; -} -/** DelegatorStartingInfoRecord used for import / export via genesis json. */ -export interface DelegatorStartingInfoRecordSDKType { - delegator_address: string; - validator_address: string; - starting_info?: DelegatorStartingInfoSDKType; -} -/** ValidatorSlashEventRecord is used for import / export via genesis json. */ -export interface ValidatorSlashEventRecord { - /** validator_address is the address of the validator. */ - validatorAddress: string; - /** height defines the block height at which the slash event occured. */ - height: Long; - /** period is the period of the slash event. */ - period: Long; - /** validator_slash_event describes the slash event. */ - validatorSlashEvent?: ValidatorSlashEvent; -} -/** ValidatorSlashEventRecord is used for import / export via genesis json. */ -export interface ValidatorSlashEventRecordSDKType { - validator_address: string; - height: Long; - period: Long; - validator_slash_event?: ValidatorSlashEventSDKType; -} -/** GenesisState defines the distribution module's genesis state. */ -export interface GenesisState { - /** params defines all the paramaters of the module. */ - params?: Params; - /** fee_pool defines the fee pool at genesis. */ - feePool?: FeePool; - /** fee_pool defines the delegator withdraw infos at genesis. */ - delegatorWithdrawInfos: DelegatorWithdrawInfo[]; - /** fee_pool defines the previous proposer at genesis. */ - previousProposer: string; - /** fee_pool defines the outstanding rewards of all validators at genesis. */ - outstandingRewards: ValidatorOutstandingRewardsRecord[]; - /** fee_pool defines the accumulated commisions of all validators at genesis. */ - validatorAccumulatedCommissions: ValidatorAccumulatedCommissionRecord[]; - /** fee_pool defines the historical rewards of all validators at genesis. */ - validatorHistoricalRewards: ValidatorHistoricalRewardsRecord[]; - /** fee_pool defines the current rewards of all validators at genesis. */ - validatorCurrentRewards: ValidatorCurrentRewardsRecord[]; - /** fee_pool defines the delegator starting infos at genesis. */ - delegatorStartingInfos: DelegatorStartingInfoRecord[]; - /** fee_pool defines the validator slash events at genesis. */ - validatorSlashEvents: ValidatorSlashEventRecord[]; -} -/** GenesisState defines the distribution module's genesis state. */ -export interface GenesisStateSDKType { - params?: ParamsSDKType; - fee_pool?: FeePoolSDKType; - delegator_withdraw_infos: DelegatorWithdrawInfoSDKType[]; - previous_proposer: string; - outstanding_rewards: ValidatorOutstandingRewardsRecordSDKType[]; - validator_accumulated_commissions: ValidatorAccumulatedCommissionRecordSDKType[]; - validator_historical_rewards: ValidatorHistoricalRewardsRecordSDKType[]; - validator_current_rewards: ValidatorCurrentRewardsRecordSDKType[]; - delegator_starting_infos: DelegatorStartingInfoRecordSDKType[]; - validator_slash_events: ValidatorSlashEventRecordSDKType[]; -} -export declare const DelegatorWithdrawInfo: { - encode(message: DelegatorWithdrawInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DelegatorWithdrawInfo; - fromPartial(object: DeepPartial): DelegatorWithdrawInfo; -}; -export declare const ValidatorOutstandingRewardsRecord: { - encode(message: ValidatorOutstandingRewardsRecord, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorOutstandingRewardsRecord; - fromPartial(object: DeepPartial): ValidatorOutstandingRewardsRecord; -}; -export declare const ValidatorAccumulatedCommissionRecord: { - encode(message: ValidatorAccumulatedCommissionRecord, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorAccumulatedCommissionRecord; - fromPartial(object: DeepPartial): ValidatorAccumulatedCommissionRecord; -}; -export declare const ValidatorHistoricalRewardsRecord: { - encode(message: ValidatorHistoricalRewardsRecord, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorHistoricalRewardsRecord; - fromPartial(object: DeepPartial): ValidatorHistoricalRewardsRecord; -}; -export declare const ValidatorCurrentRewardsRecord: { - encode(message: ValidatorCurrentRewardsRecord, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorCurrentRewardsRecord; - fromPartial(object: DeepPartial): ValidatorCurrentRewardsRecord; -}; -export declare const DelegatorStartingInfoRecord: { - encode(message: DelegatorStartingInfoRecord, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DelegatorStartingInfoRecord; - fromPartial(object: DeepPartial): DelegatorStartingInfoRecord; -}; -export declare const ValidatorSlashEventRecord: { - encode(message: ValidatorSlashEventRecord, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSlashEventRecord; - fromPartial(object: DeepPartial): ValidatorSlashEventRecord; -}; -export declare const GenesisState: { - encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState; - fromPartial(object: DeepPartial): GenesisState; -}; diff --git a/packages/codegen/dist/cosmos/distribution/v1beta1/query.d.ts b/packages/codegen/dist/cosmos/distribution/v1beta1/query.d.ts deleted file mode 100644 index ea20f636..00000000 --- a/packages/codegen/dist/cosmos/distribution/v1beta1/query.d.ts +++ /dev/null @@ -1,365 +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 { DeepPartial, 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; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseSDKType { - params?: ParamsSDKType; -} -/** - * QueryValidatorOutstandingRewardsRequest is the request type for the - * Query/ValidatorOutstandingRewards RPC method. - */ -export interface QueryValidatorOutstandingRewardsRequest { - /** validator_address defines the validator address to query for. */ - validatorAddress: string; -} -/** - * QueryValidatorOutstandingRewardsRequest is the request type for the - * Query/ValidatorOutstandingRewards RPC method. - */ -export interface QueryValidatorOutstandingRewardsRequestSDKType { - validator_address: string; -} -/** - * QueryValidatorOutstandingRewardsResponse is the response type for the - * Query/ValidatorOutstandingRewards RPC method. - */ -export interface QueryValidatorOutstandingRewardsResponse { - rewards?: ValidatorOutstandingRewards; -} -/** - * QueryValidatorOutstandingRewardsResponse is the response type for the - * Query/ValidatorOutstandingRewards RPC method. - */ -export interface QueryValidatorOutstandingRewardsResponseSDKType { - rewards?: ValidatorOutstandingRewardsSDKType; -} -/** - * QueryValidatorCommissionRequest is the request type for the - * Query/ValidatorCommission RPC method - */ -export interface QueryValidatorCommissionRequest { - /** validator_address defines the validator address to query for. */ - validatorAddress: string; -} -/** - * QueryValidatorCommissionRequest is the request type for the - * Query/ValidatorCommission RPC method - */ -export interface QueryValidatorCommissionRequestSDKType { - validator_address: string; -} -/** - * QueryValidatorCommissionResponse is the response type for the - * Query/ValidatorCommission RPC method - */ -export interface QueryValidatorCommissionResponse { - /** commission defines the commision the validator received. */ - commission?: ValidatorAccumulatedCommission; -} -/** - * QueryValidatorCommissionResponse is the response type for the - * Query/ValidatorCommission RPC method - */ -export interface QueryValidatorCommissionResponseSDKType { - commission?: ValidatorAccumulatedCommissionSDKType; -} -/** - * QueryValidatorSlashesRequest is the request type for the - * Query/ValidatorSlashes RPC method - */ -export interface QueryValidatorSlashesRequest { - /** validator_address defines the validator address to query for. */ - validatorAddress: string; - /** starting_height defines the optional starting height to query the slashes. */ - startingHeight: Long; - /** starting_height defines the optional ending height to query the slashes. */ - endingHeight: Long; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest; -} -/** - * QueryValidatorSlashesRequest is the request type for the - * Query/ValidatorSlashes RPC method - */ -export interface QueryValidatorSlashesRequestSDKType { - validator_address: string; - starting_height: Long; - ending_height: Long; - pagination?: PageRequestSDKType; -} -/** - * QueryValidatorSlashesResponse is the response type for the - * Query/ValidatorSlashes RPC method. - */ -export interface QueryValidatorSlashesResponse { - /** slashes defines the slashes the validator received. */ - slashes: ValidatorSlashEvent[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse; -} -/** - * QueryValidatorSlashesResponse is the response type for the - * Query/ValidatorSlashes RPC method. - */ -export interface QueryValidatorSlashesResponseSDKType { - slashes: ValidatorSlashEventSDKType[]; - pagination?: PageResponseSDKType; -} -/** - * QueryDelegationRewardsRequest is the request type for the - * Query/DelegationRewards RPC method. - */ -export interface QueryDelegationRewardsRequest { - /** delegator_address defines the delegator address to query for. */ - delegatorAddress: string; - /** validator_address defines the validator address to query for. */ - validatorAddress: string; -} -/** - * QueryDelegationRewardsRequest is the request type for the - * Query/DelegationRewards RPC method. - */ -export interface QueryDelegationRewardsRequestSDKType { - delegator_address: string; - validator_address: string; -} -/** - * QueryDelegationRewardsResponse is the response type for the - * Query/DelegationRewards RPC method. - */ -export interface QueryDelegationRewardsResponse { - /** rewards defines the rewards accrued by a delegation. */ - rewards: DecCoin[]; -} -/** - * QueryDelegationRewardsResponse is the response type for the - * Query/DelegationRewards RPC method. - */ -export interface QueryDelegationRewardsResponseSDKType { - rewards: DecCoinSDKType[]; -} -/** - * QueryDelegationTotalRewardsRequest is the request type for the - * Query/DelegationTotalRewards RPC method. - */ -export interface QueryDelegationTotalRewardsRequest { - /** delegator_address defines the delegator address to query for. */ - delegatorAddress: string; -} -/** - * QueryDelegationTotalRewardsRequest is the request type for the - * Query/DelegationTotalRewards RPC method. - */ -export interface QueryDelegationTotalRewardsRequestSDKType { - delegator_address: string; -} -/** - * QueryDelegationTotalRewardsResponse is the response type for the - * Query/DelegationTotalRewards RPC method. - */ -export interface QueryDelegationTotalRewardsResponse { - /** rewards defines all the rewards accrued by a delegator. */ - rewards: DelegationDelegatorReward[]; - /** total defines the sum of all the rewards. */ - total: DecCoin[]; -} -/** - * QueryDelegationTotalRewardsResponse is the response type for the - * Query/DelegationTotalRewards RPC method. - */ -export interface QueryDelegationTotalRewardsResponseSDKType { - rewards: DelegationDelegatorRewardSDKType[]; - total: DecCoinSDKType[]; -} -/** - * QueryDelegatorValidatorsRequest is the request type for the - * Query/DelegatorValidators RPC method. - */ -export interface QueryDelegatorValidatorsRequest { - /** delegator_address defines the delegator address to query for. */ - delegatorAddress: string; -} -/** - * QueryDelegatorValidatorsRequest is the request type for the - * Query/DelegatorValidators RPC method. - */ -export interface QueryDelegatorValidatorsRequestSDKType { - delegator_address: string; -} -/** - * QueryDelegatorValidatorsResponse is the response type for the - * Query/DelegatorValidators RPC method. - */ -export interface QueryDelegatorValidatorsResponse { - /** validators defines the validators a delegator is delegating for. */ - validators: string[]; -} -/** - * QueryDelegatorValidatorsResponse is the response type for the - * Query/DelegatorValidators RPC method. - */ -export interface QueryDelegatorValidatorsResponseSDKType { - validators: string[]; -} -/** - * QueryDelegatorWithdrawAddressRequest is the request type for the - * Query/DelegatorWithdrawAddress RPC method. - */ -export interface QueryDelegatorWithdrawAddressRequest { - /** delegator_address defines the delegator address to query for. */ - delegatorAddress: string; -} -/** - * QueryDelegatorWithdrawAddressRequest is the request type for the - * Query/DelegatorWithdrawAddress RPC method. - */ -export interface QueryDelegatorWithdrawAddressRequestSDKType { - delegator_address: string; -} -/** - * QueryDelegatorWithdrawAddressResponse is the response type for the - * Query/DelegatorWithdrawAddress RPC method. - */ -export interface QueryDelegatorWithdrawAddressResponse { - /** withdraw_address defines the delegator address to query for. */ - withdrawAddress: string; -} -/** - * QueryDelegatorWithdrawAddressResponse is the response type for the - * Query/DelegatorWithdrawAddress RPC method. - */ -export interface QueryDelegatorWithdrawAddressResponseSDKType { - withdraw_address: string; -} -/** - * QueryCommunityPoolRequest is the request type for the Query/CommunityPool RPC - * method. - */ -export interface QueryCommunityPoolRequest { -} -/** - * 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: DecCoinSDKType[]; -} -export declare const QueryParamsRequest: { - encode(_: QueryParamsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest; - fromPartial(_: DeepPartial): QueryParamsRequest; -}; -export declare const QueryParamsResponse: { - encode(message: QueryParamsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse; - fromPartial(object: DeepPartial): QueryParamsResponse; -}; -export declare const QueryValidatorOutstandingRewardsRequest: { - encode(message: QueryValidatorOutstandingRewardsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorOutstandingRewardsRequest; - fromPartial(object: DeepPartial): QueryValidatorOutstandingRewardsRequest; -}; -export declare const QueryValidatorOutstandingRewardsResponse: { - encode(message: QueryValidatorOutstandingRewardsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorOutstandingRewardsResponse; - fromPartial(object: DeepPartial): QueryValidatorOutstandingRewardsResponse; -}; -export declare const QueryValidatorCommissionRequest: { - encode(message: QueryValidatorCommissionRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorCommissionRequest; - fromPartial(object: DeepPartial): QueryValidatorCommissionRequest; -}; -export declare const QueryValidatorCommissionResponse: { - encode(message: QueryValidatorCommissionResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorCommissionResponse; - fromPartial(object: DeepPartial): QueryValidatorCommissionResponse; -}; -export declare const QueryValidatorSlashesRequest: { - encode(message: QueryValidatorSlashesRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorSlashesRequest; - fromPartial(object: DeepPartial): QueryValidatorSlashesRequest; -}; -export declare const QueryValidatorSlashesResponse: { - encode(message: QueryValidatorSlashesResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorSlashesResponse; - fromPartial(object: DeepPartial): QueryValidatorSlashesResponse; -}; -export declare const QueryDelegationRewardsRequest: { - encode(message: QueryDelegationRewardsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationRewardsRequest; - fromPartial(object: DeepPartial): QueryDelegationRewardsRequest; -}; -export declare const QueryDelegationRewardsResponse: { - encode(message: QueryDelegationRewardsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationRewardsResponse; - fromPartial(object: DeepPartial): QueryDelegationRewardsResponse; -}; -export declare const QueryDelegationTotalRewardsRequest: { - encode(message: QueryDelegationTotalRewardsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationTotalRewardsRequest; - fromPartial(object: DeepPartial): QueryDelegationTotalRewardsRequest; -}; -export declare const QueryDelegationTotalRewardsResponse: { - encode(message: QueryDelegationTotalRewardsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationTotalRewardsResponse; - fromPartial(object: DeepPartial): QueryDelegationTotalRewardsResponse; -}; -export declare const QueryDelegatorValidatorsRequest: { - encode(message: QueryDelegatorValidatorsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsRequest; - fromPartial(object: DeepPartial): QueryDelegatorValidatorsRequest; -}; -export declare const QueryDelegatorValidatorsResponse: { - encode(message: QueryDelegatorValidatorsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsResponse; - fromPartial(object: DeepPartial): QueryDelegatorValidatorsResponse; -}; -export declare const QueryDelegatorWithdrawAddressRequest: { - encode(message: QueryDelegatorWithdrawAddressRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorWithdrawAddressRequest; - fromPartial(object: DeepPartial): QueryDelegatorWithdrawAddressRequest; -}; -export declare const QueryDelegatorWithdrawAddressResponse: { - encode(message: QueryDelegatorWithdrawAddressResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorWithdrawAddressResponse; - fromPartial(object: DeepPartial): QueryDelegatorWithdrawAddressResponse; -}; -export declare const QueryCommunityPoolRequest: { - encode(_: QueryCommunityPoolRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCommunityPoolRequest; - fromPartial(_: DeepPartial): QueryCommunityPoolRequest; -}; -export declare const QueryCommunityPoolResponse: { - encode(message: QueryCommunityPoolResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCommunityPoolResponse; - fromPartial(object: DeepPartial): QueryCommunityPoolResponse; -}; diff --git a/packages/codegen/dist/cosmos/distribution/v1beta1/query.lcd.d.ts b/packages/codegen/dist/cosmos/distribution/v1beta1/query.lcd.d.ts deleted file mode 100644 index 1271db0c..00000000 --- a/packages/codegen/dist/cosmos/distribution/v1beta1/query.lcd.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { QueryParamsRequest, QueryParamsResponseSDKType, QueryValidatorOutstandingRewardsRequest, QueryValidatorOutstandingRewardsResponseSDKType, QueryValidatorCommissionRequest, QueryValidatorCommissionResponseSDKType, QueryValidatorSlashesRequest, QueryValidatorSlashesResponseSDKType, QueryDelegationRewardsRequest, QueryDelegationRewardsResponseSDKType, QueryDelegationTotalRewardsRequest, QueryDelegationTotalRewardsResponseSDKType, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsResponseSDKType, QueryDelegatorWithdrawAddressRequest, QueryDelegatorWithdrawAddressResponseSDKType, QueryCommunityPoolRequest, QueryCommunityPoolResponseSDKType } from "./query"; -export declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - params(_params?: QueryParamsRequest): Promise; - validatorOutstandingRewards(params: QueryValidatorOutstandingRewardsRequest): Promise; - validatorCommission(params: QueryValidatorCommissionRequest): Promise; - validatorSlashes(params: QueryValidatorSlashesRequest): Promise; - delegationRewards(params: QueryDelegationRewardsRequest): Promise; - delegationTotalRewards(params: QueryDelegationTotalRewardsRequest): Promise; - delegatorValidators(params: QueryDelegatorValidatorsRequest): Promise; - delegatorWithdrawAddress(params: QueryDelegatorWithdrawAddressRequest): Promise; - communityPool(_params?: QueryCommunityPoolRequest): Promise; -} diff --git a/packages/codegen/dist/cosmos/distribution/v1beta1/query.rpc.Query.d.ts b/packages/codegen/dist/cosmos/distribution/v1beta1/query.rpc.Query.d.ts deleted file mode 100644 index be0d7a15..00000000 --- a/packages/codegen/dist/cosmos/distribution/v1beta1/query.rpc.Query.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { QueryClient } from "@cosmjs/stargate"; -import { QueryParamsRequest, QueryParamsResponse, QueryValidatorOutstandingRewardsRequest, QueryValidatorOutstandingRewardsResponse, QueryValidatorCommissionRequest, QueryValidatorCommissionResponse, QueryValidatorSlashesRequest, QueryValidatorSlashesResponse, QueryDelegationRewardsRequest, QueryDelegationRewardsResponse, QueryDelegationTotalRewardsRequest, QueryDelegationTotalRewardsResponse, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsResponse, QueryDelegatorWithdrawAddressRequest, QueryDelegatorWithdrawAddressResponse, QueryCommunityPoolRequest, QueryCommunityPoolResponse } from "./query"; -/** Query defines the gRPC querier service for distribution module. */ -export interface Query { - /** Params queries params of the distribution module. */ - params(request?: QueryParamsRequest): Promise; - /** ValidatorOutstandingRewards queries rewards of a validator address. */ - validatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest): Promise; - /** ValidatorCommission queries accumulated commission for a validator. */ - validatorCommission(request: QueryValidatorCommissionRequest): Promise; - /** ValidatorSlashes queries slash events of a validator. */ - validatorSlashes(request: QueryValidatorSlashesRequest): Promise; - /** DelegationRewards queries the total rewards accrued by a delegation. */ - delegationRewards(request: QueryDelegationRewardsRequest): Promise; - /** - * DelegationTotalRewards queries the total rewards accrued by a each - * validator. - */ - delegationTotalRewards(request: QueryDelegationTotalRewardsRequest): Promise; - /** DelegatorValidators queries the validators of a delegator. */ - delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise; - /** DelegatorWithdrawAddress queries withdraw address of a delegator. */ - delegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest): Promise; - /** CommunityPool queries the community pool coins. */ - communityPool(request?: QueryCommunityPoolRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: Rpc); - params(request?: QueryParamsRequest): Promise; - validatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest): Promise; - validatorCommission(request: QueryValidatorCommissionRequest): Promise; - validatorSlashes(request: QueryValidatorSlashesRequest): Promise; - delegationRewards(request: QueryDelegationRewardsRequest): Promise; - delegationTotalRewards(request: QueryDelegationTotalRewardsRequest): Promise; - delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise; - delegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest): Promise; - communityPool(request?: QueryCommunityPoolRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - params(request?: QueryParamsRequest): Promise; - validatorOutstandingRewards(request: QueryValidatorOutstandingRewardsRequest): Promise; - validatorCommission(request: QueryValidatorCommissionRequest): Promise; - validatorSlashes(request: QueryValidatorSlashesRequest): Promise; - delegationRewards(request: QueryDelegationRewardsRequest): Promise; - delegationTotalRewards(request: QueryDelegationTotalRewardsRequest): Promise; - delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise; - delegatorWithdrawAddress(request: QueryDelegatorWithdrawAddressRequest): Promise; - communityPool(request?: QueryCommunityPoolRequest): Promise; -}; diff --git a/packages/codegen/dist/cosmos/distribution/v1beta1/tx.d.ts b/packages/codegen/dist/cosmos/distribution/v1beta1/tx.d.ts deleted file mode 100644 index 244496e5..00000000 --- a/packages/codegen/dist/cosmos/distribution/v1beta1/tx.d.ts +++ /dev/null @@ -1,133 +0,0 @@ -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../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 { -} -export declare const MsgSetWithdrawAddress: { - encode(message: MsgSetWithdrawAddress, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetWithdrawAddress; - fromPartial(object: DeepPartial): MsgSetWithdrawAddress; -}; -export declare const MsgSetWithdrawAddressResponse: { - encode(_: MsgSetWithdrawAddressResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetWithdrawAddressResponse; - fromPartial(_: DeepPartial): MsgSetWithdrawAddressResponse; -}; -export declare const MsgWithdrawDelegatorReward: { - encode(message: MsgWithdrawDelegatorReward, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawDelegatorReward; - fromPartial(object: DeepPartial): MsgWithdrawDelegatorReward; -}; -export declare const MsgWithdrawDelegatorRewardResponse: { - encode(message: MsgWithdrawDelegatorRewardResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawDelegatorRewardResponse; - fromPartial(object: DeepPartial): MsgWithdrawDelegatorRewardResponse; -}; -export declare const MsgWithdrawValidatorCommission: { - encode(message: MsgWithdrawValidatorCommission, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawValidatorCommission; - fromPartial(object: DeepPartial): MsgWithdrawValidatorCommission; -}; -export declare const MsgWithdrawValidatorCommissionResponse: { - encode(message: MsgWithdrawValidatorCommissionResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawValidatorCommissionResponse; - fromPartial(object: DeepPartial): MsgWithdrawValidatorCommissionResponse; -}; -export declare const MsgFundCommunityPool: { - encode(message: MsgFundCommunityPool, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgFundCommunityPool; - fromPartial(object: DeepPartial): MsgFundCommunityPool; -}; -export declare const MsgFundCommunityPoolResponse: { - encode(_: MsgFundCommunityPoolResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgFundCommunityPoolResponse; - fromPartial(_: DeepPartial): MsgFundCommunityPoolResponse; -}; diff --git a/packages/codegen/dist/cosmos/distribution/v1beta1/tx.rpc.msg.d.ts b/packages/codegen/dist/cosmos/distribution/v1beta1/tx.rpc.msg.d.ts deleted file mode 100644 index 38723e88..00000000 --- a/packages/codegen/dist/cosmos/distribution/v1beta1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { MsgSetWithdrawAddress, MsgSetWithdrawAddressResponse, MsgWithdrawDelegatorReward, MsgWithdrawDelegatorRewardResponse, MsgWithdrawValidatorCommission, MsgWithdrawValidatorCommissionResponse, MsgFundCommunityPool, MsgFundCommunityPoolResponse } from "./tx"; -/** Msg defines the distribution Msg service. */ -export interface Msg { - /** - * SetWithdrawAddress defines a method to change the withdraw address - * for a delegator (or validator self-delegation). - */ - setWithdrawAddress(request: MsgSetWithdrawAddress): Promise; - /** - * WithdrawDelegatorReward defines a method to withdraw rewards of delegator - * from a single validator. - */ - withdrawDelegatorReward(request: MsgWithdrawDelegatorReward): Promise; - /** - * WithdrawValidatorCommission defines a method to withdraw the - * full commission to the validator address. - */ - withdrawValidatorCommission(request: MsgWithdrawValidatorCommission): Promise; - /** - * FundCommunityPool defines a method to allow an account to directly - * fund the community pool. - */ - fundCommunityPool(request: MsgFundCommunityPool): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: Rpc); - setWithdrawAddress(request: MsgSetWithdrawAddress): Promise; - withdrawDelegatorReward(request: MsgWithdrawDelegatorReward): Promise; - withdrawValidatorCommission(request: MsgWithdrawValidatorCommission): Promise; - fundCommunityPool(request: MsgFundCommunityPool): Promise; -} diff --git a/packages/codegen/dist/cosmos/evidence/v1beta1/evidence.d.ts b/packages/codegen/dist/cosmos/evidence/v1beta1/evidence.d.ts deleted file mode 100644 index 68beee4f..00000000 --- a/packages/codegen/dist/cosmos/evidence/v1beta1/evidence.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -/// -import { Long, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * Equivocation implements the Evidence interface and defines evidence of double - * signing misbehavior. - */ -export interface Equivocation { - height: Long; - time?: Date; - power: Long; - consensusAddress: string; -} -/** - * Equivocation implements the Evidence interface and defines evidence of double - * signing misbehavior. - */ -export interface EquivocationSDKType { - height: Long; - time?: Date; - power: Long; - consensus_address: string; -} -export declare const Equivocation: { - encode(message: Equivocation, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Equivocation; - fromPartial(object: DeepPartial): Equivocation; -}; diff --git a/packages/codegen/dist/cosmos/evidence/v1beta1/genesis.d.ts b/packages/codegen/dist/cosmos/evidence/v1beta1/genesis.d.ts deleted file mode 100644 index 13c22c80..00000000 --- a/packages/codegen/dist/cosmos/evidence/v1beta1/genesis.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../helpers"; -/** 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: AnySDKType[]; -} -export declare const GenesisState: { - encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState; - fromPartial(object: DeepPartial): GenesisState; -}; diff --git a/packages/codegen/dist/cosmos/evidence/v1beta1/query.d.ts b/packages/codegen/dist/cosmos/evidence/v1beta1/query.d.ts deleted file mode 100644 index 9607b9c2..00000000 --- a/packages/codegen/dist/cosmos/evidence/v1beta1/query.d.ts +++ /dev/null @@ -1,75 +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"; -import { DeepPartial } from "../../../helpers"; -/** QueryEvidenceRequest is the request type for the Query/Evidence RPC method. */ -export interface QueryEvidenceRequest { - /** evidence_hash defines the hash of the requested evidence. */ - evidenceHash: Uint8Array; -} -/** QueryEvidenceRequest is the request type for the Query/Evidence RPC method. */ -export interface QueryEvidenceRequestSDKType { - evidence_hash: Uint8Array; -} -/** QueryEvidenceResponse is the response type for the Query/Evidence RPC method. */ -export interface QueryEvidenceResponse { - /** evidence returns the requested evidence. */ - evidence?: Any; -} -/** QueryEvidenceResponse is the response type for the Query/Evidence RPC method. */ -export interface QueryEvidenceResponseSDKType { - evidence?: AnySDKType; -} -/** - * QueryEvidenceRequest is the request type for the Query/AllEvidence RPC - * method. - */ -export interface QueryAllEvidenceRequest { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest; -} -/** - * QueryEvidenceRequest is the request type for the Query/AllEvidence RPC - * method. - */ -export interface QueryAllEvidenceRequestSDKType { - pagination?: PageRequestSDKType; -} -/** - * QueryAllEvidenceResponse is the response type for the Query/AllEvidence RPC - * method. - */ -export interface QueryAllEvidenceResponse { - /** evidence returns all evidences. */ - evidence: Any[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse; -} -/** - * QueryAllEvidenceResponse is the response type for the Query/AllEvidence RPC - * method. - */ -export interface QueryAllEvidenceResponseSDKType { - evidence: AnySDKType[]; - pagination?: PageResponseSDKType; -} -export declare const QueryEvidenceRequest: { - encode(message: QueryEvidenceRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryEvidenceRequest; - fromPartial(object: DeepPartial): QueryEvidenceRequest; -}; -export declare const QueryEvidenceResponse: { - encode(message: QueryEvidenceResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryEvidenceResponse; - fromPartial(object: DeepPartial): QueryEvidenceResponse; -}; -export declare const QueryAllEvidenceRequest: { - encode(message: QueryAllEvidenceRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllEvidenceRequest; - fromPartial(object: DeepPartial): QueryAllEvidenceRequest; -}; -export declare const QueryAllEvidenceResponse: { - encode(message: QueryAllEvidenceResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllEvidenceResponse; - fromPartial(object: DeepPartial): QueryAllEvidenceResponse; -}; diff --git a/packages/codegen/dist/cosmos/evidence/v1beta1/query.lcd.d.ts b/packages/codegen/dist/cosmos/evidence/v1beta1/query.lcd.d.ts deleted file mode 100644 index 7bca5ded..00000000 --- a/packages/codegen/dist/cosmos/evidence/v1beta1/query.lcd.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { QueryEvidenceRequest, QueryEvidenceResponseSDKType, QueryAllEvidenceRequest, QueryAllEvidenceResponseSDKType } from "./query"; -export declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - evidence(params: QueryEvidenceRequest): Promise; - allEvidence(params?: QueryAllEvidenceRequest): Promise; -} diff --git a/packages/codegen/dist/cosmos/evidence/v1beta1/query.rpc.Query.d.ts b/packages/codegen/dist/cosmos/evidence/v1beta1/query.rpc.Query.d.ts deleted file mode 100644 index 190f6355..00000000 --- a/packages/codegen/dist/cosmos/evidence/v1beta1/query.rpc.Query.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { QueryClient } from "@cosmjs/stargate"; -import { QueryEvidenceRequest, QueryEvidenceResponse, QueryAllEvidenceRequest, QueryAllEvidenceResponse } from "./query"; -/** Query defines the gRPC querier service. */ -export interface Query { - /** Evidence queries evidence based on evidence hash. */ - evidence(request: QueryEvidenceRequest): Promise; - /** AllEvidence queries all evidence. */ - allEvidence(request?: QueryAllEvidenceRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: Rpc); - evidence(request: QueryEvidenceRequest): Promise; - allEvidence(request?: QueryAllEvidenceRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - evidence(request: QueryEvidenceRequest): Promise; - allEvidence(request?: QueryAllEvidenceRequest): Promise; -}; diff --git a/packages/codegen/dist/cosmos/evidence/v1beta1/tx.d.ts b/packages/codegen/dist/cosmos/evidence/v1beta1/tx.d.ts deleted file mode 100644 index 326ec2d2..00000000 --- a/packages/codegen/dist/cosmos/evidence/v1beta1/tx.d.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../helpers"; -/** - * MsgSubmitEvidence represents a message that supports submitting arbitrary - * Evidence of misbehavior such as equivocation or counterfactual signing. - */ -export interface MsgSubmitEvidence { - submitter: string; - evidence?: Any; -} -/** - * MsgSubmitEvidence represents a message that supports submitting arbitrary - * Evidence of misbehavior such as equivocation or counterfactual signing. - */ -export interface MsgSubmitEvidenceSDKType { - submitter: string; - evidence?: AnySDKType; -} -/** 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: Uint8Array; -} -export declare const MsgSubmitEvidence: { - encode(message: MsgSubmitEvidence, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitEvidence; - fromPartial(object: DeepPartial): MsgSubmitEvidence; -}; -export declare const MsgSubmitEvidenceResponse: { - encode(message: MsgSubmitEvidenceResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitEvidenceResponse; - fromPartial(object: DeepPartial): MsgSubmitEvidenceResponse; -}; diff --git a/packages/codegen/dist/cosmos/evidence/v1beta1/tx.rpc.msg.d.ts b/packages/codegen/dist/cosmos/evidence/v1beta1/tx.rpc.msg.d.ts deleted file mode 100644 index 5eeace2c..00000000 --- a/packages/codegen/dist/cosmos/evidence/v1beta1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { MsgSubmitEvidence, MsgSubmitEvidenceResponse } from "./tx"; -/** Msg defines the evidence Msg service. */ -export interface Msg { - /** - * SubmitEvidence submits an arbitrary Evidence of misbehavior such as equivocation or - * counterfactual signing. - */ - submitEvidence(request: MsgSubmitEvidence): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: Rpc); - submitEvidence(request: MsgSubmitEvidence): Promise; -} diff --git a/packages/codegen/dist/cosmos/feegrant/v1beta1/feegrant.d.ts b/packages/codegen/dist/cosmos/feegrant/v1beta1/feegrant.d.ts deleted file mode 100644 index a3333d94..00000000 --- a/packages/codegen/dist/cosmos/feegrant/v1beta1/feegrant.d.ts +++ /dev/null @@ -1,111 +0,0 @@ -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import { Duration, DurationSDKType } from "../../../google/protobuf/duration"; -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } 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; -} -/** - * 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: CoinSDKType[]; - expiration?: Date; -} -/** - * 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; - /** - * period specifies the time duration in which period_spend_limit coins can - * be spent before that allowance is reset - */ - period?: Duration; - /** - * period_spend_limit specifies the maximum number of coins that can be spent - * in the period - */ - periodSpendLimit: Coin[]; - /** period_can_spend is the number of coins left to be spent before the period_reset time */ - periodCanSpend: Coin[]; - /** - * period_reset is the time at which this period resets and a new one begins, - * it is calculated from the start time of the first transaction after the - * last period ended - */ - periodReset?: Date; -} -/** - * PeriodicAllowance extends Allowance to allow for both a maximum cap, - * as well as a limit per time period. - */ -export interface PeriodicAllowanceSDKType { - basic?: BasicAllowanceSDKType; - period?: DurationSDKType; - period_spend_limit: CoinSDKType[]; - period_can_spend: CoinSDKType[]; - period_reset?: Date; -} -/** AllowedMsgAllowance creates allowance only for specified message types. */ -export interface AllowedMsgAllowance { - /** allowance can be any of basic and periodic fee allowance. */ - allowance?: Any; - /** 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?: AnySDKType; - 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; -} -/** Grant is stored in the KVStore to record a grant with full context */ -export interface GrantSDKType { - granter: string; - grantee: string; - allowance?: AnySDKType; -} -export declare const BasicAllowance: { - encode(message: BasicAllowance, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): BasicAllowance; - fromPartial(object: DeepPartial): BasicAllowance; -}; -export declare const PeriodicAllowance: { - encode(message: PeriodicAllowance, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): PeriodicAllowance; - fromPartial(object: DeepPartial): PeriodicAllowance; -}; -export declare const AllowedMsgAllowance: { - encode(message: AllowedMsgAllowance, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): AllowedMsgAllowance; - fromPartial(object: DeepPartial): AllowedMsgAllowance; -}; -export declare const Grant: { - encode(message: Grant, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Grant; - fromPartial(object: DeepPartial): Grant; -}; diff --git a/packages/codegen/dist/cosmos/feegrant/v1beta1/genesis.d.ts b/packages/codegen/dist/cosmos/feegrant/v1beta1/genesis.d.ts deleted file mode 100644 index 44faac46..00000000 --- a/packages/codegen/dist/cosmos/feegrant/v1beta1/genesis.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { Grant, GrantSDKType } from "./feegrant"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../helpers"; -/** 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[]; -} -export declare const GenesisState: { - encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState; - fromPartial(object: DeepPartial): GenesisState; -}; diff --git a/packages/codegen/dist/cosmos/feegrant/v1beta1/query.d.ts b/packages/codegen/dist/cosmos/feegrant/v1beta1/query.d.ts deleted file mode 100644 index 8a0a3b58..00000000 --- a/packages/codegen/dist/cosmos/feegrant/v1beta1/query.d.ts +++ /dev/null @@ -1,101 +0,0 @@ -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Grant, GrantSDKType } from "./feegrant"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../helpers"; -/** QueryAllowanceRequest is the request type for the Query/Allowance RPC method. */ -export interface QueryAllowanceRequest { - /** granter is the address of the user granting an allowance of their funds. */ - 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: string; - grantee: string; -} -/** QueryAllowanceResponse is the response type for the Query/Allowance RPC method. */ -export interface QueryAllowanceResponse { - /** allowance is a allowance granted for grantee by granter. */ - allowance?: Grant; -} -/** QueryAllowanceResponse is the response type for the Query/Allowance RPC method. */ -export interface QueryAllowanceResponseSDKType { - allowance?: GrantSDKType; -} -/** QueryAllowancesRequest is the request type for the Query/Allowances RPC method. */ -export interface QueryAllowancesRequest { - grantee: string; - /** pagination defines an pagination for the request. */ - pagination?: PageRequest; -} -/** QueryAllowancesRequest is the request type for the Query/Allowances RPC method. */ -export interface QueryAllowancesRequestSDKType { - grantee: string; - pagination?: PageRequestSDKType; -} -/** QueryAllowancesResponse is the response type for the Query/Allowances RPC method. */ -export interface QueryAllowancesResponse { - /** allowances are allowance's granted for grantee by granter. */ - allowances: Grant[]; - /** pagination defines an pagination for the response. */ - pagination?: PageResponse; -} -/** QueryAllowancesResponse is the response type for the Query/Allowances RPC method. */ -export interface QueryAllowancesResponseSDKType { - allowances: GrantSDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryAllowancesByGranterRequest is the request type for the Query/AllowancesByGranter RPC method. */ -export interface QueryAllowancesByGranterRequest { - granter: string; - /** pagination defines an pagination for the request. */ - pagination?: PageRequest; -} -/** QueryAllowancesByGranterRequest is the request type for the Query/AllowancesByGranter RPC method. */ -export interface QueryAllowancesByGranterRequestSDKType { - granter: string; - pagination?: PageRequestSDKType; -} -/** 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; -} -/** QueryAllowancesByGranterResponse is the response type for the Query/AllowancesByGranter RPC method. */ -export interface QueryAllowancesByGranterResponseSDKType { - allowances: GrantSDKType[]; - pagination?: PageResponseSDKType; -} -export declare const QueryAllowanceRequest: { - encode(message: QueryAllowanceRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowanceRequest; - fromPartial(object: DeepPartial): QueryAllowanceRequest; -}; -export declare const QueryAllowanceResponse: { - encode(message: QueryAllowanceResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowanceResponse; - fromPartial(object: DeepPartial): QueryAllowanceResponse; -}; -export declare const QueryAllowancesRequest: { - encode(message: QueryAllowancesRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesRequest; - fromPartial(object: DeepPartial): QueryAllowancesRequest; -}; -export declare const QueryAllowancesResponse: { - encode(message: QueryAllowancesResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesResponse; - fromPartial(object: DeepPartial): QueryAllowancesResponse; -}; -export declare const QueryAllowancesByGranterRequest: { - encode(message: QueryAllowancesByGranterRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesByGranterRequest; - fromPartial(object: DeepPartial): QueryAllowancesByGranterRequest; -}; -export declare const QueryAllowancesByGranterResponse: { - encode(message: QueryAllowancesByGranterResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllowancesByGranterResponse; - fromPartial(object: DeepPartial): QueryAllowancesByGranterResponse; -}; diff --git a/packages/codegen/dist/cosmos/feegrant/v1beta1/query.lcd.d.ts b/packages/codegen/dist/cosmos/feegrant/v1beta1/query.lcd.d.ts deleted file mode 100644 index 7669c054..00000000 --- a/packages/codegen/dist/cosmos/feegrant/v1beta1/query.lcd.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { QueryAllowanceRequest, QueryAllowanceResponseSDKType, QueryAllowancesRequest, QueryAllowancesResponseSDKType, QueryAllowancesByGranterRequest, QueryAllowancesByGranterResponseSDKType } from "./query"; -export declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - allowance(params: QueryAllowanceRequest): Promise; - allowances(params: QueryAllowancesRequest): Promise; - allowancesByGranter(params: QueryAllowancesByGranterRequest): Promise; -} diff --git a/packages/codegen/dist/cosmos/feegrant/v1beta1/query.rpc.Query.d.ts b/packages/codegen/dist/cosmos/feegrant/v1beta1/query.rpc.Query.d.ts deleted file mode 100644 index 07185e44..00000000 --- a/packages/codegen/dist/cosmos/feegrant/v1beta1/query.rpc.Query.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { QueryClient } from "@cosmjs/stargate"; -import { QueryAllowanceRequest, QueryAllowanceResponse, QueryAllowancesRequest, QueryAllowancesResponse, QueryAllowancesByGranterRequest, QueryAllowancesByGranterResponse } from "./query"; -/** Query defines the gRPC querier service. */ -export interface Query { - /** Allowance returns fee granted to the grantee by the granter. */ - allowance(request: QueryAllowanceRequest): Promise; - /** Allowances returns all the grants for address. */ - allowances(request: QueryAllowancesRequest): Promise; - /** - * AllowancesByGranter returns all the grants given by an address - * Since v0.46 - */ - allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: Rpc); - allowance(request: QueryAllowanceRequest): Promise; - allowances(request: QueryAllowancesRequest): Promise; - allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - allowance(request: QueryAllowanceRequest): Promise; - allowances(request: QueryAllowancesRequest): Promise; - allowancesByGranter(request: QueryAllowancesByGranterRequest): Promise; -}; diff --git a/packages/codegen/dist/cosmos/feegrant/v1beta1/tx.d.ts b/packages/codegen/dist/cosmos/feegrant/v1beta1/tx.d.ts deleted file mode 100644 index 9d6ffe92..00000000 --- a/packages/codegen/dist/cosmos/feegrant/v1beta1/tx.d.ts +++ /dev/null @@ -1,68 +0,0 @@ -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../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; -} -/** - * MsgGrantAllowance adds permission for Grantee to spend up to Allowance - * of fees from the account of Granter. - */ -export interface MsgGrantAllowanceSDKType { - granter: string; - grantee: string; - allowance?: AnySDKType; -} -/** 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: string; - grantee: string; -} -/** MsgRevokeAllowanceResponse defines the Msg/RevokeAllowanceResponse response type. */ -export interface MsgRevokeAllowanceResponse { -} -/** MsgRevokeAllowanceResponse defines the Msg/RevokeAllowanceResponse response type. */ -export interface MsgRevokeAllowanceResponseSDKType { -} -export declare const MsgGrantAllowance: { - encode(message: MsgGrantAllowance, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrantAllowance; - fromPartial(object: DeepPartial): MsgGrantAllowance; -}; -export declare const MsgGrantAllowanceResponse: { - encode(_: MsgGrantAllowanceResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgGrantAllowanceResponse; - fromPartial(_: DeepPartial): MsgGrantAllowanceResponse; -}; -export declare const MsgRevokeAllowance: { - encode(message: MsgRevokeAllowance, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevokeAllowance; - fromPartial(object: DeepPartial): MsgRevokeAllowance; -}; -export declare const MsgRevokeAllowanceResponse: { - encode(_: MsgRevokeAllowanceResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgRevokeAllowanceResponse; - fromPartial(_: DeepPartial): MsgRevokeAllowanceResponse; -}; diff --git a/packages/codegen/dist/cosmos/feegrant/v1beta1/tx.rpc.msg.d.ts b/packages/codegen/dist/cosmos/feegrant/v1beta1/tx.rpc.msg.d.ts deleted file mode 100644 index 9ec43a55..00000000 --- a/packages/codegen/dist/cosmos/feegrant/v1beta1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { MsgGrantAllowance, MsgGrantAllowanceResponse, MsgRevokeAllowance, MsgRevokeAllowanceResponse } from "./tx"; -/** Msg defines the feegrant msg service. */ -export interface Msg { - /** - * GrantAllowance grants fee allowance to the grantee on the granter's - * account with the provided expiration time. - */ - grantAllowance(request: MsgGrantAllowance): Promise; - /** - * RevokeAllowance revokes any fee allowance of granter's account that - * has been granted to the grantee. - */ - revokeAllowance(request: MsgRevokeAllowance): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: Rpc); - grantAllowance(request: MsgGrantAllowance): Promise; - revokeAllowance(request: MsgRevokeAllowance): Promise; -} diff --git a/packages/codegen/dist/cosmos/genutil/v1beta1/genesis.d.ts b/packages/codegen/dist/cosmos/genutil/v1beta1/genesis.d.ts deleted file mode 100644 index a501140a..00000000 --- a/packages/codegen/dist/cosmos/genutil/v1beta1/genesis.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../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: Uint8Array[]; -} -export declare const GenesisState: { - encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState; - fromPartial(object: DeepPartial): GenesisState; -}; diff --git a/packages/codegen/dist/cosmos/gov/v1/genesis.d.ts b/packages/codegen/dist/cosmos/gov/v1/genesis.d.ts deleted file mode 100644 index 7d690f57..00000000 --- a/packages/codegen/dist/cosmos/gov/v1/genesis.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -/// -import { Deposit, DepositSDKType, Vote, VoteSDKType, Proposal, ProposalSDKType, DepositParams, DepositParamsSDKType, VotingParams, VotingParamsSDKType, TallyParams, TallyParamsSDKType } from "./gov"; -import { Long, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** GenesisState defines the gov module's genesis state. */ -export interface GenesisState { - /** starting_proposal_id is the ID of the starting proposal. */ - startingProposalId: Long; - /** deposits defines all the deposits present at genesis. */ - deposits: Deposit[]; - /** votes defines all the votes present at genesis. */ - votes: Vote[]; - /** proposals defines all the proposals present at genesis. */ - proposals: Proposal[]; - /** params defines all the paramaters of related to deposit. */ - depositParams?: DepositParams; - /** params defines all the paramaters of related to voting. */ - votingParams?: VotingParams; - /** params defines all the paramaters of related to tally. */ - tallyParams?: TallyParams; -} -/** GenesisState defines the gov module's genesis state. */ -export interface GenesisStateSDKType { - starting_proposal_id: Long; - deposits: DepositSDKType[]; - votes: VoteSDKType[]; - proposals: ProposalSDKType[]; - deposit_params?: DepositParamsSDKType; - voting_params?: VotingParamsSDKType; - tally_params?: TallyParamsSDKType; -} -export declare const GenesisState: { - encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState; - fromPartial(object: DeepPartial): GenesisState; -}; diff --git a/packages/codegen/dist/cosmos/gov/v1/gov.d.ts b/packages/codegen/dist/cosmos/gov/v1/gov.d.ts deleted file mode 100644 index cd18af32..00000000 --- a/packages/codegen/dist/cosmos/gov/v1/gov.d.ts +++ /dev/null @@ -1,237 +0,0 @@ -/// -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import { Duration, DurationSDKType } from "../../../google/protobuf/duration"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, Long } from "../../../helpers"; -/** VoteOption enumerates the valid vote options for a given governance proposal. */ -export declare enum VoteOption { - /** VOTE_OPTION_UNSPECIFIED - VOTE_OPTION_UNSPECIFIED defines a no-op vote option. */ - VOTE_OPTION_UNSPECIFIED = 0, - /** VOTE_OPTION_YES - VOTE_OPTION_YES defines a yes vote option. */ - VOTE_OPTION_YES = 1, - /** VOTE_OPTION_ABSTAIN - VOTE_OPTION_ABSTAIN defines an abstain vote option. */ - VOTE_OPTION_ABSTAIN = 2, - /** VOTE_OPTION_NO - VOTE_OPTION_NO defines a no vote option. */ - VOTE_OPTION_NO = 3, - /** VOTE_OPTION_NO_WITH_VETO - VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. */ - VOTE_OPTION_NO_WITH_VETO = 4, - UNRECOGNIZED = -1 -} -export declare const VoteOptionSDKType: typeof VoteOption; -export declare function voteOptionFromJSON(object: any): VoteOption; -export declare function voteOptionToJSON(object: VoteOption): string; -/** ProposalStatus enumerates the valid statuses of a proposal. */ -export declare enum ProposalStatus { - /** PROPOSAL_STATUS_UNSPECIFIED - PROPOSAL_STATUS_UNSPECIFIED defines the default 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 declare const ProposalStatusSDKType: typeof ProposalStatus; -export declare function proposalStatusFromJSON(object: any): ProposalStatus; -export declare function proposalStatusToJSON(object: ProposalStatus): string; -/** WeightedVoteOption defines a unit of vote for vote split. */ -export interface WeightedVoteOption { - option: VoteOption; - weight: string; -} -/** WeightedVoteOption defines a unit of vote for vote split. */ -export interface WeightedVoteOptionSDKType { - option: VoteOption; - weight: string; -} -/** - * Deposit defines an amount deposited by an account address to an active - * proposal. - */ -export interface Deposit { - proposalId: Long; - depositor: string; - amount: Coin[]; -} -/** - * Deposit defines an amount deposited by an account address to an active - * proposal. - */ -export interface DepositSDKType { - proposal_id: Long; - depositor: string; - amount: CoinSDKType[]; -} -/** Proposal defines the core field members of a governance proposal. */ -export interface Proposal { - id: Long; - messages: Any[]; - status: ProposalStatus; - /** - * final_tally_result is the final tally result of the proposal. When - * querying a proposal via gRPC, this field is not populated until the - * proposal's voting period has ended. - */ - finalTallyResult?: TallyResult; - submitTime?: Date; - depositEndTime?: Date; - totalDeposit: Coin[]; - votingStartTime?: Date; - votingEndTime?: Date; - /** 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: ProposalStatus; - final_tally_result?: TallyResultSDKType; - submit_time?: Date; - deposit_end_time?: Date; - total_deposit: CoinSDKType[]; - voting_start_time?: Date; - voting_end_time?: Date; - 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: 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; -} -/** DepositParams defines the params for deposits on governance proposals. */ -export interface DepositParamsSDKType { - min_deposit: CoinSDKType[]; - max_deposit_period?: DurationSDKType; -} -/** VotingParams defines the params for voting on governance proposals. */ -export interface VotingParams { - /** Length of the voting period. */ - votingPeriod?: Duration; -} -/** VotingParams defines the params for voting on governance proposals. */ -export interface VotingParamsSDKType { - voting_period?: DurationSDKType; -} -/** TallyParams defines the params for tallying votes on governance proposals. */ -export interface TallyParams { - /** - * Minimum percentage of total stake needed to vote for a result to be - * considered valid. - */ - quorum: string; - /** Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. */ - threshold: string; - /** - * Minimum value of Veto votes to Total votes ratio for proposal to be - * vetoed. Default value: 1/3. - */ - vetoThreshold: string; -} -/** TallyParams defines the params for tallying votes on governance proposals. */ -export interface TallyParamsSDKType { - quorum: string; - threshold: string; - veto_threshold: string; -} -export declare const WeightedVoteOption: { - encode(message: WeightedVoteOption, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): WeightedVoteOption; - fromPartial(object: DeepPartial): WeightedVoteOption; -}; -export declare const Deposit: { - encode(message: Deposit, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Deposit; - fromPartial(object: DeepPartial): Deposit; -}; -export declare const Proposal: { - encode(message: Proposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Proposal; - fromPartial(object: DeepPartial): Proposal; -}; -export declare const TallyResult: { - encode(message: TallyResult, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): TallyResult; - fromPartial(object: DeepPartial): TallyResult; -}; -export declare const Vote: { - encode(message: Vote, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Vote; - fromPartial(object: DeepPartial): Vote; -}; -export declare const DepositParams: { - encode(message: DepositParams, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DepositParams; - fromPartial(object: DeepPartial): DepositParams; -}; -export declare const VotingParams: { - encode(message: VotingParams, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): VotingParams; - fromPartial(object: DeepPartial): VotingParams; -}; -export declare const TallyParams: { - encode(message: TallyParams, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): TallyParams; - fromPartial(object: DeepPartial): TallyParams; -}; diff --git a/packages/codegen/dist/cosmos/gov/v1/query.d.ts b/packages/codegen/dist/cosmos/gov/v1/query.d.ts deleted file mode 100644 index 05747b9a..00000000 --- a/packages/codegen/dist/cosmos/gov/v1/query.d.ts +++ /dev/null @@ -1,271 +0,0 @@ -/// -import { ProposalStatus, 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 { Long, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** QueryProposalRequest is the request type for the Query/Proposal RPC method. */ -export interface QueryProposalRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; -} -/** QueryProposalRequest is the request type for the Query/Proposal RPC method. */ -export interface QueryProposalRequestSDKType { - proposal_id: Long; -} -/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ -export interface QueryProposalResponse { - proposal?: Proposal; -} -/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ -export interface QueryProposalResponseSDKType { - proposal?: ProposalSDKType; -} -/** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */ -export interface QueryProposalsRequest { - /** proposal_status defines the status of the proposals. */ - proposalStatus: ProposalStatus; - /** voter defines the voter address for the proposals. */ - voter: string; - /** depositor defines the deposit addresses from the proposals. */ - depositor: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest; -} -/** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */ -export interface QueryProposalsRequestSDKType { - proposal_status: ProposalStatus; - voter: string; - depositor: string; - pagination?: PageRequestSDKType; -} -/** - * QueryProposalsResponse is the response type for the Query/Proposals RPC - * method. - */ -export interface QueryProposalsResponse { - proposals: Proposal[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse; -} -/** - * QueryProposalsResponse is the response type for the Query/Proposals RPC - * method. - */ -export interface QueryProposalsResponseSDKType { - proposals: ProposalSDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryVoteRequest is the request type for the Query/Vote RPC method. */ -export interface QueryVoteRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; - /** voter defines the oter address for the proposals. */ - voter: string; -} -/** QueryVoteRequest is the request type for the Query/Vote RPC method. */ -export interface QueryVoteRequestSDKType { - proposal_id: Long; - voter: string; -} -/** QueryVoteResponse is the response type for the Query/Vote RPC method. */ -export interface QueryVoteResponse { - /** vote defined the queried vote. */ - vote?: Vote; -} -/** QueryVoteResponse is the response type for the Query/Vote RPC method. */ -export interface QueryVoteResponseSDKType { - vote?: VoteSDKType; -} -/** QueryVotesRequest is the request type for the Query/Votes RPC method. */ -export interface QueryVotesRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest; -} -/** QueryVotesRequest is the request type for the Query/Votes RPC method. */ -export interface QueryVotesRequestSDKType { - proposal_id: Long; - pagination?: PageRequestSDKType; -} -/** QueryVotesResponse is the response type for the Query/Votes RPC method. */ -export interface QueryVotesResponse { - /** votes defined the queried votes. */ - votes: Vote[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse; -} -/** QueryVotesResponse is the response type for the Query/Votes RPC method. */ -export interface QueryVotesResponseSDKType { - votes: VoteSDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequest { - /** - * params_type defines which parameters to query for, can be one of "voting", - * "tallying" or "deposit". - */ - paramsType: string; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequestSDKType { - params_type: string; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponse { - /** voting_params defines the parameters related to voting. */ - votingParams?: VotingParams; - /** deposit_params defines the parameters related to deposit. */ - depositParams?: DepositParams; - /** tally_params defines the parameters related to tally. */ - tallyParams?: TallyParams; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseSDKType { - voting_params?: VotingParamsSDKType; - deposit_params?: DepositParamsSDKType; - tally_params?: TallyParamsSDKType; -} -/** QueryDepositRequest is the request type for the Query/Deposit RPC method. */ -export interface QueryDepositRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; - /** depositor defines the deposit addresses from the proposals. */ - depositor: string; -} -/** QueryDepositRequest is the request type for the Query/Deposit RPC method. */ -export interface QueryDepositRequestSDKType { - proposal_id: Long; - depositor: string; -} -/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ -export interface QueryDepositResponse { - /** deposit defines the requested deposit. */ - deposit?: Deposit; -} -/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ -export interface QueryDepositResponseSDKType { - deposit?: DepositSDKType; -} -/** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */ -export interface QueryDepositsRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest; -} -/** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */ -export interface QueryDepositsRequestSDKType { - proposal_id: Long; - pagination?: PageRequestSDKType; -} -/** QueryDepositsResponse is the response type for the Query/Deposits RPC method. */ -export interface QueryDepositsResponse { - deposits: Deposit[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse; -} -/** QueryDepositsResponse is the response type for the Query/Deposits RPC method. */ -export interface QueryDepositsResponseSDKType { - deposits: DepositSDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryTallyResultRequest is the request type for the Query/Tally RPC method. */ -export interface QueryTallyResultRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; -} -/** QueryTallyResultRequest is the request type for the Query/Tally RPC method. */ -export interface QueryTallyResultRequestSDKType { - proposal_id: Long; -} -/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ -export interface QueryTallyResultResponse { - /** tally defines the requested tally. */ - tally?: TallyResult; -} -/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ -export interface QueryTallyResultResponseSDKType { - tally?: TallyResultSDKType; -} -export declare const QueryProposalRequest: { - encode(message: QueryProposalRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalRequest; - fromPartial(object: DeepPartial): QueryProposalRequest; -}; -export declare const QueryProposalResponse: { - encode(message: QueryProposalResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponse; - fromPartial(object: DeepPartial): QueryProposalResponse; -}; -export declare const QueryProposalsRequest: { - encode(message: QueryProposalsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsRequest; - fromPartial(object: DeepPartial): QueryProposalsRequest; -}; -export declare const QueryProposalsResponse: { - encode(message: QueryProposalsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsResponse; - fromPartial(object: DeepPartial): QueryProposalsResponse; -}; -export declare const QueryVoteRequest: { - encode(message: QueryVoteRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteRequest; - fromPartial(object: DeepPartial): QueryVoteRequest; -}; -export declare const QueryVoteResponse: { - encode(message: QueryVoteResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteResponse; - fromPartial(object: DeepPartial): QueryVoteResponse; -}; -export declare const QueryVotesRequest: { - encode(message: QueryVotesRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesRequest; - fromPartial(object: DeepPartial): QueryVotesRequest; -}; -export declare const QueryVotesResponse: { - encode(message: QueryVotesResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesResponse; - fromPartial(object: DeepPartial): QueryVotesResponse; -}; -export declare const QueryParamsRequest: { - encode(message: QueryParamsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest; - fromPartial(object: DeepPartial): QueryParamsRequest; -}; -export declare const QueryParamsResponse: { - encode(message: QueryParamsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse; - fromPartial(object: DeepPartial): QueryParamsResponse; -}; -export declare const QueryDepositRequest: { - encode(message: QueryDepositRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositRequest; - fromPartial(object: DeepPartial): QueryDepositRequest; -}; -export declare const QueryDepositResponse: { - encode(message: QueryDepositResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositResponse; - fromPartial(object: DeepPartial): QueryDepositResponse; -}; -export declare const QueryDepositsRequest: { - encode(message: QueryDepositsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsRequest; - fromPartial(object: DeepPartial): QueryDepositsRequest; -}; -export declare const QueryDepositsResponse: { - encode(message: QueryDepositsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsResponse; - fromPartial(object: DeepPartial): QueryDepositsResponse; -}; -export declare const QueryTallyResultRequest: { - encode(message: QueryTallyResultRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultRequest; - fromPartial(object: DeepPartial): QueryTallyResultRequest; -}; -export declare const QueryTallyResultResponse: { - encode(message: QueryTallyResultResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponse; - fromPartial(object: DeepPartial): QueryTallyResultResponse; -}; diff --git a/packages/codegen/dist/cosmos/gov/v1/query.lcd.d.ts b/packages/codegen/dist/cosmos/gov/v1/query.lcd.d.ts deleted file mode 100644 index 9ce44b6a..00000000 --- a/packages/codegen/dist/cosmos/gov/v1/query.lcd.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { QueryProposalRequest, QueryProposalResponseSDKType, QueryProposalsRequest, QueryProposalsResponseSDKType, QueryVoteRequest, QueryVoteResponseSDKType, QueryVotesRequest, QueryVotesResponseSDKType, QueryParamsRequest, QueryParamsResponseSDKType, QueryDepositRequest, QueryDepositResponseSDKType, QueryDepositsRequest, QueryDepositsResponseSDKType, QueryTallyResultRequest, QueryTallyResultResponseSDKType } from "./query"; -export declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - proposal(params: QueryProposalRequest): Promise; - proposals(params: QueryProposalsRequest): Promise; - vote(params: QueryVoteRequest): Promise; - votes(params: QueryVotesRequest): Promise; - params(params: QueryParamsRequest): Promise; - deposit(params: QueryDepositRequest): Promise; - deposits(params: QueryDepositsRequest): Promise; - tallyResult(params: QueryTallyResultRequest): Promise; -} diff --git a/packages/codegen/dist/cosmos/gov/v1/query.rpc.Query.d.ts b/packages/codegen/dist/cosmos/gov/v1/query.rpc.Query.d.ts deleted file mode 100644 index 8152da58..00000000 --- a/packages/codegen/dist/cosmos/gov/v1/query.rpc.Query.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { QueryClient } from "@cosmjs/stargate"; -import { QueryProposalRequest, QueryProposalResponse, QueryProposalsRequest, QueryProposalsResponse, QueryVoteRequest, QueryVoteResponse, QueryVotesRequest, QueryVotesResponse, QueryParamsRequest, QueryParamsResponse, QueryDepositRequest, QueryDepositResponse, QueryDepositsRequest, QueryDepositsResponse, QueryTallyResultRequest, QueryTallyResultResponse } from "./query"; -/** Query defines the gRPC querier service for gov module */ -export interface Query { - /** Proposal queries proposal details based on ProposalID. */ - proposal(request: QueryProposalRequest): Promise; - /** Proposals queries all proposals based on given status. */ - proposals(request: QueryProposalsRequest): Promise; - /** Vote queries voted information based on proposalID, voterAddr. */ - vote(request: QueryVoteRequest): Promise; - /** Votes queries votes of a given proposal. */ - votes(request: QueryVotesRequest): Promise; - /** Params queries all parameters of the gov module. */ - params(request: QueryParamsRequest): Promise; - /** Deposit queries single deposit information based proposalID, depositAddr. */ - deposit(request: QueryDepositRequest): Promise; - /** Deposits queries all deposits of a single proposal. */ - deposits(request: QueryDepositsRequest): Promise; - /** TallyResult queries the tally of a proposal vote. */ - tallyResult(request: QueryTallyResultRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: Rpc); - proposal(request: QueryProposalRequest): Promise; - proposals(request: QueryProposalsRequest): Promise; - vote(request: QueryVoteRequest): Promise; - votes(request: QueryVotesRequest): Promise; - params(request: QueryParamsRequest): Promise; - deposit(request: QueryDepositRequest): Promise; - deposits(request: QueryDepositsRequest): Promise; - tallyResult(request: QueryTallyResultRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - proposal(request: QueryProposalRequest): Promise; - proposals(request: QueryProposalsRequest): Promise; - vote(request: QueryVoteRequest): Promise; - votes(request: QueryVotesRequest): Promise; - params(request: QueryParamsRequest): Promise; - deposit(request: QueryDepositRequest): Promise; - deposits(request: QueryDepositsRequest): Promise; - tallyResult(request: QueryTallyResultRequest): Promise; -}; diff --git a/packages/codegen/dist/cosmos/gov/v1/tx.d.ts b/packages/codegen/dist/cosmos/gov/v1/tx.d.ts deleted file mode 100644 index 62602193..00000000 --- a/packages/codegen/dist/cosmos/gov/v1/tx.d.ts +++ /dev/null @@ -1,167 +0,0 @@ -/// -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import { VoteOption, WeightedVoteOption, WeightedVoteOptionSDKType } from "./gov"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, 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: 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; - /** 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?: AnySDKType; - 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: VoteOption; - 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 { -} -export declare const MsgSubmitProposal: { - encode(message: MsgSubmitProposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposal; - fromPartial(object: DeepPartial): MsgSubmitProposal; -}; -export declare const MsgSubmitProposalResponse: { - encode(message: MsgSubmitProposalResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponse; - fromPartial(object: DeepPartial): MsgSubmitProposalResponse; -}; -export declare const MsgExecLegacyContent: { - encode(message: MsgExecLegacyContent, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecLegacyContent; - fromPartial(object: DeepPartial): MsgExecLegacyContent; -}; -export declare const MsgExecLegacyContentResponse: { - encode(_: MsgExecLegacyContentResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecLegacyContentResponse; - fromPartial(_: DeepPartial): MsgExecLegacyContentResponse; -}; -export declare const MsgVote: { - encode(message: MsgVote, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVote; - fromPartial(object: DeepPartial): MsgVote; -}; -export declare const MsgVoteResponse: { - encode(_: MsgVoteResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponse; - fromPartial(_: DeepPartial): MsgVoteResponse; -}; -export declare const MsgVoteWeighted: { - encode(message: MsgVoteWeighted, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteWeighted; - fromPartial(object: DeepPartial): MsgVoteWeighted; -}; -export declare const MsgVoteWeightedResponse: { - encode(_: MsgVoteWeightedResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteWeightedResponse; - fromPartial(_: DeepPartial): MsgVoteWeightedResponse; -}; -export declare const MsgDeposit: { - encode(message: MsgDeposit, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgDeposit; - fromPartial(object: DeepPartial): MsgDeposit; -}; -export declare const MsgDepositResponse: { - encode(_: MsgDepositResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgDepositResponse; - fromPartial(_: DeepPartial): MsgDepositResponse; -}; diff --git a/packages/codegen/dist/cosmos/gov/v1/tx.rpc.msg.d.ts b/packages/codegen/dist/cosmos/gov/v1/tx.rpc.msg.d.ts deleted file mode 100644 index 4624c3f7..00000000 --- a/packages/codegen/dist/cosmos/gov/v1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { MsgSubmitProposal, MsgSubmitProposalResponse, MsgExecLegacyContent, MsgExecLegacyContentResponse, MsgVote, MsgVoteResponse, MsgVoteWeighted, MsgVoteWeightedResponse, MsgDeposit, MsgDepositResponse } from "./tx"; -/** Msg defines the gov Msg service. */ -export interface Msg { - /** SubmitProposal defines a method to create new proposal given a content. */ - submitProposal(request: MsgSubmitProposal): Promise; - /** - * ExecLegacyContent defines a Msg to be in included in a MsgSubmitProposal - * to execute a legacy content-based proposal. - */ - execLegacyContent(request: MsgExecLegacyContent): Promise; - /** Vote defines a method to add a vote on a specific proposal. */ - vote(request: MsgVote): Promise; - /** VoteWeighted defines a method to add a weighted vote on a specific proposal. */ - voteWeighted(request: MsgVoteWeighted): Promise; - /** Deposit defines a method to add deposit on a specific proposal. */ - deposit(request: MsgDeposit): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: Rpc); - submitProposal(request: MsgSubmitProposal): Promise; - execLegacyContent(request: MsgExecLegacyContent): Promise; - vote(request: MsgVote): Promise; - voteWeighted(request: MsgVoteWeighted): Promise; - deposit(request: MsgDeposit): Promise; -} diff --git a/packages/codegen/dist/cosmos/gov/v1beta1/genesis.d.ts b/packages/codegen/dist/cosmos/gov/v1beta1/genesis.d.ts deleted file mode 100644 index 7d690f57..00000000 --- a/packages/codegen/dist/cosmos/gov/v1beta1/genesis.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -/// -import { Deposit, DepositSDKType, Vote, VoteSDKType, Proposal, ProposalSDKType, DepositParams, DepositParamsSDKType, VotingParams, VotingParamsSDKType, TallyParams, TallyParamsSDKType } from "./gov"; -import { Long, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** GenesisState defines the gov module's genesis state. */ -export interface GenesisState { - /** starting_proposal_id is the ID of the starting proposal. */ - startingProposalId: Long; - /** deposits defines all the deposits present at genesis. */ - deposits: Deposit[]; - /** votes defines all the votes present at genesis. */ - votes: Vote[]; - /** proposals defines all the proposals present at genesis. */ - proposals: Proposal[]; - /** params defines all the paramaters of related to deposit. */ - depositParams?: DepositParams; - /** params defines all the paramaters of related to voting. */ - votingParams?: VotingParams; - /** params defines all the paramaters of related to tally. */ - tallyParams?: TallyParams; -} -/** GenesisState defines the gov module's genesis state. */ -export interface GenesisStateSDKType { - starting_proposal_id: Long; - deposits: DepositSDKType[]; - votes: VoteSDKType[]; - proposals: ProposalSDKType[]; - deposit_params?: DepositParamsSDKType; - voting_params?: VotingParamsSDKType; - tally_params?: TallyParamsSDKType; -} -export declare const GenesisState: { - encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState; - fromPartial(object: DeepPartial): GenesisState; -}; diff --git a/packages/codegen/dist/cosmos/gov/v1beta1/gov.d.ts b/packages/codegen/dist/cosmos/gov/v1beta1/gov.d.ts deleted file mode 100644 index 6aff75ed..00000000 --- a/packages/codegen/dist/cosmos/gov/v1beta1/gov.d.ts +++ /dev/null @@ -1,270 +0,0 @@ -/// -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import { Duration, DurationSDKType } from "../../../google/protobuf/duration"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, Long } from "../../../helpers"; -/** VoteOption enumerates the valid vote options for a given governance proposal. */ -export declare enum VoteOption { - /** VOTE_OPTION_UNSPECIFIED - VOTE_OPTION_UNSPECIFIED defines a no-op vote option. */ - VOTE_OPTION_UNSPECIFIED = 0, - /** VOTE_OPTION_YES - VOTE_OPTION_YES defines a yes vote option. */ - VOTE_OPTION_YES = 1, - /** VOTE_OPTION_ABSTAIN - VOTE_OPTION_ABSTAIN defines an abstain vote option. */ - VOTE_OPTION_ABSTAIN = 2, - /** VOTE_OPTION_NO - VOTE_OPTION_NO defines a no vote option. */ - VOTE_OPTION_NO = 3, - /** VOTE_OPTION_NO_WITH_VETO - VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. */ - VOTE_OPTION_NO_WITH_VETO = 4, - UNRECOGNIZED = -1 -} -export declare const VoteOptionSDKType: typeof VoteOption; -export declare function voteOptionFromJSON(object: any): VoteOption; -export declare function voteOptionToJSON(object: VoteOption): string; -/** ProposalStatus enumerates the valid statuses of a proposal. */ -export declare enum ProposalStatus { - /** PROPOSAL_STATUS_UNSPECIFIED - PROPOSAL_STATUS_UNSPECIFIED defines the default 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 declare const ProposalStatusSDKType: typeof ProposalStatus; -export declare function proposalStatusFromJSON(object: any): ProposalStatus; -export declare function proposalStatusToJSON(object: ProposalStatus): string; -/** - * WeightedVoteOption defines a unit of vote for vote split. - * - * Since: cosmos-sdk 0.43 - */ -export interface WeightedVoteOption { - option: VoteOption; - weight: string; -} -/** - * WeightedVoteOption defines a unit of vote for vote split. - * - * Since: cosmos-sdk 0.43 - */ -export interface WeightedVoteOptionSDKType { - option: VoteOption; - weight: string; -} -/** - * TextProposal defines a standard text proposal whose changes need to be - * manually updated in case of approval. - */ -export interface TextProposal { - 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; - status: ProposalStatus; - /** - * final_tally_result is the final tally result of the proposal. When - * querying a proposal via gRPC, this field is not populated until the - * proposal's voting period has ended. - */ - finalTallyResult?: TallyResult; - submitTime?: Date; - depositEndTime?: Date; - totalDeposit: Coin[]; - votingStartTime?: Date; - votingEndTime?: Date; -} -/** Proposal defines the core field members of a governance proposal. */ -export interface ProposalSDKType { - proposal_id: Long; - content?: AnySDKType; - status: ProposalStatus; - final_tally_result?: TallyResultSDKType; - submit_time?: Date; - deposit_end_time?: Date; - total_deposit: CoinSDKType[]; - voting_start_time?: Date; - voting_end_time?: Date; -} -/** 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 */ - option: VoteOption; - options: WeightedVoteOptionSDKType[]; -} -/** DepositParams defines the params for deposits on governance proposals. */ -export interface DepositParams { - /** Minimum deposit for a proposal to enter voting period. */ - minDeposit: Coin[]; - /** - * Maximum period for Atom holders to deposit on a proposal. Initial value: 2 - * months. - */ - maxDepositPeriod?: Duration; -} -/** DepositParams defines the params for deposits on governance proposals. */ -export interface DepositParamsSDKType { - min_deposit: CoinSDKType[]; - max_deposit_period?: DurationSDKType; -} -/** VotingParams defines the params for voting on governance proposals. */ -export interface VotingParams { - /** Length of the voting period. */ - votingPeriod?: Duration; -} -/** VotingParams defines the params for voting on governance proposals. */ -export interface VotingParamsSDKType { - voting_period?: DurationSDKType; -} -/** TallyParams defines the params for tallying votes on governance proposals. */ -export interface TallyParams { - /** - * Minimum percentage of total stake needed to vote for a result to be - * considered valid. - */ - quorum: Uint8Array; - /** Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. */ - threshold: Uint8Array; - /** - * Minimum value of Veto votes to Total votes ratio for proposal to be - * vetoed. Default value: 1/3. - */ - vetoThreshold: Uint8Array; -} -/** TallyParams defines the params for tallying votes on governance proposals. */ -export interface TallyParamsSDKType { - quorum: Uint8Array; - threshold: Uint8Array; - veto_threshold: Uint8Array; -} -export declare const WeightedVoteOption: { - encode(message: WeightedVoteOption, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): WeightedVoteOption; - fromPartial(object: DeepPartial): WeightedVoteOption; -}; -export declare const TextProposal: { - encode(message: TextProposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): TextProposal; - fromPartial(object: DeepPartial): TextProposal; -}; -export declare const Deposit: { - encode(message: Deposit, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Deposit; - fromPartial(object: DeepPartial): Deposit; -}; -export declare const Proposal: { - encode(message: Proposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Proposal; - fromPartial(object: DeepPartial): Proposal; -}; -export declare const TallyResult: { - encode(message: TallyResult, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): TallyResult; - fromPartial(object: DeepPartial): TallyResult; -}; -export declare const Vote: { - encode(message: Vote, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Vote; - fromPartial(object: DeepPartial): Vote; -}; -export declare const DepositParams: { - encode(message: DepositParams, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DepositParams; - fromPartial(object: DeepPartial): DepositParams; -}; -export declare const VotingParams: { - encode(message: VotingParams, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): VotingParams; - fromPartial(object: DeepPartial): VotingParams; -}; -export declare const TallyParams: { - encode(message: TallyParams, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): TallyParams; - fromPartial(object: DeepPartial): TallyParams; -}; diff --git a/packages/codegen/dist/cosmos/gov/v1beta1/query.d.ts b/packages/codegen/dist/cosmos/gov/v1beta1/query.d.ts deleted file mode 100644 index 05747b9a..00000000 --- a/packages/codegen/dist/cosmos/gov/v1beta1/query.d.ts +++ /dev/null @@ -1,271 +0,0 @@ -/// -import { ProposalStatus, 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 { Long, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** QueryProposalRequest is the request type for the Query/Proposal RPC method. */ -export interface QueryProposalRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; -} -/** QueryProposalRequest is the request type for the Query/Proposal RPC method. */ -export interface QueryProposalRequestSDKType { - proposal_id: Long; -} -/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ -export interface QueryProposalResponse { - proposal?: Proposal; -} -/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ -export interface QueryProposalResponseSDKType { - proposal?: ProposalSDKType; -} -/** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */ -export interface QueryProposalsRequest { - /** proposal_status defines the status of the proposals. */ - proposalStatus: ProposalStatus; - /** voter defines the voter address for the proposals. */ - voter: string; - /** depositor defines the deposit addresses from the proposals. */ - depositor: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest; -} -/** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */ -export interface QueryProposalsRequestSDKType { - proposal_status: ProposalStatus; - voter: string; - depositor: string; - pagination?: PageRequestSDKType; -} -/** - * QueryProposalsResponse is the response type for the Query/Proposals RPC - * method. - */ -export interface QueryProposalsResponse { - proposals: Proposal[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse; -} -/** - * QueryProposalsResponse is the response type for the Query/Proposals RPC - * method. - */ -export interface QueryProposalsResponseSDKType { - proposals: ProposalSDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryVoteRequest is the request type for the Query/Vote RPC method. */ -export interface QueryVoteRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; - /** voter defines the oter address for the proposals. */ - voter: string; -} -/** QueryVoteRequest is the request type for the Query/Vote RPC method. */ -export interface QueryVoteRequestSDKType { - proposal_id: Long; - voter: string; -} -/** QueryVoteResponse is the response type for the Query/Vote RPC method. */ -export interface QueryVoteResponse { - /** vote defined the queried vote. */ - vote?: Vote; -} -/** QueryVoteResponse is the response type for the Query/Vote RPC method. */ -export interface QueryVoteResponseSDKType { - vote?: VoteSDKType; -} -/** QueryVotesRequest is the request type for the Query/Votes RPC method. */ -export interface QueryVotesRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest; -} -/** QueryVotesRequest is the request type for the Query/Votes RPC method. */ -export interface QueryVotesRequestSDKType { - proposal_id: Long; - pagination?: PageRequestSDKType; -} -/** QueryVotesResponse is the response type for the Query/Votes RPC method. */ -export interface QueryVotesResponse { - /** votes defined the queried votes. */ - votes: Vote[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse; -} -/** QueryVotesResponse is the response type for the Query/Votes RPC method. */ -export interface QueryVotesResponseSDKType { - votes: VoteSDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequest { - /** - * params_type defines which parameters to query for, can be one of "voting", - * "tallying" or "deposit". - */ - paramsType: string; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequestSDKType { - params_type: string; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponse { - /** voting_params defines the parameters related to voting. */ - votingParams?: VotingParams; - /** deposit_params defines the parameters related to deposit. */ - depositParams?: DepositParams; - /** tally_params defines the parameters related to tally. */ - tallyParams?: TallyParams; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseSDKType { - voting_params?: VotingParamsSDKType; - deposit_params?: DepositParamsSDKType; - tally_params?: TallyParamsSDKType; -} -/** QueryDepositRequest is the request type for the Query/Deposit RPC method. */ -export interface QueryDepositRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; - /** depositor defines the deposit addresses from the proposals. */ - depositor: string; -} -/** QueryDepositRequest is the request type for the Query/Deposit RPC method. */ -export interface QueryDepositRequestSDKType { - proposal_id: Long; - depositor: string; -} -/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ -export interface QueryDepositResponse { - /** deposit defines the requested deposit. */ - deposit?: Deposit; -} -/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ -export interface QueryDepositResponseSDKType { - deposit?: DepositSDKType; -} -/** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */ -export interface QueryDepositsRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest; -} -/** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */ -export interface QueryDepositsRequestSDKType { - proposal_id: Long; - pagination?: PageRequestSDKType; -} -/** QueryDepositsResponse is the response type for the Query/Deposits RPC method. */ -export interface QueryDepositsResponse { - deposits: Deposit[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse; -} -/** QueryDepositsResponse is the response type for the Query/Deposits RPC method. */ -export interface QueryDepositsResponseSDKType { - deposits: DepositSDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryTallyResultRequest is the request type for the Query/Tally RPC method. */ -export interface QueryTallyResultRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; -} -/** QueryTallyResultRequest is the request type for the Query/Tally RPC method. */ -export interface QueryTallyResultRequestSDKType { - proposal_id: Long; -} -/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ -export interface QueryTallyResultResponse { - /** tally defines the requested tally. */ - tally?: TallyResult; -} -/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ -export interface QueryTallyResultResponseSDKType { - tally?: TallyResultSDKType; -} -export declare const QueryProposalRequest: { - encode(message: QueryProposalRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalRequest; - fromPartial(object: DeepPartial): QueryProposalRequest; -}; -export declare const QueryProposalResponse: { - encode(message: QueryProposalResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponse; - fromPartial(object: DeepPartial): QueryProposalResponse; -}; -export declare const QueryProposalsRequest: { - encode(message: QueryProposalsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsRequest; - fromPartial(object: DeepPartial): QueryProposalsRequest; -}; -export declare const QueryProposalsResponse: { - encode(message: QueryProposalsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsResponse; - fromPartial(object: DeepPartial): QueryProposalsResponse; -}; -export declare const QueryVoteRequest: { - encode(message: QueryVoteRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteRequest; - fromPartial(object: DeepPartial): QueryVoteRequest; -}; -export declare const QueryVoteResponse: { - encode(message: QueryVoteResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteResponse; - fromPartial(object: DeepPartial): QueryVoteResponse; -}; -export declare const QueryVotesRequest: { - encode(message: QueryVotesRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesRequest; - fromPartial(object: DeepPartial): QueryVotesRequest; -}; -export declare const QueryVotesResponse: { - encode(message: QueryVotesResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesResponse; - fromPartial(object: DeepPartial): QueryVotesResponse; -}; -export declare const QueryParamsRequest: { - encode(message: QueryParamsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest; - fromPartial(object: DeepPartial): QueryParamsRequest; -}; -export declare const QueryParamsResponse: { - encode(message: QueryParamsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse; - fromPartial(object: DeepPartial): QueryParamsResponse; -}; -export declare const QueryDepositRequest: { - encode(message: QueryDepositRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositRequest; - fromPartial(object: DeepPartial): QueryDepositRequest; -}; -export declare const QueryDepositResponse: { - encode(message: QueryDepositResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositResponse; - fromPartial(object: DeepPartial): QueryDepositResponse; -}; -export declare const QueryDepositsRequest: { - encode(message: QueryDepositsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsRequest; - fromPartial(object: DeepPartial): QueryDepositsRequest; -}; -export declare const QueryDepositsResponse: { - encode(message: QueryDepositsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDepositsResponse; - fromPartial(object: DeepPartial): QueryDepositsResponse; -}; -export declare const QueryTallyResultRequest: { - encode(message: QueryTallyResultRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultRequest; - fromPartial(object: DeepPartial): QueryTallyResultRequest; -}; -export declare const QueryTallyResultResponse: { - encode(message: QueryTallyResultResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponse; - fromPartial(object: DeepPartial): QueryTallyResultResponse; -}; diff --git a/packages/codegen/dist/cosmos/gov/v1beta1/query.lcd.d.ts b/packages/codegen/dist/cosmos/gov/v1beta1/query.lcd.d.ts deleted file mode 100644 index 9ce44b6a..00000000 --- a/packages/codegen/dist/cosmos/gov/v1beta1/query.lcd.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { QueryProposalRequest, QueryProposalResponseSDKType, QueryProposalsRequest, QueryProposalsResponseSDKType, QueryVoteRequest, QueryVoteResponseSDKType, QueryVotesRequest, QueryVotesResponseSDKType, QueryParamsRequest, QueryParamsResponseSDKType, QueryDepositRequest, QueryDepositResponseSDKType, QueryDepositsRequest, QueryDepositsResponseSDKType, QueryTallyResultRequest, QueryTallyResultResponseSDKType } from "./query"; -export declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - proposal(params: QueryProposalRequest): Promise; - proposals(params: QueryProposalsRequest): Promise; - vote(params: QueryVoteRequest): Promise; - votes(params: QueryVotesRequest): Promise; - params(params: QueryParamsRequest): Promise; - deposit(params: QueryDepositRequest): Promise; - deposits(params: QueryDepositsRequest): Promise; - tallyResult(params: QueryTallyResultRequest): Promise; -} diff --git a/packages/codegen/dist/cosmos/gov/v1beta1/query.rpc.Query.d.ts b/packages/codegen/dist/cosmos/gov/v1beta1/query.rpc.Query.d.ts deleted file mode 100644 index 8152da58..00000000 --- a/packages/codegen/dist/cosmos/gov/v1beta1/query.rpc.Query.d.ts +++ /dev/null @@ -1,44 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { QueryClient } from "@cosmjs/stargate"; -import { QueryProposalRequest, QueryProposalResponse, QueryProposalsRequest, QueryProposalsResponse, QueryVoteRequest, QueryVoteResponse, QueryVotesRequest, QueryVotesResponse, QueryParamsRequest, QueryParamsResponse, QueryDepositRequest, QueryDepositResponse, QueryDepositsRequest, QueryDepositsResponse, QueryTallyResultRequest, QueryTallyResultResponse } from "./query"; -/** Query defines the gRPC querier service for gov module */ -export interface Query { - /** Proposal queries proposal details based on ProposalID. */ - proposal(request: QueryProposalRequest): Promise; - /** Proposals queries all proposals based on given status. */ - proposals(request: QueryProposalsRequest): Promise; - /** Vote queries voted information based on proposalID, voterAddr. */ - vote(request: QueryVoteRequest): Promise; - /** Votes queries votes of a given proposal. */ - votes(request: QueryVotesRequest): Promise; - /** Params queries all parameters of the gov module. */ - params(request: QueryParamsRequest): Promise; - /** Deposit queries single deposit information based proposalID, depositAddr. */ - deposit(request: QueryDepositRequest): Promise; - /** Deposits queries all deposits of a single proposal. */ - deposits(request: QueryDepositsRequest): Promise; - /** TallyResult queries the tally of a proposal vote. */ - tallyResult(request: QueryTallyResultRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: Rpc); - proposal(request: QueryProposalRequest): Promise; - proposals(request: QueryProposalsRequest): Promise; - vote(request: QueryVoteRequest): Promise; - votes(request: QueryVotesRequest): Promise; - params(request: QueryParamsRequest): Promise; - deposit(request: QueryDepositRequest): Promise; - deposits(request: QueryDepositsRequest): Promise; - tallyResult(request: QueryTallyResultRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - proposal(request: QueryProposalRequest): Promise; - proposals(request: QueryProposalsRequest): Promise; - vote(request: QueryVoteRequest): Promise; - votes(request: QueryVotesRequest): Promise; - params(request: QueryParamsRequest): Promise; - deposit(request: QueryDepositRequest): Promise; - deposits(request: QueryDepositsRequest): Promise; - tallyResult(request: QueryTallyResultRequest): Promise; -}; diff --git a/packages/codegen/dist/cosmos/gov/v1beta1/tx.d.ts b/packages/codegen/dist/cosmos/gov/v1beta1/tx.d.ts deleted file mode 100644 index 588bcdb7..00000000 --- a/packages/codegen/dist/cosmos/gov/v1beta1/tx.d.ts +++ /dev/null @@ -1,142 +0,0 @@ -/// -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import { VoteOption, WeightedVoteOption, WeightedVoteOptionSDKType } from "./gov"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, Long } from "../../../helpers"; -/** - * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary - * proposal Content. - */ -export interface MsgSubmitProposal { - content?: Any; - initialDeposit: Coin[]; - proposer: string; -} -/** - * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary - * proposal Content. - */ -export interface MsgSubmitProposalSDKType { - content?: AnySDKType; - 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: VoteOption; -} -/** 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 { -} -export declare const MsgSubmitProposal: { - encode(message: MsgSubmitProposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposal; - fromPartial(object: DeepPartial): MsgSubmitProposal; -}; -export declare const MsgSubmitProposalResponse: { - encode(message: MsgSubmitProposalResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponse; - fromPartial(object: DeepPartial): MsgSubmitProposalResponse; -}; -export declare const MsgVote: { - encode(message: MsgVote, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVote; - fromPartial(object: DeepPartial): MsgVote; -}; -export declare const MsgVoteResponse: { - encode(_: MsgVoteResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponse; - fromPartial(_: DeepPartial): MsgVoteResponse; -}; -export declare const MsgVoteWeighted: { - encode(message: MsgVoteWeighted, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteWeighted; - fromPartial(object: DeepPartial): MsgVoteWeighted; -}; -export declare const MsgVoteWeightedResponse: { - encode(_: MsgVoteWeightedResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteWeightedResponse; - fromPartial(_: DeepPartial): MsgVoteWeightedResponse; -}; -export declare const MsgDeposit: { - encode(message: MsgDeposit, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgDeposit; - fromPartial(object: DeepPartial): MsgDeposit; -}; -export declare const MsgDepositResponse: { - encode(_: MsgDepositResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgDepositResponse; - fromPartial(_: DeepPartial): MsgDepositResponse; -}; diff --git a/packages/codegen/dist/cosmos/gov/v1beta1/tx.rpc.msg.d.ts b/packages/codegen/dist/cosmos/gov/v1beta1/tx.rpc.msg.d.ts deleted file mode 100644 index 0fc403bc..00000000 --- a/packages/codegen/dist/cosmos/gov/v1beta1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { MsgSubmitProposal, MsgSubmitProposalResponse, MsgVote, MsgVoteResponse, MsgVoteWeighted, MsgVoteWeightedResponse, MsgDeposit, MsgDepositResponse } from "./tx"; -/** Msg defines the bank Msg service. */ -export interface Msg { - /** SubmitProposal defines a method to create new proposal given a content. */ - submitProposal(request: MsgSubmitProposal): Promise; - /** Vote defines a method to add a vote on a specific proposal. */ - vote(request: MsgVote): Promise; - /** - * VoteWeighted defines a method to add a weighted vote on a specific proposal. - * - * Since: cosmos-sdk 0.43 - */ - voteWeighted(request: MsgVoteWeighted): Promise; - /** Deposit defines a method to add deposit on a specific proposal. */ - deposit(request: MsgDeposit): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: Rpc); - submitProposal(request: MsgSubmitProposal): Promise; - vote(request: MsgVote): Promise; - voteWeighted(request: MsgVoteWeighted): Promise; - deposit(request: MsgDeposit): Promise; -} diff --git a/packages/codegen/dist/cosmos/group/v1/events.d.ts b/packages/codegen/dist/cosmos/group/v1/events.d.ts deleted file mode 100644 index f22267e6..00000000 --- a/packages/codegen/dist/cosmos/group/v1/events.d.ts +++ /dev/null @@ -1,136 +0,0 @@ -/// -import { ProposalExecutorResult } from "./types"; -import { Long, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** EventCreateGroup is an event emitted when a group is created. */ -export interface EventCreateGroup { - /** group_id is the unique ID of the group. */ - groupId: Long; -} -/** EventCreateGroup is an event emitted when a group is created. */ -export interface EventCreateGroupSDKType { - group_id: Long; -} -/** EventUpdateGroup is an event emitted when a group is updated. */ -export interface EventUpdateGroup { - /** group_id is the unique ID of the group. */ - groupId: Long; -} -/** EventUpdateGroup is an event emitted when a group is updated. */ -export interface EventUpdateGroupSDKType { - group_id: Long; -} -/** EventCreateGroupPolicy is an event emitted when a group policy is created. */ -export interface EventCreateGroupPolicy { - /** address is the account address of the group policy. */ - address: string; -} -/** EventCreateGroupPolicy is an event emitted when a group policy is created. */ -export interface EventCreateGroupPolicySDKType { - address: string; -} -/** EventUpdateGroupPolicy is an event emitted when a group policy is updated. */ -export interface EventUpdateGroupPolicy { - /** address is the account address of the group policy. */ - address: string; -} -/** EventUpdateGroupPolicy is an event emitted when a group policy is updated. */ -export interface EventUpdateGroupPolicySDKType { - address: string; -} -/** EventSubmitProposal is an event emitted when a proposal is created. */ -export interface EventSubmitProposal { - /** proposal_id is the unique ID of the proposal. */ - proposalId: Long; -} -/** EventSubmitProposal is an event emitted when a proposal is created. */ -export interface EventSubmitProposalSDKType { - proposal_id: Long; -} -/** EventWithdrawProposal is an event emitted when a proposal is withdrawn. */ -export interface EventWithdrawProposal { - /** proposal_id is the unique ID of the proposal. */ - proposalId: Long; -} -/** EventWithdrawProposal is an event emitted when a proposal is withdrawn. */ -export interface EventWithdrawProposalSDKType { - proposal_id: Long; -} -/** EventVote is an event emitted when a voter votes on a proposal. */ -export interface EventVote { - /** proposal_id is the unique ID of the proposal. */ - proposalId: Long; -} -/** EventVote is an event emitted when a voter votes on a proposal. */ -export interface EventVoteSDKType { - proposal_id: Long; -} -/** EventExec is an event emitted when a proposal is executed. */ -export interface EventExec { - /** proposal_id is the unique ID of the proposal. */ - proposalId: Long; - /** result is the proposal execution result. */ - result: ProposalExecutorResult; -} -/** EventExec is an event emitted when a proposal is executed. */ -export interface EventExecSDKType { - proposal_id: Long; - 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; -} -/** EventLeaveGroup is an event emitted when group member leaves the group. */ -export interface EventLeaveGroupSDKType { - group_id: Long; - address: string; -} -export declare const EventCreateGroup: { - encode(message: EventCreateGroup, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventCreateGroup; - fromPartial(object: DeepPartial): EventCreateGroup; -}; -export declare const EventUpdateGroup: { - encode(message: EventUpdateGroup, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventUpdateGroup; - fromPartial(object: DeepPartial): EventUpdateGroup; -}; -export declare const EventCreateGroupPolicy: { - encode(message: EventCreateGroupPolicy, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventCreateGroupPolicy; - fromPartial(object: DeepPartial): EventCreateGroupPolicy; -}; -export declare const EventUpdateGroupPolicy: { - encode(message: EventUpdateGroupPolicy, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventUpdateGroupPolicy; - fromPartial(object: DeepPartial): EventUpdateGroupPolicy; -}; -export declare const EventSubmitProposal: { - encode(message: EventSubmitProposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventSubmitProposal; - fromPartial(object: DeepPartial): EventSubmitProposal; -}; -export declare const EventWithdrawProposal: { - encode(message: EventWithdrawProposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventWithdrawProposal; - fromPartial(object: DeepPartial): EventWithdrawProposal; -}; -export declare const EventVote: { - encode(message: EventVote, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventVote; - fromPartial(object: DeepPartial): EventVote; -}; -export declare const EventExec: { - encode(message: EventExec, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventExec; - fromPartial(object: DeepPartial): EventExec; -}; -export declare const EventLeaveGroup: { - encode(message: EventLeaveGroup, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventLeaveGroup; - fromPartial(object: DeepPartial): EventLeaveGroup; -}; diff --git a/packages/codegen/dist/cosmos/group/v1/genesis.d.ts b/packages/codegen/dist/cosmos/group/v1/genesis.d.ts deleted file mode 100644 index 0d6d55aa..00000000 --- a/packages/codegen/dist/cosmos/group/v1/genesis.d.ts +++ /dev/null @@ -1,48 +0,0 @@ -/// -import { GroupInfo, GroupInfoSDKType, GroupMember, GroupMemberSDKType, GroupPolicyInfo, GroupPolicyInfoSDKType, Proposal, ProposalSDKType, Vote, VoteSDKType } from "./types"; -import { Long, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** GenesisState defines the group module's genesis state. */ -export interface GenesisState { - /** - * group_seq is the group table orm.Sequence, - * it is used to get the next group ID. - */ - groupSeq: Long; - /** groups is the list of groups info. */ - groups: GroupInfo[]; - /** group_members is the list of groups members. */ - groupMembers: GroupMember[]; - /** - * group_policy_seq is the group policy table orm.Sequence, - * it is used to generate the next group policy account address. - */ - groupPolicySeq: Long; - /** group_policies is the list of group policies info. */ - groupPolicies: GroupPolicyInfo[]; - /** - * proposal_seq is the proposal table orm.Sequence, - * it is used to get the next proposal ID. - */ - proposalSeq: Long; - /** proposals is the list of proposals. */ - proposals: Proposal[]; - /** votes is the list of votes. */ - votes: Vote[]; -} -/** GenesisState defines the group module's genesis state. */ -export interface GenesisStateSDKType { - group_seq: Long; - groups: GroupInfoSDKType[]; - group_members: GroupMemberSDKType[]; - group_policy_seq: Long; - group_policies: GroupPolicyInfoSDKType[]; - proposal_seq: Long; - proposals: ProposalSDKType[]; - votes: VoteSDKType[]; -} -export declare const GenesisState: { - encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState; - fromPartial(object: DeepPartial): GenesisState; -}; diff --git a/packages/codegen/dist/cosmos/group/v1/query.d.ts b/packages/codegen/dist/cosmos/group/v1/query.d.ts deleted file mode 100644 index 8f539851..00000000 --- a/packages/codegen/dist/cosmos/group/v1/query.d.ts +++ /dev/null @@ -1,420 +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 { Long, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** QueryGroupInfoRequest is the Query/GroupInfo request type. */ -export interface QueryGroupInfoRequest { - /** group_id is the unique ID of the group. */ - groupId: Long; -} -/** QueryGroupInfoRequest is the Query/GroupInfo request type. */ -export interface QueryGroupInfoRequestSDKType { - group_id: Long; -} -/** QueryGroupInfoResponse is the Query/GroupInfo response type. */ -export interface QueryGroupInfoResponse { - /** info is the GroupInfo for the group. */ - info?: GroupInfo; -} -/** QueryGroupInfoResponse is the Query/GroupInfo response type. */ -export interface QueryGroupInfoResponseSDKType { - info?: GroupInfoSDKType; -} -/** QueryGroupPolicyInfoRequest is the Query/GroupPolicyInfo request type. */ -export interface QueryGroupPolicyInfoRequest { - /** address is the account address of the group policy. */ - address: string; -} -/** QueryGroupPolicyInfoRequest is the Query/GroupPolicyInfo request type. */ -export interface QueryGroupPolicyInfoRequestSDKType { - address: string; -} -/** QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response type. */ -export interface QueryGroupPolicyInfoResponse { - /** info is the GroupPolicyInfo for the group policy. */ - info?: GroupPolicyInfo; -} -/** QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response type. */ -export interface QueryGroupPolicyInfoResponseSDKType { - info?: GroupPolicyInfoSDKType; -} -/** QueryGroupMembersRequest is the Query/GroupMembers request type. */ -export interface QueryGroupMembersRequest { - /** group_id is the unique ID of the group. */ - groupId: Long; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest; -} -/** QueryGroupMembersRequest is the Query/GroupMembers request type. */ -export interface QueryGroupMembersRequestSDKType { - group_id: Long; - pagination?: PageRequestSDKType; -} -/** QueryGroupMembersResponse is the Query/GroupMembersResponse response type. */ -export interface QueryGroupMembersResponse { - /** members are the members of the group with given group_id. */ - members: GroupMember[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse; -} -/** QueryGroupMembersResponse is the Query/GroupMembersResponse response type. */ -export interface QueryGroupMembersResponseSDKType { - members: GroupMemberSDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryGroupsByAdminRequest is the Query/GroupsByAdmin request type. */ -export interface QueryGroupsByAdminRequest { - /** admin is the account address of a group's admin. */ - admin: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest; -} -/** QueryGroupsByAdminRequest is the Query/GroupsByAdmin request type. */ -export interface QueryGroupsByAdminRequestSDKType { - admin: string; - pagination?: PageRequestSDKType; -} -/** QueryGroupsByAdminResponse is the Query/GroupsByAdminResponse response type. */ -export interface QueryGroupsByAdminResponse { - /** groups are the groups info with the provided admin. */ - groups: GroupInfo[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse; -} -/** QueryGroupsByAdminResponse is the Query/GroupsByAdminResponse response type. */ -export interface QueryGroupsByAdminResponseSDKType { - groups: GroupInfoSDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryGroupPoliciesByGroupRequest is the Query/GroupPoliciesByGroup request type. */ -export interface QueryGroupPoliciesByGroupRequest { - /** group_id is the unique ID of the group policy's group. */ - groupId: Long; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest; -} -/** QueryGroupPoliciesByGroupRequest is the Query/GroupPoliciesByGroup request type. */ -export interface QueryGroupPoliciesByGroupRequestSDKType { - group_id: Long; - pagination?: PageRequestSDKType; -} -/** QueryGroupPoliciesByGroupResponse is the Query/GroupPoliciesByGroup response type. */ -export interface QueryGroupPoliciesByGroupResponse { - /** group_policies are the group policies info associated with the provided group. */ - groupPolicies: GroupPolicyInfo[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse; -} -/** QueryGroupPoliciesByGroupResponse is the Query/GroupPoliciesByGroup response type. */ -export interface QueryGroupPoliciesByGroupResponseSDKType { - group_policies: GroupPolicyInfoSDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryGroupPoliciesByAdminRequest is the Query/GroupPoliciesByAdmin request type. */ -export interface QueryGroupPoliciesByAdminRequest { - /** admin is the admin address of the group policy. */ - admin: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest; -} -/** QueryGroupPoliciesByAdminRequest is the Query/GroupPoliciesByAdmin request type. */ -export interface QueryGroupPoliciesByAdminRequestSDKType { - admin: string; - pagination?: PageRequestSDKType; -} -/** QueryGroupPoliciesByAdminResponse is the Query/GroupPoliciesByAdmin response type. */ -export interface QueryGroupPoliciesByAdminResponse { - /** group_policies are the group policies info with provided admin. */ - groupPolicies: GroupPolicyInfo[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse; -} -/** QueryGroupPoliciesByAdminResponse is the Query/GroupPoliciesByAdmin response type. */ -export interface QueryGroupPoliciesByAdminResponseSDKType { - group_policies: GroupPolicyInfoSDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryProposalRequest is the Query/Proposal request type. */ -export interface QueryProposalRequest { - /** proposal_id is the unique ID of a proposal. */ - proposalId: Long; -} -/** QueryProposalRequest is the Query/Proposal request type. */ -export interface QueryProposalRequestSDKType { - proposal_id: Long; -} -/** QueryProposalResponse is the Query/Proposal response type. */ -export interface QueryProposalResponse { - /** proposal is the proposal info. */ - proposal?: Proposal; -} -/** QueryProposalResponse is the Query/Proposal response type. */ -export interface QueryProposalResponseSDKType { - proposal?: ProposalSDKType; -} -/** QueryProposalsByGroupPolicyRequest is the Query/ProposalByGroupPolicy request type. */ -export interface QueryProposalsByGroupPolicyRequest { - /** address is the account address of the group policy related to proposals. */ - address: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest; -} -/** QueryProposalsByGroupPolicyRequest is the Query/ProposalByGroupPolicy request type. */ -export interface QueryProposalsByGroupPolicyRequestSDKType { - address: string; - pagination?: PageRequestSDKType; -} -/** QueryProposalsByGroupPolicyResponse is the Query/ProposalByGroupPolicy response type. */ -export interface QueryProposalsByGroupPolicyResponse { - /** proposals are the proposals with given group policy. */ - proposals: Proposal[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse; -} -/** QueryProposalsByGroupPolicyResponse is the Query/ProposalByGroupPolicy response type. */ -export interface QueryProposalsByGroupPolicyResponseSDKType { - proposals: ProposalSDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryVoteByProposalVoterRequest is the Query/VoteByProposalVoter request type. */ -export interface QueryVoteByProposalVoterRequest { - /** proposal_id is the unique ID of a proposal. */ - proposalId: Long; - /** voter is a proposal voter account address. */ - voter: string; -} -/** QueryVoteByProposalVoterRequest is the Query/VoteByProposalVoter request type. */ -export interface QueryVoteByProposalVoterRequestSDKType { - proposal_id: Long; - voter: string; -} -/** QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter response type. */ -export interface QueryVoteByProposalVoterResponse { - /** vote is the vote with given proposal_id and voter. */ - vote?: Vote; -} -/** QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter response type. */ -export interface QueryVoteByProposalVoterResponseSDKType { - vote?: VoteSDKType; -} -/** QueryVotesByProposalRequest is the Query/VotesByProposal request type. */ -export interface QueryVotesByProposalRequest { - /** proposal_id is the unique ID of a proposal. */ - proposalId: Long; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest; -} -/** QueryVotesByProposalRequest is the Query/VotesByProposal request type. */ -export interface QueryVotesByProposalRequestSDKType { - proposal_id: Long; - pagination?: PageRequestSDKType; -} -/** QueryVotesByProposalResponse is the Query/VotesByProposal response type. */ -export interface QueryVotesByProposalResponse { - /** votes are the list of votes for given proposal_id. */ - votes: Vote[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse; -} -/** QueryVotesByProposalResponse is the Query/VotesByProposal response type. */ -export interface QueryVotesByProposalResponseSDKType { - votes: VoteSDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryVotesByVoterRequest is the Query/VotesByVoter request type. */ -export interface QueryVotesByVoterRequest { - /** voter is a proposal voter account address. */ - voter: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest; -} -/** QueryVotesByVoterRequest is the Query/VotesByVoter request type. */ -export interface QueryVotesByVoterRequestSDKType { - voter: string; - pagination?: PageRequestSDKType; -} -/** QueryVotesByVoterResponse is the Query/VotesByVoter response type. */ -export interface QueryVotesByVoterResponse { - /** votes are the list of votes by given voter. */ - votes: Vote[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse; -} -/** QueryVotesByVoterResponse is the Query/VotesByVoter response type. */ -export interface QueryVotesByVoterResponseSDKType { - votes: VoteSDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryGroupsByMemberRequest is the Query/GroupsByMember request type. */ -export interface QueryGroupsByMemberRequest { - /** address is the group member address. */ - address: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest; -} -/** QueryGroupsByMemberRequest is the Query/GroupsByMember request type. */ -export interface QueryGroupsByMemberRequestSDKType { - address: string; - pagination?: PageRequestSDKType; -} -/** QueryGroupsByMemberResponse is the Query/GroupsByMember response type. */ -export interface QueryGroupsByMemberResponse { - /** groups are the groups info with the provided group member. */ - groups: GroupInfo[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse; -} -/** QueryGroupsByMemberResponse is the Query/GroupsByMember response type. */ -export interface QueryGroupsByMemberResponseSDKType { - groups: GroupInfoSDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryTallyResultRequest is the Query/TallyResult request type. */ -export interface QueryTallyResultRequest { - /** proposal_id is the unique id of a proposal. */ - proposalId: Long; -} -/** QueryTallyResultRequest is the Query/TallyResult request type. */ -export interface QueryTallyResultRequestSDKType { - proposal_id: Long; -} -/** QueryTallyResultResponse is the Query/TallyResult response type. */ -export interface QueryTallyResultResponse { - /** tally defines the requested tally. */ - tally?: TallyResult; -} -/** QueryTallyResultResponse is the Query/TallyResult response type. */ -export interface QueryTallyResultResponseSDKType { - tally?: TallyResultSDKType; -} -export declare const QueryGroupInfoRequest: { - encode(message: QueryGroupInfoRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupInfoRequest; - fromPartial(object: DeepPartial): QueryGroupInfoRequest; -}; -export declare const QueryGroupInfoResponse: { - encode(message: QueryGroupInfoResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupInfoResponse; - fromPartial(object: DeepPartial): QueryGroupInfoResponse; -}; -export declare const QueryGroupPolicyInfoRequest: { - encode(message: QueryGroupPolicyInfoRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPolicyInfoRequest; - fromPartial(object: DeepPartial): QueryGroupPolicyInfoRequest; -}; -export declare const QueryGroupPolicyInfoResponse: { - encode(message: QueryGroupPolicyInfoResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPolicyInfoResponse; - fromPartial(object: DeepPartial): QueryGroupPolicyInfoResponse; -}; -export declare const QueryGroupMembersRequest: { - encode(message: QueryGroupMembersRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupMembersRequest; - fromPartial(object: DeepPartial): QueryGroupMembersRequest; -}; -export declare const QueryGroupMembersResponse: { - encode(message: QueryGroupMembersResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupMembersResponse; - fromPartial(object: DeepPartial): QueryGroupMembersResponse; -}; -export declare const QueryGroupsByAdminRequest: { - encode(message: QueryGroupsByAdminRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupsByAdminRequest; - fromPartial(object: DeepPartial): QueryGroupsByAdminRequest; -}; -export declare const QueryGroupsByAdminResponse: { - encode(message: QueryGroupsByAdminResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupsByAdminResponse; - fromPartial(object: DeepPartial): QueryGroupsByAdminResponse; -}; -export declare const QueryGroupPoliciesByGroupRequest: { - encode(message: QueryGroupPoliciesByGroupRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPoliciesByGroupRequest; - fromPartial(object: DeepPartial): QueryGroupPoliciesByGroupRequest; -}; -export declare const QueryGroupPoliciesByGroupResponse: { - encode(message: QueryGroupPoliciesByGroupResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPoliciesByGroupResponse; - fromPartial(object: DeepPartial): QueryGroupPoliciesByGroupResponse; -}; -export declare const QueryGroupPoliciesByAdminRequest: { - encode(message: QueryGroupPoliciesByAdminRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPoliciesByAdminRequest; - fromPartial(object: DeepPartial): QueryGroupPoliciesByAdminRequest; -}; -export declare const QueryGroupPoliciesByAdminResponse: { - encode(message: QueryGroupPoliciesByAdminResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupPoliciesByAdminResponse; - fromPartial(object: DeepPartial): QueryGroupPoliciesByAdminResponse; -}; -export declare const QueryProposalRequest: { - encode(message: QueryProposalRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalRequest; - fromPartial(object: DeepPartial): QueryProposalRequest; -}; -export declare const QueryProposalResponse: { - encode(message: QueryProposalResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalResponse; - fromPartial(object: DeepPartial): QueryProposalResponse; -}; -export declare const QueryProposalsByGroupPolicyRequest: { - encode(message: QueryProposalsByGroupPolicyRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsByGroupPolicyRequest; - fromPartial(object: DeepPartial): QueryProposalsByGroupPolicyRequest; -}; -export declare const QueryProposalsByGroupPolicyResponse: { - encode(message: QueryProposalsByGroupPolicyResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryProposalsByGroupPolicyResponse; - fromPartial(object: DeepPartial): QueryProposalsByGroupPolicyResponse; -}; -export declare const QueryVoteByProposalVoterRequest: { - encode(message: QueryVoteByProposalVoterRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteByProposalVoterRequest; - fromPartial(object: DeepPartial): QueryVoteByProposalVoterRequest; -}; -export declare const QueryVoteByProposalVoterResponse: { - encode(message: QueryVoteByProposalVoterResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVoteByProposalVoterResponse; - fromPartial(object: DeepPartial): QueryVoteByProposalVoterResponse; -}; -export declare const QueryVotesByProposalRequest: { - encode(message: QueryVotesByProposalRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesByProposalRequest; - fromPartial(object: DeepPartial): QueryVotesByProposalRequest; -}; -export declare const QueryVotesByProposalResponse: { - encode(message: QueryVotesByProposalResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesByProposalResponse; - fromPartial(object: DeepPartial): QueryVotesByProposalResponse; -}; -export declare const QueryVotesByVoterRequest: { - encode(message: QueryVotesByVoterRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesByVoterRequest; - fromPartial(object: DeepPartial): QueryVotesByVoterRequest; -}; -export declare const QueryVotesByVoterResponse: { - encode(message: QueryVotesByVoterResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryVotesByVoterResponse; - fromPartial(object: DeepPartial): QueryVotesByVoterResponse; -}; -export declare const QueryGroupsByMemberRequest: { - encode(message: QueryGroupsByMemberRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupsByMemberRequest; - fromPartial(object: DeepPartial): QueryGroupsByMemberRequest; -}; -export declare const QueryGroupsByMemberResponse: { - encode(message: QueryGroupsByMemberResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryGroupsByMemberResponse; - fromPartial(object: DeepPartial): QueryGroupsByMemberResponse; -}; -export declare const QueryTallyResultRequest: { - encode(message: QueryTallyResultRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultRequest; - fromPartial(object: DeepPartial): QueryTallyResultRequest; -}; -export declare const QueryTallyResultResponse: { - encode(message: QueryTallyResultResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryTallyResultResponse; - fromPartial(object: DeepPartial): QueryTallyResultResponse; -}; diff --git a/packages/codegen/dist/cosmos/group/v1/query.lcd.d.ts b/packages/codegen/dist/cosmos/group/v1/query.lcd.d.ts deleted file mode 100644 index eb9b1ffe..00000000 --- a/packages/codegen/dist/cosmos/group/v1/query.lcd.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { QueryGroupInfoRequest, QueryGroupInfoResponseSDKType, QueryGroupPolicyInfoRequest, QueryGroupPolicyInfoResponseSDKType, QueryGroupMembersRequest, QueryGroupMembersResponseSDKType, QueryGroupsByAdminRequest, QueryGroupsByAdminResponseSDKType, QueryGroupPoliciesByGroupRequest, QueryGroupPoliciesByGroupResponseSDKType, QueryGroupPoliciesByAdminRequest, QueryGroupPoliciesByAdminResponseSDKType, QueryProposalRequest, QueryProposalResponseSDKType, QueryProposalsByGroupPolicyRequest, QueryProposalsByGroupPolicyResponseSDKType, QueryVoteByProposalVoterRequest, QueryVoteByProposalVoterResponseSDKType, QueryVotesByProposalRequest, QueryVotesByProposalResponseSDKType, QueryVotesByVoterRequest, QueryVotesByVoterResponseSDKType, QueryGroupsByMemberRequest, QueryGroupsByMemberResponseSDKType, QueryTallyResultRequest, QueryTallyResultResponseSDKType } from "./query"; -export declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - groupInfo(params: QueryGroupInfoRequest): Promise; - groupPolicyInfo(params: QueryGroupPolicyInfoRequest): Promise; - groupMembers(params: QueryGroupMembersRequest): Promise; - groupsByAdmin(params: QueryGroupsByAdminRequest): Promise; - groupPoliciesByGroup(params: QueryGroupPoliciesByGroupRequest): Promise; - groupPoliciesByAdmin(params: QueryGroupPoliciesByAdminRequest): Promise; - proposal(params: QueryProposalRequest): Promise; - proposalsByGroupPolicy(params: QueryProposalsByGroupPolicyRequest): Promise; - voteByProposalVoter(params: QueryVoteByProposalVoterRequest): Promise; - votesByProposal(params: QueryVotesByProposalRequest): Promise; - votesByVoter(params: QueryVotesByVoterRequest): Promise; - groupsByMember(params: QueryGroupsByMemberRequest): Promise; - tallyResult(params: QueryTallyResultRequest): Promise; -} diff --git a/packages/codegen/dist/cosmos/group/v1/query.rpc.Query.d.ts b/packages/codegen/dist/cosmos/group/v1/query.rpc.Query.d.ts deleted file mode 100644 index 2be3770a..00000000 --- a/packages/codegen/dist/cosmos/group/v1/query.rpc.Query.d.ts +++ /dev/null @@ -1,64 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { QueryClient } from "@cosmjs/stargate"; -import { QueryGroupInfoRequest, QueryGroupInfoResponse, QueryGroupPolicyInfoRequest, QueryGroupPolicyInfoResponse, QueryGroupMembersRequest, QueryGroupMembersResponse, QueryGroupsByAdminRequest, QueryGroupsByAdminResponse, QueryGroupPoliciesByGroupRequest, QueryGroupPoliciesByGroupResponse, QueryGroupPoliciesByAdminRequest, QueryGroupPoliciesByAdminResponse, QueryProposalRequest, QueryProposalResponse, QueryProposalsByGroupPolicyRequest, QueryProposalsByGroupPolicyResponse, QueryVoteByProposalVoterRequest, QueryVoteByProposalVoterResponse, QueryVotesByProposalRequest, QueryVotesByProposalResponse, QueryVotesByVoterRequest, QueryVotesByVoterResponse, QueryGroupsByMemberRequest, QueryGroupsByMemberResponse, QueryTallyResultRequest, QueryTallyResultResponse } from "./query"; -/** Query is the cosmos.group.v1 Query service. */ -export interface Query { - /** GroupInfo queries group info based on group id. */ - groupInfo(request: QueryGroupInfoRequest): Promise; - /** GroupPolicyInfo queries group policy info based on account address of group policy. */ - groupPolicyInfo(request: QueryGroupPolicyInfoRequest): Promise; - /** GroupMembers queries members of a group */ - groupMembers(request: QueryGroupMembersRequest): Promise; - /** GroupsByAdmin queries groups by admin address. */ - groupsByAdmin(request: QueryGroupsByAdminRequest): Promise; - /** GroupPoliciesByGroup queries group policies by group id. */ - groupPoliciesByGroup(request: QueryGroupPoliciesByGroupRequest): Promise; - /** GroupsByAdmin queries group policies by admin address. */ - groupPoliciesByAdmin(request: QueryGroupPoliciesByAdminRequest): Promise; - /** Proposal queries a proposal based on proposal id. */ - proposal(request: QueryProposalRequest): Promise; - /** ProposalsByGroupPolicy queries proposals based on account address of group policy. */ - proposalsByGroupPolicy(request: QueryProposalsByGroupPolicyRequest): Promise; - /** VoteByProposalVoter queries a vote by proposal id and voter. */ - voteByProposalVoter(request: QueryVoteByProposalVoterRequest): Promise; - /** VotesByProposal queries a vote by proposal. */ - votesByProposal(request: QueryVotesByProposalRequest): Promise; - /** VotesByVoter queries a vote by voter. */ - votesByVoter(request: QueryVotesByVoterRequest): Promise; - /** GroupsByMember queries groups by member address. */ - groupsByMember(request: QueryGroupsByMemberRequest): Promise; - /** TallyResult queries the tally of a proposal votes. */ - tallyResult(request: QueryTallyResultRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: Rpc); - groupInfo(request: QueryGroupInfoRequest): Promise; - groupPolicyInfo(request: QueryGroupPolicyInfoRequest): Promise; - groupMembers(request: QueryGroupMembersRequest): Promise; - groupsByAdmin(request: QueryGroupsByAdminRequest): Promise; - groupPoliciesByGroup(request: QueryGroupPoliciesByGroupRequest): Promise; - groupPoliciesByAdmin(request: QueryGroupPoliciesByAdminRequest): Promise; - proposal(request: QueryProposalRequest): Promise; - proposalsByGroupPolicy(request: QueryProposalsByGroupPolicyRequest): Promise; - voteByProposalVoter(request: QueryVoteByProposalVoterRequest): Promise; - votesByProposal(request: QueryVotesByProposalRequest): Promise; - votesByVoter(request: QueryVotesByVoterRequest): Promise; - groupsByMember(request: QueryGroupsByMemberRequest): Promise; - tallyResult(request: QueryTallyResultRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - groupInfo(request: QueryGroupInfoRequest): Promise; - groupPolicyInfo(request: QueryGroupPolicyInfoRequest): Promise; - groupMembers(request: QueryGroupMembersRequest): Promise; - groupsByAdmin(request: QueryGroupsByAdminRequest): Promise; - groupPoliciesByGroup(request: QueryGroupPoliciesByGroupRequest): Promise; - groupPoliciesByAdmin(request: QueryGroupPoliciesByAdminRequest): Promise; - proposal(request: QueryProposalRequest): Promise; - proposalsByGroupPolicy(request: QueryProposalsByGroupPolicyRequest): Promise; - voteByProposalVoter(request: QueryVoteByProposalVoterRequest): Promise; - votesByProposal(request: QueryVotesByProposalRequest): Promise; - votesByVoter(request: QueryVotesByVoterRequest): Promise; - groupsByMember(request: QueryGroupsByMemberRequest): Promise; - tallyResult(request: QueryTallyResultRequest): Promise; -}; diff --git a/packages/codegen/dist/cosmos/group/v1/tx.d.ts b/packages/codegen/dist/cosmos/group/v1/tx.d.ts deleted file mode 100644 index 325a8757..00000000 --- a/packages/codegen/dist/cosmos/group/v1/tx.d.ts +++ /dev/null @@ -1,501 +0,0 @@ -/// -import { Member, MemberSDKType, VoteOption } from "./types"; -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, Long } from "../../../helpers"; -/** Exec defines modes of execution of a proposal on creation or on new vote. */ -export declare enum Exec { - /** - * EXEC_UNSPECIFIED - An empty value means that there should be a separate - * MsgExec request for the proposal to execute. - */ - EXEC_UNSPECIFIED = 0, - /** - * EXEC_TRY - Try to execute the proposal immediately. - * If the proposal is not allowed per the DecisionPolicy, - * the proposal will still be open and could - * be executed at a later point. - */ - EXEC_TRY = 1, - UNRECOGNIZED = -1 -} -export declare const ExecSDKType: typeof Exec; -export declare function execFromJSON(object: any): Exec; -export declare function execToJSON(object: Exec): string; -/** MsgCreateGroup is the Msg/CreateGroup request type. */ -export interface MsgCreateGroup { - /** admin is the account address of the group admin. */ - admin: string; - /** members defines the group members. */ - members: Member[]; - /** metadata is any arbitrary metadata to attached to the group. */ - metadata: string; -} -/** MsgCreateGroup is the Msg/CreateGroup request type. */ -export interface MsgCreateGroupSDKType { - admin: string; - members: MemberSDKType[]; - 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: 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: string; - group_id: Long; - 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: string; - group_id: Long; - 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: string; - group_id: Long; - 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; -} -/** MsgCreateGroupPolicy is the Msg/CreateGroupPolicy request type. */ -export interface MsgCreateGroupPolicySDKType { - admin: string; - group_id: Long; - metadata: string; - decision_policy?: AnySDKType; -} -/** 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: 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: string; - address: string; - 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; -} -/** MsgCreateGroupWithPolicy is the Msg/CreateGroupWithPolicy request type. */ -export interface MsgCreateGroupWithPolicySDKType { - admin: string; - members: MemberSDKType[]; - group_metadata: string; - group_policy_metadata: string; - group_policy_as_admin: boolean; - decision_policy?: AnySDKType; -} -/** 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: Long; - 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; -} -/** MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type. */ -export interface MsgUpdateGroupPolicyDecisionPolicySDKType { - admin: string; - address: string; - decision_policy?: AnySDKType; -} -/** 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: string; - address: string; - 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: string; - proposers: string[]; - metadata: string; - messages: AnySDKType[]; - exec: Exec; -} -/** MsgSubmitProposalResponse is the Msg/SubmitProposal response type. */ -export interface MsgSubmitProposalResponse { - /** proposal is the unique ID of the proposal. */ - proposalId: Long; -} -/** MsgSubmitProposalResponse is the Msg/SubmitProposal response type. */ -export interface MsgSubmitProposalResponseSDKType { - proposal_id: Long; -} -/** MsgWithdrawProposal is the Msg/WithdrawProposal request type. */ -export interface MsgWithdrawProposal { - /** proposal is the unique ID of the proposal. */ - proposalId: Long; - /** address is the admin of the group policy or one of the proposer of the proposal. */ - address: string; -} -/** MsgWithdrawProposal is the Msg/WithdrawProposal request type. */ -export interface MsgWithdrawProposalSDKType { - proposal_id: Long; - address: string; -} -/** MsgWithdrawProposalResponse is the Msg/WithdrawProposal response type. */ -export interface MsgWithdrawProposalResponse { -} -/** 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_id: Long; - voter: string; - option: VoteOption; - metadata: string; - exec: Exec; -} -/** 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_id: Long; - 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: string; - group_id: Long; -} -/** MsgLeaveGroupResponse is the Msg/LeaveGroup response type. */ -export interface MsgLeaveGroupResponse { -} -/** MsgLeaveGroupResponse is the Msg/LeaveGroup response type. */ -export interface MsgLeaveGroupResponseSDKType { -} -export declare const MsgCreateGroup: { - encode(message: MsgCreateGroup, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroup; - fromPartial(object: DeepPartial): MsgCreateGroup; -}; -export declare const MsgCreateGroupResponse: { - encode(message: MsgCreateGroupResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupResponse; - fromPartial(object: DeepPartial): MsgCreateGroupResponse; -}; -export declare const MsgUpdateGroupMembers: { - encode(message: MsgUpdateGroupMembers, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMembers; - fromPartial(object: DeepPartial): MsgUpdateGroupMembers; -}; -export declare const MsgUpdateGroupMembersResponse: { - encode(_: MsgUpdateGroupMembersResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMembersResponse; - fromPartial(_: DeepPartial): MsgUpdateGroupMembersResponse; -}; -export declare const MsgUpdateGroupAdmin: { - encode(message: MsgUpdateGroupAdmin, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupAdmin; - fromPartial(object: DeepPartial): MsgUpdateGroupAdmin; -}; -export declare const MsgUpdateGroupAdminResponse: { - encode(_: MsgUpdateGroupAdminResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupAdminResponse; - fromPartial(_: DeepPartial): MsgUpdateGroupAdminResponse; -}; -export declare const MsgUpdateGroupMetadata: { - encode(message: MsgUpdateGroupMetadata, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMetadata; - fromPartial(object: DeepPartial): MsgUpdateGroupMetadata; -}; -export declare const MsgUpdateGroupMetadataResponse: { - encode(_: MsgUpdateGroupMetadataResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupMetadataResponse; - fromPartial(_: DeepPartial): MsgUpdateGroupMetadataResponse; -}; -export declare const MsgCreateGroupPolicy: { - encode(message: MsgCreateGroupPolicy, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupPolicy; - fromPartial(object: DeepPartial): MsgCreateGroupPolicy; -}; -export declare const MsgCreateGroupPolicyResponse: { - encode(message: MsgCreateGroupPolicyResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupPolicyResponse; - fromPartial(object: DeepPartial): MsgCreateGroupPolicyResponse; -}; -export declare const MsgUpdateGroupPolicyAdmin: { - encode(message: MsgUpdateGroupPolicyAdmin, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyAdmin; - fromPartial(object: DeepPartial): MsgUpdateGroupPolicyAdmin; -}; -export declare const MsgCreateGroupWithPolicy: { - encode(message: MsgCreateGroupWithPolicy, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupWithPolicy; - fromPartial(object: DeepPartial): MsgCreateGroupWithPolicy; -}; -export declare const MsgCreateGroupWithPolicyResponse: { - encode(message: MsgCreateGroupWithPolicyResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateGroupWithPolicyResponse; - fromPartial(object: DeepPartial): MsgCreateGroupWithPolicyResponse; -}; -export declare const MsgUpdateGroupPolicyAdminResponse: { - encode(_: MsgUpdateGroupPolicyAdminResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyAdminResponse; - fromPartial(_: DeepPartial): MsgUpdateGroupPolicyAdminResponse; -}; -export declare const MsgUpdateGroupPolicyDecisionPolicy: { - encode(message: MsgUpdateGroupPolicyDecisionPolicy, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyDecisionPolicy; - fromPartial(object: DeepPartial): MsgUpdateGroupPolicyDecisionPolicy; -}; -export declare const MsgUpdateGroupPolicyDecisionPolicyResponse: { - encode(_: MsgUpdateGroupPolicyDecisionPolicyResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyDecisionPolicyResponse; - fromPartial(_: DeepPartial): MsgUpdateGroupPolicyDecisionPolicyResponse; -}; -export declare const MsgUpdateGroupPolicyMetadata: { - encode(message: MsgUpdateGroupPolicyMetadata, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyMetadata; - fromPartial(object: DeepPartial): MsgUpdateGroupPolicyMetadata; -}; -export declare const MsgUpdateGroupPolicyMetadataResponse: { - encode(_: MsgUpdateGroupPolicyMetadataResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateGroupPolicyMetadataResponse; - fromPartial(_: DeepPartial): MsgUpdateGroupPolicyMetadataResponse; -}; -export declare const MsgSubmitProposal: { - encode(message: MsgSubmitProposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposal; - fromPartial(object: DeepPartial): MsgSubmitProposal; -}; -export declare const MsgSubmitProposalResponse: { - encode(message: MsgSubmitProposalResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitProposalResponse; - fromPartial(object: DeepPartial): MsgSubmitProposalResponse; -}; -export declare const MsgWithdrawProposal: { - encode(message: MsgWithdrawProposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawProposal; - fromPartial(object: DeepPartial): MsgWithdrawProposal; -}; -export declare const MsgWithdrawProposalResponse: { - encode(_: MsgWithdrawProposalResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgWithdrawProposalResponse; - fromPartial(_: DeepPartial): MsgWithdrawProposalResponse; -}; -export declare const MsgVote: { - encode(message: MsgVote, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVote; - fromPartial(object: DeepPartial): MsgVote; -}; -export declare const MsgVoteResponse: { - encode(_: MsgVoteResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgVoteResponse; - fromPartial(_: DeepPartial): MsgVoteResponse; -}; -export declare const MsgExec: { - encode(message: MsgExec, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgExec; - fromPartial(object: DeepPartial): MsgExec; -}; -export declare const MsgExecResponse: { - encode(_: MsgExecResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecResponse; - fromPartial(_: DeepPartial): MsgExecResponse; -}; -export declare const MsgLeaveGroup: { - encode(message: MsgLeaveGroup, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgLeaveGroup; - fromPartial(object: DeepPartial): MsgLeaveGroup; -}; -export declare const MsgLeaveGroupResponse: { - encode(_: MsgLeaveGroupResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgLeaveGroupResponse; - fromPartial(_: DeepPartial): MsgLeaveGroupResponse; -}; diff --git a/packages/codegen/dist/cosmos/group/v1/tx.rpc.msg.d.ts b/packages/codegen/dist/cosmos/group/v1/tx.rpc.msg.d.ts deleted file mode 100644 index 35c3e2a9..00000000 --- a/packages/codegen/dist/cosmos/group/v1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,51 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { MsgCreateGroup, MsgCreateGroupResponse, MsgUpdateGroupMembers, MsgUpdateGroupMembersResponse, MsgUpdateGroupAdmin, MsgUpdateGroupAdminResponse, MsgUpdateGroupMetadata, MsgUpdateGroupMetadataResponse, MsgCreateGroupPolicy, MsgCreateGroupPolicyResponse, MsgCreateGroupWithPolicy, MsgCreateGroupWithPolicyResponse, MsgUpdateGroupPolicyAdmin, MsgUpdateGroupPolicyAdminResponse, MsgUpdateGroupPolicyDecisionPolicy, MsgUpdateGroupPolicyDecisionPolicyResponse, MsgUpdateGroupPolicyMetadata, MsgUpdateGroupPolicyMetadataResponse, MsgSubmitProposal, MsgSubmitProposalResponse, MsgWithdrawProposal, MsgWithdrawProposalResponse, MsgVote, MsgVoteResponse, MsgExec, MsgExecResponse, MsgLeaveGroup, MsgLeaveGroupResponse } from "./tx"; -/** Msg is the cosmos.group.v1 Msg service. */ -export interface Msg { - /** CreateGroup creates a new group with an admin account address, a list of members and some optional metadata. */ - createGroup(request: MsgCreateGroup): Promise; - /** UpdateGroupMembers updates the group members with given group id and admin address. */ - updateGroupMembers(request: MsgUpdateGroupMembers): Promise; - /** UpdateGroupAdmin updates the group admin with given group id and previous admin address. */ - updateGroupAdmin(request: MsgUpdateGroupAdmin): Promise; - /** UpdateGroupMetadata updates the group metadata with given group id and admin address. */ - updateGroupMetadata(request: MsgUpdateGroupMetadata): Promise; - /** CreateGroupPolicy creates a new group policy using given DecisionPolicy. */ - createGroupPolicy(request: MsgCreateGroupPolicy): Promise; - /** CreateGroupWithPolicy creates a new group with policy. */ - createGroupWithPolicy(request: MsgCreateGroupWithPolicy): Promise; - /** UpdateGroupPolicyAdmin updates a group policy admin. */ - updateGroupPolicyAdmin(request: MsgUpdateGroupPolicyAdmin): Promise; - /** UpdateGroupPolicyDecisionPolicy allows a group policy's decision policy to be updated. */ - updateGroupPolicyDecisionPolicy(request: MsgUpdateGroupPolicyDecisionPolicy): Promise; - /** UpdateGroupPolicyMetadata updates a group policy metadata. */ - updateGroupPolicyMetadata(request: MsgUpdateGroupPolicyMetadata): Promise; - /** SubmitProposal submits a new proposal. */ - submitProposal(request: MsgSubmitProposal): Promise; - /** WithdrawProposal 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 declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: Rpc); - createGroup(request: MsgCreateGroup): Promise; - updateGroupMembers(request: MsgUpdateGroupMembers): Promise; - updateGroupAdmin(request: MsgUpdateGroupAdmin): Promise; - updateGroupMetadata(request: MsgUpdateGroupMetadata): Promise; - createGroupPolicy(request: MsgCreateGroupPolicy): Promise; - createGroupWithPolicy(request: MsgCreateGroupWithPolicy): Promise; - updateGroupPolicyAdmin(request: MsgUpdateGroupPolicyAdmin): Promise; - updateGroupPolicyDecisionPolicy(request: MsgUpdateGroupPolicyDecisionPolicy): Promise; - updateGroupPolicyMetadata(request: MsgUpdateGroupPolicyMetadata): Promise; - submitProposal(request: MsgSubmitProposal): Promise; - withdrawProposal(request: MsgWithdrawProposal): Promise; - vote(request: MsgVote): Promise; - exec(request: MsgExec): Promise; - leaveGroup(request: MsgLeaveGroup): Promise; -} diff --git a/packages/codegen/dist/cosmos/group/v1/types.d.ts b/packages/codegen/dist/cosmos/group/v1/types.d.ts deleted file mode 100644 index 236c0278..00000000 --- a/packages/codegen/dist/cosmos/group/v1/types.d.ts +++ /dev/null @@ -1,396 +0,0 @@ -/// -import { Duration, DurationSDKType } from "../../../google/protobuf/duration"; -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, Long } from "../../../helpers"; -/** VoteOption enumerates the valid vote options for a given proposal. */ -export declare enum VoteOption { - /** VOTE_OPTION_UNSPECIFIED - VOTE_OPTION_UNSPECIFIED defines a no-op vote option. */ - VOTE_OPTION_UNSPECIFIED = 0, - /** VOTE_OPTION_YES - VOTE_OPTION_YES defines a yes vote option. */ - VOTE_OPTION_YES = 1, - /** VOTE_OPTION_ABSTAIN - VOTE_OPTION_ABSTAIN defines an abstain vote option. */ - VOTE_OPTION_ABSTAIN = 2, - /** VOTE_OPTION_NO - VOTE_OPTION_NO defines a no vote option. */ - VOTE_OPTION_NO = 3, - /** VOTE_OPTION_NO_WITH_VETO - VOTE_OPTION_NO_WITH_VETO defines a no with veto vote option. */ - VOTE_OPTION_NO_WITH_VETO = 4, - UNRECOGNIZED = -1 -} -export declare const VoteOptionSDKType: typeof VoteOption; -export declare function voteOptionFromJSON(object: any): VoteOption; -export declare function voteOptionToJSON(object: VoteOption): string; -/** ProposalStatus defines proposal statuses. */ -export declare enum ProposalStatus { - /** PROPOSAL_STATUS_UNSPECIFIED - An empty value is invalid and not allowed. */ - PROPOSAL_STATUS_UNSPECIFIED = 0, - /** PROPOSAL_STATUS_SUBMITTED - Initial status of a proposal when 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 declare const ProposalStatusSDKType: typeof ProposalStatus; -export declare function proposalStatusFromJSON(object: any): ProposalStatus; -export declare function proposalStatusToJSON(object: ProposalStatus): string; -/** ProposalResult defines types of proposal results. */ -export declare 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 declare const ProposalResultSDKType: typeof ProposalResult; -export declare function proposalResultFromJSON(object: any): ProposalResult; -export declare function proposalResultToJSON(object: ProposalResult): string; -/** ProposalExecutorResult defines types of proposal executor results. */ -export declare enum ProposalExecutorResult { - /** PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED - An empty value is not allowed. */ - PROPOSAL_EXECUTOR_RESULT_UNSPECIFIED = 0, - /** PROPOSAL_EXECUTOR_RESULT_NOT_RUN - We have not yet run the executor. */ - PROPOSAL_EXECUTOR_RESULT_NOT_RUN = 1, - /** PROPOSAL_EXECUTOR_RESULT_SUCCESS - The executor was successful and proposed action updated state. */ - PROPOSAL_EXECUTOR_RESULT_SUCCESS = 2, - /** PROPOSAL_EXECUTOR_RESULT_FAILURE - The executor returned an error and proposed action didn't update state. */ - PROPOSAL_EXECUTOR_RESULT_FAILURE = 3, - UNRECOGNIZED = -1 -} -export declare const ProposalExecutorResultSDKType: typeof ProposalExecutorResult; -export declare function proposalExecutorResultFromJSON(object: any): ProposalExecutorResult; -export declare function proposalExecutorResultToJSON(object: ProposalExecutorResult): string; -/** - * 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; -} -/** - * Member represents a group member with an account address, - * non-zero weight and metadata. - */ -export interface MemberSDKType { - address: string; - weight: string; - metadata: string; - added_at?: Date; -} -/** 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: 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; -} -/** ThresholdDecisionPolicy implements the DecisionPolicy interface */ -export interface ThresholdDecisionPolicySDKType { - threshold: string; - windows?: DecisionPolicyWindowsSDKType; -} -/** 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; -} -/** PercentageDecisionPolicy implements the DecisionPolicy interface */ -export interface PercentageDecisionPolicySDKType { - percentage: string; - windows?: DecisionPolicyWindowsSDKType; -} -/** DecisionPolicyWindows defines the different windows for voting and execution. */ -export interface DecisionPolicyWindows { - /** - * voting_period is the duration from submission of a proposal to the end of voting period - * Within this times votes can be submitted with MsgVote. - */ - votingPeriod?: Duration; - /** - * min_execution_period is the minimum duration after the proposal submission - * where members can start sending MsgExec. This means that the window for - * sending a MsgExec transaction is: - * `[ submission + min_execution_period ; submission + voting_period + max_execution_period]` - * where max_execution_period is a app-specific config, defined in the keeper. - * If not set, min_execution_period will default to 0. - * - * Please make sure to set a `min_execution_period` that is smaller than - * `voting_period + max_execution_period`, or else the above execution window - * is empty, meaning that all proposals created with this decision policy - * won't be able to be executed. - */ - minExecutionPeriod?: Duration; -} -/** DecisionPolicyWindows defines the different windows for voting and execution. */ -export interface DecisionPolicyWindowsSDKType { - voting_period?: DurationSDKType; - min_execution_period?: DurationSDKType; -} -/** GroupInfo represents the high-level on-chain information for a group. */ -export interface GroupInfo { - /** id is the unique ID of the group. */ - id: Long; - /** admin is the account address of the group's admin. */ - admin: string; - /** metadata is any arbitrary metadata to attached to the group. */ - metadata: string; - /** - * version is used to track changes to a group's membership structure that - * would break existing proposals. Whenever any members weight is changed, - * or any member is added or removed this version is incremented and will - * cause proposals based on older versions of this group to fail - */ - version: Long; - /** total_weight is the sum of the group members' weights. */ - totalWeight: string; - /** created_at is a timestamp specifying when a group was created. */ - createdAt?: Date; -} -/** GroupInfo represents the high-level on-chain information for a group. */ -export interface GroupInfoSDKType { - id: Long; - admin: string; - metadata: string; - version: Long; - total_weight: string; - created_at?: Date; -} -/** 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; -} -/** GroupMember represents the relationship between a group and a member. */ -export interface GroupMemberSDKType { - group_id: Long; - member?: MemberSDKType; -} -/** GroupPolicyInfo represents the high-level on-chain information for a group policy. */ -export interface GroupPolicyInfo { - /** address is the account address of group policy. */ - address: string; - /** group_id is the unique ID of the group. */ - groupId: Long; - /** admin is the account address of the group admin. */ - admin: string; - /** metadata is any arbitrary metadata to attached to the group policy. */ - metadata: string; - /** - * version is used to track changes to a group's GroupPolicyInfo structure that - * would create a different result on a running proposal. - */ - version: Long; - /** decision_policy specifies the group policy's decision policy. */ - decisionPolicy?: Any; - /** created_at is a timestamp specifying when a group policy was created. */ - createdAt?: Date; -} -/** GroupPolicyInfo represents the high-level on-chain information for a group policy. */ -export interface GroupPolicyInfoSDKType { - address: string; - group_id: Long; - admin: string; - metadata: string; - version: Long; - decision_policy?: AnySDKType; - created_at?: Date; -} -/** - * 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; - /** - * 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; - /** - * 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; - /** 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: Long; - address: string; - metadata: string; - proposers: string[]; - submit_time?: Date; - group_version: Long; - group_policy_version: Long; - status: ProposalStatus; - result: ProposalResult; - final_tally_result?: TallyResultSDKType; - voting_period_end?: Date; - executor_result: ProposalExecutorResult; - messages: AnySDKType[]; -} -/** TallyResult represents the sum of weighted votes for each vote option. */ -export interface TallyResult { - /** yes_count is the weighted sum of yes votes. */ - yesCount: string; - /** abstain_count is the weighted sum of abstainers. */ - abstainCount: string; - /** no 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: string; - abstain_count: string; - no_count: string; - no_with_veto_count: string; -} -/** Vote represents a vote for a proposal. */ -export interface Vote { - /** proposal is the unique ID of the proposal. */ - proposalId: Long; - /** voter is the account address of the voter. */ - voter: string; - /** option is the voter's choice on the proposal. */ - option: VoteOption; - /** metadata is any arbitrary metadata to attached to the vote. */ - metadata: string; - /** submit_time is the timestamp when the vote was submitted. */ - submitTime?: Date; -} -/** Vote represents a vote for a proposal. */ -export interface VoteSDKType { - proposal_id: Long; - voter: string; - option: VoteOption; - metadata: string; - submit_time?: Date; -} -export declare const Member: { - encode(message: Member, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Member; - fromPartial(object: DeepPartial): Member; -}; -export declare const Members: { - encode(message: Members, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Members; - fromPartial(object: DeepPartial): Members; -}; -export declare const ThresholdDecisionPolicy: { - encode(message: ThresholdDecisionPolicy, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ThresholdDecisionPolicy; - fromPartial(object: DeepPartial): ThresholdDecisionPolicy; -}; -export declare const PercentageDecisionPolicy: { - encode(message: PercentageDecisionPolicy, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): PercentageDecisionPolicy; - fromPartial(object: DeepPartial): PercentageDecisionPolicy; -}; -export declare const DecisionPolicyWindows: { - encode(message: DecisionPolicyWindows, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DecisionPolicyWindows; - fromPartial(object: DeepPartial): DecisionPolicyWindows; -}; -export declare const GroupInfo: { - encode(message: GroupInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GroupInfo; - fromPartial(object: DeepPartial): GroupInfo; -}; -export declare const GroupMember: { - encode(message: GroupMember, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GroupMember; - fromPartial(object: DeepPartial): GroupMember; -}; -export declare const GroupPolicyInfo: { - encode(message: GroupPolicyInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GroupPolicyInfo; - fromPartial(object: DeepPartial): GroupPolicyInfo; -}; -export declare const Proposal: { - encode(message: Proposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Proposal; - fromPartial(object: DeepPartial): Proposal; -}; -export declare const TallyResult: { - encode(message: TallyResult, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): TallyResult; - fromPartial(object: DeepPartial): TallyResult; -}; -export declare const Vote: { - encode(message: Vote, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Vote; - fromPartial(object: DeepPartial): Vote; -}; diff --git a/packages/codegen/dist/cosmos/lcd.d.ts b/packages/codegen/dist/cosmos/lcd.d.ts deleted file mode 100644 index 9be4d8ca..00000000 --- a/packages/codegen/dist/cosmos/lcd.d.ts +++ /dev/null @@ -1,57 +0,0 @@ -export declare const createLCDClient: ({ restEndpoint }: { - restEndpoint: string; -}) => Promise<{ - cosmos: { - auth: { - v1beta1: import("./auth/v1beta1/query.lcd").LCDQueryClient; - }; - authz: { - v1beta1: import("./authz/v1beta1/query.lcd").LCDQueryClient; - }; - bank: { - v1beta1: import("./bank/v1beta1/query.lcd").LCDQueryClient; - }; - base: { - tendermint: { - v1beta1: import("./base/tendermint/v1beta1/query.lcd").LCDQueryClient; - }; - }; - distribution: { - v1beta1: import("./distribution/v1beta1/query.lcd").LCDQueryClient; - }; - evidence: { - v1beta1: import("./evidence/v1beta1/query.lcd").LCDQueryClient; - }; - feegrant: { - v1beta1: import("./feegrant/v1beta1/query.lcd").LCDQueryClient; - }; - gov: { - v1: import("./gov/v1/query.lcd").LCDQueryClient; - v1beta1: import("./gov/v1beta1/query.lcd").LCDQueryClient; - }; - group: { - v1: import("./group/v1/query.lcd").LCDQueryClient; - }; - mint: { - v1beta1: import("./mint/v1beta1/query.lcd").LCDQueryClient; - }; - nft: { - v1beta1: import("./nft/v1beta1/query.lcd").LCDQueryClient; - }; - params: { - v1beta1: import("./params/v1beta1/query.lcd").LCDQueryClient; - }; - slashing: { - v1beta1: import("./slashing/v1beta1/query.lcd").LCDQueryClient; - }; - staking: { - v1beta1: import("./staking/v1beta1/query.lcd").LCDQueryClient; - }; - tx: { - v1beta1: import("./tx/v1beta1/service.lcd").LCDQueryClient; - }; - upgrade: { - v1beta1: import("./upgrade/v1beta1/query.lcd").LCDQueryClient; - }; - }; -}>; diff --git a/packages/codegen/dist/cosmos/mint/v1beta1/genesis.d.ts b/packages/codegen/dist/cosmos/mint/v1beta1/genesis.d.ts deleted file mode 100644 index 155c109a..00000000 --- a/packages/codegen/dist/cosmos/mint/v1beta1/genesis.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { Minter, MinterSDKType, Params, ParamsSDKType } from "./mint"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../helpers"; -/** GenesisState defines the mint module's genesis state. */ -export interface GenesisState { - /** minter is a space for holding current inflation information. */ - minter?: Minter; - /** params defines all the paramaters of the module. */ - params?: Params; -} -/** GenesisState defines the mint module's genesis state. */ -export interface GenesisStateSDKType { - minter?: MinterSDKType; - params?: ParamsSDKType; -} -export declare const GenesisState: { - encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState; - fromPartial(object: DeepPartial): GenesisState; -}; diff --git a/packages/codegen/dist/cosmos/mint/v1beta1/mint.d.ts b/packages/codegen/dist/cosmos/mint/v1beta1/mint.d.ts deleted file mode 100644 index 0dc5a3bd..00000000 --- a/packages/codegen/dist/cosmos/mint/v1beta1/mint.d.ts +++ /dev/null @@ -1,49 +0,0 @@ -/// -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, 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 { - inflation: string; - annual_provisions: string; -} -/** Params holds parameters for the mint module. */ -export interface Params { - /** type of coin to mint */ - mintDenom: string; - /** maximum annual change in inflation rate */ - inflationRateChange: string; - /** maximum inflation rate */ - inflationMax: string; - /** minimum inflation rate */ - inflationMin: string; - /** goal of percent bonded atoms */ - goalBonded: string; - /** expected blocks per year */ - blocksPerYear: Long; -} -/** Params holds parameters for the mint module. */ -export interface ParamsSDKType { - mint_denom: string; - inflation_rate_change: string; - inflation_max: string; - inflation_min: string; - goal_bonded: string; - blocks_per_year: Long; -} -export declare const Minter: { - encode(message: Minter, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Minter; - fromPartial(object: DeepPartial): Minter; -}; -export declare const Params: { - encode(message: Params, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Params; - fromPartial(object: DeepPartial): Params; -}; diff --git a/packages/codegen/dist/cosmos/mint/v1beta1/query.d.ts b/packages/codegen/dist/cosmos/mint/v1beta1/query.d.ts deleted file mode 100644 index a9e3b1c9..00000000 --- a/packages/codegen/dist/cosmos/mint/v1beta1/query.d.ts +++ /dev/null @@ -1,96 +0,0 @@ -import { Params, ParamsSDKType } from "./mint"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } 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; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseSDKType { - params?: ParamsSDKType; -} -/** QueryInflationRequest is the request type for the Query/Inflation RPC method. */ -export interface QueryInflationRequest { -} -/** 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: 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: Uint8Array; -} -export declare const QueryParamsRequest: { - encode(_: QueryParamsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest; - fromPartial(_: DeepPartial): QueryParamsRequest; -}; -export declare const QueryParamsResponse: { - encode(message: QueryParamsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse; - fromPartial(object: DeepPartial): QueryParamsResponse; -}; -export declare const QueryInflationRequest: { - encode(_: QueryInflationRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryInflationRequest; - fromPartial(_: DeepPartial): QueryInflationRequest; -}; -export declare const QueryInflationResponse: { - encode(message: QueryInflationResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryInflationResponse; - fromPartial(object: DeepPartial): QueryInflationResponse; -}; -export declare const QueryAnnualProvisionsRequest: { - encode(_: QueryAnnualProvisionsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAnnualProvisionsRequest; - fromPartial(_: DeepPartial): QueryAnnualProvisionsRequest; -}; -export declare const QueryAnnualProvisionsResponse: { - encode(message: QueryAnnualProvisionsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAnnualProvisionsResponse; - fromPartial(object: DeepPartial): QueryAnnualProvisionsResponse; -}; diff --git a/packages/codegen/dist/cosmos/mint/v1beta1/query.lcd.d.ts b/packages/codegen/dist/cosmos/mint/v1beta1/query.lcd.d.ts deleted file mode 100644 index bab04928..00000000 --- a/packages/codegen/dist/cosmos/mint/v1beta1/query.lcd.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { QueryParamsRequest, QueryParamsResponseSDKType, QueryInflationRequest, QueryInflationResponseSDKType, QueryAnnualProvisionsRequest, QueryAnnualProvisionsResponseSDKType } from "./query"; -export declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - params(_params?: QueryParamsRequest): Promise; - inflation(_params?: QueryInflationRequest): Promise; - annualProvisions(_params?: QueryAnnualProvisionsRequest): Promise; -} diff --git a/packages/codegen/dist/cosmos/mint/v1beta1/query.rpc.Query.d.ts b/packages/codegen/dist/cosmos/mint/v1beta1/query.rpc.Query.d.ts deleted file mode 100644 index 83fc7060..00000000 --- a/packages/codegen/dist/cosmos/mint/v1beta1/query.rpc.Query.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { QueryClient } from "@cosmjs/stargate"; -import { QueryParamsRequest, QueryParamsResponse, QueryInflationRequest, QueryInflationResponse, QueryAnnualProvisionsRequest, QueryAnnualProvisionsResponse } from "./query"; -/** Query provides defines the gRPC querier service. */ -export interface Query { - /** Params returns the total set of minting parameters. */ - params(request?: QueryParamsRequest): Promise; - /** Inflation returns the current minting inflation value. */ - inflation(request?: QueryInflationRequest): Promise; - /** AnnualProvisions current minting annual provisions value. */ - annualProvisions(request?: QueryAnnualProvisionsRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: Rpc); - params(request?: QueryParamsRequest): Promise; - inflation(request?: QueryInflationRequest): Promise; - annualProvisions(request?: QueryAnnualProvisionsRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - params(request?: QueryParamsRequest): Promise; - inflation(request?: QueryInflationRequest): Promise; - annualProvisions(request?: QueryAnnualProvisionsRequest): Promise; -}; diff --git a/packages/codegen/dist/cosmos/msg/v1/msg.d.ts b/packages/codegen/dist/cosmos/msg/v1/msg.d.ts deleted file mode 100644 index cb0ff5c3..00000000 --- a/packages/codegen/dist/cosmos/msg/v1/msg.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/packages/codegen/dist/cosmos/nft/v1beta1/event.d.ts b/packages/codegen/dist/cosmos/nft/v1beta1/event.d.ts deleted file mode 100644 index 311a6b0b..00000000 --- a/packages/codegen/dist/cosmos/nft/v1beta1/event.d.ts +++ /dev/null @@ -1,55 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../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; -} -export declare const EventSend: { - encode(message: EventSend, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventSend; - fromPartial(object: DeepPartial): EventSend; -}; -export declare const EventMint: { - encode(message: EventMint, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventMint; - fromPartial(object: DeepPartial): EventMint; -}; -export declare const EventBurn: { - encode(message: EventBurn, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventBurn; - fromPartial(object: DeepPartial): EventBurn; -}; diff --git a/packages/codegen/dist/cosmos/nft/v1beta1/genesis.d.ts b/packages/codegen/dist/cosmos/nft/v1beta1/genesis.d.ts deleted file mode 100644 index cf650ded..00000000 --- a/packages/codegen/dist/cosmos/nft/v1beta1/genesis.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { Class, ClassSDKType, NFT, NFTSDKType } from "./nft"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../helpers"; -/** GenesisState defines the nft module's genesis state. */ -export interface GenesisState { - /** class defines the class of the nft type. */ - classes: Class[]; - entries: Entry[]; -} -/** GenesisState defines the nft module's genesis state. */ -export interface GenesisStateSDKType { - classes: ClassSDKType[]; - entries: EntrySDKType[]; -} -/** Entry Defines all nft owned by a person */ -export interface Entry { - /** owner is the owner address of the following nft */ - owner: string; - /** nfts is a group of nfts of the same owner */ - nfts: NFT[]; -} -/** Entry Defines all nft owned by a person */ -export interface EntrySDKType { - owner: string; - nfts: NFTSDKType[]; -} -export declare const GenesisState: { - encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState; - fromPartial(object: DeepPartial): GenesisState; -}; -export declare const Entry: { - encode(message: Entry, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Entry; - fromPartial(object: DeepPartial): Entry; -}; diff --git a/packages/codegen/dist/cosmos/nft/v1beta1/nft.d.ts b/packages/codegen/dist/cosmos/nft/v1beta1/nft.d.ts deleted file mode 100644 index 95f836c0..00000000 --- a/packages/codegen/dist/cosmos/nft/v1beta1/nft.d.ts +++ /dev/null @@ -1,61 +0,0 @@ -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../helpers"; -/** Class defines the class of the nft type. */ -export interface Class { - /** id defines the unique identifier of the NFT classification, similar to the contract address of ERC721 */ - id: string; - /** name defines the human-readable name of the NFT classification. Optional */ - name: string; - /** symbol is an abbreviated name for nft classification. Optional */ - symbol: string; - /** description is a brief description of nft classification. Optional */ - description: string; - /** uri for the class metadata stored off chain. It can define schema for Class and NFT `Data` attributes. Optional */ - uri: string; - /** uri_hash is a hash of the document pointed by uri. Optional */ - uriHash: string; - /** data is the app specific metadata of the NFT class. Optional */ - data?: Any; -} -/** Class defines the class of the nft type. */ -export interface ClassSDKType { - id: string; - name: string; - symbol: string; - description: string; - uri: string; - uri_hash: string; - data?: AnySDKType; -} -/** NFT defines the NFT. */ -export interface NFT { - /** class_id associated with the NFT, similar to the contract address of ERC721 */ - classId: string; - /** id is a unique identifier of the NFT */ - id: string; - /** uri for the NFT metadata stored off chain */ - uri: string; - /** uri_hash is a hash of the document pointed by uri */ - uriHash: string; - /** data is an app specific data of the NFT. Optional */ - data?: Any; -} -/** NFT defines the NFT. */ -export interface NFTSDKType { - class_id: string; - id: string; - uri: string; - uri_hash: string; - data?: AnySDKType; -} -export declare const Class: { - encode(message: Class, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Class; - fromPartial(object: DeepPartial): Class; -}; -export declare const NFT: { - encode(message: NFT, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): NFT; - fromPartial(object: DeepPartial): NFT; -}; diff --git a/packages/codegen/dist/cosmos/nft/v1beta1/query.d.ts b/packages/codegen/dist/cosmos/nft/v1beta1/query.d.ts deleted file mode 100644 index f1a0e377..00000000 --- a/packages/codegen/dist/cosmos/nft/v1beta1/query.d.ts +++ /dev/null @@ -1,202 +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 { DeepPartial, 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; -} -/** QueryNFTstRequest is the request type for the Query/NFTs RPC method */ -export interface QueryNFTsRequestSDKType { - class_id: string; - owner: string; - pagination?: PageRequestSDKType; -} -/** QueryNFTsResponse is the response type for the Query/NFTs RPC methods */ -export interface QueryNFTsResponse { - nfts: NFT[]; - pagination?: PageResponse; -} -/** QueryNFTsResponse is the response type for the Query/NFTs RPC methods */ -export interface QueryNFTsResponseSDKType { - nfts: NFTSDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryNFTRequest is the request type for the Query/NFT RPC method */ -export interface QueryNFTRequest { - classId: string; - id: string; -} -/** 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; -} -/** QueryNFTResponse is the response type for the Query/NFT RPC method */ -export interface QueryNFTResponseSDKType { - nft?: NFTSDKType; -} -/** QueryClassRequest is the request type for the Query/Class RPC method */ -export interface QueryClassRequest { - classId: string; -} -/** 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; -} -/** QueryClassResponse is the response type for the Query/Class RPC method */ -export interface QueryClassResponseSDKType { - class?: ClassSDKType; -} -/** QueryClassesRequest is the request type for the Query/Classes RPC method */ -export interface QueryClassesRequest { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest; -} -/** QueryClassesRequest is the request type for the Query/Classes RPC method */ -export interface QueryClassesRequestSDKType { - pagination?: PageRequestSDKType; -} -/** QueryClassesResponse is the response type for the Query/Classes RPC method */ -export interface QueryClassesResponse { - classes: Class[]; - pagination?: PageResponse; -} -/** QueryClassesResponse is the response type for the Query/Classes RPC method */ -export interface QueryClassesResponseSDKType { - classes: ClassSDKType[]; - pagination?: PageResponseSDKType; -} -export declare const QueryBalanceRequest: { - encode(message: QueryBalanceRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceRequest; - fromPartial(object: DeepPartial): QueryBalanceRequest; -}; -export declare const QueryBalanceResponse: { - encode(message: QueryBalanceResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryBalanceResponse; - fromPartial(object: DeepPartial): QueryBalanceResponse; -}; -export declare const QueryOwnerRequest: { - encode(message: QueryOwnerRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryOwnerRequest; - fromPartial(object: DeepPartial): QueryOwnerRequest; -}; -export declare const QueryOwnerResponse: { - encode(message: QueryOwnerResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryOwnerResponse; - fromPartial(object: DeepPartial): QueryOwnerResponse; -}; -export declare const QuerySupplyRequest: { - encode(message: QuerySupplyRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyRequest; - fromPartial(object: DeepPartial): QuerySupplyRequest; -}; -export declare const QuerySupplyResponse: { - encode(message: QuerySupplyResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySupplyResponse; - fromPartial(object: DeepPartial): QuerySupplyResponse; -}; -export declare const QueryNFTsRequest: { - encode(message: QueryNFTsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryNFTsRequest; - fromPartial(object: DeepPartial): QueryNFTsRequest; -}; -export declare const QueryNFTsResponse: { - encode(message: QueryNFTsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryNFTsResponse; - fromPartial(object: DeepPartial): QueryNFTsResponse; -}; -export declare const QueryNFTRequest: { - encode(message: QueryNFTRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryNFTRequest; - fromPartial(object: DeepPartial): QueryNFTRequest; -}; -export declare const QueryNFTResponse: { - encode(message: QueryNFTResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryNFTResponse; - fromPartial(object: DeepPartial): QueryNFTResponse; -}; -export declare const QueryClassRequest: { - encode(message: QueryClassRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassRequest; - fromPartial(object: DeepPartial): QueryClassRequest; -}; -export declare const QueryClassResponse: { - encode(message: QueryClassResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassResponse; - fromPartial(object: DeepPartial): QueryClassResponse; -}; -export declare const QueryClassesRequest: { - encode(message: QueryClassesRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassesRequest; - fromPartial(object: DeepPartial): QueryClassesRequest; -}; -export declare const QueryClassesResponse: { - encode(message: QueryClassesResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClassesResponse; - fromPartial(object: DeepPartial): QueryClassesResponse; -}; diff --git a/packages/codegen/dist/cosmos/nft/v1beta1/query.lcd.d.ts b/packages/codegen/dist/cosmos/nft/v1beta1/query.lcd.d.ts deleted file mode 100644 index d5be0983..00000000 --- a/packages/codegen/dist/cosmos/nft/v1beta1/query.lcd.d.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { QueryBalanceRequest, QueryBalanceResponseSDKType, QueryOwnerRequest, QueryOwnerResponseSDKType, QuerySupplyRequest, QuerySupplyResponseSDKType, QueryNFTsRequest, QueryNFTsResponseSDKType, QueryNFTRequest, QueryNFTResponseSDKType, QueryClassRequest, QueryClassResponseSDKType, QueryClassesRequest, QueryClassesResponseSDKType } from "./query"; -export declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - balance(params: QueryBalanceRequest): Promise; - owner(params: QueryOwnerRequest): Promise; - supply(params: QuerySupplyRequest): Promise; - nFTs(params: QueryNFTsRequest): Promise; - nFT(params: QueryNFTRequest): Promise; - class(params: QueryClassRequest): Promise; - classes(params?: QueryClassesRequest): Promise; -} diff --git a/packages/codegen/dist/cosmos/nft/v1beta1/query.rpc.Query.d.ts b/packages/codegen/dist/cosmos/nft/v1beta1/query.rpc.Query.d.ts deleted file mode 100644 index c8c650c0..00000000 --- a/packages/codegen/dist/cosmos/nft/v1beta1/query.rpc.Query.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { QueryClient } from "@cosmjs/stargate"; -import { QueryBalanceRequest, QueryBalanceResponse, QueryOwnerRequest, QueryOwnerResponse, QuerySupplyRequest, QuerySupplyResponse, QueryNFTsRequest, QueryNFTsResponse, QueryNFTRequest, QueryNFTResponse, QueryClassRequest, QueryClassResponse, QueryClassesRequest, QueryClassesResponse } from "./query"; -/** Query defines the gRPC querier service. */ -export interface Query { - /** Balance queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721 */ - balance(request: QueryBalanceRequest): Promise; - /** Owner queries the owner of the NFT based on its class and id, same as ownerOf in ERC721 */ - owner(request: QueryOwnerRequest): Promise; - /** Supply queries the number of NFTs from the given class, same as totalSupply of ERC721. */ - supply(request: QuerySupplyRequest): Promise; - /** - * NFTs queries all NFTs of a given class or owner,choose at least one of the two, similar to tokenByIndex in - * ERC721Enumerable - */ - nFTs(request: QueryNFTsRequest): Promise; - /** NFT queries an NFT based on its class and id. */ - nFT(request: QueryNFTRequest): Promise; - /** Class queries an NFT class based on its id */ - class(request: QueryClassRequest): Promise; - /** Classes queries all NFT classes */ - classes(request?: QueryClassesRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: Rpc); - balance(request: QueryBalanceRequest): Promise; - owner(request: QueryOwnerRequest): Promise; - supply(request: QuerySupplyRequest): Promise; - nFTs(request: QueryNFTsRequest): Promise; - nFT(request: QueryNFTRequest): Promise; - class(request: QueryClassRequest): Promise; - classes(request?: QueryClassesRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - balance(request: QueryBalanceRequest): Promise; - owner(request: QueryOwnerRequest): Promise; - supply(request: QuerySupplyRequest): Promise; - nFTs(request: QueryNFTsRequest): Promise; - nFT(request: QueryNFTRequest): Promise; - class(request: QueryClassRequest): Promise; - classes(request?: QueryClassesRequest): Promise; -}; diff --git a/packages/codegen/dist/cosmos/nft/v1beta1/tx.d.ts b/packages/codegen/dist/cosmos/nft/v1beta1/tx.d.ts deleted file mode 100644 index ee238b75..00000000 --- a/packages/codegen/dist/cosmos/nft/v1beta1/tx.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../helpers"; -/** MsgSend represents a message to send a nft from one account to another account. */ -export interface MsgSend { - /** class_id defines the unique identifier of the nft classification, similar to the contract address of ERC721 */ - classId: string; - /** id defines the unique identification of nft */ - id: string; - /** sender is the address of the owner of nft */ - sender: string; - /** receiver is the receiver address of nft */ - receiver: string; -} -/** MsgSend represents a message to send a nft from one account to another account. */ -export interface MsgSendSDKType { - class_id: string; - id: string; - sender: string; - receiver: string; -} -/** MsgSendResponse defines the Msg/Send response type. */ -export interface MsgSendResponse { -} -/** MsgSendResponse defines the Msg/Send response type. */ -export interface MsgSendResponseSDKType { -} -export declare const MsgSend: { - encode(message: MsgSend, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSend; - fromPartial(object: DeepPartial): MsgSend; -}; -export declare const MsgSendResponse: { - encode(_: MsgSendResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSendResponse; - fromPartial(_: DeepPartial): MsgSendResponse; -}; diff --git a/packages/codegen/dist/cosmos/nft/v1beta1/tx.rpc.msg.d.ts b/packages/codegen/dist/cosmos/nft/v1beta1/tx.rpc.msg.d.ts deleted file mode 100644 index 2c60038c..00000000 --- a/packages/codegen/dist/cosmos/nft/v1beta1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { MsgSend, MsgSendResponse } from "./tx"; -/** Msg defines the nft Msg service. */ -export interface Msg { - /** Send defines a method to send a nft from one account to another account. */ - send(request: MsgSend): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: Rpc); - send(request: MsgSend): Promise; -} diff --git a/packages/codegen/dist/cosmos/orm/v1/orm.d.ts b/packages/codegen/dist/cosmos/orm/v1/orm.d.ts deleted file mode 100644 index 8a6df721..00000000 --- a/packages/codegen/dist/cosmos/orm/v1/orm.d.ts +++ /dev/null @@ -1,130 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../helpers"; -/** TableDescriptor describes an ORM table. */ -export interface TableDescriptor { - /** primary_key defines the primary key for the table. */ - primaryKey?: PrimaryKeyDescriptor; - /** index defines one or more secondary indexes. */ - index: SecondaryIndexDescriptor[]; - /** - * id is a non-zero integer ID that must be unique within the - * tables and singletons in this file. It may be deprecated in the future when this - * can be auto-generated. - */ - id: number; -} -/** TableDescriptor describes an ORM table. */ -export interface TableDescriptorSDKType { - primary_key?: PrimaryKeyDescriptorSDKType; - index: SecondaryIndexDescriptorSDKType[]; - id: number; -} -/** PrimaryKeyDescriptor describes a table primary key. */ -export interface PrimaryKeyDescriptor { - /** - * fields is a comma-separated list of fields in the primary key. Spaces are - * not allowed. Supported field types, their encodings, and any applicable constraints - * are described below. - * - uint32 are encoded as 2,3,4 or 5 bytes using a compact encoding that - * is suitable for sorted iteration (not varint encoding). This type is - * well-suited for small integers. - * - uint64 are encoded as 2,4,6 or 9 bytes using a compact encoding that - * is suitable for sorted iteration (not varint encoding). This type is - * well-suited for small integers such as auto-incrementing sequences. - * - fixed32, fixed64 are encoded as big-endian fixed width bytes and support - * sorted iteration. These types are well-suited for encoding fixed with - * decimals as integers. - * - string's are encoded as raw bytes in terminal key segments and null-terminated - * in non-terminal segments. Null characters are thus forbidden in strings. - * string fields support sorted iteration. - * - bytes are encoded as raw bytes in terminal segments and length-prefixed - * with a 32-bit unsigned varint in non-terminal segments. - * - int32, sint32, int64, sint64, sfixed32, sfixed64 are encoded as fixed width bytes with - * an encoding that enables sorted iteration. - * - google.protobuf.Timestamp and google.protobuf.Duration are encoded - * as 12 bytes using an encoding that enables sorted iteration. - * - enum fields are encoded using varint encoding and do not support sorted - * iteration. - * - bool fields are encoded as a single byte 0 or 1. - * - * All other fields types are unsupported in keys including repeated and - * oneof fields. - * - * Primary keys are prefixed by the varint encoded table id and the byte 0x0 - * plus any additional prefix specified by the schema. - */ - fields: string; - /** - * auto_increment specifies that the primary key is generated by an - * auto-incrementing integer. If this is set to true fields must only - * contain one field of that is of type uint64. - */ - autoIncrement: boolean; -} -/** PrimaryKeyDescriptor describes a table primary key. */ -export interface PrimaryKeyDescriptorSDKType { - fields: string; - auto_increment: boolean; -} -/** PrimaryKeyDescriptor describes a table secondary index. */ -export interface SecondaryIndexDescriptor { - /** - * fields is a comma-separated list of fields in the index. The supported - * field types are the same as those for PrimaryKeyDescriptor.fields. - * Index keys are prefixed by the varint encoded table id and the varint - * encoded index id plus any additional prefix specified by the schema. - * - * In addition the 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: string; - id: number; - unique: boolean; -} -/** TableDescriptor describes an ORM singleton table which has at most one instance. */ -export interface SingletonDescriptor { - /** - * id is a non-zero integer ID that must be unique within the - * tables and singletons in this file. It may be deprecated in the future when this - * can be auto-generated. - */ - id: number; -} -/** TableDescriptor describes an ORM singleton table which has at most one instance. */ -export interface SingletonDescriptorSDKType { - id: number; -} -export declare const TableDescriptor: { - encode(message: TableDescriptor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): TableDescriptor; - fromPartial(object: DeepPartial): TableDescriptor; -}; -export declare const PrimaryKeyDescriptor: { - encode(message: PrimaryKeyDescriptor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): PrimaryKeyDescriptor; - fromPartial(object: DeepPartial): PrimaryKeyDescriptor; -}; -export declare const SecondaryIndexDescriptor: { - encode(message: SecondaryIndexDescriptor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SecondaryIndexDescriptor; - fromPartial(object: DeepPartial): SecondaryIndexDescriptor; -}; -export declare const SingletonDescriptor: { - encode(message: SingletonDescriptor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SingletonDescriptor; - fromPartial(object: DeepPartial): SingletonDescriptor; -}; diff --git a/packages/codegen/dist/cosmos/orm/v1alpha1/schema.d.ts b/packages/codegen/dist/cosmos/orm/v1alpha1/schema.d.ts deleted file mode 100644 index 66027fa8..00000000 --- a/packages/codegen/dist/cosmos/orm/v1alpha1/schema.d.ts +++ /dev/null @@ -1,98 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../helpers"; -/** StorageType */ -export declare enum StorageType { - /** - * STORAGE_TYPE_DEFAULT_UNSPECIFIED - STORAGE_TYPE_DEFAULT_UNSPECIFIED indicates the persistent - * KV-storage where primary key entries are stored in merkle-tree - * backed commitment storage and indexes and seqs are stored in - * fast index storage. Note that the Cosmos SDK before store/v2alpha1 - * does not support this. - */ - STORAGE_TYPE_DEFAULT_UNSPECIFIED = 0, - /** - * STORAGE_TYPE_MEMORY - STORAGE_TYPE_MEMORY indicates in-memory storage that will be - * reloaded every time an app restarts. Tables with this type of storage - * will by default be ignored when importing and exporting a module's - * state from JSON. - */ - STORAGE_TYPE_MEMORY = 1, - /** - * STORAGE_TYPE_TRANSIENT - STORAGE_TYPE_TRANSIENT indicates transient storage that is reset - * at the end of every block. Tables with this type of storage - * will by default be ignored when importing and exporting a module's - * state from JSON. - */ - STORAGE_TYPE_TRANSIENT = 2, - /** - * STORAGE_TYPE_INDEX - STORAGE_TYPE_INDEX indicates persistent storage which is not backed - * by a merkle-tree and won't affect the app hash. Note that the Cosmos SDK - * before store/v2alpha1 does not support this. - */ - STORAGE_TYPE_INDEX = 3, - /** - * STORAGE_TYPE_COMMITMENT - STORAGE_TYPE_INDEX indicates persistent storage which is backed by - * a merkle-tree. With this type of storage, both primary and index keys - * will affect the app hash and this is generally less efficient - * than using STORAGE_TYPE_DEFAULT_UNSPECIFIED which separates index - * keys into index storage. Note that modules built with the - * Cosmos SDK before store/v2alpha1 must specify STORAGE_TYPE_COMMITMENT - * instead of STORAGE_TYPE_DEFAULT_UNSPECIFIED or STORAGE_TYPE_INDEX - * because this is the only type of persistent storage available. - */ - STORAGE_TYPE_COMMITMENT = 4, - UNRECOGNIZED = -1 -} -export declare const StorageTypeSDKType: typeof StorageType; -export declare function storageTypeFromJSON(object: any): StorageType; -export declare function storageTypeToJSON(object: StorageType): string; -/** ModuleSchemaDescriptor describe's a module's ORM schema. */ -export interface ModuleSchemaDescriptor { - schemaFile: ModuleSchemaDescriptor_FileEntry[]; - /** - * prefix is an optional prefix that precedes all keys in this module's - * store. - */ - prefix: Uint8Array; -} -/** ModuleSchemaDescriptor describe's a module's ORM schema. */ -export interface ModuleSchemaDescriptorSDKType { - schema_file: ModuleSchemaDescriptor_FileEntrySDKType[]; - prefix: Uint8Array; -} -/** FileEntry describes an ORM file used in a module. */ -export interface ModuleSchemaDescriptor_FileEntry { - /** - * id is a prefix that will be varint encoded and prepended to all the - * table keys specified in the file's tables. - */ - id: number; - /** - * proto_file_name is the name of a file .proto in that contains - * table definitions. The .proto file must be in a package that the - * module has referenced using cosmos.app.v1.ModuleDescriptor.use_package. - */ - protoFileName: string; - /** - * storage_type optionally indicates the type of storage this file's - * tables should used. If it is left unspecified, the default KV-storage - * of the app will be used. - */ - storageType: StorageType; -} -/** FileEntry describes an ORM file used in a module. */ -export interface ModuleSchemaDescriptor_FileEntrySDKType { - id: number; - proto_file_name: string; - storage_type: StorageType; -} -export declare const ModuleSchemaDescriptor: { - encode(message: ModuleSchemaDescriptor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ModuleSchemaDescriptor; - fromPartial(object: DeepPartial): ModuleSchemaDescriptor; -}; -export declare const ModuleSchemaDescriptor_FileEntry: { - encode(message: ModuleSchemaDescriptor_FileEntry, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ModuleSchemaDescriptor_FileEntry; - fromPartial(object: DeepPartial): ModuleSchemaDescriptor_FileEntry; -}; diff --git a/packages/codegen/dist/cosmos/params/v1beta1/params.d.ts b/packages/codegen/dist/cosmos/params/v1beta1/params.d.ts deleted file mode 100644 index 44a12b09..00000000 --- a/packages/codegen/dist/cosmos/params/v1beta1/params.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../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; -} -export declare const ParameterChangeProposal: { - encode(message: ParameterChangeProposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ParameterChangeProposal; - fromPartial(object: DeepPartial): ParameterChangeProposal; -}; -export declare const ParamChange: { - encode(message: ParamChange, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ParamChange; - fromPartial(object: DeepPartial): ParamChange; -}; diff --git a/packages/codegen/dist/cosmos/params/v1beta1/query.d.ts b/packages/codegen/dist/cosmos/params/v1beta1/query.d.ts deleted file mode 100644 index 6cf07c14..00000000 --- a/packages/codegen/dist/cosmos/params/v1beta1/query.d.ts +++ /dev/null @@ -1,91 +0,0 @@ -import { ParamChange, ParamChangeSDKType } from "./params"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../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: string; - key: string; -} -/** QueryParamsResponse is response type for the Query/Params RPC method. */ -export interface QueryParamsResponse { - /** param defines the queried parameter. */ - param?: ParamChange; -} -/** QueryParamsResponse is response type for the Query/Params RPC method. */ -export interface QueryParamsResponseSDKType { - param?: ParamChangeSDKType; -} -/** - * QuerySubspacesRequest defines a request type for querying for all registered - * subspaces and all keys for a subspace. - */ -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[]; -} -export declare const QueryParamsRequest: { - encode(message: QueryParamsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest; - fromPartial(object: DeepPartial): QueryParamsRequest; -}; -export declare const QueryParamsResponse: { - encode(message: QueryParamsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse; - fromPartial(object: DeepPartial): QueryParamsResponse; -}; -export declare const QuerySubspacesRequest: { - encode(_: QuerySubspacesRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySubspacesRequest; - fromPartial(_: DeepPartial): QuerySubspacesRequest; -}; -export declare const QuerySubspacesResponse: { - encode(message: QuerySubspacesResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySubspacesResponse; - fromPartial(object: DeepPartial): QuerySubspacesResponse; -}; -export declare const Subspace: { - encode(message: Subspace, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Subspace; - fromPartial(object: DeepPartial): Subspace; -}; diff --git a/packages/codegen/dist/cosmos/params/v1beta1/query.lcd.d.ts b/packages/codegen/dist/cosmos/params/v1beta1/query.lcd.d.ts deleted file mode 100644 index 4d76132d..00000000 --- a/packages/codegen/dist/cosmos/params/v1beta1/query.lcd.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { QueryParamsRequest, QueryParamsResponseSDKType, QuerySubspacesRequest, QuerySubspacesResponseSDKType } from "./query"; -export declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - params(params: QueryParamsRequest): Promise; - subspaces(_params?: QuerySubspacesRequest): Promise; -} diff --git a/packages/codegen/dist/cosmos/params/v1beta1/query.rpc.Query.d.ts b/packages/codegen/dist/cosmos/params/v1beta1/query.rpc.Query.d.ts deleted file mode 100644 index f9fe0603..00000000 --- a/packages/codegen/dist/cosmos/params/v1beta1/query.rpc.Query.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { QueryClient } from "@cosmjs/stargate"; -import { QueryParamsRequest, QueryParamsResponse, QuerySubspacesRequest, QuerySubspacesResponse } from "./query"; -/** Query defines the gRPC querier service. */ -export interface Query { - /** - * Params queries a specific parameter of a module, given its subspace and - * key. - */ - params(request: QueryParamsRequest): Promise; - /** Subspaces queries for all registered subspaces and all keys for a subspace. */ - subspaces(request?: QuerySubspacesRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: Rpc); - params(request: QueryParamsRequest): Promise; - subspaces(request?: QuerySubspacesRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - params(request: QueryParamsRequest): Promise; - subspaces(request?: QuerySubspacesRequest): Promise; -}; diff --git a/packages/codegen/dist/cosmos/rpc.query.d.ts b/packages/codegen/dist/cosmos/rpc.query.d.ts deleted file mode 100644 index 69bbeacd..00000000 --- a/packages/codegen/dist/cosmos/rpc.query.d.ts +++ /dev/null @@ -1,187 +0,0 @@ -import { HttpEndpoint } from "@cosmjs/tendermint-rpc"; -export declare const createRPCQueryClient: ({ rpcEndpoint }: { - rpcEndpoint: string | HttpEndpoint; -}) => Promise<{ - cosmos: { - app: { - v1alpha1: { - config(request?: import("./app/v1alpha1/query").QueryConfigRequest): Promise; - }; - }; - auth: { - v1beta1: { - accounts(request?: import("./auth/v1beta1/query").QueryAccountsRequest): Promise; - account(request: import("./auth/v1beta1/query").QueryAccountRequest): Promise; - params(request?: import("./auth/v1beta1/query").QueryParamsRequest): Promise; - moduleAccounts(request?: import("./auth/v1beta1/query").QueryModuleAccountsRequest): Promise; - bech32Prefix(request?: import("./auth/v1beta1/query").Bech32PrefixRequest): Promise; - addressBytesToString(request: import("./auth/v1beta1/query").AddressBytesToStringRequest): Promise; - addressStringToBytes(request: import("./auth/v1beta1/query").AddressStringToBytesRequest): Promise; - }; - }; - authz: { - v1beta1: { - grants(request: import("./authz/v1beta1/query").QueryGrantsRequest): Promise; - granterGrants(request: import("./authz/v1beta1/query").QueryGranterGrantsRequest): Promise; - granteeGrants(request: import("./authz/v1beta1/query").QueryGranteeGrantsRequest): Promise; - }; - }; - bank: { - v1beta1: { - balance(request: import("./bank/v1beta1/query").QueryBalanceRequest): Promise; - allBalances(request: import("./bank/v1beta1/query").QueryAllBalancesRequest): Promise; - spendableBalances(request: import("./bank/v1beta1/query").QuerySpendableBalancesRequest): Promise; - totalSupply(request?: import("./bank/v1beta1/query").QueryTotalSupplyRequest): Promise; - supplyOf(request: import("./bank/v1beta1/query").QuerySupplyOfRequest): Promise; - params(request?: import("./bank/v1beta1/query").QueryParamsRequest): Promise; - denomMetadata(request: import("./bank/v1beta1/query").QueryDenomMetadataRequest): Promise; - denomsMetadata(request?: import("./bank/v1beta1/query").QueryDenomsMetadataRequest): Promise; - denomOwners(request: import("./bank/v1beta1/query").QueryDenomOwnersRequest): Promise; - }; - }; - base: { - tendermint: { - v1beta1: { - getNodeInfo(request?: import("./base/tendermint/v1beta1/query").GetNodeInfoRequest): Promise; - getSyncing(request?: import("./base/tendermint/v1beta1/query").GetSyncingRequest): Promise; - getLatestBlock(request?: import("./base/tendermint/v1beta1/query").GetLatestBlockRequest): Promise; - getBlockByHeight(request: import("./base/tendermint/v1beta1/query").GetBlockByHeightRequest): Promise; - getLatestValidatorSet(request?: import("./base/tendermint/v1beta1/query").GetLatestValidatorSetRequest): Promise; - getValidatorSetByHeight(request: import("./base/tendermint/v1beta1/query").GetValidatorSetByHeightRequest): Promise; - }; - }; - }; - distribution: { - v1beta1: { - params(request?: import("./distribution/v1beta1/query").QueryParamsRequest): Promise; - validatorOutstandingRewards(request: import("./distribution/v1beta1/query").QueryValidatorOutstandingRewardsRequest): Promise; - validatorCommission(request: import("./distribution/v1beta1/query").QueryValidatorCommissionRequest): Promise; - validatorSlashes(request: import("./distribution/v1beta1/query").QueryValidatorSlashesRequest): Promise; - delegationRewards(request: import("./distribution/v1beta1/query").QueryDelegationRewardsRequest): Promise; - delegationTotalRewards(request: import("./distribution/v1beta1/query").QueryDelegationTotalRewardsRequest): Promise; - delegatorValidators(request: import("./distribution/v1beta1/query").QueryDelegatorValidatorsRequest): Promise; - delegatorWithdrawAddress(request: import("./distribution/v1beta1/query").QueryDelegatorWithdrawAddressRequest): Promise; - communityPool(request?: import("./distribution/v1beta1/query").QueryCommunityPoolRequest): Promise; - }; - }; - evidence: { - v1beta1: { - evidence(request: import("./evidence/v1beta1/query").QueryEvidenceRequest): Promise; - allEvidence(request?: import("./evidence/v1beta1/query").QueryAllEvidenceRequest): Promise; - }; - }; - feegrant: { - v1beta1: { - allowance(request: import("./feegrant/v1beta1/query").QueryAllowanceRequest): Promise; - allowances(request: import("./feegrant/v1beta1/query").QueryAllowancesRequest): Promise; - allowancesByGranter(request: import("./feegrant/v1beta1/query").QueryAllowancesByGranterRequest): Promise; - }; - }; - gov: { - v1: { - proposal(request: import("./gov/v1/query").QueryProposalRequest): Promise; - proposals(request: import("./gov/v1/query").QueryProposalsRequest): Promise; - vote(request: import("./gov/v1/query").QueryVoteRequest): Promise; - votes(request: import("./gov/v1/query").QueryVotesRequest): Promise; - params(request: import("./gov/v1/query").QueryParamsRequest): Promise; - deposit(request: import("./gov/v1/query").QueryDepositRequest): Promise; - deposits(request: import("./gov/v1/query").QueryDepositsRequest): Promise; - tallyResult(request: import("./gov/v1/query").QueryTallyResultRequest): Promise; - }; - v1beta1: { - proposal(request: import("./gov/v1beta1/query").QueryProposalRequest): Promise; - proposals(request: import("./gov/v1beta1/query").QueryProposalsRequest): Promise; - vote(request: import("./gov/v1beta1/query").QueryVoteRequest): Promise; - votes(request: import("./gov/v1beta1/query").QueryVotesRequest): Promise; - params(request: import("./gov/v1beta1/query").QueryParamsRequest): Promise; - deposit(request: import("./gov/v1beta1/query").QueryDepositRequest): Promise; - deposits(request: import("./gov/v1beta1/query").QueryDepositsRequest): Promise; - tallyResult(request: import("./gov/v1beta1/query").QueryTallyResultRequest): Promise; - }; - }; - group: { - v1: { - groupInfo(request: import("./group/v1/query").QueryGroupInfoRequest): Promise; - groupPolicyInfo(request: import("./group/v1/query").QueryGroupPolicyInfoRequest): Promise; - groupMembers(request: import("./group/v1/query").QueryGroupMembersRequest): Promise; - groupsByAdmin(request: import("./group/v1/query").QueryGroupsByAdminRequest): Promise; - groupPoliciesByGroup(request: import("./group/v1/query").QueryGroupPoliciesByGroupRequest): Promise; - groupPoliciesByAdmin(request: import("./group/v1/query").QueryGroupPoliciesByAdminRequest): Promise; - proposal(request: import("./group/v1/query").QueryProposalRequest): Promise; - proposalsByGroupPolicy(request: import("./group/v1/query").QueryProposalsByGroupPolicyRequest): Promise; - voteByProposalVoter(request: import("./group/v1/query").QueryVoteByProposalVoterRequest): Promise; - votesByProposal(request: import("./group/v1/query").QueryVotesByProposalRequest): Promise; - votesByVoter(request: import("./group/v1/query").QueryVotesByVoterRequest): Promise; - groupsByMember(request: import("./group/v1/query").QueryGroupsByMemberRequest): Promise; - tallyResult(request: import("./group/v1/query").QueryTallyResultRequest): Promise; - }; - }; - mint: { - v1beta1: { - params(request?: import("./mint/v1beta1/query").QueryParamsRequest): Promise; - inflation(request?: import("./mint/v1beta1/query").QueryInflationRequest): Promise; - annualProvisions(request?: import("./mint/v1beta1/query").QueryAnnualProvisionsRequest): Promise; - }; - }; - nft: { - v1beta1: { - balance(request: import("./nft/v1beta1/query").QueryBalanceRequest): Promise; - owner(request: import("./nft/v1beta1/query").QueryOwnerRequest): Promise; - supply(request: import("./nft/v1beta1/query").QuerySupplyRequest): Promise; - nFTs(request: import("./nft/v1beta1/query").QueryNFTsRequest): Promise; - nFT(request: import("./nft/v1beta1/query").QueryNFTRequest): Promise; - class(request: import("./nft/v1beta1/query").QueryClassRequest): Promise; - classes(request?: import("./nft/v1beta1/query").QueryClassesRequest): Promise; - }; - }; - params: { - v1beta1: { - params(request: import("./params/v1beta1/query").QueryParamsRequest): Promise; - subspaces(request?: import("./params/v1beta1/query").QuerySubspacesRequest): Promise; - }; - }; - slashing: { - v1beta1: { - params(request?: import("./slashing/v1beta1/query").QueryParamsRequest): Promise; - signingInfo(request: import("./slashing/v1beta1/query").QuerySigningInfoRequest): Promise; - signingInfos(request?: import("./slashing/v1beta1/query").QuerySigningInfosRequest): Promise; - }; - }; - staking: { - v1beta1: { - validators(request: import("./staking/v1beta1/query").QueryValidatorsRequest): Promise; - validator(request: import("./staking/v1beta1/query").QueryValidatorRequest): Promise; - validatorDelegations(request: import("./staking/v1beta1/query").QueryValidatorDelegationsRequest): Promise; - validatorUnbondingDelegations(request: import("./staking/v1beta1/query").QueryValidatorUnbondingDelegationsRequest): Promise; - delegation(request: import("./staking/v1beta1/query").QueryDelegationRequest): Promise; - unbondingDelegation(request: import("./staking/v1beta1/query").QueryUnbondingDelegationRequest): Promise; - delegatorDelegations(request: import("./staking/v1beta1/query").QueryDelegatorDelegationsRequest): Promise; - delegatorUnbondingDelegations(request: import("./staking/v1beta1/query").QueryDelegatorUnbondingDelegationsRequest): Promise; - redelegations(request: import("./staking/v1beta1/query").QueryRedelegationsRequest): Promise; - delegatorValidators(request: import("./staking/v1beta1/query").QueryDelegatorValidatorsRequest): Promise; - delegatorValidator(request: import("./staking/v1beta1/query").QueryDelegatorValidatorRequest): Promise; - historicalInfo(request: import("./staking/v1beta1/query").QueryHistoricalInfoRequest): Promise; - pool(request?: import("./staking/v1beta1/query").QueryPoolRequest): Promise; - params(request?: import("./staking/v1beta1/query").QueryParamsRequest): Promise; - }; - }; - tx: { - v1beta1: { - simulate(request: import("./tx/v1beta1/service").SimulateRequest): Promise; - getTx(request: import("./tx/v1beta1/service").GetTxRequest): Promise; - broadcastTx(request: import("./tx/v1beta1/service").BroadcastTxRequest): Promise; - getTxsEvent(request: import("./tx/v1beta1/service").GetTxsEventRequest): Promise; - getBlockWithTxs(request: import("./tx/v1beta1/service").GetBlockWithTxsRequest): Promise; - }; - }; - upgrade: { - v1beta1: { - currentPlan(request?: import("./upgrade/v1beta1/query").QueryCurrentPlanRequest): Promise; - appliedPlan(request: import("./upgrade/v1beta1/query").QueryAppliedPlanRequest): Promise; - upgradedConsensusState(request: import("./upgrade/v1beta1/query").QueryUpgradedConsensusStateRequest): Promise; - moduleVersions(request: import("./upgrade/v1beta1/query").QueryModuleVersionsRequest): Promise; - authority(request?: import("./upgrade/v1beta1/query").QueryAuthorityRequest): Promise; - }; - }; - }; -}>; diff --git a/packages/codegen/dist/cosmos/rpc.tx.d.ts b/packages/codegen/dist/cosmos/rpc.tx.d.ts deleted file mode 100644 index 4e07ea0a..00000000 --- a/packages/codegen/dist/cosmos/rpc.tx.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { Rpc } from "../helpers"; -export declare const createRPCMsgClient: ({ rpc }: { - rpc: Rpc; -}) => Promise<{ - cosmos: { - authz: { - v1beta1: import("./authz/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - bank: { - v1beta1: import("./bank/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - crisis: { - v1beta1: import("./crisis/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - distribution: { - v1beta1: import("./distribution/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - evidence: { - v1beta1: import("./evidence/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - feegrant: { - v1beta1: import("./feegrant/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - gov: { - v1: import("./gov/v1/tx.rpc.msg").MsgClientImpl; - v1beta1: import("./gov/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - group: { - v1: import("./group/v1/tx.rpc.msg").MsgClientImpl; - }; - nft: { - v1beta1: import("./nft/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - slashing: { - v1beta1: import("./slashing/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - staking: { - v1beta1: import("./staking/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - upgrade: { - v1beta1: import("./upgrade/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - vesting: { - v1beta1: import("./vesting/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - }; -}>; diff --git a/packages/codegen/dist/cosmos/slashing/v1beta1/genesis.d.ts b/packages/codegen/dist/cosmos/slashing/v1beta1/genesis.d.ts deleted file mode 100644 index 11781a4c..00000000 --- a/packages/codegen/dist/cosmos/slashing/v1beta1/genesis.d.ts +++ /dev/null @@ -1,87 +0,0 @@ -/// -import { Params, ParamsSDKType, ValidatorSigningInfo, ValidatorSigningInfoSDKType } from "./slashing"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, 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; - /** - * 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?: ParamsSDKType; - signing_infos: SigningInfoSDKType[]; - missed_blocks: ValidatorMissedBlocksSDKType[]; -} -/** SigningInfo stores validator signing info of corresponding address. */ -export interface SigningInfo { - /** address is the validator address. */ - address: string; - /** validator_signing_info represents the signing info of this validator. */ - validatorSigningInfo?: ValidatorSigningInfo; -} -/** SigningInfo stores validator signing info of corresponding address. */ -export interface SigningInfoSDKType { - address: string; - validator_signing_info?: ValidatorSigningInfoSDKType; -} -/** - * ValidatorMissedBlocks contains array of missed blocks of corresponding - * address. - */ -export interface ValidatorMissedBlocks { - /** address is the validator address. */ - address: string; - /** missed_blocks is an array of missed blocks by the validator. */ - missedBlocks: MissedBlock[]; -} -/** - * ValidatorMissedBlocks contains array of missed blocks of corresponding - * address. - */ -export interface ValidatorMissedBlocksSDKType { - address: string; - missed_blocks: MissedBlockSDKType[]; -} -/** MissedBlock contains height and missed status as boolean. */ -export interface MissedBlock { - /** index is the height at which the block was missed. */ - index: Long; - /** missed is the missed status. */ - missed: boolean; -} -/** MissedBlock contains height and missed status as boolean. */ -export interface MissedBlockSDKType { - index: Long; - missed: boolean; -} -export declare const GenesisState: { - encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState; - fromPartial(object: DeepPartial): GenesisState; -}; -export declare const SigningInfo: { - encode(message: SigningInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SigningInfo; - fromPartial(object: DeepPartial): SigningInfo; -}; -export declare const ValidatorMissedBlocks: { - encode(message: ValidatorMissedBlocks, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorMissedBlocks; - fromPartial(object: DeepPartial): ValidatorMissedBlocks; -}; -export declare const MissedBlock: { - encode(message: MissedBlock, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MissedBlock; - fromPartial(object: DeepPartial): MissedBlock; -}; diff --git a/packages/codegen/dist/cosmos/slashing/v1beta1/query.d.ts b/packages/codegen/dist/cosmos/slashing/v1beta1/query.d.ts deleted file mode 100644 index f23f854f..00000000 --- a/packages/codegen/dist/cosmos/slashing/v1beta1/query.d.ts +++ /dev/null @@ -1,109 +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"; -import { DeepPartial } 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?: Params; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method */ -export interface QueryParamsResponseSDKType { - params?: ParamsSDKType; -} -/** - * QuerySigningInfoRequest is the request type for the Query/SigningInfo RPC - * method - */ -export interface QuerySigningInfoRequest { - /** cons_address is the address to query signing info of */ - consAddress: string; -} -/** - * QuerySigningInfoRequest is the request type for the Query/SigningInfo RPC - * method - */ -export interface QuerySigningInfoRequestSDKType { - cons_address: string; -} -/** - * QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC - * method - */ -export interface QuerySigningInfoResponse { - /** val_signing_info is the signing info of requested val cons address */ - valSigningInfo?: ValidatorSigningInfo; -} -/** - * QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC - * method - */ -export interface QuerySigningInfoResponseSDKType { - val_signing_info?: ValidatorSigningInfoSDKType; -} -/** - * QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC - * method - */ -export interface QuerySigningInfosRequest { - pagination?: PageRequest; -} -/** - * QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC - * method - */ -export interface QuerySigningInfosRequestSDKType { - pagination?: PageRequestSDKType; -} -/** - * QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC - * method - */ -export interface QuerySigningInfosResponse { - /** info is the signing info of all validators */ - info: ValidatorSigningInfo[]; - pagination?: PageResponse; -} -/** - * QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC - * method - */ -export interface QuerySigningInfosResponseSDKType { - info: ValidatorSigningInfoSDKType[]; - pagination?: PageResponseSDKType; -} -export declare const QueryParamsRequest: { - encode(_: QueryParamsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest; - fromPartial(_: DeepPartial): QueryParamsRequest; -}; -export declare const QueryParamsResponse: { - encode(message: QueryParamsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse; - fromPartial(object: DeepPartial): QueryParamsResponse; -}; -export declare const QuerySigningInfoRequest: { - encode(message: QuerySigningInfoRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySigningInfoRequest; - fromPartial(object: DeepPartial): QuerySigningInfoRequest; -}; -export declare const QuerySigningInfoResponse: { - encode(message: QuerySigningInfoResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySigningInfoResponse; - fromPartial(object: DeepPartial): QuerySigningInfoResponse; -}; -export declare const QuerySigningInfosRequest: { - encode(message: QuerySigningInfosRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySigningInfosRequest; - fromPartial(object: DeepPartial): QuerySigningInfosRequest; -}; -export declare const QuerySigningInfosResponse: { - encode(message: QuerySigningInfosResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySigningInfosResponse; - fromPartial(object: DeepPartial): QuerySigningInfosResponse; -}; diff --git a/packages/codegen/dist/cosmos/slashing/v1beta1/query.lcd.d.ts b/packages/codegen/dist/cosmos/slashing/v1beta1/query.lcd.d.ts deleted file mode 100644 index 68fa91bb..00000000 --- a/packages/codegen/dist/cosmos/slashing/v1beta1/query.lcd.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { QueryParamsRequest, QueryParamsResponseSDKType, QuerySigningInfoRequest, QuerySigningInfoResponseSDKType, QuerySigningInfosRequest, QuerySigningInfosResponseSDKType } from "./query"; -export declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - params(_params?: QueryParamsRequest): Promise; - signingInfo(params: QuerySigningInfoRequest): Promise; - signingInfos(params?: QuerySigningInfosRequest): Promise; -} diff --git a/packages/codegen/dist/cosmos/slashing/v1beta1/query.rpc.Query.d.ts b/packages/codegen/dist/cosmos/slashing/v1beta1/query.rpc.Query.d.ts deleted file mode 100644 index ff339175..00000000 --- a/packages/codegen/dist/cosmos/slashing/v1beta1/query.rpc.Query.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { QueryClient } from "@cosmjs/stargate"; -import { QueryParamsRequest, QueryParamsResponse, QuerySigningInfoRequest, QuerySigningInfoResponse, QuerySigningInfosRequest, QuerySigningInfosResponse } from "./query"; -/** Query provides defines the gRPC querier service */ -export interface Query { - /** Params queries the parameters of slashing module */ - params(request?: QueryParamsRequest): Promise; - /** SigningInfo queries the signing info of given cons address */ - signingInfo(request: QuerySigningInfoRequest): Promise; - /** SigningInfos queries signing info of all validators */ - signingInfos(request?: QuerySigningInfosRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: Rpc); - params(request?: QueryParamsRequest): Promise; - signingInfo(request: QuerySigningInfoRequest): Promise; - signingInfos(request?: QuerySigningInfosRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - params(request?: QueryParamsRequest): Promise; - signingInfo(request: QuerySigningInfoRequest): Promise; - signingInfos(request?: QuerySigningInfosRequest): Promise; -}; diff --git a/packages/codegen/dist/cosmos/slashing/v1beta1/slashing.d.ts b/packages/codegen/dist/cosmos/slashing/v1beta1/slashing.d.ts deleted file mode 100644 index b7dd7ad3..00000000 --- a/packages/codegen/dist/cosmos/slashing/v1beta1/slashing.d.ts +++ /dev/null @@ -1,69 +0,0 @@ -/// -import { Duration, DurationSDKType } from "../../../google/protobuf/duration"; -import { Long, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * ValidatorSigningInfo defines a validator's signing info for monitoring their - * liveness activity. - */ -export interface ValidatorSigningInfo { - address: string; - /** Height at which validator was first a candidate OR was unjailed */ - startHeight: Long; - /** - * Index which is incremented each time the validator was a bonded - * in a block and may have signed a precommit or not. This in conjunction with the - * `SignedBlocksWindow` param determines the index in the `MissedBlocksBitArray`. - */ - indexOffset: Long; - /** Timestamp until which the validator is jailed due to liveness downtime. */ - jailedUntil?: Date; - /** - * 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; - start_height: Long; - index_offset: Long; - jailed_until?: Date; - tombstoned: boolean; - missed_blocks_counter: Long; -} -/** Params represents the parameters used for by the slashing module. */ -export interface Params { - signedBlocksWindow: Long; - minSignedPerWindow: Uint8Array; - downtimeJailDuration?: Duration; - slashFractionDoubleSign: Uint8Array; - slashFractionDowntime: Uint8Array; -} -/** Params represents the parameters used for by the slashing module. */ -export interface ParamsSDKType { - signed_blocks_window: Long; - min_signed_per_window: Uint8Array; - downtime_jail_duration?: DurationSDKType; - slash_fraction_double_sign: Uint8Array; - slash_fraction_downtime: Uint8Array; -} -export declare const ValidatorSigningInfo: { - encode(message: ValidatorSigningInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSigningInfo; - fromPartial(object: DeepPartial): ValidatorSigningInfo; -}; -export declare const Params: { - encode(message: Params, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Params; - fromPartial(object: DeepPartial): Params; -}; diff --git a/packages/codegen/dist/cosmos/slashing/v1beta1/tx.d.ts b/packages/codegen/dist/cosmos/slashing/v1beta1/tx.d.ts deleted file mode 100644 index fe6632c6..00000000 --- a/packages/codegen/dist/cosmos/slashing/v1beta1/tx.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../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 { -} -export declare const MsgUnjail: { - encode(message: MsgUnjail, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUnjail; - fromPartial(object: DeepPartial): MsgUnjail; -}; -export declare const MsgUnjailResponse: { - encode(_: MsgUnjailResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUnjailResponse; - fromPartial(_: DeepPartial): MsgUnjailResponse; -}; diff --git a/packages/codegen/dist/cosmos/slashing/v1beta1/tx.rpc.msg.d.ts b/packages/codegen/dist/cosmos/slashing/v1beta1/tx.rpc.msg.d.ts deleted file mode 100644 index 706396b1..00000000 --- a/packages/codegen/dist/cosmos/slashing/v1beta1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { MsgUnjail, MsgUnjailResponse } from "./tx"; -/** Msg defines the slashing Msg service. */ -export interface Msg { - /** - * Unjail defines a method for unjailing a jailed validator, thus returning - * them into the bonded validator set, so they can begin receiving provisions - * and rewards again. - */ - unjail(request: MsgUnjail): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: Rpc); - unjail(request: MsgUnjail): Promise; -} diff --git a/packages/codegen/dist/cosmos/staking/v1beta1/authz.d.ts b/packages/codegen/dist/cosmos/staking/v1beta1/authz.d.ts deleted file mode 100644 index a5baac2d..00000000 --- a/packages/codegen/dist/cosmos/staking/v1beta1/authz.d.ts +++ /dev/null @@ -1,72 +0,0 @@ -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../helpers"; -/** - * AuthorizationType defines the type of staking module authorization type - * - * Since: cosmos-sdk 0.43 - */ -export declare enum AuthorizationType { - /** AUTHORIZATION_TYPE_UNSPECIFIED - AUTHORIZATION_TYPE_UNSPECIFIED specifies an unknown authorization type */ - AUTHORIZATION_TYPE_UNSPECIFIED = 0, - /** AUTHORIZATION_TYPE_DELEGATE - AUTHORIZATION_TYPE_DELEGATE defines an authorization type for Msg/Delegate */ - AUTHORIZATION_TYPE_DELEGATE = 1, - /** AUTHORIZATION_TYPE_UNDELEGATE - AUTHORIZATION_TYPE_UNDELEGATE defines an authorization type for Msg/Undelegate */ - AUTHORIZATION_TYPE_UNDELEGATE = 2, - /** AUTHORIZATION_TYPE_REDELEGATE - AUTHORIZATION_TYPE_REDELEGATE defines an authorization type for Msg/BeginRedelegate */ - AUTHORIZATION_TYPE_REDELEGATE = 3, - UNRECOGNIZED = -1 -} -export declare const AuthorizationTypeSDKType: typeof AuthorizationType; -export declare function authorizationTypeFromJSON(object: any): AuthorizationType; -export declare function authorizationTypeToJSON(object: AuthorizationType): string; -/** - * StakeAuthorization defines authorization for delegate/undelegate/redelegate. - * - * Since: cosmos-sdk 0.43 - */ -export interface StakeAuthorization { - /** - * max_tokens specifies the maximum amount of tokens can be delegate to a validator. If it is - * empty, there is no spend limit and any amount of coins can be delegated. - */ - maxTokens?: Coin; - /** - * allow_list specifies list of validator addresses to whom grantee can delegate tokens on behalf of granter's - * account. - */ - allowList?: StakeAuthorization_Validators; - /** deny_list specifies list of validator addresses to whom grantee can not delegate tokens. */ - denyList?: StakeAuthorization_Validators; - /** authorization_type defines one of AuthorizationType. */ - authorizationType: AuthorizationType; -} -/** - * StakeAuthorization defines authorization for delegate/undelegate/redelegate. - * - * Since: cosmos-sdk 0.43 - */ -export interface StakeAuthorizationSDKType { - max_tokens?: CoinSDKType; - allow_list?: StakeAuthorization_ValidatorsSDKType; - deny_list?: StakeAuthorization_ValidatorsSDKType; - authorization_type: AuthorizationType; -} -/** Validators defines list of validator addresses. */ -export interface StakeAuthorization_Validators { - address: string[]; -} -/** Validators defines list of validator addresses. */ -export interface StakeAuthorization_ValidatorsSDKType { - address: string[]; -} -export declare const StakeAuthorization: { - encode(message: StakeAuthorization, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): StakeAuthorization; - fromPartial(object: DeepPartial): StakeAuthorization; -}; -export declare const StakeAuthorization_Validators: { - encode(message: StakeAuthorization_Validators, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): StakeAuthorization_Validators; - fromPartial(object: DeepPartial): StakeAuthorization_Validators; -}; diff --git a/packages/codegen/dist/cosmos/staking/v1beta1/genesis.d.ts b/packages/codegen/dist/cosmos/staking/v1beta1/genesis.d.ts deleted file mode 100644 index 975dbd15..00000000 --- a/packages/codegen/dist/cosmos/staking/v1beta1/genesis.d.ts +++ /dev/null @@ -1,61 +0,0 @@ -/// -import { Params, ParamsSDKType, Validator, ValidatorSDKType, Delegation, DelegationSDKType, UnbondingDelegation, UnbondingDelegationSDKType, Redelegation, RedelegationSDKType } from "./staking"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, 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; - /** - * 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?: ParamsSDKType; - last_total_power: Uint8Array; - last_validator_powers: LastValidatorPowerSDKType[]; - validators: ValidatorSDKType[]; - delegations: DelegationSDKType[]; - unbonding_delegations: UnbondingDelegationSDKType[]; - redelegations: RedelegationSDKType[]; - exported: boolean; -} -/** LastValidatorPower required for validator set update logic. */ -export interface LastValidatorPower { - /** address is the address of the validator. */ - address: string; - /** power defines the power of the validator. */ - power: Long; -} -/** LastValidatorPower required for validator set update logic. */ -export interface LastValidatorPowerSDKType { - address: string; - power: Long; -} -export declare const GenesisState: { - encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState; - fromPartial(object: DeepPartial): GenesisState; -}; -export declare const LastValidatorPower: { - encode(message: LastValidatorPower, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): LastValidatorPower; - fromPartial(object: DeepPartial): LastValidatorPower; -}; diff --git a/packages/codegen/dist/cosmos/staking/v1beta1/query.d.ts b/packages/codegen/dist/cosmos/staking/v1beta1/query.d.ts deleted file mode 100644 index e7124182..00000000 --- a/packages/codegen/dist/cosmos/staking/v1beta1/query.d.ts +++ /dev/null @@ -1,552 +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 { DeepPartial, 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; -} -/** QueryValidatorsRequest is request type for Query/Validators RPC method. */ -export interface QueryValidatorsRequestSDKType { - status: string; - pagination?: PageRequestSDKType; -} -/** QueryValidatorsResponse is response type for the Query/Validators RPC method */ -export interface QueryValidatorsResponse { - /** validators contains all the queried validators. */ - validators: Validator[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse; -} -/** QueryValidatorsResponse is response type for the Query/Validators RPC method */ -export interface QueryValidatorsResponseSDKType { - validators: ValidatorSDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryValidatorRequest is response type for the Query/Validator RPC method */ -export interface QueryValidatorRequest { - /** validator_addr defines the validator address to query for. */ - validatorAddr: string; -} -/** QueryValidatorRequest is response type for the Query/Validator RPC method */ -export interface QueryValidatorRequestSDKType { - validator_addr: string; -} -/** QueryValidatorResponse is response type for the Query/Validator RPC method */ -export interface QueryValidatorResponse { - /** validator defines the the validator info. */ - validator?: Validator; -} -/** QueryValidatorResponse is response type for the Query/Validator RPC method */ -export interface QueryValidatorResponseSDKType { - validator?: ValidatorSDKType; -} -/** - * QueryValidatorDelegationsRequest is request type for the - * Query/ValidatorDelegations RPC method - */ -export interface QueryValidatorDelegationsRequest { - /** validator_addr defines the validator address to query for. */ - validatorAddr: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest; -} -/** - * QueryValidatorDelegationsRequest is request type for the - * Query/ValidatorDelegations RPC method - */ -export interface QueryValidatorDelegationsRequestSDKType { - validator_addr: string; - pagination?: PageRequestSDKType; -} -/** - * QueryValidatorDelegationsResponse is response type for the - * Query/ValidatorDelegations RPC method - */ -export interface QueryValidatorDelegationsResponse { - delegationResponses: DelegationResponse[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse; -} -/** - * QueryValidatorDelegationsResponse is response type for the - * Query/ValidatorDelegations RPC method - */ -export interface QueryValidatorDelegationsResponseSDKType { - delegation_responses: DelegationResponseSDKType[]; - pagination?: PageResponseSDKType; -} -/** - * QueryValidatorUnbondingDelegationsRequest is required type for the - * Query/ValidatorUnbondingDelegations RPC method - */ -export interface QueryValidatorUnbondingDelegationsRequest { - /** validator_addr defines the validator address to query for. */ - validatorAddr: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest; -} -/** - * QueryValidatorUnbondingDelegationsRequest is required type for the - * Query/ValidatorUnbondingDelegations RPC method - */ -export interface QueryValidatorUnbondingDelegationsRequestSDKType { - validator_addr: string; - pagination?: PageRequestSDKType; -} -/** - * QueryValidatorUnbondingDelegationsResponse is response type for the - * Query/ValidatorUnbondingDelegations RPC method. - */ -export interface QueryValidatorUnbondingDelegationsResponse { - unbondingResponses: UnbondingDelegation[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse; -} -/** - * QueryValidatorUnbondingDelegationsResponse is response type for the - * Query/ValidatorUnbondingDelegations RPC method. - */ -export interface QueryValidatorUnbondingDelegationsResponseSDKType { - unbonding_responses: UnbondingDelegationSDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryDelegationRequest is request type for the Query/Delegation RPC method. */ -export interface QueryDelegationRequest { - /** delegator_addr defines the delegator address to query for. */ - delegatorAddr: string; - /** validator_addr defines the validator address to query for. */ - validatorAddr: string; -} -/** QueryDelegationRequest is request type for the Query/Delegation RPC method. */ -export interface QueryDelegationRequestSDKType { - delegator_addr: string; - validator_addr: string; -} -/** QueryDelegationResponse is response type for the Query/Delegation RPC method. */ -export interface QueryDelegationResponse { - /** delegation_responses defines the delegation info of a delegation. */ - delegationResponse?: DelegationResponse; -} -/** QueryDelegationResponse is response type for the Query/Delegation RPC method. */ -export interface QueryDelegationResponseSDKType { - delegation_response?: DelegationResponseSDKType; -} -/** - * QueryUnbondingDelegationRequest is request type for the - * Query/UnbondingDelegation RPC method. - */ -export interface QueryUnbondingDelegationRequest { - /** delegator_addr defines the delegator address to query for. */ - delegatorAddr: string; - /** validator_addr defines the validator address to query for. */ - validatorAddr: string; -} -/** - * QueryUnbondingDelegationRequest is request type for the - * Query/UnbondingDelegation RPC method. - */ -export interface QueryUnbondingDelegationRequestSDKType { - delegator_addr: string; - validator_addr: string; -} -/** - * QueryDelegationResponse is response type for the Query/UnbondingDelegation - * RPC method. - */ -export interface QueryUnbondingDelegationResponse { - /** unbond defines the unbonding information of a delegation. */ - unbond?: UnbondingDelegation; -} -/** - * QueryDelegationResponse is response type for the Query/UnbondingDelegation - * RPC method. - */ -export interface QueryUnbondingDelegationResponseSDKType { - unbond?: UnbondingDelegationSDKType; -} -/** - * QueryDelegatorDelegationsRequest is request type for the - * Query/DelegatorDelegations RPC method. - */ -export interface QueryDelegatorDelegationsRequest { - /** delegator_addr defines the delegator address to query for. */ - delegatorAddr: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest; -} -/** - * QueryDelegatorDelegationsRequest is request type for the - * Query/DelegatorDelegations RPC method. - */ -export interface QueryDelegatorDelegationsRequestSDKType { - delegator_addr: string; - pagination?: PageRequestSDKType; -} -/** - * QueryDelegatorDelegationsResponse is response type for the - * Query/DelegatorDelegations RPC method. - */ -export interface QueryDelegatorDelegationsResponse { - /** delegation_responses defines all the delegations' info of a delegator. */ - delegationResponses: DelegationResponse[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse; -} -/** - * QueryDelegatorDelegationsResponse is response type for the - * Query/DelegatorDelegations RPC method. - */ -export interface QueryDelegatorDelegationsResponseSDKType { - delegation_responses: DelegationResponseSDKType[]; - pagination?: PageResponseSDKType; -} -/** - * QueryDelegatorUnbondingDelegationsRequest is request type for the - * Query/DelegatorUnbondingDelegations RPC method. - */ -export interface QueryDelegatorUnbondingDelegationsRequest { - /** delegator_addr defines the delegator address to query for. */ - delegatorAddr: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest; -} -/** - * QueryDelegatorUnbondingDelegationsRequest is request type for the - * Query/DelegatorUnbondingDelegations RPC method. - */ -export interface QueryDelegatorUnbondingDelegationsRequestSDKType { - delegator_addr: string; - pagination?: PageRequestSDKType; -} -/** - * QueryUnbondingDelegatorDelegationsResponse is response type for the - * Query/UnbondingDelegatorDelegations RPC method. - */ -export interface QueryDelegatorUnbondingDelegationsResponse { - unbondingResponses: UnbondingDelegation[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse; -} -/** - * QueryUnbondingDelegatorDelegationsResponse is response type for the - * Query/UnbondingDelegatorDelegations RPC method. - */ -export interface QueryDelegatorUnbondingDelegationsResponseSDKType { - unbonding_responses: UnbondingDelegationSDKType[]; - pagination?: PageResponseSDKType; -} -/** - * QueryRedelegationsRequest is request type for the Query/Redelegations RPC - * method. - */ -export interface QueryRedelegationsRequest { - /** delegator_addr defines the delegator address to query for. */ - delegatorAddr: string; - /** src_validator_addr defines the validator address to redelegate from. */ - srcValidatorAddr: string; - /** dst_validator_addr defines the validator address to redelegate to. */ - dstValidatorAddr: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest; -} -/** - * QueryRedelegationsRequest is request type for the Query/Redelegations RPC - * method. - */ -export interface QueryRedelegationsRequestSDKType { - delegator_addr: string; - src_validator_addr: string; - dst_validator_addr: string; - pagination?: PageRequestSDKType; -} -/** - * QueryRedelegationsResponse is response type for the Query/Redelegations RPC - * method. - */ -export interface QueryRedelegationsResponse { - redelegationResponses: RedelegationResponse[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse; -} -/** - * QueryRedelegationsResponse is response type for the Query/Redelegations RPC - * method. - */ -export interface QueryRedelegationsResponseSDKType { - redelegation_responses: RedelegationResponseSDKType[]; - pagination?: PageResponseSDKType; -} -/** - * QueryDelegatorValidatorsRequest is request type for the - * Query/DelegatorValidators RPC method. - */ -export interface QueryDelegatorValidatorsRequest { - /** delegator_addr defines the delegator address to query for. */ - delegatorAddr: string; - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest; -} -/** - * QueryDelegatorValidatorsRequest is request type for the - * Query/DelegatorValidators RPC method. - */ -export interface QueryDelegatorValidatorsRequestSDKType { - delegator_addr: string; - pagination?: PageRequestSDKType; -} -/** - * QueryDelegatorValidatorsResponse is response type for the - * Query/DelegatorValidators RPC method. - */ -export interface QueryDelegatorValidatorsResponse { - /** validators defines the the validators' info of a delegator. */ - validators: Validator[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse; -} -/** - * QueryDelegatorValidatorsResponse is response type for the - * Query/DelegatorValidators RPC method. - */ -export interface QueryDelegatorValidatorsResponseSDKType { - validators: ValidatorSDKType[]; - pagination?: PageResponseSDKType; -} -/** - * QueryDelegatorValidatorRequest is request type for the - * Query/DelegatorValidator RPC method. - */ -export interface QueryDelegatorValidatorRequest { - /** delegator_addr defines the delegator address to query for. */ - delegatorAddr: string; - /** validator_addr defines the validator address to query for. */ - validatorAddr: string; -} -/** - * QueryDelegatorValidatorRequest is request type for the - * Query/DelegatorValidator RPC method. - */ -export interface QueryDelegatorValidatorRequestSDKType { - delegator_addr: string; - validator_addr: string; -} -/** - * QueryDelegatorValidatorResponse response type for the - * Query/DelegatorValidator RPC method. - */ -export interface QueryDelegatorValidatorResponse { - /** validator defines the the validator info. */ - validator?: Validator; -} -/** - * QueryDelegatorValidatorResponse response type for the - * Query/DelegatorValidator RPC method. - */ -export interface QueryDelegatorValidatorResponseSDKType { - validator?: ValidatorSDKType; -} -/** - * QueryHistoricalInfoRequest is request type for the Query/HistoricalInfo RPC - * method. - */ -export interface QueryHistoricalInfoRequest { - /** height defines at which height to query the historical info. */ - height: Long; -} -/** - * QueryHistoricalInfoRequest is request type for the Query/HistoricalInfo RPC - * method. - */ -export interface QueryHistoricalInfoRequestSDKType { - height: Long; -} -/** - * QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC - * method. - */ -export interface QueryHistoricalInfoResponse { - /** hist defines the historical info at the given height. */ - hist?: HistoricalInfo; -} -/** - * QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC - * method. - */ -export interface QueryHistoricalInfoResponseSDKType { - hist?: HistoricalInfoSDKType; -} -/** QueryPoolRequest is request type for the Query/Pool RPC method. */ -export interface QueryPoolRequest { -} -/** 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; -} -/** QueryPoolResponse is response type for the Query/Pool RPC method. */ -export interface QueryPoolResponseSDKType { - pool?: PoolSDKType; -} -/** QueryParamsRequest is request type for the Query/Params RPC method. */ -export interface QueryParamsRequest { -} -/** 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; -} -/** QueryParamsResponse is response type for the Query/Params RPC method. */ -export interface QueryParamsResponseSDKType { - params?: ParamsSDKType; -} -export declare const QueryValidatorsRequest: { - encode(message: QueryValidatorsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorsRequest; - fromPartial(object: DeepPartial): QueryValidatorsRequest; -}; -export declare const QueryValidatorsResponse: { - encode(message: QueryValidatorsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorsResponse; - fromPartial(object: DeepPartial): QueryValidatorsResponse; -}; -export declare const QueryValidatorRequest: { - encode(message: QueryValidatorRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorRequest; - fromPartial(object: DeepPartial): QueryValidatorRequest; -}; -export declare const QueryValidatorResponse: { - encode(message: QueryValidatorResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorResponse; - fromPartial(object: DeepPartial): QueryValidatorResponse; -}; -export declare const QueryValidatorDelegationsRequest: { - encode(message: QueryValidatorDelegationsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorDelegationsRequest; - fromPartial(object: DeepPartial): QueryValidatorDelegationsRequest; -}; -export declare const QueryValidatorDelegationsResponse: { - encode(message: QueryValidatorDelegationsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorDelegationsResponse; - fromPartial(object: DeepPartial): QueryValidatorDelegationsResponse; -}; -export declare const QueryValidatorUnbondingDelegationsRequest: { - encode(message: QueryValidatorUnbondingDelegationsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorUnbondingDelegationsRequest; - fromPartial(object: DeepPartial): QueryValidatorUnbondingDelegationsRequest; -}; -export declare const QueryValidatorUnbondingDelegationsResponse: { - encode(message: QueryValidatorUnbondingDelegationsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryValidatorUnbondingDelegationsResponse; - fromPartial(object: DeepPartial): QueryValidatorUnbondingDelegationsResponse; -}; -export declare const QueryDelegationRequest: { - encode(message: QueryDelegationRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationRequest; - fromPartial(object: DeepPartial): QueryDelegationRequest; -}; -export declare const QueryDelegationResponse: { - encode(message: QueryDelegationResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegationResponse; - fromPartial(object: DeepPartial): QueryDelegationResponse; -}; -export declare const QueryUnbondingDelegationRequest: { - encode(message: QueryUnbondingDelegationRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnbondingDelegationRequest; - fromPartial(object: DeepPartial): QueryUnbondingDelegationRequest; -}; -export declare const QueryUnbondingDelegationResponse: { - encode(message: QueryUnbondingDelegationResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnbondingDelegationResponse; - fromPartial(object: DeepPartial): QueryUnbondingDelegationResponse; -}; -export declare const QueryDelegatorDelegationsRequest: { - encode(message: QueryDelegatorDelegationsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorDelegationsRequest; - fromPartial(object: DeepPartial): QueryDelegatorDelegationsRequest; -}; -export declare const QueryDelegatorDelegationsResponse: { - encode(message: QueryDelegatorDelegationsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorDelegationsResponse; - fromPartial(object: DeepPartial): QueryDelegatorDelegationsResponse; -}; -export declare const QueryDelegatorUnbondingDelegationsRequest: { - encode(message: QueryDelegatorUnbondingDelegationsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorUnbondingDelegationsRequest; - fromPartial(object: DeepPartial): QueryDelegatorUnbondingDelegationsRequest; -}; -export declare const QueryDelegatorUnbondingDelegationsResponse: { - encode(message: QueryDelegatorUnbondingDelegationsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorUnbondingDelegationsResponse; - fromPartial(object: DeepPartial): QueryDelegatorUnbondingDelegationsResponse; -}; -export declare const QueryRedelegationsRequest: { - encode(message: QueryRedelegationsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryRedelegationsRequest; - fromPartial(object: DeepPartial): QueryRedelegationsRequest; -}; -export declare const QueryRedelegationsResponse: { - encode(message: QueryRedelegationsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryRedelegationsResponse; - fromPartial(object: DeepPartial): QueryRedelegationsResponse; -}; -export declare const QueryDelegatorValidatorsRequest: { - encode(message: QueryDelegatorValidatorsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsRequest; - fromPartial(object: DeepPartial): QueryDelegatorValidatorsRequest; -}; -export declare const QueryDelegatorValidatorsResponse: { - encode(message: QueryDelegatorValidatorsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorsResponse; - fromPartial(object: DeepPartial): QueryDelegatorValidatorsResponse; -}; -export declare const QueryDelegatorValidatorRequest: { - encode(message: QueryDelegatorValidatorRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorRequest; - fromPartial(object: DeepPartial): QueryDelegatorValidatorRequest; -}; -export declare const QueryDelegatorValidatorResponse: { - encode(message: QueryDelegatorValidatorResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDelegatorValidatorResponse; - fromPartial(object: DeepPartial): QueryDelegatorValidatorResponse; -}; -export declare const QueryHistoricalInfoRequest: { - encode(message: QueryHistoricalInfoRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryHistoricalInfoRequest; - fromPartial(object: DeepPartial): QueryHistoricalInfoRequest; -}; -export declare const QueryHistoricalInfoResponse: { - encode(message: QueryHistoricalInfoResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryHistoricalInfoResponse; - fromPartial(object: DeepPartial): QueryHistoricalInfoResponse; -}; -export declare const QueryPoolRequest: { - encode(_: QueryPoolRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPoolRequest; - fromPartial(_: DeepPartial): QueryPoolRequest; -}; -export declare const QueryPoolResponse: { - encode(message: QueryPoolResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPoolResponse; - fromPartial(object: DeepPartial): QueryPoolResponse; -}; -export declare const QueryParamsRequest: { - encode(_: QueryParamsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest; - fromPartial(_: DeepPartial): QueryParamsRequest; -}; -export declare const QueryParamsResponse: { - encode(message: QueryParamsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse; - fromPartial(object: DeepPartial): QueryParamsResponse; -}; diff --git a/packages/codegen/dist/cosmos/staking/v1beta1/query.lcd.d.ts b/packages/codegen/dist/cosmos/staking/v1beta1/query.lcd.d.ts deleted file mode 100644 index f477464b..00000000 --- a/packages/codegen/dist/cosmos/staking/v1beta1/query.lcd.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { QueryValidatorsRequest, QueryValidatorsResponseSDKType, QueryValidatorRequest, QueryValidatorResponseSDKType, QueryValidatorDelegationsRequest, QueryValidatorDelegationsResponseSDKType, QueryValidatorUnbondingDelegationsRequest, QueryValidatorUnbondingDelegationsResponseSDKType, QueryDelegationRequest, QueryDelegationResponseSDKType, QueryUnbondingDelegationRequest, QueryUnbondingDelegationResponseSDKType, QueryDelegatorDelegationsRequest, QueryDelegatorDelegationsResponseSDKType, QueryDelegatorUnbondingDelegationsRequest, QueryDelegatorUnbondingDelegationsResponseSDKType, QueryRedelegationsRequest, QueryRedelegationsResponseSDKType, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsResponseSDKType, QueryDelegatorValidatorRequest, QueryDelegatorValidatorResponseSDKType, QueryHistoricalInfoRequest, QueryHistoricalInfoResponseSDKType, QueryPoolRequest, QueryPoolResponseSDKType, QueryParamsRequest, QueryParamsResponseSDKType } from "./query"; -export declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - validators(params: QueryValidatorsRequest): Promise; - validator(params: QueryValidatorRequest): Promise; - validatorDelegations(params: QueryValidatorDelegationsRequest): Promise; - validatorUnbondingDelegations(params: QueryValidatorUnbondingDelegationsRequest): Promise; - delegation(params: QueryDelegationRequest): Promise; - unbondingDelegation(params: QueryUnbondingDelegationRequest): Promise; - delegatorDelegations(params: QueryDelegatorDelegationsRequest): Promise; - delegatorUnbondingDelegations(params: QueryDelegatorUnbondingDelegationsRequest): Promise; - redelegations(params: QueryRedelegationsRequest): Promise; - delegatorValidators(params: QueryDelegatorValidatorsRequest): Promise; - delegatorValidator(params: QueryDelegatorValidatorRequest): Promise; - historicalInfo(params: QueryHistoricalInfoRequest): Promise; - pool(_params?: QueryPoolRequest): Promise; - params(_params?: QueryParamsRequest): Promise; -} diff --git a/packages/codegen/dist/cosmos/staking/v1beta1/query.rpc.Query.d.ts b/packages/codegen/dist/cosmos/staking/v1beta1/query.rpc.Query.d.ts deleted file mode 100644 index 6f710e5d..00000000 --- a/packages/codegen/dist/cosmos/staking/v1beta1/query.rpc.Query.d.ts +++ /dev/null @@ -1,80 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { QueryClient } from "@cosmjs/stargate"; -import { QueryValidatorsRequest, QueryValidatorsResponse, QueryValidatorRequest, QueryValidatorResponse, QueryValidatorDelegationsRequest, QueryValidatorDelegationsResponse, QueryValidatorUnbondingDelegationsRequest, QueryValidatorUnbondingDelegationsResponse, QueryDelegationRequest, QueryDelegationResponse, QueryUnbondingDelegationRequest, QueryUnbondingDelegationResponse, QueryDelegatorDelegationsRequest, QueryDelegatorDelegationsResponse, QueryDelegatorUnbondingDelegationsRequest, QueryDelegatorUnbondingDelegationsResponse, QueryRedelegationsRequest, QueryRedelegationsResponse, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsResponse, QueryDelegatorValidatorRequest, QueryDelegatorValidatorResponse, QueryHistoricalInfoRequest, QueryHistoricalInfoResponse, QueryPoolRequest, QueryPoolResponse, QueryParamsRequest, QueryParamsResponse } from "./query"; -/** Query defines the gRPC querier service. */ -export interface Query { - /** Validators queries all validators that match the given status. */ - validators(request: QueryValidatorsRequest): Promise; - /** Validator queries validator info for given validator address. */ - validator(request: QueryValidatorRequest): Promise; - /** ValidatorDelegations queries delegate info for given validator. */ - validatorDelegations(request: QueryValidatorDelegationsRequest): Promise; - /** ValidatorUnbondingDelegations queries unbonding delegations of a validator. */ - validatorUnbondingDelegations(request: QueryValidatorUnbondingDelegationsRequest): Promise; - /** Delegation queries delegate info for given validator delegator pair. */ - delegation(request: QueryDelegationRequest): Promise; - /** - * UnbondingDelegation queries unbonding info for given validator delegator - * pair. - */ - unbondingDelegation(request: QueryUnbondingDelegationRequest): Promise; - /** DelegatorDelegations queries all delegations of a given delegator address. */ - delegatorDelegations(request: QueryDelegatorDelegationsRequest): Promise; - /** - * DelegatorUnbondingDelegations queries all unbonding delegations of a given - * delegator address. - */ - delegatorUnbondingDelegations(request: QueryDelegatorUnbondingDelegationsRequest): Promise; - /** Redelegations queries redelegations of given address. */ - redelegations(request: QueryRedelegationsRequest): Promise; - /** - * DelegatorValidators queries all validators info for given delegator - * address. - */ - delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise; - /** - * DelegatorValidator queries validator info for given delegator validator - * pair. - */ - delegatorValidator(request: QueryDelegatorValidatorRequest): Promise; - /** HistoricalInfo queries the historical info for given height. */ - historicalInfo(request: QueryHistoricalInfoRequest): Promise; - /** Pool queries the pool info. */ - pool(request?: QueryPoolRequest): Promise; - /** Parameters queries the staking parameters. */ - params(request?: QueryParamsRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: Rpc); - validators(request: QueryValidatorsRequest): Promise; - validator(request: QueryValidatorRequest): Promise; - validatorDelegations(request: QueryValidatorDelegationsRequest): Promise; - validatorUnbondingDelegations(request: QueryValidatorUnbondingDelegationsRequest): Promise; - delegation(request: QueryDelegationRequest): Promise; - unbondingDelegation(request: QueryUnbondingDelegationRequest): Promise; - delegatorDelegations(request: QueryDelegatorDelegationsRequest): Promise; - delegatorUnbondingDelegations(request: QueryDelegatorUnbondingDelegationsRequest): Promise; - redelegations(request: QueryRedelegationsRequest): Promise; - delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise; - delegatorValidator(request: QueryDelegatorValidatorRequest): Promise; - historicalInfo(request: QueryHistoricalInfoRequest): Promise; - pool(request?: QueryPoolRequest): Promise; - params(request?: QueryParamsRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - validators(request: QueryValidatorsRequest): Promise; - validator(request: QueryValidatorRequest): Promise; - validatorDelegations(request: QueryValidatorDelegationsRequest): Promise; - validatorUnbondingDelegations(request: QueryValidatorUnbondingDelegationsRequest): Promise; - delegation(request: QueryDelegationRequest): Promise; - unbondingDelegation(request: QueryUnbondingDelegationRequest): Promise; - delegatorDelegations(request: QueryDelegatorDelegationsRequest): Promise; - delegatorUnbondingDelegations(request: QueryDelegatorUnbondingDelegationsRequest): Promise; - redelegations(request: QueryRedelegationsRequest): Promise; - delegatorValidators(request: QueryDelegatorValidatorsRequest): Promise; - delegatorValidator(request: QueryDelegatorValidatorRequest): Promise; - historicalInfo(request: QueryHistoricalInfoRequest): Promise; - pool(request?: QueryPoolRequest): Promise; - params(request?: QueryParamsRequest): Promise; -}; diff --git a/packages/codegen/dist/cosmos/staking/v1beta1/staking.d.ts b/packages/codegen/dist/cosmos/staking/v1beta1/staking.d.ts deleted file mode 100644 index 5ff33ef1..00000000 --- a/packages/codegen/dist/cosmos/staking/v1beta1/staking.d.ts +++ /dev/null @@ -1,513 +0,0 @@ -/// -import { Header, HeaderSDKType } from "../../../tendermint/types/types"; -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 { DeepPartial, Long } from "../../../helpers"; -/** BondStatus is the status of a validator. */ -export declare enum BondStatus { - /** BOND_STATUS_UNSPECIFIED - UNSPECIFIED defines an invalid validator status. */ - BOND_STATUS_UNSPECIFIED = 0, - /** BOND_STATUS_UNBONDED - UNBONDED defines a validator that is not bonded. */ - BOND_STATUS_UNBONDED = 1, - /** BOND_STATUS_UNBONDING - UNBONDING defines a validator that is unbonding. */ - BOND_STATUS_UNBONDING = 2, - /** BOND_STATUS_BONDED - BONDED defines a validator that is bonded. */ - BOND_STATUS_BONDED = 3, - UNRECOGNIZED = -1 -} -export declare const BondStatusSDKType: typeof BondStatus; -export declare function bondStatusFromJSON(object: any): BondStatus; -export declare function bondStatusToJSON(object: BondStatus): string; -/** - * HistoricalInfo contains header and validator information for a given block. - * It is stored as part of staking module's state, which persists the `n` most - * recent HistoricalInfo - * (`n` is set by the staking module's `historical_entries` parameter). - */ -export interface HistoricalInfo { - header?: Header; - valset: Validator[]; -} -/** - * HistoricalInfo contains header and validator information for a given block. - * It is stored as part of staking module's state, which persists the `n` most - * recent HistoricalInfo - * (`n` is set by the staking module's `historical_entries` parameter). - */ -export interface HistoricalInfoSDKType { - header?: HeaderSDKType; - valset: ValidatorSDKType[]; -} -/** - * CommissionRates defines the initial commission rates to be used for creating - * a validator. - */ -export interface CommissionRates { - /** rate is the commission rate charged to delegators, as a fraction. */ - rate: string; - /** max_rate defines the maximum commission rate which validator can ever charge, as a fraction. */ - maxRate: string; - /** max_change_rate defines the maximum daily increase of the validator commission, as a fraction. */ - maxChangeRate: string; -} -/** - * CommissionRates defines the initial commission rates to be used for creating - * a validator. - */ -export interface CommissionRatesSDKType { - rate: string; - max_rate: string; - max_change_rate: string; -} -/** Commission defines commission parameters for a given validator. */ -export interface Commission { - /** commission_rates defines the initial commission rates to be used for creating a validator. */ - commissionRates?: CommissionRates; - /** update_time is the last time the commission rate was changed. */ - updateTime?: Date; -} -/** Commission defines commission parameters for a given validator. */ -export interface CommissionSDKType { - commission_rates?: CommissionRatesSDKType; - update_time?: Date; -} -/** 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: string; - identity: string; - website: string; - security_contact: string; - details: string; -} -/** - * Validator defines a validator, together with the total amount of the - * Validator's bond shares and their exchange rate to coins. Slashing results in - * a decrease in the exchange rate, allowing correct calculation of future - * undelegations without iterating over delegators. When coins are delegated to - * this validator, the validator is credited with a delegation whose number of - * bond shares is based on the amount of coins delegated divided by the current - * exchange rate. Voting power can be calculated as total bonded shares - * multiplied by exchange rate. - */ -export interface Validator { - /** operator_address defines the address of the validator's operator; bech encoded in JSON. */ - operatorAddress: string; - /** consensus_pubkey is the consensus public key of the validator, as a Protobuf Any. */ - consensusPubkey?: Any; - /** jailed defined whether the validator has been jailed from bonded status or not. */ - jailed: boolean; - /** status is the validator status (bonded/unbonding/unbonded). */ - status: BondStatus; - /** tokens define the delegated tokens (incl. self-delegation). */ - tokens: string; - /** delegator_shares defines total shares issued to a validator's delegators. */ - delegatorShares: string; - /** description defines the description terms for the validator. */ - description?: Description; - /** unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. */ - unbondingHeight: Long; - /** unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. */ - unbondingTime?: Date; - /** commission defines the commission parameters. */ - commission?: Commission; - /** 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: string; - consensus_pubkey?: AnySDKType; - jailed: boolean; - status: BondStatus; - tokens: string; - delegator_shares: string; - description?: DescriptionSDKType; - unbonding_height: Long; - unbonding_time?: Date; - commission?: CommissionSDKType; - 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: string; - validator_address: string; - shares: string; -} -/** - * UnbondingDelegation stores all of a single delegator's unbonding bonds - * for a single validator in an time-ordered list. - */ -export interface UnbondingDelegation { - /** delegator_address is the bech32-encoded address of the delegator. */ - delegatorAddress: string; - /** validator_address is the bech32-encoded address of the validator. */ - validatorAddress: string; - /** entries are the unbonding delegation entries. */ - entries: UnbondingDelegationEntry[]; -} -/** - * UnbondingDelegation stores all of a single delegator's unbonding bonds - * for a single validator in an time-ordered list. - */ -export interface UnbondingDelegationSDKType { - delegator_address: string; - validator_address: string; - entries: UnbondingDelegationEntrySDKType[]; -} -/** UnbondingDelegationEntry defines an unbonding object with relevant metadata. */ -export interface UnbondingDelegationEntry { - /** creation_height is the height which the unbonding took place. */ - creationHeight: Long; - /** completion_time is the unix time for unbonding completion. */ - completionTime?: Date; - /** 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: Long; - completion_time?: Date; - initial_balance: string; - balance: string; -} -/** RedelegationEntry defines a redelegation object with relevant metadata. */ -export interface RedelegationEntry { - /** creation_height defines the height which the redelegation took place. */ - creationHeight: Long; - /** completion_time defines the unix time for redelegation completion. */ - completionTime?: Date; - /** 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: Long; - completion_time?: Date; - initial_balance: string; - shares_dst: string; -} -/** - * Redelegation contains the list of a particular delegator's redelegating bonds - * from a particular source validator to a particular destination validator. - */ -export interface Redelegation { - /** delegator_address is the bech32-encoded address of the delegator. */ - delegatorAddress: string; - /** validator_src_address is the validator redelegation source operator address. */ - validatorSrcAddress: string; - /** validator_dst_address is the validator redelegation destination operator address. */ - validatorDstAddress: string; - /** entries are the redelegation entries. */ - entries: RedelegationEntry[]; -} -/** - * Redelegation contains the list of a particular delegator's redelegating bonds - * from a particular source validator to a particular destination validator. - */ -export interface RedelegationSDKType { - delegator_address: string; - validator_src_address: string; - validator_dst_address: string; - entries: RedelegationEntrySDKType[]; -} -/** Params defines the parameters for the staking module. */ -export interface Params { - /** unbonding_time is the time duration of unbonding. */ - unbondingTime?: Duration; - /** max_validators is the maximum number of validators. */ - maxValidators: number; - /** max_entries is the max entries for either unbonding delegation or redelegation (per pair/trio). */ - maxEntries: number; - /** historical_entries is the number of historical entries to persist. */ - historicalEntries: number; - /** bond_denom defines the bondable coin denomination. */ - bondDenom: string; - /** min_commission_rate is the chain-wide minimum commission rate that a validator can charge their delegators */ - minCommissionRate: string; -} -/** Params defines the parameters for the staking module. */ -export interface ParamsSDKType { - unbonding_time?: DurationSDKType; - max_validators: number; - max_entries: number; - historical_entries: number; - bond_denom: string; - min_commission_rate: string; -} -/** - * DelegationResponse is equivalent to Delegation except that it contains a - * balance in addition to shares which is more suitable for client responses. - */ -export interface DelegationResponse { - delegation?: Delegation; - balance?: Coin; -} -/** - * DelegationResponse is equivalent to Delegation except that it contains a - * balance in addition to shares which is more suitable for client responses. - */ -export interface DelegationResponseSDKType { - delegation?: DelegationSDKType; - balance?: CoinSDKType; -} -/** - * RedelegationEntryResponse is equivalent to a RedelegationEntry except that it - * contains a balance in addition to shares which is more suitable for client - * responses. - */ -export interface RedelegationEntryResponse { - redelegationEntry?: RedelegationEntry; - balance: string; -} -/** - * RedelegationEntryResponse is equivalent to a RedelegationEntry except that it - * contains a balance in addition to shares which is more suitable for client - * responses. - */ -export interface RedelegationEntryResponseSDKType { - redelegation_entry?: RedelegationEntrySDKType; - balance: string; -} -/** - * RedelegationResponse is equivalent to a Redelegation except that its entries - * contain a balance in addition to shares which is more suitable for client - * responses. - */ -export interface RedelegationResponse { - redelegation?: Redelegation; - entries: RedelegationEntryResponse[]; -} -/** - * RedelegationResponse is equivalent to a Redelegation except that its entries - * contain a balance in addition to shares which is more suitable for client - * responses. - */ -export interface RedelegationResponseSDKType { - redelegation?: RedelegationSDKType; - entries: RedelegationEntryResponseSDKType[]; -} -/** - * Pool is used for tracking bonded and not-bonded token supply of the bond - * denomination. - */ -export interface Pool { - notBondedTokens: string; - bondedTokens: string; -} -/** - * Pool is used for tracking bonded and not-bonded token supply of the bond - * denomination. - */ -export interface PoolSDKType { - not_bonded_tokens: string; - bonded_tokens: string; -} -export declare const HistoricalInfo: { - encode(message: HistoricalInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): HistoricalInfo; - fromPartial(object: DeepPartial): HistoricalInfo; -}; -export declare const CommissionRates: { - encode(message: CommissionRates, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): CommissionRates; - fromPartial(object: DeepPartial): CommissionRates; -}; -export declare const Commission: { - encode(message: Commission, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Commission; - fromPartial(object: DeepPartial): Commission; -}; -export declare const Description: { - encode(message: Description, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Description; - fromPartial(object: DeepPartial): Description; -}; -export declare const Validator: { - encode(message: Validator, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Validator; - fromPartial(object: DeepPartial): Validator; -}; -export declare const ValAddresses: { - encode(message: ValAddresses, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ValAddresses; - fromPartial(object: DeepPartial): ValAddresses; -}; -export declare const DVPair: { - encode(message: DVPair, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DVPair; - fromPartial(object: DeepPartial): DVPair; -}; -export declare const DVPairs: { - encode(message: DVPairs, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DVPairs; - fromPartial(object: DeepPartial): DVPairs; -}; -export declare const DVVTriplet: { - encode(message: DVVTriplet, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DVVTriplet; - fromPartial(object: DeepPartial): DVVTriplet; -}; -export declare const DVVTriplets: { - encode(message: DVVTriplets, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DVVTriplets; - fromPartial(object: DeepPartial): DVVTriplets; -}; -export declare const Delegation: { - encode(message: Delegation, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Delegation; - fromPartial(object: DeepPartial): Delegation; -}; -export declare const UnbondingDelegation: { - encode(message: UnbondingDelegation, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): UnbondingDelegation; - fromPartial(object: DeepPartial): UnbondingDelegation; -}; -export declare const UnbondingDelegationEntry: { - encode(message: UnbondingDelegationEntry, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): UnbondingDelegationEntry; - fromPartial(object: DeepPartial): UnbondingDelegationEntry; -}; -export declare const RedelegationEntry: { - encode(message: RedelegationEntry, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): RedelegationEntry; - fromPartial(object: DeepPartial): RedelegationEntry; -}; -export declare const Redelegation: { - encode(message: Redelegation, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Redelegation; - fromPartial(object: DeepPartial): Redelegation; -}; -export declare const Params: { - encode(message: Params, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Params; - fromPartial(object: DeepPartial): Params; -}; -export declare const DelegationResponse: { - encode(message: DelegationResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DelegationResponse; - fromPartial(object: DeepPartial): DelegationResponse; -}; -export declare const RedelegationEntryResponse: { - encode(message: RedelegationEntryResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): RedelegationEntryResponse; - fromPartial(object: DeepPartial): RedelegationEntryResponse; -}; -export declare const RedelegationResponse: { - encode(message: RedelegationResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): RedelegationResponse; - fromPartial(object: DeepPartial): RedelegationResponse; -}; -export declare const Pool: { - encode(message: Pool, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Pool; - fromPartial(object: DeepPartial): Pool; -}; diff --git a/packages/codegen/dist/cosmos/staking/v1beta1/tx.d.ts b/packages/codegen/dist/cosmos/staking/v1beta1/tx.d.ts deleted file mode 100644 index 4c3d5d75..00000000 --- a/packages/codegen/dist/cosmos/staking/v1beta1/tx.d.ts +++ /dev/null @@ -1,185 +0,0 @@ -import { Description, DescriptionSDKType, CommissionRates, CommissionRatesSDKType } from "./staking"; -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../helpers"; -/** MsgCreateValidator defines a SDK message for creating a new validator. */ -export interface MsgCreateValidator { - description?: Description; - commission?: CommissionRates; - minSelfDelegation: string; - delegatorAddress: string; - validatorAddress: string; - pubkey?: Any; - value?: Coin; -} -/** MsgCreateValidator defines a SDK message for creating a new validator. */ -export interface MsgCreateValidatorSDKType { - description?: DescriptionSDKType; - commission?: CommissionRatesSDKType; - min_self_delegation: string; - delegator_address: string; - validator_address: string; - pubkey?: AnySDKType; - value?: CoinSDKType; -} -/** 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; - 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; - validator_address: string; - 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; -} -/** - * MsgDelegate defines a SDK message for performing a delegation of coins - * from a delegator to a validator. - */ -export interface MsgDelegateSDKType { - delegator_address: string; - validator_address: string; - amount?: CoinSDKType; -} -/** MsgDelegateResponse defines the Msg/Delegate response type. */ -export interface MsgDelegateResponse { -} -/** 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; -} -/** - * MsgBeginRedelegate defines a SDK message for performing a redelegation - * of coins from a delegator and source validator to a destination validator. - */ -export interface MsgBeginRedelegateSDKType { - delegator_address: string; - validator_src_address: string; - validator_dst_address: string; - amount?: CoinSDKType; -} -/** MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. */ -export interface MsgBeginRedelegateResponse { - completionTime?: Date; -} -/** MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. */ -export interface MsgBeginRedelegateResponseSDKType { - completion_time?: Date; -} -/** - * MsgUndelegate defines a SDK message for performing an undelegation from a - * delegate and a validator. - */ -export interface MsgUndelegate { - delegatorAddress: string; - validatorAddress: string; - amount?: Coin; -} -/** - * MsgUndelegate defines a SDK message for performing an undelegation from a - * delegate and a validator. - */ -export interface MsgUndelegateSDKType { - delegator_address: string; - validator_address: string; - amount?: CoinSDKType; -} -/** MsgUndelegateResponse defines the Msg/Undelegate response type. */ -export interface MsgUndelegateResponse { - completionTime?: Date; -} -/** MsgUndelegateResponse defines the Msg/Undelegate response type. */ -export interface MsgUndelegateResponseSDKType { - completion_time?: Date; -} -export declare const MsgCreateValidator: { - encode(message: MsgCreateValidator, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateValidator; - fromPartial(object: DeepPartial): MsgCreateValidator; -}; -export declare const MsgCreateValidatorResponse: { - encode(_: MsgCreateValidatorResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateValidatorResponse; - fromPartial(_: DeepPartial): MsgCreateValidatorResponse; -}; -export declare const MsgEditValidator: { - encode(message: MsgEditValidator, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgEditValidator; - fromPartial(object: DeepPartial): MsgEditValidator; -}; -export declare const MsgEditValidatorResponse: { - encode(_: MsgEditValidatorResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgEditValidatorResponse; - fromPartial(_: DeepPartial): MsgEditValidatorResponse; -}; -export declare const MsgDelegate: { - encode(message: MsgDelegate, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgDelegate; - fromPartial(object: DeepPartial): MsgDelegate; -}; -export declare const MsgDelegateResponse: { - encode(_: MsgDelegateResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgDelegateResponse; - fromPartial(_: DeepPartial): MsgDelegateResponse; -}; -export declare const MsgBeginRedelegate: { - encode(message: MsgBeginRedelegate, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgBeginRedelegate; - fromPartial(object: DeepPartial): MsgBeginRedelegate; -}; -export declare const MsgBeginRedelegateResponse: { - encode(message: MsgBeginRedelegateResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgBeginRedelegateResponse; - fromPartial(object: DeepPartial): MsgBeginRedelegateResponse; -}; -export declare const MsgUndelegate: { - encode(message: MsgUndelegate, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUndelegate; - fromPartial(object: DeepPartial): MsgUndelegate; -}; -export declare const MsgUndelegateResponse: { - encode(message: MsgUndelegateResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUndelegateResponse; - fromPartial(object: DeepPartial): MsgUndelegateResponse; -}; diff --git a/packages/codegen/dist/cosmos/staking/v1beta1/tx.rpc.msg.d.ts b/packages/codegen/dist/cosmos/staking/v1beta1/tx.rpc.msg.d.ts deleted file mode 100644 index 6de176bb..00000000 --- a/packages/codegen/dist/cosmos/staking/v1beta1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { Rpc } from "../../../helpers"; -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 declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: Rpc); - createValidator(request: MsgCreateValidator): Promise; - editValidator(request: MsgEditValidator): Promise; - delegate(request: MsgDelegate): Promise; - beginRedelegate(request: MsgBeginRedelegate): Promise; - undelegate(request: MsgUndelegate): Promise; -} diff --git a/packages/codegen/dist/cosmos/tx/signing/v1beta1/signing.d.ts b/packages/codegen/dist/cosmos/tx/signing/v1beta1/signing.d.ts deleted file mode 100644 index 34aac02d..00000000 --- a/packages/codegen/dist/cosmos/tx/signing/v1beta1/signing.d.ts +++ /dev/null @@ -1,149 +0,0 @@ -/// -import { CompactBitArray, CompactBitArraySDKType } from "../../../crypto/multisig/v1beta1/multisig"; -import { Any, AnySDKType } from "../../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, 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 declare enum SignMode { - /** - * SIGN_MODE_UNSPECIFIED - SIGN_MODE_UNSPECIFIED specifies an unknown signing mode and will be - * rejected. - */ - SIGN_MODE_UNSPECIFIED = 0, - /** - * SIGN_MODE_DIRECT - SIGN_MODE_DIRECT specifies a signing mode which uses SignDoc and is - * verified with raw bytes from Tx. - */ - SIGN_MODE_DIRECT = 1, - /** - * SIGN_MODE_TEXTUAL - SIGN_MODE_TEXTUAL is a future signing mode that will verify some - * human-readable textual representation on top of the binary representation - * from SIGN_MODE_DIRECT. It is currently not supported. - */ - SIGN_MODE_TEXTUAL = 2, - /** - * SIGN_MODE_DIRECT_AUX - SIGN_MODE_DIRECT_AUX specifies a signing mode which uses - * SignDocDirectAux. As opposed to SIGN_MODE_DIRECT, this sign mode does not - * require signers signing over other signers' `signer_info`. It also allows - * for adding Tips in transactions. - * - * Since: cosmos-sdk 0.46 - */ - SIGN_MODE_DIRECT_AUX = 3, - /** - * SIGN_MODE_LEGACY_AMINO_JSON - SIGN_MODE_LEGACY_AMINO_JSON is a backwards compatibility mode which uses - * Amino JSON and will be removed in the future. - */ - SIGN_MODE_LEGACY_AMINO_JSON = 127, - UNRECOGNIZED = -1 -} -export declare const SignModeSDKType: typeof SignMode; -export declare function signModeFromJSON(object: any): SignMode; -export declare function signModeToJSON(object: SignMode): string; -/** SignatureDescriptors wraps multiple SignatureDescriptor's. */ -export interface SignatureDescriptors { - /** signatures are the signature descriptors */ - signatures: SignatureDescriptor[]; -} -/** SignatureDescriptors wraps multiple SignatureDescriptor's. */ -export interface SignatureDescriptorsSDKType { - signatures: SignatureDescriptorSDKType[]; -} -/** - * SignatureDescriptor is a convenience type which represents the full data for - * a signature including the public key of the signer, signing modes and the - * signature itself. It is primarily used for coordinating signatures between - * clients. - */ -export interface SignatureDescriptor { - /** public_key is the public key of the signer */ - publicKey?: Any; - data?: SignatureDescriptor_Data; - /** - * sequence is the sequence of the account, which describes the - * number of committed transactions signed by a given address. It is used to prevent - * replay attacks. - */ - sequence: Long; -} -/** - * SignatureDescriptor is a convenience type which represents the full data for - * a signature including the public key of the signer, signing modes and the - * signature itself. It is primarily used for coordinating signatures between - * clients. - */ -export interface SignatureDescriptorSDKType { - public_key?: AnySDKType; - data?: SignatureDescriptor_DataSDKType; - sequence: Long; -} -/** Data represents signature data */ -export interface SignatureDescriptor_Data { - /** single represents a single signer */ - single?: SignatureDescriptor_Data_Single; - /** multi represents a multisig signer */ - multi?: SignatureDescriptor_Data_Multi; -} -/** Data represents signature data */ -export interface SignatureDescriptor_DataSDKType { - single?: SignatureDescriptor_Data_SingleSDKType; - multi?: SignatureDescriptor_Data_MultiSDKType; -} -/** Single is the signature data for a single signer */ -export interface SignatureDescriptor_Data_Single { - /** mode is the signing mode of the single signer */ - mode: SignMode; - /** signature is the raw signature bytes */ - signature: Uint8Array; -} -/** Single is the signature data for a single signer */ -export interface SignatureDescriptor_Data_SingleSDKType { - mode: SignMode; - signature: Uint8Array; -} -/** Multi is the signature data for a multisig public key */ -export interface SignatureDescriptor_Data_Multi { - /** bitarray specifies which keys within the multisig are signing */ - bitarray?: CompactBitArray; - /** signatures is the signatures of the multi-signature */ - signatures: SignatureDescriptor_Data[]; -} -/** Multi is the signature data for a multisig public key */ -export interface SignatureDescriptor_Data_MultiSDKType { - bitarray?: CompactBitArraySDKType; - signatures: SignatureDescriptor_DataSDKType[]; -} -export declare const SignatureDescriptors: { - encode(message: SignatureDescriptors, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SignatureDescriptors; - fromPartial(object: DeepPartial): SignatureDescriptors; -}; -export declare const SignatureDescriptor: { - encode(message: SignatureDescriptor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SignatureDescriptor; - fromPartial(object: DeepPartial): SignatureDescriptor; -}; -export declare const SignatureDescriptor_Data: { - encode(message: SignatureDescriptor_Data, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SignatureDescriptor_Data; - fromPartial(object: DeepPartial): SignatureDescriptor_Data; -}; -export declare const SignatureDescriptor_Data_Single: { - encode(message: SignatureDescriptor_Data_Single, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SignatureDescriptor_Data_Single; - fromPartial(object: DeepPartial): SignatureDescriptor_Data_Single; -}; -export declare const SignatureDescriptor_Data_Multi: { - encode(message: SignatureDescriptor_Data_Multi, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SignatureDescriptor_Data_Multi; - fromPartial(object: DeepPartial): SignatureDescriptor_Data_Multi; -}; diff --git a/packages/codegen/dist/cosmos/tx/v1beta1/service.d.ts b/packages/codegen/dist/cosmos/tx/v1beta1/service.d.ts deleted file mode 100644 index 756e56b8..00000000 --- a/packages/codegen/dist/cosmos/tx/v1beta1/service.d.ts +++ /dev/null @@ -1,286 +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 { DeepPartial, Long } from "../../../helpers"; -/** OrderBy defines the sorting order */ -export declare enum OrderBy { - /** ORDER_BY_UNSPECIFIED - ORDER_BY_UNSPECIFIED specifies an unknown sorting order. OrderBy defaults to ASC in this case. */ - ORDER_BY_UNSPECIFIED = 0, - /** ORDER_BY_ASC - ORDER_BY_ASC defines ascending order */ - ORDER_BY_ASC = 1, - /** ORDER_BY_DESC - ORDER_BY_DESC defines descending order */ - ORDER_BY_DESC = 2, - UNRECOGNIZED = -1 -} -export declare const OrderBySDKType: typeof OrderBy; -export declare function orderByFromJSON(object: any): OrderBy; -export declare function orderByToJSON(object: OrderBy): string; -/** BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method. */ -export declare enum BroadcastMode { - /** BROADCAST_MODE_UNSPECIFIED - zero-value for mode ordering */ - BROADCAST_MODE_UNSPECIFIED = 0, - /** - * BROADCAST_MODE_BLOCK - BROADCAST_MODE_BLOCK defines a tx broadcasting mode where the client waits for - * the tx to be committed in a block. - */ - BROADCAST_MODE_BLOCK = 1, - /** - * BROADCAST_MODE_SYNC - BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for - * a CheckTx execution response only. - */ - BROADCAST_MODE_SYNC = 2, - /** - * BROADCAST_MODE_ASYNC - BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns - * immediately. - */ - BROADCAST_MODE_ASYNC = 3, - UNRECOGNIZED = -1 -} -export declare const BroadcastModeSDKType: typeof BroadcastMode; -export declare function broadcastModeFromJSON(object: any): BroadcastMode; -export declare function broadcastModeToJSON(object: BroadcastMode): string; -/** - * GetTxsEventRequest is the request type for the Service.TxsByEvents - * RPC method. - */ -export interface GetTxsEventRequest { - /** events is the list of transaction event type. */ - events: string[]; - /** pagination defines a pagination for the request. */ - pagination?: PageRequest; - orderBy: OrderBy; -} -/** - * GetTxsEventRequest is the request type for the Service.TxsByEvents - * RPC method. - */ -export interface GetTxsEventRequestSDKType { - events: string[]; - pagination?: PageRequestSDKType; - order_by: 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; -} -/** - * GetTxsEventResponse is the response type for the Service.TxsByEvents - * RPC method. - */ -export interface GetTxsEventResponseSDKType { - txs: TxSDKType[]; - tx_responses: TxResponseSDKType[]; - pagination?: PageResponseSDKType; -} -/** - * 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: Uint8Array; - mode: BroadcastMode; -} -/** - * BroadcastTxResponse is the response type for the - * Service.BroadcastTx method. - */ -export interface BroadcastTxResponse { - /** tx_response is the queried TxResponses. */ - txResponse?: TxResponse; -} -/** - * BroadcastTxResponse is the response type for the - * Service.BroadcastTx method. - */ -export interface BroadcastTxResponseSDKType { - tx_response?: TxResponseSDKType; -} -/** - * SimulateRequest is the request type for the Service.Simulate - * RPC method. - */ -export interface SimulateRequest { - /** - * tx is the transaction to simulate. - * Deprecated. Send raw tx bytes instead. - */ - /** @deprecated */ - tx?: Tx; - /** - * tx_bytes is the raw transaction. - * - * Since: cosmos-sdk 0.43 - */ - txBytes: Uint8Array; -} -/** - * SimulateRequest is the request type for the Service.Simulate - * RPC method. - */ -export interface SimulateRequestSDKType { - /** @deprecated */ - tx?: TxSDKType; - tx_bytes: Uint8Array; -} -/** - * SimulateResponse is the response type for the - * Service.SimulateRPC method. - */ -export interface SimulateResponse { - /** gas_info is the information about gas used in the simulation. */ - gasInfo?: GasInfo; - /** result is the result of the simulation. */ - result?: Result; -} -/** - * SimulateResponse is the response type for the - * Service.SimulateRPC method. - */ -export interface SimulateResponseSDKType { - gas_info?: GasInfoSDKType; - result?: ResultSDKType; -} -/** - * GetTxRequest is the request type for the Service.GetTx - * RPC method. - */ -export interface GetTxRequest { - /** hash is the tx hash to query, encoded as a hex string. */ - hash: string; -} -/** - * GetTxRequest is the request type for the Service.GetTx - * RPC method. - */ -export interface GetTxRequestSDKType { - hash: string; -} -/** GetTxResponse is the response type for the Service.GetTx method. */ -export interface GetTxResponse { - /** tx is the queried transaction. */ - tx?: Tx; - /** tx_response is the queried TxResponses. */ - txResponse?: TxResponse; -} -/** GetTxResponse is the response type for the Service.GetTx method. */ -export interface GetTxResponseSDKType { - tx?: TxSDKType; - tx_response?: TxResponseSDKType; -} -/** - * GetBlockWithTxsRequest is the request type for the Service.GetBlockWithTxs - * RPC method. - * - * Since: cosmos-sdk 0.45.2 - */ -export interface GetBlockWithTxsRequest { - /** height is the height of the block to query. */ - height: Long; - /** pagination defines a pagination for the request. */ - pagination?: PageRequest; -} -/** - * GetBlockWithTxsRequest is the request type for the Service.GetBlockWithTxs - * RPC method. - * - * Since: cosmos-sdk 0.45.2 - */ -export interface GetBlockWithTxsRequestSDKType { - height: Long; - pagination?: PageRequestSDKType; -} -/** - * GetBlockWithTxsResponse is the response type for the Service.GetBlockWithTxs method. - * - * Since: cosmos-sdk 0.45.2 - */ -export interface GetBlockWithTxsResponse { - /** txs are the transactions in the block. */ - txs: Tx[]; - blockId?: BlockID; - block?: Block; - /** pagination defines a pagination for the response. */ - pagination?: PageResponse; -} -/** - * GetBlockWithTxsResponse is the response type for the Service.GetBlockWithTxs method. - * - * Since: cosmos-sdk 0.45.2 - */ -export interface GetBlockWithTxsResponseSDKType { - txs: TxSDKType[]; - block_id?: BlockIDSDKType; - block?: BlockSDKType; - pagination?: PageResponseSDKType; -} -export declare const GetTxsEventRequest: { - encode(message: GetTxsEventRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetTxsEventRequest; - fromPartial(object: DeepPartial): GetTxsEventRequest; -}; -export declare const GetTxsEventResponse: { - encode(message: GetTxsEventResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetTxsEventResponse; - fromPartial(object: DeepPartial): GetTxsEventResponse; -}; -export declare const BroadcastTxRequest: { - encode(message: BroadcastTxRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): BroadcastTxRequest; - fromPartial(object: DeepPartial): BroadcastTxRequest; -}; -export declare const BroadcastTxResponse: { - encode(message: BroadcastTxResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): BroadcastTxResponse; - fromPartial(object: DeepPartial): BroadcastTxResponse; -}; -export declare const SimulateRequest: { - encode(message: SimulateRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SimulateRequest; - fromPartial(object: DeepPartial): SimulateRequest; -}; -export declare const SimulateResponse: { - encode(message: SimulateResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SimulateResponse; - fromPartial(object: DeepPartial): SimulateResponse; -}; -export declare const GetTxRequest: { - encode(message: GetTxRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetTxRequest; - fromPartial(object: DeepPartial): GetTxRequest; -}; -export declare const GetTxResponse: { - encode(message: GetTxResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetTxResponse; - fromPartial(object: DeepPartial): GetTxResponse; -}; -export declare const GetBlockWithTxsRequest: { - encode(message: GetBlockWithTxsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockWithTxsRequest; - fromPartial(object: DeepPartial): GetBlockWithTxsRequest; -}; -export declare const GetBlockWithTxsResponse: { - encode(message: GetBlockWithTxsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GetBlockWithTxsResponse; - fromPartial(object: DeepPartial): GetBlockWithTxsResponse; -}; diff --git a/packages/codegen/dist/cosmos/tx/v1beta1/service.lcd.d.ts b/packages/codegen/dist/cosmos/tx/v1beta1/service.lcd.d.ts deleted file mode 100644 index 5a4e8c97..00000000 --- a/packages/codegen/dist/cosmos/tx/v1beta1/service.lcd.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { GetTxRequest, GetTxResponseSDKType, GetTxsEventRequest, GetTxsEventResponseSDKType, GetBlockWithTxsRequest, GetBlockWithTxsResponseSDKType } from "./service"; -export declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - getTx(params: GetTxRequest): Promise; - getTxsEvent(params: GetTxsEventRequest): Promise; - getBlockWithTxs(params: GetBlockWithTxsRequest): Promise; -} diff --git a/packages/codegen/dist/cosmos/tx/v1beta1/service.rpc.Service.d.ts b/packages/codegen/dist/cosmos/tx/v1beta1/service.rpc.Service.d.ts deleted file mode 100644 index 8ce5bc4f..00000000 --- a/packages/codegen/dist/cosmos/tx/v1beta1/service.rpc.Service.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { QueryClient } from "@cosmjs/stargate"; -import { SimulateRequest, SimulateResponse, GetTxRequest, GetTxResponse, BroadcastTxRequest, BroadcastTxResponse, GetTxsEventRequest, GetTxsEventResponse, GetBlockWithTxsRequest, GetBlockWithTxsResponse } from "./service"; -/** Service defines a gRPC service for interacting with transactions. */ -export interface Service { - /** Simulate simulates executing a transaction for estimating gas usage. */ - simulate(request: SimulateRequest): Promise; - /** GetTx fetches a tx by hash. */ - getTx(request: GetTxRequest): Promise; - /** BroadcastTx broadcast transaction. */ - broadcastTx(request: BroadcastTxRequest): Promise; - /** GetTxsEvent fetches txs by event. */ - getTxsEvent(request: GetTxsEventRequest): Promise; - /** - * GetBlockWithTxs fetches a block with decoded txs. - * - * Since: cosmos-sdk 0.45.2 - */ - getBlockWithTxs(request: GetBlockWithTxsRequest): Promise; -} -export declare class ServiceClientImpl implements Service { - private readonly rpc; - constructor(rpc: Rpc); - simulate(request: SimulateRequest): Promise; - getTx(request: GetTxRequest): Promise; - broadcastTx(request: BroadcastTxRequest): Promise; - getTxsEvent(request: GetTxsEventRequest): Promise; - getBlockWithTxs(request: GetBlockWithTxsRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - simulate(request: SimulateRequest): Promise; - getTx(request: GetTxRequest): Promise; - broadcastTx(request: BroadcastTxRequest): Promise; - getTxsEvent(request: GetTxsEventRequest): Promise; - getBlockWithTxs(request: GetBlockWithTxsRequest): Promise; -}; diff --git a/packages/codegen/dist/cosmos/tx/v1beta1/tx.d.ts b/packages/codegen/dist/cosmos/tx/v1beta1/tx.d.ts deleted file mode 100644 index 57914e9b..00000000 --- a/packages/codegen/dist/cosmos/tx/v1beta1/tx.d.ts +++ /dev/null @@ -1,455 +0,0 @@ -/// -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import { SignMode } 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 { DeepPartial, 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; - /** - * auth_info is the authorization related content of the transaction, - * specifically signers, signer modes and fee - */ - authInfo?: AuthInfo; - /** - * signatures is a list of signatures that matches the length and order of - * AuthInfo's signer_infos to allow connecting signature meta information like - * public key and signing mode by position. - */ - signatures: Uint8Array[]; -} -/** Tx is the standard type used for broadcasting transactions. */ -export interface TxSDKType { - body?: TxBodySDKType; - auth_info?: AuthInfoSDKType; - signatures: Uint8Array[]; -} -/** - * TxRaw is a variant of Tx that pins the signer's exact binary representation - * of body and auth_info. This is used for signing, broadcasting and - * verification. The binary `serialize(tx: TxRaw)` is stored in Tendermint and - * the hash `sha256(serialize(tx: TxRaw))` becomes the "txhash", commonly used - * as the transaction ID. - */ -export interface TxRaw { - /** - * body_bytes is a protobuf serialization of a TxBody that matches the - * representation in SignDoc. - */ - bodyBytes: Uint8Array; - /** - * auth_info_bytes is a protobuf serialization of an AuthInfo that matches the - * representation in SignDoc. - */ - authInfoBytes: Uint8Array; - /** - * signatures is a list of signatures that matches the length and order of - * AuthInfo's signer_infos to allow connecting signature meta information like - * public key and signing mode by position. - */ - signatures: Uint8Array[]; -} -/** - * TxRaw is a variant of Tx that pins the signer's exact binary representation - * of body and auth_info. This is used for signing, broadcasting and - * verification. The binary `serialize(tx: TxRaw)` is stored in Tendermint and - * the hash `sha256(serialize(tx: TxRaw))` becomes the "txhash", commonly used - * as the transaction ID. - */ -export interface TxRawSDKType { - body_bytes: Uint8Array; - auth_info_bytes: Uint8Array; - signatures: Uint8Array[]; -} -/** SignDoc is the type used for generating sign bytes for SIGN_MODE_DIRECT. */ -export interface SignDoc { - /** - * body_bytes is protobuf serialization of a TxBody that matches the - * representation in TxRaw. - */ - bodyBytes: Uint8Array; - /** - * auth_info_bytes is a protobuf serialization of an AuthInfo that matches the - * representation in TxRaw. - */ - authInfoBytes: Uint8Array; - /** - * chain_id is the unique identifier of the chain this transaction targets. - * It prevents signed transactions from being used on another chain by an - * attacker - */ - chainId: string; - /** account_number is the account number of the account in state */ - accountNumber: Long; -} -/** SignDoc is the type used for generating sign bytes for SIGN_MODE_DIRECT. */ -export interface SignDocSDKType { - body_bytes: Uint8Array; - auth_info_bytes: Uint8Array; - chain_id: string; - account_number: Long; -} -/** - * SignDocDirectAux is the type used for generating sign bytes for - * SIGN_MODE_DIRECT_AUX. - * - * Since: cosmos-sdk 0.46 - */ -export interface SignDocDirectAux { - /** - * body_bytes is protobuf serialization of a TxBody that matches the - * representation in TxRaw. - */ - bodyBytes: Uint8Array; - /** public_key is the public key of the signing account. */ - publicKey?: Any; - /** - * chain_id is the identifier of the chain this transaction targets. - * It prevents signed transactions from being used on another chain by an - * attacker. - */ - chainId: string; - /** account_number is the account number of the account in state. */ - accountNumber: Long; - /** sequence is the sequence number of the signing account. */ - sequence: Long; - /** - * Tip is the optional tip used for meta-transactions. It should be left - * empty if the signer is not the tipper for this transaction. - */ - tip?: Tip; -} -/** - * SignDocDirectAux is the type used for generating sign bytes for - * SIGN_MODE_DIRECT_AUX. - * - * Since: cosmos-sdk 0.46 - */ -export interface SignDocDirectAuxSDKType { - body_bytes: Uint8Array; - public_key?: AnySDKType; - chain_id: string; - account_number: Long; - sequence: Long; - tip?: TipSDKType; -} -/** TxBody is the body of a transaction that all signers sign over. */ -export interface TxBody { - /** - * messages is a list of messages to be executed. The required signers of - * those messages define the number and order of elements in AuthInfo's - * signer_infos and Tx's signatures. Each required signer address is added to - * the list only the first time it occurs. - * By convention, the first required signer (usually from the first message) - * is referred to as the primary signer and pays the fee for the whole - * transaction. - */ - messages: Any[]; - /** - * memo is any arbitrary note/comment to be added to the transaction. - * WARNING: in clients, any publicly exposed text should not be called memo, - * but should be called `note` instead (see https://github.com/cosmos/cosmos-sdk/issues/9122). - */ - memo: string; - /** - * timeout is the block height after which this transaction will not - * be processed by the chain - */ - timeoutHeight: Long; - /** - * extension_options are arbitrary options that can be added by chains - * when the default options are not sufficient. If any of these are present - * and can't be handled, the transaction will be rejected - */ - extensionOptions: Any[]; - /** - * extension_options are arbitrary options that can be added by chains - * when the default options are not sufficient. If any of these are present - * and can't be handled, they will be ignored - */ - nonCriticalExtensionOptions: Any[]; -} -/** TxBody is the body of a transaction that all signers sign over. */ -export interface TxBodySDKType { - messages: AnySDKType[]; - memo: string; - timeout_height: Long; - extension_options: AnySDKType[]; - non_critical_extension_options: AnySDKType[]; -} -/** - * AuthInfo describes the fee and signer modes that are used to sign a - * transaction. - */ -export interface AuthInfo { - /** - * signer_infos defines the signing modes for the required signers. The number - * and order of elements must match the required signers from TxBody's - * messages. The first element is the primary signer and the one which pays - * the fee. - */ - signerInfos: SignerInfo[]; - /** - * Fee is the fee and gas limit for the transaction. The first signer is the - * primary signer and the one which pays the fee. The fee can be calculated - * based on the cost of evaluating the body and doing signature verification - * of the signers. This can be estimated via simulation. - */ - fee?: Fee; - /** - * Tip is the optional tip used for meta-transactions. - * - * Since: cosmos-sdk 0.46 - */ - tip?: Tip; -} -/** - * AuthInfo describes the fee and signer modes that are used to sign a - * transaction. - */ -export interface AuthInfoSDKType { - signer_infos: SignerInfoSDKType[]; - fee?: FeeSDKType; - tip?: TipSDKType; -} -/** - * SignerInfo describes the public key and signing mode of a single top-level - * signer. - */ -export interface SignerInfo { - /** - * public_key is the public key of the signer. It is optional for accounts - * that already exist in state. If unset, the verifier can use the required \ - * signer address for this position and lookup the public key. - */ - publicKey?: Any; - /** - * mode_info describes the signing mode of the signer and is a nested - * structure to support nested multisig pubkey's - */ - modeInfo?: ModeInfo; - /** - * sequence is the sequence of the account, which describes the - * number of committed transactions signed by a given address. It is used to - * prevent replay attacks. - */ - sequence: Long; -} -/** - * SignerInfo describes the public key and signing mode of a single top-level - * signer. - */ -export interface SignerInfoSDKType { - public_key?: AnySDKType; - mode_info?: ModeInfoSDKType; - sequence: Long; -} -/** ModeInfo describes the signing mode of a single or nested multisig signer. */ -export interface ModeInfo { - /** single represents a single signer */ - single?: ModeInfo_Single; - /** multi represents a nested multisig signer */ - multi?: ModeInfo_Multi; -} -/** ModeInfo describes the signing mode of a single or nested multisig signer. */ -export interface ModeInfoSDKType { - single?: ModeInfo_SingleSDKType; - multi?: ModeInfo_MultiSDKType; -} -/** - * Single is the mode info for a single signer. It is structured as a message - * to allow for additional fields such as locale for SIGN_MODE_TEXTUAL in the - * future - */ -export interface ModeInfo_Single { - /** mode is the signing mode of the single signer */ - mode: SignMode; -} -/** - * Single is the mode info for a single signer. It is structured as a message - * to allow for additional fields such as locale for SIGN_MODE_TEXTUAL in the - * future - */ -export interface ModeInfo_SingleSDKType { - mode: SignMode; -} -/** Multi is the mode info for a multisig public key */ -export interface ModeInfo_Multi { - /** bitarray specifies which keys within the multisig are signing */ - bitarray?: CompactBitArray; - /** - * mode_infos is the corresponding modes of the signers of the multisig - * which could include nested multisig public keys - */ - modeInfos: ModeInfo[]; -} -/** Multi is the mode info for a multisig public key */ -export interface ModeInfo_MultiSDKType { - bitarray?: CompactBitArraySDKType; - mode_infos: ModeInfoSDKType[]; -} -/** - * Fee includes the amount of coins paid in fees and the maximum - * gas to be used by the transaction. The ratio yields an effective "gasprice", - * which must be above some miminum to be accepted into the mempool. - */ -export interface Fee { - /** amount is the amount of coins to be paid as a fee */ - amount: Coin[]; - /** - * gas_limit is the maximum gas that can be used in transaction processing - * before an out of gas error occurs - */ - gasLimit: Long; - /** - * if unset, the first signer is responsible for paying the fees. If set, the specified account must pay the fees. - * the payer must be a tx signer (and thus have signed this field in AuthInfo). - * setting this field does *not* change the ordering of required signers for the transaction. - */ - payer: string; - /** - * if set, the fee payer (either the first signer or the value of the payer field) requests that a fee grant be used - * to pay fees instead of the fee payer's own balance. If an appropriate fee grant does not exist or the chain does - * not support fee grants, this will fail - */ - granter: string; -} -/** - * Fee includes the amount of coins paid in fees and the maximum - * gas to be used by the transaction. The ratio yields an effective "gasprice", - * which must be above some miminum to be accepted into the mempool. - */ -export interface FeeSDKType { - amount: CoinSDKType[]; - gas_limit: Long; - payer: string; - granter: string; -} -/** - * Tip is the tip used for meta-transactions. - * - * Since: cosmos-sdk 0.46 - */ -export interface Tip { - /** amount is the amount of the tip */ - amount: Coin[]; - /** tipper is the address of the account paying for the tip */ - tipper: string; -} -/** - * Tip is the tip used for meta-transactions. - * - * Since: cosmos-sdk 0.46 - */ -export interface TipSDKType { - amount: CoinSDKType[]; - tipper: string; -} -/** - * AuxSignerData is the intermediary format that an auxiliary signer (e.g. a - * tipper) builds and sends to the fee payer (who will build and broadcast the - * actual tx). AuxSignerData is not a valid tx in itself, and will be rejected - * by the node if sent directly as-is. - * - * Since: cosmos-sdk 0.46 - */ -export interface AuxSignerData { - /** - * address is the bech32-encoded address of the auxiliary signer. If using - * AuxSignerData across different chains, the bech32 prefix of the target - * chain (where the final transaction is broadcasted) should be used. - */ - address: string; - /** - * sign_doc is the SIGN_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; - /** 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: string; - sign_doc?: SignDocDirectAuxSDKType; - mode: SignMode; - sig: Uint8Array; -} -export declare const Tx: { - encode(message: Tx, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Tx; - fromPartial(object: DeepPartial): Tx; -}; -export declare const TxRaw: { - encode(message: TxRaw, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): TxRaw; - fromPartial(object: DeepPartial): TxRaw; -}; -export declare const SignDoc: { - encode(message: SignDoc, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SignDoc; - fromPartial(object: DeepPartial): SignDoc; -}; -export declare const SignDocDirectAux: { - encode(message: SignDocDirectAux, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SignDocDirectAux; - fromPartial(object: DeepPartial): SignDocDirectAux; -}; -export declare const TxBody: { - encode(message: TxBody, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): TxBody; - fromPartial(object: DeepPartial): TxBody; -}; -export declare const AuthInfo: { - encode(message: AuthInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): AuthInfo; - fromPartial(object: DeepPartial): AuthInfo; -}; -export declare const SignerInfo: { - encode(message: SignerInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SignerInfo; - fromPartial(object: DeepPartial): SignerInfo; -}; -export declare const ModeInfo: { - encode(message: ModeInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ModeInfo; - fromPartial(object: DeepPartial): ModeInfo; -}; -export declare const ModeInfo_Single: { - encode(message: ModeInfo_Single, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ModeInfo_Single; - fromPartial(object: DeepPartial): ModeInfo_Single; -}; -export declare const ModeInfo_Multi: { - encode(message: ModeInfo_Multi, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ModeInfo_Multi; - fromPartial(object: DeepPartial): ModeInfo_Multi; -}; -export declare const Fee: { - encode(message: Fee, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Fee; - fromPartial(object: DeepPartial): Fee; -}; -export declare const Tip: { - encode(message: Tip, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Tip; - fromPartial(object: DeepPartial): Tip; -}; -export declare const AuxSignerData: { - encode(message: AuxSignerData, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): AuxSignerData; - fromPartial(object: DeepPartial): AuxSignerData; -}; diff --git a/packages/codegen/dist/cosmos/upgrade/v1beta1/query.d.ts b/packages/codegen/dist/cosmos/upgrade/v1beta1/query.d.ts deleted file mode 100644 index 1de684a7..00000000 --- a/packages/codegen/dist/cosmos/upgrade/v1beta1/query.d.ts +++ /dev/null @@ -1,220 +0,0 @@ -/// -import { Plan, PlanSDKType, ModuleVersion, ModuleVersionSDKType } from "./upgrade"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, 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; -} -/** - * QueryCurrentPlanResponse is the response type for the Query/CurrentPlan RPC - * method. - */ -export interface QueryCurrentPlanResponseSDKType { - plan?: PlanSDKType; -} -/** - * QueryCurrentPlanRequest is the request type for the Query/AppliedPlan RPC - * method. - */ -export interface QueryAppliedPlanRequest { - /** name is the name of the applied plan to query for. */ - name: string; -} -/** - * QueryCurrentPlanRequest is the request type for the Query/AppliedPlan RPC - * method. - */ -export interface QueryAppliedPlanRequestSDKType { - name: string; -} -/** - * QueryAppliedPlanResponse is the response type for the Query/AppliedPlan RPC - * method. - */ -export interface QueryAppliedPlanResponse { - /** height is the block height at which the plan was applied. */ - height: Long; -} -/** - * QueryAppliedPlanResponse is the response type for the Query/AppliedPlan RPC - * method. - */ -export interface QueryAppliedPlanResponseSDKType { - height: Long; -} -/** - * QueryUpgradedConsensusStateRequest is the request type for the Query/UpgradedConsensusState - * RPC method. - */ -/** @deprecated */ -export interface QueryUpgradedConsensusStateRequest { - /** - * last height of the current chain must be sent in request - * as this is the height under which next consensus state is stored - */ - lastHeight: Long; -} -/** - * QueryUpgradedConsensusStateRequest is the request type for the Query/UpgradedConsensusState - * RPC method. - */ -/** @deprecated */ -export interface QueryUpgradedConsensusStateRequestSDKType { - last_height: Long; -} -/** - * QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState - * RPC method. - */ -/** @deprecated */ -export interface QueryUpgradedConsensusStateResponse { - /** Since: cosmos-sdk 0.43 */ - upgradedConsensusState: Uint8Array; -} -/** - * QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState - * RPC method. - */ -/** @deprecated */ -export interface QueryUpgradedConsensusStateResponseSDKType { - upgraded_consensus_state: Uint8Array; -} -/** - * QueryModuleVersionsRequest is the request type for the Query/ModuleVersions - * RPC method. - * - * Since: cosmos-sdk 0.43 - */ -export interface QueryModuleVersionsRequest { - /** - * module_name is a field to query a specific module - * consensus version from state. Leaving this empty will - * fetch the full list of module versions from state - */ - moduleName: string; -} -/** - * QueryModuleVersionsRequest is the request type for the Query/ModuleVersions - * RPC method. - * - * Since: cosmos-sdk 0.43 - */ -export interface QueryModuleVersionsRequestSDKType { - module_name: string; -} -/** - * QueryModuleVersionsResponse is the response type for the Query/ModuleVersions - * RPC method. - * - * Since: cosmos-sdk 0.43 - */ -export interface QueryModuleVersionsResponse { - /** module_versions is a list of module names with their consensus versions. */ - moduleVersions: ModuleVersion[]; -} -/** - * QueryModuleVersionsResponse is the response type for the Query/ModuleVersions - * RPC method. - * - * Since: cosmos-sdk 0.43 - */ -export interface QueryModuleVersionsResponseSDKType { - module_versions: ModuleVersionSDKType[]; -} -/** - * QueryAuthorityRequest is the request type for Query/Authority - * - * Since: cosmos-sdk 0.46 - */ -export interface QueryAuthorityRequest { -} -/** - * 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; -} -export declare const QueryCurrentPlanRequest: { - encode(_: QueryCurrentPlanRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCurrentPlanRequest; - fromPartial(_: DeepPartial): QueryCurrentPlanRequest; -}; -export declare const QueryCurrentPlanResponse: { - encode(message: QueryCurrentPlanResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCurrentPlanResponse; - fromPartial(object: DeepPartial): QueryCurrentPlanResponse; -}; -export declare const QueryAppliedPlanRequest: { - encode(message: QueryAppliedPlanRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAppliedPlanRequest; - fromPartial(object: DeepPartial): QueryAppliedPlanRequest; -}; -export declare const QueryAppliedPlanResponse: { - encode(message: QueryAppliedPlanResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAppliedPlanResponse; - fromPartial(object: DeepPartial): QueryAppliedPlanResponse; -}; -export declare const QueryUpgradedConsensusStateRequest: { - encode(message: QueryUpgradedConsensusStateRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateRequest; - fromPartial(object: DeepPartial): QueryUpgradedConsensusStateRequest; -}; -export declare const QueryUpgradedConsensusStateResponse: { - encode(message: QueryUpgradedConsensusStateResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateResponse; - fromPartial(object: DeepPartial): QueryUpgradedConsensusStateResponse; -}; -export declare const QueryModuleVersionsRequest: { - encode(message: QueryModuleVersionsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleVersionsRequest; - fromPartial(object: DeepPartial): QueryModuleVersionsRequest; -}; -export declare const QueryModuleVersionsResponse: { - encode(message: QueryModuleVersionsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryModuleVersionsResponse; - fromPartial(object: DeepPartial): QueryModuleVersionsResponse; -}; -export declare const QueryAuthorityRequest: { - encode(_: QueryAuthorityRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAuthorityRequest; - fromPartial(_: DeepPartial): QueryAuthorityRequest; -}; -export declare const QueryAuthorityResponse: { - encode(message: QueryAuthorityResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAuthorityResponse; - fromPartial(object: DeepPartial): QueryAuthorityResponse; -}; diff --git a/packages/codegen/dist/cosmos/upgrade/v1beta1/query.lcd.d.ts b/packages/codegen/dist/cosmos/upgrade/v1beta1/query.lcd.d.ts deleted file mode 100644 index 2096c970..00000000 --- a/packages/codegen/dist/cosmos/upgrade/v1beta1/query.lcd.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { QueryCurrentPlanRequest, QueryCurrentPlanResponseSDKType, QueryAppliedPlanRequest, QueryAppliedPlanResponseSDKType, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponseSDKType, QueryModuleVersionsRequest, QueryModuleVersionsResponseSDKType, QueryAuthorityRequest, QueryAuthorityResponseSDKType } from "./query"; -export declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - currentPlan(_params?: QueryCurrentPlanRequest): Promise; - appliedPlan(params: QueryAppliedPlanRequest): Promise; - upgradedConsensusState(params: QueryUpgradedConsensusStateRequest): Promise; - moduleVersions(params: QueryModuleVersionsRequest): Promise; - authority(_params?: QueryAuthorityRequest): Promise; -} diff --git a/packages/codegen/dist/cosmos/upgrade/v1beta1/query.rpc.Query.d.ts b/packages/codegen/dist/cosmos/upgrade/v1beta1/query.rpc.Query.d.ts deleted file mode 100644 index f12df5a9..00000000 --- a/packages/codegen/dist/cosmos/upgrade/v1beta1/query.rpc.Query.d.ts +++ /dev/null @@ -1,43 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { QueryClient } from "@cosmjs/stargate"; -import { QueryCurrentPlanRequest, QueryCurrentPlanResponse, QueryAppliedPlanRequest, QueryAppliedPlanResponse, QueryUpgradedConsensusStateRequest, QueryUpgradedConsensusStateResponse, QueryModuleVersionsRequest, QueryModuleVersionsResponse, QueryAuthorityRequest, QueryAuthorityResponse } from "./query"; -/** Query defines the gRPC upgrade querier service. */ -export interface Query { - /** CurrentPlan queries the current upgrade plan. */ - currentPlan(request?: QueryCurrentPlanRequest): Promise; - /** AppliedPlan queries a previously applied upgrade plan by its name. */ - appliedPlan(request: QueryAppliedPlanRequest): Promise; - /** - * UpgradedConsensusState queries the consensus state that will serve - * as a trusted kernel for the next version of this chain. It will only be - * stored at the last height of this chain. - * UpgradedConsensusState RPC not supported with legacy querier - * This rpc is deprecated now that IBC has its own replacement - * (https://github.com/cosmos/ibc-go/blob/2c880a22e9f9cc75f62b527ca94aa75ce1106001/proto/ibc/core/client/v1/query.proto#L54) - */ - upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): Promise; - /** - * ModuleVersions queries the list of module versions from state. - * - * Since: cosmos-sdk 0.43 - */ - moduleVersions(request: QueryModuleVersionsRequest): Promise; - /** Returns the account with authority to conduct upgrades */ - authority(request?: QueryAuthorityRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: Rpc); - currentPlan(request?: QueryCurrentPlanRequest): Promise; - appliedPlan(request: QueryAppliedPlanRequest): Promise; - upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): Promise; - moduleVersions(request: QueryModuleVersionsRequest): Promise; - authority(request?: QueryAuthorityRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - currentPlan(request?: QueryCurrentPlanRequest): Promise; - appliedPlan(request: QueryAppliedPlanRequest): Promise; - upgradedConsensusState(request: QueryUpgradedConsensusStateRequest): Promise; - moduleVersions(request: QueryModuleVersionsRequest): Promise; - authority(request?: QueryAuthorityRequest): Promise; -}; diff --git a/packages/codegen/dist/cosmos/upgrade/v1beta1/tx.d.ts b/packages/codegen/dist/cosmos/upgrade/v1beta1/tx.d.ts deleted file mode 100644 index c136e51b..00000000 --- a/packages/codegen/dist/cosmos/upgrade/v1beta1/tx.d.ts +++ /dev/null @@ -1,88 +0,0 @@ -import { Plan, PlanSDKType } from "./upgrade"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../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; -} -/** - * MsgSoftwareUpgrade is the Msg/SoftwareUpgrade request type. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgSoftwareUpgradeSDKType { - authority: string; - plan?: PlanSDKType; -} -/** - * MsgSoftwareUpgradeResponse is the Msg/SoftwareUpgrade response type. - * - * Since: cosmos-sdk 0.46 - */ -export interface MsgSoftwareUpgradeResponse { -} -/** - * 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: 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 { -} -export declare const MsgSoftwareUpgrade: { - encode(message: MsgSoftwareUpgrade, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSoftwareUpgrade; - fromPartial(object: DeepPartial): MsgSoftwareUpgrade; -}; -export declare const MsgSoftwareUpgradeResponse: { - encode(_: MsgSoftwareUpgradeResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSoftwareUpgradeResponse; - fromPartial(_: DeepPartial): MsgSoftwareUpgradeResponse; -}; -export declare const MsgCancelUpgrade: { - encode(message: MsgCancelUpgrade, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCancelUpgrade; - fromPartial(object: DeepPartial): MsgCancelUpgrade; -}; -export declare const MsgCancelUpgradeResponse: { - encode(_: MsgCancelUpgradeResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCancelUpgradeResponse; - fromPartial(_: DeepPartial): MsgCancelUpgradeResponse; -}; diff --git a/packages/codegen/dist/cosmos/upgrade/v1beta1/tx.rpc.msg.d.ts b/packages/codegen/dist/cosmos/upgrade/v1beta1/tx.rpc.msg.d.ts deleted file mode 100644 index 66d0b9a7..00000000 --- a/packages/codegen/dist/cosmos/upgrade/v1beta1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { MsgSoftwareUpgrade, MsgSoftwareUpgradeResponse, MsgCancelUpgrade, MsgCancelUpgradeResponse } from "./tx"; -/** Msg defines the upgrade Msg service. */ -export interface Msg { - /** - * SoftwareUpgrade is a governance operation for initiating a software upgrade. - * - * Since: cosmos-sdk 0.46 - */ - softwareUpgrade(request: MsgSoftwareUpgrade): Promise; - /** - * CancelUpgrade is a governance operation for cancelling a previously - * approvid software upgrade. - * - * Since: cosmos-sdk 0.46 - */ - cancelUpgrade(request: MsgCancelUpgrade): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: Rpc); - softwareUpgrade(request: MsgSoftwareUpgrade): Promise; - cancelUpgrade(request: MsgCancelUpgrade): Promise; -} diff --git a/packages/codegen/dist/cosmos/upgrade/v1beta1/upgrade.d.ts b/packages/codegen/dist/cosmos/upgrade/v1beta1/upgrade.d.ts deleted file mode 100644 index efd09eb7..00000000 --- a/packages/codegen/dist/cosmos/upgrade/v1beta1/upgrade.d.ts +++ /dev/null @@ -1,137 +0,0 @@ -/// -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import { Long, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** Plan specifies information about a planned upgrade and when it should occur. */ -export interface Plan { - /** - * Sets the name for the upgrade. This name will be used by the upgraded - * version of the software to apply any special "on-upgrade" commands during - * the first BeginBlock method after the upgrade is applied. It is also used - * to detect whether a software version can handle a given upgrade. If no - * upgrade handler with this name has been set in the software, it will be - * assumed that the software is out-of-date when the upgrade Time or Height is - * reached and the software will exit. - */ - name: string; - /** - * Deprecated: Time based upgrades have been deprecated. Time based upgrade logic - * has been removed from the SDK. - * If this field is not empty, an error will be thrown. - */ - /** @deprecated */ - time?: Date; - /** - * 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; -} -/** Plan specifies information about a planned upgrade and when it should occur. */ -export interface PlanSDKType { - name: string; - /** @deprecated */ - time?: Date; - height: Long; - info: string; - /** @deprecated */ - upgraded_client_state?: AnySDKType; -} -/** - * SoftwareUpgradeProposal is a gov Content type for initiating a software - * upgrade. - * Deprecated: This legacy proposal is deprecated in favor of Msg-based gov - * proposals, see MsgSoftwareUpgrade. - */ -/** @deprecated */ -export interface SoftwareUpgradeProposal { - title: string; - description: string; - plan?: Plan; -} -/** - * 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; -} -/** - * 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: string; - version: Long; -} -export declare const Plan: { - encode(message: Plan, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Plan; - fromPartial(object: DeepPartial): Plan; -}; -export declare const SoftwareUpgradeProposal: { - encode(message: SoftwareUpgradeProposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SoftwareUpgradeProposal; - fromPartial(object: DeepPartial): SoftwareUpgradeProposal; -}; -export declare const CancelSoftwareUpgradeProposal: { - encode(message: CancelSoftwareUpgradeProposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): CancelSoftwareUpgradeProposal; - fromPartial(object: DeepPartial): CancelSoftwareUpgradeProposal; -}; -export declare const ModuleVersion: { - encode(message: ModuleVersion, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ModuleVersion; - fromPartial(object: DeepPartial): ModuleVersion; -}; diff --git a/packages/codegen/dist/cosmos/vesting/v1beta1/tx.d.ts b/packages/codegen/dist/cosmos/vesting/v1beta1/tx.d.ts deleted file mode 100644 index 14951d29..00000000 --- a/packages/codegen/dist/cosmos/vesting/v1beta1/tx.d.ts +++ /dev/null @@ -1,119 +0,0 @@ -/// -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import { Period, PeriodSDKType } from "./vesting"; -import { Long, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * MsgCreateVestingAccount defines a message that enables creating a vesting - * account. - */ -export interface MsgCreateVestingAccount { - fromAddress: string; - toAddress: string; - amount: Coin[]; - endTime: Long; - delayed: boolean; -} -/** - * 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 { -} -export declare const MsgCreateVestingAccount: { - encode(message: MsgCreateVestingAccount, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateVestingAccount; - fromPartial(object: DeepPartial): MsgCreateVestingAccount; -}; -export declare const MsgCreateVestingAccountResponse: { - encode(_: MsgCreateVestingAccountResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateVestingAccountResponse; - fromPartial(_: DeepPartial): MsgCreateVestingAccountResponse; -}; -export declare const MsgCreatePermanentLockedAccount: { - encode(message: MsgCreatePermanentLockedAccount, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePermanentLockedAccount; - fromPartial(object: DeepPartial): MsgCreatePermanentLockedAccount; -}; -export declare const MsgCreatePermanentLockedAccountResponse: { - encode(_: MsgCreatePermanentLockedAccountResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePermanentLockedAccountResponse; - fromPartial(_: DeepPartial): MsgCreatePermanentLockedAccountResponse; -}; -export declare const MsgCreatePeriodicVestingAccount: { - encode(message: MsgCreatePeriodicVestingAccount, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePeriodicVestingAccount; - fromPartial(object: DeepPartial): MsgCreatePeriodicVestingAccount; -}; -export declare const MsgCreatePeriodicVestingAccountResponse: { - encode(_: MsgCreatePeriodicVestingAccountResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreatePeriodicVestingAccountResponse; - fromPartial(_: DeepPartial): MsgCreatePeriodicVestingAccountResponse; -}; diff --git a/packages/codegen/dist/cosmos/vesting/v1beta1/tx.rpc.msg.d.ts b/packages/codegen/dist/cosmos/vesting/v1beta1/tx.rpc.msg.d.ts deleted file mode 100644 index 9999aa89..00000000 --- a/packages/codegen/dist/cosmos/vesting/v1beta1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { MsgCreateVestingAccount, MsgCreateVestingAccountResponse, MsgCreatePermanentLockedAccount, MsgCreatePermanentLockedAccountResponse, MsgCreatePeriodicVestingAccount, MsgCreatePeriodicVestingAccountResponse } from "./tx"; -/** Msg defines the bank Msg service. */ -export interface Msg { - /** - * CreateVestingAccount defines a method that enables creating a vesting - * account. - */ - createVestingAccount(request: MsgCreateVestingAccount): Promise; - /** - * CreatePermanentLockedAccount defines a method that enables creating a permanent - * locked account. - */ - createPermanentLockedAccount(request: MsgCreatePermanentLockedAccount): Promise; - /** - * CreatePeriodicVestingAccount defines a method that enables creating a - * periodic vesting account. - */ - createPeriodicVestingAccount(request: MsgCreatePeriodicVestingAccount): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: Rpc); - createVestingAccount(request: MsgCreateVestingAccount): Promise; - createPermanentLockedAccount(request: MsgCreatePermanentLockedAccount): Promise; - createPeriodicVestingAccount(request: MsgCreatePeriodicVestingAccount): Promise; -} diff --git a/packages/codegen/dist/cosmos/vesting/v1beta1/vesting.d.ts b/packages/codegen/dist/cosmos/vesting/v1beta1/vesting.d.ts deleted file mode 100644 index a0c7856e..00000000 --- a/packages/codegen/dist/cosmos/vesting/v1beta1/vesting.d.ts +++ /dev/null @@ -1,137 +0,0 @@ -/// -import { BaseAccount, BaseAccountSDKType } from "../../auth/v1beta1/auth"; -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import { Long, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * BaseVestingAccount implements the VestingAccount interface. It contains all - * the necessary fields needed for any vesting account implementation. - */ -export interface BaseVestingAccount { - baseAccount?: BaseAccount; - originalVesting: Coin[]; - delegatedFree: Coin[]; - delegatedVesting: Coin[]; - endTime: Long; -} -/** - * BaseVestingAccount implements the VestingAccount interface. It contains all - * the necessary fields needed for any vesting account implementation. - */ -export interface BaseVestingAccountSDKType { - base_account?: BaseAccountSDKType; - original_vesting: CoinSDKType[]; - delegated_free: CoinSDKType[]; - delegated_vesting: CoinSDKType[]; - end_time: Long; -} -/** - * ContinuousVestingAccount implements the VestingAccount interface. It - * continuously vests by unlocking coins linearly with respect to time. - */ -export interface ContinuousVestingAccount { - baseVestingAccount?: BaseVestingAccount; - startTime: Long; -} -/** - * ContinuousVestingAccount implements the VestingAccount interface. It - * continuously vests by unlocking coins linearly with respect to time. - */ -export interface ContinuousVestingAccountSDKType { - base_vesting_account?: BaseVestingAccountSDKType; - start_time: Long; -} -/** - * DelayedVestingAccount implements the VestingAccount interface. It vests all - * coins after a specific time, but non prior. In other words, it keeps them - * locked until a specified time. - */ -export interface DelayedVestingAccount { - baseVestingAccount?: BaseVestingAccount; -} -/** - * DelayedVestingAccount implements the VestingAccount interface. It vests all - * coins after a specific time, but non prior. In other words, it keeps them - * locked until a specified time. - */ -export interface DelayedVestingAccountSDKType { - base_vesting_account?: BaseVestingAccountSDKType; -} -/** Period defines a length of time and amount of coins that will vest. */ -export interface Period { - length: Long; - amount: Coin[]; -} -/** Period defines a length of time and amount of coins that will vest. */ -export interface PeriodSDKType { - length: Long; - amount: CoinSDKType[]; -} -/** - * PeriodicVestingAccount implements the VestingAccount interface. It - * periodically vests by unlocking coins during each specified period. - */ -export interface PeriodicVestingAccount { - baseVestingAccount?: BaseVestingAccount; - startTime: Long; - vestingPeriods: Period[]; -} -/** - * PeriodicVestingAccount implements the VestingAccount interface. It - * periodically vests by unlocking coins during each specified period. - */ -export interface PeriodicVestingAccountSDKType { - base_vesting_account?: BaseVestingAccountSDKType; - start_time: Long; - vesting_periods: PeriodSDKType[]; -} -/** - * PermanentLockedAccount implements the VestingAccount interface. It does - * not ever release coins, locking them indefinitely. Coins in this account can - * still be used for delegating and for governance votes even while locked. - * - * Since: cosmos-sdk 0.43 - */ -export interface PermanentLockedAccount { - baseVestingAccount?: BaseVestingAccount; -} -/** - * PermanentLockedAccount implements the VestingAccount interface. It does - * not ever release coins, locking them indefinitely. Coins in this account can - * still be used for delegating and for governance votes even while locked. - * - * Since: cosmos-sdk 0.43 - */ -export interface PermanentLockedAccountSDKType { - base_vesting_account?: BaseVestingAccountSDKType; -} -export declare const BaseVestingAccount: { - encode(message: BaseVestingAccount, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): BaseVestingAccount; - fromPartial(object: DeepPartial): BaseVestingAccount; -}; -export declare const ContinuousVestingAccount: { - encode(message: ContinuousVestingAccount, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ContinuousVestingAccount; - fromPartial(object: DeepPartial): ContinuousVestingAccount; -}; -export declare const DelayedVestingAccount: { - encode(message: DelayedVestingAccount, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DelayedVestingAccount; - fromPartial(object: DeepPartial): DelayedVestingAccount; -}; -export declare const Period: { - encode(message: Period, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Period; - fromPartial(object: DeepPartial): Period; -}; -export declare const PeriodicVestingAccount: { - encode(message: PeriodicVestingAccount, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): PeriodicVestingAccount; - fromPartial(object: DeepPartial): PeriodicVestingAccount; -}; -export declare const PermanentLockedAccount: { - encode(message: PermanentLockedAccount, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): PermanentLockedAccount; - fromPartial(object: DeepPartial): PermanentLockedAccount; -}; diff --git a/packages/codegen/dist/cosmos_proto/bundle.d.ts b/packages/codegen/dist/cosmos_proto/bundle.d.ts deleted file mode 100644 index 1f962e88..00000000 --- a/packages/codegen/dist/cosmos_proto/bundle.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -import * as _2 from "./cosmos"; -export declare const cosmos_proto: { - scalarTypeFromJSON(object: any): _2.ScalarType; - scalarTypeToJSON(object: _2.ScalarType): string; - ScalarType: typeof _2.ScalarType; - ScalarTypeSDKType: typeof _2.ScalarType; - InterfaceDescriptor: { - encode(message: _2.InterfaceDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _2.InterfaceDescriptor; - fromPartial(object: { - name?: string; - description?: string; - }): _2.InterfaceDescriptor; - }; - ScalarDescriptor: { - encode(message: _2.ScalarDescriptor, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _2.ScalarDescriptor; - fromPartial(object: { - name?: string; - description?: string; - fieldType?: _2.ScalarType[]; - }): _2.ScalarDescriptor; - }; -}; diff --git a/packages/codegen/dist/cosmos_proto/cosmos.d.ts b/packages/codegen/dist/cosmos_proto/cosmos.d.ts deleted file mode 100644 index c53b3d44..00000000 --- a/packages/codegen/dist/cosmos_proto/cosmos.d.ts +++ /dev/null @@ -1,92 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../helpers"; -export declare enum ScalarType { - SCALAR_TYPE_UNSPECIFIED = 0, - SCALAR_TYPE_STRING = 1, - SCALAR_TYPE_BYTES = 2, - UNRECOGNIZED = -1 -} -export declare const ScalarTypeSDKType: typeof ScalarType; -export declare function scalarTypeFromJSON(object: any): ScalarType; -export declare function scalarTypeToJSON(object: ScalarType): string; -/** - * InterfaceDescriptor describes an interface type to be used with - * accepts_interface and implements_interface and declared by declare_interface. - */ -export interface InterfaceDescriptor { - /** - * name is the name of the interface. It should be a short-name (without - * a period) such that the fully qualified name of the interface will be - * package.name, ex. for the package a.b and interface named C, the - * fully-qualified name will be a.b.C. - */ - name: string; - /** - * description is a human-readable description of the interface and its - * purpose. - */ - description: string; -} -/** - * InterfaceDescriptor describes an interface type to be used with - * accepts_interface and implements_interface and declared by declare_interface. - */ -export interface InterfaceDescriptorSDKType { - name: string; - description: string; -} -/** - * ScalarDescriptor describes an scalar type to be used with - * the scalar field option and declared by declare_scalar. - * Scalars extend simple protobuf built-in types with additional - * syntax and semantics, for instance to represent big integers. - * Scalars should ideally define an encoding such that there is only one - * valid syntactical representation for a given semantic meaning, - * i.e. the encoding should be deterministic. - */ -export interface ScalarDescriptor { - /** - * name is the name of the scalar. It should be a short-name (without - * a period) such that the fully qualified name of the scalar will be - * package.name, ex. for the package a.b and scalar named C, the - * fully-qualified name will be a.b.C. - */ - name: string; - /** - * description is a human-readable description of the scalar and its - * encoding format. For instance a big integer or decimal scalar should - * specify precisely the expected encoding format. - */ - description: string; - /** - * field_type is the type of field with which this scalar can be used. - * Scalars can be used with one and only one type of field so that - * encoding standards and simple and clear. Currently only string and - * bytes fields are supported for scalars. - */ - fieldType: ScalarType[]; -} -/** - * ScalarDescriptor describes an scalar type to be used with - * the scalar field option and declared by declare_scalar. - * Scalars extend simple protobuf built-in types with additional - * syntax and semantics, for instance to represent big integers. - * Scalars should ideally define an encoding such that there is only one - * valid syntactical representation for a given semantic meaning, - * i.e. the encoding should be deterministic. - */ -export interface ScalarDescriptorSDKType { - name: string; - description: string; - field_type: ScalarType[]; -} -export declare const InterfaceDescriptor: { - encode(message: InterfaceDescriptor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): InterfaceDescriptor; - fromPartial(object: DeepPartial): InterfaceDescriptor; -}; -export declare const ScalarDescriptor: { - encode(message: ScalarDescriptor, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ScalarDescriptor; - fromPartial(object: DeepPartial): ScalarDescriptor; -}; diff --git a/packages/codegen/dist/cosmwasm/bundle.d.ts b/packages/codegen/dist/cosmwasm/bundle.d.ts deleted file mode 100644 index 14b8169e..00000000 --- a/packages/codegen/dist/cosmwasm/bundle.d.ts +++ /dev/null @@ -1,1284 +0,0 @@ -/// -import * as _95 from "./wasm/v1/authz"; -import * as _96 from "./wasm/v1/genesis"; -import * as _97 from "./wasm/v1/ibc"; -import * as _98 from "./wasm/v1/proposal"; -import * as _99 from "./wasm/v1/query"; -import * as _100 from "./wasm/v1/tx"; -import * as _101 from "./wasm/v1/types"; -import * as _194 from "./wasm/v1/query.lcd"; -import * as _195 from "./wasm/v1/query.rpc.Query"; -import * as _196 from "./wasm/v1/tx.rpc.msg"; -export declare namespace cosmwasm { - namespace wasm { - const v1: { - MsgClientImpl: typeof _196.MsgClientImpl; - QueryClientImpl: typeof _195.QueryClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - contractInfo(request: _99.QueryContractInfoRequest): Promise<_99.QueryContractInfoResponse>; - contractHistory(request: _99.QueryContractHistoryRequest): Promise<_99.QueryContractHistoryResponse>; - contractsByCode(request: _99.QueryContractsByCodeRequest): Promise<_99.QueryContractsByCodeResponse>; - allContractState(request: _99.QueryAllContractStateRequest): Promise<_99.QueryAllContractStateResponse>; - rawContractState(request: _99.QueryRawContractStateRequest): Promise<_99.QueryRawContractStateResponse>; - smartContractState(request: _99.QuerySmartContractStateRequest): Promise<_99.QuerySmartContractStateResponse>; - code(request: _99.QueryCodeRequest): Promise<_99.QueryCodeResponse>; - codes(request?: _99.QueryCodesRequest): Promise<_99.QueryCodesResponse>; - pinnedCodes(request?: _99.QueryPinnedCodesRequest): Promise<_99.QueryPinnedCodesResponse>; - params(request?: _99.QueryParamsRequest): Promise<_99.QueryParamsResponse>; - contractsByCreator(request: _99.QueryContractsByCreatorRequest): Promise<_99.QueryContractsByCreatorResponse>; - }; - LCDQueryClient: typeof _194.LCDQueryClient; - accessTypeFromJSON(object: any): _101.AccessType; - accessTypeToJSON(object: _101.AccessType): string; - contractCodeHistoryOperationTypeFromJSON(object: any): _101.ContractCodeHistoryOperationType; - contractCodeHistoryOperationTypeToJSON(object: _101.ContractCodeHistoryOperationType): string; - AccessType: typeof _101.AccessType; - AccessTypeSDKType: typeof _101.AccessType; - ContractCodeHistoryOperationType: typeof _101.ContractCodeHistoryOperationType; - ContractCodeHistoryOperationTypeSDKType: typeof _101.ContractCodeHistoryOperationType; - AccessTypeParam: { - encode(message: _101.AccessTypeParam, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _101.AccessTypeParam; - fromPartial(object: { - value?: _101.AccessType; - }): _101.AccessTypeParam; - }; - AccessConfig: { - encode(message: _101.AccessConfig, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _101.AccessConfig; - fromPartial(object: { - permission?: _101.AccessType; - address?: string; - addresses?: string[]; - }): _101.AccessConfig; - }; - Params: { - encode(message: _101.Params, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _101.Params; - fromPartial(object: { - codeUploadAccess?: { - permission?: _101.AccessType; - address?: string; - addresses?: string[]; - }; - instantiateDefaultPermission?: _101.AccessType; - }): _101.Params; - }; - CodeInfo: { - encode(message: _101.CodeInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _101.CodeInfo; - fromPartial(object: { - codeHash?: Uint8Array; - creator?: string; - instantiateConfig?: { - permission?: _101.AccessType; - address?: string; - addresses?: string[]; - }; - }): _101.CodeInfo; - }; - ContractInfo: { - encode(message: _101.ContractInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _101.ContractInfo; - fromPartial(object: { - codeId?: string | number | import("long").Long; - creator?: string; - admin?: string; - label?: string; - created?: { - blockHeight?: string | number | import("long").Long; - txIndex?: string | number | import("long").Long; - }; - ibcPortId?: string; - extension?: { - typeUrl?: string; - value?: Uint8Array; - }; - }): _101.ContractInfo; - }; - ContractCodeHistoryEntry: { - encode(message: _101.ContractCodeHistoryEntry, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _101.ContractCodeHistoryEntry; - fromPartial(object: { - operation?: _101.ContractCodeHistoryOperationType; - codeId?: string | number | import("long").Long; - updated?: { - blockHeight?: string | number | import("long").Long; - txIndex?: string | number | import("long").Long; - }; - msg?: Uint8Array; - }): _101.ContractCodeHistoryEntry; - }; - AbsoluteTxPosition: { - encode(message: _101.AbsoluteTxPosition, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _101.AbsoluteTxPosition; - fromPartial(object: { - blockHeight?: string | number | import("long").Long; - txIndex?: string | number | import("long").Long; - }): _101.AbsoluteTxPosition; - }; - Model: { - encode(message: _101.Model, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _101.Model; - fromPartial(object: { - key?: Uint8Array; - value?: Uint8Array; - }): _101.Model; - }; - MsgStoreCode: { - encode(message: _100.MsgStoreCode, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _100.MsgStoreCode; - fromPartial(object: { - sender?: string; - wasmByteCode?: Uint8Array; - instantiatePermission?: { - permission?: _101.AccessType; - address?: string; - addresses?: string[]; - }; - }): _100.MsgStoreCode; - }; - MsgStoreCodeResponse: { - encode(message: _100.MsgStoreCodeResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _100.MsgStoreCodeResponse; - fromPartial(object: { - codeId?: string | number | import("long").Long; - checksum?: Uint8Array; - }): _100.MsgStoreCodeResponse; - }; - MsgInstantiateContract: { - encode(message: _100.MsgInstantiateContract, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _100.MsgInstantiateContract; - fromPartial(object: { - sender?: string; - admin?: string; - codeId?: string | number | import("long").Long; - label?: string; - msg?: Uint8Array; - funds?: { - denom?: string; - amount?: string; - }[]; - }): _100.MsgInstantiateContract; - }; - MsgInstantiateContract2: { - encode(message: _100.MsgInstantiateContract2, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _100.MsgInstantiateContract2; - fromPartial(object: { - sender?: string; - admin?: string; - codeId?: string | number | import("long").Long; - label?: string; - msg?: Uint8Array; - funds?: { - denom?: string; - amount?: string; - }[]; - salt?: Uint8Array; - fixMsg?: boolean; - }): _100.MsgInstantiateContract2; - }; - MsgInstantiateContractResponse: { - encode(message: _100.MsgInstantiateContractResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _100.MsgInstantiateContractResponse; - fromPartial(object: { - address?: string; - data?: Uint8Array; - }): _100.MsgInstantiateContractResponse; - }; - MsgInstantiateContract2Response: { - encode(message: _100.MsgInstantiateContract2Response, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _100.MsgInstantiateContract2Response; - fromPartial(object: { - address?: string; - data?: Uint8Array; - }): _100.MsgInstantiateContract2Response; - }; - MsgExecuteContract: { - encode(message: _100.MsgExecuteContract, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _100.MsgExecuteContract; - fromPartial(object: { - sender?: string; - contract?: string; - msg?: Uint8Array; - funds?: { - denom?: string; - amount?: string; - }[]; - }): _100.MsgExecuteContract; - }; - MsgExecuteContractResponse: { - encode(message: _100.MsgExecuteContractResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _100.MsgExecuteContractResponse; - fromPartial(object: { - data?: Uint8Array; - }): _100.MsgExecuteContractResponse; - }; - MsgMigrateContract: { - encode(message: _100.MsgMigrateContract, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _100.MsgMigrateContract; - fromPartial(object: { - sender?: string; - contract?: string; - codeId?: string | number | import("long").Long; - msg?: Uint8Array; - }): _100.MsgMigrateContract; - }; - MsgMigrateContractResponse: { - encode(message: _100.MsgMigrateContractResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _100.MsgMigrateContractResponse; - fromPartial(object: { - data?: Uint8Array; - }): _100.MsgMigrateContractResponse; - }; - MsgUpdateAdmin: { - encode(message: _100.MsgUpdateAdmin, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _100.MsgUpdateAdmin; - fromPartial(object: { - sender?: string; - newAdmin?: string; - contract?: string; - }): _100.MsgUpdateAdmin; - }; - MsgUpdateAdminResponse: { - encode(_: _100.MsgUpdateAdminResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _100.MsgUpdateAdminResponse; - fromPartial(_: {}): _100.MsgUpdateAdminResponse; - }; - MsgClearAdmin: { - encode(message: _100.MsgClearAdmin, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _100.MsgClearAdmin; - fromPartial(object: { - sender?: string; - contract?: string; - }): _100.MsgClearAdmin; - }; - MsgClearAdminResponse: { - encode(_: _100.MsgClearAdminResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _100.MsgClearAdminResponse; - fromPartial(_: {}): _100.MsgClearAdminResponse; - }; - QueryContractInfoRequest: { - encode(message: _99.QueryContractInfoRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _99.QueryContractInfoRequest; - fromPartial(object: { - address?: string; - }): _99.QueryContractInfoRequest; - }; - QueryContractInfoResponse: { - encode(message: _99.QueryContractInfoResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _99.QueryContractInfoResponse; - fromPartial(object: { - address?: string; - contractInfo?: { - codeId?: string | number | import("long").Long; - creator?: string; - admin?: string; - label?: string; - created?: { - blockHeight?: string | number | import("long").Long; - txIndex?: string | number | import("long").Long; - }; - ibcPortId?: string; - extension?: { - typeUrl?: string; - value?: Uint8Array; - }; - }; - }): _99.QueryContractInfoResponse; - }; - QueryContractHistoryRequest: { - encode(message: _99.QueryContractHistoryRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _99.QueryContractHistoryRequest; - fromPartial(object: { - address?: string; - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _99.QueryContractHistoryRequest; - }; - QueryContractHistoryResponse: { - encode(message: _99.QueryContractHistoryResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _99.QueryContractHistoryResponse; - fromPartial(object: { - entries?: { - operation?: _101.ContractCodeHistoryOperationType; - codeId?: string | number | import("long").Long; - updated?: { - blockHeight?: string | number | import("long").Long; - txIndex?: string | number | import("long").Long; - }; - msg?: Uint8Array; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _99.QueryContractHistoryResponse; - }; - QueryContractsByCodeRequest: { - encode(message: _99.QueryContractsByCodeRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _99.QueryContractsByCodeRequest; - fromPartial(object: { - codeId?: string | number | import("long").Long; - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _99.QueryContractsByCodeRequest; - }; - QueryContractsByCodeResponse: { - encode(message: _99.QueryContractsByCodeResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _99.QueryContractsByCodeResponse; - fromPartial(object: { - contracts?: string[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _99.QueryContractsByCodeResponse; - }; - QueryAllContractStateRequest: { - encode(message: _99.QueryAllContractStateRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _99.QueryAllContractStateRequest; - fromPartial(object: { - address?: string; - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _99.QueryAllContractStateRequest; - }; - QueryAllContractStateResponse: { - encode(message: _99.QueryAllContractStateResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _99.QueryAllContractStateResponse; - fromPartial(object: { - models?: { - key?: Uint8Array; - value?: Uint8Array; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _99.QueryAllContractStateResponse; - }; - QueryRawContractStateRequest: { - encode(message: _99.QueryRawContractStateRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _99.QueryRawContractStateRequest; - fromPartial(object: { - address?: string; - queryData?: Uint8Array; - }): _99.QueryRawContractStateRequest; - }; - QueryRawContractStateResponse: { - encode(message: _99.QueryRawContractStateResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _99.QueryRawContractStateResponse; - fromPartial(object: { - data?: Uint8Array; - }): _99.QueryRawContractStateResponse; - }; - QuerySmartContractStateRequest: { - encode(message: _99.QuerySmartContractStateRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _99.QuerySmartContractStateRequest; - fromPartial(object: { - address?: string; - queryData?: Uint8Array; - }): _99.QuerySmartContractStateRequest; - }; - QuerySmartContractStateResponse: { - encode(message: _99.QuerySmartContractStateResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _99.QuerySmartContractStateResponse; - fromPartial(object: { - data?: Uint8Array; - }): _99.QuerySmartContractStateResponse; - }; - QueryCodeRequest: { - encode(message: _99.QueryCodeRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _99.QueryCodeRequest; - fromPartial(object: { - codeId?: string | number | import("long").Long; - }): _99.QueryCodeRequest; - }; - CodeInfoResponse: { - encode(message: _99.CodeInfoResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _99.CodeInfoResponse; - fromPartial(object: { - codeId?: string | number | import("long").Long; - creator?: string; - dataHash?: Uint8Array; - instantiatePermission?: { - permission?: _101.AccessType; - address?: string; - addresses?: string[]; - }; - }): _99.CodeInfoResponse; - }; - QueryCodeResponse: { - encode(message: _99.QueryCodeResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _99.QueryCodeResponse; - fromPartial(object: { - codeInfo?: { - codeId?: string | number | import("long").Long; - creator?: string; - dataHash?: Uint8Array; - instantiatePermission?: { - permission?: _101.AccessType; - address?: string; - addresses?: string[]; - }; - }; - data?: Uint8Array; - }): _99.QueryCodeResponse; - }; - QueryCodesRequest: { - encode(message: _99.QueryCodesRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _99.QueryCodesRequest; - fromPartial(object: { - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _99.QueryCodesRequest; - }; - QueryCodesResponse: { - encode(message: _99.QueryCodesResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _99.QueryCodesResponse; - fromPartial(object: { - codeInfos?: { - codeId?: string | number | import("long").Long; - creator?: string; - dataHash?: Uint8Array; - instantiatePermission?: { - permission?: _101.AccessType; - address?: string; - addresses?: string[]; - }; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _99.QueryCodesResponse; - }; - QueryPinnedCodesRequest: { - encode(message: _99.QueryPinnedCodesRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _99.QueryPinnedCodesRequest; - fromPartial(object: { - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _99.QueryPinnedCodesRequest; - }; - QueryPinnedCodesResponse: { - encode(message: _99.QueryPinnedCodesResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _99.QueryPinnedCodesResponse; - fromPartial(object: { - codeIds?: (string | number | import("long").Long)[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _99.QueryPinnedCodesResponse; - }; - QueryParamsRequest: { - encode(_: _99.QueryParamsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _99.QueryParamsRequest; - fromPartial(_: {}): _99.QueryParamsRequest; - }; - QueryParamsResponse: { - encode(message: _99.QueryParamsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _99.QueryParamsResponse; - fromPartial(object: { - params?: { - codeUploadAccess?: { - permission?: _101.AccessType; - address?: string; - addresses?: string[]; - }; - instantiateDefaultPermission?: _101.AccessType; - }; - }): _99.QueryParamsResponse; - }; - QueryContractsByCreatorRequest: { - encode(message: _99.QueryContractsByCreatorRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _99.QueryContractsByCreatorRequest; - fromPartial(object: { - creatorAddress?: string; - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _99.QueryContractsByCreatorRequest; - }; - QueryContractsByCreatorResponse: { - encode(message: _99.QueryContractsByCreatorResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _99.QueryContractsByCreatorResponse; - fromPartial(object: { - contractAddresses?: string[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _99.QueryContractsByCreatorResponse; - }; - StoreCodeProposal: { - encode(message: _98.StoreCodeProposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _98.StoreCodeProposal; - fromPartial(object: { - title?: string; - description?: string; - runAs?: string; - wasmByteCode?: Uint8Array; - instantiatePermission?: { - permission?: _101.AccessType; - address?: string; - addresses?: string[]; - }; - unpinCode?: boolean; - source?: string; - builder?: string; - codeHash?: Uint8Array; - }): _98.StoreCodeProposal; - }; - InstantiateContractProposal: { - encode(message: _98.InstantiateContractProposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _98.InstantiateContractProposal; - fromPartial(object: { - title?: string; - description?: string; - runAs?: string; - admin?: string; - codeId?: string | number | import("long").Long; - label?: string; - msg?: Uint8Array; - funds?: { - denom?: string; - amount?: string; - }[]; - }): _98.InstantiateContractProposal; - }; - InstantiateContract2Proposal: { - encode(message: _98.InstantiateContract2Proposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _98.InstantiateContract2Proposal; - fromPartial(object: { - title?: string; - description?: string; - runAs?: string; - admin?: string; - codeId?: string | number | import("long").Long; - label?: string; - msg?: Uint8Array; - funds?: { - denom?: string; - amount?: string; - }[]; - salt?: Uint8Array; - fixMsg?: boolean; - }): _98.InstantiateContract2Proposal; - }; - MigrateContractProposal: { - encode(message: _98.MigrateContractProposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _98.MigrateContractProposal; - fromPartial(object: { - title?: string; - description?: string; - contract?: string; - codeId?: string | number | import("long").Long; - msg?: Uint8Array; - }): _98.MigrateContractProposal; - }; - SudoContractProposal: { - encode(message: _98.SudoContractProposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _98.SudoContractProposal; - fromPartial(object: { - title?: string; - description?: string; - contract?: string; - msg?: Uint8Array; - }): _98.SudoContractProposal; - }; - ExecuteContractProposal: { - encode(message: _98.ExecuteContractProposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _98.ExecuteContractProposal; - fromPartial(object: { - title?: string; - description?: string; - runAs?: string; - contract?: string; - msg?: Uint8Array; - funds?: { - denom?: string; - amount?: string; - }[]; - }): _98.ExecuteContractProposal; - }; - UpdateAdminProposal: { - encode(message: _98.UpdateAdminProposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _98.UpdateAdminProposal; - fromPartial(object: { - title?: string; - description?: string; - newAdmin?: string; - contract?: string; - }): _98.UpdateAdminProposal; - }; - ClearAdminProposal: { - encode(message: _98.ClearAdminProposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _98.ClearAdminProposal; - fromPartial(object: { - title?: string; - description?: string; - contract?: string; - }): _98.ClearAdminProposal; - }; - PinCodesProposal: { - encode(message: _98.PinCodesProposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _98.PinCodesProposal; - fromPartial(object: { - title?: string; - description?: string; - codeIds?: (string | number | import("long").Long)[]; - }): _98.PinCodesProposal; - }; - UnpinCodesProposal: { - encode(message: _98.UnpinCodesProposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _98.UnpinCodesProposal; - fromPartial(object: { - title?: string; - description?: string; - codeIds?: (string | number | import("long").Long)[]; - }): _98.UnpinCodesProposal; - }; - AccessConfigUpdate: { - encode(message: _98.AccessConfigUpdate, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _98.AccessConfigUpdate; - fromPartial(object: { - codeId?: string | number | import("long").Long; - instantiatePermission?: { - permission?: _101.AccessType; - address?: string; - addresses?: string[]; - }; - }): _98.AccessConfigUpdate; - }; - UpdateInstantiateConfigProposal: { - encode(message: _98.UpdateInstantiateConfigProposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _98.UpdateInstantiateConfigProposal; - fromPartial(object: { - title?: string; - description?: string; - accessConfigUpdates?: { - codeId?: string | number | import("long").Long; - instantiatePermission?: { - permission?: _101.AccessType; - address?: string; - addresses?: string[]; - }; - }[]; - }): _98.UpdateInstantiateConfigProposal; - }; - StoreAndInstantiateContractProposal: { - encode(message: _98.StoreAndInstantiateContractProposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _98.StoreAndInstantiateContractProposal; - fromPartial(object: { - title?: string; - description?: string; - runAs?: string; - wasmByteCode?: Uint8Array; - instantiatePermission?: { - permission?: _101.AccessType; - address?: string; - addresses?: string[]; - }; - unpinCode?: boolean; - admin?: string; - label?: string; - msg?: Uint8Array; - funds?: { - denom?: string; - amount?: string; - }[]; - source?: string; - builder?: string; - codeHash?: Uint8Array; - }): _98.StoreAndInstantiateContractProposal; - }; - MsgIBCSend: { - encode(message: _97.MsgIBCSend, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _97.MsgIBCSend; - fromPartial(object: { - channel?: string; - timeoutHeight?: string | number | import("long").Long; - timeoutTimestamp?: string | number | import("long").Long; - data?: Uint8Array; - }): _97.MsgIBCSend; - }; - MsgIBCCloseChannel: { - encode(message: _97.MsgIBCCloseChannel, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _97.MsgIBCCloseChannel; - fromPartial(object: { - channel?: string; - }): _97.MsgIBCCloseChannel; - }; - GenesisState: { - encode(message: _96.GenesisState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _96.GenesisState; - fromPartial(object: { - params?: { - codeUploadAccess?: { - permission?: _101.AccessType; - address?: string; - addresses?: string[]; - }; - instantiateDefaultPermission?: _101.AccessType; - }; - codes?: { - codeId?: string | number | import("long").Long; - codeInfo?: { - codeHash?: Uint8Array; - creator?: string; - instantiateConfig?: { - permission?: _101.AccessType; - address?: string; - addresses?: string[]; - }; - }; - codeBytes?: Uint8Array; - pinned?: boolean; - }[]; - contracts?: { - contractAddress?: string; - contractInfo?: { - codeId?: string | number | import("long").Long; - creator?: string; - admin?: string; - label?: string; - created?: { - blockHeight?: string | number | import("long").Long; - txIndex?: string | number | import("long").Long; - }; - ibcPortId?: string; - extension?: { - typeUrl?: string; - value?: Uint8Array; - }; - }; - contractState?: { - key?: Uint8Array; - value?: Uint8Array; - }[]; - contractCodeHistory?: { - operation?: _101.ContractCodeHistoryOperationType; - codeId?: string | number | import("long").Long; - updated?: { - blockHeight?: string | number | import("long").Long; - txIndex?: string | number | import("long").Long; - }; - msg?: Uint8Array; - }[]; - }[]; - sequences?: { - idKey?: Uint8Array; - value?: string | number | import("long").Long; - }[]; - }): _96.GenesisState; - }; - Code: { - encode(message: _96.Code, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _96.Code; - fromPartial(object: { - codeId?: string | number | import("long").Long; - codeInfo?: { - codeHash?: Uint8Array; - creator?: string; - instantiateConfig?: { - permission?: _101.AccessType; - address?: string; - addresses?: string[]; - }; - }; - codeBytes?: Uint8Array; - pinned?: boolean; - }): _96.Code; - }; - Contract: { - encode(message: _96.Contract, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _96.Contract; - fromPartial(object: { - contractAddress?: string; - contractInfo?: { - codeId?: string | number | import("long").Long; - creator?: string; - admin?: string; - label?: string; - created?: { - blockHeight?: string | number | import("long").Long; - txIndex?: string | number | import("long").Long; - }; - ibcPortId?: string; - extension?: { - typeUrl?: string; - value?: Uint8Array; - }; - }; - contractState?: { - key?: Uint8Array; - value?: Uint8Array; - }[]; - contractCodeHistory?: { - operation?: _101.ContractCodeHistoryOperationType; - codeId?: string | number | import("long").Long; - updated?: { - blockHeight?: string | number | import("long").Long; - txIndex?: string | number | import("long").Long; - }; - msg?: Uint8Array; - }[]; - }): _96.Contract; - }; - Sequence: { - encode(message: _96.Sequence, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _96.Sequence; - fromPartial(object: { - idKey?: Uint8Array; - value?: string | number | import("long").Long; - }): _96.Sequence; - }; - ContractExecutionAuthorization: { - encode(message: _95.ContractExecutionAuthorization, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _95.ContractExecutionAuthorization; - fromPartial(object: { - grants?: { - contract?: string; - limit?: { - typeUrl?: string; - value?: Uint8Array; - }; - filter?: { - typeUrl?: string; - value?: Uint8Array; - }; - }[]; - }): _95.ContractExecutionAuthorization; - }; - ContractMigrationAuthorization: { - encode(message: _95.ContractMigrationAuthorization, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _95.ContractMigrationAuthorization; - fromPartial(object: { - grants?: { - contract?: string; - limit?: { - typeUrl?: string; - value?: Uint8Array; - }; - filter?: { - typeUrl?: string; - value?: Uint8Array; - }; - }[]; - }): _95.ContractMigrationAuthorization; - }; - ContractGrant: { - encode(message: _95.ContractGrant, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _95.ContractGrant; - fromPartial(object: { - contract?: string; - limit?: { - typeUrl?: string; - value?: Uint8Array; - }; - filter?: { - typeUrl?: string; - value?: Uint8Array; - }; - }): _95.ContractGrant; - }; - MaxCallsLimit: { - encode(message: _95.MaxCallsLimit, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _95.MaxCallsLimit; - fromPartial(object: { - remaining?: string | number | import("long").Long; - }): _95.MaxCallsLimit; - }; - MaxFundsLimit: { - encode(message: _95.MaxFundsLimit, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _95.MaxFundsLimit; - fromPartial(object: { - amounts?: { - denom?: string; - amount?: string; - }[]; - }): _95.MaxFundsLimit; - }; - CombinedLimit: { - encode(message: _95.CombinedLimit, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _95.CombinedLimit; - fromPartial(object: { - callsRemaining?: string | number | import("long").Long; - amounts?: { - denom?: string; - amount?: string; - }[]; - }): _95.CombinedLimit; - }; - AllowAllMessagesFilter: { - encode(_: _95.AllowAllMessagesFilter, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _95.AllowAllMessagesFilter; - fromPartial(_: {}): _95.AllowAllMessagesFilter; - }; - AcceptedMessageKeysFilter: { - encode(message: _95.AcceptedMessageKeysFilter, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _95.AcceptedMessageKeysFilter; - fromPartial(object: { - keys?: string[]; - }): _95.AcceptedMessageKeysFilter; - }; - AcceptedMessagesFilter: { - encode(message: _95.AcceptedMessagesFilter, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _95.AcceptedMessagesFilter; - fromPartial(object: { - messages?: Uint8Array[]; - }): _95.AcceptedMessagesFilter; - }; - }; - } - const ClientFactory: { - createRPCMsgClient: ({ rpc }: { - rpc: import("../helpers").Rpc; - }) => Promise<{ - cosmos: { - authz: { - v1beta1: import("../cosmos/authz/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - bank: { - v1beta1: import("../cosmos/bank/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - crisis: { - v1beta1: import("../cosmos/crisis/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - distribution: { - v1beta1: import("../cosmos/distribution/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - evidence: { - v1beta1: import("../cosmos/evidence/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - feegrant: { - v1beta1: import("../cosmos/feegrant/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - gov: { - v1: import("../cosmos/gov/v1/tx.rpc.msg").MsgClientImpl; - v1beta1: import("../cosmos/gov/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - group: { - v1: import("../cosmos/group/v1/tx.rpc.msg").MsgClientImpl; - }; - nft: { - v1beta1: import("../cosmos/nft/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - slashing: { - v1beta1: import("../cosmos/slashing/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - staking: { - v1beta1: import("../cosmos/staking/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - upgrade: { - v1beta1: import("../cosmos/upgrade/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - vesting: { - v1beta1: import("../cosmos/vesting/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - }; - cosmwasm: { - wasm: { - v1: _196.MsgClientImpl; - }; - }; - }>; - createRPCQueryClient: ({ rpcEndpoint }: { - rpcEndpoint: string | import("@cosmjs/tendermint-rpc").HttpEndpoint; - }) => Promise<{ - cosmos: { - app: { - v1alpha1: { - config(request?: import("../cosmos/app/v1alpha1/query").QueryConfigRequest): Promise; - }; - }; - auth: { - v1beta1: { - accounts(request?: import("../cosmos/auth/v1beta1/query").QueryAccountsRequest): Promise; - account(request: import("../cosmos/auth/v1beta1/query").QueryAccountRequest): Promise; - params(request?: import("../cosmos/auth/v1beta1/query").QueryParamsRequest): Promise; - moduleAccounts(request?: import("../cosmos/auth/v1beta1/query").QueryModuleAccountsRequest): Promise; - bech32Prefix(request?: import("../cosmos/auth/v1beta1/query").Bech32PrefixRequest): Promise; - addressBytesToString(request: import("../cosmos/auth/v1beta1/query").AddressBytesToStringRequest): Promise; - addressStringToBytes(request: import("../cosmos/auth/v1beta1/query").AddressStringToBytesRequest): Promise; - }; - }; - authz: { - v1beta1: { - grants(request: import("../cosmos/authz/v1beta1/query").QueryGrantsRequest): Promise; - granterGrants(request: import("../cosmos/authz/v1beta1/query").QueryGranterGrantsRequest): Promise; - granteeGrants(request: import("../cosmos/authz/v1beta1/query").QueryGranteeGrantsRequest): Promise; - }; - }; - bank: { - v1beta1: { - balance(request: import("../cosmos/bank/v1beta1/query").QueryBalanceRequest): Promise; - allBalances(request: import("../cosmos/bank/v1beta1/query").QueryAllBalancesRequest): Promise; - spendableBalances(request: import("../cosmos/bank/v1beta1/query").QuerySpendableBalancesRequest): Promise; - totalSupply(request?: import("../cosmos/bank/v1beta1/query").QueryTotalSupplyRequest): Promise; - supplyOf(request: import("../cosmos/bank/v1beta1/query").QuerySupplyOfRequest): Promise; - params(request?: import("../cosmos/bank/v1beta1/query").QueryParamsRequest): Promise; - denomMetadata(request: import("../cosmos/bank/v1beta1/query").QueryDenomMetadataRequest): Promise; - denomsMetadata(request?: import("../cosmos/bank/v1beta1/query").QueryDenomsMetadataRequest): Promise; - denomOwners(request: import("../cosmos/bank/v1beta1/query").QueryDenomOwnersRequest): Promise; - }; - }; - base: { - tendermint: { - v1beta1: { - getNodeInfo(request?: import("../cosmos/base/tendermint/v1beta1/query").GetNodeInfoRequest): Promise; - getSyncing(request?: import("../cosmos/base/tendermint/v1beta1/query").GetSyncingRequest): Promise; - getLatestBlock(request?: import("../cosmos/base/tendermint/v1beta1/query").GetLatestBlockRequest): Promise; - getBlockByHeight(request: import("../cosmos/base/tendermint/v1beta1/query").GetBlockByHeightRequest): Promise; - getLatestValidatorSet(request?: import("../cosmos/base/tendermint/v1beta1/query").GetLatestValidatorSetRequest): Promise; - getValidatorSetByHeight(request: import("../cosmos/base/tendermint/v1beta1/query").GetValidatorSetByHeightRequest): Promise; - }; - }; - }; - distribution: { - v1beta1: { - params(request?: import("../cosmos/distribution/v1beta1/query").QueryParamsRequest): Promise; - validatorOutstandingRewards(request: import("../cosmos/distribution/v1beta1/query").QueryValidatorOutstandingRewardsRequest): Promise; - validatorCommission(request: import("../cosmos/distribution/v1beta1/query").QueryValidatorCommissionRequest): Promise; - validatorSlashes(request: import("../cosmos/distribution/v1beta1/query").QueryValidatorSlashesRequest): Promise; - delegationRewards(request: import("../cosmos/distribution/v1beta1/query").QueryDelegationRewardsRequest): Promise; - delegationTotalRewards(request: import("../cosmos/distribution/v1beta1/query").QueryDelegationTotalRewardsRequest): Promise; - delegatorValidators(request: import("../cosmos/distribution/v1beta1/query").QueryDelegatorValidatorsRequest): Promise; - delegatorWithdrawAddress(request: import("../cosmos/distribution/v1beta1/query").QueryDelegatorWithdrawAddressRequest): Promise; - communityPool(request?: import("../cosmos/distribution/v1beta1/query").QueryCommunityPoolRequest): Promise; - }; - }; - evidence: { - v1beta1: { - evidence(request: import("../cosmos/evidence/v1beta1/query").QueryEvidenceRequest): Promise; - allEvidence(request?: import("../cosmos/evidence/v1beta1/query").QueryAllEvidenceRequest): Promise; - }; - }; - feegrant: { - v1beta1: { - allowance(request: import("../cosmos/feegrant/v1beta1/query").QueryAllowanceRequest): Promise; - allowances(request: import("../cosmos/feegrant/v1beta1/query").QueryAllowancesRequest): Promise; - allowancesByGranter(request: import("../cosmos/feegrant/v1beta1/query").QueryAllowancesByGranterRequest): Promise; - }; - }; - gov: { - v1: { - proposal(request: import("../cosmos/gov/v1/query").QueryProposalRequest): Promise; - proposals(request: import("../cosmos/gov/v1/query").QueryProposalsRequest): Promise; - vote(request: import("../cosmos/gov/v1/query").QueryVoteRequest): Promise; - votes(request: import("../cosmos/gov/v1/query").QueryVotesRequest): Promise; - params(request: import("../cosmos/gov/v1/query").QueryParamsRequest): Promise; - deposit(request: import("../cosmos/gov/v1/query").QueryDepositRequest): Promise; - deposits(request: import("../cosmos/gov/v1/query").QueryDepositsRequest): Promise; - tallyResult(request: import("../cosmos/gov/v1/query").QueryTallyResultRequest): Promise; - }; - v1beta1: { - proposal(request: import("../cosmos/gov/v1beta1/query").QueryProposalRequest): Promise; - proposals(request: import("../cosmos/gov/v1beta1/query").QueryProposalsRequest): Promise; - vote(request: import("../cosmos/gov/v1beta1/query").QueryVoteRequest): Promise; - votes(request: import("../cosmos/gov/v1beta1/query").QueryVotesRequest): Promise; - params(request: import("../cosmos/gov/v1beta1/query").QueryParamsRequest): Promise; - deposit(request: import("../cosmos/gov/v1beta1/query").QueryDepositRequest): Promise; - deposits(request: import("../cosmos/gov/v1beta1/query").QueryDepositsRequest): Promise; - tallyResult(request: import("../cosmos/gov/v1beta1/query").QueryTallyResultRequest): Promise; - }; - }; - group: { - v1: { - groupInfo(request: import("../cosmos/group/v1/query").QueryGroupInfoRequest): Promise; - groupPolicyInfo(request: import("../cosmos/group/v1/query").QueryGroupPolicyInfoRequest): Promise; - groupMembers(request: import("../cosmos/group/v1/query").QueryGroupMembersRequest): Promise; - groupsByAdmin(request: import("../cosmos/group/v1/query").QueryGroupsByAdminRequest): Promise; - groupPoliciesByGroup(request: import("../cosmos/group/v1/query").QueryGroupPoliciesByGroupRequest): Promise; - groupPoliciesByAdmin(request: import("../cosmos/group/v1/query").QueryGroupPoliciesByAdminRequest): Promise; - proposal(request: import("../cosmos/group/v1/query").QueryProposalRequest): Promise; - proposalsByGroupPolicy(request: import("../cosmos/group/v1/query").QueryProposalsByGroupPolicyRequest): Promise; - voteByProposalVoter(request: import("../cosmos/group/v1/query").QueryVoteByProposalVoterRequest): Promise; - votesByProposal(request: import("../cosmos/group/v1/query").QueryVotesByProposalRequest): Promise; - votesByVoter(request: import("../cosmos/group/v1/query").QueryVotesByVoterRequest): Promise; - groupsByMember(request: import("../cosmos/group/v1/query").QueryGroupsByMemberRequest): Promise; - tallyResult(request: import("../cosmos/group/v1/query").QueryTallyResultRequest): Promise; - }; - }; - mint: { - v1beta1: { - params(request?: import("../cosmos/mint/v1beta1/query").QueryParamsRequest): Promise; - inflation(request?: import("../cosmos/mint/v1beta1/query").QueryInflationRequest): Promise; - annualProvisions(request?: import("../cosmos/mint/v1beta1/query").QueryAnnualProvisionsRequest): Promise; - }; - }; - nft: { - v1beta1: { - balance(request: import("../cosmos/nft/v1beta1/query").QueryBalanceRequest): Promise; - owner(request: import("../cosmos/nft/v1beta1/query").QueryOwnerRequest): Promise; - supply(request: import("../cosmos/nft/v1beta1/query").QuerySupplyRequest): Promise; - nFTs(request: import("../cosmos/nft/v1beta1/query").QueryNFTsRequest): Promise; - nFT(request: import("../cosmos/nft/v1beta1/query").QueryNFTRequest): Promise; - class(request: import("../cosmos/nft/v1beta1/query").QueryClassRequest): Promise; - classes(request?: import("../cosmos/nft/v1beta1/query").QueryClassesRequest): Promise; - }; - }; - params: { - v1beta1: { - params(request: import("../cosmos/params/v1beta1/query").QueryParamsRequest): Promise; - subspaces(request?: import("../cosmos/params/v1beta1/query").QuerySubspacesRequest): Promise; - }; - }; - slashing: { - v1beta1: { - params(request?: import("../cosmos/slashing/v1beta1/query").QueryParamsRequest): Promise; - signingInfo(request: import("../cosmos/slashing/v1beta1/query").QuerySigningInfoRequest): Promise; - signingInfos(request?: import("../cosmos/slashing/v1beta1/query").QuerySigningInfosRequest): Promise; - }; - }; - staking: { - v1beta1: { - validators(request: import("../cosmos/staking/v1beta1/query").QueryValidatorsRequest): Promise; - validator(request: import("../cosmos/staking/v1beta1/query").QueryValidatorRequest): Promise; - validatorDelegations(request: import("../cosmos/staking/v1beta1/query").QueryValidatorDelegationsRequest): Promise; - validatorUnbondingDelegations(request: import("../cosmos/staking/v1beta1/query").QueryValidatorUnbondingDelegationsRequest): Promise; - delegation(request: import("../cosmos/staking/v1beta1/query").QueryDelegationRequest): Promise; - unbondingDelegation(request: import("../cosmos/staking/v1beta1/query").QueryUnbondingDelegationRequest): Promise; - delegatorDelegations(request: import("../cosmos/staking/v1beta1/query").QueryDelegatorDelegationsRequest): Promise; - delegatorUnbondingDelegations(request: import("../cosmos/staking/v1beta1/query").QueryDelegatorUnbondingDelegationsRequest): Promise; - redelegations(request: import("../cosmos/staking/v1beta1/query").QueryRedelegationsRequest): Promise; - delegatorValidators(request: import("../cosmos/staking/v1beta1/query").QueryDelegatorValidatorsRequest): Promise; - delegatorValidator(request: import("../cosmos/staking/v1beta1/query").QueryDelegatorValidatorRequest): Promise; - historicalInfo(request: import("../cosmos/staking/v1beta1/query").QueryHistoricalInfoRequest): Promise; - pool(request?: import("../cosmos/staking/v1beta1/query").QueryPoolRequest): Promise; - params(request?: import("../cosmos/staking/v1beta1/query").QueryParamsRequest): Promise; - }; - }; - tx: { - v1beta1: { - simulate(request: import("../cosmos/tx/v1beta1/service").SimulateRequest): Promise; - getTx(request: import("../cosmos/tx/v1beta1/service").GetTxRequest): Promise; - broadcastTx(request: import("../cosmos/tx/v1beta1/service").BroadcastTxRequest): Promise; - getTxsEvent(request: import("../cosmos/tx/v1beta1/service").GetTxsEventRequest): Promise; - getBlockWithTxs(request: import("../cosmos/tx/v1beta1/service").GetBlockWithTxsRequest): Promise; - }; - }; - upgrade: { - v1beta1: { - currentPlan(request?: import("../cosmos/upgrade/v1beta1/query").QueryCurrentPlanRequest): Promise; - appliedPlan(request: import("../cosmos/upgrade/v1beta1/query").QueryAppliedPlanRequest): Promise; - upgradedConsensusState(request: import("../cosmos/upgrade/v1beta1/query").QueryUpgradedConsensusStateRequest): Promise; - moduleVersions(request: import("../cosmos/upgrade/v1beta1/query").QueryModuleVersionsRequest): Promise; - authority(request?: import("../cosmos/upgrade/v1beta1/query").QueryAuthorityRequest): Promise; - }; - }; - }; - cosmwasm: { - wasm: { - v1: { - contractInfo(request: _99.QueryContractInfoRequest): Promise<_99.QueryContractInfoResponse>; - contractHistory(request: _99.QueryContractHistoryRequest): Promise<_99.QueryContractHistoryResponse>; - contractsByCode(request: _99.QueryContractsByCodeRequest): Promise<_99.QueryContractsByCodeResponse>; - allContractState(request: _99.QueryAllContractStateRequest): Promise<_99.QueryAllContractStateResponse>; - rawContractState(request: _99.QueryRawContractStateRequest): Promise<_99.QueryRawContractStateResponse>; - smartContractState(request: _99.QuerySmartContractStateRequest): Promise<_99.QuerySmartContractStateResponse>; - code(request: _99.QueryCodeRequest): Promise<_99.QueryCodeResponse>; - codes(request?: _99.QueryCodesRequest): Promise<_99.QueryCodesResponse>; - pinnedCodes(request?: _99.QueryPinnedCodesRequest): Promise<_99.QueryPinnedCodesResponse>; - params(request?: _99.QueryParamsRequest): Promise<_99.QueryParamsResponse>; - contractsByCreator(request: _99.QueryContractsByCreatorRequest): Promise<_99.QueryContractsByCreatorResponse>; - }; - }; - }; - }>; - createLCDClient: ({ restEndpoint }: { - restEndpoint: string; - }) => Promise<{ - cosmos: { - auth: { - v1beta1: import("../cosmos/auth/v1beta1/query.lcd").LCDQueryClient; - }; - authz: { - v1beta1: import("../cosmos/authz/v1beta1/query.lcd").LCDQueryClient; - }; - bank: { - v1beta1: import("../cosmos/bank/v1beta1/query.lcd").LCDQueryClient; - }; - base: { - tendermint: { - v1beta1: import("../cosmos/base/tendermint/v1beta1/query.lcd").LCDQueryClient; - }; - }; - distribution: { - v1beta1: import("../cosmos/distribution/v1beta1/query.lcd").LCDQueryClient; - }; - evidence: { - v1beta1: import("../cosmos/evidence/v1beta1/query.lcd").LCDQueryClient; - }; - feegrant: { - v1beta1: import("../cosmos/feegrant/v1beta1/query.lcd").LCDQueryClient; - }; - gov: { - v1: import("../cosmos/gov/v1/query.lcd").LCDQueryClient; - v1beta1: import("../cosmos/gov/v1beta1/query.lcd").LCDQueryClient; - }; - group: { - v1: import("../cosmos/group/v1/query.lcd").LCDQueryClient; - }; - mint: { - v1beta1: import("../cosmos/mint/v1beta1/query.lcd").LCDQueryClient; - }; - nft: { - v1beta1: import("../cosmos/nft/v1beta1/query.lcd").LCDQueryClient; - }; - params: { - v1beta1: import("../cosmos/params/v1beta1/query.lcd").LCDQueryClient; - }; - slashing: { - v1beta1: import("../cosmos/slashing/v1beta1/query.lcd").LCDQueryClient; - }; - staking: { - v1beta1: import("../cosmos/staking/v1beta1/query.lcd").LCDQueryClient; - }; - tx: { - v1beta1: import("../cosmos/tx/v1beta1/service.lcd").LCDQueryClient; - }; - upgrade: { - v1beta1: import("../cosmos/upgrade/v1beta1/query.lcd").LCDQueryClient; - }; - }; - cosmwasm: { - wasm: { - v1: _194.LCDQueryClient; - }; - }; - }>; - }; -} diff --git a/packages/codegen/dist/cosmwasm/lcd.d.ts b/packages/codegen/dist/cosmwasm/lcd.d.ts deleted file mode 100644 index be718295..00000000 --- a/packages/codegen/dist/cosmwasm/lcd.d.ts +++ /dev/null @@ -1,62 +0,0 @@ -export declare const createLCDClient: ({ restEndpoint }: { - restEndpoint: string; -}) => Promise<{ - cosmos: { - auth: { - v1beta1: import("../cosmos/auth/v1beta1/query.lcd").LCDQueryClient; - }; - authz: { - v1beta1: import("../cosmos/authz/v1beta1/query.lcd").LCDQueryClient; - }; - bank: { - v1beta1: import("../cosmos/bank/v1beta1/query.lcd").LCDQueryClient; - }; - base: { - tendermint: { - v1beta1: import("../cosmos/base/tendermint/v1beta1/query.lcd").LCDQueryClient; - }; - }; - distribution: { - v1beta1: import("../cosmos/distribution/v1beta1/query.lcd").LCDQueryClient; - }; - evidence: { - v1beta1: import("../cosmos/evidence/v1beta1/query.lcd").LCDQueryClient; - }; - feegrant: { - v1beta1: import("../cosmos/feegrant/v1beta1/query.lcd").LCDQueryClient; - }; - gov: { - v1: import("../cosmos/gov/v1/query.lcd").LCDQueryClient; - v1beta1: import("../cosmos/gov/v1beta1/query.lcd").LCDQueryClient; - }; - group: { - v1: import("../cosmos/group/v1/query.lcd").LCDQueryClient; - }; - mint: { - v1beta1: import("../cosmos/mint/v1beta1/query.lcd").LCDQueryClient; - }; - nft: { - v1beta1: import("../cosmos/nft/v1beta1/query.lcd").LCDQueryClient; - }; - params: { - v1beta1: import("../cosmos/params/v1beta1/query.lcd").LCDQueryClient; - }; - slashing: { - v1beta1: import("../cosmos/slashing/v1beta1/query.lcd").LCDQueryClient; - }; - staking: { - v1beta1: import("../cosmos/staking/v1beta1/query.lcd").LCDQueryClient; - }; - tx: { - v1beta1: import("../cosmos/tx/v1beta1/service.lcd").LCDQueryClient; - }; - upgrade: { - v1beta1: import("../cosmos/upgrade/v1beta1/query.lcd").LCDQueryClient; - }; - }; - cosmwasm: { - wasm: { - v1: import("./wasm/v1/query.lcd").LCDQueryClient; - }; - }; -}>; diff --git a/packages/codegen/dist/cosmwasm/rpc.query.d.ts b/packages/codegen/dist/cosmwasm/rpc.query.d.ts deleted file mode 100644 index 0f25ccba..00000000 --- a/packages/codegen/dist/cosmwasm/rpc.query.d.ts +++ /dev/null @@ -1,204 +0,0 @@ -import { HttpEndpoint } from "@cosmjs/tendermint-rpc"; -export declare const createRPCQueryClient: ({ rpcEndpoint }: { - rpcEndpoint: string | HttpEndpoint; -}) => Promise<{ - cosmos: { - app: { - v1alpha1: { - config(request?: import("../cosmos/app/v1alpha1/query").QueryConfigRequest): Promise; - }; - }; - auth: { - v1beta1: { - accounts(request?: import("../cosmos/auth/v1beta1/query").QueryAccountsRequest): Promise; - account(request: import("../cosmos/auth/v1beta1/query").QueryAccountRequest): Promise; - params(request?: import("../cosmos/auth/v1beta1/query").QueryParamsRequest): Promise; - moduleAccounts(request?: import("../cosmos/auth/v1beta1/query").QueryModuleAccountsRequest): Promise; - bech32Prefix(request?: import("../cosmos/auth/v1beta1/query").Bech32PrefixRequest): Promise; - addressBytesToString(request: import("../cosmos/auth/v1beta1/query").AddressBytesToStringRequest): Promise; - addressStringToBytes(request: import("../cosmos/auth/v1beta1/query").AddressStringToBytesRequest): Promise; - }; - }; - authz: { - v1beta1: { - grants(request: import("../cosmos/authz/v1beta1/query").QueryGrantsRequest): Promise; - granterGrants(request: import("../cosmos/authz/v1beta1/query").QueryGranterGrantsRequest): Promise; - granteeGrants(request: import("../cosmos/authz/v1beta1/query").QueryGranteeGrantsRequest): Promise; - }; - }; - bank: { - v1beta1: { - balance(request: import("../cosmos/bank/v1beta1/query").QueryBalanceRequest): Promise; - allBalances(request: import("../cosmos/bank/v1beta1/query").QueryAllBalancesRequest): Promise; - spendableBalances(request: import("../cosmos/bank/v1beta1/query").QuerySpendableBalancesRequest): Promise; - totalSupply(request?: import("../cosmos/bank/v1beta1/query").QueryTotalSupplyRequest): Promise; - supplyOf(request: import("../cosmos/bank/v1beta1/query").QuerySupplyOfRequest): Promise; - params(request?: import("../cosmos/bank/v1beta1/query").QueryParamsRequest): Promise; - denomMetadata(request: import("../cosmos/bank/v1beta1/query").QueryDenomMetadataRequest): Promise; - denomsMetadata(request?: import("../cosmos/bank/v1beta1/query").QueryDenomsMetadataRequest): Promise; - denomOwners(request: import("../cosmos/bank/v1beta1/query").QueryDenomOwnersRequest): Promise; - }; - }; - base: { - tendermint: { - v1beta1: { - getNodeInfo(request?: import("../cosmos/base/tendermint/v1beta1/query").GetNodeInfoRequest): Promise; - getSyncing(request?: import("../cosmos/base/tendermint/v1beta1/query").GetSyncingRequest): Promise; - getLatestBlock(request?: import("../cosmos/base/tendermint/v1beta1/query").GetLatestBlockRequest): Promise; - getBlockByHeight(request: import("../cosmos/base/tendermint/v1beta1/query").GetBlockByHeightRequest): Promise; - getLatestValidatorSet(request?: import("../cosmos/base/tendermint/v1beta1/query").GetLatestValidatorSetRequest): Promise; - getValidatorSetByHeight(request: import("../cosmos/base/tendermint/v1beta1/query").GetValidatorSetByHeightRequest): Promise; - }; - }; - }; - distribution: { - v1beta1: { - params(request?: import("../cosmos/distribution/v1beta1/query").QueryParamsRequest): Promise; - validatorOutstandingRewards(request: import("../cosmos/distribution/v1beta1/query").QueryValidatorOutstandingRewardsRequest): Promise; - validatorCommission(request: import("../cosmos/distribution/v1beta1/query").QueryValidatorCommissionRequest): Promise; - validatorSlashes(request: import("../cosmos/distribution/v1beta1/query").QueryValidatorSlashesRequest): Promise; - delegationRewards(request: import("../cosmos/distribution/v1beta1/query").QueryDelegationRewardsRequest): Promise; - delegationTotalRewards(request: import("../cosmos/distribution/v1beta1/query").QueryDelegationTotalRewardsRequest): Promise; - delegatorValidators(request: import("../cosmos/distribution/v1beta1/query").QueryDelegatorValidatorsRequest): Promise; - delegatorWithdrawAddress(request: import("../cosmos/distribution/v1beta1/query").QueryDelegatorWithdrawAddressRequest): Promise; - communityPool(request?: import("../cosmos/distribution/v1beta1/query").QueryCommunityPoolRequest): Promise; - }; - }; - evidence: { - v1beta1: { - evidence(request: import("../cosmos/evidence/v1beta1/query").QueryEvidenceRequest): Promise; - allEvidence(request?: import("../cosmos/evidence/v1beta1/query").QueryAllEvidenceRequest): Promise; - }; - }; - feegrant: { - v1beta1: { - allowance(request: import("../cosmos/feegrant/v1beta1/query").QueryAllowanceRequest): Promise; - allowances(request: import("../cosmos/feegrant/v1beta1/query").QueryAllowancesRequest): Promise; - allowancesByGranter(request: import("../cosmos/feegrant/v1beta1/query").QueryAllowancesByGranterRequest): Promise; - }; - }; - gov: { - v1: { - proposal(request: import("../cosmos/gov/v1/query").QueryProposalRequest): Promise; - proposals(request: import("../cosmos/gov/v1/query").QueryProposalsRequest): Promise; - vote(request: import("../cosmos/gov/v1/query").QueryVoteRequest): Promise; - votes(request: import("../cosmos/gov/v1/query").QueryVotesRequest): Promise; - params(request: import("../cosmos/gov/v1/query").QueryParamsRequest): Promise; - deposit(request: import("../cosmos/gov/v1/query").QueryDepositRequest): Promise; - deposits(request: import("../cosmos/gov/v1/query").QueryDepositsRequest): Promise; - tallyResult(request: import("../cosmos/gov/v1/query").QueryTallyResultRequest): Promise; - }; - v1beta1: { - proposal(request: import("../cosmos/gov/v1beta1/query").QueryProposalRequest): Promise; - proposals(request: import("../cosmos/gov/v1beta1/query").QueryProposalsRequest): Promise; - vote(request: import("../cosmos/gov/v1beta1/query").QueryVoteRequest): Promise; - votes(request: import("../cosmos/gov/v1beta1/query").QueryVotesRequest): Promise; - params(request: import("../cosmos/gov/v1beta1/query").QueryParamsRequest): Promise; - deposit(request: import("../cosmos/gov/v1beta1/query").QueryDepositRequest): Promise; - deposits(request: import("../cosmos/gov/v1beta1/query").QueryDepositsRequest): Promise; - tallyResult(request: import("../cosmos/gov/v1beta1/query").QueryTallyResultRequest): Promise; - }; - }; - group: { - v1: { - groupInfo(request: import("../cosmos/group/v1/query").QueryGroupInfoRequest): Promise; - groupPolicyInfo(request: import("../cosmos/group/v1/query").QueryGroupPolicyInfoRequest): Promise; - groupMembers(request: import("../cosmos/group/v1/query").QueryGroupMembersRequest): Promise; - groupsByAdmin(request: import("../cosmos/group/v1/query").QueryGroupsByAdminRequest): Promise; - groupPoliciesByGroup(request: import("../cosmos/group/v1/query").QueryGroupPoliciesByGroupRequest): Promise; - groupPoliciesByAdmin(request: import("../cosmos/group/v1/query").QueryGroupPoliciesByAdminRequest): Promise; - proposal(request: import("../cosmos/group/v1/query").QueryProposalRequest): Promise; - proposalsByGroupPolicy(request: import("../cosmos/group/v1/query").QueryProposalsByGroupPolicyRequest): Promise; - voteByProposalVoter(request: import("../cosmos/group/v1/query").QueryVoteByProposalVoterRequest): Promise; - votesByProposal(request: import("../cosmos/group/v1/query").QueryVotesByProposalRequest): Promise; - votesByVoter(request: import("../cosmos/group/v1/query").QueryVotesByVoterRequest): Promise; - groupsByMember(request: import("../cosmos/group/v1/query").QueryGroupsByMemberRequest): Promise; - tallyResult(request: import("../cosmos/group/v1/query").QueryTallyResultRequest): Promise; - }; - }; - mint: { - v1beta1: { - params(request?: import("../cosmos/mint/v1beta1/query").QueryParamsRequest): Promise; - inflation(request?: import("../cosmos/mint/v1beta1/query").QueryInflationRequest): Promise; - annualProvisions(request?: import("../cosmos/mint/v1beta1/query").QueryAnnualProvisionsRequest): Promise; - }; - }; - nft: { - v1beta1: { - balance(request: import("../cosmos/nft/v1beta1/query").QueryBalanceRequest): Promise; - owner(request: import("../cosmos/nft/v1beta1/query").QueryOwnerRequest): Promise; - supply(request: import("../cosmos/nft/v1beta1/query").QuerySupplyRequest): Promise; - nFTs(request: import("../cosmos/nft/v1beta1/query").QueryNFTsRequest): Promise; - nFT(request: import("../cosmos/nft/v1beta1/query").QueryNFTRequest): Promise; - class(request: import("../cosmos/nft/v1beta1/query").QueryClassRequest): Promise; - classes(request?: import("../cosmos/nft/v1beta1/query").QueryClassesRequest): Promise; - }; - }; - params: { - v1beta1: { - params(request: import("../cosmos/params/v1beta1/query").QueryParamsRequest): Promise; - subspaces(request?: import("../cosmos/params/v1beta1/query").QuerySubspacesRequest): Promise; - }; - }; - slashing: { - v1beta1: { - params(request?: import("../cosmos/slashing/v1beta1/query").QueryParamsRequest): Promise; - signingInfo(request: import("../cosmos/slashing/v1beta1/query").QuerySigningInfoRequest): Promise; - signingInfos(request?: import("../cosmos/slashing/v1beta1/query").QuerySigningInfosRequest): Promise; - }; - }; - staking: { - v1beta1: { - validators(request: import("../cosmos/staking/v1beta1/query").QueryValidatorsRequest): Promise; - validator(request: import("../cosmos/staking/v1beta1/query").QueryValidatorRequest): Promise; - validatorDelegations(request: import("../cosmos/staking/v1beta1/query").QueryValidatorDelegationsRequest): Promise; - validatorUnbondingDelegations(request: import("../cosmos/staking/v1beta1/query").QueryValidatorUnbondingDelegationsRequest): Promise; - delegation(request: import("../cosmos/staking/v1beta1/query").QueryDelegationRequest): Promise; - unbondingDelegation(request: import("../cosmos/staking/v1beta1/query").QueryUnbondingDelegationRequest): Promise; - delegatorDelegations(request: import("../cosmos/staking/v1beta1/query").QueryDelegatorDelegationsRequest): Promise; - delegatorUnbondingDelegations(request: import("../cosmos/staking/v1beta1/query").QueryDelegatorUnbondingDelegationsRequest): Promise; - redelegations(request: import("../cosmos/staking/v1beta1/query").QueryRedelegationsRequest): Promise; - delegatorValidators(request: import("../cosmos/staking/v1beta1/query").QueryDelegatorValidatorsRequest): Promise; - delegatorValidator(request: import("../cosmos/staking/v1beta1/query").QueryDelegatorValidatorRequest): Promise; - historicalInfo(request: import("../cosmos/staking/v1beta1/query").QueryHistoricalInfoRequest): Promise; - pool(request?: import("../cosmos/staking/v1beta1/query").QueryPoolRequest): Promise; - params(request?: import("../cosmos/staking/v1beta1/query").QueryParamsRequest): Promise; - }; - }; - tx: { - v1beta1: { - simulate(request: import("../cosmos/tx/v1beta1/service").SimulateRequest): Promise; - getTx(request: import("../cosmos/tx/v1beta1/service").GetTxRequest): Promise; - broadcastTx(request: import("../cosmos/tx/v1beta1/service").BroadcastTxRequest): Promise; - getTxsEvent(request: import("../cosmos/tx/v1beta1/service").GetTxsEventRequest): Promise; - getBlockWithTxs(request: import("../cosmos/tx/v1beta1/service").GetBlockWithTxsRequest): Promise; - }; - }; - upgrade: { - v1beta1: { - currentPlan(request?: import("../cosmos/upgrade/v1beta1/query").QueryCurrentPlanRequest): Promise; - appliedPlan(request: import("../cosmos/upgrade/v1beta1/query").QueryAppliedPlanRequest): Promise; - upgradedConsensusState(request: import("../cosmos/upgrade/v1beta1/query").QueryUpgradedConsensusStateRequest): Promise; - moduleVersions(request: import("../cosmos/upgrade/v1beta1/query").QueryModuleVersionsRequest): Promise; - authority(request?: import("../cosmos/upgrade/v1beta1/query").QueryAuthorityRequest): Promise; - }; - }; - }; - cosmwasm: { - wasm: { - v1: { - contractInfo(request: import("./wasm/v1/query").QueryContractInfoRequest): Promise; - contractHistory(request: import("./wasm/v1/query").QueryContractHistoryRequest): Promise; - contractsByCode(request: import("./wasm/v1/query").QueryContractsByCodeRequest): Promise; - allContractState(request: import("./wasm/v1/query").QueryAllContractStateRequest): Promise; - rawContractState(request: import("./wasm/v1/query").QueryRawContractStateRequest): Promise; - smartContractState(request: import("./wasm/v1/query").QuerySmartContractStateRequest): Promise; - code(request: import("./wasm/v1/query").QueryCodeRequest): Promise; - codes(request?: import("./wasm/v1/query").QueryCodesRequest): Promise; - pinnedCodes(request?: import("./wasm/v1/query").QueryPinnedCodesRequest): Promise; - params(request?: import("./wasm/v1/query").QueryParamsRequest): Promise; - contractsByCreator(request: import("./wasm/v1/query").QueryContractsByCreatorRequest): Promise; - }; - }; - }; -}>; diff --git a/packages/codegen/dist/cosmwasm/rpc.tx.d.ts b/packages/codegen/dist/cosmwasm/rpc.tx.d.ts deleted file mode 100644 index 5c33c61a..00000000 --- a/packages/codegen/dist/cosmwasm/rpc.tx.d.ts +++ /dev/null @@ -1,52 +0,0 @@ -import { Rpc } from "../helpers"; -export declare const createRPCMsgClient: ({ rpc }: { - rpc: Rpc; -}) => Promise<{ - cosmos: { - authz: { - v1beta1: import("../cosmos/authz/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - bank: { - v1beta1: import("../cosmos/bank/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - crisis: { - v1beta1: import("../cosmos/crisis/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - distribution: { - v1beta1: import("../cosmos/distribution/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - evidence: { - v1beta1: import("../cosmos/evidence/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - feegrant: { - v1beta1: import("../cosmos/feegrant/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - gov: { - v1: import("../cosmos/gov/v1/tx.rpc.msg").MsgClientImpl; - v1beta1: import("../cosmos/gov/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - group: { - v1: import("../cosmos/group/v1/tx.rpc.msg").MsgClientImpl; - }; - nft: { - v1beta1: import("../cosmos/nft/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - slashing: { - v1beta1: import("../cosmos/slashing/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - staking: { - v1beta1: import("../cosmos/staking/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - upgrade: { - v1beta1: import("../cosmos/upgrade/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - vesting: { - v1beta1: import("../cosmos/vesting/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - }; - cosmwasm: { - wasm: { - v1: import("./wasm/v1/tx.rpc.msg").MsgClientImpl; - }; - }; -}>; diff --git a/packages/codegen/dist/cosmwasm/wasm/v1/authz.d.ts b/packages/codegen/dist/cosmwasm/wasm/v1/authz.d.ts deleted file mode 100644 index 04931a1c..00000000 --- a/packages/codegen/dist/cosmwasm/wasm/v1/authz.d.ts +++ /dev/null @@ -1,206 +0,0 @@ -/// -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import { Coin, CoinSDKType } from "../../../cosmos/base/v1beta1/coin"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, Long } from "../../../helpers"; -/** - * ContractExecutionAuthorization defines authorization for wasm execute. - * Since: wasmd 0.30 - */ -export interface ContractExecutionAuthorization { - /** Grants for contract executions */ - grants: ContractGrant[]; -} -/** - * ContractExecutionAuthorization defines authorization for wasm execute. - * Since: wasmd 0.30 - */ -export interface ContractExecutionAuthorizationSDKType { - grants: ContractGrantSDKType[]; -} -/** - * ContractMigrationAuthorization defines authorization for wasm contract - * migration. Since: wasmd 0.30 - */ -export interface ContractMigrationAuthorization { - /** Grants for contract migrations */ - grants: ContractGrant[]; -} -/** - * ContractMigrationAuthorization defines authorization for wasm contract - * migration. Since: wasmd 0.30 - */ -export interface ContractMigrationAuthorizationSDKType { - grants: ContractGrantSDKType[]; -} -/** - * ContractGrant a granted permission for a single contract - * Since: wasmd 0.30 - */ -export interface ContractGrant { - /** Contract is the bech32 address of the smart contract */ - contract: string; - /** - * Limit defines execution limits that are enforced and updated when the grant - * is applied. When the limit lapsed the grant is removed. - */ - limit?: Any; - /** - * Filter define more fine-grained control on the message payload passed - * to the contract in the operation. When no filter applies on execution, the - * operation is prohibited. - */ - filter?: Any; -} -/** - * ContractGrant a granted permission for a single contract - * Since: wasmd 0.30 - */ -export interface ContractGrantSDKType { - contract: string; - limit?: AnySDKType; - filter?: AnySDKType; -} -/** - * MaxCallsLimit limited number of calls to the contract. No funds transferable. - * Since: wasmd 0.30 - */ -export interface MaxCallsLimit { - /** Remaining number that is decremented on each execution */ - remaining: Long; -} -/** - * MaxCallsLimit limited number of calls to the contract. No funds transferable. - * Since: wasmd 0.30 - */ -export interface MaxCallsLimitSDKType { - remaining: Long; -} -/** - * MaxFundsLimit defines the maximal amounts that can be sent to the contract. - * Since: wasmd 0.30 - */ -export interface MaxFundsLimit { - /** Amounts is the maximal amount of tokens transferable to the contract. */ - amounts: Coin[]; -} -/** - * MaxFundsLimit defines the maximal amounts that can be sent to the contract. - * Since: wasmd 0.30 - */ -export interface MaxFundsLimitSDKType { - amounts: CoinSDKType[]; -} -/** - * CombinedLimit defines the maximal amounts that can be sent to a contract and - * the maximal number of calls executable. Both need to remain >0 to be valid. - * Since: wasmd 0.30 - */ -export interface CombinedLimit { - /** Remaining number that is decremented on each execution */ - callsRemaining: Long; - /** Amounts is the maximal amount of tokens transferable to the contract. */ - amounts: Coin[]; -} -/** - * CombinedLimit defines the maximal amounts that can be sent to a contract and - * the maximal number of calls executable. Both need to remain >0 to be valid. - * Since: wasmd 0.30 - */ -export interface CombinedLimitSDKType { - calls_remaining: Long; - amounts: CoinSDKType[]; -} -/** - * AllowAllMessagesFilter is a wildcard to allow any type of contract payload - * message. - * Since: wasmd 0.30 - */ -export interface AllowAllMessagesFilter { -} -/** - * AllowAllMessagesFilter is a wildcard to allow any type of contract payload - * message. - * Since: wasmd 0.30 - */ -export interface AllowAllMessagesFilterSDKType { -} -/** - * AcceptedMessageKeysFilter accept only the specific contract message keys in - * the json object to be executed. - * Since: wasmd 0.30 - */ -export interface AcceptedMessageKeysFilter { - /** Messages is the list of unique keys */ - keys: string[]; -} -/** - * AcceptedMessageKeysFilter accept only the specific contract message keys in - * the json object to be executed. - * Since: wasmd 0.30 - */ -export interface AcceptedMessageKeysFilterSDKType { - keys: string[]; -} -/** - * AcceptedMessagesFilter accept only the specific raw contract messages to be - * executed. - * Since: wasmd 0.30 - */ -export interface AcceptedMessagesFilter { - /** Messages is the list of raw contract messages */ - messages: Uint8Array[]; -} -/** - * AcceptedMessagesFilter accept only the specific raw contract messages to be - * executed. - * Since: wasmd 0.30 - */ -export interface AcceptedMessagesFilterSDKType { - messages: Uint8Array[]; -} -export declare const ContractExecutionAuthorization: { - encode(message: ContractExecutionAuthorization, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ContractExecutionAuthorization; - fromPartial(object: DeepPartial): ContractExecutionAuthorization; -}; -export declare const ContractMigrationAuthorization: { - encode(message: ContractMigrationAuthorization, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ContractMigrationAuthorization; - fromPartial(object: DeepPartial): ContractMigrationAuthorization; -}; -export declare const ContractGrant: { - encode(message: ContractGrant, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ContractGrant; - fromPartial(object: DeepPartial): ContractGrant; -}; -export declare const MaxCallsLimit: { - encode(message: MaxCallsLimit, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MaxCallsLimit; - fromPartial(object: DeepPartial): MaxCallsLimit; -}; -export declare const MaxFundsLimit: { - encode(message: MaxFundsLimit, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MaxFundsLimit; - fromPartial(object: DeepPartial): MaxFundsLimit; -}; -export declare const CombinedLimit: { - encode(message: CombinedLimit, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): CombinedLimit; - fromPartial(object: DeepPartial): CombinedLimit; -}; -export declare const AllowAllMessagesFilter: { - encode(_: AllowAllMessagesFilter, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): AllowAllMessagesFilter; - fromPartial(_: DeepPartial): AllowAllMessagesFilter; -}; -export declare const AcceptedMessageKeysFilter: { - encode(message: AcceptedMessageKeysFilter, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): AcceptedMessageKeysFilter; - fromPartial(object: DeepPartial): AcceptedMessageKeysFilter; -}; -export declare const AcceptedMessagesFilter: { - encode(message: AcceptedMessagesFilter, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): AcceptedMessagesFilter; - fromPartial(object: DeepPartial): AcceptedMessagesFilter; -}; diff --git a/packages/codegen/dist/cosmwasm/wasm/v1/genesis.d.ts b/packages/codegen/dist/cosmwasm/wasm/v1/genesis.d.ts deleted file mode 100644 index 525813ea..00000000 --- a/packages/codegen/dist/cosmwasm/wasm/v1/genesis.d.ts +++ /dev/null @@ -1,77 +0,0 @@ -/// -import { Params, ParamsSDKType, CodeInfo, CodeInfoSDKType, ContractInfo, ContractInfoSDKType, Model, ModelSDKType, ContractCodeHistoryEntry, ContractCodeHistoryEntrySDKType } from "./types"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, Long } from "../../../helpers"; -/** GenesisState - genesis state of x/wasm */ -export interface GenesisState { - params?: Params; - codes: Code[]; - contracts: Contract[]; - sequences: Sequence[]; -} -/** GenesisState - genesis state of x/wasm */ -export interface GenesisStateSDKType { - params?: ParamsSDKType; - codes: CodeSDKType[]; - contracts: ContractSDKType[]; - sequences: SequenceSDKType[]; -} -/** Code struct encompasses CodeInfo and CodeBytes */ -export interface Code { - codeId: Long; - codeInfo?: CodeInfo; - codeBytes: Uint8Array; - /** Pinned to wasmvm cache */ - pinned: boolean; -} -/** Code struct encompasses CodeInfo and CodeBytes */ -export interface CodeSDKType { - code_id: Long; - code_info?: CodeInfoSDKType; - code_bytes: Uint8Array; - pinned: boolean; -} -/** Contract struct encompasses ContractAddress, ContractInfo, and ContractState */ -export interface Contract { - contractAddress: string; - contractInfo?: ContractInfo; - contractState: Model[]; - contractCodeHistory: ContractCodeHistoryEntry[]; -} -/** Contract struct encompasses ContractAddress, ContractInfo, and ContractState */ -export interface ContractSDKType { - contract_address: string; - contract_info?: ContractInfoSDKType; - contract_state: ModelSDKType[]; - contract_code_history: ContractCodeHistoryEntrySDKType[]; -} -/** 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; -} -export declare const GenesisState: { - encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState; - fromPartial(object: DeepPartial): GenesisState; -}; -export declare const Code: { - encode(message: Code, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Code; - fromPartial(object: DeepPartial): Code; -}; -export declare const Contract: { - encode(message: Contract, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Contract; - fromPartial(object: DeepPartial): Contract; -}; -export declare const Sequence: { - encode(message: Sequence, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Sequence; - fromPartial(object: DeepPartial): Sequence; -}; diff --git a/packages/codegen/dist/cosmwasm/wasm/v1/ibc.d.ts b/packages/codegen/dist/cosmwasm/wasm/v1/ibc.d.ts deleted file mode 100644 index 8c625754..00000000 --- a/packages/codegen/dist/cosmwasm/wasm/v1/ibc.d.ts +++ /dev/null @@ -1,48 +0,0 @@ -/// -import { Long, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** 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 { - channel: string; - timeout_height: Long; - timeout_timestamp: Long; - 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; -} -export declare const MsgIBCSend: { - encode(message: MsgIBCSend, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgIBCSend; - fromPartial(object: DeepPartial): MsgIBCSend; -}; -export declare const MsgIBCCloseChannel: { - encode(message: MsgIBCCloseChannel, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgIBCCloseChannel; - fromPartial(object: DeepPartial): MsgIBCCloseChannel; -}; diff --git a/packages/codegen/dist/cosmwasm/wasm/v1/proposal.d.ts b/packages/codegen/dist/cosmwasm/wasm/v1/proposal.d.ts deleted file mode 100644 index b56e560f..00000000 --- a/packages/codegen/dist/cosmwasm/wasm/v1/proposal.d.ts +++ /dev/null @@ -1,439 +0,0 @@ -/// -import { AccessConfig, AccessConfigSDKType } from "./types"; -import { Coin, CoinSDKType } from "../../../cosmos/base/v1beta1/coin"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, 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; - /** UnpinCode code on upload, optional */ - unpinCode: boolean; - /** Source is the URL where the code is hosted */ - source: string; - /** - * Builder is the docker image used to build the code deterministically, used - * for smart contract verification - */ - builder: string; - /** - * CodeHash is the SHA256 sum of the code outputted by builder, used for smart - * contract verification - */ - codeHash: Uint8Array; -} -/** StoreCodeProposal gov proposal content type to submit WASM code to the system */ -export interface StoreCodeProposalSDKType { - title: string; - description: string; - run_as: string; - wasm_byte_code: Uint8Array; - instantiate_permission?: AccessConfigSDKType; - unpin_code: boolean; - source: string; - builder: string; - code_hash: Uint8Array; -} -/** - * 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: string; - description: string; - run_as: string; - admin: string; - code_id: Long; - label: string; - msg: Uint8Array; - funds: CoinSDKType[]; -} -/** - * InstantiateContract2Proposal gov proposal content type to instantiate - * contract 2 - */ -export interface InstantiateContract2Proposal { - /** 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 enviroment 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 encode message to be passed to the contract on instantiation */ - msg: Uint8Array; - /** Funds coins that are transferred to the contract on instantiation */ - funds: Coin[]; - /** Salt is an arbitrary value provided by the sender. Size can be 1 to 64. */ - salt: Uint8Array; - /** - * FixMsg include the msg value into the hash for the predictable address. - * Default is false - */ - fixMsg: boolean; -} -/** - * InstantiateContract2Proposal gov proposal content type to instantiate - * contract 2 - */ -export interface InstantiateContract2ProposalSDKType { - title: string; - description: string; - run_as: string; - admin: string; - code_id: Long; - label: string; - msg: Uint8Array; - funds: CoinSDKType[]; - salt: Uint8Array; - fix_msg: boolean; -} -/** 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 code */ - 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: string; - description: string; - contract: string; - code_id: Long; - 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: string; - description: string; - contract: string; - 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: string; - description: string; - run_as: string; - contract: string; - msg: Uint8Array; - 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: string; - description: string; - new_admin: string; - 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: string; - description: string; - 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: string; - description: string; - 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: string; - description: string; - code_ids: Long[]; -} -/** - * AccessConfigUpdate contains the code id and the access config to be - * applied. - */ -export interface AccessConfigUpdate { - /** CodeID is the reference to the stored WASM code to be updated */ - codeId: Long; - /** InstantiatePermission to apply to the set of code ids */ - instantiatePermission?: AccessConfig; -} -/** - * AccessConfigUpdate contains the code id and the access config to be - * applied. - */ -export interface AccessConfigUpdateSDKType { - code_id: Long; - instantiate_permission?: AccessConfigSDKType; -} -/** - * UpdateInstantiateConfigProposal gov proposal content type to update - * instantiate config to a set of code ids. - */ -export interface UpdateInstantiateConfigProposal { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - description: string; - /** - * AccessConfigUpdate contains the list of code ids and the access config - * to be applied. - */ - accessConfigUpdates: AccessConfigUpdate[]; -} -/** - * UpdateInstantiateConfigProposal gov proposal content type to update - * instantiate config to a set of code ids. - */ -export interface UpdateInstantiateConfigProposalSDKType { - title: string; - description: string; - access_config_updates: AccessConfigUpdateSDKType[]; -} -/** - * StoreAndInstantiateContractProposal gov proposal content type to store - * and instantiate the contract. - */ -export interface StoreAndInstantiateContractProposal { - /** 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; - /** UnpinCode code on upload, optional */ - unpinCode: boolean; - /** Admin is an optional address that can execute migrations */ - admin: string; - /** 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[]; - /** Source is the URL where the code is hosted */ - source: string; - /** - * Builder is the docker image used to build the code deterministically, used - * for smart contract verification - */ - builder: string; - /** - * CodeHash is the SHA256 sum of the code outputted by builder, used for smart - * contract verification - */ - codeHash: Uint8Array; -} -/** - * StoreAndInstantiateContractProposal gov proposal content type to store - * and instantiate the contract. - */ -export interface StoreAndInstantiateContractProposalSDKType { - title: string; - description: string; - run_as: string; - wasm_byte_code: Uint8Array; - instantiate_permission?: AccessConfigSDKType; - unpin_code: boolean; - admin: string; - label: string; - msg: Uint8Array; - funds: CoinSDKType[]; - source: string; - builder: string; - code_hash: Uint8Array; -} -export declare const StoreCodeProposal: { - encode(message: StoreCodeProposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): StoreCodeProposal; - fromPartial(object: DeepPartial): StoreCodeProposal; -}; -export declare const InstantiateContractProposal: { - encode(message: InstantiateContractProposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): InstantiateContractProposal; - fromPartial(object: DeepPartial): InstantiateContractProposal; -}; -export declare const InstantiateContract2Proposal: { - encode(message: InstantiateContract2Proposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): InstantiateContract2Proposal; - fromPartial(object: DeepPartial): InstantiateContract2Proposal; -}; -export declare const MigrateContractProposal: { - encode(message: MigrateContractProposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MigrateContractProposal; - fromPartial(object: DeepPartial): MigrateContractProposal; -}; -export declare const SudoContractProposal: { - encode(message: SudoContractProposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SudoContractProposal; - fromPartial(object: DeepPartial): SudoContractProposal; -}; -export declare const ExecuteContractProposal: { - encode(message: ExecuteContractProposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ExecuteContractProposal; - fromPartial(object: DeepPartial): ExecuteContractProposal; -}; -export declare const UpdateAdminProposal: { - encode(message: UpdateAdminProposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): UpdateAdminProposal; - fromPartial(object: DeepPartial): UpdateAdminProposal; -}; -export declare const ClearAdminProposal: { - encode(message: ClearAdminProposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ClearAdminProposal; - fromPartial(object: DeepPartial): ClearAdminProposal; -}; -export declare const PinCodesProposal: { - encode(message: PinCodesProposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): PinCodesProposal; - fromPartial(object: DeepPartial): PinCodesProposal; -}; -export declare const UnpinCodesProposal: { - encode(message: UnpinCodesProposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): UnpinCodesProposal; - fromPartial(object: DeepPartial): UnpinCodesProposal; -}; -export declare const AccessConfigUpdate: { - encode(message: AccessConfigUpdate, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): AccessConfigUpdate; - fromPartial(object: DeepPartial): AccessConfigUpdate; -}; -export declare const UpdateInstantiateConfigProposal: { - encode(message: UpdateInstantiateConfigProposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): UpdateInstantiateConfigProposal; - fromPartial(object: DeepPartial): UpdateInstantiateConfigProposal; -}; -export declare const StoreAndInstantiateContractProposal: { - encode(message: StoreAndInstantiateContractProposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): StoreAndInstantiateContractProposal; - fromPartial(object: DeepPartial): StoreAndInstantiateContractProposal; -}; diff --git a/packages/codegen/dist/cosmwasm/wasm/v1/query.d.ts b/packages/codegen/dist/cosmwasm/wasm/v1/query.d.ts deleted file mode 100644 index 3a446784..00000000 --- a/packages/codegen/dist/cosmwasm/wasm/v1/query.d.ts +++ /dev/null @@ -1,461 +0,0 @@ -/// -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../../cosmos/base/query/v1beta1/pagination"; -import { ContractInfo, ContractInfoSDKType, ContractCodeHistoryEntry, ContractCodeHistoryEntrySDKType, Model, ModelSDKType, AccessConfig, AccessConfigSDKType, Params, ParamsSDKType } from "./types"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, 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: 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; -} -/** - * QueryContractInfoResponse is the response type for the Query/ContractInfo RPC - * method - */ -export interface QueryContractInfoResponseSDKType { - address: string; - contract_info?: ContractInfoSDKType; -} -/** - * 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; -} -/** - * QueryContractHistoryRequest is the request type for the Query/ContractHistory - * RPC method - */ -export interface QueryContractHistoryRequestSDKType { - address: string; - pagination?: PageRequestSDKType; -} -/** - * 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; -} -/** - * QueryContractHistoryResponse is the response type for the - * Query/ContractHistory RPC method - */ -export interface QueryContractHistoryResponseSDKType { - entries: ContractCodeHistoryEntrySDKType[]; - pagination?: PageResponseSDKType; -} -/** - * 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; -} -/** - * QueryContractsByCodeRequest is the request type for the Query/ContractsByCode - * RPC method - */ -export interface QueryContractsByCodeRequestSDKType { - code_id: Long; - pagination?: PageRequestSDKType; -} -/** - * 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; -} -/** - * QueryContractsByCodeResponse is the response type for the - * Query/ContractsByCode RPC method - */ -export interface QueryContractsByCodeResponseSDKType { - contracts: string[]; - pagination?: PageResponseSDKType; -} -/** - * 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; -} -/** - * QueryAllContractStateRequest is the request type for the - * Query/AllContractState RPC method - */ -export interface QueryAllContractStateRequestSDKType { - address: string; - pagination?: PageRequestSDKType; -} -/** - * 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; -} -/** - * QueryAllContractStateResponse is the response type for the - * Query/AllContractState RPC method - */ -export interface QueryAllContractStateResponseSDKType { - models: ModelSDKType[]; - pagination?: PageResponseSDKType; -} -/** - * 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: 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: 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: string; - 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: 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 { - code_id: Long; -} -/** CodeInfoResponse contains code meta data from CodeInfo */ -export interface CodeInfoResponse { - codeId: Long; - creator: string; - dataHash: Uint8Array; - instantiatePermission?: AccessConfig; -} -/** CodeInfoResponse contains code meta data from CodeInfo */ -export interface CodeInfoResponseSDKType { - code_id: Long; - creator: string; - data_hash: Uint8Array; - instantiate_permission?: AccessConfigSDKType; -} -/** QueryCodeResponse is the response type for the Query/Code RPC method */ -export interface QueryCodeResponse { - codeInfo?: CodeInfoResponse; - data: Uint8Array; -} -/** QueryCodeResponse is the response type for the Query/Code RPC method */ -export interface QueryCodeResponseSDKType { - code_info?: CodeInfoResponseSDKType; - 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; -} -/** QueryCodesRequest is the request type for the Query/Codes RPC method */ -export interface QueryCodesRequestSDKType { - pagination?: PageRequestSDKType; -} -/** 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; -} -/** QueryCodesResponse is the response type for the Query/Codes RPC method */ -export interface QueryCodesResponseSDKType { - code_infos: CodeInfoResponseSDKType[]; - pagination?: PageResponseSDKType; -} -/** - * QueryPinnedCodesRequest is the request type for the Query/PinnedCodes - * RPC method - */ -export interface QueryPinnedCodesRequest { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest; -} -/** - * QueryPinnedCodesRequest is the request type for the Query/PinnedCodes - * RPC method - */ -export interface QueryPinnedCodesRequestSDKType { - pagination?: PageRequestSDKType; -} -/** - * 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; -} -/** - * QueryPinnedCodesResponse is the response type for the - * Query/PinnedCodes RPC method - */ -export interface QueryPinnedCodesResponseSDKType { - code_ids: Long[]; - pagination?: PageResponseSDKType; -} -/** 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; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseSDKType { - params?: ParamsSDKType; -} -/** - * QueryContractsByCreatorRequest is the request type for the - * Query/ContractsByCreator RPC method. - */ -export interface QueryContractsByCreatorRequest { - /** CreatorAddress is the address of contract creator */ - creatorAddress: string; - /** Pagination defines an optional pagination for the request. */ - pagination?: PageRequest; -} -/** - * QueryContractsByCreatorRequest is the request type for the - * Query/ContractsByCreator RPC method. - */ -export interface QueryContractsByCreatorRequestSDKType { - creator_address: string; - pagination?: PageRequestSDKType; -} -/** - * QueryContractsByCreatorResponse is the response type for the - * Query/ContractsByCreator RPC method. - */ -export interface QueryContractsByCreatorResponse { - /** ContractAddresses result set */ - contractAddresses: string[]; - /** Pagination defines the pagination in the response. */ - pagination?: PageResponse; -} -/** - * QueryContractsByCreatorResponse is the response type for the - * Query/ContractsByCreator RPC method. - */ -export interface QueryContractsByCreatorResponseSDKType { - contract_addresses: string[]; - pagination?: PageResponseSDKType; -} -export declare const QueryContractInfoRequest: { - encode(message: QueryContractInfoRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractInfoRequest; - fromPartial(object: DeepPartial): QueryContractInfoRequest; -}; -export declare const QueryContractInfoResponse: { - encode(message: QueryContractInfoResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractInfoResponse; - fromPartial(object: DeepPartial): QueryContractInfoResponse; -}; -export declare const QueryContractHistoryRequest: { - encode(message: QueryContractHistoryRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractHistoryRequest; - fromPartial(object: DeepPartial): QueryContractHistoryRequest; -}; -export declare const QueryContractHistoryResponse: { - encode(message: QueryContractHistoryResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractHistoryResponse; - fromPartial(object: DeepPartial): QueryContractHistoryResponse; -}; -export declare const QueryContractsByCodeRequest: { - encode(message: QueryContractsByCodeRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractsByCodeRequest; - fromPartial(object: DeepPartial): QueryContractsByCodeRequest; -}; -export declare const QueryContractsByCodeResponse: { - encode(message: QueryContractsByCodeResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractsByCodeResponse; - fromPartial(object: DeepPartial): QueryContractsByCodeResponse; -}; -export declare const QueryAllContractStateRequest: { - encode(message: QueryAllContractStateRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllContractStateRequest; - fromPartial(object: DeepPartial): QueryAllContractStateRequest; -}; -export declare const QueryAllContractStateResponse: { - encode(message: QueryAllContractStateResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAllContractStateResponse; - fromPartial(object: DeepPartial): QueryAllContractStateResponse; -}; -export declare const QueryRawContractStateRequest: { - encode(message: QueryRawContractStateRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryRawContractStateRequest; - fromPartial(object: DeepPartial): QueryRawContractStateRequest; -}; -export declare const QueryRawContractStateResponse: { - encode(message: QueryRawContractStateResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryRawContractStateResponse; - fromPartial(object: DeepPartial): QueryRawContractStateResponse; -}; -export declare const QuerySmartContractStateRequest: { - encode(message: QuerySmartContractStateRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySmartContractStateRequest; - fromPartial(object: DeepPartial): QuerySmartContractStateRequest; -}; -export declare const QuerySmartContractStateResponse: { - encode(message: QuerySmartContractStateResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QuerySmartContractStateResponse; - fromPartial(object: DeepPartial): QuerySmartContractStateResponse; -}; -export declare const QueryCodeRequest: { - encode(message: QueryCodeRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodeRequest; - fromPartial(object: DeepPartial): QueryCodeRequest; -}; -export declare const CodeInfoResponse: { - encode(message: CodeInfoResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): CodeInfoResponse; - fromPartial(object: DeepPartial): CodeInfoResponse; -}; -export declare const QueryCodeResponse: { - encode(message: QueryCodeResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodeResponse; - fromPartial(object: DeepPartial): QueryCodeResponse; -}; -export declare const QueryCodesRequest: { - encode(message: QueryCodesRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodesRequest; - fromPartial(object: DeepPartial): QueryCodesRequest; -}; -export declare const QueryCodesResponse: { - encode(message: QueryCodesResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryCodesResponse; - fromPartial(object: DeepPartial): QueryCodesResponse; -}; -export declare const QueryPinnedCodesRequest: { - encode(message: QueryPinnedCodesRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPinnedCodesRequest; - fromPartial(object: DeepPartial): QueryPinnedCodesRequest; -}; -export declare const QueryPinnedCodesResponse: { - encode(message: QueryPinnedCodesResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPinnedCodesResponse; - fromPartial(object: DeepPartial): QueryPinnedCodesResponse; -}; -export declare const QueryParamsRequest: { - encode(_: QueryParamsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest; - fromPartial(_: DeepPartial): QueryParamsRequest; -}; -export declare const QueryParamsResponse: { - encode(message: QueryParamsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse; - fromPartial(object: DeepPartial): QueryParamsResponse; -}; -export declare const QueryContractsByCreatorRequest: { - encode(message: QueryContractsByCreatorRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractsByCreatorRequest; - fromPartial(object: DeepPartial): QueryContractsByCreatorRequest; -}; -export declare const QueryContractsByCreatorResponse: { - encode(message: QueryContractsByCreatorResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractsByCreatorResponse; - fromPartial(object: DeepPartial): QueryContractsByCreatorResponse; -}; diff --git a/packages/codegen/dist/cosmwasm/wasm/v1/query.lcd.d.ts b/packages/codegen/dist/cosmwasm/wasm/v1/query.lcd.d.ts deleted file mode 100644 index b897bd38..00000000 --- a/packages/codegen/dist/cosmwasm/wasm/v1/query.lcd.d.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { QueryContractInfoRequest, QueryContractInfoResponseSDKType, QueryContractHistoryRequest, QueryContractHistoryResponseSDKType, QueryContractsByCodeRequest, QueryContractsByCodeResponseSDKType, QueryAllContractStateRequest, QueryAllContractStateResponseSDKType, QueryRawContractStateRequest, QueryRawContractStateResponseSDKType, QuerySmartContractStateRequest, QuerySmartContractStateResponseSDKType, QueryCodeRequest, QueryCodeResponseSDKType, QueryCodesRequest, QueryCodesResponseSDKType, QueryPinnedCodesRequest, QueryPinnedCodesResponseSDKType, QueryParamsRequest, QueryParamsResponseSDKType, QueryContractsByCreatorRequest, QueryContractsByCreatorResponseSDKType } from "./query"; -export declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - contractInfo(params: QueryContractInfoRequest): Promise; - contractHistory(params: QueryContractHistoryRequest): Promise; - contractsByCode(params: QueryContractsByCodeRequest): Promise; - allContractState(params: QueryAllContractStateRequest): Promise; - rawContractState(params: QueryRawContractStateRequest): Promise; - smartContractState(params: QuerySmartContractStateRequest): Promise; - code(params: QueryCodeRequest): Promise; - codes(params?: QueryCodesRequest): Promise; - pinnedCodes(params?: QueryPinnedCodesRequest): Promise; - params(_params?: QueryParamsRequest): Promise; - contractsByCreator(params: QueryContractsByCreatorRequest): Promise; -} diff --git a/packages/codegen/dist/cosmwasm/wasm/v1/query.rpc.Query.d.ts b/packages/codegen/dist/cosmwasm/wasm/v1/query.rpc.Query.d.ts deleted file mode 100644 index afcb1b95..00000000 --- a/packages/codegen/dist/cosmwasm/wasm/v1/query.rpc.Query.d.ts +++ /dev/null @@ -1,56 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { QueryClient } from "@cosmjs/stargate"; -import { QueryContractInfoRequest, QueryContractInfoResponse, QueryContractHistoryRequest, QueryContractHistoryResponse, QueryContractsByCodeRequest, QueryContractsByCodeResponse, QueryAllContractStateRequest, QueryAllContractStateResponse, QueryRawContractStateRequest, QueryRawContractStateResponse, QuerySmartContractStateRequest, QuerySmartContractStateResponse, QueryCodeRequest, QueryCodeResponse, QueryCodesRequest, QueryCodesResponse, QueryPinnedCodesRequest, QueryPinnedCodesResponse, QueryParamsRequest, QueryParamsResponse, QueryContractsByCreatorRequest, QueryContractsByCreatorResponse } 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; - /** Params gets the module params */ - params(request?: QueryParamsRequest): Promise; - /** ContractsByCreator gets the contracts by creator */ - contractsByCreator(request: QueryContractsByCreatorRequest): Promise; -} -export declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: Rpc); - contractInfo(request: QueryContractInfoRequest): Promise; - contractHistory(request: QueryContractHistoryRequest): Promise; - contractsByCode(request: QueryContractsByCodeRequest): Promise; - allContractState(request: QueryAllContractStateRequest): Promise; - rawContractState(request: QueryRawContractStateRequest): Promise; - smartContractState(request: QuerySmartContractStateRequest): Promise; - code(request: QueryCodeRequest): Promise; - codes(request?: QueryCodesRequest): Promise; - pinnedCodes(request?: QueryPinnedCodesRequest): Promise; - params(request?: QueryParamsRequest): Promise; - contractsByCreator(request: QueryContractsByCreatorRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - contractInfo(request: QueryContractInfoRequest): Promise; - contractHistory(request: QueryContractHistoryRequest): Promise; - contractsByCode(request: QueryContractsByCodeRequest): Promise; - allContractState(request: QueryAllContractStateRequest): Promise; - rawContractState(request: QueryRawContractStateRequest): Promise; - smartContractState(request: QuerySmartContractStateRequest): Promise; - code(request: QueryCodeRequest): Promise; - codes(request?: QueryCodesRequest): Promise; - pinnedCodes(request?: QueryPinnedCodesRequest): Promise; - params(request?: QueryParamsRequest): Promise; - contractsByCreator(request: QueryContractsByCreatorRequest): Promise; -}; diff --git a/packages/codegen/dist/cosmwasm/wasm/v1/tx.d.ts b/packages/codegen/dist/cosmwasm/wasm/v1/tx.d.ts deleted file mode 100644 index 3b41b3cf..00000000 --- a/packages/codegen/dist/cosmwasm/wasm/v1/tx.d.ts +++ /dev/null @@ -1,294 +0,0 @@ -/// -import { AccessConfig, AccessConfigSDKType } from "./types"; -import { Coin, CoinSDKType } from "../../../cosmos/base/v1beta1/coin"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, 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; -} -/** MsgStoreCode submit Wasm code to the system */ -export interface MsgStoreCodeSDKType { - sender: string; - wasm_byte_code: Uint8Array; - instantiate_permission?: AccessConfigSDKType; -} -/** MsgStoreCodeResponse returns store result data. */ -export interface MsgStoreCodeResponse { - /** CodeID is the reference to the stored WASM code */ - codeId: Long; - /** Checksum is the sha256 hash of the stored code */ - checksum: Uint8Array; -} -/** MsgStoreCodeResponse returns store result data. */ -export interface MsgStoreCodeResponseSDKType { - code_id: Long; - checksum: Uint8Array; -} -/** - * 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: string; - admin: string; - code_id: Long; - label: string; - msg: Uint8Array; - funds: CoinSDKType[]; -} -/** - * MsgInstantiateContract2 create a new smart contract instance for the given - * code id with a predicable address. - */ -export interface MsgInstantiateContract2 { - /** 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[]; - /** Salt is an arbitrary value provided by the sender. Size can be 1 to 64. */ - salt: Uint8Array; - /** - * FixMsg include the msg value into the hash for the predictable address. - * Default is false - */ - fixMsg: boolean; -} -/** - * MsgInstantiateContract2 create a new smart contract instance for the given - * code id with a predicable address. - */ -export interface MsgInstantiateContract2SDKType { - sender: string; - admin: string; - code_id: Long; - label: string; - msg: Uint8Array; - funds: CoinSDKType[]; - salt: Uint8Array; - fix_msg: boolean; -} -/** MsgInstantiateContractResponse return instantiation result data */ -export interface MsgInstantiateContractResponse { - /** Address is the bech32 address of the new contract instance. */ - address: string; - /** Data contains bytes to returned from the contract */ - data: Uint8Array; -} -/** MsgInstantiateContractResponse return instantiation result data */ -export interface MsgInstantiateContractResponseSDKType { - address: string; - data: Uint8Array; -} -/** MsgInstantiateContract2Response return instantiation result data */ -export interface MsgInstantiateContract2Response { - /** Address is the bech32 address of the new contract instance. */ - address: string; - /** Data contains bytes to returned from the contract */ - data: Uint8Array; -} -/** MsgInstantiateContract2Response return instantiation result data */ -export interface MsgInstantiateContract2ResponseSDKType { - address: string; - 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: string; - contract: string; - msg: Uint8Array; - funds: CoinSDKType[]; -} -/** MsgExecuteContractResponse returns execution result data. */ -export interface MsgExecuteContractResponse { - /** Data contains bytes to returned from the contract */ - data: Uint8Array; -} -/** MsgExecuteContractResponse returns execution result data. */ -export interface MsgExecuteContractResponseSDKType { - 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: string; - contract: string; - code_id: Long; - 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: 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: string; - new_admin: string; - 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: string; - contract: string; -} -/** MsgClearAdminResponse returns empty data */ -export interface MsgClearAdminResponse { -} -/** MsgClearAdminResponse returns empty data */ -export interface MsgClearAdminResponseSDKType { -} -export declare const MsgStoreCode: { - encode(message: MsgStoreCode, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgStoreCode; - fromPartial(object: DeepPartial): MsgStoreCode; -}; -export declare const MsgStoreCodeResponse: { - encode(message: MsgStoreCodeResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgStoreCodeResponse; - fromPartial(object: DeepPartial): MsgStoreCodeResponse; -}; -export declare const MsgInstantiateContract: { - encode(message: MsgInstantiateContract, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgInstantiateContract; - fromPartial(object: DeepPartial): MsgInstantiateContract; -}; -export declare const MsgInstantiateContract2: { - encode(message: MsgInstantiateContract2, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgInstantiateContract2; - fromPartial(object: DeepPartial): MsgInstantiateContract2; -}; -export declare const MsgInstantiateContractResponse: { - encode(message: MsgInstantiateContractResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgInstantiateContractResponse; - fromPartial(object: DeepPartial): MsgInstantiateContractResponse; -}; -export declare const MsgInstantiateContract2Response: { - encode(message: MsgInstantiateContract2Response, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgInstantiateContract2Response; - fromPartial(object: DeepPartial): MsgInstantiateContract2Response; -}; -export declare const MsgExecuteContract: { - encode(message: MsgExecuteContract, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecuteContract; - fromPartial(object: DeepPartial): MsgExecuteContract; -}; -export declare const MsgExecuteContractResponse: { - encode(message: MsgExecuteContractResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecuteContractResponse; - fromPartial(object: DeepPartial): MsgExecuteContractResponse; -}; -export declare const MsgMigrateContract: { - encode(message: MsgMigrateContract, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgMigrateContract; - fromPartial(object: DeepPartial): MsgMigrateContract; -}; -export declare const MsgMigrateContractResponse: { - encode(message: MsgMigrateContractResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgMigrateContractResponse; - fromPartial(object: DeepPartial): MsgMigrateContractResponse; -}; -export declare const MsgUpdateAdmin: { - encode(message: MsgUpdateAdmin, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateAdmin; - fromPartial(object: DeepPartial): MsgUpdateAdmin; -}; -export declare const MsgUpdateAdminResponse: { - encode(_: MsgUpdateAdminResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateAdminResponse; - fromPartial(_: DeepPartial): MsgUpdateAdminResponse; -}; -export declare const MsgClearAdmin: { - encode(message: MsgClearAdmin, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgClearAdmin; - fromPartial(object: DeepPartial): MsgClearAdmin; -}; -export declare const MsgClearAdminResponse: { - encode(_: MsgClearAdminResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgClearAdminResponse; - fromPartial(_: DeepPartial): MsgClearAdminResponse; -}; diff --git a/packages/codegen/dist/cosmwasm/wasm/v1/tx.rpc.msg.d.ts b/packages/codegen/dist/cosmwasm/wasm/v1/tx.rpc.msg.d.ts deleted file mode 100644 index 88d6e1a7..00000000 --- a/packages/codegen/dist/cosmwasm/wasm/v1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -import { Rpc } from "../../../helpers"; -import { MsgStoreCode, MsgStoreCodeResponse, MsgInstantiateContract, MsgInstantiateContractResponse, MsgInstantiateContract2, MsgInstantiateContract2Response, 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; - /** - * InstantiateContract creates a new smart contract instance for the given - * code id. - */ - instantiateContract(request: MsgInstantiateContract): Promise; - /** - * InstantiateContract2 creates a new smart contract instance for the given - * code id with a predictable address - */ - instantiateContract2(request: MsgInstantiateContract2): 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 declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: Rpc); - storeCode(request: MsgStoreCode): Promise; - instantiateContract(request: MsgInstantiateContract): Promise; - instantiateContract2(request: MsgInstantiateContract2): Promise; - executeContract(request: MsgExecuteContract): Promise; - migrateContract(request: MsgMigrateContract): Promise; - updateAdmin(request: MsgUpdateAdmin): Promise; - clearAdmin(request: MsgClearAdmin): Promise; -} diff --git a/packages/codegen/dist/cosmwasm/wasm/v1/types.d.ts b/packages/codegen/dist/cosmwasm/wasm/v1/types.d.ts deleted file mode 100644 index ef669234..00000000 --- a/packages/codegen/dist/cosmwasm/wasm/v1/types.d.ts +++ /dev/null @@ -1,206 +0,0 @@ -/// -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, Long } from "../../../helpers"; -/** AccessType permission types */ -export declare 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 a single address - * Deprecated: use AccessTypeAnyOfAddresses instead - */ - ACCESS_TYPE_ONLY_ADDRESS = 2, - /** ACCESS_TYPE_EVERYBODY - AccessTypeEverybody unrestricted */ - ACCESS_TYPE_EVERYBODY = 3, - /** ACCESS_TYPE_ANY_OF_ADDRESSES - AccessTypeAnyOfAddresses allow any of the addresses */ - ACCESS_TYPE_ANY_OF_ADDRESSES = 4, - UNRECOGNIZED = -1 -} -export declare const AccessTypeSDKType: typeof AccessType; -export declare function accessTypeFromJSON(object: any): AccessType; -export declare function accessTypeToJSON(object: AccessType): string; -/** ContractCodeHistoryOperationType actions that caused a code change */ -export declare 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 declare const ContractCodeHistoryOperationTypeSDKType: typeof ContractCodeHistoryOperationType; -export declare function contractCodeHistoryOperationTypeFromJSON(object: any): ContractCodeHistoryOperationType; -export declare function contractCodeHistoryOperationTypeToJSON(object: ContractCodeHistoryOperationType): string; -/** AccessTypeParam */ -export interface AccessTypeParam { - value: AccessType; -} -/** AccessTypeParam */ -export interface AccessTypeParamSDKType { - value: AccessType; -} -/** AccessConfig access control type. */ -export interface AccessConfig { - permission: AccessType; - /** - * Address - * Deprecated: replaced by addresses - */ - address: string; - addresses: string[]; -} -/** AccessConfig access control type. */ -export interface AccessConfigSDKType { - permission: AccessType; - address: string; - addresses: string[]; -} -/** Params defines the set of wasm parameters. */ -export interface Params { - codeUploadAccess?: AccessConfig; - instantiateDefaultPermission: AccessType; -} -/** Params defines the set of wasm parameters. */ -export interface ParamsSDKType { - code_upload_access?: AccessConfigSDKType; - instantiate_default_permission: AccessType; -} -/** 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; -} -/** CodeInfo is data for the uploaded contract WASM code */ -export interface CodeInfoSDKType { - code_hash: Uint8Array; - creator: string; - instantiate_config?: AccessConfigSDKType; -} -/** 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. */ - created?: AbsoluteTxPosition; - ibcPortId: string; - /** - * Extension is an extension point to store custom metadata within the - * persistence model. - */ - extension?: Any; -} -/** ContractInfo stores a WASM contract instance */ -export interface ContractInfoSDKType { - code_id: Long; - creator: string; - admin: string; - label: string; - created?: AbsoluteTxPositionSDKType; - ibc_port_id: string; - extension?: AnySDKType; -} -/** 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; - msg: Uint8Array; -} -/** ContractCodeHistoryEntry metadata to a contract. */ -export interface ContractCodeHistoryEntrySDKType { - operation: ContractCodeHistoryOperationType; - code_id: Long; - updated?: AbsoluteTxPositionSDKType; - 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 { - block_height: Long; - 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 { - key: Uint8Array; - value: Uint8Array; -} -export declare const AccessTypeParam: { - encode(message: AccessTypeParam, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): AccessTypeParam; - fromPartial(object: DeepPartial): AccessTypeParam; -}; -export declare const AccessConfig: { - encode(message: AccessConfig, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): AccessConfig; - fromPartial(object: DeepPartial): AccessConfig; -}; -export declare const Params: { - encode(message: Params, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Params; - fromPartial(object: DeepPartial): Params; -}; -export declare const CodeInfo: { - encode(message: CodeInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): CodeInfo; - fromPartial(object: DeepPartial): CodeInfo; -}; -export declare const ContractInfo: { - encode(message: ContractInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ContractInfo; - fromPartial(object: DeepPartial): ContractInfo; -}; -export declare const ContractCodeHistoryEntry: { - encode(message: ContractCodeHistoryEntry, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ContractCodeHistoryEntry; - fromPartial(object: DeepPartial): ContractCodeHistoryEntry; -}; -export declare const AbsoluteTxPosition: { - encode(message: AbsoluteTxPosition, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): AbsoluteTxPosition; - fromPartial(object: DeepPartial): AbsoluteTxPosition; -}; -export declare const Model: { - encode(message: Model, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Model; - fromPartial(object: DeepPartial): Model; -}; diff --git a/packages/codegen/dist/gogoproto/bundle.d.ts b/packages/codegen/dist/gogoproto/bundle.d.ts deleted file mode 100644 index 55791e68..00000000 --- a/packages/codegen/dist/gogoproto/bundle.d.ts +++ /dev/null @@ -1 +0,0 @@ -export declare const gogoproto: {}; diff --git a/packages/codegen/dist/gogoproto/gogo.d.ts b/packages/codegen/dist/gogoproto/gogo.d.ts deleted file mode 100644 index cb0ff5c3..00000000 --- a/packages/codegen/dist/gogoproto/gogo.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/packages/codegen/dist/google/api/annotations.d.ts b/packages/codegen/dist/google/api/annotations.d.ts deleted file mode 100644 index cb0ff5c3..00000000 --- a/packages/codegen/dist/google/api/annotations.d.ts +++ /dev/null @@ -1 +0,0 @@ -export {}; diff --git a/packages/codegen/dist/google/api/http.d.ts b/packages/codegen/dist/google/api/http.d.ts deleted file mode 100644 index 7c8bfc6c..00000000 --- a/packages/codegen/dist/google/api/http.d.ts +++ /dev/null @@ -1,666 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../helpers"; -/** - * Defines the HTTP configuration for an API service. It contains a list of - * [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method - * 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 { - rules: HttpRuleSDKType[]; - 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; - /** - * 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 { - selector: string; - get?: string; - put?: string; - post?: string; - delete?: string; - patch?: string; - custom?: CustomHttpPatternSDKType; - body: string; - response_body: string; - 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 { - kind: string; - path: string; -} -export declare const Http: { - encode(message: Http, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Http; - fromPartial(object: DeepPartial): Http; -}; -export declare const HttpRule: { - encode(message: HttpRule, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): HttpRule; - fromPartial(object: DeepPartial): HttpRule; -}; -export declare const CustomHttpPattern: { - encode(message: CustomHttpPattern, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): CustomHttpPattern; - fromPartial(object: DeepPartial): CustomHttpPattern; -}; diff --git a/packages/codegen/dist/google/bundle.d.ts b/packages/codegen/dist/google/bundle.d.ts deleted file mode 100644 index a38c0e4e..00000000 --- a/packages/codegen/dist/google/bundle.d.ts +++ /dev/null @@ -1,1466 +0,0 @@ -/// -import * as _104 from "./api/http"; -import * as _105 from "./protobuf/any"; -import * as _106 from "./protobuf/descriptor"; -import * as _107 from "./protobuf/duration"; -import * as _108 from "./protobuf/empty"; -import * as _109 from "./protobuf/timestamp"; -export declare namespace google { - const api: { - Http: { - encode(message: _104.Http, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _104.Http; - fromPartial(object: { - rules?: { - selector?: string; - get?: string; - put?: string; - post?: string; - delete?: string; - patch?: string; - custom?: { - kind?: string; - path?: string; - }; - body?: string; - responseBody?: string; - additionalBindings?: any[]; - }[]; - fullyDecodeReservedExpansion?: boolean; - }): _104.Http; - }; - HttpRule: { - encode(message: _104.HttpRule, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _104.HttpRule; - fromPartial(object: { - selector?: string; - get?: string; - put?: string; - post?: string; - delete?: string; - patch?: string; - custom?: { - kind?: string; - path?: string; - }; - body?: string; - responseBody?: string; - additionalBindings?: any[]; - }): _104.HttpRule; - }; - CustomHttpPattern: { - encode(message: _104.CustomHttpPattern, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _104.CustomHttpPattern; - fromPartial(object: { - kind?: string; - path?: string; - }): _104.CustomHttpPattern; - }; - }; - const protobuf: { - Timestamp: { - encode(message: _109.Timestamp, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _109.Timestamp; - fromPartial(object: { - seconds?: string | number | import("long").Long; - nanos?: number; - }): _109.Timestamp; - }; - Empty: { - encode(_: _108.Empty, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _108.Empty; - fromPartial(_: {}): _108.Empty; - }; - Duration: { - encode(message: _107.Duration, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _107.Duration; - fromPartial(object: { - seconds?: string | number | import("long").Long; - nanos?: number; - }): _107.Duration; - }; - fieldDescriptorProto_TypeFromJSON(object: any): _106.FieldDescriptorProto_Type; - fieldDescriptorProto_TypeToJSON(object: _106.FieldDescriptorProto_Type): string; - fieldDescriptorProto_LabelFromJSON(object: any): _106.FieldDescriptorProto_Label; - fieldDescriptorProto_LabelToJSON(object: _106.FieldDescriptorProto_Label): string; - fileOptions_OptimizeModeFromJSON(object: any): _106.FileOptions_OptimizeMode; - fileOptions_OptimizeModeToJSON(object: _106.FileOptions_OptimizeMode): string; - fieldOptions_CTypeFromJSON(object: any): _106.FieldOptions_CType; - fieldOptions_CTypeToJSON(object: _106.FieldOptions_CType): string; - fieldOptions_JSTypeFromJSON(object: any): _106.FieldOptions_JSType; - fieldOptions_JSTypeToJSON(object: _106.FieldOptions_JSType): string; - methodOptions_IdempotencyLevelFromJSON(object: any): _106.MethodOptions_IdempotencyLevel; - methodOptions_IdempotencyLevelToJSON(object: _106.MethodOptions_IdempotencyLevel): string; - FieldDescriptorProto_Type: typeof _106.FieldDescriptorProto_Type; - FieldDescriptorProto_TypeSDKType: typeof _106.FieldDescriptorProto_Type; - FieldDescriptorProto_Label: typeof _106.FieldDescriptorProto_Label; - FieldDescriptorProto_LabelSDKType: typeof _106.FieldDescriptorProto_Label; - FileOptions_OptimizeMode: typeof _106.FileOptions_OptimizeMode; - FileOptions_OptimizeModeSDKType: typeof _106.FileOptions_OptimizeMode; - FieldOptions_CType: typeof _106.FieldOptions_CType; - FieldOptions_CTypeSDKType: typeof _106.FieldOptions_CType; - FieldOptions_JSType: typeof _106.FieldOptions_JSType; - FieldOptions_JSTypeSDKType: typeof _106.FieldOptions_JSType; - MethodOptions_IdempotencyLevel: typeof _106.MethodOptions_IdempotencyLevel; - MethodOptions_IdempotencyLevelSDKType: typeof _106.MethodOptions_IdempotencyLevel; - FileDescriptorSet: { - encode(message: _106.FileDescriptorSet, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _106.FileDescriptorSet; - fromPartial(object: { - file?: { - name?: string; - package?: string; - dependency?: string[]; - publicDependency?: number[]; - weakDependency?: number[]; - messageType?: { - name?: string; - field?: { - name?: string; - number?: number; - label?: _106.FieldDescriptorProto_Label; - type?: _106.FieldDescriptorProto_Type; - typeName?: string; - extendee?: string; - defaultValue?: string; - oneofIndex?: number; - jsonName?: string; - options?: { - ctype?: _106.FieldOptions_CType; - packed?: boolean; - jstype?: _106.FieldOptions_JSType; - lazy?: boolean; - deprecated?: boolean; - weak?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }[]; - extension?: { - name?: string; - number?: number; - label?: _106.FieldDescriptorProto_Label; - type?: _106.FieldDescriptorProto_Type; - typeName?: string; - extendee?: string; - defaultValue?: string; - oneofIndex?: number; - jsonName?: string; - options?: { - ctype?: _106.FieldOptions_CType; - packed?: boolean; - jstype?: _106.FieldOptions_JSType; - lazy?: boolean; - deprecated?: boolean; - weak?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }[]; - nestedType?: any[]; - enumType?: { - name?: string; - value?: { - name?: string; - number?: number; - options?: { - deprecated?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }[]; - options?: { - allowAlias?: boolean; - deprecated?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - reservedRange?: { - start?: number; - end?: number; - }[]; - reservedName?: string[]; - }[]; - extensionRange?: { - start?: number; - end?: number; - options?: { - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }[]; - oneofDecl?: { - name?: string; - options?: { - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }[]; - options?: { - messageSetWireFormat?: boolean; - noStandardDescriptorAccessor?: boolean; - deprecated?: boolean; - mapEntry?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - reservedRange?: { - start?: number; - end?: number; - }[]; - reservedName?: string[]; - }[]; - enumType?: { - name?: string; - value?: { - name?: string; - number?: number; - options?: { - deprecated?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }[]; - options?: { - allowAlias?: boolean; - deprecated?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - reservedRange?: { - start?: number; - end?: number; - }[]; - reservedName?: string[]; - }[]; - service?: { - name?: string; - method?: { - name?: string; - inputType?: string; - outputType?: string; - options?: { - deprecated?: boolean; - idempotencyLevel?: _106.MethodOptions_IdempotencyLevel; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - clientStreaming?: boolean; - serverStreaming?: boolean; - }[]; - options?: { - deprecated?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }[]; - extension?: { - name?: string; - number?: number; - label?: _106.FieldDescriptorProto_Label; - type?: _106.FieldDescriptorProto_Type; - typeName?: string; - extendee?: string; - defaultValue?: string; - oneofIndex?: number; - jsonName?: string; - options?: { - ctype?: _106.FieldOptions_CType; - packed?: boolean; - jstype?: _106.FieldOptions_JSType; - lazy?: boolean; - deprecated?: boolean; - weak?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }[]; - options?: { - javaPackage?: string; - javaOuterClassname?: string; - javaMultipleFiles?: boolean; - javaGenerateEqualsAndHash?: boolean; - javaStringCheckUtf8?: boolean; - optimizeFor?: _106.FileOptions_OptimizeMode; - goPackage?: string; - ccGenericServices?: boolean; - javaGenericServices?: boolean; - pyGenericServices?: boolean; - phpGenericServices?: boolean; - deprecated?: boolean; - ccEnableArenas?: boolean; - objcClassPrefix?: string; - csharpNamespace?: string; - swiftPrefix?: string; - phpClassPrefix?: string; - phpNamespace?: string; - phpMetadataNamespace?: string; - rubyPackage?: string; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - sourceCodeInfo?: { - location?: { - path?: number[]; - span?: number[]; - leadingComments?: string; - trailingComments?: string; - leadingDetachedComments?: string[]; - }[]; - }; - syntax?: string; - }[]; - }): _106.FileDescriptorSet; - }; - FileDescriptorProto: { - encode(message: _106.FileDescriptorProto, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _106.FileDescriptorProto; - fromPartial(object: { - name?: string; - package?: string; - dependency?: string[]; - publicDependency?: number[]; - weakDependency?: number[]; - messageType?: { - name?: string; - field?: { - name?: string; - number?: number; - label?: _106.FieldDescriptorProto_Label; - type?: _106.FieldDescriptorProto_Type; - typeName?: string; - extendee?: string; - defaultValue?: string; - oneofIndex?: number; - jsonName?: string; - options?: { - ctype?: _106.FieldOptions_CType; - packed?: boolean; - jstype?: _106.FieldOptions_JSType; - lazy?: boolean; - deprecated?: boolean; - weak?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }[]; - extension?: { - name?: string; - number?: number; - label?: _106.FieldDescriptorProto_Label; - type?: _106.FieldDescriptorProto_Type; - typeName?: string; - extendee?: string; - defaultValue?: string; - oneofIndex?: number; - jsonName?: string; - options?: { - ctype?: _106.FieldOptions_CType; - packed?: boolean; - jstype?: _106.FieldOptions_JSType; - lazy?: boolean; - deprecated?: boolean; - weak?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }[]; - nestedType?: any[]; - enumType?: { - name?: string; - value?: { - name?: string; - number?: number; - options?: { - deprecated?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }[]; - options?: { - allowAlias?: boolean; - deprecated?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - reservedRange?: { - start?: number; - end?: number; - }[]; - reservedName?: string[]; - }[]; - extensionRange?: { - start?: number; - end?: number; - options?: { - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }[]; - oneofDecl?: { - name?: string; - options?: { - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }[]; - options?: { - messageSetWireFormat?: boolean; - noStandardDescriptorAccessor?: boolean; - deprecated?: boolean; - mapEntry?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - reservedRange?: { - start?: number; - end?: number; - }[]; - reservedName?: string[]; - }[]; - enumType?: { - name?: string; - value?: { - name?: string; - number?: number; - options?: { - deprecated?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }[]; - options?: { - allowAlias?: boolean; - deprecated?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - reservedRange?: { - start?: number; - end?: number; - }[]; - reservedName?: string[]; - }[]; - service?: { - name?: string; - method?: { - name?: string; - inputType?: string; - outputType?: string; - options?: { - deprecated?: boolean; - idempotencyLevel?: _106.MethodOptions_IdempotencyLevel; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - clientStreaming?: boolean; - serverStreaming?: boolean; - }[]; - options?: { - deprecated?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }[]; - extension?: { - name?: string; - number?: number; - label?: _106.FieldDescriptorProto_Label; - type?: _106.FieldDescriptorProto_Type; - typeName?: string; - extendee?: string; - defaultValue?: string; - oneofIndex?: number; - jsonName?: string; - options?: { - ctype?: _106.FieldOptions_CType; - packed?: boolean; - jstype?: _106.FieldOptions_JSType; - lazy?: boolean; - deprecated?: boolean; - weak?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }[]; - options?: { - javaPackage?: string; - javaOuterClassname?: string; - javaMultipleFiles?: boolean; - javaGenerateEqualsAndHash?: boolean; - javaStringCheckUtf8?: boolean; - optimizeFor?: _106.FileOptions_OptimizeMode; - goPackage?: string; - ccGenericServices?: boolean; - javaGenericServices?: boolean; - pyGenericServices?: boolean; - phpGenericServices?: boolean; - deprecated?: boolean; - ccEnableArenas?: boolean; - objcClassPrefix?: string; - csharpNamespace?: string; - swiftPrefix?: string; - phpClassPrefix?: string; - phpNamespace?: string; - phpMetadataNamespace?: string; - rubyPackage?: string; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - sourceCodeInfo?: { - location?: { - path?: number[]; - span?: number[]; - leadingComments?: string; - trailingComments?: string; - leadingDetachedComments?: string[]; - }[]; - }; - syntax?: string; - }): _106.FileDescriptorProto; - }; - DescriptorProto: { - encode(message: _106.DescriptorProto, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _106.DescriptorProto; - fromPartial(object: { - name?: string; - field?: { - name?: string; - number?: number; - label?: _106.FieldDescriptorProto_Label; - type?: _106.FieldDescriptorProto_Type; - typeName?: string; - extendee?: string; - defaultValue?: string; - oneofIndex?: number; - jsonName?: string; - options?: { - ctype?: _106.FieldOptions_CType; - packed?: boolean; - jstype?: _106.FieldOptions_JSType; - lazy?: boolean; - deprecated?: boolean; - weak?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }[]; - extension?: { - name?: string; - number?: number; - label?: _106.FieldDescriptorProto_Label; - type?: _106.FieldDescriptorProto_Type; - typeName?: string; - extendee?: string; - defaultValue?: string; - oneofIndex?: number; - jsonName?: string; - options?: { - ctype?: _106.FieldOptions_CType; - packed?: boolean; - jstype?: _106.FieldOptions_JSType; - lazy?: boolean; - deprecated?: boolean; - weak?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }[]; - nestedType?: any[]; - enumType?: { - name?: string; - value?: { - name?: string; - number?: number; - options?: { - deprecated?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }[]; - options?: { - allowAlias?: boolean; - deprecated?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - reservedRange?: { - start?: number; - end?: number; - }[]; - reservedName?: string[]; - }[]; - extensionRange?: { - start?: number; - end?: number; - options?: { - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }[]; - oneofDecl?: { - name?: string; - options?: { - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }[]; - options?: { - messageSetWireFormat?: boolean; - noStandardDescriptorAccessor?: boolean; - deprecated?: boolean; - mapEntry?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - reservedRange?: { - start?: number; - end?: number; - }[]; - reservedName?: string[]; - }): _106.DescriptorProto; - }; - DescriptorProto_ExtensionRange: { - encode(message: _106.DescriptorProto_ExtensionRange, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _106.DescriptorProto_ExtensionRange; - fromPartial(object: { - start?: number; - end?: number; - options?: { - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }): _106.DescriptorProto_ExtensionRange; - }; - DescriptorProto_ReservedRange: { - encode(message: _106.DescriptorProto_ReservedRange, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _106.DescriptorProto_ReservedRange; - fromPartial(object: { - start?: number; - end?: number; - }): _106.DescriptorProto_ReservedRange; - }; - ExtensionRangeOptions: { - encode(message: _106.ExtensionRangeOptions, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _106.ExtensionRangeOptions; - fromPartial(object: { - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }): _106.ExtensionRangeOptions; - }; - FieldDescriptorProto: { - encode(message: _106.FieldDescriptorProto, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _106.FieldDescriptorProto; - fromPartial(object: { - name?: string; - number?: number; - label?: _106.FieldDescriptorProto_Label; - type?: _106.FieldDescriptorProto_Type; - typeName?: string; - extendee?: string; - defaultValue?: string; - oneofIndex?: number; - jsonName?: string; - options?: { - ctype?: _106.FieldOptions_CType; - packed?: boolean; - jstype?: _106.FieldOptions_JSType; - lazy?: boolean; - deprecated?: boolean; - weak?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }): _106.FieldDescriptorProto; - }; - OneofDescriptorProto: { - encode(message: _106.OneofDescriptorProto, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _106.OneofDescriptorProto; - fromPartial(object: { - name?: string; - options?: { - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }): _106.OneofDescriptorProto; - }; - EnumDescriptorProto: { - encode(message: _106.EnumDescriptorProto, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _106.EnumDescriptorProto; - fromPartial(object: { - name?: string; - value?: { - name?: string; - number?: number; - options?: { - deprecated?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }[]; - options?: { - allowAlias?: boolean; - deprecated?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - reservedRange?: { - start?: number; - end?: number; - }[]; - reservedName?: string[]; - }): _106.EnumDescriptorProto; - }; - EnumDescriptorProto_EnumReservedRange: { - encode(message: _106.EnumDescriptorProto_EnumReservedRange, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _106.EnumDescriptorProto_EnumReservedRange; - fromPartial(object: { - start?: number; - end?: number; - }): _106.EnumDescriptorProto_EnumReservedRange; - }; - EnumValueDescriptorProto: { - encode(message: _106.EnumValueDescriptorProto, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _106.EnumValueDescriptorProto; - fromPartial(object: { - name?: string; - number?: number; - options?: { - deprecated?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }): _106.EnumValueDescriptorProto; - }; - ServiceDescriptorProto: { - encode(message: _106.ServiceDescriptorProto, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _106.ServiceDescriptorProto; - fromPartial(object: { - name?: string; - method?: { - name?: string; - inputType?: string; - outputType?: string; - options?: { - deprecated?: boolean; - idempotencyLevel?: _106.MethodOptions_IdempotencyLevel; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - clientStreaming?: boolean; - serverStreaming?: boolean; - }[]; - options?: { - deprecated?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - }): _106.ServiceDescriptorProto; - }; - MethodDescriptorProto: { - encode(message: _106.MethodDescriptorProto, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _106.MethodDescriptorProto; - fromPartial(object: { - name?: string; - inputType?: string; - outputType?: string; - options?: { - deprecated?: boolean; - idempotencyLevel?: _106.MethodOptions_IdempotencyLevel; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }; - clientStreaming?: boolean; - serverStreaming?: boolean; - }): _106.MethodDescriptorProto; - }; - FileOptions: { - encode(message: _106.FileOptions, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _106.FileOptions; - fromPartial(object: { - javaPackage?: string; - javaOuterClassname?: string; - javaMultipleFiles?: boolean; - javaGenerateEqualsAndHash?: boolean; - javaStringCheckUtf8?: boolean; - optimizeFor?: _106.FileOptions_OptimizeMode; - goPackage?: string; - ccGenericServices?: boolean; - javaGenericServices?: boolean; - pyGenericServices?: boolean; - phpGenericServices?: boolean; - deprecated?: boolean; - ccEnableArenas?: boolean; - objcClassPrefix?: string; - csharpNamespace?: string; - swiftPrefix?: string; - phpClassPrefix?: string; - phpNamespace?: string; - phpMetadataNamespace?: string; - rubyPackage?: string; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }): _106.FileOptions; - }; - MessageOptions: { - encode(message: _106.MessageOptions, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _106.MessageOptions; - fromPartial(object: { - messageSetWireFormat?: boolean; - noStandardDescriptorAccessor?: boolean; - deprecated?: boolean; - mapEntry?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }): _106.MessageOptions; - }; - FieldOptions: { - encode(message: _106.FieldOptions, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _106.FieldOptions; - fromPartial(object: { - ctype?: _106.FieldOptions_CType; - packed?: boolean; - jstype?: _106.FieldOptions_JSType; - lazy?: boolean; - deprecated?: boolean; - weak?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }): _106.FieldOptions; - }; - OneofOptions: { - encode(message: _106.OneofOptions, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _106.OneofOptions; - fromPartial(object: { - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }): _106.OneofOptions; - }; - EnumOptions: { - encode(message: _106.EnumOptions, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _106.EnumOptions; - fromPartial(object: { - allowAlias?: boolean; - deprecated?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }): _106.EnumOptions; - }; - EnumValueOptions: { - encode(message: _106.EnumValueOptions, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _106.EnumValueOptions; - fromPartial(object: { - deprecated?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }): _106.EnumValueOptions; - }; - ServiceOptions: { - encode(message: _106.ServiceOptions, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _106.ServiceOptions; - fromPartial(object: { - deprecated?: boolean; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }): _106.ServiceOptions; - }; - MethodOptions: { - encode(message: _106.MethodOptions, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _106.MethodOptions; - fromPartial(object: { - deprecated?: boolean; - idempotencyLevel?: _106.MethodOptions_IdempotencyLevel; - uninterpretedOption?: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }[]; - }): _106.MethodOptions; - }; - UninterpretedOption: { - encode(message: _106.UninterpretedOption, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _106.UninterpretedOption; - fromPartial(object: { - name?: { - namePart?: string; - isExtension?: boolean; - }[]; - identifierValue?: string; - positiveIntValue?: string | number | import("long").Long; - negativeIntValue?: string | number | import("long").Long; - doubleValue?: number; - stringValue?: Uint8Array; - aggregateValue?: string; - }): _106.UninterpretedOption; - }; - UninterpretedOption_NamePart: { - encode(message: _106.UninterpretedOption_NamePart, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _106.UninterpretedOption_NamePart; - fromPartial(object: { - namePart?: string; - isExtension?: boolean; - }): _106.UninterpretedOption_NamePart; - }; - SourceCodeInfo: { - encode(message: _106.SourceCodeInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _106.SourceCodeInfo; - fromPartial(object: { - location?: { - path?: number[]; - span?: number[]; - leadingComments?: string; - trailingComments?: string; - leadingDetachedComments?: string[]; - }[]; - }): _106.SourceCodeInfo; - }; - SourceCodeInfo_Location: { - encode(message: _106.SourceCodeInfo_Location, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _106.SourceCodeInfo_Location; - fromPartial(object: { - path?: number[]; - span?: number[]; - leadingComments?: string; - trailingComments?: string; - leadingDetachedComments?: string[]; - }): _106.SourceCodeInfo_Location; - }; - GeneratedCodeInfo: { - encode(message: _106.GeneratedCodeInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _106.GeneratedCodeInfo; - fromPartial(object: { - annotation?: { - path?: number[]; - sourceFile?: string; - begin?: number; - end?: number; - }[]; - }): _106.GeneratedCodeInfo; - }; - GeneratedCodeInfo_Annotation: { - encode(message: _106.GeneratedCodeInfo_Annotation, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _106.GeneratedCodeInfo_Annotation; - fromPartial(object: { - path?: number[]; - sourceFile?: string; - begin?: number; - end?: number; - }): _106.GeneratedCodeInfo_Annotation; - }; - Any: { - encode(message: _105.Any, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _105.Any; - fromPartial(object: { - typeUrl?: string; - value?: Uint8Array; - }): _105.Any; - }; - }; -} diff --git a/packages/codegen/dist/google/protobuf/any.d.ts b/packages/codegen/dist/google/protobuf/any.d.ts deleted file mode 100644 index 122b1c66..00000000 --- a/packages/codegen/dist/google/protobuf/any.d.ts +++ /dev/null @@ -1,207 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../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; -} -/** - * `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 { - type_url: string; - value: Uint8Array; -} -export declare const Any: { - encode(message: Any, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Any; - fromPartial(object: DeepPartial): Any; -}; diff --git a/packages/codegen/dist/google/protobuf/descriptor.d.ts b/packages/codegen/dist/google/protobuf/descriptor.d.ts deleted file mode 100644 index 32ae6277..00000000 --- a/packages/codegen/dist/google/protobuf/descriptor.d.ts +++ /dev/null @@ -1,1172 +0,0 @@ -/// -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, Long } from "../../helpers"; -export declare enum FieldDescriptorProto_Type { - /** - * TYPE_DOUBLE - 0 is reserved for errors. - * Order is weird for historical reasons. - */ - TYPE_DOUBLE = 1, - TYPE_FLOAT = 2, - /** - * TYPE_INT64 - Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if - * negative values are likely. - */ - TYPE_INT64 = 3, - TYPE_UINT64 = 4, - /** - * TYPE_INT32 - Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if - * negative values are likely. - */ - TYPE_INT32 = 5, - TYPE_FIXED64 = 6, - TYPE_FIXED32 = 7, - TYPE_BOOL = 8, - TYPE_STRING = 9, - /** - * TYPE_GROUP - Tag-delimited aggregate. - * Group type is deprecated and not supported in proto3. However, Proto3 - * implementations should still be able to parse the group wire format and - * treat group fields as unknown fields. - */ - TYPE_GROUP = 10, - TYPE_MESSAGE = 11, - /** TYPE_BYTES - New in version 2. */ - TYPE_BYTES = 12, - TYPE_UINT32 = 13, - TYPE_ENUM = 14, - TYPE_SFIXED32 = 15, - TYPE_SFIXED64 = 16, - /** TYPE_SINT32 - Uses ZigZag encoding. */ - TYPE_SINT32 = 17, - /** TYPE_SINT64 - Uses ZigZag encoding. */ - TYPE_SINT64 = 18, - UNRECOGNIZED = -1 -} -export declare const FieldDescriptorProto_TypeSDKType: typeof FieldDescriptorProto_Type; -export declare function fieldDescriptorProto_TypeFromJSON(object: any): FieldDescriptorProto_Type; -export declare function fieldDescriptorProto_TypeToJSON(object: FieldDescriptorProto_Type): string; -export declare enum FieldDescriptorProto_Label { - /** LABEL_OPTIONAL - 0 is reserved for errors */ - LABEL_OPTIONAL = 1, - LABEL_REQUIRED = 2, - LABEL_REPEATED = 3, - UNRECOGNIZED = -1 -} -export declare const FieldDescriptorProto_LabelSDKType: typeof FieldDescriptorProto_Label; -export declare function fieldDescriptorProto_LabelFromJSON(object: any): FieldDescriptorProto_Label; -export declare function fieldDescriptorProto_LabelToJSON(object: FieldDescriptorProto_Label): string; -/** Generated classes can be optimized for speed or code size. */ -export declare enum FileOptions_OptimizeMode { - /** - * SPEED - Generate complete code for parsing, serialization, - * etc. - */ - SPEED = 1, - /** CODE_SIZE - Use ReflectionOps to implement these methods. */ - CODE_SIZE = 2, - /** LITE_RUNTIME - Generate code using MessageLite and the lite runtime. */ - LITE_RUNTIME = 3, - UNRECOGNIZED = -1 -} -export declare const FileOptions_OptimizeModeSDKType: typeof FileOptions_OptimizeMode; -export declare function fileOptions_OptimizeModeFromJSON(object: any): FileOptions_OptimizeMode; -export declare function fileOptions_OptimizeModeToJSON(object: FileOptions_OptimizeMode): string; -export declare enum FieldOptions_CType { - /** STRING - Default mode. */ - STRING = 0, - CORD = 1, - STRING_PIECE = 2, - UNRECOGNIZED = -1 -} -export declare const FieldOptions_CTypeSDKType: typeof FieldOptions_CType; -export declare function fieldOptions_CTypeFromJSON(object: any): FieldOptions_CType; -export declare function fieldOptions_CTypeToJSON(object: FieldOptions_CType): string; -export declare enum FieldOptions_JSType { - /** JS_NORMAL - Use the default type. */ - JS_NORMAL = 0, - /** JS_STRING - Use JavaScript strings. */ - JS_STRING = 1, - /** JS_NUMBER - Use JavaScript numbers. */ - JS_NUMBER = 2, - UNRECOGNIZED = -1 -} -export declare const FieldOptions_JSTypeSDKType: typeof FieldOptions_JSType; -export declare function fieldOptions_JSTypeFromJSON(object: any): FieldOptions_JSType; -export declare function fieldOptions_JSTypeToJSON(object: FieldOptions_JSType): string; -/** - * Is this method side-effect-free (or safe in HTTP parlance), or idempotent, - * or neither? HTTP based RPC implementation may choose GET verb for safe - * methods, and PUT verb for idempotent methods instead of the default POST. - */ -export declare enum MethodOptions_IdempotencyLevel { - IDEMPOTENCY_UNKNOWN = 0, - /** NO_SIDE_EFFECTS - implies idempotent */ - NO_SIDE_EFFECTS = 1, - /** IDEMPOTENT - idempotent, but may have side effects */ - IDEMPOTENT = 2, - UNRECOGNIZED = -1 -} -export declare const MethodOptions_IdempotencyLevelSDKType: typeof MethodOptions_IdempotencyLevel; -export declare function methodOptions_IdempotencyLevelFromJSON(object: any): MethodOptions_IdempotencyLevel; -export declare function methodOptions_IdempotencyLevelToJSON(object: MethodOptions_IdempotencyLevel): string; -/** - * The protocol compiler can output a FileDescriptorSet containing the .proto - * files it parses. - */ -export interface FileDescriptorSet { - file: FileDescriptorProto[]; -} -/** - * The protocol compiler can output a FileDescriptorSet containing the .proto - * files it parses. - */ -export interface FileDescriptorSetSDKType { - file: FileDescriptorProtoSDKType[]; -} -/** Describes a complete .proto file. */ -export interface FileDescriptorProto { - /** file name, relative to root of source tree */ - name: string; - package: string; - /** Names of files imported by this file. */ - dependency: string[]; - /** Indexes of the public imported files in the dependency list above. */ - publicDependency: number[]; - /** - * Indexes of the weak imported files in the dependency list. - * For Google-internal migration only. Do not use. - */ - weakDependency: number[]; - /** All top-level definitions in this file. */ - messageType: DescriptorProto[]; - enumType: EnumDescriptorProto[]; - service: ServiceDescriptorProto[]; - extension: FieldDescriptorProto[]; - options?: FileOptions; - /** - * This field contains optional information about the original source code. - * You may safely remove this entire field without harming runtime - * functionality of the descriptors -- the information is needed only by - * development tools. - */ - sourceCodeInfo?: SourceCodeInfo; - /** - * The syntax of the proto file. - * The supported values are "proto2" and "proto3". - */ - syntax: string; -} -/** Describes a complete .proto file. */ -export interface FileDescriptorProtoSDKType { - name: string; - package: string; - dependency: string[]; - public_dependency: number[]; - weak_dependency: number[]; - message_type: DescriptorProtoSDKType[]; - enum_type: EnumDescriptorProtoSDKType[]; - service: ServiceDescriptorProtoSDKType[]; - extension: FieldDescriptorProtoSDKType[]; - options?: FileOptionsSDKType; - source_code_info?: SourceCodeInfoSDKType; - syntax: string; -} -/** Describes a message type. */ -export interface DescriptorProto { - name: string; - field: FieldDescriptorProto[]; - extension: FieldDescriptorProto[]; - nestedType: DescriptorProto[]; - enumType: EnumDescriptorProto[]; - extensionRange: DescriptorProto_ExtensionRange[]; - oneofDecl: OneofDescriptorProto[]; - options?: MessageOptions; - reservedRange: DescriptorProto_ReservedRange[]; - /** - * Reserved field names, which may not be used by fields in the same message. - * A given name may only be reserved once. - */ - reservedName: string[]; -} -/** Describes a message type. */ -export interface DescriptorProtoSDKType { - name: string; - field: FieldDescriptorProtoSDKType[]; - extension: FieldDescriptorProtoSDKType[]; - nested_type: DescriptorProtoSDKType[]; - enum_type: EnumDescriptorProtoSDKType[]; - extension_range: DescriptorProto_ExtensionRangeSDKType[]; - oneof_decl: OneofDescriptorProtoSDKType[]; - options?: MessageOptionsSDKType; - reserved_range: DescriptorProto_ReservedRangeSDKType[]; - reserved_name: string[]; -} -export interface DescriptorProto_ExtensionRange { - /** Inclusive. */ - start: number; - /** Exclusive. */ - end: number; - options?: ExtensionRangeOptions; -} -export interface DescriptorProto_ExtensionRangeSDKType { - start: number; - end: number; - options?: ExtensionRangeOptionsSDKType; -} -/** - * Range of reserved tag numbers. Reserved tag numbers may not be used by - * fields or extension ranges in the same message. Reserved ranges may - * not overlap. - */ -export interface DescriptorProto_ReservedRange { - /** Inclusive. */ - start: number; - /** Exclusive. */ - end: number; -} -/** - * Range of reserved tag numbers. Reserved tag numbers may not be used by - * fields or extension ranges in the same message. Reserved ranges may - * not overlap. - */ -export interface DescriptorProto_ReservedRangeSDKType { - start: number; - end: number; -} -export interface ExtensionRangeOptions { - /** The parser stores options it doesn't recognize here. See above. */ - uninterpretedOption: UninterpretedOption[]; -} -export interface ExtensionRangeOptionsSDKType { - uninterpreted_option: UninterpretedOptionSDKType[]; -} -/** Describes a field within a message. */ -export interface FieldDescriptorProto { - name: string; - number: number; - label: FieldDescriptorProto_Label; - /** - * If type_name is set, this need not be set. If both this and type_name - * are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP. - */ - type: FieldDescriptorProto_Type; - /** - * For message and enum types, this is the name of the type. If the name - * starts with a '.', it is fully-qualified. Otherwise, C++-like scoping - * rules are used to find the type (i.e. first the nested types within this - * message are searched, then within the parent, on up to the root - * namespace). - */ - typeName: string; - /** - * For extensions, this is the name of the type being extended. It is - * resolved in the same manner as type_name. - */ - extendee: string; - /** - * For numeric types, contains the original text representation of the value. - * For booleans, "true" or "false". - * For strings, contains the default text contents (not escaped in any way). - * For bytes, contains the C escaped value. All bytes >= 128 are escaped. - * TODO(kenton): Base-64 encode? - */ - defaultValue: string; - /** - * If set, gives the index of a oneof in the containing type's oneof_decl - * list. This field is a member of that oneof. - */ - oneofIndex: number; - /** - * JSON name of this field. The value is set by protocol compiler. If the - * user has set a "json_name" option on this field, that option's value - * will be used. Otherwise, it's deduced from the field's name by converting - * it to camelCase. - */ - jsonName: string; - options?: FieldOptions; -} -/** Describes a field within a message. */ -export interface FieldDescriptorProtoSDKType { - name: string; - number: number; - label: FieldDescriptorProto_Label; - type: FieldDescriptorProto_Type; - type_name: string; - extendee: string; - default_value: string; - oneof_index: number; - json_name: string; - options?: FieldOptionsSDKType; -} -/** Describes a oneof. */ -export interface OneofDescriptorProto { - name: string; - options?: OneofOptions; -} -/** Describes a oneof. */ -export interface OneofDescriptorProtoSDKType { - name: string; - options?: OneofOptionsSDKType; -} -/** Describes an enum type. */ -export interface EnumDescriptorProto { - name: string; - value: EnumValueDescriptorProto[]; - options?: EnumOptions; - /** - * Range of reserved numeric values. Reserved numeric values may not be used - * by enum values in the same enum declaration. Reserved ranges may not - * overlap. - */ - reservedRange: EnumDescriptorProto_EnumReservedRange[]; - /** - * Reserved enum value names, which may not be reused. A given name may only - * be reserved once. - */ - reservedName: string[]; -} -/** Describes an enum type. */ -export interface EnumDescriptorProtoSDKType { - name: string; - value: EnumValueDescriptorProtoSDKType[]; - options?: EnumOptionsSDKType; - reserved_range: EnumDescriptorProto_EnumReservedRangeSDKType[]; - reserved_name: string[]; -} -/** - * Range of reserved numeric values. Reserved values may not be used by - * entries in the same enum. Reserved ranges may not overlap. - * - * Note that this is distinct from DescriptorProto.ReservedRange in that it - * is inclusive such that it can appropriately represent the entire int32 - * domain. - */ -export interface EnumDescriptorProto_EnumReservedRange { - /** Inclusive. */ - start: number; - /** Inclusive. */ - end: number; -} -/** - * Range of reserved numeric values. Reserved values may not be used by - * entries in the same enum. Reserved ranges may not overlap. - * - * Note that this is distinct from DescriptorProto.ReservedRange in that it - * is inclusive such that it can appropriately represent the entire int32 - * domain. - */ -export interface EnumDescriptorProto_EnumReservedRangeSDKType { - start: number; - end: number; -} -/** Describes a value within an enum. */ -export interface EnumValueDescriptorProto { - name: string; - number: number; - options?: EnumValueOptions; -} -/** Describes a value within an enum. */ -export interface EnumValueDescriptorProtoSDKType { - name: string; - number: number; - options?: EnumValueOptionsSDKType; -} -/** Describes a service. */ -export interface ServiceDescriptorProto { - name: string; - method: MethodDescriptorProto[]; - options?: ServiceOptions; -} -/** Describes a service. */ -export interface ServiceDescriptorProtoSDKType { - name: string; - method: MethodDescriptorProtoSDKType[]; - options?: ServiceOptionsSDKType; -} -/** Describes a method of a service. */ -export interface MethodDescriptorProto { - name: string; - /** - * Input and output type names. These are resolved in the same way as - * FieldDescriptorProto.type_name, but must refer to a message type. - */ - inputType: string; - outputType: string; - options?: MethodOptions; - /** Identifies if client streams multiple client messages */ - clientStreaming: boolean; - /** Identifies if server streams multiple server messages */ - serverStreaming: boolean; -} -/** Describes a method of a service. */ -export interface MethodDescriptorProtoSDKType { - name: string; - input_type: string; - output_type: string; - options?: MethodOptionsSDKType; - client_streaming: boolean; - server_streaming: boolean; -} -export interface FileOptions { - /** - * Sets the Java package where classes generated from this .proto will be - * placed. By default, the proto package is used, but this is often - * inappropriate because proto packages do not normally start with backwards - * domain names. - */ - javaPackage: string; - /** - * If set, all the classes from the .proto file are wrapped in a single - * outer class with the given name. This applies to both Proto1 - * (equivalent to the old "--one_java_file" option) and Proto2 (where - * a .proto always translates to a single class, but you may want to - * explicitly choose the class name). - */ - javaOuterClassname: string; - /** - * If set true, then the Java code generator will generate a separate .java - * file for each top-level message, enum, and service defined in the .proto - * file. Thus, these types will *not* be nested inside the outer class - * named by java_outer_classname. However, the outer class will still be - * generated to contain the file's getDescriptor() method as well as any - * top-level extensions defined in the file. - */ - javaMultipleFiles: boolean; - /** This option does nothing. */ - /** @deprecated */ - javaGenerateEqualsAndHash: boolean; - /** - * If set true, then the Java2 code generator will generate code that - * throws an exception whenever an attempt is made to assign a non-UTF-8 - * byte sequence to a string field. - * Message reflection will do the same. - * However, an extension field still accepts non-UTF-8 byte sequences. - * This option has no effect on when used with the lite runtime. - */ - javaStringCheckUtf8: boolean; - optimizeFor: FileOptions_OptimizeMode; - /** - * Sets the Go package where structs generated from this .proto will be - * placed. If omitted, the Go package will be derived from the following: - * - The basename of the package import path, if provided. - * - Otherwise, the package statement in the .proto file, if present. - * - Otherwise, the basename of the .proto file, without extension. - */ - goPackage: string; - /** - * Should generic services be generated in each language? "Generic" services - * are not specific to any particular RPC system. They are generated by the - * main code generators in each language (without additional plugins). - * Generic services were the only kind of service generation supported by - * early versions of google.protobuf. - * - * Generic services are now considered deprecated in favor of using plugins - * that generate code specific to your particular RPC system. Therefore, - * these default to false. Old code which depends on generic services should - * explicitly set them to true. - */ - ccGenericServices: boolean; - javaGenericServices: boolean; - pyGenericServices: boolean; - phpGenericServices: boolean; - /** - * Is this file deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for everything in the file, or it will be completely ignored; in the very - * least, this is a formalization for deprecating files. - */ - deprecated: boolean; - /** - * Enables the use of arenas for the proto messages in this file. This applies - * only to generated classes for C++. - */ - ccEnableArenas: boolean; - /** - * Sets the objective c class prefix which is prepended to all objective c - * generated classes from this .proto. There is no default. - */ - objcClassPrefix: string; - /** Namespace for generated classes; defaults to the package. */ - csharpNamespace: string; - /** - * By default Swift generators will take the proto package and CamelCase it - * replacing '.' with underscore and use that to prefix the types/symbols - * defined. When this options is provided, they will use this value instead - * to prefix the types/symbols defined. - */ - swiftPrefix: string; - /** - * Sets the php class prefix which is prepended to all php generated classes - * from this .proto. Default is empty. - */ - phpClassPrefix: string; - /** - * Use this option to change the namespace of php generated classes. Default - * is empty. When this option is empty, the package name will be used for - * determining the namespace. - */ - phpNamespace: string; - /** - * Use this option to change the namespace of php generated metadata classes. - * Default is empty. When this option is empty, the proto file name will be - * used for determining the namespace. - */ - phpMetadataNamespace: string; - /** - * Use this option to change the package of ruby generated classes. Default - * is empty. When this option is not set, the package name will be used for - * determining the ruby package. - */ - rubyPackage: string; - /** - * The parser stores options it doesn't recognize here. - * See the documentation for the "Options" section above. - */ - uninterpretedOption: UninterpretedOption[]; -} -export interface FileOptionsSDKType { - java_package: string; - java_outer_classname: string; - java_multiple_files: boolean; - /** @deprecated */ - java_generate_equals_and_hash: boolean; - java_string_check_utf8: boolean; - optimize_for: FileOptions_OptimizeMode; - go_package: string; - cc_generic_services: boolean; - java_generic_services: boolean; - py_generic_services: boolean; - php_generic_services: boolean; - deprecated: boolean; - cc_enable_arenas: boolean; - objc_class_prefix: string; - csharp_namespace: string; - swift_prefix: string; - php_class_prefix: string; - php_namespace: string; - php_metadata_namespace: string; - ruby_package: string; - uninterpreted_option: UninterpretedOptionSDKType[]; -} -export interface MessageOptions { - /** - * Set true to use the old proto1 MessageSet wire format for extensions. - * This is provided for backwards-compatibility with the MessageSet wire - * format. You should not use this for any other reason: It's less - * efficient, has fewer features, and is more complicated. - * - * The message must be defined exactly as follows: - * message Foo { - * option message_set_wire_format = true; - * extensions 4 to max; - * } - * Note that the message cannot have any defined fields; MessageSets only - * have extensions. - * - * All extensions of your type must be singular messages; e.g. they cannot - * be int32s, enums, or repeated messages. - * - * Because this is an option, the above two restrictions are not enforced by - * the protocol compiler. - */ - messageSetWireFormat: boolean; - /** - * Disables the generation of the standard "descriptor()" accessor, which can - * conflict with a field of the same name. This is meant to make migration - * from proto1 easier; new code should avoid fields named "descriptor". - */ - noStandardDescriptorAccessor: boolean; - /** - * Is this message deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the message, or it will be completely ignored; in the very least, - * this is a formalization for deprecating messages. - */ - deprecated: boolean; - /** - * Whether the message is an automatically generated map entry type for the - * maps field. - * - * For maps fields: - * map map_field = 1; - * The parsed descriptor looks like: - * message MapFieldEntry { - * option map_entry = true; - * optional KeyType key = 1; - * optional ValueType value = 2; - * } - * repeated MapFieldEntry map_field = 1; - * - * Implementations may choose not to generate the map_entry=true message, but - * use a native map in the target language to hold the keys and values. - * The reflection APIs in such implementations still need to work as - * if the field is a repeated message field. - * - * NOTE: Do not set the option in .proto files. Always use the maps syntax - * instead. The option should only be implicitly set by the proto compiler - * parser. - */ - mapEntry: boolean; - /** The parser stores options it doesn't recognize here. See above. */ - uninterpretedOption: UninterpretedOption[]; -} -export interface MessageOptionsSDKType { - message_set_wire_format: boolean; - no_standard_descriptor_accessor: boolean; - deprecated: boolean; - map_entry: boolean; - uninterpreted_option: UninterpretedOptionSDKType[]; -} -export interface FieldOptions { - /** - * The ctype option instructs the C++ code generator to use a different - * representation of the field than it normally would. See the specific - * options below. This option is not yet implemented in the open source - * release -- sorry, we'll try to include it in a future version! - */ - ctype: FieldOptions_CType; - /** - * The packed option can be enabled for repeated primitive fields to enable - * a more efficient representation on the wire. Rather than repeatedly - * writing the tag and type for each element, the entire array is encoded as - * a single length-delimited blob. In proto3, only explicit setting it to - * false will avoid using packed encoding. - */ - packed: boolean; - /** - * The jstype option determines the JavaScript type used for values of the - * field. The option is permitted only for 64 bit integral and fixed types - * (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING - * is represented as JavaScript string, which avoids loss of precision that - * can happen when a large value is converted to a floating point JavaScript. - * Specifying JS_NUMBER for the jstype causes the generated JavaScript code to - * use the JavaScript "number" type. The behavior of the default option - * JS_NORMAL is implementation dependent. - * - * This option is an enum to permit additional types to be added, e.g. - * goog.math.Integer. - */ - jstype: FieldOptions_JSType; - /** - * Should this field be parsed lazily? Lazy applies only to message-type - * fields. It means that when the outer message is initially parsed, the - * inner message's contents will not be parsed but instead stored in encoded - * form. The inner message will actually be parsed when it is first accessed. - * - * This is only a hint. Implementations are free to choose whether to use - * eager or lazy parsing regardless of the value of this option. However, - * setting this option true suggests that the protocol author believes that - * using lazy parsing on this field is worth the additional bookkeeping - * overhead typically needed to implement it. - * - * This option does not affect the public interface of any generated code; - * all method signatures remain the same. Furthermore, thread-safety of the - * interface is not affected by this option; const methods remain safe to - * call from multiple threads concurrently, while non-const methods continue - * to require exclusive access. - * - * - * Note that implementations may choose not to check required fields within - * a lazy sub-message. That is, calling IsInitialized() on the outer message - * may return true even if the inner message has missing required fields. - * This is necessary because otherwise the inner message would have to be - * parsed in order to perform the check, defeating the purpose of lazy - * parsing. An implementation which chooses not to check required fields - * must be consistent about it. That is, for any particular sub-message, the - * implementation must either *always* check its required fields, or *never* - * check its required fields, regardless of whether or not the message has - * been parsed. - */ - lazy: boolean; - /** - * Is this field deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for accessors, or it will be completely ignored; in the very least, this - * is a formalization for deprecating fields. - */ - deprecated: boolean; - /** For Google-internal migration only. Do not use. */ - weak: boolean; - /** The parser stores options it doesn't recognize here. See above. */ - uninterpretedOption: UninterpretedOption[]; -} -export interface FieldOptionsSDKType { - ctype: FieldOptions_CType; - packed: boolean; - jstype: FieldOptions_JSType; - lazy: boolean; - deprecated: boolean; - weak: boolean; - uninterpreted_option: UninterpretedOptionSDKType[]; -} -export interface OneofOptions { - /** The parser stores options it doesn't recognize here. See above. */ - uninterpretedOption: UninterpretedOption[]; -} -export interface OneofOptionsSDKType { - uninterpreted_option: UninterpretedOptionSDKType[]; -} -export interface EnumOptions { - /** - * Set this option to true to allow mapping different tag names to the same - * value. - */ - allowAlias: boolean; - /** - * Is this enum deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the enum, or it will be completely ignored; in the very least, this - * is a formalization for deprecating enums. - */ - deprecated: boolean; - /** The parser stores options it doesn't recognize here. See above. */ - uninterpretedOption: UninterpretedOption[]; -} -export interface EnumOptionsSDKType { - allow_alias: boolean; - deprecated: boolean; - uninterpreted_option: UninterpretedOptionSDKType[]; -} -export interface EnumValueOptions { - /** - * Is this enum value deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the enum value, or it will be completely ignored; in the very least, - * this is a formalization for deprecating enum values. - */ - deprecated: boolean; - /** The parser stores options it doesn't recognize here. See above. */ - uninterpretedOption: UninterpretedOption[]; -} -export interface EnumValueOptionsSDKType { - deprecated: boolean; - uninterpreted_option: UninterpretedOptionSDKType[]; -} -export interface ServiceOptions { - /** - * Is this service deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the service, or it will be completely ignored; in the very least, - * this is a formalization for deprecating services. - */ - deprecated: boolean; - /** The parser stores options it doesn't recognize here. See above. */ - uninterpretedOption: UninterpretedOption[]; -} -export interface ServiceOptionsSDKType { - deprecated: boolean; - uninterpreted_option: UninterpretedOptionSDKType[]; -} -export interface MethodOptions { - /** - * Is this method deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the method, or it will be completely ignored; in the very least, - * this is a formalization for deprecating methods. - */ - deprecated: boolean; - idempotencyLevel: MethodOptions_IdempotencyLevel; - /** The parser stores options it doesn't recognize here. See above. */ - uninterpretedOption: UninterpretedOption[]; -} -export interface MethodOptionsSDKType { - deprecated: boolean; - idempotency_level: MethodOptions_IdempotencyLevel; - uninterpreted_option: UninterpretedOptionSDKType[]; -} -/** - * A message representing a option the parser does not recognize. This only - * appears in options protos created by the compiler::Parser class. - * DescriptorPool resolves these when building Descriptor objects. Therefore, - * options protos in descriptor objects (e.g. returned by Descriptor::options(), - * or produced by Descriptor::CopyTo()) will never have UninterpretedOptions - * in them. - */ -export interface UninterpretedOption { - name: UninterpretedOption_NamePart[]; - /** - * The value of the uninterpreted option, in whatever type the tokenizer - * identified it as during parsing. Exactly one of these should be set. - */ - identifierValue: string; - positiveIntValue: Long; - negativeIntValue: Long; - doubleValue: number; - stringValue: Uint8Array; - aggregateValue: string; -} -/** - * A message representing a option the parser does not recognize. This only - * appears in options protos created by the compiler::Parser class. - * DescriptorPool resolves these when building Descriptor objects. Therefore, - * options protos in descriptor objects (e.g. returned by Descriptor::options(), - * or produced by Descriptor::CopyTo()) will never have UninterpretedOptions - * in them. - */ -export interface UninterpretedOptionSDKType { - name: UninterpretedOption_NamePartSDKType[]; - identifier_value: string; - positive_int_value: Long; - negative_int_value: Long; - double_value: number; - string_value: Uint8Array; - aggregate_value: string; -} -/** - * The name of the uninterpreted option. Each string represents a segment in - * a dot-separated name. is_extension is true iff a segment represents an - * extension (denoted with parentheses in options specs in .proto files). - * E.g.,{ ["foo", false], ["bar.baz", true], ["qux", false] } represents - * "foo.(bar.baz).qux". - */ -export interface UninterpretedOption_NamePart { - namePart: string; - isExtension: boolean; -} -/** - * 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 { - 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 { - path: number[]; - span: number[]; - leading_comments: string; - trailing_comments: string; - leading_detached_comments: string[]; -} -/** - * Describes the relationship between generated code and its original source - * file. A GeneratedCodeInfo message is associated with only one generated - * source file, but may contain references to different source .proto files. - */ -export interface GeneratedCodeInfo { - /** - * An Annotation connects some span of text in generated code to an element - * of its generating .proto file. - */ - annotation: GeneratedCodeInfo_Annotation[]; -} -/** - * Describes the relationship between generated code and its original source - * file. A GeneratedCodeInfo message is associated with only one generated - * source file, but may contain references to different source .proto files. - */ -export interface GeneratedCodeInfoSDKType { - annotation: GeneratedCodeInfo_AnnotationSDKType[]; -} -export interface GeneratedCodeInfo_Annotation { - /** - * Identifies the element in the original source .proto file. This field - * is formatted the same as SourceCodeInfo.Location.path. - */ - path: number[]; - /** Identifies the filesystem path to the original source .proto. */ - sourceFile: string; - /** - * Identifies the starting offset in bytes in the generated code - * that relates to the identified object. - */ - begin: number; - /** - * Identifies the ending offset in bytes in the generated code that - * relates to the identified offset. The end offset should be one past - * the last relevant byte (so the length of the text = end - begin). - */ - end: number; -} -export interface GeneratedCodeInfo_AnnotationSDKType { - path: number[]; - source_file: string; - begin: number; - end: number; -} -export declare const FileDescriptorSet: { - encode(message: FileDescriptorSet, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): FileDescriptorSet; - fromPartial(object: DeepPartial): FileDescriptorSet; -}; -export declare const FileDescriptorProto: { - encode(message: FileDescriptorProto, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): FileDescriptorProto; - fromPartial(object: DeepPartial): FileDescriptorProto; -}; -export declare const DescriptorProto: { - encode(message: DescriptorProto, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DescriptorProto; - fromPartial(object: DeepPartial): DescriptorProto; -}; -export declare const DescriptorProto_ExtensionRange: { - encode(message: DescriptorProto_ExtensionRange, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DescriptorProto_ExtensionRange; - fromPartial(object: DeepPartial): DescriptorProto_ExtensionRange; -}; -export declare const DescriptorProto_ReservedRange: { - encode(message: DescriptorProto_ReservedRange, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DescriptorProto_ReservedRange; - fromPartial(object: DeepPartial): DescriptorProto_ReservedRange; -}; -export declare const ExtensionRangeOptions: { - encode(message: ExtensionRangeOptions, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ExtensionRangeOptions; - fromPartial(object: DeepPartial): ExtensionRangeOptions; -}; -export declare const FieldDescriptorProto: { - encode(message: FieldDescriptorProto, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): FieldDescriptorProto; - fromPartial(object: DeepPartial): FieldDescriptorProto; -}; -export declare const OneofDescriptorProto: { - encode(message: OneofDescriptorProto, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): OneofDescriptorProto; - fromPartial(object: DeepPartial): OneofDescriptorProto; -}; -export declare const EnumDescriptorProto: { - encode(message: EnumDescriptorProto, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EnumDescriptorProto; - fromPartial(object: DeepPartial): EnumDescriptorProto; -}; -export declare const EnumDescriptorProto_EnumReservedRange: { - encode(message: EnumDescriptorProto_EnumReservedRange, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EnumDescriptorProto_EnumReservedRange; - fromPartial(object: DeepPartial): EnumDescriptorProto_EnumReservedRange; -}; -export declare const EnumValueDescriptorProto: { - encode(message: EnumValueDescriptorProto, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EnumValueDescriptorProto; - fromPartial(object: DeepPartial): EnumValueDescriptorProto; -}; -export declare const ServiceDescriptorProto: { - encode(message: ServiceDescriptorProto, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ServiceDescriptorProto; - fromPartial(object: DeepPartial): ServiceDescriptorProto; -}; -export declare const MethodDescriptorProto: { - encode(message: MethodDescriptorProto, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MethodDescriptorProto; - fromPartial(object: DeepPartial): MethodDescriptorProto; -}; -export declare const FileOptions: { - encode(message: FileOptions, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): FileOptions; - fromPartial(object: DeepPartial): FileOptions; -}; -export declare const MessageOptions: { - encode(message: MessageOptions, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MessageOptions; - fromPartial(object: DeepPartial): MessageOptions; -}; -export declare const FieldOptions: { - encode(message: FieldOptions, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): FieldOptions; - fromPartial(object: DeepPartial): FieldOptions; -}; -export declare const OneofOptions: { - encode(message: OneofOptions, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): OneofOptions; - fromPartial(object: DeepPartial): OneofOptions; -}; -export declare const EnumOptions: { - encode(message: EnumOptions, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EnumOptions; - fromPartial(object: DeepPartial): EnumOptions; -}; -export declare const EnumValueOptions: { - encode(message: EnumValueOptions, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EnumValueOptions; - fromPartial(object: DeepPartial): EnumValueOptions; -}; -export declare const ServiceOptions: { - encode(message: ServiceOptions, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ServiceOptions; - fromPartial(object: DeepPartial): ServiceOptions; -}; -export declare const MethodOptions: { - encode(message: MethodOptions, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MethodOptions; - fromPartial(object: DeepPartial): MethodOptions; -}; -export declare const UninterpretedOption: { - encode(message: UninterpretedOption, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): UninterpretedOption; - fromPartial(object: DeepPartial): UninterpretedOption; -}; -export declare const UninterpretedOption_NamePart: { - encode(message: UninterpretedOption_NamePart, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): UninterpretedOption_NamePart; - fromPartial(object: DeepPartial): UninterpretedOption_NamePart; -}; -export declare const SourceCodeInfo: { - encode(message: SourceCodeInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SourceCodeInfo; - fromPartial(object: DeepPartial): SourceCodeInfo; -}; -export declare const SourceCodeInfo_Location: { - encode(message: SourceCodeInfo_Location, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SourceCodeInfo_Location; - fromPartial(object: DeepPartial): SourceCodeInfo_Location; -}; -export declare const GeneratedCodeInfo: { - encode(message: GeneratedCodeInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GeneratedCodeInfo; - fromPartial(object: DeepPartial): GeneratedCodeInfo; -}; -export declare const GeneratedCodeInfo_Annotation: { - encode(message: GeneratedCodeInfo_Annotation, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GeneratedCodeInfo_Annotation; - fromPartial(object: DeepPartial): GeneratedCodeInfo_Annotation; -}; diff --git a/packages/codegen/dist/google/protobuf/duration.d.ts b/packages/codegen/dist/google/protobuf/duration.d.ts deleted file mode 100644 index 7b970f92..00000000 --- a/packages/codegen/dist/google/protobuf/duration.d.ts +++ /dev/null @@ -1,149 +0,0 @@ -/// -import { Long, DeepPartial } from "../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * A Duration represents a signed, fixed-length span of time represented - * as a count of seconds and fractions of seconds at nanosecond - * resolution. It is independent of any calendar and concepts like "day" - * or "month". It is related to Timestamp in that the difference between - * two Timestamp values is a Duration and it can be added or subtracted - * from a Timestamp. Range is approximately +-10,000 years. - * - * # Examples - * - * Example 1: Compute Duration from two Timestamps in pseudo code. - * - * Timestamp start = ...; - * Timestamp end = ...; - * Duration duration = ...; - * - * duration.seconds = end.seconds - start.seconds; - * duration.nanos = end.nanos - start.nanos; - * - * if (duration.seconds < 0 && duration.nanos > 0) { - * duration.seconds += 1; - * duration.nanos -= 1000000000; - * } else if (durations.seconds > 0 && duration.nanos < 0) { - * duration.seconds -= 1; - * duration.nanos += 1000000000; - * } - * - * Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. - * - * Timestamp start = ...; - * Duration duration = ...; - * Timestamp end = ...; - * - * end.seconds = start.seconds + duration.seconds; - * end.nanos = start.nanos + duration.nanos; - * - * if (end.nanos < 0) { - * end.seconds -= 1; - * end.nanos += 1000000000; - * } else if (end.nanos >= 1000000000) { - * end.seconds += 1; - * end.nanos -= 1000000000; - * } - * - * Example 3: Compute Duration from datetime.timedelta in Python. - * - * td = datetime.timedelta(days=3, minutes=10) - * duration = Duration() - * duration.FromTimedelta(td) - * - * # JSON Mapping - * - * In JSON format, the Duration type is encoded as a string rather than an - * object, where the string ends in the suffix "s" (indicating seconds) and - * is preceded by the number of seconds, with nanoseconds expressed as - * fractional seconds. For example, 3 seconds with 0 nanoseconds should be - * encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should - * be expressed in JSON format as "3.000000001s", and 3 seconds and 1 - * microsecond should be expressed in JSON format as "3.000001s". - */ -export interface Duration { - /** - * Signed seconds of the span of time. Must be from -315,576,000,000 - * to +315,576,000,000 inclusive. Note: these bounds are computed from: - * 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years - */ - seconds: Long; - /** - * Signed fractions of a second at nanosecond resolution of the span - * of time. Durations less than one second are represented with a 0 - * `seconds` field and a positive or negative `nanos` field. For durations - * of one second or more, a non-zero value for the `nanos` field must be - * of the same sign as the `seconds` field. Must be from -999,999,999 - * to +999,999,999 inclusive. - */ - nanos: number; -} -/** - * A Duration represents a signed, fixed-length span of time represented - * as a count of seconds and fractions of seconds at nanosecond - * resolution. It is independent of any calendar and concepts like "day" - * or "month". It is related to Timestamp in that the difference between - * two Timestamp values is a Duration and it can be added or subtracted - * from a Timestamp. Range is approximately +-10,000 years. - * - * # Examples - * - * Example 1: Compute Duration from two Timestamps in pseudo code. - * - * Timestamp start = ...; - * Timestamp end = ...; - * Duration duration = ...; - * - * duration.seconds = end.seconds - start.seconds; - * duration.nanos = end.nanos - start.nanos; - * - * if (duration.seconds < 0 && duration.nanos > 0) { - * duration.seconds += 1; - * duration.nanos -= 1000000000; - * } else if (durations.seconds > 0 && duration.nanos < 0) { - * duration.seconds -= 1; - * duration.nanos += 1000000000; - * } - * - * Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. - * - * Timestamp start = ...; - * Duration duration = ...; - * Timestamp end = ...; - * - * end.seconds = start.seconds + duration.seconds; - * end.nanos = start.nanos + duration.nanos; - * - * if (end.nanos < 0) { - * end.seconds -= 1; - * end.nanos += 1000000000; - * } else if (end.nanos >= 1000000000) { - * end.seconds += 1; - * end.nanos -= 1000000000; - * } - * - * Example 3: Compute Duration from datetime.timedelta in Python. - * - * td = datetime.timedelta(days=3, minutes=10) - * duration = Duration() - * duration.FromTimedelta(td) - * - * # JSON Mapping - * - * In JSON format, the Duration type is encoded as a string rather than an - * object, where the string ends in the suffix "s" (indicating seconds) and - * is preceded by the number of seconds, with nanoseconds expressed as - * fractional seconds. For example, 3 seconds with 0 nanoseconds should be - * encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should - * be expressed in JSON format as "3.000000001s", and 3 seconds and 1 - * microsecond should be expressed in JSON format as "3.000001s". - */ -export interface DurationSDKType { - seconds: Long; - nanos: number; -} -export declare const Duration: { - encode(message: Duration, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Duration; - fromPartial(object: DeepPartial): Duration; -}; diff --git a/packages/codegen/dist/google/protobuf/empty.d.ts b/packages/codegen/dist/google/protobuf/empty.d.ts deleted file mode 100644 index 91c16741..00000000 --- a/packages/codegen/dist/google/protobuf/empty.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../helpers"; -/** - * 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 { -} -export declare const Empty: { - encode(_: Empty, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Empty; - fromPartial(_: DeepPartial): Empty; -}; diff --git a/packages/codegen/dist/google/protobuf/timestamp.d.ts b/packages/codegen/dist/google/protobuf/timestamp.d.ts deleted file mode 100644 index 523728e1..00000000 --- a/packages/codegen/dist/google/protobuf/timestamp.d.ts +++ /dev/null @@ -1,195 +0,0 @@ -/// -import { Long, DeepPartial } from "../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * A Timestamp represents a point in time independent of any time zone or local - * calendar, encoded as a count of seconds and fractions of seconds at - * nanosecond resolution. The count is relative to an epoch at UTC midnight on - * January 1, 1970, in the proleptic Gregorian calendar which extends the - * Gregorian calendar backwards to year one. - * - * All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap - * second table is needed for interpretation, using a [24-hour linear - * smear](https://developers.google.com/time/smear). - * - * The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - * restricting to that range, we ensure that we can convert to and from [RFC - * 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - * - * # Examples - * - * Example 1: Compute Timestamp from POSIX `time()`. - * - * Timestamp timestamp; - * timestamp.set_seconds(time(NULL)); - * timestamp.set_nanos(0); - * - * Example 2: Compute Timestamp from POSIX `gettimeofday()`. - * - * struct timeval tv; - * gettimeofday(&tv, NULL); - * - * Timestamp timestamp; - * timestamp.set_seconds(tv.tv_sec); - * timestamp.set_nanos(tv.tv_usec * 1000); - * - * Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - * - * FILETIME ft; - * GetSystemTimeAsFileTime(&ft); - * UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - * - * // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - * // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - * Timestamp timestamp; - * timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - * timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - * - * Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - * - * long millis = System.currentTimeMillis(); - * - * Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - * .setNanos((int) ((millis % 1000) * 1000000)).build(); - * - * - * Example 5: Compute Timestamp from current time in Python. - * - * timestamp = Timestamp() - * timestamp.GetCurrentTime() - * - * # JSON Mapping - * - * In JSON format, the Timestamp type is encoded as a string in the - * [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - * format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z" - * where {year} is always expressed using four digits while {month}, {day}, - * {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - * seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - * are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone - * is required. A proto3 JSON serializer should always use UTC (as indicated by - * "Z") when printing the Timestamp type and a proto3 JSON parser should be - * able to accept both UTC and other timezones (as indicated by an offset). - * - * For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past - * 01:30 UTC on January 15, 2017. - * - * In JavaScript, one can convert a Date object to this format using the - * standard - * [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - * method. In Python, a standard `datetime.datetime` object can be converted - * to this format using - * [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - * the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - * the Joda Time's [`ISODateTimeFormat.dateTime()`]( - * http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D - * ) to obtain a formatter capable of generating timestamps in this format. - */ -export interface Timestamp { - /** - * Represents seconds of UTC time since Unix epoch - * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to - * 9999-12-31T23:59:59Z inclusive. - */ - seconds: Long; - /** - * Non-negative fractions of a second at nanosecond resolution. Negative - * second values with fractions must still have non-negative nanos values - * that count forward in time. Must be from 0 to 999,999,999 - * inclusive. - */ - nanos: number; -} -/** - * A Timestamp represents a point in time independent of any time zone or local - * calendar, encoded as a count of seconds and fractions of seconds at - * nanosecond resolution. The count is relative to an epoch at UTC midnight on - * January 1, 1970, in the proleptic Gregorian calendar which extends the - * Gregorian calendar backwards to year one. - * - * All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap - * second table is needed for interpretation, using a [24-hour linear - * smear](https://developers.google.com/time/smear). - * - * The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - * restricting to that range, we ensure that we can convert to and from [RFC - * 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - * - * # Examples - * - * Example 1: Compute Timestamp from POSIX `time()`. - * - * Timestamp timestamp; - * timestamp.set_seconds(time(NULL)); - * timestamp.set_nanos(0); - * - * Example 2: Compute Timestamp from POSIX `gettimeofday()`. - * - * struct timeval tv; - * gettimeofday(&tv, NULL); - * - * Timestamp timestamp; - * timestamp.set_seconds(tv.tv_sec); - * timestamp.set_nanos(tv.tv_usec * 1000); - * - * Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - * - * FILETIME ft; - * GetSystemTimeAsFileTime(&ft); - * UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - * - * // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - * // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - * Timestamp timestamp; - * timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - * timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - * - * Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - * - * long millis = System.currentTimeMillis(); - * - * Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - * .setNanos((int) ((millis % 1000) * 1000000)).build(); - * - * - * Example 5: Compute Timestamp from current time in Python. - * - * timestamp = Timestamp() - * timestamp.GetCurrentTime() - * - * # JSON Mapping - * - * In JSON format, the Timestamp type is encoded as a string in the - * [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - * format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z" - * where {year} is always expressed using four digits while {month}, {day}, - * {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - * seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - * are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone - * is required. A proto3 JSON serializer should always use UTC (as indicated by - * "Z") when printing the Timestamp type and a proto3 JSON parser should be - * able to accept both UTC and other timezones (as indicated by an offset). - * - * For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past - * 01:30 UTC on January 15, 2017. - * - * In JavaScript, one can convert a Date object to this format using the - * standard - * [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - * method. In Python, a standard `datetime.datetime` object can be converted - * to this format using - * [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - * the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - * the Joda Time's [`ISODateTimeFormat.dateTime()`]( - * http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D - * ) to obtain a formatter capable of generating timestamps in this format. - */ -export interface TimestampSDKType { - seconds: Long; - nanos: number; -} -export declare const Timestamp: { - encode(message: Timestamp, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Timestamp; - fromPartial(object: DeepPartial): Timestamp; -}; diff --git a/packages/codegen/dist/helpers.d.ts b/packages/codegen/dist/helpers.d.ts deleted file mode 100644 index 02a5732c..00000000 --- a/packages/codegen/dist/helpers.d.ts +++ /dev/null @@ -1,82 +0,0 @@ -/** -* This file and any referenced files were automatically generated by @osmonauts/telescope@0.88.2 -* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain -* and run the transpile command or yarn proto command to regenerate this bundle. -*/ -import Long from 'long'; -export { Long }; -export declare function bytesFromBase64(b64: string): Uint8Array; -export declare function base64FromBytes(arr: Uint8Array): string; -export interface AminoHeight { - readonly revision_number?: string; - readonly revision_height?: string; -} -export declare function omitDefault(input: T): T | undefined; -interface Duration { - /** - * Signed seconds of the span of time. Must be from -315,576,000,000 - * to +315,576,000,000 inclusive. Note: these bounds are computed from: - * 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years - */ - seconds: Long; - /** - * Signed fractions of a second at nanosecond resolution of the span - * of time. Durations less than one second are represented with a 0 - * `seconds` field and a positive or negative `nanos` field. For durations - * of one second or more, a non-zero value for the `nanos` field must be - * of the same sign as the `seconds` field. Must be from -999,999,999 - * to +999,999,999 inclusive. - */ - nanos: number; -} -export declare function toDuration(duration: string): Duration; -export declare function fromDuration(duration: Duration): string; -export declare function isSet(value: any): boolean; -export declare function isObject(value: any): boolean; -export interface PageRequest { - key: Uint8Array; - offset: Long; - limit: Long; - countTotal: boolean; - reverse: boolean; -} -export interface PageRequestParams { - "pagination.key"?: string; - "pagination.offset"?: string; - "pagination.limit"?: string; - "pagination.count_total"?: boolean; - "pagination.reverse"?: boolean; -} -export interface Params { - params: PageRequestParams; -} -export declare const setPaginationParams: (options: Params, pagination?: PageRequest) => Params; -type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; -export type DeepPartial = T extends Builtin ? T : T extends Long ? string | number | Long : T extends Array ? Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { - [K in keyof T]?: DeepPartial; -} : Partial; -type KeysOfUnion = T extends T ? keyof T : never; -export type Exact = P extends Builtin ? P : P & { - [K in keyof P]: Exact; -} & Record>, never>; -export interface Rpc { - request(service: string, method: string, data: Uint8Array): Promise; -} -interface Timestamp { - /** - * Represents seconds of UTC time since Unix epoch - * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to - * 9999-12-31T23:59:59Z inclusive. - */ - seconds: Long; - /** - * Non-negative fractions of a second at nanosecond resolution. Negative - * second values with fractions must still have non-negative nanos values - * that count forward in time. Must be from 0 to 999,999,999 - * inclusive. - */ - nanos: number; -} -export declare function toTimestamp(date: Date): Timestamp; -export declare function fromTimestamp(t: Timestamp): Date; -export declare function fromJsonTimestamp(o: any): Timestamp; diff --git a/packages/codegen/dist/ibc/applications/transfer/v1/genesis.d.ts b/packages/codegen/dist/ibc/applications/transfer/v1/genesis.d.ts deleted file mode 100644 index 4bbee85f..00000000 --- a/packages/codegen/dist/ibc/applications/transfer/v1/genesis.d.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { DenomTrace, DenomTraceSDKType, Params, ParamsSDKType } from "./transfer"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../../helpers"; -/** GenesisState defines the ibc-transfer genesis state */ -export interface GenesisState { - portId: string; - denomTraces: DenomTrace[]; - params?: Params; -} -/** GenesisState defines the ibc-transfer genesis state */ -export interface GenesisStateSDKType { - port_id: string; - denom_traces: DenomTraceSDKType[]; - params?: ParamsSDKType; -} -export declare const GenesisState: { - encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState; - fromPartial(object: DeepPartial): GenesisState; -}; diff --git a/packages/codegen/dist/ibc/applications/transfer/v1/query.d.ts b/packages/codegen/dist/ibc/applications/transfer/v1/query.d.ts deleted file mode 100644 index 9657b84a..00000000 --- a/packages/codegen/dist/ibc/applications/transfer/v1/query.d.ts +++ /dev/null @@ -1,112 +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"; -import { DeepPartial } from "../../../../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: 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; -} -/** - * QueryDenomTraceResponse is the response type for the Query/DenomTrace RPC - * method. - */ -export interface QueryDenomTraceResponseSDKType { - denom_trace?: DenomTraceSDKType; -} -/** - * QueryConnectionsRequest is the request type for the Query/DenomTraces RPC - * method - */ -export interface QueryDenomTracesRequest { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest; -} -/** - * QueryConnectionsRequest is the request type for the Query/DenomTraces RPC - * method - */ -export interface QueryDenomTracesRequestSDKType { - pagination?: PageRequestSDKType; -} -/** - * QueryConnectionsResponse is the response type for the Query/DenomTraces RPC - * method. - */ -export interface QueryDenomTracesResponse { - /** denom_traces returns all denominations trace information. */ - denomTraces: DenomTrace[]; - /** pagination defines the pagination in the response. */ - pagination?: PageResponse; -} -/** - * QueryConnectionsResponse is the response type for the Query/DenomTraces RPC - * method. - */ -export interface QueryDenomTracesResponseSDKType { - denom_traces: DenomTraceSDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ -export interface QueryParamsRequest { -} -/** 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; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ -export interface QueryParamsResponseSDKType { - params?: ParamsSDKType; -} -export declare const QueryDenomTraceRequest: { - encode(message: QueryDenomTraceRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomTraceRequest; - fromPartial(object: DeepPartial): QueryDenomTraceRequest; -}; -export declare const QueryDenomTraceResponse: { - encode(message: QueryDenomTraceResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomTraceResponse; - fromPartial(object: DeepPartial): QueryDenomTraceResponse; -}; -export declare const QueryDenomTracesRequest: { - encode(message: QueryDenomTracesRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomTracesRequest; - fromPartial(object: DeepPartial): QueryDenomTracesRequest; -}; -export declare const QueryDenomTracesResponse: { - encode(message: QueryDenomTracesResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryDenomTracesResponse; - fromPartial(object: DeepPartial): QueryDenomTracesResponse; -}; -export declare const QueryParamsRequest: { - encode(_: QueryParamsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsRequest; - fromPartial(_: DeepPartial): QueryParamsRequest; -}; -export declare const QueryParamsResponse: { - encode(message: QueryParamsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryParamsResponse; - fromPartial(object: DeepPartial): QueryParamsResponse; -}; diff --git a/packages/codegen/dist/ibc/applications/transfer/v1/query.lcd.d.ts b/packages/codegen/dist/ibc/applications/transfer/v1/query.lcd.d.ts deleted file mode 100644 index 41187bb2..00000000 --- a/packages/codegen/dist/ibc/applications/transfer/v1/query.lcd.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { QueryDenomTraceRequest, QueryDenomTraceResponseSDKType, QueryDenomTracesRequest, QueryDenomTracesResponseSDKType, QueryParamsRequest, QueryParamsResponseSDKType } from "./query"; -export declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - denomTrace(params: QueryDenomTraceRequest): Promise; - denomTraces(params?: QueryDenomTracesRequest): Promise; - params(_params?: QueryParamsRequest): Promise; -} diff --git a/packages/codegen/dist/ibc/applications/transfer/v1/query.rpc.Query.d.ts b/packages/codegen/dist/ibc/applications/transfer/v1/query.rpc.Query.d.ts deleted file mode 100644 index d86b260e..00000000 --- a/packages/codegen/dist/ibc/applications/transfer/v1/query.rpc.Query.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { Rpc } from "../../../../helpers"; -import { QueryClient } 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 declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: Rpc); - denomTrace(request: QueryDenomTraceRequest): Promise; - denomTraces(request?: QueryDenomTracesRequest): Promise; - params(request?: QueryParamsRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - denomTrace(request: QueryDenomTraceRequest): Promise; - denomTraces(request?: QueryDenomTracesRequest): Promise; - params(request?: QueryParamsRequest): Promise; -}; diff --git a/packages/codegen/dist/ibc/applications/transfer/v1/transfer.d.ts b/packages/codegen/dist/ibc/applications/transfer/v1/transfer.d.ts deleted file mode 100644 index b756617b..00000000 --- a/packages/codegen/dist/ibc/applications/transfer/v1/transfer.d.ts +++ /dev/null @@ -1,61 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../../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: string; - base_denom: string; -} -/** - * Params defines the set of IBC transfer parameters. - * NOTE: To prevent a single token from being transferred, set the - * TransfersEnabled parameter to true and then set the bank module's SendEnabled - * parameter for the denomination to false. - */ -export interface Params { - /** - * send_enabled enables or disables all cross-chain token transfers from this - * chain. - */ - sendEnabled: boolean; - /** - * receive_enabled enables or disables all cross-chain token transfers to this - * chain. - */ - receiveEnabled: boolean; -} -/** - * Params defines the set of IBC transfer parameters. - * NOTE: To prevent a single token from being transferred, set the - * TransfersEnabled parameter to true and then set the bank module's SendEnabled - * parameter for the denomination to false. - */ -export interface ParamsSDKType { - send_enabled: boolean; - receive_enabled: boolean; -} -export declare const DenomTrace: { - encode(message: DenomTrace, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DenomTrace; - fromPartial(object: DeepPartial): DenomTrace; -}; -export declare const Params: { - encode(message: Params, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Params; - fromPartial(object: DeepPartial): Params; -}; diff --git a/packages/codegen/dist/ibc/applications/transfer/v1/tx.d.ts b/packages/codegen/dist/ibc/applications/transfer/v1/tx.d.ts deleted file mode 100644 index 2b24603a..00000000 --- a/packages/codegen/dist/ibc/applications/transfer/v1/tx.d.ts +++ /dev/null @@ -1,62 +0,0 @@ -/// -import { Coin, CoinSDKType } from "../../../../cosmos/base/v1beta1/coin"; -import { Height, HeightSDKType } from "../../../core/client/v1/client"; -import { Long, DeepPartial } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * MsgTransfer defines a msg to transfer fungible tokens (i.e Coins) between - * ICS20 enabled chains. See ICS Spec here: - * https://github.com/cosmos/ibc/tree/master/spec/app/ics-020-fungible-token-transfer#data-structures - */ -export interface MsgTransfer { - /** the port on which the packet will be sent */ - sourcePort: string; - /** the channel by which the packet will be sent */ - sourceChannel: string; - /** the tokens to be transferred */ - token?: Coin; - /** the sender address */ - sender: string; - /** the recipient address on the destination chain */ - receiver: string; - /** - * Timeout height relative to the current block height. - * The timeout is disabled when set to 0. - */ - timeoutHeight?: Height; - /** - * Timeout timestamp (in 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 { - source_port: string; - source_channel: string; - token?: CoinSDKType; - sender: string; - receiver: string; - timeout_height?: HeightSDKType; - timeout_timestamp: Long; -} -/** MsgTransferResponse defines the Msg/Transfer response type. */ -export interface MsgTransferResponse { -} -/** MsgTransferResponse defines the Msg/Transfer response type. */ -export interface MsgTransferResponseSDKType { -} -export declare const MsgTransfer: { - encode(message: MsgTransfer, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgTransfer; - fromPartial(object: DeepPartial): MsgTransfer; -}; -export declare const MsgTransferResponse: { - encode(_: MsgTransferResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgTransferResponse; - fromPartial(_: DeepPartial): MsgTransferResponse; -}; diff --git a/packages/codegen/dist/ibc/applications/transfer/v1/tx.rpc.msg.d.ts b/packages/codegen/dist/ibc/applications/transfer/v1/tx.rpc.msg.d.ts deleted file mode 100644 index d000d7b5..00000000 --- a/packages/codegen/dist/ibc/applications/transfer/v1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { Rpc } from "../../../../helpers"; -import { MsgTransfer, MsgTransferResponse } from "./tx"; -/** Msg defines the ibc/transfer Msg service. */ -export interface Msg { - /** Transfer defines a rpc handler method for MsgTransfer. */ - transfer(request: MsgTransfer): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: Rpc); - transfer(request: MsgTransfer): Promise; -} diff --git a/packages/codegen/dist/ibc/applications/transfer/v2/packet.d.ts b/packages/codegen/dist/ibc/applications/transfer/v2/packet.d.ts deleted file mode 100644 index fbd3d0e5..00000000 --- a/packages/codegen/dist/ibc/applications/transfer/v2/packet.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../../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; -} -/** - * 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 { - denom: string; - amount: string; - sender: string; - receiver: string; -} -export declare const FungibleTokenPacketData: { - encode(message: FungibleTokenPacketData, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): FungibleTokenPacketData; - fromPartial(object: DeepPartial): FungibleTokenPacketData; -}; diff --git a/packages/codegen/dist/ibc/bundle.d.ts b/packages/codegen/dist/ibc/bundle.d.ts deleted file mode 100644 index 57b561c4..00000000 --- a/packages/codegen/dist/ibc/bundle.d.ts +++ /dev/null @@ -1,3259 +0,0 @@ -/// -import * as _110 from "./applications/transfer/v1/genesis"; -import * as _111 from "./applications/transfer/v1/query"; -import * as _112 from "./applications/transfer/v1/transfer"; -import * as _113 from "./applications/transfer/v1/tx"; -import * as _114 from "./applications/transfer/v2/packet"; -import * as _115 from "./core/channel/v1/channel"; -import * as _116 from "./core/channel/v1/genesis"; -import * as _117 from "./core/channel/v1/query"; -import * as _118 from "./core/channel/v1/tx"; -import * as _119 from "./core/client/v1/client"; -import * as _120 from "./core/client/v1/genesis"; -import * as _121 from "./core/client/v1/query"; -import * as _122 from "./core/client/v1/tx"; -import * as _123 from "./core/commitment/v1/commitment"; -import * as _124 from "./core/connection/v1/connection"; -import * as _125 from "./core/connection/v1/genesis"; -import * as _126 from "./core/connection/v1/query"; -import * as _127 from "./core/connection/v1/tx"; -import * as _128 from "./core/port/v1/query"; -import * as _129 from "./core/types/v1/genesis"; -import * as _130 from "./lightclients/localhost/v1/localhost"; -import * as _131 from "./lightclients/solomachine/v1/solomachine"; -import * as _132 from "./lightclients/solomachine/v2/solomachine"; -import * as _133 from "./lightclients/tendermint/v1/tendermint"; -import * as _197 from "./applications/transfer/v1/query.lcd"; -import * as _198 from "./core/channel/v1/query.lcd"; -import * as _199 from "./core/client/v1/query.lcd"; -import * as _200 from "./core/connection/v1/query.lcd"; -import * as _201 from "./applications/transfer/v1/query.rpc.Query"; -import * as _202 from "./core/channel/v1/query.rpc.Query"; -import * as _203 from "./core/client/v1/query.rpc.Query"; -import * as _204 from "./core/connection/v1/query.rpc.Query"; -import * as _205 from "./core/port/v1/query.rpc.Query"; -import * as _206 from "./applications/transfer/v1/tx.rpc.msg"; -import * as _207 from "./core/channel/v1/tx.rpc.msg"; -import * as _208 from "./core/client/v1/tx.rpc.msg"; -import * as _209 from "./core/connection/v1/tx.rpc.msg"; -export declare namespace ibc { - namespace applications { - namespace transfer { - const v1: { - MsgClientImpl: typeof _206.MsgClientImpl; - QueryClientImpl: typeof _201.QueryClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - denomTrace(request: _111.QueryDenomTraceRequest): Promise<_111.QueryDenomTraceResponse>; - denomTraces(request?: _111.QueryDenomTracesRequest): Promise<_111.QueryDenomTracesResponse>; - params(request?: _111.QueryParamsRequest): Promise<_111.QueryParamsResponse>; - }; - LCDQueryClient: typeof _197.LCDQueryClient; - MsgTransfer: { - encode(message: _113.MsgTransfer, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _113.MsgTransfer; - fromPartial(object: { - sourcePort?: string; - sourceChannel?: string; - token?: { - denom?: string; - amount?: string; - }; - sender?: string; - receiver?: string; - timeoutHeight?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - timeoutTimestamp?: string | number | import("long").Long; - }): _113.MsgTransfer; - }; - MsgTransferResponse: { - encode(_: _113.MsgTransferResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _113.MsgTransferResponse; - fromPartial(_: {}): _113.MsgTransferResponse; - }; - DenomTrace: { - encode(message: _112.DenomTrace, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _112.DenomTrace; - fromPartial(object: { - path?: string; - baseDenom?: string; - }): _112.DenomTrace; - }; - Params: { - encode(message: _112.Params, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _112.Params; - fromPartial(object: { - sendEnabled?: boolean; - receiveEnabled?: boolean; - }): _112.Params; - }; - QueryDenomTraceRequest: { - encode(message: _111.QueryDenomTraceRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _111.QueryDenomTraceRequest; - fromPartial(object: { - hash?: string; - }): _111.QueryDenomTraceRequest; - }; - QueryDenomTraceResponse: { - encode(message: _111.QueryDenomTraceResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _111.QueryDenomTraceResponse; - fromPartial(object: { - denomTrace?: { - path?: string; - baseDenom?: string; - }; - }): _111.QueryDenomTraceResponse; - }; - QueryDenomTracesRequest: { - encode(message: _111.QueryDenomTracesRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _111.QueryDenomTracesRequest; - fromPartial(object: { - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _111.QueryDenomTracesRequest; - }; - QueryDenomTracesResponse: { - encode(message: _111.QueryDenomTracesResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _111.QueryDenomTracesResponse; - fromPartial(object: { - denomTraces?: { - path?: string; - baseDenom?: string; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _111.QueryDenomTracesResponse; - }; - QueryParamsRequest: { - encode(_: _111.QueryParamsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _111.QueryParamsRequest; - fromPartial(_: {}): _111.QueryParamsRequest; - }; - QueryParamsResponse: { - encode(message: _111.QueryParamsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _111.QueryParamsResponse; - fromPartial(object: { - params?: { - sendEnabled?: boolean; - receiveEnabled?: boolean; - }; - }): _111.QueryParamsResponse; - }; - GenesisState: { - encode(message: _110.GenesisState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _110.GenesisState; - fromPartial(object: { - portId?: string; - denomTraces?: { - path?: string; - baseDenom?: string; - }[]; - params?: { - sendEnabled?: boolean; - receiveEnabled?: boolean; - }; - }): _110.GenesisState; - }; - }; - const v2: { - FungibleTokenPacketData: { - encode(message: _114.FungibleTokenPacketData, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _114.FungibleTokenPacketData; - fromPartial(object: { - denom?: string; - amount?: string; - sender?: string; - receiver?: string; - }): _114.FungibleTokenPacketData; - }; - }; - } - } - namespace core { - namespace channel { - const v1: { - MsgClientImpl: typeof _207.MsgClientImpl; - QueryClientImpl: typeof _202.QueryClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - channel(request: _117.QueryChannelRequest): Promise<_117.QueryChannelResponse>; - channels(request?: _117.QueryChannelsRequest): Promise<_117.QueryChannelsResponse>; - connectionChannels(request: _117.QueryConnectionChannelsRequest): Promise<_117.QueryConnectionChannelsResponse>; - channelClientState(request: _117.QueryChannelClientStateRequest): Promise<_117.QueryChannelClientStateResponse>; - channelConsensusState(request: _117.QueryChannelConsensusStateRequest): Promise<_117.QueryChannelConsensusStateResponse>; - packetCommitment(request: _117.QueryPacketCommitmentRequest): Promise<_117.QueryPacketCommitmentResponse>; - packetCommitments(request: _117.QueryPacketCommitmentsRequest): Promise<_117.QueryPacketCommitmentsResponse>; - packetReceipt(request: _117.QueryPacketReceiptRequest): Promise<_117.QueryPacketReceiptResponse>; - packetAcknowledgement(request: _117.QueryPacketAcknowledgementRequest): Promise<_117.QueryPacketAcknowledgementResponse>; - packetAcknowledgements(request: _117.QueryPacketAcknowledgementsRequest): Promise<_117.QueryPacketAcknowledgementsResponse>; - unreceivedPackets(request: _117.QueryUnreceivedPacketsRequest): Promise<_117.QueryUnreceivedPacketsResponse>; - unreceivedAcks(request: _117.QueryUnreceivedAcksRequest): Promise<_117.QueryUnreceivedAcksResponse>; - nextSequenceReceive(request: _117.QueryNextSequenceReceiveRequest): Promise<_117.QueryNextSequenceReceiveResponse>; - }; - LCDQueryClient: typeof _198.LCDQueryClient; - MsgChannelOpenInit: { - encode(message: _118.MsgChannelOpenInit, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _118.MsgChannelOpenInit; - fromPartial(object: { - portId?: string; - channel?: { - state?: _115.State; - ordering?: _115.Order; - counterparty?: { - portId?: string; - channelId?: string; - }; - connectionHops?: string[]; - version?: string; - }; - signer?: string; - }): _118.MsgChannelOpenInit; - }; - MsgChannelOpenInitResponse: { - encode(_: _118.MsgChannelOpenInitResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _118.MsgChannelOpenInitResponse; - fromPartial(_: {}): _118.MsgChannelOpenInitResponse; - }; - MsgChannelOpenTry: { - encode(message: _118.MsgChannelOpenTry, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _118.MsgChannelOpenTry; - fromPartial(object: { - portId?: string; - previousChannelId?: string; - channel?: { - state?: _115.State; - ordering?: _115.Order; - counterparty?: { - portId?: string; - channelId?: string; - }; - connectionHops?: string[]; - version?: string; - }; - counterpartyVersion?: string; - proofInit?: Uint8Array; - proofHeight?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - signer?: string; - }): _118.MsgChannelOpenTry; - }; - MsgChannelOpenTryResponse: { - encode(_: _118.MsgChannelOpenTryResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _118.MsgChannelOpenTryResponse; - fromPartial(_: {}): _118.MsgChannelOpenTryResponse; - }; - MsgChannelOpenAck: { - encode(message: _118.MsgChannelOpenAck, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _118.MsgChannelOpenAck; - fromPartial(object: { - portId?: string; - channelId?: string; - counterpartyChannelId?: string; - counterpartyVersion?: string; - proofTry?: Uint8Array; - proofHeight?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - signer?: string; - }): _118.MsgChannelOpenAck; - }; - MsgChannelOpenAckResponse: { - encode(_: _118.MsgChannelOpenAckResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _118.MsgChannelOpenAckResponse; - fromPartial(_: {}): _118.MsgChannelOpenAckResponse; - }; - MsgChannelOpenConfirm: { - encode(message: _118.MsgChannelOpenConfirm, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _118.MsgChannelOpenConfirm; - fromPartial(object: { - portId?: string; - channelId?: string; - proofAck?: Uint8Array; - proofHeight?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - signer?: string; - }): _118.MsgChannelOpenConfirm; - }; - MsgChannelOpenConfirmResponse: { - encode(_: _118.MsgChannelOpenConfirmResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _118.MsgChannelOpenConfirmResponse; - fromPartial(_: {}): _118.MsgChannelOpenConfirmResponse; - }; - MsgChannelCloseInit: { - encode(message: _118.MsgChannelCloseInit, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _118.MsgChannelCloseInit; - fromPartial(object: { - portId?: string; - channelId?: string; - signer?: string; - }): _118.MsgChannelCloseInit; - }; - MsgChannelCloseInitResponse: { - encode(_: _118.MsgChannelCloseInitResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _118.MsgChannelCloseInitResponse; - fromPartial(_: {}): _118.MsgChannelCloseInitResponse; - }; - MsgChannelCloseConfirm: { - encode(message: _118.MsgChannelCloseConfirm, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _118.MsgChannelCloseConfirm; - fromPartial(object: { - portId?: string; - channelId?: string; - proofInit?: Uint8Array; - proofHeight?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - signer?: string; - }): _118.MsgChannelCloseConfirm; - }; - MsgChannelCloseConfirmResponse: { - encode(_: _118.MsgChannelCloseConfirmResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _118.MsgChannelCloseConfirmResponse; - fromPartial(_: {}): _118.MsgChannelCloseConfirmResponse; - }; - MsgRecvPacket: { - encode(message: _118.MsgRecvPacket, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _118.MsgRecvPacket; - fromPartial(object: { - packet?: { - sequence?: string | number | import("long").Long; - sourcePort?: string; - sourceChannel?: string; - destinationPort?: string; - destinationChannel?: string; - data?: Uint8Array; - timeoutHeight?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - timeoutTimestamp?: string | number | import("long").Long; - }; - proofCommitment?: Uint8Array; - proofHeight?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - signer?: string; - }): _118.MsgRecvPacket; - }; - MsgRecvPacketResponse: { - encode(_: _118.MsgRecvPacketResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _118.MsgRecvPacketResponse; - fromPartial(_: {}): _118.MsgRecvPacketResponse; - }; - MsgTimeout: { - encode(message: _118.MsgTimeout, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _118.MsgTimeout; - fromPartial(object: { - packet?: { - sequence?: string | number | import("long").Long; - sourcePort?: string; - sourceChannel?: string; - destinationPort?: string; - destinationChannel?: string; - data?: Uint8Array; - timeoutHeight?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - timeoutTimestamp?: string | number | import("long").Long; - }; - proofUnreceived?: Uint8Array; - proofHeight?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - nextSequenceRecv?: string | number | import("long").Long; - signer?: string; - }): _118.MsgTimeout; - }; - MsgTimeoutResponse: { - encode(_: _118.MsgTimeoutResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _118.MsgTimeoutResponse; - fromPartial(_: {}): _118.MsgTimeoutResponse; - }; - MsgTimeoutOnClose: { - encode(message: _118.MsgTimeoutOnClose, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _118.MsgTimeoutOnClose; - fromPartial(object: { - packet?: { - sequence?: string | number | import("long").Long; - sourcePort?: string; - sourceChannel?: string; - destinationPort?: string; - destinationChannel?: string; - data?: Uint8Array; - timeoutHeight?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - timeoutTimestamp?: string | number | import("long").Long; - }; - proofUnreceived?: Uint8Array; - proofClose?: Uint8Array; - proofHeight?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - nextSequenceRecv?: string | number | import("long").Long; - signer?: string; - }): _118.MsgTimeoutOnClose; - }; - MsgTimeoutOnCloseResponse: { - encode(_: _118.MsgTimeoutOnCloseResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _118.MsgTimeoutOnCloseResponse; - fromPartial(_: {}): _118.MsgTimeoutOnCloseResponse; - }; - MsgAcknowledgement: { - encode(message: _118.MsgAcknowledgement, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _118.MsgAcknowledgement; - fromPartial(object: { - packet?: { - sequence?: string | number | import("long").Long; - sourcePort?: string; - sourceChannel?: string; - destinationPort?: string; - destinationChannel?: string; - data?: Uint8Array; - timeoutHeight?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - timeoutTimestamp?: string | number | import("long").Long; - }; - acknowledgement?: Uint8Array; - proofAcked?: Uint8Array; - proofHeight?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - signer?: string; - }): _118.MsgAcknowledgement; - }; - MsgAcknowledgementResponse: { - encode(_: _118.MsgAcknowledgementResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _118.MsgAcknowledgementResponse; - fromPartial(_: {}): _118.MsgAcknowledgementResponse; - }; - QueryChannelRequest: { - encode(message: _117.QueryChannelRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _117.QueryChannelRequest; - fromPartial(object: { - portId?: string; - channelId?: string; - }): _117.QueryChannelRequest; - }; - QueryChannelResponse: { - encode(message: _117.QueryChannelResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _117.QueryChannelResponse; - fromPartial(object: { - channel?: { - state?: _115.State; - ordering?: _115.Order; - counterparty?: { - portId?: string; - channelId?: string; - }; - connectionHops?: string[]; - version?: string; - }; - proof?: Uint8Array; - proofHeight?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - }): _117.QueryChannelResponse; - }; - QueryChannelsRequest: { - encode(message: _117.QueryChannelsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _117.QueryChannelsRequest; - fromPartial(object: { - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _117.QueryChannelsRequest; - }; - QueryChannelsResponse: { - encode(message: _117.QueryChannelsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _117.QueryChannelsResponse; - fromPartial(object: { - channels?: { - state?: _115.State; - ordering?: _115.Order; - counterparty?: { - portId?: string; - channelId?: string; - }; - connectionHops?: string[]; - version?: string; - portId?: string; - channelId?: string; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - height?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - }): _117.QueryChannelsResponse; - }; - QueryConnectionChannelsRequest: { - encode(message: _117.QueryConnectionChannelsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _117.QueryConnectionChannelsRequest; - fromPartial(object: { - connection?: string; - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _117.QueryConnectionChannelsRequest; - }; - QueryConnectionChannelsResponse: { - encode(message: _117.QueryConnectionChannelsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _117.QueryConnectionChannelsResponse; - fromPartial(object: { - channels?: { - state?: _115.State; - ordering?: _115.Order; - counterparty?: { - portId?: string; - channelId?: string; - }; - connectionHops?: string[]; - version?: string; - portId?: string; - channelId?: string; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - height?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - }): _117.QueryConnectionChannelsResponse; - }; - QueryChannelClientStateRequest: { - encode(message: _117.QueryChannelClientStateRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _117.QueryChannelClientStateRequest; - fromPartial(object: { - portId?: string; - channelId?: string; - }): _117.QueryChannelClientStateRequest; - }; - QueryChannelClientStateResponse: { - encode(message: _117.QueryChannelClientStateResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _117.QueryChannelClientStateResponse; - fromPartial(object: { - identifiedClientState?: { - clientId?: string; - clientState?: { - typeUrl?: string; - value?: Uint8Array; - }; - }; - proof?: Uint8Array; - proofHeight?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - }): _117.QueryChannelClientStateResponse; - }; - QueryChannelConsensusStateRequest: { - encode(message: _117.QueryChannelConsensusStateRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _117.QueryChannelConsensusStateRequest; - fromPartial(object: { - portId?: string; - channelId?: string; - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }): _117.QueryChannelConsensusStateRequest; - }; - QueryChannelConsensusStateResponse: { - encode(message: _117.QueryChannelConsensusStateResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _117.QueryChannelConsensusStateResponse; - fromPartial(object: { - consensusState?: { - typeUrl?: string; - value?: Uint8Array; - }; - clientId?: string; - proof?: Uint8Array; - proofHeight?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - }): _117.QueryChannelConsensusStateResponse; - }; - QueryPacketCommitmentRequest: { - encode(message: _117.QueryPacketCommitmentRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _117.QueryPacketCommitmentRequest; - fromPartial(object: { - portId?: string; - channelId?: string; - sequence?: string | number | import("long").Long; - }): _117.QueryPacketCommitmentRequest; - }; - QueryPacketCommitmentResponse: { - encode(message: _117.QueryPacketCommitmentResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _117.QueryPacketCommitmentResponse; - fromPartial(object: { - commitment?: Uint8Array; - proof?: Uint8Array; - proofHeight?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - }): _117.QueryPacketCommitmentResponse; - }; - QueryPacketCommitmentsRequest: { - encode(message: _117.QueryPacketCommitmentsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _117.QueryPacketCommitmentsRequest; - fromPartial(object: { - portId?: string; - channelId?: string; - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _117.QueryPacketCommitmentsRequest; - }; - QueryPacketCommitmentsResponse: { - encode(message: _117.QueryPacketCommitmentsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _117.QueryPacketCommitmentsResponse; - fromPartial(object: { - commitments?: { - portId?: string; - channelId?: string; - sequence?: string | number | import("long").Long; - data?: Uint8Array; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - height?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - }): _117.QueryPacketCommitmentsResponse; - }; - QueryPacketReceiptRequest: { - encode(message: _117.QueryPacketReceiptRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _117.QueryPacketReceiptRequest; - fromPartial(object: { - portId?: string; - channelId?: string; - sequence?: string | number | import("long").Long; - }): _117.QueryPacketReceiptRequest; - }; - QueryPacketReceiptResponse: { - encode(message: _117.QueryPacketReceiptResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _117.QueryPacketReceiptResponse; - fromPartial(object: { - received?: boolean; - proof?: Uint8Array; - proofHeight?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - }): _117.QueryPacketReceiptResponse; - }; - QueryPacketAcknowledgementRequest: { - encode(message: _117.QueryPacketAcknowledgementRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _117.QueryPacketAcknowledgementRequest; - fromPartial(object: { - portId?: string; - channelId?: string; - sequence?: string | number | import("long").Long; - }): _117.QueryPacketAcknowledgementRequest; - }; - QueryPacketAcknowledgementResponse: { - encode(message: _117.QueryPacketAcknowledgementResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _117.QueryPacketAcknowledgementResponse; - fromPartial(object: { - acknowledgement?: Uint8Array; - proof?: Uint8Array; - proofHeight?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - }): _117.QueryPacketAcknowledgementResponse; - }; - QueryPacketAcknowledgementsRequest: { - encode(message: _117.QueryPacketAcknowledgementsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _117.QueryPacketAcknowledgementsRequest; - fromPartial(object: { - portId?: string; - channelId?: string; - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - packetCommitmentSequences?: (string | number | import("long").Long)[]; - }): _117.QueryPacketAcknowledgementsRequest; - }; - QueryPacketAcknowledgementsResponse: { - encode(message: _117.QueryPacketAcknowledgementsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _117.QueryPacketAcknowledgementsResponse; - fromPartial(object: { - acknowledgements?: { - portId?: string; - channelId?: string; - sequence?: string | number | import("long").Long; - data?: Uint8Array; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - height?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - }): _117.QueryPacketAcknowledgementsResponse; - }; - QueryUnreceivedPacketsRequest: { - encode(message: _117.QueryUnreceivedPacketsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _117.QueryUnreceivedPacketsRequest; - fromPartial(object: { - portId?: string; - channelId?: string; - packetCommitmentSequences?: (string | number | import("long").Long)[]; - }): _117.QueryUnreceivedPacketsRequest; - }; - QueryUnreceivedPacketsResponse: { - encode(message: _117.QueryUnreceivedPacketsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _117.QueryUnreceivedPacketsResponse; - fromPartial(object: { - sequences?: (string | number | import("long").Long)[]; - height?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - }): _117.QueryUnreceivedPacketsResponse; - }; - QueryUnreceivedAcksRequest: { - encode(message: _117.QueryUnreceivedAcksRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _117.QueryUnreceivedAcksRequest; - fromPartial(object: { - portId?: string; - channelId?: string; - packetAckSequences?: (string | number | import("long").Long)[]; - }): _117.QueryUnreceivedAcksRequest; - }; - QueryUnreceivedAcksResponse: { - encode(message: _117.QueryUnreceivedAcksResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _117.QueryUnreceivedAcksResponse; - fromPartial(object: { - sequences?: (string | number | import("long").Long)[]; - height?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - }): _117.QueryUnreceivedAcksResponse; - }; - QueryNextSequenceReceiveRequest: { - encode(message: _117.QueryNextSequenceReceiveRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _117.QueryNextSequenceReceiveRequest; - fromPartial(object: { - portId?: string; - channelId?: string; - }): _117.QueryNextSequenceReceiveRequest; - }; - QueryNextSequenceReceiveResponse: { - encode(message: _117.QueryNextSequenceReceiveResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _117.QueryNextSequenceReceiveResponse; - fromPartial(object: { - nextSequenceReceive?: string | number | import("long").Long; - proof?: Uint8Array; - proofHeight?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - }): _117.QueryNextSequenceReceiveResponse; - }; - GenesisState: { - encode(message: _116.GenesisState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _116.GenesisState; - fromPartial(object: { - channels?: { - state?: _115.State; - ordering?: _115.Order; - counterparty?: { - portId?: string; - channelId?: string; - }; - connectionHops?: string[]; - version?: string; - portId?: string; - channelId?: string; - }[]; - acknowledgements?: { - portId?: string; - channelId?: string; - sequence?: string | number | import("long").Long; - data?: Uint8Array; - }[]; - commitments?: { - portId?: string; - channelId?: string; - sequence?: string | number | import("long").Long; - data?: Uint8Array; - }[]; - receipts?: { - portId?: string; - channelId?: string; - sequence?: string | number | import("long").Long; - data?: Uint8Array; - }[]; - sendSequences?: { - portId?: string; - channelId?: string; - sequence?: string | number | import("long").Long; - }[]; - recvSequences?: { - portId?: string; - channelId?: string; - sequence?: string | number | import("long").Long; - }[]; - ackSequences?: { - portId?: string; - channelId?: string; - sequence?: string | number | import("long").Long; - }[]; - nextChannelSequence?: string | number | import("long").Long; - }): _116.GenesisState; - }; - PacketSequence: { - encode(message: _116.PacketSequence, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _116.PacketSequence; - fromPartial(object: { - portId?: string; - channelId?: string; - sequence?: string | number | import("long").Long; - }): _116.PacketSequence; - }; - stateFromJSON(object: any): _115.State; - stateToJSON(object: _115.State): string; - orderFromJSON(object: any): _115.Order; - orderToJSON(object: _115.Order): string; - State: typeof _115.State; - StateSDKType: typeof _115.State; - Order: typeof _115.Order; - OrderSDKType: typeof _115.Order; - Channel: { - encode(message: _115.Channel, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _115.Channel; - fromPartial(object: { - state?: _115.State; - ordering?: _115.Order; - counterparty?: { - portId?: string; - channelId?: string; - }; - connectionHops?: string[]; - version?: string; - }): _115.Channel; - }; - IdentifiedChannel: { - encode(message: _115.IdentifiedChannel, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _115.IdentifiedChannel; - fromPartial(object: { - state?: _115.State; - ordering?: _115.Order; - counterparty?: { - portId?: string; - channelId?: string; - }; - connectionHops?: string[]; - version?: string; - portId?: string; - channelId?: string; - }): _115.IdentifiedChannel; - }; - Counterparty: { - encode(message: _115.Counterparty, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _115.Counterparty; - fromPartial(object: { - portId?: string; - channelId?: string; - }): _115.Counterparty; - }; - Packet: { - encode(message: _115.Packet, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _115.Packet; - fromPartial(object: { - sequence?: string | number | import("long").Long; - sourcePort?: string; - sourceChannel?: string; - destinationPort?: string; - destinationChannel?: string; - data?: Uint8Array; - timeoutHeight?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - timeoutTimestamp?: string | number | import("long").Long; - }): _115.Packet; - }; - PacketState: { - encode(message: _115.PacketState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _115.PacketState; - fromPartial(object: { - portId?: string; - channelId?: string; - sequence?: string | number | import("long").Long; - data?: Uint8Array; - }): _115.PacketState; - }; - Acknowledgement: { - encode(message: _115.Acknowledgement, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _115.Acknowledgement; - fromPartial(object: { - result?: Uint8Array; - error?: string; - }): _115.Acknowledgement; - }; - }; - } - namespace client { - const v1: { - MsgClientImpl: typeof _208.MsgClientImpl; - QueryClientImpl: typeof _203.QueryClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - clientState(request: _121.QueryClientStateRequest): Promise<_121.QueryClientStateResponse>; - clientStates(request?: _121.QueryClientStatesRequest): Promise<_121.QueryClientStatesResponse>; - consensusState(request: _121.QueryConsensusStateRequest): Promise<_121.QueryConsensusStateResponse>; - consensusStates(request: _121.QueryConsensusStatesRequest): Promise<_121.QueryConsensusStatesResponse>; - clientStatus(request: _121.QueryClientStatusRequest): Promise<_121.QueryClientStatusResponse>; - clientParams(request?: _121.QueryClientParamsRequest): Promise<_121.QueryClientParamsResponse>; - upgradedClientState(request?: _121.QueryUpgradedClientStateRequest): Promise<_121.QueryUpgradedClientStateResponse>; - upgradedConsensusState(request?: _121.QueryUpgradedConsensusStateRequest): Promise<_121.QueryUpgradedConsensusStateResponse>; - }; - LCDQueryClient: typeof _199.LCDQueryClient; - MsgCreateClient: { - encode(message: _122.MsgCreateClient, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _122.MsgCreateClient; - fromPartial(object: { - clientState?: { - typeUrl?: string; - value?: Uint8Array; - }; - consensusState?: { - typeUrl?: string; - value?: Uint8Array; - }; - signer?: string; - }): _122.MsgCreateClient; - }; - MsgCreateClientResponse: { - encode(_: _122.MsgCreateClientResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _122.MsgCreateClientResponse; - fromPartial(_: {}): _122.MsgCreateClientResponse; - }; - MsgUpdateClient: { - encode(message: _122.MsgUpdateClient, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _122.MsgUpdateClient; - fromPartial(object: { - clientId?: string; - header?: { - typeUrl?: string; - value?: Uint8Array; - }; - signer?: string; - }): _122.MsgUpdateClient; - }; - MsgUpdateClientResponse: { - encode(_: _122.MsgUpdateClientResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _122.MsgUpdateClientResponse; - fromPartial(_: {}): _122.MsgUpdateClientResponse; - }; - MsgUpgradeClient: { - encode(message: _122.MsgUpgradeClient, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _122.MsgUpgradeClient; - fromPartial(object: { - clientId?: string; - clientState?: { - typeUrl?: string; - value?: Uint8Array; - }; - consensusState?: { - typeUrl?: string; - value?: Uint8Array; - }; - proofUpgradeClient?: Uint8Array; - proofUpgradeConsensusState?: Uint8Array; - signer?: string; - }): _122.MsgUpgradeClient; - }; - MsgUpgradeClientResponse: { - encode(_: _122.MsgUpgradeClientResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _122.MsgUpgradeClientResponse; - fromPartial(_: {}): _122.MsgUpgradeClientResponse; - }; - MsgSubmitMisbehaviour: { - encode(message: _122.MsgSubmitMisbehaviour, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _122.MsgSubmitMisbehaviour; - fromPartial(object: { - clientId?: string; - misbehaviour?: { - typeUrl?: string; - value?: Uint8Array; - }; - signer?: string; - }): _122.MsgSubmitMisbehaviour; - }; - MsgSubmitMisbehaviourResponse: { - encode(_: _122.MsgSubmitMisbehaviourResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _122.MsgSubmitMisbehaviourResponse; - fromPartial(_: {}): _122.MsgSubmitMisbehaviourResponse; - }; - QueryClientStateRequest: { - encode(message: _121.QueryClientStateRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _121.QueryClientStateRequest; - fromPartial(object: { - clientId?: string; - }): _121.QueryClientStateRequest; - }; - QueryClientStateResponse: { - encode(message: _121.QueryClientStateResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _121.QueryClientStateResponse; - fromPartial(object: { - clientState?: { - typeUrl?: string; - value?: Uint8Array; - }; - proof?: Uint8Array; - proofHeight?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - }): _121.QueryClientStateResponse; - }; - QueryClientStatesRequest: { - encode(message: _121.QueryClientStatesRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _121.QueryClientStatesRequest; - fromPartial(object: { - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _121.QueryClientStatesRequest; - }; - QueryClientStatesResponse: { - encode(message: _121.QueryClientStatesResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _121.QueryClientStatesResponse; - fromPartial(object: { - clientStates?: { - clientId?: string; - clientState?: { - typeUrl?: string; - value?: Uint8Array; - }; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _121.QueryClientStatesResponse; - }; - QueryConsensusStateRequest: { - encode(message: _121.QueryConsensusStateRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _121.QueryConsensusStateRequest; - fromPartial(object: { - clientId?: string; - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - latestHeight?: boolean; - }): _121.QueryConsensusStateRequest; - }; - QueryConsensusStateResponse: { - encode(message: _121.QueryConsensusStateResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _121.QueryConsensusStateResponse; - fromPartial(object: { - consensusState?: { - typeUrl?: string; - value?: Uint8Array; - }; - proof?: Uint8Array; - proofHeight?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - }): _121.QueryConsensusStateResponse; - }; - QueryConsensusStatesRequest: { - encode(message: _121.QueryConsensusStatesRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _121.QueryConsensusStatesRequest; - fromPartial(object: { - clientId?: string; - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _121.QueryConsensusStatesRequest; - }; - QueryConsensusStatesResponse: { - encode(message: _121.QueryConsensusStatesResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _121.QueryConsensusStatesResponse; - fromPartial(object: { - consensusStates?: { - height?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - consensusState?: { - typeUrl?: string; - value?: Uint8Array; - }; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - }): _121.QueryConsensusStatesResponse; - }; - QueryClientStatusRequest: { - encode(message: _121.QueryClientStatusRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _121.QueryClientStatusRequest; - fromPartial(object: { - clientId?: string; - }): _121.QueryClientStatusRequest; - }; - QueryClientStatusResponse: { - encode(message: _121.QueryClientStatusResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _121.QueryClientStatusResponse; - fromPartial(object: { - status?: string; - }): _121.QueryClientStatusResponse; - }; - QueryClientParamsRequest: { - encode(_: _121.QueryClientParamsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _121.QueryClientParamsRequest; - fromPartial(_: {}): _121.QueryClientParamsRequest; - }; - QueryClientParamsResponse: { - encode(message: _121.QueryClientParamsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _121.QueryClientParamsResponse; - fromPartial(object: { - params?: { - allowedClients?: string[]; - }; - }): _121.QueryClientParamsResponse; - }; - QueryUpgradedClientStateRequest: { - encode(_: _121.QueryUpgradedClientStateRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _121.QueryUpgradedClientStateRequest; - fromPartial(_: {}): _121.QueryUpgradedClientStateRequest; - }; - QueryUpgradedClientStateResponse: { - encode(message: _121.QueryUpgradedClientStateResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _121.QueryUpgradedClientStateResponse; - fromPartial(object: { - upgradedClientState?: { - typeUrl?: string; - value?: Uint8Array; - }; - }): _121.QueryUpgradedClientStateResponse; - }; - QueryUpgradedConsensusStateRequest: { - encode(_: _121.QueryUpgradedConsensusStateRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _121.QueryUpgradedConsensusStateRequest; - fromPartial(_: {}): _121.QueryUpgradedConsensusStateRequest; - }; - QueryUpgradedConsensusStateResponse: { - encode(message: _121.QueryUpgradedConsensusStateResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _121.QueryUpgradedConsensusStateResponse; - fromPartial(object: { - upgradedConsensusState?: { - typeUrl?: string; - value?: Uint8Array; - }; - }): _121.QueryUpgradedConsensusStateResponse; - }; - GenesisState: { - encode(message: _120.GenesisState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _120.GenesisState; - fromPartial(object: { - clients?: { - clientId?: string; - clientState?: { - typeUrl?: string; - value?: Uint8Array; - }; - }[]; - clientsConsensus?: { - clientId?: string; - consensusStates?: { - height?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - consensusState?: { - typeUrl?: string; - value?: Uint8Array; - }; - }[]; - }[]; - clientsMetadata?: { - clientId?: string; - clientMetadata?: { - key?: Uint8Array; - value?: Uint8Array; - }[]; - }[]; - params?: { - allowedClients?: string[]; - }; - createLocalhost?: boolean; - nextClientSequence?: string | number | import("long").Long; - }): _120.GenesisState; - }; - GenesisMetadata: { - encode(message: _120.GenesisMetadata, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _120.GenesisMetadata; - fromPartial(object: { - key?: Uint8Array; - value?: Uint8Array; - }): _120.GenesisMetadata; - }; - IdentifiedGenesisMetadata: { - encode(message: _120.IdentifiedGenesisMetadata, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _120.IdentifiedGenesisMetadata; - fromPartial(object: { - clientId?: string; - clientMetadata?: { - key?: Uint8Array; - value?: Uint8Array; - }[]; - }): _120.IdentifiedGenesisMetadata; - }; - IdentifiedClientState: { - encode(message: _119.IdentifiedClientState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _119.IdentifiedClientState; - fromPartial(object: { - clientId?: string; - clientState?: { - typeUrl?: string; - value?: Uint8Array; - }; - }): _119.IdentifiedClientState; - }; - ConsensusStateWithHeight: { - encode(message: _119.ConsensusStateWithHeight, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _119.ConsensusStateWithHeight; - fromPartial(object: { - height?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - consensusState?: { - typeUrl?: string; - value?: Uint8Array; - }; - }): _119.ConsensusStateWithHeight; - }; - ClientConsensusStates: { - encode(message: _119.ClientConsensusStates, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _119.ClientConsensusStates; - fromPartial(object: { - clientId?: string; - consensusStates?: { - height?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - consensusState?: { - typeUrl?: string; - value?: Uint8Array; - }; - }[]; - }): _119.ClientConsensusStates; - }; - ClientUpdateProposal: { - encode(message: _119.ClientUpdateProposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _119.ClientUpdateProposal; - fromPartial(object: { - title?: string; - description?: string; - subjectClientId?: string; - substituteClientId?: string; - }): _119.ClientUpdateProposal; - }; - UpgradeProposal: { - encode(message: _119.UpgradeProposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _119.UpgradeProposal; - fromPartial(object: { - title?: string; - description?: string; - plan?: { - name?: string; - time?: Date; - height?: string | number | import("long").Long; - info?: string; - upgradedClientState?: { - typeUrl?: string; - value?: Uint8Array; - }; - }; - upgradedClientState?: { - typeUrl?: string; - value?: Uint8Array; - }; - }): _119.UpgradeProposal; - }; - Height: { - encode(message: _119.Height, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _119.Height; - fromPartial(object: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }): _119.Height; - }; - Params: { - encode(message: _119.Params, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _119.Params; - fromPartial(object: { - allowedClients?: string[]; - }): _119.Params; - }; - }; - } - namespace commitment { - const v1: { - MerkleRoot: { - encode(message: _123.MerkleRoot, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _123.MerkleRoot; - fromPartial(object: { - hash?: Uint8Array; - }): _123.MerkleRoot; - }; - MerklePrefix: { - encode(message: _123.MerklePrefix, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _123.MerklePrefix; - fromPartial(object: { - keyPrefix?: Uint8Array; - }): _123.MerklePrefix; - }; - MerklePath: { - encode(message: _123.MerklePath, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _123.MerklePath; - fromPartial(object: { - keyPath?: string[]; - }): _123.MerklePath; - }; - MerkleProof: { - encode(message: _123.MerkleProof, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _123.MerkleProof; - fromPartial(object: { - proofs?: { - exist?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: import("../confio/proofs").HashOp; - prehashKey?: import("../confio/proofs").HashOp; - prehashValue?: import("../confio/proofs").HashOp; - length?: import("../confio/proofs").LengthOp; - prefix?: Uint8Array; - }; - path?: { - hash?: import("../confio/proofs").HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }; - nonexist?: { - key?: Uint8Array; - left?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: import("../confio/proofs").HashOp; - prehashKey?: import("../confio/proofs").HashOp; - prehashValue?: import("../confio/proofs").HashOp; - length?: import("../confio/proofs").LengthOp; - prefix?: Uint8Array; - }; - path?: { - hash?: import("../confio/proofs").HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }; - right?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: import("../confio/proofs").HashOp; - prehashKey?: import("../confio/proofs").HashOp; - prehashValue?: import("../confio/proofs").HashOp; - length?: import("../confio/proofs").LengthOp; - prefix?: Uint8Array; - }; - path?: { - hash?: import("../confio/proofs").HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }; - }; - batch?: { - entries?: { - exist?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: import("../confio/proofs").HashOp; - prehashKey?: import("../confio/proofs").HashOp; - prehashValue?: import("../confio/proofs").HashOp; - length?: import("../confio/proofs").LengthOp; - prefix?: Uint8Array; - }; - path?: { - hash?: import("../confio/proofs").HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }; - nonexist?: { - key?: Uint8Array; - left?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: import("../confio/proofs").HashOp; - prehashKey?: import("../confio/proofs").HashOp; - prehashValue?: import("../confio/proofs").HashOp; - length?: import("../confio/proofs").LengthOp; - prefix?: Uint8Array; - }; - path?: { - hash?: import("../confio/proofs").HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }; - right?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: import("../confio/proofs").HashOp; - prehashKey?: import("../confio/proofs").HashOp; - prehashValue?: import("../confio/proofs").HashOp; - length?: import("../confio/proofs").LengthOp; - prefix?: Uint8Array; - }; - path?: { - hash?: import("../confio/proofs").HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }; - }; - }[]; - }; - compressed?: { - entries?: { - exist?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: import("../confio/proofs").HashOp; - prehashKey?: import("../confio/proofs").HashOp; - prehashValue?: import("../confio/proofs").HashOp; - length?: import("../confio/proofs").LengthOp; - prefix?: Uint8Array; - }; - path?: number[]; - }; - nonexist?: { - key?: Uint8Array; - left?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: import("../confio/proofs").HashOp; - prehashKey?: import("../confio/proofs").HashOp; - prehashValue?: import("../confio/proofs").HashOp; - length?: import("../confio/proofs").LengthOp; - prefix?: Uint8Array; - }; - path?: number[]; - }; - right?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: import("../confio/proofs").HashOp; - prehashKey?: import("../confio/proofs").HashOp; - prehashValue?: import("../confio/proofs").HashOp; - length?: import("../confio/proofs").LengthOp; - prefix?: Uint8Array; - }; - path?: number[]; - }; - }; - }[]; - lookupInners?: { - hash?: import("../confio/proofs").HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }; - }[]; - }): _123.MerkleProof; - }; - }; - } - namespace connection { - const v1: { - MsgClientImpl: typeof _209.MsgClientImpl; - QueryClientImpl: typeof _204.QueryClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - connection(request: _126.QueryConnectionRequest): Promise<_126.QueryConnectionResponse>; - connections(request?: _126.QueryConnectionsRequest): Promise<_126.QueryConnectionsResponse>; - clientConnections(request: _126.QueryClientConnectionsRequest): Promise<_126.QueryClientConnectionsResponse>; - connectionClientState(request: _126.QueryConnectionClientStateRequest): Promise<_126.QueryConnectionClientStateResponse>; - connectionConsensusState(request: _126.QueryConnectionConsensusStateRequest): Promise<_126.QueryConnectionConsensusStateResponse>; - }; - LCDQueryClient: typeof _200.LCDQueryClient; - MsgConnectionOpenInit: { - encode(message: _127.MsgConnectionOpenInit, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _127.MsgConnectionOpenInit; - fromPartial(object: { - clientId?: string; - counterparty?: { - clientId?: string; - connectionId?: string; - prefix?: { - keyPrefix?: Uint8Array; - }; - }; - version?: { - identifier?: string; - features?: string[]; - }; - delayPeriod?: string | number | import("long").Long; - signer?: string; - }): _127.MsgConnectionOpenInit; - }; - MsgConnectionOpenInitResponse: { - encode(_: _127.MsgConnectionOpenInitResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _127.MsgConnectionOpenInitResponse; - fromPartial(_: {}): _127.MsgConnectionOpenInitResponse; - }; - MsgConnectionOpenTry: { - encode(message: _127.MsgConnectionOpenTry, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _127.MsgConnectionOpenTry; - fromPartial(object: { - clientId?: string; - previousConnectionId?: string; - clientState?: { - typeUrl?: string; - value?: Uint8Array; - }; - counterparty?: { - clientId?: string; - connectionId?: string; - prefix?: { - keyPrefix?: Uint8Array; - }; - }; - delayPeriod?: string | number | import("long").Long; - counterpartyVersions?: { - identifier?: string; - features?: string[]; - }[]; - proofHeight?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - proofInit?: Uint8Array; - proofClient?: Uint8Array; - proofConsensus?: Uint8Array; - consensusHeight?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - signer?: string; - }): _127.MsgConnectionOpenTry; - }; - MsgConnectionOpenTryResponse: { - encode(_: _127.MsgConnectionOpenTryResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _127.MsgConnectionOpenTryResponse; - fromPartial(_: {}): _127.MsgConnectionOpenTryResponse; - }; - MsgConnectionOpenAck: { - encode(message: _127.MsgConnectionOpenAck, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _127.MsgConnectionOpenAck; - fromPartial(object: { - connectionId?: string; - counterpartyConnectionId?: string; - version?: { - identifier?: string; - features?: string[]; - }; - clientState?: { - typeUrl?: string; - value?: Uint8Array; - }; - proofHeight?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - proofTry?: Uint8Array; - proofClient?: Uint8Array; - proofConsensus?: Uint8Array; - consensusHeight?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - signer?: string; - }): _127.MsgConnectionOpenAck; - }; - MsgConnectionOpenAckResponse: { - encode(_: _127.MsgConnectionOpenAckResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _127.MsgConnectionOpenAckResponse; - fromPartial(_: {}): _127.MsgConnectionOpenAckResponse; - }; - MsgConnectionOpenConfirm: { - encode(message: _127.MsgConnectionOpenConfirm, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _127.MsgConnectionOpenConfirm; - fromPartial(object: { - connectionId?: string; - proofAck?: Uint8Array; - proofHeight?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - signer?: string; - }): _127.MsgConnectionOpenConfirm; - }; - MsgConnectionOpenConfirmResponse: { - encode(_: _127.MsgConnectionOpenConfirmResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _127.MsgConnectionOpenConfirmResponse; - fromPartial(_: {}): _127.MsgConnectionOpenConfirmResponse; - }; - QueryConnectionRequest: { - encode(message: _126.QueryConnectionRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _126.QueryConnectionRequest; - fromPartial(object: { - connectionId?: string; - }): _126.QueryConnectionRequest; - }; - QueryConnectionResponse: { - encode(message: _126.QueryConnectionResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _126.QueryConnectionResponse; - fromPartial(object: { - connection?: { - clientId?: string; - versions?: { - identifier?: string; - features?: string[]; - }[]; - state?: _124.State; - counterparty?: { - clientId?: string; - connectionId?: string; - prefix?: { - keyPrefix?: Uint8Array; - }; - }; - delayPeriod?: string | number | import("long").Long; - }; - proof?: Uint8Array; - proofHeight?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - }): _126.QueryConnectionResponse; - }; - QueryConnectionsRequest: { - encode(message: _126.QueryConnectionsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _126.QueryConnectionsRequest; - fromPartial(object: { - pagination?: { - key?: Uint8Array; - offset?: string | number | import("long").Long; - limit?: string | number | import("long").Long; - countTotal?: boolean; - reverse?: boolean; - }; - }): _126.QueryConnectionsRequest; - }; - QueryConnectionsResponse: { - encode(message: _126.QueryConnectionsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _126.QueryConnectionsResponse; - fromPartial(object: { - connections?: { - id?: string; - clientId?: string; - versions?: { - identifier?: string; - features?: string[]; - }[]; - state?: _124.State; - counterparty?: { - clientId?: string; - connectionId?: string; - prefix?: { - keyPrefix?: Uint8Array; - }; - }; - delayPeriod?: string | number | import("long").Long; - }[]; - pagination?: { - nextKey?: Uint8Array; - total?: string | number | import("long").Long; - }; - height?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - }): _126.QueryConnectionsResponse; - }; - QueryClientConnectionsRequest: { - encode(message: _126.QueryClientConnectionsRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _126.QueryClientConnectionsRequest; - fromPartial(object: { - clientId?: string; - }): _126.QueryClientConnectionsRequest; - }; - QueryClientConnectionsResponse: { - encode(message: _126.QueryClientConnectionsResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _126.QueryClientConnectionsResponse; - fromPartial(object: { - connectionPaths?: string[]; - proof?: Uint8Array; - proofHeight?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - }): _126.QueryClientConnectionsResponse; - }; - QueryConnectionClientStateRequest: { - encode(message: _126.QueryConnectionClientStateRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _126.QueryConnectionClientStateRequest; - fromPartial(object: { - connectionId?: string; - }): _126.QueryConnectionClientStateRequest; - }; - QueryConnectionClientStateResponse: { - encode(message: _126.QueryConnectionClientStateResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _126.QueryConnectionClientStateResponse; - fromPartial(object: { - identifiedClientState?: { - clientId?: string; - clientState?: { - typeUrl?: string; - value?: Uint8Array; - }; - }; - proof?: Uint8Array; - proofHeight?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - }): _126.QueryConnectionClientStateResponse; - }; - QueryConnectionConsensusStateRequest: { - encode(message: _126.QueryConnectionConsensusStateRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _126.QueryConnectionConsensusStateRequest; - fromPartial(object: { - connectionId?: string; - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }): _126.QueryConnectionConsensusStateRequest; - }; - QueryConnectionConsensusStateResponse: { - encode(message: _126.QueryConnectionConsensusStateResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _126.QueryConnectionConsensusStateResponse; - fromPartial(object: { - consensusState?: { - typeUrl?: string; - value?: Uint8Array; - }; - clientId?: string; - proof?: Uint8Array; - proofHeight?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - }): _126.QueryConnectionConsensusStateResponse; - }; - GenesisState: { - encode(message: _125.GenesisState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _125.GenesisState; - fromPartial(object: { - connections?: { - id?: string; - clientId?: string; - versions?: { - identifier?: string; - features?: string[]; - }[]; - state?: _124.State; - counterparty?: { - clientId?: string; - connectionId?: string; - prefix?: { - keyPrefix?: Uint8Array; - }; - }; - delayPeriod?: string | number | import("long").Long; - }[]; - clientConnectionPaths?: { - clientId?: string; - paths?: string[]; - }[]; - nextConnectionSequence?: string | number | import("long").Long; - params?: { - maxExpectedTimePerBlock?: string | number | import("long").Long; - }; - }): _125.GenesisState; - }; - stateFromJSON(object: any): _124.State; - stateToJSON(object: _124.State): string; - State: typeof _124.State; - StateSDKType: typeof _124.State; - ConnectionEnd: { - encode(message: _124.ConnectionEnd, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _124.ConnectionEnd; - fromPartial(object: { - clientId?: string; - versions?: { - identifier?: string; - features?: string[]; - }[]; - state?: _124.State; - counterparty?: { - clientId?: string; - connectionId?: string; - prefix?: { - keyPrefix?: Uint8Array; - }; - }; - delayPeriod?: string | number | import("long").Long; - }): _124.ConnectionEnd; - }; - IdentifiedConnection: { - encode(message: _124.IdentifiedConnection, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _124.IdentifiedConnection; - fromPartial(object: { - id?: string; - clientId?: string; - versions?: { - identifier?: string; - features?: string[]; - }[]; - state?: _124.State; - counterparty?: { - clientId?: string; - connectionId?: string; - prefix?: { - keyPrefix?: Uint8Array; - }; - }; - delayPeriod?: string | number | import("long").Long; - }): _124.IdentifiedConnection; - }; - Counterparty: { - encode(message: _124.Counterparty, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _124.Counterparty; - fromPartial(object: { - clientId?: string; - connectionId?: string; - prefix?: { - keyPrefix?: Uint8Array; - }; - }): _124.Counterparty; - }; - ClientPaths: { - encode(message: _124.ClientPaths, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _124.ClientPaths; - fromPartial(object: { - paths?: string[]; - }): _124.ClientPaths; - }; - ConnectionPaths: { - encode(message: _124.ConnectionPaths, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _124.ConnectionPaths; - fromPartial(object: { - clientId?: string; - paths?: string[]; - }): _124.ConnectionPaths; - }; - Version: { - encode(message: _124.Version, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _124.Version; - fromPartial(object: { - identifier?: string; - features?: string[]; - }): _124.Version; - }; - Params: { - encode(message: _124.Params, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _124.Params; - fromPartial(object: { - maxExpectedTimePerBlock?: string | number | import("long").Long; - }): _124.Params; - }; - }; - } - namespace port { - const v1: { - QueryClientImpl: typeof _205.QueryClientImpl; - createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => { - appVersion(request: _128.QueryAppVersionRequest): Promise<_128.QueryAppVersionResponse>; - }; - QueryAppVersionRequest: { - encode(message: _128.QueryAppVersionRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _128.QueryAppVersionRequest; - fromPartial(object: { - portId?: string; - connectionId?: string; - ordering?: _115.Order; - counterparty?: { - portId?: string; - channelId?: string; - }; - proposedVersion?: string; - }): _128.QueryAppVersionRequest; - }; - QueryAppVersionResponse: { - encode(message: _128.QueryAppVersionResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _128.QueryAppVersionResponse; - fromPartial(object: { - portId?: string; - version?: string; - }): _128.QueryAppVersionResponse; - }; - }; - } - namespace types { - const v1: { - GenesisState: { - encode(message: _129.GenesisState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _129.GenesisState; - fromPartial(object: { - clientGenesis?: { - clients?: { - clientId?: string; - clientState?: { - typeUrl?: string; - value?: Uint8Array; - }; - }[]; - clientsConsensus?: { - clientId?: string; - consensusStates?: { - height?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - consensusState?: { - typeUrl?: string; - value?: Uint8Array; - }; - }[]; - }[]; - clientsMetadata?: { - clientId?: string; - clientMetadata?: { - key?: Uint8Array; - value?: Uint8Array; - }[]; - }[]; - params?: { - allowedClients?: string[]; - }; - createLocalhost?: boolean; - nextClientSequence?: string | number | import("long").Long; - }; - connectionGenesis?: { - connections?: { - id?: string; - clientId?: string; - versions?: { - identifier?: string; - features?: string[]; - }[]; - state?: _124.State; - counterparty?: { - clientId?: string; - connectionId?: string; - prefix?: { - keyPrefix?: Uint8Array; - }; - }; - delayPeriod?: string | number | import("long").Long; - }[]; - clientConnectionPaths?: { - clientId?: string; - paths?: string[]; - }[]; - nextConnectionSequence?: string | number | import("long").Long; - params?: { - maxExpectedTimePerBlock?: string | number | import("long").Long; - }; - }; - channelGenesis?: { - channels?: { - state?: _115.State; - ordering?: _115.Order; - counterparty?: { - portId?: string; - channelId?: string; - }; - connectionHops?: string[]; - version?: string; - portId?: string; - channelId?: string; - }[]; - acknowledgements?: { - portId?: string; - channelId?: string; - sequence?: string | number | import("long").Long; - data?: Uint8Array; - }[]; - commitments?: { - portId?: string; - channelId?: string; - sequence?: string | number | import("long").Long; - data?: Uint8Array; - }[]; - receipts?: { - portId?: string; - channelId?: string; - sequence?: string | number | import("long").Long; - data?: Uint8Array; - }[]; - sendSequences?: { - portId?: string; - channelId?: string; - sequence?: string | number | import("long").Long; - }[]; - recvSequences?: { - portId?: string; - channelId?: string; - sequence?: string | number | import("long").Long; - }[]; - ackSequences?: { - portId?: string; - channelId?: string; - sequence?: string | number | import("long").Long; - }[]; - nextChannelSequence?: string | number | import("long").Long; - }; - }): _129.GenesisState; - }; - }; - } - } - namespace lightclients { - namespace localhost { - const v1: { - ClientState: { - encode(message: _130.ClientState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _130.ClientState; - fromPartial(object: { - chainId?: string; - height?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - }): _130.ClientState; - }; - }; - } - namespace solomachine { - const v1: { - dataTypeFromJSON(object: any): _131.DataType; - dataTypeToJSON(object: _131.DataType): string; - DataType: typeof _131.DataType; - DataTypeSDKType: typeof _131.DataType; - ClientState: { - encode(message: _131.ClientState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _131.ClientState; - fromPartial(object: { - sequence?: string | number | import("long").Long; - frozenSequence?: string | number | import("long").Long; - consensusState?: { - publicKey?: { - typeUrl?: string; - value?: Uint8Array; - }; - diversifier?: string; - timestamp?: string | number | import("long").Long; - }; - allowUpdateAfterProposal?: boolean; - }): _131.ClientState; - }; - ConsensusState: { - encode(message: _131.ConsensusState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _131.ConsensusState; - fromPartial(object: { - publicKey?: { - typeUrl?: string; - value?: Uint8Array; - }; - diversifier?: string; - timestamp?: string | number | import("long").Long; - }): _131.ConsensusState; - }; - Header: { - encode(message: _131.Header, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _131.Header; - fromPartial(object: { - sequence?: string | number | import("long").Long; - timestamp?: string | number | import("long").Long; - signature?: Uint8Array; - newPublicKey?: { - typeUrl?: string; - value?: Uint8Array; - }; - newDiversifier?: string; - }): _131.Header; - }; - Misbehaviour: { - encode(message: _131.Misbehaviour, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _131.Misbehaviour; - fromPartial(object: { - clientId?: string; - sequence?: string | number | import("long").Long; - signatureOne?: { - signature?: Uint8Array; - dataType?: _131.DataType; - data?: Uint8Array; - timestamp?: string | number | import("long").Long; - }; - signatureTwo?: { - signature?: Uint8Array; - dataType?: _131.DataType; - data?: Uint8Array; - timestamp?: string | number | import("long").Long; - }; - }): _131.Misbehaviour; - }; - SignatureAndData: { - encode(message: _131.SignatureAndData, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _131.SignatureAndData; - fromPartial(object: { - signature?: Uint8Array; - dataType?: _131.DataType; - data?: Uint8Array; - timestamp?: string | number | import("long").Long; - }): _131.SignatureAndData; - }; - TimestampedSignatureData: { - encode(message: _131.TimestampedSignatureData, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _131.TimestampedSignatureData; - fromPartial(object: { - signatureData?: Uint8Array; - timestamp?: string | number | import("long").Long; - }): _131.TimestampedSignatureData; - }; - SignBytes: { - encode(message: _131.SignBytes, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _131.SignBytes; - fromPartial(object: { - sequence?: string | number | import("long").Long; - timestamp?: string | number | import("long").Long; - diversifier?: string; - dataType?: _131.DataType; - data?: Uint8Array; - }): _131.SignBytes; - }; - HeaderData: { - encode(message: _131.HeaderData, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _131.HeaderData; - fromPartial(object: { - newPubKey?: { - typeUrl?: string; - value?: Uint8Array; - }; - newDiversifier?: string; - }): _131.HeaderData; - }; - ClientStateData: { - encode(message: _131.ClientStateData, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _131.ClientStateData; - fromPartial(object: { - path?: Uint8Array; - clientState?: { - typeUrl?: string; - value?: Uint8Array; - }; - }): _131.ClientStateData; - }; - ConsensusStateData: { - encode(message: _131.ConsensusStateData, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _131.ConsensusStateData; - fromPartial(object: { - path?: Uint8Array; - consensusState?: { - typeUrl?: string; - value?: Uint8Array; - }; - }): _131.ConsensusStateData; - }; - ConnectionStateData: { - encode(message: _131.ConnectionStateData, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _131.ConnectionStateData; - fromPartial(object: { - path?: Uint8Array; - connection?: { - clientId?: string; - versions?: { - identifier?: string; - features?: string[]; - }[]; - state?: _124.State; - counterparty?: { - clientId?: string; - connectionId?: string; - prefix?: { - keyPrefix?: Uint8Array; - }; - }; - delayPeriod?: string | number | import("long").Long; - }; - }): _131.ConnectionStateData; - }; - ChannelStateData: { - encode(message: _131.ChannelStateData, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _131.ChannelStateData; - fromPartial(object: { - path?: Uint8Array; - channel?: { - state?: _115.State; - ordering?: _115.Order; - counterparty?: { - portId?: string; - channelId?: string; - }; - connectionHops?: string[]; - version?: string; - }; - }): _131.ChannelStateData; - }; - PacketCommitmentData: { - encode(message: _131.PacketCommitmentData, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _131.PacketCommitmentData; - fromPartial(object: { - path?: Uint8Array; - commitment?: Uint8Array; - }): _131.PacketCommitmentData; - }; - PacketAcknowledgementData: { - encode(message: _131.PacketAcknowledgementData, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _131.PacketAcknowledgementData; - fromPartial(object: { - path?: Uint8Array; - acknowledgement?: Uint8Array; - }): _131.PacketAcknowledgementData; - }; - PacketReceiptAbsenceData: { - encode(message: _131.PacketReceiptAbsenceData, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _131.PacketReceiptAbsenceData; - fromPartial(object: { - path?: Uint8Array; - }): _131.PacketReceiptAbsenceData; - }; - NextSequenceRecvData: { - encode(message: _131.NextSequenceRecvData, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _131.NextSequenceRecvData; - fromPartial(object: { - path?: Uint8Array; - nextSeqRecv?: string | number | import("long").Long; - }): _131.NextSequenceRecvData; - }; - }; - const v2: { - dataTypeFromJSON(object: any): _132.DataType; - dataTypeToJSON(object: _132.DataType): string; - DataType: typeof _132.DataType; - DataTypeSDKType: typeof _132.DataType; - ClientState: { - encode(message: _132.ClientState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _132.ClientState; - fromPartial(object: { - sequence?: string | number | import("long").Long; - isFrozen?: boolean; - consensusState?: { - publicKey?: { - typeUrl?: string; - value?: Uint8Array; - }; - diversifier?: string; - timestamp?: string | number | import("long").Long; - }; - allowUpdateAfterProposal?: boolean; - }): _132.ClientState; - }; - ConsensusState: { - encode(message: _132.ConsensusState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _132.ConsensusState; - fromPartial(object: { - publicKey?: { - typeUrl?: string; - value?: Uint8Array; - }; - diversifier?: string; - timestamp?: string | number | import("long").Long; - }): _132.ConsensusState; - }; - Header: { - encode(message: _132.Header, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _132.Header; - fromPartial(object: { - sequence?: string | number | import("long").Long; - timestamp?: string | number | import("long").Long; - signature?: Uint8Array; - newPublicKey?: { - typeUrl?: string; - value?: Uint8Array; - }; - newDiversifier?: string; - }): _132.Header; - }; - Misbehaviour: { - encode(message: _132.Misbehaviour, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _132.Misbehaviour; - fromPartial(object: { - clientId?: string; - sequence?: string | number | import("long").Long; - signatureOne?: { - signature?: Uint8Array; - dataType?: _132.DataType; - data?: Uint8Array; - timestamp?: string | number | import("long").Long; - }; - signatureTwo?: { - signature?: Uint8Array; - dataType?: _132.DataType; - data?: Uint8Array; - timestamp?: string | number | import("long").Long; - }; - }): _132.Misbehaviour; - }; - SignatureAndData: { - encode(message: _132.SignatureAndData, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _132.SignatureAndData; - fromPartial(object: { - signature?: Uint8Array; - dataType?: _132.DataType; - data?: Uint8Array; - timestamp?: string | number | import("long").Long; - }): _132.SignatureAndData; - }; - TimestampedSignatureData: { - encode(message: _132.TimestampedSignatureData, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _132.TimestampedSignatureData; - fromPartial(object: { - signatureData?: Uint8Array; - timestamp?: string | number | import("long").Long; - }): _132.TimestampedSignatureData; - }; - SignBytes: { - encode(message: _132.SignBytes, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _132.SignBytes; - fromPartial(object: { - sequence?: string | number | import("long").Long; - timestamp?: string | number | import("long").Long; - diversifier?: string; - dataType?: _132.DataType; - data?: Uint8Array; - }): _132.SignBytes; - }; - HeaderData: { - encode(message: _132.HeaderData, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _132.HeaderData; - fromPartial(object: { - newPubKey?: { - typeUrl?: string; - value?: Uint8Array; - }; - newDiversifier?: string; - }): _132.HeaderData; - }; - ClientStateData: { - encode(message: _132.ClientStateData, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _132.ClientStateData; - fromPartial(object: { - path?: Uint8Array; - clientState?: { - typeUrl?: string; - value?: Uint8Array; - }; - }): _132.ClientStateData; - }; - ConsensusStateData: { - encode(message: _132.ConsensusStateData, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _132.ConsensusStateData; - fromPartial(object: { - path?: Uint8Array; - consensusState?: { - typeUrl?: string; - value?: Uint8Array; - }; - }): _132.ConsensusStateData; - }; - ConnectionStateData: { - encode(message: _132.ConnectionStateData, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _132.ConnectionStateData; - fromPartial(object: { - path?: Uint8Array; - connection?: { - clientId?: string; - versions?: { - identifier?: string; - features?: string[]; - }[]; - state?: _124.State; - counterparty?: { - clientId?: string; - connectionId?: string; - prefix?: { - keyPrefix?: Uint8Array; - }; - }; - delayPeriod?: string | number | import("long").Long; - }; - }): _132.ConnectionStateData; - }; - ChannelStateData: { - encode(message: _132.ChannelStateData, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _132.ChannelStateData; - fromPartial(object: { - path?: Uint8Array; - channel?: { - state?: _115.State; - ordering?: _115.Order; - counterparty?: { - portId?: string; - channelId?: string; - }; - connectionHops?: string[]; - version?: string; - }; - }): _132.ChannelStateData; - }; - PacketCommitmentData: { - encode(message: _132.PacketCommitmentData, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _132.PacketCommitmentData; - fromPartial(object: { - path?: Uint8Array; - commitment?: Uint8Array; - }): _132.PacketCommitmentData; - }; - PacketAcknowledgementData: { - encode(message: _132.PacketAcknowledgementData, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _132.PacketAcknowledgementData; - fromPartial(object: { - path?: Uint8Array; - acknowledgement?: Uint8Array; - }): _132.PacketAcknowledgementData; - }; - PacketReceiptAbsenceData: { - encode(message: _132.PacketReceiptAbsenceData, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _132.PacketReceiptAbsenceData; - fromPartial(object: { - path?: Uint8Array; - }): _132.PacketReceiptAbsenceData; - }; - NextSequenceRecvData: { - encode(message: _132.NextSequenceRecvData, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _132.NextSequenceRecvData; - fromPartial(object: { - path?: Uint8Array; - nextSeqRecv?: string | number | import("long").Long; - }): _132.NextSequenceRecvData; - }; - }; - } - namespace tendermint { - const v1: { - ClientState: { - encode(message: _133.ClientState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _133.ClientState; - fromPartial(object: { - chainId?: string; - trustLevel?: { - numerator?: string | number | import("long").Long; - denominator?: string | number | import("long").Long; - }; - trustingPeriod?: { - seconds?: string | number | import("long").Long; - nanos?: number; - }; - unbondingPeriod?: { - seconds?: string | number | import("long").Long; - nanos?: number; - }; - maxClockDrift?: { - seconds?: string | number | import("long").Long; - nanos?: number; - }; - frozenHeight?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - latestHeight?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - proofSpecs?: { - leafSpec?: { - hash?: import("../confio/proofs").HashOp; - prehashKey?: import("../confio/proofs").HashOp; - prehashValue?: import("../confio/proofs").HashOp; - length?: import("../confio/proofs").LengthOp; - prefix?: Uint8Array; - }; - innerSpec?: { - childOrder?: number[]; - childSize?: number; - minPrefixLength?: number; - maxPrefixLength?: number; - emptyChild?: Uint8Array; - hash?: import("../confio/proofs").HashOp; - }; - maxDepth?: number; - minDepth?: number; - }[]; - upgradePath?: string[]; - allowUpdateAfterExpiry?: boolean; - allowUpdateAfterMisbehaviour?: boolean; - }): _133.ClientState; - }; - ConsensusState: { - encode(message: _133.ConsensusState, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _133.ConsensusState; - fromPartial(object: { - timestamp?: Date; - root?: { - hash?: Uint8Array; - }; - nextValidatorsHash?: Uint8Array; - }): _133.ConsensusState; - }; - Misbehaviour: { - encode(message: _133.Misbehaviour, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _133.Misbehaviour; - fromPartial(object: { - clientId?: string; - header1?: { - signedHeader?: { - header?: { - version?: { - block?: string | number | import("long").Long; - app?: string | number | import("long").Long; - }; - chainId?: string; - height?: string | number | import("long").Long; - time?: Date; - lastBlockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - lastCommitHash?: Uint8Array; - dataHash?: Uint8Array; - validatorsHash?: Uint8Array; - nextValidatorsHash?: Uint8Array; - consensusHash?: Uint8Array; - appHash?: Uint8Array; - lastResultsHash?: Uint8Array; - evidenceHash?: Uint8Array; - proposerAddress?: Uint8Array; - }; - commit?: { - height?: string | number | import("long").Long; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - signatures?: { - blockIdFlag?: import("../tendermint/types/types").BlockIDFlag; - validatorAddress?: Uint8Array; - timestamp?: Date; - signature?: Uint8Array; - }[]; - }; - }; - validatorSet?: { - validators?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: string | number | import("long").Long; - proposerPriority?: string | number | import("long").Long; - }[]; - proposer?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: string | number | import("long").Long; - proposerPriority?: string | number | import("long").Long; - }; - totalVotingPower?: string | number | import("long").Long; - }; - trustedHeight?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - trustedValidators?: { - validators?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: string | number | import("long").Long; - proposerPriority?: string | number | import("long").Long; - }[]; - proposer?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: string | number | import("long").Long; - proposerPriority?: string | number | import("long").Long; - }; - totalVotingPower?: string | number | import("long").Long; - }; - }; - header2?: { - signedHeader?: { - header?: { - version?: { - block?: string | number | import("long").Long; - app?: string | number | import("long").Long; - }; - chainId?: string; - height?: string | number | import("long").Long; - time?: Date; - lastBlockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - lastCommitHash?: Uint8Array; - dataHash?: Uint8Array; - validatorsHash?: Uint8Array; - nextValidatorsHash?: Uint8Array; - consensusHash?: Uint8Array; - appHash?: Uint8Array; - lastResultsHash?: Uint8Array; - evidenceHash?: Uint8Array; - proposerAddress?: Uint8Array; - }; - commit?: { - height?: string | number | import("long").Long; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - signatures?: { - blockIdFlag?: import("../tendermint/types/types").BlockIDFlag; - validatorAddress?: Uint8Array; - timestamp?: Date; - signature?: Uint8Array; - }[]; - }; - }; - validatorSet?: { - validators?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: string | number | import("long").Long; - proposerPriority?: string | number | import("long").Long; - }[]; - proposer?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: string | number | import("long").Long; - proposerPriority?: string | number | import("long").Long; - }; - totalVotingPower?: string | number | import("long").Long; - }; - trustedHeight?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - trustedValidators?: { - validators?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: string | number | import("long").Long; - proposerPriority?: string | number | import("long").Long; - }[]; - proposer?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: string | number | import("long").Long; - proposerPriority?: string | number | import("long").Long; - }; - totalVotingPower?: string | number | import("long").Long; - }; - }; - }): _133.Misbehaviour; - }; - Header: { - encode(message: _133.Header, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _133.Header; - fromPartial(object: { - signedHeader?: { - header?: { - version?: { - block?: string | number | import("long").Long; - app?: string | number | import("long").Long; - }; - chainId?: string; - height?: string | number | import("long").Long; - time?: Date; - lastBlockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - lastCommitHash?: Uint8Array; - dataHash?: Uint8Array; - validatorsHash?: Uint8Array; - nextValidatorsHash?: Uint8Array; - consensusHash?: Uint8Array; - appHash?: Uint8Array; - lastResultsHash?: Uint8Array; - evidenceHash?: Uint8Array; - proposerAddress?: Uint8Array; - }; - commit?: { - height?: string | number | import("long").Long; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - signatures?: { - blockIdFlag?: import("../tendermint/types/types").BlockIDFlag; - validatorAddress?: Uint8Array; - timestamp?: Date; - signature?: Uint8Array; - }[]; - }; - }; - validatorSet?: { - validators?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: string | number | import("long").Long; - proposerPriority?: string | number | import("long").Long; - }[]; - proposer?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: string | number | import("long").Long; - proposerPriority?: string | number | import("long").Long; - }; - totalVotingPower?: string | number | import("long").Long; - }; - trustedHeight?: { - revisionNumber?: string | number | import("long").Long; - revisionHeight?: string | number | import("long").Long; - }; - trustedValidators?: { - validators?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: string | number | import("long").Long; - proposerPriority?: string | number | import("long").Long; - }[]; - proposer?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: string | number | import("long").Long; - proposerPriority?: string | number | import("long").Long; - }; - totalVotingPower?: string | number | import("long").Long; - }; - }): _133.Header; - }; - Fraction: { - encode(message: _133.Fraction, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _133.Fraction; - fromPartial(object: { - numerator?: string | number | import("long").Long; - denominator?: string | number | import("long").Long; - }): _133.Fraction; - }; - }; - } - } - const ClientFactory: { - createRPCMsgClient: ({ rpc }: { - rpc: import("../helpers").Rpc; - }) => Promise<{ - cosmos: { - authz: { - v1beta1: import("../cosmos/authz/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - bank: { - v1beta1: import("../cosmos/bank/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - crisis: { - v1beta1: import("../cosmos/crisis/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - distribution: { - v1beta1: import("../cosmos/distribution/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - evidence: { - v1beta1: import("../cosmos/evidence/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - feegrant: { - v1beta1: import("../cosmos/feegrant/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - gov: { - v1: import("../cosmos/gov/v1/tx.rpc.msg").MsgClientImpl; - v1beta1: import("../cosmos/gov/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - group: { - v1: import("../cosmos/group/v1/tx.rpc.msg").MsgClientImpl; - }; - nft: { - v1beta1: import("../cosmos/nft/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - slashing: { - v1beta1: import("../cosmos/slashing/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - staking: { - v1beta1: import("../cosmos/staking/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - upgrade: { - v1beta1: import("../cosmos/upgrade/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - vesting: { - v1beta1: import("../cosmos/vesting/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - }; - ibc: { - applications: { - transfer: { - v1: _206.MsgClientImpl; - }; - }; - core: { - channel: { - v1: _207.MsgClientImpl; - }; - client: { - v1: _208.MsgClientImpl; - }; - connection: { - v1: _209.MsgClientImpl; - }; - }; - }; - }>; - createRPCQueryClient: ({ rpcEndpoint }: { - rpcEndpoint: string | import("@cosmjs/tendermint-rpc").HttpEndpoint; - }) => Promise<{ - cosmos: { - app: { - v1alpha1: { - config(request?: import("../cosmos/app/v1alpha1/query").QueryConfigRequest): Promise; - }; - }; - auth: { - v1beta1: { - accounts(request?: import("../cosmos/auth/v1beta1/query").QueryAccountsRequest): Promise; - account(request: import("../cosmos/auth/v1beta1/query").QueryAccountRequest): Promise; - params(request?: import("../cosmos/auth/v1beta1/query").QueryParamsRequest): Promise; - moduleAccounts(request?: import("../cosmos/auth/v1beta1/query").QueryModuleAccountsRequest): Promise; - bech32Prefix(request?: import("../cosmos/auth/v1beta1/query").Bech32PrefixRequest): Promise; - addressBytesToString(request: import("../cosmos/auth/v1beta1/query").AddressBytesToStringRequest): Promise; - addressStringToBytes(request: import("../cosmos/auth/v1beta1/query").AddressStringToBytesRequest): Promise; - }; - }; - authz: { - v1beta1: { - grants(request: import("../cosmos/authz/v1beta1/query").QueryGrantsRequest): Promise; - granterGrants(request: import("../cosmos/authz/v1beta1/query").QueryGranterGrantsRequest): Promise; - granteeGrants(request: import("../cosmos/authz/v1beta1/query").QueryGranteeGrantsRequest): Promise; - }; - }; - bank: { - v1beta1: { - balance(request: import("../cosmos/bank/v1beta1/query").QueryBalanceRequest): Promise; - allBalances(request: import("../cosmos/bank/v1beta1/query").QueryAllBalancesRequest): Promise; - spendableBalances(request: import("../cosmos/bank/v1beta1/query").QuerySpendableBalancesRequest): Promise; - totalSupply(request?: import("../cosmos/bank/v1beta1/query").QueryTotalSupplyRequest): Promise; - supplyOf(request: import("../cosmos/bank/v1beta1/query").QuerySupplyOfRequest): Promise; - params(request?: import("../cosmos/bank/v1beta1/query").QueryParamsRequest): Promise; - denomMetadata(request: import("../cosmos/bank/v1beta1/query").QueryDenomMetadataRequest): Promise; - denomsMetadata(request?: import("../cosmos/bank/v1beta1/query").QueryDenomsMetadataRequest): Promise; - denomOwners(request: import("../cosmos/bank/v1beta1/query").QueryDenomOwnersRequest): Promise; - }; - }; - base: { - tendermint: { - v1beta1: { - getNodeInfo(request?: import("../cosmos/base/tendermint/v1beta1/query").GetNodeInfoRequest): Promise; - getSyncing(request?: import("../cosmos/base/tendermint/v1beta1/query").GetSyncingRequest): Promise; - getLatestBlock(request?: import("../cosmos/base/tendermint/v1beta1/query").GetLatestBlockRequest): Promise; - getBlockByHeight(request: import("../cosmos/base/tendermint/v1beta1/query").GetBlockByHeightRequest): Promise; - getLatestValidatorSet(request?: import("../cosmos/base/tendermint/v1beta1/query").GetLatestValidatorSetRequest): Promise; - getValidatorSetByHeight(request: import("../cosmos/base/tendermint/v1beta1/query").GetValidatorSetByHeightRequest): Promise; - }; - }; - }; - distribution: { - v1beta1: { - params(request?: import("../cosmos/distribution/v1beta1/query").QueryParamsRequest): Promise; - validatorOutstandingRewards(request: import("../cosmos/distribution/v1beta1/query").QueryValidatorOutstandingRewardsRequest): Promise; - validatorCommission(request: import("../cosmos/distribution/v1beta1/query").QueryValidatorCommissionRequest): Promise; - validatorSlashes(request: import("../cosmos/distribution/v1beta1/query").QueryValidatorSlashesRequest): Promise; - delegationRewards(request: import("../cosmos/distribution/v1beta1/query").QueryDelegationRewardsRequest): Promise; - delegationTotalRewards(request: import("../cosmos/distribution/v1beta1/query").QueryDelegationTotalRewardsRequest): Promise; - delegatorValidators(request: import("../cosmos/distribution/v1beta1/query").QueryDelegatorValidatorsRequest): Promise; - delegatorWithdrawAddress(request: import("../cosmos/distribution/v1beta1/query").QueryDelegatorWithdrawAddressRequest): Promise; - communityPool(request?: import("../cosmos/distribution/v1beta1/query").QueryCommunityPoolRequest): Promise; - }; - }; - evidence: { - v1beta1: { - evidence(request: import("../cosmos/evidence/v1beta1/query").QueryEvidenceRequest): Promise; - allEvidence(request?: import("../cosmos/evidence/v1beta1/query").QueryAllEvidenceRequest): Promise; - }; - }; - feegrant: { - v1beta1: { - allowance(request: import("../cosmos/feegrant/v1beta1/query").QueryAllowanceRequest): Promise; - allowances(request: import("../cosmos/feegrant/v1beta1/query").QueryAllowancesRequest): Promise; - allowancesByGranter(request: import("../cosmos/feegrant/v1beta1/query").QueryAllowancesByGranterRequest): Promise; - }; - }; - gov: { - v1: { - proposal(request: import("../cosmos/gov/v1/query").QueryProposalRequest): Promise; - proposals(request: import("../cosmos/gov/v1/query").QueryProposalsRequest): Promise; - vote(request: import("../cosmos/gov/v1/query").QueryVoteRequest): Promise; - votes(request: import("../cosmos/gov/v1/query").QueryVotesRequest): Promise; - params(request: import("../cosmos/gov/v1/query").QueryParamsRequest): Promise; - deposit(request: import("../cosmos/gov/v1/query").QueryDepositRequest): Promise; - deposits(request: import("../cosmos/gov/v1/query").QueryDepositsRequest): Promise; - tallyResult(request: import("../cosmos/gov/v1/query").QueryTallyResultRequest): Promise; - }; - v1beta1: { - proposal(request: import("../cosmos/gov/v1beta1/query").QueryProposalRequest): Promise; - proposals(request: import("../cosmos/gov/v1beta1/query").QueryProposalsRequest): Promise; - vote(request: import("../cosmos/gov/v1beta1/query").QueryVoteRequest): Promise; - votes(request: import("../cosmos/gov/v1beta1/query").QueryVotesRequest): Promise; - params(request: import("../cosmos/gov/v1beta1/query").QueryParamsRequest): Promise; - deposit(request: import("../cosmos/gov/v1beta1/query").QueryDepositRequest): Promise; - deposits(request: import("../cosmos/gov/v1beta1/query").QueryDepositsRequest): Promise; - tallyResult(request: import("../cosmos/gov/v1beta1/query").QueryTallyResultRequest): Promise; - }; - }; - group: { - v1: { - groupInfo(request: import("../cosmos/group/v1/query").QueryGroupInfoRequest): Promise; - groupPolicyInfo(request: import("../cosmos/group/v1/query").QueryGroupPolicyInfoRequest): Promise; - groupMembers(request: import("../cosmos/group/v1/query").QueryGroupMembersRequest): Promise; - groupsByAdmin(request: import("../cosmos/group/v1/query").QueryGroupsByAdminRequest): Promise; - groupPoliciesByGroup(request: import("../cosmos/group/v1/query").QueryGroupPoliciesByGroupRequest): Promise; - groupPoliciesByAdmin(request: import("../cosmos/group/v1/query").QueryGroupPoliciesByAdminRequest): Promise; - proposal(request: import("../cosmos/group/v1/query").QueryProposalRequest): Promise; - proposalsByGroupPolicy(request: import("../cosmos/group/v1/query").QueryProposalsByGroupPolicyRequest): Promise; - voteByProposalVoter(request: import("../cosmos/group/v1/query").QueryVoteByProposalVoterRequest): Promise; - votesByProposal(request: import("../cosmos/group/v1/query").QueryVotesByProposalRequest): Promise; - votesByVoter(request: import("../cosmos/group/v1/query").QueryVotesByVoterRequest): Promise; - groupsByMember(request: import("../cosmos/group/v1/query").QueryGroupsByMemberRequest): Promise; - tallyResult(request: import("../cosmos/group/v1/query").QueryTallyResultRequest): Promise; - }; - }; - mint: { - v1beta1: { - params(request?: import("../cosmos/mint/v1beta1/query").QueryParamsRequest): Promise; - inflation(request?: import("../cosmos/mint/v1beta1/query").QueryInflationRequest): Promise; - annualProvisions(request?: import("../cosmos/mint/v1beta1/query").QueryAnnualProvisionsRequest): Promise; - }; - }; - nft: { - v1beta1: { - balance(request: import("../cosmos/nft/v1beta1/query").QueryBalanceRequest): Promise; - owner(request: import("../cosmos/nft/v1beta1/query").QueryOwnerRequest): Promise; - supply(request: import("../cosmos/nft/v1beta1/query").QuerySupplyRequest): Promise; - nFTs(request: import("../cosmos/nft/v1beta1/query").QueryNFTsRequest): Promise; - nFT(request: import("../cosmos/nft/v1beta1/query").QueryNFTRequest): Promise; - class(request: import("../cosmos/nft/v1beta1/query").QueryClassRequest): Promise; - classes(request?: import("../cosmos/nft/v1beta1/query").QueryClassesRequest): Promise; - }; - }; - params: { - v1beta1: { - params(request: import("../cosmos/params/v1beta1/query").QueryParamsRequest): Promise; - subspaces(request?: import("../cosmos/params/v1beta1/query").QuerySubspacesRequest): Promise; - }; - }; - slashing: { - v1beta1: { - params(request?: import("../cosmos/slashing/v1beta1/query").QueryParamsRequest): Promise; - signingInfo(request: import("../cosmos/slashing/v1beta1/query").QuerySigningInfoRequest): Promise; - signingInfos(request?: import("../cosmos/slashing/v1beta1/query").QuerySigningInfosRequest): Promise; - }; - }; - staking: { - v1beta1: { - validators(request: import("../cosmos/staking/v1beta1/query").QueryValidatorsRequest): Promise; - validator(request: import("../cosmos/staking/v1beta1/query").QueryValidatorRequest): Promise; - validatorDelegations(request: import("../cosmos/staking/v1beta1/query").QueryValidatorDelegationsRequest): Promise; - validatorUnbondingDelegations(request: import("../cosmos/staking/v1beta1/query").QueryValidatorUnbondingDelegationsRequest): Promise; - delegation(request: import("../cosmos/staking/v1beta1/query").QueryDelegationRequest): Promise; - unbondingDelegation(request: import("../cosmos/staking/v1beta1/query").QueryUnbondingDelegationRequest): Promise; - delegatorDelegations(request: import("../cosmos/staking/v1beta1/query").QueryDelegatorDelegationsRequest): Promise; - delegatorUnbondingDelegations(request: import("../cosmos/staking/v1beta1/query").QueryDelegatorUnbondingDelegationsRequest): Promise; - redelegations(request: import("../cosmos/staking/v1beta1/query").QueryRedelegationsRequest): Promise; - delegatorValidators(request: import("../cosmos/staking/v1beta1/query").QueryDelegatorValidatorsRequest): Promise; - delegatorValidator(request: import("../cosmos/staking/v1beta1/query").QueryDelegatorValidatorRequest): Promise; - historicalInfo(request: import("../cosmos/staking/v1beta1/query").QueryHistoricalInfoRequest): Promise; - pool(request?: import("../cosmos/staking/v1beta1/query").QueryPoolRequest): Promise; - params(request?: import("../cosmos/staking/v1beta1/query").QueryParamsRequest): Promise; - }; - }; - tx: { - v1beta1: { - simulate(request: import("../cosmos/tx/v1beta1/service").SimulateRequest): Promise; - getTx(request: import("../cosmos/tx/v1beta1/service").GetTxRequest): Promise; - broadcastTx(request: import("../cosmos/tx/v1beta1/service").BroadcastTxRequest): Promise; - getTxsEvent(request: import("../cosmos/tx/v1beta1/service").GetTxsEventRequest): Promise; - getBlockWithTxs(request: import("../cosmos/tx/v1beta1/service").GetBlockWithTxsRequest): Promise; - }; - }; - upgrade: { - v1beta1: { - currentPlan(request?: import("../cosmos/upgrade/v1beta1/query").QueryCurrentPlanRequest): Promise; - appliedPlan(request: import("../cosmos/upgrade/v1beta1/query").QueryAppliedPlanRequest): Promise; - upgradedConsensusState(request: import("../cosmos/upgrade/v1beta1/query").QueryUpgradedConsensusStateRequest): Promise; - moduleVersions(request: import("../cosmos/upgrade/v1beta1/query").QueryModuleVersionsRequest): Promise; - authority(request?: import("../cosmos/upgrade/v1beta1/query").QueryAuthorityRequest): Promise; - }; - }; - }; - ibc: { - applications: { - transfer: { - v1: { - denomTrace(request: _111.QueryDenomTraceRequest): Promise<_111.QueryDenomTraceResponse>; - denomTraces(request?: _111.QueryDenomTracesRequest): Promise<_111.QueryDenomTracesResponse>; - params(request?: _111.QueryParamsRequest): Promise<_111.QueryParamsResponse>; - }; - }; - }; - core: { - channel: { - v1: { - channel(request: _117.QueryChannelRequest): Promise<_117.QueryChannelResponse>; - channels(request?: _117.QueryChannelsRequest): Promise<_117.QueryChannelsResponse>; - connectionChannels(request: _117.QueryConnectionChannelsRequest): Promise<_117.QueryConnectionChannelsResponse>; - channelClientState(request: _117.QueryChannelClientStateRequest): Promise<_117.QueryChannelClientStateResponse>; - channelConsensusState(request: _117.QueryChannelConsensusStateRequest): Promise<_117.QueryChannelConsensusStateResponse>; - packetCommitment(request: _117.QueryPacketCommitmentRequest): Promise<_117.QueryPacketCommitmentResponse>; - packetCommitments(request: _117.QueryPacketCommitmentsRequest): Promise<_117.QueryPacketCommitmentsResponse>; - packetReceipt(request: _117.QueryPacketReceiptRequest): Promise<_117.QueryPacketReceiptResponse>; - packetAcknowledgement(request: _117.QueryPacketAcknowledgementRequest): Promise<_117.QueryPacketAcknowledgementResponse>; - packetAcknowledgements(request: _117.QueryPacketAcknowledgementsRequest): Promise<_117.QueryPacketAcknowledgementsResponse>; - unreceivedPackets(request: _117.QueryUnreceivedPacketsRequest): Promise<_117.QueryUnreceivedPacketsResponse>; - unreceivedAcks(request: _117.QueryUnreceivedAcksRequest): Promise<_117.QueryUnreceivedAcksResponse>; - nextSequenceReceive(request: _117.QueryNextSequenceReceiveRequest): Promise<_117.QueryNextSequenceReceiveResponse>; - }; - }; - client: { - v1: { - clientState(request: _121.QueryClientStateRequest): Promise<_121.QueryClientStateResponse>; - clientStates(request?: _121.QueryClientStatesRequest): Promise<_121.QueryClientStatesResponse>; - consensusState(request: _121.QueryConsensusStateRequest): Promise<_121.QueryConsensusStateResponse>; - consensusStates(request: _121.QueryConsensusStatesRequest): Promise<_121.QueryConsensusStatesResponse>; - clientStatus(request: _121.QueryClientStatusRequest): Promise<_121.QueryClientStatusResponse>; - clientParams(request?: _121.QueryClientParamsRequest): Promise<_121.QueryClientParamsResponse>; - upgradedClientState(request?: _121.QueryUpgradedClientStateRequest): Promise<_121.QueryUpgradedClientStateResponse>; - upgradedConsensusState(request?: _121.QueryUpgradedConsensusStateRequest): Promise<_121.QueryUpgradedConsensusStateResponse>; - }; - }; - connection: { - v1: { - connection(request: _126.QueryConnectionRequest): Promise<_126.QueryConnectionResponse>; - connections(request?: _126.QueryConnectionsRequest): Promise<_126.QueryConnectionsResponse>; - clientConnections(request: _126.QueryClientConnectionsRequest): Promise<_126.QueryClientConnectionsResponse>; - connectionClientState(request: _126.QueryConnectionClientStateRequest): Promise<_126.QueryConnectionClientStateResponse>; - connectionConsensusState(request: _126.QueryConnectionConsensusStateRequest): Promise<_126.QueryConnectionConsensusStateResponse>; - }; - }; - port: { - v1: { - appVersion(request: _128.QueryAppVersionRequest): Promise<_128.QueryAppVersionResponse>; - }; - }; - }; - }; - }>; - createLCDClient: ({ restEndpoint }: { - restEndpoint: string; - }) => Promise<{ - cosmos: { - auth: { - v1beta1: import("../cosmos/auth/v1beta1/query.lcd").LCDQueryClient; - }; - authz: { - v1beta1: import("../cosmos/authz/v1beta1/query.lcd").LCDQueryClient; - }; - bank: { - v1beta1: import("../cosmos/bank/v1beta1/query.lcd").LCDQueryClient; - }; - base: { - tendermint: { - v1beta1: import("../cosmos/base/tendermint/v1beta1/query.lcd").LCDQueryClient; - }; - }; - distribution: { - v1beta1: import("../cosmos/distribution/v1beta1/query.lcd").LCDQueryClient; - }; - evidence: { - v1beta1: import("../cosmos/evidence/v1beta1/query.lcd").LCDQueryClient; - }; - feegrant: { - v1beta1: import("../cosmos/feegrant/v1beta1/query.lcd").LCDQueryClient; - }; - gov: { - v1: import("../cosmos/gov/v1/query.lcd").LCDQueryClient; - v1beta1: import("../cosmos/gov/v1beta1/query.lcd").LCDQueryClient; - }; - group: { - v1: import("../cosmos/group/v1/query.lcd").LCDQueryClient; - }; - mint: { - v1beta1: import("../cosmos/mint/v1beta1/query.lcd").LCDQueryClient; - }; - nft: { - v1beta1: import("../cosmos/nft/v1beta1/query.lcd").LCDQueryClient; - }; - params: { - v1beta1: import("../cosmos/params/v1beta1/query.lcd").LCDQueryClient; - }; - slashing: { - v1beta1: import("../cosmos/slashing/v1beta1/query.lcd").LCDQueryClient; - }; - staking: { - v1beta1: import("../cosmos/staking/v1beta1/query.lcd").LCDQueryClient; - }; - tx: { - v1beta1: import("../cosmos/tx/v1beta1/service.lcd").LCDQueryClient; - }; - upgrade: { - v1beta1: import("../cosmos/upgrade/v1beta1/query.lcd").LCDQueryClient; - }; - }; - ibc: { - applications: { - transfer: { - v1: _197.LCDQueryClient; - }; - }; - core: { - channel: { - v1: _198.LCDQueryClient; - }; - client: { - v1: _199.LCDQueryClient; - }; - connection: { - v1: _200.LCDQueryClient; - }; - }; - }; - }>; - }; -} diff --git a/packages/codegen/dist/ibc/core/channel/v1/channel.d.ts b/packages/codegen/dist/ibc/core/channel/v1/channel.d.ts deleted file mode 100644 index b039e81f..00000000 --- a/packages/codegen/dist/ibc/core/channel/v1/channel.d.ts +++ /dev/null @@ -1,244 +0,0 @@ -/// -import { Height, HeightSDKType } from "../../client/v1/client"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, Long } from "../../../../helpers"; -/** - * State defines if a channel is in one of the following states: - * CLOSED, INIT, TRYOPEN, OPEN or UNINITIALIZED. - */ -export declare 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 declare const StateSDKType: typeof State; -export declare function stateFromJSON(object: any): State; -export declare function stateToJSON(object: State): string; -/** Order defines if a channel is ORDERED or UNORDERED */ -export declare 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 declare const OrderSDKType: typeof Order; -export declare function orderFromJSON(object: any): Order; -export declare function orderToJSON(object: Order): 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 Channel { - /** current state of the channel end */ - state: State; - /** whether the channel is ordered or unordered */ - ordering: Order; - /** counterparty channel end */ - counterparty?: Counterparty; - /** - * 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 { - state: State; - ordering: Order; - counterparty?: CounterpartySDKType; - connection_hops: string[]; - 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; - /** - * 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 { - state: State; - ordering: Order; - counterparty?: CounterpartySDKType; - connection_hops: string[]; - version: string; - port_id: string; - 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_id: string; - 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; - /** 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 { - sequence: Long; - source_port: string; - source_channel: string; - destination_port: string; - destination_channel: string; - data: Uint8Array; - timeout_height?: HeightSDKType; - 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 { - port_id: string; - channel_id: string; - sequence: Long; - 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; -} -export declare const Channel: { - encode(message: Channel, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Channel; - fromPartial(object: DeepPartial): Channel; -}; -export declare const IdentifiedChannel: { - encode(message: IdentifiedChannel, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): IdentifiedChannel; - fromPartial(object: DeepPartial): IdentifiedChannel; -}; -export declare const Counterparty: { - encode(message: Counterparty, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Counterparty; - fromPartial(object: DeepPartial): Counterparty; -}; -export declare const Packet: { - encode(message: Packet, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Packet; - fromPartial(object: DeepPartial): Packet; -}; -export declare const PacketState: { - encode(message: PacketState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): PacketState; - fromPartial(object: DeepPartial): PacketState; -}; -export declare const Acknowledgement: { - encode(message: Acknowledgement, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Acknowledgement; - fromPartial(object: DeepPartial): Acknowledgement; -}; diff --git a/packages/codegen/dist/ibc/core/channel/v1/genesis.d.ts b/packages/codegen/dist/ibc/core/channel/v1/genesis.d.ts deleted file mode 100644 index 0dca7bea..00000000 --- a/packages/codegen/dist/ibc/core/channel/v1/genesis.d.ts +++ /dev/null @@ -1,55 +0,0 @@ -/// -import { IdentifiedChannel, IdentifiedChannelSDKType, PacketState, PacketStateSDKType } from "./channel"; -import { Long, DeepPartial } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** 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[]; - 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; -} -export declare const GenesisState: { - encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState; - fromPartial(object: DeepPartial): GenesisState; -}; -export declare const PacketSequence: { - encode(message: PacketSequence, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): PacketSequence; - fromPartial(object: DeepPartial): PacketSequence; -}; diff --git a/packages/codegen/dist/ibc/core/channel/v1/query.d.ts b/packages/codegen/dist/ibc/core/channel/v1/query.d.ts deleted file mode 100644 index 202e5c8e..00000000 --- a/packages/codegen/dist/ibc/core/channel/v1/query.d.ts +++ /dev/null @@ -1,656 +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 { DeepPartial, 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_id: string; - 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; - /** merkle proof of existence */ - proof: Uint8Array; - /** height at which the proof was retrieved */ - proofHeight?: Height; -} -/** - * 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?: ChannelSDKType; - proof: Uint8Array; - proof_height?: HeightSDKType; -} -/** QueryChannelsRequest is the request type for the Query/Channels RPC method */ -export interface QueryChannelsRequest { - /** pagination request */ - pagination?: PageRequest; -} -/** QueryChannelsRequest is the request type for the Query/Channels RPC method */ -export interface QueryChannelsRequestSDKType { - pagination?: PageRequestSDKType; -} -/** 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; - /** query block height */ - height?: Height; -} -/** QueryChannelsResponse is the response type for the Query/Channels RPC method. */ -export interface QueryChannelsResponseSDKType { - channels: IdentifiedChannelSDKType[]; - pagination?: PageResponseSDKType; - height?: HeightSDKType; -} -/** - * QueryConnectionChannelsRequest is the request type for the - * Query/QueryConnectionChannels RPC method - */ -export interface QueryConnectionChannelsRequest { - /** connection unique identifier */ - connection: string; - /** pagination request */ - pagination?: PageRequest; -} -/** - * QueryConnectionChannelsRequest is the request type for the - * Query/QueryConnectionChannels RPC method - */ -export interface QueryConnectionChannelsRequestSDKType { - connection: string; - pagination?: PageRequestSDKType; -} -/** - * 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; - /** query block height */ - height?: Height; -} -/** - * QueryConnectionChannelsResponse is the Response type for the - * Query/QueryConnectionChannels RPC method - */ -export interface QueryConnectionChannelsResponseSDKType { - channels: IdentifiedChannelSDKType[]; - pagination?: PageResponseSDKType; - height?: HeightSDKType; -} -/** - * 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_id: string; - 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; - /** merkle proof of existence */ - proof: Uint8Array; - /** height at which the proof was retrieved */ - proofHeight?: Height; -} -/** - * QueryChannelClientStateResponse is the Response type for the - * Query/QueryChannelClientState RPC method - */ -export interface QueryChannelClientStateResponseSDKType { - identified_client_state?: IdentifiedClientStateSDKType; - proof: Uint8Array; - proof_height?: HeightSDKType; -} -/** - * 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_id: string; - channel_id: string; - revision_number: Long; - 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; - /** client ID associated with the consensus state */ - clientId: string; - /** merkle proof of existence */ - proof: Uint8Array; - /** height at which the proof was retrieved */ - proofHeight?: Height; -} -/** - * QueryChannelClientStateResponse is the Response type for the - * Query/QueryChannelClientState RPC method - */ -export interface QueryChannelConsensusStateResponseSDKType { - consensus_state?: AnySDKType; - client_id: string; - proof: Uint8Array; - proof_height?: HeightSDKType; -} -/** - * 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_id: string; - channel_id: string; - 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; -} -/** - * 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 { - commitment: Uint8Array; - proof: Uint8Array; - proof_height?: HeightSDKType; -} -/** - * 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; -} -/** - * QueryPacketCommitmentsRequest is the request type for the - * Query/QueryPacketCommitments RPC method - */ -export interface QueryPacketCommitmentsRequestSDKType { - port_id: string; - channel_id: string; - pagination?: PageRequestSDKType; -} -/** - * QueryPacketCommitmentsResponse is the request type for the - * Query/QueryPacketCommitments RPC method - */ -export interface QueryPacketCommitmentsResponse { - commitments: PacketState[]; - /** pagination response */ - pagination?: PageResponse; - /** query block height */ - height?: Height; -} -/** - * QueryPacketCommitmentsResponse is the request type for the - * Query/QueryPacketCommitments RPC method - */ -export interface QueryPacketCommitmentsResponseSDKType { - commitments: PacketStateSDKType[]; - pagination?: PageResponseSDKType; - height?: HeightSDKType; -} -/** - * 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_id: string; - channel_id: string; - 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; -} -/** - * 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 { - received: boolean; - proof: Uint8Array; - proof_height?: HeightSDKType; -} -/** - * 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_id: string; - channel_id: string; - 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; -} -/** - * 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 { - acknowledgement: Uint8Array; - proof: Uint8Array; - proof_height?: HeightSDKType; -} -/** - * 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; - /** list of packet sequences */ - packetCommitmentSequences: Long[]; -} -/** - * QueryPacketAcknowledgementsRequest is the request type for the - * Query/QueryPacketCommitments RPC method - */ -export interface QueryPacketAcknowledgementsRequestSDKType { - port_id: string; - channel_id: string; - pagination?: PageRequestSDKType; - packet_commitment_sequences: Long[]; -} -/** - * QueryPacketAcknowledgemetsResponse is the request type for the - * Query/QueryPacketAcknowledgements RPC method - */ -export interface QueryPacketAcknowledgementsResponse { - acknowledgements: PacketState[]; - /** pagination response */ - pagination?: PageResponse; - /** query block height */ - height?: Height; -} -/** - * QueryPacketAcknowledgemetsResponse is the request type for the - * Query/QueryPacketAcknowledgements RPC method - */ -export interface QueryPacketAcknowledgementsResponseSDKType { - acknowledgements: PacketStateSDKType[]; - pagination?: PageResponseSDKType; - height?: HeightSDKType; -} -/** - * 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_id: string; - channel_id: string; - 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; -} -/** - * QueryUnreceivedPacketsResponse is the response type for the - * Query/UnreceivedPacketCommitments RPC method - */ -export interface QueryUnreceivedPacketsResponseSDKType { - sequences: Long[]; - height?: HeightSDKType; -} -/** - * 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_id: string; - channel_id: string; - 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; -} -/** - * QueryUnreceivedAcksResponse is the response type for the - * Query/UnreceivedAcks RPC method - */ -export interface QueryUnreceivedAcksResponseSDKType { - sequences: Long[]; - height?: HeightSDKType; -} -/** - * 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_id: string; - 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; -} -/** - * QuerySequenceResponse is the request type for the - * Query/QueryNextSequenceReceiveResponse RPC method - */ -export interface QueryNextSequenceReceiveResponseSDKType { - next_sequence_receive: Long; - proof: Uint8Array; - proof_height?: HeightSDKType; -} -export declare const QueryChannelRequest: { - encode(message: QueryChannelRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelRequest; - fromPartial(object: DeepPartial): QueryChannelRequest; -}; -export declare const QueryChannelResponse: { - encode(message: QueryChannelResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelResponse; - fromPartial(object: DeepPartial): QueryChannelResponse; -}; -export declare const QueryChannelsRequest: { - encode(message: QueryChannelsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelsRequest; - fromPartial(object: DeepPartial): QueryChannelsRequest; -}; -export declare const QueryChannelsResponse: { - encode(message: QueryChannelsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelsResponse; - fromPartial(object: DeepPartial): QueryChannelsResponse; -}; -export declare const QueryConnectionChannelsRequest: { - encode(message: QueryConnectionChannelsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionChannelsRequest; - fromPartial(object: DeepPartial): QueryConnectionChannelsRequest; -}; -export declare const QueryConnectionChannelsResponse: { - encode(message: QueryConnectionChannelsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionChannelsResponse; - fromPartial(object: DeepPartial): QueryConnectionChannelsResponse; -}; -export declare const QueryChannelClientStateRequest: { - encode(message: QueryChannelClientStateRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelClientStateRequest; - fromPartial(object: DeepPartial): QueryChannelClientStateRequest; -}; -export declare const QueryChannelClientStateResponse: { - encode(message: QueryChannelClientStateResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelClientStateResponse; - fromPartial(object: DeepPartial): QueryChannelClientStateResponse; -}; -export declare const QueryChannelConsensusStateRequest: { - encode(message: QueryChannelConsensusStateRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelConsensusStateRequest; - fromPartial(object: DeepPartial): QueryChannelConsensusStateRequest; -}; -export declare const QueryChannelConsensusStateResponse: { - encode(message: QueryChannelConsensusStateResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryChannelConsensusStateResponse; - fromPartial(object: DeepPartial): QueryChannelConsensusStateResponse; -}; -export declare const QueryPacketCommitmentRequest: { - encode(message: QueryPacketCommitmentRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketCommitmentRequest; - fromPartial(object: DeepPartial): QueryPacketCommitmentRequest; -}; -export declare const QueryPacketCommitmentResponse: { - encode(message: QueryPacketCommitmentResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketCommitmentResponse; - fromPartial(object: DeepPartial): QueryPacketCommitmentResponse; -}; -export declare const QueryPacketCommitmentsRequest: { - encode(message: QueryPacketCommitmentsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketCommitmentsRequest; - fromPartial(object: DeepPartial): QueryPacketCommitmentsRequest; -}; -export declare const QueryPacketCommitmentsResponse: { - encode(message: QueryPacketCommitmentsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketCommitmentsResponse; - fromPartial(object: DeepPartial): QueryPacketCommitmentsResponse; -}; -export declare const QueryPacketReceiptRequest: { - encode(message: QueryPacketReceiptRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketReceiptRequest; - fromPartial(object: DeepPartial): QueryPacketReceiptRequest; -}; -export declare const QueryPacketReceiptResponse: { - encode(message: QueryPacketReceiptResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketReceiptResponse; - fromPartial(object: DeepPartial): QueryPacketReceiptResponse; -}; -export declare const QueryPacketAcknowledgementRequest: { - encode(message: QueryPacketAcknowledgementRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketAcknowledgementRequest; - fromPartial(object: DeepPartial): QueryPacketAcknowledgementRequest; -}; -export declare const QueryPacketAcknowledgementResponse: { - encode(message: QueryPacketAcknowledgementResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketAcknowledgementResponse; - fromPartial(object: DeepPartial): QueryPacketAcknowledgementResponse; -}; -export declare const QueryPacketAcknowledgementsRequest: { - encode(message: QueryPacketAcknowledgementsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketAcknowledgementsRequest; - fromPartial(object: DeepPartial): QueryPacketAcknowledgementsRequest; -}; -export declare const QueryPacketAcknowledgementsResponse: { - encode(message: QueryPacketAcknowledgementsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryPacketAcknowledgementsResponse; - fromPartial(object: DeepPartial): QueryPacketAcknowledgementsResponse; -}; -export declare const QueryUnreceivedPacketsRequest: { - encode(message: QueryUnreceivedPacketsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnreceivedPacketsRequest; - fromPartial(object: DeepPartial): QueryUnreceivedPacketsRequest; -}; -export declare const QueryUnreceivedPacketsResponse: { - encode(message: QueryUnreceivedPacketsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnreceivedPacketsResponse; - fromPartial(object: DeepPartial): QueryUnreceivedPacketsResponse; -}; -export declare const QueryUnreceivedAcksRequest: { - encode(message: QueryUnreceivedAcksRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnreceivedAcksRequest; - fromPartial(object: DeepPartial): QueryUnreceivedAcksRequest; -}; -export declare const QueryUnreceivedAcksResponse: { - encode(message: QueryUnreceivedAcksResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUnreceivedAcksResponse; - fromPartial(object: DeepPartial): QueryUnreceivedAcksResponse; -}; -export declare const QueryNextSequenceReceiveRequest: { - encode(message: QueryNextSequenceReceiveRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryNextSequenceReceiveRequest; - fromPartial(object: DeepPartial): QueryNextSequenceReceiveRequest; -}; -export declare const QueryNextSequenceReceiveResponse: { - encode(message: QueryNextSequenceReceiveResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryNextSequenceReceiveResponse; - fromPartial(object: DeepPartial): QueryNextSequenceReceiveResponse; -}; diff --git a/packages/codegen/dist/ibc/core/channel/v1/query.lcd.d.ts b/packages/codegen/dist/ibc/core/channel/v1/query.lcd.d.ts deleted file mode 100644 index f7b3029b..00000000 --- a/packages/codegen/dist/ibc/core/channel/v1/query.lcd.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -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 declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - channel(params: QueryChannelRequest): Promise; - channels(params?: QueryChannelsRequest): Promise; - connectionChannels(params: QueryConnectionChannelsRequest): Promise; - channelClientState(params: QueryChannelClientStateRequest): Promise; - channelConsensusState(params: QueryChannelConsensusStateRequest): Promise; - packetCommitment(params: QueryPacketCommitmentRequest): Promise; - packetCommitments(params: QueryPacketCommitmentsRequest): Promise; - packetReceipt(params: QueryPacketReceiptRequest): Promise; - packetAcknowledgement(params: QueryPacketAcknowledgementRequest): Promise; - packetAcknowledgements(params: QueryPacketAcknowledgementsRequest): Promise; - unreceivedPackets(params: QueryUnreceivedPacketsRequest): Promise; - unreceivedAcks(params: QueryUnreceivedAcksRequest): Promise; - nextSequenceReceive(params: QueryNextSequenceReceiveRequest): Promise; -} diff --git a/packages/codegen/dist/ibc/core/channel/v1/query.rpc.Query.d.ts b/packages/codegen/dist/ibc/core/channel/v1/query.rpc.Query.d.ts deleted file mode 100644 index 69c372d5..00000000 --- a/packages/codegen/dist/ibc/core/channel/v1/query.rpc.Query.d.ts +++ /dev/null @@ -1,88 +0,0 @@ -import { Rpc } from "../../../../helpers"; -import { QueryClient } 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 declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: Rpc); - channel(request: QueryChannelRequest): Promise; - channels(request?: QueryChannelsRequest): Promise; - connectionChannels(request: QueryConnectionChannelsRequest): Promise; - channelClientState(request: QueryChannelClientStateRequest): Promise; - channelConsensusState(request: QueryChannelConsensusStateRequest): Promise; - packetCommitment(request: QueryPacketCommitmentRequest): Promise; - packetCommitments(request: QueryPacketCommitmentsRequest): Promise; - packetReceipt(request: QueryPacketReceiptRequest): Promise; - packetAcknowledgement(request: QueryPacketAcknowledgementRequest): Promise; - packetAcknowledgements(request: QueryPacketAcknowledgementsRequest): Promise; - unreceivedPackets(request: QueryUnreceivedPacketsRequest): Promise; - unreceivedAcks(request: QueryUnreceivedAcksRequest): Promise; - nextSequenceReceive(request: QueryNextSequenceReceiveRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - channel(request: QueryChannelRequest): Promise; - channels(request?: QueryChannelsRequest): Promise; - connectionChannels(request: QueryConnectionChannelsRequest): Promise; - channelClientState(request: QueryChannelClientStateRequest): Promise; - channelConsensusState(request: QueryChannelConsensusStateRequest): Promise; - packetCommitment(request: QueryPacketCommitmentRequest): Promise; - packetCommitments(request: QueryPacketCommitmentsRequest): Promise; - packetReceipt(request: QueryPacketReceiptRequest): Promise; - packetAcknowledgement(request: QueryPacketAcknowledgementRequest): Promise; - packetAcknowledgements(request: QueryPacketAcknowledgementsRequest): Promise; - unreceivedPackets(request: QueryUnreceivedPacketsRequest): Promise; - unreceivedAcks(request: QueryUnreceivedAcksRequest): Promise; - nextSequenceReceive(request: QueryNextSequenceReceiveRequest): Promise; -}; diff --git a/packages/codegen/dist/ibc/core/channel/v1/tx.d.ts b/packages/codegen/dist/ibc/core/channel/v1/tx.d.ts deleted file mode 100644 index adb36668..00000000 --- a/packages/codegen/dist/ibc/core/channel/v1/tx.d.ts +++ /dev/null @@ -1,377 +0,0 @@ -/// -import { Channel, ChannelSDKType, Packet, PacketSDKType } from "./channel"; -import { Height, HeightSDKType } from "../../client/v1/client"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, 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; - 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; - 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; - counterpartyVersion: string; - proofInit: Uint8Array; - proofHeight?: Height; - 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; - previous_channel_id: string; - channel?: ChannelSDKType; - counterparty_version: string; - proof_init: Uint8Array; - proof_height?: HeightSDKType; - 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; - 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; - 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; - 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; - 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; - 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; - 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; - proofCommitment: Uint8Array; - proofHeight?: Height; - signer: string; -} -/** MsgRecvPacket receives incoming IBC packet */ -export interface MsgRecvPacketSDKType { - packet?: PacketSDKType; - proof_commitment: Uint8Array; - proof_height?: HeightSDKType; - 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; - proofUnreceived: Uint8Array; - proofHeight?: Height; - nextSequenceRecv: Long; - signer: string; -} -/** MsgTimeout receives timed-out packet */ -export interface MsgTimeoutSDKType { - packet?: PacketSDKType; - proof_unreceived: Uint8Array; - proof_height?: HeightSDKType; - 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; - proofUnreceived: Uint8Array; - proofClose: Uint8Array; - proofHeight?: Height; - nextSequenceRecv: Long; - signer: string; -} -/** MsgTimeoutOnClose timed-out packet upon counterparty channel closure. */ -export interface MsgTimeoutOnCloseSDKType { - packet?: PacketSDKType; - proof_unreceived: Uint8Array; - proof_close: Uint8Array; - proof_height?: HeightSDKType; - 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; - acknowledgement: Uint8Array; - proofAcked: Uint8Array; - proofHeight?: Height; - signer: string; -} -/** MsgAcknowledgement receives incoming IBC acknowledgement */ -export interface MsgAcknowledgementSDKType { - packet?: PacketSDKType; - acknowledgement: Uint8Array; - proof_acked: Uint8Array; - proof_height?: HeightSDKType; - signer: string; -} -/** MsgAcknowledgementResponse defines the Msg/Acknowledgement response type. */ -export interface MsgAcknowledgementResponse { -} -/** MsgAcknowledgementResponse defines the Msg/Acknowledgement response type. */ -export interface MsgAcknowledgementResponseSDKType { -} -export declare const MsgChannelOpenInit: { - encode(message: MsgChannelOpenInit, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenInit; - fromPartial(object: DeepPartial): MsgChannelOpenInit; -}; -export declare const MsgChannelOpenInitResponse: { - encode(_: MsgChannelOpenInitResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenInitResponse; - fromPartial(_: DeepPartial): MsgChannelOpenInitResponse; -}; -export declare const MsgChannelOpenTry: { - encode(message: MsgChannelOpenTry, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenTry; - fromPartial(object: DeepPartial): MsgChannelOpenTry; -}; -export declare const MsgChannelOpenTryResponse: { - encode(_: MsgChannelOpenTryResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenTryResponse; - fromPartial(_: DeepPartial): MsgChannelOpenTryResponse; -}; -export declare const MsgChannelOpenAck: { - encode(message: MsgChannelOpenAck, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenAck; - fromPartial(object: DeepPartial): MsgChannelOpenAck; -}; -export declare const MsgChannelOpenAckResponse: { - encode(_: MsgChannelOpenAckResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenAckResponse; - fromPartial(_: DeepPartial): MsgChannelOpenAckResponse; -}; -export declare const MsgChannelOpenConfirm: { - encode(message: MsgChannelOpenConfirm, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenConfirm; - fromPartial(object: DeepPartial): MsgChannelOpenConfirm; -}; -export declare const MsgChannelOpenConfirmResponse: { - encode(_: MsgChannelOpenConfirmResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelOpenConfirmResponse; - fromPartial(_: DeepPartial): MsgChannelOpenConfirmResponse; -}; -export declare const MsgChannelCloseInit: { - encode(message: MsgChannelCloseInit, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelCloseInit; - fromPartial(object: DeepPartial): MsgChannelCloseInit; -}; -export declare const MsgChannelCloseInitResponse: { - encode(_: MsgChannelCloseInitResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelCloseInitResponse; - fromPartial(_: DeepPartial): MsgChannelCloseInitResponse; -}; -export declare const MsgChannelCloseConfirm: { - encode(message: MsgChannelCloseConfirm, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelCloseConfirm; - fromPartial(object: DeepPartial): MsgChannelCloseConfirm; -}; -export declare const MsgChannelCloseConfirmResponse: { - encode(_: MsgChannelCloseConfirmResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgChannelCloseConfirmResponse; - fromPartial(_: DeepPartial): MsgChannelCloseConfirmResponse; -}; -export declare const MsgRecvPacket: { - encode(message: MsgRecvPacket, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgRecvPacket; - fromPartial(object: DeepPartial): MsgRecvPacket; -}; -export declare const MsgRecvPacketResponse: { - encode(_: MsgRecvPacketResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgRecvPacketResponse; - fromPartial(_: DeepPartial): MsgRecvPacketResponse; -}; -export declare const MsgTimeout: { - encode(message: MsgTimeout, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgTimeout; - fromPartial(object: DeepPartial): MsgTimeout; -}; -export declare const MsgTimeoutResponse: { - encode(_: MsgTimeoutResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgTimeoutResponse; - fromPartial(_: DeepPartial): MsgTimeoutResponse; -}; -export declare const MsgTimeoutOnClose: { - encode(message: MsgTimeoutOnClose, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgTimeoutOnClose; - fromPartial(object: DeepPartial): MsgTimeoutOnClose; -}; -export declare const MsgTimeoutOnCloseResponse: { - encode(_: MsgTimeoutOnCloseResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgTimeoutOnCloseResponse; - fromPartial(_: DeepPartial): MsgTimeoutOnCloseResponse; -}; -export declare const MsgAcknowledgement: { - encode(message: MsgAcknowledgement, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgAcknowledgement; - fromPartial(object: DeepPartial): MsgAcknowledgement; -}; -export declare const MsgAcknowledgementResponse: { - encode(_: MsgAcknowledgementResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgAcknowledgementResponse; - fromPartial(_: DeepPartial): MsgAcknowledgementResponse; -}; diff --git a/packages/codegen/dist/ibc/core/channel/v1/tx.rpc.msg.d.ts b/packages/codegen/dist/ibc/core/channel/v1/tx.rpc.msg.d.ts deleted file mode 100644 index 2125f0e9..00000000 --- a/packages/codegen/dist/ibc/core/channel/v1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { Rpc } from "../../../../helpers"; -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 declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: Rpc); - channelOpenInit(request: MsgChannelOpenInit): Promise; - channelOpenTry(request: MsgChannelOpenTry): Promise; - channelOpenAck(request: MsgChannelOpenAck): Promise; - channelOpenConfirm(request: MsgChannelOpenConfirm): Promise; - channelCloseInit(request: MsgChannelCloseInit): Promise; - channelCloseConfirm(request: MsgChannelCloseConfirm): Promise; - recvPacket(request: MsgRecvPacket): Promise; - timeout(request: MsgTimeout): Promise; - timeoutOnClose(request: MsgTimeoutOnClose): Promise; - acknowledgement(request: MsgAcknowledgement): Promise; -} diff --git a/packages/codegen/dist/ibc/core/client/v1/client.d.ts b/packages/codegen/dist/ibc/core/client/v1/client.d.ts deleted file mode 100644 index 63d0e24f..00000000 --- a/packages/codegen/dist/ibc/core/client/v1/client.d.ts +++ /dev/null @@ -1,196 +0,0 @@ -/// -import { Any, AnySDKType } from "../../../../google/protobuf/any"; -import { Plan, PlanSDKType } from "../../../../cosmos/upgrade/v1beta1/upgrade"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, 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; -} -/** - * IdentifiedClientState defines a client state with an additional client - * identifier field. - */ -export interface IdentifiedClientStateSDKType { - client_id: string; - client_state?: AnySDKType; -} -/** - * ConsensusStateWithHeight defines a consensus state with an additional height - * field. - */ -export interface ConsensusStateWithHeight { - /** consensus state height */ - height?: Height; - /** consensus state */ - consensusState?: Any; -} -/** - * ConsensusStateWithHeight defines a consensus state with an additional height - * field. - */ -export interface ConsensusStateWithHeightSDKType { - height?: HeightSDKType; - consensus_state?: AnySDKType; -} -/** - * ClientConsensusStates defines all the stored consensus states for a given - * client. - */ -export interface ClientConsensusStates { - /** client identifier */ - clientId: string; - /** consensus states and their heights associated with the client */ - consensusStates: ConsensusStateWithHeight[]; -} -/** - * ClientConsensusStates defines all the stored consensus states for a given - * client. - */ -export interface ClientConsensusStatesSDKType { - client_id: string; - consensus_states: ConsensusStateWithHeightSDKType[]; -} -/** - * ClientUpdateProposal is a governance proposal. If it passes, the substitute - * client's latest consensus state is copied over to the subject client. The proposal - * handler may fail if the subject and the substitute do not match in client and - * chain parameters (with exception to latest height, frozen height, and chain-id). - */ -export interface ClientUpdateProposal { - /** 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 { - title: string; - description: string; - subject_client_id: string; - substitute_client_id: string; -} -/** - * UpgradeProposal is a gov Content type for initiating an IBC breaking - * upgrade. - */ -export interface UpgradeProposal { - title: string; - description: string; - plan?: Plan; - /** - * An UpgradedClientState must be provided to perform an IBC breaking upgrade. - * This will make the chain commit to the correct upgraded (self) client state - * before the upgrade occurs, so that connecting chains can verify that the - * new upgraded client is valid by verifying a proof on the previous version - * of the chain. This will allow IBC connections to persist smoothly across - * planned chain upgrades - */ - upgradedClientState?: Any; -} -/** - * UpgradeProposal is a gov Content type for initiating an IBC breaking - * upgrade. - */ -export interface UpgradeProposalSDKType { - title: string; - description: string; - plan?: PlanSDKType; - upgraded_client_state?: AnySDKType; -} -/** - * Height is a monotonically increasing data type - * that can be compared against another Height for the purposes of updating and - * freezing clients - * - * Normally the RevisionHeight is incremented at each height while keeping - * RevisionNumber the same. However some consensus algorithms may choose to - * reset the height in certain conditions e.g. hard forks, state-machine - * breaking changes In these cases, the RevisionNumber is incremented so that - * height continues to be monitonically increasing even as the RevisionHeight - * gets reset - */ -export interface Height { - /** the revision that the client is currently on */ - revisionNumber: Long; - /** the height within the given revision */ - revisionHeight: Long; -} -/** - * Height is a monotonically increasing data type - * that can be compared against another Height for the purposes of updating and - * freezing clients - * - * Normally the RevisionHeight is incremented at each height while keeping - * RevisionNumber the same. However some consensus algorithms may choose to - * reset the height in certain conditions e.g. hard forks, state-machine - * breaking changes In these cases, the RevisionNumber is incremented so that - * height continues to be monitonically increasing even as the RevisionHeight - * gets reset - */ -export interface HeightSDKType { - revision_number: Long; - revision_height: Long; -} -/** Params defines the set of IBC light client parameters. */ -export interface Params { - /** allowed_clients defines the list of allowed client state types. */ - allowedClients: string[]; -} -/** Params defines the set of IBC light client parameters. */ -export interface ParamsSDKType { - allowed_clients: string[]; -} -export declare const IdentifiedClientState: { - encode(message: IdentifiedClientState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): IdentifiedClientState; - fromPartial(object: DeepPartial): IdentifiedClientState; -}; -export declare const ConsensusStateWithHeight: { - encode(message: ConsensusStateWithHeight, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusStateWithHeight; - fromPartial(object: DeepPartial): ConsensusStateWithHeight; -}; -export declare const ClientConsensusStates: { - encode(message: ClientConsensusStates, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ClientConsensusStates; - fromPartial(object: DeepPartial): ClientConsensusStates; -}; -export declare const ClientUpdateProposal: { - encode(message: ClientUpdateProposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ClientUpdateProposal; - fromPartial(object: DeepPartial): ClientUpdateProposal; -}; -export declare const UpgradeProposal: { - encode(message: UpgradeProposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): UpgradeProposal; - fromPartial(object: DeepPartial): UpgradeProposal; -}; -export declare const Height: { - encode(message: Height, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Height; - fromPartial(object: DeepPartial): Height; -}; -export declare const Params: { - encode(message: Params, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Params; - fromPartial(object: DeepPartial): Params; -}; diff --git a/packages/codegen/dist/ibc/core/client/v1/genesis.d.ts b/packages/codegen/dist/ibc/core/client/v1/genesis.d.ts deleted file mode 100644 index 52aac222..00000000 --- a/packages/codegen/dist/ibc/core/client/v1/genesis.d.ts +++ /dev/null @@ -1,76 +0,0 @@ -/// -import { IdentifiedClientState, IdentifiedClientStateSDKType, ClientConsensusStates, ClientConsensusStatesSDKType, Params, ParamsSDKType } from "./client"; -import { Long, DeepPartial } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** GenesisState defines the ibc client submodule's genesis state. */ -export interface GenesisState { - /** client states with their corresponding identifiers */ - clients: IdentifiedClientState[]; - /** consensus states from each client */ - clientsConsensus: ClientConsensusStates[]; - /** metadata from each client */ - clientsMetadata: IdentifiedGenesisMetadata[]; - params?: Params; - /** create localhost on initialization */ - createLocalhost: boolean; - /** the sequence for the next generated client identifier */ - nextClientSequence: Long; -} -/** GenesisState defines the ibc client submodule's genesis state. */ -export interface GenesisStateSDKType { - clients: IdentifiedClientStateSDKType[]; - clients_consensus: ClientConsensusStatesSDKType[]; - clients_metadata: IdentifiedGenesisMetadataSDKType[]; - params?: ParamsSDKType; - create_localhost: boolean; - next_client_sequence: Long; -} -/** - * GenesisMetadata defines the genesis type for metadata that clients may return - * with ExportMetadata - */ -export interface GenesisMetadata { - /** store key of metadata without clientID-prefix */ - key: Uint8Array; - /** metadata value */ - value: Uint8Array; -} -/** - * GenesisMetadata defines the genesis type for metadata that clients may return - * with ExportMetadata - */ -export interface GenesisMetadataSDKType { - key: Uint8Array; - value: Uint8Array; -} -/** - * IdentifiedGenesisMetadata has the client metadata with the corresponding - * client id. - */ -export interface IdentifiedGenesisMetadata { - clientId: string; - clientMetadata: GenesisMetadata[]; -} -/** - * IdentifiedGenesisMetadata has the client metadata with the corresponding - * client id. - */ -export interface IdentifiedGenesisMetadataSDKType { - client_id: string; - client_metadata: GenesisMetadataSDKType[]; -} -export declare const GenesisState: { - encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState; - fromPartial(object: DeepPartial): GenesisState; -}; -export declare const GenesisMetadata: { - encode(message: GenesisMetadata, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisMetadata; - fromPartial(object: DeepPartial): GenesisMetadata; -}; -export declare const IdentifiedGenesisMetadata: { - encode(message: IdentifiedGenesisMetadata, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): IdentifiedGenesisMetadata; - fromPartial(object: DeepPartial): IdentifiedGenesisMetadata; -}; diff --git a/packages/codegen/dist/ibc/core/client/v1/query.d.ts b/packages/codegen/dist/ibc/core/client/v1/query.d.ts deleted file mode 100644 index 746ff675..00000000 --- a/packages/codegen/dist/ibc/core/client/v1/query.d.ts +++ /dev/null @@ -1,353 +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 { DeepPartial, 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_id: string; -} -/** - * QueryClientStateResponse is the response type for the Query/ClientState RPC - * method. Besides the client state, it includes a proof and the height from - * which the proof was retrieved. - */ -export interface QueryClientStateResponse { - /** client state associated with the request identifier */ - clientState?: Any; - /** merkle proof of existence */ - proof: Uint8Array; - /** height at which the proof was retrieved */ - proofHeight?: Height; -} -/** - * QueryClientStateResponse is the response type for the Query/ClientState RPC - * method. Besides the client state, it includes a proof and the height from - * which the proof was retrieved. - */ -export interface QueryClientStateResponseSDKType { - client_state?: AnySDKType; - proof: Uint8Array; - proof_height?: HeightSDKType; -} -/** - * QueryClientStatesRequest is the request type for the Query/ClientStates RPC - * method - */ -export interface QueryClientStatesRequest { - /** pagination request */ - pagination?: PageRequest; -} -/** - * QueryClientStatesRequest is the request type for the Query/ClientStates RPC - * method - */ -export interface QueryClientStatesRequestSDKType { - pagination?: PageRequestSDKType; -} -/** - * QueryClientStatesResponse is the response type for the Query/ClientStates RPC - * method. - */ -export interface QueryClientStatesResponse { - /** list of stored ClientStates of the chain. */ - clientStates: IdentifiedClientState[]; - /** pagination response */ - pagination?: PageResponse; -} -/** - * QueryClientStatesResponse is the response type for the Query/ClientStates RPC - * method. - */ -export interface QueryClientStatesResponseSDKType { - client_states: IdentifiedClientStateSDKType[]; - pagination?: PageResponseSDKType; -} -/** - * QueryConsensusStateRequest is the request type for the Query/ConsensusState - * RPC method. Besides the consensus state, it includes a proof and the height - * from which the proof was retrieved. - */ -export interface QueryConsensusStateRequest { - /** client identifier */ - clientId: string; - /** consensus state revision number */ - revisionNumber: Long; - /** consensus state revision height */ - revisionHeight: Long; - /** - * latest_height overrrides the height field and queries the latest stored - * ConsensusState - */ - latestHeight: boolean; -} -/** - * QueryConsensusStateRequest is the request type for the Query/ConsensusState - * RPC method. Besides the consensus state, it includes a proof and the height - * from which the proof was retrieved. - */ -export interface QueryConsensusStateRequestSDKType { - client_id: string; - revision_number: Long; - revision_height: Long; - latest_height: boolean; -} -/** - * QueryConsensusStateResponse is the response type for the Query/ConsensusState - * RPC method - */ -export interface QueryConsensusStateResponse { - /** consensus state associated with the client identifier at the given height */ - consensusState?: Any; - /** merkle proof of existence */ - proof: Uint8Array; - /** height at which the proof was retrieved */ - proofHeight?: Height; -} -/** - * QueryConsensusStateResponse is the response type for the Query/ConsensusState - * RPC method - */ -export interface QueryConsensusStateResponseSDKType { - consensus_state?: AnySDKType; - proof: Uint8Array; - proof_height?: HeightSDKType; -} -/** - * QueryConsensusStatesRequest is the request type for the Query/ConsensusStates - * RPC method. - */ -export interface QueryConsensusStatesRequest { - /** client identifier */ - clientId: string; - /** pagination request */ - pagination?: PageRequest; -} -/** - * QueryConsensusStatesRequest is the request type for the Query/ConsensusStates - * RPC method. - */ -export interface QueryConsensusStatesRequestSDKType { - client_id: string; - pagination?: PageRequestSDKType; -} -/** - * QueryConsensusStatesResponse is the response type for the - * Query/ConsensusStates RPC method - */ -export interface QueryConsensusStatesResponse { - /** consensus states associated with the identifier */ - consensusStates: ConsensusStateWithHeight[]; - /** pagination response */ - pagination?: PageResponse; -} -/** - * QueryConsensusStatesResponse is the response type for the - * Query/ConsensusStates RPC method - */ -export interface QueryConsensusStatesResponseSDKType { - consensus_states: ConsensusStateWithHeightSDKType[]; - pagination?: PageResponseSDKType; -} -/** - * 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_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; -} -/** - * QueryClientParamsResponse is the response type for the Query/ClientParams RPC - * method. - */ -export interface QueryClientParamsResponseSDKType { - params?: ParamsSDKType; -} -/** - * QueryUpgradedClientStateRequest is the request type for the - * Query/UpgradedClientState RPC method - */ -export interface QueryUpgradedClientStateRequest { -} -/** - * 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; -} -/** - * QueryUpgradedClientStateResponse is the response type for the - * Query/UpgradedClientState RPC method. - */ -export interface QueryUpgradedClientStateResponseSDKType { - upgraded_client_state?: AnySDKType; -} -/** - * QueryUpgradedConsensusStateRequest is the request type for the - * Query/UpgradedConsensusState RPC method - */ -export interface QueryUpgradedConsensusStateRequest { -} -/** - * 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; -} -/** - * QueryUpgradedConsensusStateResponse is the response type for the - * Query/UpgradedConsensusState RPC method. - */ -export interface QueryUpgradedConsensusStateResponseSDKType { - upgraded_consensus_state?: AnySDKType; -} -export declare const QueryClientStateRequest: { - encode(message: QueryClientStateRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStateRequest; - fromPartial(object: DeepPartial): QueryClientStateRequest; -}; -export declare const QueryClientStateResponse: { - encode(message: QueryClientStateResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStateResponse; - fromPartial(object: DeepPartial): QueryClientStateResponse; -}; -export declare const QueryClientStatesRequest: { - encode(message: QueryClientStatesRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatesRequest; - fromPartial(object: DeepPartial): QueryClientStatesRequest; -}; -export declare const QueryClientStatesResponse: { - encode(message: QueryClientStatesResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatesResponse; - fromPartial(object: DeepPartial): QueryClientStatesResponse; -}; -export declare const QueryConsensusStateRequest: { - encode(message: QueryConsensusStateRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStateRequest; - fromPartial(object: DeepPartial): QueryConsensusStateRequest; -}; -export declare const QueryConsensusStateResponse: { - encode(message: QueryConsensusStateResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStateResponse; - fromPartial(object: DeepPartial): QueryConsensusStateResponse; -}; -export declare const QueryConsensusStatesRequest: { - encode(message: QueryConsensusStatesRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStatesRequest; - fromPartial(object: DeepPartial): QueryConsensusStatesRequest; -}; -export declare const QueryConsensusStatesResponse: { - encode(message: QueryConsensusStatesResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConsensusStatesResponse; - fromPartial(object: DeepPartial): QueryConsensusStatesResponse; -}; -export declare const QueryClientStatusRequest: { - encode(message: QueryClientStatusRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatusRequest; - fromPartial(object: DeepPartial): QueryClientStatusRequest; -}; -export declare const QueryClientStatusResponse: { - encode(message: QueryClientStatusResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientStatusResponse; - fromPartial(object: DeepPartial): QueryClientStatusResponse; -}; -export declare const QueryClientParamsRequest: { - encode(_: QueryClientParamsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientParamsRequest; - fromPartial(_: DeepPartial): QueryClientParamsRequest; -}; -export declare const QueryClientParamsResponse: { - encode(message: QueryClientParamsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientParamsResponse; - fromPartial(object: DeepPartial): QueryClientParamsResponse; -}; -export declare const QueryUpgradedClientStateRequest: { - encode(_: QueryUpgradedClientStateRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedClientStateRequest; - fromPartial(_: DeepPartial): QueryUpgradedClientStateRequest; -}; -export declare const QueryUpgradedClientStateResponse: { - encode(message: QueryUpgradedClientStateResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedClientStateResponse; - fromPartial(object: DeepPartial): QueryUpgradedClientStateResponse; -}; -export declare const QueryUpgradedConsensusStateRequest: { - encode(_: QueryUpgradedConsensusStateRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateRequest; - fromPartial(_: DeepPartial): QueryUpgradedConsensusStateRequest; -}; -export declare const QueryUpgradedConsensusStateResponse: { - encode(message: QueryUpgradedConsensusStateResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryUpgradedConsensusStateResponse; - fromPartial(object: DeepPartial): QueryUpgradedConsensusStateResponse; -}; diff --git a/packages/codegen/dist/ibc/core/client/v1/query.lcd.d.ts b/packages/codegen/dist/ibc/core/client/v1/query.lcd.d.ts deleted file mode 100644 index 87e88d3b..00000000 --- a/packages/codegen/dist/ibc/core/client/v1/query.lcd.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -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 declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - clientState(params: QueryClientStateRequest): Promise; - clientStates(params?: QueryClientStatesRequest): Promise; - consensusState(params: QueryConsensusStateRequest): Promise; - consensusStates(params: QueryConsensusStatesRequest): Promise; - clientStatus(params: QueryClientStatusRequest): Promise; - clientParams(_params?: QueryClientParamsRequest): Promise; - upgradedClientState(_params?: QueryUpgradedClientStateRequest): Promise; - upgradedConsensusState(_params?: QueryUpgradedConsensusStateRequest): Promise; -} diff --git a/packages/codegen/dist/ibc/core/client/v1/query.rpc.Query.d.ts b/packages/codegen/dist/ibc/core/client/v1/query.rpc.Query.d.ts deleted file mode 100644 index ae264ca1..00000000 --- a/packages/codegen/dist/ibc/core/client/v1/query.rpc.Query.d.ts +++ /dev/null @@ -1,50 +0,0 @@ -import { Rpc } from "../../../../helpers"; -import { QueryClient } 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 declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: Rpc); - clientState(request: QueryClientStateRequest): Promise; - clientStates(request?: QueryClientStatesRequest): Promise; - consensusState(request: QueryConsensusStateRequest): Promise; - consensusStates(request: QueryConsensusStatesRequest): Promise; - clientStatus(request: QueryClientStatusRequest): Promise; - clientParams(request?: QueryClientParamsRequest): Promise; - upgradedClientState(request?: QueryUpgradedClientStateRequest): Promise; - upgradedConsensusState(request?: QueryUpgradedConsensusStateRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - clientState(request: QueryClientStateRequest): Promise; - clientStates(request?: QueryClientStatesRequest): Promise; - consensusState(request: QueryConsensusStateRequest): Promise; - consensusStates(request: QueryConsensusStatesRequest): Promise; - clientStatus(request: QueryClientStatusRequest): Promise; - clientParams(request?: QueryClientParamsRequest): Promise; - upgradedClientState(request?: QueryUpgradedClientStateRequest): Promise; - upgradedConsensusState(request?: QueryUpgradedConsensusStateRequest): Promise; -}; diff --git a/packages/codegen/dist/ibc/core/client/v1/tx.d.ts b/packages/codegen/dist/ibc/core/client/v1/tx.d.ts deleted file mode 100644 index b4cf8495..00000000 --- a/packages/codegen/dist/ibc/core/client/v1/tx.d.ts +++ /dev/null @@ -1,166 +0,0 @@ -import { Any, AnySDKType } from "../../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../../helpers"; -/** MsgCreateClient defines a message to create an IBC client */ -export interface MsgCreateClient { - /** light client state */ - clientState?: Any; - /** - * consensus state associated with the client that corresponds to a given - * height. - */ - consensusState?: Any; - /** signer address */ - signer: string; -} -/** MsgCreateClient defines a message to create an IBC client */ -export interface MsgCreateClientSDKType { - client_state?: AnySDKType; - consensus_state?: AnySDKType; - signer: string; -} -/** MsgCreateClientResponse defines the Msg/CreateClient response type. */ -export interface MsgCreateClientResponse { -} -/** 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; - /** signer address */ - signer: string; -} -/** - * MsgUpdateClient defines an sdk.Msg to update a IBC client state using - * the given header. - */ -export interface MsgUpdateClientSDKType { - client_id: string; - header?: AnySDKType; - 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; - /** - * upgraded consensus state, only contains enough information to serve as a - * basis of trust in update logic - */ - consensusState?: Any; - /** proof that old chain committed to new client */ - proofUpgradeClient: Uint8Array; - /** proof that old chain committed to new consensus state */ - proofUpgradeConsensusState: Uint8Array; - /** signer address */ - signer: string; -} -/** - * MsgUpgradeClient defines an sdk.Msg to upgrade an IBC client to a new client - * state - */ -export interface MsgUpgradeClientSDKType { - client_id: string; - client_state?: AnySDKType; - consensus_state?: AnySDKType; - proof_upgrade_client: Uint8Array; - proof_upgrade_consensus_state: Uint8Array; - signer: string; -} -/** MsgUpgradeClientResponse defines the Msg/UpgradeClient response type. */ -export interface MsgUpgradeClientResponse { -} -/** 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; - /** signer address */ - signer: string; -} -/** - * MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for - * light client misbehaviour. - */ -export interface MsgSubmitMisbehaviourSDKType { - client_id: string; - misbehaviour?: AnySDKType; - signer: string; -} -/** - * MsgSubmitMisbehaviourResponse defines the Msg/SubmitMisbehaviour response - * type. - */ -export interface MsgSubmitMisbehaviourResponse { -} -/** - * MsgSubmitMisbehaviourResponse defines the Msg/SubmitMisbehaviour response - * type. - */ -export interface MsgSubmitMisbehaviourResponseSDKType { -} -export declare const MsgCreateClient: { - encode(message: MsgCreateClient, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateClient; - fromPartial(object: DeepPartial): MsgCreateClient; -}; -export declare const MsgCreateClientResponse: { - encode(_: MsgCreateClientResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgCreateClientResponse; - fromPartial(_: DeepPartial): MsgCreateClientResponse; -}; -export declare const MsgUpdateClient: { - encode(message: MsgUpdateClient, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateClient; - fromPartial(object: DeepPartial): MsgUpdateClient; -}; -export declare const MsgUpdateClientResponse: { - encode(_: MsgUpdateClientResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateClientResponse; - fromPartial(_: DeepPartial): MsgUpdateClientResponse; -}; -export declare const MsgUpgradeClient: { - encode(message: MsgUpgradeClient, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpgradeClient; - fromPartial(object: DeepPartial): MsgUpgradeClient; -}; -export declare const MsgUpgradeClientResponse: { - encode(_: MsgUpgradeClientResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpgradeClientResponse; - fromPartial(_: DeepPartial): MsgUpgradeClientResponse; -}; -export declare const MsgSubmitMisbehaviour: { - encode(message: MsgSubmitMisbehaviour, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitMisbehaviour; - fromPartial(object: DeepPartial): MsgSubmitMisbehaviour; -}; -export declare const MsgSubmitMisbehaviourResponse: { - encode(_: MsgSubmitMisbehaviourResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgSubmitMisbehaviourResponse; - fromPartial(_: DeepPartial): MsgSubmitMisbehaviourResponse; -}; diff --git a/packages/codegen/dist/ibc/core/client/v1/tx.rpc.msg.d.ts b/packages/codegen/dist/ibc/core/client/v1/tx.rpc.msg.d.ts deleted file mode 100644 index d49d180d..00000000 --- a/packages/codegen/dist/ibc/core/client/v1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { Rpc } from "../../../../helpers"; -import { MsgCreateClient, MsgCreateClientResponse, MsgUpdateClient, MsgUpdateClientResponse, MsgUpgradeClient, MsgUpgradeClientResponse, MsgSubmitMisbehaviour, MsgSubmitMisbehaviourResponse } from "./tx"; -/** Msg defines the ibc/client Msg service. */ -export interface Msg { - /** CreateClient defines a rpc handler method for MsgCreateClient. */ - createClient(request: MsgCreateClient): Promise; - /** UpdateClient defines a rpc handler method for MsgUpdateClient. */ - updateClient(request: MsgUpdateClient): Promise; - /** UpgradeClient defines a rpc handler method for MsgUpgradeClient. */ - upgradeClient(request: MsgUpgradeClient): Promise; - /** SubmitMisbehaviour defines a rpc handler method for MsgSubmitMisbehaviour. */ - submitMisbehaviour(request: MsgSubmitMisbehaviour): Promise; -} -export declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: Rpc); - createClient(request: MsgCreateClient): Promise; - updateClient(request: MsgUpdateClient): Promise; - upgradeClient(request: MsgUpgradeClient): Promise; - submitMisbehaviour(request: MsgSubmitMisbehaviour): Promise; -} diff --git a/packages/codegen/dist/ibc/core/commitment/v1/commitment.d.ts b/packages/codegen/dist/ibc/core/commitment/v1/commitment.d.ts deleted file mode 100644 index 35419c6d..00000000 --- a/packages/codegen/dist/ibc/core/commitment/v1/commitment.d.ts +++ /dev/null @@ -1,89 +0,0 @@ -import { CommitmentProof, CommitmentProofSDKType } from "../../../../confio/proofs"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../../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 - * 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[]; -} -export declare const MerkleRoot: { - encode(message: MerkleRoot, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MerkleRoot; - fromPartial(object: DeepPartial): MerkleRoot; -}; -export declare const MerklePrefix: { - encode(message: MerklePrefix, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MerklePrefix; - fromPartial(object: DeepPartial): MerklePrefix; -}; -export declare const MerklePath: { - encode(message: MerklePath, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MerklePath; - fromPartial(object: DeepPartial): MerklePath; -}; -export declare const MerkleProof: { - encode(message: MerkleProof, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MerkleProof; - fromPartial(object: DeepPartial): MerkleProof; -}; diff --git a/packages/codegen/dist/ibc/core/connection/v1/connection.d.ts b/packages/codegen/dist/ibc/core/connection/v1/connection.d.ts deleted file mode 100644 index 3e78a800..00000000 --- a/packages/codegen/dist/ibc/core/connection/v1/connection.d.ts +++ /dev/null @@ -1,204 +0,0 @@ -/// -import { MerklePrefix, MerklePrefixSDKType } from "../../commitment/v1/commitment"; -import { Long, DeepPartial } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * State defines if a connection is in one of the following states: - * INIT, TRYOPEN, OPEN or UNINITIALIZED. - */ -export declare 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 declare const StateSDKType: typeof State; -export declare function stateFromJSON(object: any): State; -export declare function stateToJSON(object: State): string; -/** - * 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; - /** - * 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_id: string; - versions: VersionSDKType[]; - state: State; - counterparty?: CounterpartySDKType; - 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; - /** delay period associated with this connection. */ - delayPeriod: Long; -} -/** - * IdentifiedConnection defines a connection with additional connection - * identifier field. - */ -export interface IdentifiedConnectionSDKType { - id: string; - client_id: string; - versions: VersionSDKType[]; - state: State; - counterparty?: CounterpartySDKType; - 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; -} -/** Counterparty defines the counterparty chain associated with a connection end. */ -export interface CounterpartySDKType { - client_id: string; - connection_id: string; - prefix?: MerklePrefixSDKType; -} -/** 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 { - 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_id: string; - 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 { - identifier: string; - 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 { - max_expected_time_per_block: Long; -} -export declare const ConnectionEnd: { - encode(message: ConnectionEnd, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ConnectionEnd; - fromPartial(object: DeepPartial): ConnectionEnd; -}; -export declare const IdentifiedConnection: { - encode(message: IdentifiedConnection, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): IdentifiedConnection; - fromPartial(object: DeepPartial): IdentifiedConnection; -}; -export declare const Counterparty: { - encode(message: Counterparty, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Counterparty; - fromPartial(object: DeepPartial): Counterparty; -}; -export declare const ClientPaths: { - encode(message: ClientPaths, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ClientPaths; - fromPartial(object: DeepPartial): ClientPaths; -}; -export declare const ConnectionPaths: { - encode(message: ConnectionPaths, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ConnectionPaths; - fromPartial(object: DeepPartial): ConnectionPaths; -}; -export declare const Version: { - encode(message: Version, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Version; - fromPartial(object: DeepPartial): Version; -}; -export declare const Params: { - encode(message: Params, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Params; - fromPartial(object: DeepPartial): Params; -}; diff --git a/packages/codegen/dist/ibc/core/connection/v1/genesis.d.ts b/packages/codegen/dist/ibc/core/connection/v1/genesis.d.ts deleted file mode 100644 index 91470832..00000000 --- a/packages/codegen/dist/ibc/core/connection/v1/genesis.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -/// -import { IdentifiedConnection, IdentifiedConnectionSDKType, ConnectionPaths, ConnectionPathsSDKType, Params, ParamsSDKType } from "./connection"; -import { Long, DeepPartial } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** 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; -} -/** GenesisState defines the ibc connection submodule's genesis state. */ -export interface GenesisStateSDKType { - connections: IdentifiedConnectionSDKType[]; - client_connection_paths: ConnectionPathsSDKType[]; - next_connection_sequence: Long; - params?: ParamsSDKType; -} -export declare const GenesisState: { - encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState; - fromPartial(object: DeepPartial): GenesisState; -}; diff --git a/packages/codegen/dist/ibc/core/connection/v1/query.d.ts b/packages/codegen/dist/ibc/core/connection/v1/query.d.ts deleted file mode 100644 index 410061d2..00000000 --- a/packages/codegen/dist/ibc/core/connection/v1/query.d.ts +++ /dev/null @@ -1,245 +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 { DeepPartial, 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_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; - /** merkle proof of existence */ - proof: Uint8Array; - /** height at which the proof was retrieved */ - proofHeight?: Height; -} -/** - * 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?: ConnectionEndSDKType; - proof: Uint8Array; - proof_height?: HeightSDKType; -} -/** - * QueryConnectionsRequest is the request type for the Query/Connections RPC - * method - */ -export interface QueryConnectionsRequest { - pagination?: PageRequest; -} -/** - * QueryConnectionsRequest is the request type for the Query/Connections RPC - * method - */ -export interface QueryConnectionsRequestSDKType { - pagination?: PageRequestSDKType; -} -/** - * 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; - /** query block height */ - height?: Height; -} -/** - * QueryConnectionsResponse is the response type for the Query/Connections RPC - * method. - */ -export interface QueryConnectionsResponseSDKType { - connections: IdentifiedConnectionSDKType[]; - pagination?: PageResponseSDKType; - height?: HeightSDKType; -} -/** - * 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_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; -} -/** - * QueryClientConnectionsResponse is the response type for the - * Query/ClientConnections RPC method - */ -export interface QueryClientConnectionsResponseSDKType { - connection_paths: string[]; - proof: Uint8Array; - proof_height?: HeightSDKType; -} -/** - * 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_id: string; -} -/** - * QueryConnectionClientStateResponse is the response type for the - * Query/ConnectionClientState RPC method - */ -export interface QueryConnectionClientStateResponse { - /** client state associated with the channel */ - identifiedClientState?: IdentifiedClientState; - /** merkle proof of existence */ - proof: Uint8Array; - /** height at which the proof was retrieved */ - proofHeight?: Height; -} -/** - * QueryConnectionClientStateResponse is the response type for the - * Query/ConnectionClientState RPC method - */ -export interface QueryConnectionClientStateResponseSDKType { - identified_client_state?: IdentifiedClientStateSDKType; - proof: Uint8Array; - proof_height?: HeightSDKType; -} -/** - * 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_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; - /** client ID associated with the consensus state */ - clientId: string; - /** merkle proof of existence */ - proof: Uint8Array; - /** height at which the proof was retrieved */ - proofHeight?: Height; -} -/** - * QueryConnectionConsensusStateResponse is the response type for the - * Query/ConnectionConsensusState RPC method - */ -export interface QueryConnectionConsensusStateResponseSDKType { - consensus_state?: AnySDKType; - client_id: string; - proof: Uint8Array; - proof_height?: HeightSDKType; -} -export declare const QueryConnectionRequest: { - encode(message: QueryConnectionRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionRequest; - fromPartial(object: DeepPartial): QueryConnectionRequest; -}; -export declare const QueryConnectionResponse: { - encode(message: QueryConnectionResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionResponse; - fromPartial(object: DeepPartial): QueryConnectionResponse; -}; -export declare const QueryConnectionsRequest: { - encode(message: QueryConnectionsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionsRequest; - fromPartial(object: DeepPartial): QueryConnectionsRequest; -}; -export declare const QueryConnectionsResponse: { - encode(message: QueryConnectionsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionsResponse; - fromPartial(object: DeepPartial): QueryConnectionsResponse; -}; -export declare const QueryClientConnectionsRequest: { - encode(message: QueryClientConnectionsRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientConnectionsRequest; - fromPartial(object: DeepPartial): QueryClientConnectionsRequest; -}; -export declare const QueryClientConnectionsResponse: { - encode(message: QueryClientConnectionsResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryClientConnectionsResponse; - fromPartial(object: DeepPartial): QueryClientConnectionsResponse; -}; -export declare const QueryConnectionClientStateRequest: { - encode(message: QueryConnectionClientStateRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionClientStateRequest; - fromPartial(object: DeepPartial): QueryConnectionClientStateRequest; -}; -export declare const QueryConnectionClientStateResponse: { - encode(message: QueryConnectionClientStateResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionClientStateResponse; - fromPartial(object: DeepPartial): QueryConnectionClientStateResponse; -}; -export declare const QueryConnectionConsensusStateRequest: { - encode(message: QueryConnectionConsensusStateRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionConsensusStateRequest; - fromPartial(object: DeepPartial): QueryConnectionConsensusStateRequest; -}; -export declare const QueryConnectionConsensusStateResponse: { - encode(message: QueryConnectionConsensusStateResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryConnectionConsensusStateResponse; - fromPartial(object: DeepPartial): QueryConnectionConsensusStateResponse; -}; diff --git a/packages/codegen/dist/ibc/core/connection/v1/query.lcd.d.ts b/packages/codegen/dist/ibc/core/connection/v1/query.lcd.d.ts deleted file mode 100644 index fec50273..00000000 --- a/packages/codegen/dist/ibc/core/connection/v1/query.lcd.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { LCDClient } from "@osmonauts/lcd"; -import { QueryConnectionRequest, QueryConnectionResponseSDKType, QueryConnectionsRequest, QueryConnectionsResponseSDKType, QueryClientConnectionsRequest, QueryClientConnectionsResponseSDKType, QueryConnectionClientStateRequest, QueryConnectionClientStateResponseSDKType, QueryConnectionConsensusStateRequest, QueryConnectionConsensusStateResponseSDKType } from "./query"; -export declare class LCDQueryClient { - req: LCDClient; - constructor({ requestClient }: { - requestClient: LCDClient; - }); - connection(params: QueryConnectionRequest): Promise; - connections(params?: QueryConnectionsRequest): Promise; - clientConnections(params: QueryClientConnectionsRequest): Promise; - connectionClientState(params: QueryConnectionClientStateRequest): Promise; - connectionConsensusState(params: QueryConnectionConsensusStateRequest): Promise; -} diff --git a/packages/codegen/dist/ibc/core/connection/v1/query.rpc.Query.d.ts b/packages/codegen/dist/ibc/core/connection/v1/query.rpc.Query.d.ts deleted file mode 100644 index 7eb562b1..00000000 --- a/packages/codegen/dist/ibc/core/connection/v1/query.rpc.Query.d.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { Rpc } from "../../../../helpers"; -import { QueryClient } 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 declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: Rpc); - connection(request: QueryConnectionRequest): Promise; - connections(request?: QueryConnectionsRequest): Promise; - clientConnections(request: QueryClientConnectionsRequest): Promise; - connectionClientState(request: QueryConnectionClientStateRequest): Promise; - connectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - connection(request: QueryConnectionRequest): Promise; - connections(request?: QueryConnectionsRequest): Promise; - clientConnections(request: QueryClientConnectionsRequest): Promise; - connectionClientState(request: QueryConnectionClientStateRequest): Promise; - connectionConsensusState(request: QueryConnectionConsensusStateRequest): Promise; -}; diff --git a/packages/codegen/dist/ibc/core/connection/v1/tx.d.ts b/packages/codegen/dist/ibc/core/connection/v1/tx.d.ts deleted file mode 100644 index 66fa3105..00000000 --- a/packages/codegen/dist/ibc/core/connection/v1/tx.d.ts +++ /dev/null @@ -1,209 +0,0 @@ -/// -import { Counterparty, CounterpartySDKType, Version, VersionSDKType } from "./connection"; -import { Any, AnySDKType } from "../../../../google/protobuf/any"; -import { Height, HeightSDKType } from "../../client/v1/client"; -import { Long, DeepPartial } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * 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; - version?: Version; - 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; - version?: VersionSDKType; - 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; - counterparty?: Counterparty; - delayPeriod: Long; - counterpartyVersions: Version[]; - proofHeight?: Height; - /** - * 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; - 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; - previous_connection_id: string; - client_state?: AnySDKType; - counterparty?: CounterpartySDKType; - delay_period: Long; - counterparty_versions: VersionSDKType[]; - proof_height?: HeightSDKType; - proof_init: Uint8Array; - proof_client: Uint8Array; - proof_consensus: Uint8Array; - consensus_height?: HeightSDKType; - 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; - clientState?: Any; - proofHeight?: Height; - /** - * 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; - 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; - client_state?: AnySDKType; - proof_height?: HeightSDKType; - proof_try: Uint8Array; - proof_client: Uint8Array; - proof_consensus: Uint8Array; - consensus_height?: HeightSDKType; - 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; - 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_ack: Uint8Array; - proof_height?: HeightSDKType; - signer: string; -} -/** - * MsgConnectionOpenConfirmResponse defines the Msg/ConnectionOpenConfirm - * response type. - */ -export interface MsgConnectionOpenConfirmResponse { -} -/** - * MsgConnectionOpenConfirmResponse defines the Msg/ConnectionOpenConfirm - * response type. - */ -export interface MsgConnectionOpenConfirmResponseSDKType { -} -export declare const MsgConnectionOpenInit: { - encode(message: MsgConnectionOpenInit, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenInit; - fromPartial(object: DeepPartial): MsgConnectionOpenInit; -}; -export declare const MsgConnectionOpenInitResponse: { - encode(_: MsgConnectionOpenInitResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenInitResponse; - fromPartial(_: DeepPartial): MsgConnectionOpenInitResponse; -}; -export declare const MsgConnectionOpenTry: { - encode(message: MsgConnectionOpenTry, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenTry; - fromPartial(object: DeepPartial): MsgConnectionOpenTry; -}; -export declare const MsgConnectionOpenTryResponse: { - encode(_: MsgConnectionOpenTryResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenTryResponse; - fromPartial(_: DeepPartial): MsgConnectionOpenTryResponse; -}; -export declare const MsgConnectionOpenAck: { - encode(message: MsgConnectionOpenAck, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenAck; - fromPartial(object: DeepPartial): MsgConnectionOpenAck; -}; -export declare const MsgConnectionOpenAckResponse: { - encode(_: MsgConnectionOpenAckResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenAckResponse; - fromPartial(_: DeepPartial): MsgConnectionOpenAckResponse; -}; -export declare const MsgConnectionOpenConfirm: { - encode(message: MsgConnectionOpenConfirm, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenConfirm; - fromPartial(object: DeepPartial): MsgConnectionOpenConfirm; -}; -export declare const MsgConnectionOpenConfirmResponse: { - encode(_: MsgConnectionOpenConfirmResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): MsgConnectionOpenConfirmResponse; - fromPartial(_: DeepPartial): MsgConnectionOpenConfirmResponse; -}; diff --git a/packages/codegen/dist/ibc/core/connection/v1/tx.rpc.msg.d.ts b/packages/codegen/dist/ibc/core/connection/v1/tx.rpc.msg.d.ts deleted file mode 100644 index 06fc8d7d..00000000 --- a/packages/codegen/dist/ibc/core/connection/v1/tx.rpc.msg.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { Rpc } from "../../../../helpers"; -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 declare class MsgClientImpl implements Msg { - private readonly rpc; - constructor(rpc: Rpc); - connectionOpenInit(request: MsgConnectionOpenInit): Promise; - connectionOpenTry(request: MsgConnectionOpenTry): Promise; - connectionOpenAck(request: MsgConnectionOpenAck): Promise; - connectionOpenConfirm(request: MsgConnectionOpenConfirm): Promise; -} diff --git a/packages/codegen/dist/ibc/core/port/v1/query.d.ts b/packages/codegen/dist/ibc/core/port/v1/query.d.ts deleted file mode 100644 index 5369d615..00000000 --- a/packages/codegen/dist/ibc/core/port/v1/query.d.ts +++ /dev/null @@ -1,46 +0,0 @@ -import { Order, Counterparty, CounterpartySDKType } from "../../channel/v1/channel"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../../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; - /** proposed version */ - proposedVersion: string; -} -/** QueryAppVersionRequest is the request type for the Query/AppVersion RPC method */ -export interface QueryAppVersionRequestSDKType { - port_id: string; - connection_id: string; - ordering: Order; - counterparty?: CounterpartySDKType; - 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: string; - version: string; -} -export declare const QueryAppVersionRequest: { - encode(message: QueryAppVersionRequest, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAppVersionRequest; - fromPartial(object: DeepPartial): QueryAppVersionRequest; -}; -export declare const QueryAppVersionResponse: { - encode(message: QueryAppVersionResponse, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): QueryAppVersionResponse; - fromPartial(object: DeepPartial): QueryAppVersionResponse; -}; diff --git a/packages/codegen/dist/ibc/core/port/v1/query.rpc.Query.d.ts b/packages/codegen/dist/ibc/core/port/v1/query.rpc.Query.d.ts deleted file mode 100644 index 7e0f991c..00000000 --- a/packages/codegen/dist/ibc/core/port/v1/query.rpc.Query.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { Rpc } from "../../../../helpers"; -import { QueryClient } 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 declare class QueryClientImpl implements Query { - private readonly rpc; - constructor(rpc: Rpc); - appVersion(request: QueryAppVersionRequest): Promise; -} -export declare const createRpcQueryExtension: (base: QueryClient) => { - appVersion(request: QueryAppVersionRequest): Promise; -}; diff --git a/packages/codegen/dist/ibc/core/types/v1/genesis.d.ts b/packages/codegen/dist/ibc/core/types/v1/genesis.d.ts deleted file mode 100644 index c7a59949..00000000 --- a/packages/codegen/dist/ibc/core/types/v1/genesis.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -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 { DeepPartial } from "../../../../helpers"; -/** GenesisState defines the ibc module's genesis state. */ -export interface GenesisState { - /** ICS002 - Clients genesis state */ - clientGenesis?: GenesisState1; - /** ICS003 - Connections genesis state */ - connectionGenesis?: GenesisState2; - /** ICS004 - Channel genesis state */ - channelGenesis?: GenesisState3; -} -/** GenesisState defines the ibc module's genesis state. */ -export interface GenesisStateSDKType { - client_genesis?: GenesisState1SDKType; - connection_genesis?: GenesisState2SDKType; - channel_genesis?: GenesisState3SDKType; -} -export declare const GenesisState: { - encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState; - fromPartial(object: DeepPartial): GenesisState; -}; diff --git a/packages/codegen/dist/ibc/lcd.d.ts b/packages/codegen/dist/ibc/lcd.d.ts deleted file mode 100644 index 77c522d8..00000000 --- a/packages/codegen/dist/ibc/lcd.d.ts +++ /dev/null @@ -1,75 +0,0 @@ -export declare const createLCDClient: ({ restEndpoint }: { - restEndpoint: string; -}) => Promise<{ - cosmos: { - auth: { - v1beta1: import("../cosmos/auth/v1beta1/query.lcd").LCDQueryClient; - }; - authz: { - v1beta1: import("../cosmos/authz/v1beta1/query.lcd").LCDQueryClient; - }; - bank: { - v1beta1: import("../cosmos/bank/v1beta1/query.lcd").LCDQueryClient; - }; - base: { - tendermint: { - v1beta1: import("../cosmos/base/tendermint/v1beta1/query.lcd").LCDQueryClient; - }; - }; - distribution: { - v1beta1: import("../cosmos/distribution/v1beta1/query.lcd").LCDQueryClient; - }; - evidence: { - v1beta1: import("../cosmos/evidence/v1beta1/query.lcd").LCDQueryClient; - }; - feegrant: { - v1beta1: import("../cosmos/feegrant/v1beta1/query.lcd").LCDQueryClient; - }; - gov: { - v1: import("../cosmos/gov/v1/query.lcd").LCDQueryClient; - v1beta1: import("../cosmos/gov/v1beta1/query.lcd").LCDQueryClient; - }; - group: { - v1: import("../cosmos/group/v1/query.lcd").LCDQueryClient; - }; - mint: { - v1beta1: import("../cosmos/mint/v1beta1/query.lcd").LCDQueryClient; - }; - nft: { - v1beta1: import("../cosmos/nft/v1beta1/query.lcd").LCDQueryClient; - }; - params: { - v1beta1: import("../cosmos/params/v1beta1/query.lcd").LCDQueryClient; - }; - slashing: { - v1beta1: import("../cosmos/slashing/v1beta1/query.lcd").LCDQueryClient; - }; - staking: { - v1beta1: import("../cosmos/staking/v1beta1/query.lcd").LCDQueryClient; - }; - tx: { - v1beta1: import("../cosmos/tx/v1beta1/service.lcd").LCDQueryClient; - }; - upgrade: { - v1beta1: import("../cosmos/upgrade/v1beta1/query.lcd").LCDQueryClient; - }; - }; - ibc: { - applications: { - transfer: { - v1: import("./applications/transfer/v1/query.lcd").LCDQueryClient; - }; - }; - core: { - channel: { - v1: import("./core/channel/v1/query.lcd").LCDQueryClient; - }; - client: { - v1: import("./core/client/v1/query.lcd").LCDQueryClient; - }; - connection: { - v1: import("./core/connection/v1/query.lcd").LCDQueryClient; - }; - }; - }; -}>; diff --git a/packages/codegen/dist/ibc/lightclients/localhost/v1/localhost.d.ts b/packages/codegen/dist/ibc/lightclients/localhost/v1/localhost.d.ts deleted file mode 100644 index 7e8df1a0..00000000 --- a/packages/codegen/dist/ibc/lightclients/localhost/v1/localhost.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { Height, HeightSDKType } from "../../../core/client/v1/client"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../../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; -} -/** - * ClientState defines a loopback (localhost) client. It requires (read-only) - * access to keys outside the client prefix. - */ -export interface ClientStateSDKType { - chain_id: string; - height?: HeightSDKType; -} -export declare const ClientState: { - encode(message: ClientState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ClientState; - fromPartial(object: DeepPartial): ClientState; -}; diff --git a/packages/codegen/dist/ibc/lightclients/solomachine/v1/solomachine.d.ts b/packages/codegen/dist/ibc/lightclients/solomachine/v1/solomachine.d.ts deleted file mode 100644 index 1a23fd75..00000000 --- a/packages/codegen/dist/ibc/lightclients/solomachine/v1/solomachine.d.ts +++ /dev/null @@ -1,391 +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 { Long, DeepPartial } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * DataType defines the type of solo machine proof being created. This is done - * to preserve uniqueness of different data sign byte encodings. - */ -export declare 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 declare const DataTypeSDKType: typeof DataType; -export declare function dataTypeFromJSON(object: any): DataType; -export declare function dataTypeToJSON(object: DataType): string; -/** - * 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; - /** - * 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 { - sequence: Long; - frozen_sequence: Long; - consensus_state?: ConsensusStateSDKType; - 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; - /** - * 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?: AnySDKType; - 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; - newDiversifier: string; -} -/** Header defines a solo machine consensus header */ -export interface HeaderSDKType { - sequence: Long; - timestamp: Long; - signature: Uint8Array; - new_public_key?: AnySDKType; - 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; - signatureTwo?: SignatureAndData; -} -/** - * 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; - signature_two?: SignatureAndDataSDKType; -} -/** - * 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: DataType; - 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; - data_type: DataType; - data: Uint8Array; -} -/** HeaderData returns the SignBytes data for update verification. */ -export interface HeaderData { - /** header public key */ - newPubKey?: Any; - /** header diversifier */ - newDiversifier: string; -} -/** HeaderData returns the SignBytes data for update verification. */ -export interface HeaderDataSDKType { - new_pub_key?: AnySDKType; - new_diversifier: string; -} -/** ClientStateData returns the SignBytes data for client state verification. */ -export interface ClientStateData { - path: Uint8Array; - clientState?: Any; -} -/** ClientStateData returns the SignBytes data for client state verification. */ -export interface ClientStateDataSDKType { - path: Uint8Array; - client_state?: AnySDKType; -} -/** - * ConsensusStateData returns the SignBytes data for consensus state - * verification. - */ -export interface ConsensusStateData { - path: Uint8Array; - consensusState?: Any; -} -/** - * ConsensusStateData returns the SignBytes data for consensus state - * verification. - */ -export interface ConsensusStateDataSDKType { - path: Uint8Array; - consensus_state?: AnySDKType; -} -/** - * ConnectionStateData returns the SignBytes data for connection state - * verification. - */ -export interface ConnectionStateData { - path: Uint8Array; - connection?: ConnectionEnd; -} -/** - * ConnectionStateData returns the SignBytes data for connection state - * verification. - */ -export interface ConnectionStateDataSDKType { - path: Uint8Array; - connection?: ConnectionEndSDKType; -} -/** - * ChannelStateData returns the SignBytes data for channel state - * verification. - */ -export interface ChannelStateData { - path: Uint8Array; - channel?: Channel; -} -/** - * ChannelStateData returns the SignBytes data for channel state - * verification. - */ -export interface ChannelStateDataSDKType { - path: Uint8Array; - channel?: ChannelSDKType; -} -/** - * 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; -} -export declare const ClientState: { - encode(message: ClientState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ClientState; - fromPartial(object: DeepPartial): ClientState; -}; -export declare const ConsensusState: { - encode(message: ConsensusState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusState; - fromPartial(object: DeepPartial): ConsensusState; -}; -export declare const Header: { - encode(message: Header, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Header; - fromPartial(object: DeepPartial
): Header; -}; -export declare const Misbehaviour: { - encode(message: Misbehaviour, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Misbehaviour; - fromPartial(object: DeepPartial): Misbehaviour; -}; -export declare const SignatureAndData: { - encode(message: SignatureAndData, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SignatureAndData; - fromPartial(object: DeepPartial): SignatureAndData; -}; -export declare const TimestampedSignatureData: { - encode(message: TimestampedSignatureData, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): TimestampedSignatureData; - fromPartial(object: DeepPartial): TimestampedSignatureData; -}; -export declare const SignBytes: { - encode(message: SignBytes, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SignBytes; - fromPartial(object: DeepPartial): SignBytes; -}; -export declare const HeaderData: { - encode(message: HeaderData, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): HeaderData; - fromPartial(object: DeepPartial): HeaderData; -}; -export declare const ClientStateData: { - encode(message: ClientStateData, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ClientStateData; - fromPartial(object: DeepPartial): ClientStateData; -}; -export declare const ConsensusStateData: { - encode(message: ConsensusStateData, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusStateData; - fromPartial(object: DeepPartial): ConsensusStateData; -}; -export declare const ConnectionStateData: { - encode(message: ConnectionStateData, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ConnectionStateData; - fromPartial(object: DeepPartial): ConnectionStateData; -}; -export declare const ChannelStateData: { - encode(message: ChannelStateData, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ChannelStateData; - fromPartial(object: DeepPartial): ChannelStateData; -}; -export declare const PacketCommitmentData: { - encode(message: PacketCommitmentData, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): PacketCommitmentData; - fromPartial(object: DeepPartial): PacketCommitmentData; -}; -export declare const PacketAcknowledgementData: { - encode(message: PacketAcknowledgementData, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): PacketAcknowledgementData; - fromPartial(object: DeepPartial): PacketAcknowledgementData; -}; -export declare const PacketReceiptAbsenceData: { - encode(message: PacketReceiptAbsenceData, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): PacketReceiptAbsenceData; - fromPartial(object: DeepPartial): PacketReceiptAbsenceData; -}; -export declare const NextSequenceRecvData: { - encode(message: NextSequenceRecvData, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): NextSequenceRecvData; - fromPartial(object: DeepPartial): NextSequenceRecvData; -}; diff --git a/packages/codegen/dist/ibc/lightclients/solomachine/v2/solomachine.d.ts b/packages/codegen/dist/ibc/lightclients/solomachine/v2/solomachine.d.ts deleted file mode 100644 index 40dd6c3a..00000000 --- a/packages/codegen/dist/ibc/lightclients/solomachine/v2/solomachine.d.ts +++ /dev/null @@ -1,391 +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 { Long, DeepPartial } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * DataType defines the type of solo machine proof being created. This is done - * to preserve uniqueness of different data sign byte encodings. - */ -export declare 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 declare const DataTypeSDKType: typeof DataType; -export declare function dataTypeFromJSON(object: any): DataType; -export declare function dataTypeToJSON(object: DataType): string; -/** - * 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; - /** - * 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 { - sequence: Long; - is_frozen: boolean; - consensus_state?: ConsensusStateSDKType; - 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; - /** - * 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?: AnySDKType; - 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; - newDiversifier: string; -} -/** Header defines a solo machine consensus header */ -export interface HeaderSDKType { - sequence: Long; - timestamp: Long; - signature: Uint8Array; - new_public_key?: AnySDKType; - 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; - signatureTwo?: SignatureAndData; -} -/** - * 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; - signature_two?: SignatureAndDataSDKType; -} -/** - * 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: DataType; - 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; - data_type: DataType; - data: Uint8Array; -} -/** HeaderData returns the SignBytes data for update verification. */ -export interface HeaderData { - /** header public key */ - newPubKey?: Any; - /** header diversifier */ - newDiversifier: string; -} -/** HeaderData returns the SignBytes data for update verification. */ -export interface HeaderDataSDKType { - new_pub_key?: AnySDKType; - new_diversifier: string; -} -/** ClientStateData returns the SignBytes data for client state verification. */ -export interface ClientStateData { - path: Uint8Array; - clientState?: Any; -} -/** ClientStateData returns the SignBytes data for client state verification. */ -export interface ClientStateDataSDKType { - path: Uint8Array; - client_state?: AnySDKType; -} -/** - * ConsensusStateData returns the SignBytes data for consensus state - * verification. - */ -export interface ConsensusStateData { - path: Uint8Array; - consensusState?: Any; -} -/** - * ConsensusStateData returns the SignBytes data for consensus state - * verification. - */ -export interface ConsensusStateDataSDKType { - path: Uint8Array; - consensus_state?: AnySDKType; -} -/** - * ConnectionStateData returns the SignBytes data for connection state - * verification. - */ -export interface ConnectionStateData { - path: Uint8Array; - connection?: ConnectionEnd; -} -/** - * ConnectionStateData returns the SignBytes data for connection state - * verification. - */ -export interface ConnectionStateDataSDKType { - path: Uint8Array; - connection?: ConnectionEndSDKType; -} -/** - * ChannelStateData returns the SignBytes data for channel state - * verification. - */ -export interface ChannelStateData { - path: Uint8Array; - channel?: Channel; -} -/** - * ChannelStateData returns the SignBytes data for channel state - * verification. - */ -export interface ChannelStateDataSDKType { - path: Uint8Array; - channel?: ChannelSDKType; -} -/** - * 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; -} -export declare const ClientState: { - encode(message: ClientState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ClientState; - fromPartial(object: DeepPartial): ClientState; -}; -export declare const ConsensusState: { - encode(message: ConsensusState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusState; - fromPartial(object: DeepPartial): ConsensusState; -}; -export declare const Header: { - encode(message: Header, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Header; - fromPartial(object: DeepPartial
): Header; -}; -export declare const Misbehaviour: { - encode(message: Misbehaviour, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Misbehaviour; - fromPartial(object: DeepPartial): Misbehaviour; -}; -export declare const SignatureAndData: { - encode(message: SignatureAndData, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SignatureAndData; - fromPartial(object: DeepPartial): SignatureAndData; -}; -export declare const TimestampedSignatureData: { - encode(message: TimestampedSignatureData, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): TimestampedSignatureData; - fromPartial(object: DeepPartial): TimestampedSignatureData; -}; -export declare const SignBytes: { - encode(message: SignBytes, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SignBytes; - fromPartial(object: DeepPartial): SignBytes; -}; -export declare const HeaderData: { - encode(message: HeaderData, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): HeaderData; - fromPartial(object: DeepPartial): HeaderData; -}; -export declare const ClientStateData: { - encode(message: ClientStateData, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ClientStateData; - fromPartial(object: DeepPartial): ClientStateData; -}; -export declare const ConsensusStateData: { - encode(message: ConsensusStateData, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusStateData; - fromPartial(object: DeepPartial): ConsensusStateData; -}; -export declare const ConnectionStateData: { - encode(message: ConnectionStateData, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ConnectionStateData; - fromPartial(object: DeepPartial): ConnectionStateData; -}; -export declare const ChannelStateData: { - encode(message: ChannelStateData, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ChannelStateData; - fromPartial(object: DeepPartial): ChannelStateData; -}; -export declare const PacketCommitmentData: { - encode(message: PacketCommitmentData, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): PacketCommitmentData; - fromPartial(object: DeepPartial): PacketCommitmentData; -}; -export declare const PacketAcknowledgementData: { - encode(message: PacketAcknowledgementData, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): PacketAcknowledgementData; - fromPartial(object: DeepPartial): PacketAcknowledgementData; -}; -export declare const PacketReceiptAbsenceData: { - encode(message: PacketReceiptAbsenceData, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): PacketReceiptAbsenceData; - fromPartial(object: DeepPartial): PacketReceiptAbsenceData; -}; -export declare const NextSequenceRecvData: { - encode(message: NextSequenceRecvData, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): NextSequenceRecvData; - fromPartial(object: DeepPartial): NextSequenceRecvData; -}; diff --git a/packages/codegen/dist/ibc/lightclients/tendermint/v1/tendermint.d.ts b/packages/codegen/dist/ibc/lightclients/tendermint/v1/tendermint.d.ts deleted file mode 100644 index c460c7bc..00000000 --- a/packages/codegen/dist/ibc/lightclients/tendermint/v1/tendermint.d.ts +++ /dev/null @@ -1,185 +0,0 @@ -/// -import { Duration, DurationSDKType } from "../../../../google/protobuf/duration"; -import { Height, HeightSDKType } from "../../../core/client/v1/client"; -import { ProofSpec, ProofSpecSDKType } from "../../../../confio/proofs"; -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 { DeepPartial, 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; - /** - * duration of the period since the LastestTimestamp during which the - * submitted headers are valid for upgrade - */ - trustingPeriod?: Duration; - /** duration of the staking unbonding period */ - unbondingPeriod?: Duration; - /** defines how much new (untrusted) header's Time can drift into the future. */ - maxClockDrift?: Duration; - /** Block height when the client was frozen due to a misbehaviour */ - frozenHeight?: Height; - /** Latest height the client was updated to */ - latestHeight?: Height; - /** 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; - trusting_period?: DurationSDKType; - unbonding_period?: DurationSDKType; - max_clock_drift?: DurationSDKType; - frozen_height?: HeightSDKType; - latest_height?: HeightSDKType; - proof_specs: ProofSpecSDKType[]; - upgrade_path: string[]; - allow_update_after_expiry: boolean; - 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; - /** commitment root (i.e app hash) */ - root?: MerkleRoot; - nextValidatorsHash: Uint8Array; -} -/** ConsensusState defines the consensus state from Tendermint. */ -export interface ConsensusStateSDKType { - timestamp?: Date; - root?: MerkleRootSDKType; - 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; - header2?: Header; -} -/** - * 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; - header_2?: HeaderSDKType; -} -/** - * 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; - validatorSet?: ValidatorSet; - trustedHeight?: Height; - trustedValidators?: ValidatorSet; -} -/** - * 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; - validator_set?: ValidatorSetSDKType; - trusted_height?: HeightSDKType; - trusted_validators?: ValidatorSetSDKType; -} -/** - * 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; -} -export declare const ClientState: { - encode(message: ClientState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ClientState; - fromPartial(object: DeepPartial): ClientState; -}; -export declare const ConsensusState: { - encode(message: ConsensusState, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusState; - fromPartial(object: DeepPartial): ConsensusState; -}; -export declare const Misbehaviour: { - encode(message: Misbehaviour, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Misbehaviour; - fromPartial(object: DeepPartial): Misbehaviour; -}; -export declare const Header: { - encode(message: Header, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Header; - fromPartial(object: DeepPartial
): Header; -}; -export declare const Fraction: { - encode(message: Fraction, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Fraction; - fromPartial(object: DeepPartial): Fraction; -}; diff --git a/packages/codegen/dist/ibc/rpc.query.d.ts b/packages/codegen/dist/ibc/rpc.query.d.ts deleted file mode 100644 index 35c7da03..00000000 --- a/packages/codegen/dist/ibc/rpc.query.d.ts +++ /dev/null @@ -1,243 +0,0 @@ -import { HttpEndpoint } from "@cosmjs/tendermint-rpc"; -export declare const createRPCQueryClient: ({ rpcEndpoint }: { - rpcEndpoint: string | HttpEndpoint; -}) => Promise<{ - cosmos: { - app: { - v1alpha1: { - config(request?: import("../cosmos/app/v1alpha1/query").QueryConfigRequest): Promise; - }; - }; - auth: { - v1beta1: { - accounts(request?: import("../cosmos/auth/v1beta1/query").QueryAccountsRequest): Promise; - account(request: import("../cosmos/auth/v1beta1/query").QueryAccountRequest): Promise; - params(request?: import("../cosmos/auth/v1beta1/query").QueryParamsRequest): Promise; - moduleAccounts(request?: import("../cosmos/auth/v1beta1/query").QueryModuleAccountsRequest): Promise; - bech32Prefix(request?: import("../cosmos/auth/v1beta1/query").Bech32PrefixRequest): Promise; - addressBytesToString(request: import("../cosmos/auth/v1beta1/query").AddressBytesToStringRequest): Promise; - addressStringToBytes(request: import("../cosmos/auth/v1beta1/query").AddressStringToBytesRequest): Promise; - }; - }; - authz: { - v1beta1: { - grants(request: import("../cosmos/authz/v1beta1/query").QueryGrantsRequest): Promise; - granterGrants(request: import("../cosmos/authz/v1beta1/query").QueryGranterGrantsRequest): Promise; - granteeGrants(request: import("../cosmos/authz/v1beta1/query").QueryGranteeGrantsRequest): Promise; - }; - }; - bank: { - v1beta1: { - balance(request: import("../cosmos/bank/v1beta1/query").QueryBalanceRequest): Promise; - allBalances(request: import("../cosmos/bank/v1beta1/query").QueryAllBalancesRequest): Promise; - spendableBalances(request: import("../cosmos/bank/v1beta1/query").QuerySpendableBalancesRequest): Promise; - totalSupply(request?: import("../cosmos/bank/v1beta1/query").QueryTotalSupplyRequest): Promise; - supplyOf(request: import("../cosmos/bank/v1beta1/query").QuerySupplyOfRequest): Promise; - params(request?: import("../cosmos/bank/v1beta1/query").QueryParamsRequest): Promise; - denomMetadata(request: import("../cosmos/bank/v1beta1/query").QueryDenomMetadataRequest): Promise; - denomsMetadata(request?: import("../cosmos/bank/v1beta1/query").QueryDenomsMetadataRequest): Promise; - denomOwners(request: import("../cosmos/bank/v1beta1/query").QueryDenomOwnersRequest): Promise; - }; - }; - base: { - tendermint: { - v1beta1: { - getNodeInfo(request?: import("../cosmos/base/tendermint/v1beta1/query").GetNodeInfoRequest): Promise; - getSyncing(request?: import("../cosmos/base/tendermint/v1beta1/query").GetSyncingRequest): Promise; - getLatestBlock(request?: import("../cosmos/base/tendermint/v1beta1/query").GetLatestBlockRequest): Promise; - getBlockByHeight(request: import("../cosmos/base/tendermint/v1beta1/query").GetBlockByHeightRequest): Promise; - getLatestValidatorSet(request?: import("../cosmos/base/tendermint/v1beta1/query").GetLatestValidatorSetRequest): Promise; - getValidatorSetByHeight(request: import("../cosmos/base/tendermint/v1beta1/query").GetValidatorSetByHeightRequest): Promise; - }; - }; - }; - distribution: { - v1beta1: { - params(request?: import("../cosmos/distribution/v1beta1/query").QueryParamsRequest): Promise; - validatorOutstandingRewards(request: import("../cosmos/distribution/v1beta1/query").QueryValidatorOutstandingRewardsRequest): Promise; - validatorCommission(request: import("../cosmos/distribution/v1beta1/query").QueryValidatorCommissionRequest): Promise; - validatorSlashes(request: import("../cosmos/distribution/v1beta1/query").QueryValidatorSlashesRequest): Promise; - delegationRewards(request: import("../cosmos/distribution/v1beta1/query").QueryDelegationRewardsRequest): Promise; - delegationTotalRewards(request: import("../cosmos/distribution/v1beta1/query").QueryDelegationTotalRewardsRequest): Promise; - delegatorValidators(request: import("../cosmos/distribution/v1beta1/query").QueryDelegatorValidatorsRequest): Promise; - delegatorWithdrawAddress(request: import("../cosmos/distribution/v1beta1/query").QueryDelegatorWithdrawAddressRequest): Promise; - communityPool(request?: import("../cosmos/distribution/v1beta1/query").QueryCommunityPoolRequest): Promise; - }; - }; - evidence: { - v1beta1: { - evidence(request: import("../cosmos/evidence/v1beta1/query").QueryEvidenceRequest): Promise; - allEvidence(request?: import("../cosmos/evidence/v1beta1/query").QueryAllEvidenceRequest): Promise; - }; - }; - feegrant: { - v1beta1: { - allowance(request: import("../cosmos/feegrant/v1beta1/query").QueryAllowanceRequest): Promise; - allowances(request: import("../cosmos/feegrant/v1beta1/query").QueryAllowancesRequest): Promise; - allowancesByGranter(request: import("../cosmos/feegrant/v1beta1/query").QueryAllowancesByGranterRequest): Promise; - }; - }; - gov: { - v1: { - proposal(request: import("../cosmos/gov/v1/query").QueryProposalRequest): Promise; - proposals(request: import("../cosmos/gov/v1/query").QueryProposalsRequest): Promise; - vote(request: import("../cosmos/gov/v1/query").QueryVoteRequest): Promise; - votes(request: import("../cosmos/gov/v1/query").QueryVotesRequest): Promise; - params(request: import("../cosmos/gov/v1/query").QueryParamsRequest): Promise; - deposit(request: import("../cosmos/gov/v1/query").QueryDepositRequest): Promise; - deposits(request: import("../cosmos/gov/v1/query").QueryDepositsRequest): Promise; - tallyResult(request: import("../cosmos/gov/v1/query").QueryTallyResultRequest): Promise; - }; - v1beta1: { - proposal(request: import("../cosmos/gov/v1beta1/query").QueryProposalRequest): Promise; - proposals(request: import("../cosmos/gov/v1beta1/query").QueryProposalsRequest): Promise; - vote(request: import("../cosmos/gov/v1beta1/query").QueryVoteRequest): Promise; - votes(request: import("../cosmos/gov/v1beta1/query").QueryVotesRequest): Promise; - params(request: import("../cosmos/gov/v1beta1/query").QueryParamsRequest): Promise; - deposit(request: import("../cosmos/gov/v1beta1/query").QueryDepositRequest): Promise; - deposits(request: import("../cosmos/gov/v1beta1/query").QueryDepositsRequest): Promise; - tallyResult(request: import("../cosmos/gov/v1beta1/query").QueryTallyResultRequest): Promise; - }; - }; - group: { - v1: { - groupInfo(request: import("../cosmos/group/v1/query").QueryGroupInfoRequest): Promise; - groupPolicyInfo(request: import("../cosmos/group/v1/query").QueryGroupPolicyInfoRequest): Promise; - groupMembers(request: import("../cosmos/group/v1/query").QueryGroupMembersRequest): Promise; - groupsByAdmin(request: import("../cosmos/group/v1/query").QueryGroupsByAdminRequest): Promise; - groupPoliciesByGroup(request: import("../cosmos/group/v1/query").QueryGroupPoliciesByGroupRequest): Promise; - groupPoliciesByAdmin(request: import("../cosmos/group/v1/query").QueryGroupPoliciesByAdminRequest): Promise; - proposal(request: import("../cosmos/group/v1/query").QueryProposalRequest): Promise; - proposalsByGroupPolicy(request: import("../cosmos/group/v1/query").QueryProposalsByGroupPolicyRequest): Promise; - voteByProposalVoter(request: import("../cosmos/group/v1/query").QueryVoteByProposalVoterRequest): Promise; - votesByProposal(request: import("../cosmos/group/v1/query").QueryVotesByProposalRequest): Promise; - votesByVoter(request: import("../cosmos/group/v1/query").QueryVotesByVoterRequest): Promise; - groupsByMember(request: import("../cosmos/group/v1/query").QueryGroupsByMemberRequest): Promise; - tallyResult(request: import("../cosmos/group/v1/query").QueryTallyResultRequest): Promise; - }; - }; - mint: { - v1beta1: { - params(request?: import("../cosmos/mint/v1beta1/query").QueryParamsRequest): Promise; - inflation(request?: import("../cosmos/mint/v1beta1/query").QueryInflationRequest): Promise; - annualProvisions(request?: import("../cosmos/mint/v1beta1/query").QueryAnnualProvisionsRequest): Promise; - }; - }; - nft: { - v1beta1: { - balance(request: import("../cosmos/nft/v1beta1/query").QueryBalanceRequest): Promise; - owner(request: import("../cosmos/nft/v1beta1/query").QueryOwnerRequest): Promise; - supply(request: import("../cosmos/nft/v1beta1/query").QuerySupplyRequest): Promise; - nFTs(request: import("../cosmos/nft/v1beta1/query").QueryNFTsRequest): Promise; - nFT(request: import("../cosmos/nft/v1beta1/query").QueryNFTRequest): Promise; - class(request: import("../cosmos/nft/v1beta1/query").QueryClassRequest): Promise; - classes(request?: import("../cosmos/nft/v1beta1/query").QueryClassesRequest): Promise; - }; - }; - params: { - v1beta1: { - params(request: import("../cosmos/params/v1beta1/query").QueryParamsRequest): Promise; - subspaces(request?: import("../cosmos/params/v1beta1/query").QuerySubspacesRequest): Promise; - }; - }; - slashing: { - v1beta1: { - params(request?: import("../cosmos/slashing/v1beta1/query").QueryParamsRequest): Promise; - signingInfo(request: import("../cosmos/slashing/v1beta1/query").QuerySigningInfoRequest): Promise; - signingInfos(request?: import("../cosmos/slashing/v1beta1/query").QuerySigningInfosRequest): Promise; - }; - }; - staking: { - v1beta1: { - validators(request: import("../cosmos/staking/v1beta1/query").QueryValidatorsRequest): Promise; - validator(request: import("../cosmos/staking/v1beta1/query").QueryValidatorRequest): Promise; - validatorDelegations(request: import("../cosmos/staking/v1beta1/query").QueryValidatorDelegationsRequest): Promise; - validatorUnbondingDelegations(request: import("../cosmos/staking/v1beta1/query").QueryValidatorUnbondingDelegationsRequest): Promise; - delegation(request: import("../cosmos/staking/v1beta1/query").QueryDelegationRequest): Promise; - unbondingDelegation(request: import("../cosmos/staking/v1beta1/query").QueryUnbondingDelegationRequest): Promise; - delegatorDelegations(request: import("../cosmos/staking/v1beta1/query").QueryDelegatorDelegationsRequest): Promise; - delegatorUnbondingDelegations(request: import("../cosmos/staking/v1beta1/query").QueryDelegatorUnbondingDelegationsRequest): Promise; - redelegations(request: import("../cosmos/staking/v1beta1/query").QueryRedelegationsRequest): Promise; - delegatorValidators(request: import("../cosmos/staking/v1beta1/query").QueryDelegatorValidatorsRequest): Promise; - delegatorValidator(request: import("../cosmos/staking/v1beta1/query").QueryDelegatorValidatorRequest): Promise; - historicalInfo(request: import("../cosmos/staking/v1beta1/query").QueryHistoricalInfoRequest): Promise; - pool(request?: import("../cosmos/staking/v1beta1/query").QueryPoolRequest): Promise; - params(request?: import("../cosmos/staking/v1beta1/query").QueryParamsRequest): Promise; - }; - }; - tx: { - v1beta1: { - simulate(request: import("../cosmos/tx/v1beta1/service").SimulateRequest): Promise; - getTx(request: import("../cosmos/tx/v1beta1/service").GetTxRequest): Promise; - broadcastTx(request: import("../cosmos/tx/v1beta1/service").BroadcastTxRequest): Promise; - getTxsEvent(request: import("../cosmos/tx/v1beta1/service").GetTxsEventRequest): Promise; - getBlockWithTxs(request: import("../cosmos/tx/v1beta1/service").GetBlockWithTxsRequest): Promise; - }; - }; - upgrade: { - v1beta1: { - currentPlan(request?: import("../cosmos/upgrade/v1beta1/query").QueryCurrentPlanRequest): Promise; - appliedPlan(request: import("../cosmos/upgrade/v1beta1/query").QueryAppliedPlanRequest): Promise; - upgradedConsensusState(request: import("../cosmos/upgrade/v1beta1/query").QueryUpgradedConsensusStateRequest): Promise; - moduleVersions(request: import("../cosmos/upgrade/v1beta1/query").QueryModuleVersionsRequest): Promise; - authority(request?: import("../cosmos/upgrade/v1beta1/query").QueryAuthorityRequest): Promise; - }; - }; - }; - ibc: { - applications: { - transfer: { - v1: { - denomTrace(request: import("./applications/transfer/v1/query").QueryDenomTraceRequest): Promise; - denomTraces(request?: import("./applications/transfer/v1/query").QueryDenomTracesRequest): Promise; - params(request?: import("./applications/transfer/v1/query").QueryParamsRequest): Promise; - }; - }; - }; - core: { - channel: { - v1: { - channel(request: import("./core/channel/v1/query").QueryChannelRequest): Promise; - channels(request?: import("./core/channel/v1/query").QueryChannelsRequest): Promise; - connectionChannels(request: import("./core/channel/v1/query").QueryConnectionChannelsRequest): Promise; - channelClientState(request: import("./core/channel/v1/query").QueryChannelClientStateRequest): Promise; - channelConsensusState(request: import("./core/channel/v1/query").QueryChannelConsensusStateRequest): Promise; - packetCommitment(request: import("./core/channel/v1/query").QueryPacketCommitmentRequest): Promise; - packetCommitments(request: import("./core/channel/v1/query").QueryPacketCommitmentsRequest): Promise; - packetReceipt(request: import("./core/channel/v1/query").QueryPacketReceiptRequest): Promise; - packetAcknowledgement(request: import("./core/channel/v1/query").QueryPacketAcknowledgementRequest): Promise; - packetAcknowledgements(request: import("./core/channel/v1/query").QueryPacketAcknowledgementsRequest): Promise; - unreceivedPackets(request: import("./core/channel/v1/query").QueryUnreceivedPacketsRequest): Promise; - unreceivedAcks(request: import("./core/channel/v1/query").QueryUnreceivedAcksRequest): Promise; - nextSequenceReceive(request: import("./core/channel/v1/query").QueryNextSequenceReceiveRequest): Promise; - }; - }; - client: { - v1: { - clientState(request: import("./core/client/v1/query").QueryClientStateRequest): Promise; - clientStates(request?: import("./core/client/v1/query").QueryClientStatesRequest): Promise; - consensusState(request: import("./core/client/v1/query").QueryConsensusStateRequest): Promise; - consensusStates(request: import("./core/client/v1/query").QueryConsensusStatesRequest): Promise; - clientStatus(request: import("./core/client/v1/query").QueryClientStatusRequest): Promise; - clientParams(request?: import("./core/client/v1/query").QueryClientParamsRequest): Promise; - upgradedClientState(request?: import("./core/client/v1/query").QueryUpgradedClientStateRequest): Promise; - upgradedConsensusState(request?: import("./core/client/v1/query").QueryUpgradedConsensusStateRequest): Promise; - }; - }; - connection: { - v1: { - connection(request: import("./core/connection/v1/query").QueryConnectionRequest): Promise; - connections(request?: import("./core/connection/v1/query").QueryConnectionsRequest): Promise; - clientConnections(request: import("./core/connection/v1/query").QueryClientConnectionsRequest): Promise; - connectionClientState(request: import("./core/connection/v1/query").QueryConnectionClientStateRequest): Promise; - connectionConsensusState(request: import("./core/connection/v1/query").QueryConnectionConsensusStateRequest): Promise; - }; - }; - port: { - v1: { - appVersion(request: import("./core/port/v1/query").QueryAppVersionRequest): Promise; - }; - }; - }; - }; -}>; diff --git a/packages/codegen/dist/ibc/rpc.tx.d.ts b/packages/codegen/dist/ibc/rpc.tx.d.ts deleted file mode 100644 index f7d15613..00000000 --- a/packages/codegen/dist/ibc/rpc.tx.d.ts +++ /dev/null @@ -1,65 +0,0 @@ -import { Rpc } from "../helpers"; -export declare const createRPCMsgClient: ({ rpc }: { - rpc: Rpc; -}) => Promise<{ - cosmos: { - authz: { - v1beta1: import("../cosmos/authz/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - bank: { - v1beta1: import("../cosmos/bank/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - crisis: { - v1beta1: import("../cosmos/crisis/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - distribution: { - v1beta1: import("../cosmos/distribution/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - evidence: { - v1beta1: import("../cosmos/evidence/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - feegrant: { - v1beta1: import("../cosmos/feegrant/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - gov: { - v1: import("../cosmos/gov/v1/tx.rpc.msg").MsgClientImpl; - v1beta1: import("../cosmos/gov/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - group: { - v1: import("../cosmos/group/v1/tx.rpc.msg").MsgClientImpl; - }; - nft: { - v1beta1: import("../cosmos/nft/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - slashing: { - v1beta1: import("../cosmos/slashing/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - staking: { - v1beta1: import("../cosmos/staking/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - upgrade: { - v1beta1: import("../cosmos/upgrade/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - vesting: { - v1beta1: import("../cosmos/vesting/v1beta1/tx.rpc.msg").MsgClientImpl; - }; - }; - ibc: { - applications: { - transfer: { - v1: import("./applications/transfer/v1/tx.rpc.msg").MsgClientImpl; - }; - }; - core: { - channel: { - v1: import("./core/channel/v1/tx.rpc.msg").MsgClientImpl; - }; - client: { - v1: import("./core/client/v1/tx.rpc.msg").MsgClientImpl; - }; - connection: { - v1: import("./core/connection/v1/tx.rpc.msg").MsgClientImpl; - }; - }; - }; -}>; diff --git a/packages/codegen/dist/ics23/bundle.d.ts b/packages/codegen/dist/ics23/bundle.d.ts deleted file mode 100644 index 5793c757..00000000 --- a/packages/codegen/dist/ics23/bundle.d.ts +++ /dev/null @@ -1,545 +0,0 @@ -import * as _1 from "../confio/proofs"; -export declare const ics23: { - hashOpFromJSON(object: any): _1.HashOp; - hashOpToJSON(object: _1.HashOp): string; - lengthOpFromJSON(object: any): _1.LengthOp; - lengthOpToJSON(object: _1.LengthOp): string; - HashOp: typeof _1.HashOp; - HashOpSDKType: typeof _1.HashOp; - LengthOp: typeof _1.LengthOp; - LengthOpSDKType: typeof _1.LengthOp; - ExistenceProof: { - encode(message: _1.ExistenceProof, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _1.ExistenceProof; - fromPartial(object: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _1.HashOp; - prehashKey?: _1.HashOp; - prehashValue?: _1.HashOp; - length?: _1.LengthOp; - prefix?: Uint8Array; - }; - path?: { - hash?: _1.HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }): _1.ExistenceProof; - }; - NonExistenceProof: { - encode(message: _1.NonExistenceProof, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _1.NonExistenceProof; - fromPartial(object: { - key?: Uint8Array; - left?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _1.HashOp; - prehashKey?: _1.HashOp; - prehashValue?: _1.HashOp; - length?: _1.LengthOp; - prefix?: Uint8Array; - }; - path?: { - hash?: _1.HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }; - right?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _1.HashOp; - prehashKey?: _1.HashOp; - prehashValue?: _1.HashOp; - length?: _1.LengthOp; - prefix?: Uint8Array; - }; - path?: { - hash?: _1.HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }; - }): _1.NonExistenceProof; - }; - CommitmentProof: { - encode(message: _1.CommitmentProof, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _1.CommitmentProof; - fromPartial(object: { - exist?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _1.HashOp; - prehashKey?: _1.HashOp; - prehashValue?: _1.HashOp; - length?: _1.LengthOp; - prefix?: Uint8Array; - }; - path?: { - hash?: _1.HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }; - nonexist?: { - key?: Uint8Array; - left?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _1.HashOp; - prehashKey?: _1.HashOp; - prehashValue?: _1.HashOp; - length?: _1.LengthOp; - prefix?: Uint8Array; - }; - path?: { - hash?: _1.HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }; - right?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _1.HashOp; - prehashKey?: _1.HashOp; - prehashValue?: _1.HashOp; - length?: _1.LengthOp; - prefix?: Uint8Array; - }; - path?: { - hash?: _1.HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }; - }; - batch?: { - entries?: { - exist?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _1.HashOp; - prehashKey?: _1.HashOp; - prehashValue?: _1.HashOp; - length?: _1.LengthOp; - prefix?: Uint8Array; - }; - path?: { - hash?: _1.HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }; - nonexist?: { - key?: Uint8Array; - left?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _1.HashOp; - prehashKey?: _1.HashOp; - prehashValue?: _1.HashOp; - length?: _1.LengthOp; - prefix?: Uint8Array; - }; - path?: { - hash?: _1.HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }; - right?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _1.HashOp; - prehashKey?: _1.HashOp; - prehashValue?: _1.HashOp; - length?: _1.LengthOp; - prefix?: Uint8Array; - }; - path?: { - hash?: _1.HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }; - }; - }[]; - }; - compressed?: { - entries?: { - exist?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _1.HashOp; - prehashKey?: _1.HashOp; - prehashValue?: _1.HashOp; - length?: _1.LengthOp; - prefix?: Uint8Array; - }; - path?: number[]; - }; - nonexist?: { - key?: Uint8Array; - left?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _1.HashOp; - prehashKey?: _1.HashOp; - prehashValue?: _1.HashOp; - length?: _1.LengthOp; - prefix?: Uint8Array; - }; - path?: number[]; - }; - right?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _1.HashOp; - prehashKey?: _1.HashOp; - prehashValue?: _1.HashOp; - length?: _1.LengthOp; - prefix?: Uint8Array; - }; - path?: number[]; - }; - }; - }[]; - lookupInners?: { - hash?: _1.HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }; - }): _1.CommitmentProof; - }; - LeafOp: { - encode(message: _1.LeafOp, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _1.LeafOp; - fromPartial(object: { - hash?: _1.HashOp; - prehashKey?: _1.HashOp; - prehashValue?: _1.HashOp; - length?: _1.LengthOp; - prefix?: Uint8Array; - }): _1.LeafOp; - }; - InnerOp: { - encode(message: _1.InnerOp, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _1.InnerOp; - fromPartial(object: { - hash?: _1.HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }): _1.InnerOp; - }; - ProofSpec: { - encode(message: _1.ProofSpec, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _1.ProofSpec; - fromPartial(object: { - leafSpec?: { - hash?: _1.HashOp; - prehashKey?: _1.HashOp; - prehashValue?: _1.HashOp; - length?: _1.LengthOp; - prefix?: Uint8Array; - }; - innerSpec?: { - childOrder?: number[]; - childSize?: number; - minPrefixLength?: number; - maxPrefixLength?: number; - emptyChild?: Uint8Array; - hash?: _1.HashOp; - }; - maxDepth?: number; - minDepth?: number; - }): _1.ProofSpec; - }; - InnerSpec: { - encode(message: _1.InnerSpec, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _1.InnerSpec; - fromPartial(object: { - childOrder?: number[]; - childSize?: number; - minPrefixLength?: number; - maxPrefixLength?: number; - emptyChild?: Uint8Array; - hash?: _1.HashOp; - }): _1.InnerSpec; - }; - BatchProof: { - encode(message: _1.BatchProof, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _1.BatchProof; - fromPartial(object: { - entries?: { - exist?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _1.HashOp; - prehashKey?: _1.HashOp; - prehashValue?: _1.HashOp; - length?: _1.LengthOp; - prefix?: Uint8Array; - }; - path?: { - hash?: _1.HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }; - nonexist?: { - key?: Uint8Array; - left?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _1.HashOp; - prehashKey?: _1.HashOp; - prehashValue?: _1.HashOp; - length?: _1.LengthOp; - prefix?: Uint8Array; - }; - path?: { - hash?: _1.HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }; - right?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _1.HashOp; - prehashKey?: _1.HashOp; - prehashValue?: _1.HashOp; - length?: _1.LengthOp; - prefix?: Uint8Array; - }; - path?: { - hash?: _1.HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }; - }; - }[]; - }): _1.BatchProof; - }; - BatchEntry: { - encode(message: _1.BatchEntry, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _1.BatchEntry; - fromPartial(object: { - exist?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _1.HashOp; - prehashKey?: _1.HashOp; - prehashValue?: _1.HashOp; - length?: _1.LengthOp; - prefix?: Uint8Array; - }; - path?: { - hash?: _1.HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }; - nonexist?: { - key?: Uint8Array; - left?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _1.HashOp; - prehashKey?: _1.HashOp; - prehashValue?: _1.HashOp; - length?: _1.LengthOp; - prefix?: Uint8Array; - }; - path?: { - hash?: _1.HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }; - right?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _1.HashOp; - prehashKey?: _1.HashOp; - prehashValue?: _1.HashOp; - length?: _1.LengthOp; - prefix?: Uint8Array; - }; - path?: { - hash?: _1.HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }; - }; - }): _1.BatchEntry; - }; - CompressedBatchProof: { - encode(message: _1.CompressedBatchProof, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _1.CompressedBatchProof; - fromPartial(object: { - entries?: { - exist?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _1.HashOp; - prehashKey?: _1.HashOp; - prehashValue?: _1.HashOp; - length?: _1.LengthOp; - prefix?: Uint8Array; - }; - path?: number[]; - }; - nonexist?: { - key?: Uint8Array; - left?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _1.HashOp; - prehashKey?: _1.HashOp; - prehashValue?: _1.HashOp; - length?: _1.LengthOp; - prefix?: Uint8Array; - }; - path?: number[]; - }; - right?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _1.HashOp; - prehashKey?: _1.HashOp; - prehashValue?: _1.HashOp; - length?: _1.LengthOp; - prefix?: Uint8Array; - }; - path?: number[]; - }; - }; - }[]; - lookupInners?: { - hash?: _1.HashOp; - prefix?: Uint8Array; - suffix?: Uint8Array; - }[]; - }): _1.CompressedBatchProof; - }; - CompressedBatchEntry: { - encode(message: _1.CompressedBatchEntry, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _1.CompressedBatchEntry; - fromPartial(object: { - exist?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _1.HashOp; - prehashKey?: _1.HashOp; - prehashValue?: _1.HashOp; - length?: _1.LengthOp; - prefix?: Uint8Array; - }; - path?: number[]; - }; - nonexist?: { - key?: Uint8Array; - left?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _1.HashOp; - prehashKey?: _1.HashOp; - prehashValue?: _1.HashOp; - length?: _1.LengthOp; - prefix?: Uint8Array; - }; - path?: number[]; - }; - right?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _1.HashOp; - prehashKey?: _1.HashOp; - prehashValue?: _1.HashOp; - length?: _1.LengthOp; - prefix?: Uint8Array; - }; - path?: number[]; - }; - }; - }): _1.CompressedBatchEntry; - }; - CompressedExistenceProof: { - encode(message: _1.CompressedExistenceProof, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _1.CompressedExistenceProof; - fromPartial(object: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _1.HashOp; - prehashKey?: _1.HashOp; - prehashValue?: _1.HashOp; - length?: _1.LengthOp; - prefix?: Uint8Array; - }; - path?: number[]; - }): _1.CompressedExistenceProof; - }; - CompressedNonExistenceProof: { - encode(message: _1.CompressedNonExistenceProof, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _1.CompressedNonExistenceProof; - fromPartial(object: { - key?: Uint8Array; - left?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _1.HashOp; - prehashKey?: _1.HashOp; - prehashValue?: _1.HashOp; - length?: _1.LengthOp; - prefix?: Uint8Array; - }; - path?: number[]; - }; - right?: { - key?: Uint8Array; - value?: Uint8Array; - leaf?: { - hash?: _1.HashOp; - prehashKey?: _1.HashOp; - prehashValue?: _1.HashOp; - length?: _1.LengthOp; - prefix?: Uint8Array; - }; - path?: number[]; - }; - }): _1.CompressedNonExistenceProof; - }; -}; diff --git a/packages/codegen/dist/index.d.ts b/packages/codegen/dist/index.d.ts deleted file mode 100644 index 5e348be3..00000000 --- a/packages/codegen/dist/index.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -/** - * This file and any referenced files were automatically generated by @osmonauts/telescope@0.88.2 - * DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain - * and run the transpile command or yarn proto command to regenerate this bundle. - */ -export * from "./amino/bundle"; -export * from "./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"; diff --git a/packages/codegen/dist/tendermint/abci/types.d.ts b/packages/codegen/dist/tendermint/abci/types.d.ts deleted file mode 100644 index 8ecf55d7..00000000 --- a/packages/codegen/dist/tendermint/abci/types.d.ts +++ /dev/null @@ -1,833 +0,0 @@ -/// -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 { DeepPartial, Long } from "../../helpers"; -export declare enum CheckTxType { - NEW = 0, - RECHECK = 1, - UNRECOGNIZED = -1 -} -export declare const CheckTxTypeSDKType: typeof CheckTxType; -export declare function checkTxTypeFromJSON(object: any): CheckTxType; -export declare function checkTxTypeToJSON(object: CheckTxType): string; -export declare enum ResponseOfferSnapshot_Result { - /** UNKNOWN - Unknown result, abort all snapshot restoration */ - UNKNOWN = 0, - /** ACCEPT - Snapshot accepted, apply chunks */ - ACCEPT = 1, - /** ABORT - Abort all snapshot restoration */ - ABORT = 2, - /** REJECT - Reject this specific snapshot, try others */ - REJECT = 3, - /** REJECT_FORMAT - Reject all snapshots of this format, try others */ - REJECT_FORMAT = 4, - /** REJECT_SENDER - Reject all snapshots from the sender(s), try others */ - REJECT_SENDER = 5, - UNRECOGNIZED = -1 -} -export declare const ResponseOfferSnapshot_ResultSDKType: typeof ResponseOfferSnapshot_Result; -export declare function responseOfferSnapshot_ResultFromJSON(object: any): ResponseOfferSnapshot_Result; -export declare function responseOfferSnapshot_ResultToJSON(object: ResponseOfferSnapshot_Result): string; -export declare enum ResponseApplySnapshotChunk_Result { - /** UNKNOWN - Unknown result, abort all snapshot restoration */ - UNKNOWN = 0, - /** ACCEPT - Chunk successfully accepted */ - ACCEPT = 1, - /** ABORT - Abort all snapshot restoration */ - ABORT = 2, - /** RETRY - Retry chunk (combine with refetch and reject) */ - RETRY = 3, - /** RETRY_SNAPSHOT - Retry snapshot (combine with refetch and reject) */ - RETRY_SNAPSHOT = 4, - /** REJECT_SNAPSHOT - Reject this snapshot, try others */ - REJECT_SNAPSHOT = 5, - UNRECOGNIZED = -1 -} -export declare const ResponseApplySnapshotChunk_ResultSDKType: typeof ResponseApplySnapshotChunk_Result; -export declare function responseApplySnapshotChunk_ResultFromJSON(object: any): ResponseApplySnapshotChunk_Result; -export declare function responseApplySnapshotChunk_ResultToJSON(object: ResponseApplySnapshotChunk_Result): string; -export declare enum EvidenceType { - UNKNOWN = 0, - DUPLICATE_VOTE = 1, - LIGHT_CLIENT_ATTACK = 2, - UNRECOGNIZED = -1 -} -export declare const EvidenceTypeSDKType: typeof EvidenceType; -export declare function evidenceTypeFromJSON(object: any): EvidenceType; -export declare function evidenceTypeToJSON(object: EvidenceType): string; -export interface Request { - echo?: RequestEcho; - flush?: RequestFlush; - info?: RequestInfo; - setOption?: RequestSetOption; - initChain?: RequestInitChain; - query?: RequestQuery; - beginBlock?: RequestBeginBlock; - checkTx?: RequestCheckTx; - deliverTx?: RequestDeliverTx; - endBlock?: RequestEndBlock; - commit?: RequestCommit; - listSnapshots?: RequestListSnapshots; - offerSnapshot?: RequestOfferSnapshot; - loadSnapshotChunk?: RequestLoadSnapshotChunk; - applySnapshotChunk?: RequestApplySnapshotChunk; -} -export interface RequestSDKType { - echo?: RequestEchoSDKType; - flush?: RequestFlushSDKType; - info?: RequestInfoSDKType; - set_option?: RequestSetOptionSDKType; - init_chain?: RequestInitChainSDKType; - query?: RequestQuerySDKType; - begin_block?: RequestBeginBlockSDKType; - check_tx?: RequestCheckTxSDKType; - deliver_tx?: RequestDeliverTxSDKType; - end_block?: RequestEndBlockSDKType; - commit?: RequestCommitSDKType; - list_snapshots?: RequestListSnapshotsSDKType; - offer_snapshot?: RequestOfferSnapshotSDKType; - load_snapshot_chunk?: RequestLoadSnapshotChunkSDKType; - apply_snapshot_chunk?: RequestApplySnapshotChunkSDKType; -} -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; - chainId: string; - consensusParams?: ConsensusParams; - validators: ValidatorUpdate[]; - appStateBytes: Uint8Array; - initialHeight: Long; -} -export interface RequestInitChainSDKType { - time?: Date; - chain_id: string; - consensus_params?: ConsensusParamsSDKType; - validators: ValidatorUpdateSDKType[]; - app_state_bytes: Uint8Array; - initial_height: Long; -} -export interface RequestQuery { - data: Uint8Array; - path: string; - height: Long; - prove: boolean; -} -export interface RequestQuerySDKType { - data: Uint8Array; - path: string; - height: Long; - prove: boolean; -} -export interface RequestBeginBlock { - hash: Uint8Array; - header?: Header; - lastCommitInfo?: LastCommitInfo; - byzantineValidators: Evidence[]; -} -export interface RequestBeginBlockSDKType { - hash: Uint8Array; - header?: HeaderSDKType; - last_commit_info?: LastCommitInfoSDKType; - byzantine_validators: EvidenceSDKType[]; -} -export interface RequestCheckTx { - tx: Uint8Array; - type: CheckTxType; -} -export interface RequestCheckTxSDKType { - tx: Uint8Array; - type: CheckTxType; -} -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; - /** light client-verified app hash for snapshot height */ - appHash: Uint8Array; -} -/** offers a snapshot to the application */ -export interface RequestOfferSnapshotSDKType { - snapshot?: SnapshotSDKType; - app_hash: Uint8Array; -} -/** loads a snapshot chunk */ -export interface RequestLoadSnapshotChunk { - height: Long; - format: number; - chunk: number; -} -/** 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; - echo?: ResponseEcho; - flush?: ResponseFlush; - info?: ResponseInfo; - setOption?: ResponseSetOption; - initChain?: ResponseInitChain; - query?: ResponseQuery; - beginBlock?: ResponseBeginBlock; - checkTx?: ResponseCheckTx; - deliverTx?: ResponseDeliverTx; - endBlock?: ResponseEndBlock; - commit?: ResponseCommit; - listSnapshots?: ResponseListSnapshots; - offerSnapshot?: ResponseOfferSnapshot; - loadSnapshotChunk?: ResponseLoadSnapshotChunk; - applySnapshotChunk?: ResponseApplySnapshotChunk; -} -export interface ResponseSDKType { - exception?: ResponseExceptionSDKType; - echo?: ResponseEchoSDKType; - flush?: ResponseFlushSDKType; - info?: ResponseInfoSDKType; - set_option?: ResponseSetOptionSDKType; - init_chain?: ResponseInitChainSDKType; - query?: ResponseQuerySDKType; - begin_block?: ResponseBeginBlockSDKType; - check_tx?: ResponseCheckTxSDKType; - deliver_tx?: ResponseDeliverTxSDKType; - end_block?: ResponseEndBlockSDKType; - commit?: ResponseCommitSDKType; - list_snapshots?: ResponseListSnapshotsSDKType; - offer_snapshot?: ResponseOfferSnapshotSDKType; - load_snapshot_chunk?: ResponseLoadSnapshotChunkSDKType; - apply_snapshot_chunk?: ResponseApplySnapshotChunkSDKType; -} -/** 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; - log: string; - info: string; -} -export interface ResponseInitChain { - consensusParams?: ConsensusParams; - validators: ValidatorUpdate[]; - appHash: Uint8Array; -} -export interface ResponseInitChainSDKType { - consensus_params?: ConsensusParamsSDKType; - validators: ValidatorUpdateSDKType[]; - app_hash: Uint8Array; -} -export interface ResponseQuery { - code: number; - /** bytes data = 2; // use "value" instead. */ - log: string; - /** nondeterministic */ - info: string; - index: Long; - key: Uint8Array; - value: Uint8Array; - proofOps?: ProofOps; - height: Long; - codespace: string; -} -export interface ResponseQuerySDKType { - code: number; - log: string; - info: string; - index: Long; - key: Uint8Array; - value: Uint8Array; - proof_ops?: ProofOpsSDKType; - height: Long; - codespace: string; -} -export interface ResponseBeginBlock { - events: Event[]; -} -export interface 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; - log: string; - 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; - log: string; - info: string; - gas_wanted: Long; - gas_used: Long; - events: EventSDKType[]; - codespace: string; -} -export interface ResponseEndBlock { - validatorUpdates: ValidatorUpdate[]; - consensusParamUpdates?: ConsensusParams; - events: Event[]; -} -export interface ResponseEndBlockSDKType { - validator_updates: ValidatorUpdateSDKType[]; - consensus_param_updates?: ConsensusParamsSDKType; - events: EventSDKType[]; -} -export interface ResponseCommit { - /** reserve 1 */ - data: Uint8Array; - retainHeight: Long; -} -export interface ResponseCommitSDKType { - 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_Result; -} -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_Result; - refetch_chunks: number[]; - reject_senders: string[]; -} -/** - * ConsensusParams contains all consensus-relevant parameters - * that can be adjusted by the abci app - */ -export interface ConsensusParams { - block?: BlockParams; - evidence?: EvidenceParams; - validator?: ValidatorParams; - version?: VersionParams; -} -/** - * ConsensusParams contains all consensus-relevant parameters - * that can be adjusted by the abci app - */ -export interface ConsensusParamsSDKType { - block?: BlockParamsSDKType; - evidence?: EvidenceParamsSDKType; - validator?: ValidatorParamsSDKType; - version?: VersionParamsSDKType; -} -/** 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 { - max_bytes: Long; - 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; - 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; -} -/** - * TxResult contains results of executing the transaction. - * - * One usage is indexing transaction results. - */ -export interface TxResultSDKType { - height: Long; - index: number; - tx: Uint8Array; - result?: ResponseDeliverTxSDKType; -} -/** Validator */ -export interface Validator { - /** - * The first 20 bytes of SHA256(public key) - * PubKey pub_key = 2 [(gogoproto.nullable)=false]; - */ - address: Uint8Array; - /** The voting power */ - power: Long; -} -/** Validator */ -export interface ValidatorSDKType { - address: Uint8Array; - power: Long; -} -/** ValidatorUpdate */ -export interface ValidatorUpdate { - pubKey?: PublicKey; - power: Long; -} -/** ValidatorUpdate */ -export interface ValidatorUpdateSDKType { - pub_key?: PublicKeySDKType; - power: Long; -} -/** VoteInfo */ -export interface VoteInfo { - validator?: Validator; - signedLastBlock: boolean; -} -/** VoteInfo */ -export interface VoteInfoSDKType { - validator?: ValidatorSDKType; - signed_last_block: boolean; -} -export interface Evidence { - type: EvidenceType; - /** The offending validator */ - validator?: Validator; - /** The height when the offense occurred */ - height: Long; - /** The corresponding time where the offense occurred */ - time?: Date; - /** - * 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: EvidenceType; - validator?: ValidatorSDKType; - height: Long; - time?: Date; - 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 { - height: Long; - format: number; - chunks: number; - hash: Uint8Array; - metadata: Uint8Array; -} -export declare const Request: { - encode(message: Request, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Request; - fromPartial(object: DeepPartial): Request; -}; -export declare const RequestEcho: { - encode(message: RequestEcho, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): RequestEcho; - fromPartial(object: DeepPartial): RequestEcho; -}; -export declare const RequestFlush: { - encode(_: RequestFlush, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): RequestFlush; - fromPartial(_: DeepPartial): RequestFlush; -}; -export declare const RequestInfo: { - encode(message: RequestInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): RequestInfo; - fromPartial(object: DeepPartial): RequestInfo; -}; -export declare const RequestSetOption: { - encode(message: RequestSetOption, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): RequestSetOption; - fromPartial(object: DeepPartial): RequestSetOption; -}; -export declare const RequestInitChain: { - encode(message: RequestInitChain, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): RequestInitChain; - fromPartial(object: DeepPartial): RequestInitChain; -}; -export declare const RequestQuery: { - encode(message: RequestQuery, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): RequestQuery; - fromPartial(object: DeepPartial): RequestQuery; -}; -export declare const RequestBeginBlock: { - encode(message: RequestBeginBlock, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): RequestBeginBlock; - fromPartial(object: DeepPartial): RequestBeginBlock; -}; -export declare const RequestCheckTx: { - encode(message: RequestCheckTx, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): RequestCheckTx; - fromPartial(object: DeepPartial): RequestCheckTx; -}; -export declare const RequestDeliverTx: { - encode(message: RequestDeliverTx, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): RequestDeliverTx; - fromPartial(object: DeepPartial): RequestDeliverTx; -}; -export declare const RequestEndBlock: { - encode(message: RequestEndBlock, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): RequestEndBlock; - fromPartial(object: DeepPartial): RequestEndBlock; -}; -export declare const RequestCommit: { - encode(_: RequestCommit, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): RequestCommit; - fromPartial(_: DeepPartial): RequestCommit; -}; -export declare const RequestListSnapshots: { - encode(_: RequestListSnapshots, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): RequestListSnapshots; - fromPartial(_: DeepPartial): RequestListSnapshots; -}; -export declare const RequestOfferSnapshot: { - encode(message: RequestOfferSnapshot, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): RequestOfferSnapshot; - fromPartial(object: DeepPartial): RequestOfferSnapshot; -}; -export declare const RequestLoadSnapshotChunk: { - encode(message: RequestLoadSnapshotChunk, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): RequestLoadSnapshotChunk; - fromPartial(object: DeepPartial): RequestLoadSnapshotChunk; -}; -export declare const RequestApplySnapshotChunk: { - encode(message: RequestApplySnapshotChunk, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): RequestApplySnapshotChunk; - fromPartial(object: DeepPartial): RequestApplySnapshotChunk; -}; -export declare const Response: { - encode(message: Response, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Response; - fromPartial(object: DeepPartial): Response; -}; -export declare const ResponseException: { - encode(message: ResponseException, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseException; - fromPartial(object: DeepPartial): ResponseException; -}; -export declare const ResponseEcho: { - encode(message: ResponseEcho, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseEcho; - fromPartial(object: DeepPartial): ResponseEcho; -}; -export declare const ResponseFlush: { - encode(_: ResponseFlush, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseFlush; - fromPartial(_: DeepPartial): ResponseFlush; -}; -export declare const ResponseInfo: { - encode(message: ResponseInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseInfo; - fromPartial(object: DeepPartial): ResponseInfo; -}; -export declare const ResponseSetOption: { - encode(message: ResponseSetOption, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseSetOption; - fromPartial(object: DeepPartial): ResponseSetOption; -}; -export declare const ResponseInitChain: { - encode(message: ResponseInitChain, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseInitChain; - fromPartial(object: DeepPartial): ResponseInitChain; -}; -export declare const ResponseQuery: { - encode(message: ResponseQuery, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseQuery; - fromPartial(object: DeepPartial): ResponseQuery; -}; -export declare const ResponseBeginBlock: { - encode(message: ResponseBeginBlock, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseBeginBlock; - fromPartial(object: DeepPartial): ResponseBeginBlock; -}; -export declare const ResponseCheckTx: { - encode(message: ResponseCheckTx, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseCheckTx; - fromPartial(object: DeepPartial): ResponseCheckTx; -}; -export declare const ResponseDeliverTx: { - encode(message: ResponseDeliverTx, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseDeliverTx; - fromPartial(object: DeepPartial): ResponseDeliverTx; -}; -export declare const ResponseEndBlock: { - encode(message: ResponseEndBlock, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseEndBlock; - fromPartial(object: DeepPartial): ResponseEndBlock; -}; -export declare const ResponseCommit: { - encode(message: ResponseCommit, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseCommit; - fromPartial(object: DeepPartial): ResponseCommit; -}; -export declare const ResponseListSnapshots: { - encode(message: ResponseListSnapshots, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseListSnapshots; - fromPartial(object: DeepPartial): ResponseListSnapshots; -}; -export declare const ResponseOfferSnapshot: { - encode(message: ResponseOfferSnapshot, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseOfferSnapshot; - fromPartial(object: DeepPartial): ResponseOfferSnapshot; -}; -export declare const ResponseLoadSnapshotChunk: { - encode(message: ResponseLoadSnapshotChunk, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseLoadSnapshotChunk; - fromPartial(object: DeepPartial): ResponseLoadSnapshotChunk; -}; -export declare const ResponseApplySnapshotChunk: { - encode(message: ResponseApplySnapshotChunk, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ResponseApplySnapshotChunk; - fromPartial(object: DeepPartial): ResponseApplySnapshotChunk; -}; -export declare const ConsensusParams: { - encode(message: ConsensusParams, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusParams; - fromPartial(object: DeepPartial): ConsensusParams; -}; -export declare const BlockParams: { - encode(message: BlockParams, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): BlockParams; - fromPartial(object: DeepPartial): BlockParams; -}; -export declare const LastCommitInfo: { - encode(message: LastCommitInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): LastCommitInfo; - fromPartial(object: DeepPartial): LastCommitInfo; -}; -export declare const Event: { - encode(message: Event, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Event; - fromPartial(object: DeepPartial): Event; -}; -export declare const EventAttribute: { - encode(message: EventAttribute, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EventAttribute; - fromPartial(object: DeepPartial): EventAttribute; -}; -export declare const TxResult: { - encode(message: TxResult, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): TxResult; - fromPartial(object: DeepPartial): TxResult; -}; -export declare const Validator: { - encode(message: Validator, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Validator; - fromPartial(object: DeepPartial): Validator; -}; -export declare const ValidatorUpdate: { - encode(message: ValidatorUpdate, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorUpdate; - fromPartial(object: DeepPartial): ValidatorUpdate; -}; -export declare const VoteInfo: { - encode(message: VoteInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): VoteInfo; - fromPartial(object: DeepPartial): VoteInfo; -}; -export declare const Evidence: { - encode(message: Evidence, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Evidence; - fromPartial(object: DeepPartial): Evidence; -}; -export declare const Snapshot: { - encode(message: Snapshot, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Snapshot; - fromPartial(object: DeepPartial): Snapshot; -}; diff --git a/packages/codegen/dist/tendermint/bundle.d.ts b/packages/codegen/dist/tendermint/bundle.d.ts deleted file mode 100644 index 85f6bcdd..00000000 --- a/packages/codegen/dist/tendermint/bundle.d.ts +++ /dev/null @@ -1,2066 +0,0 @@ -/// -import * as _134 from "./abci/types"; -import * as _135 from "./crypto/keys"; -import * as _136 from "./crypto/proof"; -import * as _137 from "./libs/bits/types"; -import * as _138 from "./p2p/types"; -import * as _139 from "./types/block"; -import * as _140 from "./types/evidence"; -import * as _141 from "./types/params"; -import * as _142 from "./types/types"; -import * as _143 from "./types/validator"; -import * as _144 from "./version/types"; -export declare namespace tendermint { - const abci: { - checkTxTypeFromJSON(object: any): _134.CheckTxType; - checkTxTypeToJSON(object: _134.CheckTxType): string; - responseOfferSnapshot_ResultFromJSON(object: any): _134.ResponseOfferSnapshot_Result; - responseOfferSnapshot_ResultToJSON(object: _134.ResponseOfferSnapshot_Result): string; - responseApplySnapshotChunk_ResultFromJSON(object: any): _134.ResponseApplySnapshotChunk_Result; - responseApplySnapshotChunk_ResultToJSON(object: _134.ResponseApplySnapshotChunk_Result): string; - evidenceTypeFromJSON(object: any): _134.EvidenceType; - evidenceTypeToJSON(object: _134.EvidenceType): string; - CheckTxType: typeof _134.CheckTxType; - CheckTxTypeSDKType: typeof _134.CheckTxType; - ResponseOfferSnapshot_Result: typeof _134.ResponseOfferSnapshot_Result; - ResponseOfferSnapshot_ResultSDKType: typeof _134.ResponseOfferSnapshot_Result; - ResponseApplySnapshotChunk_Result: typeof _134.ResponseApplySnapshotChunk_Result; - ResponseApplySnapshotChunk_ResultSDKType: typeof _134.ResponseApplySnapshotChunk_Result; - EvidenceType: typeof _134.EvidenceType; - EvidenceTypeSDKType: typeof _134.EvidenceType; - Request: { - encode(message: _134.Request, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.Request; - fromPartial(object: { - echo?: { - message?: string; - }; - flush?: {}; - info?: { - version?: string; - blockVersion?: string | number | import("long").Long; - p2pVersion?: string | number | import("long").Long; - }; - setOption?: { - key?: string; - value?: string; - }; - initChain?: { - time?: Date; - chainId?: string; - consensusParams?: { - block?: { - maxBytes?: string | number | import("long").Long; - maxGas?: string | number | import("long").Long; - }; - evidence?: { - maxAgeNumBlocks?: string | number | import("long").Long; - maxAgeDuration?: { - seconds?: string | number | import("long").Long; - nanos?: number; - }; - maxBytes?: string | number | import("long").Long; - }; - validator?: { - pubKeyTypes?: string[]; - }; - version?: { - appVersion?: string | number | import("long").Long; - }; - }; - validators?: { - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - power?: string | number | import("long").Long; - }[]; - appStateBytes?: Uint8Array; - initialHeight?: string | number | import("long").Long; - }; - query?: { - data?: Uint8Array; - path?: string; - height?: string | number | import("long").Long; - prove?: boolean; - }; - beginBlock?: { - hash?: Uint8Array; - header?: { - version?: { - block?: string | number | import("long").Long; - app?: string | number | import("long").Long; - }; - chainId?: string; - height?: string | number | import("long").Long; - time?: Date; - lastBlockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - lastCommitHash?: Uint8Array; - dataHash?: Uint8Array; - validatorsHash?: Uint8Array; - nextValidatorsHash?: Uint8Array; - consensusHash?: Uint8Array; - appHash?: Uint8Array; - lastResultsHash?: Uint8Array; - evidenceHash?: Uint8Array; - proposerAddress?: Uint8Array; - }; - lastCommitInfo?: { - round?: number; - votes?: { - validator?: { - address?: Uint8Array; - power?: string | number | import("long").Long; - }; - signedLastBlock?: boolean; - }[]; - }; - byzantineValidators?: { - type?: _134.EvidenceType; - validator?: { - address?: Uint8Array; - power?: string | number | import("long").Long; - }; - height?: string | number | import("long").Long; - time?: Date; - totalVotingPower?: string | number | import("long").Long; - }[]; - }; - checkTx?: { - tx?: Uint8Array; - type?: _134.CheckTxType; - }; - deliverTx?: { - tx?: Uint8Array; - }; - endBlock?: { - height?: string | number | import("long").Long; - }; - commit?: {}; - listSnapshots?: {}; - offerSnapshot?: { - snapshot?: { - height?: string | number | import("long").Long; - format?: number; - chunks?: number; - hash?: Uint8Array; - metadata?: Uint8Array; - }; - appHash?: Uint8Array; - }; - loadSnapshotChunk?: { - height?: string | number | import("long").Long; - format?: number; - chunk?: number; - }; - applySnapshotChunk?: { - index?: number; - chunk?: Uint8Array; - sender?: string; - }; - }): _134.Request; - }; - RequestEcho: { - encode(message: _134.RequestEcho, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.RequestEcho; - fromPartial(object: { - message?: string; - }): _134.RequestEcho; - }; - RequestFlush: { - encode(_: _134.RequestFlush, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.RequestFlush; - fromPartial(_: {}): _134.RequestFlush; - }; - RequestInfo: { - encode(message: _134.RequestInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.RequestInfo; - fromPartial(object: { - version?: string; - blockVersion?: string | number | import("long").Long; - p2pVersion?: string | number | import("long").Long; - }): _134.RequestInfo; - }; - RequestSetOption: { - encode(message: _134.RequestSetOption, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.RequestSetOption; - fromPartial(object: { - key?: string; - value?: string; - }): _134.RequestSetOption; - }; - RequestInitChain: { - encode(message: _134.RequestInitChain, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.RequestInitChain; - fromPartial(object: { - time?: Date; - chainId?: string; - consensusParams?: { - block?: { - maxBytes?: string | number | import("long").Long; - maxGas?: string | number | import("long").Long; - }; - evidence?: { - maxAgeNumBlocks?: string | number | import("long").Long; - maxAgeDuration?: { - seconds?: string | number | import("long").Long; - nanos?: number; - }; - maxBytes?: string | number | import("long").Long; - }; - validator?: { - pubKeyTypes?: string[]; - }; - version?: { - appVersion?: string | number | import("long").Long; - }; - }; - validators?: { - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - power?: string | number | import("long").Long; - }[]; - appStateBytes?: Uint8Array; - initialHeight?: string | number | import("long").Long; - }): _134.RequestInitChain; - }; - RequestQuery: { - encode(message: _134.RequestQuery, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.RequestQuery; - fromPartial(object: { - data?: Uint8Array; - path?: string; - height?: string | number | import("long").Long; - prove?: boolean; - }): _134.RequestQuery; - }; - RequestBeginBlock: { - encode(message: _134.RequestBeginBlock, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.RequestBeginBlock; - fromPartial(object: { - hash?: Uint8Array; - header?: { - version?: { - block?: string | number | import("long").Long; - app?: string | number | import("long").Long; - }; - chainId?: string; - height?: string | number | import("long").Long; - time?: Date; - lastBlockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - lastCommitHash?: Uint8Array; - dataHash?: Uint8Array; - validatorsHash?: Uint8Array; - nextValidatorsHash?: Uint8Array; - consensusHash?: Uint8Array; - appHash?: Uint8Array; - lastResultsHash?: Uint8Array; - evidenceHash?: Uint8Array; - proposerAddress?: Uint8Array; - }; - lastCommitInfo?: { - round?: number; - votes?: { - validator?: { - address?: Uint8Array; - power?: string | number | import("long").Long; - }; - signedLastBlock?: boolean; - }[]; - }; - byzantineValidators?: { - type?: _134.EvidenceType; - validator?: { - address?: Uint8Array; - power?: string | number | import("long").Long; - }; - height?: string | number | import("long").Long; - time?: Date; - totalVotingPower?: string | number | import("long").Long; - }[]; - }): _134.RequestBeginBlock; - }; - RequestCheckTx: { - encode(message: _134.RequestCheckTx, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.RequestCheckTx; - fromPartial(object: { - tx?: Uint8Array; - type?: _134.CheckTxType; - }): _134.RequestCheckTx; - }; - RequestDeliverTx: { - encode(message: _134.RequestDeliverTx, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.RequestDeliverTx; - fromPartial(object: { - tx?: Uint8Array; - }): _134.RequestDeliverTx; - }; - RequestEndBlock: { - encode(message: _134.RequestEndBlock, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.RequestEndBlock; - fromPartial(object: { - height?: string | number | import("long").Long; - }): _134.RequestEndBlock; - }; - RequestCommit: { - encode(_: _134.RequestCommit, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.RequestCommit; - fromPartial(_: {}): _134.RequestCommit; - }; - RequestListSnapshots: { - encode(_: _134.RequestListSnapshots, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.RequestListSnapshots; - fromPartial(_: {}): _134.RequestListSnapshots; - }; - RequestOfferSnapshot: { - encode(message: _134.RequestOfferSnapshot, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.RequestOfferSnapshot; - fromPartial(object: { - snapshot?: { - height?: string | number | import("long").Long; - format?: number; - chunks?: number; - hash?: Uint8Array; - metadata?: Uint8Array; - }; - appHash?: Uint8Array; - }): _134.RequestOfferSnapshot; - }; - RequestLoadSnapshotChunk: { - encode(message: _134.RequestLoadSnapshotChunk, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.RequestLoadSnapshotChunk; - fromPartial(object: { - height?: string | number | import("long").Long; - format?: number; - chunk?: number; - }): _134.RequestLoadSnapshotChunk; - }; - RequestApplySnapshotChunk: { - encode(message: _134.RequestApplySnapshotChunk, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.RequestApplySnapshotChunk; - fromPartial(object: { - index?: number; - chunk?: Uint8Array; - sender?: string; - }): _134.RequestApplySnapshotChunk; - }; - Response: { - encode(message: _134.Response, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.Response; - fromPartial(object: { - exception?: { - error?: string; - }; - echo?: { - message?: string; - }; - flush?: {}; - info?: { - data?: string; - version?: string; - appVersion?: string | number | import("long").Long; - lastBlockHeight?: string | number | import("long").Long; - lastBlockAppHash?: Uint8Array; - }; - setOption?: { - code?: number; - log?: string; - info?: string; - }; - initChain?: { - consensusParams?: { - block?: { - maxBytes?: string | number | import("long").Long; - maxGas?: string | number | import("long").Long; - }; - evidence?: { - maxAgeNumBlocks?: string | number | import("long").Long; - maxAgeDuration?: { - seconds?: string | number | import("long").Long; - nanos?: number; - }; - maxBytes?: string | number | import("long").Long; - }; - validator?: { - pubKeyTypes?: string[]; - }; - version?: { - appVersion?: string | number | import("long").Long; - }; - }; - validators?: { - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - power?: string | number | import("long").Long; - }[]; - appHash?: Uint8Array; - }; - query?: { - code?: number; - log?: string; - info?: string; - index?: string | number | import("long").Long; - key?: Uint8Array; - value?: Uint8Array; - proofOps?: { - ops?: { - type?: string; - key?: Uint8Array; - data?: Uint8Array; - }[]; - }; - height?: string | number | import("long").Long; - codespace?: string; - }; - beginBlock?: { - events?: { - type?: string; - attributes?: { - key?: Uint8Array; - value?: Uint8Array; - index?: boolean; - }[]; - }[]; - }; - checkTx?: { - code?: number; - data?: Uint8Array; - log?: string; - info?: string; - gasWanted?: string | number | import("long").Long; - gasUsed?: string | number | import("long").Long; - events?: { - type?: string; - attributes?: { - key?: Uint8Array; - value?: Uint8Array; - index?: boolean; - }[]; - }[]; - codespace?: string; - }; - deliverTx?: { - code?: number; - data?: Uint8Array; - log?: string; - info?: string; - gasWanted?: string | number | import("long").Long; - gasUsed?: string | number | import("long").Long; - events?: { - type?: string; - attributes?: { - key?: Uint8Array; - value?: Uint8Array; - index?: boolean; - }[]; - }[]; - codespace?: string; - }; - endBlock?: { - validatorUpdates?: { - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - power?: string | number | import("long").Long; - }[]; - consensusParamUpdates?: { - block?: { - maxBytes?: string | number | import("long").Long; - maxGas?: string | number | import("long").Long; - }; - evidence?: { - maxAgeNumBlocks?: string | number | import("long").Long; - maxAgeDuration?: { - seconds?: string | number | import("long").Long; - nanos?: number; - }; - maxBytes?: string | number | import("long").Long; - }; - validator?: { - pubKeyTypes?: string[]; - }; - version?: { - appVersion?: string | number | import("long").Long; - }; - }; - events?: { - type?: string; - attributes?: { - key?: Uint8Array; - value?: Uint8Array; - index?: boolean; - }[]; - }[]; - }; - commit?: { - data?: Uint8Array; - retainHeight?: string | number | import("long").Long; - }; - listSnapshots?: { - snapshots?: { - height?: string | number | import("long").Long; - format?: number; - chunks?: number; - hash?: Uint8Array; - metadata?: Uint8Array; - }[]; - }; - offerSnapshot?: { - result?: _134.ResponseOfferSnapshot_Result; - }; - loadSnapshotChunk?: { - chunk?: Uint8Array; - }; - applySnapshotChunk?: { - result?: _134.ResponseApplySnapshotChunk_Result; - refetchChunks?: number[]; - rejectSenders?: string[]; - }; - }): _134.Response; - }; - ResponseException: { - encode(message: _134.ResponseException, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.ResponseException; - fromPartial(object: { - error?: string; - }): _134.ResponseException; - }; - ResponseEcho: { - encode(message: _134.ResponseEcho, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.ResponseEcho; - fromPartial(object: { - message?: string; - }): _134.ResponseEcho; - }; - ResponseFlush: { - encode(_: _134.ResponseFlush, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.ResponseFlush; - fromPartial(_: {}): _134.ResponseFlush; - }; - ResponseInfo: { - encode(message: _134.ResponseInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.ResponseInfo; - fromPartial(object: { - data?: string; - version?: string; - appVersion?: string | number | import("long").Long; - lastBlockHeight?: string | number | import("long").Long; - lastBlockAppHash?: Uint8Array; - }): _134.ResponseInfo; - }; - ResponseSetOption: { - encode(message: _134.ResponseSetOption, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.ResponseSetOption; - fromPartial(object: { - code?: number; - log?: string; - info?: string; - }): _134.ResponseSetOption; - }; - ResponseInitChain: { - encode(message: _134.ResponseInitChain, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.ResponseInitChain; - fromPartial(object: { - consensusParams?: { - block?: { - maxBytes?: string | number | import("long").Long; - maxGas?: string | number | import("long").Long; - }; - evidence?: { - maxAgeNumBlocks?: string | number | import("long").Long; - maxAgeDuration?: { - seconds?: string | number | import("long").Long; - nanos?: number; - }; - maxBytes?: string | number | import("long").Long; - }; - validator?: { - pubKeyTypes?: string[]; - }; - version?: { - appVersion?: string | number | import("long").Long; - }; - }; - validators?: { - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - power?: string | number | import("long").Long; - }[]; - appHash?: Uint8Array; - }): _134.ResponseInitChain; - }; - ResponseQuery: { - encode(message: _134.ResponseQuery, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.ResponseQuery; - fromPartial(object: { - code?: number; - log?: string; - info?: string; - index?: string | number | import("long").Long; - key?: Uint8Array; - value?: Uint8Array; - proofOps?: { - ops?: { - type?: string; - key?: Uint8Array; - data?: Uint8Array; - }[]; - }; - height?: string | number | import("long").Long; - codespace?: string; - }): _134.ResponseQuery; - }; - ResponseBeginBlock: { - encode(message: _134.ResponseBeginBlock, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.ResponseBeginBlock; - fromPartial(object: { - events?: { - type?: string; - attributes?: { - key?: Uint8Array; - value?: Uint8Array; - index?: boolean; - }[]; - }[]; - }): _134.ResponseBeginBlock; - }; - ResponseCheckTx: { - encode(message: _134.ResponseCheckTx, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.ResponseCheckTx; - fromPartial(object: { - code?: number; - data?: Uint8Array; - log?: string; - info?: string; - gasWanted?: string | number | import("long").Long; - gasUsed?: string | number | import("long").Long; - events?: { - type?: string; - attributes?: { - key?: Uint8Array; - value?: Uint8Array; - index?: boolean; - }[]; - }[]; - codespace?: string; - }): _134.ResponseCheckTx; - }; - ResponseDeliverTx: { - encode(message: _134.ResponseDeliverTx, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.ResponseDeliverTx; - fromPartial(object: { - code?: number; - data?: Uint8Array; - log?: string; - info?: string; - gasWanted?: string | number | import("long").Long; - gasUsed?: string | number | import("long").Long; - events?: { - type?: string; - attributes?: { - key?: Uint8Array; - value?: Uint8Array; - index?: boolean; - }[]; - }[]; - codespace?: string; - }): _134.ResponseDeliverTx; - }; - ResponseEndBlock: { - encode(message: _134.ResponseEndBlock, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.ResponseEndBlock; - fromPartial(object: { - validatorUpdates?: { - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - power?: string | number | import("long").Long; - }[]; - consensusParamUpdates?: { - block?: { - maxBytes?: string | number | import("long").Long; - maxGas?: string | number | import("long").Long; - }; - evidence?: { - maxAgeNumBlocks?: string | number | import("long").Long; - maxAgeDuration?: { - seconds?: string | number | import("long").Long; - nanos?: number; - }; - maxBytes?: string | number | import("long").Long; - }; - validator?: { - pubKeyTypes?: string[]; - }; - version?: { - appVersion?: string | number | import("long").Long; - }; - }; - events?: { - type?: string; - attributes?: { - key?: Uint8Array; - value?: Uint8Array; - index?: boolean; - }[]; - }[]; - }): _134.ResponseEndBlock; - }; - ResponseCommit: { - encode(message: _134.ResponseCommit, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.ResponseCommit; - fromPartial(object: { - data?: Uint8Array; - retainHeight?: string | number | import("long").Long; - }): _134.ResponseCommit; - }; - ResponseListSnapshots: { - encode(message: _134.ResponseListSnapshots, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.ResponseListSnapshots; - fromPartial(object: { - snapshots?: { - height?: string | number | import("long").Long; - format?: number; - chunks?: number; - hash?: Uint8Array; - metadata?: Uint8Array; - }[]; - }): _134.ResponseListSnapshots; - }; - ResponseOfferSnapshot: { - encode(message: _134.ResponseOfferSnapshot, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.ResponseOfferSnapshot; - fromPartial(object: { - result?: _134.ResponseOfferSnapshot_Result; - }): _134.ResponseOfferSnapshot; - }; - ResponseLoadSnapshotChunk: { - encode(message: _134.ResponseLoadSnapshotChunk, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.ResponseLoadSnapshotChunk; - fromPartial(object: { - chunk?: Uint8Array; - }): _134.ResponseLoadSnapshotChunk; - }; - ResponseApplySnapshotChunk: { - encode(message: _134.ResponseApplySnapshotChunk, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.ResponseApplySnapshotChunk; - fromPartial(object: { - result?: _134.ResponseApplySnapshotChunk_Result; - refetchChunks?: number[]; - rejectSenders?: string[]; - }): _134.ResponseApplySnapshotChunk; - }; - ConsensusParams: { - encode(message: _134.ConsensusParams, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.ConsensusParams; - fromPartial(object: { - block?: { - maxBytes?: string | number | import("long").Long; - maxGas?: string | number | import("long").Long; - }; - evidence?: { - maxAgeNumBlocks?: string | number | import("long").Long; - maxAgeDuration?: { - seconds?: string | number | import("long").Long; - nanos?: number; - }; - maxBytes?: string | number | import("long").Long; - }; - validator?: { - pubKeyTypes?: string[]; - }; - version?: { - appVersion?: string | number | import("long").Long; - }; - }): _134.ConsensusParams; - }; - BlockParams: { - encode(message: _134.BlockParams, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.BlockParams; - fromPartial(object: { - maxBytes?: string | number | import("long").Long; - maxGas?: string | number | import("long").Long; - }): _134.BlockParams; - }; - LastCommitInfo: { - encode(message: _134.LastCommitInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.LastCommitInfo; - fromPartial(object: { - round?: number; - votes?: { - validator?: { - address?: Uint8Array; - power?: string | number | import("long").Long; - }; - signedLastBlock?: boolean; - }[]; - }): _134.LastCommitInfo; - }; - Event: { - encode(message: _134.Event, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.Event; - fromPartial(object: { - type?: string; - attributes?: { - key?: Uint8Array; - value?: Uint8Array; - index?: boolean; - }[]; - }): _134.Event; - }; - EventAttribute: { - encode(message: _134.EventAttribute, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.EventAttribute; - fromPartial(object: { - key?: Uint8Array; - value?: Uint8Array; - index?: boolean; - }): _134.EventAttribute; - }; - TxResult: { - encode(message: _134.TxResult, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.TxResult; - fromPartial(object: { - height?: string | number | import("long").Long; - index?: number; - tx?: Uint8Array; - result?: { - code?: number; - data?: Uint8Array; - log?: string; - info?: string; - gasWanted?: string | number | import("long").Long; - gasUsed?: string | number | import("long").Long; - events?: { - type?: string; - attributes?: { - key?: Uint8Array; - value?: Uint8Array; - index?: boolean; - }[]; - }[]; - codespace?: string; - }; - }): _134.TxResult; - }; - Validator: { - encode(message: _134.Validator, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.Validator; - fromPartial(object: { - address?: Uint8Array; - power?: string | number | import("long").Long; - }): _134.Validator; - }; - ValidatorUpdate: { - encode(message: _134.ValidatorUpdate, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.ValidatorUpdate; - fromPartial(object: { - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - power?: string | number | import("long").Long; - }): _134.ValidatorUpdate; - }; - VoteInfo: { - encode(message: _134.VoteInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.VoteInfo; - fromPartial(object: { - validator?: { - address?: Uint8Array; - power?: string | number | import("long").Long; - }; - signedLastBlock?: boolean; - }): _134.VoteInfo; - }; - Evidence: { - encode(message: _134.Evidence, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.Evidence; - fromPartial(object: { - type?: _134.EvidenceType; - validator?: { - address?: Uint8Array; - power?: string | number | import("long").Long; - }; - height?: string | number | import("long").Long; - time?: Date; - totalVotingPower?: string | number | import("long").Long; - }): _134.Evidence; - }; - Snapshot: { - encode(message: _134.Snapshot, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _134.Snapshot; - fromPartial(object: { - height?: string | number | import("long").Long; - format?: number; - chunks?: number; - hash?: Uint8Array; - metadata?: Uint8Array; - }): _134.Snapshot; - }; - }; - const crypto: { - Proof: { - encode(message: _136.Proof, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _136.Proof; - fromPartial(object: { - total?: string | number | import("long").Long; - index?: string | number | import("long").Long; - leafHash?: Uint8Array; - aunts?: Uint8Array[]; - }): _136.Proof; - }; - ValueOp: { - encode(message: _136.ValueOp, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _136.ValueOp; - fromPartial(object: { - key?: Uint8Array; - proof?: { - total?: string | number | import("long").Long; - index?: string | number | import("long").Long; - leafHash?: Uint8Array; - aunts?: Uint8Array[]; - }; - }): _136.ValueOp; - }; - DominoOp: { - encode(message: _136.DominoOp, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _136.DominoOp; - fromPartial(object: { - key?: string; - input?: string; - output?: string; - }): _136.DominoOp; - }; - ProofOp: { - encode(message: _136.ProofOp, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _136.ProofOp; - fromPartial(object: { - type?: string; - key?: Uint8Array; - data?: Uint8Array; - }): _136.ProofOp; - }; - ProofOps: { - encode(message: _136.ProofOps, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _136.ProofOps; - fromPartial(object: { - ops?: { - type?: string; - key?: Uint8Array; - data?: Uint8Array; - }[]; - }): _136.ProofOps; - }; - PublicKey: { - encode(message: _135.PublicKey, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _135.PublicKey; - fromPartial(object: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }): _135.PublicKey; - }; - }; - namespace libs { - const bits: { - BitArray: { - encode(message: _137.BitArray, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _137.BitArray; - fromPartial(object: { - bits?: string | number | import("long").Long; - elems?: (string | number | import("long").Long)[]; - }): _137.BitArray; - }; - }; - } - const p2p: { - ProtocolVersion: { - encode(message: _138.ProtocolVersion, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _138.ProtocolVersion; - fromPartial(object: { - p2p?: string | number | import("long").Long; - block?: string | number | import("long").Long; - app?: string | number | import("long").Long; - }): _138.ProtocolVersion; - }; - NodeInfo: { - encode(message: _138.NodeInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _138.NodeInfo; - fromPartial(object: { - protocolVersion?: { - p2p?: string | number | import("long").Long; - block?: string | number | import("long").Long; - app?: string | number | import("long").Long; - }; - nodeId?: string; - listenAddr?: string; - network?: string; - version?: string; - channels?: Uint8Array; - moniker?: string; - other?: { - txIndex?: string; - rpcAddress?: string; - }; - }): _138.NodeInfo; - }; - NodeInfoOther: { - encode(message: _138.NodeInfoOther, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _138.NodeInfoOther; - fromPartial(object: { - txIndex?: string; - rpcAddress?: string; - }): _138.NodeInfoOther; - }; - PeerInfo: { - encode(message: _138.PeerInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _138.PeerInfo; - fromPartial(object: { - id?: string; - addressInfo?: { - address?: string; - lastDialSuccess?: Date; - lastDialFailure?: Date; - dialFailures?: number; - }[]; - lastConnected?: Date; - }): _138.PeerInfo; - }; - PeerAddressInfo: { - encode(message: _138.PeerAddressInfo, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _138.PeerAddressInfo; - fromPartial(object: { - address?: string; - lastDialSuccess?: Date; - lastDialFailure?: Date; - dialFailures?: number; - }): _138.PeerAddressInfo; - }; - }; - const types: { - ValidatorSet: { - encode(message: _143.ValidatorSet, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _143.ValidatorSet; - fromPartial(object: { - validators?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: string | number | import("long").Long; - proposerPriority?: string | number | import("long").Long; - }[]; - proposer?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: string | number | import("long").Long; - proposerPriority?: string | number | import("long").Long; - }; - totalVotingPower?: string | number | import("long").Long; - }): _143.ValidatorSet; - }; - Validator: { - encode(message: _143.Validator, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _143.Validator; - fromPartial(object: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: string | number | import("long").Long; - proposerPriority?: string | number | import("long").Long; - }): _143.Validator; - }; - SimpleValidator: { - encode(message: _143.SimpleValidator, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _143.SimpleValidator; - fromPartial(object: { - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: string | number | import("long").Long; - }): _143.SimpleValidator; - }; - blockIDFlagFromJSON(object: any): _142.BlockIDFlag; - blockIDFlagToJSON(object: _142.BlockIDFlag): string; - signedMsgTypeFromJSON(object: any): _142.SignedMsgType; - signedMsgTypeToJSON(object: _142.SignedMsgType): string; - BlockIDFlag: typeof _142.BlockIDFlag; - BlockIDFlagSDKType: typeof _142.BlockIDFlag; - SignedMsgType: typeof _142.SignedMsgType; - SignedMsgTypeSDKType: typeof _142.SignedMsgType; - PartSetHeader: { - encode(message: _142.PartSetHeader, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _142.PartSetHeader; - fromPartial(object: { - total?: number; - hash?: Uint8Array; - }): _142.PartSetHeader; - }; - Part: { - encode(message: _142.Part, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _142.Part; - fromPartial(object: { - index?: number; - bytes?: Uint8Array; - proof?: { - total?: string | number | import("long").Long; - index?: string | number | import("long").Long; - leafHash?: Uint8Array; - aunts?: Uint8Array[]; - }; - }): _142.Part; - }; - BlockID: { - encode(message: _142.BlockID, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _142.BlockID; - fromPartial(object: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }): _142.BlockID; - }; - Header: { - encode(message: _142.Header, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _142.Header; - fromPartial(object: { - version?: { - block?: string | number | import("long").Long; - app?: string | number | import("long").Long; - }; - chainId?: string; - height?: string | number | import("long").Long; - time?: Date; - lastBlockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - lastCommitHash?: Uint8Array; - dataHash?: Uint8Array; - validatorsHash?: Uint8Array; - nextValidatorsHash?: Uint8Array; - consensusHash?: Uint8Array; - appHash?: Uint8Array; - lastResultsHash?: Uint8Array; - evidenceHash?: Uint8Array; - proposerAddress?: Uint8Array; - }): _142.Header; - }; - Data: { - encode(message: _142.Data, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _142.Data; - fromPartial(object: { - txs?: Uint8Array[]; - }): _142.Data; - }; - Vote: { - encode(message: _142.Vote, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _142.Vote; - fromPartial(object: { - type?: _142.SignedMsgType; - height?: string | number | import("long").Long; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - timestamp?: Date; - validatorAddress?: Uint8Array; - validatorIndex?: number; - signature?: Uint8Array; - }): _142.Vote; - }; - Commit: { - encode(message: _142.Commit, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _142.Commit; - fromPartial(object: { - height?: string | number | import("long").Long; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - signatures?: { - blockIdFlag?: _142.BlockIDFlag; - validatorAddress?: Uint8Array; - timestamp?: Date; - signature?: Uint8Array; - }[]; - }): _142.Commit; - }; - CommitSig: { - encode(message: _142.CommitSig, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _142.CommitSig; - fromPartial(object: { - blockIdFlag?: _142.BlockIDFlag; - validatorAddress?: Uint8Array; - timestamp?: Date; - signature?: Uint8Array; - }): _142.CommitSig; - }; - Proposal: { - encode(message: _142.Proposal, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _142.Proposal; - fromPartial(object: { - type?: _142.SignedMsgType; - height?: string | number | import("long").Long; - round?: number; - polRound?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - timestamp?: Date; - signature?: Uint8Array; - }): _142.Proposal; - }; - SignedHeader: { - encode(message: _142.SignedHeader, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _142.SignedHeader; - fromPartial(object: { - header?: { - version?: { - block?: string | number | import("long").Long; - app?: string | number | import("long").Long; - }; - chainId?: string; - height?: string | number | import("long").Long; - time?: Date; - lastBlockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - lastCommitHash?: Uint8Array; - dataHash?: Uint8Array; - validatorsHash?: Uint8Array; - nextValidatorsHash?: Uint8Array; - consensusHash?: Uint8Array; - appHash?: Uint8Array; - lastResultsHash?: Uint8Array; - evidenceHash?: Uint8Array; - proposerAddress?: Uint8Array; - }; - commit?: { - height?: string | number | import("long").Long; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - signatures?: { - blockIdFlag?: _142.BlockIDFlag; - validatorAddress?: Uint8Array; - timestamp?: Date; - signature?: Uint8Array; - }[]; - }; - }): _142.SignedHeader; - }; - LightBlock: { - encode(message: _142.LightBlock, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _142.LightBlock; - fromPartial(object: { - signedHeader?: { - header?: { - version?: { - block?: string | number | import("long").Long; - app?: string | number | import("long").Long; - }; - chainId?: string; - height?: string | number | import("long").Long; - time?: Date; - lastBlockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - lastCommitHash?: Uint8Array; - dataHash?: Uint8Array; - validatorsHash?: Uint8Array; - nextValidatorsHash?: Uint8Array; - consensusHash?: Uint8Array; - appHash?: Uint8Array; - lastResultsHash?: Uint8Array; - evidenceHash?: Uint8Array; - proposerAddress?: Uint8Array; - }; - commit?: { - height?: string | number | import("long").Long; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - signatures?: { - blockIdFlag?: _142.BlockIDFlag; - validatorAddress?: Uint8Array; - timestamp?: Date; - signature?: Uint8Array; - }[]; - }; - }; - validatorSet?: { - validators?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: string | number | import("long").Long; - proposerPriority?: string | number | import("long").Long; - }[]; - proposer?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: string | number | import("long").Long; - proposerPriority?: string | number | import("long").Long; - }; - totalVotingPower?: string | number | import("long").Long; - }; - }): _142.LightBlock; - }; - BlockMeta: { - encode(message: _142.BlockMeta, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _142.BlockMeta; - fromPartial(object: { - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - blockSize?: string | number | import("long").Long; - header?: { - version?: { - block?: string | number | import("long").Long; - app?: string | number | import("long").Long; - }; - chainId?: string; - height?: string | number | import("long").Long; - time?: Date; - lastBlockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - lastCommitHash?: Uint8Array; - dataHash?: Uint8Array; - validatorsHash?: Uint8Array; - nextValidatorsHash?: Uint8Array; - consensusHash?: Uint8Array; - appHash?: Uint8Array; - lastResultsHash?: Uint8Array; - evidenceHash?: Uint8Array; - proposerAddress?: Uint8Array; - }; - numTxs?: string | number | import("long").Long; - }): _142.BlockMeta; - }; - TxProof: { - encode(message: _142.TxProof, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _142.TxProof; - fromPartial(object: { - rootHash?: Uint8Array; - data?: Uint8Array; - proof?: { - total?: string | number | import("long").Long; - index?: string | number | import("long").Long; - leafHash?: Uint8Array; - aunts?: Uint8Array[]; - }; - }): _142.TxProof; - }; - ConsensusParams: { - encode(message: _141.ConsensusParams, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _141.ConsensusParams; - fromPartial(object: { - block?: { - maxBytes?: string | number | import("long").Long; - maxGas?: string | number | import("long").Long; - timeIotaMs?: string | number | import("long").Long; - }; - evidence?: { - maxAgeNumBlocks?: string | number | import("long").Long; - maxAgeDuration?: { - seconds?: string | number | import("long").Long; - nanos?: number; - }; - maxBytes?: string | number | import("long").Long; - }; - validator?: { - pubKeyTypes?: string[]; - }; - version?: { - appVersion?: string | number | import("long").Long; - }; - }): _141.ConsensusParams; - }; - BlockParams: { - encode(message: _141.BlockParams, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _141.BlockParams; - fromPartial(object: { - maxBytes?: string | number | import("long").Long; - maxGas?: string | number | import("long").Long; - timeIotaMs?: string | number | import("long").Long; - }): _141.BlockParams; - }; - EvidenceParams: { - encode(message: _141.EvidenceParams, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _141.EvidenceParams; - fromPartial(object: { - maxAgeNumBlocks?: string | number | import("long").Long; - maxAgeDuration?: { - seconds?: string | number | import("long").Long; - nanos?: number; - }; - maxBytes?: string | number | import("long").Long; - }): _141.EvidenceParams; - }; - ValidatorParams: { - encode(message: _141.ValidatorParams, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _141.ValidatorParams; - fromPartial(object: { - pubKeyTypes?: string[]; - }): _141.ValidatorParams; - }; - VersionParams: { - encode(message: _141.VersionParams, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _141.VersionParams; - fromPartial(object: { - appVersion?: string | number | import("long").Long; - }): _141.VersionParams; - }; - HashedParams: { - encode(message: _141.HashedParams, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _141.HashedParams; - fromPartial(object: { - blockMaxBytes?: string | number | import("long").Long; - blockMaxGas?: string | number | import("long").Long; - }): _141.HashedParams; - }; - Evidence: { - encode(message: _140.Evidence, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _140.Evidence; - fromPartial(object: { - duplicateVoteEvidence?: { - voteA?: { - type?: _142.SignedMsgType; - height?: string | number | import("long").Long; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - timestamp?: Date; - validatorAddress?: Uint8Array; - validatorIndex?: number; - signature?: Uint8Array; - }; - voteB?: { - type?: _142.SignedMsgType; - height?: string | number | import("long").Long; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - timestamp?: Date; - validatorAddress?: Uint8Array; - validatorIndex?: number; - signature?: Uint8Array; - }; - totalVotingPower?: string | number | import("long").Long; - validatorPower?: string | number | import("long").Long; - timestamp?: Date; - }; - lightClientAttackEvidence?: { - conflictingBlock?: { - signedHeader?: { - header?: { - version?: { - block?: string | number | import("long").Long; - app?: string | number | import("long").Long; - }; - chainId?: string; - height?: string | number | import("long").Long; - time?: Date; - lastBlockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - lastCommitHash?: Uint8Array; - dataHash?: Uint8Array; - validatorsHash?: Uint8Array; - nextValidatorsHash?: Uint8Array; - consensusHash?: Uint8Array; - appHash?: Uint8Array; - lastResultsHash?: Uint8Array; - evidenceHash?: Uint8Array; - proposerAddress?: Uint8Array; - }; - commit?: { - height?: string | number | import("long").Long; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - signatures?: { - blockIdFlag?: _142.BlockIDFlag; - validatorAddress?: Uint8Array; - timestamp?: Date; - signature?: Uint8Array; - }[]; - }; - }; - validatorSet?: { - validators?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: string | number | import("long").Long; - proposerPriority?: string | number | import("long").Long; - }[]; - proposer?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: string | number | import("long").Long; - proposerPriority?: string | number | import("long").Long; - }; - totalVotingPower?: string | number | import("long").Long; - }; - }; - commonHeight?: string | number | import("long").Long; - byzantineValidators?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: string | number | import("long").Long; - proposerPriority?: string | number | import("long").Long; - }[]; - totalVotingPower?: string | number | import("long").Long; - timestamp?: Date; - }; - }): _140.Evidence; - }; - DuplicateVoteEvidence: { - encode(message: _140.DuplicateVoteEvidence, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _140.DuplicateVoteEvidence; - fromPartial(object: { - voteA?: { - type?: _142.SignedMsgType; - height?: string | number | import("long").Long; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - timestamp?: Date; - validatorAddress?: Uint8Array; - validatorIndex?: number; - signature?: Uint8Array; - }; - voteB?: { - type?: _142.SignedMsgType; - height?: string | number | import("long").Long; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - timestamp?: Date; - validatorAddress?: Uint8Array; - validatorIndex?: number; - signature?: Uint8Array; - }; - totalVotingPower?: string | number | import("long").Long; - validatorPower?: string | number | import("long").Long; - timestamp?: Date; - }): _140.DuplicateVoteEvidence; - }; - LightClientAttackEvidence: { - encode(message: _140.LightClientAttackEvidence, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _140.LightClientAttackEvidence; - fromPartial(object: { - conflictingBlock?: { - signedHeader?: { - header?: { - version?: { - block?: string | number | import("long").Long; - app?: string | number | import("long").Long; - }; - chainId?: string; - height?: string | number | import("long").Long; - time?: Date; - lastBlockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - lastCommitHash?: Uint8Array; - dataHash?: Uint8Array; - validatorsHash?: Uint8Array; - nextValidatorsHash?: Uint8Array; - consensusHash?: Uint8Array; - appHash?: Uint8Array; - lastResultsHash?: Uint8Array; - evidenceHash?: Uint8Array; - proposerAddress?: Uint8Array; - }; - commit?: { - height?: string | number | import("long").Long; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - signatures?: { - blockIdFlag?: _142.BlockIDFlag; - validatorAddress?: Uint8Array; - timestamp?: Date; - signature?: Uint8Array; - }[]; - }; - }; - validatorSet?: { - validators?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: string | number | import("long").Long; - proposerPriority?: string | number | import("long").Long; - }[]; - proposer?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: string | number | import("long").Long; - proposerPriority?: string | number | import("long").Long; - }; - totalVotingPower?: string | number | import("long").Long; - }; - }; - commonHeight?: string | number | import("long").Long; - byzantineValidators?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: string | number | import("long").Long; - proposerPriority?: string | number | import("long").Long; - }[]; - totalVotingPower?: string | number | import("long").Long; - timestamp?: Date; - }): _140.LightClientAttackEvidence; - }; - EvidenceList: { - encode(message: _140.EvidenceList, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _140.EvidenceList; - fromPartial(object: { - evidence?: { - duplicateVoteEvidence?: { - voteA?: { - type?: _142.SignedMsgType; - height?: string | number | import("long").Long; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - timestamp?: Date; - validatorAddress?: Uint8Array; - validatorIndex?: number; - signature?: Uint8Array; - }; - voteB?: { - type?: _142.SignedMsgType; - height?: string | number | import("long").Long; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - timestamp?: Date; - validatorAddress?: Uint8Array; - validatorIndex?: number; - signature?: Uint8Array; - }; - totalVotingPower?: string | number | import("long").Long; - validatorPower?: string | number | import("long").Long; - timestamp?: Date; - }; - lightClientAttackEvidence?: { - conflictingBlock?: { - signedHeader?: { - header?: { - version?: { - block?: string | number | import("long").Long; - app?: string | number | import("long").Long; - }; - chainId?: string; - height?: string | number | import("long").Long; - time?: Date; - lastBlockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - lastCommitHash?: Uint8Array; - dataHash?: Uint8Array; - validatorsHash?: Uint8Array; - nextValidatorsHash?: Uint8Array; - consensusHash?: Uint8Array; - appHash?: Uint8Array; - lastResultsHash?: Uint8Array; - evidenceHash?: Uint8Array; - proposerAddress?: Uint8Array; - }; - commit?: { - height?: string | number | import("long").Long; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - signatures?: { - blockIdFlag?: _142.BlockIDFlag; - validatorAddress?: Uint8Array; - timestamp?: Date; - signature?: Uint8Array; - }[]; - }; - }; - validatorSet?: { - validators?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: string | number | import("long").Long; - proposerPriority?: string | number | import("long").Long; - }[]; - proposer?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: string | number | import("long").Long; - proposerPriority?: string | number | import("long").Long; - }; - totalVotingPower?: string | number | import("long").Long; - }; - }; - commonHeight?: string | number | import("long").Long; - byzantineValidators?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: string | number | import("long").Long; - proposerPriority?: string | number | import("long").Long; - }[]; - totalVotingPower?: string | number | import("long").Long; - timestamp?: Date; - }; - }[]; - }): _140.EvidenceList; - }; - Block: { - encode(message: _139.Block, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _139.Block; - fromPartial(object: { - header?: { - version?: { - block?: string | number | import("long").Long; - app?: string | number | import("long").Long; - }; - chainId?: string; - height?: string | number | import("long").Long; - time?: Date; - lastBlockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - lastCommitHash?: Uint8Array; - dataHash?: Uint8Array; - validatorsHash?: Uint8Array; - nextValidatorsHash?: Uint8Array; - consensusHash?: Uint8Array; - appHash?: Uint8Array; - lastResultsHash?: Uint8Array; - evidenceHash?: Uint8Array; - proposerAddress?: Uint8Array; - }; - data?: { - txs?: Uint8Array[]; - }; - evidence?: { - evidence?: { - duplicateVoteEvidence?: { - voteA?: { - type?: _142.SignedMsgType; - height?: string | number | import("long").Long; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - timestamp?: Date; - validatorAddress?: Uint8Array; - validatorIndex?: number; - signature?: Uint8Array; - }; - voteB?: { - type?: _142.SignedMsgType; - height?: string | number | import("long").Long; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - timestamp?: Date; - validatorAddress?: Uint8Array; - validatorIndex?: number; - signature?: Uint8Array; - }; - totalVotingPower?: string | number | import("long").Long; - validatorPower?: string | number | import("long").Long; - timestamp?: Date; - }; - lightClientAttackEvidence?: { - conflictingBlock?: { - signedHeader?: { - header?: { - version?: { - block?: string | number | import("long").Long; - app?: string | number | import("long").Long; - }; - chainId?: string; - height?: string | number | import("long").Long; - time?: Date; - lastBlockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - lastCommitHash?: Uint8Array; - dataHash?: Uint8Array; - validatorsHash?: Uint8Array; - nextValidatorsHash?: Uint8Array; - consensusHash?: Uint8Array; - appHash?: Uint8Array; - lastResultsHash?: Uint8Array; - evidenceHash?: Uint8Array; - proposerAddress?: Uint8Array; - }; - commit?: { - height?: string | number | import("long").Long; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - signatures?: { - blockIdFlag?: _142.BlockIDFlag; - validatorAddress?: Uint8Array; - timestamp?: Date; - signature?: Uint8Array; - }[]; - }; - }; - validatorSet?: { - validators?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: string | number | import("long").Long; - proposerPriority?: string | number | import("long").Long; - }[]; - proposer?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: string | number | import("long").Long; - proposerPriority?: string | number | import("long").Long; - }; - totalVotingPower?: string | number | import("long").Long; - }; - }; - commonHeight?: string | number | import("long").Long; - byzantineValidators?: { - address?: Uint8Array; - pubKey?: { - ed25519?: Uint8Array; - secp256k1?: Uint8Array; - }; - votingPower?: string | number | import("long").Long; - proposerPriority?: string | number | import("long").Long; - }[]; - totalVotingPower?: string | number | import("long").Long; - timestamp?: Date; - }; - }[]; - }; - lastCommit?: { - height?: string | number | import("long").Long; - round?: number; - blockId?: { - hash?: Uint8Array; - partSetHeader?: { - total?: number; - hash?: Uint8Array; - }; - }; - signatures?: { - blockIdFlag?: _142.BlockIDFlag; - validatorAddress?: Uint8Array; - timestamp?: Date; - signature?: Uint8Array; - }[]; - }; - }): _139.Block; - }; - }; - const version: { - App: { - encode(message: _144.App, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _144.App; - fromPartial(object: { - protocol?: string | number | import("long").Long; - software?: string; - }): _144.App; - }; - Consensus: { - encode(message: _144.Consensus, writer?: import("protobufjs").Writer): import("protobufjs").Writer; - decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _144.Consensus; - fromPartial(object: { - block?: string | number | import("long").Long; - app?: string | number | import("long").Long; - }): _144.Consensus; - }; - }; -} diff --git a/packages/codegen/dist/tendermint/crypto/keys.d.ts b/packages/codegen/dist/tendermint/crypto/keys.d.ts deleted file mode 100644 index 00a0cb4f..00000000 --- a/packages/codegen/dist/tendermint/crypto/keys.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../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; -} -export declare const PublicKey: { - encode(message: PublicKey, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): PublicKey; - fromPartial(object: DeepPartial): PublicKey; -}; diff --git a/packages/codegen/dist/tendermint/crypto/proof.d.ts b/packages/codegen/dist/tendermint/crypto/proof.d.ts deleted file mode 100644 index 44de5a80..00000000 --- a/packages/codegen/dist/tendermint/crypto/proof.d.ts +++ /dev/null @@ -1,88 +0,0 @@ -/// -import { Long, DeepPartial } from "../../helpers"; -import * as _m0 from "protobufjs/minimal"; -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; -} -export interface ValueOpSDKType { - key: Uint8Array; - proof?: ProofSDKType; -} -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[]; -} -export declare const Proof: { - encode(message: Proof, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Proof; - fromPartial(object: DeepPartial): Proof; -}; -export declare const ValueOp: { - encode(message: ValueOp, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ValueOp; - fromPartial(object: DeepPartial): ValueOp; -}; -export declare const DominoOp: { - encode(message: DominoOp, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DominoOp; - fromPartial(object: DeepPartial): DominoOp; -}; -export declare const ProofOp: { - encode(message: ProofOp, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ProofOp; - fromPartial(object: DeepPartial): ProofOp; -}; -export declare const ProofOps: { - encode(message: ProofOps, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ProofOps; - fromPartial(object: DeepPartial): ProofOps; -}; diff --git a/packages/codegen/dist/tendermint/libs/bits/types.d.ts b/packages/codegen/dist/tendermint/libs/bits/types.d.ts deleted file mode 100644 index 0c0b2c4c..00000000 --- a/packages/codegen/dist/tendermint/libs/bits/types.d.ts +++ /dev/null @@ -1,16 +0,0 @@ -/// -import { Long, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export interface BitArray { - bits: Long; - elems: Long[]; -} -export interface BitArraySDKType { - bits: Long; - elems: Long[]; -} -export declare const BitArray: { - encode(message: BitArray, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): BitArray; - fromPartial(object: DeepPartial): BitArray; -}; diff --git a/packages/codegen/dist/tendermint/p2p/types.d.ts b/packages/codegen/dist/tendermint/p2p/types.d.ts deleted file mode 100644 index 542f5dc6..00000000 --- a/packages/codegen/dist/tendermint/p2p/types.d.ts +++ /dev/null @@ -1,88 +0,0 @@ -/// -import { Long, DeepPartial } from "../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export interface ProtocolVersion { - p2p: Long; - block: Long; - app: Long; -} -export interface ProtocolVersionSDKType { - p2p: Long; - block: Long; - app: Long; -} -export interface NodeInfo { - protocolVersion?: ProtocolVersion; - nodeId: string; - listenAddr: string; - network: string; - version: string; - channels: Uint8Array; - moniker: string; - other?: NodeInfoOther; -} -export interface NodeInfoSDKType { - protocol_version?: ProtocolVersionSDKType; - node_id: string; - listen_addr: string; - network: string; - version: string; - channels: Uint8Array; - moniker: string; - other?: NodeInfoOtherSDKType; -} -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; -} -export interface PeerInfoSDKType { - id: string; - address_info: PeerAddressInfoSDKType[]; - last_connected?: Date; -} -export interface PeerAddressInfo { - address: string; - lastDialSuccess?: Date; - lastDialFailure?: Date; - dialFailures: number; -} -export interface PeerAddressInfoSDKType { - address: string; - last_dial_success?: Date; - last_dial_failure?: Date; - dial_failures: number; -} -export declare const ProtocolVersion: { - encode(message: ProtocolVersion, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ProtocolVersion; - fromPartial(object: DeepPartial): ProtocolVersion; -}; -export declare const NodeInfo: { - encode(message: NodeInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): NodeInfo; - fromPartial(object: DeepPartial): NodeInfo; -}; -export declare const NodeInfoOther: { - encode(message: NodeInfoOther, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): NodeInfoOther; - fromPartial(object: DeepPartial): NodeInfoOther; -}; -export declare const PeerInfo: { - encode(message: PeerInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): PeerInfo; - fromPartial(object: DeepPartial): PeerInfo; -}; -export declare const PeerAddressInfo: { - encode(message: PeerAddressInfo, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): PeerAddressInfo; - fromPartial(object: DeepPartial): PeerAddressInfo; -}; diff --git a/packages/codegen/dist/tendermint/types/block.d.ts b/packages/codegen/dist/tendermint/types/block.d.ts deleted file mode 100644 index 68402646..00000000 --- a/packages/codegen/dist/tendermint/types/block.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -import { Header, HeaderSDKType, Data, DataSDKType, Commit, CommitSDKType } from "./types"; -import { EvidenceList, EvidenceListSDKType } from "./evidence"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../helpers"; -export interface Block { - header?: Header; - data?: Data; - evidence?: EvidenceList; - lastCommit?: Commit; -} -export interface BlockSDKType { - header?: HeaderSDKType; - data?: DataSDKType; - evidence?: EvidenceListSDKType; - last_commit?: CommitSDKType; -} -export declare const Block: { - encode(message: Block, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Block; - fromPartial(object: DeepPartial): Block; -}; diff --git a/packages/codegen/dist/tendermint/types/evidence.d.ts b/packages/codegen/dist/tendermint/types/evidence.d.ts deleted file mode 100644 index 461bbc59..00000000 --- a/packages/codegen/dist/tendermint/types/evidence.d.ts +++ /dev/null @@ -1,71 +0,0 @@ -/// -import { Vote, VoteSDKType, LightBlock, LightBlockSDKType } from "./types"; -import { Validator, ValidatorSDKType } from "./validator"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, Long } from "../../helpers"; -export interface Evidence { - duplicateVoteEvidence?: DuplicateVoteEvidence; - lightClientAttackEvidence?: LightClientAttackEvidence; -} -export interface EvidenceSDKType { - duplicate_vote_evidence?: DuplicateVoteEvidenceSDKType; - light_client_attack_evidence?: LightClientAttackEvidenceSDKType; -} -/** DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. */ -export interface DuplicateVoteEvidence { - voteA?: Vote; - voteB?: Vote; - totalVotingPower: Long; - validatorPower: Long; - timestamp?: Date; -} -/** DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. */ -export interface DuplicateVoteEvidenceSDKType { - vote_a?: VoteSDKType; - vote_b?: VoteSDKType; - total_voting_power: Long; - validator_power: Long; - timestamp?: Date; -} -/** LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. */ -export interface LightClientAttackEvidence { - conflictingBlock?: LightBlock; - commonHeight: Long; - byzantineValidators: Validator[]; - totalVotingPower: Long; - timestamp?: Date; -} -/** LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. */ -export interface LightClientAttackEvidenceSDKType { - conflicting_block?: LightBlockSDKType; - common_height: Long; - byzantine_validators: ValidatorSDKType[]; - total_voting_power: Long; - timestamp?: Date; -} -export interface EvidenceList { - evidence: Evidence[]; -} -export interface EvidenceListSDKType { - evidence: EvidenceSDKType[]; -} -export declare const Evidence: { - encode(message: Evidence, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Evidence; - fromPartial(object: DeepPartial): Evidence; -}; -export declare const DuplicateVoteEvidence: { - encode(message: DuplicateVoteEvidence, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): DuplicateVoteEvidence; - fromPartial(object: DeepPartial): DuplicateVoteEvidence; -}; -export declare const LightClientAttackEvidence: { - encode(message: LightClientAttackEvidence, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): LightClientAttackEvidence; - fromPartial(object: DeepPartial): LightClientAttackEvidence; -}; -export declare const EvidenceList: { - encode(message: EvidenceList, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EvidenceList; - fromPartial(object: DeepPartial): EvidenceList; -}; diff --git a/packages/codegen/dist/tendermint/types/params.d.ts b/packages/codegen/dist/tendermint/types/params.d.ts deleted file mode 100644 index a6608d49..00000000 --- a/packages/codegen/dist/tendermint/types/params.d.ts +++ /dev/null @@ -1,150 +0,0 @@ -/// -import { Duration, DurationSDKType } from "../../google/protobuf/duration"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, Long } from "../../helpers"; -/** - * ConsensusParams contains consensus critical parameters that determine the - * validity of blocks. - */ -export interface ConsensusParams { - block?: BlockParams; - evidence?: EvidenceParams; - validator?: ValidatorParams; - version?: VersionParams; -} -/** - * ConsensusParams contains consensus critical parameters that determine the - * validity of blocks. - */ -export interface ConsensusParamsSDKType { - block?: BlockParamsSDKType; - evidence?: EvidenceParamsSDKType; - validator?: ValidatorParamsSDKType; - version?: VersionParamsSDKType; -} -/** BlockParams contains limits on the block size. */ -export interface BlockParams { - /** - * Max block size, in bytes. - * Note: must be greater than 0 - */ - maxBytes: Long; - /** - * Max gas per block. - * Note: must be greater or equal to -1 - */ - maxGas: Long; - /** - * 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_bytes: Long; - max_gas: Long; - 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; - /** - * 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_num_blocks: Long; - max_age_duration?: DurationSDKType; - max_bytes: Long; -} -/** - * ValidatorParams restrict the public key types validators can use. - * NOTE: uses ABCI pubkey naming, not Amino names. - */ -export interface ValidatorParams { - pubKeyTypes: string[]; -} -/** - * 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; -} -export declare const ConsensusParams: { - encode(message: ConsensusParams, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ConsensusParams; - fromPartial(object: DeepPartial): ConsensusParams; -}; -export declare const BlockParams: { - encode(message: BlockParams, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): BlockParams; - fromPartial(object: DeepPartial): BlockParams; -}; -export declare const EvidenceParams: { - encode(message: EvidenceParams, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): EvidenceParams; - fromPartial(object: DeepPartial): EvidenceParams; -}; -export declare const ValidatorParams: { - encode(message: ValidatorParams, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorParams; - fromPartial(object: DeepPartial): ValidatorParams; -}; -export declare const VersionParams: { - encode(message: VersionParams, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): VersionParams; - fromPartial(object: DeepPartial): VersionParams; -}; -export declare const HashedParams: { - encode(message: HashedParams, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): HashedParams; - fromPartial(object: DeepPartial): HashedParams; -}; diff --git a/packages/codegen/dist/tendermint/types/types.d.ts b/packages/codegen/dist/tendermint/types/types.d.ts deleted file mode 100644 index e55d4cd4..00000000 --- a/packages/codegen/dist/tendermint/types/types.d.ts +++ /dev/null @@ -1,296 +0,0 @@ -/// -import { Proof, ProofSDKType } from "../crypto/proof"; -import { Consensus, ConsensusSDKType } from "../version/types"; -import { ValidatorSet, ValidatorSetSDKType } from "./validator"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, Long } from "../../helpers"; -/** BlockIdFlag indicates which BlcokID the signature is for */ -export declare enum BlockIDFlag { - BLOCK_ID_FLAG_UNKNOWN = 0, - BLOCK_ID_FLAG_ABSENT = 1, - BLOCK_ID_FLAG_COMMIT = 2, - BLOCK_ID_FLAG_NIL = 3, - UNRECOGNIZED = -1 -} -export declare const BlockIDFlagSDKType: typeof BlockIDFlag; -export declare function blockIDFlagFromJSON(object: any): BlockIDFlag; -export declare function blockIDFlagToJSON(object: BlockIDFlag): string; -/** SignedMsgType is a type of signed message in the consensus. */ -export declare enum SignedMsgType { - SIGNED_MSG_TYPE_UNKNOWN = 0, - /** SIGNED_MSG_TYPE_PREVOTE - Votes */ - SIGNED_MSG_TYPE_PREVOTE = 1, - SIGNED_MSG_TYPE_PRECOMMIT = 2, - /** SIGNED_MSG_TYPE_PROPOSAL - Proposals */ - SIGNED_MSG_TYPE_PROPOSAL = 32, - UNRECOGNIZED = -1 -} -export declare const SignedMsgTypeSDKType: typeof SignedMsgType; -export declare function signedMsgTypeFromJSON(object: any): SignedMsgType; -export declare function signedMsgTypeToJSON(object: SignedMsgType): string; -/** 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; -} -export interface PartSDKType { - index: number; - bytes: Uint8Array; - proof?: ProofSDKType; -} -/** BlockID */ -export interface BlockID { - hash: Uint8Array; - partSetHeader?: PartSetHeader; -} -/** BlockID */ -export interface BlockIDSDKType { - hash: Uint8Array; - part_set_header?: PartSetHeaderSDKType; -} -/** Header defines the structure of a Tendermint block header. */ -export interface Header { - /** basic block info */ - version?: Consensus; - chainId: string; - height: Long; - time?: Date; - /** prev block info */ - lastBlockId?: BlockID; - /** hashes of block data */ - lastCommitHash: Uint8Array; - dataHash: Uint8Array; - /** hashes from the app output from the prev block */ - validatorsHash: Uint8Array; - /** validators for the next block */ - nextValidatorsHash: Uint8Array; - /** consensus params for current block */ - consensusHash: Uint8Array; - /** state after txs from the previous block */ - appHash: Uint8Array; - lastResultsHash: Uint8Array; - /** consensus info */ - evidenceHash: Uint8Array; - /** original proposer of the block */ - proposerAddress: Uint8Array; -} -/** Header defines the structure of a Tendermint block header. */ -export interface HeaderSDKType { - version?: ConsensusSDKType; - chain_id: string; - height: Long; - time?: Date; - last_block_id?: BlockIDSDKType; - last_commit_hash: Uint8Array; - data_hash: Uint8Array; - validators_hash: Uint8Array; - next_validators_hash: Uint8Array; - consensus_hash: Uint8Array; - app_hash: Uint8Array; - last_results_hash: Uint8Array; - evidence_hash: Uint8Array; - proposer_address: Uint8Array; -} -/** Data contains the set of transactions included in the block */ -export interface Data { - /** - * Txs that will be applied by state @ block.Height+1. - * NOTE: not all txs here are valid. We're just agreeing on the order first. - * This means that block.AppHash does not include these txs. - */ - txs: Uint8Array[]; -} -/** Data contains the set of transactions included in the block */ -export interface DataSDKType { - txs: Uint8Array[]; -} -/** - * Vote represents a prevote, precommit, or commit vote from validators for - * consensus. - */ -export interface Vote { - type: SignedMsgType; - height: Long; - round: number; - /** zero if vote is nil. */ - blockId?: BlockID; - timestamp?: Date; - validatorAddress: Uint8Array; - validatorIndex: number; - signature: Uint8Array; -} -/** - * Vote represents a prevote, precommit, or commit vote from validators for - * consensus. - */ -export interface VoteSDKType { - type: SignedMsgType; - height: Long; - round: number; - block_id?: BlockIDSDKType; - timestamp?: Date; - validator_address: Uint8Array; - validator_index: number; - signature: Uint8Array; -} -/** Commit contains the evidence that a block was committed by a set of validators. */ -export interface Commit { - height: Long; - round: number; - blockId?: BlockID; - signatures: CommitSig[]; -} -/** Commit contains the evidence that a block was committed by a set of validators. */ -export interface CommitSDKType { - height: Long; - round: number; - block_id?: BlockIDSDKType; - signatures: CommitSigSDKType[]; -} -/** CommitSig is a part of the Vote included in a Commit. */ -export interface CommitSig { - blockIdFlag: BlockIDFlag; - validatorAddress: Uint8Array; - timestamp?: Date; - signature: Uint8Array; -} -/** CommitSig is a part of the Vote included in a Commit. */ -export interface CommitSigSDKType { - block_id_flag: BlockIDFlag; - validator_address: Uint8Array; - timestamp?: Date; - signature: Uint8Array; -} -export interface Proposal { - type: SignedMsgType; - height: Long; - round: number; - polRound: number; - blockId?: BlockID; - timestamp?: Date; - signature: Uint8Array; -} -export interface ProposalSDKType { - type: SignedMsgType; - height: Long; - round: number; - pol_round: number; - block_id?: BlockIDSDKType; - timestamp?: Date; - signature: Uint8Array; -} -export interface SignedHeader { - header?: Header; - commit?: Commit; -} -export interface SignedHeaderSDKType { - header?: HeaderSDKType; - commit?: CommitSDKType; -} -export interface LightBlock { - signedHeader?: SignedHeader; - validatorSet?: ValidatorSet; -} -export interface LightBlockSDKType { - signed_header?: SignedHeaderSDKType; - validator_set?: ValidatorSetSDKType; -} -export interface BlockMeta { - blockId?: BlockID; - blockSize: Long; - header?: Header; - numTxs: Long; -} -export interface BlockMetaSDKType { - block_id?: BlockIDSDKType; - block_size: Long; - header?: HeaderSDKType; - num_txs: Long; -} -/** TxProof represents a Merkle proof of the presence of a transaction in the Merkle tree. */ -export interface TxProof { - rootHash: Uint8Array; - data: Uint8Array; - proof?: Proof; -} -/** TxProof represents a Merkle proof of the presence of a transaction in the Merkle tree. */ -export interface TxProofSDKType { - root_hash: Uint8Array; - data: Uint8Array; - proof?: ProofSDKType; -} -export declare const PartSetHeader: { - encode(message: PartSetHeader, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): PartSetHeader; - fromPartial(object: DeepPartial): PartSetHeader; -}; -export declare const Part: { - encode(message: Part, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Part; - fromPartial(object: DeepPartial): Part; -}; -export declare const BlockID: { - encode(message: BlockID, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): BlockID; - fromPartial(object: DeepPartial): BlockID; -}; -export declare const Header: { - encode(message: Header, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Header; - fromPartial(object: DeepPartial
): Header; -}; -export declare const Data: { - encode(message: Data, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Data; - fromPartial(object: DeepPartial): Data; -}; -export declare const Vote: { - encode(message: Vote, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Vote; - fromPartial(object: DeepPartial): Vote; -}; -export declare const Commit: { - encode(message: Commit, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Commit; - fromPartial(object: DeepPartial): Commit; -}; -export declare const CommitSig: { - encode(message: CommitSig, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): CommitSig; - fromPartial(object: DeepPartial): CommitSig; -}; -export declare const Proposal: { - encode(message: Proposal, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Proposal; - fromPartial(object: DeepPartial): Proposal; -}; -export declare const SignedHeader: { - encode(message: SignedHeader, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SignedHeader; - fromPartial(object: DeepPartial): SignedHeader; -}; -export declare const LightBlock: { - encode(message: LightBlock, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): LightBlock; - fromPartial(object: DeepPartial): LightBlock; -}; -export declare const BlockMeta: { - encode(message: BlockMeta, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): BlockMeta; - fromPartial(object: DeepPartial): BlockMeta; -}; -export declare const TxProof: { - encode(message: TxProof, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): TxProof; - fromPartial(object: DeepPartial): TxProof; -}; diff --git a/packages/codegen/dist/tendermint/types/validator.d.ts b/packages/codegen/dist/tendermint/types/validator.d.ts deleted file mode 100644 index 5a0f01e5..00000000 --- a/packages/codegen/dist/tendermint/types/validator.d.ts +++ /dev/null @@ -1,49 +0,0 @@ -/// -import { PublicKey, PublicKeySDKType } from "../crypto/keys"; -import { Long, DeepPartial } from "../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export interface ValidatorSet { - validators: Validator[]; - proposer?: Validator; - totalVotingPower: Long; -} -export interface ValidatorSetSDKType { - validators: ValidatorSDKType[]; - proposer?: ValidatorSDKType; - total_voting_power: Long; -} -export interface Validator { - address: Uint8Array; - pubKey?: PublicKey; - votingPower: Long; - proposerPriority: Long; -} -export interface ValidatorSDKType { - address: Uint8Array; - pub_key?: PublicKeySDKType; - voting_power: Long; - proposer_priority: Long; -} -export interface SimpleValidator { - pubKey?: PublicKey; - votingPower: Long; -} -export interface SimpleValidatorSDKType { - pub_key?: PublicKeySDKType; - voting_power: Long; -} -export declare const ValidatorSet: { - encode(message: ValidatorSet, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSet; - fromPartial(object: DeepPartial): ValidatorSet; -}; -export declare const Validator: { - encode(message: Validator, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Validator; - fromPartial(object: DeepPartial): Validator; -}; -export declare const SimpleValidator: { - encode(message: SimpleValidator, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): SimpleValidator; - fromPartial(object: DeepPartial): SimpleValidator; -}; diff --git a/packages/codegen/dist/tendermint/version/types.d.ts b/packages/codegen/dist/tendermint/version/types.d.ts deleted file mode 100644 index c1896705..00000000 --- a/packages/codegen/dist/tendermint/version/types.d.ts +++ /dev/null @@ -1,49 +0,0 @@ -/// -import { Long, DeepPartial } from "../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * App includes the protocol and software version for the application. - * This information is included in ResponseInfo. The App.Protocol can be - * updated in ResponseEndBlock. - */ -export interface App { - protocol: Long; - software: string; -} -/** - * 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; -} -export declare const App: { - encode(message: App, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): App; - fromPartial(object: DeepPartial): App; -}; -export declare const Consensus: { - encode(message: Consensus, writer?: _m0.Writer): _m0.Writer; - decode(input: _m0.Reader | Uint8Array, length?: number): Consensus; - fromPartial(object: DeepPartial): Consensus; -}; diff --git a/packages/codegen/package.json b/packages/codegen/package.json deleted file mode 100644 index b93d43d1..00000000 --- a/packages/codegen/package.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "name": "@ping-pub/codegen", - "version": "1.0.0", - "description": "Libs genereted from protobuf by Telescope.", - "main": "dist/index.js", - "module": "src/index.ts", - "types": "dist/index.d.ts", - "repository": "https://github.com/ping-pub/explorer.git", - "author": "Ping Liang", - "license": "MIT", - "private": false, - "devDependencies": { - "@osmonauts/telescope": "^0.88.2", - "@protobufs/cosmos": "^0.1.0", - "@protobufs/cosmos_proto": "^0.0.10", - "@protobufs/cosmwasm": "^0.1.1", - "@protobufs/google": "^0.0.10", - "@protobufs/ibc": "^0.1.0" - }, - "scripts": { - "build": "tsc --module es2022 --project ./tsconfig.json ", - "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore" - } -} \ No newline at end of file diff --git a/packages/codegen/proto/amino/LICENSE b/packages/codegen/proto/amino/LICENSE deleted file mode 100644 index 063e03fc..00000000 --- a/packages/codegen/proto/amino/LICENSE +++ /dev/null @@ -1,204 +0,0 @@ -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/packages/codegen/proto/amino/README.md b/packages/codegen/proto/amino/README.md deleted file mode 100644 index b0d34bbf..00000000 --- a/packages/codegen/proto/amino/README.md +++ /dev/null @@ -1 +0,0 @@ -# amino \ No newline at end of file diff --git a/packages/codegen/proto/amino/amino.proto b/packages/codegen/proto/amino/amino.proto deleted file mode 100644 index d01f1752..00000000 --- a/packages/codegen/proto/amino/amino.proto +++ /dev/null @@ -1,79 +0,0 @@ -syntax = "proto3"; - -package amino; - -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/tx/amino"; - -extend google.protobuf.MessageOptions { - // name is the string used when registering a concrete - // type into the Amino type registry, via the Amino codec's - // `RegisterConcrete()` method. This string MUST be at most 39 - // characters long, or else the message will be rejected by the - // Ledger hardware device. - string name = 11110001; - - // encoding describes the encoding format used by Amino for the given - // message. The field type is chosen to be a string for - // flexibility, but it should ideally be short and expected to be - // machine-readable, for example "base64" or "utf8_json". We - // highly recommend to use underscores for word separation instead of spaces. - // - // If left empty, then the Amino encoding is expected to be the same as the - // Protobuf one. - // - // This annotation should not be confused with the `encoding` - // one which operates on the field level. - string message_encoding = 11110002; -} - -extend google.protobuf.FieldOptions { - // encoding describes the encoding format used by Amino for - // the given field. The field type is chosen to be a string for - // flexibility, but it should ideally be short and expected to be - // machine-readable, for example "base64" or "utf8_json". We - // highly recommend to use underscores for word separation instead of spaces. - // - // If left empty, then the Amino encoding is expected to be the same as the - // Protobuf one. - // - // This annotation should not be confused with the - // `message_encoding` one which operates on the message level. - string encoding = 11110003; - - // field_name sets a different field name (i.e. key name) in - // the amino JSON object for the given field. - // - // Example: - // - // message Foo { - // string bar = 1 [(amino.field_name) = "baz"]; - // } - // - // Then the Amino encoding of Foo will be: - // `{"baz":"some value"}` - string field_name = 11110004; - - // dont_omitempty sets the field in the JSON object even if - // its value is empty, i.e. equal to the Golang zero value. To learn what - // the zero values are, see https://go.dev/ref/spec#The_zero_value. - // - // Fields default to `omitempty`, which is the default behavior when this - // annotation is unset. When set to true, then the field value in the - // JSON object will be set, i.e. not `undefined`. - // - // Example: - // - // message Foo { - // string bar = 1; - // string baz = 2 [(amino.dont_omitempty) = true]; - // } - // - // f := Foo{}; - // out := AminoJSONEncoder(&f); - // out == {"baz":""} - bool dont_omitempty = 11110005; -} \ No newline at end of file diff --git a/packages/codegen/proto/confio/LICENSE b/packages/codegen/proto/confio/LICENSE deleted file mode 100644 index deaad1f5..00000000 --- a/packages/codegen/proto/confio/LICENSE +++ /dev/null @@ -1,204 +0,0 @@ -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/packages/codegen/proto/confio/README.md b/packages/codegen/proto/confio/README.md deleted file mode 100644 index af52fb63..00000000 --- a/packages/codegen/proto/confio/README.md +++ /dev/null @@ -1 +0,0 @@ -# confio \ No newline at end of file diff --git a/packages/codegen/proto/confio/proofs.proto b/packages/codegen/proto/confio/proofs.proto deleted file mode 100644 index da43503e..00000000 --- a/packages/codegen/proto/confio/proofs.proto +++ /dev/null @@ -1,234 +0,0 @@ -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/packages/codegen/proto/cosmos/LICENSE b/packages/codegen/proto/cosmos/LICENSE deleted file mode 100644 index 063e03fc..00000000 --- a/packages/codegen/proto/cosmos/LICENSE +++ /dev/null @@ -1,204 +0,0 @@ -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/packages/codegen/proto/cosmos/README.md b/packages/codegen/proto/cosmos/README.md deleted file mode 100644 index 98a49c6b..00000000 --- a/packages/codegen/proto/cosmos/README.md +++ /dev/null @@ -1 +0,0 @@ -# cosmos \ No newline at end of file diff --git a/packages/codegen/proto/cosmos/app/v1alpha1/config.proto b/packages/codegen/proto/cosmos/app/v1alpha1/config.proto deleted file mode 100644 index ed775006..00000000 --- a/packages/codegen/proto/cosmos/app/v1alpha1/config.proto +++ /dev/null @@ -1,36 +0,0 @@ -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/packages/codegen/proto/cosmos/app/v1alpha1/module.proto b/packages/codegen/proto/cosmos/app/v1alpha1/module.proto deleted file mode 100644 index 599078d7..00000000 --- a/packages/codegen/proto/cosmos/app/v1alpha1/module.proto +++ /dev/null @@ -1,93 +0,0 @@ -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/packages/codegen/proto/cosmos/app/v1alpha1/query.proto b/packages/codegen/proto/cosmos/app/v1alpha1/query.proto deleted file mode 100644 index efec9c81..00000000 --- a/packages/codegen/proto/cosmos/app/v1alpha1/query.proto +++ /dev/null @@ -1,22 +0,0 @@ -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/packages/codegen/proto/cosmos/auth/v1beta1/auth.proto b/packages/codegen/proto/cosmos/auth/v1beta1/auth.proto deleted file mode 100644 index 486d507f..00000000 --- a/packages/codegen/proto/cosmos/auth/v1beta1/auth.proto +++ /dev/null @@ -1,47 +0,0 @@ -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) = "cosmos.auth.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) = "cosmos.auth.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/packages/codegen/proto/cosmos/auth/v1beta1/genesis.proto b/packages/codegen/proto/cosmos/auth/v1beta1/genesis.proto deleted file mode 100644 index c88b94ee..00000000 --- a/packages/codegen/proto/cosmos/auth/v1beta1/genesis.proto +++ /dev/null @@ -1,17 +0,0 @@ -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/packages/codegen/proto/cosmos/auth/v1beta1/query.proto b/packages/codegen/proto/cosmos/auth/v1beta1/query.proto deleted file mode 100644 index 8de4d09d..00000000 --- a/packages/codegen/proto/cosmos/auth/v1beta1/query.proto +++ /dev/null @@ -1,130 +0,0 @@ -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) = "cosmos.auth.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) = "cosmos.auth.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) = "cosmos.auth.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/packages/codegen/proto/cosmos/authz/v1beta1/authz.proto b/packages/codegen/proto/cosmos/authz/v1beta1/authz.proto deleted file mode 100644 index 2dce1ce0..00000000 --- a/packages/codegen/proto/cosmos/authz/v1beta1/authz.proto +++ /dev/null @@ -1,46 +0,0 @@ -// 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) = "cosmos.authz.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) = "cosmos.authz.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) = "cosmos.authz.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/packages/codegen/proto/cosmos/authz/v1beta1/event.proto b/packages/codegen/proto/cosmos/authz/v1beta1/event.proto deleted file mode 100644 index 0476649a..00000000 --- a/packages/codegen/proto/cosmos/authz/v1beta1/event.proto +++ /dev/null @@ -1,27 +0,0 @@ -// 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/packages/codegen/proto/cosmos/authz/v1beta1/genesis.proto b/packages/codegen/proto/cosmos/authz/v1beta1/genesis.proto deleted file mode 100644 index 310f6265..00000000 --- a/packages/codegen/proto/cosmos/authz/v1beta1/genesis.proto +++ /dev/null @@ -1,13 +0,0 @@ -// 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/packages/codegen/proto/cosmos/authz/v1beta1/query.proto b/packages/codegen/proto/cosmos/authz/v1beta1/query.proto deleted file mode 100644 index 62154ac1..00000000 --- a/packages/codegen/proto/cosmos/authz/v1beta1/query.proto +++ /dev/null @@ -1,82 +0,0 @@ -// 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/packages/codegen/proto/cosmos/authz/v1beta1/tx.proto b/packages/codegen/proto/cosmos/authz/v1beta1/tx.proto deleted file mode 100644 index 9c8ae160..00000000 --- a/packages/codegen/proto/cosmos/authz/v1beta1/tx.proto +++ /dev/null @@ -1,75 +0,0 @@ -// 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, cosmos.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/packages/codegen/proto/cosmos/bank/v1beta1/authz.proto b/packages/codegen/proto/cosmos/bank/v1beta1/authz.proto deleted file mode 100644 index e3e600b4..00000000 --- a/packages/codegen/proto/cosmos/bank/v1beta1/authz.proto +++ /dev/null @@ -1,19 +0,0 @@ -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) = "cosmos.authz.Authorization"; - - repeated cosmos.base.v1beta1.Coin spend_limit = 1 - [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"]; -} diff --git a/packages/codegen/proto/cosmos/bank/v1beta1/bank.proto b/packages/codegen/proto/cosmos/bank/v1beta1/bank.proto deleted file mode 100644 index f70c24ab..00000000 --- a/packages/codegen/proto/cosmos/bank/v1beta1/bank.proto +++ /dev/null @@ -1,108 +0,0 @@ -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) = "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/packages/codegen/proto/cosmos/bank/v1beta1/genesis.proto b/packages/codegen/proto/cosmos/bank/v1beta1/genesis.proto deleted file mode 100644 index aa35790b..00000000 --- a/packages/codegen/proto/cosmos/bank/v1beta1/genesis.proto +++ /dev/null @@ -1,40 +0,0 @@ -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/packages/codegen/proto/cosmos/bank/v1beta1/query.proto b/packages/codegen/proto/cosmos/bank/v1beta1/query.proto deleted file mode 100644 index cbe7f38a..00000000 --- a/packages/codegen/proto/cosmos/bank/v1beta1/query.proto +++ /dev/null @@ -1,231 +0,0 @@ -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/packages/codegen/proto/cosmos/bank/v1beta1/tx.proto b/packages/codegen/proto/cosmos/bank/v1beta1/tx.proto deleted file mode 100644 index 22e62cbf..00000000 --- a/packages/codegen/proto/cosmos/bank/v1beta1/tx.proto +++ /dev/null @@ -1,48 +0,0 @@ -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/packages/codegen/proto/cosmos/base/abci/v1beta1/abci.proto b/packages/codegen/proto/cosmos/base/abci/v1beta1/abci.proto deleted file mode 100644 index 09a2fcc4..00000000 --- a/packages/codegen/proto/cosmos/base/abci/v1beta1/abci.proto +++ /dev/null @@ -1,158 +0,0 @@ -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/packages/codegen/proto/cosmos/base/kv/v1beta1/kv.proto b/packages/codegen/proto/cosmos/base/kv/v1beta1/kv.proto deleted file mode 100644 index 4e9b8d28..00000000 --- a/packages/codegen/proto/cosmos/base/kv/v1beta1/kv.proto +++ /dev/null @@ -1,17 +0,0 @@ -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/packages/codegen/proto/cosmos/base/query/v1beta1/pagination.proto b/packages/codegen/proto/cosmos/base/query/v1beta1/pagination.proto deleted file mode 100644 index 0a368144..00000000 --- a/packages/codegen/proto/cosmos/base/query/v1beta1/pagination.proto +++ /dev/null @@ -1,56 +0,0 @@ -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/packages/codegen/proto/cosmos/base/reflection/v1beta1/reflection.proto b/packages/codegen/proto/cosmos/base/reflection/v1beta1/reflection.proto deleted file mode 100644 index 22670e72..00000000 --- a/packages/codegen/proto/cosmos/base/reflection/v1beta1/reflection.proto +++ /dev/null @@ -1,44 +0,0 @@ -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/packages/codegen/proto/cosmos/base/reflection/v2alpha1/reflection.proto b/packages/codegen/proto/cosmos/base/reflection/v2alpha1/reflection.proto deleted file mode 100644 index d5b04855..00000000 --- a/packages/codegen/proto/cosmos/base/reflection/v2alpha1/reflection.proto +++ /dev/null @@ -1,218 +0,0 @@ -// 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/packages/codegen/proto/cosmos/base/snapshots/v1beta1/snapshot.proto b/packages/codegen/proto/cosmos/base/snapshots/v1beta1/snapshot.proto deleted file mode 100644 index a89e0b4c..00000000 --- a/packages/codegen/proto/cosmos/base/snapshots/v1beta1/snapshot.proto +++ /dev/null @@ -1,70 +0,0 @@ -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/packages/codegen/proto/cosmos/base/store/v1beta1/commit_info.proto b/packages/codegen/proto/cosmos/base/store/v1beta1/commit_info.proto deleted file mode 100644 index 98a33d30..00000000 --- a/packages/codegen/proto/cosmos/base/store/v1beta1/commit_info.proto +++ /dev/null @@ -1,29 +0,0 @@ -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/packages/codegen/proto/cosmos/base/store/v1beta1/listening.proto b/packages/codegen/proto/cosmos/base/store/v1beta1/listening.proto deleted file mode 100644 index 35999710..00000000 --- a/packages/codegen/proto/cosmos/base/store/v1beta1/listening.proto +++ /dev/null @@ -1,16 +0,0 @@ -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/packages/codegen/proto/cosmos/base/tendermint/v1beta1/query.proto b/packages/codegen/proto/cosmos/base/tendermint/v1beta1/query.proto deleted file mode 100644 index 96a46e53..00000000 --- a/packages/codegen/proto/cosmos/base/tendermint/v1beta1/query.proto +++ /dev/null @@ -1,138 +0,0 @@ -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/packages/codegen/proto/cosmos/base/v1beta1/coin.proto b/packages/codegen/proto/cosmos/base/v1beta1/coin.proto deleted file mode 100644 index 69e67e09..00000000 --- a/packages/codegen/proto/cosmos/base/v1beta1/coin.proto +++ /dev/null @@ -1,43 +0,0 @@ -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/packages/codegen/proto/cosmos/capability/v1beta1/capability.proto b/packages/codegen/proto/cosmos/capability/v1beta1/capability.proto deleted file mode 100644 index c433566d..00000000 --- a/packages/codegen/proto/cosmos/capability/v1beta1/capability.proto +++ /dev/null @@ -1,30 +0,0 @@ -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/packages/codegen/proto/cosmos/capability/v1beta1/genesis.proto b/packages/codegen/proto/cosmos/capability/v1beta1/genesis.proto deleted file mode 100644 index b5482439..00000000 --- a/packages/codegen/proto/cosmos/capability/v1beta1/genesis.proto +++ /dev/null @@ -1,26 +0,0 @@ -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/packages/codegen/proto/cosmos/crisis/v1beta1/genesis.proto b/packages/codegen/proto/cosmos/crisis/v1beta1/genesis.proto deleted file mode 100644 index 5c291604..00000000 --- a/packages/codegen/proto/cosmos/crisis/v1beta1/genesis.proto +++ /dev/null @@ -1,14 +0,0 @@ -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/packages/codegen/proto/cosmos/crisis/v1beta1/tx.proto b/packages/codegen/proto/cosmos/crisis/v1beta1/tx.proto deleted file mode 100644 index fea9059f..00000000 --- a/packages/codegen/proto/cosmos/crisis/v1beta1/tx.proto +++ /dev/null @@ -1,29 +0,0 @@ -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/packages/codegen/proto/cosmos/crypto/ed25519/keys.proto b/packages/codegen/proto/cosmos/crypto/ed25519/keys.proto deleted file mode 100644 index 6ffec344..00000000 --- a/packages/codegen/proto/cosmos/crypto/ed25519/keys.proto +++ /dev/null @@ -1,23 +0,0 @@ -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/packages/codegen/proto/cosmos/crypto/hd/v1/hd.proto b/packages/codegen/proto/cosmos/crypto/hd/v1/hd.proto deleted file mode 100644 index e4a95afc..00000000 --- a/packages/codegen/proto/cosmos/crypto/hd/v1/hd.proto +++ /dev/null @@ -1,23 +0,0 @@ -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/packages/codegen/proto/cosmos/crypto/keyring/v1/record.proto b/packages/codegen/proto/cosmos/crypto/keyring/v1/record.proto deleted file mode 100644 index 9b2d3c96..00000000 --- a/packages/codegen/proto/cosmos/crypto/keyring/v1/record.proto +++ /dev/null @@ -1,47 +0,0 @@ -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/packages/codegen/proto/cosmos/crypto/multisig/keys.proto b/packages/codegen/proto/cosmos/crypto/multisig/keys.proto deleted file mode 100644 index 7a11fe33..00000000 --- a/packages/codegen/proto/cosmos/crypto/multisig/keys.proto +++ /dev/null @@ -1,17 +0,0 @@ -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/packages/codegen/proto/cosmos/crypto/multisig/v1beta1/multisig.proto b/packages/codegen/proto/cosmos/crypto/multisig/v1beta1/multisig.proto deleted file mode 100644 index bf671f17..00000000 --- a/packages/codegen/proto/cosmos/crypto/multisig/v1beta1/multisig.proto +++ /dev/null @@ -1,25 +0,0 @@ -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/packages/codegen/proto/cosmos/crypto/secp256k1/keys.proto b/packages/codegen/proto/cosmos/crypto/secp256k1/keys.proto deleted file mode 100644 index a2272571..00000000 --- a/packages/codegen/proto/cosmos/crypto/secp256k1/keys.proto +++ /dev/null @@ -1,22 +0,0 @@ -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/packages/codegen/proto/cosmos/crypto/secp256r1/keys.proto b/packages/codegen/proto/cosmos/crypto/secp256r1/keys.proto deleted file mode 100644 index 2e96c6e3..00000000 --- a/packages/codegen/proto/cosmos/crypto/secp256r1/keys.proto +++ /dev/null @@ -1,23 +0,0 @@ -// 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/packages/codegen/proto/cosmos/distribution/v1beta1/distribution.proto b/packages/codegen/proto/cosmos/distribution/v1beta1/distribution.proto deleted file mode 100644 index 1afe25ae..00000000 --- a/packages/codegen/proto/cosmos/distribution/v1beta1/distribution.proto +++ /dev/null @@ -1,154 +0,0 @@ -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/packages/codegen/proto/cosmos/distribution/v1beta1/genesis.proto b/packages/codegen/proto/cosmos/distribution/v1beta1/genesis.proto deleted file mode 100644 index 4662e8df..00000000 --- a/packages/codegen/proto/cosmos/distribution/v1beta1/genesis.proto +++ /dev/null @@ -1,144 +0,0 @@ -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/packages/codegen/proto/cosmos/distribution/v1beta1/query.proto b/packages/codegen/proto/cosmos/distribution/v1beta1/query.proto deleted file mode 100644 index a09413fc..00000000 --- a/packages/codegen/proto/cosmos/distribution/v1beta1/query.proto +++ /dev/null @@ -1,219 +0,0 @@ -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/packages/codegen/proto/cosmos/distribution/v1beta1/tx.proto b/packages/codegen/proto/cosmos/distribution/v1beta1/tx.proto deleted file mode 100644 index 7f22dce9..00000000 --- a/packages/codegen/proto/cosmos/distribution/v1beta1/tx.proto +++ /dev/null @@ -1,95 +0,0 @@ -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/packages/codegen/proto/cosmos/evidence/v1beta1/evidence.proto b/packages/codegen/proto/cosmos/evidence/v1beta1/evidence.proto deleted file mode 100644 index 83f9ec3d..00000000 --- a/packages/codegen/proto/cosmos/evidence/v1beta1/evidence.proto +++ /dev/null @@ -1,22 +0,0 @@ -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/packages/codegen/proto/cosmos/evidence/v1beta1/genesis.proto b/packages/codegen/proto/cosmos/evidence/v1beta1/genesis.proto deleted file mode 100644 index 199f446f..00000000 --- a/packages/codegen/proto/cosmos/evidence/v1beta1/genesis.proto +++ /dev/null @@ -1,12 +0,0 @@ -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/packages/codegen/proto/cosmos/evidence/v1beta1/query.proto b/packages/codegen/proto/cosmos/evidence/v1beta1/query.proto deleted file mode 100644 index eda00544..00000000 --- a/packages/codegen/proto/cosmos/evidence/v1beta1/query.proto +++ /dev/null @@ -1,51 +0,0 @@ -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/packages/codegen/proto/cosmos/evidence/v1beta1/tx.proto b/packages/codegen/proto/cosmos/evidence/v1beta1/tx.proto deleted file mode 100644 index 90f62964..00000000 --- a/packages/codegen/proto/cosmos/evidence/v1beta1/tx.proto +++ /dev/null @@ -1,35 +0,0 @@ -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) = "cosmos.evidence.Evidence"]; -} - -// MsgSubmitEvidenceResponse defines the Msg/SubmitEvidence response type. -message MsgSubmitEvidenceResponse { - // hash defines the hash of the evidence. - bytes hash = 4; -} diff --git a/packages/codegen/proto/cosmos/feegrant/v1beta1/feegrant.proto b/packages/codegen/proto/cosmos/feegrant/v1beta1/feegrant.proto deleted file mode 100644 index 25fec10b..00000000 --- a/packages/codegen/proto/cosmos/feegrant/v1beta1/feegrant.proto +++ /dev/null @@ -1,78 +0,0 @@ -// 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) = "cosmos.feegrant.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) = "cosmos.feegrant.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) = "cosmos.feegrant.FeeAllowanceI"; - - // allowance can be any of basic and periodic fee allowance. - google.protobuf.Any allowance = 1 [(cosmos_proto.accepts_interface) = "cosmos.feegrant.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) = "cosmos.feegrant.FeeAllowanceI"]; -} diff --git a/packages/codegen/proto/cosmos/feegrant/v1beta1/genesis.proto b/packages/codegen/proto/cosmos/feegrant/v1beta1/genesis.proto deleted file mode 100644 index 5b1ac4ca..00000000 --- a/packages/codegen/proto/cosmos/feegrant/v1beta1/genesis.proto +++ /dev/null @@ -1,13 +0,0 @@ -// 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/packages/codegen/proto/cosmos/feegrant/v1beta1/query.proto b/packages/codegen/proto/cosmos/feegrant/v1beta1/query.proto deleted file mode 100644 index 59c992c9..00000000 --- a/packages/codegen/proto/cosmos/feegrant/v1beta1/query.proto +++ /dev/null @@ -1,79 +0,0 @@ -// 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/packages/codegen/proto/cosmos/feegrant/v1beta1/tx.proto b/packages/codegen/proto/cosmos/feegrant/v1beta1/tx.proto deleted file mode 100644 index 5cef0557..00000000 --- a/packages/codegen/proto/cosmos/feegrant/v1beta1/tx.proto +++ /dev/null @@ -1,53 +0,0 @@ -// 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) = "cosmos.feegrant.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/packages/codegen/proto/cosmos/genutil/v1beta1/genesis.proto b/packages/codegen/proto/cosmos/genutil/v1beta1/genesis.proto deleted file mode 100644 index 958d15fe..00000000 --- a/packages/codegen/proto/cosmos/genutil/v1beta1/genesis.proto +++ /dev/null @@ -1,12 +0,0 @@ -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/packages/codegen/proto/cosmos/gov/v1/genesis.proto b/packages/codegen/proto/cosmos/gov/v1/genesis.proto deleted file mode 100644 index cb44a7f3..00000000 --- a/packages/codegen/proto/cosmos/gov/v1/genesis.proto +++ /dev/null @@ -1,26 +0,0 @@ -// 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/packages/codegen/proto/cosmos/gov/v1/gov.proto b/packages/codegen/proto/cosmos/gov/v1/gov.proto deleted file mode 100644 index fb014d65..00000000 --- a/packages/codegen/proto/cosmos/gov/v1/gov.proto +++ /dev/null @@ -1,132 +0,0 @@ -// 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/packages/codegen/proto/cosmos/gov/v1/query.proto b/packages/codegen/proto/cosmos/gov/v1/query.proto deleted file mode 100644 index ea46472a..00000000 --- a/packages/codegen/proto/cosmos/gov/v1/query.proto +++ /dev/null @@ -1,183 +0,0 @@ - -// 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/packages/codegen/proto/cosmos/gov/v1/tx.proto b/packages/codegen/proto/cosmos/gov/v1/tx.proto deleted file mode 100644 index 7aee9991..00000000 --- a/packages/codegen/proto/cosmos/gov/v1/tx.proto +++ /dev/null @@ -1,100 +0,0 @@ -// 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) = "cosmos.gov.v1beta1.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/packages/codegen/proto/cosmos/gov/v1beta1/genesis.proto b/packages/codegen/proto/cosmos/gov/v1beta1/genesis.proto deleted file mode 100644 index be9b07e4..00000000 --- a/packages/codegen/proto/cosmos/gov/v1beta1/genesis.proto +++ /dev/null @@ -1,26 +0,0 @@ -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/packages/codegen/proto/cosmos/gov/v1beta1/gov.proto b/packages/codegen/proto/cosmos/gov/v1beta1/gov.proto deleted file mode 100644 index c23dd925..00000000 --- a/packages/codegen/proto/cosmos/gov/v1beta1/gov.proto +++ /dev/null @@ -1,201 +0,0 @@ -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) = "cosmos.gov.v1beta1.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) = "cosmos.gov.v1beta1.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/packages/codegen/proto/cosmos/gov/v1beta1/query.proto b/packages/codegen/proto/cosmos/gov/v1beta1/query.proto deleted file mode 100644 index e8837fd2..00000000 --- a/packages/codegen/proto/cosmos/gov/v1beta1/query.proto +++ /dev/null @@ -1,191 +0,0 @@ -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/packages/codegen/proto/cosmos/gov/v1beta1/tx.proto b/packages/codegen/proto/cosmos/gov/v1beta1/tx.proto deleted file mode 100644 index 6b2f1689..00000000 --- a/packages/codegen/proto/cosmos/gov/v1beta1/tx.proto +++ /dev/null @@ -1,106 +0,0 @@ -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) = "cosmos.gov.v1beta1.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/packages/codegen/proto/cosmos/group/v1/events.proto b/packages/codegen/proto/cosmos/group/v1/events.proto deleted file mode 100644 index e8907243..00000000 --- a/packages/codegen/proto/cosmos/group/v1/events.proto +++ /dev/null @@ -1,77 +0,0 @@ -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/packages/codegen/proto/cosmos/group/v1/genesis.proto b/packages/codegen/proto/cosmos/group/v1/genesis.proto deleted file mode 100644 index 49655ad2..00000000 --- a/packages/codegen/proto/cosmos/group/v1/genesis.proto +++ /dev/null @@ -1,38 +0,0 @@ -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/packages/codegen/proto/cosmos/group/v1/query.proto b/packages/codegen/proto/cosmos/group/v1/query.proto deleted file mode 100644 index 1690d5b7..00000000 --- a/packages/codegen/proto/cosmos/group/v1/query.proto +++ /dev/null @@ -1,308 +0,0 @@ -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/packages/codegen/proto/cosmos/group/v1/tx.proto b/packages/codegen/proto/cosmos/group/v1/tx.proto deleted file mode 100644 index 9fb0caa1..00000000 --- a/packages/codegen/proto/cosmos/group/v1/tx.proto +++ /dev/null @@ -1,364 +0,0 @@ -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) = "cosmos.group.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) = "cosmos.group.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) = "cosmos.group.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/packages/codegen/proto/cosmos/group/v1/types.proto b/packages/codegen/proto/cosmos/group/v1/types.proto deleted file mode 100644 index 604fe0ae..00000000 --- a/packages/codegen/proto/cosmos/group/v1/types.proto +++ /dev/null @@ -1,308 +0,0 @@ -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) = "cosmos.group.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) = "cosmos.group.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) = "cosmos.group.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/packages/codegen/proto/cosmos/mint/v1beta1/genesis.proto b/packages/codegen/proto/cosmos/mint/v1beta1/genesis.proto deleted file mode 100644 index 4e783fb5..00000000 --- a/packages/codegen/proto/cosmos/mint/v1beta1/genesis.proto +++ /dev/null @@ -1,16 +0,0 @@ -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/packages/codegen/proto/cosmos/mint/v1beta1/mint.proto b/packages/codegen/proto/cosmos/mint/v1beta1/mint.proto deleted file mode 100644 index 9cfe2b76..00000000 --- a/packages/codegen/proto/cosmos/mint/v1beta1/mint.proto +++ /dev/null @@ -1,57 +0,0 @@ -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/packages/codegen/proto/cosmos/mint/v1beta1/query.proto b/packages/codegen/proto/cosmos/mint/v1beta1/query.proto deleted file mode 100644 index acd341d7..00000000 --- a/packages/codegen/proto/cosmos/mint/v1beta1/query.proto +++ /dev/null @@ -1,57 +0,0 @@ -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/packages/codegen/proto/cosmos/msg/v1/msg.proto b/packages/codegen/proto/cosmos/msg/v1/msg.proto deleted file mode 100644 index 89bdf312..00000000 --- a/packages/codegen/proto/cosmos/msg/v1/msg.proto +++ /dev/null @@ -1,22 +0,0 @@ -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/packages/codegen/proto/cosmos/nft/v1beta1/event.proto b/packages/codegen/proto/cosmos/nft/v1beta1/event.proto deleted file mode 100644 index 96964f08..00000000 --- a/packages/codegen/proto/cosmos/nft/v1beta1/event.proto +++ /dev/null @@ -1,26 +0,0 @@ -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/packages/codegen/proto/cosmos/nft/v1beta1/genesis.proto b/packages/codegen/proto/cosmos/nft/v1beta1/genesis.proto deleted file mode 100644 index 6f36ed34..00000000 --- a/packages/codegen/proto/cosmos/nft/v1beta1/genesis.proto +++ /dev/null @@ -1,22 +0,0 @@ -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/packages/codegen/proto/cosmos/nft/v1beta1/nft.proto b/packages/codegen/proto/cosmos/nft/v1beta1/nft.proto deleted file mode 100644 index b1241260..00000000 --- a/packages/codegen/proto/cosmos/nft/v1beta1/nft.proto +++ /dev/null @@ -1,48 +0,0 @@ -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/packages/codegen/proto/cosmos/nft/v1beta1/query.proto b/packages/codegen/proto/cosmos/nft/v1beta1/query.proto deleted file mode 100644 index c1d8070f..00000000 --- a/packages/codegen/proto/cosmos/nft/v1beta1/query.proto +++ /dev/null @@ -1,125 +0,0 @@ -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/packages/codegen/proto/cosmos/nft/v1beta1/tx.proto b/packages/codegen/proto/cosmos/nft/v1beta1/tx.proto deleted file mode 100644 index 95b402ce..00000000 --- a/packages/codegen/proto/cosmos/nft/v1beta1/tx.proto +++ /dev/null @@ -1,30 +0,0 @@ -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/packages/codegen/proto/cosmos/orm/v1/orm.proto b/packages/codegen/proto/cosmos/orm/v1/orm.proto deleted file mode 100644 index abfbbd4f..00000000 --- a/packages/codegen/proto/cosmos/orm/v1/orm.proto +++ /dev/null @@ -1,104 +0,0 @@ -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/packages/codegen/proto/cosmos/orm/v1alpha1/schema.proto b/packages/codegen/proto/cosmos/orm/v1alpha1/schema.proto deleted file mode 100644 index ab713340..00000000 --- a/packages/codegen/proto/cosmos/orm/v1alpha1/schema.proto +++ /dev/null @@ -1,76 +0,0 @@ -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/packages/codegen/proto/cosmos/params/v1beta1/params.proto b/packages/codegen/proto/cosmos/params/v1beta1/params.proto deleted file mode 100644 index e5aabfec..00000000 --- a/packages/codegen/proto/cosmos/params/v1beta1/params.proto +++ /dev/null @@ -1,29 +0,0 @@ -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/packages/codegen/proto/cosmos/params/v1beta1/query.proto b/packages/codegen/proto/cosmos/params/v1beta1/query.proto deleted file mode 100644 index 3b1c9a76..00000000 --- a/packages/codegen/proto/cosmos/params/v1beta1/query.proto +++ /dev/null @@ -1,54 +0,0 @@ -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/packages/codegen/proto/cosmos/slashing/v1beta1/genesis.proto b/packages/codegen/proto/cosmos/slashing/v1beta1/genesis.proto deleted file mode 100644 index 312d56aa..00000000 --- a/packages/codegen/proto/cosmos/slashing/v1beta1/genesis.proto +++ /dev/null @@ -1,47 +0,0 @@ -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/packages/codegen/proto/cosmos/slashing/v1beta1/query.proto b/packages/codegen/proto/cosmos/slashing/v1beta1/query.proto deleted file mode 100644 index f742c1f8..00000000 --- a/packages/codegen/proto/cosmos/slashing/v1beta1/query.proto +++ /dev/null @@ -1,64 +0,0 @@ -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/packages/codegen/proto/cosmos/slashing/v1beta1/slashing.proto b/packages/codegen/proto/cosmos/slashing/v1beta1/slashing.proto deleted file mode 100644 index 0aa9f61f..00000000 --- a/packages/codegen/proto/cosmos/slashing/v1beta1/slashing.proto +++ /dev/null @@ -1,45 +0,0 @@ -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/packages/codegen/proto/cosmos/slashing/v1beta1/tx.proto b/packages/codegen/proto/cosmos/slashing/v1beta1/tx.proto deleted file mode 100644 index 7c90304b..00000000 --- a/packages/codegen/proto/cosmos/slashing/v1beta1/tx.proto +++ /dev/null @@ -1,30 +0,0 @@ -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/packages/codegen/proto/cosmos/staking/v1beta1/authz.proto b/packages/codegen/proto/cosmos/staking/v1beta1/authz.proto deleted file mode 100644 index 981da1db..00000000 --- a/packages/codegen/proto/cosmos/staking/v1beta1/authz.proto +++ /dev/null @@ -1,47 +0,0 @@ -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) = "cosmos.authz.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/packages/codegen/proto/cosmos/staking/v1beta1/genesis.proto b/packages/codegen/proto/cosmos/staking/v1beta1/genesis.proto deleted file mode 100644 index bf3c298e..00000000 --- a/packages/codegen/proto/cosmos/staking/v1beta1/genesis.proto +++ /dev/null @@ -1,49 +0,0 @@ -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/packages/codegen/proto/cosmos/staking/v1beta1/query.proto b/packages/codegen/proto/cosmos/staking/v1beta1/query.proto deleted file mode 100644 index 02469232..00000000 --- a/packages/codegen/proto/cosmos/staking/v1beta1/query.proto +++ /dev/null @@ -1,349 +0,0 @@ -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/packages/codegen/proto/cosmos/staking/v1beta1/staking.proto b/packages/codegen/proto/cosmos/staking/v1beta1/staking.proto deleted file mode 100644 index dcf2645f..00000000 --- a/packages/codegen/proto/cosmos/staking/v1beta1/staking.proto +++ /dev/null @@ -1,358 +0,0 @@ -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/packages/codegen/proto/cosmos/staking/v1beta1/tx.proto b/packages/codegen/proto/cosmos/staking/v1beta1/tx.proto deleted file mode 100644 index 6c8d40a7..00000000 --- a/packages/codegen/proto/cosmos/staking/v1beta1/tx.proto +++ /dev/null @@ -1,138 +0,0 @@ -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/packages/codegen/proto/cosmos/tx/signing/v1beta1/signing.proto b/packages/codegen/proto/cosmos/tx/signing/v1beta1/signing.proto deleted file mode 100644 index 5a22616f..00000000 --- a/packages/codegen/proto/cosmos/tx/signing/v1beta1/signing.proto +++ /dev/null @@ -1,94 +0,0 @@ -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/packages/codegen/proto/cosmos/tx/v1beta1/service.proto b/packages/codegen/proto/cosmos/tx/v1beta1/service.proto deleted file mode 100644 index e7af1526..00000000 --- a/packages/codegen/proto/cosmos/tx/v1beta1/service.proto +++ /dev/null @@ -1,163 +0,0 @@ -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/packages/codegen/proto/cosmos/tx/v1beta1/tx.proto b/packages/codegen/proto/cosmos/tx/v1beta1/tx.proto deleted file mode 100644 index ac7b690f..00000000 --- a/packages/codegen/proto/cosmos/tx/v1beta1/tx.proto +++ /dev/null @@ -1,249 +0,0 @@ -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/packages/codegen/proto/cosmos/upgrade/v1beta1/query.proto b/packages/codegen/proto/cosmos/upgrade/v1beta1/query.proto deleted file mode 100644 index e8c4baa0..00000000 --- a/packages/codegen/proto/cosmos/upgrade/v1beta1/query.proto +++ /dev/null @@ -1,120 +0,0 @@ -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/packages/codegen/proto/cosmos/upgrade/v1beta1/tx.proto b/packages/codegen/proto/cosmos/upgrade/v1beta1/tx.proto deleted file mode 100644 index 9b04bf44..00000000 --- a/packages/codegen/proto/cosmos/upgrade/v1beta1/tx.proto +++ /dev/null @@ -1,55 +0,0 @@ -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/packages/codegen/proto/cosmos/upgrade/v1beta1/upgrade.proto b/packages/codegen/proto/cosmos/upgrade/v1beta1/upgrade.proto deleted file mode 100644 index dc15e27c..00000000 --- a/packages/codegen/proto/cosmos/upgrade/v1beta1/upgrade.proto +++ /dev/null @@ -1,86 +0,0 @@ -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/packages/codegen/proto/cosmos/vesting/v1beta1/tx.proto b/packages/codegen/proto/cosmos/vesting/v1beta1/tx.proto deleted file mode 100644 index 211bad09..00000000 --- a/packages/codegen/proto/cosmos/vesting/v1beta1/tx.proto +++ /dev/null @@ -1,74 +0,0 @@ -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/packages/codegen/proto/cosmos/vesting/v1beta1/vesting.proto b/packages/codegen/proto/cosmos/vesting/v1beta1/vesting.proto deleted file mode 100644 index 824cc30d..00000000 --- a/packages/codegen/proto/cosmos/vesting/v1beta1/vesting.proto +++ /dev/null @@ -1,76 +0,0 @@ -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/packages/codegen/proto/cosmos_proto/LICENSE b/packages/codegen/proto/cosmos_proto/LICENSE deleted file mode 100644 index 6b3e3508..00000000 --- a/packages/codegen/proto/cosmos_proto/LICENSE +++ /dev/null @@ -1,204 +0,0 @@ -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/packages/codegen/proto/cosmos_proto/README.md b/packages/codegen/proto/cosmos_proto/README.md deleted file mode 100644 index 9599cc65..00000000 --- a/packages/codegen/proto/cosmos_proto/README.md +++ /dev/null @@ -1 +0,0 @@ -# cosmos_proto \ No newline at end of file diff --git a/packages/codegen/proto/cosmos_proto/cosmos.proto b/packages/codegen/proto/cosmos_proto/cosmos.proto deleted file mode 100644 index 5c63b86f..00000000 --- a/packages/codegen/proto/cosmos_proto/cosmos.proto +++ /dev/null @@ -1,97 +0,0 @@ -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/packages/codegen/proto/cosmwasm/LICENSE b/packages/codegen/proto/cosmwasm/LICENSE deleted file mode 100644 index 5a23302b..00000000 --- a/packages/codegen/proto/cosmwasm/LICENSE +++ /dev/null @@ -1,204 +0,0 @@ -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/packages/codegen/proto/cosmwasm/README.md b/packages/codegen/proto/cosmwasm/README.md deleted file mode 100644 index 63192e81..00000000 --- a/packages/codegen/proto/cosmwasm/README.md +++ /dev/null @@ -1 +0,0 @@ -# cosmwasm \ No newline at end of file diff --git a/packages/codegen/proto/cosmwasm/wasm/v1/authz.proto b/packages/codegen/proto/cosmwasm/wasm/v1/authz.proto deleted file mode 100644 index 6d6260c2..00000000 --- a/packages/codegen/proto/cosmwasm/wasm/v1/authz.proto +++ /dev/null @@ -1,109 +0,0 @@ -syntax = "proto3"; -package cosmwasm.wasm.v1; - -import "gogoproto/gogo.proto"; -import "cosmos_proto/cosmos.proto"; -import "cosmos/base/v1beta1/coin.proto"; -import "google/protobuf/any.proto"; - -option go_package = "github.com/CosmWasm/wasmd/x/wasm/types"; -option (gogoproto.goproto_getters_all) = false; - -// ContractExecutionAuthorization defines authorization for wasm execute. -// Since: wasmd 0.30 -message ContractExecutionAuthorization { - option (cosmos_proto.implements_interface) = "cosmos.authz.Authorization"; - - // Grants for contract executions - repeated ContractGrant grants = 1 [ (gogoproto.nullable) = false ]; -} - -// ContractMigrationAuthorization defines authorization for wasm contract -// migration. Since: wasmd 0.30 -message ContractMigrationAuthorization { - option (cosmos_proto.implements_interface) = "cosmos.authz.Authorization"; - - // Grants for contract migrations - repeated ContractGrant grants = 1 [ (gogoproto.nullable) = false ]; -} - -// ContractGrant a granted permission for a single contract -// Since: wasmd 0.30 -message ContractGrant { - // Contract is the bech32 address of the smart contract - string contract = 1; - - // Limit defines execution limits that are enforced and updated when the grant - // is applied. When the limit lapsed the grant is removed. - google.protobuf.Any limit = 2 - [ (cosmos_proto.accepts_interface) = "ContractAuthzLimitX" ]; - - // Filter define more fine-grained control on the message payload passed - // to the contract in the operation. When no filter applies on execution, the - // operation is prohibited. - google.protobuf.Any filter = 3 - [ (cosmos_proto.accepts_interface) = "ContractAuthzFilterX" ]; -} - -// MaxCallsLimit limited number of calls to the contract. No funds transferable. -// Since: wasmd 0.30 -message MaxCallsLimit { - option (cosmos_proto.implements_interface) = "ContractAuthzLimitX"; - - // Remaining number that is decremented on each execution - uint64 remaining = 1; -} - -// MaxFundsLimit defines the maximal amounts that can be sent to the contract. -// Since: wasmd 0.30 -message MaxFundsLimit { - option (cosmos_proto.implements_interface) = "ContractAuthzLimitX"; - - // Amounts is the maximal amount of tokens transferable to the contract. - repeated cosmos.base.v1beta1.Coin amounts = 1 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; -} - -// CombinedLimit defines the maximal amounts that can be sent to a contract and -// the maximal number of calls executable. Both need to remain >0 to be valid. -// Since: wasmd 0.30 -message CombinedLimit { - option (cosmos_proto.implements_interface) = "ContractAuthzLimitX"; - - // Remaining number that is decremented on each execution - uint64 calls_remaining = 1; - // Amounts is the maximal amount of tokens transferable to the contract. - repeated cosmos.base.v1beta1.Coin amounts = 2 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; -} - -// AllowAllMessagesFilter is a wildcard to allow any type of contract payload -// message. -// Since: wasmd 0.30 -message AllowAllMessagesFilter { - option (cosmos_proto.implements_interface) = "ContractAuthzFilterX"; -} - -// AcceptedMessageKeysFilter accept only the specific contract message keys in -// the json object to be executed. -// Since: wasmd 0.30 -message AcceptedMessageKeysFilter { - option (cosmos_proto.implements_interface) = "ContractAuthzFilterX"; - - // Messages is the list of unique keys - repeated string keys = 1; -} - -// AcceptedMessagesFilter accept only the specific raw contract messages to be -// executed. -// Since: wasmd 0.30 -message AcceptedMessagesFilter { - option (cosmos_proto.implements_interface) = "ContractAuthzFilterX"; - - // Messages is the list of raw contract messages - repeated bytes messages = 1 [ (gogoproto.casttype) = "RawContractMessage" ]; -} diff --git a/packages/codegen/proto/cosmwasm/wasm/v1/genesis.proto b/packages/codegen/proto/cosmwasm/wasm/v1/genesis.proto deleted file mode 100644 index 4e728ff4..00000000 --- a/packages/codegen/proto/cosmwasm/wasm/v1/genesis.proto +++ /dev/null @@ -1,46 +0,0 @@ -syntax = "proto3"; -package cosmwasm.wasm.v1; - -import "gogoproto/gogo.proto"; -import "cosmwasm/wasm/v1/types.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" - ]; -} - -// 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 ]; - repeated ContractCodeHistoryEntry contract_code_history = 4 - [ (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/packages/codegen/proto/cosmwasm/wasm/v1/ibc.proto b/packages/codegen/proto/cosmwasm/wasm/v1/ibc.proto deleted file mode 100644 index d880a707..00000000 --- a/packages/codegen/proto/cosmwasm/wasm/v1/ibc.proto +++ /dev/null @@ -1,31 +0,0 @@ -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/packages/codegen/proto/cosmwasm/wasm/v1/proposal.proto b/packages/codegen/proto/cosmwasm/wasm/v1/proposal.proto deleted file mode 100644 index 013b4daf..00000000 --- a/packages/codegen/proto/cosmwasm/wasm/v1/proposal.proto +++ /dev/null @@ -1,272 +0,0 @@ -syntax = "proto3"; -package cosmwasm.wasm.v1; - -import "gogoproto/gogo.proto"; -import "cosmos_proto/cosmos.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 { - option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; - - // 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; - // UnpinCode code on upload, optional - bool unpin_code = 8; - // Source is the URL where the code is hosted - string source = 9; - // Builder is the docker image used to build the code deterministically, used - // for smart contract verification - string builder = 10; - // CodeHash is the SHA256 sum of the code outputted by builder, used for smart - // contract verification - bytes code_hash = 11; -} - -// InstantiateContractProposal gov proposal content type to instantiate a -// contract. -message InstantiateContractProposal { - option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; - - // 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" - ]; -} - -// InstantiateContract2Proposal gov proposal content type to instantiate -// contract 2 -message InstantiateContract2Proposal { - option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; - - // 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 enviroment 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 encode 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" - ]; - // Salt is an arbitrary value provided by the sender. Size can be 1 to 64. - bytes salt = 9; - // FixMsg include the msg value into the hash for the predictable address. - // Default is false - bool fix_msg = 10; -} - -// MigrateContractProposal gov proposal content type to migrate a contract. -message MigrateContractProposal { - option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; - - // 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 code - 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 { - option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; - - // 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 { - option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; - - // 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 { - option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; - - // 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 { - option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; - - // 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 { - option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; - - // 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 { - option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; - - // 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\"" - ]; -} - -// AccessConfigUpdate contains the code id and the access config to be -// applied. -message AccessConfigUpdate { - // CodeID is the reference to the stored WASM code to be updated - uint64 code_id = 1 [ (gogoproto.customname) = "CodeID" ]; - // InstantiatePermission to apply to the set of code ids - AccessConfig instantiate_permission = 2 [ (gogoproto.nullable) = false ]; -} - -// UpdateInstantiateConfigProposal gov proposal content type to update -// instantiate config to a set of code ids. -message UpdateInstantiateConfigProposal { - option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; - - // 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\"" ]; - // AccessConfigUpdate contains the list of code ids and the access config - // to be applied. - repeated AccessConfigUpdate access_config_updates = 3 - [ (gogoproto.nullable) = false ]; -} - -// StoreAndInstantiateContractProposal gov proposal content type to store -// and instantiate the contract. -message StoreAndInstantiateContractProposal { - option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content"; - - // 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" ]; - // InstantiatePermission to apply on contract creation, optional - AccessConfig instantiate_permission = 5; - // UnpinCode code on upload, optional - bool unpin_code = 6; - // Admin is an optional address that can execute migrations - string admin = 7; - // Label is optional metadata to be stored with a constract instance. - string label = 8; - // Msg json encoded message to be passed to the contract on instantiation - bytes msg = 9 [ (gogoproto.casttype) = "RawContractMessage" ]; - // Funds coins that are transferred to the contract on instantiation - repeated cosmos.base.v1beta1.Coin funds = 10 [ - (gogoproto.nullable) = false, - (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins" - ]; - // Source is the URL where the code is hosted - string source = 11; - // Builder is the docker image used to build the code deterministically, used - // for smart contract verification - string builder = 12; - // CodeHash is the SHA256 sum of the code outputted by builder, used for smart - // contract verification - bytes code_hash = 13; -} diff --git a/packages/codegen/proto/cosmwasm/wasm/v1/query.proto b/packages/codegen/proto/cosmwasm/wasm/v1/query.proto deleted file mode 100644 index ffe48d24..00000000 --- a/packages/codegen/proto/cosmwasm/wasm/v1/query.proto +++ /dev/null @@ -1,263 +0,0 @@ -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 = - "/cosmwasm/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 = - "/cosmwasm/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"; - } - - // Params gets the module params - rpc Params(QueryParamsRequest) returns (QueryParamsResponse) { - option (google.api.http).get = "/cosmwasm/wasm/v1/codes/params"; - } - - // ContractsByCreator gets the contracts by creator - rpc ContractsByCreator(QueryContractsByCreatorRequest) - returns (QueryContractsByCreatorResponse) { - option (google.api.http).get = - "/cosmwasm/wasm/v1/contracts/creator/{creator_address}"; - } -} - -// 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; - AccessConfig instantiate_permission = 6 [ (gogoproto.nullable) = false ]; -} - -// 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; -} - -// 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 ]; -} - -// QueryContractsByCreatorRequest is the request type for the -// Query/ContractsByCreator RPC method. -message QueryContractsByCreatorRequest { - // CreatorAddress is the address of contract creator - string creator_address = 1; - // Pagination defines an optional pagination for the request. - cosmos.base.query.v1beta1.PageRequest pagination = 2; -} - -// QueryContractsByCreatorResponse is the response type for the -// Query/ContractsByCreator RPC method. -message QueryContractsByCreatorResponse { - // ContractAddresses result set - repeated string contract_addresses = 1; - // Pagination defines the pagination in the response. - cosmos.base.query.v1beta1.PageResponse pagination = 2; -} \ No newline at end of file diff --git a/packages/codegen/proto/cosmwasm/wasm/v1/tx.proto b/packages/codegen/proto/cosmwasm/wasm/v1/tx.proto deleted file mode 100644 index 04acc8ef..00000000 --- a/packages/codegen/proto/cosmwasm/wasm/v1/tx.proto +++ /dev/null @@ -1,176 +0,0 @@ -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); - // InstantiateContract creates a new smart contract instance for the given - // code id. - rpc InstantiateContract(MsgInstantiateContract) - returns (MsgInstantiateContractResponse); - // InstantiateContract2 creates a new smart contract instance for the given - // code id with a predictable address - rpc InstantiateContract2(MsgInstantiateContract2) - returns (MsgInstantiateContract2Response); - // 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" ]; - // Checksum is the sha256 hash of the stored code - bytes checksum = 2; -} - -// 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" - ]; -} - -// MsgInstantiateContract2 create a new smart contract instance for the given -// code id with a predicable address. -message MsgInstantiateContract2 { - // 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" - ]; - // Salt is an arbitrary value provided by the sender. Size can be 1 to 64. - bytes salt = 7; - // FixMsg include the msg value into the hash for the predictable address. - // Default is false - bool fix_msg = 8; -} - -// MsgInstantiateContractResponse return instantiation result data -message MsgInstantiateContractResponse { - // Address is the bech32 address of the new contract instance. - string address = 1; - // Data contains bytes to returned from the contract - bytes data = 2; -} - -// MsgInstantiateContract2Response return instantiation result data -message MsgInstantiateContract2Response { - // Address is the bech32 address of the new contract instance. - string address = 1; - // Data contains 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 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/packages/codegen/proto/cosmwasm/wasm/v1/types.proto b/packages/codegen/proto/cosmwasm/wasm/v1/types.proto deleted file mode 100644 index 216b24e3..00000000 --- a/packages/codegen/proto/cosmwasm/wasm/v1/types.proto +++ /dev/null @@ -1,144 +0,0 @@ -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 a single address - // Deprecated: use AccessTypeAnyOfAddresses instead - ACCESS_TYPE_ONLY_ADDRESS = 2 - [ (gogoproto.enumvalue_customname) = "AccessTypeOnlyAddress" ]; - // AccessTypeEverybody unrestricted - ACCESS_TYPE_EVERYBODY = 3 - [ (gogoproto.enumvalue_customname) = "AccessTypeEverybody" ]; - // AccessTypeAnyOfAddresses allow any of the addresses - ACCESS_TYPE_ANY_OF_ADDRESSES = 4 - [ (gogoproto.enumvalue_customname) = "AccessTypeAnyOfAddresses" ]; -} - -// 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\"" ]; - - // Address - // Deprecated: replaced by addresses - string address = 2 [ (gogoproto.moretags) = "yaml:\"address\"" ]; - repeated string addresses = 3 [ (gogoproto.moretags) = "yaml:\"addresses\"" ]; -} - -// 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\"" ]; -} - -// 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. - 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/packages/codegen/proto/gogoproto/LICENSE b/packages/codegen/proto/gogoproto/LICENSE deleted file mode 100644 index 992eb2bd..00000000 --- a/packages/codegen/proto/gogoproto/LICENSE +++ /dev/null @@ -1,34 +0,0 @@ -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/packages/codegen/proto/gogoproto/README.md b/packages/codegen/proto/gogoproto/README.md deleted file mode 100644 index 4cfc4768..00000000 --- a/packages/codegen/proto/gogoproto/README.md +++ /dev/null @@ -1 +0,0 @@ -# gogoproto \ No newline at end of file diff --git a/packages/codegen/proto/gogoproto/gogo.proto b/packages/codegen/proto/gogoproto/gogo.proto deleted file mode 100644 index 49e78f99..00000000 --- a/packages/codegen/proto/gogoproto/gogo.proto +++ /dev/null @@ -1,145 +0,0 @@ -// 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/packages/codegen/proto/google/LICENSE b/packages/codegen/proto/google/LICENSE deleted file mode 100644 index 261eeb9e..00000000 --- a/packages/codegen/proto/google/LICENSE +++ /dev/null @@ -1,201 +0,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 [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/packages/codegen/proto/google/README.md b/packages/codegen/proto/google/README.md deleted file mode 100644 index 3bdc1f83..00000000 --- a/packages/codegen/proto/google/README.md +++ /dev/null @@ -1 +0,0 @@ -# google \ No newline at end of file diff --git a/packages/codegen/proto/google/api/annotations.proto b/packages/codegen/proto/google/api/annotations.proto deleted file mode 100644 index efdab3db..00000000 --- a/packages/codegen/proto/google/api/annotations.proto +++ /dev/null @@ -1,31 +0,0 @@ -// 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/packages/codegen/proto/google/api/http.proto b/packages/codegen/proto/google/api/http.proto deleted file mode 100644 index 113fa936..00000000 --- a/packages/codegen/proto/google/api/http.proto +++ /dev/null @@ -1,375 +0,0 @@ -// 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/packages/codegen/proto/google/protobuf/any.proto b/packages/codegen/proto/google/protobuf/any.proto deleted file mode 100644 index 4cf3843b..00000000 --- a/packages/codegen/proto/google/protobuf/any.proto +++ /dev/null @@ -1,155 +0,0 @@ -// 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/packages/codegen/proto/google/protobuf/descriptor.proto b/packages/codegen/proto/google/protobuf/descriptor.proto deleted file mode 100644 index 4a08905a..00000000 --- a/packages/codegen/proto/google/protobuf/descriptor.proto +++ /dev/null @@ -1,885 +0,0 @@ -// 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/packages/codegen/proto/google/protobuf/duration.proto b/packages/codegen/proto/google/protobuf/duration.proto deleted file mode 100644 index b14bea5d..00000000 --- a/packages/codegen/proto/google/protobuf/duration.proto +++ /dev/null @@ -1,116 +0,0 @@ -// 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/packages/codegen/proto/google/protobuf/empty.proto b/packages/codegen/proto/google/protobuf/empty.proto deleted file mode 100644 index 6057c852..00000000 --- a/packages/codegen/proto/google/protobuf/empty.proto +++ /dev/null @@ -1,52 +0,0 @@ -// 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/packages/codegen/proto/google/protobuf/timestamp.proto b/packages/codegen/proto/google/protobuf/timestamp.proto deleted file mode 100644 index 0ebe36ea..00000000 --- a/packages/codegen/proto/google/protobuf/timestamp.proto +++ /dev/null @@ -1,138 +0,0 @@ -// 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/packages/codegen/proto/ibc/LICENSE b/packages/codegen/proto/ibc/LICENSE deleted file mode 100644 index c04a16b3..00000000 --- a/packages/codegen/proto/ibc/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -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/packages/codegen/proto/ibc/README.md b/packages/codegen/proto/ibc/README.md deleted file mode 100644 index e4ee70c7..00000000 --- a/packages/codegen/proto/ibc/README.md +++ /dev/null @@ -1 +0,0 @@ -# ibc \ No newline at end of file diff --git a/packages/codegen/proto/ibc/applications/transfer/v1/genesis.proto b/packages/codegen/proto/ibc/applications/transfer/v1/genesis.proto deleted file mode 100644 index 73d9fddd..00000000 --- a/packages/codegen/proto/ibc/applications/transfer/v1/genesis.proto +++ /dev/null @@ -1,19 +0,0 @@ -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/packages/codegen/proto/ibc/applications/transfer/v1/query.proto b/packages/codegen/proto/ibc/applications/transfer/v1/query.proto deleted file mode 100644 index f2faa87b..00000000 --- a/packages/codegen/proto/ibc/applications/transfer/v1/query.proto +++ /dev/null @@ -1,67 +0,0 @@ -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/packages/codegen/proto/ibc/applications/transfer/v1/transfer.proto b/packages/codegen/proto/ibc/applications/transfer/v1/transfer.proto deleted file mode 100644 index 10ce92f9..00000000 --- a/packages/codegen/proto/ibc/applications/transfer/v1/transfer.proto +++ /dev/null @@ -1,30 +0,0 @@ -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/packages/codegen/proto/ibc/applications/transfer/v1/tx.proto b/packages/codegen/proto/ibc/applications/transfer/v1/tx.proto deleted file mode 100644 index dfc480d0..00000000 --- a/packages/codegen/proto/ibc/applications/transfer/v1/tx.proto +++ /dev/null @@ -1,44 +0,0 @@ -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/packages/codegen/proto/ibc/applications/transfer/v2/packet.proto b/packages/codegen/proto/ibc/applications/transfer/v2/packet.proto deleted file mode 100644 index 593392a9..00000000 --- a/packages/codegen/proto/ibc/applications/transfer/v2/packet.proto +++ /dev/null @@ -1,19 +0,0 @@ -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/packages/codegen/proto/ibc/core/channel/v1/channel.proto b/packages/codegen/proto/ibc/core/channel/v1/channel.proto deleted file mode 100644 index c7f42dbf..00000000 --- a/packages/codegen/proto/ibc/core/channel/v1/channel.proto +++ /dev/null @@ -1,148 +0,0 @@ -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/packages/codegen/proto/ibc/core/channel/v1/genesis.proto b/packages/codegen/proto/ibc/core/channel/v1/genesis.proto deleted file mode 100644 index 38b57ed6..00000000 --- a/packages/codegen/proto/ibc/core/channel/v1/genesis.proto +++ /dev/null @@ -1,32 +0,0 @@ -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/packages/codegen/proto/ibc/core/channel/v1/query.proto b/packages/codegen/proto/ibc/core/channel/v1/query.proto deleted file mode 100644 index 212cb645..00000000 --- a/packages/codegen/proto/ibc/core/channel/v1/query.proto +++ /dev/null @@ -1,376 +0,0 @@ -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/packages/codegen/proto/ibc/core/channel/v1/tx.proto b/packages/codegen/proto/ibc/core/channel/v1/tx.proto deleted file mode 100644 index dab45080..00000000 --- a/packages/codegen/proto/ibc/core/channel/v1/tx.proto +++ /dev/null @@ -1,211 +0,0 @@ -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/packages/codegen/proto/ibc/core/client/v1/client.proto b/packages/codegen/proto/ibc/core/client/v1/client.proto deleted file mode 100644 index f0a1538e..00000000 --- a/packages/codegen/proto/ibc/core/client/v1/client.proto +++ /dev/null @@ -1,104 +0,0 @@ -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/packages/codegen/proto/ibc/core/client/v1/genesis.proto b/packages/codegen/proto/ibc/core/client/v1/genesis.proto deleted file mode 100644 index 6668f2ca..00000000 --- a/packages/codegen/proto/ibc/core/client/v1/genesis.proto +++ /dev/null @@ -1,48 +0,0 @@ -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/packages/codegen/proto/ibc/core/client/v1/query.proto b/packages/codegen/proto/ibc/core/client/v1/query.proto deleted file mode 100644 index b6f8eb47..00000000 --- a/packages/codegen/proto/ibc/core/client/v1/query.proto +++ /dev/null @@ -1,184 +0,0 @@ -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/packages/codegen/proto/ibc/core/client/v1/tx.proto b/packages/codegen/proto/ibc/core/client/v1/tx.proto deleted file mode 100644 index 82df96de..00000000 --- a/packages/codegen/proto/ibc/core/client/v1/tx.proto +++ /dev/null @@ -1,99 +0,0 @@ -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/packages/codegen/proto/ibc/core/commitment/v1/commitment.proto b/packages/codegen/proto/ibc/core/commitment/v1/commitment.proto deleted file mode 100644 index b460b9a1..00000000 --- a/packages/codegen/proto/ibc/core/commitment/v1/commitment.proto +++ /dev/null @@ -1,41 +0,0 @@ -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/packages/codegen/proto/ibc/core/connection/v1/connection.proto b/packages/codegen/proto/ibc/core/connection/v1/connection.proto deleted file mode 100644 index 74c39e26..00000000 --- a/packages/codegen/proto/ibc/core/connection/v1/connection.proto +++ /dev/null @@ -1,114 +0,0 @@ -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/packages/codegen/proto/ibc/core/connection/v1/genesis.proto b/packages/codegen/proto/ibc/core/connection/v1/genesis.proto deleted file mode 100644 index ec5be642..00000000 --- a/packages/codegen/proto/ibc/core/connection/v1/genesis.proto +++ /dev/null @@ -1,18 +0,0 @@ -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/packages/codegen/proto/ibc/core/connection/v1/query.proto b/packages/codegen/proto/ibc/core/connection/v1/query.proto deleted file mode 100644 index d668c3d2..00000000 --- a/packages/codegen/proto/ibc/core/connection/v1/query.proto +++ /dev/null @@ -1,138 +0,0 @@ -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/packages/codegen/proto/ibc/core/connection/v1/tx.proto b/packages/codegen/proto/ibc/core/connection/v1/tx.proto deleted file mode 100644 index 9d4e577e..00000000 --- a/packages/codegen/proto/ibc/core/connection/v1/tx.proto +++ /dev/null @@ -1,119 +0,0 @@ -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/packages/codegen/proto/ibc/core/port/v1/query.proto b/packages/codegen/proto/ibc/core/port/v1/query.proto deleted file mode 100644 index 3c7fb7cb..00000000 --- a/packages/codegen/proto/ibc/core/port/v1/query.proto +++ /dev/null @@ -1,35 +0,0 @@ -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/packages/codegen/proto/ibc/core/types/v1/genesis.proto b/packages/codegen/proto/ibc/core/types/v1/genesis.proto deleted file mode 100644 index e39f6cdb..00000000 --- a/packages/codegen/proto/ibc/core/types/v1/genesis.proto +++ /dev/null @@ -1,23 +0,0 @@ -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/packages/codegen/proto/ibc/lightclients/localhost/v1/localhost.proto b/packages/codegen/proto/ibc/lightclients/localhost/v1/localhost.proto deleted file mode 100644 index 4fe05b78..00000000 --- a/packages/codegen/proto/ibc/lightclients/localhost/v1/localhost.proto +++ /dev/null @@ -1,18 +0,0 @@ -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/packages/codegen/proto/ibc/lightclients/solomachine/v1/solomachine.proto b/packages/codegen/proto/ibc/lightclients/solomachine/v1/solomachine.proto deleted file mode 100644 index b9b8a3a2..00000000 --- a/packages/codegen/proto/ibc/lightclients/solomachine/v1/solomachine.proto +++ /dev/null @@ -1,189 +0,0 @@ -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/packages/codegen/proto/ibc/lightclients/solomachine/v2/solomachine.proto b/packages/codegen/proto/ibc/lightclients/solomachine/v2/solomachine.proto deleted file mode 100644 index 0c8c638c..00000000 --- a/packages/codegen/proto/ibc/lightclients/solomachine/v2/solomachine.proto +++ /dev/null @@ -1,189 +0,0 @@ -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/packages/codegen/proto/ibc/lightclients/tendermint/v1/tendermint.proto b/packages/codegen/proto/ibc/lightclients/tendermint/v1/tendermint.proto deleted file mode 100644 index 54e229b2..00000000 --- a/packages/codegen/proto/ibc/lightclients/tendermint/v1/tendermint.proto +++ /dev/null @@ -1,115 +0,0 @@ -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/packages/codegen/proto/tendermint/LICENSE b/packages/codegen/proto/tendermint/LICENSE deleted file mode 100644 index eaf92fbf..00000000 --- a/packages/codegen/proto/tendermint/LICENSE +++ /dev/null @@ -1,204 +0,0 @@ -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/packages/codegen/proto/tendermint/README.md b/packages/codegen/proto/tendermint/README.md deleted file mode 100644 index 74fcf8b8..00000000 --- a/packages/codegen/proto/tendermint/README.md +++ /dev/null @@ -1 +0,0 @@ -# tendermint \ No newline at end of file diff --git a/packages/codegen/proto/tendermint/abci/types.proto b/packages/codegen/proto/tendermint/abci/types.proto deleted file mode 100644 index d41a5226..00000000 --- a/packages/codegen/proto/tendermint/abci/types.proto +++ /dev/null @@ -1,394 +0,0 @@ -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/packages/codegen/proto/tendermint/crypto/keys.proto b/packages/codegen/proto/tendermint/crypto/keys.proto deleted file mode 100644 index 16fd7adf..00000000 --- a/packages/codegen/proto/tendermint/crypto/keys.proto +++ /dev/null @@ -1,17 +0,0 @@ -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/packages/codegen/proto/tendermint/crypto/proof.proto b/packages/codegen/proto/tendermint/crypto/proof.proto deleted file mode 100644 index 975df768..00000000 --- a/packages/codegen/proto/tendermint/crypto/proof.proto +++ /dev/null @@ -1,41 +0,0 @@ -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/packages/codegen/proto/tendermint/libs/bits/types.proto b/packages/codegen/proto/tendermint/libs/bits/types.proto deleted file mode 100644 index 3111d113..00000000 --- a/packages/codegen/proto/tendermint/libs/bits/types.proto +++ /dev/null @@ -1,9 +0,0 @@ -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/packages/codegen/proto/tendermint/p2p/types.proto b/packages/codegen/proto/tendermint/p2p/types.proto deleted file mode 100644 index 216a6d8d..00000000 --- a/packages/codegen/proto/tendermint/p2p/types.proto +++ /dev/null @@ -1,42 +0,0 @@ -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/packages/codegen/proto/tendermint/types/block.proto b/packages/codegen/proto/tendermint/types/block.proto deleted file mode 100644 index 84e9bb15..00000000 --- a/packages/codegen/proto/tendermint/types/block.proto +++ /dev/null @@ -1,15 +0,0 @@ -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/packages/codegen/proto/tendermint/types/evidence.proto b/packages/codegen/proto/tendermint/types/evidence.proto deleted file mode 100644 index d9548a43..00000000 --- a/packages/codegen/proto/tendermint/types/evidence.proto +++ /dev/null @@ -1,38 +0,0 @@ -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/packages/codegen/proto/tendermint/types/params.proto b/packages/codegen/proto/tendermint/types/params.proto deleted file mode 100644 index 70789222..00000000 --- a/packages/codegen/proto/tendermint/types/params.proto +++ /dev/null @@ -1,79 +0,0 @@ -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/packages/codegen/proto/tendermint/types/types.proto b/packages/codegen/proto/tendermint/types/types.proto deleted file mode 100644 index 57efc33c..00000000 --- a/packages/codegen/proto/tendermint/types/types.proto +++ /dev/null @@ -1,153 +0,0 @@ -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/packages/codegen/proto/tendermint/types/validator.proto b/packages/codegen/proto/tendermint/types/validator.proto deleted file mode 100644 index 49860b96..00000000 --- a/packages/codegen/proto/tendermint/types/validator.proto +++ /dev/null @@ -1,25 +0,0 @@ -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/packages/codegen/proto/tendermint/version/types.proto b/packages/codegen/proto/tendermint/version/types.proto deleted file mode 100644 index 6061868b..00000000 --- a/packages/codegen/proto/tendermint/version/types.proto +++ /dev/null @@ -1,24 +0,0 @@ -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/packages/codegen/src/amino/amino.ts b/packages/codegen/src/amino/amino.ts deleted file mode 100644 index 693da49f..00000000 --- a/packages/codegen/src/amino/amino.ts +++ /dev/null @@ -1 +0,0 @@ -export {} \ No newline at end of file diff --git a/packages/codegen/src/amino/bundle.ts b/packages/codegen/src/amino/bundle.ts deleted file mode 100644 index 8ddc5409..00000000 --- a/packages/codegen/src/amino/bundle.ts +++ /dev/null @@ -1,3 +0,0 @@ -import * as _0 from "./amino"; -export const amino = { ..._0 -}; \ No newline at end of file diff --git a/packages/codegen/src/confio/proofs.ts b/packages/codegen/src/confio/proofs.ts deleted file mode 100644 index 76045f81..00000000 --- a/packages/codegen/src/confio/proofs.ts +++ /dev/null @@ -1,1451 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../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 const HashOpSDKType = HashOp; -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, -} -export const LengthOpSDKType = LengthOp; -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; - 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; - 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; - right?: ExistenceProof; -} -/** - * 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 { - key: Uint8Array; - left?: ExistenceProofSDKType; - right?: ExistenceProofSDKType; -} -/** CommitmentProof is either an ExistenceProof or a NonExistenceProof, or a Batch of such messages */ - -export interface CommitmentProof { - exist?: ExistenceProof; - nonexist?: NonExistenceProof; - batch?: BatchProof; - compressed?: CompressedBatchProof; -} -/** CommitmentProof is either an ExistenceProof or a NonExistenceProof, or a Batch of such messages */ - -export interface CommitmentProofSDKType { - exist?: ExistenceProofSDKType; - nonexist?: NonExistenceProofSDKType; - batch?: BatchProofSDKType; - compressed?: CompressedBatchProofSDKType; -} -/** - * 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: HashOp; - prehash_key: HashOp; - prehash_value: HashOp; - length: LengthOp; - 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: 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; - innerSpec?: InnerSpec; - /** 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 { - leaf_spec?: LeafOpSDKType; - inner_spec?: InnerSpecSDKType; - max_depth: number; - 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: number[]; - child_size: number; - min_prefix_length: number; - max_prefix_length: number; - empty_child: Uint8Array; - hash: HashOp; -} -/** 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; - nonexist?: NonExistenceProof; -} -/** Use BatchEntry not CommitmentProof, to avoid recursion */ - -export interface BatchEntrySDKType { - exist?: ExistenceProofSDKType; - nonexist?: NonExistenceProofSDKType; -} -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; - nonexist?: CompressedNonExistenceProof; -} -/** Use BatchEntry not CommitmentProof, to avoid recursion */ - -export interface CompressedBatchEntrySDKType { - exist?: CompressedExistenceProofSDKType; - nonexist?: CompressedNonExistenceProofSDKType; -} -export interface CompressedExistenceProof { - key: Uint8Array; - value: Uint8Array; - leaf?: LeafOp; - /** these are indexes into the lookup_inners table in CompressedBatchProof */ - - path: number[]; -} -export interface CompressedExistenceProofSDKType { - key: Uint8Array; - value: Uint8Array; - leaf?: LeafOpSDKType; - path: number[]; -} -export interface CompressedNonExistenceProof { - /** TODO: remove this as unnecessary??? we prove a range */ - key: Uint8Array; - left?: CompressedExistenceProof; - right?: CompressedExistenceProof; -} -export interface CompressedNonExistenceProofSDKType { - key: Uint8Array; - left?: CompressedExistenceProofSDKType; - right?: CompressedExistenceProofSDKType; -} - -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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmos/app/v1alpha1/config.ts b/packages/codegen/src/cosmos/app/v1alpha1/config.ts deleted file mode 100644 index 90c25282..00000000 --- a/packages/codegen/src/cosmos/app/v1alpha1/config.ts +++ /dev/null @@ -1,159 +0,0 @@ -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../helpers"; -/** - * Config represents the configuration for a Cosmos SDK ABCI app. - * It is intended that all state machine logic including the version of - * baseapp and tx handlers (and possibly even Tendermint) that an app needs - * can be described in a config object. For compatibility, the framework should - * allow a mixture of declarative and imperative app wiring, however, apps - * that strive for the maximum ease of maintainability should be able to describe - * their state machine with a config object alone. - */ - -export interface Config { - /** modules are the module configurations for the app. */ - modules: ModuleConfig[]; -} -/** - * Config represents the configuration for a Cosmos SDK ABCI app. - * It is intended that all state machine logic including the version of - * baseapp and tx handlers (and possibly even Tendermint) that an app needs - * can be described in a config object. For compatibility, the framework should - * allow a mixture of declarative and imperative app wiring, however, apps - * that strive for the maximum ease of maintainability should be able to describe - * their state machine with a config object alone. - */ - -export interface ConfigSDKType { - modules: ModuleConfigSDKType[]; -} -/** ModuleConfig is a module configuration for an app. */ - -export interface ModuleConfig { - /** - * name is the unique name of the module within the app. It should be a name - * that persists between different versions of a module so that modules - * can be smoothly upgraded to new versions. - * - * For example, for the module cosmos.bank.module.v1.Module, we may chose - * to simply name the module "bank" in the app. When we upgrade to - * cosmos.bank.module.v2.Module, the app-specific name "bank" stays the same - * and the framework knows that the v2 module should receive all the same state - * that the v1 module had. Note: modules should provide info on which versions - * they can migrate from in the ModuleDescriptor.can_migration_from field. - */ - name: string; - /** - * config is the config object for the module. Module config messages should - * define a ModuleDescriptor using the cosmos.app.v1alpha1.is_module extension. - */ - - config?: Any; -} -/** ModuleConfig is a module configuration for an app. */ - -export interface ModuleConfigSDKType { - name: string; - config?: AnySDKType; -} - -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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmos/app/v1alpha1/module.ts b/packages/codegen/src/cosmos/app/v1alpha1/module.ts deleted file mode 100644 index 524b35f0..00000000 --- a/packages/codegen/src/cosmos/app/v1alpha1/module.ts +++ /dev/null @@ -1,276 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../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[]; -} -/** ModuleDescriptor describes an app module. */ - -export interface ModuleDescriptorSDKType { - go_import: string; - use_package: PackageReferenceSDKType[]; - can_migrate_from: MigrateFromInfoSDKType[]; -} -/** PackageReference is a reference to a protobuf package used by a module. */ - -export interface PackageReference { - /** name is the fully-qualified name of the package. */ - name: string; - /** - * revision is the optional revision of the package that is being used. - * Protobuf packages used in Cosmos should generally have a major version - * as the last part of the package name, ex. foo.bar.baz.v1. - * The revision of a package can be thought of as the minor version of a - * package which has additional backwards compatible definitions that weren't - * present in a previous version. - * - * A package should indicate its revision with a source code comment - * above the package declaration in one of its 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: string; - revision: number; -} -/** - * MigrateFromInfo is information on a module version that a newer module - * can migrate from. - */ - -export interface MigrateFromInfo { - /** - * module is the fully-qualified protobuf name of the module config object - * for the previous module version, ex: "cosmos.group.module.v1.Module". - */ - module: string; -} -/** - * MigrateFromInfo is information on a module version that a newer module - * can migrate from. - */ - -export interface MigrateFromInfoSDKType { - 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): MigrateFromInfo { - const message = createBaseMigrateFromInfo(); - message.module = object.module ?? ""; - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/cosmos/app/v1alpha1/query.rpc.Query.ts b/packages/codegen/src/cosmos/app/v1alpha1/query.rpc.Query.ts deleted file mode 100644 index 9ae7ca7f..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/app/v1alpha1/query.ts b/packages/codegen/src/cosmos/app/v1alpha1/query.ts deleted file mode 100644 index f6f7509a..00000000 --- a/packages/codegen/src/cosmos/app/v1alpha1/query.ts +++ /dev/null @@ -1,99 +0,0 @@ -import { Config, ConfigSDKType } from "./config"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../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; -} -/** QueryConfigRequest is the Query/Config response type. */ - -export interface QueryConfigResponseSDKType { - config?: ConfigSDKType; -} - -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(_: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmos/auth/v1beta1/auth.ts b/packages/codegen/src/cosmos/auth/v1beta1/auth.ts deleted file mode 100644 index 2342a965..00000000 --- a/packages/codegen/src/cosmos/auth/v1beta1/auth.ts +++ /dev/null @@ -1,284 +0,0 @@ -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import { Long, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * BaseAccount defines a base account type. It contains all the necessary fields - * for basic account functionality. Any custom account type should extend this - * type for additional functionality (e.g. vesting). - */ - -export interface BaseAccount { - address: string; - pubKey?: Any; - 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; - account_number: Long; - sequence: Long; -} -/** ModuleAccount defines an account for modules that holds coins on a pool. */ - -export interface ModuleAccount { - baseAccount?: BaseAccount; - name: string; - permissions: string[]; -} -/** ModuleAccount defines an account for modules that holds coins on a pool. */ - -export interface ModuleAccountSDKType { - base_account?: BaseAccountSDKType; - name: string; - permissions: string[]; -} -/** Params defines the parameters for the auth module. */ - -export interface Params { - maxMemoCharacters: Long; - txSigLimit: Long; - txSizeCostPerByte: Long; - sigVerifyCostEd25519: Long; - sigVerifyCostSecp256k1: Long; -} -/** 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmos/auth/v1beta1/genesis.ts b/packages/codegen/src/cosmos/auth/v1beta1/genesis.ts deleted file mode 100644 index ac545792..00000000 --- a/packages/codegen/src/cosmos/auth/v1beta1/genesis.ts +++ /dev/null @@ -1,74 +0,0 @@ -import { Params, ParamsSDKType } from "./auth"; -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../helpers"; -/** GenesisState defines the auth module's genesis state. */ - -export interface GenesisState { - /** params defines all the paramaters of the module. */ - params?: Params; - /** accounts are the accounts present at genesis. */ - - accounts: Any[]; -} -/** GenesisState defines the auth module's genesis state. */ - -export interface GenesisStateSDKType { - params?: ParamsSDKType; - 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: DeepPartial): 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/packages/codegen/src/cosmos/auth/v1beta1/query.lcd.ts b/packages/codegen/src/cosmos/auth/v1beta1/query.lcd.ts deleted file mode 100644 index 83fdf31f..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/auth/v1beta1/query.rpc.Query.ts b/packages/codegen/src/cosmos/auth/v1beta1/query.rpc.Query.ts deleted file mode 100644 index bd0c78f3..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/auth/v1beta1/query.ts b/packages/codegen/src/cosmos/auth/v1beta1/query.ts deleted file mode 100644 index d9f110dc..00000000 --- a/packages/codegen/src/cosmos/auth/v1beta1/query.ts +++ /dev/null @@ -1,765 +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"; -import { DeepPartial } from "../../../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; -} -/** - * QueryAccountsRequest is the request type for the Query/Accounts RPC method. - * - * Since: cosmos-sdk 0.43 - */ - -export interface QueryAccountsRequestSDKType { - pagination?: PageRequestSDKType; -} -/** - * QueryAccountsResponse is the response type for the Query/Accounts RPC method. - * - * Since: cosmos-sdk 0.43 - */ - -export interface QueryAccountsResponse { - /** accounts are the existing accounts */ - accounts: Any[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponse; -} -/** - * QueryAccountsResponse is the response type for the Query/Accounts RPC method. - * - * Since: cosmos-sdk 0.43 - */ - -export interface QueryAccountsResponseSDKType { - accounts: AnySDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryAccountRequest is the request type for the Query/Account RPC method. */ - -export interface QueryAccountRequest { - /** address defines the address to query for. */ - address: string; -} -/** QueryAccountRequest is the request type for the Query/Account RPC method. */ - -export interface QueryAccountRequestSDKType { - 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; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ - -export interface QueryParamsResponseSDKType { - params?: ParamsSDKType; -} -/** QueryAccountResponse is the response type for the Query/Account RPC method. */ - -export interface QueryAccountResponse { - /** account defines the account of the corresponding address. */ - account?: Any; -} -/** QueryAccountResponse is the response type for the Query/Account RPC method. */ - -export interface QueryAccountResponseSDKType { - account?: AnySDKType; -} -/** 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): AddressStringToBytesResponse { - const message = createBaseAddressStringToBytesResponse(); - message.addressBytes = object.addressBytes ?? new Uint8Array(); - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/cosmos/authz/v1beta1/authz.ts b/packages/codegen/src/cosmos/authz/v1beta1/authz.ts deleted file mode 100644 index 0bae9810..00000000 --- a/packages/codegen/src/cosmos/authz/v1beta1/authz.ts +++ /dev/null @@ -1,298 +0,0 @@ -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import { Timestamp } from "../../../google/protobuf/timestamp"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, 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: string; -} -/** - * Grant gives permissions to execute - * the provide method with expiration time. - */ - -export interface Grant { - authorization?: Any; - /** - * 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; -} -/** - * Grant gives permissions to execute - * the provide method with expiration time. - */ - -export interface GrantSDKType { - authorization?: AnySDKType; - expiration?: Date; -} -/** - * 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; - expiration?: Date; -} -/** - * 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; - expiration?: Date; -} -/** 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: 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): GrantQueueItem { - const message = createBaseGrantQueueItem(); - message.msgTypeUrls = object.msgTypeUrls?.map(e => e) || []; - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/cosmos/authz/v1beta1/event.ts b/packages/codegen/src/cosmos/authz/v1beta1/event.ts deleted file mode 100644 index 287d4b8c..00000000 --- a/packages/codegen/src/cosmos/authz/v1beta1/event.ts +++ /dev/null @@ -1,170 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../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; -} -/** EventGrant is emitted on Msg/Grant */ - -export interface EventGrantSDKType { - msg_type_url: string; - granter: string; - grantee: string; -} -/** EventRevoke is emitted on Msg/Revoke */ - -export interface EventRevoke { - /** Msg type URL for which an autorization is revoked */ - msgTypeUrl: string; - /** Granter account address */ - - granter: string; - /** Grantee account address */ - - grantee: string; -} -/** EventRevoke is emitted on Msg/Revoke */ - -export interface EventRevokeSDKType { - msg_type_url: string; - granter: string; - 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmos/authz/v1beta1/genesis.ts b/packages/codegen/src/cosmos/authz/v1beta1/genesis.ts deleted file mode 100644 index 037ff238..00000000 --- a/packages/codegen/src/cosmos/authz/v1beta1/genesis.ts +++ /dev/null @@ -1,58 +0,0 @@ -import { GrantAuthorization, GrantAuthorizationSDKType } from "./authz"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../helpers"; -/** 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: DeepPartial): GenesisState { - const message = createBaseGenesisState(); - message.authorization = object.authorization?.map(e => GrantAuthorization.fromPartial(e)) || []; - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/cosmos/authz/v1beta1/query.lcd.ts b/packages/codegen/src/cosmos/authz/v1beta1/query.lcd.ts deleted file mode 100644 index 0a8df359..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/authz/v1beta1/query.rpc.Query.ts b/packages/codegen/src/cosmos/authz/v1beta1/query.rpc.Query.ts deleted file mode 100644 index c2fda460..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/authz/v1beta1/query.ts b/packages/codegen/src/cosmos/authz/v1beta1/query.ts deleted file mode 100644 index 7b93128e..00000000 --- a/packages/codegen/src/cosmos/authz/v1beta1/query.ts +++ /dev/null @@ -1,447 +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"; -import { DeepPartial } from "../../../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; -} -/** QueryGrantsRequest is the request type for the Query/Grants RPC method. */ - -export interface QueryGrantsRequestSDKType { - granter: string; - grantee: string; - msg_type_url: string; - pagination?: PageRequestSDKType; -} -/** QueryGrantsResponse is the response type for the Query/Authorizations RPC method. */ - -export interface QueryGrantsResponse { - /** authorizations is a list of grants granted for grantee by granter. */ - grants: Grant[]; - /** pagination defines an pagination for the response. */ - - pagination?: PageResponse; -} -/** QueryGrantsResponse is the response type for the Query/Authorizations RPC method. */ - -export interface QueryGrantsResponseSDKType { - grants: GrantSDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryGranterGrantsRequest is the request type for the Query/GranterGrants RPC method. */ - -export interface QueryGranterGrantsRequest { - granter: string; - /** pagination defines an pagination for the request. */ - - pagination?: PageRequest; -} -/** QueryGranterGrantsRequest is the request type for the Query/GranterGrants RPC method. */ - -export interface QueryGranterGrantsRequestSDKType { - granter: string; - pagination?: PageRequestSDKType; -} -/** QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method. */ - -export interface QueryGranterGrantsResponse { - /** grants is a list of grants granted by the granter. */ - grants: GrantAuthorization[]; - /** pagination defines an pagination for the response. */ - - pagination?: PageResponse; -} -/** QueryGranterGrantsResponse is the response type for the Query/GranterGrants RPC method. */ - -export interface QueryGranterGrantsResponseSDKType { - grants: GrantAuthorizationSDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryGranteeGrantsRequest is the request type for the Query/IssuedGrants RPC method. */ - -export interface QueryGranteeGrantsRequest { - grantee: string; - /** pagination defines an pagination for the request. */ - - pagination?: PageRequest; -} -/** QueryGranteeGrantsRequest is the request type for the Query/IssuedGrants RPC method. */ - -export interface QueryGranteeGrantsRequestSDKType { - grantee: string; - pagination?: PageRequestSDKType; -} -/** QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method. */ - -export interface QueryGranteeGrantsResponse { - /** grants is a list of grants granted to the grantee. */ - grants: GrantAuthorization[]; - /** pagination defines an pagination for the response. */ - - pagination?: PageResponse; -} -/** QueryGranteeGrantsResponse is the response type for the Query/GranteeGrants RPC method. */ - -export interface QueryGranteeGrantsResponseSDKType { - grants: GrantAuthorizationSDKType[]; - pagination?: PageResponseSDKType; -} - -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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmos/authz/v1beta1/tx.rpc.msg.ts b/packages/codegen/src/cosmos/authz/v1beta1/tx.rpc.msg.ts deleted file mode 100644 index 63499c42..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/authz/v1beta1/tx.ts b/packages/codegen/src/cosmos/authz/v1beta1/tx.ts deleted file mode 100644 index c9c30034..00000000 --- a/packages/codegen/src/cosmos/authz/v1beta1/tx.ts +++ /dev/null @@ -1,390 +0,0 @@ -import { Grant, GrantSDKType } from "./authz"; -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../helpers"; -/** - * MsgGrant is a request type for Grant method. It declares authorization to the grantee - * on behalf of the granter with the provided expiration time. - */ - -export interface MsgGrant { - granter: string; - grantee: string; - grant?: Grant; -} -/** - * MsgGrant is a request type for Grant method. It declares authorization to the grantee - * on behalf of the granter with the provided expiration time. - */ - -export interface MsgGrantSDKType { - granter: string; - grantee: string; - grant?: GrantSDKType; -} -/** MsgExecResponse defines the Msg/MsgExecResponse response type. */ - -export interface MsgExecResponse { - results: Uint8Array[]; -} -/** 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; - 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): MsgRevokeResponse { - const message = createBaseMsgRevokeResponse(); - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/cosmos/bank/v1beta1/authz.ts b/packages/codegen/src/cosmos/bank/v1beta1/authz.ts deleted file mode 100644 index b9c2c8cf..00000000 --- a/packages/codegen/src/cosmos/bank/v1beta1/authz.ts +++ /dev/null @@ -1,68 +0,0 @@ -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../helpers"; -/** - * 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: DeepPartial): SendAuthorization { - const message = createBaseSendAuthorization(); - message.spendLimit = object.spendLimit?.map(e => Coin.fromPartial(e)) || []; - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/cosmos/bank/v1beta1/bank.ts b/packages/codegen/src/cosmos/bank/v1beta1/bank.ts deleted file mode 100644 index 78f2ea20..00000000 --- a/packages/codegen/src/cosmos/bank/v1beta1/bank.ts +++ /dev/null @@ -1,620 +0,0 @@ -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../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. - * 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: string; - exponent: number; - aliases: string[]; -} -/** - * Metadata represents a struct that describes - * a basic token. - */ - -export interface Metadata { - description: string; - /** denom_units represents the list of DenomUnit's for a given coin */ - - denomUnits: DenomUnit[]; - /** base represents the base denom (should be the DenomUnit with exponent = 0). */ - - base: string; - /** - * display indicates the suggested denom that should be - * displayed in clients. - */ - - display: string; - /** - * name defines the name of the token (eg: Cosmos Atom) - * - * Since: cosmos-sdk 0.43 - */ - - name: string; - /** - * symbol is the token symbol usually shown on exchanges (eg: ATOM). This can - * be the same as the display. - * - * Since: cosmos-sdk 0.43 - */ - - symbol: string; - /** - * URI to a document (on or off-chain) that contains additional information. Optional. - * - * Since: cosmos-sdk 0.46 - */ - - uri: string; - /** - * URIHash is a sha256 hash of a document pointed by URI. It's used to verify that - * the document didn't change. Optional. - * - * Since: cosmos-sdk 0.46 - */ - - uriHash: string; -} -/** - * Metadata represents a struct that describes - * a basic token. - */ - -export interface MetadataSDKType { - description: string; - denom_units: DenomUnitSDKType[]; - base: string; - display: string; - name: string; - symbol: string; - uri: string; - uri_hash: string; -} - -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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmos/bank/v1beta1/genesis.ts b/packages/codegen/src/cosmos/bank/v1beta1/genesis.ts deleted file mode 100644 index 71fe32bb..00000000 --- a/packages/codegen/src/cosmos/bank/v1beta1/genesis.ts +++ /dev/null @@ -1,181 +0,0 @@ -import { Params, ParamsSDKType, Metadata, MetadataSDKType } from "./bank"; -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../helpers"; -/** GenesisState defines the bank module's genesis state. */ - -export interface GenesisState { - /** params defines all the paramaters of the module. */ - params?: Params; - /** balances is an array containing the balances of all the accounts. */ - - balances: Balance[]; - /** - * supply represents the total supply. If it is left empty, then supply will be calculated based on the provided - * balances. Otherwise, it will be used to validate that the sum of the balances equals this amount. - */ - - supply: Coin[]; - /** denom_metadata defines the metadata of the differents coins. */ - - denomMetadata: Metadata[]; -} -/** GenesisState defines the bank module's genesis state. */ - -export interface GenesisStateSDKType { - params?: ParamsSDKType; - balances: BalanceSDKType[]; - supply: CoinSDKType[]; - denom_metadata: MetadataSDKType[]; -} -/** - * Balance defines an account address and balance pair used in the bank module's - * genesis state. - */ - -export interface Balance { - /** address is the address of the balance holder. */ - address: string; - /** coins defines the different coins this balance holds. */ - - coins: Coin[]; -} -/** - * Balance defines an account address and balance pair used in the bank module's - * genesis state. - */ - -export interface BalanceSDKType { - address: string; - 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmos/bank/v1beta1/query.lcd.ts b/packages/codegen/src/cosmos/bank/v1beta1/query.lcd.ts deleted file mode 100644 index 7535655d..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/bank/v1beta1/query.rpc.Query.ts b/packages/codegen/src/cosmos/bank/v1beta1/query.rpc.Query.ts deleted file mode 100644 index a60bbc8c..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/bank/v1beta1/query.ts b/packages/codegen/src/cosmos/bank/v1beta1/query.ts deleted file mode 100644 index 5da00ebd..00000000 --- a/packages/codegen/src/cosmos/bank/v1beta1/query.ts +++ /dev/null @@ -1,1257 +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"; -import { DeepPartial } from "../../../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: string; - denom: string; -} -/** QueryBalanceResponse is the response type for the Query/Balance RPC method. */ - -export interface QueryBalanceResponse { - /** balance is the balance of the coin. */ - balance?: Coin; -} -/** QueryBalanceResponse is the response type for the Query/Balance RPC method. */ - -export interface QueryBalanceResponseSDKType { - balance?: CoinSDKType; -} -/** QueryBalanceRequest is the request type for the Query/AllBalances RPC method. */ - -export interface QueryAllBalancesRequest { - /** address is the address to query balances for. */ - address: string; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequest; -} -/** QueryBalanceRequest is the request type for the Query/AllBalances RPC method. */ - -export interface QueryAllBalancesRequestSDKType { - address: string; - pagination?: PageRequestSDKType; -} -/** - * QueryAllBalancesResponse is the response type for the Query/AllBalances RPC - * method. - */ - -export interface QueryAllBalancesResponse { - /** balances is the balances of all the coins. */ - balances: Coin[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponse; -} -/** - * QueryAllBalancesResponse is the response type for the Query/AllBalances RPC - * method. - */ - -export interface QueryAllBalancesResponseSDKType { - balances: CoinSDKType[]; - pagination?: PageResponseSDKType; -} -/** - * QuerySpendableBalancesRequest defines the gRPC request structure for querying - * an account's spendable balances. - */ - -export interface QuerySpendableBalancesRequest { - /** address is the address to query spendable balances for. */ - address: string; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequest; -} -/** - * QuerySpendableBalancesRequest defines the gRPC request structure for querying - * an account's spendable balances. - */ - -export interface QuerySpendableBalancesRequestSDKType { - address: string; - pagination?: PageRequestSDKType; -} -/** - * 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; -} -/** - * QuerySpendableBalancesResponse defines the gRPC response structure for querying - * an account's spendable balances. - */ - -export interface QuerySpendableBalancesResponseSDKType { - balances: CoinSDKType[]; - pagination?: PageResponseSDKType; -} -/** - * QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC - * method. - */ - -export interface QueryTotalSupplyRequest { - /** - * pagination defines an optional pagination for the request. - * - * Since: cosmos-sdk 0.43 - */ - pagination?: PageRequest; -} -/** - * QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC - * method. - */ - -export interface QueryTotalSupplyRequestSDKType { - pagination?: PageRequestSDKType; -} -/** - * QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC - * method - */ - -export interface QueryTotalSupplyResponse { - /** supply is the supply of the coins */ - supply: Coin[]; - /** - * pagination defines the pagination in the response. - * - * Since: cosmos-sdk 0.43 - */ - - pagination?: PageResponse; -} -/** - * QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC - * method - */ - -export interface QueryTotalSupplyResponseSDKType { - supply: CoinSDKType[]; - pagination?: PageResponseSDKType; -} -/** QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method. */ - -export interface QuerySupplyOfRequest { - /** denom is the coin denom to query balances for. */ - denom: string; -} -/** QuerySupplyOfRequest is the request type for the Query/SupplyOf RPC method. */ - -export interface QuerySupplyOfRequestSDKType { - denom: string; -} -/** QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method. */ - -export interface QuerySupplyOfResponse { - /** amount is the supply of the coin. */ - amount?: Coin; -} -/** QuerySupplyOfResponse is the response type for the Query/SupplyOf RPC method. */ - -export interface QuerySupplyOfResponseSDKType { - amount?: CoinSDKType; -} -/** QueryParamsRequest defines the request type for querying x/bank parameters. */ - -export interface QueryParamsRequest {} -/** 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; -} -/** QueryParamsResponse defines the response type for querying x/bank parameters. */ - -export interface QueryParamsResponseSDKType { - params?: ParamsSDKType; -} -/** QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method. */ - -export interface QueryDenomsMetadataRequest { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest; -} -/** QueryDenomsMetadataRequest is the request type for the Query/DenomsMetadata RPC method. */ - -export interface QueryDenomsMetadataRequestSDKType { - pagination?: PageRequestSDKType; -} -/** - * QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC - * method. - */ - -export interface QueryDenomsMetadataResponse { - /** metadata provides the client information for all the registered tokens. */ - metadatas: Metadata[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponse; -} -/** - * QueryDenomsMetadataResponse is the response type for the Query/DenomsMetadata RPC - * method. - */ - -export interface QueryDenomsMetadataResponseSDKType { - metadatas: MetadataSDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryDenomMetadataRequest is the request type for the Query/DenomMetadata RPC method. */ - -export interface QueryDenomMetadataRequest { - /** denom is the coin denom to query the metadata for. */ - denom: string; -} -/** QueryDenomMetadataRequest is the request type for the Query/DenomMetadata RPC method. */ - -export interface QueryDenomMetadataRequestSDKType { - denom: string; -} -/** - * QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC - * method. - */ - -export interface QueryDenomMetadataResponse { - /** metadata describes and provides all the client information for the requested token. */ - metadata?: Metadata; -} -/** - * QueryDenomMetadataResponse is the response type for the Query/DenomMetadata RPC - * method. - */ - -export interface QueryDenomMetadataResponseSDKType { - metadata?: MetadataSDKType; -} -/** - * QueryDenomOwnersRequest defines the request type for the DenomOwners RPC query, - * which queries for a paginated set of all account holders of a particular - * denomination. - */ - -export interface QueryDenomOwnersRequest { - /** denom defines the coin denomination to query all account holders for. */ - denom: string; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequest; -} -/** - * QueryDenomOwnersRequest defines the request type for the DenomOwners RPC query, - * which queries for a paginated set of all account holders of a particular - * denomination. - */ - -export interface QueryDenomOwnersRequestSDKType { - denom: string; - pagination?: PageRequestSDKType; -} -/** - * DenomOwner defines structure representing an account that owns or holds a - * particular denominated token. It contains the account address and account - * balance of the denominated token. - */ - -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; -} -/** - * 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: string; - balance?: CoinSDKType; -} -/** QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query. */ - -export interface QueryDenomOwnersResponse { - denomOwners: DenomOwner[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponse; -} -/** QueryDenomOwnersResponse defines the RPC response of a DenomOwners RPC query. */ - -export interface QueryDenomOwnersResponseSDKType { - denom_owners: DenomOwnerSDKType[]; - pagination?: PageResponseSDKType; -} - -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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmos/bank/v1beta1/tx.rpc.msg.ts b/packages/codegen/src/cosmos/bank/v1beta1/tx.rpc.msg.ts deleted file mode 100644 index 4112bb9d..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/bank/v1beta1/tx.ts b/packages/codegen/src/cosmos/bank/v1beta1/tx.ts deleted file mode 100644 index 25716b1b..00000000 --- a/packages/codegen/src/cosmos/bank/v1beta1/tx.ts +++ /dev/null @@ -1,230 +0,0 @@ -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import { Input, InputSDKType, Output, OutputSDKType } from "./bank"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../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 { - 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): MsgMultiSendResponse { - const message = createBaseMsgMultiSendResponse(); - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/cosmos/base/abci/v1beta1/abci.ts b/packages/codegen/src/cosmos/base/abci/v1beta1/abci.ts deleted file mode 100644 index cdf74114..00000000 --- a/packages/codegen/src/cosmos/base/abci/v1beta1/abci.ts +++ /dev/null @@ -1,1020 +0,0 @@ -import { Any, AnySDKType } from "../../../../google/protobuf/any"; -import { Event, EventSDKType } from "../../../../tendermint/abci/types"; -import { Long, DeepPartial } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * TxResponse defines a structure containing relevant tx data and metadata. The - * tags are stringified and the log is JSON decoded. - */ - -export interface TxResponse { - /** The block height */ - height: Long; - /** The transaction hash. */ - - txhash: string; - /** Namespace for the Code */ - - codespace: string; - /** Response code. */ - - code: number; - /** Result bytes, if any. */ - - data: string; - /** - * The output of the application's logger (raw string). May be - * non-deterministic. - */ - - rawLog: string; - /** The output of the application's logger (typed). May be non-deterministic. */ - - logs: ABCIMessageLog[]; - /** Additional information. May be non-deterministic. */ - - info: string; - /** Amount of gas requested for transaction. */ - - gasWanted: Long; - /** Amount of gas consumed by transaction. */ - - gasUsed: Long; - /** The request transaction bytes. */ - - tx?: Any; - /** - * Time of the previous block. For heights > 1, it's the weighted median of - * the timestamps of the valid votes in the block.LastCommit. For height == 1, - * it's genesis time. - */ - - timestamp: string; - /** - * Events defines all the events emitted by processing a transaction. Note, - * these events include those emitted by processing all the messages and those - * emitted from the ante 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 { - height: Long; - txhash: string; - codespace: string; - code: number; - data: string; - raw_log: string; - logs: ABCIMessageLogSDKType[]; - info: string; - gas_wanted: Long; - gas_used: Long; - tx?: AnySDKType; - timestamp: string; - events: EventSDKType[]; -} -/** ABCIMessageLog defines a structure containing an indexed tx ABCI message log. */ - -export interface ABCIMessageLog { - msgIndex: number; - log: string; - /** - * Events contains a slice of Event objects that were emitted during some - * execution. - */ - - events: StringEvent[]; -} -/** ABCIMessageLog defines a structure containing an indexed tx ABCI message log. */ - -export interface ABCIMessageLogSDKType { - msg_index: number; - log: string; - events: StringEventSDKType[]; -} -/** - * StringEvent defines en Event object wrapper where all the attributes - * contain key/value pairs that are strings instead of raw bytes. - */ - -export interface StringEvent { - type: string; - attributes: Attribute[]; -} -/** - * 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 { - gas_wanted: Long; - gas_used: Long; -} -/** Result is the union of ResponseFormat and ResponseCheckTx. */ - -export interface Result { - /** - * Data is any data returned from message or handler execution. It MUST be - * length prefixed in order to separate data from multiple message executions. - * Deprecated. This field is still populated, but prefer msg_response instead - * because it also contains the Msg response typeURL. - */ - - /** @deprecated */ - data: Uint8Array; - /** Log contains the log information from message or handler execution. */ - - log: string; - /** - * Events contains a slice of Event objects that were emitted during message - * or handler execution. - */ - - events: Event[]; - /** - * msg_responses contains the Msg handler responses type packed in Anys. - * - * Since: cosmos-sdk 0.46 - */ - - msgResponses: Any[]; -} -/** Result is the union of ResponseFormat and ResponseCheckTx. */ - -export interface ResultSDKType { - /** @deprecated */ - data: Uint8Array; - log: string; - events: EventSDKType[]; - msg_responses: AnySDKType[]; -} -/** - * SimulationResponse defines the response generated when a transaction is - * successfully simulated. - */ - -export interface SimulationResponse { - gasInfo?: GasInfo; - result?: Result; -} -/** - * SimulationResponse defines the response generated when a transaction is - * successfully simulated. - */ - -export interface SimulationResponseSDKType { - gas_info?: GasInfoSDKType; - result?: ResultSDKType; -} -/** - * MsgData defines the data returned in a Result object during message - * execution. - */ - -/** @deprecated */ - -export interface MsgData { - msgType: string; - data: Uint8Array; -} -/** - * 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 { - /** @deprecated */ - data: MsgDataSDKType[]; - msg_responses: AnySDKType[]; -} -/** SearchTxsResult defines a structure for querying txs pageable */ - -export interface SearchTxsResult { - /** Count of all txs */ - totalCount: Long; - /** Count of txs in current page */ - - count: Long; - /** Index of current page, start from 1 */ - - pageNumber: Long; - /** Count of total pages */ - - pageTotal: Long; - /** Max count txs per page */ - - limit: Long; - /** List of txs in current page */ - - txs: TxResponse[]; -} -/** SearchTxsResult defines a structure for querying txs pageable */ - -export interface SearchTxsResultSDKType { - total_count: Long; - count: Long; - page_number: Long; - page_total: Long; - limit: Long; - txs: TxResponseSDKType[]; -} - -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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmos/base/kv/v1beta1/kv.ts b/packages/codegen/src/cosmos/base/kv/v1beta1/kv.ts deleted file mode 100644 index 8ce74b6f..00000000 --- a/packages/codegen/src/cosmos/base/kv/v1beta1/kv.ts +++ /dev/null @@ -1,124 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../../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 { - 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmos/base/query/v1beta1/pagination.ts b/packages/codegen/src/cosmos/base/query/v1beta1/pagination.ts deleted file mode 100644 index 193d96a4..00000000 --- a/packages/codegen/src/cosmos/base/query/v1beta1/pagination.ts +++ /dev/null @@ -1,243 +0,0 @@ -import { Long, DeepPartial } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * PageRequest is to be embedded in gRPC request messages for efficient - * pagination. Ex: - * - * message SomeRequest { - * Foo some_parameter = 1; - * PageRequest pagination = 2; - * } - */ - -export interface PageRequest { - /** - * key is a value returned in PageResponse.next_key to begin - * querying the next page most efficiently. Only one of offset or key - * should be set. - */ - key: Uint8Array; - /** - * offset is a numeric offset that can be used when key is unavailable. - * It is less efficient than using key. Only one of offset or key should - * be set. - */ - - offset: Long; - /** - * limit is the total number of results to be returned in the result page. - * If left empty it will default to a value to be set by each app. - */ - - limit: Long; - /** - * count_total is set to true to indicate that the result set should include - * a count of the total number of items available for pagination in UIs. - * count_total is only respected when offset is used. It is ignored when key - * is set. - */ - - countTotal: boolean; - /** - * reverse is set to true if results are to be returned in the descending order. - * - * Since: cosmos-sdk 0.43 - */ - - reverse: boolean; -} -/** - * PageRequest is to be embedded in gRPC request messages for efficient - * pagination. Ex: - * - * message SomeRequest { - * Foo some_parameter = 1; - * PageRequest pagination = 2; - * } - */ - -export interface PageRequestSDKType { - key: Uint8Array; - offset: Long; - limit: Long; - count_total: boolean; - reverse: boolean; -} -/** - * PageResponse is to be embedded in gRPC response messages where the - * corresponding request message has used PageRequest. - * - * message SomeResponse { - * repeated Bar results = 1; - * PageResponse page = 2; - * } - */ - -export interface PageResponse { - /** - * next_key is the key to be passed to PageRequest.key to - * query the next page most efficiently. It will be empty if - * there are no more results. - */ - nextKey: Uint8Array; - /** - * total is total number of results available if PageRequest.count_total - * was set, its value is undefined otherwise - */ - - total: Long; -} -/** - * PageResponse is to be embedded in gRPC response messages where the - * corresponding request message has used PageRequest. - * - * message SomeResponse { - * repeated Bar results = 1; - * PageResponse page = 2; - * } - */ - -export interface PageResponseSDKType { - next_key: Uint8Array; - total: Long; -} - -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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmos/base/reflection/v1beta1/reflection.ts b/packages/codegen/src/cosmos/base/reflection/v1beta1/reflection.ts deleted file mode 100644 index 17e84892..00000000 --- a/packages/codegen/src/cosmos/base/reflection/v1beta1/reflection.ts +++ /dev/null @@ -1,221 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../../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: 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: 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(_: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): ListImplementationsResponse { - const message = createBaseListImplementationsResponse(); - message.implementationMessageNames = object.implementationMessageNames?.map(e => e) || []; - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/cosmos/base/reflection/v2alpha1/reflection.ts b/packages/codegen/src/cosmos/base/reflection/v2alpha1/reflection.ts deleted file mode 100644 index 0f17dd05..00000000 --- a/packages/codegen/src/cosmos/base/reflection/v2alpha1/reflection.ts +++ /dev/null @@ -1,1630 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../../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; - /** chain provides the chain descriptor */ - - chain?: ChainDescriptor; - /** codec provides metadata information regarding codec related types */ - - codec?: CodecDescriptor; - /** configuration provides metadata information regarding the sdk.Config type */ - - configuration?: ConfigurationDescriptor; - /** query_services provides metadata information regarding the available queriable endpoints */ - - queryServices?: QueryServicesDescriptor; - /** tx provides metadata information regarding how to send transactions to the given application */ - - tx?: TxDescriptor; -} -/** AppDescriptor describes a cosmos-sdk based application */ - -export interface AppDescriptorSDKType { - authn?: AuthnDescriptorSDKType; - chain?: ChainDescriptorSDKType; - codec?: CodecDescriptorSDKType; - configuration?: ConfigurationDescriptorSDKType; - query_services?: QueryServicesDescriptorSDKType; - tx?: TxDescriptorSDKType; -} -/** TxDescriptor describes the accepted transaction type */ - -export interface TxDescriptor { - /** - * fullname is the protobuf fullname of the raw transaction type (for instance the tx.Tx type) - * it is not meant to support polymorphism of transaction types, it is supposed to be used by - * reflection clients to understand if they can handle a specific transaction type in an application. - */ - fullname: string; - /** msgs lists the accepted application messages (sdk.Msg) */ - - msgs: MsgDescriptor[]; -} -/** TxDescriptor describes the accepted transaction type */ - -export interface TxDescriptorSDKType { - fullname: string; - msgs: MsgDescriptorSDKType[]; -} -/** - * AuthnDescriptor provides information on how to sign transactions without relying - * on the online RPCs GetTxMetadata and CombineUnsignedTxAndSignatures - */ - -export interface AuthnDescriptor { - /** sign_modes defines the supported signature algorithm */ - signModes: SigningModeDescriptor[]; -} -/** - * AuthnDescriptor provides information on how to sign transactions without relying - * on the online RPCs GetTxMetadata and CombineUnsignedTxAndSignatures - */ - -export interface AuthnDescriptorSDKType { - sign_modes: SigningModeDescriptorSDKType[]; -} -/** - * SigningModeDescriptor provides information on a signing flow of the application - * NOTE(fdymylja): here we could go as far as providing an entire flow on how - * to sign a message given a SigningModeDescriptor, but it's better to think about - * this another time - */ - -export interface SigningModeDescriptor { - /** name defines the unique name of the signing mode */ - name: string; - /** number is the unique int32 identifier for the sign_mode enum */ - - number: number; - /** - * authn_info_provider_method_fullname defines the fullname of the method to call to get - * the metadata required to authenticate using the provided sign_modes - */ - - authnInfoProviderMethodFullname: string; -} -/** - * SigningModeDescriptor provides information on a signing flow of the application - * NOTE(fdymylja): here we could go as far as providing an entire flow on how - * to sign a message given a SigningModeDescriptor, but it's better to think about - * this another time - */ - -export interface SigningModeDescriptorSDKType { - name: string; - number: number; - authn_info_provider_method_fullname: string; -} -/** ChainDescriptor describes chain information of the application */ - -export interface ChainDescriptor { - /** id is the chain id */ - id: string; -} -/** ChainDescriptor describes chain information of the application */ - -export interface ChainDescriptorSDKType { - id: string; -} -/** CodecDescriptor describes the registered interfaces and provides metadata information on the types */ - -export interface CodecDescriptor { - /** interfaces is a list of the registerted interfaces descriptors */ - interfaces: InterfaceDescriptor[]; -} -/** CodecDescriptor describes the registered interfaces and provides metadata information on the types */ - -export interface CodecDescriptorSDKType { - interfaces: InterfaceDescriptorSDKType[]; -} -/** InterfaceDescriptor describes the implementation of an interface */ - -export interface InterfaceDescriptor { - /** fullname is the name of the interface */ - fullname: string; - /** - * interface_accepting_messages contains information regarding the proto messages which contain the interface as - * google.protobuf.Any field - */ - - interfaceAcceptingMessages: InterfaceAcceptingMessageDescriptor[]; - /** interface_implementers is a list of the descriptors of the interface implementers */ - - interfaceImplementers: InterfaceImplementerDescriptor[]; -} -/** InterfaceDescriptor describes the implementation of an interface */ - -export interface InterfaceDescriptorSDKType { - fullname: string; - interface_accepting_messages: InterfaceAcceptingMessageDescriptorSDKType[]; - interface_implementers: InterfaceImplementerDescriptorSDKType[]; -} -/** InterfaceImplementerDescriptor describes an interface implementer */ - -export interface InterfaceImplementerDescriptor { - /** fullname is the protobuf queryable name of the interface implementer */ - fullname: string; - /** - * type_url defines the type URL used when marshalling the type as any - * this is required so we can provide type safe google.protobuf.Any marshalling and - * unmarshalling, making sure that we don't accept just 'any' type - * in our interface fields - */ - - typeUrl: string; -} -/** InterfaceImplementerDescriptor describes an interface implementer */ - -export interface InterfaceImplementerDescriptorSDKType { - fullname: string; - type_url: string; -} -/** - * InterfaceAcceptingMessageDescriptor describes a protobuf message which contains - * an interface represented as a google.protobuf.Any - */ - -export interface InterfaceAcceptingMessageDescriptor { - /** fullname is the protobuf fullname of the type containing the interface */ - fullname: string; - /** - * field_descriptor_names is a list of the protobuf name (not fullname) of the field - * which contains the interface as google.protobuf.Any (the interface is the same, but - * it can be in multiple fields of the same proto message) - */ - - fieldDescriptorNames: string[]; -} -/** - * InterfaceAcceptingMessageDescriptor describes a protobuf message which contains - * an interface represented as a google.protobuf.Any - */ - -export interface InterfaceAcceptingMessageDescriptorSDKType { - fullname: string; - field_descriptor_names: string[]; -} -/** ConfigurationDescriptor contains metadata information on the sdk.Config */ - -export interface ConfigurationDescriptor { - /** bech32_account_address_prefix is the account address prefix */ - bech32AccountAddressPrefix: string; -} -/** ConfigurationDescriptor contains metadata information on the sdk.Config */ - -export interface ConfigurationDescriptorSDKType { - bech32_account_address_prefix: string; -} -/** MsgDescriptor describes a cosmos-sdk message that can be delivered with a transaction */ - -export interface MsgDescriptor { - /** msg_type_url contains the TypeURL of a sdk.Msg. */ - msgTypeUrl: string; -} -/** MsgDescriptor describes a cosmos-sdk message that can be delivered with a transaction */ - -export interface MsgDescriptorSDKType { - msg_type_url: string; -} -/** GetAuthnDescriptorRequest is the request used for the GetAuthnDescriptor RPC */ - -export interface GetAuthnDescriptorRequest {} -/** 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; -} -/** GetAuthnDescriptorResponse is the response returned by the GetAuthnDescriptor RPC */ - -export interface GetAuthnDescriptorResponseSDKType { - authn?: AuthnDescriptorSDKType; -} -/** GetChainDescriptorRequest is the request used for the GetChainDescriptor RPC */ - -export interface GetChainDescriptorRequest {} -/** 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; -} -/** GetChainDescriptorResponse is the response returned by the GetChainDescriptor RPC */ - -export interface GetChainDescriptorResponseSDKType { - chain?: ChainDescriptorSDKType; -} -/** GetCodecDescriptorRequest is the request used for the GetCodecDescriptor RPC */ - -export interface GetCodecDescriptorRequest {} -/** 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; -} -/** GetCodecDescriptorResponse is the response returned by the GetCodecDescriptor RPC */ - -export interface GetCodecDescriptorResponseSDKType { - codec?: CodecDescriptorSDKType; -} -/** GetConfigurationDescriptorRequest is the request used for the GetConfigurationDescriptor RPC */ - -export interface GetConfigurationDescriptorRequest {} -/** 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; -} -/** GetConfigurationDescriptorResponse is the response returned by the GetConfigurationDescriptor RPC */ - -export interface GetConfigurationDescriptorResponseSDKType { - config?: ConfigurationDescriptorSDKType; -} -/** GetQueryServicesDescriptorRequest is the request used for the GetQueryServicesDescriptor RPC */ - -export interface GetQueryServicesDescriptorRequest {} -/** 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; -} -/** GetQueryServicesDescriptorResponse is the response returned by the GetQueryServicesDescriptor RPC */ - -export interface GetQueryServicesDescriptorResponseSDKType { - queries?: QueryServicesDescriptorSDKType; -} -/** GetTxDescriptorRequest is the request used for the GetTxDescriptor RPC */ - -export interface GetTxDescriptorRequest {} -/** 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; -} -/** GetTxDescriptorResponse is the response returned by the GetTxDescriptor RPC */ - -export interface GetTxDescriptorResponseSDKType { - tx?: TxDescriptorSDKType; -} -/** QueryServicesDescriptor contains the list of cosmos-sdk queriable services */ - -export interface QueryServicesDescriptor { - /** query_services is a list of cosmos-sdk QueryServiceDescriptor */ - queryServices: QueryServiceDescriptor[]; -} -/** QueryServicesDescriptor contains the list of cosmos-sdk queriable services */ - -export interface QueryServicesDescriptorSDKType { - query_services: QueryServiceDescriptorSDKType[]; -} -/** QueryServiceDescriptor describes a cosmos-sdk queryable service */ - -export interface QueryServiceDescriptor { - /** fullname is the protobuf fullname of the service descriptor */ - fullname: string; - /** is_module describes if this service is actually exposed by an application's module */ - - isModule: boolean; - /** methods provides a list of query service methods */ - - methods: QueryMethodDescriptor[]; -} -/** QueryServiceDescriptor describes a cosmos-sdk queryable service */ - -export interface QueryServiceDescriptorSDKType { - fullname: string; - is_module: boolean; - methods: QueryMethodDescriptorSDKType[]; -} -/** - * QueryMethodDescriptor describes a queryable method of a query service - * no other info is provided beside method name and tendermint queryable path - * because it would be redundant with the grpc reflection service - */ - -export interface QueryMethodDescriptor { - /** name is the protobuf name (not fullname) of the method */ - name: string; - /** - * full_query_path is the path that can be used to query - * this method via tendermint abci.Query - */ - - fullQueryPath: string; -} -/** - * QueryMethodDescriptor describes a queryable method of a query service - * no other info is provided beside method name and tendermint queryable path - * because it would be redundant with the grpc reflection service - */ - -export interface QueryMethodDescriptorSDKType { - name: string; - full_query_path: string; -} - -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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): QueryMethodDescriptor { - const message = createBaseQueryMethodDescriptor(); - message.name = object.name ?? ""; - message.fullQueryPath = object.fullQueryPath ?? ""; - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/cosmos/base/snapshots/v1beta1/snapshot.ts b/packages/codegen/src/cosmos/base/snapshots/v1beta1/snapshot.ts deleted file mode 100644 index 0390b680..00000000 --- a/packages/codegen/src/cosmos/base/snapshots/v1beta1/snapshot.ts +++ /dev/null @@ -1,670 +0,0 @@ -import { Long, DeepPartial } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** Snapshot contains Tendermint state sync snapshot info. */ - -export interface Snapshot { - height: Long; - format: number; - chunks: number; - hash: Uint8Array; - metadata?: Metadata; -} -/** Snapshot contains Tendermint state sync snapshot info. */ - -export interface SnapshotSDKType { - height: Long; - format: number; - chunks: number; - hash: Uint8Array; - metadata?: MetadataSDKType; -} -/** Metadata contains SDK-specific snapshot metadata. */ - -export interface Metadata { - /** SHA-256 chunk hashes */ - chunkHashes: Uint8Array[]; -} -/** Metadata contains SDK-specific snapshot metadata. */ - -export interface MetadataSDKType { - chunk_hashes: Uint8Array[]; -} -/** SnapshotItem is an item contained in a rootmulti.Store snapshot. */ - -export interface SnapshotItem { - store?: SnapshotStoreItem; - iavl?: SnapshotIAVLItem; - extension?: SnapshotExtensionMeta; - extensionPayload?: SnapshotExtensionPayload; - kv?: SnapshotKVItem; - schema?: SnapshotSchema; -} -/** SnapshotItem is an item contained in a rootmulti.Store snapshot. */ - -export interface SnapshotItemSDKType { - store?: SnapshotStoreItemSDKType; - iavl?: SnapshotIAVLItemSDKType; - extension?: SnapshotExtensionMetaSDKType; - extension_payload?: SnapshotExtensionPayloadSDKType; - kv?: SnapshotKVItemSDKType; - schema?: SnapshotSchemaSDKType; -} -/** 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: Long; - 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): SnapshotSchema { - const message = createBaseSnapshotSchema(); - message.keys = object.keys?.map(e => e) || []; - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/cosmos/base/store/v1beta1/commit_info.ts b/packages/codegen/src/cosmos/base/store/v1beta1/commit_info.ts deleted file mode 100644 index 406ef7a2..00000000 --- a/packages/codegen/src/cosmos/base/store/v1beta1/commit_info.ts +++ /dev/null @@ -1,221 +0,0 @@ -import { Long, DeepPartial } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * CommitInfo defines commit information used by the multi-store when committing - * a version/height. - */ - -export interface CommitInfo { - version: Long; - storeInfos: StoreInfo[]; -} -/** - * 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; -} -/** - * StoreInfo defines store-specific commit information. It contains a reference - * between a store name and the commit ID. - */ - -export interface StoreInfoSDKType { - name: string; - commit_id?: CommitIDSDKType; -} -/** - * CommitID defines the committment information when a specific store is - * committed. - */ - -export interface CommitID { - version: Long; - hash: Uint8Array; -} -/** - * 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmos/base/store/v1beta1/listening.ts b/packages/codegen/src/cosmos/base/store/v1beta1/listening.ts deleted file mode 100644 index 3a4382be..00000000 --- a/packages/codegen/src/cosmos/base/store/v1beta1/listening.ts +++ /dev/null @@ -1,108 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../../helpers"; -/** - * StoreKVPair is a KVStore KVPair used for listening to state changes (Sets and Deletes) - * It optionally includes the StoreKey for the originating KVStore and a Boolean flag to distinguish between Sets and - * Deletes - * - * Since: cosmos-sdk 0.43 - */ - -export interface StoreKVPair { - /** the store key for the KVStore this pair originates from */ - storeKey: string; - /** true indicates a delete operation, false indicates a set operation */ - - delete: boolean; - key: Uint8Array; - value: Uint8Array; -} -/** - * StoreKVPair is a KVStore KVPair used for listening to state changes (Sets and Deletes) - * It optionally includes the StoreKey for the originating KVStore and a Boolean flag to distinguish between Sets and - * Deletes - * - * Since: cosmos-sdk 0.43 - */ - -export interface StoreKVPairSDKType { - store_key: string; - delete: boolean; - key: Uint8Array; - value: Uint8Array; -} - -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: DeepPartial): 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/packages/codegen/src/cosmos/base/tendermint/v1beta1/query.lcd.ts b/packages/codegen/src/cosmos/base/tendermint/v1beta1/query.lcd.ts deleted file mode 100644 index 831fcf2c..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/base/tendermint/v1beta1/query.rpc.Service.ts b/packages/codegen/src/cosmos/base/tendermint/v1beta1/query.rpc.Service.ts deleted file mode 100644 index ce8c9187..00000000 --- a/packages/codegen/src/cosmos/base/tendermint/v1beta1/query.rpc.Service.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 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/packages/codegen/src/cosmos/base/tendermint/v1beta1/query.ts b/packages/codegen/src/cosmos/base/tendermint/v1beta1/query.ts deleted file mode 100644 index 8e2b5d64..00000000 --- a/packages/codegen/src/cosmos/base/tendermint/v1beta1/query.ts +++ /dev/null @@ -1,1041 +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 { Long, DeepPartial } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** GetValidatorSetByHeightRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */ - -export interface GetValidatorSetByHeightRequest { - height: Long; - /** pagination defines an pagination for the request. */ - - pagination?: PageRequest; -} -/** GetValidatorSetByHeightRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */ - -export interface GetValidatorSetByHeightRequestSDKType { - height: Long; - pagination?: PageRequestSDKType; -} -/** GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method. */ - -export interface GetValidatorSetByHeightResponse { - blockHeight: Long; - validators: Validator[]; - /** pagination defines an pagination for the response. */ - - pagination?: PageResponse; -} -/** GetValidatorSetByHeightResponse is the response type for the Query/GetValidatorSetByHeight RPC method. */ - -export interface GetValidatorSetByHeightResponseSDKType { - block_height: Long; - validators: ValidatorSDKType[]; - pagination?: PageResponseSDKType; -} -/** GetLatestValidatorSetRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */ - -export interface GetLatestValidatorSetRequest { - /** pagination defines an pagination for the request. */ - pagination?: PageRequest; -} -/** GetLatestValidatorSetRequest is the request type for the Query/GetValidatorSetByHeight RPC method. */ - -export interface GetLatestValidatorSetRequestSDKType { - pagination?: PageRequestSDKType; -} -/** GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method. */ - -export interface GetLatestValidatorSetResponse { - blockHeight: Long; - validators: Validator[]; - /** pagination defines an pagination for the response. */ - - pagination?: PageResponse; -} -/** GetLatestValidatorSetResponse is the response type for the Query/GetValidatorSetByHeight RPC method. */ - -export interface GetLatestValidatorSetResponseSDKType { - block_height: Long; - validators: ValidatorSDKType[]; - pagination?: PageResponseSDKType; -} -/** Validator is the type for the validator-set. */ - -export interface Validator { - address: string; - pubKey?: Any; - votingPower: Long; - proposerPriority: Long; -} -/** Validator is the type for the validator-set. */ - -export interface ValidatorSDKType { - address: string; - pub_key?: AnySDKType; - voting_power: Long; - proposer_priority: Long; -} -/** GetBlockByHeightRequest is the request type for the Query/GetBlockByHeight RPC method. */ - -export interface GetBlockByHeightRequest { - height: Long; -} -/** 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; - block?: Block; -} -/** GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method. */ - -export interface GetBlockByHeightResponseSDKType { - block_id?: BlockIDSDKType; - block?: BlockSDKType; -} -/** 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; - block?: Block; -} -/** GetLatestBlockResponse is the response type for the Query/GetLatestBlock RPC method. */ - -export interface GetLatestBlockResponseSDKType { - block_id?: BlockIDSDKType; - block?: BlockSDKType; -} -/** 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; - applicationVersion?: VersionInfo; -} -/** GetNodeInfoResponse is the response type for the Query/GetNodeInfo RPC method. */ - -export interface GetNodeInfoResponseSDKType { - node_info?: NodeInfoSDKType; - application_version?: VersionInfoSDKType; -} -/** VersionInfo is the type for the GetNodeInfoResponse message. */ - -export interface VersionInfo { - name: string; - appName: string; - version: string; - gitCommit: string; - buildTags: string; - goVersion: string; - buildDeps: Module[]; - /** Since: cosmos-sdk 0.43 */ - - cosmosSdkVersion: string; -} -/** VersionInfo is the type for the GetNodeInfoResponse message. */ - -export interface VersionInfoSDKType { - name: string; - app_name: string; - version: string; - git_commit: string; - build_tags: string; - go_version: string; - build_deps: ModuleSDKType[]; - cosmos_sdk_version: string; -} -/** Module is the type for VersionInfo */ - -export interface Module { - /** module path */ - path: string; - /** module version */ - - version: string; - /** checksum */ - - sum: string; -} -/** Module is the type for VersionInfo */ - -export interface ModuleSDKType { - path: string; - version: string; - 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmos/base/v1beta1/coin.ts b/packages/codegen/src/cosmos/base/v1beta1/coin.ts deleted file mode 100644 index 53aa3bc8..00000000 --- a/packages/codegen/src/cosmos/base/v1beta1/coin.ts +++ /dev/null @@ -1,266 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../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 { - 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): DecProto { - const message = createBaseDecProto(); - message.dec = object.dec ?? ""; - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/cosmos/bundle.ts b/packages/codegen/src/cosmos/bundle.ts deleted file mode 100644 index 7f36ca32..00000000 --- a/packages/codegen/src/cosmos/bundle.ts +++ /dev/null @@ -1,399 +0,0 @@ -import * as _3 from "./app/v1alpha1/config"; -import * as _4 from "./app/v1alpha1/module"; -import * as _5 from "./app/v1alpha1/query"; -import * as _6 from "./auth/v1beta1/auth"; -import * as _7 from "./auth/v1beta1/genesis"; -import * as _8 from "./auth/v1beta1/query"; -import * as _9 from "./authz/v1beta1/authz"; -import * as _10 from "./authz/v1beta1/event"; -import * as _11 from "./authz/v1beta1/genesis"; -import * as _12 from "./authz/v1beta1/query"; -import * as _13 from "./authz/v1beta1/tx"; -import * as _14 from "./bank/v1beta1/authz"; -import * as _15 from "./bank/v1beta1/bank"; -import * as _16 from "./bank/v1beta1/genesis"; -import * as _17 from "./bank/v1beta1/query"; -import * as _18 from "./bank/v1beta1/tx"; -import * as _19 from "./base/abci/v1beta1/abci"; -import * as _20 from "./base/kv/v1beta1/kv"; -import * as _21 from "./base/query/v1beta1/pagination"; -import * as _22 from "./base/reflection/v1beta1/reflection"; -import * as _23 from "./base/reflection/v2alpha1/reflection"; -import * as _24 from "./base/snapshots/v1beta1/snapshot"; -import * as _25 from "./base/store/v1beta1/commit_info"; -import * as _26 from "./base/store/v1beta1/listening"; -import * as _27 from "./base/tendermint/v1beta1/query"; -import * as _28 from "./base/v1beta1/coin"; -import * as _29 from "./capability/v1beta1/capability"; -import * as _30 from "./capability/v1beta1/genesis"; -import * as _31 from "./crisis/v1beta1/genesis"; -import * as _32 from "./crisis/v1beta1/tx"; -import * as _33 from "./crypto/ed25519/keys"; -import * as _34 from "./crypto/hd/v1/hd"; -import * as _35 from "./crypto/keyring/v1/record"; -import * as _36 from "./crypto/multisig/keys"; -import * as _37 from "./crypto/secp256k1/keys"; -import * as _38 from "./crypto/secp256r1/keys"; -import * as _39 from "./distribution/v1beta1/distribution"; -import * as _40 from "./distribution/v1beta1/genesis"; -import * as _41 from "./distribution/v1beta1/query"; -import * as _42 from "./distribution/v1beta1/tx"; -import * as _43 from "./evidence/v1beta1/evidence"; -import * as _44 from "./evidence/v1beta1/genesis"; -import * as _45 from "./evidence/v1beta1/query"; -import * as _46 from "./evidence/v1beta1/tx"; -import * as _47 from "./feegrant/v1beta1/feegrant"; -import * as _48 from "./feegrant/v1beta1/genesis"; -import * as _49 from "./feegrant/v1beta1/query"; -import * as _50 from "./feegrant/v1beta1/tx"; -import * as _51 from "./genutil/v1beta1/genesis"; -import * as _52 from "./gov/v1/genesis"; -import * as _53 from "./gov/v1/gov"; -import * as _54 from "./gov/v1/query"; -import * as _55 from "./gov/v1/tx"; -import * as _56 from "./gov/v1beta1/genesis"; -import * as _57 from "./gov/v1beta1/gov"; -import * as _58 from "./gov/v1beta1/query"; -import * as _59 from "./gov/v1beta1/tx"; -import * as _60 from "./group/v1/events"; -import * as _61 from "./group/v1/genesis"; -import * as _62 from "./group/v1/query"; -import * as _63 from "./group/v1/tx"; -import * as _64 from "./group/v1/types"; -import * as _65 from "./mint/v1beta1/genesis"; -import * as _66 from "./mint/v1beta1/mint"; -import * as _67 from "./mint/v1beta1/query"; -import * as _68 from "./msg/v1/msg"; -import * as _69 from "./nft/v1beta1/event"; -import * as _70 from "./nft/v1beta1/genesis"; -import * as _71 from "./nft/v1beta1/nft"; -import * as _72 from "./nft/v1beta1/query"; -import * as _73 from "./nft/v1beta1/tx"; -import * as _74 from "./orm/v1/orm"; -import * as _75 from "./orm/v1alpha1/schema"; -import * as _76 from "./params/v1beta1/params"; -import * as _77 from "./params/v1beta1/query"; -import * as _78 from "./slashing/v1beta1/genesis"; -import * as _79 from "./slashing/v1beta1/query"; -import * as _80 from "./slashing/v1beta1/slashing"; -import * as _81 from "./slashing/v1beta1/tx"; -import * as _82 from "./staking/v1beta1/authz"; -import * as _83 from "./staking/v1beta1/genesis"; -import * as _84 from "./staking/v1beta1/query"; -import * as _85 from "./staking/v1beta1/staking"; -import * as _86 from "./staking/v1beta1/tx"; -import * as _87 from "./tx/signing/v1beta1/signing"; -import * as _88 from "./tx/v1beta1/service"; -import * as _89 from "./tx/v1beta1/tx"; -import * as _90 from "./upgrade/v1beta1/query"; -import * as _91 from "./upgrade/v1beta1/tx"; -import * as _92 from "./upgrade/v1beta1/upgrade"; -import * as _93 from "./vesting/v1beta1/tx"; -import * as _94 from "./vesting/v1beta1/vesting"; -import * as _145 from "./auth/v1beta1/query.lcd"; -import * as _146 from "./authz/v1beta1/query.lcd"; -import * as _147 from "./bank/v1beta1/query.lcd"; -import * as _148 from "./base/tendermint/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 "./tx/v1beta1/service.lcd"; -import * as _161 from "./upgrade/v1beta1/query.lcd"; -import * as _162 from "./app/v1alpha1/query.rpc.Query"; -import * as _163 from "./auth/v1beta1/query.rpc.Query"; -import * as _164 from "./authz/v1beta1/query.rpc.Query"; -import * as _165 from "./bank/v1beta1/query.rpc.Query"; -import * as _166 from "./base/tendermint/v1beta1/query.rpc.Service"; -import * as _167 from "./distribution/v1beta1/query.rpc.Query"; -import * as _168 from "./evidence/v1beta1/query.rpc.Query"; -import * as _169 from "./feegrant/v1beta1/query.rpc.Query"; -import * as _170 from "./gov/v1/query.rpc.Query"; -import * as _171 from "./gov/v1beta1/query.rpc.Query"; -import * as _172 from "./group/v1/query.rpc.Query"; -import * as _173 from "./mint/v1beta1/query.rpc.Query"; -import * as _174 from "./nft/v1beta1/query.rpc.Query"; -import * as _175 from "./params/v1beta1/query.rpc.Query"; -import * as _176 from "./slashing/v1beta1/query.rpc.Query"; -import * as _177 from "./staking/v1beta1/query.rpc.Query"; -import * as _178 from "./tx/v1beta1/service.rpc.Service"; -import * as _179 from "./upgrade/v1beta1/query.rpc.Query"; -import * as _180 from "./authz/v1beta1/tx.rpc.msg"; -import * as _181 from "./bank/v1beta1/tx.rpc.msg"; -import * as _182 from "./crisis/v1beta1/tx.rpc.msg"; -import * as _183 from "./distribution/v1beta1/tx.rpc.msg"; -import * as _184 from "./evidence/v1beta1/tx.rpc.msg"; -import * as _185 from "./feegrant/v1beta1/tx.rpc.msg"; -import * as _186 from "./gov/v1/tx.rpc.msg"; -import * as _187 from "./gov/v1beta1/tx.rpc.msg"; -import * as _188 from "./group/v1/tx.rpc.msg"; -import * as _189 from "./nft/v1beta1/tx.rpc.msg"; -import * as _190 from "./slashing/v1beta1/tx.rpc.msg"; -import * as _191 from "./staking/v1beta1/tx.rpc.msg"; -import * as _192 from "./upgrade/v1beta1/tx.rpc.msg"; -import * as _193 from "./vesting/v1beta1/tx.rpc.msg"; -import * as _210 from "./lcd"; -import * as _211 from "./rpc.query"; -import * as _212 from "./rpc.tx"; -export namespace cosmos { - export namespace app { - export const v1alpha1 = { ..._3, - ..._4, - ..._5, - ..._162 - }; - } - export namespace auth { - export const v1beta1 = { ..._6, - ..._7, - ..._8, - ..._145, - ..._163 - }; - } - export namespace authz { - export const v1beta1 = { ..._9, - ..._10, - ..._11, - ..._12, - ..._13, - ..._146, - ..._164, - ..._180 - }; - } - export namespace bank { - export const v1beta1 = { ..._14, - ..._15, - ..._16, - ..._17, - ..._18, - ..._147, - ..._165, - ..._181 - }; - } - export namespace base { - export namespace abci { - export const v1beta1 = { ..._19 - }; - } - export namespace kv { - export const v1beta1 = { ..._20 - }; - } - export namespace query { - export const v1beta1 = { ..._21 - }; - } - export namespace reflection { - export const v1beta1 = { ..._22 - }; - export const v2alpha1 = { ..._23 - }; - } - export namespace snapshots { - export const v1beta1 = { ..._24 - }; - } - export namespace store { - export const v1beta1 = { ..._25, - ..._26 - }; - } - export namespace tendermint { - export const v1beta1 = { ..._27, - ..._148, - ..._166 - }; - } - export const v1beta1 = { ..._28 - }; - } - export namespace capability { - export const v1beta1 = { ..._29, - ..._30 - }; - } - export namespace crisis { - export const v1beta1 = { ..._31, - ..._32, - ..._182 - }; - } - export namespace crypto { - export const ed25519 = { ..._33 - }; - export namespace hd { - export const v1 = { ..._34 - }; - } - export namespace keyring { - export const v1 = { ..._35 - }; - } - export const multisig = { ..._36 - }; - export const secp256k1 = { ..._37 - }; - export const secp256r1 = { ..._38 - }; - } - export namespace distribution { - export const v1beta1 = { ..._39, - ..._40, - ..._41, - ..._42, - ..._149, - ..._167, - ..._183 - }; - } - export namespace evidence { - export const v1beta1 = { ..._43, - ..._44, - ..._45, - ..._46, - ..._150, - ..._168, - ..._184 - }; - } - export namespace feegrant { - export const v1beta1 = { ..._47, - ..._48, - ..._49, - ..._50, - ..._151, - ..._169, - ..._185 - }; - } - export namespace genutil { - export const v1beta1 = { ..._51 - }; - } - export namespace gov { - export const v1 = { ..._52, - ..._53, - ..._54, - ..._55, - ..._152, - ..._170, - ..._186 - }; - export const v1beta1 = { ..._56, - ..._57, - ..._58, - ..._59, - ..._153, - ..._171, - ..._187 - }; - } - export namespace group { - export const v1 = { ..._60, - ..._61, - ..._62, - ..._63, - ..._64, - ..._154, - ..._172, - ..._188 - }; - } - export namespace mint { - export const v1beta1 = { ..._65, - ..._66, - ..._67, - ..._155, - ..._173 - }; - } - export namespace msg { - export const v1 = { ..._68 - }; - } - export namespace nft { - export const v1beta1 = { ..._69, - ..._70, - ..._71, - ..._72, - ..._73, - ..._156, - ..._174, - ..._189 - }; - } - export namespace orm { - export const v1 = { ..._74 - }; - export const v1alpha1 = { ..._75 - }; - } - export namespace params { - export const v1beta1 = { ..._76, - ..._77, - ..._157, - ..._175 - }; - } - export namespace slashing { - export const v1beta1 = { ..._78, - ..._79, - ..._80, - ..._81, - ..._158, - ..._176, - ..._190 - }; - } - export namespace staking { - export const v1beta1 = { ..._82, - ..._83, - ..._84, - ..._85, - ..._86, - ..._159, - ..._177, - ..._191 - }; - } - export namespace tx { - export namespace signing { - export const v1beta1 = { ..._87 - }; - } - export const v1beta1 = { ..._88, - ..._89, - ..._160, - ..._178 - }; - } - export namespace upgrade { - export const v1beta1 = { ..._90, - ..._91, - ..._92, - ..._161, - ..._179, - ..._192 - }; - } - export namespace vesting { - export const v1beta1 = { ..._93, - ..._94, - ..._193 - }; - } - export const ClientFactory = { ..._210, - ..._211, - ..._212 - }; -} \ No newline at end of file diff --git a/packages/codegen/src/cosmos/capability/v1beta1/capability.ts b/packages/codegen/src/cosmos/capability/v1beta1/capability.ts deleted file mode 100644 index fe85a141..00000000 --- a/packages/codegen/src/cosmos/capability/v1beta1/capability.ts +++ /dev/null @@ -1,197 +0,0 @@ -import { Long, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * Capability defines an implementation of an object capability. The index - * provided to a Capability must be globally unique. - */ - -export interface Capability { - index: Long; -} -/** - * 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): CapabilityOwners { - const message = createBaseCapabilityOwners(); - message.owners = object.owners?.map(e => Owner.fromPartial(e)) || []; - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/cosmos/capability/v1beta1/genesis.ts b/packages/codegen/src/cosmos/capability/v1beta1/genesis.ts deleted file mode 100644 index 28fddb1c..00000000 --- a/packages/codegen/src/cosmos/capability/v1beta1/genesis.ts +++ /dev/null @@ -1,146 +0,0 @@ -import { CapabilityOwners, CapabilityOwnersSDKType } from "./capability"; -import { Long, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** GenesisOwners defines the capability owners with their corresponding index. */ - -export interface GenesisOwners { - /** index is the index of the capability owner. */ - index: Long; - /** index_owners are the owners at the given index. */ - - indexOwners?: CapabilityOwners; -} -/** GenesisOwners defines the capability owners with their corresponding index. */ - -export interface GenesisOwnersSDKType { - index: Long; - index_owners?: CapabilityOwnersSDKType; -} -/** GenesisState defines the capability module's genesis state. */ - -export interface GenesisState { - /** index is the capability global index. */ - index: Long; - /** - * owners represents a map from index to owners of the capability index - * index key is string to allow amino marshalling. - */ - - owners: GenesisOwners[]; -} -/** GenesisState defines the capability module's genesis state. */ - -export interface GenesisStateSDKType { - index: Long; - 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmos/crisis/v1beta1/genesis.ts b/packages/codegen/src/cosmos/crisis/v1beta1/genesis.ts deleted file mode 100644 index 4b2cf5df..00000000 --- a/packages/codegen/src/cosmos/crisis/v1beta1/genesis.ts +++ /dev/null @@ -1,62 +0,0 @@ -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../helpers"; -/** GenesisState defines the crisis module's genesis state. */ - -export interface GenesisState { - /** - * constant_fee is the fee used to verify the invariant in the crisis - * module. - */ - constantFee?: Coin; -} -/** GenesisState defines the crisis module's genesis state. */ - -export interface GenesisStateSDKType { - constant_fee?: CoinSDKType; -} - -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: DeepPartial): 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/packages/codegen/src/cosmos/crisis/v1beta1/tx.rpc.msg.ts b/packages/codegen/src/cosmos/crisis/v1beta1/tx.rpc.msg.ts deleted file mode 100644 index cd2c0387..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/crisis/v1beta1/tx.ts b/packages/codegen/src/cosmos/crisis/v1beta1/tx.ts deleted file mode 100644 index 14e3dca6..00000000 --- a/packages/codegen/src/cosmos/crisis/v1beta1/tx.ts +++ /dev/null @@ -1,121 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../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 { - 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: DeepPartial): 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(_: DeepPartial): MsgVerifyInvariantResponse { - const message = createBaseMsgVerifyInvariantResponse(); - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/cosmos/crypto/ed25519/keys.ts b/packages/codegen/src/cosmos/crypto/ed25519/keys.ts deleted file mode 100644 index cfa59313..00000000 --- a/packages/codegen/src/cosmos/crypto/ed25519/keys.ts +++ /dev/null @@ -1,130 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../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; -} -/** - * 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: DeepPartial): 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: DeepPartial): PrivKey { - const message = createBasePrivKey(); - message.key = object.key ?? new Uint8Array(); - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/cosmos/crypto/hd/v1/hd.ts b/packages/codegen/src/cosmos/crypto/hd/v1/hd.ts deleted file mode 100644 index 5fad0324..00000000 --- a/packages/codegen/src/cosmos/crypto/hd/v1/hd.ts +++ /dev/null @@ -1,117 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../../helpers"; -/** BIP44Params is used as path field in ledger item in Record. */ - -export interface BIP44Params { - /** purpose is a constant set to 44' (or 0x8000002C) following the BIP43 recommendation */ - 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: number; - coin_type: number; - account: number; - change: boolean; - 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: DeepPartial): 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/packages/codegen/src/cosmos/crypto/keyring/v1/record.ts b/packages/codegen/src/cosmos/crypto/keyring/v1/record.ts deleted file mode 100644 index 773df1d6..00000000 --- a/packages/codegen/src/cosmos/crypto/keyring/v1/record.ts +++ /dev/null @@ -1,338 +0,0 @@ -import { Any, AnySDKType } from "../../../../google/protobuf/any"; -import { BIP44Params, BIP44ParamsSDKType } from "../../hd/v1/hd"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../../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; - /** local stores the public information about a locally stored key */ - - local?: Record_Local; - /** ledger stores the public information about a Ledger key */ - - ledger?: Record_Ledger; - /** Multi does not store any information. */ - - multi?: Record_Multi; - /** Offline does not store any information. */ - - offline?: Record_Offline; -} -/** Record is used for representing a key in the keyring. */ - -export interface RecordSDKType { - name: string; - pub_key?: AnySDKType; - local?: Record_LocalSDKType; - ledger?: Record_LedgerSDKType; - multi?: Record_MultiSDKType; - offline?: Record_OfflineSDKType; -} -/** - * Item is a keyring item stored in a keyring backend. - * Local item - */ - -export interface Record_Local { - privKey?: Any; - privKeyType: string; -} -/** - * Item is a keyring item stored in a keyring backend. - * Local item - */ - -export interface Record_LocalSDKType { - priv_key?: AnySDKType; - priv_key_type: string; -} -/** Ledger item */ - -export interface Record_Ledger { - path?: BIP44Params; -} -/** Ledger item */ - -export interface Record_LedgerSDKType { - path?: BIP44ParamsSDKType; -} -/** 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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(_: DeepPartial): Record_Offline { - const message = createBaseRecord_Offline(); - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/cosmos/crypto/multisig/keys.ts b/packages/codegen/src/cosmos/crypto/multisig/keys.ts deleted file mode 100644 index 7a63e069..00000000 --- a/packages/codegen/src/cosmos/crypto/multisig/keys.ts +++ /dev/null @@ -1,78 +0,0 @@ -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../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 { - 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: DeepPartial): 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/packages/codegen/src/cosmos/crypto/multisig/v1beta1/multisig.ts b/packages/codegen/src/cosmos/crypto/multisig/v1beta1/multisig.ts deleted file mode 100644 index 3a6e570c..00000000 --- a/packages/codegen/src/cosmos/crypto/multisig/v1beta1/multisig.ts +++ /dev/null @@ -1,142 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../../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 { - 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmos/crypto/secp256k1/keys.ts b/packages/codegen/src/cosmos/crypto/secp256k1/keys.ts deleted file mode 100644 index 576b262f..00000000 --- a/packages/codegen/src/cosmos/crypto/secp256k1/keys.ts +++ /dev/null @@ -1,124 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../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; -} -/** - * 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: DeepPartial): 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: DeepPartial): PrivKey { - const message = createBasePrivKey(); - message.key = object.key ?? new Uint8Array(); - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/cosmos/crypto/secp256r1/keys.ts b/packages/codegen/src/cosmos/crypto/secp256r1/keys.ts deleted file mode 100644 index ffb3240e..00000000 --- a/packages/codegen/src/cosmos/crypto/secp256r1/keys.ts +++ /dev/null @@ -1,117 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../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; -} -/** PubKey defines a secp256r1 ECDSA public key. */ - -export interface PubKeySDKType { - key: Uint8Array; -} -/** PrivKey defines a secp256r1 ECDSA private key. */ - -export interface PrivKey { - /** secret number serialized using big-endian encoding */ - secret: Uint8Array; -} -/** PrivKey defines a secp256r1 ECDSA private key. */ - -export interface PrivKeySDKType { - 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: DeepPartial): 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: DeepPartial): PrivKey { - const message = createBasePrivKey(); - message.secret = object.secret ?? new Uint8Array(); - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/cosmos/distribution/v1beta1/distribution.ts b/packages/codegen/src/cosmos/distribution/v1beta1/distribution.ts deleted file mode 100644 index 8cdec795..00000000 --- a/packages/codegen/src/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 { DeepPartial, 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmos/distribution/v1beta1/genesis.ts b/packages/codegen/src/cosmos/distribution/v1beta1/genesis.ts deleted file mode 100644 index 2e911ec1..00000000 --- a/packages/codegen/src/cosmos/distribution/v1beta1/genesis.ts +++ /dev/null @@ -1,752 +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 { DeepPartial, 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: string; - withdraw_address: string; -} -/** ValidatorOutstandingRewardsRecord is used for import/export via genesis json. */ - -export interface ValidatorOutstandingRewardsRecord { - /** validator_address is the address of the validator. */ - validatorAddress: string; - /** outstanding_rewards represents the oustanding rewards of a validator. */ - - outstandingRewards: DecCoin[]; -} -/** ValidatorOutstandingRewardsRecord is used for import/export via genesis json. */ - -export interface ValidatorOutstandingRewardsRecordSDKType { - validator_address: string; - outstanding_rewards: DecCoinSDKType[]; -} -/** - * ValidatorAccumulatedCommissionRecord is used for import / export via genesis - * json. - */ - -export interface ValidatorAccumulatedCommissionRecord { - /** validator_address is the address of the validator. */ - validatorAddress: string; - /** accumulated is the accumulated commission of a validator. */ - - accumulated?: ValidatorAccumulatedCommission; -} -/** - * ValidatorAccumulatedCommissionRecord is used for import / export via genesis - * json. - */ - -export interface ValidatorAccumulatedCommissionRecordSDKType { - validator_address: string; - accumulated?: ValidatorAccumulatedCommissionSDKType; -} -/** - * ValidatorHistoricalRewardsRecord is used for import / export via genesis - * json. - */ - -export interface ValidatorHistoricalRewardsRecord { - /** validator_address is the address of the validator. */ - validatorAddress: string; - /** period defines the period the historical rewards apply to. */ - - period: Long; - /** rewards defines the historical rewards of a validator. */ - - rewards?: ValidatorHistoricalRewards; -} -/** - * ValidatorHistoricalRewardsRecord is used for import / export via genesis - * json. - */ - -export interface ValidatorHistoricalRewardsRecordSDKType { - validator_address: string; - period: Long; - rewards?: ValidatorHistoricalRewardsSDKType; -} -/** ValidatorCurrentRewardsRecord is used for import / export via genesis json. */ - -export interface ValidatorCurrentRewardsRecord { - /** validator_address is the address of the validator. */ - validatorAddress: string; - /** rewards defines the current rewards of a validator. */ - - rewards?: ValidatorCurrentRewards; -} -/** ValidatorCurrentRewardsRecord is used for import / export via genesis json. */ - -export interface ValidatorCurrentRewardsRecordSDKType { - validator_address: string; - rewards?: ValidatorCurrentRewardsSDKType; -} -/** DelegatorStartingInfoRecord used for import / export via genesis json. */ - -export interface DelegatorStartingInfoRecord { - /** delegator_address is the address of the delegator. */ - delegatorAddress: string; - /** validator_address is the address of the validator. */ - - validatorAddress: string; - /** starting_info defines the starting info of a delegator. */ - - startingInfo?: DelegatorStartingInfo; -} -/** DelegatorStartingInfoRecord used for import / export via genesis json. */ - -export interface DelegatorStartingInfoRecordSDKType { - delegator_address: string; - validator_address: string; - starting_info?: DelegatorStartingInfoSDKType; -} -/** ValidatorSlashEventRecord is used for import / export via genesis json. */ - -export interface ValidatorSlashEventRecord { - /** validator_address is the address of the validator. */ - validatorAddress: string; - /** height defines the block height at which the slash event occured. */ - - height: Long; - /** period is the period of the slash event. */ - - period: Long; - /** validator_slash_event describes the slash event. */ - - validatorSlashEvent?: ValidatorSlashEvent; -} -/** ValidatorSlashEventRecord is used for import / export via genesis json. */ - -export interface ValidatorSlashEventRecordSDKType { - validator_address: string; - height: Long; - period: Long; - validator_slash_event?: ValidatorSlashEventSDKType; -} -/** GenesisState defines the distribution module's genesis state. */ - -export interface GenesisState { - /** params defines all the paramaters of the module. */ - params?: Params; - /** fee_pool defines the fee pool at genesis. */ - - feePool?: FeePool; - /** fee_pool defines the delegator withdraw infos at genesis. */ - - delegatorWithdrawInfos: DelegatorWithdrawInfo[]; - /** fee_pool defines the previous proposer at genesis. */ - - previousProposer: string; - /** fee_pool defines the outstanding rewards of all validators at genesis. */ - - outstandingRewards: ValidatorOutstandingRewardsRecord[]; - /** fee_pool defines the accumulated commisions of all validators at genesis. */ - - validatorAccumulatedCommissions: ValidatorAccumulatedCommissionRecord[]; - /** fee_pool defines the historical rewards of all validators at genesis. */ - - validatorHistoricalRewards: ValidatorHistoricalRewardsRecord[]; - /** fee_pool defines the current rewards of all validators at genesis. */ - - validatorCurrentRewards: ValidatorCurrentRewardsRecord[]; - /** fee_pool defines the delegator starting infos at genesis. */ - - delegatorStartingInfos: DelegatorStartingInfoRecord[]; - /** fee_pool defines the validator slash events at genesis. */ - - validatorSlashEvents: ValidatorSlashEventRecord[]; -} -/** GenesisState defines the distribution module's genesis state. */ - -export interface GenesisStateSDKType { - params?: ParamsSDKType; - fee_pool?: FeePoolSDKType; - delegator_withdraw_infos: DelegatorWithdrawInfoSDKType[]; - previous_proposer: string; - outstanding_rewards: ValidatorOutstandingRewardsRecordSDKType[]; - validator_accumulated_commissions: ValidatorAccumulatedCommissionRecordSDKType[]; - validator_historical_rewards: ValidatorHistoricalRewardsRecordSDKType[]; - validator_current_rewards: ValidatorCurrentRewardsRecordSDKType[]; - delegator_starting_infos: DelegatorStartingInfoRecordSDKType[]; - validator_slash_events: ValidatorSlashEventRecordSDKType[]; -} - -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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmos/distribution/v1beta1/query.lcd.ts b/packages/codegen/src/cosmos/distribution/v1beta1/query.lcd.ts deleted file mode 100644 index 2ad66901..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/distribution/v1beta1/query.rpc.Query.ts b/packages/codegen/src/cosmos/distribution/v1beta1/query.rpc.Query.ts deleted file mode 100644 index 539882a1..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/distribution/v1beta1/query.ts b/packages/codegen/src/cosmos/distribution/v1beta1/query.ts deleted file mode 100644 index a67d26ea..00000000 --- a/packages/codegen/src/cosmos/distribution/v1beta1/query.ts +++ /dev/null @@ -1,1160 +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 { DeepPartial, 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; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ - -export interface QueryParamsResponseSDKType { - params?: ParamsSDKType; -} -/** - * QueryValidatorOutstandingRewardsRequest is the request type for the - * Query/ValidatorOutstandingRewards RPC method. - */ - -export interface QueryValidatorOutstandingRewardsRequest { - /** validator_address defines the validator address to query for. */ - validatorAddress: string; -} -/** - * QueryValidatorOutstandingRewardsRequest is the request type for the - * Query/ValidatorOutstandingRewards RPC method. - */ - -export interface QueryValidatorOutstandingRewardsRequestSDKType { - validator_address: string; -} -/** - * QueryValidatorOutstandingRewardsResponse is the response type for the - * Query/ValidatorOutstandingRewards RPC method. - */ - -export interface QueryValidatorOutstandingRewardsResponse { - rewards?: ValidatorOutstandingRewards; -} -/** - * QueryValidatorOutstandingRewardsResponse is the response type for the - * Query/ValidatorOutstandingRewards RPC method. - */ - -export interface QueryValidatorOutstandingRewardsResponseSDKType { - rewards?: ValidatorOutstandingRewardsSDKType; -} -/** - * QueryValidatorCommissionRequest is the request type for the - * Query/ValidatorCommission RPC method - */ - -export interface QueryValidatorCommissionRequest { - /** validator_address defines the validator address to query for. */ - validatorAddress: string; -} -/** - * QueryValidatorCommissionRequest is the request type for the - * Query/ValidatorCommission RPC method - */ - -export interface QueryValidatorCommissionRequestSDKType { - validator_address: string; -} -/** - * QueryValidatorCommissionResponse is the response type for the - * Query/ValidatorCommission RPC method - */ - -export interface QueryValidatorCommissionResponse { - /** commission defines the commision the validator received. */ - commission?: ValidatorAccumulatedCommission; -} -/** - * QueryValidatorCommissionResponse is the response type for the - * Query/ValidatorCommission RPC method - */ - -export interface QueryValidatorCommissionResponseSDKType { - commission?: ValidatorAccumulatedCommissionSDKType; -} -/** - * QueryValidatorSlashesRequest is the request type for the - * Query/ValidatorSlashes RPC method - */ - -export interface QueryValidatorSlashesRequest { - /** validator_address defines the validator address to query for. */ - validatorAddress: string; - /** starting_height defines the optional starting height to query the slashes. */ - - startingHeight: Long; - /** starting_height defines the optional ending height to query the slashes. */ - - endingHeight: Long; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequest; -} -/** - * QueryValidatorSlashesRequest is the request type for the - * Query/ValidatorSlashes RPC method - */ - -export interface QueryValidatorSlashesRequestSDKType { - validator_address: string; - starting_height: Long; - ending_height: Long; - pagination?: PageRequestSDKType; -} -/** - * QueryValidatorSlashesResponse is the response type for the - * Query/ValidatorSlashes RPC method. - */ - -export interface QueryValidatorSlashesResponse { - /** slashes defines the slashes the validator received. */ - slashes: ValidatorSlashEvent[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponse; -} -/** - * QueryValidatorSlashesResponse is the response type for the - * Query/ValidatorSlashes RPC method. - */ - -export interface QueryValidatorSlashesResponseSDKType { - slashes: ValidatorSlashEventSDKType[]; - pagination?: PageResponseSDKType; -} -/** - * QueryDelegationRewardsRequest is the request type for the - * Query/DelegationRewards RPC method. - */ - -export interface QueryDelegationRewardsRequest { - /** delegator_address defines the delegator address to query for. */ - delegatorAddress: string; - /** validator_address defines the validator address to query for. */ - - validatorAddress: string; -} -/** - * QueryDelegationRewardsRequest is the request type for the - * Query/DelegationRewards RPC method. - */ - -export interface QueryDelegationRewardsRequestSDKType { - delegator_address: string; - validator_address: string; -} -/** - * QueryDelegationRewardsResponse is the response type for the - * Query/DelegationRewards RPC method. - */ - -export interface QueryDelegationRewardsResponse { - /** rewards defines the rewards accrued by a delegation. */ - rewards: DecCoin[]; -} -/** - * QueryDelegationRewardsResponse is the response type for the - * Query/DelegationRewards RPC method. - */ - -export interface QueryDelegationRewardsResponseSDKType { - rewards: DecCoinSDKType[]; -} -/** - * QueryDelegationTotalRewardsRequest is the request type for the - * Query/DelegationTotalRewards RPC method. - */ - -export interface QueryDelegationTotalRewardsRequest { - /** delegator_address defines the delegator address to query for. */ - delegatorAddress: string; -} -/** - * QueryDelegationTotalRewardsRequest is the request type for the - * Query/DelegationTotalRewards RPC method. - */ - -export interface QueryDelegationTotalRewardsRequestSDKType { - delegator_address: string; -} -/** - * QueryDelegationTotalRewardsResponse is the response type for the - * Query/DelegationTotalRewards RPC method. - */ - -export interface QueryDelegationTotalRewardsResponse { - /** rewards defines all the rewards accrued by a delegator. */ - rewards: DelegationDelegatorReward[]; - /** total defines the sum of all the rewards. */ - - total: DecCoin[]; -} -/** - * QueryDelegationTotalRewardsResponse is the response type for the - * Query/DelegationTotalRewards RPC method. - */ - -export interface QueryDelegationTotalRewardsResponseSDKType { - rewards: DelegationDelegatorRewardSDKType[]; - total: DecCoinSDKType[]; -} -/** - * QueryDelegatorValidatorsRequest is the request type for the - * Query/DelegatorValidators RPC method. - */ - -export interface QueryDelegatorValidatorsRequest { - /** delegator_address defines the delegator address to query for. */ - delegatorAddress: string; -} -/** - * QueryDelegatorValidatorsRequest is the request type for the - * Query/DelegatorValidators RPC method. - */ - -export interface QueryDelegatorValidatorsRequestSDKType { - delegator_address: string; -} -/** - * QueryDelegatorValidatorsResponse is the response type for the - * Query/DelegatorValidators RPC method. - */ - -export interface QueryDelegatorValidatorsResponse { - /** validators defines the validators a delegator is delegating for. */ - validators: string[]; -} -/** - * QueryDelegatorValidatorsResponse is the response type for the - * Query/DelegatorValidators RPC method. - */ - -export interface QueryDelegatorValidatorsResponseSDKType { - validators: string[]; -} -/** - * QueryDelegatorWithdrawAddressRequest is the request type for the - * Query/DelegatorWithdrawAddress RPC method. - */ - -export interface QueryDelegatorWithdrawAddressRequest { - /** delegator_address defines the delegator address to query for. */ - delegatorAddress: string; -} -/** - * QueryDelegatorWithdrawAddressRequest is the request type for the - * Query/DelegatorWithdrawAddress RPC method. - */ - -export interface QueryDelegatorWithdrawAddressRequestSDKType { - delegator_address: string; -} -/** - * QueryDelegatorWithdrawAddressResponse is the response type for the - * Query/DelegatorWithdrawAddress RPC method. - */ - -export interface QueryDelegatorWithdrawAddressResponse { - /** withdraw_address defines the delegator address to query for. */ - withdrawAddress: string; -} -/** - * QueryDelegatorWithdrawAddressResponse is the response type for the - * Query/DelegatorWithdrawAddress RPC method. - */ - -export interface QueryDelegatorWithdrawAddressResponseSDKType { - withdraw_address: string; -} -/** - * QueryCommunityPoolRequest is the request type for the Query/CommunityPool RPC - * method. - */ - -export interface QueryCommunityPoolRequest {} -/** - * 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: 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(_: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): QueryCommunityPoolResponse { - const message = createBaseQueryCommunityPoolResponse(); - message.pool = object.pool?.map(e => DecCoin.fromPartial(e)) || []; - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/cosmos/distribution/v1beta1/tx.rpc.msg.ts b/packages/codegen/src/cosmos/distribution/v1beta1/tx.rpc.msg.ts deleted file mode 100644 index 64e7e190..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/distribution/v1beta1/tx.ts b/packages/codegen/src/cosmos/distribution/v1beta1/tx.ts deleted file mode 100644 index 182b5b5d..00000000 --- a/packages/codegen/src/cosmos/distribution/v1beta1/tx.ts +++ /dev/null @@ -1,473 +0,0 @@ -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../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 { - 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): MsgFundCommunityPoolResponse { - const message = createBaseMsgFundCommunityPoolResponse(); - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/cosmos/evidence/v1beta1/evidence.ts b/packages/codegen/src/cosmos/evidence/v1beta1/evidence.ts deleted file mode 100644 index 7e804c5d..00000000 --- a/packages/codegen/src/cosmos/evidence/v1beta1/evidence.ts +++ /dev/null @@ -1,100 +0,0 @@ -import { Timestamp } from "../../../google/protobuf/timestamp"; -import { Long, toTimestamp, fromTimestamp, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * Equivocation implements the Evidence interface and defines evidence of double - * signing misbehavior. - */ - -export interface Equivocation { - height: Long; - time?: Date; - power: Long; - consensusAddress: string; -} -/** - * Equivocation implements the Evidence interface and defines evidence of double - * signing misbehavior. - */ - -export interface EquivocationSDKType { - height: Long; - time?: Date; - 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: DeepPartial): 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/packages/codegen/src/cosmos/evidence/v1beta1/genesis.ts b/packages/codegen/src/cosmos/evidence/v1beta1/genesis.ts deleted file mode 100644 index 9409525a..00000000 --- a/packages/codegen/src/cosmos/evidence/v1beta1/genesis.ts +++ /dev/null @@ -1,59 +0,0 @@ -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../helpers"; -/** 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: 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: DeepPartial): GenesisState { - const message = createBaseGenesisState(); - message.evidence = object.evidence?.map(e => Any.fromPartial(e)) || []; - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/cosmos/evidence/v1beta1/query.lcd.ts b/packages/codegen/src/cosmos/evidence/v1beta1/query.lcd.ts deleted file mode 100644 index ff67beab..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/evidence/v1beta1/query.rpc.Query.ts b/packages/codegen/src/cosmos/evidence/v1beta1/query.rpc.Query.ts deleted file mode 100644 index f55807bd..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/evidence/v1beta1/query.ts b/packages/codegen/src/cosmos/evidence/v1beta1/query.ts deleted file mode 100644 index e0b9ccae..00000000 --- a/packages/codegen/src/cosmos/evidence/v1beta1/query.ts +++ /dev/null @@ -1,254 +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"; -import { DeepPartial } from "../../../helpers"; -/** QueryEvidenceRequest is the request type for the Query/Evidence RPC method. */ - -export interface QueryEvidenceRequest { - /** evidence_hash defines the hash of the requested evidence. */ - evidenceHash: Uint8Array; -} -/** QueryEvidenceRequest is the request type for the Query/Evidence RPC method. */ - -export interface QueryEvidenceRequestSDKType { - evidence_hash: Uint8Array; -} -/** QueryEvidenceResponse is the response type for the Query/Evidence RPC method. */ - -export interface QueryEvidenceResponse { - /** evidence returns the requested evidence. */ - evidence?: Any; -} -/** QueryEvidenceResponse is the response type for the Query/Evidence RPC method. */ - -export interface QueryEvidenceResponseSDKType { - evidence?: AnySDKType; -} -/** - * QueryEvidenceRequest is the request type for the Query/AllEvidence RPC - * method. - */ - -export interface QueryAllEvidenceRequest { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest; -} -/** - * QueryEvidenceRequest is the request type for the Query/AllEvidence RPC - * method. - */ - -export interface QueryAllEvidenceRequestSDKType { - pagination?: PageRequestSDKType; -} -/** - * QueryAllEvidenceResponse is the response type for the Query/AllEvidence RPC - * method. - */ - -export interface QueryAllEvidenceResponse { - /** evidence returns all evidences. */ - evidence: Any[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponse; -} -/** - * QueryAllEvidenceResponse is the response type for the Query/AllEvidence RPC - * method. - */ - -export interface QueryAllEvidenceResponseSDKType { - evidence: AnySDKType[]; - pagination?: PageResponseSDKType; -} - -function createBaseQueryEvidenceRequest(): QueryEvidenceRequest { - return { - evidenceHash: new Uint8Array() - }; -} - -export const QueryEvidenceRequest = { - 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmos/evidence/v1beta1/tx.rpc.msg.ts b/packages/codegen/src/cosmos/evidence/v1beta1/tx.rpc.msg.ts deleted file mode 100644 index afd22359..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/evidence/v1beta1/tx.ts b/packages/codegen/src/cosmos/evidence/v1beta1/tx.ts deleted file mode 100644 index 91e09764..00000000 --- a/packages/codegen/src/cosmos/evidence/v1beta1/tx.ts +++ /dev/null @@ -1,132 +0,0 @@ -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../helpers"; -/** - * MsgSubmitEvidence represents a message that supports submitting arbitrary - * Evidence of misbehavior such as equivocation or counterfactual signing. - */ - -export interface MsgSubmitEvidence { - submitter: string; - evidence?: Any; -} -/** - * MsgSubmitEvidence represents a message that supports submitting arbitrary - * Evidence of misbehavior such as equivocation or counterfactual signing. - */ - -export interface MsgSubmitEvidenceSDKType { - submitter: string; - evidence?: AnySDKType; -} -/** 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: 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: DeepPartial): 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: DeepPartial): MsgSubmitEvidenceResponse { - const message = createBaseMsgSubmitEvidenceResponse(); - message.hash = object.hash ?? new Uint8Array(); - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/cosmos/feegrant/v1beta1/feegrant.ts b/packages/codegen/src/cosmos/feegrant/v1beta1/feegrant.ts deleted file mode 100644 index 1b41f358..00000000 --- a/packages/codegen/src/cosmos/feegrant/v1beta1/feegrant.ts +++ /dev/null @@ -1,368 +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, DeepPartial } 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; -} -/** - * 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: CoinSDKType[]; - expiration?: Date; -} -/** - * 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; - /** - * period specifies the time duration in which period_spend_limit coins can - * be spent before that allowance is reset - */ - - period?: Duration; - /** - * period_spend_limit specifies the maximum number of coins that can be spent - * in the period - */ - - periodSpendLimit: Coin[]; - /** period_can_spend is the number of coins left to be spent before the period_reset time */ - - periodCanSpend: Coin[]; - /** - * period_reset is the time at which this period resets and a new one begins, - * it is calculated from the start time of the first transaction after the - * last period ended - */ - - periodReset?: Date; -} -/** - * PeriodicAllowance extends Allowance to allow for both a maximum cap, - * as well as a limit per time period. - */ - -export interface PeriodicAllowanceSDKType { - basic?: BasicAllowanceSDKType; - period?: DurationSDKType; - period_spend_limit: CoinSDKType[]; - period_can_spend: CoinSDKType[]; - period_reset?: Date; -} -/** AllowedMsgAllowance creates allowance only for specified message types. */ - -export interface AllowedMsgAllowance { - /** allowance can be any of basic and periodic fee allowance. */ - allowance?: Any; - /** 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?: AnySDKType; - 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; -} -/** Grant is stored in the KVStore to record a grant with full context */ - -export interface GrantSDKType { - granter: string; - grantee: string; - allowance?: AnySDKType; -} - -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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmos/feegrant/v1beta1/genesis.ts b/packages/codegen/src/cosmos/feegrant/v1beta1/genesis.ts deleted file mode 100644 index 2a4eecde..00000000 --- a/packages/codegen/src/cosmos/feegrant/v1beta1/genesis.ts +++ /dev/null @@ -1,58 +0,0 @@ -import { Grant, GrantSDKType } from "./feegrant"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../helpers"; -/** 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: DeepPartial): GenesisState { - const message = createBaseGenesisState(); - message.allowances = object.allowances?.map(e => Grant.fromPartial(e)) || []; - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/cosmos/feegrant/v1beta1/query.lcd.ts b/packages/codegen/src/cosmos/feegrant/v1beta1/query.lcd.ts deleted file mode 100644 index c486edb7..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/feegrant/v1beta1/query.rpc.Query.ts b/packages/codegen/src/cosmos/feegrant/v1beta1/query.rpc.Query.ts deleted file mode 100644 index a23808dc..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/feegrant/v1beta1/query.ts b/packages/codegen/src/cosmos/feegrant/v1beta1/query.ts deleted file mode 100644 index 8566eec8..00000000 --- a/packages/codegen/src/cosmos/feegrant/v1beta1/query.ts +++ /dev/null @@ -1,408 +0,0 @@ -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../base/query/v1beta1/pagination"; -import { Grant, GrantSDKType } from "./feegrant"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../helpers"; -/** QueryAllowanceRequest is the request type for the Query/Allowance RPC method. */ - -export interface QueryAllowanceRequest { - /** granter is the address of the user granting an allowance of their funds. */ - 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: string; - grantee: string; -} -/** QueryAllowanceResponse is the response type for the Query/Allowance RPC method. */ - -export interface QueryAllowanceResponse { - /** allowance is a allowance granted for grantee by granter. */ - allowance?: Grant; -} -/** QueryAllowanceResponse is the response type for the Query/Allowance RPC method. */ - -export interface QueryAllowanceResponseSDKType { - allowance?: GrantSDKType; -} -/** QueryAllowancesRequest is the request type for the Query/Allowances RPC method. */ - -export interface QueryAllowancesRequest { - grantee: string; - /** pagination defines an pagination for the request. */ - - pagination?: PageRequest; -} -/** QueryAllowancesRequest is the request type for the Query/Allowances RPC method. */ - -export interface QueryAllowancesRequestSDKType { - grantee: string; - pagination?: PageRequestSDKType; -} -/** QueryAllowancesResponse is the response type for the Query/Allowances RPC method. */ - -export interface QueryAllowancesResponse { - /** allowances are allowance's granted for grantee by granter. */ - allowances: Grant[]; - /** pagination defines an pagination for the response. */ - - pagination?: PageResponse; -} -/** QueryAllowancesResponse is the response type for the Query/Allowances RPC method. */ - -export interface QueryAllowancesResponseSDKType { - allowances: GrantSDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryAllowancesByGranterRequest is the request type for the Query/AllowancesByGranter RPC method. */ - -export interface QueryAllowancesByGranterRequest { - granter: string; - /** pagination defines an pagination for the request. */ - - pagination?: PageRequest; -} -/** QueryAllowancesByGranterRequest is the request type for the Query/AllowancesByGranter RPC method. */ - -export interface QueryAllowancesByGranterRequestSDKType { - granter: string; - pagination?: PageRequestSDKType; -} -/** 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; -} -/** QueryAllowancesByGranterResponse is the response type for the Query/AllowancesByGranter RPC method. */ - -export interface QueryAllowancesByGranterResponseSDKType { - allowances: GrantSDKType[]; - pagination?: PageResponseSDKType; -} - -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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmos/feegrant/v1beta1/tx.rpc.msg.ts b/packages/codegen/src/cosmos/feegrant/v1beta1/tx.rpc.msg.ts deleted file mode 100644 index 1bc315e3..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/feegrant/v1beta1/tx.ts b/packages/codegen/src/cosmos/feegrant/v1beta1/tx.ts deleted file mode 100644 index 36b1e000..00000000 --- a/packages/codegen/src/cosmos/feegrant/v1beta1/tx.ts +++ /dev/null @@ -1,243 +0,0 @@ -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../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; -} -/** - * MsgGrantAllowance adds permission for Grantee to spend up to Allowance - * of fees from the account of Granter. - */ - -export interface MsgGrantAllowanceSDKType { - granter: string; - grantee: string; - allowance?: AnySDKType; -} -/** 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: string; - 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): MsgRevokeAllowanceResponse { - const message = createBaseMsgRevokeAllowanceResponse(); - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/cosmos/genutil/v1beta1/genesis.ts b/packages/codegen/src/cosmos/genutil/v1beta1/genesis.ts deleted file mode 100644 index f6926d17..00000000 --- a/packages/codegen/src/cosmos/genutil/v1beta1/genesis.ts +++ /dev/null @@ -1,58 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../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: 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: DeepPartial): GenesisState { - const message = createBaseGenesisState(); - message.genTxs = object.genTxs?.map(e => e) || []; - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/cosmos/gov/v1/genesis.ts b/packages/codegen/src/cosmos/gov/v1/genesis.ts deleted file mode 100644 index 101340fc..00000000 --- a/packages/codegen/src/cosmos/gov/v1/genesis.ts +++ /dev/null @@ -1,143 +0,0 @@ -import { Deposit, DepositSDKType, Vote, VoteSDKType, Proposal, ProposalSDKType, DepositParams, DepositParamsSDKType, VotingParams, VotingParamsSDKType, TallyParams, TallyParamsSDKType } from "./gov"; -import { Long, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** GenesisState defines the gov module's genesis state. */ - -export interface GenesisState { - /** starting_proposal_id is the ID of the starting proposal. */ - startingProposalId: Long; - /** deposits defines all the deposits present at genesis. */ - - deposits: Deposit[]; - /** votes defines all the votes present at genesis. */ - - votes: Vote[]; - /** proposals defines all the proposals present at genesis. */ - - proposals: Proposal[]; - /** params defines all the paramaters of related to deposit. */ - - depositParams?: DepositParams; - /** params defines all the paramaters of related to voting. */ - - votingParams?: VotingParams; - /** params defines all the paramaters of related to tally. */ - - tallyParams?: TallyParams; -} -/** GenesisState defines the gov module's genesis state. */ - -export interface GenesisStateSDKType { - starting_proposal_id: Long; - deposits: DepositSDKType[]; - votes: VoteSDKType[]; - proposals: ProposalSDKType[]; - deposit_params?: DepositParamsSDKType; - voting_params?: VotingParamsSDKType; - tally_params?: TallyParamsSDKType; -} - -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: DeepPartial): 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/packages/codegen/src/cosmos/gov/v1/gov.ts b/packages/codegen/src/cosmos/gov/v1/gov.ts deleted file mode 100644 index 5d9f109d..00000000 --- a/packages/codegen/src/cosmos/gov/v1/gov.ts +++ /dev/null @@ -1,903 +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 { DeepPartial, 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, -} -export const VoteOptionSDKType = VoteOption; -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, -} -export const ProposalStatusSDKType = ProposalStatus; -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: 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[]; -} -/** - * Deposit defines an amount deposited by an account address to an active - * proposal. - */ - -export interface DepositSDKType { - proposal_id: Long; - depositor: string; - amount: CoinSDKType[]; -} -/** Proposal defines the core field members of a governance proposal. */ - -export interface Proposal { - id: Long; - messages: Any[]; - status: ProposalStatus; - /** - * final_tally_result is the final tally result of the proposal. When - * querying a proposal via gRPC, this field is not populated until the - * proposal's voting period has ended. - */ - - finalTallyResult?: TallyResult; - submitTime?: Date; - depositEndTime?: Date; - totalDeposit: Coin[]; - votingStartTime?: Date; - votingEndTime?: Date; - /** 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: ProposalStatus; - final_tally_result?: TallyResultSDKType; - submit_time?: Date; - deposit_end_time?: Date; - total_deposit: CoinSDKType[]; - voting_start_time?: Date; - voting_end_time?: Date; - 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: 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; -} -/** DepositParams defines the params for deposits on governance proposals. */ - -export interface DepositParamsSDKType { - min_deposit: CoinSDKType[]; - max_deposit_period?: DurationSDKType; -} -/** VotingParams defines the params for voting on governance proposals. */ - -export interface VotingParams { - /** Length of the voting period. */ - votingPeriod?: Duration; -} -/** VotingParams defines the params for voting on governance proposals. */ - -export interface VotingParamsSDKType { - voting_period?: DurationSDKType; -} -/** TallyParams defines the params for tallying votes on governance proposals. */ - -export interface TallyParams { - /** - * Minimum percentage of total stake needed to vote for a result to be - * considered valid. - */ - quorum: string; - /** Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. */ - - threshold: string; - /** - * Minimum value of Veto votes to Total votes ratio for proposal to be - * vetoed. Default value: 1/3. - */ - - vetoThreshold: string; -} -/** TallyParams defines the params for tallying votes on governance proposals. */ - -export interface TallyParamsSDKType { - quorum: string; - threshold: string; - 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmos/gov/v1/query.lcd.ts b/packages/codegen/src/cosmos/gov/v1/query.lcd.ts deleted file mode 100644 index c9d07eb7..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/gov/v1/query.rpc.Query.ts b/packages/codegen/src/cosmos/gov/v1/query.rpc.Query.ts deleted file mode 100644 index 35784235..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/gov/v1/query.ts b/packages/codegen/src/cosmos/gov/v1/query.ts deleted file mode 100644 index b1fcdd61..00000000 --- a/packages/codegen/src/cosmos/gov/v1/query.ts +++ /dev/null @@ -1,1074 +0,0 @@ -import { ProposalStatus, 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 { Long, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** QueryProposalRequest is the request type for the Query/Proposal RPC method. */ - -export interface QueryProposalRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; -} -/** QueryProposalRequest is the request type for the Query/Proposal RPC method. */ - -export interface QueryProposalRequestSDKType { - proposal_id: Long; -} -/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ - -export interface QueryProposalResponse { - proposal?: Proposal; -} -/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ - -export interface QueryProposalResponseSDKType { - proposal?: ProposalSDKType; -} -/** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */ - -export interface QueryProposalsRequest { - /** proposal_status defines the status of the proposals. */ - proposalStatus: ProposalStatus; - /** voter defines the voter address for the proposals. */ - - voter: string; - /** depositor defines the deposit addresses from the proposals. */ - - depositor: string; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequest; -} -/** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */ - -export interface QueryProposalsRequestSDKType { - proposal_status: ProposalStatus; - voter: string; - depositor: string; - pagination?: PageRequestSDKType; -} -/** - * QueryProposalsResponse is the response type for the Query/Proposals RPC - * method. - */ - -export interface QueryProposalsResponse { - proposals: Proposal[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponse; -} -/** - * QueryProposalsResponse is the response type for the Query/Proposals RPC - * method. - */ - -export interface QueryProposalsResponseSDKType { - proposals: ProposalSDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryVoteRequest is the request type for the Query/Vote RPC method. */ - -export interface QueryVoteRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; - /** voter defines the oter address for the proposals. */ - - voter: string; -} -/** QueryVoteRequest is the request type for the Query/Vote RPC method. */ - -export interface QueryVoteRequestSDKType { - proposal_id: Long; - voter: string; -} -/** QueryVoteResponse is the response type for the Query/Vote RPC method. */ - -export interface QueryVoteResponse { - /** vote defined the queried vote. */ - vote?: Vote; -} -/** QueryVoteResponse is the response type for the Query/Vote RPC method. */ - -export interface QueryVoteResponseSDKType { - vote?: VoteSDKType; -} -/** QueryVotesRequest is the request type for the Query/Votes RPC method. */ - -export interface QueryVotesRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequest; -} -/** QueryVotesRequest is the request type for the Query/Votes RPC method. */ - -export interface QueryVotesRequestSDKType { - proposal_id: Long; - pagination?: PageRequestSDKType; -} -/** QueryVotesResponse is the response type for the Query/Votes RPC method. */ - -export interface QueryVotesResponse { - /** votes defined the queried votes. */ - votes: Vote[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponse; -} -/** QueryVotesResponse is the response type for the Query/Votes RPC method. */ - -export interface QueryVotesResponseSDKType { - votes: VoteSDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ - -export interface QueryParamsRequest { - /** - * params_type defines which parameters to query for, can be one of "voting", - * "tallying" or "deposit". - */ - paramsType: string; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ - -export interface QueryParamsRequestSDKType { - params_type: string; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ - -export interface QueryParamsResponse { - /** voting_params defines the parameters related to voting. */ - votingParams?: VotingParams; - /** deposit_params defines the parameters related to deposit. */ - - depositParams?: DepositParams; - /** tally_params defines the parameters related to tally. */ - - tallyParams?: TallyParams; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ - -export interface QueryParamsResponseSDKType { - voting_params?: VotingParamsSDKType; - deposit_params?: DepositParamsSDKType; - tally_params?: TallyParamsSDKType; -} -/** QueryDepositRequest is the request type for the Query/Deposit RPC method. */ - -export interface QueryDepositRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; - /** depositor defines the deposit addresses from the proposals. */ - - depositor: string; -} -/** QueryDepositRequest is the request type for the Query/Deposit RPC method. */ - -export interface QueryDepositRequestSDKType { - proposal_id: Long; - depositor: string; -} -/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ - -export interface QueryDepositResponse { - /** deposit defines the requested deposit. */ - deposit?: Deposit; -} -/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ - -export interface QueryDepositResponseSDKType { - deposit?: DepositSDKType; -} -/** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */ - -export interface QueryDepositsRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequest; -} -/** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */ - -export interface QueryDepositsRequestSDKType { - proposal_id: Long; - pagination?: PageRequestSDKType; -} -/** QueryDepositsResponse is the response type for the Query/Deposits RPC method. */ - -export interface QueryDepositsResponse { - deposits: Deposit[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponse; -} -/** QueryDepositsResponse is the response type for the Query/Deposits RPC method. */ - -export interface QueryDepositsResponseSDKType { - deposits: DepositSDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryTallyResultRequest is the request type for the Query/Tally RPC method. */ - -export interface QueryTallyResultRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; -} -/** QueryTallyResultRequest is the request type for the Query/Tally RPC method. */ - -export interface QueryTallyResultRequestSDKType { - proposal_id: Long; -} -/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ - -export interface QueryTallyResultResponse { - /** tally defines the requested tally. */ - tally?: TallyResult; -} -/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ - -export interface QueryTallyResultResponseSDKType { - tally?: TallyResultSDKType; -} - -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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmos/gov/v1/tx.rpc.msg.ts b/packages/codegen/src/cosmos/gov/v1/tx.rpc.msg.ts deleted file mode 100644 index 2bd32ee2..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/gov/v1/tx.ts b/packages/codegen/src/cosmos/gov/v1/tx.ts deleted file mode 100644 index f5f3b511..00000000 --- a/packages/codegen/src/cosmos/gov/v1/tx.ts +++ /dev/null @@ -1,656 +0,0 @@ -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import { VoteOption, WeightedVoteOption, WeightedVoteOptionSDKType } from "./gov"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, 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: 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; - /** 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?: AnySDKType; - 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: VoteOption; - 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): MsgDepositResponse { - const message = createBaseMsgDepositResponse(); - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/cosmos/gov/v1beta1/genesis.ts b/packages/codegen/src/cosmos/gov/v1beta1/genesis.ts deleted file mode 100644 index 101340fc..00000000 --- a/packages/codegen/src/cosmos/gov/v1beta1/genesis.ts +++ /dev/null @@ -1,143 +0,0 @@ -import { Deposit, DepositSDKType, Vote, VoteSDKType, Proposal, ProposalSDKType, DepositParams, DepositParamsSDKType, VotingParams, VotingParamsSDKType, TallyParams, TallyParamsSDKType } from "./gov"; -import { Long, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** GenesisState defines the gov module's genesis state. */ - -export interface GenesisState { - /** starting_proposal_id is the ID of the starting proposal. */ - startingProposalId: Long; - /** deposits defines all the deposits present at genesis. */ - - deposits: Deposit[]; - /** votes defines all the votes present at genesis. */ - - votes: Vote[]; - /** proposals defines all the proposals present at genesis. */ - - proposals: Proposal[]; - /** params defines all the paramaters of related to deposit. */ - - depositParams?: DepositParams; - /** params defines all the paramaters of related to voting. */ - - votingParams?: VotingParams; - /** params defines all the paramaters of related to tally. */ - - tallyParams?: TallyParams; -} -/** GenesisState defines the gov module's genesis state. */ - -export interface GenesisStateSDKType { - starting_proposal_id: Long; - deposits: DepositSDKType[]; - votes: VoteSDKType[]; - proposals: ProposalSDKType[]; - deposit_params?: DepositParamsSDKType; - voting_params?: VotingParamsSDKType; - tally_params?: TallyParamsSDKType; -} - -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: DeepPartial): 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/packages/codegen/src/cosmos/gov/v1beta1/gov.ts b/packages/codegen/src/cosmos/gov/v1beta1/gov.ts deleted file mode 100644 index ef121c80..00000000 --- a/packages/codegen/src/cosmos/gov/v1beta1/gov.ts +++ /dev/null @@ -1,980 +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 { DeepPartial, 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, -} -export const VoteOptionSDKType = VoteOption; -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, -} -export const ProposalStatusSDKType = ProposalStatus; -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: 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; -} -/** - * 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; - status: ProposalStatus; - /** - * final_tally_result is the final tally result of the proposal. When - * querying a proposal via gRPC, this field is not populated until the - * proposal's voting period has ended. - */ - - finalTallyResult?: TallyResult; - submitTime?: Date; - depositEndTime?: Date; - totalDeposit: Coin[]; - votingStartTime?: Date; - votingEndTime?: Date; -} -/** Proposal defines the core field members of a governance proposal. */ - -export interface ProposalSDKType { - proposal_id: Long; - content?: AnySDKType; - status: ProposalStatus; - final_tally_result?: TallyResultSDKType; - submit_time?: Date; - deposit_end_time?: Date; - total_deposit: CoinSDKType[]; - voting_start_time?: Date; - voting_end_time?: Date; -} -/** 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 */ - - option: VoteOption; - options: WeightedVoteOptionSDKType[]; -} -/** DepositParams defines the params for deposits on governance proposals. */ - -export interface DepositParams { - /** Minimum deposit for a proposal to enter voting period. */ - minDeposit: Coin[]; - /** - * Maximum period for Atom holders to deposit on a proposal. Initial value: 2 - * months. - */ - - maxDepositPeriod?: Duration; -} -/** DepositParams defines the params for deposits on governance proposals. */ - -export interface DepositParamsSDKType { - min_deposit: CoinSDKType[]; - max_deposit_period?: DurationSDKType; -} -/** VotingParams defines the params for voting on governance proposals. */ - -export interface VotingParams { - /** Length of the voting period. */ - votingPeriod?: Duration; -} -/** VotingParams defines the params for voting on governance proposals. */ - -export interface VotingParamsSDKType { - voting_period?: DurationSDKType; -} -/** TallyParams defines the params for tallying votes on governance proposals. */ - -export interface TallyParams { - /** - * Minimum percentage of total stake needed to vote for a result to be - * considered valid. - */ - quorum: Uint8Array; - /** Minimum proportion of Yes votes for proposal to pass. Default value: 0.5. */ - - threshold: Uint8Array; - /** - * Minimum value of Veto votes to Total votes ratio for proposal to be - * vetoed. Default value: 1/3. - */ - - vetoThreshold: Uint8Array; -} -/** TallyParams defines the params for tallying votes on governance proposals. */ - -export interface TallyParamsSDKType { - quorum: Uint8Array; - threshold: Uint8Array; - 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmos/gov/v1beta1/query.lcd.ts b/packages/codegen/src/cosmos/gov/v1beta1/query.lcd.ts deleted file mode 100644 index 1210dbdd..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/gov/v1beta1/query.rpc.Query.ts b/packages/codegen/src/cosmos/gov/v1beta1/query.rpc.Query.ts deleted file mode 100644 index 246d7da9..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/gov/v1beta1/query.ts b/packages/codegen/src/cosmos/gov/v1beta1/query.ts deleted file mode 100644 index b1fcdd61..00000000 --- a/packages/codegen/src/cosmos/gov/v1beta1/query.ts +++ /dev/null @@ -1,1074 +0,0 @@ -import { ProposalStatus, 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 { Long, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** QueryProposalRequest is the request type for the Query/Proposal RPC method. */ - -export interface QueryProposalRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; -} -/** QueryProposalRequest is the request type for the Query/Proposal RPC method. */ - -export interface QueryProposalRequestSDKType { - proposal_id: Long; -} -/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ - -export interface QueryProposalResponse { - proposal?: Proposal; -} -/** QueryProposalResponse is the response type for the Query/Proposal RPC method. */ - -export interface QueryProposalResponseSDKType { - proposal?: ProposalSDKType; -} -/** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */ - -export interface QueryProposalsRequest { - /** proposal_status defines the status of the proposals. */ - proposalStatus: ProposalStatus; - /** voter defines the voter address for the proposals. */ - - voter: string; - /** depositor defines the deposit addresses from the proposals. */ - - depositor: string; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequest; -} -/** QueryProposalsRequest is the request type for the Query/Proposals RPC method. */ - -export interface QueryProposalsRequestSDKType { - proposal_status: ProposalStatus; - voter: string; - depositor: string; - pagination?: PageRequestSDKType; -} -/** - * QueryProposalsResponse is the response type for the Query/Proposals RPC - * method. - */ - -export interface QueryProposalsResponse { - proposals: Proposal[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponse; -} -/** - * QueryProposalsResponse is the response type for the Query/Proposals RPC - * method. - */ - -export interface QueryProposalsResponseSDKType { - proposals: ProposalSDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryVoteRequest is the request type for the Query/Vote RPC method. */ - -export interface QueryVoteRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; - /** voter defines the oter address for the proposals. */ - - voter: string; -} -/** QueryVoteRequest is the request type for the Query/Vote RPC method. */ - -export interface QueryVoteRequestSDKType { - proposal_id: Long; - voter: string; -} -/** QueryVoteResponse is the response type for the Query/Vote RPC method. */ - -export interface QueryVoteResponse { - /** vote defined the queried vote. */ - vote?: Vote; -} -/** QueryVoteResponse is the response type for the Query/Vote RPC method. */ - -export interface QueryVoteResponseSDKType { - vote?: VoteSDKType; -} -/** QueryVotesRequest is the request type for the Query/Votes RPC method. */ - -export interface QueryVotesRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequest; -} -/** QueryVotesRequest is the request type for the Query/Votes RPC method. */ - -export interface QueryVotesRequestSDKType { - proposal_id: Long; - pagination?: PageRequestSDKType; -} -/** QueryVotesResponse is the response type for the Query/Votes RPC method. */ - -export interface QueryVotesResponse { - /** votes defined the queried votes. */ - votes: Vote[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponse; -} -/** QueryVotesResponse is the response type for the Query/Votes RPC method. */ - -export interface QueryVotesResponseSDKType { - votes: VoteSDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ - -export interface QueryParamsRequest { - /** - * params_type defines which parameters to query for, can be one of "voting", - * "tallying" or "deposit". - */ - paramsType: string; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ - -export interface QueryParamsRequestSDKType { - params_type: string; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ - -export interface QueryParamsResponse { - /** voting_params defines the parameters related to voting. */ - votingParams?: VotingParams; - /** deposit_params defines the parameters related to deposit. */ - - depositParams?: DepositParams; - /** tally_params defines the parameters related to tally. */ - - tallyParams?: TallyParams; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ - -export interface QueryParamsResponseSDKType { - voting_params?: VotingParamsSDKType; - deposit_params?: DepositParamsSDKType; - tally_params?: TallyParamsSDKType; -} -/** QueryDepositRequest is the request type for the Query/Deposit RPC method. */ - -export interface QueryDepositRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; - /** depositor defines the deposit addresses from the proposals. */ - - depositor: string; -} -/** QueryDepositRequest is the request type for the Query/Deposit RPC method. */ - -export interface QueryDepositRequestSDKType { - proposal_id: Long; - depositor: string; -} -/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ - -export interface QueryDepositResponse { - /** deposit defines the requested deposit. */ - deposit?: Deposit; -} -/** QueryDepositResponse is the response type for the Query/Deposit RPC method. */ - -export interface QueryDepositResponseSDKType { - deposit?: DepositSDKType; -} -/** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */ - -export interface QueryDepositsRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequest; -} -/** QueryDepositsRequest is the request type for the Query/Deposits RPC method. */ - -export interface QueryDepositsRequestSDKType { - proposal_id: Long; - pagination?: PageRequestSDKType; -} -/** QueryDepositsResponse is the response type for the Query/Deposits RPC method. */ - -export interface QueryDepositsResponse { - deposits: Deposit[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponse; -} -/** QueryDepositsResponse is the response type for the Query/Deposits RPC method. */ - -export interface QueryDepositsResponseSDKType { - deposits: DepositSDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryTallyResultRequest is the request type for the Query/Tally RPC method. */ - -export interface QueryTallyResultRequest { - /** proposal_id defines the unique id of the proposal. */ - proposalId: Long; -} -/** QueryTallyResultRequest is the request type for the Query/Tally RPC method. */ - -export interface QueryTallyResultRequestSDKType { - proposal_id: Long; -} -/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ - -export interface QueryTallyResultResponse { - /** tally defines the requested tally. */ - tally?: TallyResult; -} -/** QueryTallyResultResponse is the response type for the Query/Tally RPC method. */ - -export interface QueryTallyResultResponseSDKType { - tally?: TallyResultSDKType; -} - -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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmos/gov/v1beta1/tx.rpc.msg.ts b/packages/codegen/src/cosmos/gov/v1beta1/tx.rpc.msg.ts deleted file mode 100644 index 4e4cc252..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/gov/v1beta1/tx.ts b/packages/codegen/src/cosmos/gov/v1beta1/tx.ts deleted file mode 100644 index c89eef26..00000000 --- a/packages/codegen/src/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, WeightedVoteOption, WeightedVoteOptionSDKType } from "./gov"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, Long } from "../../../helpers"; -/** - * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary - * proposal Content. - */ - -export interface MsgSubmitProposal { - content?: Any; - initialDeposit: Coin[]; - proposer: string; -} -/** - * MsgSubmitProposal defines an sdk.Msg type that supports submitting arbitrary - * proposal Content. - */ - -export interface MsgSubmitProposalSDKType { - content?: AnySDKType; - 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: VoteOption; -} -/** 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): MsgDepositResponse { - const message = createBaseMsgDepositResponse(); - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/cosmos/group/v1/events.ts b/packages/codegen/src/cosmos/group/v1/events.ts deleted file mode 100644 index 34f5a304..00000000 --- a/packages/codegen/src/cosmos/group/v1/events.ts +++ /dev/null @@ -1,535 +0,0 @@ -import { ProposalExecutorResult } from "./types"; -import { Long, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** EventCreateGroup is an event emitted when a group is created. */ - -export interface EventCreateGroup { - /** group_id is the unique ID of the group. */ - groupId: Long; -} -/** EventCreateGroup is an event emitted when a group is created. */ - -export interface EventCreateGroupSDKType { - group_id: Long; -} -/** EventUpdateGroup is an event emitted when a group is updated. */ - -export interface EventUpdateGroup { - /** group_id is the unique ID of the group. */ - groupId: Long; -} -/** EventUpdateGroup is an event emitted when a group is updated. */ - -export interface EventUpdateGroupSDKType { - group_id: Long; -} -/** EventCreateGroupPolicy is an event emitted when a group policy is created. */ - -export interface EventCreateGroupPolicy { - /** address is the account address of the group policy. */ - address: string; -} -/** EventCreateGroupPolicy is an event emitted when a group policy is created. */ - -export interface EventCreateGroupPolicySDKType { - address: string; -} -/** EventUpdateGroupPolicy is an event emitted when a group policy is updated. */ - -export interface EventUpdateGroupPolicy { - /** address is the account address of the group policy. */ - address: string; -} -/** EventUpdateGroupPolicy is an event emitted when a group policy is updated. */ - -export interface EventUpdateGroupPolicySDKType { - address: string; -} -/** EventSubmitProposal is an event emitted when a proposal is created. */ - -export interface EventSubmitProposal { - /** proposal_id is the unique ID of the proposal. */ - proposalId: Long; -} -/** EventSubmitProposal is an event emitted when a proposal is created. */ - -export interface EventSubmitProposalSDKType { - proposal_id: Long; -} -/** EventWithdrawProposal is an event emitted when a proposal is withdrawn. */ - -export interface EventWithdrawProposal { - /** proposal_id is the unique ID of the proposal. */ - proposalId: Long; -} -/** EventWithdrawProposal is an event emitted when a proposal is withdrawn. */ - -export interface EventWithdrawProposalSDKType { - proposal_id: Long; -} -/** EventVote is an event emitted when a voter votes on a proposal. */ - -export interface EventVote { - /** proposal_id is the unique ID of the proposal. */ - proposalId: Long; -} -/** EventVote is an event emitted when a voter votes on a proposal. */ - -export interface EventVoteSDKType { - proposal_id: Long; -} -/** EventExec is an event emitted when a proposal is executed. */ - -export interface EventExec { - /** proposal_id is the unique ID of the proposal. */ - proposalId: Long; - /** result is the proposal execution result. */ - - result: ProposalExecutorResult; -} -/** EventExec is an event emitted when a proposal is executed. */ - -export interface EventExecSDKType { - proposal_id: Long; - 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; -} -/** EventLeaveGroup is an event emitted when group member leaves the group. */ - -export interface EventLeaveGroupSDKType { - group_id: Long; - 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmos/group/v1/genesis.ts b/packages/codegen/src/cosmos/group/v1/genesis.ts deleted file mode 100644 index 290cc51c..00000000 --- a/packages/codegen/src/cosmos/group/v1/genesis.ts +++ /dev/null @@ -1,166 +0,0 @@ -import { GroupInfo, GroupInfoSDKType, GroupMember, GroupMemberSDKType, GroupPolicyInfo, GroupPolicyInfoSDKType, Proposal, ProposalSDKType, Vote, VoteSDKType } from "./types"; -import { Long, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** GenesisState defines the group module's genesis state. */ - -export interface GenesisState { - /** - * group_seq is the group table orm.Sequence, - * it is used to get the next group ID. - */ - groupSeq: Long; - /** groups is the list of groups info. */ - - groups: GroupInfo[]; - /** group_members is the list of groups members. */ - - groupMembers: GroupMember[]; - /** - * group_policy_seq is the group policy table orm.Sequence, - * it is used to generate the next group policy account address. - */ - - groupPolicySeq: Long; - /** group_policies is the list of group policies info. */ - - groupPolicies: GroupPolicyInfo[]; - /** - * proposal_seq is the proposal table orm.Sequence, - * it is used to get the next proposal ID. - */ - - proposalSeq: Long; - /** proposals is the list of proposals. */ - - proposals: Proposal[]; - /** votes is the list of votes. */ - - votes: Vote[]; -} -/** GenesisState defines the group module's genesis state. */ - -export interface GenesisStateSDKType { - group_seq: Long; - groups: GroupInfoSDKType[]; - group_members: GroupMemberSDKType[]; - group_policy_seq: Long; - group_policies: GroupPolicyInfoSDKType[]; - proposal_seq: Long; - proposals: ProposalSDKType[]; - votes: VoteSDKType[]; -} - -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: DeepPartial): 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/packages/codegen/src/cosmos/group/v1/query.lcd.ts b/packages/codegen/src/cosmos/group/v1/query.lcd.ts deleted file mode 100644 index dae3205d..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/group/v1/query.rpc.Query.ts b/packages/codegen/src/cosmos/group/v1/query.rpc.Query.ts deleted file mode 100644 index 27d76df9..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/group/v1/query.ts b/packages/codegen/src/cosmos/group/v1/query.ts deleted file mode 100644 index b3069e80..00000000 --- a/packages/codegen/src/cosmos/group/v1/query.ts +++ /dev/null @@ -1,1698 +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 { Long, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** QueryGroupInfoRequest is the Query/GroupInfo request type. */ - -export interface QueryGroupInfoRequest { - /** group_id is the unique ID of the group. */ - groupId: Long; -} -/** QueryGroupInfoRequest is the Query/GroupInfo request type. */ - -export interface QueryGroupInfoRequestSDKType { - group_id: Long; -} -/** QueryGroupInfoResponse is the Query/GroupInfo response type. */ - -export interface QueryGroupInfoResponse { - /** info is the GroupInfo for the group. */ - info?: GroupInfo; -} -/** QueryGroupInfoResponse is the Query/GroupInfo response type. */ - -export interface QueryGroupInfoResponseSDKType { - info?: GroupInfoSDKType; -} -/** QueryGroupPolicyInfoRequest is the Query/GroupPolicyInfo request type. */ - -export interface QueryGroupPolicyInfoRequest { - /** address is the account address of the group policy. */ - address: string; -} -/** QueryGroupPolicyInfoRequest is the Query/GroupPolicyInfo request type. */ - -export interface QueryGroupPolicyInfoRequestSDKType { - address: string; -} -/** QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response type. */ - -export interface QueryGroupPolicyInfoResponse { - /** info is the GroupPolicyInfo for the group policy. */ - info?: GroupPolicyInfo; -} -/** QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response type. */ - -export interface QueryGroupPolicyInfoResponseSDKType { - info?: GroupPolicyInfoSDKType; -} -/** QueryGroupMembersRequest is the Query/GroupMembers request type. */ - -export interface QueryGroupMembersRequest { - /** group_id is the unique ID of the group. */ - groupId: Long; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequest; -} -/** QueryGroupMembersRequest is the Query/GroupMembers request type. */ - -export interface QueryGroupMembersRequestSDKType { - group_id: Long; - pagination?: PageRequestSDKType; -} -/** QueryGroupMembersResponse is the Query/GroupMembersResponse response type. */ - -export interface QueryGroupMembersResponse { - /** members are the members of the group with given group_id. */ - members: GroupMember[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponse; -} -/** QueryGroupMembersResponse is the Query/GroupMembersResponse response type. */ - -export interface QueryGroupMembersResponseSDKType { - members: GroupMemberSDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryGroupsByAdminRequest is the Query/GroupsByAdmin request type. */ - -export interface QueryGroupsByAdminRequest { - /** admin is the account address of a group's admin. */ - admin: string; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequest; -} -/** QueryGroupsByAdminRequest is the Query/GroupsByAdmin request type. */ - -export interface QueryGroupsByAdminRequestSDKType { - admin: string; - pagination?: PageRequestSDKType; -} -/** QueryGroupsByAdminResponse is the Query/GroupsByAdminResponse response type. */ - -export interface QueryGroupsByAdminResponse { - /** groups are the groups info with the provided admin. */ - groups: GroupInfo[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponse; -} -/** QueryGroupsByAdminResponse is the Query/GroupsByAdminResponse response type. */ - -export interface QueryGroupsByAdminResponseSDKType { - groups: GroupInfoSDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryGroupPoliciesByGroupRequest is the Query/GroupPoliciesByGroup request type. */ - -export interface QueryGroupPoliciesByGroupRequest { - /** group_id is the unique ID of the group policy's group. */ - groupId: Long; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequest; -} -/** QueryGroupPoliciesByGroupRequest is the Query/GroupPoliciesByGroup request type. */ - -export interface QueryGroupPoliciesByGroupRequestSDKType { - group_id: Long; - pagination?: PageRequestSDKType; -} -/** QueryGroupPoliciesByGroupResponse is the Query/GroupPoliciesByGroup response type. */ - -export interface QueryGroupPoliciesByGroupResponse { - /** group_policies are the group policies info associated with the provided group. */ - groupPolicies: GroupPolicyInfo[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponse; -} -/** QueryGroupPoliciesByGroupResponse is the Query/GroupPoliciesByGroup response type. */ - -export interface QueryGroupPoliciesByGroupResponseSDKType { - group_policies: GroupPolicyInfoSDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryGroupPoliciesByAdminRequest is the Query/GroupPoliciesByAdmin request type. */ - -export interface QueryGroupPoliciesByAdminRequest { - /** admin is the admin address of the group policy. */ - admin: string; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequest; -} -/** QueryGroupPoliciesByAdminRequest is the Query/GroupPoliciesByAdmin request type. */ - -export interface QueryGroupPoliciesByAdminRequestSDKType { - admin: string; - pagination?: PageRequestSDKType; -} -/** QueryGroupPoliciesByAdminResponse is the Query/GroupPoliciesByAdmin response type. */ - -export interface QueryGroupPoliciesByAdminResponse { - /** group_policies are the group policies info with provided admin. */ - groupPolicies: GroupPolicyInfo[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponse; -} -/** QueryGroupPoliciesByAdminResponse is the Query/GroupPoliciesByAdmin response type. */ - -export interface QueryGroupPoliciesByAdminResponseSDKType { - group_policies: GroupPolicyInfoSDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryProposalRequest is the Query/Proposal request type. */ - -export interface QueryProposalRequest { - /** proposal_id is the unique ID of a proposal. */ - proposalId: Long; -} -/** QueryProposalRequest is the Query/Proposal request type. */ - -export interface QueryProposalRequestSDKType { - proposal_id: Long; -} -/** QueryProposalResponse is the Query/Proposal response type. */ - -export interface QueryProposalResponse { - /** proposal is the proposal info. */ - proposal?: Proposal; -} -/** QueryProposalResponse is the Query/Proposal response type. */ - -export interface QueryProposalResponseSDKType { - proposal?: ProposalSDKType; -} -/** QueryProposalsByGroupPolicyRequest is the Query/ProposalByGroupPolicy request type. */ - -export interface QueryProposalsByGroupPolicyRequest { - /** address is the account address of the group policy related to proposals. */ - address: string; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequest; -} -/** QueryProposalsByGroupPolicyRequest is the Query/ProposalByGroupPolicy request type. */ - -export interface QueryProposalsByGroupPolicyRequestSDKType { - address: string; - pagination?: PageRequestSDKType; -} -/** QueryProposalsByGroupPolicyResponse is the Query/ProposalByGroupPolicy response type. */ - -export interface QueryProposalsByGroupPolicyResponse { - /** proposals are the proposals with given group policy. */ - proposals: Proposal[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponse; -} -/** QueryProposalsByGroupPolicyResponse is the Query/ProposalByGroupPolicy response type. */ - -export interface QueryProposalsByGroupPolicyResponseSDKType { - proposals: ProposalSDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryVoteByProposalVoterRequest is the Query/VoteByProposalVoter request type. */ - -export interface QueryVoteByProposalVoterRequest { - /** proposal_id is the unique ID of a proposal. */ - proposalId: Long; - /** voter is a proposal voter account address. */ - - voter: string; -} -/** QueryVoteByProposalVoterRequest is the Query/VoteByProposalVoter request type. */ - -export interface QueryVoteByProposalVoterRequestSDKType { - proposal_id: Long; - voter: string; -} -/** QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter response type. */ - -export interface QueryVoteByProposalVoterResponse { - /** vote is the vote with given proposal_id and voter. */ - vote?: Vote; -} -/** QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter response type. */ - -export interface QueryVoteByProposalVoterResponseSDKType { - vote?: VoteSDKType; -} -/** QueryVotesByProposalRequest is the Query/VotesByProposal request type. */ - -export interface QueryVotesByProposalRequest { - /** proposal_id is the unique ID of a proposal. */ - proposalId: Long; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequest; -} -/** QueryVotesByProposalRequest is the Query/VotesByProposal request type. */ - -export interface QueryVotesByProposalRequestSDKType { - proposal_id: Long; - pagination?: PageRequestSDKType; -} -/** QueryVotesByProposalResponse is the Query/VotesByProposal response type. */ - -export interface QueryVotesByProposalResponse { - /** votes are the list of votes for given proposal_id. */ - votes: Vote[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponse; -} -/** QueryVotesByProposalResponse is the Query/VotesByProposal response type. */ - -export interface QueryVotesByProposalResponseSDKType { - votes: VoteSDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryVotesByVoterRequest is the Query/VotesByVoter request type. */ - -export interface QueryVotesByVoterRequest { - /** voter is a proposal voter account address. */ - voter: string; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequest; -} -/** QueryVotesByVoterRequest is the Query/VotesByVoter request type. */ - -export interface QueryVotesByVoterRequestSDKType { - voter: string; - pagination?: PageRequestSDKType; -} -/** QueryVotesByVoterResponse is the Query/VotesByVoter response type. */ - -export interface QueryVotesByVoterResponse { - /** votes are the list of votes by given voter. */ - votes: Vote[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponse; -} -/** QueryVotesByVoterResponse is the Query/VotesByVoter response type. */ - -export interface QueryVotesByVoterResponseSDKType { - votes: VoteSDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryGroupsByMemberRequest is the Query/GroupsByMember request type. */ - -export interface QueryGroupsByMemberRequest { - /** address is the group member address. */ - address: string; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequest; -} -/** QueryGroupsByMemberRequest is the Query/GroupsByMember request type. */ - -export interface QueryGroupsByMemberRequestSDKType { - address: string; - pagination?: PageRequestSDKType; -} -/** QueryGroupsByMemberResponse is the Query/GroupsByMember response type. */ - -export interface QueryGroupsByMemberResponse { - /** groups are the groups info with the provided group member. */ - groups: GroupInfo[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponse; -} -/** QueryGroupsByMemberResponse is the Query/GroupsByMember response type. */ - -export interface QueryGroupsByMemberResponseSDKType { - groups: GroupInfoSDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryTallyResultRequest is the Query/TallyResult request type. */ - -export interface QueryTallyResultRequest { - /** proposal_id is the unique id of a proposal. */ - proposalId: Long; -} -/** QueryTallyResultRequest is the Query/TallyResult request type. */ - -export interface QueryTallyResultRequestSDKType { - proposal_id: Long; -} -/** QueryTallyResultResponse is the Query/TallyResult response type. */ - -export interface QueryTallyResultResponse { - /** tally defines the requested tally. */ - tally?: TallyResult; -} -/** QueryTallyResultResponse is the Query/TallyResult response type. */ - -export interface QueryTallyResultResponseSDKType { - tally?: TallyResultSDKType; -} - -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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmos/group/v1/tx.rpc.msg.ts b/packages/codegen/src/cosmos/group/v1/tx.rpc.msg.ts deleted file mode 100644 index b921d00c..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/group/v1/tx.ts b/packages/codegen/src/cosmos/group/v1/tx.ts deleted file mode 100644 index f37265df..00000000 --- a/packages/codegen/src/cosmos/group/v1/tx.ts +++ /dev/null @@ -1,1949 +0,0 @@ -import { Member, MemberSDKType, VoteOption } from "./types"; -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, 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, -} -export const ExecSDKType = Exec; -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: string; - members: MemberSDKType[]; - 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: 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: string; - group_id: Long; - 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: string; - group_id: Long; - 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: string; - group_id: Long; - 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; -} -/** MsgCreateGroupPolicy is the Msg/CreateGroupPolicy request type. */ - -export interface MsgCreateGroupPolicySDKType { - admin: string; - group_id: Long; - metadata: string; - decision_policy?: AnySDKType; -} -/** 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: 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: string; - address: string; - 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; -} -/** MsgCreateGroupWithPolicy is the Msg/CreateGroupWithPolicy request type. */ - -export interface MsgCreateGroupWithPolicySDKType { - admin: string; - members: MemberSDKType[]; - group_metadata: string; - group_policy_metadata: string; - group_policy_as_admin: boolean; - decision_policy?: AnySDKType; -} -/** 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: Long; - 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; -} -/** MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type. */ - -export interface MsgUpdateGroupPolicyDecisionPolicySDKType { - admin: string; - address: string; - decision_policy?: AnySDKType; -} -/** 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: string; - address: string; - 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: string; - proposers: string[]; - metadata: string; - messages: AnySDKType[]; - exec: Exec; -} -/** MsgSubmitProposalResponse is the Msg/SubmitProposal response type. */ - -export interface MsgSubmitProposalResponse { - /** proposal is the unique ID of the proposal. */ - proposalId: Long; -} -/** MsgSubmitProposalResponse is the Msg/SubmitProposal response type. */ - -export interface MsgSubmitProposalResponseSDKType { - proposal_id: Long; -} -/** MsgWithdrawProposal is the Msg/WithdrawProposal request type. */ - -export interface MsgWithdrawProposal { - /** proposal is the unique ID of the proposal. */ - proposalId: Long; - /** address is the admin of the group policy or one of the proposer of the proposal. */ - - address: string; -} -/** MsgWithdrawProposal is the Msg/WithdrawProposal request type. */ - -export interface MsgWithdrawProposalSDKType { - proposal_id: Long; - address: string; -} -/** MsgWithdrawProposalResponse is the Msg/WithdrawProposal response type. */ - -export interface MsgWithdrawProposalResponse {} -/** 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_id: Long; - voter: string; - option: VoteOption; - metadata: string; - exec: Exec; -} -/** 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_id: Long; - 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: string; - 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): MsgLeaveGroupResponse { - const message = createBaseMsgLeaveGroupResponse(); - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/cosmos/group/v1/types.ts b/packages/codegen/src/cosmos/group/v1/types.ts deleted file mode 100644 index d9cb4a2a..00000000 --- a/packages/codegen/src/cosmos/group/v1/types.ts +++ /dev/null @@ -1,1461 +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, DeepPartial, 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, -} -export const VoteOptionSDKType = VoteOption; -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, -} -export const ProposalStatusSDKType = ProposalStatus; -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, -} -export const ProposalResultSDKType = ProposalResult; -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, -} -export const ProposalExecutorResultSDKType = ProposalExecutorResult; -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; -} -/** - * Member represents a group member with an account address, - * non-zero weight and metadata. - */ - -export interface MemberSDKType { - address: string; - weight: string; - metadata: string; - added_at?: Date; -} -/** 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: 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; -} -/** ThresholdDecisionPolicy implements the DecisionPolicy interface */ - -export interface ThresholdDecisionPolicySDKType { - threshold: string; - windows?: DecisionPolicyWindowsSDKType; -} -/** 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; -} -/** PercentageDecisionPolicy implements the DecisionPolicy interface */ - -export interface PercentageDecisionPolicySDKType { - percentage: string; - windows?: DecisionPolicyWindowsSDKType; -} -/** DecisionPolicyWindows defines the different windows for voting and execution. */ - -export interface DecisionPolicyWindows { - /** - * voting_period is the duration from submission of a proposal to the end of voting period - * Within this times votes can be submitted with MsgVote. - */ - votingPeriod?: Duration; - /** - * min_execution_period is the minimum duration after the proposal submission - * where members can start sending MsgExec. This means that the window for - * sending a MsgExec transaction is: - * `[ submission + min_execution_period ; submission + voting_period + max_execution_period]` - * where max_execution_period is a app-specific config, defined in the keeper. - * If not set, min_execution_period will default to 0. - * - * Please make sure to set a `min_execution_period` that is smaller than - * `voting_period + max_execution_period`, or else the above execution window - * is empty, meaning that all proposals created with this decision policy - * won't be able to be executed. - */ - - minExecutionPeriod?: Duration; -} -/** DecisionPolicyWindows defines the different windows for voting and execution. */ - -export interface DecisionPolicyWindowsSDKType { - voting_period?: DurationSDKType; - min_execution_period?: DurationSDKType; -} -/** GroupInfo represents the high-level on-chain information for a group. */ - -export interface GroupInfo { - /** id is the unique ID of the group. */ - id: Long; - /** admin is the account address of the group's admin. */ - - admin: string; - /** metadata is any arbitrary metadata to attached to the group. */ - - metadata: string; - /** - * version is used to track changes to a group's membership structure that - * would break existing proposals. Whenever any members weight is changed, - * or any member is added or removed this version is incremented and will - * cause proposals based on older versions of this group to fail - */ - - version: Long; - /** total_weight is the sum of the group members' weights. */ - - totalWeight: string; - /** created_at is a timestamp specifying when a group was created. */ - - createdAt?: Date; -} -/** GroupInfo represents the high-level on-chain information for a group. */ - -export interface GroupInfoSDKType { - id: Long; - admin: string; - metadata: string; - version: Long; - total_weight: string; - created_at?: Date; -} -/** 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; -} -/** GroupMember represents the relationship between a group and a member. */ - -export interface GroupMemberSDKType { - group_id: Long; - member?: MemberSDKType; -} -/** GroupPolicyInfo represents the high-level on-chain information for a group policy. */ - -export interface GroupPolicyInfo { - /** address is the account address of group policy. */ - address: string; - /** group_id is the unique ID of the group. */ - - groupId: Long; - /** admin is the account address of the group admin. */ - - admin: string; - /** metadata is any arbitrary metadata to attached to the group policy. */ - - metadata: string; - /** - * version is used to track changes to a group's GroupPolicyInfo structure that - * would create a different result on a running proposal. - */ - - version: Long; - /** decision_policy specifies the group policy's decision policy. */ - - decisionPolicy?: Any; - /** created_at is a timestamp specifying when a group policy was created. */ - - createdAt?: Date; -} -/** GroupPolicyInfo represents the high-level on-chain information for a group policy. */ - -export interface GroupPolicyInfoSDKType { - address: string; - group_id: Long; - admin: string; - metadata: string; - version: Long; - decision_policy?: AnySDKType; - created_at?: Date; -} -/** - * 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; - /** - * 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; - /** - * 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; - /** 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: Long; - address: string; - metadata: string; - proposers: string[]; - submit_time?: Date; - group_version: Long; - group_policy_version: Long; - status: ProposalStatus; - result: ProposalResult; - final_tally_result?: TallyResultSDKType; - voting_period_end?: Date; - executor_result: ProposalExecutorResult; - messages: AnySDKType[]; -} -/** TallyResult represents the sum of weighted votes for each vote option. */ - -export interface TallyResult { - /** yes_count is the weighted sum of yes votes. */ - yesCount: string; - /** abstain_count is the weighted sum of abstainers. */ - - abstainCount: string; - /** no 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: string; - abstain_count: string; - no_count: string; - no_with_veto_count: string; -} -/** Vote represents a vote for a proposal. */ - -export interface Vote { - /** proposal is the unique ID of the proposal. */ - proposalId: Long; - /** voter is the account address of the voter. */ - - voter: string; - /** option is the voter's choice on the proposal. */ - - option: VoteOption; - /** metadata is any arbitrary metadata to attached to the vote. */ - - metadata: string; - /** submit_time is the timestamp when the vote was submitted. */ - - submitTime?: Date; -} -/** Vote represents a vote for a proposal. */ - -export interface VoteSDKType { - proposal_id: Long; - voter: string; - option: VoteOption; - metadata: string; - submit_time?: Date; -} - -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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmos/lcd.ts b/packages/codegen/src/cosmos/lcd.ts deleted file mode 100644 index 954fcdf8..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/mint/v1beta1/genesis.ts b/packages/codegen/src/cosmos/mint/v1beta1/genesis.ts deleted file mode 100644 index a1419886..00000000 --- a/packages/codegen/src/cosmos/mint/v1beta1/genesis.ts +++ /dev/null @@ -1,73 +0,0 @@ -import { Minter, MinterSDKType, Params, ParamsSDKType } from "./mint"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../helpers"; -/** GenesisState defines the mint module's genesis state. */ - -export interface GenesisState { - /** minter is a space for holding current inflation information. */ - minter?: Minter; - /** params defines all the paramaters of the module. */ - - params?: Params; -} -/** GenesisState defines the mint module's genesis state. */ - -export interface GenesisStateSDKType { - minter?: MinterSDKType; - params?: ParamsSDKType; -} - -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: DeepPartial): 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/packages/codegen/src/cosmos/mint/v1beta1/mint.ts b/packages/codegen/src/cosmos/mint/v1beta1/mint.ts deleted file mode 100644 index ea0eacc6..00000000 --- a/packages/codegen/src/cosmos/mint/v1beta1/mint.ts +++ /dev/null @@ -1,198 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, 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 { - inflation: string; - annual_provisions: string; -} -/** Params holds parameters for the mint module. */ - -export interface Params { - /** type of coin to mint */ - mintDenom: string; - /** maximum annual change in inflation rate */ - - inflationRateChange: string; - /** maximum inflation rate */ - - inflationMax: string; - /** minimum inflation rate */ - - inflationMin: string; - /** goal of percent bonded atoms */ - - goalBonded: string; - /** expected blocks per year */ - - blocksPerYear: Long; -} -/** Params holds parameters for the mint module. */ - -export interface ParamsSDKType { - mint_denom: string; - inflation_rate_change: string; - inflation_max: string; - inflation_min: string; - goal_bonded: string; - blocks_per_year: Long; -} - -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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmos/mint/v1beta1/query.lcd.ts b/packages/codegen/src/cosmos/mint/v1beta1/query.lcd.ts deleted file mode 100644 index 92086040..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/mint/v1beta1/query.rpc.Query.ts b/packages/codegen/src/cosmos/mint/v1beta1/query.rpc.Query.ts deleted file mode 100644 index 4e7ca73e..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/mint/v1beta1/query.ts b/packages/codegen/src/cosmos/mint/v1beta1/query.ts deleted file mode 100644 index 066cd69b..00000000 --- a/packages/codegen/src/cosmos/mint/v1beta1/query.ts +++ /dev/null @@ -1,309 +0,0 @@ -import { Params, ParamsSDKType } from "./mint"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } 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; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ - -export interface QueryParamsResponseSDKType { - params?: ParamsSDKType; -} -/** QueryInflationRequest is the request type for the Query/Inflation RPC method. */ - -export interface QueryInflationRequest {} -/** 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: 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: 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): QueryAnnualProvisionsResponse { - const message = createBaseQueryAnnualProvisionsResponse(); - message.annualProvisions = object.annualProvisions ?? new Uint8Array(); - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/cosmos/msg/v1/msg.ts b/packages/codegen/src/cosmos/msg/v1/msg.ts deleted file mode 100644 index 693da49f..00000000 --- a/packages/codegen/src/cosmos/msg/v1/msg.ts +++ /dev/null @@ -1 +0,0 @@ -export {} \ No newline at end of file diff --git a/packages/codegen/src/cosmos/nft/v1beta1/event.ts b/packages/codegen/src/cosmos/nft/v1beta1/event.ts deleted file mode 100644 index 88a73f56..00000000 --- a/packages/codegen/src/cosmos/nft/v1beta1/event.ts +++ /dev/null @@ -1,251 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../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 { - 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmos/nft/v1beta1/genesis.ts b/packages/codegen/src/cosmos/nft/v1beta1/genesis.ts deleted file mode 100644 index 43a5a92e..00000000 --- a/packages/codegen/src/cosmos/nft/v1beta1/genesis.ts +++ /dev/null @@ -1,141 +0,0 @@ -import { Class, ClassSDKType, NFT, NFTSDKType } from "./nft"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../helpers"; -/** GenesisState defines the nft module's genesis state. */ - -export interface GenesisState { - /** class defines the class of the nft type. */ - classes: Class[]; - entries: Entry[]; -} -/** GenesisState defines the nft module's genesis state. */ - -export interface GenesisStateSDKType { - classes: ClassSDKType[]; - entries: EntrySDKType[]; -} -/** Entry Defines all nft owned by a person */ - -export interface Entry { - /** owner is the owner address of the following nft */ - owner: string; - /** nfts is a group of nfts of the same owner */ - - nfts: NFT[]; -} -/** Entry Defines all nft owned by a person */ - -export interface EntrySDKType { - owner: string; - 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmos/nft/v1beta1/nft.ts b/packages/codegen/src/cosmos/nft/v1beta1/nft.ts deleted file mode 100644 index 77f4cf83..00000000 --- a/packages/codegen/src/cosmos/nft/v1beta1/nft.ts +++ /dev/null @@ -1,255 +0,0 @@ -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../helpers"; -/** Class defines the class of the nft type. */ - -export interface Class { - /** id defines the unique identifier of the NFT classification, similar to the contract address of ERC721 */ - id: string; - /** name defines the human-readable name of the NFT classification. Optional */ - - name: string; - /** symbol is an abbreviated name for nft classification. Optional */ - - symbol: string; - /** description is a brief description of nft classification. Optional */ - - description: string; - /** uri for the class metadata stored off chain. It can define schema for Class and NFT `Data` attributes. Optional */ - - uri: string; - /** uri_hash is a hash of the document pointed by uri. Optional */ - - uriHash: string; - /** data is the app specific metadata of the NFT class. Optional */ - - data?: Any; -} -/** Class defines the class of the nft type. */ - -export interface ClassSDKType { - id: string; - name: string; - symbol: string; - description: string; - uri: string; - uri_hash: string; - data?: AnySDKType; -} -/** NFT defines the NFT. */ - -export interface NFT { - /** class_id associated with the NFT, similar to the contract address of ERC721 */ - classId: string; - /** id is a unique identifier of the NFT */ - - id: string; - /** uri for the NFT metadata stored off chain */ - - uri: string; - /** uri_hash is a hash of the document pointed by uri */ - - uriHash: string; - /** data is an app specific data of the NFT. Optional */ - - data?: Any; -} -/** NFT defines the NFT. */ - -export interface NFTSDKType { - class_id: string; - id: string; - uri: string; - uri_hash: string; - data?: AnySDKType; -} - -function createBaseClass(): Class { - return { - id: "", - name: "", - symbol: "", - description: "", - uri: "", - uriHash: "", - data: undefined - }; -} - -export const Class = { - 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmos/nft/v1beta1/query.lcd.ts b/packages/codegen/src/cosmos/nft/v1beta1/query.lcd.ts deleted file mode 100644 index ca3a1dc1..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/nft/v1beta1/query.rpc.Query.ts b/packages/codegen/src/cosmos/nft/v1beta1/query.rpc.Query.ts deleted file mode 100644 index 72e63815..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/nft/v1beta1/query.ts b/packages/codegen/src/cosmos/nft/v1beta1/query.ts deleted file mode 100644 index 2d72be79..00000000 --- a/packages/codegen/src/cosmos/nft/v1beta1/query.ts +++ /dev/null @@ -1,859 +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 { DeepPartial, 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; -} -/** QueryNFTstRequest is the request type for the Query/NFTs RPC method */ - -export interface QueryNFTsRequestSDKType { - class_id: string; - owner: string; - pagination?: PageRequestSDKType; -} -/** QueryNFTsResponse is the response type for the Query/NFTs RPC methods */ - -export interface QueryNFTsResponse { - nfts: NFT[]; - pagination?: PageResponse; -} -/** QueryNFTsResponse is the response type for the Query/NFTs RPC methods */ - -export interface QueryNFTsResponseSDKType { - nfts: NFTSDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryNFTRequest is the request type for the Query/NFT RPC method */ - -export interface QueryNFTRequest { - classId: string; - id: string; -} -/** 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; -} -/** QueryNFTResponse is the response type for the Query/NFT RPC method */ - -export interface QueryNFTResponseSDKType { - nft?: NFTSDKType; -} -/** QueryClassRequest is the request type for the Query/Class RPC method */ - -export interface QueryClassRequest { - classId: string; -} -/** 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; -} -/** QueryClassResponse is the response type for the Query/Class RPC method */ - -export interface QueryClassResponseSDKType { - class?: ClassSDKType; -} -/** QueryClassesRequest is the request type for the Query/Classes RPC method */ - -export interface QueryClassesRequest { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest; -} -/** QueryClassesRequest is the request type for the Query/Classes RPC method */ - -export interface QueryClassesRequestSDKType { - pagination?: PageRequestSDKType; -} -/** QueryClassesResponse is the response type for the Query/Classes RPC method */ - -export interface QueryClassesResponse { - classes: Class[]; - pagination?: PageResponse; -} -/** QueryClassesResponse is the response type for the Query/Classes RPC method */ - -export interface QueryClassesResponseSDKType { - classes: ClassSDKType[]; - pagination?: PageResponseSDKType; -} - -function createBaseQueryBalanceRequest(): QueryBalanceRequest { - return { - classId: "", - owner: "" - }; -} - -export const QueryBalanceRequest = { - 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmos/nft/v1beta1/tx.rpc.msg.ts b/packages/codegen/src/cosmos/nft/v1beta1/tx.rpc.msg.ts deleted file mode 100644 index b6ad14c7..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/nft/v1beta1/tx.ts b/packages/codegen/src/cosmos/nft/v1beta1/tx.ts deleted file mode 100644 index 9bacc67a..00000000 --- a/packages/codegen/src/cosmos/nft/v1beta1/tx.ts +++ /dev/null @@ -1,140 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../helpers"; -/** MsgSend represents a message to send a nft from one account to another account. */ - -export interface MsgSend { - /** class_id defines the unique identifier of the nft classification, similar to the contract address of ERC721 */ - classId: string; - /** id defines the unique identification of nft */ - - id: string; - /** sender is the address of the owner of nft */ - - sender: string; - /** receiver is the receiver address of nft */ - - receiver: string; -} -/** MsgSend represents a message to send a nft from one account to another account. */ - -export interface MsgSendSDKType { - class_id: string; - id: string; - sender: string; - receiver: string; -} -/** MsgSendResponse defines the Msg/Send response type. */ - -export interface MsgSendResponse {} -/** 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: DeepPartial): 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(_: DeepPartial): MsgSendResponse { - const message = createBaseMsgSendResponse(); - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/cosmos/orm/v1/orm.ts b/packages/codegen/src/cosmos/orm/v1/orm.ts deleted file mode 100644 index c12f6bd6..00000000 --- a/packages/codegen/src/cosmos/orm/v1/orm.ts +++ /dev/null @@ -1,353 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../helpers"; -/** TableDescriptor describes an ORM table. */ - -export interface TableDescriptor { - /** primary_key defines the primary key for the table. */ - primaryKey?: PrimaryKeyDescriptor; - /** index defines one or more secondary indexes. */ - - index: SecondaryIndexDescriptor[]; - /** - * id is a non-zero integer ID that must be unique within the - * tables and singletons in this file. It may be deprecated in the future when this - * can be auto-generated. - */ - - id: number; -} -/** TableDescriptor describes an ORM table. */ - -export interface TableDescriptorSDKType { - primary_key?: PrimaryKeyDescriptorSDKType; - index: SecondaryIndexDescriptorSDKType[]; - id: number; -} -/** PrimaryKeyDescriptor describes a table primary key. */ - -export interface PrimaryKeyDescriptor { - /** - * fields is a comma-separated list of fields in the primary key. Spaces are - * not allowed. Supported field types, their encodings, and any applicable constraints - * are described below. - * - uint32 are encoded as 2,3,4 or 5 bytes using a compact encoding that - * is suitable for sorted iteration (not varint encoding). This type is - * well-suited for small integers. - * - uint64 are encoded as 2,4,6 or 9 bytes using a compact encoding that - * is suitable for sorted iteration (not varint encoding). This type is - * well-suited for small integers such as auto-incrementing sequences. - * - fixed32, fixed64 are encoded as big-endian fixed width bytes and support - * sorted iteration. These types are well-suited for encoding fixed with - * decimals as integers. - * - string's are encoded as raw bytes in terminal key segments and null-terminated - * in non-terminal segments. Null characters are thus forbidden in strings. - * string fields support sorted iteration. - * - bytes are encoded as raw bytes in terminal segments and length-prefixed - * with a 32-bit unsigned varint in non-terminal segments. - * - int32, sint32, int64, sint64, sfixed32, sfixed64 are encoded as fixed width bytes with - * an encoding that enables sorted iteration. - * - google.protobuf.Timestamp and google.protobuf.Duration are encoded - * as 12 bytes using an encoding that enables sorted iteration. - * - enum fields are encoded using varint encoding and do not support sorted - * iteration. - * - bool fields are encoded as a single byte 0 or 1. - * - * All other fields types are unsupported in keys including repeated and - * oneof fields. - * - * Primary keys are prefixed by the varint encoded table id and the byte 0x0 - * plus any additional prefix specified by the schema. - */ - fields: string; - /** - * auto_increment specifies that the primary key is generated by an - * auto-incrementing integer. If this is set to true fields must only - * contain one field of that is of type uint64. - */ - - autoIncrement: boolean; -} -/** PrimaryKeyDescriptor describes a table primary key. */ - -export interface PrimaryKeyDescriptorSDKType { - fields: string; - auto_increment: boolean; -} -/** PrimaryKeyDescriptor describes a table secondary index. */ - -export interface SecondaryIndexDescriptor { - /** - * fields is a comma-separated list of fields in the index. The supported - * field types are the same as those for PrimaryKeyDescriptor.fields. - * Index keys are prefixed by the varint encoded table id and the varint - * encoded index id plus any additional prefix specified by the schema. - * - * In addition the 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: string; - id: number; - unique: boolean; -} -/** TableDescriptor describes an ORM singleton table which has at most one instance. */ - -export interface SingletonDescriptor { - /** - * id is a non-zero integer ID that must be unique within the - * tables and singletons in this file. It may be deprecated in the future when this - * can be auto-generated. - */ - id: number; -} -/** TableDescriptor describes an ORM singleton table which has at most one instance. */ - -export interface SingletonDescriptorSDKType { - 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): SingletonDescriptor { - const message = createBaseSingletonDescriptor(); - message.id = object.id ?? 0; - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/cosmos/orm/v1alpha1/schema.ts b/packages/codegen/src/cosmos/orm/v1alpha1/schema.ts deleted file mode 100644 index 51df7212..00000000 --- a/packages/codegen/src/cosmos/orm/v1alpha1/schema.ts +++ /dev/null @@ -1,268 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../helpers"; -/** StorageType */ - -export enum StorageType { - /** - * STORAGE_TYPE_DEFAULT_UNSPECIFIED - STORAGE_TYPE_DEFAULT_UNSPECIFIED indicates the persistent - * KV-storage where primary key entries are stored in merkle-tree - * backed commitment storage and indexes and seqs are stored in - * fast index storage. Note that the Cosmos SDK before store/v2alpha1 - * does not support this. - */ - STORAGE_TYPE_DEFAULT_UNSPECIFIED = 0, - - /** - * STORAGE_TYPE_MEMORY - STORAGE_TYPE_MEMORY indicates in-memory storage that will be - * reloaded every time an app restarts. Tables with this type of storage - * will by default be ignored when importing and exporting a module's - * state from JSON. - */ - STORAGE_TYPE_MEMORY = 1, - - /** - * STORAGE_TYPE_TRANSIENT - STORAGE_TYPE_TRANSIENT indicates transient storage that is reset - * at the end of every block. Tables with this type of storage - * will by default be ignored when importing and exporting a module's - * state from JSON. - */ - STORAGE_TYPE_TRANSIENT = 2, - - /** - * STORAGE_TYPE_INDEX - STORAGE_TYPE_INDEX indicates persistent storage which is not backed - * by a merkle-tree and won't affect the app hash. Note that the Cosmos SDK - * before store/v2alpha1 does not support this. - */ - STORAGE_TYPE_INDEX = 3, - - /** - * STORAGE_TYPE_COMMITMENT - STORAGE_TYPE_INDEX indicates persistent storage which is backed by - * a merkle-tree. With this type of storage, both primary and index keys - * will affect the app hash and this is generally less efficient - * than using STORAGE_TYPE_DEFAULT_UNSPECIFIED which separates index - * keys into index storage. Note that modules built with the - * Cosmos SDK before store/v2alpha1 must specify STORAGE_TYPE_COMMITMENT - * instead of STORAGE_TYPE_DEFAULT_UNSPECIFIED or STORAGE_TYPE_INDEX - * because this is the only type of persistent storage available. - */ - STORAGE_TYPE_COMMITMENT = 4, - UNRECOGNIZED = -1, -} -export const StorageTypeSDKType = StorageType; -export 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: 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: number; - proto_file_name: string; - storage_type: 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; - }, - - fromPartial(object: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmos/params/v1beta1/params.ts b/packages/codegen/src/cosmos/params/v1beta1/params.ts deleted file mode 100644 index 73eaaac5..00000000 --- a/packages/codegen/src/cosmos/params/v1beta1/params.ts +++ /dev/null @@ -1,166 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../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 { - 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmos/params/v1beta1/query.lcd.ts b/packages/codegen/src/cosmos/params/v1beta1/query.lcd.ts deleted file mode 100644 index 7feab29f..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/params/v1beta1/query.rpc.Query.ts b/packages/codegen/src/cosmos/params/v1beta1/query.rpc.Query.ts deleted file mode 100644 index 4f505514..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/params/v1beta1/query.ts b/packages/codegen/src/cosmos/params/v1beta1/query.ts deleted file mode 100644 index 6501d1c2..00000000 --- a/packages/codegen/src/cosmos/params/v1beta1/query.ts +++ /dev/null @@ -1,309 +0,0 @@ -import { ParamChange, ParamChangeSDKType } from "./params"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../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: string; - key: string; -} -/** QueryParamsResponse is response type for the Query/Params RPC method. */ - -export interface QueryParamsResponse { - /** param defines the queried parameter. */ - param?: ParamChange; -} -/** QueryParamsResponse is response type for the Query/Params RPC method. */ - -export interface QueryParamsResponseSDKType { - param?: ParamChangeSDKType; -} -/** - * QuerySubspacesRequest defines a request type for querying for all registered - * subspaces and all keys for a subspace. - */ - -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: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmos/rpc.query.ts b/packages/codegen/src/cosmos/rpc.query.ts deleted file mode 100644 index ac1a16a8..00000000 --- a/packages/codegen/src/cosmos/rpc.query.ts +++ /dev/null @@ -1,68 +0,0 @@ -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/packages/codegen/src/cosmos/rpc.tx.ts b/packages/codegen/src/cosmos/rpc.tx.ts deleted file mode 100644 index 3a4dbf9b..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/slashing/v1beta1/genesis.ts b/packages/codegen/src/cosmos/slashing/v1beta1/genesis.ts deleted file mode 100644 index ef677c7b..00000000 --- a/packages/codegen/src/cosmos/slashing/v1beta1/genesis.ts +++ /dev/null @@ -1,309 +0,0 @@ -import { Params, ParamsSDKType, ValidatorSigningInfo, ValidatorSigningInfoSDKType } from "./slashing"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, 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; - /** - * 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?: ParamsSDKType; - signing_infos: SigningInfoSDKType[]; - missed_blocks: ValidatorMissedBlocksSDKType[]; -} -/** SigningInfo stores validator signing info of corresponding address. */ - -export interface SigningInfo { - /** address is the validator address. */ - address: string; - /** validator_signing_info represents the signing info of this validator. */ - - validatorSigningInfo?: ValidatorSigningInfo; -} -/** SigningInfo stores validator signing info of corresponding address. */ - -export interface SigningInfoSDKType { - address: string; - validator_signing_info?: ValidatorSigningInfoSDKType; -} -/** - * ValidatorMissedBlocks contains array of missed blocks of corresponding - * address. - */ - -export interface ValidatorMissedBlocks { - /** address is the validator address. */ - address: string; - /** missed_blocks is an array of missed blocks by the validator. */ - - missedBlocks: MissedBlock[]; -} -/** - * ValidatorMissedBlocks contains array of missed blocks of corresponding - * address. - */ - -export interface ValidatorMissedBlocksSDKType { - address: string; - missed_blocks: MissedBlockSDKType[]; -} -/** MissedBlock contains height and missed status as boolean. */ - -export interface MissedBlock { - /** index is the height at which the block was missed. */ - index: Long; - /** missed is the missed status. */ - - missed: boolean; -} -/** MissedBlock contains height and missed status as boolean. */ - -export interface MissedBlockSDKType { - index: Long; - 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmos/slashing/v1beta1/query.lcd.ts b/packages/codegen/src/cosmos/slashing/v1beta1/query.lcd.ts deleted file mode 100644 index 346fd6cc..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/slashing/v1beta1/query.rpc.Query.ts b/packages/codegen/src/cosmos/slashing/v1beta1/query.rpc.Query.ts deleted file mode 100644 index 94cb5ce4..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/slashing/v1beta1/query.ts b/packages/codegen/src/cosmos/slashing/v1beta1/query.ts deleted file mode 100644 index 98dd5ea5..00000000 --- a/packages/codegen/src/cosmos/slashing/v1beta1/query.ts +++ /dev/null @@ -1,358 +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"; -import { DeepPartial } 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?: Params; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method */ - -export interface QueryParamsResponseSDKType { - params?: ParamsSDKType; -} -/** - * QuerySigningInfoRequest is the request type for the Query/SigningInfo RPC - * method - */ - -export interface QuerySigningInfoRequest { - /** cons_address is the address to query signing info of */ - consAddress: string; -} -/** - * QuerySigningInfoRequest is the request type for the Query/SigningInfo RPC - * method - */ - -export interface QuerySigningInfoRequestSDKType { - cons_address: string; -} -/** - * QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC - * method - */ - -export interface QuerySigningInfoResponse { - /** val_signing_info is the signing info of requested val cons address */ - valSigningInfo?: ValidatorSigningInfo; -} -/** - * QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC - * method - */ - -export interface QuerySigningInfoResponseSDKType { - val_signing_info?: ValidatorSigningInfoSDKType; -} -/** - * QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC - * method - */ - -export interface QuerySigningInfosRequest { - pagination?: PageRequest; -} -/** - * QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC - * method - */ - -export interface QuerySigningInfosRequestSDKType { - pagination?: PageRequestSDKType; -} -/** - * QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC - * method - */ - -export interface QuerySigningInfosResponse { - /** info is the signing info of all validators */ - info: ValidatorSigningInfo[]; - pagination?: PageResponse; -} -/** - * QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC - * method - */ - -export interface QuerySigningInfosResponseSDKType { - info: ValidatorSigningInfoSDKType[]; - pagination?: PageResponseSDKType; -} - -function createBaseQueryParamsRequest(): QueryParamsRequest { - return {}; -} - -export const QueryParamsRequest = { - 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(_: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmos/slashing/v1beta1/slashing.ts b/packages/codegen/src/cosmos/slashing/v1beta1/slashing.ts deleted file mode 100644 index 9ef07b05..00000000 --- a/packages/codegen/src/cosmos/slashing/v1beta1/slashing.ts +++ /dev/null @@ -1,248 +0,0 @@ -import { Timestamp } from "../../../google/protobuf/timestamp"; -import { Duration, DurationSDKType } from "../../../google/protobuf/duration"; -import { Long, toTimestamp, fromTimestamp, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * ValidatorSigningInfo defines a validator's signing info for monitoring their - * liveness activity. - */ - -export interface ValidatorSigningInfo { - address: string; - /** Height at which validator was first a candidate OR was unjailed */ - - startHeight: Long; - /** - * Index which is incremented each time the validator was a bonded - * in a block and may have signed a precommit or not. This in conjunction with the - * `SignedBlocksWindow` param determines the index in the `MissedBlocksBitArray`. - */ - - indexOffset: Long; - /** Timestamp until which the validator is jailed due to liveness downtime. */ - - jailedUntil?: Date; - /** - * 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; - start_height: Long; - index_offset: Long; - jailed_until?: Date; - tombstoned: boolean; - missed_blocks_counter: Long; -} -/** Params represents the parameters used for by the slashing module. */ - -export interface Params { - signedBlocksWindow: Long; - minSignedPerWindow: Uint8Array; - downtimeJailDuration?: Duration; - slashFractionDoubleSign: Uint8Array; - slashFractionDowntime: Uint8Array; -} -/** Params represents the parameters used for by the slashing module. */ - -export interface ParamsSDKType { - signed_blocks_window: Long; - min_signed_per_window: Uint8Array; - downtime_jail_duration?: DurationSDKType; - slash_fraction_double_sign: Uint8Array; - slash_fraction_downtime: Uint8Array; -} - -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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmos/slashing/v1beta1/tx.rpc.msg.ts b/packages/codegen/src/cosmos/slashing/v1beta1/tx.rpc.msg.ts deleted file mode 100644 index 622712b3..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/slashing/v1beta1/tx.ts b/packages/codegen/src/cosmos/slashing/v1beta1/tx.ts deleted file mode 100644 index 2a7e57ef..00000000 --- a/packages/codegen/src/cosmos/slashing/v1beta1/tx.ts +++ /dev/null @@ -1,97 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../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 { - 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: DeepPartial): 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(_: DeepPartial): MsgUnjailResponse { - const message = createBaseMsgUnjailResponse(); - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/cosmos/staking/v1beta1/authz.ts b/packages/codegen/src/cosmos/staking/v1beta1/authz.ts deleted file mode 100644 index 4be02b69..00000000 --- a/packages/codegen/src/cosmos/staking/v1beta1/authz.ts +++ /dev/null @@ -1,234 +0,0 @@ -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../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 const AuthorizationTypeSDKType = AuthorizationType; -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; - /** - * allow_list specifies list of validator addresses to whom grantee can delegate tokens on behalf of granter's - * account. - */ - - allowList?: StakeAuthorization_Validators; - /** deny_list specifies list of validator addresses to whom grantee can not delegate tokens. */ - - denyList?: StakeAuthorization_Validators; - /** authorization_type defines one of AuthorizationType. */ - - authorizationType: AuthorizationType; -} -/** - * StakeAuthorization defines authorization for delegate/undelegate/redelegate. - * - * Since: cosmos-sdk 0.43 - */ - -export interface StakeAuthorizationSDKType { - max_tokens?: CoinSDKType; - allow_list?: StakeAuthorization_ValidatorsSDKType; - deny_list?: StakeAuthorization_ValidatorsSDKType; - authorization_type: AuthorizationType; -} -/** Validators defines list of validator addresses. */ - -export interface StakeAuthorization_Validators { - address: string[]; -} -/** 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: DeepPartial): 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: DeepPartial): StakeAuthorization_Validators { - const message = createBaseStakeAuthorization_Validators(); - message.address = object.address?.map(e => e) || []; - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/cosmos/staking/v1beta1/genesis.ts b/packages/codegen/src/cosmos/staking/v1beta1/genesis.ts deleted file mode 100644 index 30badf95..00000000 --- a/packages/codegen/src/cosmos/staking/v1beta1/genesis.ts +++ /dev/null @@ -1,231 +0,0 @@ -import { Params, ParamsSDKType, Validator, ValidatorSDKType, Delegation, DelegationSDKType, UnbondingDelegation, UnbondingDelegationSDKType, Redelegation, RedelegationSDKType } from "./staking"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, 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; - /** - * 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?: ParamsSDKType; - last_total_power: Uint8Array; - last_validator_powers: LastValidatorPowerSDKType[]; - validators: ValidatorSDKType[]; - delegations: DelegationSDKType[]; - unbonding_delegations: UnbondingDelegationSDKType[]; - redelegations: RedelegationSDKType[]; - exported: boolean; -} -/** LastValidatorPower required for validator set update logic. */ - -export interface LastValidatorPower { - /** address is the address of the validator. */ - address: string; - /** power defines the power of the validator. */ - - power: Long; -} -/** LastValidatorPower required for validator set update logic. */ - -export interface LastValidatorPowerSDKType { - address: string; - 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmos/staking/v1beta1/query.lcd.ts b/packages/codegen/src/cosmos/staking/v1beta1/query.lcd.ts deleted file mode 100644 index b404abb4..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/staking/v1beta1/query.rpc.Query.ts b/packages/codegen/src/cosmos/staking/v1beta1/query.rpc.Query.ts deleted file mode 100644 index 550f592f..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/staking/v1beta1/query.ts b/packages/codegen/src/cosmos/staking/v1beta1/query.ts deleted file mode 100644 index cd53260d..00000000 --- a/packages/codegen/src/cosmos/staking/v1beta1/query.ts +++ /dev/null @@ -1,1910 +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 { DeepPartial, 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; -} -/** QueryValidatorsRequest is request type for Query/Validators RPC method. */ - -export interface QueryValidatorsRequestSDKType { - status: string; - pagination?: PageRequestSDKType; -} -/** QueryValidatorsResponse is response type for the Query/Validators RPC method */ - -export interface QueryValidatorsResponse { - /** validators contains all the queried validators. */ - validators: Validator[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponse; -} -/** QueryValidatorsResponse is response type for the Query/Validators RPC method */ - -export interface QueryValidatorsResponseSDKType { - validators: ValidatorSDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryValidatorRequest is response type for the Query/Validator RPC method */ - -export interface QueryValidatorRequest { - /** validator_addr defines the validator address to query for. */ - validatorAddr: string; -} -/** QueryValidatorRequest is response type for the Query/Validator RPC method */ - -export interface QueryValidatorRequestSDKType { - validator_addr: string; -} -/** QueryValidatorResponse is response type for the Query/Validator RPC method */ - -export interface QueryValidatorResponse { - /** validator defines the the validator info. */ - validator?: Validator; -} -/** QueryValidatorResponse is response type for the Query/Validator RPC method */ - -export interface QueryValidatorResponseSDKType { - validator?: ValidatorSDKType; -} -/** - * QueryValidatorDelegationsRequest is request type for the - * Query/ValidatorDelegations RPC method - */ - -export interface QueryValidatorDelegationsRequest { - /** validator_addr defines the validator address to query for. */ - validatorAddr: string; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequest; -} -/** - * QueryValidatorDelegationsRequest is request type for the - * Query/ValidatorDelegations RPC method - */ - -export interface QueryValidatorDelegationsRequestSDKType { - validator_addr: string; - pagination?: PageRequestSDKType; -} -/** - * QueryValidatorDelegationsResponse is response type for the - * Query/ValidatorDelegations RPC method - */ - -export interface QueryValidatorDelegationsResponse { - delegationResponses: DelegationResponse[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponse; -} -/** - * QueryValidatorDelegationsResponse is response type for the - * Query/ValidatorDelegations RPC method - */ - -export interface QueryValidatorDelegationsResponseSDKType { - delegation_responses: DelegationResponseSDKType[]; - pagination?: PageResponseSDKType; -} -/** - * QueryValidatorUnbondingDelegationsRequest is required type for the - * Query/ValidatorUnbondingDelegations RPC method - */ - -export interface QueryValidatorUnbondingDelegationsRequest { - /** validator_addr defines the validator address to query for. */ - validatorAddr: string; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequest; -} -/** - * QueryValidatorUnbondingDelegationsRequest is required type for the - * Query/ValidatorUnbondingDelegations RPC method - */ - -export interface QueryValidatorUnbondingDelegationsRequestSDKType { - validator_addr: string; - pagination?: PageRequestSDKType; -} -/** - * QueryValidatorUnbondingDelegationsResponse is response type for the - * Query/ValidatorUnbondingDelegations RPC method. - */ - -export interface QueryValidatorUnbondingDelegationsResponse { - unbondingResponses: UnbondingDelegation[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponse; -} -/** - * QueryValidatorUnbondingDelegationsResponse is response type for the - * Query/ValidatorUnbondingDelegations RPC method. - */ - -export interface QueryValidatorUnbondingDelegationsResponseSDKType { - unbonding_responses: UnbondingDelegationSDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryDelegationRequest is request type for the Query/Delegation RPC method. */ - -export interface QueryDelegationRequest { - /** delegator_addr defines the delegator address to query for. */ - delegatorAddr: string; - /** validator_addr defines the validator address to query for. */ - - validatorAddr: string; -} -/** QueryDelegationRequest is request type for the Query/Delegation RPC method. */ - -export interface QueryDelegationRequestSDKType { - delegator_addr: string; - validator_addr: string; -} -/** QueryDelegationResponse is response type for the Query/Delegation RPC method. */ - -export interface QueryDelegationResponse { - /** delegation_responses defines the delegation info of a delegation. */ - delegationResponse?: DelegationResponse; -} -/** QueryDelegationResponse is response type for the Query/Delegation RPC method. */ - -export interface QueryDelegationResponseSDKType { - delegation_response?: DelegationResponseSDKType; -} -/** - * QueryUnbondingDelegationRequest is request type for the - * Query/UnbondingDelegation RPC method. - */ - -export interface QueryUnbondingDelegationRequest { - /** delegator_addr defines the delegator address to query for. */ - delegatorAddr: string; - /** validator_addr defines the validator address to query for. */ - - validatorAddr: string; -} -/** - * QueryUnbondingDelegationRequest is request type for the - * Query/UnbondingDelegation RPC method. - */ - -export interface QueryUnbondingDelegationRequestSDKType { - delegator_addr: string; - validator_addr: string; -} -/** - * QueryDelegationResponse is response type for the Query/UnbondingDelegation - * RPC method. - */ - -export interface QueryUnbondingDelegationResponse { - /** unbond defines the unbonding information of a delegation. */ - unbond?: UnbondingDelegation; -} -/** - * QueryDelegationResponse is response type for the Query/UnbondingDelegation - * RPC method. - */ - -export interface QueryUnbondingDelegationResponseSDKType { - unbond?: UnbondingDelegationSDKType; -} -/** - * QueryDelegatorDelegationsRequest is request type for the - * Query/DelegatorDelegations RPC method. - */ - -export interface QueryDelegatorDelegationsRequest { - /** delegator_addr defines the delegator address to query for. */ - delegatorAddr: string; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequest; -} -/** - * QueryDelegatorDelegationsRequest is request type for the - * Query/DelegatorDelegations RPC method. - */ - -export interface QueryDelegatorDelegationsRequestSDKType { - delegator_addr: string; - pagination?: PageRequestSDKType; -} -/** - * QueryDelegatorDelegationsResponse is response type for the - * Query/DelegatorDelegations RPC method. - */ - -export interface QueryDelegatorDelegationsResponse { - /** delegation_responses defines all the delegations' info of a delegator. */ - delegationResponses: DelegationResponse[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponse; -} -/** - * QueryDelegatorDelegationsResponse is response type for the - * Query/DelegatorDelegations RPC method. - */ - -export interface QueryDelegatorDelegationsResponseSDKType { - delegation_responses: DelegationResponseSDKType[]; - pagination?: PageResponseSDKType; -} -/** - * QueryDelegatorUnbondingDelegationsRequest is request type for the - * Query/DelegatorUnbondingDelegations RPC method. - */ - -export interface QueryDelegatorUnbondingDelegationsRequest { - /** delegator_addr defines the delegator address to query for. */ - delegatorAddr: string; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequest; -} -/** - * QueryDelegatorUnbondingDelegationsRequest is request type for the - * Query/DelegatorUnbondingDelegations RPC method. - */ - -export interface QueryDelegatorUnbondingDelegationsRequestSDKType { - delegator_addr: string; - pagination?: PageRequestSDKType; -} -/** - * QueryUnbondingDelegatorDelegationsResponse is response type for the - * Query/UnbondingDelegatorDelegations RPC method. - */ - -export interface QueryDelegatorUnbondingDelegationsResponse { - unbondingResponses: UnbondingDelegation[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponse; -} -/** - * QueryUnbondingDelegatorDelegationsResponse is response type for the - * Query/UnbondingDelegatorDelegations RPC method. - */ - -export interface QueryDelegatorUnbondingDelegationsResponseSDKType { - unbonding_responses: UnbondingDelegationSDKType[]; - pagination?: PageResponseSDKType; -} -/** - * QueryRedelegationsRequest is request type for the Query/Redelegations RPC - * method. - */ - -export interface QueryRedelegationsRequest { - /** delegator_addr defines the delegator address to query for. */ - delegatorAddr: string; - /** src_validator_addr defines the validator address to redelegate from. */ - - srcValidatorAddr: string; - /** dst_validator_addr defines the validator address to redelegate to. */ - - dstValidatorAddr: string; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequest; -} -/** - * QueryRedelegationsRequest is request type for the Query/Redelegations RPC - * method. - */ - -export interface QueryRedelegationsRequestSDKType { - delegator_addr: string; - src_validator_addr: string; - dst_validator_addr: string; - pagination?: PageRequestSDKType; -} -/** - * QueryRedelegationsResponse is response type for the Query/Redelegations RPC - * method. - */ - -export interface QueryRedelegationsResponse { - redelegationResponses: RedelegationResponse[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponse; -} -/** - * QueryRedelegationsResponse is response type for the Query/Redelegations RPC - * method. - */ - -export interface QueryRedelegationsResponseSDKType { - redelegation_responses: RedelegationResponseSDKType[]; - pagination?: PageResponseSDKType; -} -/** - * QueryDelegatorValidatorsRequest is request type for the - * Query/DelegatorValidators RPC method. - */ - -export interface QueryDelegatorValidatorsRequest { - /** delegator_addr defines the delegator address to query for. */ - delegatorAddr: string; - /** pagination defines an optional pagination for the request. */ - - pagination?: PageRequest; -} -/** - * QueryDelegatorValidatorsRequest is request type for the - * Query/DelegatorValidators RPC method. - */ - -export interface QueryDelegatorValidatorsRequestSDKType { - delegator_addr: string; - pagination?: PageRequestSDKType; -} -/** - * QueryDelegatorValidatorsResponse is response type for the - * Query/DelegatorValidators RPC method. - */ - -export interface QueryDelegatorValidatorsResponse { - /** validators defines the the validators' info of a delegator. */ - validators: Validator[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponse; -} -/** - * QueryDelegatorValidatorsResponse is response type for the - * Query/DelegatorValidators RPC method. - */ - -export interface QueryDelegatorValidatorsResponseSDKType { - validators: ValidatorSDKType[]; - pagination?: PageResponseSDKType; -} -/** - * QueryDelegatorValidatorRequest is request type for the - * Query/DelegatorValidator RPC method. - */ - -export interface QueryDelegatorValidatorRequest { - /** delegator_addr defines the delegator address to query for. */ - delegatorAddr: string; - /** validator_addr defines the validator address to query for. */ - - validatorAddr: string; -} -/** - * QueryDelegatorValidatorRequest is request type for the - * Query/DelegatorValidator RPC method. - */ - -export interface QueryDelegatorValidatorRequestSDKType { - delegator_addr: string; - validator_addr: string; -} -/** - * QueryDelegatorValidatorResponse response type for the - * Query/DelegatorValidator RPC method. - */ - -export interface QueryDelegatorValidatorResponse { - /** validator defines the the validator info. */ - validator?: Validator; -} -/** - * QueryDelegatorValidatorResponse response type for the - * Query/DelegatorValidator RPC method. - */ - -export interface QueryDelegatorValidatorResponseSDKType { - validator?: ValidatorSDKType; -} -/** - * QueryHistoricalInfoRequest is request type for the Query/HistoricalInfo RPC - * method. - */ - -export interface QueryHistoricalInfoRequest { - /** height defines at which height to query the historical info. */ - height: Long; -} -/** - * QueryHistoricalInfoRequest is request type for the Query/HistoricalInfo RPC - * method. - */ - -export interface QueryHistoricalInfoRequestSDKType { - height: Long; -} -/** - * QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC - * method. - */ - -export interface QueryHistoricalInfoResponse { - /** hist defines the historical info at the given height. */ - hist?: HistoricalInfo; -} -/** - * QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC - * method. - */ - -export interface QueryHistoricalInfoResponseSDKType { - hist?: HistoricalInfoSDKType; -} -/** QueryPoolRequest is request type for the Query/Pool RPC method. */ - -export interface QueryPoolRequest {} -/** 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; -} -/** QueryPoolResponse is response type for the Query/Pool RPC method. */ - -export interface QueryPoolResponseSDKType { - pool?: PoolSDKType; -} -/** QueryParamsRequest is request type for the Query/Params RPC method. */ - -export interface QueryParamsRequest {} -/** 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; -} -/** QueryParamsResponse is response type for the Query/Params RPC method. */ - -export interface QueryParamsResponseSDKType { - params?: ParamsSDKType; -} - -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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmos/staking/v1beta1/staking.ts b/packages/codegen/src/cosmos/staking/v1beta1/staking.ts deleted file mode 100644 index 902f9529..00000000 --- a/packages/codegen/src/cosmos/staking/v1beta1/staking.ts +++ /dev/null @@ -1,1863 +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 { DeepPartial, 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, -} -export const BondStatusSDKType = BondStatus; -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; - 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; - 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: string; - max_rate: string; - max_change_rate: string; -} -/** Commission defines commission parameters for a given validator. */ - -export interface Commission { - /** commission_rates defines the initial commission rates to be used for creating a validator. */ - commissionRates?: CommissionRates; - /** update_time is the last time the commission rate was changed. */ - - updateTime?: Date; -} -/** Commission defines commission parameters for a given validator. */ - -export interface CommissionSDKType { - commission_rates?: CommissionRatesSDKType; - update_time?: Date; -} -/** 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: string; - identity: string; - website: string; - security_contact: string; - details: string; -} -/** - * Validator defines a validator, together with the total amount of the - * Validator's bond shares and their exchange rate to coins. Slashing results in - * a decrease in the exchange rate, allowing correct calculation of future - * undelegations without iterating over delegators. When coins are delegated to - * this validator, the validator is credited with a delegation whose number of - * bond shares is based on the amount of coins delegated divided by the current - * exchange rate. Voting power can be calculated as total bonded shares - * multiplied by exchange rate. - */ - -export interface Validator { - /** operator_address defines the address of the validator's operator; bech encoded in JSON. */ - operatorAddress: string; - /** consensus_pubkey is the consensus public key of the validator, as a Protobuf Any. */ - - consensusPubkey?: Any; - /** jailed defined whether the validator has been jailed from bonded status or not. */ - - jailed: boolean; - /** status is the validator status (bonded/unbonding/unbonded). */ - - status: BondStatus; - /** tokens define the delegated tokens (incl. self-delegation). */ - - tokens: string; - /** delegator_shares defines total shares issued to a validator's delegators. */ - - delegatorShares: string; - /** description defines the description terms for the validator. */ - - description?: Description; - /** unbonding_height defines, if unbonding, the height at which this validator has begun unbonding. */ - - unbondingHeight: Long; - /** unbonding_time defines, if unbonding, the min time for the validator to complete unbonding. */ - - unbondingTime?: Date; - /** commission defines the commission parameters. */ - - commission?: Commission; - /** 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: string; - consensus_pubkey?: AnySDKType; - jailed: boolean; - status: BondStatus; - tokens: string; - delegator_shares: string; - description?: DescriptionSDKType; - unbonding_height: Long; - unbonding_time?: Date; - commission?: CommissionSDKType; - 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: string; - validator_address: string; - shares: string; -} -/** - * UnbondingDelegation stores all of a single delegator's unbonding bonds - * for a single validator in an time-ordered list. - */ - -export interface UnbondingDelegation { - /** delegator_address is the bech32-encoded address of the delegator. */ - delegatorAddress: string; - /** validator_address is the bech32-encoded address of the validator. */ - - validatorAddress: string; - /** entries are the unbonding delegation entries. */ - - entries: UnbondingDelegationEntry[]; -} -/** - * UnbondingDelegation stores all of a single delegator's unbonding bonds - * for a single validator in an time-ordered list. - */ - -export interface UnbondingDelegationSDKType { - delegator_address: string; - validator_address: string; - entries: UnbondingDelegationEntrySDKType[]; -} -/** UnbondingDelegationEntry defines an unbonding object with relevant metadata. */ - -export interface UnbondingDelegationEntry { - /** creation_height is the height which the unbonding took place. */ - creationHeight: Long; - /** completion_time is the unix time for unbonding completion. */ - - completionTime?: Date; - /** 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: Long; - completion_time?: Date; - initial_balance: string; - balance: string; -} -/** RedelegationEntry defines a redelegation object with relevant metadata. */ - -export interface RedelegationEntry { - /** creation_height defines the height which the redelegation took place. */ - creationHeight: Long; - /** completion_time defines the unix time for redelegation completion. */ - - completionTime?: Date; - /** 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: Long; - completion_time?: Date; - initial_balance: string; - shares_dst: string; -} -/** - * Redelegation contains the list of a particular delegator's redelegating bonds - * from a particular source validator to a particular destination validator. - */ - -export interface Redelegation { - /** delegator_address is the bech32-encoded address of the delegator. */ - delegatorAddress: string; - /** validator_src_address is the validator redelegation source operator address. */ - - validatorSrcAddress: string; - /** validator_dst_address is the validator redelegation destination operator address. */ - - validatorDstAddress: string; - /** entries are the redelegation entries. */ - - entries: RedelegationEntry[]; -} -/** - * Redelegation contains the list of a particular delegator's redelegating bonds - * from a particular source validator to a particular destination validator. - */ - -export interface RedelegationSDKType { - delegator_address: string; - validator_src_address: string; - validator_dst_address: string; - entries: RedelegationEntrySDKType[]; -} -/** Params defines the parameters for the staking module. */ - -export interface Params { - /** unbonding_time is the time duration of unbonding. */ - unbondingTime?: Duration; - /** max_validators is the maximum number of validators. */ - - maxValidators: number; - /** max_entries is the max entries for either unbonding delegation or redelegation (per pair/trio). */ - - maxEntries: number; - /** historical_entries is the number of historical entries to persist. */ - - historicalEntries: number; - /** bond_denom defines the bondable coin denomination. */ - - bondDenom: string; - /** min_commission_rate is the chain-wide minimum commission rate that a validator can charge their delegators */ - - minCommissionRate: string; -} -/** Params defines the parameters for the staking module. */ - -export interface ParamsSDKType { - unbonding_time?: DurationSDKType; - max_validators: number; - max_entries: number; - historical_entries: number; - bond_denom: string; - min_commission_rate: string; -} -/** - * DelegationResponse is equivalent to Delegation except that it contains a - * balance in addition to shares which is more suitable for client responses. - */ - -export interface DelegationResponse { - delegation?: Delegation; - balance?: Coin; -} -/** - * DelegationResponse is equivalent to Delegation except that it contains a - * balance in addition to shares which is more suitable for client responses. - */ - -export interface DelegationResponseSDKType { - delegation?: DelegationSDKType; - balance?: CoinSDKType; -} -/** - * RedelegationEntryResponse is equivalent to a RedelegationEntry except that it - * contains a balance in addition to shares which is more suitable for client - * responses. - */ - -export interface RedelegationEntryResponse { - redelegationEntry?: RedelegationEntry; - balance: string; -} -/** - * RedelegationEntryResponse is equivalent to a RedelegationEntry except that it - * contains a balance in addition to shares which is more suitable for client - * responses. - */ - -export interface RedelegationEntryResponseSDKType { - redelegation_entry?: RedelegationEntrySDKType; - balance: string; -} -/** - * RedelegationResponse is equivalent to a Redelegation except that its entries - * contain a balance in addition to shares which is more suitable for client - * responses. - */ - -export interface RedelegationResponse { - redelegation?: Redelegation; - entries: RedelegationEntryResponse[]; -} -/** - * RedelegationResponse is equivalent to a Redelegation except that its entries - * contain a balance in addition to shares which is more suitable for client - * responses. - */ - -export interface RedelegationResponseSDKType { - redelegation?: RedelegationSDKType; - entries: RedelegationEntryResponseSDKType[]; -} -/** - * Pool is used for tracking bonded and not-bonded token supply of the bond - * denomination. - */ - -export interface Pool { - notBondedTokens: string; - bondedTokens: string; -} -/** - * 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): Pool { - const message = createBasePool(); - message.notBondedTokens = object.notBondedTokens ?? ""; - message.bondedTokens = object.bondedTokens ?? ""; - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/cosmos/staking/v1beta1/tx.rpc.msg.ts b/packages/codegen/src/cosmos/staking/v1beta1/tx.rpc.msg.ts deleted file mode 100644 index b530ca14..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/staking/v1beta1/tx.ts b/packages/codegen/src/cosmos/staking/v1beta1/tx.ts deleted file mode 100644 index df65c4af..00000000 --- a/packages/codegen/src/cosmos/staking/v1beta1/tx.ts +++ /dev/null @@ -1,728 +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 { DeepPartial, toTimestamp, fromTimestamp } from "../../../helpers"; -/** MsgCreateValidator defines a SDK message for creating a new validator. */ - -export interface MsgCreateValidator { - description?: Description; - commission?: CommissionRates; - minSelfDelegation: string; - delegatorAddress: string; - validatorAddress: string; - pubkey?: Any; - value?: Coin; -} -/** MsgCreateValidator defines a SDK message for creating a new validator. */ - -export interface MsgCreateValidatorSDKType { - description?: DescriptionSDKType; - commission?: CommissionRatesSDKType; - min_self_delegation: string; - delegator_address: string; - validator_address: string; - pubkey?: AnySDKType; - value?: CoinSDKType; -} -/** 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; - 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; - validator_address: string; - 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; -} -/** - * MsgDelegate defines a SDK message for performing a delegation of coins - * from a delegator to a validator. - */ - -export interface MsgDelegateSDKType { - delegator_address: string; - validator_address: string; - amount?: CoinSDKType; -} -/** MsgDelegateResponse defines the Msg/Delegate response type. */ - -export interface MsgDelegateResponse {} -/** 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; -} -/** - * MsgBeginRedelegate defines a SDK message for performing a redelegation - * of coins from a delegator and source validator to a destination validator. - */ - -export interface MsgBeginRedelegateSDKType { - delegator_address: string; - validator_src_address: string; - validator_dst_address: string; - amount?: CoinSDKType; -} -/** MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. */ - -export interface MsgBeginRedelegateResponse { - completionTime?: Date; -} -/** MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. */ - -export interface MsgBeginRedelegateResponseSDKType { - completion_time?: Date; -} -/** - * MsgUndelegate defines a SDK message for performing an undelegation from a - * delegate and a validator. - */ - -export interface MsgUndelegate { - delegatorAddress: string; - validatorAddress: string; - amount?: Coin; -} -/** - * MsgUndelegate defines a SDK message for performing an undelegation from a - * delegate and a validator. - */ - -export interface MsgUndelegateSDKType { - delegator_address: string; - validator_address: string; - amount?: CoinSDKType; -} -/** MsgUndelegateResponse defines the Msg/Undelegate response type. */ - -export interface MsgUndelegateResponse { - completionTime?: Date; -} -/** MsgUndelegateResponse defines the Msg/Undelegate response type. */ - -export interface MsgUndelegateResponseSDKType { - completion_time?: Date; -} - -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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): MsgUndelegateResponse { - const message = createBaseMsgUndelegateResponse(); - message.completionTime = object.completionTime ?? undefined; - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/cosmos/tx/signing/v1beta1/signing.ts b/packages/codegen/src/cosmos/tx/signing/v1beta1/signing.ts deleted file mode 100644 index a13bd8ec..00000000 --- a/packages/codegen/src/cosmos/tx/signing/v1beta1/signing.ts +++ /dev/null @@ -1,465 +0,0 @@ -import { CompactBitArray, CompactBitArraySDKType } from "../../../crypto/multisig/v1beta1/multisig"; -import { Any, AnySDKType } from "../../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, 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, -} -export const SignModeSDKType = SignMode; -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: SignatureDescriptorSDKType[]; -} -/** - * SignatureDescriptor is a convenience type which represents the full data for - * a signature including the public key of the signer, signing modes and the - * signature itself. It is primarily used for coordinating signatures between - * clients. - */ - -export interface SignatureDescriptor { - /** public_key is the public key of the signer */ - publicKey?: Any; - data?: SignatureDescriptor_Data; - /** - * sequence is the sequence of the account, which describes the - * number of committed transactions signed by a given address. It is used to prevent - * replay attacks. - */ - - sequence: Long; -} -/** - * SignatureDescriptor is a convenience type which represents the full data for - * a signature including the public key of the signer, signing modes and the - * signature itself. It is primarily used for coordinating signatures between - * clients. - */ - -export interface SignatureDescriptorSDKType { - public_key?: AnySDKType; - data?: SignatureDescriptor_DataSDKType; - sequence: Long; -} -/** Data represents signature data */ - -export interface SignatureDescriptor_Data { - /** single represents a single signer */ - single?: SignatureDescriptor_Data_Single; - /** multi represents a multisig signer */ - - multi?: SignatureDescriptor_Data_Multi; -} -/** Data represents signature data */ - -export interface SignatureDescriptor_DataSDKType { - single?: SignatureDescriptor_Data_SingleSDKType; - multi?: SignatureDescriptor_Data_MultiSDKType; -} -/** Single is the signature data for a single signer */ - -export interface SignatureDescriptor_Data_Single { - /** mode is the signing mode of the single signer */ - mode: SignMode; - /** signature is the raw signature bytes */ - - signature: Uint8Array; -} -/** Single is the signature data for a single signer */ - -export interface SignatureDescriptor_Data_SingleSDKType { - mode: SignMode; - signature: Uint8Array; -} -/** Multi is the signature data for a multisig public key */ - -export interface SignatureDescriptor_Data_Multi { - /** bitarray specifies which keys within the multisig are signing */ - bitarray?: CompactBitArray; - /** signatures is the signatures of the multi-signature */ - - signatures: SignatureDescriptor_Data[]; -} -/** Multi is the signature data for a multisig public key */ - -export interface SignatureDescriptor_Data_MultiSDKType { - bitarray?: CompactBitArraySDKType; - 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmos/tx/v1beta1/service.lcd.ts b/packages/codegen/src/cosmos/tx/v1beta1/service.lcd.ts deleted file mode 100644 index ee31b21e..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/tx/v1beta1/service.rpc.Service.ts b/packages/codegen/src/cosmos/tx/v1beta1/service.rpc.Service.ts deleted file mode 100644 index 385b42d5..00000000 --- a/packages/codegen/src/cosmos/tx/v1beta1/service.rpc.Service.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 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/packages/codegen/src/cosmos/tx/v1beta1/service.ts b/packages/codegen/src/cosmos/tx/v1beta1/service.ts deleted file mode 100644 index cd94819d..00000000 --- a/packages/codegen/src/cosmos/tx/v1beta1/service.ts +++ /dev/null @@ -1,916 +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 { DeepPartial, 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, -} -export const OrderBySDKType = OrderBy; -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, -} -export const BroadcastModeSDKType = BroadcastMode; -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; - orderBy: OrderBy; -} -/** - * GetTxsEventRequest is the request type for the Service.TxsByEvents - * RPC method. - */ - -export interface GetTxsEventRequestSDKType { - events: string[]; - pagination?: PageRequestSDKType; - order_by: 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; -} -/** - * GetTxsEventResponse is the response type for the Service.TxsByEvents - * RPC method. - */ - -export interface GetTxsEventResponseSDKType { - txs: TxSDKType[]; - tx_responses: TxResponseSDKType[]; - pagination?: PageResponseSDKType; -} -/** - * 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: Uint8Array; - mode: BroadcastMode; -} -/** - * BroadcastTxResponse is the response type for the - * Service.BroadcastTx method. - */ - -export interface BroadcastTxResponse { - /** tx_response is the queried TxResponses. */ - txResponse?: TxResponse; -} -/** - * BroadcastTxResponse is the response type for the - * Service.BroadcastTx method. - */ - -export interface BroadcastTxResponseSDKType { - tx_response?: TxResponseSDKType; -} -/** - * SimulateRequest is the request type for the Service.Simulate - * RPC method. - */ - -export interface SimulateRequest { - /** - * tx is the transaction to simulate. - * Deprecated. Send raw tx bytes instead. - */ - - /** @deprecated */ - tx?: Tx; - /** - * tx_bytes is the raw transaction. - * - * Since: cosmos-sdk 0.43 - */ - - txBytes: Uint8Array; -} -/** - * SimulateRequest is the request type for the Service.Simulate - * RPC method. - */ - -export interface SimulateRequestSDKType { - /** @deprecated */ - tx?: TxSDKType; - tx_bytes: Uint8Array; -} -/** - * SimulateResponse is the response type for the - * Service.SimulateRPC method. - */ - -export interface SimulateResponse { - /** gas_info is the information about gas used in the simulation. */ - gasInfo?: GasInfo; - /** result is the result of the simulation. */ - - result?: Result; -} -/** - * SimulateResponse is the response type for the - * Service.SimulateRPC method. - */ - -export interface SimulateResponseSDKType { - gas_info?: GasInfoSDKType; - result?: ResultSDKType; -} -/** - * GetTxRequest is the request type for the Service.GetTx - * RPC method. - */ - -export interface GetTxRequest { - /** hash is the tx hash to query, encoded as a hex string. */ - hash: string; -} -/** - * GetTxRequest is the request type for the Service.GetTx - * RPC method. - */ - -export interface GetTxRequestSDKType { - hash: string; -} -/** GetTxResponse is the response type for the Service.GetTx method. */ - -export interface GetTxResponse { - /** tx is the queried transaction. */ - tx?: Tx; - /** tx_response is the queried TxResponses. */ - - txResponse?: TxResponse; -} -/** GetTxResponse is the response type for the Service.GetTx method. */ - -export interface GetTxResponseSDKType { - tx?: TxSDKType; - tx_response?: TxResponseSDKType; -} -/** - * GetBlockWithTxsRequest is the request type for the Service.GetBlockWithTxs - * RPC method. - * - * Since: cosmos-sdk 0.45.2 - */ - -export interface GetBlockWithTxsRequest { - /** height is the height of the block to query. */ - height: Long; - /** pagination defines a pagination for the request. */ - - pagination?: PageRequest; -} -/** - * GetBlockWithTxsRequest is the request type for the Service.GetBlockWithTxs - * RPC method. - * - * Since: cosmos-sdk 0.45.2 - */ - -export interface GetBlockWithTxsRequestSDKType { - height: Long; - pagination?: PageRequestSDKType; -} -/** - * GetBlockWithTxsResponse is the response type for the Service.GetBlockWithTxs method. - * - * Since: cosmos-sdk 0.45.2 - */ - -export interface GetBlockWithTxsResponse { - /** txs are the transactions in the block. */ - txs: Tx[]; - blockId?: BlockID; - block?: Block; - /** pagination defines a pagination for the response. */ - - pagination?: PageResponse; -} -/** - * GetBlockWithTxsResponse is the response type for the Service.GetBlockWithTxs method. - * - * Since: cosmos-sdk 0.45.2 - */ - -export interface GetBlockWithTxsResponseSDKType { - txs: TxSDKType[]; - block_id?: BlockIDSDKType; - block?: BlockSDKType; - pagination?: PageResponseSDKType; -} - -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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmos/tx/v1beta1/tx.ts b/packages/codegen/src/cosmos/tx/v1beta1/tx.ts deleted file mode 100644 index a2aa5acd..00000000 --- a/packages/codegen/src/cosmos/tx/v1beta1/tx.ts +++ /dev/null @@ -1,1319 +0,0 @@ -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import { SignMode } 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 { DeepPartial, 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; - /** - * auth_info is the authorization related content of the transaction, - * specifically signers, signer modes and fee - */ - - authInfo?: AuthInfo; - /** - * signatures is a list of signatures that matches the length and order of - * AuthInfo's signer_infos to allow connecting signature meta information like - * public key and signing mode by position. - */ - - signatures: Uint8Array[]; -} -/** Tx is the standard type used for broadcasting transactions. */ - -export interface TxSDKType { - body?: TxBodySDKType; - auth_info?: AuthInfoSDKType; - signatures: Uint8Array[]; -} -/** - * TxRaw is a variant of Tx that pins the signer's exact binary representation - * of body and auth_info. This is used for signing, broadcasting and - * verification. The binary `serialize(tx: TxRaw)` is stored in Tendermint and - * the hash `sha256(serialize(tx: TxRaw))` becomes the "txhash", commonly used - * as the transaction ID. - */ - -export interface TxRaw { - /** - * body_bytes is a protobuf serialization of a TxBody that matches the - * representation in SignDoc. - */ - bodyBytes: Uint8Array; - /** - * auth_info_bytes is a protobuf serialization of an AuthInfo that matches the - * representation in SignDoc. - */ - - authInfoBytes: Uint8Array; - /** - * signatures is a list of signatures that matches the length and order of - * AuthInfo's signer_infos to allow connecting signature meta information like - * public key and signing mode by position. - */ - - signatures: Uint8Array[]; -} -/** - * TxRaw is a variant of Tx that pins the signer's exact binary representation - * of body and auth_info. This is used for signing, broadcasting and - * verification. The binary `serialize(tx: TxRaw)` is stored in Tendermint and - * the hash `sha256(serialize(tx: TxRaw))` becomes the "txhash", commonly used - * as the transaction ID. - */ - -export interface TxRawSDKType { - body_bytes: Uint8Array; - auth_info_bytes: Uint8Array; - signatures: Uint8Array[]; -} -/** SignDoc is the type used for generating sign bytes for SIGN_MODE_DIRECT. */ - -export interface SignDoc { - /** - * body_bytes is protobuf serialization of a TxBody that matches the - * representation in TxRaw. - */ - bodyBytes: Uint8Array; - /** - * auth_info_bytes is a protobuf serialization of an AuthInfo that matches the - * representation in TxRaw. - */ - - authInfoBytes: Uint8Array; - /** - * chain_id is the unique identifier of the chain this transaction targets. - * It prevents signed transactions from being used on another chain by an - * attacker - */ - - chainId: string; - /** account_number is the account number of the account in state */ - - accountNumber: Long; -} -/** SignDoc is the type used for generating sign bytes for SIGN_MODE_DIRECT. */ - -export interface SignDocSDKType { - body_bytes: Uint8Array; - auth_info_bytes: Uint8Array; - chain_id: string; - account_number: Long; -} -/** - * SignDocDirectAux is the type used for generating sign bytes for - * SIGN_MODE_DIRECT_AUX. - * - * Since: cosmos-sdk 0.46 - */ - -export interface SignDocDirectAux { - /** - * body_bytes is protobuf serialization of a TxBody that matches the - * representation in TxRaw. - */ - bodyBytes: Uint8Array; - /** public_key is the public key of the signing account. */ - - publicKey?: Any; - /** - * chain_id is the identifier of the chain this transaction targets. - * It prevents signed transactions from being used on another chain by an - * attacker. - */ - - chainId: string; - /** account_number is the account number of the account in state. */ - - accountNumber: Long; - /** sequence is the sequence number of the signing account. */ - - sequence: Long; - /** - * Tip is the optional tip used for meta-transactions. It should be left - * empty if the signer is not the tipper for this transaction. - */ - - tip?: Tip; -} -/** - * SignDocDirectAux is the type used for generating sign bytes for - * SIGN_MODE_DIRECT_AUX. - * - * Since: cosmos-sdk 0.46 - */ - -export interface SignDocDirectAuxSDKType { - body_bytes: Uint8Array; - public_key?: AnySDKType; - chain_id: string; - account_number: Long; - sequence: Long; - tip?: TipSDKType; -} -/** TxBody is the body of a transaction that all signers sign over. */ - -export interface TxBody { - /** - * messages is a list of messages to be executed. The required signers of - * those messages define the number and order of elements in AuthInfo's - * signer_infos and Tx's signatures. Each required signer address is added to - * the list only the first time it occurs. - * By convention, the first required signer (usually from the first message) - * is referred to as the primary signer and pays the fee for the whole - * transaction. - */ - messages: Any[]; - /** - * memo is any arbitrary note/comment to be added to the transaction. - * WARNING: in clients, any publicly exposed text should not be called memo, - * but should be called `note` instead (see https://github.com/cosmos/cosmos-sdk/issues/9122). - */ - - memo: string; - /** - * timeout is the block height after which this transaction will not - * be processed by the chain - */ - - timeoutHeight: Long; - /** - * extension_options are arbitrary options that can be added by chains - * when the default options are not sufficient. If any of these are present - * and can't be handled, the transaction will be rejected - */ - - extensionOptions: Any[]; - /** - * extension_options are arbitrary options that can be added by chains - * when the default options are not sufficient. If any of these are present - * and can't be handled, they will be ignored - */ - - nonCriticalExtensionOptions: Any[]; -} -/** TxBody is the body of a transaction that all signers sign over. */ - -export interface TxBodySDKType { - messages: AnySDKType[]; - memo: string; - timeout_height: Long; - extension_options: AnySDKType[]; - non_critical_extension_options: AnySDKType[]; -} -/** - * AuthInfo describes the fee and signer modes that are used to sign a - * transaction. - */ - -export interface AuthInfo { - /** - * signer_infos defines the signing modes for the required signers. The number - * and order of elements must match the required signers from TxBody's - * messages. The first element is the primary signer and the one which pays - * the fee. - */ - signerInfos: SignerInfo[]; - /** - * Fee is the fee and gas limit for the transaction. The first signer is the - * primary signer and the one which pays the fee. The fee can be calculated - * based on the cost of evaluating the body and doing signature verification - * of the signers. This can be estimated via simulation. - */ - - fee?: Fee; - /** - * Tip is the optional tip used for meta-transactions. - * - * Since: cosmos-sdk 0.46 - */ - - tip?: Tip; -} -/** - * AuthInfo describes the fee and signer modes that are used to sign a - * transaction. - */ - -export interface AuthInfoSDKType { - signer_infos: SignerInfoSDKType[]; - fee?: FeeSDKType; - tip?: TipSDKType; -} -/** - * SignerInfo describes the public key and signing mode of a single top-level - * signer. - */ - -export interface SignerInfo { - /** - * public_key is the public key of the signer. It is optional for accounts - * that already exist in state. If unset, the verifier can use the required \ - * signer address for this position and lookup the public key. - */ - publicKey?: Any; - /** - * mode_info describes the signing mode of the signer and is a nested - * structure to support nested multisig pubkey's - */ - - modeInfo?: ModeInfo; - /** - * sequence is the sequence of the account, which describes the - * number of committed transactions signed by a given address. It is used to - * prevent replay attacks. - */ - - sequence: Long; -} -/** - * SignerInfo describes the public key and signing mode of a single top-level - * signer. - */ - -export interface SignerInfoSDKType { - public_key?: AnySDKType; - mode_info?: ModeInfoSDKType; - sequence: Long; -} -/** ModeInfo describes the signing mode of a single or nested multisig signer. */ - -export interface ModeInfo { - /** single represents a single signer */ - single?: ModeInfo_Single; - /** multi represents a nested multisig signer */ - - multi?: ModeInfo_Multi; -} -/** ModeInfo describes the signing mode of a single or nested multisig signer. */ - -export interface ModeInfoSDKType { - single?: ModeInfo_SingleSDKType; - multi?: ModeInfo_MultiSDKType; -} -/** - * Single is the mode info for a single signer. It is structured as a message - * to allow for additional fields such as locale for SIGN_MODE_TEXTUAL in the - * future - */ - -export interface ModeInfo_Single { - /** mode is the signing mode of the single signer */ - mode: SignMode; -} -/** - * Single is the mode info for a single signer. It is structured as a message - * to allow for additional fields such as locale for SIGN_MODE_TEXTUAL in the - * future - */ - -export interface ModeInfo_SingleSDKType { - mode: SignMode; -} -/** Multi is the mode info for a multisig public key */ - -export interface ModeInfo_Multi { - /** bitarray specifies which keys within the multisig are signing */ - bitarray?: CompactBitArray; - /** - * mode_infos is the corresponding modes of the signers of the multisig - * which could include nested multisig public keys - */ - - modeInfos: ModeInfo[]; -} -/** Multi is the mode info for a multisig public key */ - -export interface ModeInfo_MultiSDKType { - bitarray?: CompactBitArraySDKType; - mode_infos: ModeInfoSDKType[]; -} -/** - * Fee includes the amount of coins paid in fees and the maximum - * gas to be used by the transaction. The ratio yields an effective "gasprice", - * which must be above some miminum to be accepted into the mempool. - */ - -export interface Fee { - /** amount is the amount of coins to be paid as a fee */ - amount: Coin[]; - /** - * gas_limit is the maximum gas that can be used in transaction processing - * before an out of gas error occurs - */ - - gasLimit: Long; - /** - * if unset, the first signer is responsible for paying the fees. If set, the specified account must pay the fees. - * the payer must be a tx signer (and thus have signed this field in AuthInfo). - * setting this field does *not* change the ordering of required signers for the transaction. - */ - - payer: string; - /** - * if set, the fee payer (either the first signer or the value of the payer field) requests that a fee grant be used - * to pay fees instead of the fee payer's own balance. If an appropriate fee grant does not exist or the chain does - * not support fee grants, this will fail - */ - - granter: string; -} -/** - * Fee includes the amount of coins paid in fees and the maximum - * gas to be used by the transaction. The ratio yields an effective "gasprice", - * which must be above some miminum to be accepted into the mempool. - */ - -export interface FeeSDKType { - amount: CoinSDKType[]; - gas_limit: Long; - payer: string; - granter: string; -} -/** - * Tip is the tip used for meta-transactions. - * - * Since: cosmos-sdk 0.46 - */ - -export interface Tip { - /** amount is the amount of the tip */ - amount: Coin[]; - /** tipper is the address of the account paying for the tip */ - - tipper: string; -} -/** - * Tip is the tip used for meta-transactions. - * - * Since: cosmos-sdk 0.46 - */ - -export interface TipSDKType { - amount: CoinSDKType[]; - tipper: string; -} -/** - * AuxSignerData is the intermediary format that an auxiliary signer (e.g. a - * tipper) builds and sends to the fee payer (who will build and broadcast the - * actual tx). AuxSignerData is not a valid tx in itself, and will be rejected - * by the node if sent directly as-is. - * - * Since: cosmos-sdk 0.46 - */ - -export interface AuxSignerData { - /** - * address is the bech32-encoded address of the auxiliary signer. If using - * AuxSignerData across different chains, the bech32 prefix of the target - * chain (where the final transaction is broadcasted) should be used. - */ - address: string; - /** - * sign_doc is the SIGN_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; - /** 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: string; - sign_doc?: SignDocDirectAuxSDKType; - mode: SignMode; - 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmos/upgrade/v1beta1/query.lcd.ts b/packages/codegen/src/cosmos/upgrade/v1beta1/query.lcd.ts deleted file mode 100644 index 36a7cf66..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/upgrade/v1beta1/query.rpc.Query.ts b/packages/codegen/src/cosmos/upgrade/v1beta1/query.rpc.Query.ts deleted file mode 100644 index d2cea4ed..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/upgrade/v1beta1/query.ts b/packages/codegen/src/cosmos/upgrade/v1beta1/query.ts deleted file mode 100644 index e676c1d2..00000000 --- a/packages/codegen/src/cosmos/upgrade/v1beta1/query.ts +++ /dev/null @@ -1,617 +0,0 @@ -import { Plan, PlanSDKType, ModuleVersion, ModuleVersionSDKType } from "./upgrade"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, 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; -} -/** - * QueryCurrentPlanResponse is the response type for the Query/CurrentPlan RPC - * method. - */ - -export interface QueryCurrentPlanResponseSDKType { - plan?: PlanSDKType; -} -/** - * QueryCurrentPlanRequest is the request type for the Query/AppliedPlan RPC - * method. - */ - -export interface QueryAppliedPlanRequest { - /** name is the name of the applied plan to query for. */ - name: string; -} -/** - * QueryCurrentPlanRequest is the request type for the Query/AppliedPlan RPC - * method. - */ - -export interface QueryAppliedPlanRequestSDKType { - name: string; -} -/** - * QueryAppliedPlanResponse is the response type for the Query/AppliedPlan RPC - * method. - */ - -export interface QueryAppliedPlanResponse { - /** height is the block height at which the plan was applied. */ - height: Long; -} -/** - * QueryAppliedPlanResponse is the response type for the Query/AppliedPlan RPC - * method. - */ - -export interface QueryAppliedPlanResponseSDKType { - height: Long; -} -/** - * QueryUpgradedConsensusStateRequest is the request type for the Query/UpgradedConsensusState - * RPC method. - */ - -/** @deprecated */ - -export interface QueryUpgradedConsensusStateRequest { - /** - * last height of the current chain must be sent in request - * as this is the height under which next consensus state is stored - */ - lastHeight: Long; -} -/** - * QueryUpgradedConsensusStateRequest is the request type for the Query/UpgradedConsensusState - * RPC method. - */ - -/** @deprecated */ - -export interface QueryUpgradedConsensusStateRequestSDKType { - last_height: Long; -} -/** - * QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState - * RPC method. - */ - -/** @deprecated */ - -export interface QueryUpgradedConsensusStateResponse { - /** Since: cosmos-sdk 0.43 */ - upgradedConsensusState: Uint8Array; -} -/** - * QueryUpgradedConsensusStateResponse is the response type for the Query/UpgradedConsensusState - * RPC method. - */ - -/** @deprecated */ - -export interface QueryUpgradedConsensusStateResponseSDKType { - upgraded_consensus_state: Uint8Array; -} -/** - * QueryModuleVersionsRequest is the request type for the Query/ModuleVersions - * RPC method. - * - * Since: cosmos-sdk 0.43 - */ - -export interface QueryModuleVersionsRequest { - /** - * module_name is a field to query a specific module - * consensus version from state. Leaving this empty will - * fetch the full list of module versions from state - */ - moduleName: string; -} -/** - * QueryModuleVersionsRequest is the request type for the Query/ModuleVersions - * RPC method. - * - * Since: cosmos-sdk 0.43 - */ - -export interface QueryModuleVersionsRequestSDKType { - module_name: string; -} -/** - * QueryModuleVersionsResponse is the response type for the Query/ModuleVersions - * RPC method. - * - * Since: cosmos-sdk 0.43 - */ - -export interface QueryModuleVersionsResponse { - /** module_versions is a list of module names with their consensus versions. */ - moduleVersions: ModuleVersion[]; -} -/** - * QueryModuleVersionsResponse is the response type for the Query/ModuleVersions - * RPC method. - * - * Since: cosmos-sdk 0.43 - */ - -export interface QueryModuleVersionsResponseSDKType { - module_versions: ModuleVersionSDKType[]; -} -/** - * QueryAuthorityRequest is the request type for Query/Authority - * - * Since: cosmos-sdk 0.46 - */ - -export interface QueryAuthorityRequest {} -/** - * 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(_: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): QueryAuthorityResponse { - const message = createBaseQueryAuthorityResponse(); - message.address = object.address ?? ""; - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/cosmos/upgrade/v1beta1/tx.rpc.msg.ts b/packages/codegen/src/cosmos/upgrade/v1beta1/tx.rpc.msg.ts deleted file mode 100644 index 901bdbd0..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/upgrade/v1beta1/tx.ts b/packages/codegen/src/cosmos/upgrade/v1beta1/tx.ts deleted file mode 100644 index def2c4c4..00000000 --- a/packages/codegen/src/cosmos/upgrade/v1beta1/tx.ts +++ /dev/null @@ -1,241 +0,0 @@ -import { Plan, PlanSDKType } from "./upgrade"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../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; -} -/** - * MsgSoftwareUpgrade is the Msg/SoftwareUpgrade request type. - * - * Since: cosmos-sdk 0.46 - */ - -export interface MsgSoftwareUpgradeSDKType { - authority: string; - plan?: PlanSDKType; -} -/** - * MsgSoftwareUpgradeResponse is the Msg/SoftwareUpgrade response type. - * - * Since: cosmos-sdk 0.46 - */ - -export interface MsgSoftwareUpgradeResponse {} -/** - * 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: 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): MsgCancelUpgradeResponse { - const message = createBaseMsgCancelUpgradeResponse(); - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/cosmos/upgrade/v1beta1/upgrade.ts b/packages/codegen/src/cosmos/upgrade/v1beta1/upgrade.ts deleted file mode 100644 index 5ca78d54..00000000 --- a/packages/codegen/src/cosmos/upgrade/v1beta1/upgrade.ts +++ /dev/null @@ -1,398 +0,0 @@ -import { Timestamp } from "../../../google/protobuf/timestamp"; -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import { Long, toTimestamp, fromTimestamp, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** Plan specifies information about a planned upgrade and when it should occur. */ - -export interface Plan { - /** - * Sets the name for the upgrade. This name will be used by the upgraded - * version of the software to apply any special "on-upgrade" commands during - * the first BeginBlock method after the upgrade is applied. It is also used - * to detect whether a software version can handle a given upgrade. If no - * upgrade handler with this name has been set in the software, it will be - * assumed that the software is out-of-date when the upgrade Time or Height is - * reached and the software will exit. - */ - name: string; - /** - * Deprecated: Time based upgrades have been deprecated. Time based upgrade logic - * has been removed from the SDK. - * If this field is not empty, an error will be thrown. - */ - - /** @deprecated */ - - time?: Date; - /** - * 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; -} -/** Plan specifies information about a planned upgrade and when it should occur. */ - -export interface PlanSDKType { - name: string; - /** @deprecated */ - - time?: Date; - height: Long; - info: string; - /** @deprecated */ - - upgraded_client_state?: AnySDKType; -} -/** - * SoftwareUpgradeProposal is a gov Content type for initiating a software - * upgrade. - * Deprecated: This legacy proposal is deprecated in favor of Msg-based gov - * proposals, see MsgSoftwareUpgrade. - */ - -/** @deprecated */ - -export interface SoftwareUpgradeProposal { - title: string; - description: string; - plan?: Plan; -} -/** - * 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; -} -/** - * 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: string; - 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmos/vesting/v1beta1/tx.rpc.msg.ts b/packages/codegen/src/cosmos/vesting/v1beta1/tx.rpc.msg.ts deleted file mode 100644 index f0728ea1..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmos/vesting/v1beta1/tx.ts b/packages/codegen/src/cosmos/vesting/v1beta1/tx.ts deleted file mode 100644 index cad743c8..00000000 --- a/packages/codegen/src/cosmos/vesting/v1beta1/tx.ts +++ /dev/null @@ -1,421 +0,0 @@ -import { Coin, CoinSDKType } from "../../base/v1beta1/coin"; -import { Period, PeriodSDKType } from "./vesting"; -import { Long, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * MsgCreateVestingAccount defines a message that enables creating a vesting - * account. - */ - -export interface MsgCreateVestingAccount { - fromAddress: string; - toAddress: string; - amount: Coin[]; - endTime: Long; - delayed: boolean; -} -/** - * 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): MsgCreatePeriodicVestingAccountResponse { - const message = createBaseMsgCreatePeriodicVestingAccountResponse(); - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/cosmos/vesting/v1beta1/vesting.ts b/packages/codegen/src/cosmos/vesting/v1beta1/vesting.ts deleted file mode 100644 index bd9ae830..00000000 --- a/packages/codegen/src/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 { Long, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * BaseVestingAccount implements the VestingAccount interface. It contains all - * the necessary fields needed for any vesting account implementation. - */ - -export interface BaseVestingAccount { - baseAccount?: BaseAccount; - originalVesting: Coin[]; - delegatedFree: Coin[]; - delegatedVesting: Coin[]; - endTime: Long; -} -/** - * BaseVestingAccount implements the VestingAccount interface. It contains all - * the necessary fields needed for any vesting account implementation. - */ - -export interface BaseVestingAccountSDKType { - base_account?: BaseAccountSDKType; - original_vesting: CoinSDKType[]; - delegated_free: CoinSDKType[]; - delegated_vesting: CoinSDKType[]; - end_time: Long; -} -/** - * ContinuousVestingAccount implements the VestingAccount interface. It - * continuously vests by unlocking coins linearly with respect to time. - */ - -export interface ContinuousVestingAccount { - baseVestingAccount?: BaseVestingAccount; - startTime: Long; -} -/** - * ContinuousVestingAccount implements the VestingAccount interface. It - * continuously vests by unlocking coins linearly with respect to time. - */ - -export interface ContinuousVestingAccountSDKType { - base_vesting_account?: BaseVestingAccountSDKType; - start_time: Long; -} -/** - * DelayedVestingAccount implements the VestingAccount interface. It vests all - * coins after a specific time, but non prior. In other words, it keeps them - * locked until a specified time. - */ - -export interface DelayedVestingAccount { - baseVestingAccount?: BaseVestingAccount; -} -/** - * DelayedVestingAccount implements the VestingAccount interface. It vests all - * coins after a specific time, but non prior. In other words, it keeps them - * locked until a specified time. - */ - -export interface DelayedVestingAccountSDKType { - base_vesting_account?: BaseVestingAccountSDKType; -} -/** Period defines a length of time and amount of coins that will vest. */ - -export interface Period { - length: Long; - amount: Coin[]; -} -/** Period defines a length of time and amount of coins that will vest. */ - -export interface PeriodSDKType { - length: Long; - amount: CoinSDKType[]; -} -/** - * PeriodicVestingAccount implements the VestingAccount interface. It - * periodically vests by unlocking coins during each specified period. - */ - -export interface PeriodicVestingAccount { - baseVestingAccount?: BaseVestingAccount; - startTime: Long; - vestingPeriods: Period[]; -} -/** - * PeriodicVestingAccount implements the VestingAccount interface. It - * periodically vests by unlocking coins during each specified period. - */ - -export interface PeriodicVestingAccountSDKType { - base_vesting_account?: BaseVestingAccountSDKType; - start_time: Long; - vesting_periods: PeriodSDKType[]; -} -/** - * PermanentLockedAccount implements the VestingAccount interface. It does - * not ever release coins, locking them indefinitely. Coins in this account can - * still be used for delegating and for governance votes even while locked. - * - * Since: cosmos-sdk 0.43 - */ - -export interface PermanentLockedAccount { - baseVestingAccount?: BaseVestingAccount; -} -/** - * 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; -} - -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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmos_proto/bundle.ts b/packages/codegen/src/cosmos_proto/bundle.ts deleted file mode 100644 index 3dcd4c86..00000000 --- a/packages/codegen/src/cosmos_proto/bundle.ts +++ /dev/null @@ -1,3 +0,0 @@ -import * as _2 from "./cosmos"; -export const cosmos_proto = { ..._2 -}; \ No newline at end of file diff --git a/packages/codegen/src/cosmos_proto/cosmos.ts b/packages/codegen/src/cosmos_proto/cosmos.ts deleted file mode 100644 index 5999944b..00000000 --- a/packages/codegen/src/cosmos_proto/cosmos.ts +++ /dev/null @@ -1,255 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../helpers"; -export enum ScalarType { - SCALAR_TYPE_UNSPECIFIED = 0, - SCALAR_TYPE_STRING = 1, - SCALAR_TYPE_BYTES = 2, - UNRECOGNIZED = -1, -} -export const ScalarTypeSDKType = ScalarType; -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: string; - description: string; -} -/** - * ScalarDescriptor describes an scalar type to be used with - * the scalar field option and declared by declare_scalar. - * Scalars extend simple protobuf built-in types with additional - * syntax and semantics, for instance to represent big integers. - * Scalars should ideally define an encoding such that there is only one - * valid syntactical representation for a given semantic meaning, - * i.e. the encoding should be deterministic. - */ - -export interface ScalarDescriptor { - /** - * name is the name of the scalar. It should be a short-name (without - * a period) such that the fully qualified name of the scalar will be - * package.name, ex. for the package a.b and scalar named C, the - * fully-qualified name will be a.b.C. - */ - name: string; - /** - * description is a human-readable description of the scalar and its - * encoding format. For instance a big integer or decimal scalar should - * specify precisely the expected encoding format. - */ - - description: string; - /** - * field_type is the type of field with which this scalar can be used. - * Scalars can be used with one and only one type of field so that - * encoding standards and simple and clear. Currently only string and - * bytes fields are supported for scalars. - */ - - fieldType: ScalarType[]; -} -/** - * ScalarDescriptor describes an scalar type to be used with - * the scalar field option and declared by declare_scalar. - * Scalars extend simple protobuf built-in types with additional - * syntax and semantics, for instance to represent big integers. - * Scalars should ideally define an encoding such that there is only one - * valid syntactical representation for a given semantic meaning, - * i.e. the encoding should be deterministic. - */ - -export interface ScalarDescriptorSDKType { - name: string; - description: string; - field_type: ScalarType[]; -} - -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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/cosmwasm/bundle.ts b/packages/codegen/src/cosmwasm/bundle.ts deleted file mode 100644 index f090e4ab..00000000 --- a/packages/codegen/src/cosmwasm/bundle.ts +++ /dev/null @@ -1,32 +0,0 @@ -import * as _95 from "./wasm/v1/authz"; -import * as _96 from "./wasm/v1/genesis"; -import * as _97 from "./wasm/v1/ibc"; -import * as _98 from "./wasm/v1/proposal"; -import * as _99 from "./wasm/v1/query"; -import * as _100 from "./wasm/v1/tx"; -import * as _101 from "./wasm/v1/types"; -import * as _194 from "./wasm/v1/query.lcd"; -import * as _195 from "./wasm/v1/query.rpc.Query"; -import * as _196 from "./wasm/v1/tx.rpc.msg"; -import * as _213 from "./lcd"; -import * as _214 from "./rpc.query"; -import * as _215 from "./rpc.tx"; -export namespace cosmwasm { - export namespace wasm { - export const v1 = { ..._95, - ..._96, - ..._97, - ..._98, - ..._99, - ..._100, - ..._101, - ..._194, - ..._195, - ..._196 - }; - } - export const ClientFactory = { ..._213, - ..._214, - ..._215 - }; -} \ No newline at end of file diff --git a/packages/codegen/src/cosmwasm/lcd.ts b/packages/codegen/src/cosmwasm/lcd.ts deleted file mode 100644 index ce16f358..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmwasm/rpc.query.ts b/packages/codegen/src/cosmwasm/rpc.query.ts deleted file mode 100644 index 8fa98029..00000000 --- a/packages/codegen/src/cosmwasm/rpc.query.ts +++ /dev/null @@ -1,73 +0,0 @@ -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/packages/codegen/src/cosmwasm/rpc.tx.ts b/packages/codegen/src/cosmwasm/rpc.tx.ts deleted file mode 100644 index e0ff07d4..00000000 --- a/packages/codegen/src/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/packages/codegen/src/cosmwasm/wasm/v1/authz.ts b/packages/codegen/src/cosmwasm/wasm/v1/authz.ts deleted file mode 100644 index b45419ea..00000000 --- a/packages/codegen/src/cosmwasm/wasm/v1/authz.ts +++ /dev/null @@ -1,603 +0,0 @@ -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import { Coin, CoinSDKType } from "../../../cosmos/base/v1beta1/coin"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, Long } from "../../../helpers"; -/** - * ContractExecutionAuthorization defines authorization for wasm execute. - * Since: wasmd 0.30 - */ - -export interface ContractExecutionAuthorization { - /** Grants for contract executions */ - grants: ContractGrant[]; -} -/** - * ContractExecutionAuthorization defines authorization for wasm execute. - * Since: wasmd 0.30 - */ - -export interface ContractExecutionAuthorizationSDKType { - grants: ContractGrantSDKType[]; -} -/** - * ContractMigrationAuthorization defines authorization for wasm contract - * migration. Since: wasmd 0.30 - */ - -export interface ContractMigrationAuthorization { - /** Grants for contract migrations */ - grants: ContractGrant[]; -} -/** - * ContractMigrationAuthorization defines authorization for wasm contract - * migration. Since: wasmd 0.30 - */ - -export interface ContractMigrationAuthorizationSDKType { - grants: ContractGrantSDKType[]; -} -/** - * ContractGrant a granted permission for a single contract - * Since: wasmd 0.30 - */ - -export interface ContractGrant { - /** Contract is the bech32 address of the smart contract */ - contract: string; - /** - * Limit defines execution limits that are enforced and updated when the grant - * is applied. When the limit lapsed the grant is removed. - */ - - limit?: Any; - /** - * Filter define more fine-grained control on the message payload passed - * to the contract in the operation. When no filter applies on execution, the - * operation is prohibited. - */ - - filter?: Any; -} -/** - * ContractGrant a granted permission for a single contract - * Since: wasmd 0.30 - */ - -export interface ContractGrantSDKType { - contract: string; - limit?: AnySDKType; - filter?: AnySDKType; -} -/** - * MaxCallsLimit limited number of calls to the contract. No funds transferable. - * Since: wasmd 0.30 - */ - -export interface MaxCallsLimit { - /** Remaining number that is decremented on each execution */ - remaining: Long; -} -/** - * MaxCallsLimit limited number of calls to the contract. No funds transferable. - * Since: wasmd 0.30 - */ - -export interface MaxCallsLimitSDKType { - remaining: Long; -} -/** - * MaxFundsLimit defines the maximal amounts that can be sent to the contract. - * Since: wasmd 0.30 - */ - -export interface MaxFundsLimit { - /** Amounts is the maximal amount of tokens transferable to the contract. */ - amounts: Coin[]; -} -/** - * MaxFundsLimit defines the maximal amounts that can be sent to the contract. - * Since: wasmd 0.30 - */ - -export interface MaxFundsLimitSDKType { - amounts: CoinSDKType[]; -} -/** - * CombinedLimit defines the maximal amounts that can be sent to a contract and - * the maximal number of calls executable. Both need to remain >0 to be valid. - * Since: wasmd 0.30 - */ - -export interface CombinedLimit { - /** Remaining number that is decremented on each execution */ - callsRemaining: Long; - /** Amounts is the maximal amount of tokens transferable to the contract. */ - - amounts: Coin[]; -} -/** - * CombinedLimit defines the maximal amounts that can be sent to a contract and - * the maximal number of calls executable. Both need to remain >0 to be valid. - * Since: wasmd 0.30 - */ - -export interface CombinedLimitSDKType { - calls_remaining: Long; - amounts: CoinSDKType[]; -} -/** - * AllowAllMessagesFilter is a wildcard to allow any type of contract payload - * message. - * Since: wasmd 0.30 - */ - -export interface AllowAllMessagesFilter {} -/** - * AllowAllMessagesFilter is a wildcard to allow any type of contract payload - * message. - * Since: wasmd 0.30 - */ - -export interface AllowAllMessagesFilterSDKType {} -/** - * AcceptedMessageKeysFilter accept only the specific contract message keys in - * the json object to be executed. - * Since: wasmd 0.30 - */ - -export interface AcceptedMessageKeysFilter { - /** Messages is the list of unique keys */ - keys: string[]; -} -/** - * AcceptedMessageKeysFilter accept only the specific contract message keys in - * the json object to be executed. - * Since: wasmd 0.30 - */ - -export interface AcceptedMessageKeysFilterSDKType { - keys: string[]; -} -/** - * AcceptedMessagesFilter accept only the specific raw contract messages to be - * executed. - * Since: wasmd 0.30 - */ - -export interface AcceptedMessagesFilter { - /** Messages is the list of raw contract messages */ - messages: Uint8Array[]; -} -/** - * AcceptedMessagesFilter accept only the specific raw contract messages to be - * executed. - * Since: wasmd 0.30 - */ - -export interface AcceptedMessagesFilterSDKType { - messages: Uint8Array[]; -} - -function createBaseContractExecutionAuthorization(): ContractExecutionAuthorization { - return { - grants: [] - }; -} - -export const ContractExecutionAuthorization = { - encode(message: ContractExecutionAuthorization, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.grants) { - ContractGrant.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ContractExecutionAuthorization { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseContractExecutionAuthorization(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.grants.push(ContractGrant.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: DeepPartial): ContractExecutionAuthorization { - const message = createBaseContractExecutionAuthorization(); - message.grants = object.grants?.map(e => ContractGrant.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseContractMigrationAuthorization(): ContractMigrationAuthorization { - return { - grants: [] - }; -} - -export const ContractMigrationAuthorization = { - encode(message: ContractMigrationAuthorization, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.grants) { - ContractGrant.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ContractMigrationAuthorization { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseContractMigrationAuthorization(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.grants.push(ContractGrant.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: DeepPartial): ContractMigrationAuthorization { - const message = createBaseContractMigrationAuthorization(); - message.grants = object.grants?.map(e => ContractGrant.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseContractGrant(): ContractGrant { - return { - contract: "", - limit: undefined, - filter: undefined - }; -} - -export const ContractGrant = { - encode(message: ContractGrant, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.contract !== "") { - writer.uint32(10).string(message.contract); - } - - if (message.limit !== undefined) { - Any.encode(message.limit, writer.uint32(18).fork()).ldelim(); - } - - if (message.filter !== undefined) { - Any.encode(message.filter, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ContractGrant { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseContractGrant(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.contract = reader.string(); - break; - - case 2: - message.limit = Any.decode(reader, reader.uint32()); - break; - - case 3: - message.filter = Any.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: DeepPartial): ContractGrant { - const message = createBaseContractGrant(); - message.contract = object.contract ?? ""; - message.limit = object.limit !== undefined && object.limit !== null ? Any.fromPartial(object.limit) : undefined; - message.filter = object.filter !== undefined && object.filter !== null ? Any.fromPartial(object.filter) : undefined; - return message; - } - -}; - -function createBaseMaxCallsLimit(): MaxCallsLimit { - return { - remaining: Long.UZERO - }; -} - -export const MaxCallsLimit = { - encode(message: MaxCallsLimit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.remaining.isZero()) { - writer.uint32(8).uint64(message.remaining); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MaxCallsLimit { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMaxCallsLimit(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.remaining = (reader.uint64() as Long); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: DeepPartial): MaxCallsLimit { - const message = createBaseMaxCallsLimit(); - message.remaining = object.remaining !== undefined && object.remaining !== null ? Long.fromValue(object.remaining) : Long.UZERO; - return message; - } - -}; - -function createBaseMaxFundsLimit(): MaxFundsLimit { - return { - amounts: [] - }; -} - -export const MaxFundsLimit = { - encode(message: MaxFundsLimit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.amounts) { - Coin.encode(v!, writer.uint32(10).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MaxFundsLimit { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMaxFundsLimit(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.amounts.push(Coin.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: DeepPartial): MaxFundsLimit { - const message = createBaseMaxFundsLimit(); - message.amounts = object.amounts?.map(e => Coin.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseCombinedLimit(): CombinedLimit { - return { - callsRemaining: Long.UZERO, - amounts: [] - }; -} - -export const CombinedLimit = { - encode(message: CombinedLimit, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.callsRemaining.isZero()) { - writer.uint32(8).uint64(message.callsRemaining); - } - - for (const v of message.amounts) { - Coin.encode(v!, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): CombinedLimit { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseCombinedLimit(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.callsRemaining = (reader.uint64() as Long); - break; - - case 2: - message.amounts.push(Coin.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: DeepPartial): CombinedLimit { - const message = createBaseCombinedLimit(); - message.callsRemaining = object.callsRemaining !== undefined && object.callsRemaining !== null ? Long.fromValue(object.callsRemaining) : Long.UZERO; - message.amounts = object.amounts?.map(e => Coin.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseAllowAllMessagesFilter(): AllowAllMessagesFilter { - return {}; -} - -export const AllowAllMessagesFilter = { - encode(_: AllowAllMessagesFilter, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): AllowAllMessagesFilter { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseAllowAllMessagesFilter(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(_: DeepPartial): AllowAllMessagesFilter { - const message = createBaseAllowAllMessagesFilter(); - return message; - } - -}; - -function createBaseAcceptedMessageKeysFilter(): AcceptedMessageKeysFilter { - return { - keys: [] - }; -} - -export const AcceptedMessageKeysFilter = { - encode(message: AcceptedMessageKeysFilter, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.keys) { - writer.uint32(10).string(v!); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): AcceptedMessageKeysFilter { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseAcceptedMessageKeysFilter(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.keys.push(reader.string()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: DeepPartial): AcceptedMessageKeysFilter { - const message = createBaseAcceptedMessageKeysFilter(); - message.keys = object.keys?.map(e => e) || []; - return message; - } - -}; - -function createBaseAcceptedMessagesFilter(): AcceptedMessagesFilter { - return { - messages: [] - }; -} - -export const AcceptedMessagesFilter = { - encode(message: AcceptedMessagesFilter, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.messages) { - writer.uint32(10).bytes(v!); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): AcceptedMessagesFilter { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseAcceptedMessagesFilter(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.messages.push(reader.bytes()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: DeepPartial): AcceptedMessagesFilter { - const message = createBaseAcceptedMessagesFilter(); - message.messages = object.messages?.map(e => e) || []; - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/cosmwasm/wasm/v1/genesis.ts b/packages/codegen/src/cosmwasm/wasm/v1/genesis.ts deleted file mode 100644 index 7bb16707..00000000 --- a/packages/codegen/src/cosmwasm/wasm/v1/genesis.ts +++ /dev/null @@ -1,345 +0,0 @@ -import { Params, ParamsSDKType, CodeInfo, CodeInfoSDKType, ContractInfo, ContractInfoSDKType, Model, ModelSDKType, ContractCodeHistoryEntry, ContractCodeHistoryEntrySDKType } from "./types"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, Long } from "../../../helpers"; -/** GenesisState - genesis state of x/wasm */ - -export interface GenesisState { - params?: Params; - codes: Code[]; - contracts: Contract[]; - sequences: Sequence[]; -} -/** GenesisState - genesis state of x/wasm */ - -export interface GenesisStateSDKType { - params?: ParamsSDKType; - codes: CodeSDKType[]; - contracts: ContractSDKType[]; - sequences: SequenceSDKType[]; -} -/** Code struct encompasses CodeInfo and CodeBytes */ - -export interface Code { - codeId: Long; - codeInfo?: CodeInfo; - codeBytes: Uint8Array; - /** Pinned to wasmvm cache */ - - pinned: boolean; -} -/** Code struct encompasses CodeInfo and CodeBytes */ - -export interface CodeSDKType { - code_id: Long; - code_info?: CodeInfoSDKType; - code_bytes: Uint8Array; - pinned: boolean; -} -/** Contract struct encompasses ContractAddress, ContractInfo, and ContractState */ - -export interface Contract { - contractAddress: string; - contractInfo?: ContractInfo; - contractState: Model[]; - contractCodeHistory: ContractCodeHistoryEntry[]; -} -/** Contract struct encompasses ContractAddress, ContractInfo, and ContractState */ - -export interface ContractSDKType { - contract_address: string; - contract_info?: ContractInfoSDKType; - contract_state: ModelSDKType[]; - contract_code_history: ContractCodeHistoryEntrySDKType[]; -} -/** 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: [] - }; -} - -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(); - } - - 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; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: DeepPartial): 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)) || []; - 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: DeepPartial): 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: [], - contractCodeHistory: [] - }; -} - -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(); - } - - for (const v of message.contractCodeHistory) { - ContractCodeHistoryEntry.encode(v!, writer.uint32(34).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; - - case 4: - message.contractCodeHistory.push(ContractCodeHistoryEntry.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: DeepPartial): 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)) || []; - message.contractCodeHistory = object.contractCodeHistory?.map(e => ContractCodeHistoryEntry.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: DeepPartial): 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/packages/codegen/src/cosmwasm/wasm/v1/ibc.ts b/packages/codegen/src/cosmwasm/wasm/v1/ibc.ts deleted file mode 100644 index 8eb06381..00000000 --- a/packages/codegen/src/cosmwasm/wasm/v1/ibc.ts +++ /dev/null @@ -1,164 +0,0 @@ -import { Long, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** 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 { - channel: string; - timeout_height: Long; - timeout_timestamp: Long; - 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: DeepPartial): 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: DeepPartial): MsgIBCCloseChannel { - const message = createBaseMsgIBCCloseChannel(); - message.channel = object.channel ?? ""; - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/cosmwasm/wasm/v1/proposal.ts b/packages/codegen/src/cosmwasm/wasm/v1/proposal.ts deleted file mode 100644 index 01d40f28..00000000 --- a/packages/codegen/src/cosmwasm/wasm/v1/proposal.ts +++ /dev/null @@ -1,1668 +0,0 @@ -import { AccessConfig, AccessConfigSDKType } from "./types"; -import { Coin, CoinSDKType } from "../../../cosmos/base/v1beta1/coin"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, 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; - /** UnpinCode code on upload, optional */ - - unpinCode: boolean; - /** Source is the URL where the code is hosted */ - - source: string; - /** - * Builder is the docker image used to build the code deterministically, used - * for smart contract verification - */ - - builder: string; - /** - * CodeHash is the SHA256 sum of the code outputted by builder, used for smart - * contract verification - */ - - codeHash: Uint8Array; -} -/** StoreCodeProposal gov proposal content type to submit WASM code to the system */ - -export interface StoreCodeProposalSDKType { - title: string; - description: string; - run_as: string; - wasm_byte_code: Uint8Array; - instantiate_permission?: AccessConfigSDKType; - unpin_code: boolean; - source: string; - builder: string; - code_hash: Uint8Array; -} -/** - * 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: string; - description: string; - run_as: string; - admin: string; - code_id: Long; - label: string; - msg: Uint8Array; - funds: CoinSDKType[]; -} -/** - * InstantiateContract2Proposal gov proposal content type to instantiate - * contract 2 - */ - -export interface InstantiateContract2Proposal { - /** 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 enviroment 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 encode message to be passed to the contract on instantiation */ - - msg: Uint8Array; - /** Funds coins that are transferred to the contract on instantiation */ - - funds: Coin[]; - /** Salt is an arbitrary value provided by the sender. Size can be 1 to 64. */ - - salt: Uint8Array; - /** - * FixMsg include the msg value into the hash for the predictable address. - * Default is false - */ - - fixMsg: boolean; -} -/** - * InstantiateContract2Proposal gov proposal content type to instantiate - * contract 2 - */ - -export interface InstantiateContract2ProposalSDKType { - title: string; - description: string; - run_as: string; - admin: string; - code_id: Long; - label: string; - msg: Uint8Array; - funds: CoinSDKType[]; - salt: Uint8Array; - fix_msg: boolean; -} -/** 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 code */ - - 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: string; - description: string; - contract: string; - code_id: Long; - 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: string; - description: string; - contract: string; - 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: string; - description: string; - run_as: string; - contract: string; - msg: Uint8Array; - 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: string; - description: string; - new_admin: string; - 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: string; - description: string; - 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: string; - description: string; - 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: string; - description: string; - code_ids: Long[]; -} -/** - * AccessConfigUpdate contains the code id and the access config to be - * applied. - */ - -export interface AccessConfigUpdate { - /** CodeID is the reference to the stored WASM code to be updated */ - codeId: Long; - /** InstantiatePermission to apply to the set of code ids */ - - instantiatePermission?: AccessConfig; -} -/** - * AccessConfigUpdate contains the code id and the access config to be - * applied. - */ - -export interface AccessConfigUpdateSDKType { - code_id: Long; - instantiate_permission?: AccessConfigSDKType; -} -/** - * UpdateInstantiateConfigProposal gov proposal content type to update - * instantiate config to a set of code ids. - */ - -export interface UpdateInstantiateConfigProposal { - /** Title is a short summary */ - title: string; - /** Description is a human readable text */ - - description: string; - /** - * AccessConfigUpdate contains the list of code ids and the access config - * to be applied. - */ - - accessConfigUpdates: AccessConfigUpdate[]; -} -/** - * UpdateInstantiateConfigProposal gov proposal content type to update - * instantiate config to a set of code ids. - */ - -export interface UpdateInstantiateConfigProposalSDKType { - title: string; - description: string; - access_config_updates: AccessConfigUpdateSDKType[]; -} -/** - * StoreAndInstantiateContractProposal gov proposal content type to store - * and instantiate the contract. - */ - -export interface StoreAndInstantiateContractProposal { - /** 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; - /** UnpinCode code on upload, optional */ - - unpinCode: boolean; - /** Admin is an optional address that can execute migrations */ - - admin: string; - /** 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[]; - /** Source is the URL where the code is hosted */ - - source: string; - /** - * Builder is the docker image used to build the code deterministically, used - * for smart contract verification - */ - - builder: string; - /** - * CodeHash is the SHA256 sum of the code outputted by builder, used for smart - * contract verification - */ - - codeHash: Uint8Array; -} -/** - * StoreAndInstantiateContractProposal gov proposal content type to store - * and instantiate the contract. - */ - -export interface StoreAndInstantiateContractProposalSDKType { - title: string; - description: string; - run_as: string; - wasm_byte_code: Uint8Array; - instantiate_permission?: AccessConfigSDKType; - unpin_code: boolean; - admin: string; - label: string; - msg: Uint8Array; - funds: CoinSDKType[]; - source: string; - builder: string; - code_hash: Uint8Array; -} - -function createBaseStoreCodeProposal(): StoreCodeProposal { - return { - title: "", - description: "", - runAs: "", - wasmByteCode: new Uint8Array(), - instantiatePermission: undefined, - unpinCode: false, - source: "", - builder: "", - codeHash: new Uint8Array() - }; -} - -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(); - } - - if (message.unpinCode === true) { - writer.uint32(64).bool(message.unpinCode); - } - - if (message.source !== "") { - writer.uint32(74).string(message.source); - } - - if (message.builder !== "") { - writer.uint32(82).string(message.builder); - } - - if (message.codeHash.length !== 0) { - writer.uint32(90).bytes(message.codeHash); - } - - 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; - - case 8: - message.unpinCode = reader.bool(); - break; - - case 9: - message.source = reader.string(); - break; - - case 10: - message.builder = reader.string(); - break; - - case 11: - message.codeHash = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: DeepPartial): 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; - message.unpinCode = object.unpinCode ?? false; - message.source = object.source ?? ""; - message.builder = object.builder ?? ""; - message.codeHash = object.codeHash ?? new Uint8Array(); - 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: DeepPartial): 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 createBaseInstantiateContract2Proposal(): InstantiateContract2Proposal { - return { - title: "", - description: "", - runAs: "", - admin: "", - codeId: Long.UZERO, - label: "", - msg: new Uint8Array(), - funds: [], - salt: new Uint8Array(), - fixMsg: false - }; -} - -export const InstantiateContract2Proposal = { - encode(message: InstantiateContract2Proposal, 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(); - } - - if (message.salt.length !== 0) { - writer.uint32(74).bytes(message.salt); - } - - if (message.fixMsg === true) { - writer.uint32(80).bool(message.fixMsg); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): InstantiateContract2Proposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseInstantiateContract2Proposal(); - - 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; - - case 9: - message.salt = reader.bytes(); - break; - - case 10: - message.fixMsg = reader.bool(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: DeepPartial): InstantiateContract2Proposal { - const message = createBaseInstantiateContract2Proposal(); - 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)) || []; - message.salt = object.salt ?? new Uint8Array(); - message.fixMsg = object.fixMsg ?? false; - 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): UnpinCodesProposal { - const message = createBaseUnpinCodesProposal(); - message.title = object.title ?? ""; - message.description = object.description ?? ""; - message.codeIds = object.codeIds?.map(e => Long.fromValue(e)) || []; - return message; - } - -}; - -function createBaseAccessConfigUpdate(): AccessConfigUpdate { - return { - codeId: Long.UZERO, - instantiatePermission: undefined - }; -} - -export const AccessConfigUpdate = { - encode(message: AccessConfigUpdate, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.codeId.isZero()) { - writer.uint32(8).uint64(message.codeId); - } - - if (message.instantiatePermission !== undefined) { - AccessConfig.encode(message.instantiatePermission, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): AccessConfigUpdate { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseAccessConfigUpdate(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.codeId = (reader.uint64() as Long); - break; - - case 2: - message.instantiatePermission = AccessConfig.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: DeepPartial): AccessConfigUpdate { - const message = createBaseAccessConfigUpdate(); - message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; - message.instantiatePermission = object.instantiatePermission !== undefined && object.instantiatePermission !== null ? AccessConfig.fromPartial(object.instantiatePermission) : undefined; - return message; - } - -}; - -function createBaseUpdateInstantiateConfigProposal(): UpdateInstantiateConfigProposal { - return { - title: "", - description: "", - accessConfigUpdates: [] - }; -} - -export const UpdateInstantiateConfigProposal = { - encode(message: UpdateInstantiateConfigProposal, 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.accessConfigUpdates) { - AccessConfigUpdate.encode(v!, writer.uint32(26).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): UpdateInstantiateConfigProposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseUpdateInstantiateConfigProposal(); - - 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.accessConfigUpdates.push(AccessConfigUpdate.decode(reader, reader.uint32())); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: DeepPartial): UpdateInstantiateConfigProposal { - const message = createBaseUpdateInstantiateConfigProposal(); - message.title = object.title ?? ""; - message.description = object.description ?? ""; - message.accessConfigUpdates = object.accessConfigUpdates?.map(e => AccessConfigUpdate.fromPartial(e)) || []; - return message; - } - -}; - -function createBaseStoreAndInstantiateContractProposal(): StoreAndInstantiateContractProposal { - return { - title: "", - description: "", - runAs: "", - wasmByteCode: new Uint8Array(), - instantiatePermission: undefined, - unpinCode: false, - admin: "", - label: "", - msg: new Uint8Array(), - funds: [], - source: "", - builder: "", - codeHash: new Uint8Array() - }; -} - -export const StoreAndInstantiateContractProposal = { - encode(message: StoreAndInstantiateContractProposal, 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(42).fork()).ldelim(); - } - - if (message.unpinCode === true) { - writer.uint32(48).bool(message.unpinCode); - } - - if (message.admin !== "") { - writer.uint32(58).string(message.admin); - } - - if (message.label !== "") { - writer.uint32(66).string(message.label); - } - - if (message.msg.length !== 0) { - writer.uint32(74).bytes(message.msg); - } - - for (const v of message.funds) { - Coin.encode(v!, writer.uint32(82).fork()).ldelim(); - } - - if (message.source !== "") { - writer.uint32(90).string(message.source); - } - - if (message.builder !== "") { - writer.uint32(98).string(message.builder); - } - - if (message.codeHash.length !== 0) { - writer.uint32(106).bytes(message.codeHash); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): StoreAndInstantiateContractProposal { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseStoreAndInstantiateContractProposal(); - - 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 5: - message.instantiatePermission = AccessConfig.decode(reader, reader.uint32()); - break; - - case 6: - message.unpinCode = reader.bool(); - break; - - case 7: - message.admin = reader.string(); - break; - - case 8: - message.label = reader.string(); - break; - - case 9: - message.msg = reader.bytes(); - break; - - case 10: - message.funds.push(Coin.decode(reader, reader.uint32())); - break; - - case 11: - message.source = reader.string(); - break; - - case 12: - message.builder = reader.string(); - break; - - case 13: - message.codeHash = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: DeepPartial): StoreAndInstantiateContractProposal { - const message = createBaseStoreAndInstantiateContractProposal(); - 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; - message.unpinCode = object.unpinCode ?? false; - message.admin = object.admin ?? ""; - message.label = object.label ?? ""; - message.msg = object.msg ?? new Uint8Array(); - message.funds = object.funds?.map(e => Coin.fromPartial(e)) || []; - message.source = object.source ?? ""; - message.builder = object.builder ?? ""; - message.codeHash = object.codeHash ?? new Uint8Array(); - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/cosmwasm/wasm/v1/query.lcd.ts b/packages/codegen/src/cosmwasm/wasm/v1/query.lcd.ts deleted file mode 100644 index 8c8ac583..00000000 --- a/packages/codegen/src/cosmwasm/wasm/v1/query.lcd.ts +++ /dev/null @@ -1,155 +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, QueryParamsRequest, QueryParamsResponseSDKType, QueryContractsByCreatorRequest, QueryContractsByCreatorResponseSDKType } 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); - this.params = this.params.bind(this); - this.contractsByCreator = this.contractsByCreator.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 = `cosmwasm/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 = `cosmwasm/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); - } - /* Params gets the module params */ - - - async params(_params: QueryParamsRequest = {}): Promise { - const endpoint = `cosmwasm/wasm/v1/codes/params`; - return await this.req.get(endpoint); - } - /* ContractsByCreator gets the contracts by creator */ - - - async contractsByCreator(params: QueryContractsByCreatorRequest): Promise { - const options: any = { - params: {} - }; - - if (typeof params?.pagination !== "undefined") { - setPaginationParams(options, params.pagination); - } - - const endpoint = `cosmwasm/wasm/v1/contracts/creator/${params.creatorAddress}`; - return await this.req.get(endpoint, options); - } - -} \ No newline at end of file diff --git a/packages/codegen/src/cosmwasm/wasm/v1/query.rpc.Query.ts b/packages/codegen/src/cosmwasm/wasm/v1/query.rpc.Query.ts deleted file mode 100644 index 2ba1edee..00000000 --- a/packages/codegen/src/cosmwasm/wasm/v1/query.rpc.Query.ts +++ /dev/null @@ -1,179 +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, QueryParamsRequest, QueryParamsResponse, QueryContractsByCreatorRequest, QueryContractsByCreatorResponse } 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; - /** Params gets the module params */ - - params(request?: QueryParamsRequest): Promise; - /** ContractsByCreator gets the contracts by creator */ - - contractsByCreator(request: QueryContractsByCreatorRequest): 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); - this.params = this.params.bind(this); - this.contractsByCreator = this.contractsByCreator.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))); - } - - params(request: QueryParamsRequest = {}): Promise { - const data = QueryParamsRequest.encode(request).finish(); - const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "Params", data); - return promise.then(data => QueryParamsResponse.decode(new _m0.Reader(data))); - } - - contractsByCreator(request: QueryContractsByCreatorRequest): Promise { - const data = QueryContractsByCreatorRequest.encode(request).finish(); - const promise = this.rpc.request("cosmwasm.wasm.v1.Query", "ContractsByCreator", data); - return promise.then(data => QueryContractsByCreatorResponse.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); - }, - - params(request?: QueryParamsRequest): Promise { - return queryService.params(request); - }, - - contractsByCreator(request: QueryContractsByCreatorRequest): Promise { - return queryService.contractsByCreator(request); - } - - }; -}; \ No newline at end of file diff --git a/packages/codegen/src/cosmwasm/wasm/v1/query.ts b/packages/codegen/src/cosmwasm/wasm/v1/query.ts deleted file mode 100644 index a1fe5361..00000000 --- a/packages/codegen/src/cosmwasm/wasm/v1/query.ts +++ /dev/null @@ -1,1606 +0,0 @@ -import { PageRequest, PageRequestSDKType, PageResponse, PageResponseSDKType } from "../../../cosmos/base/query/v1beta1/pagination"; -import { ContractInfo, ContractInfoSDKType, ContractCodeHistoryEntry, ContractCodeHistoryEntrySDKType, Model, ModelSDKType, AccessConfig, AccessConfigSDKType, Params, ParamsSDKType } from "./types"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, 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: 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; -} -/** - * QueryContractInfoResponse is the response type for the Query/ContractInfo RPC - * method - */ - -export interface QueryContractInfoResponseSDKType { - address: string; - contract_info?: ContractInfoSDKType; -} -/** - * 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; -} -/** - * QueryContractHistoryRequest is the request type for the Query/ContractHistory - * RPC method - */ - -export interface QueryContractHistoryRequestSDKType { - address: string; - pagination?: PageRequestSDKType; -} -/** - * 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; -} -/** - * QueryContractHistoryResponse is the response type for the - * Query/ContractHistory RPC method - */ - -export interface QueryContractHistoryResponseSDKType { - entries: ContractCodeHistoryEntrySDKType[]; - pagination?: PageResponseSDKType; -} -/** - * 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; -} -/** - * QueryContractsByCodeRequest is the request type for the Query/ContractsByCode - * RPC method - */ - -export interface QueryContractsByCodeRequestSDKType { - code_id: Long; - pagination?: PageRequestSDKType; -} -/** - * 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; -} -/** - * QueryContractsByCodeResponse is the response type for the - * Query/ContractsByCode RPC method - */ - -export interface QueryContractsByCodeResponseSDKType { - contracts: string[]; - pagination?: PageResponseSDKType; -} -/** - * 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; -} -/** - * QueryAllContractStateRequest is the request type for the - * Query/AllContractState RPC method - */ - -export interface QueryAllContractStateRequestSDKType { - address: string; - pagination?: PageRequestSDKType; -} -/** - * 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; -} -/** - * QueryAllContractStateResponse is the response type for the - * Query/AllContractState RPC method - */ - -export interface QueryAllContractStateResponseSDKType { - models: ModelSDKType[]; - pagination?: PageResponseSDKType; -} -/** - * 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: 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: 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: string; - 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: 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 { - code_id: Long; -} -/** CodeInfoResponse contains code meta data from CodeInfo */ - -export interface CodeInfoResponse { - codeId: Long; - creator: string; - dataHash: Uint8Array; - instantiatePermission?: AccessConfig; -} -/** CodeInfoResponse contains code meta data from CodeInfo */ - -export interface CodeInfoResponseSDKType { - code_id: Long; - creator: string; - data_hash: Uint8Array; - instantiate_permission?: AccessConfigSDKType; -} -/** QueryCodeResponse is the response type for the Query/Code RPC method */ - -export interface QueryCodeResponse { - codeInfo?: CodeInfoResponse; - data: Uint8Array; -} -/** QueryCodeResponse is the response type for the Query/Code RPC method */ - -export interface QueryCodeResponseSDKType { - code_info?: CodeInfoResponseSDKType; - 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; -} -/** QueryCodesRequest is the request type for the Query/Codes RPC method */ - -export interface QueryCodesRequestSDKType { - pagination?: PageRequestSDKType; -} -/** 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; -} -/** QueryCodesResponse is the response type for the Query/Codes RPC method */ - -export interface QueryCodesResponseSDKType { - code_infos: CodeInfoResponseSDKType[]; - pagination?: PageResponseSDKType; -} -/** - * QueryPinnedCodesRequest is the request type for the Query/PinnedCodes - * RPC method - */ - -export interface QueryPinnedCodesRequest { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest; -} -/** - * QueryPinnedCodesRequest is the request type for the Query/PinnedCodes - * RPC method - */ - -export interface QueryPinnedCodesRequestSDKType { - pagination?: PageRequestSDKType; -} -/** - * 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; -} -/** - * QueryPinnedCodesResponse is the response type for the - * Query/PinnedCodes RPC method - */ - -export interface QueryPinnedCodesResponseSDKType { - code_ids: Long[]; - pagination?: PageResponseSDKType; -} -/** 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; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ - -export interface QueryParamsResponseSDKType { - params?: ParamsSDKType; -} -/** - * QueryContractsByCreatorRequest is the request type for the - * Query/ContractsByCreator RPC method. - */ - -export interface QueryContractsByCreatorRequest { - /** CreatorAddress is the address of contract creator */ - creatorAddress: string; - /** Pagination defines an optional pagination for the request. */ - - pagination?: PageRequest; -} -/** - * QueryContractsByCreatorRequest is the request type for the - * Query/ContractsByCreator RPC method. - */ - -export interface QueryContractsByCreatorRequestSDKType { - creator_address: string; - pagination?: PageRequestSDKType; -} -/** - * QueryContractsByCreatorResponse is the response type for the - * Query/ContractsByCreator RPC method. - */ - -export interface QueryContractsByCreatorResponse { - /** ContractAddresses result set */ - contractAddresses: string[]; - /** Pagination defines the pagination in the response. */ - - pagination?: PageResponse; -} -/** - * QueryContractsByCreatorResponse is the response type for the - * Query/ContractsByCreator RPC method. - */ - -export interface QueryContractsByCreatorResponseSDKType { - contract_addresses: string[]; - pagination?: PageResponseSDKType; -} - -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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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(), - instantiatePermission: undefined - }; -} - -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); - } - - if (message.instantiatePermission !== undefined) { - AccessConfig.encode(message.instantiatePermission, writer.uint32(50).fork()).ldelim(); - } - - 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; - - case 6: - message.instantiatePermission = AccessConfig.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: DeepPartial): 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(); - message.instantiatePermission = object.instantiatePermission !== undefined && object.instantiatePermission !== null ? AccessConfig.fromPartial(object.instantiatePermission) : undefined; - 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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; - } - -}; - -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(_: DeepPartial): 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: DeepPartial): QueryParamsResponse { - const message = createBaseQueryParamsResponse(); - message.params = object.params !== undefined && object.params !== null ? Params.fromPartial(object.params) : undefined; - return message; - } - -}; - -function createBaseQueryContractsByCreatorRequest(): QueryContractsByCreatorRequest { - return { - creatorAddress: "", - pagination: undefined - }; -} - -export const QueryContractsByCreatorRequest = { - encode(message: QueryContractsByCreatorRequest, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.creatorAddress !== "") { - writer.uint32(10).string(message.creatorAddress); - } - - if (message.pagination !== undefined) { - PageRequest.encode(message.pagination, writer.uint32(18).fork()).ldelim(); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): QueryContractsByCreatorRequest { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryContractsByCreatorRequest(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.creatorAddress = reader.string(); - break; - - case 2: - message.pagination = PageRequest.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: DeepPartial): QueryContractsByCreatorRequest { - const message = createBaseQueryContractsByCreatorRequest(); - message.creatorAddress = object.creatorAddress ?? ""; - message.pagination = object.pagination !== undefined && object.pagination !== null ? PageRequest.fromPartial(object.pagination) : undefined; - return message; - } - -}; - -function createBaseQueryContractsByCreatorResponse(): QueryContractsByCreatorResponse { - return { - contractAddresses: [], - pagination: undefined - }; -} - -export const QueryContractsByCreatorResponse = { - encode(message: QueryContractsByCreatorResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.contractAddresses) { - 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): QueryContractsByCreatorResponse { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseQueryContractsByCreatorResponse(); - - while (reader.pos < end) { - const tag = reader.uint32(); - - switch (tag >>> 3) { - case 1: - message.contractAddresses.push(reader.string()); - break; - - case 2: - message.pagination = PageResponse.decode(reader, reader.uint32()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: DeepPartial): QueryContractsByCreatorResponse { - const message = createBaseQueryContractsByCreatorResponse(); - message.contractAddresses = object.contractAddresses?.map(e => 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/packages/codegen/src/cosmwasm/wasm/v1/tx.rpc.msg.ts b/packages/codegen/src/cosmwasm/wasm/v1/tx.rpc.msg.ts deleted file mode 100644 index 4bd52e13..00000000 --- a/packages/codegen/src/cosmwasm/wasm/v1/tx.rpc.msg.ts +++ /dev/null @@ -1,90 +0,0 @@ -import { Rpc } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -import { MsgStoreCode, MsgStoreCodeResponse, MsgInstantiateContract, MsgInstantiateContractResponse, MsgInstantiateContract2, MsgInstantiateContract2Response, 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; - /** - * InstantiateContract creates a new smart contract instance for the given - * code id. - */ - - instantiateContract(request: MsgInstantiateContract): Promise; - /** - * InstantiateContract2 creates a new smart contract instance for the given - * code id with a predictable address - */ - - instantiateContract2(request: MsgInstantiateContract2): 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.instantiateContract2 = this.instantiateContract2.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))); - } - - instantiateContract2(request: MsgInstantiateContract2): Promise { - const data = MsgInstantiateContract2.encode(request).finish(); - const promise = this.rpc.request("cosmwasm.wasm.v1.Msg", "InstantiateContract2", data); - return promise.then(data => MsgInstantiateContract2Response.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/packages/codegen/src/cosmwasm/wasm/v1/tx.ts b/packages/codegen/src/cosmwasm/wasm/v1/tx.ts deleted file mode 100644 index 6c10e880..00000000 --- a/packages/codegen/src/cosmwasm/wasm/v1/tx.ts +++ /dev/null @@ -1,1141 +0,0 @@ -import { AccessConfig, AccessConfigSDKType } from "./types"; -import { Coin, CoinSDKType } from "../../../cosmos/base/v1beta1/coin"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, 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; -} -/** MsgStoreCode submit Wasm code to the system */ - -export interface MsgStoreCodeSDKType { - sender: string; - wasm_byte_code: Uint8Array; - instantiate_permission?: AccessConfigSDKType; -} -/** MsgStoreCodeResponse returns store result data. */ - -export interface MsgStoreCodeResponse { - /** CodeID is the reference to the stored WASM code */ - codeId: Long; - /** Checksum is the sha256 hash of the stored code */ - - checksum: Uint8Array; -} -/** MsgStoreCodeResponse returns store result data. */ - -export interface MsgStoreCodeResponseSDKType { - code_id: Long; - checksum: Uint8Array; -} -/** - * 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: string; - admin: string; - code_id: Long; - label: string; - msg: Uint8Array; - funds: CoinSDKType[]; -} -/** - * MsgInstantiateContract2 create a new smart contract instance for the given - * code id with a predicable address. - */ - -export interface MsgInstantiateContract2 { - /** 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[]; - /** Salt is an arbitrary value provided by the sender. Size can be 1 to 64. */ - - salt: Uint8Array; - /** - * FixMsg include the msg value into the hash for the predictable address. - * Default is false - */ - - fixMsg: boolean; -} -/** - * MsgInstantiateContract2 create a new smart contract instance for the given - * code id with a predicable address. - */ - -export interface MsgInstantiateContract2SDKType { - sender: string; - admin: string; - code_id: Long; - label: string; - msg: Uint8Array; - funds: CoinSDKType[]; - salt: Uint8Array; - fix_msg: boolean; -} -/** MsgInstantiateContractResponse return instantiation result data */ - -export interface MsgInstantiateContractResponse { - /** Address is the bech32 address of the new contract instance. */ - address: string; - /** Data contains bytes to returned from the contract */ - - data: Uint8Array; -} -/** MsgInstantiateContractResponse return instantiation result data */ - -export interface MsgInstantiateContractResponseSDKType { - address: string; - data: Uint8Array; -} -/** MsgInstantiateContract2Response return instantiation result data */ - -export interface MsgInstantiateContract2Response { - /** Address is the bech32 address of the new contract instance. */ - address: string; - /** Data contains bytes to returned from the contract */ - - data: Uint8Array; -} -/** MsgInstantiateContract2Response return instantiation result data */ - -export interface MsgInstantiateContract2ResponseSDKType { - address: string; - 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: string; - contract: string; - msg: Uint8Array; - funds: CoinSDKType[]; -} -/** MsgExecuteContractResponse returns execution result data. */ - -export interface MsgExecuteContractResponse { - /** Data contains bytes to returned from the contract */ - data: Uint8Array; -} -/** MsgExecuteContractResponse returns execution result data. */ - -export interface MsgExecuteContractResponseSDKType { - 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: string; - contract: string; - code_id: Long; - 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: 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: string; - new_admin: string; - 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: string; - 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: DeepPartial): 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, - checksum: new Uint8Array() - }; -} - -export const MsgStoreCodeResponse = { - encode(message: MsgStoreCodeResponse, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (!message.codeId.isZero()) { - writer.uint32(8).uint64(message.codeId); - } - - if (message.checksum.length !== 0) { - writer.uint32(18).bytes(message.checksum); - } - - 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; - - case 2: - message.checksum = reader.bytes(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: DeepPartial): MsgStoreCodeResponse { - const message = createBaseMsgStoreCodeResponse(); - message.codeId = object.codeId !== undefined && object.codeId !== null ? Long.fromValue(object.codeId) : Long.UZERO; - message.checksum = object.checksum ?? new Uint8Array(); - 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: DeepPartial): 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 createBaseMsgInstantiateContract2(): MsgInstantiateContract2 { - return { - sender: "", - admin: "", - codeId: Long.UZERO, - label: "", - msg: new Uint8Array(), - funds: [], - salt: new Uint8Array(), - fixMsg: false - }; -} - -export const MsgInstantiateContract2 = { - encode(message: MsgInstantiateContract2, 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(); - } - - if (message.salt.length !== 0) { - writer.uint32(58).bytes(message.salt); - } - - if (message.fixMsg === true) { - writer.uint32(64).bool(message.fixMsg); - } - - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): MsgInstantiateContract2 { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgInstantiateContract2(); - - 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; - - case 7: - message.salt = reader.bytes(); - break; - - case 8: - message.fixMsg = reader.bool(); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: DeepPartial): MsgInstantiateContract2 { - const message = createBaseMsgInstantiateContract2(); - 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)) || []; - message.salt = object.salt ?? new Uint8Array(); - message.fixMsg = object.fixMsg ?? false; - 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: DeepPartial): MsgInstantiateContractResponse { - const message = createBaseMsgInstantiateContractResponse(); - message.address = object.address ?? ""; - message.data = object.data ?? new Uint8Array(); - return message; - } - -}; - -function createBaseMsgInstantiateContract2Response(): MsgInstantiateContract2Response { - return { - address: "", - data: new Uint8Array() - }; -} - -export const MsgInstantiateContract2Response = { - encode(message: MsgInstantiateContract2Response, 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): MsgInstantiateContract2Response { - const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseMsgInstantiateContract2Response(); - - 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: DeepPartial): MsgInstantiateContract2Response { - const message = createBaseMsgInstantiateContract2Response(); - 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): MsgClearAdminResponse { - const message = createBaseMsgClearAdminResponse(); - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/cosmwasm/wasm/v1/types.ts b/packages/codegen/src/cosmwasm/wasm/v1/types.ts deleted file mode 100644 index 5fd2ba22..00000000 --- a/packages/codegen/src/cosmwasm/wasm/v1/types.ts +++ /dev/null @@ -1,811 +0,0 @@ -import { Any, AnySDKType } from "../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, 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 a single address - * Deprecated: use AccessTypeAnyOfAddresses instead - */ - ACCESS_TYPE_ONLY_ADDRESS = 2, - - /** ACCESS_TYPE_EVERYBODY - AccessTypeEverybody unrestricted */ - ACCESS_TYPE_EVERYBODY = 3, - - /** ACCESS_TYPE_ANY_OF_ADDRESSES - AccessTypeAnyOfAddresses allow any of the addresses */ - ACCESS_TYPE_ANY_OF_ADDRESSES = 4, - UNRECOGNIZED = -1, -} -export const AccessTypeSDKType = AccessType; -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 4: - case "ACCESS_TYPE_ANY_OF_ADDRESSES": - return AccessType.ACCESS_TYPE_ANY_OF_ADDRESSES; - - 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.ACCESS_TYPE_ANY_OF_ADDRESSES: - return "ACCESS_TYPE_ANY_OF_ADDRESSES"; - - 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, -} -export const ContractCodeHistoryOperationTypeSDKType = ContractCodeHistoryOperationType; -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: AccessType; -} -/** AccessConfig access control type. */ - -export interface AccessConfig { - permission: AccessType; - /** - * Address - * Deprecated: replaced by addresses - */ - - address: string; - addresses: string[]; -} -/** AccessConfig access control type. */ - -export interface AccessConfigSDKType { - permission: AccessType; - address: string; - addresses: string[]; -} -/** Params defines the set of wasm parameters. */ - -export interface Params { - codeUploadAccess?: AccessConfig; - instantiateDefaultPermission: AccessType; -} -/** Params defines the set of wasm parameters. */ - -export interface ParamsSDKType { - code_upload_access?: AccessConfigSDKType; - instantiate_default_permission: AccessType; -} -/** 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; -} -/** CodeInfo is data for the uploaded contract WASM code */ - -export interface CodeInfoSDKType { - code_hash: Uint8Array; - creator: string; - instantiate_config?: AccessConfigSDKType; -} -/** 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. */ - - created?: AbsoluteTxPosition; - ibcPortId: string; - /** - * Extension is an extension point to store custom metadata within the - * persistence model. - */ - - extension?: Any; -} -/** ContractInfo stores a WASM contract instance */ - -export interface ContractInfoSDKType { - code_id: Long; - creator: string; - admin: string; - label: string; - created?: AbsoluteTxPositionSDKType; - ibc_port_id: string; - extension?: AnySDKType; -} -/** 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; - msg: Uint8Array; -} -/** ContractCodeHistoryEntry metadata to a contract. */ - -export interface ContractCodeHistoryEntrySDKType { - operation: ContractCodeHistoryOperationType; - code_id: Long; - updated?: AbsoluteTxPositionSDKType; - 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 { - block_height: Long; - 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 { - key: Uint8Array; - 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: DeepPartial): AccessTypeParam { - const message = createBaseAccessTypeParam(); - message.value = object.value ?? 0; - return message; - } - -}; - -function createBaseAccessConfig(): AccessConfig { - return { - permission: 0, - address: "", - addresses: [] - }; -} - -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); - } - - for (const v of message.addresses) { - writer.uint32(26).string(v!); - } - - 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; - - case 3: - message.addresses.push(reader.string()); - break; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: DeepPartial): AccessConfig { - const message = createBaseAccessConfig(); - message.permission = object.permission ?? 0; - message.address = object.address ?? ""; - message.addresses = object.addresses?.map(e => e) || []; - return message; - } - -}; - -function createBaseParams(): Params { - return { - codeUploadAccess: undefined, - instantiateDefaultPermission: 0 - }; -} - -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); - } - - 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; - - default: - reader.skipType(tag & 7); - break; - } - } - - return message; - }, - - fromPartial(object: DeepPartial): Params { - const message = createBaseParams(); - message.codeUploadAccess = object.codeUploadAccess !== undefined && object.codeUploadAccess !== null ? AccessConfig.fromPartial(object.codeUploadAccess) : undefined; - message.instantiateDefaultPermission = object.instantiateDefaultPermission ?? 0; - 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/gogoproto/bundle.ts b/packages/codegen/src/gogoproto/bundle.ts deleted file mode 100644 index 376d487c..00000000 --- a/packages/codegen/src/gogoproto/bundle.ts +++ /dev/null @@ -1,3 +0,0 @@ -import * as _102 from "./gogo"; -export const gogoproto = { ..._102 -}; \ No newline at end of file diff --git a/packages/codegen/src/gogoproto/gogo.ts b/packages/codegen/src/gogoproto/gogo.ts deleted file mode 100644 index 693da49f..00000000 --- a/packages/codegen/src/gogoproto/gogo.ts +++ /dev/null @@ -1 +0,0 @@ -export {} \ No newline at end of file diff --git a/packages/codegen/src/google/api/annotations.ts b/packages/codegen/src/google/api/annotations.ts deleted file mode 100644 index 693da49f..00000000 --- a/packages/codegen/src/google/api/annotations.ts +++ /dev/null @@ -1 +0,0 @@ -export {} \ No newline at end of file diff --git a/packages/codegen/src/google/api/http.ts b/packages/codegen/src/google/api/http.ts deleted file mode 100644 index 08e2e293..00000000 --- a/packages/codegen/src/google/api/http.ts +++ /dev/null @@ -1,913 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../helpers"; -/** - * Defines the HTTP configuration for an API service. It contains a list of - * [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method - * 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 { - rules: HttpRuleSDKType[]; - 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; - /** - * 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 { - selector: string; - get?: string; - put?: string; - post?: string; - delete?: string; - patch?: string; - custom?: CustomHttpPatternSDKType; - body: string; - response_body: string; - 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 { - kind: string; - 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): CustomHttpPattern { - const message = createBaseCustomHttpPattern(); - message.kind = object.kind ?? ""; - message.path = object.path ?? ""; - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/google/bundle.ts b/packages/codegen/src/google/bundle.ts deleted file mode 100644 index f15a5325..00000000 --- a/packages/codegen/src/google/bundle.ts +++ /dev/null @@ -1,18 +0,0 @@ -import * as _103 from "./api/annotations"; -import * as _104 from "./api/http"; -import * as _105 from "./protobuf/any"; -import * as _106 from "./protobuf/descriptor"; -import * as _107 from "./protobuf/duration"; -import * as _108 from "./protobuf/empty"; -import * as _109 from "./protobuf/timestamp"; -export namespace google { - export const api = { ..._103, - ..._104 - }; - export const protobuf = { ..._105, - ..._106, - ..._107, - ..._108, - ..._109 - }; -} \ No newline at end of file diff --git a/packages/codegen/src/google/protobuf/any.ts b/packages/codegen/src/google/protobuf/any.ts deleted file mode 100644 index 216c3e1b..00000000 --- a/packages/codegen/src/google/protobuf/any.ts +++ /dev/null @@ -1,260 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../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; -} -/** - * `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 { - type_url: string; - 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: DeepPartial): 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/packages/codegen/src/google/protobuf/descriptor.ts b/packages/codegen/src/google/protobuf/descriptor.ts deleted file mode 100644 index 7022c025..00000000 --- a/packages/codegen/src/google/protobuf/descriptor.ts +++ /dev/null @@ -1,3697 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, 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 const FieldDescriptorProto_TypeSDKType = FieldDescriptorProto_Type; -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 const FieldDescriptorProto_LabelSDKType = FieldDescriptorProto_Label; -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, -} -export const FileOptions_OptimizeModeSDKType = FileOptions_OptimizeMode; -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 const FieldOptions_CTypeSDKType = FieldOptions_CType; -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 const FieldOptions_JSTypeSDKType = FieldOptions_JSType; -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, -} -export const MethodOptions_IdempotencyLevelSDKType = MethodOptions_IdempotencyLevel; -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; - /** - * This field contains optional information about the original source code. - * You may safely remove this entire field without harming runtime - * functionality of the descriptors -- the information is needed only by - * development tools. - */ - - sourceCodeInfo?: SourceCodeInfo; - /** - * The syntax of the proto file. - * The supported values are "proto2" and "proto3". - */ - - syntax: string; -} -/** Describes a complete .proto file. */ - -export interface FileDescriptorProtoSDKType { - name: string; - package: string; - dependency: string[]; - public_dependency: number[]; - weak_dependency: number[]; - message_type: DescriptorProtoSDKType[]; - enum_type: EnumDescriptorProtoSDKType[]; - service: ServiceDescriptorProtoSDKType[]; - extension: FieldDescriptorProtoSDKType[]; - options?: FileOptionsSDKType; - source_code_info?: SourceCodeInfoSDKType; - syntax: string; -} -/** Describes a message type. */ - -export interface DescriptorProto { - name: string; - field: FieldDescriptorProto[]; - extension: FieldDescriptorProto[]; - nestedType: DescriptorProto[]; - enumType: EnumDescriptorProto[]; - extensionRange: DescriptorProto_ExtensionRange[]; - oneofDecl: OneofDescriptorProto[]; - options?: MessageOptions; - reservedRange: DescriptorProto_ReservedRange[]; - /** - * Reserved field names, which may not be used by fields in the same message. - * A given name may only be reserved once. - */ - - reservedName: string[]; -} -/** Describes a message type. */ - -export interface DescriptorProtoSDKType { - name: string; - field: FieldDescriptorProtoSDKType[]; - extension: FieldDescriptorProtoSDKType[]; - nested_type: DescriptorProtoSDKType[]; - enum_type: EnumDescriptorProtoSDKType[]; - extension_range: DescriptorProto_ExtensionRangeSDKType[]; - oneof_decl: OneofDescriptorProtoSDKType[]; - options?: MessageOptionsSDKType; - reserved_range: DescriptorProto_ReservedRangeSDKType[]; - reserved_name: string[]; -} -export interface DescriptorProto_ExtensionRange { - /** Inclusive. */ - start: number; - /** Exclusive. */ - - end: number; - options?: ExtensionRangeOptions; -} -export interface DescriptorProto_ExtensionRangeSDKType { - start: number; - end: number; - options?: ExtensionRangeOptionsSDKType; -} -/** - * Range of reserved tag numbers. Reserved tag numbers may not be used by - * fields or extension ranges in the same message. Reserved ranges may - * not overlap. - */ - -export interface DescriptorProto_ReservedRange { - /** Inclusive. */ - start: number; - /** Exclusive. */ - - end: number; -} -/** - * Range of reserved tag numbers. Reserved tag numbers may not be used by - * fields or extension ranges in the same message. Reserved ranges may - * not overlap. - */ - -export interface DescriptorProto_ReservedRangeSDKType { - start: number; - end: number; -} -export interface ExtensionRangeOptions { - /** The parser stores options it doesn't recognize here. See above. */ - uninterpretedOption: UninterpretedOption[]; -} -export interface ExtensionRangeOptionsSDKType { - uninterpreted_option: UninterpretedOptionSDKType[]; -} -/** Describes a field within a message. */ - -export interface FieldDescriptorProto { - name: string; - number: number; - label: FieldDescriptorProto_Label; - /** - * If type_name is set, this need not be set. If both this and type_name - * are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP. - */ - - type: FieldDescriptorProto_Type; - /** - * For message and enum types, this is the name of the type. If the name - * starts with a '.', it is fully-qualified. Otherwise, C++-like scoping - * rules are used to find the type (i.e. first the nested types within this - * message are searched, then within the parent, on up to the root - * namespace). - */ - - typeName: string; - /** - * For extensions, this is the name of the type being extended. It is - * resolved in the same manner as type_name. - */ - - extendee: string; - /** - * For numeric types, contains the original text representation of the value. - * For booleans, "true" or "false". - * For strings, contains the default text contents (not escaped in any way). - * For bytes, contains the C escaped value. All bytes >= 128 are escaped. - * TODO(kenton): Base-64 encode? - */ - - defaultValue: string; - /** - * If set, gives the index of a oneof in the containing type's oneof_decl - * list. This field is a member of that oneof. - */ - - oneofIndex: number; - /** - * JSON name of this field. The value is set by protocol compiler. If the - * user has set a "json_name" option on this field, that option's value - * will be used. Otherwise, it's deduced from the field's name by converting - * it to camelCase. - */ - - jsonName: string; - options?: FieldOptions; -} -/** Describes a field within a message. */ - -export interface FieldDescriptorProtoSDKType { - name: string; - number: number; - label: FieldDescriptorProto_Label; - type: FieldDescriptorProto_Type; - type_name: string; - extendee: string; - default_value: string; - oneof_index: number; - json_name: string; - options?: FieldOptionsSDKType; -} -/** Describes a oneof. */ - -export interface OneofDescriptorProto { - name: string; - options?: OneofOptions; -} -/** Describes a oneof. */ - -export interface OneofDescriptorProtoSDKType { - name: string; - options?: OneofOptionsSDKType; -} -/** Describes an enum type. */ - -export interface EnumDescriptorProto { - name: string; - value: EnumValueDescriptorProto[]; - options?: EnumOptions; - /** - * Range of reserved numeric values. Reserved numeric values may not be used - * by enum values in the same enum declaration. Reserved ranges may not - * overlap. - */ - - reservedRange: EnumDescriptorProto_EnumReservedRange[]; - /** - * Reserved enum value names, which may not be reused. A given name may only - * be reserved once. - */ - - reservedName: string[]; -} -/** Describes an enum type. */ - -export interface EnumDescriptorProtoSDKType { - name: string; - value: EnumValueDescriptorProtoSDKType[]; - options?: EnumOptionsSDKType; - reserved_range: EnumDescriptorProto_EnumReservedRangeSDKType[]; - reserved_name: string[]; -} -/** - * Range of reserved numeric values. Reserved values may not be used by - * entries in the same enum. Reserved ranges may not overlap. - * - * Note that this is distinct from DescriptorProto.ReservedRange in that it - * is inclusive such that it can appropriately represent the entire int32 - * domain. - */ - -export interface EnumDescriptorProto_EnumReservedRange { - /** Inclusive. */ - start: number; - /** Inclusive. */ - - end: number; -} -/** - * Range of reserved numeric values. Reserved values may not be used by - * entries in the same enum. Reserved ranges may not overlap. - * - * Note that this is distinct from DescriptorProto.ReservedRange in that it - * is inclusive such that it can appropriately represent the entire int32 - * domain. - */ - -export interface EnumDescriptorProto_EnumReservedRangeSDKType { - start: number; - end: number; -} -/** Describes a value within an enum. */ - -export interface EnumValueDescriptorProto { - name: string; - number: number; - options?: EnumValueOptions; -} -/** Describes a value within an enum. */ - -export interface EnumValueDescriptorProtoSDKType { - name: string; - number: number; - options?: EnumValueOptionsSDKType; -} -/** Describes a service. */ - -export interface ServiceDescriptorProto { - name: string; - method: MethodDescriptorProto[]; - options?: ServiceOptions; -} -/** Describes a service. */ - -export interface ServiceDescriptorProtoSDKType { - name: string; - method: MethodDescriptorProtoSDKType[]; - options?: ServiceOptionsSDKType; -} -/** Describes a method of a service. */ - -export interface MethodDescriptorProto { - name: string; - /** - * Input and output type names. These are resolved in the same way as - * FieldDescriptorProto.type_name, but must refer to a message type. - */ - - inputType: string; - outputType: string; - options?: MethodOptions; - /** Identifies if client streams multiple client messages */ - - clientStreaming: boolean; - /** Identifies if server streams multiple server messages */ - - serverStreaming: boolean; -} -/** Describes a method of a service. */ - -export interface MethodDescriptorProtoSDKType { - name: string; - input_type: string; - output_type: string; - options?: MethodOptionsSDKType; - client_streaming: boolean; - server_streaming: boolean; -} -export interface FileOptions { - /** - * Sets the Java package where classes generated from this .proto will be - * placed. By default, the proto package is used, but this is often - * inappropriate because proto packages do not normally start with backwards - * domain names. - */ - javaPackage: string; - /** - * If set, all the classes from the .proto file are wrapped in a single - * outer class with the given name. This applies to both Proto1 - * (equivalent to the old "--one_java_file" option) and Proto2 (where - * a .proto always translates to a single class, but you may want to - * explicitly choose the class name). - */ - - javaOuterClassname: string; - /** - * If set true, then the Java code generator will generate a separate .java - * file for each top-level message, enum, and service defined in the .proto - * file. Thus, these types will *not* be nested inside the outer class - * named by java_outer_classname. However, the outer class will still be - * generated to contain the file's getDescriptor() method as well as any - * top-level extensions defined in the file. - */ - - javaMultipleFiles: boolean; - /** This option does nothing. */ - - /** @deprecated */ - - javaGenerateEqualsAndHash: boolean; - /** - * If set true, then the Java2 code generator will generate code that - * throws an exception whenever an attempt is made to assign a non-UTF-8 - * byte sequence to a string field. - * Message reflection will do the same. - * However, an extension field still accepts non-UTF-8 byte sequences. - * This option has no effect on when used with the lite runtime. - */ - - javaStringCheckUtf8: boolean; - optimizeFor: FileOptions_OptimizeMode; - /** - * Sets the Go package where structs generated from this .proto will be - * placed. If omitted, the Go package will be derived from the following: - * - The basename of the package import path, if provided. - * - Otherwise, the package statement in the .proto file, if present. - * - Otherwise, the basename of the .proto file, without extension. - */ - - goPackage: string; - /** - * Should generic services be generated in each language? "Generic" services - * are not specific to any particular RPC system. They are generated by the - * main code generators in each language (without additional plugins). - * Generic services were the only kind of service generation supported by - * early versions of google.protobuf. - * - * Generic services are now considered deprecated in favor of using plugins - * that generate code specific to your particular RPC system. Therefore, - * these default to false. Old code which depends on generic services should - * explicitly set them to true. - */ - - ccGenericServices: boolean; - javaGenericServices: boolean; - pyGenericServices: boolean; - phpGenericServices: boolean; - /** - * Is this file deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for everything in the file, or it will be completely ignored; in the very - * least, this is a formalization for deprecating files. - */ - - deprecated: boolean; - /** - * Enables the use of arenas for the proto messages in this file. This applies - * only to generated classes for C++. - */ - - ccEnableArenas: boolean; - /** - * Sets the objective c class prefix which is prepended to all objective c - * generated classes from this .proto. There is no default. - */ - - objcClassPrefix: string; - /** Namespace for generated classes; defaults to the package. */ - - csharpNamespace: string; - /** - * By default Swift generators will take the proto package and CamelCase it - * replacing '.' with underscore and use that to prefix the types/symbols - * defined. When this options is provided, they will use this value instead - * to prefix the types/symbols defined. - */ - - swiftPrefix: string; - /** - * Sets the php class prefix which is prepended to all php generated classes - * from this .proto. Default is empty. - */ - - phpClassPrefix: string; - /** - * Use this option to change the namespace of php generated classes. Default - * is empty. When this option is empty, the package name will be used for - * determining the namespace. - */ - - phpNamespace: string; - /** - * Use this option to change the namespace of php generated metadata classes. - * Default is empty. When this option is empty, the proto file name will be - * used for determining the namespace. - */ - - phpMetadataNamespace: string; - /** - * Use this option to change the package of ruby generated classes. Default - * is empty. When this option is not set, the package name will be used for - * determining the ruby package. - */ - - rubyPackage: string; - /** - * The parser stores options it doesn't recognize here. - * See the documentation for the "Options" section above. - */ - - uninterpretedOption: UninterpretedOption[]; -} -export interface FileOptionsSDKType { - java_package: string; - java_outer_classname: string; - java_multiple_files: boolean; - /** @deprecated */ - - java_generate_equals_and_hash: boolean; - java_string_check_utf8: boolean; - optimize_for: FileOptions_OptimizeMode; - go_package: string; - cc_generic_services: boolean; - java_generic_services: boolean; - py_generic_services: boolean; - php_generic_services: boolean; - deprecated: boolean; - cc_enable_arenas: boolean; - objc_class_prefix: string; - csharp_namespace: string; - swift_prefix: string; - php_class_prefix: string; - php_namespace: string; - php_metadata_namespace: string; - ruby_package: string; - uninterpreted_option: UninterpretedOptionSDKType[]; -} -export interface MessageOptions { - /** - * Set true to use the old proto1 MessageSet wire format for extensions. - * This is provided for backwards-compatibility with the MessageSet wire - * format. You should not use this for any other reason: It's less - * efficient, has fewer features, and is more complicated. - * - * The message must be defined exactly as follows: - * message Foo { - * option message_set_wire_format = true; - * extensions 4 to max; - * } - * Note that the message cannot have any defined fields; MessageSets only - * have extensions. - * - * All extensions of your type must be singular messages; e.g. they cannot - * be int32s, enums, or repeated messages. - * - * Because this is an option, the above two restrictions are not enforced by - * the protocol compiler. - */ - messageSetWireFormat: boolean; - /** - * Disables the generation of the standard "descriptor()" accessor, which can - * conflict with a field of the same name. This is meant to make migration - * from proto1 easier; new code should avoid fields named "descriptor". - */ - - noStandardDescriptorAccessor: boolean; - /** - * Is this message deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the message, or it will be completely ignored; in the very least, - * this is a formalization for deprecating messages. - */ - - deprecated: boolean; - /** - * Whether the message is an automatically generated map entry type for the - * maps field. - * - * For maps fields: - * map map_field = 1; - * The parsed descriptor looks like: - * message MapFieldEntry { - * option map_entry = true; - * optional KeyType key = 1; - * optional ValueType value = 2; - * } - * repeated MapFieldEntry map_field = 1; - * - * Implementations may choose not to generate the map_entry=true message, but - * use a native map in the target language to hold the keys and values. - * The reflection APIs in such implementations still need to work as - * if the field is a repeated message field. - * - * NOTE: Do not set the option in .proto files. Always use the maps syntax - * instead. The option should only be implicitly set by the proto compiler - * parser. - */ - - mapEntry: boolean; - /** The parser stores options it doesn't recognize here. See above. */ - - uninterpretedOption: UninterpretedOption[]; -} -export interface MessageOptionsSDKType { - message_set_wire_format: boolean; - no_standard_descriptor_accessor: boolean; - deprecated: boolean; - map_entry: boolean; - uninterpreted_option: UninterpretedOptionSDKType[]; -} -export interface FieldOptions { - /** - * The ctype option instructs the C++ code generator to use a different - * representation of the field than it normally would. See the specific - * options below. This option is not yet implemented in the open source - * release -- sorry, we'll try to include it in a future version! - */ - ctype: FieldOptions_CType; - /** - * The packed option can be enabled for repeated primitive fields to enable - * a more efficient representation on the wire. Rather than repeatedly - * writing the tag and type for each element, the entire array is encoded as - * a single length-delimited blob. In proto3, only explicit setting it to - * false will avoid using packed encoding. - */ - - packed: boolean; - /** - * The jstype option determines the JavaScript type used for values of the - * field. The option is permitted only for 64 bit integral and fixed types - * (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING - * is represented as JavaScript string, which avoids loss of precision that - * can happen when a large value is converted to a floating point JavaScript. - * Specifying JS_NUMBER for the jstype causes the generated JavaScript code to - * use the JavaScript "number" type. The behavior of the default option - * JS_NORMAL is implementation dependent. - * - * This option is an enum to permit additional types to be added, e.g. - * goog.math.Integer. - */ - - jstype: FieldOptions_JSType; - /** - * Should this field be parsed lazily? Lazy applies only to message-type - * fields. It means that when the outer message is initially parsed, the - * inner message's contents will not be parsed but instead stored in encoded - * form. The inner message will actually be parsed when it is first accessed. - * - * This is only a hint. Implementations are free to choose whether to use - * eager or lazy parsing regardless of the value of this option. However, - * setting this option true suggests that the protocol author believes that - * using lazy parsing on this field is worth the additional bookkeeping - * overhead typically needed to implement it. - * - * This option does not affect the public interface of any generated code; - * all method signatures remain the same. Furthermore, thread-safety of the - * interface is not affected by this option; const methods remain safe to - * call from multiple threads concurrently, while non-const methods continue - * to require exclusive access. - * - * - * Note that implementations may choose not to check required fields within - * a lazy sub-message. That is, calling IsInitialized() on the outer message - * may return true even if the inner message has missing required fields. - * This is necessary because otherwise the inner message would have to be - * parsed in order to perform the check, defeating the purpose of lazy - * parsing. An implementation which chooses not to check required fields - * must be consistent about it. That is, for any particular sub-message, the - * implementation must either *always* check its required fields, or *never* - * check its required fields, regardless of whether or not the message has - * been parsed. - */ - - lazy: boolean; - /** - * Is this field deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for accessors, or it will be completely ignored; in the very least, this - * is a formalization for deprecating fields. - */ - - deprecated: boolean; - /** For Google-internal migration only. Do not use. */ - - weak: boolean; - /** The parser stores options it doesn't recognize here. See above. */ - - uninterpretedOption: UninterpretedOption[]; -} -export interface FieldOptionsSDKType { - ctype: FieldOptions_CType; - packed: boolean; - jstype: FieldOptions_JSType; - lazy: boolean; - deprecated: boolean; - weak: boolean; - uninterpreted_option: UninterpretedOptionSDKType[]; -} -export interface OneofOptions { - /** The parser stores options it doesn't recognize here. See above. */ - uninterpretedOption: UninterpretedOption[]; -} -export interface OneofOptionsSDKType { - uninterpreted_option: UninterpretedOptionSDKType[]; -} -export interface EnumOptions { - /** - * Set this option to true to allow mapping different tag names to the same - * value. - */ - allowAlias: boolean; - /** - * Is this enum deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the enum, or it will be completely ignored; in the very least, this - * is a formalization for deprecating enums. - */ - - deprecated: boolean; - /** The parser stores options it doesn't recognize here. See above. */ - - uninterpretedOption: UninterpretedOption[]; -} -export interface EnumOptionsSDKType { - allow_alias: boolean; - deprecated: boolean; - uninterpreted_option: UninterpretedOptionSDKType[]; -} -export interface EnumValueOptions { - /** - * Is this enum value deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the enum value, or it will be completely ignored; in the very least, - * this is a formalization for deprecating enum values. - */ - deprecated: boolean; - /** The parser stores options it doesn't recognize here. See above. */ - - uninterpretedOption: UninterpretedOption[]; -} -export interface EnumValueOptionsSDKType { - deprecated: boolean; - uninterpreted_option: UninterpretedOptionSDKType[]; -} -export interface ServiceOptions { - /** - * Is this service deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the service, or it will be completely ignored; in the very least, - * this is a formalization for deprecating services. - */ - deprecated: boolean; - /** The parser stores options it doesn't recognize here. See above. */ - - uninterpretedOption: UninterpretedOption[]; -} -export interface ServiceOptionsSDKType { - deprecated: boolean; - uninterpreted_option: UninterpretedOptionSDKType[]; -} -export interface MethodOptions { - /** - * Is this method deprecated? - * Depending on the target platform, this can emit Deprecated annotations - * for the method, or it will be completely ignored; in the very least, - * this is a formalization for deprecating methods. - */ - deprecated: boolean; - idempotencyLevel: MethodOptions_IdempotencyLevel; - /** The parser stores options it doesn't recognize here. See above. */ - - uninterpretedOption: UninterpretedOption[]; -} -export interface MethodOptionsSDKType { - deprecated: boolean; - idempotency_level: MethodOptions_IdempotencyLevel; - uninterpreted_option: UninterpretedOptionSDKType[]; -} -/** - * A message representing a option the parser does not recognize. This only - * appears in options protos created by the compiler::Parser class. - * DescriptorPool resolves these when building Descriptor objects. Therefore, - * options protos in descriptor objects (e.g. returned by Descriptor::options(), - * or produced by Descriptor::CopyTo()) will never have UninterpretedOptions - * in them. - */ - -export interface UninterpretedOption { - name: UninterpretedOption_NamePart[]; - /** - * The value of the uninterpreted option, in whatever type the tokenizer - * identified it as during parsing. Exactly one of these should be set. - */ - - identifierValue: string; - positiveIntValue: Long; - negativeIntValue: Long; - doubleValue: number; - stringValue: Uint8Array; - aggregateValue: string; -} -/** - * A message representing a option the parser does not recognize. This only - * appears in options protos created by the compiler::Parser class. - * DescriptorPool resolves these when building Descriptor objects. Therefore, - * options protos in descriptor objects (e.g. returned by Descriptor::options(), - * or produced by Descriptor::CopyTo()) will never have UninterpretedOptions - * in them. - */ - -export interface UninterpretedOptionSDKType { - name: UninterpretedOption_NamePartSDKType[]; - identifier_value: string; - positive_int_value: Long; - negative_int_value: Long; - double_value: number; - string_value: Uint8Array; - aggregate_value: string; -} -/** - * The name of the uninterpreted option. Each string represents a segment in - * a dot-separated name. is_extension is true iff a segment represents an - * extension (denoted with parentheses in options specs in .proto files). - * E.g.,{ ["foo", false], ["bar.baz", true], ["qux", false] } represents - * "foo.(bar.baz).qux". - */ - -export interface UninterpretedOption_NamePart { - namePart: string; - isExtension: boolean; -} -/** - * 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 { - 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 { - path: number[]; - span: number[]; - leading_comments: string; - trailing_comments: string; - leading_detached_comments: string[]; -} -/** - * Describes the relationship between generated code and its original source - * file. A GeneratedCodeInfo message is associated with only one generated - * source file, but may contain references to different source .proto files. - */ - -export interface GeneratedCodeInfo { - /** - * An Annotation connects some span of text in generated code to an element - * of its generating .proto file. - */ - annotation: GeneratedCodeInfo_Annotation[]; -} -/** - * Describes the relationship between generated code and its original source - * file. A GeneratedCodeInfo message is associated with only one generated - * source file, but may contain references to different source .proto files. - */ - -export interface GeneratedCodeInfoSDKType { - annotation: GeneratedCodeInfo_AnnotationSDKType[]; -} -export interface GeneratedCodeInfo_Annotation { - /** - * Identifies the element in the original source .proto file. This field - * is formatted the same as SourceCodeInfo.Location.path. - */ - path: number[]; - /** Identifies the filesystem path to the original source .proto. */ - - sourceFile: string; - /** - * Identifies the starting offset in bytes in the generated code - * that relates to the identified object. - */ - - begin: number; - /** - * Identifies the ending offset in bytes in the generated code that - * relates to the identified offset. The end offset should be one past - * the last relevant byte (so the length of the text = end - begin). - */ - - end: number; -} -export interface GeneratedCodeInfo_AnnotationSDKType { - path: number[]; - source_file: string; - begin: number; - 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/google/protobuf/duration.ts b/packages/codegen/src/google/protobuf/duration.ts deleted file mode 100644 index 620a27d1..00000000 --- a/packages/codegen/src/google/protobuf/duration.ts +++ /dev/null @@ -1,201 +0,0 @@ -import { Long, DeepPartial } from "../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * A Duration represents a signed, fixed-length span of time represented - * as a count of seconds and fractions of seconds at nanosecond - * resolution. It is independent of any calendar and concepts like "day" - * or "month". It is related to Timestamp in that the difference between - * two Timestamp values is a Duration and it can be added or subtracted - * from a Timestamp. Range is approximately +-10,000 years. - * - * # Examples - * - * Example 1: Compute Duration from two Timestamps in pseudo code. - * - * Timestamp start = ...; - * Timestamp end = ...; - * Duration duration = ...; - * - * duration.seconds = end.seconds - start.seconds; - * duration.nanos = end.nanos - start.nanos; - * - * if (duration.seconds < 0 && duration.nanos > 0) { - * duration.seconds += 1; - * duration.nanos -= 1000000000; - * } else if (durations.seconds > 0 && duration.nanos < 0) { - * duration.seconds -= 1; - * duration.nanos += 1000000000; - * } - * - * Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. - * - * Timestamp start = ...; - * Duration duration = ...; - * Timestamp end = ...; - * - * end.seconds = start.seconds + duration.seconds; - * end.nanos = start.nanos + duration.nanos; - * - * if (end.nanos < 0) { - * end.seconds -= 1; - * end.nanos += 1000000000; - * } else if (end.nanos >= 1000000000) { - * end.seconds += 1; - * end.nanos -= 1000000000; - * } - * - * Example 3: Compute Duration from datetime.timedelta in Python. - * - * td = datetime.timedelta(days=3, minutes=10) - * duration = Duration() - * duration.FromTimedelta(td) - * - * # JSON Mapping - * - * In JSON format, the Duration type is encoded as a string rather than an - * object, where the string ends in the suffix "s" (indicating seconds) and - * is preceded by the number of seconds, with nanoseconds expressed as - * fractional seconds. For example, 3 seconds with 0 nanoseconds should be - * encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should - * be expressed in JSON format as "3.000000001s", and 3 seconds and 1 - * microsecond should be expressed in JSON format as "3.000001s". - */ - -export interface Duration { - /** - * Signed seconds of the span of time. Must be from -315,576,000,000 - * to +315,576,000,000 inclusive. Note: these bounds are computed from: - * 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years - */ - seconds: Long; - /** - * Signed fractions of a second at nanosecond resolution of the span - * of time. Durations less than one second are represented with a 0 - * `seconds` field and a positive or negative `nanos` field. For durations - * of one second or more, a non-zero value for the `nanos` field must be - * of the same sign as the `seconds` field. Must be from -999,999,999 - * to +999,999,999 inclusive. - */ - - nanos: number; -} -/** - * A Duration represents a signed, fixed-length span of time represented - * as a count of seconds and fractions of seconds at nanosecond - * resolution. It is independent of any calendar and concepts like "day" - * or "month". It is related to Timestamp in that the difference between - * two Timestamp values is a Duration and it can be added or subtracted - * from a Timestamp. Range is approximately +-10,000 years. - * - * # Examples - * - * Example 1: Compute Duration from two Timestamps in pseudo code. - * - * Timestamp start = ...; - * Timestamp end = ...; - * Duration duration = ...; - * - * duration.seconds = end.seconds - start.seconds; - * duration.nanos = end.nanos - start.nanos; - * - * if (duration.seconds < 0 && duration.nanos > 0) { - * duration.seconds += 1; - * duration.nanos -= 1000000000; - * } else if (durations.seconds > 0 && duration.nanos < 0) { - * duration.seconds -= 1; - * duration.nanos += 1000000000; - * } - * - * Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. - * - * Timestamp start = ...; - * Duration duration = ...; - * Timestamp end = ...; - * - * end.seconds = start.seconds + duration.seconds; - * end.nanos = start.nanos + duration.nanos; - * - * if (end.nanos < 0) { - * end.seconds -= 1; - * end.nanos += 1000000000; - * } else if (end.nanos >= 1000000000) { - * end.seconds += 1; - * end.nanos -= 1000000000; - * } - * - * Example 3: Compute Duration from datetime.timedelta in Python. - * - * td = datetime.timedelta(days=3, minutes=10) - * duration = Duration() - * duration.FromTimedelta(td) - * - * # JSON Mapping - * - * In JSON format, the Duration type is encoded as a string rather than an - * object, where the string ends in the suffix "s" (indicating seconds) and - * is preceded by the number of seconds, with nanoseconds expressed as - * fractional seconds. For example, 3 seconds with 0 nanoseconds should be - * encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should - * be expressed in JSON format as "3.000000001s", and 3 seconds and 1 - * microsecond should be expressed in JSON format as "3.000001s". - */ - -export interface DurationSDKType { - seconds: Long; - nanos: number; -} - -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: DeepPartial): 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/packages/codegen/src/google/protobuf/empty.ts b/packages/codegen/src/google/protobuf/empty.ts deleted file mode 100644 index 16b43f97..00000000 --- a/packages/codegen/src/google/protobuf/empty.ts +++ /dev/null @@ -1,62 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../helpers"; -/** - * 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(_: DeepPartial): Empty { - const message = createBaseEmpty(); - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/google/protobuf/timestamp.ts b/packages/codegen/src/google/protobuf/timestamp.ts deleted file mode 100644 index 3bb95f53..00000000 --- a/packages/codegen/src/google/protobuf/timestamp.ts +++ /dev/null @@ -1,247 +0,0 @@ -import { Long, DeepPartial } from "../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * A Timestamp represents a point in time independent of any time zone or local - * calendar, encoded as a count of seconds and fractions of seconds at - * nanosecond resolution. The count is relative to an epoch at UTC midnight on - * January 1, 1970, in the proleptic Gregorian calendar which extends the - * Gregorian calendar backwards to year one. - * - * All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap - * second table is needed for interpretation, using a [24-hour linear - * smear](https://developers.google.com/time/smear). - * - * The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - * restricting to that range, we ensure that we can convert to and from [RFC - * 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - * - * # Examples - * - * Example 1: Compute Timestamp from POSIX `time()`. - * - * Timestamp timestamp; - * timestamp.set_seconds(time(NULL)); - * timestamp.set_nanos(0); - * - * Example 2: Compute Timestamp from POSIX `gettimeofday()`. - * - * struct timeval tv; - * gettimeofday(&tv, NULL); - * - * Timestamp timestamp; - * timestamp.set_seconds(tv.tv_sec); - * timestamp.set_nanos(tv.tv_usec * 1000); - * - * Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - * - * FILETIME ft; - * GetSystemTimeAsFileTime(&ft); - * UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - * - * // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - * // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - * Timestamp timestamp; - * timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - * timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - * - * Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - * - * long millis = System.currentTimeMillis(); - * - * Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - * .setNanos((int) ((millis % 1000) * 1000000)).build(); - * - * - * Example 5: Compute Timestamp from current time in Python. - * - * timestamp = Timestamp() - * timestamp.GetCurrentTime() - * - * # JSON Mapping - * - * In JSON format, the Timestamp type is encoded as a string in the - * [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - * format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z" - * where {year} is always expressed using four digits while {month}, {day}, - * {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - * seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - * are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone - * is required. A proto3 JSON serializer should always use UTC (as indicated by - * "Z") when printing the Timestamp type and a proto3 JSON parser should be - * able to accept both UTC and other timezones (as indicated by an offset). - * - * For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past - * 01:30 UTC on January 15, 2017. - * - * In JavaScript, one can convert a Date object to this format using the - * standard - * [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - * method. In Python, a standard `datetime.datetime` object can be converted - * to this format using - * [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - * the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - * the Joda Time's [`ISODateTimeFormat.dateTime()`]( - * http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D - * ) to obtain a formatter capable of generating timestamps in this format. - */ - -export interface Timestamp { - /** - * Represents seconds of UTC time since Unix epoch - * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to - * 9999-12-31T23:59:59Z inclusive. - */ - seconds: Long; - /** - * Non-negative fractions of a second at nanosecond resolution. Negative - * second values with fractions must still have non-negative nanos values - * that count forward in time. Must be from 0 to 999,999,999 - * inclusive. - */ - - nanos: number; -} -/** - * A Timestamp represents a point in time independent of any time zone or local - * calendar, encoded as a count of seconds and fractions of seconds at - * nanosecond resolution. The count is relative to an epoch at UTC midnight on - * January 1, 1970, in the proleptic Gregorian calendar which extends the - * Gregorian calendar backwards to year one. - * - * All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap - * second table is needed for interpretation, using a [24-hour linear - * smear](https://developers.google.com/time/smear). - * - * The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - * restricting to that range, we ensure that we can convert to and from [RFC - * 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - * - * # Examples - * - * Example 1: Compute Timestamp from POSIX `time()`. - * - * Timestamp timestamp; - * timestamp.set_seconds(time(NULL)); - * timestamp.set_nanos(0); - * - * Example 2: Compute Timestamp from POSIX `gettimeofday()`. - * - * struct timeval tv; - * gettimeofday(&tv, NULL); - * - * Timestamp timestamp; - * timestamp.set_seconds(tv.tv_sec); - * timestamp.set_nanos(tv.tv_usec * 1000); - * - * Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - * - * FILETIME ft; - * GetSystemTimeAsFileTime(&ft); - * UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - * - * // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - * // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - * Timestamp timestamp; - * timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - * timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - * - * Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - * - * long millis = System.currentTimeMillis(); - * - * Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - * .setNanos((int) ((millis % 1000) * 1000000)).build(); - * - * - * Example 5: Compute Timestamp from current time in Python. - * - * timestamp = Timestamp() - * timestamp.GetCurrentTime() - * - * # JSON Mapping - * - * In JSON format, the Timestamp type is encoded as a string in the - * [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - * format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z" - * where {year} is always expressed using four digits while {month}, {day}, - * {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - * seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - * are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone - * is required. A proto3 JSON serializer should always use UTC (as indicated by - * "Z") when printing the Timestamp type and a proto3 JSON parser should be - * able to accept both UTC and other timezones (as indicated by an offset). - * - * For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past - * 01:30 UTC on January 15, 2017. - * - * In JavaScript, one can convert a Date object to this format using the - * standard - * [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - * method. In Python, a standard `datetime.datetime` object can be converted - * to this format using - * [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - * the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - * the Joda Time's [`ISODateTimeFormat.dateTime()`]( - * http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D - * ) to obtain a formatter capable of generating timestamps in this format. - */ - -export interface TimestampSDKType { - seconds: Long; - nanos: number; -} - -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: DeepPartial): 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/packages/codegen/src/helpers.ts b/packages/codegen/src/helpers.ts deleted file mode 100644 index 67359aa7..00000000 --- a/packages/codegen/src/helpers.ts +++ /dev/null @@ -1,242 +0,0 @@ -/** -* This file and any referenced files were automatically generated by @osmonauts/telescope@0.88.2 -* DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain -* and run the transpile command or yarn proto command to regenerate this bundle. -*/ - -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 Long - ? string | number | Long - : T extends Array - ? Array> - : T extends ReadonlyArray - ? ReadonlyArray> - : T extends {} - ? { [K in keyof T]?: DeepPartial } - : Partial; - -type KeysOfUnion = T extends T ? keyof T : never; -export type Exact = P extends Builtin - ? P - : P & { [K in keyof P]: Exact } & Record>, never>; - -export interface Rpc { - request(service: string, method: string, data: Uint8Array): Promise; -}; - -interface Timestamp { - /** - * Represents seconds of UTC time since Unix epoch - * 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to - * 9999-12-31T23:59:59Z inclusive. - */ - seconds: Long; - /** - * Non-negative fractions of a second at nanosecond resolution. Negative - * second values with fractions must still have non-negative nanos values - * that count forward in time. Must be from 0 to 999,999,999 - * inclusive. - */ - - nanos: number; -} - -export 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/packages/codegen/src/ibc/applications/transfer/v1/genesis.ts b/packages/codegen/src/ibc/applications/transfer/v1/genesis.ts deleted file mode 100644 index a44fcba3..00000000 --- a/packages/codegen/src/ibc/applications/transfer/v1/genesis.ts +++ /dev/null @@ -1,82 +0,0 @@ -import { DenomTrace, DenomTraceSDKType, Params, ParamsSDKType } from "./transfer"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../../helpers"; -/** GenesisState defines the ibc-transfer genesis state */ - -export interface GenesisState { - portId: string; - denomTraces: DenomTrace[]; - params?: Params; -} -/** GenesisState defines the ibc-transfer genesis state */ - -export interface GenesisStateSDKType { - port_id: string; - denom_traces: DenomTraceSDKType[]; - params?: ParamsSDKType; -} - -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: DeepPartial): 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/packages/codegen/src/ibc/applications/transfer/v1/query.lcd.ts b/packages/codegen/src/ibc/applications/transfer/v1/query.lcd.ts deleted file mode 100644 index 7bce53a4..00000000 --- a/packages/codegen/src/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/packages/codegen/src/ibc/applications/transfer/v1/query.rpc.Query.ts b/packages/codegen/src/ibc/applications/transfer/v1/query.rpc.Query.ts deleted file mode 100644 index 62b2cc99..00000000 --- a/packages/codegen/src/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/packages/codegen/src/ibc/applications/transfer/v1/query.ts b/packages/codegen/src/ibc/applications/transfer/v1/query.ts deleted file mode 100644 index bee73fc4..00000000 --- a/packages/codegen/src/ibc/applications/transfer/v1/query.ts +++ /dev/null @@ -1,362 +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"; -import { DeepPartial } from "../../../../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: 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; -} -/** - * QueryDenomTraceResponse is the response type for the Query/DenomTrace RPC - * method. - */ - -export interface QueryDenomTraceResponseSDKType { - denom_trace?: DenomTraceSDKType; -} -/** - * QueryConnectionsRequest is the request type for the Query/DenomTraces RPC - * method - */ - -export interface QueryDenomTracesRequest { - /** pagination defines an optional pagination for the request. */ - pagination?: PageRequest; -} -/** - * QueryConnectionsRequest is the request type for the Query/DenomTraces RPC - * method - */ - -export interface QueryDenomTracesRequestSDKType { - pagination?: PageRequestSDKType; -} -/** - * QueryConnectionsResponse is the response type for the Query/DenomTraces RPC - * method. - */ - -export interface QueryDenomTracesResponse { - /** denom_traces returns all denominations trace information. */ - denomTraces: DenomTrace[]; - /** pagination defines the pagination in the response. */ - - pagination?: PageResponse; -} -/** - * QueryConnectionsResponse is the response type for the Query/DenomTraces RPC - * method. - */ - -export interface QueryDenomTracesResponseSDKType { - denom_traces: DenomTraceSDKType[]; - pagination?: PageResponseSDKType; -} -/** QueryParamsRequest is the request type for the Query/Params RPC method. */ - -export interface QueryParamsRequest {} -/** 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; -} -/** QueryParamsResponse is the response type for the Query/Params RPC method. */ - -export interface QueryParamsResponseSDKType { - params?: ParamsSDKType; -} - -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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/ibc/applications/transfer/v1/transfer.ts b/packages/codegen/src/ibc/applications/transfer/v1/transfer.ts deleted file mode 100644 index 40710588..00000000 --- a/packages/codegen/src/ibc/applications/transfer/v1/transfer.ts +++ /dev/null @@ -1,167 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../../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: string; - base_denom: string; -} -/** - * Params defines the set of IBC transfer parameters. - * NOTE: To prevent a single token from being transferred, set the - * TransfersEnabled parameter to true and then set the bank module's SendEnabled - * parameter for the denomination to false. - */ - -export interface Params { - /** - * send_enabled enables or disables all cross-chain token transfers from this - * chain. - */ - sendEnabled: boolean; - /** - * receive_enabled enables or disables all cross-chain token transfers to this - * chain. - */ - - receiveEnabled: boolean; -} -/** - * Params defines the set of IBC transfer parameters. - * NOTE: To prevent a single token from being transferred, set the - * TransfersEnabled parameter to true and then set the bank module's SendEnabled - * parameter for the denomination to false. - */ - -export interface ParamsSDKType { - send_enabled: boolean; - receive_enabled: boolean; -} - -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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/ibc/applications/transfer/v1/tx.rpc.msg.ts b/packages/codegen/src/ibc/applications/transfer/v1/tx.rpc.msg.ts deleted file mode 100644 index b0ed7b31..00000000 --- a/packages/codegen/src/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/packages/codegen/src/ibc/applications/transfer/v1/tx.ts b/packages/codegen/src/ibc/applications/transfer/v1/tx.ts deleted file mode 100644 index 54c7ab4f..00000000 --- a/packages/codegen/src/ibc/applications/transfer/v1/tx.ts +++ /dev/null @@ -1,198 +0,0 @@ -import { Coin, CoinSDKType } from "../../../../cosmos/base/v1beta1/coin"; -import { Height, HeightSDKType } from "../../../core/client/v1/client"; -import { Long, DeepPartial } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * MsgTransfer defines a msg to transfer fungible tokens (i.e Coins) between - * ICS20 enabled chains. See ICS Spec here: - * https://github.com/cosmos/ibc/tree/master/spec/app/ics-020-fungible-token-transfer#data-structures - */ - -export interface MsgTransfer { - /** the port on which the packet will be sent */ - sourcePort: string; - /** the channel by which the packet will be sent */ - - sourceChannel: string; - /** the tokens to be transferred */ - - token?: Coin; - /** the sender address */ - - sender: string; - /** the recipient address on the destination chain */ - - receiver: string; - /** - * Timeout height relative to the current block height. - * The timeout is disabled when set to 0. - */ - - timeoutHeight?: Height; - /** - * Timeout timestamp (in 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 { - source_port: string; - source_channel: string; - token?: CoinSDKType; - sender: string; - receiver: string; - timeout_height?: HeightSDKType; - timeout_timestamp: Long; -} -/** MsgTransferResponse defines the Msg/Transfer response type. */ - -export interface MsgTransferResponse {} -/** 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: DeepPartial): 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(_: DeepPartial): MsgTransferResponse { - const message = createBaseMsgTransferResponse(); - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/ibc/applications/transfer/v2/packet.ts b/packages/codegen/src/ibc/applications/transfer/v2/packet.ts deleted file mode 100644 index 44f2aaa7..00000000 --- a/packages/codegen/src/ibc/applications/transfer/v2/packet.ts +++ /dev/null @@ -1,108 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../../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; -} -/** - * 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 { - denom: string; - amount: string; - sender: string; - 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: DeepPartial): 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/packages/codegen/src/ibc/bundle.ts b/packages/codegen/src/ibc/bundle.ts deleted file mode 100644 index 63720a3b..00000000 --- a/packages/codegen/src/ibc/bundle.ts +++ /dev/null @@ -1,121 +0,0 @@ -import * as _110 from "./applications/transfer/v1/genesis"; -import * as _111 from "./applications/transfer/v1/query"; -import * as _112 from "./applications/transfer/v1/transfer"; -import * as _113 from "./applications/transfer/v1/tx"; -import * as _114 from "./applications/transfer/v2/packet"; -import * as _115 from "./core/channel/v1/channel"; -import * as _116 from "./core/channel/v1/genesis"; -import * as _117 from "./core/channel/v1/query"; -import * as _118 from "./core/channel/v1/tx"; -import * as _119 from "./core/client/v1/client"; -import * as _120 from "./core/client/v1/genesis"; -import * as _121 from "./core/client/v1/query"; -import * as _122 from "./core/client/v1/tx"; -import * as _123 from "./core/commitment/v1/commitment"; -import * as _124 from "./core/connection/v1/connection"; -import * as _125 from "./core/connection/v1/genesis"; -import * as _126 from "./core/connection/v1/query"; -import * as _127 from "./core/connection/v1/tx"; -import * as _128 from "./core/port/v1/query"; -import * as _129 from "./core/types/v1/genesis"; -import * as _130 from "./lightclients/localhost/v1/localhost"; -import * as _131 from "./lightclients/solomachine/v1/solomachine"; -import * as _132 from "./lightclients/solomachine/v2/solomachine"; -import * as _133 from "./lightclients/tendermint/v1/tendermint"; -import * as _197 from "./applications/transfer/v1/query.lcd"; -import * as _198 from "./core/channel/v1/query.lcd"; -import * as _199 from "./core/client/v1/query.lcd"; -import * as _200 from "./core/connection/v1/query.lcd"; -import * as _201 from "./applications/transfer/v1/query.rpc.Query"; -import * as _202 from "./core/channel/v1/query.rpc.Query"; -import * as _203 from "./core/client/v1/query.rpc.Query"; -import * as _204 from "./core/connection/v1/query.rpc.Query"; -import * as _205 from "./core/port/v1/query.rpc.Query"; -import * as _206 from "./applications/transfer/v1/tx.rpc.msg"; -import * as _207 from "./core/channel/v1/tx.rpc.msg"; -import * as _208 from "./core/client/v1/tx.rpc.msg"; -import * as _209 from "./core/connection/v1/tx.rpc.msg"; -import * as _216 from "./lcd"; -import * as _217 from "./rpc.query"; -import * as _218 from "./rpc.tx"; -export namespace ibc { - export namespace applications { - export namespace transfer { - export const v1 = { ..._110, - ..._111, - ..._112, - ..._113, - ..._197, - ..._201, - ..._206 - }; - export const v2 = { ..._114 - }; - } - } - export namespace core { - export namespace channel { - export const v1 = { ..._115, - ..._116, - ..._117, - ..._118, - ..._198, - ..._202, - ..._207 - }; - } - export namespace client { - export const v1 = { ..._119, - ..._120, - ..._121, - ..._122, - ..._199, - ..._203, - ..._208 - }; - } - export namespace commitment { - export const v1 = { ..._123 - }; - } - export namespace connection { - export const v1 = { ..._124, - ..._125, - ..._126, - ..._127, - ..._200, - ..._204, - ..._209 - }; - } - export namespace port { - export const v1 = { ..._128, - ..._205 - }; - } - export namespace types { - export const v1 = { ..._129 - }; - } - } - export namespace lightclients { - export namespace localhost { - export const v1 = { ..._130 - }; - } - export namespace solomachine { - export const v1 = { ..._131 - }; - export const v2 = { ..._132 - }; - } - export namespace tendermint { - export const v1 = { ..._133 - }; - } - } - export const ClientFactory = { ..._216, - ..._217, - ..._218 - }; -} \ No newline at end of file diff --git a/packages/codegen/src/ibc/core/channel/v1/channel.ts b/packages/codegen/src/ibc/core/channel/v1/channel.ts deleted file mode 100644 index b84ffb9a..00000000 --- a/packages/codegen/src/ibc/core/channel/v1/channel.ts +++ /dev/null @@ -1,826 +0,0 @@ -import { Height, HeightSDKType } from "../../client/v1/client"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, 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, -} -export const StateSDKType = State; -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, -} -export const OrderSDKType = Order; -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; - /** - * 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 { - state: State; - ordering: Order; - counterparty?: CounterpartySDKType; - connection_hops: string[]; - 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; - /** - * 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 { - state: State; - ordering: Order; - counterparty?: CounterpartySDKType; - connection_hops: string[]; - version: string; - port_id: string; - 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_id: string; - 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; - /** 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 { - sequence: Long; - source_port: string; - source_channel: string; - destination_port: string; - destination_channel: string; - data: Uint8Array; - timeout_height?: HeightSDKType; - 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 { - port_id: string; - channel_id: string; - sequence: Long; - 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/ibc/core/channel/v1/genesis.ts b/packages/codegen/src/ibc/core/channel/v1/genesis.ts deleted file mode 100644 index 4d7759f6..00000000 --- a/packages/codegen/src/ibc/core/channel/v1/genesis.ts +++ /dev/null @@ -1,229 +0,0 @@ -import { IdentifiedChannel, IdentifiedChannelSDKType, PacketState, PacketStateSDKType } from "./channel"; -import { Long, DeepPartial } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** 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[]; - 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/ibc/core/channel/v1/query.lcd.ts b/packages/codegen/src/ibc/core/channel/v1/query.lcd.ts deleted file mode 100644 index eb1215bf..00000000 --- a/packages/codegen/src/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/packages/codegen/src/ibc/core/channel/v1/query.rpc.Query.ts b/packages/codegen/src/ibc/core/channel/v1/query.rpc.Query.ts deleted file mode 100644 index 4fbeb5b7..00000000 --- a/packages/codegen/src/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/packages/codegen/src/ibc/core/channel/v1/query.ts b/packages/codegen/src/ibc/core/channel/v1/query.ts deleted file mode 100644 index c63fc1d4..00000000 --- a/packages/codegen/src/ibc/core/channel/v1/query.ts +++ /dev/null @@ -1,2326 +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 { DeepPartial, 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_id: string; - 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; - /** merkle proof of existence */ - - proof: Uint8Array; - /** height at which the proof was retrieved */ - - proofHeight?: Height; -} -/** - * 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?: ChannelSDKType; - proof: Uint8Array; - proof_height?: HeightSDKType; -} -/** QueryChannelsRequest is the request type for the Query/Channels RPC method */ - -export interface QueryChannelsRequest { - /** pagination request */ - pagination?: PageRequest; -} -/** QueryChannelsRequest is the request type for the Query/Channels RPC method */ - -export interface QueryChannelsRequestSDKType { - pagination?: PageRequestSDKType; -} -/** 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; - /** query block height */ - - height?: Height; -} -/** QueryChannelsResponse is the response type for the Query/Channels RPC method. */ - -export interface QueryChannelsResponseSDKType { - channels: IdentifiedChannelSDKType[]; - pagination?: PageResponseSDKType; - height?: HeightSDKType; -} -/** - * QueryConnectionChannelsRequest is the request type for the - * Query/QueryConnectionChannels RPC method - */ - -export interface QueryConnectionChannelsRequest { - /** connection unique identifier */ - connection: string; - /** pagination request */ - - pagination?: PageRequest; -} -/** - * QueryConnectionChannelsRequest is the request type for the - * Query/QueryConnectionChannels RPC method - */ - -export interface QueryConnectionChannelsRequestSDKType { - connection: string; - pagination?: PageRequestSDKType; -} -/** - * 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; - /** query block height */ - - height?: Height; -} -/** - * QueryConnectionChannelsResponse is the Response type for the - * Query/QueryConnectionChannels RPC method - */ - -export interface QueryConnectionChannelsResponseSDKType { - channels: IdentifiedChannelSDKType[]; - pagination?: PageResponseSDKType; - height?: HeightSDKType; -} -/** - * 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_id: string; - 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; - /** merkle proof of existence */ - - proof: Uint8Array; - /** height at which the proof was retrieved */ - - proofHeight?: Height; -} -/** - * QueryChannelClientStateResponse is the Response type for the - * Query/QueryChannelClientState RPC method - */ - -export interface QueryChannelClientStateResponseSDKType { - identified_client_state?: IdentifiedClientStateSDKType; - proof: Uint8Array; - proof_height?: HeightSDKType; -} -/** - * 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_id: string; - channel_id: string; - revision_number: Long; - 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; - /** client ID associated with the consensus state */ - - clientId: string; - /** merkle proof of existence */ - - proof: Uint8Array; - /** height at which the proof was retrieved */ - - proofHeight?: Height; -} -/** - * QueryChannelClientStateResponse is the Response type for the - * Query/QueryChannelClientState RPC method - */ - -export interface QueryChannelConsensusStateResponseSDKType { - consensus_state?: AnySDKType; - client_id: string; - proof: Uint8Array; - proof_height?: HeightSDKType; -} -/** - * 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_id: string; - channel_id: string; - 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; -} -/** - * 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 { - commitment: Uint8Array; - proof: Uint8Array; - proof_height?: HeightSDKType; -} -/** - * 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; -} -/** - * QueryPacketCommitmentsRequest is the request type for the - * Query/QueryPacketCommitments RPC method - */ - -export interface QueryPacketCommitmentsRequestSDKType { - port_id: string; - channel_id: string; - pagination?: PageRequestSDKType; -} -/** - * QueryPacketCommitmentsResponse is the request type for the - * Query/QueryPacketCommitments RPC method - */ - -export interface QueryPacketCommitmentsResponse { - commitments: PacketState[]; - /** pagination response */ - - pagination?: PageResponse; - /** query block height */ - - height?: Height; -} -/** - * QueryPacketCommitmentsResponse is the request type for the - * Query/QueryPacketCommitments RPC method - */ - -export interface QueryPacketCommitmentsResponseSDKType { - commitments: PacketStateSDKType[]; - pagination?: PageResponseSDKType; - height?: HeightSDKType; -} -/** - * 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_id: string; - channel_id: string; - 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; -} -/** - * 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 { - received: boolean; - proof: Uint8Array; - proof_height?: HeightSDKType; -} -/** - * 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_id: string; - channel_id: string; - 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; -} -/** - * 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 { - acknowledgement: Uint8Array; - proof: Uint8Array; - proof_height?: HeightSDKType; -} -/** - * 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; - /** list of packet sequences */ - - packetCommitmentSequences: Long[]; -} -/** - * QueryPacketAcknowledgementsRequest is the request type for the - * Query/QueryPacketCommitments RPC method - */ - -export interface QueryPacketAcknowledgementsRequestSDKType { - port_id: string; - channel_id: string; - pagination?: PageRequestSDKType; - packet_commitment_sequences: Long[]; -} -/** - * QueryPacketAcknowledgemetsResponse is the request type for the - * Query/QueryPacketAcknowledgements RPC method - */ - -export interface QueryPacketAcknowledgementsResponse { - acknowledgements: PacketState[]; - /** pagination response */ - - pagination?: PageResponse; - /** query block height */ - - height?: Height; -} -/** - * QueryPacketAcknowledgemetsResponse is the request type for the - * Query/QueryPacketAcknowledgements RPC method - */ - -export interface QueryPacketAcknowledgementsResponseSDKType { - acknowledgements: PacketStateSDKType[]; - pagination?: PageResponseSDKType; - height?: HeightSDKType; -} -/** - * 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_id: string; - channel_id: string; - 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; -} -/** - * QueryUnreceivedPacketsResponse is the response type for the - * Query/UnreceivedPacketCommitments RPC method - */ - -export interface QueryUnreceivedPacketsResponseSDKType { - sequences: Long[]; - height?: HeightSDKType; -} -/** - * 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_id: string; - channel_id: string; - 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; -} -/** - * QueryUnreceivedAcksResponse is the response type for the - * Query/UnreceivedAcks RPC method - */ - -export interface QueryUnreceivedAcksResponseSDKType { - sequences: Long[]; - height?: HeightSDKType; -} -/** - * 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_id: string; - 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; -} -/** - * QuerySequenceResponse is the request type for the - * Query/QueryNextSequenceReceiveResponse RPC method - */ - -export interface QueryNextSequenceReceiveResponseSDKType { - next_sequence_receive: Long; - proof: Uint8Array; - proof_height?: HeightSDKType; -} - -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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/ibc/core/channel/v1/tx.rpc.msg.ts b/packages/codegen/src/ibc/core/channel/v1/tx.rpc.msg.ts deleted file mode 100644 index b9ebcc50..00000000 --- a/packages/codegen/src/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/packages/codegen/src/ibc/core/channel/v1/tx.ts b/packages/codegen/src/ibc/core/channel/v1/tx.ts deleted file mode 100644 index 1c22c471..00000000 --- a/packages/codegen/src/ibc/core/channel/v1/tx.ts +++ /dev/null @@ -1,1487 +0,0 @@ -import { Channel, ChannelSDKType, Packet, PacketSDKType } from "./channel"; -import { Height, HeightSDKType } from "../../client/v1/client"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, 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; - 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; - 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; - counterpartyVersion: string; - proofInit: Uint8Array; - proofHeight?: Height; - 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; - previous_channel_id: string; - channel?: ChannelSDKType; - counterparty_version: string; - proof_init: Uint8Array; - proof_height?: HeightSDKType; - 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; - 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; - 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; - 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; - 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; - 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; - 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; - proofCommitment: Uint8Array; - proofHeight?: Height; - signer: string; -} -/** MsgRecvPacket receives incoming IBC packet */ - -export interface MsgRecvPacketSDKType { - packet?: PacketSDKType; - proof_commitment: Uint8Array; - proof_height?: HeightSDKType; - 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; - proofUnreceived: Uint8Array; - proofHeight?: Height; - nextSequenceRecv: Long; - signer: string; -} -/** MsgTimeout receives timed-out packet */ - -export interface MsgTimeoutSDKType { - packet?: PacketSDKType; - proof_unreceived: Uint8Array; - proof_height?: HeightSDKType; - 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; - proofUnreceived: Uint8Array; - proofClose: Uint8Array; - proofHeight?: Height; - nextSequenceRecv: Long; - signer: string; -} -/** MsgTimeoutOnClose timed-out packet upon counterparty channel closure. */ - -export interface MsgTimeoutOnCloseSDKType { - packet?: PacketSDKType; - proof_unreceived: Uint8Array; - proof_close: Uint8Array; - proof_height?: HeightSDKType; - 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; - acknowledgement: Uint8Array; - proofAcked: Uint8Array; - proofHeight?: Height; - signer: string; -} -/** MsgAcknowledgement receives incoming IBC acknowledgement */ - -export interface MsgAcknowledgementSDKType { - packet?: PacketSDKType; - acknowledgement: Uint8Array; - proof_acked: Uint8Array; - proof_height?: HeightSDKType; - 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): MsgAcknowledgementResponse { - const message = createBaseMsgAcknowledgementResponse(); - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/ibc/core/client/v1/client.ts b/packages/codegen/src/ibc/core/client/v1/client.ts deleted file mode 100644 index 309ef44f..00000000 --- a/packages/codegen/src/ibc/core/client/v1/client.ts +++ /dev/null @@ -1,597 +0,0 @@ -import { Any, AnySDKType } from "../../../../google/protobuf/any"; -import { Plan, PlanSDKType } from "../../../../cosmos/upgrade/v1beta1/upgrade"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, 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; -} -/** - * IdentifiedClientState defines a client state with an additional client - * identifier field. - */ - -export interface IdentifiedClientStateSDKType { - client_id: string; - client_state?: AnySDKType; -} -/** - * ConsensusStateWithHeight defines a consensus state with an additional height - * field. - */ - -export interface ConsensusStateWithHeight { - /** consensus state height */ - height?: Height; - /** consensus state */ - - consensusState?: Any; -} -/** - * ConsensusStateWithHeight defines a consensus state with an additional height - * field. - */ - -export interface ConsensusStateWithHeightSDKType { - height?: HeightSDKType; - consensus_state?: AnySDKType; -} -/** - * ClientConsensusStates defines all the stored consensus states for a given - * client. - */ - -export interface ClientConsensusStates { - /** client identifier */ - clientId: string; - /** consensus states and their heights associated with the client */ - - consensusStates: ConsensusStateWithHeight[]; -} -/** - * ClientConsensusStates defines all the stored consensus states for a given - * client. - */ - -export interface ClientConsensusStatesSDKType { - client_id: string; - consensus_states: ConsensusStateWithHeightSDKType[]; -} -/** - * ClientUpdateProposal is a governance proposal. If it passes, the substitute - * client's latest consensus state is copied over to the subject client. The proposal - * handler may fail if the subject and the substitute do not match in client and - * chain parameters (with exception to latest height, frozen height, and chain-id). - */ - -export interface ClientUpdateProposal { - /** 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 { - title: string; - description: string; - subject_client_id: string; - substitute_client_id: string; -} -/** - * UpgradeProposal is a gov Content type for initiating an IBC breaking - * upgrade. - */ - -export interface UpgradeProposal { - title: string; - description: string; - plan?: Plan; - /** - * An UpgradedClientState must be provided to perform an IBC breaking upgrade. - * This will make the chain commit to the correct upgraded (self) client state - * before the upgrade occurs, so that connecting chains can verify that the - * new upgraded client is valid by verifying a proof on the previous version - * of the chain. This will allow IBC connections to persist smoothly across - * planned chain upgrades - */ - - upgradedClientState?: Any; -} -/** - * UpgradeProposal is a gov Content type for initiating an IBC breaking - * upgrade. - */ - -export interface UpgradeProposalSDKType { - title: string; - description: string; - plan?: PlanSDKType; - upgraded_client_state?: AnySDKType; -} -/** - * Height is a monotonically increasing data type - * that can be compared against another Height for the purposes of updating and - * freezing clients - * - * Normally the RevisionHeight is incremented at each height while keeping - * RevisionNumber the same. However some consensus algorithms may choose to - * reset the height in certain conditions e.g. hard forks, state-machine - * breaking changes In these cases, the RevisionNumber is incremented so that - * height continues to be monitonically increasing even as the RevisionHeight - * gets reset - */ - -export interface Height { - /** the revision that the client is currently on */ - revisionNumber: Long; - /** the height within the given revision */ - - revisionHeight: Long; -} -/** - * Height is a monotonically increasing data type - * that can be compared against another Height for the purposes of updating and - * freezing clients - * - * Normally the RevisionHeight is incremented at each height while keeping - * RevisionNumber the same. However some consensus algorithms may choose to - * reset the height in certain conditions e.g. hard forks, state-machine - * breaking changes In these cases, the RevisionNumber is incremented so that - * height continues to be monitonically increasing even as the RevisionHeight - * gets reset - */ - -export interface HeightSDKType { - revision_number: Long; - revision_height: Long; -} -/** Params defines the set of IBC light client parameters. */ - -export interface Params { - /** allowed_clients defines the list of allowed client state types. */ - allowedClients: string[]; -} -/** Params defines the set of IBC light client parameters. */ - -export interface ParamsSDKType { - 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): Params { - const message = createBaseParams(); - message.allowedClients = object.allowedClients?.map(e => e) || []; - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/ibc/core/client/v1/genesis.ts b/packages/codegen/src/ibc/core/client/v1/genesis.ts deleted file mode 100644 index 1eba4075..00000000 --- a/packages/codegen/src/ibc/core/client/v1/genesis.ts +++ /dev/null @@ -1,276 +0,0 @@ -import { IdentifiedClientState, IdentifiedClientStateSDKType, ClientConsensusStates, ClientConsensusStatesSDKType, Params, ParamsSDKType } from "./client"; -import { Long, DeepPartial } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** GenesisState defines the ibc client submodule's genesis state. */ - -export interface GenesisState { - /** client states with their corresponding identifiers */ - clients: IdentifiedClientState[]; - /** consensus states from each client */ - - clientsConsensus: ClientConsensusStates[]; - /** metadata from each client */ - - clientsMetadata: IdentifiedGenesisMetadata[]; - params?: Params; - /** create localhost on initialization */ - - createLocalhost: boolean; - /** the sequence for the next generated client identifier */ - - nextClientSequence: Long; -} -/** GenesisState defines the ibc client submodule's genesis state. */ - -export interface GenesisStateSDKType { - clients: IdentifiedClientStateSDKType[]; - clients_consensus: ClientConsensusStatesSDKType[]; - clients_metadata: IdentifiedGenesisMetadataSDKType[]; - params?: ParamsSDKType; - create_localhost: boolean; - next_client_sequence: Long; -} -/** - * GenesisMetadata defines the genesis type for metadata that clients may return - * with ExportMetadata - */ - -export interface GenesisMetadata { - /** store key of metadata without clientID-prefix */ - key: Uint8Array; - /** metadata value */ - - value: Uint8Array; -} -/** - * GenesisMetadata defines the genesis type for metadata that clients may return - * with ExportMetadata - */ - -export interface GenesisMetadataSDKType { - key: Uint8Array; - value: Uint8Array; -} -/** - * IdentifiedGenesisMetadata has the client metadata with the corresponding - * client id. - */ - -export interface IdentifiedGenesisMetadata { - clientId: string; - clientMetadata: GenesisMetadata[]; -} -/** - * 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/ibc/core/client/v1/query.lcd.ts b/packages/codegen/src/ibc/core/client/v1/query.lcd.ts deleted file mode 100644 index 8a1e13e4..00000000 --- a/packages/codegen/src/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/packages/codegen/src/ibc/core/client/v1/query.rpc.Query.ts b/packages/codegen/src/ibc/core/client/v1/query.rpc.Query.ts deleted file mode 100644 index 58429d53..00000000 --- a/packages/codegen/src/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/packages/codegen/src/ibc/core/client/v1/query.ts b/packages/codegen/src/ibc/core/client/v1/query.ts deleted file mode 100644 index b667aed9..00000000 --- a/packages/codegen/src/ibc/core/client/v1/query.ts +++ /dev/null @@ -1,1095 +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 { DeepPartial, 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_id: string; -} -/** - * QueryClientStateResponse is the response type for the Query/ClientState RPC - * method. Besides the client state, it includes a proof and the height from - * which the proof was retrieved. - */ - -export interface QueryClientStateResponse { - /** client state associated with the request identifier */ - clientState?: Any; - /** merkle proof of existence */ - - proof: Uint8Array; - /** height at which the proof was retrieved */ - - proofHeight?: Height; -} -/** - * QueryClientStateResponse is the response type for the Query/ClientState RPC - * method. Besides the client state, it includes a proof and the height from - * which the proof was retrieved. - */ - -export interface QueryClientStateResponseSDKType { - client_state?: AnySDKType; - proof: Uint8Array; - proof_height?: HeightSDKType; -} -/** - * QueryClientStatesRequest is the request type for the Query/ClientStates RPC - * method - */ - -export interface QueryClientStatesRequest { - /** pagination request */ - pagination?: PageRequest; -} -/** - * QueryClientStatesRequest is the request type for the Query/ClientStates RPC - * method - */ - -export interface QueryClientStatesRequestSDKType { - pagination?: PageRequestSDKType; -} -/** - * QueryClientStatesResponse is the response type for the Query/ClientStates RPC - * method. - */ - -export interface QueryClientStatesResponse { - /** list of stored ClientStates of the chain. */ - clientStates: IdentifiedClientState[]; - /** pagination response */ - - pagination?: PageResponse; -} -/** - * QueryClientStatesResponse is the response type for the Query/ClientStates RPC - * method. - */ - -export interface QueryClientStatesResponseSDKType { - client_states: IdentifiedClientStateSDKType[]; - pagination?: PageResponseSDKType; -} -/** - * QueryConsensusStateRequest is the request type for the Query/ConsensusState - * RPC method. Besides the consensus state, it includes a proof and the height - * from which the proof was retrieved. - */ - -export interface QueryConsensusStateRequest { - /** client identifier */ - clientId: string; - /** consensus state revision number */ - - revisionNumber: Long; - /** consensus state revision height */ - - revisionHeight: Long; - /** - * latest_height overrrides the height field and queries the latest stored - * ConsensusState - */ - - latestHeight: boolean; -} -/** - * QueryConsensusStateRequest is the request type for the Query/ConsensusState - * RPC method. Besides the consensus state, it includes a proof and the height - * from which the proof was retrieved. - */ - -export interface QueryConsensusStateRequestSDKType { - client_id: string; - revision_number: Long; - revision_height: Long; - latest_height: boolean; -} -/** - * QueryConsensusStateResponse is the response type for the Query/ConsensusState - * RPC method - */ - -export interface QueryConsensusStateResponse { - /** consensus state associated with the client identifier at the given height */ - consensusState?: Any; - /** merkle proof of existence */ - - proof: Uint8Array; - /** height at which the proof was retrieved */ - - proofHeight?: Height; -} -/** - * QueryConsensusStateResponse is the response type for the Query/ConsensusState - * RPC method - */ - -export interface QueryConsensusStateResponseSDKType { - consensus_state?: AnySDKType; - proof: Uint8Array; - proof_height?: HeightSDKType; -} -/** - * QueryConsensusStatesRequest is the request type for the Query/ConsensusStates - * RPC method. - */ - -export interface QueryConsensusStatesRequest { - /** client identifier */ - clientId: string; - /** pagination request */ - - pagination?: PageRequest; -} -/** - * QueryConsensusStatesRequest is the request type for the Query/ConsensusStates - * RPC method. - */ - -export interface QueryConsensusStatesRequestSDKType { - client_id: string; - pagination?: PageRequestSDKType; -} -/** - * QueryConsensusStatesResponse is the response type for the - * Query/ConsensusStates RPC method - */ - -export interface QueryConsensusStatesResponse { - /** consensus states associated with the identifier */ - consensusStates: ConsensusStateWithHeight[]; - /** pagination response */ - - pagination?: PageResponse; -} -/** - * QueryConsensusStatesResponse is the response type for the - * Query/ConsensusStates RPC method - */ - -export interface QueryConsensusStatesResponseSDKType { - consensus_states: ConsensusStateWithHeightSDKType[]; - pagination?: PageResponseSDKType; -} -/** - * 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_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; -} -/** - * QueryClientParamsResponse is the response type for the Query/ClientParams RPC - * method. - */ - -export interface QueryClientParamsResponseSDKType { - params?: ParamsSDKType; -} -/** - * QueryUpgradedClientStateRequest is the request type for the - * Query/UpgradedClientState RPC method - */ - -export interface QueryUpgradedClientStateRequest {} -/** - * 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; -} -/** - * QueryUpgradedClientStateResponse is the response type for the - * Query/UpgradedClientState RPC method. - */ - -export interface QueryUpgradedClientStateResponseSDKType { - upgraded_client_state?: AnySDKType; -} -/** - * QueryUpgradedConsensusStateRequest is the request type for the - * Query/UpgradedConsensusState RPC method - */ - -export interface QueryUpgradedConsensusStateRequest {} -/** - * 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; -} -/** - * QueryUpgradedConsensusStateResponse is the response type for the - * Query/UpgradedConsensusState RPC method. - */ - -export interface QueryUpgradedConsensusStateResponseSDKType { - upgraded_consensus_state?: AnySDKType; -} - -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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/ibc/core/client/v1/tx.rpc.msg.ts b/packages/codegen/src/ibc/core/client/v1/tx.rpc.msg.ts deleted file mode 100644 index 3197da3f..00000000 --- a/packages/codegen/src/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/packages/codegen/src/ibc/core/client/v1/tx.ts b/packages/codegen/src/ibc/core/client/v1/tx.ts deleted file mode 100644 index 5eba0744..00000000 --- a/packages/codegen/src/ibc/core/client/v1/tx.ts +++ /dev/null @@ -1,571 +0,0 @@ -import { Any, AnySDKType } from "../../../../google/protobuf/any"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../../helpers"; -/** MsgCreateClient defines a message to create an IBC client */ - -export interface MsgCreateClient { - /** light client state */ - clientState?: Any; - /** - * consensus state associated with the client that corresponds to a given - * height. - */ - - consensusState?: Any; - /** signer address */ - - signer: string; -} -/** MsgCreateClient defines a message to create an IBC client */ - -export interface MsgCreateClientSDKType { - client_state?: AnySDKType; - consensus_state?: AnySDKType; - signer: string; -} -/** MsgCreateClientResponse defines the Msg/CreateClient response type. */ - -export interface MsgCreateClientResponse {} -/** 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; - /** signer address */ - - signer: string; -} -/** - * MsgUpdateClient defines an sdk.Msg to update a IBC client state using - * the given header. - */ - -export interface MsgUpdateClientSDKType { - client_id: string; - header?: AnySDKType; - 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; - /** - * upgraded consensus state, only contains enough information to serve as a - * basis of trust in update logic - */ - - consensusState?: Any; - /** proof that old chain committed to new client */ - - proofUpgradeClient: Uint8Array; - /** proof that old chain committed to new consensus state */ - - proofUpgradeConsensusState: Uint8Array; - /** signer address */ - - signer: string; -} -/** - * MsgUpgradeClient defines an sdk.Msg to upgrade an IBC client to a new client - * state - */ - -export interface MsgUpgradeClientSDKType { - client_id: string; - client_state?: AnySDKType; - consensus_state?: AnySDKType; - proof_upgrade_client: Uint8Array; - proof_upgrade_consensus_state: Uint8Array; - signer: string; -} -/** MsgUpgradeClientResponse defines the Msg/UpgradeClient response type. */ - -export interface MsgUpgradeClientResponse {} -/** 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; - /** signer address */ - - signer: string; -} -/** - * MsgSubmitMisbehaviour defines an sdk.Msg type that submits Evidence for - * light client misbehaviour. - */ - -export interface MsgSubmitMisbehaviourSDKType { - client_id: string; - misbehaviour?: AnySDKType; - 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): MsgSubmitMisbehaviourResponse { - const message = createBaseMsgSubmitMisbehaviourResponse(); - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/ibc/core/commitment/v1/commitment.ts b/packages/codegen/src/ibc/core/commitment/v1/commitment.ts deleted file mode 100644 index 72d8725d..00000000 --- a/packages/codegen/src/ibc/core/commitment/v1/commitment.ts +++ /dev/null @@ -1,257 +0,0 @@ -import { CommitmentProof, CommitmentProofSDKType } from "../../../../confio/proofs"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../../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 - * 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): MerkleProof { - const message = createBaseMerkleProof(); - message.proofs = object.proofs?.map(e => CommitmentProof.fromPartial(e)) || []; - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/ibc/core/connection/v1/connection.ts b/packages/codegen/src/ibc/core/connection/v1/connection.ts deleted file mode 100644 index 1c834d59..00000000 --- a/packages/codegen/src/ibc/core/connection/v1/connection.ts +++ /dev/null @@ -1,685 +0,0 @@ -import { MerklePrefix, MerklePrefixSDKType } from "../../commitment/v1/commitment"; -import { Long, DeepPartial } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * 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 const StateSDKType = State; -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; - /** - * 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_id: string; - versions: VersionSDKType[]; - state: State; - counterparty?: CounterpartySDKType; - 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; - /** delay period associated with this connection. */ - - delayPeriod: Long; -} -/** - * IdentifiedConnection defines a connection with additional connection - * identifier field. - */ - -export interface IdentifiedConnectionSDKType { - id: string; - client_id: string; - versions: VersionSDKType[]; - state: State; - counterparty?: CounterpartySDKType; - 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; -} -/** Counterparty defines the counterparty chain associated with a connection end. */ - -export interface CounterpartySDKType { - client_id: string; - connection_id: string; - prefix?: MerklePrefixSDKType; -} -/** 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 { - 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_id: string; - 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 { - identifier: string; - 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 { - 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/ibc/core/connection/v1/genesis.ts b/packages/codegen/src/ibc/core/connection/v1/genesis.ts deleted file mode 100644 index eb9701e6..00000000 --- a/packages/codegen/src/ibc/core/connection/v1/genesis.ts +++ /dev/null @@ -1,96 +0,0 @@ -import { IdentifiedConnection, IdentifiedConnectionSDKType, ConnectionPaths, ConnectionPathsSDKType, Params, ParamsSDKType } from "./connection"; -import { Long, DeepPartial } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** 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; -} -/** GenesisState defines the ibc connection submodule's genesis state. */ - -export interface GenesisStateSDKType { - connections: IdentifiedConnectionSDKType[]; - client_connection_paths: ConnectionPathsSDKType[]; - next_connection_sequence: Long; - params?: ParamsSDKType; -} - -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: DeepPartial): 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/packages/codegen/src/ibc/core/connection/v1/query.lcd.ts b/packages/codegen/src/ibc/core/connection/v1/query.lcd.ts deleted file mode 100644 index 3f979295..00000000 --- a/packages/codegen/src/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/packages/codegen/src/ibc/core/connection/v1/query.rpc.Query.ts b/packages/codegen/src/ibc/core/connection/v1/query.rpc.Query.ts deleted file mode 100644 index e3af26e1..00000000 --- a/packages/codegen/src/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/packages/codegen/src/ibc/core/connection/v1/query.ts b/packages/codegen/src/ibc/core/connection/v1/query.ts deleted file mode 100644 index 857da006..00000000 --- a/packages/codegen/src/ibc/core/connection/v1/query.ts +++ /dev/null @@ -1,805 +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 { DeepPartial, 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_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; - /** merkle proof of existence */ - - proof: Uint8Array; - /** height at which the proof was retrieved */ - - proofHeight?: Height; -} -/** - * 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?: ConnectionEndSDKType; - proof: Uint8Array; - proof_height?: HeightSDKType; -} -/** - * QueryConnectionsRequest is the request type for the Query/Connections RPC - * method - */ - -export interface QueryConnectionsRequest { - pagination?: PageRequest; -} -/** - * QueryConnectionsRequest is the request type for the Query/Connections RPC - * method - */ - -export interface QueryConnectionsRequestSDKType { - pagination?: PageRequestSDKType; -} -/** - * 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; - /** query block height */ - - height?: Height; -} -/** - * QueryConnectionsResponse is the response type for the Query/Connections RPC - * method. - */ - -export interface QueryConnectionsResponseSDKType { - connections: IdentifiedConnectionSDKType[]; - pagination?: PageResponseSDKType; - height?: HeightSDKType; -} -/** - * 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_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; -} -/** - * QueryClientConnectionsResponse is the response type for the - * Query/ClientConnections RPC method - */ - -export interface QueryClientConnectionsResponseSDKType { - connection_paths: string[]; - proof: Uint8Array; - proof_height?: HeightSDKType; -} -/** - * 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_id: string; -} -/** - * QueryConnectionClientStateResponse is the response type for the - * Query/ConnectionClientState RPC method - */ - -export interface QueryConnectionClientStateResponse { - /** client state associated with the channel */ - identifiedClientState?: IdentifiedClientState; - /** merkle proof of existence */ - - proof: Uint8Array; - /** height at which the proof was retrieved */ - - proofHeight?: Height; -} -/** - * QueryConnectionClientStateResponse is the response type for the - * Query/ConnectionClientState RPC method - */ - -export interface QueryConnectionClientStateResponseSDKType { - identified_client_state?: IdentifiedClientStateSDKType; - proof: Uint8Array; - proof_height?: HeightSDKType; -} -/** - * 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_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; - /** client ID associated with the consensus state */ - - clientId: string; - /** merkle proof of existence */ - - proof: Uint8Array; - /** height at which the proof was retrieved */ - - proofHeight?: Height; -} -/** - * QueryConnectionConsensusStateResponse is the response type for the - * Query/ConnectionConsensusState RPC method - */ - -export interface QueryConnectionConsensusStateResponseSDKType { - consensus_state?: AnySDKType; - client_id: string; - proof: Uint8Array; - proof_height?: HeightSDKType; -} - -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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/ibc/core/connection/v1/tx.rpc.msg.ts b/packages/codegen/src/ibc/core/connection/v1/tx.rpc.msg.ts deleted file mode 100644 index bfda3f8c..00000000 --- a/packages/codegen/src/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/packages/codegen/src/ibc/core/connection/v1/tx.ts b/packages/codegen/src/ibc/core/connection/v1/tx.ts deleted file mode 100644 index de5aea04..00000000 --- a/packages/codegen/src/ibc/core/connection/v1/tx.ts +++ /dev/null @@ -1,770 +0,0 @@ -import { Counterparty, CounterpartySDKType, Version, VersionSDKType } from "./connection"; -import { Any, AnySDKType } from "../../../../google/protobuf/any"; -import { Height, HeightSDKType } from "../../client/v1/client"; -import { Long, DeepPartial } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * 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; - version?: Version; - 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; - version?: VersionSDKType; - 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; - counterparty?: Counterparty; - delayPeriod: Long; - counterpartyVersions: Version[]; - proofHeight?: Height; - /** - * 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; - 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; - previous_connection_id: string; - client_state?: AnySDKType; - counterparty?: CounterpartySDKType; - delay_period: Long; - counterparty_versions: VersionSDKType[]; - proof_height?: HeightSDKType; - proof_init: Uint8Array; - proof_client: Uint8Array; - proof_consensus: Uint8Array; - consensus_height?: HeightSDKType; - 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; - clientState?: Any; - proofHeight?: Height; - /** - * 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; - 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; - client_state?: AnySDKType; - proof_height?: HeightSDKType; - proof_try: Uint8Array; - proof_client: Uint8Array; - proof_consensus: Uint8Array; - consensus_height?: HeightSDKType; - 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; - 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_ack: Uint8Array; - proof_height?: HeightSDKType; - 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): MsgConnectionOpenConfirmResponse { - const message = createBaseMsgConnectionOpenConfirmResponse(); - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/ibc/core/port/v1/query.rpc.Query.ts b/packages/codegen/src/ibc/core/port/v1/query.rpc.Query.ts deleted file mode 100644 index df3c124c..00000000 --- a/packages/codegen/src/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/packages/codegen/src/ibc/core/port/v1/query.ts b/packages/codegen/src/ibc/core/port/v1/query.ts deleted file mode 100644 index 3f3a0e4a..00000000 --- a/packages/codegen/src/ibc/core/port/v1/query.ts +++ /dev/null @@ -1,185 +0,0 @@ -import { Order, Counterparty, CounterpartySDKType } from "../../channel/v1/channel"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../../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; - /** proposed version */ - - proposedVersion: string; -} -/** QueryAppVersionRequest is the request type for the Query/AppVersion RPC method */ - -export interface QueryAppVersionRequestSDKType { - port_id: string; - connection_id: string; - ordering: Order; - counterparty?: CounterpartySDKType; - 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: string; - 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: DeepPartial): 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: DeepPartial): QueryAppVersionResponse { - const message = createBaseQueryAppVersionResponse(); - message.portId = object.portId ?? ""; - message.version = object.version ?? ""; - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/ibc/core/types/v1/genesis.ts b/packages/codegen/src/ibc/core/types/v1/genesis.ts deleted file mode 100644 index 8e01c49f..00000000 --- a/packages/codegen/src/ibc/core/types/v1/genesis.ts +++ /dev/null @@ -1,92 +0,0 @@ -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 { DeepPartial } from "../../../../helpers"; -/** GenesisState defines the ibc module's genesis state. */ - -export interface GenesisState { - /** ICS002 - Clients genesis state */ - clientGenesis?: GenesisState1; - /** ICS003 - Connections genesis state */ - - connectionGenesis?: GenesisState2; - /** ICS004 - Channel genesis state */ - - channelGenesis?: GenesisState3; -} -/** GenesisState defines the ibc module's genesis state. */ - -export interface GenesisStateSDKType { - client_genesis?: GenesisState1SDKType; - connection_genesis?: GenesisState2SDKType; - channel_genesis?: GenesisState3SDKType; -} - -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: DeepPartial): 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/packages/codegen/src/ibc/lcd.ts b/packages/codegen/src/ibc/lcd.ts deleted file mode 100644 index 100c9f9c..00000000 --- a/packages/codegen/src/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/packages/codegen/src/ibc/lightclients/localhost/v1/localhost.ts b/packages/codegen/src/ibc/lightclients/localhost/v1/localhost.ts deleted file mode 100644 index 65e9e11d..00000000 --- a/packages/codegen/src/ibc/lightclients/localhost/v1/localhost.ts +++ /dev/null @@ -1,79 +0,0 @@ -import { Height, HeightSDKType } from "../../../core/client/v1/client"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../../../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; -} -/** - * ClientState defines a loopback (localhost) client. It requires (read-only) - * access to keys outside the client prefix. - */ - -export interface ClientStateSDKType { - chain_id: string; - height?: HeightSDKType; -} - -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: DeepPartial): 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/packages/codegen/src/ibc/lightclients/solomachine/v1/solomachine.ts b/packages/codegen/src/ibc/lightclients/solomachine/v1/solomachine.ts deleted file mode 100644 index 1ba467ce..00000000 --- a/packages/codegen/src/ibc/lightclients/solomachine/v1/solomachine.ts +++ /dev/null @@ -1,1441 +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 { Long, DeepPartial } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * 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 const DataTypeSDKType = DataType; -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; - /** - * 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 { - sequence: Long; - frozen_sequence: Long; - consensus_state?: ConsensusStateSDKType; - 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; - /** - * 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?: AnySDKType; - 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; - newDiversifier: string; -} -/** Header defines a solo machine consensus header */ - -export interface HeaderSDKType { - sequence: Long; - timestamp: Long; - signature: Uint8Array; - new_public_key?: AnySDKType; - 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; - signatureTwo?: SignatureAndData; -} -/** - * 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; - signature_two?: SignatureAndDataSDKType; -} -/** - * 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: DataType; - 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; - data_type: DataType; - data: Uint8Array; -} -/** HeaderData returns the SignBytes data for update verification. */ - -export interface HeaderData { - /** header public key */ - newPubKey?: Any; - /** header diversifier */ - - newDiversifier: string; -} -/** HeaderData returns the SignBytes data for update verification. */ - -export interface HeaderDataSDKType { - new_pub_key?: AnySDKType; - new_diversifier: string; -} -/** ClientStateData returns the SignBytes data for client state verification. */ - -export interface ClientStateData { - path: Uint8Array; - clientState?: Any; -} -/** ClientStateData returns the SignBytes data for client state verification. */ - -export interface ClientStateDataSDKType { - path: Uint8Array; - client_state?: AnySDKType; -} -/** - * ConsensusStateData returns the SignBytes data for consensus state - * verification. - */ - -export interface ConsensusStateData { - path: Uint8Array; - consensusState?: Any; -} -/** - * ConsensusStateData returns the SignBytes data for consensus state - * verification. - */ - -export interface ConsensusStateDataSDKType { - path: Uint8Array; - consensus_state?: AnySDKType; -} -/** - * ConnectionStateData returns the SignBytes data for connection state - * verification. - */ - -export interface ConnectionStateData { - path: Uint8Array; - connection?: ConnectionEnd; -} -/** - * ConnectionStateData returns the SignBytes data for connection state - * verification. - */ - -export interface ConnectionStateDataSDKType { - path: Uint8Array; - connection?: ConnectionEndSDKType; -} -/** - * ChannelStateData returns the SignBytes data for channel state - * verification. - */ - -export interface ChannelStateData { - path: Uint8Array; - channel?: Channel; -} -/** - * ChannelStateData returns the SignBytes data for channel state - * verification. - */ - -export interface ChannelStateDataSDKType { - path: Uint8Array; - channel?: ChannelSDKType; -} -/** - * 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: DeepPartial): 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: DeepPartial): 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: DeepPartial
): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/ibc/lightclients/solomachine/v2/solomachine.ts b/packages/codegen/src/ibc/lightclients/solomachine/v2/solomachine.ts deleted file mode 100644 index 81fa2925..00000000 --- a/packages/codegen/src/ibc/lightclients/solomachine/v2/solomachine.ts +++ /dev/null @@ -1,1441 +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 { Long, DeepPartial } from "../../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * 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 const DataTypeSDKType = DataType; -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; - /** - * 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 { - sequence: Long; - is_frozen: boolean; - consensus_state?: ConsensusStateSDKType; - 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; - /** - * 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?: AnySDKType; - 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; - newDiversifier: string; -} -/** Header defines a solo machine consensus header */ - -export interface HeaderSDKType { - sequence: Long; - timestamp: Long; - signature: Uint8Array; - new_public_key?: AnySDKType; - 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; - signatureTwo?: SignatureAndData; -} -/** - * 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; - signature_two?: SignatureAndDataSDKType; -} -/** - * 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: DataType; - 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; - data_type: DataType; - data: Uint8Array; -} -/** HeaderData returns the SignBytes data for update verification. */ - -export interface HeaderData { - /** header public key */ - newPubKey?: Any; - /** header diversifier */ - - newDiversifier: string; -} -/** HeaderData returns the SignBytes data for update verification. */ - -export interface HeaderDataSDKType { - new_pub_key?: AnySDKType; - new_diversifier: string; -} -/** ClientStateData returns the SignBytes data for client state verification. */ - -export interface ClientStateData { - path: Uint8Array; - clientState?: Any; -} -/** ClientStateData returns the SignBytes data for client state verification. */ - -export interface ClientStateDataSDKType { - path: Uint8Array; - client_state?: AnySDKType; -} -/** - * ConsensusStateData returns the SignBytes data for consensus state - * verification. - */ - -export interface ConsensusStateData { - path: Uint8Array; - consensusState?: Any; -} -/** - * ConsensusStateData returns the SignBytes data for consensus state - * verification. - */ - -export interface ConsensusStateDataSDKType { - path: Uint8Array; - consensus_state?: AnySDKType; -} -/** - * ConnectionStateData returns the SignBytes data for connection state - * verification. - */ - -export interface ConnectionStateData { - path: Uint8Array; - connection?: ConnectionEnd; -} -/** - * ConnectionStateData returns the SignBytes data for connection state - * verification. - */ - -export interface ConnectionStateDataSDKType { - path: Uint8Array; - connection?: ConnectionEndSDKType; -} -/** - * ChannelStateData returns the SignBytes data for channel state - * verification. - */ - -export interface ChannelStateData { - path: Uint8Array; - channel?: Channel; -} -/** - * ChannelStateData returns the SignBytes data for channel state - * verification. - */ - -export interface ChannelStateDataSDKType { - path: Uint8Array; - channel?: ChannelSDKType; -} -/** - * 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: DeepPartial): 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: DeepPartial): 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: DeepPartial
): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/ibc/lightclients/tendermint/v1/tendermint.ts b/packages/codegen/src/ibc/lightclients/tendermint/v1/tendermint.ts deleted file mode 100644 index 28e6c0f7..00000000 --- a/packages/codegen/src/ibc/lightclients/tendermint/v1/tendermint.ts +++ /dev/null @@ -1,585 +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 { DeepPartial, 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; - /** - * duration of the period since the LastestTimestamp during which the - * submitted headers are valid for upgrade - */ - - trustingPeriod?: Duration; - /** duration of the staking unbonding period */ - - unbondingPeriod?: Duration; - /** defines how much new (untrusted) header's Time can drift into the future. */ - - maxClockDrift?: Duration; - /** Block height when the client was frozen due to a misbehaviour */ - - frozenHeight?: Height; - /** Latest height the client was updated to */ - - latestHeight?: Height; - /** 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; - trusting_period?: DurationSDKType; - unbonding_period?: DurationSDKType; - max_clock_drift?: DurationSDKType; - frozen_height?: HeightSDKType; - latest_height?: HeightSDKType; - proof_specs: ProofSpecSDKType[]; - upgrade_path: string[]; - allow_update_after_expiry: boolean; - 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; - /** commitment root (i.e app hash) */ - - root?: MerkleRoot; - nextValidatorsHash: Uint8Array; -} -/** ConsensusState defines the consensus state from Tendermint. */ - -export interface ConsensusStateSDKType { - timestamp?: Date; - root?: MerkleRootSDKType; - 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; - header2?: Header; -} -/** - * 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; - header_2?: HeaderSDKType; -} -/** - * 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; - validatorSet?: ValidatorSet; - trustedHeight?: Height; - trustedValidators?: ValidatorSet; -} -/** - * 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; - validator_set?: ValidatorSetSDKType; - trusted_height?: HeightSDKType; - trusted_validators?: ValidatorSetSDKType; -} -/** - * 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial
): 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: DeepPartial): 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/packages/codegen/src/ibc/rpc.query.ts b/packages/codegen/src/ibc/rpc.query.ts deleted file mode 100644 index 0d0dbcd9..00000000 --- a/packages/codegen/src/ibc/rpc.query.ts +++ /dev/null @@ -1,89 +0,0 @@ -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/packages/codegen/src/ibc/rpc.tx.ts b/packages/codegen/src/ibc/rpc.tx.ts deleted file mode 100644 index 62cb610c..00000000 --- a/packages/codegen/src/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/packages/codegen/src/ics23/bundle.ts b/packages/codegen/src/ics23/bundle.ts deleted file mode 100644 index 0a8f5bd2..00000000 --- a/packages/codegen/src/ics23/bundle.ts +++ /dev/null @@ -1,3 +0,0 @@ -import * as _1 from "../confio/proofs"; -export const ics23 = { ..._1 -}; \ No newline at end of file diff --git a/packages/codegen/src/index.ts b/packages/codegen/src/index.ts deleted file mode 100644 index 30d7b52e..00000000 --- a/packages/codegen/src/index.ts +++ /dev/null @@ -1,15 +0,0 @@ -/** - * This file and any referenced files were automatically generated by @osmonauts/telescope@0.88.2 - * DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain - * and run the transpile command or yarn proto command to regenerate this bundle. - */ - -export * from "./amino/bundle"; -export * from "./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"; \ No newline at end of file diff --git a/packages/codegen/src/tendermint/abci/types.ts b/packages/codegen/src/tendermint/abci/types.ts deleted file mode 100644 index 2bc18c1a..00000000 --- a/packages/codegen/src/tendermint/abci/types.ts +++ /dev/null @@ -1,3846 +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 { DeepPartial, Long, toTimestamp, fromTimestamp } from "../../helpers"; -export enum CheckTxType { - NEW = 0, - RECHECK = 1, - UNRECOGNIZED = -1, -} -export const CheckTxTypeSDKType = CheckTxType; -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 const ResponseOfferSnapshot_ResultSDKType = ResponseOfferSnapshot_Result; -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 const ResponseApplySnapshotChunk_ResultSDKType = ResponseApplySnapshotChunk_Result; -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 const EvidenceTypeSDKType = EvidenceType; -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; - flush?: RequestFlush; - info?: RequestInfo; - setOption?: RequestSetOption; - initChain?: RequestInitChain; - query?: RequestQuery; - beginBlock?: RequestBeginBlock; - checkTx?: RequestCheckTx; - deliverTx?: RequestDeliverTx; - endBlock?: RequestEndBlock; - commit?: RequestCommit; - listSnapshots?: RequestListSnapshots; - offerSnapshot?: RequestOfferSnapshot; - loadSnapshotChunk?: RequestLoadSnapshotChunk; - applySnapshotChunk?: RequestApplySnapshotChunk; -} -export interface RequestSDKType { - echo?: RequestEchoSDKType; - flush?: RequestFlushSDKType; - info?: RequestInfoSDKType; - set_option?: RequestSetOptionSDKType; - init_chain?: RequestInitChainSDKType; - query?: RequestQuerySDKType; - begin_block?: RequestBeginBlockSDKType; - check_tx?: RequestCheckTxSDKType; - deliver_tx?: RequestDeliverTxSDKType; - end_block?: RequestEndBlockSDKType; - commit?: RequestCommitSDKType; - list_snapshots?: RequestListSnapshotsSDKType; - offer_snapshot?: RequestOfferSnapshotSDKType; - load_snapshot_chunk?: RequestLoadSnapshotChunkSDKType; - apply_snapshot_chunk?: RequestApplySnapshotChunkSDKType; -} -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; - chainId: string; - consensusParams?: ConsensusParams; - validators: ValidatorUpdate[]; - appStateBytes: Uint8Array; - initialHeight: Long; -} -export interface RequestInitChainSDKType { - time?: Date; - chain_id: string; - consensus_params?: ConsensusParamsSDKType; - validators: ValidatorUpdateSDKType[]; - app_state_bytes: Uint8Array; - initial_height: Long; -} -export interface RequestQuery { - data: Uint8Array; - path: string; - height: Long; - prove: boolean; -} -export interface RequestQuerySDKType { - data: Uint8Array; - path: string; - height: Long; - prove: boolean; -} -export interface RequestBeginBlock { - hash: Uint8Array; - header?: Header; - lastCommitInfo?: LastCommitInfo; - byzantineValidators: Evidence[]; -} -export interface RequestBeginBlockSDKType { - hash: Uint8Array; - header?: HeaderSDKType; - last_commit_info?: LastCommitInfoSDKType; - byzantine_validators: EvidenceSDKType[]; -} -export interface RequestCheckTx { - tx: Uint8Array; - type: CheckTxType; -} -export interface RequestCheckTxSDKType { - tx: Uint8Array; - type: CheckTxType; -} -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; - /** light client-verified app hash for snapshot height */ - - appHash: Uint8Array; -} -/** offers a snapshot to the application */ - -export interface RequestOfferSnapshotSDKType { - snapshot?: SnapshotSDKType; - app_hash: Uint8Array; -} -/** loads a snapshot chunk */ - -export interface RequestLoadSnapshotChunk { - height: Long; - format: number; - chunk: number; -} -/** 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; - echo?: ResponseEcho; - flush?: ResponseFlush; - info?: ResponseInfo; - setOption?: ResponseSetOption; - initChain?: ResponseInitChain; - query?: ResponseQuery; - beginBlock?: ResponseBeginBlock; - checkTx?: ResponseCheckTx; - deliverTx?: ResponseDeliverTx; - endBlock?: ResponseEndBlock; - commit?: ResponseCommit; - listSnapshots?: ResponseListSnapshots; - offerSnapshot?: ResponseOfferSnapshot; - loadSnapshotChunk?: ResponseLoadSnapshotChunk; - applySnapshotChunk?: ResponseApplySnapshotChunk; -} -export interface ResponseSDKType { - exception?: ResponseExceptionSDKType; - echo?: ResponseEchoSDKType; - flush?: ResponseFlushSDKType; - info?: ResponseInfoSDKType; - set_option?: ResponseSetOptionSDKType; - init_chain?: ResponseInitChainSDKType; - query?: ResponseQuerySDKType; - begin_block?: ResponseBeginBlockSDKType; - check_tx?: ResponseCheckTxSDKType; - deliver_tx?: ResponseDeliverTxSDKType; - end_block?: ResponseEndBlockSDKType; - commit?: ResponseCommitSDKType; - list_snapshots?: ResponseListSnapshotsSDKType; - offer_snapshot?: ResponseOfferSnapshotSDKType; - load_snapshot_chunk?: ResponseLoadSnapshotChunkSDKType; - apply_snapshot_chunk?: ResponseApplySnapshotChunkSDKType; -} -/** 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; - log: string; - info: string; -} -export interface ResponseInitChain { - consensusParams?: ConsensusParams; - validators: ValidatorUpdate[]; - appHash: Uint8Array; -} -export interface ResponseInitChainSDKType { - consensus_params?: ConsensusParamsSDKType; - validators: ValidatorUpdateSDKType[]; - app_hash: Uint8Array; -} -export interface ResponseQuery { - code: number; - /** bytes data = 2; // use "value" instead. */ - - log: string; - /** nondeterministic */ - - info: string; - index: Long; - key: Uint8Array; - value: Uint8Array; - proofOps?: ProofOps; - height: Long; - codespace: string; -} -export interface ResponseQuerySDKType { - code: number; - log: string; - info: string; - index: Long; - key: Uint8Array; - value: Uint8Array; - proof_ops?: ProofOpsSDKType; - height: Long; - codespace: string; -} -export interface ResponseBeginBlock { - events: Event[]; -} -export interface 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; - log: string; - 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; - log: string; - info: string; - gas_wanted: Long; - gas_used: Long; - events: EventSDKType[]; - codespace: string; -} -export interface ResponseEndBlock { - validatorUpdates: ValidatorUpdate[]; - consensusParamUpdates?: ConsensusParams; - events: Event[]; -} -export interface ResponseEndBlockSDKType { - validator_updates: ValidatorUpdateSDKType[]; - consensus_param_updates?: ConsensusParamsSDKType; - events: EventSDKType[]; -} -export interface ResponseCommit { - /** reserve 1 */ - data: Uint8Array; - retainHeight: Long; -} -export interface ResponseCommitSDKType { - 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_Result; -} -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_Result; - refetch_chunks: number[]; - reject_senders: string[]; -} -/** - * ConsensusParams contains all consensus-relevant parameters - * that can be adjusted by the abci app - */ - -export interface ConsensusParams { - block?: BlockParams; - evidence?: EvidenceParams; - validator?: ValidatorParams; - version?: VersionParams; -} -/** - * ConsensusParams contains all consensus-relevant parameters - * that can be adjusted by the abci app - */ - -export interface ConsensusParamsSDKType { - block?: BlockParamsSDKType; - evidence?: EvidenceParamsSDKType; - validator?: ValidatorParamsSDKType; - version?: VersionParamsSDKType; -} -/** 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 { - max_bytes: Long; - 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; - 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; -} -/** - * TxResult contains results of executing the transaction. - * - * One usage is indexing transaction results. - */ - -export interface TxResultSDKType { - height: Long; - index: number; - tx: Uint8Array; - result?: ResponseDeliverTxSDKType; -} -/** Validator */ - -export interface Validator { - /** - * The first 20 bytes of SHA256(public key) - * PubKey pub_key = 2 [(gogoproto.nullable)=false]; - */ - address: Uint8Array; - /** The voting power */ - - power: Long; -} -/** Validator */ - -export interface ValidatorSDKType { - address: Uint8Array; - power: Long; -} -/** ValidatorUpdate */ - -export interface ValidatorUpdate { - pubKey?: PublicKey; - power: Long; -} -/** ValidatorUpdate */ - -export interface ValidatorUpdateSDKType { - pub_key?: PublicKeySDKType; - power: Long; -} -/** VoteInfo */ - -export interface VoteInfo { - validator?: Validator; - signedLastBlock: boolean; -} -/** VoteInfo */ - -export interface VoteInfoSDKType { - validator?: ValidatorSDKType; - signed_last_block: boolean; -} -export interface Evidence { - type: EvidenceType; - /** The offending validator */ - - validator?: Validator; - /** The height when the offense occurred */ - - height: Long; - /** The corresponding time where the offense occurred */ - - time?: Date; - /** - * 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: EvidenceType; - validator?: ValidatorSDKType; - height: Long; - time?: Date; - 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 { - height: Long; - format: number; - chunks: number; - hash: Uint8Array; - 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: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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(_: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/tendermint/bundle.ts b/packages/codegen/src/tendermint/bundle.ts deleted file mode 100644 index f85a7599..00000000 --- a/packages/codegen/src/tendermint/bundle.ts +++ /dev/null @@ -1,32 +0,0 @@ -import * as _134 from "./abci/types"; -import * as _135 from "./crypto/keys"; -import * as _136 from "./crypto/proof"; -import * as _137 from "./libs/bits/types"; -import * as _138 from "./p2p/types"; -import * as _139 from "./types/block"; -import * as _140 from "./types/evidence"; -import * as _141 from "./types/params"; -import * as _142 from "./types/types"; -import * as _143 from "./types/validator"; -import * as _144 from "./version/types"; -export namespace tendermint { - export const abci = { ..._134 - }; - export const crypto = { ..._135, - ..._136 - }; - export namespace libs { - export const bits = { ..._137 - }; - } - export const p2p = { ..._138 - }; - export const types = { ..._139, - ..._140, - ..._141, - ..._142, - ..._143 - }; - export const version = { ..._144 - }; -} \ No newline at end of file diff --git a/packages/codegen/src/tendermint/crypto/keys.ts b/packages/codegen/src/tendermint/crypto/keys.ts deleted file mode 100644 index 21481d01..00000000 --- a/packages/codegen/src/tendermint/crypto/keys.ts +++ /dev/null @@ -1,69 +0,0 @@ -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../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 { - 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: DeepPartial): 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/packages/codegen/src/tendermint/crypto/proof.ts b/packages/codegen/src/tendermint/crypto/proof.ts deleted file mode 100644 index 6502ae72..00000000 --- a/packages/codegen/src/tendermint/crypto/proof.ts +++ /dev/null @@ -1,372 +0,0 @@ -import { Long, DeepPartial } from "../../helpers"; -import * as _m0 from "protobufjs/minimal"; -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; -} -export interface ValueOpSDKType { - key: Uint8Array; - proof?: ProofSDKType; -} -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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): ProofOps { - const message = createBaseProofOps(); - message.ops = object.ops?.map(e => ProofOp.fromPartial(e)) || []; - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/tendermint/libs/bits/types.ts b/packages/codegen/src/tendermint/libs/bits/types.ts deleted file mode 100644 index 25071f01..00000000 --- a/packages/codegen/src/tendermint/libs/bits/types.ts +++ /dev/null @@ -1,77 +0,0 @@ -import { Long, DeepPartial } from "../../../helpers"; -import * as _m0 from "protobufjs/minimal"; -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: DeepPartial): 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/packages/codegen/src/tendermint/p2p/types.ts b/packages/codegen/src/tendermint/p2p/types.ts deleted file mode 100644 index 64ce38af..00000000 --- a/packages/codegen/src/tendermint/p2p/types.ts +++ /dev/null @@ -1,438 +0,0 @@ -import { Timestamp } from "../../google/protobuf/timestamp"; -import { Long, DeepPartial, toTimestamp, fromTimestamp } from "../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export interface ProtocolVersion { - p2p: Long; - block: Long; - app: Long; -} -export interface ProtocolVersionSDKType { - p2p: Long; - block: Long; - app: Long; -} -export interface NodeInfo { - protocolVersion?: ProtocolVersion; - nodeId: string; - listenAddr: string; - network: string; - version: string; - channels: Uint8Array; - moniker: string; - other?: NodeInfoOther; -} -export interface NodeInfoSDKType { - protocol_version?: ProtocolVersionSDKType; - node_id: string; - listen_addr: string; - network: string; - version: string; - channels: Uint8Array; - moniker: string; - other?: NodeInfoOtherSDKType; -} -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; -} -export interface PeerInfoSDKType { - id: string; - address_info: PeerAddressInfoSDKType[]; - last_connected?: Date; -} -export interface PeerAddressInfo { - address: string; - lastDialSuccess?: Date; - lastDialFailure?: Date; - dialFailures: number; -} -export interface PeerAddressInfoSDKType { - address: string; - last_dial_success?: Date; - last_dial_failure?: Date; - 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/tendermint/types/block.ts b/packages/codegen/src/tendermint/types/block.ts deleted file mode 100644 index 1e384d23..00000000 --- a/packages/codegen/src/tendermint/types/block.ts +++ /dev/null @@ -1,91 +0,0 @@ -import { Header, HeaderSDKType, Data, DataSDKType, Commit, CommitSDKType } from "./types"; -import { EvidenceList, EvidenceListSDKType } from "./evidence"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial } from "../../helpers"; -export interface Block { - header?: Header; - data?: Data; - evidence?: EvidenceList; - lastCommit?: Commit; -} -export interface BlockSDKType { - header?: HeaderSDKType; - data?: DataSDKType; - evidence?: EvidenceListSDKType; - last_commit?: CommitSDKType; -} - -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: DeepPartial): 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/packages/codegen/src/tendermint/types/evidence.ts b/packages/codegen/src/tendermint/types/evidence.ts deleted file mode 100644 index 5854403c..00000000 --- a/packages/codegen/src/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 { DeepPartial, Long, toTimestamp, fromTimestamp } from "../../helpers"; -export interface Evidence { - duplicateVoteEvidence?: DuplicateVoteEvidence; - lightClientAttackEvidence?: LightClientAttackEvidence; -} -export interface EvidenceSDKType { - duplicate_vote_evidence?: DuplicateVoteEvidenceSDKType; - light_client_attack_evidence?: LightClientAttackEvidenceSDKType; -} -/** DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. */ - -export interface DuplicateVoteEvidence { - voteA?: Vote; - voteB?: Vote; - totalVotingPower: Long; - validatorPower: Long; - timestamp?: Date; -} -/** DuplicateVoteEvidence contains evidence of a validator signed two conflicting votes. */ - -export interface DuplicateVoteEvidenceSDKType { - vote_a?: VoteSDKType; - vote_b?: VoteSDKType; - total_voting_power: Long; - validator_power: Long; - timestamp?: Date; -} -/** LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. */ - -export interface LightClientAttackEvidence { - conflictingBlock?: LightBlock; - commonHeight: Long; - byzantineValidators: Validator[]; - totalVotingPower: Long; - timestamp?: Date; -} -/** LightClientAttackEvidence contains evidence of a set of validators attempting to mislead a light client. */ - -export interface LightClientAttackEvidenceSDKType { - conflicting_block?: LightBlockSDKType; - common_height: Long; - byzantine_validators: ValidatorSDKType[]; - total_voting_power: Long; - timestamp?: Date; -} -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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): EvidenceList { - const message = createBaseEvidenceList(); - message.evidence = object.evidence?.map(e => Evidence.fromPartial(e)) || []; - return message; - } - -}; \ No newline at end of file diff --git a/packages/codegen/src/tendermint/types/params.ts b/packages/codegen/src/tendermint/types/params.ts deleted file mode 100644 index b34abd82..00000000 --- a/packages/codegen/src/tendermint/types/params.ts +++ /dev/null @@ -1,485 +0,0 @@ -import { Duration, DurationSDKType } from "../../google/protobuf/duration"; -import * as _m0 from "protobufjs/minimal"; -import { DeepPartial, Long } from "../../helpers"; -/** - * ConsensusParams contains consensus critical parameters that determine the - * validity of blocks. - */ - -export interface ConsensusParams { - block?: BlockParams; - evidence?: EvidenceParams; - validator?: ValidatorParams; - version?: VersionParams; -} -/** - * ConsensusParams contains consensus critical parameters that determine the - * validity of blocks. - */ - -export interface ConsensusParamsSDKType { - block?: BlockParamsSDKType; - evidence?: EvidenceParamsSDKType; - validator?: ValidatorParamsSDKType; - version?: VersionParamsSDKType; -} -/** BlockParams contains limits on the block size. */ - -export interface BlockParams { - /** - * Max block size, in bytes. - * Note: must be greater than 0 - */ - maxBytes: Long; - /** - * Max gas per block. - * Note: must be greater or equal to -1 - */ - - maxGas: Long; - /** - * 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_bytes: Long; - max_gas: Long; - 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; - /** - * 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_num_blocks: Long; - max_age_duration?: DurationSDKType; - max_bytes: Long; -} -/** - * ValidatorParams restrict the public key types validators can use. - * NOTE: uses ABCI pubkey naming, not Amino names. - */ - -export interface ValidatorParams { - pubKeyTypes: string[]; -} -/** - * 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/tendermint/types/types.ts b/packages/codegen/src/tendermint/types/types.ts deleted file mode 100644 index d3b3761f..00000000 --- a/packages/codegen/src/tendermint/types/types.ts +++ /dev/null @@ -1,1357 +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 { DeepPartial, Long, toTimestamp, 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, -} -export const BlockIDFlagSDKType = BlockIDFlag; -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, -} -export const SignedMsgTypeSDKType = SignedMsgType; -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; -} -export interface PartSDKType { - index: number; - bytes: Uint8Array; - proof?: ProofSDKType; -} -/** BlockID */ - -export interface BlockID { - hash: Uint8Array; - partSetHeader?: PartSetHeader; -} -/** BlockID */ - -export interface BlockIDSDKType { - hash: Uint8Array; - part_set_header?: PartSetHeaderSDKType; -} -/** Header defines the structure of a Tendermint block header. */ - -export interface Header { - /** basic block info */ - version?: Consensus; - chainId: string; - height: Long; - time?: Date; - /** prev block info */ - - lastBlockId?: BlockID; - /** hashes of block data */ - - lastCommitHash: Uint8Array; - dataHash: Uint8Array; - /** hashes from the app output from the prev block */ - - validatorsHash: Uint8Array; - /** validators for the next block */ - - nextValidatorsHash: Uint8Array; - /** consensus params for current block */ - - consensusHash: Uint8Array; - /** state after txs from the previous block */ - - appHash: Uint8Array; - lastResultsHash: Uint8Array; - /** consensus info */ - - evidenceHash: Uint8Array; - /** original proposer of the block */ - - proposerAddress: Uint8Array; -} -/** Header defines the structure of a Tendermint block header. */ - -export interface HeaderSDKType { - version?: ConsensusSDKType; - chain_id: string; - height: Long; - time?: Date; - last_block_id?: BlockIDSDKType; - last_commit_hash: Uint8Array; - data_hash: Uint8Array; - validators_hash: Uint8Array; - next_validators_hash: Uint8Array; - consensus_hash: Uint8Array; - app_hash: Uint8Array; - last_results_hash: Uint8Array; - evidence_hash: Uint8Array; - proposer_address: Uint8Array; -} -/** Data contains the set of transactions included in the block */ - -export interface Data { - /** - * Txs that will be applied by state @ block.Height+1. - * NOTE: not all txs here are valid. We're just agreeing on the order first. - * This means that block.AppHash does not include these txs. - */ - txs: Uint8Array[]; -} -/** Data contains the set of transactions included in the block */ - -export interface DataSDKType { - txs: Uint8Array[]; -} -/** - * Vote represents a prevote, precommit, or commit vote from validators for - * consensus. - */ - -export interface Vote { - type: SignedMsgType; - height: Long; - round: number; - /** zero if vote is nil. */ - - blockId?: BlockID; - timestamp?: Date; - validatorAddress: Uint8Array; - validatorIndex: number; - signature: Uint8Array; -} -/** - * Vote represents a prevote, precommit, or commit vote from validators for - * consensus. - */ - -export interface VoteSDKType { - type: SignedMsgType; - height: Long; - round: number; - block_id?: BlockIDSDKType; - timestamp?: Date; - validator_address: Uint8Array; - validator_index: number; - signature: Uint8Array; -} -/** Commit contains the evidence that a block was committed by a set of validators. */ - -export interface Commit { - height: Long; - round: number; - blockId?: BlockID; - signatures: CommitSig[]; -} -/** Commit contains the evidence that a block was committed by a set of validators. */ - -export interface CommitSDKType { - height: Long; - round: number; - block_id?: BlockIDSDKType; - signatures: CommitSigSDKType[]; -} -/** CommitSig is a part of the Vote included in a Commit. */ - -export interface CommitSig { - blockIdFlag: BlockIDFlag; - validatorAddress: Uint8Array; - timestamp?: Date; - signature: Uint8Array; -} -/** CommitSig is a part of the Vote included in a Commit. */ - -export interface CommitSigSDKType { - block_id_flag: BlockIDFlag; - validator_address: Uint8Array; - timestamp?: Date; - signature: Uint8Array; -} -export interface Proposal { - type: SignedMsgType; - height: Long; - round: number; - polRound: number; - blockId?: BlockID; - timestamp?: Date; - signature: Uint8Array; -} -export interface ProposalSDKType { - type: SignedMsgType; - height: Long; - round: number; - pol_round: number; - block_id?: BlockIDSDKType; - timestamp?: Date; - signature: Uint8Array; -} -export interface SignedHeader { - header?: Header; - commit?: Commit; -} -export interface SignedHeaderSDKType { - header?: HeaderSDKType; - commit?: CommitSDKType; -} -export interface LightBlock { - signedHeader?: SignedHeader; - validatorSet?: ValidatorSet; -} -export interface LightBlockSDKType { - signed_header?: SignedHeaderSDKType; - validator_set?: ValidatorSetSDKType; -} -export interface BlockMeta { - blockId?: BlockID; - blockSize: Long; - header?: Header; - numTxs: Long; -} -export interface BlockMetaSDKType { - block_id?: BlockIDSDKType; - block_size: Long; - header?: HeaderSDKType; - num_txs: Long; -} -/** TxProof represents a Merkle proof of the presence of a transaction in the Merkle tree. */ - -export interface TxProof { - rootHash: Uint8Array; - data: Uint8Array; - proof?: Proof; -} -/** 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; -} - -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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial
): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/tendermint/types/validator.ts b/packages/codegen/src/tendermint/types/validator.ts deleted file mode 100644 index c5faab39..00000000 --- a/packages/codegen/src/tendermint/types/validator.ts +++ /dev/null @@ -1,228 +0,0 @@ -import { PublicKey, PublicKeySDKType } from "../crypto/keys"; -import { Long, DeepPartial } from "../../helpers"; -import * as _m0 from "protobufjs/minimal"; -export interface ValidatorSet { - validators: Validator[]; - proposer?: Validator; - totalVotingPower: Long; -} -export interface ValidatorSetSDKType { - validators: ValidatorSDKType[]; - proposer?: ValidatorSDKType; - total_voting_power: Long; -} -export interface Validator { - address: Uint8Array; - pubKey?: PublicKey; - votingPower: Long; - proposerPriority: Long; -} -export interface ValidatorSDKType { - address: Uint8Array; - pub_key?: PublicKeySDKType; - voting_power: Long; - proposer_priority: Long; -} -export interface SimpleValidator { - pubKey?: PublicKey; - votingPower: Long; -} -export interface SimpleValidatorSDKType { - pub_key?: PublicKeySDKType; - 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: DeepPartial): 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/src/tendermint/version/types.ts b/packages/codegen/src/tendermint/version/types.ts deleted file mode 100644 index 7afc9846..00000000 --- a/packages/codegen/src/tendermint/version/types.ts +++ /dev/null @@ -1,152 +0,0 @@ -import { Long, DeepPartial } from "../../helpers"; -import * as _m0 from "protobufjs/minimal"; -/** - * App includes the protocol and software version for the application. - * This information is included in ResponseInfo. The App.Protocol can be - * updated in ResponseEndBlock. - */ - -export interface App { - protocol: Long; - software: string; -} -/** - * 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: DeepPartial): 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: DeepPartial): 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/packages/codegen/tsconfig.json b/packages/codegen/tsconfig.json deleted file mode 100644 index e9a47446..00000000 --- a/packages/codegen/tsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "compilerOptions": { - "target": "ES2015", - "moduleResolution": "node", - "allowJs": true, - "esModuleInterop": true, - "declaration": true, - "outDir": "dist", - // "declarationDir": "./types", - "emitDeclarationOnly": true, - "isolatedModules": true - }, - "include": [ - "src/**/*" - ], - "exclude": [ - "node_modules" - ] -} \ No newline at end of file diff --git a/packages/dashboard/src/libs/api-registry.ts b/packages/dashboard/src/libs/api-registry.ts new file mode 100644 index 00000000..6b86729d --- /dev/null +++ b/packages/dashboard/src/libs/api-registry.ts @@ -0,0 +1,46 @@ +import semver from "semver"; + +interface Registry { + [key: string]: string; + } + + const registry: Registry = { + v1: "https://example.com/api/v1/endpoint", + v2: "https://example.com/api/v2/endpoint", + v3: "https://example.com/api/v3/endpoint", + alpha: "https://example.com/api/alpha/endpoint", + beta: "https://example.com/api/beta/endpoint", + production: "https://example.com/api/production/endpoint", + }; + +export function findConfigByName(name: string): string { + const base = "https://example.com/api/"; + + const url = registry[name]; + if (!url) { + throw new Error(`Unsupported version or name: ${name}`); + } + + return url; + } + +export function findConfigByVersion(version: string, registry: Registry): string { + let closestVersion: string | null = null; + + for (const key in registry) { + if (semver.satisfies(key, version)) { + if (!closestVersion || semver.gt(key, closestVersion)) { + closestVersion = key; + } + } + } + + if (!closestVersion) { + throw new Error(`Unsupported version: ${version}`); + } + + console.log(`Closest version to ${version}: ${closestVersion}`); + + return registry[closestVersion]; + } + \ No newline at end of file diff --git a/packages/dashboard/src/libs/http.ts b/packages/dashboard/src/libs/http.ts index d070552e..8da24fc6 100644 --- a/packages/dashboard/src/libs/http.ts +++ b/packages/dashboard/src/libs/http.ts @@ -1,5 +1,21 @@ import fetch from 'cross-fetch' +export interface ApiResponse { + data: T; +} + +// Usage: +// const usersResponse = await fetchData("https://somewhere/") +export async function fetchData(url: string): Promise> { + const response = await fetch(url); + const data = await response.json(); + + const result : ApiResponse = { + data + } + return result +} + export async function get(url: string) { return (await fetch(url)).json() } diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 00000000..ef242a96 Binary files /dev/null and b/public/favicon.ico differ diff --git a/public/loader.css b/public/loader.css new file mode 100644 index 00000000..a855b231 --- /dev/null +++ b/public/loader.css @@ -0,0 +1,70 @@ +#loading-bg { + background: var(--initial-loader-bg, #fff); +} + +.loading-logo { + position: absolute; + inset-block-start: 40%; + inset-inline-start: calc(50% - 75px); +} + +.loading { + position: absolute; + box-sizing: border-box; + border: 3px solid transparent; + block-size: 55px; + border-radius: 50%; + inline-size: 55px; + inset-block-start: calc(40% + 35px); + inset-inline-start: calc(50% - 27.5px); +} + +.loading .effect-1, +.loading .effect-2, +.loading .effect-3 { + position: absolute; + box-sizing: border-box; + border: 3px solid transparent; + block-size: 100%; + border-inline-start: 3px solid var(--initial-loader-color, #eee); + border-radius: 50%; + inline-size: 100%; +} + +.loading .effect-1 { + animation: rotate 1s ease infinite; +} + +.loading .effect-2 { + animation: rotate-opacity 1s ease infinite 0.1s; +} + +.loading .effect-3 { + animation: rotate-opacity 1s ease infinite 0.2s; +} + +.loading .effects { + transition: all 0.3s ease; +} + +@keyframes rotate { + 0% { + transform: rotate(0deg); + } + + 100% { + transform: rotate(1turn); + } +} + +@keyframes rotate-opacity { + 0% { + opacity: 0.1; + transform: rotate(0deg); + } + + 100% { + opacity: 1; + transform: rotate(1turn); + } +} diff --git a/public/logo.svg b/public/logo.svg new file mode 100644 index 00000000..a620f52a --- /dev/null +++ b/public/logo.svg @@ -0,0 +1,82 @@ + + + + diff --git a/public/logos/8ball.png b/public/logos/8ball.png new file mode 100644 index 00000000..edc10827 Binary files /dev/null and b/public/logos/8ball.png differ diff --git a/public/logos/DWS.png b/public/logos/DWS.png new file mode 100644 index 00000000..bc701256 Binary files /dev/null and b/public/logos/DWS.png differ diff --git a/public/logos/VDL.png b/public/logos/VDL.png new file mode 100644 index 00000000..d171bdaa Binary files /dev/null and b/public/logos/VDL.png differ diff --git a/public/logos/agoric-bld.svg b/public/logos/agoric-bld.svg new file mode 100644 index 00000000..9397bea8 --- /dev/null +++ b/public/logos/agoric-bld.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + diff --git a/public/logos/agoric.png b/public/logos/agoric.png new file mode 100644 index 00000000..3d6ff8c9 Binary files /dev/null and b/public/logos/agoric.png differ diff --git a/public/logos/akash-network.png b/public/logos/akash-network.png new file mode 100644 index 00000000..71170346 Binary files /dev/null and b/public/logos/akash-network.png differ diff --git a/public/logos/androma.png b/public/logos/androma.png new file mode 100644 index 00000000..6139b4be Binary files /dev/null and b/public/logos/androma.png differ diff --git a/public/logos/aura.png b/public/logos/aura.png new file mode 100644 index 00000000..2bbe3905 Binary files /dev/null and b/public/logos/aura.png differ diff --git a/public/logos/axelar.svg b/public/logos/axelar.svg new file mode 100644 index 00000000..a993fb49 --- /dev/null +++ b/public/logos/axelar.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/public/logos/band-protocol.svg b/public/logos/band-protocol.svg new file mode 100644 index 00000000..cb0e497c --- /dev/null +++ b/public/logos/band-protocol.svg @@ -0,0 +1,12 @@ + + + D09EECB6-251A-416B-B21C-25832F33D878 + + + + + + + + + \ No newline at end of file diff --git a/public/logos/beezee.png b/public/logos/beezee.png new file mode 100644 index 00000000..81c72d22 Binary files /dev/null and b/public/logos/beezee.png differ diff --git a/public/logos/bitcanna.svg b/public/logos/bitcanna.svg new file mode 100644 index 00000000..8285019e --- /dev/null +++ b/public/logos/bitcanna.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/logos/bitsong.svg b/public/logos/bitsong.svg new file mode 100644 index 00000000..7178c8c9 --- /dev/null +++ b/public/logos/bitsong.svg @@ -0,0 +1,20 @@ + + + + + + + + + + + diff --git a/public/logos/bostrom.png b/public/logos/bostrom.png new file mode 100644 index 00000000..a5d95ce8 Binary files /dev/null and b/public/logos/bostrom.png differ diff --git a/public/logos/c4e.png b/public/logos/c4e.png new file mode 100644 index 00000000..b0e03c20 Binary files /dev/null and b/public/logos/c4e.png differ diff --git a/public/logos/canto.png b/public/logos/canto.png new file mode 100644 index 00000000..7708dc06 Binary files /dev/null and b/public/logos/canto.png differ diff --git a/public/logos/carbon.svg b/public/logos/carbon.svg new file mode 100644 index 00000000..1c1cea31 --- /dev/null +++ b/public/logos/carbon.svg @@ -0,0 +1,91 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/logos/ccc.png b/public/logos/ccc.png new file mode 100644 index 00000000..b4497df4 Binary files /dev/null and b/public/logos/ccc.png differ diff --git a/public/logos/celestia.png b/public/logos/celestia.png new file mode 100644 index 00000000..9f555414 Binary files /dev/null and b/public/logos/celestia.png differ diff --git a/public/logos/cerberus.png b/public/logos/cerberus.png new file mode 100644 index 00000000..81e51feb Binary files /dev/null and b/public/logos/cerberus.png differ diff --git a/public/logos/cheqd.png b/public/logos/cheqd.png new file mode 100644 index 00000000..dd7808d1 Binary files /dev/null and b/public/logos/cheqd.png differ diff --git a/public/logos/chihuahua.png b/public/logos/chihuahua.png new file mode 100644 index 00000000..c2d0a6a6 Binary files /dev/null and b/public/logos/chihuahua.png differ diff --git a/public/logos/chronic-token.jpg b/public/logos/chronic-token.jpg new file mode 100644 index 00000000..b160f364 Binary files /dev/null and b/public/logos/chronic-token.jpg differ diff --git a/public/logos/com.png b/public/logos/com.png new file mode 100644 index 00000000..40e410a3 --- /dev/null +++ b/public/logos/com.png @@ -0,0 +1,1527 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + chain-registry/com.png at master · cosmos/chain-registry · GitHub + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Skip to content + + + + + + + + + + + + +
+ +
+ + + + + + + +
+ + + + + +
+ + + + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + +
+ + + + + + +
+ + +
+ + + + + + + + +Permalink + +
+ +
+
+ + + master + + + + +
+
+
+ Switch branches/tags + +
+ + + +
+ +
+ +
+ + +
+ +
+ + + + + + + + + + + + + + + +
+ + +
+
+
+
+ +
+ +
+ + +
+ +
+
+
+

Name already in use

+
+
+ +
+
+
+
+ +
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch? +
+ +
+
+ + +
+
+ + + + Go to file + +
+ + + + +
+
+
+ + + + + + + + + +
+ +
+
+
 
+
+ +
+
 
+ Cannot retrieve contributors at this time +
+
+ + + + + + + + + +
+ +
+ + +
+ + 101 KB +
+ +
+ + + + +
+
+ +
+
+ +
+ +
+
+ + + +
+ +
+ com.png +
+
+ +
+ + + + +
+ + +
+ + +
+
+ + + +
+ +
+ + +
+ +
+ + +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + diff --git a/public/logos/comdex.png b/public/logos/comdex.png new file mode 100644 index 00000000..79cc094e Binary files /dev/null and b/public/logos/comdex.png differ diff --git a/public/logos/commercionetwork.png b/public/logos/commercionetwork.png new file mode 100644 index 00000000..be8284e3 Binary files /dev/null and b/public/logos/commercionetwork.png differ diff --git a/public/logos/cosmic-horizon.png b/public/logos/cosmic-horizon.png new file mode 100644 index 00000000..63a223b0 Binary files /dev/null and b/public/logos/cosmic-horizon.png differ diff --git a/public/logos/cosmos.svg b/public/logos/cosmos.svg new file mode 100644 index 00000000..aedd3e70 --- /dev/null +++ b/public/logos/cosmos.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/logos/craft.png b/public/logos/craft.png new file mode 100644 index 00000000..69bc8101 Binary files /dev/null and b/public/logos/craft.png differ diff --git a/public/logos/cre.png b/public/logos/cre.png new file mode 100644 index 00000000..cbd3ddc3 Binary files /dev/null and b/public/logos/cre.png differ diff --git a/public/logos/cronos.png b/public/logos/cronos.png new file mode 100644 index 00000000..68f2db74 Binary files /dev/null and b/public/logos/cronos.png differ diff --git a/public/logos/crypto-com-chain.png b/public/logos/crypto-com-chain.png new file mode 100644 index 00000000..8cb2ce54 Binary files /dev/null and b/public/logos/crypto-com-chain.png differ diff --git a/public/logos/dai.svg b/public/logos/dai.svg new file mode 100644 index 00000000..31f55841 --- /dev/null +++ b/public/logos/dai.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/public/logos/decentr.png b/public/logos/decentr.png new file mode 100644 index 00000000..65f3adc2 Binary files /dev/null and b/public/logos/decentr.png differ diff --git a/public/logos/desmos.png b/public/logos/desmos.png new file mode 100644 index 00000000..fc988d2d Binary files /dev/null and b/public/logos/desmos.png differ diff --git a/public/logos/dig1.png b/public/logos/dig1.png new file mode 100644 index 00000000..9b8cdb1e Binary files /dev/null and b/public/logos/dig1.png differ diff --git a/public/logos/dot.svg b/public/logos/dot.svg new file mode 100644 index 00000000..17a12423 --- /dev/null +++ b/public/logos/dot.svg @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/public/logos/e-money.jpg b/public/logos/e-money.jpg new file mode 100644 index 00000000..d0758dd4 Binary files /dev/null and b/public/logos/e-money.jpg differ diff --git a/public/logos/echelon.gif b/public/logos/echelon.gif new file mode 100644 index 00000000..29a8363c Binary files /dev/null and b/public/logos/echelon.gif differ diff --git a/public/logos/empower.png b/public/logos/empower.png new file mode 100644 index 00000000..0a486a08 Binary files /dev/null and b/public/logos/empower.png differ diff --git a/public/logos/ethereum.png b/public/logos/ethereum.png new file mode 100644 index 00000000..abca2ac8 Binary files /dev/null and b/public/logos/ethereum.png differ diff --git a/public/logos/evmos.jpeg b/public/logos/evmos.jpeg new file mode 100644 index 00000000..e9103e26 Binary files /dev/null and b/public/logos/evmos.jpeg differ diff --git a/public/logos/evmos.png b/public/logos/evmos.png new file mode 100644 index 00000000..e801519d Binary files /dev/null and b/public/logos/evmos.png differ diff --git a/public/logos/fetchhub.png b/public/logos/fetchhub.png new file mode 100644 index 00000000..6a6f5578 Binary files /dev/null and b/public/logos/fetchhub.png differ diff --git a/public/logos/game_of_chain.jpeg b/public/logos/game_of_chain.jpeg new file mode 100644 index 00000000..054353ad Binary files /dev/null and b/public/logos/game_of_chain.jpeg differ diff --git a/public/logos/genesisl1.png b/public/logos/genesisl1.png new file mode 100644 index 00000000..c5e1ab7d Binary files /dev/null and b/public/logos/genesisl1.png differ diff --git a/public/logos/gravity-bridge.png b/public/logos/gravity-bridge.png new file mode 100644 index 00000000..bd08ed48 Binary files /dev/null and b/public/logos/gravity-bridge.png differ diff --git a/public/logos/haqq.png b/public/logos/haqq.png new file mode 100644 index 00000000..0db2ab1b Binary files /dev/null and b/public/logos/haqq.png differ diff --git a/public/logos/haqq.svg b/public/logos/haqq.svg new file mode 100644 index 00000000..672a7272 --- /dev/null +++ b/public/logos/haqq.svg @@ -0,0 +1,14 @@ + + + diff --git a/public/logos/injective.jpg b/public/logos/injective.jpg new file mode 100644 index 00000000..80d9cdf1 Binary files /dev/null and b/public/logos/injective.jpg differ diff --git a/public/logos/iris-network.svg b/public/logos/iris-network.svg new file mode 100644 index 00000000..0d3af322 --- /dev/null +++ b/public/logos/iris-network.svg @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/logos/islm.png b/public/logos/islm.png new file mode 100644 index 00000000..bd708591 Binary files /dev/null and b/public/logos/islm.png differ diff --git a/public/logos/islm.svg b/public/logos/islm.svg new file mode 100644 index 00000000..83d770f0 --- /dev/null +++ b/public/logos/islm.svg @@ -0,0 +1,14 @@ + + + diff --git a/public/logos/ixo.svg b/public/logos/ixo.svg new file mode 100644 index 00000000..78671b05 --- /dev/null +++ b/public/logos/ixo.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + diff --git a/public/logos/jackal.png b/public/logos/jackal.png new file mode 100644 index 00000000..305e01af Binary files /dev/null and b/public/logos/jackal.png differ diff --git a/public/logos/juno.jpg b/public/logos/juno.jpg new file mode 100644 index 00000000..a407ce9e Binary files /dev/null and b/public/logos/juno.jpg differ diff --git a/public/logos/juno.png b/public/logos/juno.png new file mode 100644 index 00000000..30f5011b Binary files /dev/null and b/public/logos/juno.png differ diff --git a/public/logos/kava.png b/public/logos/kava.png new file mode 100644 index 00000000..5db778f0 Binary files /dev/null and b/public/logos/kava.png differ diff --git a/public/logos/kichain.png b/public/logos/kichain.png new file mode 100644 index 00000000..96655c39 Binary files /dev/null and b/public/logos/kichain.png differ diff --git a/public/logos/kujira.png b/public/logos/kujira.png new file mode 100644 index 00000000..e310f1fd Binary files /dev/null and b/public/logos/kujira.png differ diff --git a/public/logos/lambda.png b/public/logos/lambda.png new file mode 100644 index 00000000..b45be448 Binary files /dev/null and b/public/logos/lambda.png differ diff --git a/public/logos/likecoin.png b/public/logos/likecoin.png new file mode 100644 index 00000000..cfbb2fac Binary files /dev/null and b/public/logos/likecoin.png differ diff --git a/public/logos/lum-network.png b/public/logos/lum-network.png new file mode 100644 index 00000000..bba0e5cc Binary files /dev/null and b/public/logos/lum-network.png differ diff --git a/public/logos/lumen.png b/public/logos/lumen.png new file mode 100644 index 00000000..db6e00d3 Binary files /dev/null and b/public/logos/lumen.png differ diff --git a/public/logos/mars.jpg b/public/logos/mars.jpg new file mode 100644 index 00000000..e5c26c50 Binary files /dev/null and b/public/logos/mars.jpg differ diff --git a/public/logos/mars.png b/public/logos/mars.png new file mode 100644 index 00000000..73de99a1 Binary files /dev/null and b/public/logos/mars.png differ diff --git a/public/logos/meme.svg b/public/logos/meme.svg new file mode 100644 index 00000000..78b10aeb --- /dev/null +++ b/public/logos/meme.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + diff --git a/public/logos/microtick.png b/public/logos/microtick.png new file mode 100644 index 00000000..f3b5edb2 Binary files /dev/null and b/public/logos/microtick.png differ diff --git a/public/logos/migaloo.png b/public/logos/migaloo.png new file mode 100644 index 00000000..95aef059 Binary files /dev/null and b/public/logos/migaloo.png differ diff --git a/public/logos/nois.svg b/public/logos/nois.svg new file mode 100644 index 00000000..3763db67 --- /dev/null +++ b/public/logos/nois.svg @@ -0,0 +1,68 @@ + + + + + + + + + + + + + diff --git a/public/logos/nym.jpeg b/public/logos/nym.jpeg new file mode 100644 index 00000000..0fb3a9d7 Binary files /dev/null and b/public/logos/nym.jpeg differ diff --git a/public/logos/odin.png b/public/logos/odin.png new file mode 100644 index 00000000..8b7745c5 Binary files /dev/null and b/public/logos/odin.png differ diff --git a/public/logos/okexchain.svg b/public/logos/okexchain.svg new file mode 100644 index 00000000..cc4d119f --- /dev/null +++ b/public/logos/okexchain.svg @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/public/logos/okp4.svg b/public/logos/okp4.svg new file mode 100644 index 00000000..e57e3e71 --- /dev/null +++ b/public/logos/okp4.svg @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/public/logos/omniflix.png b/public/logos/omniflix.png new file mode 100644 index 00000000..ab69ae00 Binary files /dev/null and b/public/logos/omniflix.png differ diff --git a/public/logos/osmosis.jpg b/public/logos/osmosis.jpg new file mode 100644 index 00000000..6b2305fe Binary files /dev/null and b/public/logos/osmosis.jpg differ diff --git a/public/logos/passage.png b/public/logos/passage.png new file mode 100644 index 00000000..20479a11 Binary files /dev/null and b/public/logos/passage.png differ diff --git a/public/logos/persistence.png b/public/logos/persistence.png new file mode 100644 index 00000000..99384cc5 Binary files /dev/null and b/public/logos/persistence.png differ diff --git a/public/logos/planq.png b/public/logos/planq.png new file mode 100644 index 00000000..8e254394 Binary files /dev/null and b/public/logos/planq.png differ diff --git a/public/logos/point-logo.png b/public/logos/point-logo.png new file mode 100644 index 00000000..1620e96f Binary files /dev/null and b/public/logos/point-logo.png differ diff --git a/public/logos/provenance.svg b/public/logos/provenance.svg new file mode 100644 index 00000000..9956e842 --- /dev/null +++ b/public/logos/provenance.svg @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/public/logos/quasar.png b/public/logos/quasar.png new file mode 100644 index 00000000..7885e123 Binary files /dev/null and b/public/logos/quasar.png differ diff --git a/public/logos/quicksilver.png b/public/logos/quicksilver.png new file mode 100644 index 00000000..514b4ae5 Binary files /dev/null and b/public/logos/quicksilver.png differ diff --git a/public/logos/rebus.png b/public/logos/rebus.png new file mode 100644 index 00000000..68581541 Binary files /dev/null and b/public/logos/rebus.png differ diff --git a/public/logos/regen.svg b/public/logos/regen.svg new file mode 100644 index 00000000..e79b6531 --- /dev/null +++ b/public/logos/regen.svg @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/public/logos/rizon.svg b/public/logos/rizon.svg new file mode 100644 index 00000000..d38a1eee --- /dev/null +++ b/public/logos/rizon.svg @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/logos/secret.png b/public/logos/secret.png new file mode 100644 index 00000000..a3a22b1d Binary files /dev/null and b/public/logos/secret.png differ diff --git a/public/logos/sentinel.png b/public/logos/sentinel.png new file mode 100644 index 00000000..e6ab64cc Binary files /dev/null and b/public/logos/sentinel.png differ diff --git a/public/logos/shentu.jpg b/public/logos/shentu.jpg new file mode 100644 index 00000000..41e8c4a7 Binary files /dev/null and b/public/logos/shentu.jpg differ diff --git a/public/logos/sifchain.jpeg b/public/logos/sifchain.jpeg new file mode 100644 index 00000000..531803c3 Binary files /dev/null and b/public/logos/sifchain.jpeg differ diff --git a/public/logos/stafihub.png b/public/logos/stafihub.png new file mode 100644 index 00000000..3a17a6a4 Binary files /dev/null and b/public/logos/stafihub.png differ diff --git a/public/logos/stargaze.png b/public/logos/stargaze.png new file mode 100644 index 00000000..bb117d21 Binary files /dev/null and b/public/logos/stargaze.png differ diff --git a/public/logos/starname.jpg b/public/logos/starname.jpg new file mode 100644 index 00000000..d237ddcc Binary files /dev/null and b/public/logos/starname.jpg differ diff --git a/public/logos/stride.png b/public/logos/stride.png new file mode 100644 index 00000000..46f8bacc Binary files /dev/null and b/public/logos/stride.png differ diff --git a/public/logos/teritori.svg b/public/logos/teritori.svg new file mode 100644 index 00000000..e8dff7dd --- /dev/null +++ b/public/logos/teritori.svg @@ -0,0 +1,104 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/logos/terra-luna-krt.png b/public/logos/terra-luna-krt.png new file mode 100644 index 00000000..7c0a08ac Binary files /dev/null and b/public/logos/terra-luna-krt.png differ diff --git a/public/logos/terra-luna-tokenlogo.webp b/public/logos/terra-luna-tokenlogo.webp new file mode 100644 index 00000000..467b1f58 Binary files /dev/null and b/public/logos/terra-luna-tokenlogo.webp differ diff --git a/public/logos/terra-luna-ust.png b/public/logos/terra-luna-ust.png new file mode 100644 index 00000000..0e9c88ff Binary files /dev/null and b/public/logos/terra-luna-ust.png differ diff --git a/public/logos/terra-luna.jpg b/public/logos/terra-luna.jpg new file mode 100644 index 00000000..3f50f69b Binary files /dev/null and b/public/logos/terra-luna.jpg differ diff --git a/public/logos/umee.png b/public/logos/umee.png new file mode 100644 index 00000000..cbed4277 Binary files /dev/null and b/public/logos/umee.png differ diff --git a/public/logos/unification.png b/public/logos/unification.png new file mode 100644 index 00000000..35b41d1e Binary files /dev/null and b/public/logos/unification.png differ diff --git a/public/logos/usdc.svg b/public/logos/usdc.svg new file mode 100644 index 00000000..262ff391 --- /dev/null +++ b/public/logos/usdc.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/public/logos/usdt.svg b/public/logos/usdt.svg new file mode 100644 index 00000000..e5308224 --- /dev/null +++ b/public/logos/usdt.svg @@ -0,0 +1 @@ +tether-usdt-logo \ No newline at end of file diff --git a/public/logos/wavax.svg b/public/logos/wavax.svg new file mode 100644 index 00000000..21794816 --- /dev/null +++ b/public/logos/wavax.svg @@ -0,0 +1,6 @@ + + + + diff --git a/public/logos/weth.svg b/public/logos/weth.svg new file mode 100644 index 00000000..2438150f --- /dev/null +++ b/public/logos/weth.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/public/logos/whitewhale.png b/public/logos/whitewhale.png new file mode 100644 index 00000000..f578f6c6 Binary files /dev/null and b/public/logos/whitewhale.png differ diff --git a/public/logos/wmatic.svg b/public/logos/wmatic.svg new file mode 100644 index 00000000..fd4edad9 --- /dev/null +++ b/public/logos/wmatic.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/src/App.vue b/src/App.vue new file mode 100644 index 00000000..2f4374dd --- /dev/null +++ b/src/App.vue @@ -0,0 +1,22 @@ + + + diff --git a/src/assets/base.css b/src/assets/base.css new file mode 100644 index 00000000..71dc55a3 --- /dev/null +++ b/src/assets/base.css @@ -0,0 +1,74 @@ +/* color palette from */ +:root { + --vt-c-white: #ffffff; + --vt-c-white-soft: #f8f8f8; + --vt-c-white-mute: #f2f2f2; + + --vt-c-black: #181818; + --vt-c-black-soft: #222222; + --vt-c-black-mute: #282828; + + --vt-c-indigo: #2c3e50; + + --vt-c-divider-light-1: rgba(60, 60, 60, 0.29); + --vt-c-divider-light-2: rgba(60, 60, 60, 0.12); + --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65); + --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48); + + --vt-c-text-light-1: var(--vt-c-indigo); + --vt-c-text-light-2: rgba(60, 60, 60, 0.66); + --vt-c-text-dark-1: var(--vt-c-white); + --vt-c-text-dark-2: rgba(235, 235, 235, 0.64); +} + +/* semantic color variables for this project */ +:root { + --color-background: var(--vt-c-white); + --color-background-soft: var(--vt-c-white-soft); + --color-background-mute: var(--vt-c-white-mute); + + --color-border: var(--vt-c-divider-light-2); + --color-border-hover: var(--vt-c-divider-light-1); + + --color-heading: var(--vt-c-text-light-1); + --color-text: var(--vt-c-text-light-1); + + --section-gap: 160px; +} + +@media (prefers-color-scheme: dark) { + :root { + --color-background: var(--vt-c-black); + --color-background-soft: var(--vt-c-black-soft); + --color-background-mute: var(--vt-c-black-mute); + + --color-border: var(--vt-c-divider-dark-2); + --color-border-hover: var(--vt-c-divider-dark-1); + + --color-heading: var(--vt-c-text-dark-1); + --color-text: var(--vt-c-text-dark-2); + } +} + +*, +*::before, +*::after { + box-sizing: border-box; + margin: 0; + position: relative; + font-weight: normal; +} + +body { + min-height: 100vh; + color: var(--color-text); + background: var(--color-background); + transition: color 0.5s, background-color 0.5s; + line-height: 1.6; + font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, + Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; + font-size: 15px; + text-rendering: optimizeLegibility; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} diff --git a/src/assets/logo.svg b/src/assets/logo.svg new file mode 100644 index 00000000..a620f52a --- /dev/null +++ b/src/assets/logo.svg @@ -0,0 +1,82 @@ + + + + diff --git a/src/assets/main.css b/src/assets/main.css new file mode 100644 index 00000000..e8667cd4 --- /dev/null +++ b/src/assets/main.css @@ -0,0 +1,35 @@ +@import './base.css'; + +#app { + max-width: 1280px; + margin: 0 auto; + padding: 2rem; + + font-weight: normal; +} + +a, +.green { + text-decoration: none; + color: hsla(160, 100%, 37%, 1); + transition: 0.4s; +} + +@media (hover: hover) { + a:hover { + background-color: hsla(160, 100%, 37%, 0.2); + } +} + +@media (min-width: 1024px) { + body { + display: flex; + place-items: center; + } + + #app { + display: grid; + grid-template-columns: 1fr 1fr; + padding: 0 2rem; + } +} diff --git a/src/components/CardStatisticsHorizontal.vue b/src/components/CardStatisticsHorizontal.vue new file mode 100644 index 00000000..cd92a789 --- /dev/null +++ b/src/components/CardStatisticsHorizontal.vue @@ -0,0 +1,55 @@ + + + diff --git a/src/components/CardStatisticsVertical.vue b/src/components/CardStatisticsVertical.vue new file mode 100644 index 00000000..e9362935 --- /dev/null +++ b/src/components/CardStatisticsVertical.vue @@ -0,0 +1,64 @@ + + + diff --git a/src/components/CardStatisticsWithImages.vue b/src/components/CardStatisticsWithImages.vue new file mode 100644 index 00000000..a6a2900b --- /dev/null +++ b/src/components/CardStatisticsWithImages.vue @@ -0,0 +1,65 @@ + + + + + diff --git a/src/components/ChainSummary.vue b/src/components/ChainSummary.vue new file mode 100644 index 00000000..63e5161d --- /dev/null +++ b/src/components/ChainSummary.vue @@ -0,0 +1,54 @@ + + \ No newline at end of file diff --git a/src/components/ProposalProcess.vue b/src/components/ProposalProcess.vue new file mode 100644 index 00000000..09b5d065 --- /dev/null +++ b/src/components/ProposalProcess.vue @@ -0,0 +1,58 @@ + + + \ No newline at end of file diff --git a/src/components/ValidatorCommissionRate.vue b/src/components/ValidatorCommissionRate.vue new file mode 100644 index 00000000..2f896c5d --- /dev/null +++ b/src/components/ValidatorCommissionRate.vue @@ -0,0 +1,155 @@ + + + diff --git a/src/components/charts/PriceMarketChart.vue b/src/components/charts/PriceMarketChart.vue new file mode 100644 index 00000000..ae36430f --- /dev/null +++ b/src/components/charts/PriceMarketChart.vue @@ -0,0 +1,30 @@ + + + \ No newline at end of file diff --git a/src/components/charts/apexCharConfig.ts b/src/components/charts/apexCharConfig.ts new file mode 100644 index 00000000..059fdc43 --- /dev/null +++ b/src/components/charts/apexCharConfig.ts @@ -0,0 +1,779 @@ +import type { ThemeInstance } from 'vuetify' +import { hexToRgb } from '@/plugins/vuetify/@layouts/utils' +import numeral from 'numeral' + +// 👉 Colors variables +const colorVariables = (themeColors: ThemeInstance['themes']['value']['colors']) => { + const themeSecondaryTextColor = `rgba(${hexToRgb(themeColors.colors['on-surface'])},${themeColors.variables['medium-emphasis-opacity']})` + const themeDisabledTextColor = `rgba(${hexToRgb(themeColors.colors['on-surface'])},${themeColors.variables['disabled-opacity']})` + const themeBorderColor = `rgba(${hexToRgb(String(themeColors.variables['border-color']))},${themeColors.variables['border-opacity']})` + const themePrimaryTextColor = `rgba(${hexToRgb(themeColors.colors['on-surface'])},${themeColors.variables['high-emphasis-opacity']})` + + return { themeSecondaryTextColor, themeDisabledTextColor, themeBorderColor, themePrimaryTextColor } +} +/// Price Chart config +export const getMarketPriceChartConfig = (themeColors: ThemeInstance['themes']['value']['colors'], categories: string[]) => { + + const { themeSecondaryTextColor, themeBorderColor, themeDisabledTextColor } = colorVariables(themeColors) + + return { + chart: { + redrawOnParentResize: true, + width: '100%', + parentHeightOffset: 0, + toolbar: { show: false }, + }, + tooltip: { + theme: 'dark', + shared: false + }, + dataLabels: { enabled: false }, + stroke: { + // show: false, + curve: 'smooth', + width: 1.5, + }, + legend: { + position: 'top', + horizontalAlign: 'left', + + labels: { colors: themeSecondaryTextColor }, + markers: { + offsetY: 1, + offsetX: -3, + }, + itemMargin: { + vertical: 3, + horizontal: 10, + }, + }, + + colors: [themeColors.colors.primary], + fill: { + opacity: 0.5, + type: 'gradient', + }, + grid: { + show: true, + borderColor: themeBorderColor, + xaxis: { + lines: { show: true }, + }, + }, + yaxis: { + labels: { + style: { colors: themeDisabledTextColor }, + formatter: function (value: string) { + const pattern = (Number(value) > 0.01 ? '0.0[0]a': '0.00[000]') + return numeral(value).format(pattern); + } + }, + }, + xaxis: { + type: 'datetime', + axisBorder: { show: false }, + + axisTicks: { color: themeBorderColor }, + crosshairs: { + stroke: { color: themeBorderColor }, + }, + labels: { + style: { colors: themeDisabledTextColor }, + }, + categories, + }, + } +} + +/// default config + +export const getScatterChartConfig = (themeColors: ThemeInstance['themes']['value']['colors']) => { + const scatterColors = { + series1: '#ff9f43', + series2: '#7367f0', + series3: '#28c76f', + } + + const { themeSecondaryTextColor, themeBorderColor, themeDisabledTextColor } = colorVariables(themeColors) + + return { + chart: { + parentHeightOffset: 0, + toolbar: { show: false }, + zoom: { + type: 'xy', + enabled: true, + }, + }, + legend: { + position: 'top', + horizontalAlign: 'left', + markers: { offsetX: -3 }, + + labels: { colors: themeSecondaryTextColor }, + itemMargin: { + vertical: 3, + horizontal: 10, + }, + }, + colors: [scatterColors.series1, scatterColors.series2, scatterColors.series3], + grid: { + borderColor: themeBorderColor, + xaxis: { + lines: { show: true }, + }, + }, + yaxis: { + labels: { + style: { colors: themeDisabledTextColor }, + }, + }, + xaxis: { + tickAmount: 10, + axisBorder: { show: false }, + + axisTicks: { color: themeBorderColor }, + crosshairs: { + stroke: { color: themeBorderColor }, + }, + labels: { + style: { colors: themeDisabledTextColor }, + formatter: (val: string) => parseFloat(val).toFixed(1), + }, + }, + } +} +export const getLineChartSimpleConfig = (themeColors: ThemeInstance['themes']['value']['colors']) => { + const { themeBorderColor, themeDisabledTextColor } = colorVariables(themeColors) + + return { + chart: { + parentHeightOffset: 0, + zoom: { enabled: false }, + toolbar: { show: false }, + }, + colors: ['#ff9f43'], + stroke: { curve: 'straight' }, + dataLabels: { enabled: false }, + markers: { + strokeWidth: 7, + strokeOpacity: 1, + colors: ['#ff9f43'], + strokeColors: ['#fff'], + }, + grid: { + padding: { top: -10 }, + + borderColor: themeBorderColor, + xaxis: { + lines: { show: true }, + }, + }, + tooltip: { + // eslint-disable-next-line @typescript-eslint/no-explicit-any + custom(data: any) { + return `
+ ${data.series[data.seriesIndex][data.dataPointIndex]}% +
` + }, + }, + yaxis: { + labels: { + style: { colors: themeDisabledTextColor }, + }, + }, + xaxis: { + axisBorder: { show: false }, + + axisTicks: { color: themeBorderColor }, + crosshairs: { + stroke: { color: themeBorderColor }, + }, + labels: { + style: { colors: themeDisabledTextColor }, + }, + categories: [ + '7/12', + '8/12', + '9/12', + '10/12', + '11/12', + '12/12', + '13/12', + '14/12', + '15/12', + '16/12', + '17/12', + '18/12', + '19/12', + '20/12', + '21/12', + ], + }, + } +} + +export const getBarChartConfig = (themeColors: ThemeInstance['themes']['value']['colors']) => { + const { themeBorderColor, themeDisabledTextColor } = colorVariables(themeColors) + + return { + chart: { + parentHeightOffset: 0, + toolbar: { show: false }, + }, + colors: ['#00cfe8'], + dataLabels: { enabled: false }, + plotOptions: { + bar: { + borderRadius: 8, + barHeight: '30%', + horizontal: true, + startingShape: 'rounded', + }, + }, + grid: { + borderColor: themeBorderColor, + xaxis: { + lines: { show: false }, + }, + padding: { + top: -10, + }, + }, + yaxis: { + labels: { + style: { colors: themeDisabledTextColor }, + }, + }, + xaxis: { + axisBorder: { show: false }, + axisTicks: { color: themeBorderColor }, + categories: ['MON, 11', 'THU, 14', 'FRI, 15', 'MON, 18', 'WED, 20', 'FRI, 21', 'MON, 23'], + labels: { + style: { colors: themeDisabledTextColor }, + }, + }, + } +} + +export const getCandlestickChartConfig = (themeColors: ThemeInstance['themes']['value']['colors']) => { + const candlestickColors = { + series1: '#28c76f', + series2: '#ea5455', + } + + const { themeBorderColor, themeDisabledTextColor } = colorVariables(themeColors) + + return { + chart: { + parentHeightOffset: 0, + toolbar: { show: false }, + }, + plotOptions: { + bar: { columnWidth: '40%' }, + candlestick: { + colors: { + upward: candlestickColors.series1, + downward: candlestickColors.series2, + }, + }, + }, + grid: { + padding: { top: -10 }, + borderColor: themeBorderColor, + xaxis: { + lines: { show: true }, + }, + }, + yaxis: { + tooltip: { enabled: true }, + crosshairs: { + stroke: { color: themeBorderColor }, + }, + labels: { + style: { colors: themeDisabledTextColor }, + }, + }, + xaxis: { + type: 'datetime', + axisBorder: { show: false }, + axisTicks: { color: themeBorderColor }, + crosshairs: { + stroke: { color: themeBorderColor }, + }, + labels: { + style: { colors: themeDisabledTextColor }, + }, + }, + } +} +export const getRadialBarChartConfig = (themeColors: ThemeInstance['themes']['value']['colors']) => { + const radialBarColors = { + series1: '#fdd835', + series2: '#32baff', + series3: '#00d4bd', + series4: '#7367f0', + series5: '#FFA1A1', + } + + const { themeSecondaryTextColor, themePrimaryTextColor } = colorVariables(themeColors) + + return { + stroke: { lineCap: 'round' }, + labels: ['Comments', 'Replies', 'Shares'], + legend: { + show: true, + position: 'bottom', + labels: { + colors: themeSecondaryTextColor, + }, + markers: { + offsetX: -3, + }, + itemMargin: { + vertical: 3, + horizontal: 10, + }, + }, + colors: [radialBarColors.series1, radialBarColors.series2, radialBarColors.series4], + plotOptions: { + radialBar: { + hollow: { size: '30%' }, + track: { + margin: 15, + background: themeColors.colors['grey-100'], + }, + dataLabels: { + name: { + fontSize: '2rem', + }, + value: { + fontSize: '1rem', + color: themeSecondaryTextColor, + }, + total: { + show: true, + fontWeight: 400, + label: 'Comments', + fontSize: '1.125rem', + + color: themePrimaryTextColor, + // eslint-disable-next-line @typescript-eslint/no-explicit-any + formatter(w: { globals: { seriesTotals: any[]; series: string | any[] } }) { + const totalValue + = w.globals.seriesTotals.reduce((a: number, b: number) => { + return a + b + }, 0) / w.globals.series.length + + if (totalValue % 1 === 0) + return `${totalValue}%` + else + return `${totalValue.toFixed(2)}%` + }, + }, + }, + }, + }, + grid: { + padding: { + top: -35, + bottom: -30, + }, + }, + } +} + +export const getDonutChartConfig = (themeColors: ThemeInstance['themes']['value']['colors']) => { + const donutColors = { + series1: '#fdd835', + series2: '#00d4bd', + series3: '#826bf8', + series4: '#32baff', + series5: '#ffa1a1', + } + + const { themeSecondaryTextColor, themePrimaryTextColor } = colorVariables(themeColors) + + return { + stroke: { width: 0 }, + labels: ['Operational', 'Networking', 'Hiring', 'R&D'], + colors: [donutColors.series1, donutColors.series5, donutColors.series3, donutColors.series2], + dataLabels: { + enabled: true, + formatter: (val: string) => `${parseInt(val, 10)}%`, + }, + legend: { + position: 'bottom', + markers: { offsetX: -3 }, + labels: { colors: themeSecondaryTextColor }, + itemMargin: { + vertical: 3, + horizontal: 10, + }, + }, + plotOptions: { + pie: { + donut: { + labels: { + show: true, + name: { + fontSize: '1.5rem', + }, + value: { + fontSize: '1.5rem', + color: themeSecondaryTextColor, + formatter: (val: string) => `${parseInt(val, 10)}`, + }, + total: { + show: true, + fontSize: '1.5rem', + label: 'Operational', + formatter: () => '31%', + color: themePrimaryTextColor, + }, + }, + }, + }, + }, + responsive: [ + { + breakpoint: 992, + options: { + chart: { + height: 380, + }, + legend: { + position: 'bottom', + }, + }, + }, + { + breakpoint: 576, + options: { + chart: { + height: 320, + }, + plotOptions: { + pie: { + donut: { + labels: { + show: true, + name: { + fontSize: '1rem', + }, + value: { + fontSize: '1rem', + }, + total: { + fontSize: '1rem', + }, + }, + }, + }, + }, + }, + }, + ], + } +} + +export const getAreaChartSplineConfig = (themeColors: ThemeInstance['themes']['value']['colors']) => { + const areaColors = { + series3: '#e0cffe', + series2: '#b992fe', + series1: '#ab7efd', + } + + const { themeSecondaryTextColor, themeBorderColor, themeDisabledTextColor } = colorVariables(themeColors) + + return { + chart: { + parentHeightOffset: 0, + toolbar: { show: false }, + }, + tooltip: { shared: false }, + dataLabels: { enabled: false }, + stroke: { + show: false, + curve: 'straight', + }, + legend: { + position: 'top', + horizontalAlign: 'left', + + labels: { colors: themeSecondaryTextColor }, + markers: { + offsetY: 1, + offsetX: -3, + }, + itemMargin: { + vertical: 3, + horizontal: 10, + }, + }, + + colors: [areaColors.series3, areaColors.series2, areaColors.series1], + fill: { + opacity: 1, + type: 'solid', + }, + grid: { + show: true, + borderColor: themeBorderColor, + xaxis: { + lines: { show: true }, + }, + }, + yaxis: { + labels: { + style: { colors: themeDisabledTextColor }, + }, + }, + xaxis: { + axisBorder: { show: false }, + + axisTicks: { color: themeBorderColor }, + crosshairs: { + stroke: { color: themeBorderColor }, + }, + labels: { + style: { colors: themeDisabledTextColor }, + }, + categories: [ + '7/12', + '8/12', + '9/12', + '10/12', + '11/12', + '12/12', + '13/12', + '14/12', + '15/12', + '16/12', + '17/12', + '18/12', + '19/12', + ], + }, + } +} + +export const getColumnChartConfig = (themeColors: ThemeInstance['themes']['value']['colors']) => { + const columnColors = { + series1: '#826af9', + series2: '#d2b0ff', + bg: '#f8d3ff', + } + + const { themeSecondaryTextColor, themeBorderColor, themeDisabledTextColor } = colorVariables(themeColors) + + return { + chart: { + offsetX: -10, + stacked: true, + parentHeightOffset: 0, + toolbar: { show: false }, + }, + fill: { opacity: 1 }, + dataLabels: { enabled: false }, + + colors: [columnColors.series1, columnColors.series2], + legend: { + position: 'top', + horizontalAlign: 'left', + + labels: { colors: themeSecondaryTextColor }, + markers: { + offsetY: 1, + offsetX: -3, + }, + itemMargin: { + vertical: 3, + horizontal: 10, + }, + }, + stroke: { + show: true, + colors: ['transparent'], + }, + plotOptions: { + bar: { + columnWidth: '15%', + colors: { + backgroundBarRadius: 10, + + backgroundBarColors: [columnColors.bg, columnColors.bg, columnColors.bg, columnColors.bg, columnColors.bg], + }, + }, + }, + grid: { + borderColor: themeBorderColor, + xaxis: { + lines: { show: true }, + }, + }, + yaxis: { + labels: { + style: { colors: themeDisabledTextColor }, + }, + }, + xaxis: { + axisBorder: { show: false }, + + axisTicks: { color: themeBorderColor }, + categories: ['7/12', '8/12', '9/12', '10/12', '11/12', '12/12', '13/12', '14/12', '15/12'], + crosshairs: { + stroke: { color: themeBorderColor }, + }, + labels: { + style: { colors: themeDisabledTextColor }, + }, + }, + responsive: [ + { + breakpoint: 600, + options: { + plotOptions: { + bar: { + columnWidth: '35%', + }, + }, + }, + }, + ], + } +} + +export const getHeatMapChartConfig = (themeColors: ThemeInstance['themes']['value']['colors']) => { + const { themeSecondaryTextColor, themeDisabledTextColor } = colorVariables(themeColors) + + return { + chart: { + parentHeightOffset: 0, + toolbar: { show: false }, + }, + dataLabels: { enabled: false }, + stroke: { + colors: [themeColors.colors.surface], + }, + legend: { + position: 'bottom', + labels: { + colors: themeSecondaryTextColor, + }, + markers: { + offsetY: 0, + offsetX: -3, + }, + itemMargin: { + vertical: 3, + horizontal: 10, + }, + }, + plotOptions: { + heatmap: { + enableShades: false, + colorScale: { + ranges: [ + { to: 10, from: 0, name: '0-10', color: '#b9b3f8' }, + { to: 20, from: 11, name: '10-20', color: '#aba4f6' }, + { to: 30, from: 21, name: '20-30', color: '#9d95f5' }, + { to: 40, from: 31, name: '30-40', color: '#8f85f3' }, + { to: 50, from: 41, name: '40-50', color: '#8176f2' }, + { to: 60, from: 51, name: '50-60', color: '#7367f0' }, + ], + }, + }, + }, + grid: { + padding: { top: -20 }, + }, + yaxis: { + labels: { + style: { + colors: themeDisabledTextColor, + }, + }, + }, + xaxis: { + labels: { show: false }, + axisTicks: { show: false }, + axisBorder: { show: false }, + }, + } +} + +export const getRadarChartConfig = (themeColors: ThemeInstance['themes']['value']['colors']) => { + const radarColors = { + series1: '#9b88fa', + series2: '#ffa1a1', + } + + const { themeSecondaryTextColor, themeBorderColor, themeDisabledTextColor } = colorVariables(themeColors) + + return { + chart: { + parentHeightOffset: 0, + toolbar: { show: false }, + dropShadow: { + top: 1, + blur: 8, + left: 1, + opacity: 0.2, + enabled: false, + }, + }, + markers: { size: 0 }, + fill: { opacity: [1, 0.8] }, + colors: [radarColors.series1, radarColors.series2], + stroke: { + width: 0, + show: false, + }, + legend: { + labels: { + colors: themeSecondaryTextColor, + }, + markers: { + offsetX: -3, + }, + itemMargin: { + vertical: 3, + horizontal: 10, + }, + }, + plotOptions: { + radar: { + polygons: { + strokeColors: themeBorderColor, + connectorColors: themeBorderColor, + }, + }, + }, + grid: { + show: false, + padding: { + top: -20, + bottom: -20, + }, + }, + yaxis: { show: false }, + xaxis: { + categories: ['Battery', 'Brand', 'Camera', 'Memory', 'Storage', 'Display', 'OS', 'Price'], + labels: { + style: { + colors: [ + themeDisabledTextColor, + themeDisabledTextColor, + themeDisabledTextColor, + themeDisabledTextColor, + themeDisabledTextColor, + themeDisabledTextColor, + themeDisabledTextColor, + themeDisabledTextColor, + ], + }, + }, + }, + } +} diff --git a/src/components/dynamic/ArrayBytesElement.vue b/src/components/dynamic/ArrayBytesElement.vue new file mode 100644 index 00000000..4a276407 --- /dev/null +++ b/src/components/dynamic/ArrayBytesElement.vue @@ -0,0 +1,15 @@ + + \ No newline at end of file diff --git a/src/components/dynamic/ArrayElement.vue b/src/components/dynamic/ArrayElement.vue new file mode 100644 index 00000000..9aa177d5 --- /dev/null +++ b/src/components/dynamic/ArrayElement.vue @@ -0,0 +1,31 @@ + + \ No newline at end of file diff --git a/src/components/dynamic/ArrayObjectElement.vue b/src/components/dynamic/ArrayObjectElement.vue new file mode 100644 index 00000000..a6916085 --- /dev/null +++ b/src/components/dynamic/ArrayObjectElement.vue @@ -0,0 +1,30 @@ + + \ No newline at end of file diff --git a/src/components/dynamic/DynamicComponent.vue b/src/components/dynamic/DynamicComponent.vue new file mode 100644 index 00000000..782569b9 --- /dev/null +++ b/src/components/dynamic/DynamicComponent.vue @@ -0,0 +1,11 @@ + + + \ No newline at end of file diff --git a/src/components/dynamic/NumberElement.vue b/src/components/dynamic/NumberElement.vue new file mode 100644 index 00000000..c9b45445 --- /dev/null +++ b/src/components/dynamic/NumberElement.vue @@ -0,0 +1,6 @@ + + \ No newline at end of file diff --git a/src/components/dynamic/ObjectElement.vue b/src/components/dynamic/ObjectElement.vue new file mode 100644 index 00000000..6bd9b7a4 --- /dev/null +++ b/src/components/dynamic/ObjectElement.vue @@ -0,0 +1,19 @@ + + \ No newline at end of file diff --git a/src/components/dynamic/TextElement.vue b/src/components/dynamic/TextElement.vue new file mode 100644 index 00000000..24e2ab22 --- /dev/null +++ b/src/components/dynamic/TextElement.vue @@ -0,0 +1,6 @@ + + \ No newline at end of file diff --git a/src/components/dynamic/TxsElement.vue b/src/components/dynamic/TxsElement.vue new file mode 100644 index 00000000..01495b39 --- /dev/null +++ b/src/components/dynamic/TxsElement.vue @@ -0,0 +1,35 @@ + + \ No newline at end of file diff --git a/src/components/dynamic/UInt8Array.vue b/src/components/dynamic/UInt8Array.vue new file mode 100644 index 00000000..6134cf4a --- /dev/null +++ b/src/components/dynamic/UInt8Array.vue @@ -0,0 +1,16 @@ + + \ No newline at end of file diff --git a/src/components/dynamic/index.ts b/src/components/dynamic/index.ts new file mode 100644 index 00000000..eed8e9a9 --- /dev/null +++ b/src/components/dynamic/index.ts @@ -0,0 +1,37 @@ +import ObjectElement from './ObjectElement.vue' +import TextElement from './TextElement.vue' +import ArrayElement from './ArrayElement.vue' +import UInt8Array from './UInt8Array.vue' +import NumberElement from './NumberElement.vue' +import TxsElement from './TxsElement.vue' +import Long from 'long' + +export function select(v: any, k?: any) { + if(k === 'txs' && v) { + console.log("=======txs=======", k, v) + return TxsElement + } else { + const type = typeof v + switch(type) { + case 'object': + return selectObject(v) + case 'number': + return NumberElement + default: + return TextElement + } + } +} + +function selectObject(v: Object) { + switch(true) { + case v instanceof Long: + return NumberElement + case v instanceof Uint8Array: + return UInt8Array + case Array.isArray(v): + return ArrayElement + default: + return ObjectElement + } +} \ No newline at end of file diff --git a/src/components/icons/IconCommunity.vue b/src/components/icons/IconCommunity.vue new file mode 100644 index 00000000..2dc8b055 --- /dev/null +++ b/src/components/icons/IconCommunity.vue @@ -0,0 +1,7 @@ + diff --git a/src/components/icons/IconDocumentation.vue b/src/components/icons/IconDocumentation.vue new file mode 100644 index 00000000..6d4791cf --- /dev/null +++ b/src/components/icons/IconDocumentation.vue @@ -0,0 +1,7 @@ + diff --git a/src/components/icons/IconEcosystem.vue b/src/components/icons/IconEcosystem.vue new file mode 100644 index 00000000..c3a4f078 --- /dev/null +++ b/src/components/icons/IconEcosystem.vue @@ -0,0 +1,7 @@ + diff --git a/src/components/icons/IconSupport.vue b/src/components/icons/IconSupport.vue new file mode 100644 index 00000000..7452834d --- /dev/null +++ b/src/components/icons/IconSupport.vue @@ -0,0 +1,7 @@ + diff --git a/src/components/icons/IconTooling.vue b/src/components/icons/IconTooling.vue new file mode 100644 index 00000000..660598d7 --- /dev/null +++ b/src/components/icons/IconTooling.vue @@ -0,0 +1,19 @@ + + diff --git a/src/layouts/blank.vue b/src/layouts/blank.vue new file mode 100644 index 00000000..f58fc214 --- /dev/null +++ b/src/layouts/blank.vue @@ -0,0 +1,21 @@ + + + diff --git a/src/layouts/components/Breadcrumbs.vue b/src/layouts/components/Breadcrumbs.vue new file mode 100644 index 00000000..2d328044 --- /dev/null +++ b/src/layouts/components/Breadcrumbs.vue @@ -0,0 +1,25 @@ + + \ No newline at end of file diff --git a/src/layouts/components/ChainProfile.vue b/src/layouts/components/ChainProfile.vue new file mode 100644 index 00000000..f4253946 --- /dev/null +++ b/src/layouts/components/ChainProfile.vue @@ -0,0 +1,56 @@ + + + diff --git a/src/layouts/components/DefaultLayout.vue b/src/layouts/components/DefaultLayout.vue new file mode 100644 index 00000000..b4373bf3 --- /dev/null +++ b/src/layouts/components/DefaultLayout.vue @@ -0,0 +1,110 @@ + + + + + diff --git a/src/layouts/components/Footer.vue b/src/layouts/components/Footer.vue new file mode 100644 index 00000000..e47afd34 --- /dev/null +++ b/src/layouts/components/Footer.vue @@ -0,0 +1,33 @@ + diff --git a/src/layouts/components/NavBarI18n.vue b/src/layouts/components/NavBarI18n.vue new file mode 100644 index 00000000..684f6192 --- /dev/null +++ b/src/layouts/components/NavBarI18n.vue @@ -0,0 +1,34 @@ + + + diff --git a/src/layouts/components/NavBarNotifications.vue b/src/layouts/components/NavBarNotifications.vue new file mode 100644 index 00000000..e5440054 --- /dev/null +++ b/src/layouts/components/NavBarNotifications.vue @@ -0,0 +1,88 @@ + + + diff --git a/src/layouts/components/NavSearchBar.vue b/src/layouts/components/NavSearchBar.vue new file mode 100644 index 00000000..a9c29318 --- /dev/null +++ b/src/layouts/components/NavSearchBar.vue @@ -0,0 +1,170 @@ + + + + + diff --git a/src/layouts/components/NavbarShortcuts.vue b/src/layouts/components/NavbarShortcuts.vue new file mode 100644 index 00000000..cdd1688f --- /dev/null +++ b/src/layouts/components/NavbarShortcuts.vue @@ -0,0 +1,44 @@ + + + diff --git a/src/layouts/components/NavbarThemeSwitcher.vue b/src/layouts/components/NavbarThemeSwitcher.vue new file mode 100644 index 00000000..10d1adc5 --- /dev/null +++ b/src/layouts/components/NavbarThemeSwitcher.vue @@ -0,0 +1,22 @@ + + + diff --git a/src/layouts/default.vue b/src/layouts/default.vue new file mode 100644 index 00000000..98d223d1 --- /dev/null +++ b/src/layouts/default.vue @@ -0,0 +1,19 @@ + + + + + diff --git a/src/libs/address.ts b/src/libs/address.ts new file mode 100644 index 00000000..b05597b9 --- /dev/null +++ b/src/libs/address.ts @@ -0,0 +1,73 @@ +import {fromBase64, fromBech32, fromHex, toBase64, toBech32, toHex} from '@cosmjs/encoding' +import { Ripemd160, sha256 } from '@cosmjs/crypto' +import { cosmos } from '@ping-pub/codegen' +import type { PubKey } from '@ping-pub/codegen/src/cosmos/crypto/ed25519/keys' + +export function decodeAddress(address: string) { + return fromBech32(address) +} + +export function valoperToPrefix(valoper?: string) { + if(!valoper) return '' + const prefixIndex = valoper.indexOf('valoper') + if (prefixIndex === -1) return null + return valoper.slice(0, prefixIndex) + } + + export function operatorAddressToAccount(operAddress?: string) { + if(!operAddress) return '' + const { prefix, data } = fromBech32(operAddress) + if (prefix === 'iva') { // handle special cases + return toBech32('iaa', data) + } + if (prefix === 'crocncl') { // handle special cases + return toBech32('cro', data) + } + return toBech32(prefix.replace('valoper', ''), data) + } + + export function decodeKey(consensusPubkey: {typeUrl: string, value: Uint8Array}) { + let raw = null + if (consensusPubkey.typeUrl === '/cosmos.crypto.ed25519.PubKey') { + const pubkey = cosmos.crypto.ed25519.PubKey.decode(consensusPubkey.value) + return pubkey + } + + if (consensusPubkey.typeUrl === '/cosmos.crypto.secp256k1.PubKey') { + const pubkey = cosmos.crypto.secp256k1.PubKey.decode(consensusPubkey.value) + return pubkey + } + return raw + + } +export function consensusPubkeyToHexAddress(consensusPubkey?: {typeUrl: string, value: Uint8Array}) { + if(!consensusPubkey) return "" + let raw = "" + if (consensusPubkey.typeUrl === '/cosmos.crypto.ed25519.PubKey') { + const pubkey = decodeKey(consensusPubkey) + if(pubkey) return toHex(sha256(pubkey.key)).slice(0, 40).toUpperCase() + } + + if (consensusPubkey.typeUrl === '/cosmos.crypto.secp256k1.PubKey') { + const pubkey = decodeKey(consensusPubkey) + if(pubkey) return toHex(new Ripemd160().update(sha256(pubkey.key)).digest()) + } + return raw + +} + + export function pubKeyToValcons(consensusPubkey: {typeUrl: string, value: Uint8Array}, prefix: string) { + const pubkey = decodeKey(consensusPubkey) + if(pubkey) { + const addressData = sha256(pubkey.key).slice(0, 20) + return toBech32(`${prefix}valcons`, addressData) + } + } + + export function toETHAddress(cosmosAddress: string) { + return `0x${toHex(fromBech32(cosmosAddress).data)}` + } + + export function addressEnCode(prefix: string, pubkey: Uint8Array) { + return toBech32(prefix, pubkey) + } \ No newline at end of file diff --git a/src/libs/api.ts b/src/libs/api.ts new file mode 100644 index 00000000..a6e465c4 --- /dev/null +++ b/src/libs/api.ts @@ -0,0 +1,16 @@ +import { type RequestRegistry, type Registry, convert, withCustomAdapter } from "./registry"; + +const DEFAULT: RequestRegistry = { + users: { url: "https://jsonplaceholder.typicode.com/users/1", adapter: convert }, + posts: { url: "https://jsonplaceholder.typicode.com/posts/1", adapter: convert }, + }; + +const VERSION_REGISTRY: Registry = { + "0.46.1": DEFAULT +} + +const NAME_REGISTRY: Registry = { + "evmos": withCustomAdapter(DEFAULT, {users: {url: "another url", adapter: (): User => {}}}) +} + + diff --git a/src/libs/extensions/OsmosMintExtention.ts b/src/libs/extensions/OsmosMintExtention.ts new file mode 100644 index 00000000..c5723062 --- /dev/null +++ b/src/libs/extensions/OsmosMintExtention.ts @@ -0,0 +1,38 @@ +import type { LCDClient } from "@osmonauts/lcd"; +import type { QueryAnnualProvisionsRequest, QueryAnnualProvisionsResponseSDKType, QueryInflationRequest, QueryInflationResponseSDKType, QueryParamsRequest, QueryParamsResponseSDKType } from '@ping-pub/codegen/src/cosmos/mint/v1beta1/query' + +export class OsmosisMintClient { + 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/src/libs/http.ts b/src/libs/http.ts new file mode 100644 index 00000000..8da24fc6 --- /dev/null +++ b/src/libs/http.ts @@ -0,0 +1,38 @@ +import fetch from 'cross-fetch' + +export interface ApiResponse { + data: T; +} + +// Usage: +// const usersResponse = await fetchData("https://somewhere/") +export async function fetchData(url: string): Promise> { + const response = await fetch(url); + const data = await response.json(); + + const result : ApiResponse = { + data + } + return result +} + +export async function get(url: string) { + return (await fetch(url)).json() +} + +export async function post(url: string, data: any) { + const response = await fetch(url, { + method: 'POST', // *GET, POST, PUT, DELETE, etc. + // mode: 'cors', // no-cors, *cors, same-origin + // credentials: 'same-origin', // redirect: 'follow', // manual, *follow, error + // referrerPolicy: 'origin', // no-referrer, *no-referrer-when-downgrade, origin, origin-when-cross-origin, same-origin, strict-origin, strict-origin-when-cross-origin, unsafe-url + headers: { + 'Content-Type': 'text/plain', + Accept: '*/*', + 'Accept-Encoding': 'gzip, deflate, br', + }, + body: JSON.stringify(data), // body data type must match "Content-Type" header + }) + // const response = axios.post((config ? config.api : this.config.api) + url, data) + return response.json() // parses JSON response into native JavaScript objects +} \ No newline at end of file diff --git a/src/libs/index.ts b/src/libs/index.ts new file mode 100644 index 00000000..af58bf6f --- /dev/null +++ b/src/libs/index.ts @@ -0,0 +1,4 @@ +export * from './address' +export * from './client' +export * from './http' +export * from './misc' \ No newline at end of file diff --git a/src/libs/misc.ts b/src/libs/misc.ts new file mode 100644 index 00000000..7d923407 --- /dev/null +++ b/src/libs/misc.ts @@ -0,0 +1,19 @@ +import { sha256 } from "@cosmjs/crypto"; +import { toHex } from "@cosmjs/encoding"; +import { PageRequest } from "@ping-pub/codegen/src/cosmos/base/query/v1beta1/pagination"; + +export function newPageRequest(param: { + key?: Uint8Array, + limit?: number, + offset?: number, + countTotal?: boolean, + reverse?: boolean +}) { + return PageRequest.fromPartial( + param + ) +} + +export function hashTx(raw: Uint8Array) { + return toHex(sha256(raw)).toUpperCase() +} \ No newline at end of file diff --git a/src/libs/registry.ts b/src/libs/registry.ts new file mode 100644 index 00000000..6b86729d --- /dev/null +++ b/src/libs/registry.ts @@ -0,0 +1,46 @@ +import semver from "semver"; + +interface Registry { + [key: string]: string; + } + + const registry: Registry = { + v1: "https://example.com/api/v1/endpoint", + v2: "https://example.com/api/v2/endpoint", + v3: "https://example.com/api/v3/endpoint", + alpha: "https://example.com/api/alpha/endpoint", + beta: "https://example.com/api/beta/endpoint", + production: "https://example.com/api/production/endpoint", + }; + +export function findConfigByName(name: string): string { + const base = "https://example.com/api/"; + + const url = registry[name]; + if (!url) { + throw new Error(`Unsupported version or name: ${name}`); + } + + return url; + } + +export function findConfigByVersion(version: string, registry: Registry): string { + let closestVersion: string | null = null; + + for (const key in registry) { + if (semver.satisfies(key, version)) { + if (!closestVersion || semver.gt(key, closestVersion)) { + closestVersion = key; + } + } + } + + if (!closestVersion) { + throw new Error(`Unsupported version: ${version}`); + } + + console.log(`Closest version to ${version}: ${closestVersion}`); + + return registry[closestVersion]; + } + \ No newline at end of file diff --git a/src/main.ts b/src/main.ts new file mode 100644 index 00000000..8d19d5aa --- /dev/null +++ b/src/main.ts @@ -0,0 +1,33 @@ +/* eslint-disable import/order */ +import "@/plugins/vuetify/@iconify/icons-bundle"; +import App from "@/App.vue"; +import layoutsPlugin from "@/plugins/vuetify/layouts"; +import vuetify from "@/plugins/vuetify"; +import i18n from "@/plugins/i18n"; +import { loadFonts } from "@/plugins/vuetify/webfontloader"; +import "@/plugins/vuetify/@core/scss/template/index.scss"; +import "@/plugins/vuetify/styles/styles.scss"; +import { createApp } from "vue"; +import { createPinia } from "pinia"; +// import router from "@/plugins/vuetify/router"; +import router from "./router"; +import { useBaseStore } from "./stores/useBaseStore"; + +loadFonts(); + +// Create vue app +const app = createApp(App); +// Use plugins +app.use(i18n) +app.use(vuetify); +app.use(createPinia()); +app.use(layoutsPlugin); +app.use(router); + + +// Mount vue app +app.mount("#app"); + +// fetch latest block every 6s +// const blockStore = useBaseStore() +// setInterval(() => {blockStore.fetchLatest()}, 6000) diff --git a/src/modules/[chain]/block/[height].vue b/src/modules/[chain]/block/[height].vue new file mode 100644 index 00000000..a1d528e5 --- /dev/null +++ b/src/modules/[chain]/block/[height].vue @@ -0,0 +1,58 @@ + + \ No newline at end of file diff --git a/src/modules/[chain]/block/block.ts b/src/modules/[chain]/block/block.ts new file mode 100644 index 00000000..6c20aa7b --- /dev/null +++ b/src/modules/[chain]/block/block.ts @@ -0,0 +1,62 @@ +import { defineStore } from "pinia"; +import { decodeTxRaw, type DecodedTxRaw } from '@cosmjs/proto-signing' +import { createBaseClientForChain } from "@/libs/client"; +import { useBlockchain } from "@/stores"; +import type { GetLatestBlockResponse, GetLatestBlockResponseSDKType } from "@ping-pub/codegen/src/cosmos/base/tendermint/v1beta1/query"; +import { hashTx } from "@/libs"; + +export const useBlockModule = defineStore('blockModule', { + state: () => { + return { + latest: {} as GetLatestBlockResponse, + current: {} as GetLatestBlockResponse, + recents: [] as GetLatestBlockResponse[] + } + }, + getters: { + blockchain() { + return useBlockchain() + }, + blocktime() { + if(this.recents.length<2) return 6000 + return 6000 // todo later + }, + txsInRecents() { + const txs = [] as {hash:string, tx: DecodedTxRaw}[] + this.recents.forEach((x:GetLatestBlockResponse) => x.block?.data?.txs.forEach((tx:Uint8Array) => txs.push({ + hash: hashTx(tx), + tx :decodeTxRaw(tx) + }))) + return txs + } + }, + actions: { + initial() { + this.clearRecentBlocks() + this.autoFetch() + }, + async clearRecentBlocks() { + this.recents = [] + }, + autoFetch() { + this.fetchLatest().then(x => { + const timer = this.autoFetch + this.latest = x; + // if(this.recents.length >= 50) this.recents.pop() + // this.recents.push(x) + // setTimeout(timer, 6000) + }) + }, + async fetchLatest() { + this.latest = await this.blockchain.rpc.block() + if(this.recents.length >= 50) this.recents.shift() + this.recents.push(this.latest) + return this.latest + }, + async fetchBlock(height?: number) { + this.current = await this.blockchain.rpc.block(height) + return this.current + }, + } +}) + diff --git a/src/modules/[chain]/block/index.vue b/src/modules/[chain]/block/index.vue new file mode 100644 index 00000000..b80e0e94 --- /dev/null +++ b/src/modules/[chain]/block/index.vue @@ -0,0 +1,74 @@ + + \ No newline at end of file diff --git a/src/modules/[chain]/index.vue b/src/modules/[chain]/index.vue new file mode 100644 index 00000000..50552a46 --- /dev/null +++ b/src/modules/[chain]/index.vue @@ -0,0 +1,191 @@ + + + + + diff --git a/src/modules/[chain]/indexStore.ts b/src/modules/[chain]/indexStore.ts new file mode 100644 index 00000000..7cdaf322 --- /dev/null +++ b/src/modules/[chain]/indexStore.ts @@ -0,0 +1,224 @@ +import { useBlockchain, useCoingecko, useBaseStore, useBankStore, useFormatter, useGovStore } from "@/stores"; +import { useDistributionStore } from "@/stores/useDistributionStore"; +import { useMintStore } from "@/stores/useMintStore"; +import { useStakingStore } from "@/stores/useStakingStore"; +import { ProposalStatus, type ProposalSDKType, Proposal } from "@ping-pub/codegen/src/cosmos/gov/v1beta1/gov"; +import numeral from "numeral"; +import { defineStore } from "pinia"; + +function colorMap(color: string) { + switch (color) { + case 'yellow': + return 'warning' + case 'green': + return 'success' + default: + return 'secondary' + } +} + +export const useIndexModule = defineStore('module-index', { + state: () => { + return { + days: 14, + tickerIndex: 0, + coinInfo: { + name: '', + symbol: '', + description: { + en: '' + }, + categories: [] as string[], + market_cap_rank: 0, + links: { + twitter_screen_name: '', + homepage: [] as string[], + repos_url: { + github: [] + }, + telegram_channel_identifier: '' + }, + market_data: { + price_change_percentage_24h: 0 + }, + tickers: [] as { + market: { + name: string, + identifier: string, + }, + coin_id: string, + target_coin_id: string, + trust_score: string, + trade_url: string, + converted_last: { + btc: number, + eth: number, + usd: number, + }, + base: string, + target: string, + }[] + }, + marketData: { + market_caps: [], + prices: [] as number[], + total_volumes: [] as number[], + }, + communityPool: [] as {amount: string, denom: string}[], + proposals: [] as Proposal[], + tally: {} as Record + } + }, + getters: { + blockchain() { + const chain = useBlockchain() + return chain.current + }, + coingecko() { + return useCoingecko() + }, + bankStore() { + return useBankStore() + }, + twitter() : string { + return `https://twitter.com/${this.coinInfo.links.twitter_screen_name}` + }, + homepage(): string { + const [page1, page2, page3] = this.coinInfo.links?.homepage + return page1 || page2 || page3 + }, + github(): string { + const [page1, page2, page3] = this.coinInfo.links?.repos_url?.github + return page1 || page2 || page3 + }, + telegram() : string { + return `https://t.me/${this.coinInfo.links.telegram_channel_identifier}` + }, + + priceChange(): string { + const change = this.coinInfo.market_data?.price_change_percentage_24h || 0 + return numeral(change).format('+0.[00]') + }, + + priceColor() : string { + const change = this.coinInfo.market_data?.price_change_percentage_24h || 0 + switch (true) { + case change > 0: + return 'text-success' + case change < 0: + return 'text-error' + default: + return '' + } + }, + trustColor() : string { + const change = this.coinInfo.tickers[this.tickerIndex]?.trust_score + return colorMap(change) + }, + + pool() { + const staking = useStakingStore() + return staking.pool + }, + + stats () { + const base = useBaseStore() + const bank = useBankStore() + const staking = useStakingStore() + const mintStore = useMintStore() + const formatter = useFormatter() + + return [ + { + title: 'Height', + color: 'primary', + icon: 'mdi-pound', + stats: String(base.latest.block?.header?.height || 0), + change: 0, + }, + { + title: 'Validators', + color: 'error', + icon: 'mdi-human-queue', + stats: String(base.latest.block?.lastCommit?.signatures.length || 0), + change: 0, + }, + { + title: 'Supply', + color: 'success', + icon: 'mdi-currency-usd', + stats: formatter.formatTokenAmount(bank.supply), + change: 0, + }, + { + title: 'Bonded Tokens', + color: 'warning', + icon: 'mdi-lock', + stats: formatter.formatTokenAmount({amount: this.pool.bondedTokens, denom: staking.params.bondDenom }), + change: 0, + }, + { + title: 'Inflation', + color: 'success', + icon: 'mdi-chart-multiple', + stats: formatter.formatDecimalToPercent(mintStore.inflation), + change: 0, + }, + { + title: 'Community Pool', + color: 'primary', + icon: 'mdi-bank', + stats: formatter.formatTokens(this.communityPool), + change: 0, + }, + ] + }, + }, + actions: { + async loadDashboard() { + console.log('initial dashboard') + this.$reset() + this.initCoingecko() + useMintStore().fetchInflation() + useDistributionStore().fetchCommunityPool().then(x => { + this.communityPool = x.pool.filter(t=> t.denom.length < 10).map(t => ({ + amount: String(parseInt(t.amount)), + denom: t.denom + })) + }) + const gov = useGovStore() + gov.fetchProposals(ProposalStatus.PROPOSAL_STATUS_VOTING_PERIOD).then(x => { + this.proposals = x.proposals + x.proposals.forEach(x1 => { + gov.fetchTally(Number(x1.proposalId)).then(t => { + console.log("log: ", t) + if(t.tally) this.tally[Number(x1.proposalId)] = t.tally + }) + }) + }) + }, + tickerColor(color: string) { + return colorMap(color) + }, + initCoingecko() { + this.tickerIndex = 0 + const [firstAsset] = this.blockchain?.assets || [] + if (firstAsset && firstAsset.coingecko_id) { + this.coingecko.getCoinInfo(firstAsset.coingecko_id).then(x => { + this.coinInfo = x + }) + this.coingecko.getMarketChart(this.days, firstAsset.coingecko_id).then(x => { + this.marketData = x + }) + } + }, + selectTicker(i: number) { + this.tickerIndex = i + } + } +}) \ No newline at end of file diff --git a/src/modules/[chain]/staking/[validator].vue b/src/modules/[chain]/staking/[validator].vue new file mode 100644 index 00000000..a93ef686 --- /dev/null +++ b/src/modules/[chain]/staking/[validator].vue @@ -0,0 +1,254 @@ + + + diff --git a/src/modules/[chain]/staking/index.vue b/src/modules/[chain]/staking/index.vue new file mode 100644 index 00000000..5c10b81e --- /dev/null +++ b/src/modules/[chain]/staking/index.vue @@ -0,0 +1,232 @@ + + \ No newline at end of file diff --git a/src/modules/[chain]/test.vue b/src/modules/[chain]/test.vue new file mode 100644 index 00000000..d30699a9 --- /dev/null +++ b/src/modules/[chain]/test.vue @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/src/modules/[chain]/tx/[hash].vue b/src/modules/[chain]/tx/[hash].vue new file mode 100644 index 00000000..8daacdc9 --- /dev/null +++ b/src/modules/[chain]/tx/[hash].vue @@ -0,0 +1,66 @@ + + \ No newline at end of file diff --git a/src/modules/wallet/test.vue b/src/modules/wallet/test.vue new file mode 100644 index 00000000..9a8bf65b --- /dev/null +++ b/src/modules/wallet/test.vue @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/src/pages/[...all].vue b/src/pages/[...all].vue new file mode 100644 index 00000000..e5a39b58 --- /dev/null +++ b/src/pages/[...all].vue @@ -0,0 +1,40 @@ + + + + + + + +meta: + layout: blank + action: read + subject: Auth + diff --git a/src/pages/index.vue b/src/pages/index.vue new file mode 100644 index 00000000..18801721 --- /dev/null +++ b/src/pages/index.vue @@ -0,0 +1,56 @@ + + diff --git a/src/pages/second-page.vue b/src/pages/second-page.vue new file mode 100644 index 00000000..c89c7827 --- /dev/null +++ b/src/pages/second-page.vue @@ -0,0 +1,18 @@ + + + meta: + layout: blank + bgColor: yellow + \ No newline at end of file diff --git a/src/plugins/i18n/index.ts b/src/plugins/i18n/index.ts new file mode 100644 index 00000000..89c684d8 --- /dev/null +++ b/src/plugins/i18n/index.ts @@ -0,0 +1,15 @@ +import { createI18n } from 'vue-i18n' + +const messages = Object.fromEntries( + Object.entries( + // eslint-disable-next-line @typescript-eslint/no-explicit-any + import.meta.glob<{ default: any }>('./locales/*.json', { eager: true })) + .map(([key, value]) => [key.slice(10, -5), value.default]), +) + +export default createI18n({ + legacy: false, + locale: localStorage.getItem('lang') || 'en', + fallbackLocale: 'en', + messages, +}) diff --git a/src/plugins/i18n/locales/cn.json b/src/plugins/i18n/locales/cn.json new file mode 100644 index 00000000..811b4c65 --- /dev/null +++ b/src/plugins/i18n/locales/cn.json @@ -0,0 +1,14 @@ +{ + "module": { + "chain": "面板首页", + "chain-test": "测试功能", + }, + "index": { + "slogan": "Ping Dashboard 是一个区块链浏览器,也是一个网页钱包,还有更多 ... 🛠", + "search_placeholder": "搜索区块链", + "add_to_favorite": "加入收藏夹" + }, + "Ecosystem": "生态系统", + "All Blockchains": "全部区块链", + "Favorite": "收藏夹" +} diff --git a/src/plugins/i18n/locales/en.json b/src/plugins/i18n/locales/en.json new file mode 100644 index 00000000..e95911cb --- /dev/null +++ b/src/plugins/i18n/locales/en.json @@ -0,0 +1,15 @@ +{ + "module": { + "chain": "Dashboard", + "chain-test": "test", + }, + "index": { + "slogan": "Ping Dashboard is not just an explorer but also a wallet and more ... 🛠", + "search_placeholder": "Search Chain", + "add_to_favorite": "Add to favorite" + }, + "Ecosystem": "Ecosystem", + "All Blockchains": "All Blockchain222", + "Favorite": "Favorite" + +} diff --git a/src/plugins/pinia/ClientProperties.ts b/src/plugins/pinia/ClientProperties.ts new file mode 100644 index 00000000..d8320a37 --- /dev/null +++ b/src/plugins/pinia/ClientProperties.ts @@ -0,0 +1,11 @@ +import type { RPCClient } from '@/libs/client.rpc' +import 'pinia' +import type { Ref } from 'vue' + +declare module 'pinia' { + export interface PiniaCustomProperties { + // by using a setter we can allow both strings and refs + set rpc(value: RPCClient | Ref) + get rpc(): RPCClient + } +} \ No newline at end of file diff --git a/src/plugins/pinia/dashboardPlugin.ts b/src/plugins/pinia/dashboardPlugin.ts new file mode 100644 index 00000000..9e4a6415 --- /dev/null +++ b/src/plugins/pinia/dashboardPlugin.ts @@ -0,0 +1,10 @@ +import type { PiniaPluginContext } from "pinia" + +export function DashboardPlugin(context: PiniaPluginContext) { + context.pinia // the pinia created with `createPinia()` + context.app // the current app created with `createApp()` (Vue 3 only) + context.store // the store the plugin is augmenting + context.options // the options object defining the store passed to `defineStore()` + // ... + context.store.$subscribe((m, s) => console.log(m, s)) +} \ No newline at end of file diff --git a/src/plugins/vuetify/@core/components/AddAuthenticatorAppDialog.vue b/src/plugins/vuetify/@core/components/AddAuthenticatorAppDialog.vue new file mode 100644 index 00000000..809766da --- /dev/null +++ b/src/plugins/vuetify/@core/components/AddAuthenticatorAppDialog.vue @@ -0,0 +1,100 @@ + + + diff --git a/src/plugins/vuetify/@core/components/AddEditAddressDialog.vue b/src/plugins/vuetify/@core/components/AddEditAddressDialog.vue new file mode 100644 index 00000000..9844eaf4 --- /dev/null +++ b/src/plugins/vuetify/@core/components/AddEditAddressDialog.vue @@ -0,0 +1,261 @@ + + + diff --git a/src/plugins/vuetify/@core/components/AppBarSearch.vue b/src/plugins/vuetify/@core/components/AppBarSearch.vue new file mode 100644 index 00000000..3af17c3a --- /dev/null +++ b/src/plugins/vuetify/@core/components/AppBarSearch.vue @@ -0,0 +1,378 @@ + + + + + + + diff --git a/src/plugins/vuetify/@core/components/AppCardActions.vue b/src/plugins/vuetify/@core/components/AppCardActions.vue new file mode 100644 index 00000000..2baa9140 --- /dev/null +++ b/src/plugins/vuetify/@core/components/AppCardActions.vue @@ -0,0 +1,152 @@ + + + + + diff --git a/src/plugins/vuetify/@core/components/AppCardCode.vue b/src/plugins/vuetify/@core/components/AppCardCode.vue new file mode 100644 index 00000000..2abb1248 --- /dev/null +++ b/src/plugins/vuetify/@core/components/AppCardCode.vue @@ -0,0 +1,125 @@ + + + + + diff --git a/src/plugins/vuetify/@core/components/AppDateTimePicker.vue b/src/plugins/vuetify/@core/components/AppDateTimePicker.vue new file mode 100644 index 00000000..fea142d8 --- /dev/null +++ b/src/plugins/vuetify/@core/components/AppDateTimePicker.vue @@ -0,0 +1,416 @@ + + + + + diff --git a/src/plugins/vuetify/@core/components/AppDrawerHeaderSection.vue b/src/plugins/vuetify/@core/components/AppDrawerHeaderSection.vue new file mode 100644 index 00000000..dbb82605 --- /dev/null +++ b/src/plugins/vuetify/@core/components/AppDrawerHeaderSection.vue @@ -0,0 +1,29 @@ + + + diff --git a/src/plugins/vuetify/@core/components/AppOtpInput.vue b/src/plugins/vuetify/@core/components/AppOtpInput.vue new file mode 100644 index 00000000..29fec92d --- /dev/null +++ b/src/plugins/vuetify/@core/components/AppOtpInput.vue @@ -0,0 +1,88 @@ + + + + + diff --git a/src/plugins/vuetify/@core/components/AppPricing.vue b/src/plugins/vuetify/@core/components/AppPricing.vue new file mode 100644 index 00000000..74af0b0f --- /dev/null +++ b/src/plugins/vuetify/@core/components/AppPricing.vue @@ -0,0 +1,230 @@ + + + + + diff --git a/src/plugins/vuetify/@core/components/AppSearchHeader.vue b/src/plugins/vuetify/@core/components/AppSearchHeader.vue new file mode 100644 index 00000000..58095156 --- /dev/null +++ b/src/plugins/vuetify/@core/components/AppSearchHeader.vue @@ -0,0 +1,77 @@ + + + + + diff --git a/src/plugins/vuetify/@core/components/BuyNow.vue b/src/plugins/vuetify/@core/components/BuyNow.vue new file mode 100644 index 00000000..56a424ec --- /dev/null +++ b/src/plugins/vuetify/@core/components/BuyNow.vue @@ -0,0 +1,40 @@ + + + + + diff --git a/src/plugins/vuetify/@core/components/CardAddEditDialog.vue b/src/plugins/vuetify/@core/components/CardAddEditDialog.vue new file mode 100644 index 00000000..21054440 --- /dev/null +++ b/src/plugins/vuetify/@core/components/CardAddEditDialog.vue @@ -0,0 +1,147 @@ + + + diff --git a/src/plugins/vuetify/@core/components/CardStatisticsHorizontal.vue b/src/plugins/vuetify/@core/components/CardStatisticsHorizontal.vue new file mode 100644 index 00000000..4b5b9216 --- /dev/null +++ b/src/plugins/vuetify/@core/components/CardStatisticsHorizontal.vue @@ -0,0 +1,55 @@ + + + diff --git a/src/plugins/vuetify/@core/components/CardStatisticsVertical.vue b/src/plugins/vuetify/@core/components/CardStatisticsVertical.vue new file mode 100644 index 00000000..727af923 --- /dev/null +++ b/src/plugins/vuetify/@core/components/CardStatisticsVertical.vue @@ -0,0 +1,63 @@ + + + diff --git a/src/plugins/vuetify/@core/components/CardStatisticsWithImages.vue b/src/plugins/vuetify/@core/components/CardStatisticsWithImages.vue new file mode 100644 index 00000000..a6a2900b --- /dev/null +++ b/src/plugins/vuetify/@core/components/CardStatisticsWithImages.vue @@ -0,0 +1,65 @@ + + + + + diff --git a/src/plugins/vuetify/@core/components/ConfirmDialog.vue b/src/plugins/vuetify/@core/components/ConfirmDialog.vue new file mode 100644 index 00000000..b3c79364 --- /dev/null +++ b/src/plugins/vuetify/@core/components/ConfirmDialog.vue @@ -0,0 +1,73 @@ + + + diff --git a/src/plugins/vuetify/@core/components/CustomCheckboxes.vue b/src/plugins/vuetify/@core/components/CustomCheckboxes.vue new file mode 100644 index 00000000..e3468239 --- /dev/null +++ b/src/plugins/vuetify/@core/components/CustomCheckboxes.vue @@ -0,0 +1,75 @@ + + + + + diff --git a/src/plugins/vuetify/@core/components/CustomCheckboxesWithIcon.vue b/src/plugins/vuetify/@core/components/CustomCheckboxesWithIcon.vue new file mode 100644 index 00000000..4adbd8f5 --- /dev/null +++ b/src/plugins/vuetify/@core/components/CustomCheckboxesWithIcon.vue @@ -0,0 +1,77 @@ + + + + + diff --git a/src/plugins/vuetify/@core/components/CustomCheckboxesWithImage.vue b/src/plugins/vuetify/@core/components/CustomCheckboxesWithImage.vue new file mode 100644 index 00000000..d768a1bf --- /dev/null +++ b/src/plugins/vuetify/@core/components/CustomCheckboxesWithImage.vue @@ -0,0 +1,80 @@ + + + + + diff --git a/src/plugins/vuetify/@core/components/CustomRadios.vue b/src/plugins/vuetify/@core/components/CustomRadios.vue new file mode 100644 index 00000000..4543cf70 --- /dev/null +++ b/src/plugins/vuetify/@core/components/CustomRadios.vue @@ -0,0 +1,74 @@ + + + + + diff --git a/src/plugins/vuetify/@core/components/CustomRadiosWithIcon.vue b/src/plugins/vuetify/@core/components/CustomRadiosWithIcon.vue new file mode 100644 index 00000000..cbf58f68 --- /dev/null +++ b/src/plugins/vuetify/@core/components/CustomRadiosWithIcon.vue @@ -0,0 +1,77 @@ + + + + + diff --git a/src/plugins/vuetify/@core/components/CustomRadiosWithImage.vue b/src/plugins/vuetify/@core/components/CustomRadiosWithImage.vue new file mode 100644 index 00000000..b92ba7c4 --- /dev/null +++ b/src/plugins/vuetify/@core/components/CustomRadiosWithImage.vue @@ -0,0 +1,65 @@ + + + + + diff --git a/src/plugins/vuetify/@core/components/CustomizerSection.vue b/src/plugins/vuetify/@core/components/CustomizerSection.vue new file mode 100644 index 00000000..455327bf --- /dev/null +++ b/src/plugins/vuetify/@core/components/CustomizerSection.vue @@ -0,0 +1,22 @@ + + + diff --git a/src/plugins/vuetify/@core/components/DialogCloseBtn.vue b/src/plugins/vuetify/@core/components/DialogCloseBtn.vue new file mode 100644 index 00000000..db116ddf --- /dev/null +++ b/src/plugins/vuetify/@core/components/DialogCloseBtn.vue @@ -0,0 +1,20 @@ + + + diff --git a/src/plugins/vuetify/@core/components/EnableOneTimePasswordDialog.vue b/src/plugins/vuetify/@core/components/EnableOneTimePasswordDialog.vue new file mode 100644 index 00000000..1b56a043 --- /dev/null +++ b/src/plugins/vuetify/@core/components/EnableOneTimePasswordDialog.vue @@ -0,0 +1,79 @@ + + + diff --git a/src/plugins/vuetify/@core/components/ErrorHeader.vue b/src/plugins/vuetify/@core/components/ErrorHeader.vue new file mode 100644 index 00000000..d5cd1525 --- /dev/null +++ b/src/plugins/vuetify/@core/components/ErrorHeader.vue @@ -0,0 +1,22 @@ + + + diff --git a/src/plugins/vuetify/@core/components/I18n.vue b/src/plugins/vuetify/@core/components/I18n.vue new file mode 100644 index 00000000..fb5889e4 --- /dev/null +++ b/src/plugins/vuetify/@core/components/I18n.vue @@ -0,0 +1,56 @@ + + + diff --git a/src/plugins/vuetify/@core/components/MoreBtn.vue b/src/plugins/vuetify/@core/components/MoreBtn.vue new file mode 100644 index 00000000..8fdffea3 --- /dev/null +++ b/src/plugins/vuetify/@core/components/MoreBtn.vue @@ -0,0 +1,27 @@ + + + diff --git a/src/plugins/vuetify/@core/components/Notifications.vue b/src/plugins/vuetify/@core/components/Notifications.vue new file mode 100644 index 00000000..85a493d3 --- /dev/null +++ b/src/plugins/vuetify/@core/components/Notifications.vue @@ -0,0 +1,196 @@ + + + + + diff --git a/src/plugins/vuetify/@core/components/PricingPlanDialog.vue b/src/plugins/vuetify/@core/components/PricingPlanDialog.vue new file mode 100644 index 00000000..74be892d --- /dev/null +++ b/src/plugins/vuetify/@core/components/PricingPlanDialog.vue @@ -0,0 +1,55 @@ + + + + + diff --git a/src/plugins/vuetify/@core/components/ReferAndEarnDialog.vue b/src/plugins/vuetify/@core/components/ReferAndEarnDialog.vue new file mode 100644 index 00000000..24bc6545 --- /dev/null +++ b/src/plugins/vuetify/@core/components/ReferAndEarnDialog.vue @@ -0,0 +1,185 @@ + + + + + diff --git a/src/plugins/vuetify/@core/components/ShareProjectDialog.vue b/src/plugins/vuetify/@core/components/ShareProjectDialog.vue new file mode 100644 index 00000000..fed20ec4 --- /dev/null +++ b/src/plugins/vuetify/@core/components/ShareProjectDialog.vue @@ -0,0 +1,203 @@ + + + + + diff --git a/src/plugins/vuetify/@core/components/Shortcuts.vue b/src/plugins/vuetify/@core/components/Shortcuts.vue new file mode 100644 index 00000000..8441f8cb --- /dev/null +++ b/src/plugins/vuetify/@core/components/Shortcuts.vue @@ -0,0 +1,76 @@ + + + diff --git a/src/plugins/vuetify/@core/components/TheCustomizer.vue b/src/plugins/vuetify/@core/components/TheCustomizer.vue new file mode 100644 index 00000000..f81c4861 --- /dev/null +++ b/src/plugins/vuetify/@core/components/TheCustomizer.vue @@ -0,0 +1,376 @@ + + + + + diff --git a/src/plugins/vuetify/@core/components/ThemeSwitcher.vue b/src/plugins/vuetify/@core/components/ThemeSwitcher.vue new file mode 100644 index 00000000..41e7a677 --- /dev/null +++ b/src/plugins/vuetify/@core/components/ThemeSwitcher.vue @@ -0,0 +1,32 @@ + + + diff --git a/src/plugins/vuetify/@core/components/TwoFactorAuthDialog.vue b/src/plugins/vuetify/@core/components/TwoFactorAuthDialog.vue new file mode 100644 index 00000000..6f9353ec --- /dev/null +++ b/src/plugins/vuetify/@core/components/TwoFactorAuthDialog.vue @@ -0,0 +1,158 @@ + + + + + diff --git a/src/plugins/vuetify/@core/components/UserInfoEditDialog.vue b/src/plugins/vuetify/@core/components/UserInfoEditDialog.vue new file mode 100644 index 00000000..51781eed --- /dev/null +++ b/src/plugins/vuetify/@core/components/UserInfoEditDialog.vue @@ -0,0 +1,226 @@ + + + diff --git a/src/plugins/vuetify/@core/components/UserUpgradePlanDialog.vue b/src/plugins/vuetify/@core/components/UserUpgradePlanDialog.vue new file mode 100644 index 00000000..13a900e7 --- /dev/null +++ b/src/plugins/vuetify/@core/components/UserUpgradePlanDialog.vue @@ -0,0 +1,89 @@ + + + diff --git a/src/plugins/vuetify/@core/composable/useGenerateImageVariant.ts b/src/plugins/vuetify/@core/composable/useGenerateImageVariant.ts new file mode 100644 index 00000000..4ddb0a68 --- /dev/null +++ b/src/plugins/vuetify/@core/composable/useGenerateImageVariant.ts @@ -0,0 +1,26 @@ +import { useTheme } from 'vuetify' +import { useThemeConfig } from '@core/composable/useThemeConfig' + +const { skin } = useThemeConfig() + +// composable function to return the image variant as per the current theme and skin +export const useGenerateImageVariant = (imgLight: string, imgDark: string, imgLightBordered?: string, imgDarkBordered?: string, bordered = false) => { + const { global } = useTheme() + + return computed(() => { + if (global.name.value === 'light') { + if (skin.value === 'bordered' && bordered) + return imgLightBordered + + else + return imgLight + } + if (global.name.value === 'dark') { + if (skin.value === 'bordered' && bordered) + return imgDarkBordered + + else + return imgDark + } + }) +} diff --git a/src/plugins/vuetify/@core/composable/useResponsiveSidebar.ts b/src/plugins/vuetify/@core/composable/useResponsiveSidebar.ts new file mode 100644 index 00000000..a670c612 --- /dev/null +++ b/src/plugins/vuetify/@core/composable/useResponsiveSidebar.ts @@ -0,0 +1,29 @@ +import type { Ref } from 'vue' +import { useDisplay } from 'vuetify' + +export const useResponsiveLeftSidebar = (mobileBreakpoint: Ref | undefined = undefined) => { + const { mdAndDown, name: currentBreakpoint } = useDisplay() + + const _mobileBreakpoint = mobileBreakpoint || mdAndDown + + const isLeftSidebarOpen = ref(true) + + const setInitialValue = () => { + isLeftSidebarOpen.value = !_mobileBreakpoint.value + } + + // Set the initial value of sidebar + setInitialValue() + + watch( + currentBreakpoint, + () => { + // Reset left sidebar + isLeftSidebarOpen.value = !_mobileBreakpoint.value + }, + ) + + return { + isLeftSidebarOpen, + } +} diff --git a/src/plugins/vuetify/@core/composable/useSkins.ts b/src/plugins/vuetify/@core/composable/useSkins.ts new file mode 100644 index 00000000..27080205 --- /dev/null +++ b/src/plugins/vuetify/@core/composable/useSkins.ts @@ -0,0 +1,36 @@ +import { VThemeProvider } from 'vuetify/components' +import { AppContentLayoutNav } from '@layouts/enums' + +// TODO: Use `VThemeProvider` from dist instead of lib (Using this component from dist causes navbar to loose sticky positioning) +import { useThemeConfig } from '@core/composable/useThemeConfig' + +export const useSkins = () => { + const { isVerticalNavSemiDark, skin, appContentLayoutNav } = useThemeConfig() + + const layoutAttrs = computed(() => ({ + verticalNavAttrs: { + wrapper: h(VThemeProvider, { tag: 'aside' }), + wrapperProps: { + withBackground: true, + theme: isVerticalNavSemiDark.value && appContentLayoutNav.value === AppContentLayoutNav.Vertical + ? 'dark' + : undefined, + }, + }, + })) + + const injectSkinClasses = () => { + const bodyClasses = document.body.classList + const genSkinClass = (_skin?: string) => `skin--${_skin}` + + watch(skin, (val, oldVal) => { + bodyClasses.remove(genSkinClass(oldVal)) + bodyClasses.add(genSkinClass(val)) + }, { immediate: true }) + } + + return { + injectSkinClasses, + layoutAttrs, + } +} diff --git a/src/plugins/vuetify/@core/composable/useThemeConfig.ts b/src/plugins/vuetify/@core/composable/useThemeConfig.ts new file mode 100644 index 00000000..6818c36c --- /dev/null +++ b/src/plugins/vuetify/@core/composable/useThemeConfig.ts @@ -0,0 +1,154 @@ +import { useTheme } from 'vuetify' +import { useLayouts } from '@layouts' +import { themeConfig } from '@themeConfig' + +export const isDarkPreferred = usePreferredDark() + +export const useThemeConfig = () => { + const theme = computed({ + get() { + return themeConfig.app.theme.value + }, + set(value: typeof themeConfig.app.theme.value) { + themeConfig.app.theme.value = value + localStorage.setItem(`${themeConfig.app.title}-theme`, value.toString()) + + // ℹ️ We will not reset semi dark value when turning off dark mode because some user think it as bug + // if (value !== 'light') + // // eslint-disable-next-line @typescript-eslint/no-use-before-define + // isVerticalNavSemiDark.value = false + }, + }) + + const isVerticalNavSemiDark = computed({ + get() { + return themeConfig.verticalNav.isVerticalNavSemiDark.value + }, + set(value: typeof themeConfig.verticalNav.isVerticalNavSemiDark.value) { + themeConfig.verticalNav.isVerticalNavSemiDark.value = value + localStorage.setItem(`${themeConfig.app.title}-isVerticalNavSemiDark`, value.toString()) + }, + }) + + const syncVuetifyThemeWithTheme = () => { + const vuetifyTheme = useTheme() + + watch([theme, isDarkPreferred], ([val, _]) => { + vuetifyTheme.global.name.value = val === 'system' + ? isDarkPreferred.value + ? 'dark' + : 'light' + : val + }) + } + + /* + ℹ️ Set current theme's surface color in localStorage + + Why? Because when initial loader is shown (before vue is ready) we need to what's the current theme's surface color. + We will use color stored in localStorage to set the initial loader's background color. + + With this we will be able to show correct background color for the initial loader even before vue identify the current theme. + */ + const syncInitialLoaderTheme = () => { + const vuetifyTheme = useTheme() + + watch(theme, val => { + // ℹ️ We are not using theme.current.colors.surface because watcher is independent and when this watcher is ran `theme` computed is not updated + localStorage.setItem(`${themeConfig.app.title}-initial-loader-bg`, vuetifyTheme.current.value.colors.surface) + localStorage.setItem(`${themeConfig.app.title}-initial-loader-color`, vuetifyTheme.current.value.colors.primary) + }, { + immediate: true, + }) + } + + const skin = computed({ + get() { + return themeConfig.app.skin.value + }, + set(value: typeof themeConfig.app.skin.value) { + themeConfig.app.skin.value = value + localStorage.setItem(`${themeConfig.app.title}-skin`, value) + }, + }) + + const appRouteTransition = computed({ + get() { + return themeConfig.app.routeTransition.value + }, + set(value: typeof themeConfig.app.routeTransition.value) { + themeConfig.app.routeTransition.value = value + localStorage.setItem(`${themeConfig.app.title}-transition`, value) + }, + }) + + // `@layouts` exports + const { + navbarType, + isNavbarBlurEnabled, + footerType, + isVerticalNavCollapsed, + appContentWidth, + appContentLayoutNav, + horizontalNavType, + isLessThanOverlayNavBreakpoint, + isAppRtl, + switchToVerticalNavOnLtOverlayNavBreakpoint, + } = useLayouts() + + // const syncRtlWithRtlLang = (rtlLangs: string[], rtlDefaultLocale: string, ltrDefaultLocale: string) => { + // const { locale } = useI18n({ useScope: 'global' }) + + // watch(isAppRtl, val => { + // if (val) + // locale.value = rtlDefaultLocale + // else locale.value = ltrDefaultLocale + // }) + // watch(locale, val => { + // if (rtlLangs.includes(val)) + // isAppRtl.value = true + // else isAppRtl.value = false + // }) + + // watch( + // [isAppRtl, locale], + // ([valIsAppRTL, valLocale], [oldValIsAppRtl, oldValLocale]) => { + // const isRtlUpdated = valIsAppRTL !== oldValIsAppRtl + + // if (isRtlUpdated) { + // if (valIsAppRTL) + // locale.value = rtlDefaultLocale + // else locale.value = ltrDefaultLocale + // } + // else { + // if (rtlLangs.includes(valLocale)) + // isAppRtl.value = true + // else isAppRtl.value = false + // } + // }, + // ) + // } + + return { + theme, + isVerticalNavSemiDark, + syncVuetifyThemeWithTheme, + syncInitialLoaderTheme, + skin, + appRouteTransition, + + // @layouts exports + navbarType, + isNavbarBlurEnabled, + footerType, + isVerticalNavCollapsed, + appContentWidth, + appContentLayoutNav, + horizontalNavType, + isLessThanOverlayNavBreakpoint, + isAppRtl, + switchToVerticalNavOnLtOverlayNavBreakpoint, + + // syncRtlWithRtlLang, + } +} diff --git a/src/plugins/vuetify/@core/enums.ts b/src/plugins/vuetify/@core/enums.ts new file mode 100644 index 00000000..88caf349 --- /dev/null +++ b/src/plugins/vuetify/@core/enums.ts @@ -0,0 +1,14 @@ +export const Skins = { + Default: 'default', + Bordered: 'bordered', +} as const + +export const RouteTransitions = { + // 'Zoom Fade': 'app-transition-zoom-fade', + // 'Fade Bottom': 'app-transition-fade-bottom', + // 'Slide Fade': 'app-transition-slide-fade', + // 'Zoom out': 'app-transition-zoom-out', + + Fade: 'app-transition-fade', + None: 'none', +} as const diff --git a/src/plugins/vuetify/@core/index.ts b/src/plugins/vuetify/@core/index.ts new file mode 100644 index 00000000..f2cef0e6 --- /dev/null +++ b/src/plugins/vuetify/@core/index.ts @@ -0,0 +1,97 @@ +import type { ThemeConfig, UserThemeConfig } from './types' +import { RouteTransitions, Skins } from '@core/enums' +import type { UserConfig as LayoutConfig } from '@layouts/types' + +export const defineThemeConfig = ( + userConfig: UserThemeConfig, +): { themeConfig: ThemeConfig; layoutConfig: LayoutConfig } => { + const localStorageTheme = localStorage.getItem(`${userConfig.app.title}-theme`) + const localStorageIsVerticalNavSemiDark = localStorage.getItem(`${userConfig.app.title}-isVerticalNavSemiDark`) + + const localStorageSkin = (() => { + const storageValue = localStorage.getItem(`${userConfig.app.title}-skin`) + + return Object.values(Skins).find(v => v === storageValue) + })() + + const localStorageTransition = (() => { + const storageValue = localStorage.getItem(`${userConfig.app.title}-transition`) + + return Object.values(RouteTransitions).find(v => v === storageValue) + })() + + return { + themeConfig: { + app: { + title: userConfig.app.title, + logo: userConfig.app.logo, + contentWidth: ref(userConfig.app.contentWidth), + contentLayoutNav: ref(userConfig.app.contentLayoutNav), + overlayNavFromBreakpoint: userConfig.app.overlayNavFromBreakpoint, + enableI18n: userConfig.app.enableI18n, + theme: ref(localStorageTheme || userConfig.app.theme), + isRtl: ref(userConfig.app.isRtl), + skin: ref(localStorageSkin || userConfig.app.skin), + routeTransition: ref(localStorageTransition || userConfig.app.routeTransition), + iconRenderer: userConfig.app.iconRenderer, + }, + navbar: { + type: ref(userConfig.navbar.type), + navbarBlur: ref(userConfig.navbar.navbarBlur), + }, + footer: { type: ref(userConfig.footer.type) }, + verticalNav: { + isVerticalNavCollapsed: ref(userConfig.verticalNav.isVerticalNavCollapsed), + defaultNavItemIconProps: userConfig.verticalNav.defaultNavItemIconProps, + isVerticalNavSemiDark: ref(localStorageIsVerticalNavSemiDark ? JSON.parse(localStorageIsVerticalNavSemiDark) : userConfig.verticalNav.isVerticalNavSemiDark), + }, + horizontalNav: { + type: ref(userConfig.horizontalNav.type), + transition: userConfig.horizontalNav.transition, + }, + icons: { + chevronDown: userConfig.icons.chevronDown, + chevronRight: userConfig.icons.chevronRight, + close: userConfig.icons.close, + verticalNavPinned: userConfig.icons.verticalNavPinned, + verticalNavUnPinned: userConfig.icons.verticalNavUnPinned, + sectionTitlePlaceholder: userConfig.icons.sectionTitlePlaceholder, + }, + }, + layoutConfig: { + app: { + title: userConfig.app.title, + logo: userConfig.app.logo, + contentWidth: userConfig.app.contentWidth, + contentLayoutNav: userConfig.app.contentLayoutNav, + overlayNavFromBreakpoint: userConfig.app.overlayNavFromBreakpoint, + enableI18n: userConfig.app.enableI18n, + isRtl: userConfig.app.isRtl, + iconRenderer: userConfig.app.iconRenderer, + }, + navbar: { + type: userConfig.navbar.type, + navbarBlur: userConfig.navbar.navbarBlur, + }, + footer: { + type: userConfig.footer.type, + }, + verticalNav: { + isVerticalNavCollapsed: userConfig.verticalNav.isVerticalNavCollapsed, + defaultNavItemIconProps: userConfig.verticalNav.defaultNavItemIconProps, + }, + horizontalNav: { + type: userConfig.horizontalNav.type, + transition: userConfig.horizontalNav.transition, + }, + icons: { + chevronDown: userConfig.icons.chevronDown, + chevronRight: userConfig.icons.chevronRight, + close: userConfig.icons.close, + verticalNavPinned: userConfig.icons.verticalNavPinned, + verticalNavUnPinned: userConfig.icons.verticalNavUnPinned, + sectionTitlePlaceholder: userConfig.icons.sectionTitlePlaceholder, + }, + }, + } +} diff --git a/src/plugins/vuetify/@core/libs/apex-chart/apexCharConfig.ts b/src/plugins/vuetify/@core/libs/apex-chart/apexCharConfig.ts new file mode 100644 index 00000000..c37a8d24 --- /dev/null +++ b/src/plugins/vuetify/@core/libs/apex-chart/apexCharConfig.ts @@ -0,0 +1,703 @@ +import type { ThemeInstance } from 'vuetify' +import { hexToRgb } from '@layouts/utils' + +// 👉 Colors variables +const colorVariables = (themeColors: ThemeInstance['themes']['value']['colors']) => { + const themeSecondaryTextColor = `rgba(${hexToRgb(themeColors.colors['on-surface'])},${themeColors.variables['medium-emphasis-opacity']})` + const themeDisabledTextColor = `rgba(${hexToRgb(themeColors.colors['on-surface'])},${themeColors.variables['disabled-opacity']})` + const themeBorderColor = `rgba(${hexToRgb(String(themeColors.variables['border-color']))},${themeColors.variables['border-opacity']})` + const themePrimaryTextColor = `rgba(${hexToRgb(themeColors.colors['on-surface'])},${themeColors.variables['high-emphasis-opacity']})` + + return { themeSecondaryTextColor, themeDisabledTextColor, themeBorderColor, themePrimaryTextColor } +} + +export const getScatterChartConfig = (themeColors: ThemeInstance['themes']['value']['colors']) => { + const scatterColors = { + series1: '#ff9f43', + series2: '#7367f0', + series3: '#28c76f', + } + + const { themeSecondaryTextColor, themeBorderColor, themeDisabledTextColor } = colorVariables(themeColors) + + return { + chart: { + parentHeightOffset: 0, + toolbar: { show: false }, + zoom: { + type: 'xy', + enabled: true, + }, + }, + legend: { + position: 'top', + horizontalAlign: 'left', + markers: { offsetX: -3 }, + + labels: { colors: themeSecondaryTextColor }, + itemMargin: { + vertical: 3, + horizontal: 10, + }, + }, + colors: [scatterColors.series1, scatterColors.series2, scatterColors.series3], + grid: { + borderColor: themeBorderColor, + xaxis: { + lines: { show: true }, + }, + }, + yaxis: { + labels: { + style: { colors: themeDisabledTextColor }, + }, + }, + xaxis: { + tickAmount: 10, + axisBorder: { show: false }, + + axisTicks: { color: themeBorderColor }, + crosshairs: { + stroke: { color: themeBorderColor }, + }, + labels: { + style: { colors: themeDisabledTextColor }, + formatter: (val: string) => parseFloat(val).toFixed(1), + }, + }, + } +} +export const getLineChartSimpleConfig = (themeColors: ThemeInstance['themes']['value']['colors']) => { + const { themeBorderColor, themeDisabledTextColor } = colorVariables(themeColors) + + return { + chart: { + parentHeightOffset: 0, + zoom: { enabled: false }, + toolbar: { show: false }, + }, + colors: ['#ff9f43'], + stroke: { curve: 'straight' }, + dataLabels: { enabled: false }, + markers: { + strokeWidth: 7, + strokeOpacity: 1, + colors: ['#ff9f43'], + strokeColors: ['#fff'], + }, + grid: { + padding: { top: -10 }, + + borderColor: themeBorderColor, + xaxis: { + lines: { show: true }, + }, + }, + tooltip: { + // eslint-disable-next-line @typescript-eslint/no-explicit-any + custom(data: any) { + return `
+ ${data.series[data.seriesIndex][data.dataPointIndex]}% +
` + }, + }, + yaxis: { + labels: { + style: { colors: themeDisabledTextColor }, + }, + }, + xaxis: { + axisBorder: { show: false }, + + axisTicks: { color: themeBorderColor }, + crosshairs: { + stroke: { color: themeBorderColor }, + }, + labels: { + style: { colors: themeDisabledTextColor }, + }, + categories: [ + '7/12', + '8/12', + '9/12', + '10/12', + '11/12', + '12/12', + '13/12', + '14/12', + '15/12', + '16/12', + '17/12', + '18/12', + '19/12', + '20/12', + '21/12', + ], + }, + } +} + +export const getBarChartConfig = (themeColors: ThemeInstance['themes']['value']['colors']) => { + const { themeBorderColor, themeDisabledTextColor } = colorVariables(themeColors) + + return { + chart: { + parentHeightOffset: 0, + toolbar: { show: false }, + }, + colors: ['#00cfe8'], + dataLabels: { enabled: false }, + plotOptions: { + bar: { + borderRadius: 8, + barHeight: '30%', + horizontal: true, + startingShape: 'rounded', + }, + }, + grid: { + borderColor: themeBorderColor, + xaxis: { + lines: { show: false }, + }, + padding: { + top: -10, + }, + }, + yaxis: { + labels: { + style: { colors: themeDisabledTextColor }, + }, + }, + xaxis: { + axisBorder: { show: false }, + axisTicks: { color: themeBorderColor }, + categories: ['MON, 11', 'THU, 14', 'FRI, 15', 'MON, 18', 'WED, 20', 'FRI, 21', 'MON, 23'], + labels: { + style: { colors: themeDisabledTextColor }, + }, + }, + } +} + +export const getCandlestickChartConfig = (themeColors: ThemeInstance['themes']['value']['colors']) => { + const candlestickColors = { + series1: '#28c76f', + series2: '#ea5455', + } + + const { themeBorderColor, themeDisabledTextColor } = colorVariables(themeColors) + + return { + chart: { + parentHeightOffset: 0, + toolbar: { show: false }, + }, + plotOptions: { + bar: { columnWidth: '40%' }, + candlestick: { + colors: { + upward: candlestickColors.series1, + downward: candlestickColors.series2, + }, + }, + }, + grid: { + padding: { top: -10 }, + borderColor: themeBorderColor, + xaxis: { + lines: { show: true }, + }, + }, + yaxis: { + tooltip: { enabled: true }, + crosshairs: { + stroke: { color: themeBorderColor }, + }, + labels: { + style: { colors: themeDisabledTextColor }, + }, + }, + xaxis: { + type: 'datetime', + axisBorder: { show: false }, + axisTicks: { color: themeBorderColor }, + crosshairs: { + stroke: { color: themeBorderColor }, + }, + labels: { + style: { colors: themeDisabledTextColor }, + }, + }, + } +} +export const getRadialBarChartConfig = (themeColors: ThemeInstance['themes']['value']['colors']) => { + const radialBarColors = { + series1: '#fdd835', + series2: '#32baff', + series3: '#00d4bd', + series4: '#7367f0', + series5: '#FFA1A1', + } + + const { themeSecondaryTextColor, themePrimaryTextColor } = colorVariables(themeColors) + + return { + stroke: { lineCap: 'round' }, + labels: ['Comments', 'Replies', 'Shares'], + legend: { + show: true, + position: 'bottom', + labels: { + colors: themeSecondaryTextColor, + }, + markers: { + offsetX: -3, + }, + itemMargin: { + vertical: 3, + horizontal: 10, + }, + }, + colors: [radialBarColors.series1, radialBarColors.series2, radialBarColors.series4], + plotOptions: { + radialBar: { + hollow: { size: '30%' }, + track: { + margin: 15, + background: themeColors.colors['grey-100'], + }, + dataLabels: { + name: { + fontSize: '2rem', + }, + value: { + fontSize: '1rem', + color: themeSecondaryTextColor, + }, + total: { + show: true, + fontWeight: 400, + label: 'Comments', + fontSize: '1.125rem', + + color: themePrimaryTextColor, + // eslint-disable-next-line @typescript-eslint/no-explicit-any + formatter(w: { globals: { seriesTotals: any[]; series: string | any[] } }) { + const totalValue + = w.globals.seriesTotals.reduce((a: number, b: number) => { + return a + b + }, 0) / w.globals.series.length + + if (totalValue % 1 === 0) + return `${totalValue}%` + else + return `${totalValue.toFixed(2)}%` + }, + }, + }, + }, + }, + grid: { + padding: { + top: -35, + bottom: -30, + }, + }, + } +} + +export const getDonutChartConfig = (themeColors: ThemeInstance['themes']['value']['colors']) => { + const donutColors = { + series1: '#fdd835', + series2: '#00d4bd', + series3: '#826bf8', + series4: '#32baff', + series5: '#ffa1a1', + } + + const { themeSecondaryTextColor, themePrimaryTextColor } = colorVariables(themeColors) + + return { + stroke: { width: 0 }, + labels: ['Operational', 'Networking', 'Hiring', 'R&D'], + colors: [donutColors.series1, donutColors.series5, donutColors.series3, donutColors.series2], + dataLabels: { + enabled: true, + formatter: (val: string) => `${parseInt(val, 10)}%`, + }, + legend: { + position: 'bottom', + markers: { offsetX: -3 }, + labels: { colors: themeSecondaryTextColor }, + itemMargin: { + vertical: 3, + horizontal: 10, + }, + }, + plotOptions: { + pie: { + donut: { + labels: { + show: true, + name: { + fontSize: '1.5rem', + }, + value: { + fontSize: '1.5rem', + color: themeSecondaryTextColor, + formatter: (val: string) => `${parseInt(val, 10)}`, + }, + total: { + show: true, + fontSize: '1.5rem', + label: 'Operational', + formatter: () => '31%', + color: themePrimaryTextColor, + }, + }, + }, + }, + }, + responsive: [ + { + breakpoint: 992, + options: { + chart: { + height: 380, + }, + legend: { + position: 'bottom', + }, + }, + }, + { + breakpoint: 576, + options: { + chart: { + height: 320, + }, + plotOptions: { + pie: { + donut: { + labels: { + show: true, + name: { + fontSize: '1rem', + }, + value: { + fontSize: '1rem', + }, + total: { + fontSize: '1rem', + }, + }, + }, + }, + }, + }, + }, + ], + } +} + +export const getAreaChartSplineConfig = (themeColors: ThemeInstance['themes']['value']['colors']) => { + const areaColors = { + series3: '#e0cffe', + series2: '#b992fe', + series1: '#ab7efd', + } + + const { themeSecondaryTextColor, themeBorderColor, themeDisabledTextColor } = colorVariables(themeColors) + + return { + chart: { + parentHeightOffset: 0, + toolbar: { show: false }, + }, + tooltip: { shared: false }, + dataLabels: { enabled: false }, + stroke: { + show: false, + curve: 'straight', + }, + legend: { + position: 'top', + horizontalAlign: 'left', + + labels: { colors: themeSecondaryTextColor }, + markers: { + offsetY: 1, + offsetX: -3, + }, + itemMargin: { + vertical: 3, + horizontal: 10, + }, + }, + + colors: [areaColors.series3, areaColors.series2, areaColors.series1], + fill: { + opacity: 1, + type: 'solid', + }, + grid: { + show: true, + borderColor: themeBorderColor, + xaxis: { + lines: { show: true }, + }, + }, + yaxis: { + labels: { + style: { colors: themeDisabledTextColor }, + }, + }, + xaxis: { + axisBorder: { show: false }, + + axisTicks: { color: themeBorderColor }, + crosshairs: { + stroke: { color: themeBorderColor }, + }, + labels: { + style: { colors: themeDisabledTextColor }, + }, + categories: [ + '7/12', + '8/12', + '9/12', + '10/12', + '11/12', + '12/12', + '13/12', + '14/12', + '15/12', + '16/12', + '17/12', + '18/12', + '19/12', + ], + }, + } +} + +export const getColumnChartConfig = (themeColors: ThemeInstance['themes']['value']['colors']) => { + const columnColors = { + series1: '#826af9', + series2: '#d2b0ff', + bg: '#f8d3ff', + } + + const { themeSecondaryTextColor, themeBorderColor, themeDisabledTextColor } = colorVariables(themeColors) + + return { + chart: { + offsetX: -10, + stacked: true, + parentHeightOffset: 0, + toolbar: { show: false }, + }, + fill: { opacity: 1 }, + dataLabels: { enabled: false }, + + colors: [columnColors.series1, columnColors.series2], + legend: { + position: 'top', + horizontalAlign: 'left', + + labels: { colors: themeSecondaryTextColor }, + markers: { + offsetY: 1, + offsetX: -3, + }, + itemMargin: { + vertical: 3, + horizontal: 10, + }, + }, + stroke: { + show: true, + colors: ['transparent'], + }, + plotOptions: { + bar: { + columnWidth: '15%', + colors: { + backgroundBarRadius: 10, + + backgroundBarColors: [columnColors.bg, columnColors.bg, columnColors.bg, columnColors.bg, columnColors.bg], + }, + }, + }, + grid: { + borderColor: themeBorderColor, + xaxis: { + lines: { show: true }, + }, + }, + yaxis: { + labels: { + style: { colors: themeDisabledTextColor }, + }, + }, + xaxis: { + axisBorder: { show: false }, + + axisTicks: { color: themeBorderColor }, + categories: ['7/12', '8/12', '9/12', '10/12', '11/12', '12/12', '13/12', '14/12', '15/12'], + crosshairs: { + stroke: { color: themeBorderColor }, + }, + labels: { + style: { colors: themeDisabledTextColor }, + }, + }, + responsive: [ + { + breakpoint: 600, + options: { + plotOptions: { + bar: { + columnWidth: '35%', + }, + }, + }, + }, + ], + } +} + +export const getHeatMapChartConfig = (themeColors: ThemeInstance['themes']['value']['colors']) => { + const { themeSecondaryTextColor, themeDisabledTextColor } = colorVariables(themeColors) + + return { + chart: { + parentHeightOffset: 0, + toolbar: { show: false }, + }, + dataLabels: { enabled: false }, + stroke: { + colors: [themeColors.colors.surface], + }, + legend: { + position: 'bottom', + labels: { + colors: themeSecondaryTextColor, + }, + markers: { + offsetY: 0, + offsetX: -3, + }, + itemMargin: { + vertical: 3, + horizontal: 10, + }, + }, + plotOptions: { + heatmap: { + enableShades: false, + colorScale: { + ranges: [ + { to: 10, from: 0, name: '0-10', color: '#b9b3f8' }, + { to: 20, from: 11, name: '10-20', color: '#aba4f6' }, + { to: 30, from: 21, name: '20-30', color: '#9d95f5' }, + { to: 40, from: 31, name: '30-40', color: '#8f85f3' }, + { to: 50, from: 41, name: '40-50', color: '#8176f2' }, + { to: 60, from: 51, name: '50-60', color: '#7367f0' }, + ], + }, + }, + }, + grid: { + padding: { top: -20 }, + }, + yaxis: { + labels: { + style: { + colors: themeDisabledTextColor, + }, + }, + }, + xaxis: { + labels: { show: false }, + axisTicks: { show: false }, + axisBorder: { show: false }, + }, + } +} + +export const getRadarChartConfig = (themeColors: ThemeInstance['themes']['value']['colors']) => { + const radarColors = { + series1: '#9b88fa', + series2: '#ffa1a1', + } + + const { themeSecondaryTextColor, themeBorderColor, themeDisabledTextColor } = colorVariables(themeColors) + + return { + chart: { + parentHeightOffset: 0, + toolbar: { show: false }, + dropShadow: { + top: 1, + blur: 8, + left: 1, + opacity: 0.2, + enabled: false, + }, + }, + markers: { size: 0 }, + fill: { opacity: [1, 0.8] }, + colors: [radarColors.series1, radarColors.series2], + stroke: { + width: 0, + show: false, + }, + legend: { + labels: { + colors: themeSecondaryTextColor, + }, + markers: { + offsetX: -3, + }, + itemMargin: { + vertical: 3, + horizontal: 10, + }, + }, + plotOptions: { + radar: { + polygons: { + strokeColors: themeBorderColor, + connectorColors: themeBorderColor, + }, + }, + }, + grid: { + show: false, + padding: { + top: -20, + bottom: -20, + }, + }, + yaxis: { show: false }, + xaxis: { + categories: ['Battery', 'Brand', 'Camera', 'Memory', 'Storage', 'Display', 'OS', 'Price'], + labels: { + style: { + colors: [ + themeDisabledTextColor, + themeDisabledTextColor, + themeDisabledTextColor, + themeDisabledTextColor, + themeDisabledTextColor, + themeDisabledTextColor, + themeDisabledTextColor, + themeDisabledTextColor, + ], + }, + }, + }, + } +} diff --git a/src/plugins/vuetify/@core/libs/chartjs/chartjsConfig.ts b/src/plugins/vuetify/@core/libs/chartjs/chartjsConfig.ts new file mode 100644 index 00000000..6a4fab7c --- /dev/null +++ b/src/plugins/vuetify/@core/libs/chartjs/chartjsConfig.ts @@ -0,0 +1,373 @@ +import type { ThemeInstance } from 'vuetify' +import { hexToRgb } from '@layouts/utils' + +// 👉 Colors variables +const colorVariables = (themeColors: ThemeInstance['themes']['value']['colors']) => { + const themeSecondaryTextColor = `rgba(${hexToRgb(themeColors.colors['on-surface'])},${themeColors.variables['medium-emphasis-opacity']})` + const themeDisabledTextColor = `rgba(${hexToRgb(themeColors.colors['on-surface'])},${themeColors.variables['disabled-opacity']})` + const themeBorderColor = `rgba(${hexToRgb(String(themeColors.variables['border-color']))},${themeColors.variables['border-opacity']})` + + return { labelColor: themeDisabledTextColor, borderColor: themeBorderColor, legendColor: themeSecondaryTextColor } +} + +// SECTION config + +// 👉 Latest Bar Chart Config +export const getLatestBarChartConfig = (themeColors: ThemeInstance['themes']['value']['colors']) => { + const { borderColor, labelColor } = colorVariables(themeColors) + + return { + responsive: true, + maintainAspectRatio: false, + animation: { duration: 500 }, + scales: { + x: { + grid: { + borderColor, + drawBorder: false, + color: borderColor, + }, + ticks: { color: labelColor }, + }, + y: { + min: 0, + max: 400, + grid: { + borderColor, + drawBorder: false, + color: borderColor, + }, + ticks: { + stepSize: 100, + color: labelColor, + }, + }, + }, + plugins: { + legend: { display: false }, + }, + } +} + +// 👉 Horizontal Bar Chart Config +export const getHorizontalBarChartConfig = (themeColors: ThemeInstance['themes']['value']['colors']) => { + const { borderColor, labelColor, legendColor } = colorVariables(themeColors) + + return { + indexAxis: 'y', + responsive: true, + maintainAspectRatio: false, + animation: { duration: 500 }, + elements: { + bar: { + borderRadius: { + topRight: 15, + bottomRight: 15, + }, + }, + }, + layout: { + padding: { top: -4 }, + }, + scales: { + x: { + min: 0, + grid: { + drawTicks: false, + drawBorder: false, + color: borderColor, + }, + ticks: { color: labelColor }, + }, + y: { + grid: { + borderColor, + display: false, + drawBorder: false, + }, + ticks: { color: labelColor }, + }, + }, + plugins: { + legend: { + align: 'end', + position: 'top', + labels: { color: legendColor }, + }, + }, + } +} + +// 👉 Line Chart Config +export const getLineChartConfig = (themeColors: ThemeInstance['themes']['value']['colors']) => { + const { borderColor, labelColor, legendColor } = colorVariables(themeColors) + + return { + responsive: true, + maintainAspectRatio: false, + scales: { + x: { + ticks: { color: labelColor }, + grid: { + borderColor, + drawBorder: false, + color: borderColor, + }, + }, + y: { + min: 0, + max: 400, + ticks: { + stepSize: 100, + color: labelColor, + }, + grid: { + borderColor, + drawBorder: false, + color: borderColor, + }, + }, + }, + plugins: { + legend: { + align: 'end', + position: 'top', + labels: { + padding: 25, + boxWidth: 10, + color: legendColor, + usePointStyle: true, + }, + }, + }, + } +} + +// 👉 Radar Chart Config +export const getRadarChartConfig = (themeColors: ThemeInstance['themes']['value']['colors']) => { + const { borderColor, labelColor, legendColor } = colorVariables(themeColors) + + return { + responsive: true, + maintainAspectRatio: false, + animation: { duration: 500 }, + layout: { + padding: { top: -20 }, + }, + scales: { + r: { + ticks: { + display: false, + maxTicksLimit: 1, + color: labelColor, + }, + grid: { color: borderColor }, + pointLabels: { color: labelColor }, + angleLines: { color: borderColor }, + }, + }, + plugins: { + legend: { + position: 'top', + labels: { + padding: 25, + color: legendColor, + }, + }, + }, + } +} + +// 👉 Polar Chart Config +export const getPolarChartConfig = (themeColors: ThemeInstance['themes']['value']['colors']) => { + const { legendColor } = colorVariables(themeColors) + + return { + responsive: true, + maintainAspectRatio: false, + animation: { duration: 500 }, + layout: { + padding: { + top: -5, + bottom: -45, + }, + }, + scales: { + r: { + grid: { display: false }, + ticks: { display: false }, + }, + }, + plugins: { + legend: { + position: 'right', + labels: { + padding: 25, + boxWidth: 9, + color: legendColor, + usePointStyle: true, + }, + }, + }, + } +} + +// 👉 Bubble Chart Config +export const getBubbleChartConfig = (themeColors: ThemeInstance['themes']['value']['colors']) => { + const { borderColor, labelColor } = colorVariables(themeColors) + + return { + responsive: true, + maintainAspectRatio: false, + scales: { + x: { + min: 0, + max: 140, + grid: { + borderColor, + drawBorder: false, + color: borderColor, + }, + ticks: { + stepSize: 10, + color: labelColor, + }, + }, + y: { + min: 0, + max: 400, + grid: { + borderColor, + drawBorder: false, + color: borderColor, + }, + ticks: { + stepSize: 100, + color: labelColor, + }, + }, + }, + plugins: { + legend: { display: false }, + }, + } +} + +// 👉 Doughnut Chart Config +export const getDoughnutChartConfig = () => { + return { + responsive: true, + maintainAspectRatio: false, + animation: { duration: 500 }, + cutout: 80, + plugins: { + legend: { + display: false, + }, + }, + } +} + +// 👉 Scatter Chart Config +export const getScatterChartConfig = (themeColors: ThemeInstance['themes']['value']['colors']) => { + const { borderColor, labelColor, legendColor } = colorVariables(themeColors) + + return { + responsive: true, + maintainAspectRatio: false, + animation: { duration: 800 }, + layout: { + padding: { top: -20 }, + }, + scales: { + x: { + min: 0, + max: 140, + grid: { + borderColor, + drawTicks: false, + drawBorder: false, + color: borderColor, + }, + ticks: { + stepSize: 10, + color: labelColor, + }, + }, + y: { + min: 0, + max: 400, + grid: { + borderColor, + drawTicks: false, + drawBorder: false, + color: borderColor, + }, + ticks: { + stepSize: 100, + color: labelColor, + }, + }, + }, + plugins: { + legend: { + align: 'start', + position: 'top', + labels: { + padding: 25, + boxWidth: 9, + color: legendColor, + usePointStyle: true, + }, + }, + }, + } +} + +// 👉 Line Area Chart Config +export const getLineAreaChartConfig = (themeColors: ThemeInstance['themes']['value']['colors']) => { + const { borderColor, labelColor, legendColor } = colorVariables(themeColors) + + return { + responsive: true, + maintainAspectRatio: false, + layout: { + padding: { top: -20 }, + }, + scales: { + x: { + grid: { + borderColor, + color: 'transparent', + }, + ticks: { color: labelColor }, + }, + y: { + min: 0, + max: 400, + grid: { + borderColor, + color: 'transparent', + }, + ticks: { + stepSize: 100, + color: labelColor, + }, + }, + }, + plugins: { + legend: { + align: 'start', + position: 'top', + labels: { + padding: 25, + boxWidth: 9, + color: legendColor, + usePointStyle: true, + }, + }, + }, + } +} + +// !SECTION diff --git a/src/plugins/vuetify/@core/libs/chartjs/components/BarChart.ts b/src/plugins/vuetify/@core/libs/chartjs/components/BarChart.ts new file mode 100644 index 00000000..84a5c7d6 --- /dev/null +++ b/src/plugins/vuetify/@core/libs/chartjs/components/BarChart.ts @@ -0,0 +1,58 @@ +import type { PluginOptionsByType } from 'chart.js' +import { BarElement, CategoryScale, Chart as ChartJS, Legend, LinearScale, Title, Tooltip } from 'chart.js' +import type { PropType } from 'vue' +import { defineComponent } from 'vue' +import { Bar } from 'vue-chartjs' + +ChartJS.register(Title, Tooltip, Legend, BarElement, CategoryScale, LinearScale) + +export default defineComponent({ + name: 'BarChart', + props: { + chartId: { + type: String, + default: 'bar-chart', + }, + width: { + type: Number, + default: 400, + }, + height: { + type: Number, + default: 400, + }, + cssClasses: { + default: '', + type: String, + }, + styles: { + type: Object as PropType>, + default: () => ({}), + }, + plugins: { + type: Array as PropType[]>, + default: () => ([]), + }, + chartData: { + type: Object, + default: () => ({}), + }, + chartOptions: { + type: Object, + default: () => ({}), + }, + }, + setup(props) { + return () => + h(h(Bar), { + data: props.chartData, + options: props.chartOptions, + chartId: props.chartId, + width: props.width, + height: props.height, + cssClasses: props.cssClasses, + styles: props.styles, + plugins: props.plugins, + }) + }, +}) diff --git a/src/plugins/vuetify/@core/libs/chartjs/components/BubbleChart.ts b/src/plugins/vuetify/@core/libs/chartjs/components/BubbleChart.ts new file mode 100644 index 00000000..1f11e379 --- /dev/null +++ b/src/plugins/vuetify/@core/libs/chartjs/components/BubbleChart.ts @@ -0,0 +1,58 @@ +import type { PluginOptionsByType } from 'chart.js' +import { Chart as ChartJS, Legend, LinearScale, PointElement, Title, Tooltip } from 'chart.js' +import type { PropType } from 'vue' +import { defineComponent } from 'vue' +import { Bubble } from 'vue-chartjs' + +ChartJS.register(Title, Tooltip, Legend, PointElement, LinearScale) + +export default defineComponent({ + name: 'BubbleChart', + props: { + chartId: { + type: String, + default: 'bubble-chart', + }, + width: { + type: Number, + default: 400, + }, + height: { + type: Number, + default: 400, + }, + cssClasses: { + default: '', + type: String, + }, + styles: { + type: Object as PropType>, + default: () => ({}), + }, + plugins: { + type: Array as PropType[]>, + default: () => [], + }, + chartData: { + type: Object, + default: () => ({}), + }, + chartOptions: { + type: Object, + default: () => ({}), + }, + }, + setup(props) { + return () => + h(h(Bubble), { + data: props.chartData, + options: props.chartOptions, + chartId: props.chartId, + width: props.width, + height: props.height, + cssClasses: props.cssClasses, + styles: props.styles, + plugins: props.plugins, + }) + }, +}) diff --git a/src/plugins/vuetify/@core/libs/chartjs/components/DoughnutChart.ts b/src/plugins/vuetify/@core/libs/chartjs/components/DoughnutChart.ts new file mode 100644 index 00000000..bd13c183 --- /dev/null +++ b/src/plugins/vuetify/@core/libs/chartjs/components/DoughnutChart.ts @@ -0,0 +1,58 @@ +import type { PluginOptionsByType } from 'chart.js' +import { ArcElement, CategoryScale, Chart as ChartJS, Legend, Title, Tooltip } from 'chart.js' +import type { PropType } from 'vue' +import { defineComponent } from 'vue' +import { Doughnut } from 'vue-chartjs' + +ChartJS.register(Title, Tooltip, Legend, ArcElement, CategoryScale) + +export default defineComponent({ + name: 'DoughnutChart', + props: { + chartId: { + type: String, + default: 'doughnut-chart', + }, + width: { + type: Number, + default: 400, + }, + height: { + type: Number, + default: 400, + }, + cssClasses: { + default: '', + type: String, + }, + styles: { + type: Object as PropType>, + default: () => ({}), + }, + plugins: { + type: Array as PropType[]>, + default: () => [], + }, + chartData: { + type: Object, + default: () => ({}), + }, + chartOptions: { + type: Object, + default: () => ({}), + }, + }, + setup(props) { + return () => + h(h(Doughnut), { + data: props.chartData, + options: props.chartOptions, + chartId: props.chartId, + width: props.width, + height: props.height, + cssClasses: props.cssClasses, + styles: props.styles, + plugins: props.plugins, + }) + }, +}) diff --git a/src/plugins/vuetify/@core/libs/chartjs/components/LineChart.ts b/src/plugins/vuetify/@core/libs/chartjs/components/LineChart.ts new file mode 100644 index 00000000..c86d8e7c --- /dev/null +++ b/src/plugins/vuetify/@core/libs/chartjs/components/LineChart.ts @@ -0,0 +1,58 @@ +import type { PluginOptionsByType } from 'chart.js' +import { CategoryScale, Chart as ChartJS, Legend, LineElement, LinearScale, PointElement, Title, Tooltip } from 'chart.js' +import type { PropType } from 'vue' +import { defineComponent } from 'vue' +import { Line } from 'vue-chartjs' + +ChartJS.register(Title, Tooltip, Legend, LineElement, LinearScale, PointElement, CategoryScale) + +export default defineComponent({ + name: 'LineChart', + props: { + chartId: { + type: String, + default: 'line-chart', + }, + width: { + type: Number, + default: 400, + }, + height: { + type: Number, + default: 400, + }, + cssClasses: { + default: '', + type: String, + }, + styles: { + type: Object as PropType>, + default: () => ({}), + }, + plugins: { + type: Array as PropType[]>, + default: () => [], + }, + chartData: { + type: Object, + default: () => ({}), + }, + chartOptions: { + type: Object, + default: () => ({}), + }, + }, + setup(props) { + return () => + h(h(Line), { + chartId: props.chartId, + width: props.width, + height: props.height, + cssClasses: props.cssClasses, + styles: props.styles, + plugins: props.plugins, + options: props.chartOptions, + data: props.chartData, + }) + }, +}) diff --git a/src/plugins/vuetify/@core/libs/chartjs/components/PolarAreaChart.ts b/src/plugins/vuetify/@core/libs/chartjs/components/PolarAreaChart.ts new file mode 100644 index 00000000..c15b9a3e --- /dev/null +++ b/src/plugins/vuetify/@core/libs/chartjs/components/PolarAreaChart.ts @@ -0,0 +1,58 @@ +import type { PluginOptionsByType } from 'chart.js' +import { ArcElement, Chart as ChartJS, Legend, RadialLinearScale, Title, Tooltip } from 'chart.js' +import type { PropType } from 'vue' +import { defineComponent } from 'vue' +import { PolarArea } from 'vue-chartjs' + +ChartJS.register(Title, Tooltip, Legend, ArcElement, RadialLinearScale) + +export default defineComponent({ + name: 'PolarAreaChart', + props: { + chartId: { + type: String, + default: 'line-chart', + }, + width: { + type: Number, + default: 400, + }, + height: { + type: Number, + default: 400, + }, + cssClasses: { + default: '', + type: String, + }, + styles: { + type: Object as PropType>, + default: () => ({}), + }, + plugins: { + type: Array as PropType[]>, + default: () => [], + }, + chartData: { + type: Object, + default: () => ({}), + }, + chartOptions: { + type: Object, + default: () => ({}), + }, + }, + setup(props) { + return () => + h(h(PolarArea), { + data: props.chartData, + options: props.chartOptions, + chartId: props.chartId, + width: props.width, + height: props.height, + cssClasses: props.cssClasses, + styles: props.styles, + plugins: props.plugins, + }) + }, +}) diff --git a/src/plugins/vuetify/@core/libs/chartjs/components/RadarChart.ts b/src/plugins/vuetify/@core/libs/chartjs/components/RadarChart.ts new file mode 100644 index 00000000..499bced0 --- /dev/null +++ b/src/plugins/vuetify/@core/libs/chartjs/components/RadarChart.ts @@ -0,0 +1,58 @@ +import type { PluginOptionsByType } from 'chart.js' +import { Chart as ChartJS, Filler, Legend, LineElement, PointElement, RadialLinearScale, Title, Tooltip } from 'chart.js' +import type { PropType } from 'vue' +import { defineComponent } from 'vue' +import { Radar } from 'vue-chartjs' + +ChartJS.register(Title, Tooltip, Legend, PointElement, RadialLinearScale, LineElement, Filler) + +export default defineComponent({ + name: 'RadarChart', + props: { + chartId: { + type: String, + default: 'radar-chart', + }, + width: { + type: Number, + default: 400, + }, + height: { + type: Number, + default: 400, + }, + cssClasses: { + default: '', + type: String, + }, + styles: { + type: Object as PropType>, + default: () => ({}), + }, + plugins: { + type: Array as PropType[]>, + default: () => [], + }, + chartData: { + type: Object, + default: () => ({}), + }, + chartOptions: { + type: Object, + default: () => ({}), + }, + }, + setup(props) { + return () => + h(h(Radar), { + data: props.chartData, + options: props.chartOptions, + chartId: props.chartId, + width: props.width, + height: props.height, + cssClasses: props.cssClasses, + styles: props.styles, + plugins: props.plugins, + }) + }, +}) diff --git a/src/plugins/vuetify/@core/libs/chartjs/components/ScatterChart.ts b/src/plugins/vuetify/@core/libs/chartjs/components/ScatterChart.ts new file mode 100644 index 00000000..35136b86 --- /dev/null +++ b/src/plugins/vuetify/@core/libs/chartjs/components/ScatterChart.ts @@ -0,0 +1,58 @@ +import type { PluginOptionsByType } from 'chart.js' +import { CategoryScale, Chart as ChartJS, Legend, LineElement, LinearScale, PointElement, Title, Tooltip } from 'chart.js' +import type { PropType } from 'vue' +import { defineComponent } from 'vue' +import { Scatter } from 'vue-chartjs' + +ChartJS.register(Title, Tooltip, Legend, PointElement, LineElement, CategoryScale, LinearScale) + +export default defineComponent({ + name: 'ScatterChart', + props: { + chartId: { + type: String, + default: 'scatter-chart', + }, + width: { + type: Number, + default: 400, + }, + height: { + type: Number, + default: 400, + }, + cssClasses: { + default: '', + type: String, + }, + styles: { + type: Object as PropType>, + default: () => ({}), + }, + plugins: { + type: Array as PropType[]>, + default: () => [], + }, + chartData: { + type: Object, + default: () => ({}), + }, + chartOptions: { + type: Object, + default: () => ({}), + }, + }, + setup(props) { + return () => + h(h(Scatter), { + data: props.chartData, + options: props.chartOptions, + chartId: props.chartId, + width: props.width, + height: props.height, + cssClasses: props.cssClasses, + styles: props.styles, + plugins: props.plugins, + }) + }, +}) diff --git a/src/plugins/vuetify/@core/scss/base/_components.scss b/src/plugins/vuetify/@core/scss/base/_components.scss new file mode 100644 index 00000000..572c979c --- /dev/null +++ b/src/plugins/vuetify/@core/scss/base/_components.scss @@ -0,0 +1,139 @@ +@use "mixins"; +@use "vuetify/lib/styles/tools/_elevation" as mixins_elevation; +@use "@layouts/styles/placeholders"; +@use "@configured-variables" as variables; + +// 👉 Avatar group +.v-avatar-group { + display: flex; + align-items: center; + + > * { + &:not(:first-child) { + margin-inline-start: -0.8rem; + } + + transition: transform 0.25s ease, box-shadow 0.15s ease; + + &:hover { + z-index: 2; + transform: translateY(-5px) scale(1.05); + + @include mixins_elevation.elevation(3); + } + } + + > .v-avatar { + border: 2px solid rgb(var(--v-theme-surface)); + } +} + +// 👉 Button outline with default color border color +.v-alert--variant-outlined, +.v-avatar--variant-outlined, +.v-btn.v-btn--variant-outlined, +.v-card--variant-outlined, +.v-chip--variant-outlined { + &:not([class*="text-"]) { + border-color: rgba(var(--v-border-color), var(--v-border-opacity)); + } + + &.text-default { + border-color: rgba(var(--v-border-color), var(--v-border-opacity)); + } +} + +// 👉 Custom Input +.custom-input { + padding: 1rem; + border: 1px solid rgba(var(--v-border-color), var(--v-border-opacity)); + opacity: 1; + transition: border-color 0.5s; + white-space: normal; + + &:hover { + border-color: rgba(var(--v-border-color), 0.25); + } + + &.active { + border-color: rgb(var(--v-theme-primary)); + } +} + +// Dialog responsive width +.v-dialog { + // dialog custom close btn + .v-dialog-close-btn { + position: absolute; + z-index: 1; + color: rgba(var(--v-theme-on-surface), var(--v-disabled-opacity)) !important; + inset-block-start: 0.9375rem; + inset-inline-end: 0.9375rem; + } + + .v-card { + @extend %style-scroll-bar; + } +} + +@media (min-width: 576px) { + .v-dialog { + &.v-dialog-sm, + &.v-dialog-lg, + &.v-dialog-xl { + inline-size: 565px !important; + } + } +} + +@media (min-width: 992px) { + .v-dialog { + &.v-dialog-lg, + &.v-dialog-xl { + inline-size: 865px !important; + } + } +} + +@media (min-width: 1200px) { + .v-dialog.v-dialog-xl, + .v-dialog.v-dialog-xl .v-overlay__content > .v-card { + inline-size: 1165px !important; + } +} + +// v-tab with pill support + +.v-tabs.v-tabs-pill { + .v-tab.v-btn { + border-radius: 0.25rem !important; + transition: none; + + .v-tab__slider { + visibility: hidden; + } + } + + .v-slide-group__content { + transition: none; + } +} + +// loop for all colors bg +@each $color-name in variables.$theme-colors-name { + .v-tabs.v-tabs-pill { + .v-slide-group-item--active.v-tab--selected.text-#{$color-name} { + background-color: rgb(var(--v-theme-#{$color-name})); + color: rgb(var(--v-theme-on-#{$color-name})) !important; + } + } +} + +// ℹ️ We are make even width of all v-timeline body +.v-timeline--vertical.v-timeline { + .v-timeline-item { + .v-timeline-item__body { + justify-self: stretch !important; + } + } +} diff --git a/src/plugins/vuetify/@core/scss/base/_dark.scss b/src/plugins/vuetify/@core/scss/base/_dark.scss new file mode 100644 index 00000000..1df7474f --- /dev/null +++ b/src/plugins/vuetify/@core/scss/base/_dark.scss @@ -0,0 +1,16 @@ +@use "@configured-variables" as variables; + +// ———————————————————————————————————— +//* ——— Perfect Scrollbar +// ———————————————————————————————————— + +.v-application.v-theme--dark { + .ps__rail-y, + .ps__rail-x { + background-color: transparent !important; + } + + .ps__thumb-y { + background-color: variables.$plugin-ps-thumb-y-dark; + } +} diff --git a/src/plugins/vuetify/@core/scss/base/_default-layout-w-horizontal-nav.scss b/src/plugins/vuetify/@core/scss/base/_default-layout-w-horizontal-nav.scss new file mode 100644 index 00000000..030967fb --- /dev/null +++ b/src/plugins/vuetify/@core/scss/base/_default-layout-w-horizontal-nav.scss @@ -0,0 +1,45 @@ +@use "vuetify/lib/styles/tools/elevation" as elevation; +@use "@/plugins/vuetify/@core/scss/base/placeholders" as *; +@use "@/plugins/vuetify/@core/scss/template/placeholders" as *; + +.layout-wrapper.layout-nav-type-horizontal { + .layout-navbar-and-nav-container { + @extend %default-layout-horizontal-nav-navbar-and-nav-container; + } + + // 👉 Navbar + .layout-navbar { + @extend %default-layout-horizontal-nav-navbar; + } + + // 👉 Layout content container + .navbar-content-container { + display: flex; + align-items: center; + block-size: 100%; + } + + .layout-horizontal-nav { + @extend %default-layout-horizontal-nav-nav; + + .nav-items { + @extend %default-layout-horizontal-nav-nav-items-list; + } + } + + // 👉 App footer + .layout-footer { + @at-root { + .layout-footer-sticky#{&} { + background-color: rgb(var(--v-theme-surface)); + + @include elevation.elevation(3); + } + } + } + + // TODO: Use Vuetify grid sass variable here + .layout-page-content { + padding-block: 1.5rem; + } +} diff --git a/src/plugins/vuetify/@core/scss/base/_default-layout-w-vertical-nav.scss b/src/plugins/vuetify/@core/scss/base/_default-layout-w-vertical-nav.scss new file mode 100644 index 00000000..282e0fbf --- /dev/null +++ b/src/plugins/vuetify/@core/scss/base/_default-layout-w-vertical-nav.scss @@ -0,0 +1,103 @@ +@use "@configured-variables" as variables; +@use "@/plugins/vuetify/@core/scss/base/placeholders" as *; +@use "@/plugins/vuetify/@core/scss/template/placeholders" as *; +@use "vuetify/lib/styles/tools/_elevation" as mixins_elevation; +@use "misc"; + +$header: ".layout-navbar"; + +@if variables.$layout-vertical-nav-navbar-is-contained { + $header: ".layout-navbar .navbar-content-container"; +} + +.layout-wrapper.layout-nav-type-vertical { + // SECTION Layout Navbar + // 👉 Elevated navbar + @if variables.$vertical-nav-navbar-style == "elevated" { + // Add transition + #{$header} { + transition: padding 0.2s ease, background-color 0.18s ease; + } + + // If navbar is contained => Add border radius to header + @if variables.$layout-vertical-nav-navbar-is-contained { + #{$header} { + border-radius: 0 0 variables.$default-layout-with-vertical-nav-navbar-footer-roundness variables.$default-layout-with-vertical-nav-navbar-footer-roundness; + } + } + + // Scrolled styles for sticky navbar + @at-root { + /* ℹ️ This html selector with not selector is required when: + dialog is opened and window don't have any scroll. This removes window-scrolled class from layout and out style broke + */ + html.v-overlay-scroll-blocked:not([style*="--v-body-scroll-y:0px;"]) .layout-navbar-sticky, + &.window-scrolled.layout-navbar-sticky { + + #{$header} { + @extend %default-layout-vertical-nav-scrolled-sticky-elevated-nav; + @extend %default-layout-vertical-nav-floating-navbar-and-sticky-elevated-navbar-scrolled; + } + + .navbar-blur#{$header} { + @extend %blurry-bg; + } + } + } + } + + // 👉 Floating navbar + @else if variables.$vertical-nav-navbar-style == "floating" { + // ℹ️ Regardless of navbar is contained or not => Apply overlay to .layout-navbar + .layout-navbar { + &.navbar-blur { + @extend %default-layout-vertical-nav-floating-navbar-overlay; + } + } + + &:not(.layout-navbar-sticky) { + #{$header} { + margin-block-start: variables.$vertical-nav-floating-navbar-top; + } + } + + #{$header} { + @if variables.$layout-vertical-nav-navbar-is-contained { + border-radius: variables.$default-layout-with-vertical-nav-navbar-footer-roundness; + } + + background-color: rgb(var(--v-theme-surface)); + + @extend %default-layout-vertical-nav-floating-navbar-and-sticky-elevated-navbar-scrolled; + } + + .navbar-blur#{$header} { + @extend %blurry-bg; + } + } + + // !SECTION + + // 👉 Layout footer + .layout-footer { + $ele-layout-footer: &; + + .footer-content-container { + border-radius: variables.$default-layout-with-vertical-nav-navbar-footer-roundness variables.$default-layout-with-vertical-nav-navbar-footer-roundness 0 0; + + // Sticky footer + @at-root { + // ℹ️ .layout-footer-sticky#{$ele-layout-footer} => .layout-footer-sticky.layout-wrapper.layout-nav-type-vertical .layout-footer + .layout-footer-sticky#{$ele-layout-footer} { + .footer-content-container { + background-color: rgb(var(--v-theme-surface)); + padding-block: 0; + padding-inline: 1.2rem; + + @include mixins_elevation.elevation(3); + } + } + } + } + } +} diff --git a/src/plugins/vuetify/@core/scss/base/_default-layout.scss b/src/plugins/vuetify/@core/scss/base/_default-layout.scss new file mode 100644 index 00000000..a485a098 --- /dev/null +++ b/src/plugins/vuetify/@core/scss/base/_default-layout.scss @@ -0,0 +1,8 @@ +@use "@/plugins/vuetify/@core/scss/base/placeholders"; +@use "@configured-variables" as variables; + +.layout-navbar { + @if variables.$navbar-high-emphasis-text { + @extend %layout-navbar; + } +} diff --git a/src/plugins/vuetify/@core/scss/base/_horizontal-nav.scss b/src/plugins/vuetify/@core/scss/base/_horizontal-nav.scss new file mode 100644 index 00000000..eb86b9be --- /dev/null +++ b/src/plugins/vuetify/@core/scss/base/_horizontal-nav.scss @@ -0,0 +1,189 @@ +@use "@/plugins/vuetify/@core/scss/base/placeholders" as *; +@use "@/plugins/vuetify/@core/scss/template/placeholders" as *; +@use "@configured-variables" as variables; +@use "@layouts/styles/mixins" as layoutsMixins; +@use "@/plugins/vuetify/@core/scss/base/mixins"; +@use "vuetify/lib/styles/tools/states" as vuetifyStates; + +.layout-horizontal-nav { + @extend %nav; + + // 👉 Icon styles + .nav-item-icon { + @extend %horizontal-nav-item-icon; + } + + // 👉 Common styles for nav group & nav link + .nav-link, + .nav-group { + // 👉 Disabled nav items + &.disabled { + opacity: var(--v-disabled-opacity); + pointer-events: none; + } + + // Set width of inner nav group and link + &.sub-item { + @extend %horizontal-nav-subitem; + } + } + + // SECTION Nav Link + .nav-link { + @extend %nav-link; + + a { + @extend %horizontal-nav-item; + + // Adds before psudo element to style hover state + @include mixins.before-pseudo; + + // Adds vuetify states + @include vuetifyStates.states($active: false); + } + + // 👉 Top level nav link + &:not(.sub-item) { + a { + @extend %horizontal-nav-top-level-item; + + &.router-link-active { + @extend %nav-link-active; + } + } + } + + // 👉 Sub link + &.sub-item { + a { + &.router-link-active { + // ℹ️ We will not use active styles from material here because we want to use primary color for active link + @extend %horizontal-nav-sub-nav-link-active; + } + } + } + } + + // !SECTION + + // SECTION Nav Group + .nav-group { + .popper-triggerer { + .nav-group-label { + @extend %horizontal-nav-item; + } + } + + > .popper-triggerer > .nav-group-label { + // Adds before psudo element to style hover state + @include mixins.before-pseudo; + + // Adds vuetify states + @include vuetifyStates.states($active: false); + } + + // 👉 Top level group + &:not(.sub-item) { + > .popper-triggerer { + position: relative; + + /* + ℹ️ The Bridge + This after pseudo will work as bridge when we have space between popper triggerer and popper content + Initially it will have pointer events none for normal behavior and once the content is shown it will + work as bridge by setting pointer events to `auto` + */ + &::after { + position: absolute; + block-size: variables.$horizontal-nav-popper-content-top; + content: ""; + inline-size: 100%; + inset-block-start: 100%; + inset-inline-start: 0; + pointer-events: none; + } + } + + // Enable the pseudo bridge when content is shown by setting pointer events to `auto` + &.show-content > .popper-triggerer::after { + /* + ℹ️ We have added `z-index: 2` because when there is horizontal nav item below the popper trigger (group) + without this style nav item below popper trigger (group) gets focus hence closes the popper content + */ + z-index: 2; + pointer-events: auto; + } + + > .popper-triggerer > .nav-group-label { + @extend %horizontal-nav-top-level-item; + } + + &.active { + > .popper-triggerer > .nav-group-label { + @extend %nav-link-active; + } + } + + > .popper-content { + // ℹ️ Add space between popper wrapper & content + margin-block-start: variables.$horizontal-nav-popper-content-top !important; + } + } + + // 👉 Sub group + &.sub-item { + &.active { + @include mixins.selected-states("> .popper-triggerer > .nav-group-label::before"); + } + + // Reduce the icon's size of nested group's nav links (Top level group > Sub group > [Nav links]) + .sub-item { + .nav-item-icon { + @extend %third-level-nav-item-icon; + } + } + } + + .nav-group-arrow { + font-size: 1.375rem; + + /* + ℹ️ ml-auto won't matter in top level group (because we haven't specified fixed width for top level groups) + but we wrote generally because we don't want to become so specific + */ + margin-inline-start: auto; + } + + &.popper-inline-end { + .nav-group-arrow { + transform: rotateZ(270deg); + + @include layoutsMixins.rtl { + transform: rotateZ(90deg); + } + } + } + + .nav-item-title { + @extend %horizontal-nav-item-title; + } + + .popper-content { + @extend %horizontal-nav-popper-content-hidden; + @extend %horizontal-nav-popper-content; + + background-color: rgb(var(--v-theme-surface)); + + // Set max-height for the popper content + > div { + max-block-size: variables.$horizontal-nav-popper-content-max-height; + } + } + + &.show-content > .popper-content { + @extend %horizontal-nav-popper-content-visible; + } + } + + // !SECTION +} diff --git a/src/plugins/vuetify/@core/scss/base/_index.scss b/src/plugins/vuetify/@core/scss/base/_index.scss new file mode 100644 index 00000000..8f5bb5be --- /dev/null +++ b/src/plugins/vuetify/@core/scss/base/_index.scss @@ -0,0 +1,48 @@ +@use "sass:map"; + +// Layout +@use "vertical-nav"; +@use "horizontal-nav"; +@use "default-layout"; +@use "default-layout-w-vertical-nav"; +@use "default-layout-w-horizontal-nav"; + +// Layouts package +@use "layouts"; + +// Skins +@use "skins"; + +// Components +@use "components"; + +// Utilities +@use "utilities"; + +// Route Transitions +@use "route-transitions"; + +// Misc +@use "misc"; + +// Dark +@use "dark"; + +// libs +@use "libs/perfect-scrollbar"; + +a { + color: rgb(var(--v-theme-primary)); + text-decoration: none; +} + +// Vuetify 3 don't provide margin bottom style like vuetify 2 +p { + margin-block-end: 1rem; +} + +// Iconify icon size +svg.iconify { + block-size: 1em; + inline-size: 1em; +} diff --git a/src/plugins/vuetify/@core/scss/base/_layouts.scss b/src/plugins/vuetify/@core/scss/base/_layouts.scss new file mode 100644 index 00000000..91635d00 --- /dev/null +++ b/src/plugins/vuetify/@core/scss/base/_layouts.scss @@ -0,0 +1,63 @@ +@use "@configured-variables" as variables; + +/* ℹ️ This styles extends the existing layout package's styles for handling cases that aren't related to layouts package */ + +/* + ℹ️ When we use v-layout as immediate first child of `.page-content-container`, it adds display:flex and page doesn't get contained height +*/ +// .layout-wrapper.layout-nav-type-vertical { +// &.layout-content-height-fixed { +// .page-content-container { +// > .v-layout:first-child > :not(.v-navigation-drawer):first-child { +// flex-grow: 1; +// block-size: 100%; +// } +// } +// } +// } +.layout-wrapper.layout-nav-type-vertical { + &.layout-content-height-fixed { + .page-content-container { + > .v-layout:first-child { + overflow: hidden; + min-block-size: 100%; + + > .v-main { + // overflow-y: auto; + + .v-main__wrap > :first-child { + block-size: 100%; + overflow-y: auto; + } + } + } + } + } +} + +// ℹ️ Let div/v-layout take full height. E.g. Email App +.layout-wrapper.layout-nav-type-horizontal { + &.layout-content-height-fixed { + > .layout-page-content { + display: flex; + } + } +} + +// 👉 Floating navbar styles +@if variables.$vertical-nav-navbar-style == "floating" { + // ℹ️ Add spacing above navbar if navbar is floating (was in %layout-navbar-sticky placeholder) + .layout-wrapper.layout-nav-type-vertical.layout-navbar-sticky { + .layout-navbar { + inset-block-start: variables.$vertical-nav-floating-navbar-top; + } + + /* + ℹ️ If it's floating navbar + Add `vertical-nav-floating-navbar-top` as margin top to .layout-page-content + */ + .layout-page-content { + margin-block-start: variables.$vertical-nav-floating-navbar-top; + } + } +} diff --git a/src/plugins/vuetify/@core/scss/base/_misc.scss b/src/plugins/vuetify/@core/scss/base/_misc.scss new file mode 100644 index 00000000..cee983b3 --- /dev/null +++ b/src/plugins/vuetify/@core/scss/base/_misc.scss @@ -0,0 +1,20 @@ +// ℹ️ scrollable-content allows creating fixed header and scrollable content for VNavigationDrawer (Used when perfect scrollbar is used) +.scrollable-content { + &.v-navigation-drawer { + .v-navigation-drawer__content { + display: flex; + overflow: hidden; + flex-direction: column; + } + } +} + +// ℹ️ adding styling for code tag +code { + border-radius: 3px; + color: rgb(var(--v-code-color)); + font-size: 90%; + font-weight: 400; + padding-block: 0.2em; + padding-inline: 0.4em; +} diff --git a/src/plugins/vuetify/@core/scss/base/_mixins.scss b/src/plugins/vuetify/@core/scss/base/_mixins.scss new file mode 100644 index 00000000..232b12b7 --- /dev/null +++ b/src/plugins/vuetify/@core/scss/base/_mixins.scss @@ -0,0 +1,73 @@ +// @use "@styles/variables/_vuetify.scss"; + +// ℹ️ This mixin is inspired from vuetify for adding hover styles via before pseudo element +@mixin before-pseudo() { + position: relative; + + &::before { + position: absolute; + border-radius: inherit; + background: currentcolor; + block-size: 100%; + content: ""; + inline-size: 100%; + inset: 0; + opacity: 0; + pointer-events: none; + } +} + +@mixin bordered-skin($component, $border-property: "border", $important: false) { + #{$component} { + background-color: rgb(var(--v-theme-background)); + box-shadow: none !important; + #{$border-property}: 1px solid rgba(var(--v-border-color), var(--v-border-opacity)) if($important, !important, null); + } +} + +// ℹ️ Inspired from vuetify's active-states mixin +// focus => 0.12 & selected => 0.08 +@mixin selected-states($selector) { + // #{$selector} { + // opacity: calc(#{map.get(vuetify.$states, "selected")} * var(--v-theme-overlay-multiplier)); + // } + + // &:hover + // #{$selector} { + // opacity: calc(#{map.get(vuetify.$states, "selected") + map.get(vuetify.$states, "hover")} * var(--v-theme-overlay-multiplier)); + // } + + // &:focus-visible + // #{$selector} { + // opacity: calc(#{map.get(vuetify.$states, "selected") + map.get(vuetify.$states, "focus")} * var(--v-theme-overlay-multiplier)); + // } + + // @supports not selector(:focus-visible) { + // &:focus { + // #{$selector} { + // opacity: calc(#{map.get(vuetify.$states, "selected") + map.get(vuetify.$states, "focus")} * var(--v-theme-overlay-multiplier)); + // } + // } + // } + #{$selector} { + opacity: calc(var(--v-selected-opacity) * var(--v-theme-overlay-multiplier)); + } + + &:hover + #{$selector} { + opacity: calc(var(--v-selected-opacity) + var(--v-hover-opacity) * var(--v-theme-overlay-multiplier)); + } + + &:focus-visible + #{$selector} { + opacity: calc(var(--v-selected-opacity) + var(--v-focus-opacity) * var(--v-theme-overlay-multiplier)); + } + + @supports not selector(:focus-visible) { + &:focus { + #{$selector} { + opacity: calc(var(--v-selected-opacity) + var(--v-focus-opacity) * var(--v-theme-overlay-multiplier)); + } + } + } +} diff --git a/src/plugins/vuetify/@core/scss/base/_route-transitions.scss b/src/plugins/vuetify/@core/scss/base/_route-transitions.scss new file mode 100644 index 00000000..39c388a6 --- /dev/null +++ b/src/plugins/vuetify/@core/scss/base/_route-transitions.scss @@ -0,0 +1,70 @@ +// 👉 Zoom fade +.app-transition-zoom-fade-enter-active, +.app-transition-zoom-fade-leave-active { + transition: transform 0.35s, opacity 0.28s ease-in-out; +} + +.app-transition-zoom-fade-enter-from { + opacity: 0; + transform: scale(0.98); +} + +.app-transition-zoom-fade-leave-to { + opacity: 0; + transform: scale(1.02); +} + +// 👉 Fade +.app-transition-fade-enter-active, +.app-transition-fade-leave-active { + transition: opacity 0.25s ease-in-out; +} + +.app-transition-fade-enter-from, +.app-transition-fade-leave-to { + opacity: 0; +} + +// 👉 Fade bottom +.app-transition-fade-bottom-enter-active, +.app-transition-fade-bottom-leave-active { + transition: opacity 0.3s, transform 0.35s; +} + +.app-transition-fade-bottom-enter-from { + opacity: 0; + transform: translateY(-0.6rem); +} + +.app-transition-fade-bottom-leave-to { + opacity: 0; + transform: translateY(0.6rem); +} + +// 👉 Slide fade +.app-transition-slide-fade-enter-active, +.app-transition-slide-fade-leave-active { + transition: opacity 0.3s, transform 0.35s; +} + +.app-transition-slide-fade-enter-from { + opacity: 0; + transform: translateX(-0.6rem); +} + +.app-transition-slide-fade-leave-to { + opacity: 0; + transform: translateX(0.6rem); +} + +// 👉 Zoom out +.app-transition-zoom-out-enter-active, +.app-transition-zoom-out-leave-active { + transition: opacity 0.26s ease-in-out, transform 0.3s ease-out; +} + +.app-transition-zoom-out-enter-from, +.app-transition-zoom-out-leave-to { + opacity: 0; + transform: scale(0.98); +} diff --git a/src/plugins/vuetify/@core/scss/base/_utilities.scss b/src/plugins/vuetify/@core/scss/base/_utilities.scss new file mode 100644 index 00000000..4749253f --- /dev/null +++ b/src/plugins/vuetify/@core/scss/base/_utilities.scss @@ -0,0 +1,116 @@ +@use "@configured-variables" as variables; +@use "@layouts/styles/mixins" as layoutsMixins; + +// 👉 Demo spacers +// TODO: Use vuetify SCSS variable here +$card-spacer-content: 16px; + +.demo-space-x { + display: flex; + flex-wrap: wrap; + align-items: center; + margin-block-start: -$card-spacer-content; + + & > * { + margin-block-start: $card-spacer-content; + margin-inline-end: $card-spacer-content; + } +} + +.demo-space-y { + & > * { + margin-block-end: $card-spacer-content; + + &:last-child { + margin-block-end: 0; + } + } +} + +// 👉 Card match height +.match-height.v-row { + .v-card { + block-size: 100%; + } +} + +// 👉 Whitespace +.whitespace-no-wrap { + white-space: nowrap; +} + +// 👉 Colors + +/* + ℹ️ Vuetify is applying `.text-white` class to badge icon but don't provide its styles + Moreover, we also use this class in some places + + ℹ️ In vuetify 2 with `$color-pack: false` SCSS var config this class was getting generated but this is not the case in v3 + + ℹ️ We also need !important to get correct color in badge icon +*/ +.text-white { + color: #fff !important; +} + +.bg-var-theme-background { + background-color: rgba(var(--v-theme-background), var(--v-medium-emphasis-opacity)) !important; +} + +// [/^bg-light-(\w+)$/, ([, w]) => ({ backgroundColor: `rgba(var(--v-theme-${w}), var(--v-activated-opacity))` })], +@each $color-name in variables.$theme-colors-name { + .bg-light-#{$color-name} { + background-color: rgba(var(--v-theme-#{$color-name}), var(--v-activated-opacity)) !important; + } +} + +// 👉 Typography +.font-weight-semibold { + font-weight: 600 !important; +} + +.leading-normal { + line-height: normal !important; +} + +// 👉 for rtl only +.flip-in-rtl { + @include layoutsMixins.rtl { + transform: scaleX(-1); + } +} + +// 👉 Carousel +.carousel-delimiter-top-end { + .v-carousel__controls { + justify-content: end; + block-size: 40px; + inset-block-start: 0; + padding-inline: 1rem; + + .v-btn--icon.v-btn--density-default { + block-size: calc(var(--v-btn-height) + -10px); + color: rgba(var(--v-theme-on-surface), var(--v-medium-emphasis-opacity)); + inline-size: calc(var(--v-btn-height) + -10px); + + &.v-btn--active { + color: #fff; + } + + .v-btn__overlay { + opacity: 0; + } + } + } + + @each $color-name in variables.$theme-colors-name { + + &.dots-active-#{$color-name} { + .v-carousel__controls { + .v-btn--active { + color: rgb(var(--v-theme-#{$color-name})) !important; + } + } + } + } +} diff --git a/src/plugins/vuetify/@core/scss/base/_utils.scss b/src/plugins/vuetify/@core/scss/base/_utils.scss new file mode 100644 index 00000000..ac6ad78c --- /dev/null +++ b/src/plugins/vuetify/@core/scss/base/_utils.scss @@ -0,0 +1,152 @@ +@use "sass:map"; +@use "sass:list"; + +// Thanks: https://css-tricks.com/snippets/sass/deep-getset-maps/ +@function map-deep-get($map, $keys...) { + @each $key in $keys { + $map: map.get($map, $key); + } + + @return $map; +} + +@function map-deep-set($map, $keys, $value) { + $maps: ($map,); + $result: null; + + // If the last key is a map already + // Warn the user we will be overriding it with $value + @if type-of(nth($keys, -1)) == "map" { + @warn "The last key you specified is a map; it will be overrided with `#{$value}`."; + } + + // If $keys is a single key + // Just merge and return + @if length($keys) == 1 { + @return map-merge($map, ($keys: $value)); + } + + // Loop from the first to the second to last key from $keys + // Store the associated map to this key in the $maps list + // If the key doesn't exist, throw an error + @for $i from 1 through length($keys) - 1 { + $current-key: list.nth($keys, $i); + $current-map: list.nth($maps, -1); + $current-get: map.get($current-map, $current-key); + + @if not $current-get { + @error "Key `#{$key}` doesn't exist at current level in map."; + } + + $maps: list.append($maps, $current-get); + } + + // Loop from the last map to the first one + // Merge it with the previous one + @for $i from length($maps) through 1 { + $current-map: list.nth($maps, $i); + $current-key: list.nth($keys, $i); + $current-val: if($i == list.length($maps), $value, $result); + $result: map.map-merge($current-map, ($current-key: $current-val)); + } + + // Return result + @return $result; +} + +// font size utility classes +// font size +$font-sizes: ( + "xs": 0.75rem, + "sm": 0.875rem, + "base": 1rem, + "lg": 1.125rem, + "xl": 1.25rem, + "2xl": 1.5rem, + "3xl": 1.875rem, + "4xl": 2.25rem, + "5xl": 3rem, + "6xl": 3.75rem, + "7xl": 4.5rem, + "8xl": 6rem, + "9xl": 8rem +); + +// font line-height +$font-line-height: ( + "xs": 1rem, + "sm": 1.25rem, + "base": 1.5rem, + "lg": 1.75rem, + "xl": 1.75rem, + "2xl": 2rem, + "3xl": 2.25rem, + "4xl": 2.5rem, + "5xl": 1, + "6xl": 1, + "7xl": 1, + "8xl": 1, + "9xl": 1 +); + +@each $name, $size in $font-sizes { + .text-#{$name} { + font-size: $size; + line-height: map.get($font-line-height, $name); + } +} + +// truncate utility class +.truncate { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} + +// gap utility class +$gap: ( + "0": 0, + "1": 0.25rem, + "2": 0.5rem, + "3": 0.75rem, + "4": 1rem, + "5": 1.25rem, + "6":1.5rem, + "7": 1.75rem, + "8": 2rem, + "9": 2.25rem, + "10": 2.5rem, + "11": 2.75rem, + "12": 3rem, + "14": 3.5rem, + "16": 4rem, + "20": 5rem, + "24": 6rem, + "28": 7rem, + "32": 8rem, + "36": 9rem, + "40": 10rem, + "44": 11rem, + "48": 12rem, + "52": 13rem, + "56": 14rem, + "60": 15rem, + "64": 16rem, + "72": 18rem, + "80": 20rem, + "96": 24rem +); + +@each $name, $size in $gap { + .gap-#{$name} { + gap: $size; + } + + .gap-x-#{$name} { + column-gap: $size; + } + + .gap-y-#{$name} { + row-gap: $size; + } +} diff --git a/src/plugins/vuetify/@core/scss/base/_variables.scss b/src/plugins/vuetify/@core/scss/base/_variables.scss new file mode 100644 index 00000000..cb34d2e8 --- /dev/null +++ b/src/plugins/vuetify/@core/scss/base/_variables.scss @@ -0,0 +1,141 @@ +/* + TODO: Add docs on when to use placeholder vs when to use SASS variable + + Placeholder + - When we want to keep customization to our self between templates use it + + Variables + - When we want to allow customization from both user and our side + - You can also use variable for consistency (e.g. mx 1 rem should be applied to both vertical nav items and vertical nav header) +*/ + +@forward "@layouts/styles/variables" with ( + // Adjust z-index so vertical nav & overlay stays on top of v-layout in v-main. E.g. Email app + $layout-vertical-nav-z-index: 1004, + $layout-overlay-z-index: 1003, +); +@use "@layouts/styles/variables" as *; + +// 👉 Default layout + +$navbar-high-emphasis-text: true !default; + +// @forward "@layouts/styles/variables" with ( +// $layout-vertical-nav-width: 350px !default, +// ); + +$css-vars: ( + /* + - Skins + - CSS var + - Theme + */ + "default": ( + "--v-theme-background": ( + "light": (244 ,245, 250), + "dark": (40 ,36, 61), + ), + "--v-theme-surface": ( + "light": (255, 255, 255), + "dark": (49, 45, 75), + ), + ), + "bordered": ( + "--v-theme-background": ( + "light": (255 ,255, 255), + "dark": (49, 45, 75), + ), + "--v-theme-surface": ( + "light": (255, 255, 255), + "dark": (49, 45, 75), + ), + ), +) !default; +$theme-colors-name: ( + "primary", + "secondary", + "error", + "info", + "success", + "warning" +) !default; + +// 👉 Default layout with vertical nav + +$default-layout-with-vertical-nav-navbar-footer-roundness: 10px !default; + +// 👉 Vertical nav +$vertical-nav-background-color-rgb: var(--v-theme-background) !default; +$vertical-nav-background-color: rgb(#{$vertical-nav-background-color-rgb}) !default; + +// ℹ️ This is used to keep consistency between nav items and nav header left & right margin +// This is used by nav items & nav header +$vertical-nav-horizontal-spacing: 1rem !default; +$vertical-nav-horizontal-padding: 0.75rem !default; + +// Vertical nav header height. Mostly we will align it with navbar height; +$vertical-nav-header-height: $layout-vertical-nav-navbar-height !default; +$vertical-nav-navbar-elevation: 3 !default; +$vertical-nav-navbar-style: "elevated" !default; // options: elevated, floating +$vertical-nav-floating-navbar-top: 1rem !default; + +// Vertical nav header padding +$vertical-nav-header-padding: 1rem $vertical-nav-horizontal-padding !default; +$vertical-nav-header-inline-spacing: $vertical-nav-horizontal-spacing !default; + +// Move logo when vertical nav is mini (collapsed but not hovered) +$vertical-nav-header-logo-translate-x-when-vertical-nav-mini: -4px !default; + +// Space between logo and title +$vertical-nav-header-logo-title-spacing: 0.9rem !default; + +// Section title margin top (when its not first child) +$vertical-nav-section-title-mt: 1.5rem !default; + +// Section title margin bottom +$vertical-nav-section-title-mb: 0.5rem !default; + +// Vertical nav icons +$vertical-nav-items-icon-size: 1.5rem !default; +$vertical-nav-items-nested-icon-size: 0.9rem !default; +$vertical-nav-items-icon-margin-inline-end: 0.5rem !default; + +// Transition duration for nav group arrow +$vertical-nav-nav-group-arrow-transition-duration: 0.15s !default; + +// Timing function for nav group arrow +$vertical-nav-nav-group-arrow-transition-timing-function: ease-in-out !default; + +// 👉 Horizontal nav + +/* + ❗ Heads up + ================== + Here we assume we will always use shorthand property which will apply same padding on four side + This is because this have been used as value of top property by `.popper-content` +*/ +$horizontal-nav-padding: 0.6875rem !default; + +// Gap between top level horizontal nav items +$horizontal-nav-top-level-items-gap: 4px !default; + +// Horizontal nav icons +$horizontal-nav-items-icon-size: 1.5rem !default; +$horizontal-nav-third-level-icon-size: 0.9rem !default; +$horizontal-nav-items-icon-margin-inline-end: 0.625rem !default; + +// ℹ️ We used SCSS variable because we want to allow users to update max height of popper content +// 120px is combined height of navbar & horizontal nav +$horizontal-nav-popper-content-max-height: calc((var(--vh, 1vh) * 100) - 120px - 4rem) !default; + +// ℹ️ This variable is used for horizontal nav popper content's `margin-top` and "The bridge"'s height. We need to sync both values. +$horizontal-nav-popper-content-top: calc($horizontal-nav-padding + 0.375rem) !default; + +// 👉 Plugins + +$plugin-ps-thumb-y-dark: rgba(var(--v-theme-surface-variant), 0.35) !default; + +// 👉 Vuetify + +// Used in src/@core/scss/base/libs/vuetify/_overrides.scss +$vuetify-reduce-default-compact-button-icon-size: true !default; diff --git a/src/plugins/vuetify/@core/scss/base/_vertical-nav.scss b/src/plugins/vuetify/@core/scss/base/_vertical-nav.scss new file mode 100644 index 00000000..2d580c8e --- /dev/null +++ b/src/plugins/vuetify/@core/scss/base/_vertical-nav.scss @@ -0,0 +1,245 @@ +@use "@/plugins/vuetify/@core/scss/base/placeholders" as *; +@use "@/plugins/vuetify/@core/scss/template/placeholders" as *; +@use "@layouts/styles/mixins" as layoutsMixins; +@use "@configured-variables" as variables; +@use "@/plugins/vuetify/@core/scss/base/mixins" as mixins; +@use "vuetify/lib/styles/tools/states" as vuetifyStates; +@use "vuetify/lib/styles/tools/elevation" as elevation; + +.layout-nav-type-vertical { + // 👉 Layout Vertical nav + .layout-vertical-nav { + $sl-layout-nav-type-vertical: &; + + @extend %nav; + + @at-root { + // ℹ️ Add styles for collapsed vertical nav + .layout-vertical-nav-collapsed#{$sl-layout-nav-type-vertical}.hovered { + @include elevation.elevation(6); + } + } + + background-color: variables.$vertical-nav-background-color; + + // 👉 Nav header + .nav-header { + overflow: hidden; + padding: variables.$vertical-nav-header-padding; + margin-inline: variables.$vertical-nav-header-inline-spacing; + min-block-size: variables.$vertical-nav-header-height; + + // TEMPLATE: Check if we need to move this to master + .app-logo { + flex-shrink: 0; + transition: transform 0.25s ease-in-out; + + @at-root { + // Move logo a bit to align center with the icons in vertical nav mini variant + .layout-vertical-nav-collapsed#{$sl-layout-nav-type-vertical}:not(.hovered) .nav-header .app-logo { + transform: translateX(variables.$vertical-nav-header-logo-translate-x-when-vertical-nav-mini); + + @include layoutsMixins.rtl { + transform: translateX(-(variables.$vertical-nav-header-logo-translate-x-when-vertical-nav-mini)); + } + } + } + } + + .app-title { + margin-inline-start: variables.$vertical-nav-header-logo-title-spacing; + } + + .header-action { + @extend %nav-header-action; + } + } + + // 👉 Nav items shadow + .vertical-nav-items-shadow { + position: absolute; + z-index: 1; + background: + linear-gradient( + rgb(#{variables.$vertical-nav-background-color-rgb}) 5%, + rgba(#{variables.$vertical-nav-background-color-rgb}, 75%) 45%, + rgba(#{variables.$vertical-nav-background-color-rgb}, 20%) 80%, + transparent + ); + block-size: 55px; + inline-size: 100%; + inset-block-start: calc(#{variables.$vertical-nav-header-height} - 2px); + opacity: 0; + pointer-events: none; + transform: translateX(-8px); + transition: opacity 0.15s ease-in-out; + will-change: opacity; + + @include layoutsMixins.rtl { + transform: translateX(8px); + } + } + + &.scrolled { + .vertical-nav-items-shadow { + opacity: 1; + } + } + + // 👉 Nav section title + .nav-section-title { + @extend %vertical-nav-item; + @extend %vertical-nav-section-title; + + margin-block-end: variables.$vertical-nav-section-title-mb; + + &:not(:first-child) { + margin-block-start: variables.$vertical-nav-section-title-mt; + } + + .placeholder-icon { + margin-inline: auto; + } + } + + // Nav item badge + .nav-item-badge { + @extend %vertical-nav-item-badge; + } + + // 👉 Nav group & Link + .nav-link, + .nav-group { + overflow: hidden; + + > :first-child { + @extend %vertical-nav-item; + @extend %vertical-nav-item-interactive; + } + + .nav-item-icon { + @extend %vertical-nav-items-icon; + } + + &.disabled { + opacity: var(--v-disabled-opacity); + pointer-events: none; + } + } + + // 👉 Vertical nav link + .nav-link { + @extend %nav-link; + + > .router-link-exact-active { + @extend %nav-link-active; + } + + > a { + // Adds before psudo element to style hover state + @include mixins.before-pseudo; + + // Adds vuetify states + @include vuetifyStates.states($active: false); + } + } + + // 👉 Vertical nav group + .nav-group { + // Reduce the size of icon if link/group is inside group + .nav-group, + .nav-link { + .nav-item-icon { + @extend %vertical-nav-items-nested-icon; + } + } + + // Hide icons after 2nd level + & .nav-group { + .nav-link, + .nav-group { + .nav-item-icon { + @extend %vertical-nav-items-icon-after-2nd-level; + } + } + } + + .nav-group-arrow { + flex-shrink: 0; + transform-origin: center; + transition: transform variables.$vertical-nav-nav-group-arrow-transition-duration variables.$vertical-nav-nav-group-arrow-transition-timing-function; + will-change: transform; + } + + // Rotate arrow icon if group is opened + &.open { + > .nav-group-label .nav-group-arrow { + transform: rotateZ(90deg); + } + } + + // Nav group label + > :first-child { + // Adds before psudo element to style hover state + @include mixins.before-pseudo; + + // Adds vuetify states + @include vuetifyStates.states($active: false); + } + + // Active & open states for nav group label + &.active, + &.open { + > :first-child { + @extend %vertical-nav-group-open-active; + } + } + } + } +} + +// 👉 Transitions +.vertical-nav-section-title-enter-active, +.vertical-nav-section-title-leave-active { + transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out; +} + +.vertical-nav-section-title-enter-from, +.vertical-nav-section-title-leave-to { + opacity: 0; + transform: translateX(15px); + + @include layoutsMixins.rtl { + transform: translateX(-15px); + } +} + +.transition-slide-x-enter-active, +.transition-slide-x-leave-active { + transition: opacity 0.1s ease-in-out, transform 0.12s ease-in-out; +} + +.transition-slide-x-enter-from, +.transition-slide-x-leave-to { + opacity: 0; + transform: translateX(-15px); + + @include layoutsMixins.rtl { + transform: translateX(15px); + } +} + +.vertical-nav-app-title-enter-active, +.vertical-nav-app-title-leave-active { + transition: opacity 0.1s ease-in-out, transform 0.12s ease-in-out; +} + +.vertical-nav-app-title-enter-from, +.vertical-nav-app-title-leave-to { + opacity: 0; + transform: translateX(-15px); + + @include layoutsMixins.rtl { + transform: translateX(15px); + } +} diff --git a/src/plugins/vuetify/@core/scss/base/libs/_perfect-scrollbar.scss b/src/plugins/vuetify/@core/scss/base/libs/_perfect-scrollbar.scss new file mode 100644 index 00000000..ceb2d7ac --- /dev/null +++ b/src/plugins/vuetify/@core/scss/base/libs/_perfect-scrollbar.scss @@ -0,0 +1,35 @@ +$ps-size: 0.25rem; +$ps-hover-size: 0.375rem; +$ps-track-size: 0.5rem; + +.ps__thumb-y { + inline-size: $ps-size; + inset-inline-end: 0.0625rem; +} + +.ps__thumb-x { + block-size: $ps-size !important; +} + +.ps__rail-x { + background: transparent !important; + block-size: $ps-track-size; +} + +.ps__rail-y { + background: transparent !important; + inline-size: $ps-track-size !important; + inset-inline-end: 0.125rem !important; + inset-inline-start: unset !important; +} + +.ps__rail-y.ps--clicking .ps__thumb-y, +.ps__rail-y:focus > .ps__thumb-y, +.ps__rail-y:hover > .ps__thumb-y { + inline-size: $ps-hover-size; +} + +.ps__thumb-x, +.ps__thumb-y { + background-color: rgb(var(--v-theme-perfect-scrollbar-thumb)) !important; +} diff --git a/src/plugins/vuetify/@core/scss/base/libs/vuetify/_index.scss b/src/plugins/vuetify/@core/scss/base/libs/vuetify/_index.scss new file mode 100644 index 00000000..f33ef3f4 --- /dev/null +++ b/src/plugins/vuetify/@core/scss/base/libs/vuetify/_index.scss @@ -0,0 +1 @@ +@use "overrides"; diff --git a/src/plugins/vuetify/@core/scss/base/libs/vuetify/_overrides.scss b/src/plugins/vuetify/@core/scss/base/libs/vuetify/_overrides.scss new file mode 100644 index 00000000..3afa45ad --- /dev/null +++ b/src/plugins/vuetify/@core/scss/base/libs/vuetify/_overrides.scss @@ -0,0 +1,243 @@ +@use "@/plugins/vuetify/@core/scss/base/utils"; +@use "@configured-variables" as variables; + +// 👉 Application +// ℹ️ We need accurate vh in mobile devices as well +.v-application__wrap { + /* stylelint-disable-next-line liberty/use-logical-spec */ + min-height: calc(var(--vh, 1vh) * 100); +} + +// 👉 Typography +h1, +h2, +h3, +h4, +h5, +h6, +.text-h1, +.text-h2, +.text-h3, +.text-h4, +.text-h5, +.text-h6, +.text-button, +.text-overline, +.v-card-title { + color: rgba(var(--v-theme-on-background), var(--v-high-emphasis-opacity)); +} + +.v-application, +.text-body-1, +.text-body-2, +.text-subtitle-1, +.text-subtitle-2 { + color: rgba(var(--v-theme-on-background), var(--v-medium-emphasis-opacity)); +} + +// 👉 Grid +// Remove margin-bottom of v-input_details inside grid (validation error message) +.v-row { + .v-col, + [class^="v-col-*"] { + .v-input__details { + margin-block-end: 0; + } + } +} + +// 👉 Theme +.v-theme--light { + --v-theme-background: + var( + --skin-theme-background, + #{utils.map-deep-get(variables.$css-vars, "default", "--v-theme-background", "light")} + ) !important; + --v-theme-surface: + var( + --skin-theme-surface, + #{utils.map-deep-get(variables.$css-vars, "default", "--v-theme-surface", "light")} + ) !important; +} + +.v-theme--dark { + --v-theme-background: + var( + --skin-theme-background, + #{utils.map-deep-get(variables.$css-vars, "default", "--v-theme-background", "dark")} + ) !important; + --v-theme-surface: + var( + --skin-theme-surface, + #{utils.map-deep-get(variables.$css-vars, "default", "--v-theme-surface", "dark")} + ) !important; +} + +// 👉 Button +@if variables.$vuetify-reduce-default-compact-button-icon-size { + .v-btn--density-compact.v-btn--size-default { + .v-btn__content > svg { + width: 22px; + height: 22px; + font-size: 22px; + } + } +} + +// 👉 Card +// Removes padding-top for immediately placed v-card-text after itself +.v-card-text { + & + & { + padding-block-start: 0 !important; + } +} + +/* + 👉 Checkbox & Radio Ripple + + TODO Checkbox and switch component. Remove it when vuetify resolve the extra spacing: https://github.com/vuetifyjs/vuetify/issues/15519 + We need this because form elements likes checkbox and switches are by default set to height of textfield height which is way big than we want + Tested with checkbox & switches +*/ +.v-checkbox.v-input, +.v-switch.v-input { + --v-input-control-height: auto; + + flex: unset; +} + +.v-selection-control--density-comfortable { + &.v-checkbox-btn, + &.v-radio, + &.v-radio-btn { + .v-selection-control__wrapper { + margin-inline-start: -0.5625rem; + } + } +} + +.v-selection-control--density-compact { + &.v-radio, + &.v-radio-btn, + &.v-checkbox-btn { + .v-selection-control__wrapper { + margin-inline-start: -0.3125rem; + } + } +} + +.v-selection-control--density-default { + &.v-checkbox-btn, + &.v-radio, + &.v-radio-btn { + .v-selection-control__wrapper { + margin-inline-start: -0.6875rem; + } + } +} + +.v-radio-group { + .v-selection-control-group { + .v-radio:not(:last-child) { + margin-inline-end: 0.9rem; + } + } +} + +/* + 👉 Tabs + Disable tab transition + + This is for tabs where we don't have card wrapper to tabs and have multiple cards as tab content. + + This class will disable transition and adds `overflow: unset` on `VWindow` to allow spreading shadow +*/ +.disable-tab-transition { + overflow: unset !important; + + .v-window__container { + block-size: auto !important; + } + + .v-window-item:not(.v-window-item--active) { + display: none !important; + } + + .v-window__container .v-window-item { + transform: none !important; + } +} + +// 👉 List +.v-list { + // Set icons opacity to .87 + .v-list-item__prepend > .v-icon, + .v-list-item__append > .v-icon { + opacity: var(--v-high-emphasis-opacity); + } +} + +// 👉 Card list + +/* + ℹ️ Custom class + + Remove list spacing inside card + + This is because card title gets padding of 20px and list item have padding of 16px. Moreover, list container have padding-bottom as well. +*/ +.card-list { + --v-card-list-gap: 20px; + + &.v-list { + padding-block: 0; + } + + .v-list-item { + min-block-size: unset; + min-block-size: auto !important; + padding-block: 0 !important; + padding-inline: 0 !important; + + > .v-ripple__container { + opacity: 0; + } + + &:not(:last-child) { + padding-block-end: var(--v-card-list-gap) !important; + } + } + + .v-list-item:hover, + .v-list-item:focus, + .v-list-item:active, + .v-list-item.active { + > .v-list-item__overlay { + opacity: 0 !important; + } + } +} + +// 👉 Table +.v-table { + color: rgba(var(--v-theme-on-background), var(--v-medium-emphasis-opacity)); +} + +// 👉 v-field +.v-field:hover .v-field__outline { + --v-field-border-opacity: var(--v-medium-emphasis-opacity); +} + +// 👉 VLabel +.v-label { + opacity: 1; + + &:not(.v-field-label--floating) { + color: rgba(var(--v-theme-on-background), var(--v-medium-emphasis-opacity)); + } +} + +// 👉 Overlay +.v-overlay__scrim { + background: rgba(var(--v-overlay-scrim-background), var(--v-overlay-scrim-opacity)); +} diff --git a/src/plugins/vuetify/@core/scss/base/libs/vuetify/_variables.scss b/src/plugins/vuetify/@core/scss/base/libs/vuetify/_variables.scss new file mode 100644 index 00000000..50e72176 --- /dev/null +++ b/src/plugins/vuetify/@core/scss/base/libs/vuetify/_variables.scss @@ -0,0 +1,55 @@ +// 👉 Shadow opacities +$shadow-key-umbra-opacity-custom: var(--v-shadow-key-umbra-opacity); +$shadow-key-penumbra-opacity-custom: var(--v-shadow-key-penumbra-opacity); +$shadow-key-ambient-opacity-custom: var(--v-shadow-key-ambient-opacity); + +// 👉 Card transition properties +$card-transition-property-custom: box-shadow, opacity; + +@forward "vuetify/settings" with ( + // 👉 General settings + $color-pack: false !default, + + // 👉 Shadow opacity + $shadow-key-umbra-opacity: $shadow-key-umbra-opacity-custom !default, + $shadow-key-penumbra-opacity: $shadow-key-penumbra-opacity-custom !default, + $shadow-key-ambient-opacity: $shadow-key-ambient-opacity-custom !default, + + // States + $states: ( + "hover": 0.08, + "focus": 0.1, + "selected": 0.12, + "activated": 0.1, + "pressed": 0.14, + "dragged": 0.1 + ) !default, + + // 👉 Card + $card-color: rgba(var(--v-theme-on-surface), var(--v-medium-emphasis-opacity)) !default, + $card-elevation: 6 !default, + $card-title-line-height: 1.6 !default, + $card-actions-min-height: unset !default, + $card-text-padding: 1.25rem !default, + $card-item-padding: 1.25rem !default, + $card-actions-padding: 0 12px 12px !default, + $card-transition-property: $card-transition-property-custom !default, + $card-subtitle-opacity: 1 !default, + + // 👉 Expansion Panel + $expansion-panel-active-title-min-height: 48px !default, + + // 👉 List + $list-item-icon-margin-end: 16px !default, + $list-item-icon-margin-start: 16px !default, + + // 👉 Tooltip + $tooltip-background-color: rgba(59, 55, 68, 0.9) !default, + $tooltip-text-color: rgb(var(--v-theme-on-primary)) !default, + $tooltip-font-size: 0.75rem !default, + + $button-icon-density: ("default": 2, "comfortable": 0, "compact": -1 ) !default, + + // 👉 VTimeline + $timeline-dot-size: 34px !default, +); diff --git a/src/plugins/vuetify/@core/scss/base/placeholders/_default-layout-horizontal-nav.scss b/src/plugins/vuetify/@core/scss/base/placeholders/_default-layout-horizontal-nav.scss new file mode 100644 index 00000000..262739d0 --- /dev/null +++ b/src/plugins/vuetify/@core/scss/base/placeholders/_default-layout-horizontal-nav.scss @@ -0,0 +1,27 @@ +@use "vuetify/lib/styles/tools/elevation" as elevation; +@use "@configured-variables" as variables; +@use "misc"; + +%default-layout-horizontal-nav-navbar-and-nav-container { + @include elevation.elevation(3); + + // ℹ️ 1000 is v-window z-index + z-index: 1001; + background-color: rgb(var(--v-theme-surface)); + + &.header-blur { + @extend %blurry-bg; + } +} + +%default-layout-horizontal-nav-navbar { + border-block-end: 1px solid rgba(var(--v-border-color), var(--v-border-opacity)); +} + +%default-layout-horizontal-nav-nav { + padding-block: variables.$horizontal-nav-padding; +} + +%default-layout-horizontal-nav-nav-items-list { + gap: variables.$horizontal-nav-top-level-items-gap; +} diff --git a/src/plugins/vuetify/@core/scss/base/placeholders/_default-layout-vertical-nav.scss b/src/plugins/vuetify/@core/scss/base/placeholders/_default-layout-vertical-nav.scss new file mode 100644 index 00000000..871a6917 --- /dev/null +++ b/src/plugins/vuetify/@core/scss/base/placeholders/_default-layout-vertical-nav.scss @@ -0,0 +1,46 @@ +@use "vuetify/lib/styles/tools/elevation" as elevation; +@use "@configured-variables" as variables; +@use "misc"; + +%default-layout-vertical-nav-scrolled-sticky-elevated-nav { + background-color: rgb(var(--v-theme-surface)); +} + +%default-layout-vertical-nav-floating-navbar-and-sticky-elevated-navbar-scrolled { + @include elevation.elevation(variables.$vertical-nav-navbar-elevation); + + // If navbar is contained => Squeeze navbar content on scroll + @if variables.$layout-vertical-nav-navbar-is-contained { + padding-inline: 1.2rem; + } +} + +%default-layout-vertical-nav-floating-navbar-overlay { + isolation: isolate; + + &::after { + position: absolute; + z-index: -1; + /* stylelint-disable property-no-vendor-prefix */ + -webkit-backdrop-filter: blur(10px); + backdrop-filter: blur(10px); + /* stylelint-enable */ + background: + linear-gradient( + 180deg, + rgba(var(--v-theme-background), 70%) 44%, + rgba(var(--v-theme-background), 43%) 73%, + rgba(var(--v-theme-background), 0%) + ); + background-repeat: repeat; + block-size: calc(variables.$layout-vertical-nav-navbar-height + variables.$vertical-nav-floating-navbar-top + 0.5rem); + content: ""; + inset-block-start: -(variables.$vertical-nav-floating-navbar-top); + inset-inline-end: 0; + inset-inline-start: 0; + /* stylelint-disable property-no-vendor-prefix */ + -webkit-mask: linear-gradient(black, black 18%, transparent 100%); + mask: linear-gradient(black, black 18%, transparent 100%); + /* stylelint-enable */ + } +} diff --git a/src/plugins/vuetify/@core/scss/base/placeholders/_default-layout.scss b/src/plugins/vuetify/@core/scss/base/placeholders/_default-layout.scss new file mode 100644 index 00000000..8e5e9906 --- /dev/null +++ b/src/plugins/vuetify/@core/scss/base/placeholders/_default-layout.scss @@ -0,0 +1,3 @@ +%layout-navbar { + color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity)); +} diff --git a/src/plugins/vuetify/@core/scss/base/placeholders/_horizontal-nav.scss b/src/plugins/vuetify/@core/scss/base/placeholders/_horizontal-nav.scss new file mode 100644 index 00000000..e511331c --- /dev/null +++ b/src/plugins/vuetify/@core/scss/base/placeholders/_horizontal-nav.scss @@ -0,0 +1,94 @@ +@use "@layouts/styles/mixins" as layoutsMixins; +@use "vuetify/lib/styles/tools/elevation" as elevation; +@use "@configured-variables" as variables; +@use "@layouts/styles/placeholders"; + +// Horizontal nav item styles (including nested) +%horizontal-nav-item { + padding-block: 0.563rem; + padding-inline: 1rem; +} + +// Top level horizontal nav item styles (`a` tag & group label) +%horizontal-nav-top-level-item { + border-radius: 0.4rem; +} + +// Active styles for sub nav link +%horizontal-nav-sub-nav-link-active { + background: rgba(var(--v-theme-primary), 0.1); + color: rgb(var(--v-theme-primary)); +} + +/* + ℹ️ This style is required when you don't provide any transition to horizontal nav items via themeConfig `themeConfig.horizontalNav.transition` + Also, you have to disable it if you are using transition +*/ +// Popper content styles when it's hidden +%horizontal-nav-popper-content-hidden { + // display: none; + + // opacity: 0; + // pointer-events: none; + // transform: translateY(7px); + // transition: transform 0.25s ease-in-out, opacity 0.15s ease-in-out; +} + +/* + ℹ️ This style is required when you don't provide any transition to horizontal nav items via themeConfig `themeConfig.horizontalNav.transition` + Also, you have to disable it if you are using transition +*/ +// Popper content styles when it's shown +%horizontal-nav-popper-content-visible { + // display: block; + + // opacity: 1; + // pointer-events: auto; + // pointer-events: auto; + // transform: translateY(0); +} + +// Horizontal nav item icon (Including sub nav items) +%horizontal-nav-item-icon { + font-size: variables.$horizontal-nav-items-icon-size; + margin-inline-end: variables.$horizontal-nav-items-icon-margin-inline-end; +} + +// Horizontal nav subitem +%horizontal-nav-subitem { + min-inline-size: 12rem; + + .nav-item-title { + margin-inline-end: 1rem; + } +} + +// Styles for third level item icon/ (e.g. Reduce the icon's size of nested group's nav links (Top level group > Sub group > [Nav links])) +%third-level-nav-item-icon { + font-size: variables.$horizontal-nav-third-level-icon-size; + margin-inline-end: 0.75rem; + + /* + ℹ️ `margin-inline` will be (normal icon font-size - small icon font-size) / 2 + (1.5rem - 0.9rem) / 2 => 0.6rem / 2 => 0.3rem + */ + margin-inline-start: calc((variables.$horizontal-nav-items-icon-size - variables.$horizontal-nav-third-level-icon-size) / 2); +} + +// Horizontal nav item title +%horizontal-nav-item-title { + margin-inline-end: 0.3rem; + white-space: nowrap; +} + +// Popper content styles +%horizontal-nav-popper-content { + @include elevation.elevation(4); + + border-radius: 6px; + padding-block: 0.3rem; + + > div { + @extend %style-scroll-bar; + } +} diff --git a/src/plugins/vuetify/@core/scss/base/placeholders/_index.scss b/src/plugins/vuetify/@core/scss/base/placeholders/_index.scss new file mode 100644 index 00000000..e2ad1776 --- /dev/null +++ b/src/plugins/vuetify/@core/scss/base/placeholders/_index.scss @@ -0,0 +1,7 @@ +@forward "horizontal-nav"; +@forward "vertical-nav"; +@forward "nav"; +@forward "default-layout"; +@forward "default-layout-vertical-nav"; +@forward "default-layout-horizontal-nav"; +@forward "misc"; diff --git a/src/plugins/vuetify/@core/scss/base/placeholders/_misc.scss b/src/plugins/vuetify/@core/scss/base/placeholders/_misc.scss new file mode 100644 index 00000000..87a3ed67 --- /dev/null +++ b/src/plugins/vuetify/@core/scss/base/placeholders/_misc.scss @@ -0,0 +1,7 @@ +%blurry-bg { + /* stylelint-disable property-no-vendor-prefix */ + -webkit-backdrop-filter: blur(6px); + backdrop-filter: blur(6px); + /* stylelint-enable */ + background-color: rgb(var(--v-theme-surface), 0.9); +} diff --git a/src/plugins/vuetify/@core/scss/base/placeholders/_nav.scss b/src/plugins/vuetify/@core/scss/base/placeholders/_nav.scss new file mode 100644 index 00000000..b0af5ede --- /dev/null +++ b/src/plugins/vuetify/@core/scss/base/placeholders/_nav.scss @@ -0,0 +1,33 @@ +@use "vuetify/lib/styles/tools/_elevation" as mixins_elevation; + +// ℹ️ This is common style that needs to be applied to both navs +%nav { + color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity)); + + .nav-item-title { + letter-spacing: 0.15px; + } + + .nav-section-title { + letter-spacing: 0.4px; + } +} + +/* + Active nav link styles for horizontal & vertical nav + + For horizontal nav it will be only applied to top level nav items + For vertical nav it will be only applied to nav links (not nav groups) +*/ +%nav-link-active { + background-color: rgb(var(--v-global-theme-primary)); + color: rgb(var(--v-theme-on-primary)); + + @include mixins_elevation.elevation(3); +} + +%nav-link { + a { + color: inherit; + } +} diff --git a/src/plugins/vuetify/@core/scss/base/placeholders/_vertical-nav.scss b/src/plugins/vuetify/@core/scss/base/placeholders/_vertical-nav.scss new file mode 100644 index 00000000..5575b42e --- /dev/null +++ b/src/plugins/vuetify/@core/scss/base/placeholders/_vertical-nav.scss @@ -0,0 +1,81 @@ +@use "@/plugins/vuetify/@core/scss/base/mixins"; +@use "@configured-variables" as variables; +@use "vuetify/lib/styles/tools/states" as vuetifyStates; + +%nav-header-action { + font-size: 1.25rem; +} + +// Nav items styles (including section title) +%vertical-nav-item { + margin-block: 0; + margin-inline: variables.$vertical-nav-horizontal-spacing; + padding-block: 0; + padding-inline: variables.$vertical-nav-horizontal-padding; + white-space: nowrap; +} + +// This is same as `%vertical-nav-item` except section title is excluded +%vertical-nav-item-interactive { + border-radius: 0.4rem; + block-size: 2.75rem; + + /* + ℹ️ We will use `margin-block-end` instead of `margin-block` to give more space for shadow to appear. + With `margin-block`, due to small space (space gets divided between top & bottom) shadow cuts + */ + margin-block-end: 0.375rem; +} + +// Common styles for nav item icon styles +// ℹ️ Nav group's children icon styles are not here (Adjusts height, width & margin) +%vertical-nav-items-icon { + flex-shrink: 0; + font-size: variables.$vertical-nav-items-icon-size; + margin-inline-end: variables.$vertical-nav-items-icon-margin-inline-end; +} + +// ℹ️ Icon styling for icon nested inside another nav item (2nd level) +%vertical-nav-items-nested-icon { + /* + ℹ️ `margin-inline` will be (normal icon font-size - small icon font-size) / 2 + (1.5rem - 0.9rem) / 2 => 0.6rem / 2 => 0.3rem + */ + $vertical-nav-items-nested-icon-margin-inline: calc((variables.$vertical-nav-items-icon-size - variables.$vertical-nav-items-nested-icon-size) / 2); + + font-size: variables.$vertical-nav-items-nested-icon-size; + margin-inline-end: $vertical-nav-items-nested-icon-margin-inline + variables.$vertical-nav-items-icon-margin-inline-end; + margin-inline-start: $vertical-nav-items-nested-icon-margin-inline; +} + +%vertical-nav-items-icon-after-2nd-level { + visibility: hidden; +} + +// Open & Active nav group styles +%vertical-nav-group-open-active { + @include mixins.selected-states("&::before"); +} + +// Section title +%vertical-nav-section-title { + // ℹ️ Setting height will prevent jerking when text & icon is toggled + block-size: 1.5rem; + color: rgba(var(--v-theme-on-surface), var(--v-disabled-opacity)); + font-size: 0.75rem; + text-transform: uppercase; +} + +// Vertical nav item badge styles +%vertical-nav-item-badge { + display: inline-block; + border-radius: 1.5rem; + font-size: 0.8em; + font-weight: 500; + line-height: 1; + padding-block: 0.25em; + padding-inline: 0.55em; + text-align: center; + vertical-align: baseline; + white-space: nowrap; +} diff --git a/src/plugins/vuetify/@core/scss/base/skins/_bordered.scss b/src/plugins/vuetify/@core/scss/base/skins/_bordered.scss new file mode 100644 index 00000000..e1958dda --- /dev/null +++ b/src/plugins/vuetify/@core/scss/base/skins/_bordered.scss @@ -0,0 +1,90 @@ +@use "sass:map"; +@use "@/plugins/vuetify/@core/scss/base/mixins"; +@use "@configured-variables" as variables; +@use "../utils"; + +$header: ".layout-navbar"; + +@if variables.$layout-vertical-nav-navbar-is-contained { + $header: ".layout-navbar .navbar-content-container"; +} + +.skin--bordered { + @include mixins.bordered-skin(".v-card:not(.v-card .v-card):not(.v-card--flat)"); + @include mixins.bordered-skin(".v-menu .v-overlay__content > .v-card, .v-menu .v-overlay__content > .v-sheet, .v-menu .v-overlay__content > .v-list"); + @include mixins.bordered-skin(".popper-content"); + + // Navbar + // -- Horizontal + @include mixins.bordered-skin(".layout-navbar-and-nav-container", "border-bottom"); + + // -- Vertical + // ℹ️ We have added `.layout-navbar-sticky` as well in selector because we don't want to add borders if navbar is static + @if variables.$layout-vertical-nav-navbar-is-contained { + @include mixins.bordered-skin(".layout-nav-type-vertical.window-scrolled.layout-navbar-sticky #{$header}"); + .layout-nav-type-vertical.window-scrolled #{$header} { + border-block-start: none !important; + } + } @else { + @include mixins.bordered-skin(".layout-nav-type-vertical.window-scrolled.layout-navbar-sticky #{$header}", "border-bottom"); + } + + // Footer + // -- Vertical + @include mixins.bordered-skin(".layout-nav-type-vertical.layout-footer-sticky .layout-footer .footer-content-container"); + + .layout-nav-type-vertical.layout-footer-sticky .layout-footer .footer-content-container { + border-block-end: none; + } + + // -- Horizontal + @include mixins.bordered-skin(".layout-nav-type-horizontal.layout-footer-sticky .layout-footer"); + + .layout-nav-type-horizontal.layout-footer-sticky .layout-footer { + border-block-end: none; + } + + /* + Missing components: + - Stepper + */ + + .v-theme--light { + --skin-theme-background: + #{utils.map-deep-get( + variables.$css-vars, + "bordered", + "--v-theme-background", + "light" + )}; + --skin-theme-surface: + #{utils.map-deep-get( + variables.$css-vars, + "bordered", + "--v-theme-surface", + "light" + )}; + } + + .v-theme--dark { + --skin-theme-background: + #{utils.map-deep-get( + variables.$css-vars, + "bordered", + "--v-theme-background", + "dark" + )}; + --skin-theme-surface: + #{utils.map-deep-get( + variables.$css-vars, + "bordered", + "--v-theme-surface", + "dark" + )}; + } + + // Vertical Nav + .layout-vertical-nav { + border-inline-end: thin solid rgba(var(--v-border-color), var(--v-border-opacity)); + } +} diff --git a/src/plugins/vuetify/@core/scss/base/skins/_index.scss b/src/plugins/vuetify/@core/scss/base/skins/_index.scss new file mode 100644 index 00000000..19f609f4 --- /dev/null +++ b/src/plugins/vuetify/@core/scss/base/skins/_index.scss @@ -0,0 +1 @@ +@use "bordered"; diff --git a/src/plugins/vuetify/@core/scss/template/_components.scss b/src/plugins/vuetify/@core/scss/template/_components.scss new file mode 100644 index 00000000..edef660f --- /dev/null +++ b/src/plugins/vuetify/@core/scss/template/_components.scss @@ -0,0 +1,108 @@ +@use "vuetify/lib/styles/tools/_elevation" as mixins_elevation; +@use "@configured-variables" as variables; + +// 👉 Expansion panels +.v-expansion-panel-title, +.v-expansion-panel-title--active, +.v-expansion-panel-title:hover, +.v-expansion-panel-title:focus, +.v-expansion-panel-title:focus-visible, +.v-expansion-panel-title--active:focus, +.v-expansion-panel-title--active:hover { + .v-expansion-panel-title__overlay { + opacity: 0 !important; + } +} + +.v-expansion-panels { + :first-child { + border-start-end-radius: variables.$expansion-panel-border-radius-custom; + border-start-start-radius: variables.$expansion-panel-border-radius-custom; + } + + :last-child { + border-end-end-radius: variables.$expansion-panel-border-radius-custom; + border-end-start-radius: variables.$expansion-panel-border-radius-custom; + } +} + +// 👉 Set Elevation when panel open +.v-expansion-panels:not(.v-expansion-panels--variant-accordion) { + .v-expansion-panel.v-expansion-panel--active { + .v-expansion-panel__shadow { + @include mixins_elevation.elevation(3); + } + } +} + +// v-tab with pill support +.v-tabs:not(.v-tabs-pill) { + &.v-tabs--vertical { + border-inline-end: 1px solid rgba(var(--v-border-color), var(--v-border-opacity)); + } +} + +.v-tab__slider { + inset-inline-end: 0; + inset-inline-start: unset; +} + +.v-tabs.v-tabs-pill:not(.v-tabs--stacked) { + &.v-tabs--density-default { + --v-tabs-height: 38px; + } + + .v-tab.v-btn { + border-radius: 0.5rem !important; + } +} + +// 👉 added box shadow +.v-timeline-item { + .v-timeline-divider__dot { + .v-timeline-divider__inner-dot { + box-shadow: 0 0 0 0.1875rem rgb(var(--v-theme-on-surface-variant)); + + @each $color-name in variables.$theme-colors-name { + + &.bg-#{$color-name} { + box-shadow: 0 0 0 0.1875rem rgba(var(--v-theme-#{$color-name}), 0.12); + } + } + } + } +} + +// 👉 Timeline Outlined style +.v-timeline-variant-outlined.v-timeline { + .v-timeline-divider__dot { + .v-timeline-divider__inner-dot { + box-shadow: inset 0 0 0 0.125rem rgb(var(--v-theme-on-surface-variant)); + + @each $color-name in variables.$theme-colors-name { + background-color: rgb(var(--v-theme-surface)) !important; + + &.bg-#{$color-name} { + box-shadow: inset 0 0 0 0.125rem rgb(var(--v-theme-#{$color-name})); + } + } + } + } +} + +// 👉 Slider +.v-slider-thumb { + .v-slider-thumb__label { + background-color: variables.$slider-thumb-label-color; + color: rgb(var(--v-theme-on-primary)); + } + + .v-slider-thumb__label::before { + color: variables.$slider-thumb-label-color; + } +} + +// 👉 switch inactive thumb style +.v-switch__thumb { + color: variables.$switch-thumb-inactive-color; +} diff --git a/src/plugins/vuetify/@core/scss/template/_horizontal-nav.scss b/src/plugins/vuetify/@core/scss/template/_horizontal-nav.scss new file mode 100644 index 00000000..0d245521 --- /dev/null +++ b/src/plugins/vuetify/@core/scss/template/_horizontal-nav.scss @@ -0,0 +1,13 @@ +.layout-horizontal-nav { + .nav-group { + .nav-group-arrow { + font-size: 1.5rem; + } + + &:not(.active) { + .nav-group-arrow { + color: rgba(var(--v-theme-on-background), var(--v-medium-emphasis-opacity)); + } + } + } +} diff --git a/src/plugins/vuetify/@core/scss/template/_utilities.scss b/src/plugins/vuetify/@core/scss/template/_utilities.scss new file mode 100644 index 00000000..8631da9d --- /dev/null +++ b/src/plugins/vuetify/@core/scss/template/_utilities.scss @@ -0,0 +1,11 @@ +@use "@configured-variables" as variables; + +.bg-card { + background: rgb(var(--v-theme-surface)) !important; +} + +.table-header-bg { + th { + background-color: rgb(var(--v-theme-grey-200)); + } +} diff --git a/src/plugins/vuetify/@core/scss/template/_utils.scss b/src/plugins/vuetify/@core/scss/template/_utils.scss new file mode 100644 index 00000000..2969c214 --- /dev/null +++ b/src/plugins/vuetify/@core/scss/template/_utils.scss @@ -0,0 +1,41 @@ +@use "sass:string"; + +/* + ℹ️ This function is helpful when we have multi dimensional value + + Assume we have padding variable `$nav-padding-horizontal: 10px;` + With above variable let's say we use it in some style: + ```scss + .selector { + margin-left: $nav-padding-horizontal; + } + ``` + + Now, problem is we can also have value as `$nav-padding-horizontal: 10px 15px;` + In this case above style will be invalid. + + This function will extract the left most value from the variable value. + + $nav-padding-horizontal: 10px; => 10px; + $nav-padding-horizontal: 10px 15px; => 10px; + + This is safe: + ```scss + .selector { + margin-left: get-first-value($nav-padding-horizontal); + } + ``` +*/ +@function get-first-value($var) { + $start-at: string.index(#{$var}, " "); + + @if $start-at { + @return string.slice( + #{$var}, + 0, + $start-at + ); + } @else { + @return $var; + } +} diff --git a/src/plugins/vuetify/@core/scss/template/_variables.scss b/src/plugins/vuetify/@core/scss/template/_variables.scss new file mode 100644 index 00000000..89c02888 --- /dev/null +++ b/src/plugins/vuetify/@core/scss/template/_variables.scss @@ -0,0 +1,74 @@ +@use "sass:map"; +@use "utils"; + +$vertical-nav-horizontal-padding-margin-custom: 1.75rem; + +// ℹ️ We created this SCSS var to extract the start padding +// Docs: https://sass-lang.com/documentation/modules/string +// $vertical-nav-horizontal-padding => 0 8px; +// string.index(#{$vertical-nav-horizontal-padding}, " ") + 1 => 2 +// string.index(#{$vertical-nav-horizontal-padding}, " ") => 1 +// string.slice(0 8px, 2, -1) => 8px => $card-actions-padding-x + +$vertical-nav-horizontal-padding-start: utils.get-first-value($vertical-nav-horizontal-padding-margin-custom) !default; + +@forward "@/plugins/vuetify/@core/scss/base/variables" with( + $css-vars: ( + /* + - Skins + - CSS var + - Theme + */ + "default": ( + "--v-theme-background": ( + "light": (247,247,249), + // "dark": (40,42,66), + "dark": (22, 29, 49) + ), + "--v-theme-surface": ( + "light": (255, 255, 255), + "dark": (40,51,78), + // "dark": (48,51,78), + // "dark": #283046 + ), + ), + "bordered": ( + "--v-theme-background": ( + "light": (255 ,255, 255), + "dark": (40,42,66), + ), + "--v-theme-surface": ( + "light": (255, 255, 255), + "dark": (40,42,66), + ), + ), + ) !default, +); + +// 👉 Vertical nav +// This is used by nav items & nav header +$vertical-nav-horizontal-spacing: 0.75rem !default; +$vertical-nav-header-inline-spacing: $vertical-nav-horizontal-spacing 0.25rem !default; +$vertical-nav-horizontal-padding: 1rem 0.75rem !default; + +// Section title margin bottom +$vertical-nav-section-title-mb: 0.75rem !default; + +// Vertical nav header padding +$vertical-nav-header-padding: $vertical-nav-horizontal-padding !default; +$vertical-nav-items-nested-icon-size: 0.5rem !default; + +// 👉 expansion panel +$expansion-panel-border-radius-custom: 8px !default; + +// 👉 range-slider +$slider-thumb-label-color: rgb(117, 117, 117) !default; + +// 👉 switch +$switch-thumb-inactive-color: rgb(250, 250, 250) !default; + +// 👉 Horizontal nav + +// Horizontal nav icons +$horizontal-nav-third-level-icon-size: 0.5rem !default; +$horizontal-nav-items-icon-margin-inline-end: 0.75rem !default; diff --git a/src/plugins/vuetify/@core/scss/template/_vertical-nav.scss b/src/plugins/vuetify/@core/scss/template/_vertical-nav.scss new file mode 100644 index 00000000..f00be6a7 --- /dev/null +++ b/src/plugins/vuetify/@core/scss/template/_vertical-nav.scss @@ -0,0 +1,32 @@ +@use "@configured-variables" as variables; + +$divider-gap: 0.625rem; + +.layout-vertical-nav { + .nav-section-title { + .title-text { + display: flex; + flex-wrap: nowrap; + align-items: center; + justify-content: flex-start; + column-gap: $divider-gap; + + &::before { + flex: 0 1 calc(variables.$vertical-nav-horizontal-padding-start - $divider-gap); + border-block-end: 1px solid rgba(var(--v-border-color), var(--v-border-opacity)); + content: ""; + margin-inline-start: -#{variables.$vertical-nav-horizontal-padding-start}; + } + } + } + + // nested level nav icon + .nav-group { + .nav-group, + .nav-link :not(.router-link-active) { + .nav-item-icon { + color: rgba(var(--v-theme-on-background), var(--v-medium-emphasis-opacity)); + } + } + } +} diff --git a/src/plugins/vuetify/@core/scss/template/index.scss b/src/plugins/vuetify/@core/scss/template/index.scss new file mode 100644 index 00000000..5ba7a6ad --- /dev/null +++ b/src/plugins/vuetify/@core/scss/template/index.scss @@ -0,0 +1,12 @@ +@use "sass:map"; +@forward "@/plugins/vuetify/@core/scss/base"; + +// Layout +@use "vertical-nav"; +@use "horizontal-nav"; + +// Components +@use "components"; + +// Utilities +@use "utilities"; diff --git a/src/plugins/vuetify/@core/scss/template/libs/apex-chart.scss b/src/plugins/vuetify/@core/scss/template/libs/apex-chart.scss new file mode 100644 index 00000000..dc7a118c --- /dev/null +++ b/src/plugins/vuetify/@core/scss/template/libs/apex-chart.scss @@ -0,0 +1,95 @@ +@use "@styles/variables/_vuetify.scss" as vuetify; +@use "vuetify/lib/styles/tools/_elevation" as mixins_elevation; +@use "@layouts/styles/mixins" as layoutsMixins; + +.apexcharts-canvas { + &line[stroke="transparent"] { + display: "none"; + } + + .apexcharts-tooltip { + @include mixins_elevation.elevation(3); + + border-color: rgba(var(--v-border-color), var(--v-border-opacity)); + background: rgb(var(--v-theme-surface)); + + .apexcharts-tooltip-title { + border-color: rgba(var(--v-border-color), var(--v-border-opacity)); + background: rgb(var(--v-theme-surface)); + font-weight: 600; + } + + &.apexcharts-theme-light { + color: rgba(var(--v-theme-on-background), var(--v-high-emphasis-opacity)); + } + + &.apexcharts-theme-dark { + color: white; + } + + .apexcharts-tooltip-series-group:first-of-type { + padding-block-end: 0; + } + } + + .apexcharts-xaxistooltip { + border-color: rgba(var(--v-border-color), var(--v-border-opacity)); + background: rgb(var(--v-theme-grey-50)); + color: rgba(var(--v-theme-on-background), var(--v-high-emphasis-opacity)); + + &::after { + border-block-end-color: rgb(var(--v-theme-grey-50)); + } + + &::before { + border-block-end-color: rgba(var(--v-border-color), var(--v-border-opacity)); + } + } + + .apexcharts-yaxistooltip { + border-color: rgba(var(--v-border-color), var(--v-border-opacity)); + background: rgb(var(--v-theme-grey-50)); + + &::after { + border-inline-start-color: rgb(var(--v-theme-grey-50)); + } + + &::before { + border-inline-start-color: rgba(var(--v-border-color), var(--v-border-opacity)); + } + } + + .apexcharts-xaxistooltip-text, + .apexcharts-yaxistooltip-text { + color: rgba(var(--v-theme-on-background), var(--v-high-emphasis-opacity)); + } + + .apexcharts-yaxis .apexcharts-yaxis-texts-g .apexcharts-yaxis-label { + @include layoutsMixins.rtl { + text-anchor: start; + } + } + + .apexcharts-text, + .apexcharts-tooltip-text, + .apexcharts-datalabel-label, + .apexcharts-datalabel, + .apexcharts-xaxistooltip-text, + .apexcharts-yaxistooltip-text, + .apexcharts-legend-text { + font-family: vuetify.$body-font-family !important; + } + + .apexcharts-pie-label { + fill: white; + filter: none; + } + + .apexcharts-marker { + box-shadow: none; + } + + .apexcharts-legend-marker { + margin-inline-end: 0.3875rem !important; + } +} diff --git a/src/plugins/vuetify/@core/scss/template/libs/full-calendar.scss b/src/plugins/vuetify/@core/scss/template/libs/full-calendar.scss new file mode 100644 index 00000000..c835cd8d --- /dev/null +++ b/src/plugins/vuetify/@core/scss/template/libs/full-calendar.scss @@ -0,0 +1,254 @@ +@use "vuetify/lib/styles/tools/elevation" as elevation; + +.fc { + --fc-today-bg-color: rgba(var(--v-theme-on-surface), 0.04); + --fc-border-color: rgba(var(--v-border-color), var(--v-border-opacity)); + --fc-neutral-bg-color: rgb(var(--v-theme-background)); + --fc-list-event-hover-bg-color: rgba(var(--v-theme-on-surface), 0.02); + --fc-page-bg-color: rgb(var(--v-theme-surface)); + --fc-event-border-color: currentcolor; + + a { + color: inherit; + } + + .fc-timegrid-divider { + padding: 0; + } + + .fc-col-header-cell-cushion { + color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity)); + font-size: 0.875rem; + font-weight: 600; + } + + .fc-toolbar .fc-toolbar-title { + margin-inline-start: 0.25rem; + } + + .fc-toolbar.fc-header-toolbar { + margin-block-end: 1rem; + } + + .fc-event-time { + font-size: 0.75rem; + } + + .fc-timegrid-event { + .fc-event-title { + font-size: 0.875rem; + } + } + + .fc-prev-button { + padding-inline-start: 0; + } + + .fc-prev-button, + .fc-next-button { + padding: 0.25rem; + } + + .fc-col-header .fc-col-header-cell .fc-col-header-cell-cushion { + padding: 0.5rem; + text-decoration: none !important; + } + + .fc-timegrid .fc-timegrid-slots .fc-timegrid-slot { + block-size: 3rem; + } + + // Removed double border on left in list view + .fc-list { + border-inline-start-color: transparent; + font-size: 0.875rem; + + .fc-list-day-cushion.fc-cell-shaded { + color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity)); + font-weight: 600; + } + + .fc-list-event-time, + .fc-list-event-title { + color: rgba(var(--v-theme-on-surface), var(--v-medium-emphasis-opacity)); + } + + .fc-list-day .fc-list-day-text, + .fc-list-day .fc-list-day-side-text { + text-decoration: none; + } + } + + .fc-timegrid-axis { + color: rgba(var(--v-theme-on-surface), var(--v-disabled-opacity)); + font-size: 0.75rem; + text-transform: capitalize; + } + + .fc-timegrid-slot-label-frame { + color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity)); + font-size: 0.75rem; + text-align: center; + text-transform: uppercase; + } + + .fc-header-toolbar { + flex-wrap: wrap; + column-gap: 0.5rem; + margin-block: 1rem; + margin-inline: 1rem 1.25rem; + row-gap: 1rem; + } + + .fc-toolbar-chunk { + display: flex; + align-items: center; + + .fc-button-group { + .fc-button-primary { + &, + &:hover, + &:not(.disabled):active { + border-color: transparent; + background-color: transparent; + color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity)); + } + + &:focus { + box-shadow: none !important; + } + } + } + + &:last-child { + .fc-button-group { + border: 0.0625rem solid rgba(var(--v-border-color), var(--v-border-opacity)); + border-radius: 0.375rem; + + .fc-button { + font-size: 0.9rem; + letter-spacing: 0.0187rem; + padding-inline: 1rem; + text-transform: uppercase; + + &:not(:last-child) { + border-inline-end: 0.0625rem solid rgba(var(--v-border-color), var(--v-border-opacity)); + } + + &.fc-button-active { + background-color: rgba(var(--v-theme-primary), var(--v-activated-opacity)); + color: rgb(var(--v-theme-primary)); + } + } + } + } + } + + .fc-toolbar-title { + display: inline-block; + color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity)); + font-size: 1.25rem; + font-weight: 500; + } + + .fc-scrollgrid-section { + th { + border-inline-end-color: transparent; + } + } + + // Calendar content container + .fc-view-harness { + min-block-size: 40.625rem; + } + + .fc-event { + border-color: transparent; + margin-block-end: 0.3rem; + padding-block: 0.1875rem; + padding-inline: 0.3125rem; + } + + .fc-event-main { + color: inherit; + font-size: 0.75rem; + padding-inline: 0.25rem; + } + + tbody[role="rowgroup"] { + > tr > td[role="presentation"] { + border: none; + } + } + + .fc-scrollgrid { + border-inline-start: none; + } + + .fc-daygrid-day { + padding: 0.3125rem; + } + + .fc-daygrid-day-number { + padding-block: 0.5rem; + padding-inline: 0.75rem; + } + + .fc-list-event-dot { + color: inherit; + + --fc-event-border-color: currentcolor; + } + + .fc-list-event { + background-color: transparent !important; + } + + .fc-popover { + @include elevation.elevation(3); + + border-radius: 6px; + + .fc-popover-header, + .fc-popover-body { + padding: 0.5rem; + } + + .fc-popover-title { + margin: 0; + font-size: 1rem; + font-weight: 500; + } + } + + // 👉 sidebar toggler + .fc-toolbar-chunk { + .fc-button-group { + align-items: center; + + .fc-button .fc-icon { + vertical-align: bottom; + } + + // ℹ️ Below two `background-image` styles contains static color due to browser limitation of not parsing the css var inside CSS url() + .fc-drawerToggler-button { + display: none; + background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' stroke='rgba(94,86,105,0.68)' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round' class='css-i6dzq1'%3E%3Cpath d='M3 12h18M3 6h18M3 18h18'/%3E%3C/svg%3E"); + background-position: 50%; + background-repeat: no-repeat; + block-size: 1.5625rem; + font-size: 0; + inline-size: 1.5625rem; + margin-inline-end: 0.25rem; + + @media (max-width: 1264px) { + display: block !important; + } + + .v-theme--dark & { + background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' stroke='rgba(232,232,241,0.68)' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round' class='css-i6dzq1'%3E%3Cpath d='M3 12h18M3 6h18M3 18h18'/%3E%3C/svg%3E"); + } + } + } + } +} diff --git a/src/plugins/vuetify/@core/scss/template/libs/vuetify/_overrides.scss b/src/plugins/vuetify/@core/scss/template/libs/vuetify/_overrides.scss new file mode 100644 index 00000000..47b78e63 --- /dev/null +++ b/src/plugins/vuetify/@core/scss/template/libs/vuetify/_overrides.scss @@ -0,0 +1,43 @@ +// 👉 Avatar +.v-avatar { + font-size: 1.125rem; +} + +$alert-icon-size: 22px; +$alert-prominent-icon-size: 38px; + +// 👉 Alert +.v-alert { + &:not(.v-alert--prominent) { + .v-icon { + block-size: $alert-icon-size !important; + font-size: $alert-icon-size !important; + inline-size: $alert-icon-size !important; + } + } + + &.v-alert--prominent { + .v-icon { + block-size: $alert-prominent-icon-size !important; + font-size: $alert-prominent-icon-size !important; + inline-size: $alert-prominent-icon-size !important; + } + } +} + +// 👉 Table +.v-table { + th { + color: rgba(var(--v-theme-on-background), var(--v-high-emphasis-opacity)); + font-weight: 500; + } +} + +// // 👉 Timeline +.v-timeline { + .v-timeline-item:not(:last-child) { + .v-timeline-item__body { + margin-block-end: 0.625rem; + } + } +} diff --git a/src/plugins/vuetify/@core/scss/template/libs/vuetify/_variables.scss b/src/plugins/vuetify/@core/scss/template/libs/vuetify/_variables.scss new file mode 100644 index 00000000..ce2cd426 --- /dev/null +++ b/src/plugins/vuetify/@core/scss/template/libs/vuetify/_variables.scss @@ -0,0 +1,225 @@ +$shadow-key-umbra-opacity-custom: var(--v-shadow-key-umbra-opacity); +$shadow-key-penumbra-opacity-custom: var(--v-shadow-key-penumbra-opacity); +$shadow-key-ambient-opacity-custom: var(--v-shadow-key-ambient-opacity); +$font-family-custom: "Inter", sans-serif, -apple-system, blinkmacsystemfont, "Segoe UI", roboto, "Helvetica Neue", arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; + +@forward "../../../base/libs/vuetify/variables" with ( + // 👉 font-family + $body-font-family: $font-family-custom !default, + $border-radius-root: 8px !default, + + $shadow-key-umbra: ( + 0: (0 0 0 0 var(--v-shadow-key-umbra-opacity)), + 1: (0 1px 2px -1px var(--v-shadow-key-umbra-opacity)), + 2: (0 1px 3px -1px var(--v-shadow-key-umbra-opacity)), + 3: (0 1px 6px -1px var(--v-shadow-key-umbra-opacity)), + 4: (0 1px 7px -2px var(--v-shadow-key-umbra-opacity)), + 5: (0 2px 8px -2px var(--v-shadow-key-umbra-opacity)), + 6: (0 2px 9px -2px var(--v-shadow-key-umbra-opacity)), + 7: (0 2px 10px -3px var(--v-shadow-key-umbra-opacity)), + 8: (0 3px 11px -3px var(--v-shadow-key-umbra-opacity)), + 9: (0 4px 12px -3px var(--v-shadow-key-umbra-opacity)), + 10: (0 5px 13px -4px var(--v-shadow-key-umbra-opacity)), + 11: (0 6px 14px -4px var(--v-shadow-key-umbra-opacity)), + 12: (0 6px 15px -4px var(--v-shadow-key-umbra-opacity)), + 13: (0 7px 14px -5px var(--v-shadow-key-umbra-opacity)), + 14: (0 6px 17px -5px var(--v-shadow-key-umbra-opacity)), + 15: (0 7px 18px -5px var(--v-shadow-key-umbra-opacity)), + 16: (0 7px 19px -6px var(--v-shadow-key-umbra-opacity)), + 17: (0 7px 20px -6px var(--v-shadow-key-umbra-opacity)), + 18: (0 8px 21px -6px var(--v-shadow-key-umbra-opacity)), + 19: (0 8px 22px -7px var(--v-shadow-key-umbra-opacity)), + 20: (0 9px 23px -7px var(--v-shadow-key-umbra-opacity)), + 21: (0 9px 24px -7px var(--v-shadow-key-umbra-opacity)), + 22: (0 9px 25px -8px var(--v-shadow-key-umbra-opacity)), + 23: (0 10px 26px -8px var(--v-shadow-key-umbra-opacity)), + 24: (0 10px 27px -8px var(--v-shadow-key-umbra-opacity)) + ) !default, + + $shadow-key-penumbra: ( + 0: (0 0 0 0 $shadow-key-penumbra-opacity-custom), + 1: (0 1px 2px 1px $shadow-key-penumbra-opacity-custom), + 2: (0 2px 3px 1px $shadow-key-penumbra-opacity-custom), + 3: (0 2px 4px 1px $shadow-key-penumbra-opacity-custom), + + 4: (0 3px 5px 1px $shadow-key-penumbra-opacity-custom), + 5: (0 3px 6px 1px $shadow-key-penumbra-opacity-custom), + 6: (0 4px 7px 1px $shadow-key-penumbra-opacity-custom), + + 7: (0 4px 8px 1px $shadow-key-penumbra-opacity-custom), + 8: (0 6px 9px 1px $shadow-key-penumbra-opacity-custom), + 9: (0 5px 10px 1px $shadow-key-penumbra-opacity-custom), + 10: (0 6px 12px 3px $shadow-key-penumbra-opacity-custom), + 11: (0 8px 12px 1px $shadow-key-penumbra-opacity-custom), + 12: (0 10px 13px 2px $shadow-key-penumbra-opacity-custom), + 13: (0 12px 14px 2px $shadow-key-penumbra-opacity-custom), + 14: (0 12px 15px 2px $shadow-key-penumbra-opacity-custom), + 15: (0 14px 16px 2px $shadow-key-penumbra-opacity-custom), + 16: (0 15px 17px 2px $shadow-key-penumbra-opacity-custom), + 17: (0 16px 18px 2px $shadow-key-penumbra-opacity-custom), + 18: (0 17px 19px 2px $shadow-key-penumbra-opacity-custom), + 19: (0 18px 20px 2px $shadow-key-penumbra-opacity-custom), + 20: (0 18px 21px 3px $shadow-key-penumbra-opacity-custom), + 21: (0 18px 22px 3px $shadow-key-penumbra-opacity-custom), + 22: (0 20px 23px 3px $shadow-key-penumbra-opacity-custom), + 23: (0 22px 24px 3px $shadow-key-penumbra-opacity-custom), + 24: (0 22px 25px 3px $shadow-key-penumbra-opacity-custom) + ) !default, + + $shadow-key-ambient: ( + 0: (0 0 0 0 $shadow-key-ambient-opacity-custom), + 1: (0 1px 2px 2px $shadow-key-ambient-opacity-custom), + 2: (0 1px 3px 2px $shadow-key-ambient-opacity-custom), + 3: (0 1px 4px 2px $shadow-key-ambient-opacity-custom), + + 4: (0 1px 4px 2px $shadow-key-ambient-opacity-custom), + 5: (0 1px 5px 4px $shadow-key-ambient-opacity-custom), + 6: (0 2px 6px 4px $shadow-key-ambient-opacity-custom), + + 7: (0 2px 7px 4px $shadow-key-ambient-opacity-custom), + 8: (0 3px 8px 4px $shadow-key-ambient-opacity-custom), + 9: (0 4px 9px 5px $shadow-key-ambient-opacity-custom), + 10: (0 5px 10px 5px $shadow-key-ambient-opacity-custom), + 11: (0 6px 11px 5px $shadow-key-ambient-opacity-custom), + 12: (0 5px 12px 5px $shadow-key-ambient-opacity-custom), + 13: (0 5px 14px 6px $shadow-key-ambient-opacity-custom), + 14: (0 5px 14px 6px $shadow-key-ambient-opacity-custom), + 15: (0 5px 15px 6px $shadow-key-ambient-opacity-custom), + 16: (0 5px 16px 6px $shadow-key-ambient-opacity-custom), + 17: (0 5px 17px 7px $shadow-key-ambient-opacity-custom), + 18: (0 6px 18px 7px $shadow-key-ambient-opacity-custom), + 19: (0 6px 19px 7px $shadow-key-ambient-opacity-custom), + 20: (0 7px 20px 7px $shadow-key-ambient-opacity-custom), + 21: (0 7px 21px 7px $shadow-key-ambient-opacity-custom), + 22: (0 7px 22px 7px $shadow-key-ambient-opacity-custom), + 23: (0 8px 23px 7px $shadow-key-ambient-opacity-custom), + 24: (0 8px 24px 7px $shadow-key-ambient-opacity-custom) + ) !default, + + // 👉 typography + $typography: ( + "h1": ( + "weight": 500, + "line-height": 7rem, + "letter-spacing": -0.0938rem, + ), + "h2": ( + "weight": 500, + "line-height": 4.5rem, + "letter-spacing": -0.0313rem, + ), + "h3": ( + "weight": 500, + "line-height": 3.5rem, + ), + "h4": ( + "weight": 500, + "letter-spacing": 0.0156rem, + ), + "h5": ( + "weight": 500, + ), + "h6": ( + "letter-spacing": 0.0094rem, + ), + "subtitle-1": ( + "letter-spacing": 0.0094rem, + ), + "subtitle-2": ( + "line-height": 1.3125rem, + "letter-spacing": 0.0063rem, + ), + "body-1": ( + "letter-spacing": 0.0094rem, + ), + "body-2": ( + "line-height": 1.3125rem, + "letter-spacing": 0.0094rem, + ), + "caption": ( + "line-height": 0.875rem, + "letter-spacing": 0.025rem, + ), + "button": ( + "line-height": 1.5rem, + "letter-spacing": 0.025rem, + ), + "overline": ( + "weight": 400, + "line-height": 0.875rem, + "letter-spacing": 0.0625rem, + ), + ) !default, + + // 👉 alert + $alert-padding: 17.5px !default, + $alert-title-font-size: 16px !default, + $alert-prepend-margin-inline-end: 13px !default, + $alert-background: rgb(var(--v-theme-alert-background)) !default, + + // 👉 buttons + $button-height: 38px, + $button-line-height: 24px, + $button-padding-ratio: 1.8, + + // 👉 card + $card-border-radius: 10px !default, + + // 👉 chips + $chip-font-size: 13px !default, + $chip-close-size: 22px !default, + + // 👉 dialogs + $dialog-card-header-padding: 20px 20px 0 !default, + $dialog-card-text-padding: 20px 20px !default, + $dialog-card-header-text-padding-top: 20px !default, + $dialog-border-radius: 10px !default, + + // 👉 expansion panel + $expansion-panel-border-radius: 0 !default, + $expansion-panel-active-title-min-height: 50px !default, + $expansion-panel-title-min-height: 50px !default, + $expansion-panel-title-padding: 16px 20px !default, + $expansion-panel-text-padding: 8px 20px 16px !default, + + // 👉 list item + $list-item-padding:12px 16px !default, + $list-item-icon-margin-end: 14px !default, + $list-nav-padding: 16px !default, + + $rounded: ( + "shaped": 24px 0, + ) !default, + + // 👉 overlay + $overlay-opacity: 50% !default, + + // 👉 pagination + $pagination-item-margin: 3px !default, + + // 👉 snackbar + $snackbar-content-padding: 6px 16px, + $snackbar-background: rgb(var(--v-theme-snackbar-background)), + $snackbar-color: rgb(var(--v-theme-on-snackbar-background)), + + // 👉 tooltip + $tooltip-padding: 4px 8px !default, + $tooltip-background-color: rgba(var(--v-theme-tooltip-background), 0.9) !default, + $tooltip-border-radius: 6px !default, + $tooltip-font-size: 0.6875rem !default, + $tooltip-line-height: 16px !default, + + // 👉 Timeline + $timeline-dot-divider-background: transparent !default, + $timeline-item-padding: 16px !default, + + // 👉 Table + $table-header-height: 54px !default, + $table-row-height: 50px !default, + + // 👉 range slider + $slider-track-active-size: 4px !default, + $slider-thumb-label-padding: 4px 12px !default, + $slider-thumb-label-font-size: 14px !default, + $slider-thumb-label-height: 29px !default, +); diff --git a/src/plugins/vuetify/@core/scss/template/libs/vuetify/index.scss b/src/plugins/vuetify/@core/scss/template/libs/vuetify/index.scss new file mode 100644 index 00000000..ca6120fa --- /dev/null +++ b/src/plugins/vuetify/@core/scss/template/libs/vuetify/index.scss @@ -0,0 +1,2 @@ +@use "@/plugins/vuetify/@core/scss/base/libs/vuetify"; +@use "overrides"; diff --git a/src/plugins/vuetify/@core/scss/template/pages/misc.scss b/src/plugins/vuetify/@core/scss/template/pages/misc.scss new file mode 100644 index 00000000..531deb2f --- /dev/null +++ b/src/plugins/vuetify/@core/scss/template/pages/misc.scss @@ -0,0 +1,35 @@ +.layout-blank { + .misc-wrapper { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + padding: 1.25rem; + min-block-size: calc(var(--vh, 1vh) * 100); + } + + .misc-avatar { + z-index: 1; + } +} + +.footer-coming-soon { + position: absolute; + z-index: -1; + inline-size: 100%; + inset-block-end: 0; + inset-inline-start: 0; +} + +.footer-coming-soon-obj { + position: absolute; + inline-size: 100%; + inset-block-end: 12%; + inset-inline-start: 15%; +} + +@media (max-width: 1200px) { + .footer-coming-soon-obj { + inset-block-end: 5%; + } +} diff --git a/src/plugins/vuetify/@core/scss/template/pages/page-auth.scss b/src/plugins/vuetify/@core/scss/template/pages/page-auth.scss new file mode 100644 index 00000000..60c71f1d --- /dev/null +++ b/src/plugins/vuetify/@core/scss/template/pages/page-auth.scss @@ -0,0 +1,45 @@ +.layout-blank { + .auth-wrapper { + min-block-size: calc(var(--vh, 1vh) * 100); + } + + .auth-card { + z-index: 1 !important; + } +} + +@media (min-width: 960px) { + .skin--bordered { + .auth-card-v2 { + border-inline-start: 1px solid rgba(var(--v-border-color), var(--v-border-opacity)); + } + } +} + +@media (max-width: 1200px) { + .auth-footer-mask { + inset-block-end: 12% !important; + } +} + +.auth-logo { + position: absolute; + z-index: 1; + inset-block-start: 1.8rem; + inset-inline-start: 2.5rem; +} + +.auth-card-v2 { + z-index: 1; +} + +.auth-illustration { + z-index: 1; + max-inline-size: 48rem; +} + +.auth-footer-mask { + position: absolute; + inline-size: 100%; + inset-block-end: 7%; +} diff --git a/src/plugins/vuetify/@core/scss/template/placeholders/_index.scss b/src/plugins/vuetify/@core/scss/template/placeholders/_index.scss new file mode 100644 index 00000000..ec11fc61 --- /dev/null +++ b/src/plugins/vuetify/@core/scss/template/placeholders/_index.scss @@ -0,0 +1,2 @@ +@forward "vertical-nav"; +@forward "nav"; diff --git a/src/plugins/vuetify/@core/scss/template/placeholders/_nav.scss b/src/plugins/vuetify/@core/scss/template/placeholders/_nav.scss new file mode 100644 index 00000000..ff0695ef --- /dev/null +++ b/src/plugins/vuetify/@core/scss/template/placeholders/_nav.scss @@ -0,0 +1,9 @@ +/* + Active nav link styles for horizontal & vertical nav + + For horizontal nav it will be only applied to top level nav items + For vertical nav it will be only applied to nav links (not nav groups) +*/ +%nav-link-active { + font-weight: 500; +} diff --git a/src/plugins/vuetify/@core/scss/template/placeholders/_vertical-nav.scss b/src/plugins/vuetify/@core/scss/template/placeholders/_vertical-nav.scss new file mode 100644 index 00000000..696461a8 --- /dev/null +++ b/src/plugins/vuetify/@core/scss/template/placeholders/_vertical-nav.scss @@ -0,0 +1,9 @@ +%nav-header-action { + font-size: 1.375rem; +} + +// This is same as `%vertical-nav-item` except section title is excluded +%vertical-nav-item-interactive { + border-radius: 0.5rem; + block-size: 2.625rem; +} diff --git a/src/plugins/vuetify/@core/types.d.ts b/src/plugins/vuetify/@core/types.d.ts new file mode 100644 index 00000000..da789a65 --- /dev/null +++ b/src/plugins/vuetify/@core/types.d.ts @@ -0,0 +1,107 @@ +import type { UserConfig as UserLayoutConfig } from '@layouts/types'; +import type { Ref } from 'vue'; +import { RouteTransitions, Skins } from './enums'; + +export interface UserThemeConfig { + app: { + title: UserLayoutConfig['app']['title'] + logo: UserLayoutConfig['app']['logo'] + contentWidth: UserLayoutConfig['app']['contentWidth'] + contentLayoutNav: UserLayoutConfig['app']['contentLayoutNav'] + overlayNavFromBreakpoint: UserLayoutConfig['app']['overlayNavFromBreakpoint'] + enableI18n: UserLayoutConfig['app']['enableI18n'] + theme: string + isRtl: UserLayoutConfig['app']['isRtl'] + skin: typeof Skins[keyof typeof Skins] + routeTransition:typeof RouteTransitions[keyof typeof RouteTransitions] + iconRenderer: UserLayoutConfig['app']['iconRenderer'] + } + navbar: { + type: UserLayoutConfig['navbar']['type'] + navbarBlur: UserLayoutConfig['navbar']['navbarBlur'] + } + footer: { + type: UserLayoutConfig['footer']['type'] + } + verticalNav: { + isVerticalNavCollapsed: UserLayoutConfig['verticalNav']['isVerticalNavCollapsed'] + defaultNavItemIconProps: UserLayoutConfig['verticalNav']['defaultNavItemIconProps'] + isVerticalNavSemiDark: boolean + } + horizontalNav: { + type: UserLayoutConfig['horizontalNav']['type'] + transition?: UserLayoutConfig['horizontalNav']['transition'] + } + icons: { + chevronDown: UserLayoutConfig['icons']['chevronDown'] + chevronRight: UserLayoutConfig['icons']['chevronRight'] + close: UserLayoutConfig['icons']['close'] + verticalNavPinned: UserLayoutConfig['icons']['verticalNavPinned'] + verticalNavUnPinned: UserLayoutConfig['icons']['verticalNavUnPinned'] + sectionTitlePlaceholder: UserLayoutConfig['icons']['sectionTitlePlaceholder'] + } +} + +/* + TODO: use MergeDeep for DRY + Waiting for https://github.com/sindresorhus/type-fest/issues/150 +*/ +export interface ThemeConfig { + app: { + title: UserThemeConfig['app']['title'] + logo: UserThemeConfig['app']['logo'] + contentWidth: Ref + contentLayoutNav: Ref + overlayNavFromBreakpoint: UserThemeConfig['app']['overlayNavFromBreakpoint'] + enableI18n: UserThemeConfig['app']['enableI18n'] + theme: Ref + isRtl: Ref + skin: Ref + routeTransition: Ref + iconRenderer?: UserThemeConfig['app']['iconRenderer'] + } + navbar: { + type: Ref + navbarBlur: Ref + } + footer: { + type: Ref + } + verticalNav: { + isVerticalNavCollapsed: Ref + defaultNavItemIconProps: UserThemeConfig['verticalNav']['defaultNavItemIconProps'] + isVerticalNavSemiDark: Ref + } + horizontalNav: { + type: Ref + transition?: UserThemeConfig['horizontalNav']['transition'] + } + icons: { + chevronDown: UserThemeConfig['icons']['chevronDown'] + chevronRight: UserThemeConfig['icons']['chevronRight'] + close: UserThemeConfig['icons']['close'] + verticalNavPinned: UserThemeConfig['icons']['verticalNavPinned'] + verticalNavUnPinned: UserThemeConfig['icons']['verticalNavUnPinned'] + sectionTitlePlaceholder: UserThemeConfig['icons']['sectionTitlePlaceholder'] + } +} + +// SECTION Custom Input +export interface CustomInputContent { + title: string + desc: string + value: string + subtitle?: string + icon?: string + images?:string +} + + +export interface GridColumn { + cols?: string + sm?: string + md?: string + lg?: string + xl?: string + xxl?:string +} \ No newline at end of file diff --git a/src/plugins/vuetify/@core/utils/formatters.ts b/src/plugins/vuetify/@core/utils/formatters.ts new file mode 100644 index 00000000..3550cd5a --- /dev/null +++ b/src/plugins/vuetify/@core/utils/formatters.ts @@ -0,0 +1,46 @@ +import { isToday } from './index' + +export const avatarText = (value: string) => { + if (!value) + return '' + const nameArray = value.split(' ') + + return nameArray.map(word => word.charAt(0).toUpperCase()).join('') +} + +// TODO: Try to implement this: https://twitter.com/fireship_dev/status/1565424801216311297 +export const kFormatter = (num: number) => { + const regex = /\B(?=(\d{3})+(?!\d))/g + + return Math.abs(num) > 9999 ? `${Math.sign(num) * +((Math.abs(num) / 1000).toFixed(1))}k` : Math.abs(num).toFixed(0).replace(regex, ',') +} + +/** + * Format and return date in Humanize format + * Intl docs: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/format + * Intl Constructor: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat + * @param {String} value date to format + * @param {Intl.DateTimeFormatOptions} formatting Intl object to format with + */ +export const formatDate = (value: string, formatting: Intl.DateTimeFormatOptions = { month: 'short', day: 'numeric', year: 'numeric' }) => { + if (!value) + return value + + return new Intl.DateTimeFormat('en-US', formatting).format(new Date(value)) +} + +/** + * Return short human friendly month representation of date + * Can also convert date to only time if date is of today (Better UX) + * @param {String} value date to format + * @param {Boolean} toTimeForCurrentDay Shall convert to time if day is today/current + */ +export const formatDateToMonthShort = (value: string, toTimeForCurrentDay = true) => { + const date = new Date(value) + let formatting: Record = { month: 'short', day: 'numeric' } + + if (toTimeForCurrentDay && isToday(date)) + formatting = { hour: 'numeric', minute: 'numeric' } + + return new Intl.DateTimeFormat('en-US', formatting).format(new Date(value)) +} diff --git a/src/plugins/vuetify/@core/utils/index.ts b/src/plugins/vuetify/@core/utils/index.ts new file mode 100644 index 00000000..77926f78 --- /dev/null +++ b/src/plugins/vuetify/@core/utils/index.ts @@ -0,0 +1,33 @@ +// 👉 IsEmpty +export const isEmpty = (value: unknown): boolean => { + if (value === null || value === undefined || value === '') + return true + + return !!(Array.isArray(value) && value.length === 0) +} + +// 👉 IsNullOrUndefined +export const isNullOrUndefined = (value: unknown): value is undefined | null => { + return value === null || value === undefined +} + +// 👉 IsEmptyArray +export const isEmptyArray = (arr: unknown): boolean => { + return Array.isArray(arr) && arr.length === 0 +} + +// 👉 IsObject +export const isObject = (obj: unknown): obj is Record => + obj !== null && !!obj && typeof obj === 'object' && !Array.isArray(obj) + +export const isToday = (date: Date) => { + const today = new Date() + + return ( + /* eslint-disable operator-linebreak */ + date.getDate() === today.getDate() && + date.getMonth() === today.getMonth() && + date.getFullYear() === today.getFullYear() + /* eslint-enable */ + ) +} diff --git a/src/plugins/vuetify/@core/utils/validators.ts b/src/plugins/vuetify/@core/utils/validators.ts new file mode 100644 index 00000000..55447d89 --- /dev/null +++ b/src/plugins/vuetify/@core/utils/validators.ts @@ -0,0 +1,109 @@ +import { isEmpty, isEmptyArray, isNullOrUndefined } from './index' + +// 👉 Required Validator +export const requiredValidator = (value: unknown) => { + if (isNullOrUndefined(value) || isEmptyArray(value) || value === false) + return 'This field is required' + + return !!String(value).trim().length || 'This field is required' +} + +// 👉 Email Validator +export const emailValidator = (value: unknown) => { + if (isEmpty(value)) + return true + + const re = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/ + + if (Array.isArray(value)) + return value.every(val => re.test(String(val))) || 'The Email field must be a valid email' + + return re.test(String(value)) || 'The Email field must be a valid email' +} + +// 👉 Password Validator +export const passwordValidator = (password: string) => { + const regExp = /(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%&*()]).{8,}/ + + const validPassword = regExp.test(password) + + return ( + // eslint-disable-next-line operator-linebreak + validPassword || + 'Field must contain at least one uppercase, lowercase, special character and digit with min 8 chars' + ) +} + +// 👉 Confirm Password Validator +export const confirmedValidator = (value: string, target: string) => + + value === target || 'The Confirm Password field confirmation does not match' + +// 👉 Between Validator +export const betweenValidator = (value: unknown, min: number, max: number) => { + const valueAsNumber = Number(value) + + return (Number(min) <= valueAsNumber && Number(max) >= valueAsNumber) || `Enter number between ${min} and ${max}` +} + +// 👉 Integer Validator +export const integerValidator = (value: unknown) => { + if (isEmpty(value)) + return true + + if (Array.isArray(value)) + return value.every(val => /^-?[0-9]+$/.test(String(val))) || 'This field must be an integer' + + return /^-?[0-9]+$/.test(String(value)) || 'This field must be an integer' +} + +// 👉 Regex Validator +export const regexValidator = (value: unknown, regex: RegExp | string): string | boolean => { + if (isEmpty(value)) + return true + + let regeX = regex + if (typeof regeX === 'string') + regeX = new RegExp(regeX) + + if (Array.isArray(value)) + return value.every(val => regexValidator(val, regeX)) + + return regeX.test(String(value)) || 'The Regex field format is invalid' +} + +// 👉 Alpha Validator +export const alphaValidator = (value: unknown) => { + if (isEmpty(value)) + return true + + return /^[A-Z]*$/i.test(String(value)) || 'The Alpha field may only contain alphabetic characters' +} + +// 👉 URL Validator +export const urlValidator = (value: unknown) => { + if (isEmpty(value)) + return true + + const re = /^(http[s]?:\/\/){0,1}(www\.){0,1}[a-zA-Z0-9\.\-]+\.[a-zA-Z]{2,5}[\.]{0,1}/ + + return re.test(String(value)) || 'URL is invalid' +} + +// 👉 Length Validator +export const lengthValidator = (value: unknown, length: number) => { + if (isEmpty(value)) + return true + + return String(value).length === length || `The Min Character field must be at least ${length} characters` +} + +// 👉 Alpha-dash Validator +export const alphaDashValidator = (value: unknown) => { + if (isEmpty(value)) + return true + + const valueAsString = String(value) + + return /^[0-9A-Z_-]*$/i.test(valueAsString) || 'All Character are not valid' +} diff --git a/src/plugins/vuetify/@core/utils/vuetify.ts b/src/plugins/vuetify/@core/utils/vuetify.ts new file mode 100644 index 00000000..98c0f6e5 --- /dev/null +++ b/src/plugins/vuetify/@core/utils/vuetify.ts @@ -0,0 +1,12 @@ +import { isDarkPreferred } from '@core/composable/useThemeConfig' +import { themeConfig } from '@themeConfig' + +export const resolveVuetifyTheme = () => { + const storedTheme = localStorage.getItem(`${themeConfig.app.title}-theme`) || themeConfig.app.theme.value + + return storedTheme === 'system' + ? isDarkPreferred.value + ? 'dark' + : 'light' + : storedTheme +} diff --git a/src/plugins/vuetify/@iconify/build-icons.js b/src/plugins/vuetify/@iconify/build-icons.js new file mode 100644 index 00000000..be16a1e9 --- /dev/null +++ b/src/plugins/vuetify/@iconify/build-icons.js @@ -0,0 +1,217 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +/** + * This is an advanced example for creating icon bundles for Iconify SVG Framework. + * + * It creates a bundle from: + * - All SVG files in a directory. + * - Custom JSON files. + * - Iconify icon sets. + * - SVG framework. + * + * This example uses Iconify Tools to import and clean up icons. + * For Iconify Tools documentation visit https://docs.iconify.design/tools/tools2/ + */ +const fs_1 = require("fs"); +const path_1 = require("path"); +// Installation: npm install --save-dev @iconify/tools @iconify/utils @iconify/json @iconify/iconify +const tools_1 = require("@iconify/tools"); +const utils_1 = require("@iconify/utils"); +const sources = { + svg: [ + // { + // dir: 'svg', + // monotone: true, + // prefix: 'custom', + // }, + { + dir: 'src/assets/images/iconify-svg', + monotone: false, + prefix: 'custom', + }, + ], + icons: [ + // 'mdi:home', + // 'mdi:account', + // 'mdi:login', + // 'mdi:logout', + // 'octicon:book-24', + // 'octicon:code-square-24', + ], + json: [ + // Custom JSON file + // 'json/gg.json', + // Iconify JSON file (@iconify/json is a package name, /json/ is directory where files are, then filename) + require.resolve('@iconify-json/mdi/icons.json'), + // Custom file with only few icons + // { + // filename: require.resolve('@iconify-json/line-md/icons.json'), + // icons: [ + // 'home-twotone-alt', + // 'github', + // 'document-list', + // 'document-code', + // 'image-twotone', + // ], + // }, + ], +}; +// Iconify component (this changes import statement in generated file) +// Available options: '@iconify/react' for React, '@iconify/vue' for Vue 3, '@iconify/vue2' for Vue 2, '@iconify/svelte' for Svelte +const component = '@iconify/vue'; +// Set to true to use require() instead of import +const commonJS = false; +// File to save bundle to +const target = (0, path_1.join)(__dirname, 'icons-bundle.js'); +/** + * Do stuff! + */ +// eslint-disable-next-line sonarjs/cognitive-complexity +(async function () { + let bundle = commonJS + ? `const { addCollection } = require('${component}');\n\n` + : `import { addCollection } from '${component}';\n\n`; + // Create directory for output if missing + const dir = (0, path_1.dirname)(target); + try { + await fs_1.promises.mkdir(dir, { + recursive: true, + }); + } + catch (err) { + // + } + /** + * Convert sources.icons to sources.json + */ + if (sources.icons) { + const sourcesJSON = sources.json ? sources.json : (sources.json = []); + // Sort icons by prefix + const organizedList = organizeIconsList(sources.icons); + for (const prefix in organizedList) { + const filename = require.resolve(`@iconify/json/json/${prefix}.json`); + sourcesJSON.push({ + filename, + icons: organizedList[prefix], + }); + } + } + /** + * Bundle JSON files + */ + if (sources.json) { + for (let i = 0; i < sources.json.length; i++) { + const item = sources.json[i]; + // Load icon set + const filename = typeof item === 'string' ? item : item.filename; + let content = JSON.parse(await fs_1.promises.readFile(filename, 'utf8')); + // Filter icons + if (typeof item !== 'string' && item.icons?.length) { + const filteredContent = (0, utils_1.getIcons)(content, item.icons); + if (!filteredContent) + throw new Error(`Cannot find required icons in ${filename}`); + content = filteredContent; + } + // Remove metadata and add to bundle + removeMetaData(content); + (0, utils_1.minifyIconSet)(content); + bundle += `addCollection(${JSON.stringify(content)});\n`; + console.log(`Bundled icons from ${filename}`); + } + } + /** + * Custom SVG + */ + if (sources.svg) { + for (let i = 0; i < sources.svg.length; i++) { + const source = sources.svg[i]; + // Import icons + const iconSet = await (0, tools_1.importDirectory)(source.dir, { + prefix: source.prefix, + }); + // Validate, clean up, fix palette and optimise + await iconSet.forEach(async (name, type) => { + if (type !== 'icon') + return; + // Get SVG instance for parsing + const svg = iconSet.toSVG(name); + if (!svg) { + // Invalid icon + iconSet.remove(name); + return; + } + // Clean up and optimise icons + try { + // Clean up icon code + await (0, tools_1.cleanupSVG)(svg); + if (source.monotone) { + // Replace color with currentColor, add if missing + // If icon is not monotone, remove this code + await (0, tools_1.parseColors)(svg, { + defaultColor: 'currentColor', + callback: (attr, colorStr, color) => { + return !color || (0, tools_1.isEmptyColor)(color) + ? colorStr + : 'currentColor'; + }, + }); + } + // Optimise + await (0, tools_1.runSVGO)(svg); + } + catch (err) { + // Invalid icon + console.error(`Error parsing ${name} from ${source.dir}:`, err); + iconSet.remove(name); + return; + } + // Update icon from SVG instance + iconSet.fromSVG(name, svg); + }); + console.log(`Bundled ${iconSet.count()} icons from ${source.dir}`); + // Export to JSON + const content = iconSet.export(); + bundle += `addCollection(${JSON.stringify(content)});\n`; + } + } + // Save to file + await fs_1.promises.writeFile(target, bundle, 'utf8'); + console.log(`Saved ${target} (${bundle.length} bytes)`); +})().catch(err => { + console.error(err); +}); +/** + * Remove metadata from icon set + */ +function removeMetaData(iconSet) { + const props = [ + 'info', + 'chars', + 'categories', + 'themes', + 'prefixes', + 'suffixes', + ]; + props.forEach(prop => { + delete iconSet[prop]; + }); +} +/** + * Sort icon names by prefix + */ +function organizeIconsList(icons) { + const sorted = Object.create(null); + icons.forEach(icon => { + const item = (0, utils_1.stringToIcon)(icon); + if (!item) + return; + const prefix = item.prefix; + const prefixList = sorted[prefix] + ? sorted[prefix] + : (sorted[prefix] = []); + const name = item.name; + if (!prefixList.includes(name)) + prefixList.push(name); + }); + return sorted; +} diff --git a/src/plugins/vuetify/@iconify/build-icons.ts b/src/plugins/vuetify/@iconify/build-icons.ts new file mode 100644 index 00000000..b40bc1a8 --- /dev/null +++ b/src/plugins/vuetify/@iconify/build-icons.ts @@ -0,0 +1,306 @@ +/** + * This is an advanced example for creating icon bundles for Iconify SVG Framework. + * + * It creates a bundle from: + * - All SVG files in a directory. + * - Custom JSON files. + * - Iconify icon sets. + * - SVG framework. + * + * This example uses Iconify Tools to import and clean up icons. + * For Iconify Tools documentation visit https://docs.iconify.design/tools/tools2/ + */ +import { promises as fs } from 'fs' +import { dirname, join } from 'path' + +// Installation: npm install --save-dev @iconify/tools @iconify/utils @iconify/json @iconify/iconify +import { + cleanupSVG, + importDirectory, + isEmptyColor, + parseColors, + runSVGO, +} from '@iconify/tools' +import type { IconifyJSON, IconifyMetaData } from '@iconify/types' +import { getIcons, minifyIconSet, stringToIcon } from '@iconify/utils' + +/** + * Script configuration + */ +interface BundleScriptCustomSVGConfig { + + // Path to SVG files + dir: string + + // True if icons should be treated as monotone: colors replaced with currentColor + monotone: boolean + + // Icon set prefix + prefix: string +} + +interface BundleScriptCustomJSONConfig { + + // Path to JSON file + filename: string + + // List of icons to import. If missing, all icons will be imported + icons?: string[] +} + +interface BundleScriptConfig { + + // Custom SVG to import and bundle + svg?: BundleScriptCustomSVGConfig[] + + // Icons to bundled from @iconify/json packages + icons?: string[] + + // List of JSON files to bundled + // Entry can be a string, pointing to filename or a BundleScriptCustomJSONConfig object (see type above) + // If entry is a string or object without 'icons' property, an entire JSON file will be bundled + json?: (string | BundleScriptCustomJSONConfig)[] +} + +const sources: BundleScriptConfig = { + svg: [ + // { + // dir: 'svg', + // monotone: true, + // prefix: 'custom', + // }, + { + dir: 'src/assets/images/iconify-svg', + monotone: false, + prefix: 'custom', + }, + ], + + icons: [ + // 'mdi:home', + // 'mdi:account', + // 'mdi:login', + // 'mdi:logout', + // 'octicon:book-24', + // 'octicon:code-square-24', + ], + + json: [ + // Custom JSON file + // 'json/gg.json', + + // Iconify JSON file (@iconify/json is a package name, /json/ is directory where files are, then filename) + require.resolve('@iconify-json/mdi/icons.json'), + + // Custom file with only few icons + // { + // filename: require.resolve('@iconify-json/line-md/icons.json'), + // icons: [ + // 'home-twotone-alt', + // 'github', + // 'document-list', + // 'document-code', + // 'image-twotone', + // ], + // }, + ], +} + +// Iconify component (this changes import statement in generated file) +// Available options: '@iconify/react' for React, '@iconify/vue' for Vue 3, '@iconify/vue2' for Vue 2, '@iconify/svelte' for Svelte +const component = '@iconify/vue' + +// Set to true to use require() instead of import +const commonJS = false + +// File to save bundle to +const target = join(__dirname, 'icons-bundle.js'); + +/** + * Do stuff! + */ +// eslint-disable-next-line sonarjs/cognitive-complexity +(async function () { + let bundle = commonJS + ? `const { addCollection } = require('${component}');\n\n` + : `import { addCollection } from '${component}';\n\n` + + // Create directory for output if missing + const dir = dirname(target) + try { + await fs.mkdir(dir, { + recursive: true, + }) + } + catch (err) { + // + } + + /** + * Convert sources.icons to sources.json + */ + if (sources.icons) { + const sourcesJSON = sources.json ? sources.json : (sources.json = []) + + // Sort icons by prefix + const organizedList = organizeIconsList(sources.icons) + for (const prefix in organizedList) { + const filename = require.resolve(`@iconify/json/json/${prefix}.json`) + + sourcesJSON.push({ + filename, + icons: organizedList[prefix], + }) + } + } + + /** + * Bundle JSON files + */ + if (sources.json) { + for (let i = 0; i < sources.json.length; i++) { + const item = sources.json[i] + + // Load icon set + const filename = typeof item === 'string' ? item : item.filename + let content = JSON.parse( + await fs.readFile(filename, 'utf8'), + ) as IconifyJSON + + // Filter icons + if (typeof item !== 'string' && item.icons?.length) { + const filteredContent = getIcons(content, item.icons) + if (!filteredContent) + throw new Error(`Cannot find required icons in ${filename}`) + + content = filteredContent + } + + // Remove metadata and add to bundle + removeMetaData(content) + minifyIconSet(content) + bundle += `addCollection(${JSON.stringify(content)});\n` + console.log(`Bundled icons from ${filename}`) + } + } + + /** + * Custom SVG + */ + if (sources.svg) { + for (let i = 0; i < sources.svg.length; i++) { + const source = sources.svg[i] + + // Import icons + const iconSet = await importDirectory(source.dir, { + prefix: source.prefix, + }) + + // Validate, clean up, fix palette and optimise + await iconSet.forEach(async (name, type) => { + if (type !== 'icon') + return + + // Get SVG instance for parsing + const svg = iconSet.toSVG(name) + if (!svg) { + // Invalid icon + iconSet.remove(name) + + return + } + + // Clean up and optimise icons + try { + // Clean up icon code + await cleanupSVG(svg) + + if (source.monotone) { + // Replace color with currentColor, add if missing + // If icon is not monotone, remove this code + await parseColors(svg, { + defaultColor: 'currentColor', + callback: (attr, colorStr, color) => { + return !color || isEmptyColor(color) + ? colorStr + : 'currentColor' + }, + }) + } + + // Optimise + await runSVGO(svg) + } + catch (err) { + // Invalid icon + console.error( + `Error parsing ${name} from ${source.dir}:`, + err, + ) + iconSet.remove(name) + + return + } + + // Update icon from SVG instance + iconSet.fromSVG(name, svg) + }) + console.log(`Bundled ${iconSet.count()} icons from ${source.dir}`) + + // Export to JSON + const content = iconSet.export() + + bundle += `addCollection(${JSON.stringify(content)});\n` + } + } + + // Save to file + await fs.writeFile(target, bundle, 'utf8') + + console.log(`Saved ${target} (${bundle.length} bytes)`) +})().catch(err => { + console.error(err) +}) + +/** + * Remove metadata from icon set + */ +function removeMetaData(iconSet: IconifyJSON) { + const props: (keyof IconifyMetaData)[] = [ + 'info', + 'chars', + 'categories', + 'themes', + 'prefixes', + 'suffixes', + ] + + props.forEach(prop => { + delete iconSet[prop] + }) +} + +/** + * Sort icon names by prefix + */ +function organizeIconsList(icons: string[]): Record { + const sorted: Record = Object.create(null) + + icons.forEach(icon => { + const item = stringToIcon(icon) + if (!item) + return + + const prefix = item.prefix + + const prefixList = sorted[prefix] + ? sorted[prefix] + : (sorted[prefix] = []) + + const name = item.name + if (!prefixList.includes(name)) + prefixList.push(name) + }) + + return sorted +} diff --git a/src/plugins/vuetify/@iconify/icons-bundle.js b/src/plugins/vuetify/@iconify/icons-bundle.js new file mode 100644 index 00000000..1d22fd43 --- /dev/null +++ b/src/plugins/vuetify/@iconify/icons-bundle.js @@ -0,0 +1,4 @@ +import { addCollection } from '@iconify/vue'; + +addCollection({"prefix":"mdi","icons":{"ab-testing":{"body":""},"abacus":{"body":""},"abjad-arabic":{"body":""},"abjad-hebrew":{"body":""},"abugida-devanagari":{"body":""},"abugida-thai":{"body":""},"access-point":{"body":""},"access-point-check":{"body":""},"access-point-minus":{"body":""},"access-point-network":{"body":""},"access-point-network-off":{"body":""},"access-point-off":{"body":""},"access-point-plus":{"body":""},"access-point-remove":{"body":""},"account":{"body":""},"account-alert":{"body":""},"account-alert-outline":{"body":""},"account-arrow-down":{"body":""},"account-arrow-down-outline":{"body":""},"account-arrow-left":{"body":""},"account-arrow-left-outline":{"body":""},"account-arrow-right":{"body":""},"account-arrow-right-outline":{"body":""},"account-arrow-up":{"body":""},"account-arrow-up-outline":{"body":""},"account-badge":{"body":""},"account-badge-outline":{"body":""},"account-box":{"body":""},"account-box-multiple":{"body":""},"account-box-multiple-outline":{"body":""},"account-box-outline":{"body":""},"account-cancel":{"body":""},"account-cancel-outline":{"body":""},"account-card":{"body":""},"account-card-outline":{"body":""},"account-cash":{"body":""},"account-cash-outline":{"body":""},"account-check":{"body":""},"account-check-outline":{"body":""},"account-child":{"body":""},"account-child-circle":{"body":""},"account-child-outline":{"body":""},"account-circle":{"body":""},"account-circle-outline":{"body":""},"account-clock":{"body":""},"account-clock-outline":{"body":""},"account-cog":{"body":""},"account-cog-outline":{"body":""},"account-convert":{"body":""},"account-convert-outline":{"body":""},"account-cowboy-hat":{"body":""},"account-cowboy-hat-outline":{"body":""},"account-credit-card":{"body":""},"account-credit-card-outline":{"body":""},"account-details":{"body":""},"account-details-outline":{"body":""},"account-edit":{"body":""},"account-edit-outline":{"body":""},"account-eye":{"body":""},"account-eye-outline":{"body":""},"account-filter":{"body":""},"account-filter-outline":{"body":""},"account-group":{"body":""},"account-group-outline":{"body":""},"account-hard-hat":{"body":""},"account-hard-hat-outline":{"body":""},"account-heart":{"body":""},"account-heart-outline":{"body":""},"account-injury":{"body":""},"account-injury-outline":{"body":""},"account-key":{"body":""},"account-key-outline":{"body":""},"account-lock":{"body":""},"account-lock-open":{"body":""},"account-lock-open-outline":{"body":""},"account-lock-outline":{"body":""},"account-minus":{"body":""},"account-minus-outline":{"body":""},"account-multiple":{"body":""},"account-multiple-check":{"body":""},"account-multiple-check-outline":{"body":""},"account-multiple-minus":{"body":""},"account-multiple-minus-outline":{"body":""},"account-multiple-outline":{"body":""},"account-multiple-plus":{"body":""},"account-multiple-plus-outline":{"body":""},"account-multiple-remove":{"body":""},"account-multiple-remove-outline":{"body":""},"account-music":{"body":""},"account-music-outline":{"body":""},"account-network":{"body":""},"account-network-off":{"body":""},"account-network-off-outline":{"body":""},"account-network-outline":{"body":""},"account-off":{"body":""},"account-off-outline":{"body":""},"account-outline":{"body":""},"account-plus":{"body":""},"account-plus-outline":{"body":""},"account-question":{"body":""},"account-question-outline":{"body":""},"account-reactivate":{"body":""},"account-reactivate-outline":{"body":""},"account-remove":{"body":""},"account-remove-outline":{"body":""},"account-school":{"body":""},"account-school-outline":{"body":""},"account-search":{"body":""},"account-search-outline":{"body":""},"account-settings":{"body":""},"account-settings-outline":{"body":""},"account-settings-variant":{"body":"","hidden":true},"account-star":{"body":""},"account-star-outline":{"body":""},"account-supervisor":{"body":""},"account-supervisor-circle":{"body":""},"account-supervisor-circle-outline":{"body":""},"account-supervisor-outline":{"body":""},"account-switch":{"body":""},"account-switch-outline":{"body":""},"account-sync":{"body":""},"account-sync-outline":{"body":""},"account-tag":{"body":""},"account-tag-outline":{"body":""},"account-tie":{"body":""},"account-tie-hat":{"body":""},"account-tie-hat-outline":{"body":""},"account-tie-outline":{"body":""},"account-tie-voice":{"body":""},"account-tie-voice-off":{"body":""},"account-tie-voice-off-outline":{"body":""},"account-tie-voice-outline":{"body":""},"account-tie-woman":{"body":""},"account-voice":{"body":""},"account-voice-off":{"body":""},"account-wrench":{"body":""},"account-wrench-outline":{"body":""},"accusoft":{"body":"","hidden":true},"ad-choices":{"body":"","hidden":true},"adchoices":{"body":"","hidden":true},"adjust":{"body":""},"adobe":{"body":"","hidden":true},"advertisements":{"body":""},"advertisements-off":{"body":""},"air-conditioner":{"body":""},"air-filter":{"body":""},"air-horn":{"body":""},"air-humidifier":{"body":""},"air-humidifier-off":{"body":""},"air-purifier":{"body":""},"air-purifier-off":{"body":""},"airbag":{"body":""},"airballoon":{"body":""},"airballoon-outline":{"body":""},"airplane":{"body":""},"airplane-alert":{"body":""},"airplane-check":{"body":""},"airplane-clock":{"body":""},"airplane-cog":{"body":""},"airplane-edit":{"body":""},"airplane-landing":{"body":""},"airplane-marker":{"body":""},"airplane-minus":{"body":""},"airplane-off":{"body":""},"airplane-plus":{"body":""},"airplane-remove":{"body":""},"airplane-search":{"body":""},"airplane-settings":{"body":""},"airplane-takeoff":{"body":""},"airport":{"body":""},"alarm":{"body":""},"alarm-bell":{"body":""},"alarm-check":{"body":""},"alarm-light":{"body":""},"alarm-light-off":{"body":""},"alarm-light-off-outline":{"body":""},"alarm-light-outline":{"body":""},"alarm-multiple":{"body":""},"alarm-note":{"body":""},"alarm-note-off":{"body":""},"alarm-off":{"body":""},"alarm-panel":{"body":""},"alarm-panel-outline":{"body":""},"alarm-plus":{"body":""},"alarm-snooze":{"body":""},"album":{"body":""},"alert":{"body":""},"alert-box":{"body":""},"alert-box-outline":{"body":""},"alert-circle":{"body":""},"alert-circle-check":{"body":""},"alert-circle-check-outline":{"body":""},"alert-circle-outline":{"body":""},"alert-decagram":{"body":""},"alert-decagram-outline":{"body":""},"alert-minus":{"body":""},"alert-minus-outline":{"body":""},"alert-octagon":{"body":""},"alert-octagon-outline":{"body":""},"alert-octagram":{"body":""},"alert-octagram-outline":{"body":""},"alert-outline":{"body":""},"alert-plus":{"body":""},"alert-plus-outline":{"body":""},"alert-remove":{"body":""},"alert-remove-outline":{"body":""},"alert-rhombus":{"body":""},"alert-rhombus-outline":{"body":""},"alien":{"body":""},"alien-outline":{"body":""},"align-horizontal-center":{"body":""},"align-horizontal-distribute":{"body":""},"align-horizontal-left":{"body":""},"align-horizontal-right":{"body":""},"align-vertical-bottom":{"body":""},"align-vertical-center":{"body":""},"align-vertical-distribute":{"body":""},"align-vertical-top":{"body":""},"all-inclusive":{"body":""},"all-inclusive-box":{"body":""},"all-inclusive-box-outline":{"body":""},"allergy":{"body":""},"allo":{"body":"","hidden":true},"alpha":{"body":""},"alpha-a":{"body":""},"alpha-a-box":{"body":""},"alpha-a-box-outline":{"body":""},"alpha-a-circle":{"body":""},"alpha-a-circle-outline":{"body":""},"alpha-b":{"body":""},"alpha-b-box":{"body":""},"alpha-b-box-outline":{"body":""},"alpha-b-circle":{"body":""},"alpha-b-circle-outline":{"body":""},"alpha-c":{"body":""},"alpha-c-box":{"body":""},"alpha-c-box-outline":{"body":""},"alpha-c-circle":{"body":""},"alpha-c-circle-outline":{"body":""},"alpha-d":{"body":""},"alpha-d-box":{"body":""},"alpha-d-box-outline":{"body":""},"alpha-d-circle":{"body":""},"alpha-d-circle-outline":{"body":""},"alpha-e":{"body":""},"alpha-e-box":{"body":""},"alpha-e-box-outline":{"body":""},"alpha-e-circle":{"body":""},"alpha-e-circle-outline":{"body":""},"alpha-f":{"body":""},"alpha-f-box":{"body":""},"alpha-f-box-outline":{"body":""},"alpha-f-circle":{"body":""},"alpha-f-circle-outline":{"body":""},"alpha-g":{"body":""},"alpha-g-box":{"body":""},"alpha-g-box-outline":{"body":""},"alpha-g-circle":{"body":""},"alpha-g-circle-outline":{"body":""},"alpha-h":{"body":""},"alpha-h-box":{"body":""},"alpha-h-box-outline":{"body":""},"alpha-h-circle":{"body":""},"alpha-h-circle-outline":{"body":""},"alpha-i":{"body":""},"alpha-i-box":{"body":""},"alpha-i-box-outline":{"body":""},"alpha-i-circle":{"body":""},"alpha-i-circle-outline":{"body":""},"alpha-j":{"body":""},"alpha-j-box":{"body":""},"alpha-j-box-outline":{"body":""},"alpha-j-circle":{"body":""},"alpha-j-circle-outline":{"body":""},"alpha-k":{"body":""},"alpha-k-box":{"body":""},"alpha-k-box-outline":{"body":""},"alpha-k-circle":{"body":""},"alpha-k-circle-outline":{"body":""},"alpha-l":{"body":""},"alpha-l-box":{"body":""},"alpha-l-box-outline":{"body":""},"alpha-l-circle":{"body":""},"alpha-l-circle-outline":{"body":""},"alpha-m":{"body":""},"alpha-m-box":{"body":""},"alpha-m-box-outline":{"body":""},"alpha-m-circle":{"body":""},"alpha-m-circle-outline":{"body":""},"alpha-n":{"body":""},"alpha-n-box":{"body":""},"alpha-n-box-outline":{"body":""},"alpha-n-circle":{"body":""},"alpha-n-circle-outline":{"body":""},"alpha-o":{"body":""},"alpha-o-box":{"body":""},"alpha-o-box-outline":{"body":""},"alpha-o-circle":{"body":""},"alpha-o-circle-outline":{"body":""},"alpha-p":{"body":""},"alpha-p-box":{"body":""},"alpha-p-box-outline":{"body":""},"alpha-p-circle":{"body":""},"alpha-p-circle-outline":{"body":""},"alpha-q":{"body":""},"alpha-q-box":{"body":""},"alpha-q-box-outline":{"body":""},"alpha-q-circle":{"body":""},"alpha-q-circle-outline":{"body":""},"alpha-r":{"body":""},"alpha-r-box":{"body":""},"alpha-r-box-outline":{"body":""},"alpha-r-circle":{"body":""},"alpha-r-circle-outline":{"body":""},"alpha-s":{"body":""},"alpha-s-box":{"body":""},"alpha-s-box-outline":{"body":""},"alpha-s-circle":{"body":""},"alpha-s-circle-outline":{"body":""},"alpha-t":{"body":""},"alpha-t-box":{"body":""},"alpha-t-box-outline":{"body":""},"alpha-t-circle":{"body":""},"alpha-t-circle-outline":{"body":""},"alpha-u":{"body":""},"alpha-u-box":{"body":""},"alpha-u-box-outline":{"body":""},"alpha-u-circle":{"body":""},"alpha-u-circle-outline":{"body":""},"alpha-v":{"body":""},"alpha-v-box":{"body":""},"alpha-v-box-outline":{"body":""},"alpha-v-circle":{"body":""},"alpha-v-circle-outline":{"body":""},"alpha-w":{"body":""},"alpha-w-box":{"body":""},"alpha-w-box-outline":{"body":""},"alpha-w-circle":{"body":""},"alpha-w-circle-outline":{"body":""},"alpha-x":{"body":""},"alpha-x-box":{"body":""},"alpha-x-box-outline":{"body":""},"alpha-x-circle":{"body":""},"alpha-x-circle-outline":{"body":""},"alpha-y":{"body":""},"alpha-y-box":{"body":""},"alpha-y-box-outline":{"body":""},"alpha-y-circle":{"body":""},"alpha-y-circle-outline":{"body":""},"alpha-z":{"body":""},"alpha-z-box":{"body":""},"alpha-z-box-outline":{"body":""},"alpha-z-circle":{"body":""},"alpha-z-circle-outline":{"body":""},"alphabet-aurebesh":{"body":""},"alphabet-cyrillic":{"body":""},"alphabet-greek":{"body":""},"alphabet-latin":{"body":""},"alphabet-piqad":{"body":""},"alphabet-tengwar":{"body":""},"alphabetical":{"body":""},"alphabetical-off":{"body":""},"alphabetical-variant":{"body":""},"alphabetical-variant-off":{"body":""},"altimeter":{"body":""},"amazon":{"body":"","hidden":true},"amazon-alexa":{"body":"","hidden":true},"amazon-drive":{"body":"","hidden":true},"ambulance":{"body":""},"ammunition":{"body":""},"ampersand":{"body":""},"amplifier":{"body":""},"amplifier-off":{"body":""},"anchor":{"body":""},"android":{"body":""},"android-auto":{"body":"","hidden":true},"android-debug-bridge":{"body":"","hidden":true},"android-head":{"body":"","hidden":true},"android-messages":{"body":"","hidden":true},"android-studio":{"body":""},"angle-acute":{"body":""},"angle-obtuse":{"body":""},"angle-right":{"body":""},"angular":{"body":""},"angularjs":{"body":""},"animation":{"body":""},"animation-outline":{"body":""},"animation-play":{"body":""},"animation-play-outline":{"body":""},"ansible":{"body":""},"antenna":{"body":""},"anvil":{"body":""},"apache-kafka":{"body":""},"api":{"body":""},"api-off":{"body":""},"apple":{"body":""},"apple-finder":{"body":""},"apple-icloud":{"body":""},"apple-ios":{"body":""},"apple-keyboard-caps":{"body":""},"apple-keyboard-command":{"body":""},"apple-keyboard-control":{"body":""},"apple-keyboard-option":{"body":""},"apple-keyboard-shift":{"body":""},"apple-safari":{"body":""},"application":{"body":""},"application-array":{"body":""},"application-array-outline":{"body":""},"application-braces":{"body":""},"application-braces-outline":{"body":""},"application-brackets":{"body":""},"application-brackets-outline":{"body":""},"application-cog":{"body":""},"application-cog-outline":{"body":""},"application-edit":{"body":""},"application-edit-outline":{"body":""},"application-export":{"body":""},"application-import":{"body":""},"application-outline":{"body":""},"application-parentheses":{"body":""},"application-parentheses-outline":{"body":""},"application-settings":{"body":""},"application-settings-outline":{"body":""},"application-variable":{"body":""},"application-variable-outline":{"body":""},"appnet":{"body":"","hidden":true},"approximately-equal":{"body":""},"approximately-equal-box":{"body":""},"apps":{"body":""},"apps-box":{"body":""},"arch":{"body":""},"archive":{"body":""},"archive-alert":{"body":""},"archive-alert-outline":{"body":""},"archive-arrow-down":{"body":""},"archive-arrow-down-outline":{"body":""},"archive-arrow-up":{"body":""},"archive-arrow-up-outline":{"body":""},"archive-cancel":{"body":""},"archive-cancel-outline":{"body":""},"archive-check":{"body":""},"archive-check-outline":{"body":""},"archive-clock":{"body":""},"archive-clock-outline":{"body":""},"archive-cog":{"body":""},"archive-cog-outline":{"body":""},"archive-edit":{"body":""},"archive-edit-outline":{"body":""},"archive-eye":{"body":""},"archive-eye-outline":{"body":""},"archive-lock":{"body":""},"archive-lock-open":{"body":""},"archive-lock-open-outline":{"body":""},"archive-lock-outline":{"body":""},"archive-marker":{"body":""},"archive-marker-outline":{"body":""},"archive-minus":{"body":""},"archive-minus-outline":{"body":""},"archive-music":{"body":""},"archive-music-outline":{"body":""},"archive-off":{"body":""},"archive-off-outline":{"body":""},"archive-outline":{"body":""},"archive-plus":{"body":""},"archive-plus-outline":{"body":""},"archive-refresh":{"body":""},"archive-refresh-outline":{"body":""},"archive-remove":{"body":""},"archive-remove-outline":{"body":""},"archive-search":{"body":""},"archive-search-outline":{"body":""},"archive-settings":{"body":""},"archive-settings-outline":{"body":""},"archive-star":{"body":""},"archive-star-outline":{"body":""},"archive-sync":{"body":""},"archive-sync-outline":{"body":""},"arm-flex":{"body":""},"arm-flex-outline":{"body":""},"arrange-bring-forward":{"body":""},"arrange-bring-to-front":{"body":""},"arrange-send-backward":{"body":""},"arrange-send-to-back":{"body":""},"arrow-all":{"body":""},"arrow-bottom-left":{"body":""},"arrow-bottom-left-bold-box":{"body":""},"arrow-bottom-left-bold-box-outline":{"body":""},"arrow-bottom-left-bold-outline":{"body":""},"arrow-bottom-left-thick":{"body":""},"arrow-bottom-left-thin":{"body":""},"arrow-bottom-left-thin-circle-outline":{"body":""},"arrow-bottom-right":{"body":""},"arrow-bottom-right-bold-box":{"body":""},"arrow-bottom-right-bold-box-outline":{"body":""},"arrow-bottom-right-bold-outline":{"body":""},"arrow-bottom-right-thick":{"body":""},"arrow-bottom-right-thin":{"body":""},"arrow-bottom-right-thin-circle-outline":{"body":""},"arrow-collapse":{"body":""},"arrow-collapse-all":{"body":""},"arrow-collapse-down":{"body":""},"arrow-collapse-horizontal":{"body":""},"arrow-collapse-left":{"body":""},"arrow-collapse-right":{"body":""},"arrow-collapse-up":{"body":""},"arrow-collapse-vertical":{"body":""},"arrow-decision":{"body":""},"arrow-decision-auto":{"body":""},"arrow-decision-auto-outline":{"body":""},"arrow-decision-outline":{"body":""},"arrow-down":{"body":""},"arrow-down-bold":{"body":""},"arrow-down-bold-box":{"body":""},"arrow-down-bold-box-outline":{"body":""},"arrow-down-bold-circle":{"body":""},"arrow-down-bold-circle-outline":{"body":""},"arrow-down-bold-hexagon-outline":{"body":""},"arrow-down-bold-outline":{"body":""},"arrow-down-box":{"body":""},"arrow-down-circle":{"body":""},"arrow-down-circle-outline":{"body":""},"arrow-down-drop-circle":{"body":""},"arrow-down-drop-circle-outline":{"body":""},"arrow-down-left":{"body":""},"arrow-down-left-bold":{"body":""},"arrow-down-right":{"body":""},"arrow-down-right-bold":{"body":""},"arrow-down-thick":{"body":""},"arrow-down-thin":{"body":""},"arrow-down-thin-circle-outline":{"body":""},"arrow-expand":{"body":""},"arrow-expand-all":{"body":""},"arrow-expand-down":{"body":""},"arrow-expand-horizontal":{"body":""},"arrow-expand-left":{"body":""},"arrow-expand-right":{"body":""},"arrow-expand-up":{"body":""},"arrow-expand-vertical":{"body":""},"arrow-horizontal-lock":{"body":""},"arrow-left":{"body":""},"arrow-left-bold":{"body":""},"arrow-left-bold-box":{"body":""},"arrow-left-bold-box-outline":{"body":""},"arrow-left-bold-circle":{"body":""},"arrow-left-bold-circle-outline":{"body":""},"arrow-left-bold-hexagon-outline":{"body":""},"arrow-left-bold-outline":{"body":""},"arrow-left-bottom":{"body":""},"arrow-left-bottom-bold":{"body":""},"arrow-left-box":{"body":""},"arrow-left-circle":{"body":""},"arrow-left-circle-outline":{"body":""},"arrow-left-drop-circle":{"body":""},"arrow-left-drop-circle-outline":{"body":""},"arrow-left-right":{"body":""},"arrow-left-right-bold":{"body":""},"arrow-left-right-bold-outline":{"body":""},"arrow-left-thick":{"body":""},"arrow-left-thin":{"body":""},"arrow-left-thin-circle-outline":{"body":""},"arrow-left-top":{"body":""},"arrow-left-top-bold":{"body":""},"arrow-projectile":{"body":""},"arrow-projectile-multiple":{"body":""},"arrow-right":{"body":""},"arrow-right-bold":{"body":""},"arrow-right-bold-box":{"body":""},"arrow-right-bold-box-outline":{"body":""},"arrow-right-bold-circle":{"body":""},"arrow-right-bold-circle-outline":{"body":""},"arrow-right-bold-hexagon-outline":{"body":""},"arrow-right-bold-outline":{"body":""},"arrow-right-bottom":{"body":""},"arrow-right-bottom-bold":{"body":""},"arrow-right-box":{"body":""},"arrow-right-circle":{"body":""},"arrow-right-circle-outline":{"body":""},"arrow-right-drop-circle":{"body":""},"arrow-right-drop-circle-outline":{"body":""},"arrow-right-thick":{"body":""},"arrow-right-thin":{"body":""},"arrow-right-thin-circle-outline":{"body":""},"arrow-right-top":{"body":""},"arrow-right-top-bold":{"body":""},"arrow-split-horizontal":{"body":""},"arrow-split-vertical":{"body":""},"arrow-top-left":{"body":""},"arrow-top-left-bold-box":{"body":""},"arrow-top-left-bold-box-outline":{"body":""},"arrow-top-left-bold-outline":{"body":""},"arrow-top-left-bottom-right":{"body":""},"arrow-top-left-bottom-right-bold":{"body":""},"arrow-top-left-thick":{"body":""},"arrow-top-left-thin":{"body":""},"arrow-top-left-thin-circle-outline":{"body":""},"arrow-top-right":{"body":""},"arrow-top-right-bold-box":{"body":""},"arrow-top-right-bold-box-outline":{"body":""},"arrow-top-right-bold-outline":{"body":""},"arrow-top-right-bottom-left":{"body":""},"arrow-top-right-bottom-left-bold":{"body":""},"arrow-top-right-thick":{"body":""},"arrow-top-right-thin":{"body":""},"arrow-top-right-thin-circle-outline":{"body":""},"arrow-u-down-left":{"body":""},"arrow-u-down-left-bold":{"body":""},"arrow-u-down-right":{"body":""},"arrow-u-down-right-bold":{"body":""},"arrow-u-left-bottom":{"body":""},"arrow-u-left-bottom-bold":{"body":""},"arrow-u-left-top":{"body":""},"arrow-u-left-top-bold":{"body":""},"arrow-u-right-bottom":{"body":""},"arrow-u-right-bottom-bold":{"body":""},"arrow-u-right-top":{"body":""},"arrow-u-right-top-bold":{"body":""},"arrow-u-up-left":{"body":""},"arrow-u-up-left-bold":{"body":""},"arrow-u-up-right":{"body":""},"arrow-u-up-right-bold":{"body":""},"arrow-up":{"body":""},"arrow-up-bold":{"body":""},"arrow-up-bold-box":{"body":""},"arrow-up-bold-box-outline":{"body":""},"arrow-up-bold-circle":{"body":""},"arrow-up-bold-circle-outline":{"body":""},"arrow-up-bold-hexagon-outline":{"body":""},"arrow-up-bold-outline":{"body":""},"arrow-up-box":{"body":""},"arrow-up-circle":{"body":""},"arrow-up-circle-outline":{"body":""},"arrow-up-down":{"body":""},"arrow-up-down-bold":{"body":""},"arrow-up-down-bold-outline":{"body":""},"arrow-up-drop-circle":{"body":""},"arrow-up-drop-circle-outline":{"body":""},"arrow-up-left":{"body":""},"arrow-up-left-bold":{"body":""},"arrow-up-right":{"body":""},"arrow-up-right-bold":{"body":""},"arrow-up-thick":{"body":""},"arrow-up-thin":{"body":""},"arrow-up-thin-circle-outline":{"body":""},"arrow-vertical-lock":{"body":""},"artboard":{"body":""},"artstation":{"body":""},"aspect-ratio":{"body":""},"assistant":{"body":""},"asterisk":{"body":""},"asterisk-circle-outline":{"body":""},"at":{"body":""},"atlassian":{"body":""},"atm":{"body":""},"atom":{"body":""},"atom-variant":{"body":""},"attachment":{"body":""},"attachment-check":{"body":""},"attachment-lock":{"body":""},"attachment-minus":{"body":""},"attachment-off":{"body":""},"attachment-plus":{"body":""},"attachment-remove":{"body":""},"atv":{"body":""},"audio-input-rca":{"body":""},"audio-input-stereo-minijack":{"body":""},"audio-input-xlr":{"body":""},"audio-video":{"body":""},"audio-video-off":{"body":""},"augmented-reality":{"body":""},"aurora":{"body":""},"auto-download":{"body":""},"auto-fix":{"body":""},"auto-upload":{"body":""},"autorenew":{"body":""},"autorenew-off":{"body":""},"av-timer":{"body":""},"awning":{"body":""},"awning-outline":{"body":""},"aws":{"body":""},"axe":{"body":""},"axe-battle":{"body":""},"axis":{"body":""},"axis-arrow":{"body":""},"axis-arrow-info":{"body":""},"axis-arrow-lock":{"body":""},"axis-lock":{"body":""},"axis-x-arrow":{"body":""},"axis-x-arrow-lock":{"body":""},"axis-x-rotate-clockwise":{"body":""},"axis-x-rotate-counterclockwise":{"body":""},"axis-x-y-arrow-lock":{"body":""},"axis-y-arrow":{"body":""},"axis-y-arrow-lock":{"body":""},"axis-y-rotate-clockwise":{"body":""},"axis-y-rotate-counterclockwise":{"body":""},"axis-z-arrow":{"body":""},"axis-z-arrow-lock":{"body":""},"axis-z-rotate-clockwise":{"body":""},"axis-z-rotate-counterclockwise":{"body":""},"babel":{"body":""},"baby":{"body":""},"baby-bottle":{"body":""},"baby-bottle-outline":{"body":""},"baby-buggy":{"body":""},"baby-buggy-off":{"body":""},"baby-carriage":{"body":""},"baby-carriage-off":{"body":""},"baby-face":{"body":""},"baby-face-outline":{"body":""},"backburger":{"body":""},"backspace":{"body":""},"backspace-outline":{"body":""},"backspace-reverse":{"body":""},"backspace-reverse-outline":{"body":""},"backup-restore":{"body":""},"bacteria":{"body":""},"bacteria-outline":{"body":""},"badge-account":{"body":""},"badge-account-alert":{"body":""},"badge-account-alert-outline":{"body":""},"badge-account-horizontal":{"body":""},"badge-account-horizontal-outline":{"body":""},"badge-account-outline":{"body":""},"badminton":{"body":""},"bag-carry-on":{"body":""},"bag-carry-on-check":{"body":""},"bag-carry-on-off":{"body":""},"bag-checked":{"body":""},"bag-personal":{"body":""},"bag-personal-off":{"body":""},"bag-personal-off-outline":{"body":""},"bag-personal-outline":{"body":""},"bag-personal-tag":{"body":""},"bag-personal-tag-outline":{"body":""},"bag-suitcase":{"body":""},"bag-suitcase-off":{"body":""},"bag-suitcase-off-outline":{"body":""},"bag-suitcase-outline":{"body":""},"baguette":{"body":""},"balcony":{"body":""},"balloon":{"body":""},"ballot":{"body":""},"ballot-outline":{"body":""},"ballot-recount":{"body":""},"ballot-recount-outline":{"body":""},"bandage":{"body":""},"bandcamp":{"body":"","hidden":true},"bank":{"body":""},"bank-check":{"body":""},"bank-circle":{"body":""},"bank-circle-outline":{"body":""},"bank-minus":{"body":""},"bank-off":{"body":""},"bank-off-outline":{"body":""},"bank-outline":{"body":""},"bank-plus":{"body":""},"bank-remove":{"body":""},"bank-transfer":{"body":""},"bank-transfer-in":{"body":""},"bank-transfer-out":{"body":""},"barcode":{"body":""},"barcode-off":{"body":""},"barcode-scan":{"body":""},"barley":{"body":""},"barley-off":{"body":""},"barn":{"body":""},"barrel":{"body":""},"barrel-outline":{"body":""},"baseball":{"body":""},"baseball-bat":{"body":""},"baseball-diamond":{"body":""},"baseball-diamond-outline":{"body":""},"basecamp":{"body":"","hidden":true},"bash":{"body":""},"basket":{"body":""},"basket-check":{"body":""},"basket-check-outline":{"body":""},"basket-fill":{"body":""},"basket-minus":{"body":""},"basket-minus-outline":{"body":""},"basket-off":{"body":""},"basket-off-outline":{"body":""},"basket-outline":{"body":""},"basket-plus":{"body":""},"basket-plus-outline":{"body":""},"basket-remove":{"body":""},"basket-remove-outline":{"body":""},"basket-unfill":{"body":""},"basketball":{"body":""},"basketball-hoop":{"body":""},"basketball-hoop-outline":{"body":""},"bat":{"body":""},"bathtub":{"body":""},"bathtub-outline":{"body":""},"battery":{"body":""},"battery-10":{"body":""},"battery-10-bluetooth":{"body":""},"battery-20":{"body":""},"battery-20-bluetooth":{"body":""},"battery-30":{"body":""},"battery-30-bluetooth":{"body":""},"battery-40":{"body":""},"battery-40-bluetooth":{"body":""},"battery-50":{"body":""},"battery-50-bluetooth":{"body":""},"battery-60":{"body":""},"battery-60-bluetooth":{"body":""},"battery-70":{"body":""},"battery-70-bluetooth":{"body":""},"battery-80":{"body":""},"battery-80-bluetooth":{"body":""},"battery-90":{"body":""},"battery-90-bluetooth":{"body":""},"battery-alert":{"body":""},"battery-alert-bluetooth":{"body":""},"battery-alert-variant":{"body":""},"battery-alert-variant-outline":{"body":""},"battery-arrow-down":{"body":""},"battery-arrow-down-outline":{"body":""},"battery-arrow-up":{"body":""},"battery-arrow-up-outline":{"body":""},"battery-bluetooth":{"body":""},"battery-bluetooth-variant":{"body":""},"battery-charging":{"body":""},"battery-charging-10":{"body":""},"battery-charging-100":{"body":""},"battery-charging-20":{"body":""},"battery-charging-30":{"body":""},"battery-charging-40":{"body":""},"battery-charging-50":{"body":""},"battery-charging-60":{"body":""},"battery-charging-70":{"body":""},"battery-charging-80":{"body":""},"battery-charging-90":{"body":""},"battery-charging-high":{"body":""},"battery-charging-low":{"body":""},"battery-charging-medium":{"body":""},"battery-charging-outline":{"body":""},"battery-charging-wireless":{"body":""},"battery-charging-wireless-10":{"body":""},"battery-charging-wireless-20":{"body":""},"battery-charging-wireless-30":{"body":""},"battery-charging-wireless-40":{"body":""},"battery-charging-wireless-50":{"body":""},"battery-charging-wireless-60":{"body":""},"battery-charging-wireless-70":{"body":""},"battery-charging-wireless-80":{"body":""},"battery-charging-wireless-90":{"body":""},"battery-charging-wireless-alert":{"body":""},"battery-charging-wireless-outline":{"body":""},"battery-check":{"body":""},"battery-check-outline":{"body":""},"battery-clock":{"body":""},"battery-clock-outline":{"body":""},"battery-heart":{"body":""},"battery-heart-outline":{"body":""},"battery-heart-variant":{"body":""},"battery-high":{"body":""},"battery-lock":{"body":""},"battery-lock-open":{"body":""},"battery-low":{"body":""},"battery-medium":{"body":""},"battery-minus":{"body":""},"battery-minus-outline":{"body":""},"battery-minus-variant":{"body":""},"battery-negative":{"body":""},"battery-off":{"body":""},"battery-off-outline":{"body":""},"battery-outline":{"body":""},"battery-plus":{"body":""},"battery-plus-outline":{"body":""},"battery-plus-variant":{"body":""},"battery-positive":{"body":""},"battery-remove":{"body":""},"battery-remove-outline":{"body":""},"battery-standard":{"body":"","hidden":true},"battery-sync":{"body":""},"battery-sync-outline":{"body":""},"battery-unknown":{"body":""},"battery-unknown-bluetooth":{"body":""},"battlenet":{"body":"","hidden":true},"beach":{"body":""},"beaker":{"body":""},"beaker-alert":{"body":""},"beaker-alert-outline":{"body":""},"beaker-check":{"body":""},"beaker-check-outline":{"body":""},"beaker-minus":{"body":""},"beaker-minus-outline":{"body":""},"beaker-outline":{"body":""},"beaker-plus":{"body":""},"beaker-plus-outline":{"body":""},"beaker-question":{"body":""},"beaker-question-outline":{"body":""},"beaker-remove":{"body":""},"beaker-remove-outline":{"body":""},"beam":{"body":"","hidden":true},"beats":{"body":"","hidden":true},"bed":{"body":""},"bed-clock":{"body":""},"bed-double":{"body":""},"bed-double-outline":{"body":""},"bed-empty":{"body":""},"bed-king":{"body":""},"bed-king-outline":{"body":""},"bed-outline":{"body":""},"bed-queen":{"body":""},"bed-queen-outline":{"body":""},"bed-single":{"body":""},"bed-single-outline":{"body":""},"bee":{"body":""},"bee-flower":{"body":""},"beehive-off-outline":{"body":""},"beehive-outline":{"body":""},"beekeeper":{"body":""},"beer":{"body":""},"beer-outline":{"body":""},"behance":{"body":"","hidden":true},"bell":{"body":""},"bell-alert":{"body":""},"bell-alert-outline":{"body":""},"bell-badge":{"body":""},"bell-badge-outline":{"body":""},"bell-cancel":{"body":""},"bell-cancel-outline":{"body":""},"bell-check":{"body":""},"bell-check-outline":{"body":""},"bell-circle":{"body":""},"bell-circle-outline":{"body":""},"bell-cog":{"body":""},"bell-cog-outline":{"body":""},"bell-minus":{"body":""},"bell-minus-outline":{"body":""},"bell-off":{"body":""},"bell-off-outline":{"body":""},"bell-outline":{"body":""},"bell-plus":{"body":""},"bell-plus-outline":{"body":""},"bell-remove":{"body":""},"bell-remove-outline":{"body":""},"bell-ring":{"body":""},"bell-ring-outline":{"body":""},"bell-sleep":{"body":""},"bell-sleep-outline":{"body":""},"beta":{"body":""},"betamax":{"body":""},"biathlon":{"body":""},"bicycle":{"body":""},"bicycle-basket":{"body":""},"bicycle-cargo":{"body":""},"bicycle-electric":{"body":""},"bicycle-penny-farthing":{"body":""},"bike":{"body":""},"bike-fast":{"body":""},"billboard":{"body":""},"billiards":{"body":""},"billiards-rack":{"body":""},"binoculars":{"body":""},"bio":{"body":""},"biohazard":{"body":""},"bird":{"body":""},"bitbucket":{"body":""},"bitcoin":{"body":""},"black-mesa":{"body":""},"blackberry":{"body":"","hidden":true},"blender":{"body":""},"blender-outline":{"body":""},"blender-software":{"body":""},"blinds":{"body":""},"blinds-horizontal":{"body":""},"blinds-horizontal-closed":{"body":""},"blinds-open":{"body":""},"blinds-vertical":{"body":""},"blinds-vertical-closed":{"body":""},"block-helper":{"body":""},"blogger":{"body":"","hidden":true},"blood-bag":{"body":""},"bluetooth":{"body":""},"bluetooth-audio":{"body":""},"bluetooth-connect":{"body":""},"bluetooth-off":{"body":""},"bluetooth-settings":{"body":""},"bluetooth-transfer":{"body":""},"blur":{"body":""},"blur-linear":{"body":""},"blur-off":{"body":""},"blur-radial":{"body":""},"bolt":{"body":""},"bomb":{"body":""},"bomb-off":{"body":""},"bone":{"body":""},"bone-off":{"body":""},"book":{"body":""},"book-account":{"body":""},"book-account-outline":{"body":""},"book-alert":{"body":""},"book-alert-outline":{"body":""},"book-alphabet":{"body":""},"book-arrow-down":{"body":""},"book-arrow-down-outline":{"body":""},"book-arrow-left":{"body":""},"book-arrow-left-outline":{"body":""},"book-arrow-right":{"body":""},"book-arrow-right-outline":{"body":""},"book-arrow-up":{"body":""},"book-arrow-up-outline":{"body":""},"book-cancel":{"body":""},"book-cancel-outline":{"body":""},"book-check":{"body":""},"book-check-outline":{"body":""},"book-clock":{"body":""},"book-clock-outline":{"body":""},"book-cog":{"body":""},"book-cog-outline":{"body":""},"book-cross":{"body":""},"book-edit":{"body":""},"book-edit-outline":{"body":""},"book-education":{"body":""},"book-education-outline":{"body":""},"book-heart":{"body":""},"book-heart-outline":{"body":""},"book-information-variant":{"body":""},"book-lock":{"body":""},"book-lock-open":{"body":""},"book-lock-open-outline":{"body":""},"book-lock-outline":{"body":""},"book-marker":{"body":""},"book-marker-outline":{"body":""},"book-minus":{"body":""},"book-minus-multiple":{"body":""},"book-minus-multiple-outline":{"body":""},"book-minus-outline":{"body":""},"book-multiple":{"body":""},"book-multiple-minus":{"body":"","hidden":true},"book-multiple-outline":{"body":""},"book-multiple-plus":{"body":"","hidden":true},"book-multiple-remove":{"body":"","hidden":true},"book-multiple-variant":{"body":"","hidden":true},"book-music":{"body":""},"book-music-outline":{"body":""},"book-off":{"body":""},"book-off-outline":{"body":""},"book-open":{"body":""},"book-open-blank-variant":{"body":""},"book-open-outline":{"body":""},"book-open-page-variant":{"body":""},"book-open-page-variant-outline":{"body":""},"book-open-variant":{"body":""},"book-outline":{"body":""},"book-play":{"body":""},"book-play-outline":{"body":""},"book-plus":{"body":""},"book-plus-multiple":{"body":""},"book-plus-multiple-outline":{"body":""},"book-plus-outline":{"body":""},"book-refresh":{"body":""},"book-refresh-outline":{"body":""},"book-remove":{"body":""},"book-remove-multiple":{"body":""},"book-remove-multiple-outline":{"body":""},"book-remove-outline":{"body":""},"book-search":{"body":""},"book-search-outline":{"body":""},"book-settings":{"body":""},"book-settings-outline":{"body":""},"book-sync":{"body":""},"book-sync-outline":{"body":""},"book-variant":{"body":""},"book-variant-multiple":{"body":"","hidden":true},"bookmark":{"body":""},"bookmark-box":{"body":""},"bookmark-box-multiple":{"body":""},"bookmark-box-multiple-outline":{"body":""},"bookmark-box-outline":{"body":""},"bookmark-check":{"body":""},"bookmark-check-outline":{"body":""},"bookmark-minus":{"body":""},"bookmark-minus-outline":{"body":""},"bookmark-multiple":{"body":""},"bookmark-multiple-outline":{"body":""},"bookmark-music":{"body":""},"bookmark-music-outline":{"body":""},"bookmark-off":{"body":""},"bookmark-off-outline":{"body":""},"bookmark-outline":{"body":""},"bookmark-plus":{"body":""},"bookmark-plus-outline":{"body":""},"bookmark-remove":{"body":""},"bookmark-remove-outline":{"body":""},"bookshelf":{"body":""},"boom-gate":{"body":""},"boom-gate-alert":{"body":""},"boom-gate-alert-outline":{"body":""},"boom-gate-arrow-down":{"body":""},"boom-gate-arrow-down-outline":{"body":""},"boom-gate-arrow-up":{"body":""},"boom-gate-arrow-up-outline":{"body":""},"boom-gate-outline":{"body":""},"boom-gate-up":{"body":""},"boom-gate-up-outline":{"body":""},"boombox":{"body":""},"boomerang":{"body":""},"bootstrap":{"body":""},"border-all":{"body":""},"border-all-variant":{"body":""},"border-bottom":{"body":""},"border-bottom-variant":{"body":""},"border-color":{"body":""},"border-horizontal":{"body":""},"border-inside":{"body":""},"border-left":{"body":""},"border-left-variant":{"body":""},"border-none":{"body":""},"border-none-variant":{"body":""},"border-outside":{"body":""},"border-radius":{"body":""},"border-right":{"body":""},"border-right-variant":{"body":""},"border-style":{"body":""},"border-top":{"body":""},"border-top-variant":{"body":""},"border-vertical":{"body":""},"bottle-soda":{"body":""},"bottle-soda-classic":{"body":""},"bottle-soda-classic-outline":{"body":""},"bottle-soda-outline":{"body":""},"bottle-tonic":{"body":""},"bottle-tonic-outline":{"body":""},"bottle-tonic-plus":{"body":""},"bottle-tonic-plus-outline":{"body":""},"bottle-tonic-skull":{"body":""},"bottle-tonic-skull-outline":{"body":""},"bottle-wine":{"body":""},"bottle-wine-outline":{"body":""},"bow-arrow":{"body":""},"bow-tie":{"body":""},"bowl":{"body":""},"bowl-mix":{"body":""},"bowl-mix-outline":{"body":""},"bowl-outline":{"body":""},"bowling":{"body":""},"box":{"body":""},"box-cutter":{"body":""},"box-cutter-off":{"body":""},"box-download":{"body":"","hidden":true},"box-shadow":{"body":""},"box-upload":{"body":"","hidden":true},"boxing-glove":{"body":""},"boxing-gloves":{"body":"","hidden":true},"braille":{"body":""},"brain":{"body":""},"bread-slice":{"body":""},"bread-slice-outline":{"body":""},"bridge":{"body":""},"briefcase":{"body":""},"briefcase-account":{"body":""},"briefcase-account-outline":{"body":""},"briefcase-arrow-left-right":{"body":""},"briefcase-arrow-left-right-outline":{"body":""},"briefcase-arrow-up-down":{"body":""},"briefcase-arrow-up-down-outline":{"body":""},"briefcase-check":{"body":""},"briefcase-check-outline":{"body":""},"briefcase-clock":{"body":""},"briefcase-clock-outline":{"body":""},"briefcase-download":{"body":""},"briefcase-download-outline":{"body":""},"briefcase-edit":{"body":""},"briefcase-edit-outline":{"body":""},"briefcase-eye":{"body":""},"briefcase-eye-outline":{"body":""},"briefcase-minus":{"body":""},"briefcase-minus-outline":{"body":""},"briefcase-off":{"body":""},"briefcase-off-outline":{"body":""},"briefcase-outline":{"body":""},"briefcase-plus":{"body":""},"briefcase-plus-outline":{"body":""},"briefcase-remove":{"body":""},"briefcase-remove-outline":{"body":""},"briefcase-search":{"body":""},"briefcase-search-outline":{"body":""},"briefcase-upload":{"body":""},"briefcase-upload-outline":{"body":""},"briefcase-variant":{"body":""},"briefcase-variant-off":{"body":""},"briefcase-variant-off-outline":{"body":""},"briefcase-variant-outline":{"body":""},"brightness":{"body":"","hidden":true},"brightness-1":{"body":""},"brightness-2":{"body":""},"brightness-3":{"body":""},"brightness-4":{"body":""},"brightness-5":{"body":""},"brightness-6":{"body":""},"brightness-7":{"body":""},"brightness-auto":{"body":""},"brightness-percent":{"body":""},"broadcast":{"body":""},"broadcast-off":{"body":""},"broom":{"body":""},"brush":{"body":""},"brush-off":{"body":""},"brush-outline":{"body":""},"brush-variant":{"body":""},"bucket":{"body":""},"bucket-outline":{"body":""},"buffer":{"body":"","hidden":true},"buffet":{"body":""},"bug":{"body":""},"bug-check":{"body":""},"bug-check-outline":{"body":""},"bug-outline":{"body":""},"bug-pause":{"body":""},"bug-pause-outline":{"body":""},"bug-play":{"body":""},"bug-play-outline":{"body":""},"bug-stop":{"body":""},"bug-stop-outline":{"body":""},"bugle":{"body":""},"bulkhead-light":{"body":""},"bulldozer":{"body":""},"bullet":{"body":""},"bulletin-board":{"body":""},"bullhorn":{"body":""},"bullhorn-outline":{"body":""},"bullhorn-variant":{"body":""},"bullhorn-variant-outline":{"body":""},"bullseye":{"body":""},"bullseye-arrow":{"body":""},"bulma":{"body":""},"bunk-bed":{"body":""},"bunk-bed-outline":{"body":""},"bus":{"body":""},"bus-alert":{"body":""},"bus-articulated-end":{"body":""},"bus-articulated-front":{"body":""},"bus-clock":{"body":""},"bus-double-decker":{"body":""},"bus-electric":{"body":""},"bus-marker":{"body":""},"bus-multiple":{"body":""},"bus-school":{"body":""},"bus-side":{"body":""},"bus-stop":{"body":""},"bus-stop-covered":{"body":""},"bus-stop-uncovered":{"body":""},"butterfly":{"body":""},"butterfly-outline":{"body":""},"button-cursor":{"body":""},"button-pointer":{"body":""},"cabin-a-frame":{"body":""},"cable-data":{"body":""},"cached":{"body":""},"cactus":{"body":""},"cake":{"body":""},"cake-layered":{"body":""},"cake-variant":{"body":""},"cake-variant-outline":{"body":""},"calculator":{"body":""},"calculator-off":{"body":"","hidden":true},"calculator-variant":{"body":""},"calculator-variant-outline":{"body":""},"calendar":{"body":""},"calendar-account":{"body":""},"calendar-account-outline":{"body":""},"calendar-alert":{"body":""},"calendar-alert-outline":{"body":""},"calendar-arrow-left":{"body":""},"calendar-arrow-right":{"body":""},"calendar-badge":{"body":""},"calendar-badge-outline":{"body":""},"calendar-blank":{"body":""},"calendar-blank-multiple":{"body":""},"calendar-blank-outline":{"body":""},"calendar-check":{"body":""},"calendar-check-outline":{"body":""},"calendar-clock":{"body":""},"calendar-clock-outline":{"body":""},"calendar-collapse-horizontal":{"body":""},"calendar-collapse-horizontal-outline":{"body":""},"calendar-cursor":{"body":""},"calendar-cursor-outline":{"body":""},"calendar-edit":{"body":""},"calendar-edit-outline":{"body":""},"calendar-end":{"body":""},"calendar-end-outline":{"body":""},"calendar-expand-horizontal":{"body":""},"calendar-expand-horizontal-outline":{"body":""},"calendar-export":{"body":""},"calendar-export-outline":{"body":""},"calendar-filter":{"body":""},"calendar-filter-outline":{"body":""},"calendar-heart":{"body":""},"calendar-heart-outline":{"body":""},"calendar-import":{"body":""},"calendar-import-outline":{"body":""},"calendar-lock":{"body":""},"calendar-lock-open":{"body":""},"calendar-lock-open-outline":{"body":""},"calendar-lock-outline":{"body":""},"calendar-minus":{"body":""},"calendar-minus-outline":{"body":""},"calendar-month":{"body":""},"calendar-month-outline":{"body":""},"calendar-multiple":{"body":""},"calendar-multiple-check":{"body":""},"calendar-multiselect":{"body":""},"calendar-multiselect-outline":{"body":""},"calendar-outline":{"body":""},"calendar-plus":{"body":""},"calendar-plus-outline":{"body":""},"calendar-question":{"body":""},"calendar-question-outline":{"body":""},"calendar-range":{"body":""},"calendar-range-outline":{"body":""},"calendar-refresh":{"body":""},"calendar-refresh-outline":{"body":""},"calendar-remove":{"body":""},"calendar-remove-outline":{"body":""},"calendar-search":{"body":""},"calendar-search-outline":{"body":""},"calendar-select":{"body":"","hidden":true},"calendar-star":{"body":""},"calendar-star-four-points":{"body":""},"calendar-star-outline":{"body":""},"calendar-start":{"body":""},"calendar-start-outline":{"body":""},"calendar-sync":{"body":""},"calendar-sync-outline":{"body":""},"calendar-text":{"body":""},"calendar-text-outline":{"body":""},"calendar-today":{"body":""},"calendar-today-outline":{"body":""},"calendar-week":{"body":""},"calendar-week-begin":{"body":""},"calendar-week-begin-outline":{"body":""},"calendar-week-end":{"body":"","hidden":true},"calendar-week-end-outline":{"body":"","hidden":true},"calendar-week-outline":{"body":""},"calendar-weekend":{"body":""},"calendar-weekend-outline":{"body":""},"call-made":{"body":""},"call-merge":{"body":""},"call-missed":{"body":""},"call-received":{"body":""},"call-split":{"body":""},"camcorder":{"body":""},"camcorder-off":{"body":""},"camera":{"body":""},"camera-account":{"body":""},"camera-burst":{"body":""},"camera-control":{"body":""},"camera-document":{"body":""},"camera-document-off":{"body":""},"camera-enhance":{"body":""},"camera-enhance-outline":{"body":""},"camera-flip":{"body":""},"camera-flip-outline":{"body":""},"camera-focus":{"body":"","hidden":true},"camera-front":{"body":""},"camera-front-variant":{"body":""},"camera-gopro":{"body":""},"camera-image":{"body":""},"camera-iris":{"body":""},"camera-lock":{"body":""},"camera-lock-open":{"body":""},"camera-lock-open-outline":{"body":""},"camera-lock-outline":{"body":""},"camera-marker":{"body":""},"camera-marker-outline":{"body":""},"camera-metering-center":{"body":""},"camera-metering-matrix":{"body":""},"camera-metering-partial":{"body":""},"camera-metering-spot":{"body":""},"camera-off":{"body":""},"camera-off-outline":{"body":""},"camera-outline":{"body":""},"camera-party-mode":{"body":""},"camera-plus":{"body":""},"camera-plus-outline":{"body":""},"camera-rear":{"body":""},"camera-rear-variant":{"body":""},"camera-retake":{"body":""},"camera-retake-outline":{"body":""},"camera-switch":{"body":""},"camera-switch-outline":{"body":""},"camera-timer":{"body":""},"camera-wireless":{"body":""},"camera-wireless-outline":{"body":""},"campfire":{"body":""},"cancel":{"body":""},"candelabra":{"body":""},"candelabra-fire":{"body":""},"candle":{"body":""},"candy":{"body":""},"candy-off":{"body":""},"candy-off-outline":{"body":""},"candy-outline":{"body":""},"candycane":{"body":""},"cannabis":{"body":""},"cannabis-off":{"body":""},"caps-lock":{"body":""},"car":{"body":""},"car-2-plus":{"body":""},"car-3-plus":{"body":""},"car-arrow-left":{"body":""},"car-arrow-right":{"body":""},"car-back":{"body":""},"car-battery":{"body":""},"car-brake-abs":{"body":""},"car-brake-alert":{"body":""},"car-brake-fluid-level":{"body":""},"car-brake-hold":{"body":""},"car-brake-low-pressure":{"body":""},"car-brake-parking":{"body":""},"car-brake-retarder":{"body":""},"car-brake-temperature":{"body":""},"car-brake-worn-linings":{"body":""},"car-child-seat":{"body":""},"car-clock":{"body":""},"car-clutch":{"body":""},"car-cog":{"body":""},"car-connected":{"body":""},"car-convertable":{"body":"","hidden":true},"car-convertible":{"body":""},"car-coolant-level":{"body":""},"car-cruise-control":{"body":""},"car-defrost-front":{"body":""},"car-defrost-rear":{"body":""},"car-door":{"body":""},"car-door-lock":{"body":""},"car-electric":{"body":""},"car-electric-outline":{"body":""},"car-emergency":{"body":""},"car-esp":{"body":""},"car-estate":{"body":""},"car-hatchback":{"body":""},"car-info":{"body":""},"car-key":{"body":""},"car-lifted-pickup":{"body":""},"car-light-alert":{"body":""},"car-light-dimmed":{"body":""},"car-light-fog":{"body":""},"car-light-high":{"body":""},"car-limousine":{"body":""},"car-multiple":{"body":""},"car-off":{"body":""},"car-outline":{"body":""},"car-parking-lights":{"body":""},"car-pickup":{"body":""},"car-search":{"body":""},"car-search-outline":{"body":""},"car-seat":{"body":""},"car-seat-cooler":{"body":""},"car-seat-heater":{"body":""},"car-select":{"body":""},"car-settings":{"body":""},"car-shift-pattern":{"body":""},"car-side":{"body":""},"car-speed-limiter":{"body":""},"car-sports":{"body":""},"car-tire-alert":{"body":""},"car-traction-control":{"body":""},"car-turbocharger":{"body":""},"car-wash":{"body":""},"car-windshield":{"body":""},"car-windshield-outline":{"body":""},"car-wireless":{"body":""},"car-wrench":{"body":""},"carabiner":{"body":""},"caravan":{"body":""},"card":{"body":""},"card-account-details":{"body":""},"card-account-details-outline":{"body":""},"card-account-details-star":{"body":""},"card-account-details-star-outline":{"body":""},"card-account-mail":{"body":""},"card-account-mail-outline":{"body":""},"card-account-phone":{"body":""},"card-account-phone-outline":{"body":""},"card-bulleted":{"body":""},"card-bulleted-off":{"body":""},"card-bulleted-off-outline":{"body":""},"card-bulleted-outline":{"body":""},"card-bulleted-settings":{"body":""},"card-bulleted-settings-outline":{"body":""},"card-minus":{"body":""},"card-minus-outline":{"body":""},"card-multiple":{"body":""},"card-multiple-outline":{"body":""},"card-off":{"body":""},"card-off-outline":{"body":""},"card-outline":{"body":""},"card-plus":{"body":""},"card-plus-outline":{"body":""},"card-remove":{"body":""},"card-remove-outline":{"body":""},"card-search":{"body":""},"card-search-outline":{"body":""},"card-text":{"body":""},"card-text-outline":{"body":""},"cards":{"body":""},"cards-club":{"body":""},"cards-club-outline":{"body":""},"cards-diamond":{"body":""},"cards-diamond-outline":{"body":""},"cards-heart":{"body":""},"cards-heart-outline":{"body":""},"cards-outline":{"body":""},"cards-playing":{"body":""},"cards-playing-club":{"body":""},"cards-playing-club-multiple":{"body":""},"cards-playing-club-multiple-outline":{"body":""},"cards-playing-club-outline":{"body":""},"cards-playing-diamond":{"body":""},"cards-playing-diamond-multiple":{"body":""},"cards-playing-diamond-multiple-outline":{"body":""},"cards-playing-diamond-outline":{"body":""},"cards-playing-heart":{"body":""},"cards-playing-heart-multiple":{"body":""},"cards-playing-heart-multiple-outline":{"body":""},"cards-playing-heart-outline":{"body":""},"cards-playing-outline":{"body":""},"cards-playing-spade":{"body":""},"cards-playing-spade-multiple":{"body":""},"cards-playing-spade-multiple-outline":{"body":""},"cards-playing-spade-outline":{"body":""},"cards-spade":{"body":""},"cards-spade-outline":{"body":""},"cards-variant":{"body":""},"carrot":{"body":""},"cart":{"body":""},"cart-arrow-down":{"body":""},"cart-arrow-right":{"body":""},"cart-arrow-up":{"body":""},"cart-check":{"body":""},"cart-heart":{"body":""},"cart-minus":{"body":""},"cart-off":{"body":""},"cart-outline":{"body":""},"cart-percent":{"body":""},"cart-plus":{"body":""},"cart-remove":{"body":""},"cart-variant":{"body":""},"case-sensitive-alt":{"body":""},"cash":{"body":""},"cash-100":{"body":""},"cash-check":{"body":""},"cash-clock":{"body":""},"cash-fast":{"body":""},"cash-lock":{"body":""},"cash-lock-open":{"body":""},"cash-marker":{"body":""},"cash-minus":{"body":""},"cash-multiple":{"body":""},"cash-plus":{"body":""},"cash-refund":{"body":""},"cash-register":{"body":""},"cash-remove":{"body":""},"cash-sync":{"body":""},"cash-usd":{"body":"","hidden":true},"cash-usd-outline":{"body":"","hidden":true},"cassette":{"body":""},"cast":{"body":""},"cast-audio":{"body":""},"cast-audio-variant":{"body":""},"cast-connected":{"body":""},"cast-education":{"body":""},"cast-off":{"body":""},"cast-variant":{"body":""},"castle":{"body":""},"cat":{"body":""},"cctv":{"body":""},"cctv-off":{"body":""},"ceiling-fan":{"body":""},"ceiling-fan-light":{"body":""},"ceiling-light":{"body":""},"ceiling-light-multiple":{"body":""},"ceiling-light-multiple-outline":{"body":""},"ceiling-light-outline":{"body":""},"cellphone":{"body":""},"cellphone-android":{"body":"","hidden":true},"cellphone-arrow-down":{"body":""},"cellphone-arrow-down-variant":{"body":""},"cellphone-basic":{"body":""},"cellphone-charging":{"body":""},"cellphone-check":{"body":""},"cellphone-cog":{"body":""},"cellphone-dock":{"body":""},"cellphone-information":{"body":""},"cellphone-iphone":{"body":"","hidden":true},"cellphone-key":{"body":""},"cellphone-link":{"body":""},"cellphone-link-off":{"body":""},"cellphone-lock":{"body":""},"cellphone-marker":{"body":""},"cellphone-message":{"body":""},"cellphone-message-off":{"body":""},"cellphone-nfc":{"body":""},"cellphone-nfc-off":{"body":""},"cellphone-off":{"body":""},"cellphone-play":{"body":""},"cellphone-remove":{"body":""},"cellphone-screenshot":{"body":""},"cellphone-settings":{"body":""},"cellphone-sound":{"body":""},"cellphone-text":{"body":""},"cellphone-wireless":{"body":""},"centos":{"body":""},"certificate":{"body":""},"certificate-outline":{"body":""},"chair-rolling":{"body":""},"chair-school":{"body":""},"chandelier":{"body":""},"charity":{"body":""},"chart-arc":{"body":""},"chart-areaspline":{"body":""},"chart-areaspline-variant":{"body":""},"chart-bar":{"body":""},"chart-bar-stacked":{"body":""},"chart-bell-curve":{"body":""},"chart-bell-curve-cumulative":{"body":""},"chart-box":{"body":""},"chart-box-outline":{"body":""},"chart-box-plus-outline":{"body":""},"chart-bubble":{"body":""},"chart-donut":{"body":""},"chart-donut-variant":{"body":""},"chart-gantt":{"body":""},"chart-histogram":{"body":""},"chart-line":{"body":""},"chart-line-stacked":{"body":""},"chart-line-variant":{"body":""},"chart-multiline":{"body":""},"chart-multiple":{"body":""},"chart-pie":{"body":""},"chart-pie-outline":{"body":""},"chart-ppf":{"body":""},"chart-sankey":{"body":""},"chart-sankey-variant":{"body":""},"chart-scatter-plot":{"body":""},"chart-scatter-plot-hexbin":{"body":""},"chart-timeline":{"body":""},"chart-timeline-variant":{"body":""},"chart-timeline-variant-shimmer":{"body":""},"chart-tree":{"body":""},"chart-waterfall":{"body":""},"chat":{"body":""},"chat-alert":{"body":""},"chat-alert-outline":{"body":""},"chat-minus":{"body":""},"chat-minus-outline":{"body":""},"chat-outline":{"body":""},"chat-plus":{"body":""},"chat-plus-outline":{"body":""},"chat-processing":{"body":""},"chat-processing-outline":{"body":""},"chat-question":{"body":""},"chat-question-outline":{"body":""},"chat-remove":{"body":""},"chat-remove-outline":{"body":""},"chat-sleep":{"body":""},"chat-sleep-outline":{"body":""},"check":{"body":""},"check-all":{"body":""},"check-bold":{"body":""},"check-bookmark":{"body":"","hidden":true},"check-circle":{"body":""},"check-circle-outline":{"body":""},"check-decagram":{"body":""},"check-decagram-outline":{"body":""},"check-network":{"body":""},"check-network-outline":{"body":""},"check-outline":{"body":""},"check-underline":{"body":""},"check-underline-circle":{"body":""},"check-underline-circle-outline":{"body":""},"checkbook":{"body":""},"checkbook-arrow-left":{"body":""},"checkbook-arrow-right":{"body":""},"checkbox-blank":{"body":""},"checkbox-blank-badge":{"body":""},"checkbox-blank-badge-outline":{"body":""},"checkbox-blank-circle":{"body":""},"checkbox-blank-circle-outline":{"body":""},"checkbox-blank-off":{"body":""},"checkbox-blank-off-outline":{"body":""},"checkbox-blank-outline":{"body":""},"checkbox-intermediate":{"body":""},"checkbox-intermediate-variant":{"body":""},"checkbox-marked":{"body":""},"checkbox-marked-circle":{"body":""},"checkbox-marked-circle-outline":{"body":""},"checkbox-marked-circle-plus-outline":{"body":""},"checkbox-marked-outline":{"body":""},"checkbox-multiple-blank":{"body":""},"checkbox-multiple-blank-circle":{"body":""},"checkbox-multiple-blank-circle-outline":{"body":""},"checkbox-multiple-blank-outline":{"body":""},"checkbox-multiple-marked":{"body":""},"checkbox-multiple-marked-circle":{"body":""},"checkbox-multiple-marked-circle-outline":{"body":""},"checkbox-multiple-marked-outline":{"body":""},"checkbox-multiple-outline":{"body":""},"checkbox-outline":{"body":""},"checkerboard":{"body":""},"checkerboard-minus":{"body":""},"checkerboard-plus":{"body":""},"checkerboard-remove":{"body":""},"cheese":{"body":""},"cheese-off":{"body":""},"chef-hat":{"body":""},"chemical-weapon":{"body":""},"chess-bishop":{"body":""},"chess-king":{"body":""},"chess-knight":{"body":""},"chess-pawn":{"body":""},"chess-queen":{"body":""},"chess-rook":{"body":""},"chevron-double-down":{"body":""},"chevron-double-left":{"body":""},"chevron-double-right":{"body":""},"chevron-double-up":{"body":""},"chevron-down":{"body":""},"chevron-down-box":{"body":""},"chevron-down-box-outline":{"body":""},"chevron-down-circle":{"body":""},"chevron-down-circle-outline":{"body":""},"chevron-left":{"body":""},"chevron-left-box":{"body":""},"chevron-left-box-outline":{"body":""},"chevron-left-circle":{"body":""},"chevron-left-circle-outline":{"body":""},"chevron-right":{"body":""},"chevron-right-box":{"body":""},"chevron-right-box-outline":{"body":""},"chevron-right-circle":{"body":""},"chevron-right-circle-outline":{"body":""},"chevron-triple-down":{"body":""},"chevron-triple-left":{"body":""},"chevron-triple-right":{"body":""},"chevron-triple-up":{"body":""},"chevron-up":{"body":""},"chevron-up-box":{"body":""},"chevron-up-box-outline":{"body":""},"chevron-up-circle":{"body":""},"chevron-up-circle-outline":{"body":""},"chili-alert":{"body":""},"chili-alert-outline":{"body":""},"chili-hot":{"body":""},"chili-hot-outline":{"body":""},"chili-medium":{"body":""},"chili-medium-outline":{"body":""},"chili-mild":{"body":""},"chili-mild-outline":{"body":""},"chili-off":{"body":""},"chili-off-outline":{"body":""},"chip":{"body":""},"church":{"body":""},"church-outline":{"body":""},"cigar":{"body":""},"cigar-off":{"body":""},"circle":{"body":""},"circle-box":{"body":""},"circle-box-outline":{"body":""},"circle-double":{"body":""},"circle-edit-outline":{"body":""},"circle-expand":{"body":""},"circle-half":{"body":""},"circle-half-full":{"body":""},"circle-medium":{"body":""},"circle-multiple":{"body":""},"circle-multiple-outline":{"body":""},"circle-off-outline":{"body":""},"circle-opacity":{"body":""},"circle-outline":{"body":""},"circle-slice-1":{"body":""},"circle-slice-2":{"body":""},"circle-slice-3":{"body":""},"circle-slice-4":{"body":""},"circle-slice-5":{"body":""},"circle-slice-6":{"body":""},"circle-slice-7":{"body":""},"circle-slice-8":{"body":""},"circle-small":{"body":""},"circular-saw":{"body":""},"cisco-webex":{"body":"","hidden":true},"city":{"body":""},"city-variant":{"body":""},"city-variant-outline":{"body":""},"clipboard":{"body":""},"clipboard-account":{"body":""},"clipboard-account-outline":{"body":""},"clipboard-alert":{"body":""},"clipboard-alert-outline":{"body":""},"clipboard-arrow-down":{"body":""},"clipboard-arrow-down-outline":{"body":""},"clipboard-arrow-left":{"body":""},"clipboard-arrow-left-outline":{"body":""},"clipboard-arrow-right":{"body":""},"clipboard-arrow-right-outline":{"body":""},"clipboard-arrow-up":{"body":""},"clipboard-arrow-up-outline":{"body":""},"clipboard-check":{"body":""},"clipboard-check-multiple":{"body":""},"clipboard-check-multiple-outline":{"body":""},"clipboard-check-outline":{"body":""},"clipboard-clock":{"body":""},"clipboard-clock-outline":{"body":""},"clipboard-edit":{"body":""},"clipboard-edit-outline":{"body":""},"clipboard-file":{"body":""},"clipboard-file-outline":{"body":""},"clipboard-flow":{"body":""},"clipboard-flow-outline":{"body":""},"clipboard-list":{"body":""},"clipboard-list-outline":{"body":""},"clipboard-minus":{"body":""},"clipboard-minus-outline":{"body":""},"clipboard-multiple":{"body":""},"clipboard-multiple-outline":{"body":""},"clipboard-off":{"body":""},"clipboard-off-outline":{"body":""},"clipboard-outline":{"body":""},"clipboard-play":{"body":""},"clipboard-play-multiple":{"body":""},"clipboard-play-multiple-outline":{"body":""},"clipboard-play-outline":{"body":""},"clipboard-plus":{"body":""},"clipboard-plus-outline":{"body":""},"clipboard-pulse":{"body":""},"clipboard-pulse-outline":{"body":""},"clipboard-remove":{"body":""},"clipboard-remove-outline":{"body":""},"clipboard-search":{"body":""},"clipboard-search-outline":{"body":""},"clipboard-text":{"body":""},"clipboard-text-clock":{"body":""},"clipboard-text-clock-outline":{"body":""},"clipboard-text-multiple":{"body":""},"clipboard-text-multiple-outline":{"body":""},"clipboard-text-off":{"body":""},"clipboard-text-off-outline":{"body":""},"clipboard-text-outline":{"body":""},"clipboard-text-play":{"body":""},"clipboard-text-play-outline":{"body":""},"clipboard-text-search":{"body":""},"clipboard-text-search-outline":{"body":""},"clippy":{"body":""},"clock":{"body":""},"clock-alert":{"body":""},"clock-alert-outline":{"body":""},"clock-check":{"body":""},"clock-check-outline":{"body":""},"clock-digital":{"body":""},"clock-edit":{"body":""},"clock-edit-outline":{"body":""},"clock-end":{"body":""},"clock-fast":{"body":""},"clock-in":{"body":""},"clock-minus":{"body":""},"clock-minus-outline":{"body":""},"clock-out":{"body":""},"clock-outline":{"body":""},"clock-plus":{"body":""},"clock-plus-outline":{"body":""},"clock-remove":{"body":""},"clock-remove-outline":{"body":""},"clock-start":{"body":""},"clock-time-eight":{"body":""},"clock-time-eight-outline":{"body":""},"clock-time-eleven":{"body":""},"clock-time-eleven-outline":{"body":""},"clock-time-five":{"body":""},"clock-time-five-outline":{"body":""},"clock-time-four":{"body":""},"clock-time-four-outline":{"body":""},"clock-time-nine":{"body":""},"clock-time-nine-outline":{"body":""},"clock-time-one":{"body":""},"clock-time-one-outline":{"body":""},"clock-time-seven":{"body":""},"clock-time-seven-outline":{"body":""},"clock-time-six":{"body":""},"clock-time-six-outline":{"body":""},"clock-time-ten":{"body":""},"clock-time-ten-outline":{"body":""},"clock-time-three":{"body":""},"clock-time-three-outline":{"body":""},"clock-time-twelve":{"body":""},"clock-time-twelve-outline":{"body":""},"clock-time-two":{"body":""},"clock-time-two-outline":{"body":""},"close":{"body":""},"close-box":{"body":""},"close-box-multiple":{"body":""},"close-box-multiple-outline":{"body":""},"close-box-outline":{"body":""},"close-circle":{"body":""},"close-circle-multiple":{"body":""},"close-circle-multiple-outline":{"body":""},"close-circle-outline":{"body":""},"close-network":{"body":""},"close-network-outline":{"body":""},"close-octagon":{"body":""},"close-octagon-outline":{"body":""},"close-outline":{"body":""},"close-thick":{"body":""},"closed-caption":{"body":""},"closed-caption-outline":{"body":""},"cloud":{"body":""},"cloud-alert":{"body":""},"cloud-alert-outline":{"body":""},"cloud-arrow-down":{"body":""},"cloud-arrow-down-outline":{"body":""},"cloud-arrow-left":{"body":""},"cloud-arrow-left-outline":{"body":""},"cloud-arrow-right":{"body":""},"cloud-arrow-right-outline":{"body":""},"cloud-arrow-up":{"body":""},"cloud-arrow-up-outline":{"body":""},"cloud-braces":{"body":""},"cloud-cancel":{"body":""},"cloud-cancel-outline":{"body":""},"cloud-check":{"body":""},"cloud-check-outline":{"body":""},"cloud-check-variant":{"body":""},"cloud-check-variant-outline":{"body":""},"cloud-circle":{"body":""},"cloud-circle-outline":{"body":""},"cloud-clock":{"body":""},"cloud-clock-outline":{"body":""},"cloud-cog":{"body":""},"cloud-cog-outline":{"body":""},"cloud-download":{"body":""},"cloud-download-outline":{"body":""},"cloud-lock":{"body":""},"cloud-lock-open":{"body":""},"cloud-lock-open-outline":{"body":""},"cloud-lock-outline":{"body":""},"cloud-minus":{"body":""},"cloud-minus-outline":{"body":""},"cloud-off":{"body":""},"cloud-off-outline":{"body":""},"cloud-outline":{"body":""},"cloud-percent":{"body":""},"cloud-percent-outline":{"body":""},"cloud-plus":{"body":""},"cloud-plus-outline":{"body":""},"cloud-print":{"body":""},"cloud-print-outline":{"body":""},"cloud-question":{"body":""},"cloud-question-outline":{"body":""},"cloud-refresh":{"body":""},"cloud-refresh-outline":{"body":""},"cloud-refresh-variant":{"body":""},"cloud-refresh-variant-outline":{"body":""},"cloud-remove":{"body":""},"cloud-remove-outline":{"body":""},"cloud-search":{"body":""},"cloud-search-outline":{"body":""},"cloud-sync":{"body":""},"cloud-sync-outline":{"body":""},"cloud-tags":{"body":""},"cloud-upload":{"body":""},"cloud-upload-outline":{"body":""},"clouds":{"body":""},"clover":{"body":""},"coach-lamp":{"body":""},"coach-lamp-variant":{"body":""},"coat-rack":{"body":""},"code-array":{"body":""},"code-braces":{"body":""},"code-braces-box":{"body":""},"code-brackets":{"body":""},"code-equal":{"body":""},"code-greater-than":{"body":""},"code-greater-than-or-equal":{"body":""},"code-json":{"body":""},"code-less-than":{"body":""},"code-less-than-or-equal":{"body":""},"code-not-equal":{"body":""},"code-not-equal-variant":{"body":""},"code-parentheses":{"body":""},"code-parentheses-box":{"body":""},"code-string":{"body":""},"code-tags":{"body":""},"code-tags-check":{"body":""},"codepen":{"body":""},"coffee":{"body":""},"coffee-maker":{"body":""},"coffee-maker-check":{"body":""},"coffee-maker-check-outline":{"body":""},"coffee-maker-outline":{"body":""},"coffee-off":{"body":""},"coffee-off-outline":{"body":""},"coffee-outline":{"body":""},"coffee-to-go":{"body":""},"coffee-to-go-outline":{"body":""},"coffin":{"body":""},"cog":{"body":""},"cog-box":{"body":""},"cog-clockwise":{"body":""},"cog-counterclockwise":{"body":""},"cog-off":{"body":""},"cog-off-outline":{"body":""},"cog-outline":{"body":""},"cog-pause":{"body":""},"cog-pause-outline":{"body":""},"cog-play":{"body":""},"cog-play-outline":{"body":""},"cog-refresh":{"body":""},"cog-refresh-outline":{"body":""},"cog-stop":{"body":""},"cog-stop-outline":{"body":""},"cog-sync":{"body":""},"cog-sync-outline":{"body":""},"cog-transfer":{"body":""},"cog-transfer-outline":{"body":""},"cogs":{"body":""},"collage":{"body":""},"collapse-all":{"body":""},"collapse-all-outline":{"body":""},"color-helper":{"body":""},"comma":{"body":""},"comma-box":{"body":""},"comma-box-outline":{"body":""},"comma-circle":{"body":""},"comma-circle-outline":{"body":""},"comment":{"body":""},"comment-account":{"body":""},"comment-account-outline":{"body":""},"comment-alert":{"body":""},"comment-alert-outline":{"body":""},"comment-arrow-left":{"body":""},"comment-arrow-left-outline":{"body":""},"comment-arrow-right":{"body":""},"comment-arrow-right-outline":{"body":""},"comment-bookmark":{"body":""},"comment-bookmark-outline":{"body":""},"comment-check":{"body":""},"comment-check-outline":{"body":""},"comment-edit":{"body":""},"comment-edit-outline":{"body":""},"comment-eye":{"body":""},"comment-eye-outline":{"body":""},"comment-flash":{"body":""},"comment-flash-outline":{"body":""},"comment-minus":{"body":""},"comment-minus-outline":{"body":""},"comment-multiple":{"body":""},"comment-multiple-outline":{"body":""},"comment-off":{"body":""},"comment-off-outline":{"body":""},"comment-outline":{"body":""},"comment-plus":{"body":""},"comment-plus-outline":{"body":""},"comment-processing":{"body":""},"comment-processing-outline":{"body":""},"comment-question":{"body":""},"comment-question-outline":{"body":""},"comment-quote":{"body":""},"comment-quote-outline":{"body":""},"comment-remove":{"body":""},"comment-remove-outline":{"body":""},"comment-search":{"body":""},"comment-search-outline":{"body":""},"comment-text":{"body":""},"comment-text-multiple":{"body":""},"comment-text-multiple-outline":{"body":""},"comment-text-outline":{"body":""},"compare":{"body":""},"compare-horizontal":{"body":""},"compare-remove":{"body":""},"compare-vertical":{"body":""},"compass":{"body":""},"compass-off":{"body":""},"compass-off-outline":{"body":""},"compass-outline":{"body":""},"compass-rose":{"body":""},"compost":{"body":""},"concourse-ci":{"body":"","hidden":true},"cone":{"body":""},"cone-off":{"body":""},"connection":{"body":""},"console":{"body":""},"console-line":{"body":""},"console-network":{"body":""},"console-network-outline":{"body":""},"consolidate":{"body":""},"contactless-payment":{"body":""},"contactless-payment-circle":{"body":""},"contactless-payment-circle-outline":{"body":""},"contacts":{"body":""},"contacts-outline":{"body":""},"contain":{"body":""},"contain-end":{"body":""},"contain-start":{"body":""},"content-copy":{"body":""},"content-cut":{"body":""},"content-duplicate":{"body":""},"content-paste":{"body":""},"content-save":{"body":""},"content-save-alert":{"body":""},"content-save-alert-outline":{"body":""},"content-save-all":{"body":""},"content-save-all-outline":{"body":""},"content-save-check":{"body":""},"content-save-check-outline":{"body":""},"content-save-cog":{"body":""},"content-save-cog-outline":{"body":""},"content-save-edit":{"body":""},"content-save-edit-outline":{"body":""},"content-save-minus":{"body":""},"content-save-minus-outline":{"body":""},"content-save-move":{"body":""},"content-save-move-outline":{"body":""},"content-save-off":{"body":""},"content-save-off-outline":{"body":""},"content-save-outline":{"body":""},"content-save-plus":{"body":""},"content-save-plus-outline":{"body":""},"content-save-settings":{"body":""},"content-save-settings-outline":{"body":""},"contrast":{"body":""},"contrast-box":{"body":""},"contrast-circle":{"body":""},"controller":{"body":""},"controller-classic":{"body":""},"controller-classic-outline":{"body":""},"controller-off":{"body":""},"controller-xbox":{"body":"","hidden":true},"cookie":{"body":""},"cookie-alert":{"body":""},"cookie-alert-outline":{"body":""},"cookie-check":{"body":""},"cookie-check-outline":{"body":""},"cookie-clock":{"body":""},"cookie-clock-outline":{"body":""},"cookie-cog":{"body":""},"cookie-cog-outline":{"body":""},"cookie-edit":{"body":""},"cookie-edit-outline":{"body":""},"cookie-lock":{"body":""},"cookie-lock-outline":{"body":""},"cookie-minus":{"body":""},"cookie-minus-outline":{"body":""},"cookie-off":{"body":""},"cookie-off-outline":{"body":""},"cookie-outline":{"body":""},"cookie-plus":{"body":""},"cookie-plus-outline":{"body":""},"cookie-refresh":{"body":""},"cookie-refresh-outline":{"body":""},"cookie-remove":{"body":""},"cookie-remove-outline":{"body":""},"cookie-settings":{"body":""},"cookie-settings-outline":{"body":""},"coolant-temperature":{"body":""},"copyleft":{"body":""},"copyright":{"body":""},"cordova":{"body":""},"corn":{"body":""},"corn-off":{"body":""},"cosine-wave":{"body":""},"counter":{"body":""},"countertop":{"body":""},"countertop-outline":{"body":""},"cow":{"body":""},"cow-off":{"body":""},"cpu-32-bit":{"body":""},"cpu-64-bit":{"body":""},"cradle":{"body":""},"cradle-outline":{"body":""},"crane":{"body":""},"creation":{"body":""},"creative-commons":{"body":""},"credit-card":{"body":""},"credit-card-check":{"body":""},"credit-card-check-outline":{"body":""},"credit-card-chip":{"body":""},"credit-card-chip-outline":{"body":""},"credit-card-clock":{"body":""},"credit-card-clock-outline":{"body":""},"credit-card-edit":{"body":""},"credit-card-edit-outline":{"body":""},"credit-card-fast":{"body":""},"credit-card-fast-outline":{"body":""},"credit-card-lock":{"body":""},"credit-card-lock-outline":{"body":""},"credit-card-marker":{"body":""},"credit-card-marker-outline":{"body":""},"credit-card-minus":{"body":""},"credit-card-minus-outline":{"body":""},"credit-card-multiple":{"body":""},"credit-card-multiple-outline":{"body":""},"credit-card-off":{"body":""},"credit-card-off-outline":{"body":""},"credit-card-outline":{"body":""},"credit-card-plus":{"body":""},"credit-card-plus-outline":{"body":""},"credit-card-refresh":{"body":""},"credit-card-refresh-outline":{"body":""},"credit-card-refund":{"body":""},"credit-card-refund-outline":{"body":""},"credit-card-remove":{"body":""},"credit-card-remove-outline":{"body":""},"credit-card-scan":{"body":""},"credit-card-scan-outline":{"body":""},"credit-card-search":{"body":""},"credit-card-search-outline":{"body":""},"credit-card-settings":{"body":""},"credit-card-settings-outline":{"body":""},"credit-card-sync":{"body":""},"credit-card-sync-outline":{"body":""},"credit-card-wireless":{"body":""},"credit-card-wireless-off":{"body":""},"credit-card-wireless-off-outline":{"body":""},"credit-card-wireless-outline":{"body":""},"cricket":{"body":""},"crop":{"body":""},"crop-free":{"body":""},"crop-landscape":{"body":""},"crop-portrait":{"body":""},"crop-rotate":{"body":""},"crop-square":{"body":""},"cross":{"body":""},"cross-bolnisi":{"body":""},"cross-celtic":{"body":""},"cross-outline":{"body":""},"crosshairs":{"body":""},"crosshairs-gps":{"body":""},"crosshairs-off":{"body":""},"crosshairs-question":{"body":""},"crowd":{"body":""},"crown":{"body":""},"crown-circle":{"body":""},"crown-circle-outline":{"body":""},"crown-outline":{"body":""},"cryengine":{"body":""},"crystal-ball":{"body":""},"cube":{"body":""},"cube-off":{"body":""},"cube-off-outline":{"body":""},"cube-outline":{"body":""},"cube-scan":{"body":""},"cube-send":{"body":""},"cube-unfolded":{"body":""},"cup":{"body":""},"cup-off":{"body":""},"cup-off-outline":{"body":""},"cup-outline":{"body":""},"cup-water":{"body":""},"cupboard":{"body":""},"cupboard-outline":{"body":""},"cupcake":{"body":""},"curling":{"body":""},"currency-bdt":{"body":""},"currency-brl":{"body":""},"currency-btc":{"body":""},"currency-chf":{"body":"","hidden":true},"currency-cny":{"body":""},"currency-eth":{"body":""},"currency-eur":{"body":""},"currency-eur-off":{"body":""},"currency-fra":{"body":""},"currency-gbp":{"body":""},"currency-ils":{"body":""},"currency-inr":{"body":""},"currency-jpy":{"body":""},"currency-krw":{"body":""},"currency-kzt":{"body":""},"currency-mnt":{"body":""},"currency-ngn":{"body":""},"currency-php":{"body":""},"currency-rial":{"body":""},"currency-rub":{"body":""},"currency-rupee":{"body":""},"currency-sign":{"body":""},"currency-thb":{"body":""},"currency-try":{"body":""},"currency-twd":{"body":""},"currency-uah":{"body":""},"currency-usd":{"body":""},"currency-usd-circle":{"body":"","hidden":true},"currency-usd-circle-outline":{"body":"","hidden":true},"currency-usd-off":{"body":""},"current-ac":{"body":""},"current-dc":{"body":""},"cursor-default":{"body":""},"cursor-default-click":{"body":""},"cursor-default-click-outline":{"body":""},"cursor-default-gesture":{"body":""},"cursor-default-gesture-outline":{"body":""},"cursor-default-outline":{"body":""},"cursor-move":{"body":""},"cursor-pointer":{"body":""},"cursor-text":{"body":""},"curtains":{"body":""},"curtains-closed":{"body":""},"cylinder":{"body":""},"cylinder-off":{"body":""},"dance-ballroom":{"body":""},"dance-pole":{"body":""},"data":{"body":"","hidden":true},"data-matrix":{"body":""},"data-matrix-edit":{"body":""},"data-matrix-minus":{"body":""},"data-matrix-plus":{"body":""},"data-matrix-remove":{"body":""},"data-matrix-scan":{"body":""},"database":{"body":""},"database-alert":{"body":""},"database-alert-outline":{"body":""},"database-arrow-down":{"body":""},"database-arrow-down-outline":{"body":""},"database-arrow-left":{"body":""},"database-arrow-left-outline":{"body":""},"database-arrow-right":{"body":""},"database-arrow-right-outline":{"body":""},"database-arrow-up":{"body":""},"database-arrow-up-outline":{"body":""},"database-check":{"body":""},"database-check-outline":{"body":""},"database-clock":{"body":""},"database-clock-outline":{"body":""},"database-cog":{"body":""},"database-cog-outline":{"body":""},"database-edit":{"body":""},"database-edit-outline":{"body":""},"database-export":{"body":""},"database-export-outline":{"body":""},"database-eye":{"body":""},"database-eye-off":{"body":""},"database-eye-off-outline":{"body":""},"database-eye-outline":{"body":""},"database-import":{"body":""},"database-import-outline":{"body":""},"database-lock":{"body":""},"database-lock-outline":{"body":""},"database-marker":{"body":""},"database-marker-outline":{"body":""},"database-minus":{"body":""},"database-minus-outline":{"body":""},"database-off":{"body":""},"database-off-outline":{"body":""},"database-outline":{"body":""},"database-plus":{"body":""},"database-plus-outline":{"body":""},"database-refresh":{"body":""},"database-refresh-outline":{"body":""},"database-remove":{"body":""},"database-remove-outline":{"body":""},"database-search":{"body":""},"database-search-outline":{"body":""},"database-settings":{"body":""},"database-settings-outline":{"body":""},"database-sync":{"body":""},"database-sync-outline":{"body":""},"death-star":{"body":""},"death-star-variant":{"body":""},"deathly-hallows":{"body":""},"debian":{"body":""},"debug-step-into":{"body":""},"debug-step-out":{"body":""},"debug-step-over":{"body":""},"decagram":{"body":""},"decagram-outline":{"body":""},"decimal":{"body":""},"decimal-comma":{"body":""},"decimal-comma-decrease":{"body":""},"decimal-comma-increase":{"body":""},"decimal-decrease":{"body":""},"decimal-increase":{"body":""},"delete":{"body":""},"delete-alert":{"body":""},"delete-alert-outline":{"body":""},"delete-circle":{"body":""},"delete-circle-outline":{"body":""},"delete-clock":{"body":""},"delete-clock-outline":{"body":""},"delete-empty":{"body":""},"delete-empty-outline":{"body":""},"delete-forever":{"body":""},"delete-forever-outline":{"body":""},"delete-off":{"body":""},"delete-off-outline":{"body":""},"delete-outline":{"body":""},"delete-restore":{"body":""},"delete-sweep":{"body":""},"delete-sweep-outline":{"body":""},"delete-variant":{"body":""},"delta":{"body":""},"desk":{"body":""},"desk-lamp":{"body":""},"desk-lamp-off":{"body":""},"desk-lamp-on":{"body":""},"deskphone":{"body":""},"desktop-classic":{"body":""},"desktop-mac":{"body":"","hidden":true},"desktop-mac-dashboard":{"body":"","hidden":true},"desktop-tower":{"body":""},"desktop-tower-monitor":{"body":""},"details":{"body":""},"dev-to":{"body":""},"developer-board":{"body":""},"deviantart":{"body":""},"devices":{"body":""},"dharmachakra":{"body":""},"diabetes":{"body":""},"dialpad":{"body":""},"diameter":{"body":""},"diameter-outline":{"body":""},"diameter-variant":{"body":""},"diamond":{"body":""},"diamond-outline":{"body":""},"diamond-stone":{"body":""},"dice":{"body":"","hidden":true},"dice-1":{"body":""},"dice-1-outline":{"body":""},"dice-2":{"body":""},"dice-2-outline":{"body":""},"dice-3":{"body":""},"dice-3-outline":{"body":""},"dice-4":{"body":""},"dice-4-outline":{"body":""},"dice-5":{"body":""},"dice-5-outline":{"body":""},"dice-6":{"body":""},"dice-6-outline":{"body":""},"dice-d10":{"body":""},"dice-d10-outline":{"body":""},"dice-d12":{"body":""},"dice-d12-outline":{"body":""},"dice-d20":{"body":""},"dice-d20-outline":{"body":""},"dice-d4":{"body":""},"dice-d4-outline":{"body":""},"dice-d6":{"body":""},"dice-d6-outline":{"body":""},"dice-d8":{"body":""},"dice-d8-outline":{"body":""},"dice-multiple":{"body":""},"dice-multiple-outline":{"body":""},"digital-ocean":{"body":""},"dip-switch":{"body":""},"directions":{"body":""},"directions-fork":{"body":""},"disc":{"body":""},"disc-alert":{"body":""},"disc-player":{"body":""},"discord":{"body":"","hidden":true},"dishwasher":{"body":""},"dishwasher-alert":{"body":""},"dishwasher-off":{"body":""},"disk":{"body":"","hidden":true},"disk-alert":{"body":"","hidden":true},"disk-player":{"body":"","hidden":true},"disqus":{"body":""},"disqus-outline":{"body":"","hidden":true},"distribute-horizontal-center":{"body":""},"distribute-horizontal-left":{"body":""},"distribute-horizontal-right":{"body":""},"distribute-vertical-bottom":{"body":""},"distribute-vertical-center":{"body":""},"distribute-vertical-top":{"body":""},"diversify":{"body":""},"diving":{"body":""},"diving-flippers":{"body":""},"diving-helmet":{"body":""},"diving-scuba":{"body":""},"diving-scuba-flag":{"body":""},"diving-scuba-mask":{"body":""},"diving-scuba-tank":{"body":""},"diving-scuba-tank-multiple":{"body":""},"diving-snorkel":{"body":""},"division":{"body":""},"division-box":{"body":""},"dlna":{"body":""},"dna":{"body":""},"dns":{"body":""},"dns-outline":{"body":""},"do-not-disturb":{"body":"","hidden":true},"dock-bottom":{"body":""},"dock-left":{"body":""},"dock-right":{"body":""},"dock-top":{"body":""},"dock-window":{"body":""},"docker":{"body":""},"doctor":{"body":""},"document":{"body":"","hidden":true},"dog":{"body":""},"dog-service":{"body":""},"dog-side":{"body":""},"dog-side-off":{"body":""},"dolby":{"body":""},"dolly":{"body":""},"dolphin":{"body":""},"domain":{"body":""},"domain-off":{"body":""},"domain-plus":{"body":""},"domain-remove":{"body":""},"dome-light":{"body":""},"domino-mask":{"body":""},"donkey":{"body":""},"door":{"body":""},"door-closed":{"body":""},"door-closed-lock":{"body":""},"door-open":{"body":""},"door-sliding":{"body":""},"door-sliding-lock":{"body":""},"door-sliding-open":{"body":""},"doorbell":{"body":""},"doorbell-video":{"body":""},"dot-net":{"body":""},"dots-circle":{"body":""},"dots-grid":{"body":""},"dots-hexagon":{"body":""},"dots-horizontal":{"body":""},"dots-horizontal-circle":{"body":""},"dots-horizontal-circle-outline":{"body":""},"dots-square":{"body":""},"dots-triangle":{"body":""},"dots-vertical":{"body":""},"dots-vertical-circle":{"body":""},"dots-vertical-circle-outline":{"body":""},"douban":{"body":"","hidden":true},"download":{"body":""},"download-box":{"body":""},"download-box-outline":{"body":""},"download-circle":{"body":""},"download-circle-outline":{"body":""},"download-lock":{"body":""},"download-lock-outline":{"body":""},"download-multiple":{"body":""},"download-network":{"body":""},"download-network-outline":{"body":""},"download-off":{"body":""},"download-off-outline":{"body":""},"download-outline":{"body":""},"drag":{"body":""},"drag-horizontal":{"body":""},"drag-horizontal-variant":{"body":""},"drag-variant":{"body":""},"drag-vertical":{"body":""},"drag-vertical-variant":{"body":""},"drama-masks":{"body":""},"draw":{"body":""},"draw-pen":{"body":""},"drawing":{"body":""},"drawing-box":{"body":""},"dresser":{"body":""},"dresser-outline":{"body":""},"dribbble":{"body":"","hidden":true},"dribbble-box":{"body":"","hidden":true},"drone":{"body":""},"dropbox":{"body":""},"drupal":{"body":""},"duck":{"body":""},"dumbbell":{"body":""},"dump-truck":{"body":""},"ear-hearing":{"body":""},"ear-hearing-loop":{"body":""},"ear-hearing-off":{"body":""},"earbuds":{"body":""},"earbuds-off":{"body":""},"earbuds-off-outline":{"body":""},"earbuds-outline":{"body":""},"earth":{"body":""},"earth-arrow-right":{"body":""},"earth-box":{"body":""},"earth-box-minus":{"body":""},"earth-box-off":{"body":""},"earth-box-plus":{"body":""},"earth-box-remove":{"body":""},"earth-minus":{"body":""},"earth-off":{"body":""},"earth-plus":{"body":""},"earth-remove":{"body":""},"ebay":{"body":"","hidden":true},"egg":{"body":""},"egg-easter":{"body":""},"egg-fried":{"body":""},"egg-off":{"body":""},"egg-off-outline":{"body":""},"egg-outline":{"body":""},"eiffel-tower":{"body":""},"eight-track":{"body":""},"eject":{"body":""},"eject-circle":{"body":""},"eject-circle-outline":{"body":""},"eject-outline":{"body":""},"electric-switch":{"body":""},"electric-switch-closed":{"body":""},"electron-framework":{"body":""},"elephant":{"body":""},"elevation-decline":{"body":""},"elevation-rise":{"body":""},"elevator":{"body":""},"elevator-down":{"body":""},"elevator-passenger":{"body":""},"elevator-passenger-off":{"body":""},"elevator-passenger-off-outline":{"body":""},"elevator-passenger-outline":{"body":""},"elevator-up":{"body":""},"ellipse":{"body":""},"ellipse-outline":{"body":""},"email":{"body":""},"email-alert":{"body":""},"email-alert-outline":{"body":""},"email-arrow-left":{"body":""},"email-arrow-left-outline":{"body":""},"email-arrow-right":{"body":""},"email-arrow-right-outline":{"body":""},"email-box":{"body":""},"email-check":{"body":""},"email-check-outline":{"body":""},"email-edit":{"body":""},"email-edit-outline":{"body":""},"email-fast":{"body":""},"email-fast-outline":{"body":""},"email-lock":{"body":""},"email-lock-outline":{"body":""},"email-mark-as-unread":{"body":""},"email-minus":{"body":""},"email-minus-outline":{"body":""},"email-multiple":{"body":""},"email-multiple-outline":{"body":""},"email-newsletter":{"body":""},"email-off":{"body":""},"email-off-outline":{"body":""},"email-open":{"body":""},"email-open-multiple":{"body":""},"email-open-multiple-outline":{"body":""},"email-open-outline":{"body":""},"email-outline":{"body":""},"email-plus":{"body":""},"email-plus-outline":{"body":""},"email-remove":{"body":""},"email-remove-outline":{"body":""},"email-seal":{"body":""},"email-seal-outline":{"body":""},"email-search":{"body":""},"email-search-outline":{"body":""},"email-sync":{"body":""},"email-sync-outline":{"body":""},"email-variant":{"body":""},"ember":{"body":""},"emby":{"body":""},"emoticon":{"body":""},"emoticon-angry":{"body":""},"emoticon-angry-outline":{"body":""},"emoticon-confused":{"body":""},"emoticon-confused-outline":{"body":""},"emoticon-cool":{"body":""},"emoticon-cool-outline":{"body":""},"emoticon-cry":{"body":""},"emoticon-cry-outline":{"body":""},"emoticon-dead":{"body":""},"emoticon-dead-outline":{"body":""},"emoticon-devil":{"body":""},"emoticon-devil-outline":{"body":""},"emoticon-excited":{"body":""},"emoticon-excited-outline":{"body":""},"emoticon-frown":{"body":""},"emoticon-frown-outline":{"body":""},"emoticon-happy":{"body":""},"emoticon-happy-outline":{"body":""},"emoticon-kiss":{"body":""},"emoticon-kiss-outline":{"body":""},"emoticon-lol":{"body":""},"emoticon-lol-outline":{"body":""},"emoticon-neutral":{"body":""},"emoticon-neutral-outline":{"body":""},"emoticon-outline":{"body":""},"emoticon-poop":{"body":""},"emoticon-poop-outline":{"body":""},"emoticon-sad":{"body":""},"emoticon-sad-outline":{"body":""},"emoticon-sick":{"body":""},"emoticon-sick-outline":{"body":""},"emoticon-tongue":{"body":""},"emoticon-tongue-outline":{"body":""},"emoticon-wink":{"body":""},"emoticon-wink-outline":{"body":""},"engine":{"body":""},"engine-off":{"body":""},"engine-off-outline":{"body":""},"engine-outline":{"body":""},"epsilon":{"body":""},"equal":{"body":""},"equal-box":{"body":""},"equalizer":{"body":""},"equalizer-outline":{"body":""},"eraser":{"body":""},"eraser-variant":{"body":""},"escalator":{"body":""},"escalator-box":{"body":""},"escalator-down":{"body":""},"escalator-up":{"body":""},"eslint":{"body":""},"et":{"body":""},"ethereum":{"body":""},"ethernet":{"body":""},"ethernet-cable":{"body":""},"ethernet-cable-off":{"body":""},"etsy":{"body":"","hidden":true},"ev-plug-ccs1":{"body":""},"ev-plug-ccs2":{"body":""},"ev-plug-chademo":{"body":""},"ev-plug-tesla":{"body":""},"ev-plug-type1":{"body":""},"ev-plug-type2":{"body":""},"ev-station":{"body":""},"eventbrite":{"body":"","hidden":true},"evernote":{"body":""},"excavator":{"body":""},"exclamation":{"body":""},"exclamation-thick":{"body":""},"exit-run":{"body":""},"exit-to-app":{"body":""},"expand-all":{"body":""},"expand-all-outline":{"body":""},"expansion-card":{"body":""},"expansion-card-variant":{"body":""},"exponent":{"body":""},"exponent-box":{"body":""},"export":{"body":""},"export-variant":{"body":""},"eye":{"body":""},"eye-arrow-left":{"body":""},"eye-arrow-left-outline":{"body":""},"eye-arrow-right":{"body":""},"eye-arrow-right-outline":{"body":""},"eye-check":{"body":""},"eye-check-outline":{"body":""},"eye-circle":{"body":""},"eye-circle-outline":{"body":""},"eye-lock":{"body":""},"eye-lock-open":{"body":""},"eye-lock-open-outline":{"body":""},"eye-lock-outline":{"body":""},"eye-minus":{"body":""},"eye-minus-outline":{"body":""},"eye-off":{"body":""},"eye-off-outline":{"body":""},"eye-outline":{"body":""},"eye-plus":{"body":""},"eye-plus-outline":{"body":""},"eye-refresh":{"body":""},"eye-refresh-outline":{"body":""},"eye-remove":{"body":""},"eye-remove-outline":{"body":""},"eye-settings":{"body":""},"eye-settings-outline":{"body":""},"eyedropper":{"body":""},"eyedropper-minus":{"body":""},"eyedropper-off":{"body":""},"eyedropper-plus":{"body":""},"eyedropper-remove":{"body":""},"eyedropper-variant":{"body":""},"face-agent":{"body":""},"face-man":{"body":""},"face-man-outline":{"body":""},"face-man-profile":{"body":""},"face-man-shimmer":{"body":""},"face-man-shimmer-outline":{"body":""},"face-mask":{"body":""},"face-mask-outline":{"body":""},"face-recognition":{"body":""},"face-woman":{"body":""},"face-woman-outline":{"body":""},"face-woman-profile":{"body":""},"face-woman-shimmer":{"body":""},"face-woman-shimmer-outline":{"body":""},"facebook":{"body":""},"facebook-box":{"body":"","hidden":true},"facebook-gaming":{"body":""},"facebook-messenger":{"body":""},"facebook-workplace":{"body":""},"factory":{"body":""},"family-tree":{"body":""},"fan":{"body":""},"fan-alert":{"body":""},"fan-auto":{"body":""},"fan-chevron-down":{"body":""},"fan-chevron-up":{"body":""},"fan-clock":{"body":""},"fan-minus":{"body":""},"fan-off":{"body":""},"fan-plus":{"body":""},"fan-remove":{"body":""},"fan-speed-1":{"body":""},"fan-speed-2":{"body":""},"fan-speed-3":{"body":""},"fast-forward":{"body":""},"fast-forward-10":{"body":""},"fast-forward-15":{"body":""},"fast-forward-30":{"body":""},"fast-forward-45":{"body":""},"fast-forward-5":{"body":""},"fast-forward-60":{"body":""},"fast-forward-outline":{"body":""},"faucet":{"body":""},"faucet-variant":{"body":""},"fax":{"body":""},"feather":{"body":""},"feature-search":{"body":""},"feature-search-outline":{"body":""},"fedora":{"body":""},"fence":{"body":""},"fence-electric":{"body":""},"fencing":{"body":""},"ferris-wheel":{"body":""},"ferry":{"body":""},"file":{"body":""},"file-account":{"body":""},"file-account-outline":{"body":""},"file-alert":{"body":""},"file-alert-outline":{"body":""},"file-arrow-left-right":{"body":""},"file-arrow-left-right-outline":{"body":""},"file-arrow-up-down":{"body":""},"file-arrow-up-down-outline":{"body":""},"file-cabinet":{"body":""},"file-cad":{"body":""},"file-cad-box":{"body":""},"file-cancel":{"body":""},"file-cancel-outline":{"body":""},"file-certificate":{"body":""},"file-certificate-outline":{"body":""},"file-chart":{"body":""},"file-chart-check":{"body":""},"file-chart-check-outline":{"body":""},"file-chart-outline":{"body":""},"file-check":{"body":""},"file-check-outline":{"body":""},"file-clock":{"body":""},"file-clock-outline":{"body":""},"file-cloud":{"body":""},"file-cloud-outline":{"body":""},"file-code":{"body":""},"file-code-outline":{"body":""},"file-cog":{"body":""},"file-cog-outline":{"body":""},"file-compare":{"body":""},"file-delimited":{"body":""},"file-delimited-outline":{"body":""},"file-document":{"body":""},"file-document-alert":{"body":""},"file-document-alert-outline":{"body":""},"file-document-arrow-right":{"body":""},"file-document-arrow-right-outline":{"body":""},"file-document-check":{"body":""},"file-document-check-outline":{"body":""},"file-document-edit":{"body":""},"file-document-edit-outline":{"body":""},"file-document-minus":{"body":""},"file-document-minus-outline":{"body":""},"file-document-multiple":{"body":""},"file-document-multiple-outline":{"body":""},"file-document-outline":{"body":""},"file-document-plus":{"body":""},"file-document-plus-outline":{"body":""},"file-document-remove":{"body":""},"file-document-remove-outline":{"body":""},"file-download":{"body":""},"file-download-outline":{"body":""},"file-edit":{"body":""},"file-edit-outline":{"body":""},"file-excel":{"body":""},"file-excel-box":{"body":""},"file-excel-box-outline":{"body":""},"file-excel-outline":{"body":""},"file-export":{"body":""},"file-export-outline":{"body":""},"file-eye":{"body":""},"file-eye-outline":{"body":""},"file-find":{"body":""},"file-find-outline":{"body":""},"file-gif-box":{"body":""},"file-hidden":{"body":""},"file-image":{"body":""},"file-image-box":{"body":"","hidden":true},"file-image-marker":{"body":""},"file-image-marker-outline":{"body":""},"file-image-minus":{"body":""},"file-image-minus-outline":{"body":""},"file-image-outline":{"body":""},"file-image-plus":{"body":""},"file-image-plus-outline":{"body":""},"file-image-remove":{"body":""},"file-image-remove-outline":{"body":""},"file-import":{"body":""},"file-import-outline":{"body":""},"file-jpg-box":{"body":""},"file-key":{"body":""},"file-key-outline":{"body":""},"file-link":{"body":""},"file-link-outline":{"body":""},"file-lock":{"body":""},"file-lock-open":{"body":""},"file-lock-open-outline":{"body":""},"file-lock-outline":{"body":""},"file-marker":{"body":""},"file-marker-outline":{"body":""},"file-minus":{"body":""},"file-minus-outline":{"body":""},"file-move":{"body":""},"file-move-outline":{"body":""},"file-multiple":{"body":""},"file-multiple-outline":{"body":""},"file-music":{"body":""},"file-music-outline":{"body":""},"file-outline":{"body":""},"file-pdf":{"body":"","hidden":true},"file-pdf-box":{"body":""},"file-pdf-box-outline":{"body":"","hidden":true},"file-pdf-outline":{"body":"","hidden":true},"file-percent":{"body":""},"file-percent-outline":{"body":""},"file-phone":{"body":""},"file-phone-outline":{"body":""},"file-plus":{"body":""},"file-plus-outline":{"body":""},"file-png-box":{"body":""},"file-powerpoint":{"body":""},"file-powerpoint-box":{"body":""},"file-powerpoint-box-outline":{"body":""},"file-powerpoint-outline":{"body":""},"file-presentation-box":{"body":""},"file-question":{"body":""},"file-question-outline":{"body":""},"file-refresh":{"body":""},"file-refresh-outline":{"body":""},"file-remove":{"body":""},"file-remove-outline":{"body":""},"file-replace":{"body":""},"file-replace-outline":{"body":""},"file-restore":{"body":""},"file-restore-outline":{"body":""},"file-rotate-left":{"body":""},"file-rotate-left-outline":{"body":""},"file-rotate-right":{"body":""},"file-rotate-right-outline":{"body":""},"file-search":{"body":""},"file-search-outline":{"body":""},"file-send":{"body":""},"file-send-outline":{"body":""},"file-settings":{"body":""},"file-settings-outline":{"body":""},"file-sign":{"body":""},"file-star":{"body":""},"file-star-outline":{"body":""},"file-swap":{"body":""},"file-swap-outline":{"body":""},"file-sync":{"body":""},"file-sync-outline":{"body":""},"file-table":{"body":""},"file-table-box":{"body":""},"file-table-box-multiple":{"body":""},"file-table-box-multiple-outline":{"body":""},"file-table-box-outline":{"body":""},"file-table-outline":{"body":""},"file-tree":{"body":""},"file-tree-outline":{"body":""},"file-undo":{"body":""},"file-undo-outline":{"body":""},"file-upload":{"body":""},"file-upload-outline":{"body":""},"file-video":{"body":""},"file-video-outline":{"body":""},"file-word":{"body":""},"file-word-box":{"body":""},"file-word-box-outline":{"body":""},"file-word-outline":{"body":""},"file-xml":{"body":"","hidden":true},"file-xml-box":{"body":""},"fill":{"body":"","hidden":true},"film":{"body":""},"filmstrip":{"body":""},"filmstrip-box":{"body":""},"filmstrip-box-multiple":{"body":""},"filmstrip-off":{"body":""},"filter":{"body":""},"filter-check":{"body":""},"filter-check-outline":{"body":""},"filter-cog":{"body":""},"filter-cog-outline":{"body":""},"filter-menu":{"body":""},"filter-menu-outline":{"body":""},"filter-minus":{"body":""},"filter-minus-outline":{"body":""},"filter-multiple":{"body":""},"filter-multiple-outline":{"body":""},"filter-off":{"body":""},"filter-off-outline":{"body":""},"filter-outline":{"body":""},"filter-plus":{"body":""},"filter-plus-outline":{"body":""},"filter-remove":{"body":""},"filter-remove-outline":{"body":""},"filter-settings":{"body":""},"filter-settings-outline":{"body":""},"filter-variant":{"body":""},"filter-variant-minus":{"body":""},"filter-variant-plus":{"body":""},"filter-variant-remove":{"body":""},"finance":{"body":""},"find-replace":{"body":""},"fingerprint":{"body":""},"fingerprint-off":{"body":""},"fire":{"body":""},"fire-alert":{"body":""},"fire-circle":{"body":""},"fire-extinguisher":{"body":""},"fire-hydrant":{"body":""},"fire-hydrant-alert":{"body":""},"fire-hydrant-off":{"body":""},"fire-off":{"body":""},"fire-truck":{"body":""},"firebase":{"body":""},"firefox":{"body":""},"fireplace":{"body":""},"fireplace-off":{"body":""},"firewire":{"body":""},"firework":{"body":""},"firework-off":{"body":""},"fish":{"body":""},"fish-off":{"body":""},"fishbowl":{"body":""},"fishbowl-outline":{"body":""},"fit-to-page":{"body":""},"fit-to-page-outline":{"body":""},"fit-to-screen":{"body":""},"fit-to-screen-outline":{"body":""},"flag":{"body":""},"flag-checkered":{"body":""},"flag-checkered-variant":{"body":"","hidden":true},"flag-minus":{"body":""},"flag-minus-outline":{"body":""},"flag-off":{"body":""},"flag-off-outline":{"body":""},"flag-outline":{"body":""},"flag-outline-variant":{"body":"","hidden":true},"flag-plus":{"body":""},"flag-plus-outline":{"body":""},"flag-remove":{"body":""},"flag-remove-outline":{"body":""},"flag-triangle":{"body":""},"flag-variant":{"body":""},"flag-variant-minus":{"body":""},"flag-variant-minus-outline":{"body":""},"flag-variant-off":{"body":""},"flag-variant-off-outline":{"body":""},"flag-variant-outline":{"body":""},"flag-variant-plus":{"body":""},"flag-variant-plus-outline":{"body":""},"flag-variant-remove":{"body":""},"flag-variant-remove-outline":{"body":""},"flare":{"body":""},"flash":{"body":""},"flash-alert":{"body":""},"flash-alert-outline":{"body":""},"flash-auto":{"body":""},"flash-off":{"body":""},"flash-off-outline":{"body":""},"flash-outline":{"body":""},"flash-red-eye":{"body":""},"flash-triangle":{"body":""},"flash-triangle-outline":{"body":""},"flashlight":{"body":""},"flashlight-off":{"body":""},"flask":{"body":""},"flask-empty":{"body":""},"flask-empty-minus":{"body":""},"flask-empty-minus-outline":{"body":""},"flask-empty-off":{"body":""},"flask-empty-off-outline":{"body":""},"flask-empty-outline":{"body":""},"flask-empty-plus":{"body":""},"flask-empty-plus-outline":{"body":""},"flask-empty-remove":{"body":""},"flask-empty-remove-outline":{"body":""},"flask-minus":{"body":""},"flask-minus-outline":{"body":""},"flask-off":{"body":""},"flask-off-outline":{"body":""},"flask-outline":{"body":""},"flask-plus":{"body":""},"flask-plus-outline":{"body":""},"flask-remove":{"body":""},"flask-remove-outline":{"body":""},"flask-round-bottom":{"body":""},"flask-round-bottom-empty":{"body":""},"flask-round-bottom-empty-outline":{"body":""},"flask-round-bottom-outline":{"body":""},"flattr":{"body":"","hidden":true},"fleur-de-lis":{"body":""},"flickr":{"body":"","hidden":true},"flickr-after":{"body":"","hidden":true},"flickr-before":{"body":"","hidden":true},"flip-horizontal":{"body":""},"flip-to-back":{"body":""},"flip-to-front":{"body":""},"flip-vertical":{"body":""},"floor-1":{"body":"","hidden":true},"floor-2":{"body":"","hidden":true},"floor-3":{"body":"","hidden":true},"floor-a":{"body":"","hidden":true},"floor-b":{"body":"","hidden":true},"floor-g":{"body":"","hidden":true},"floor-l":{"body":"","hidden":true},"floor-lamp":{"body":""},"floor-lamp-dual":{"body":""},"floor-lamp-dual-outline":{"body":""},"floor-lamp-outline":{"body":""},"floor-lamp-torchiere":{"body":""},"floor-lamp-torchiere-outline":{"body":""},"floor-lamp-torchiere-variant":{"body":""},"floor-lamp-torchiere-variant-outline":{"body":""},"floor-plan":{"body":""},"floppy":{"body":""},"floppy-variant":{"body":""},"flower":{"body":""},"flower-outline":{"body":""},"flower-pollen":{"body":""},"flower-pollen-outline":{"body":""},"flower-poppy":{"body":""},"flower-tulip":{"body":""},"flower-tulip-outline":{"body":""},"focus-auto":{"body":""},"focus-field":{"body":""},"focus-field-horizontal":{"body":""},"focus-field-vertical":{"body":""},"folder":{"body":""},"folder-account":{"body":""},"folder-account-outline":{"body":""},"folder-alert":{"body":""},"folder-alert-outline":{"body":""},"folder-arrow-down":{"body":""},"folder-arrow-down-outline":{"body":""},"folder-arrow-left":{"body":""},"folder-arrow-left-outline":{"body":""},"folder-arrow-left-right":{"body":""},"folder-arrow-left-right-outline":{"body":""},"folder-arrow-right":{"body":""},"folder-arrow-right-outline":{"body":""},"folder-arrow-up":{"body":""},"folder-arrow-up-down":{"body":""},"folder-arrow-up-down-outline":{"body":""},"folder-arrow-up-outline":{"body":""},"folder-cancel":{"body":""},"folder-cancel-outline":{"body":""},"folder-check":{"body":""},"folder-check-outline":{"body":""},"folder-clock":{"body":""},"folder-clock-outline":{"body":""},"folder-cog":{"body":""},"folder-cog-outline":{"body":""},"folder-download":{"body":""},"folder-download-outline":{"body":""},"folder-edit":{"body":""},"folder-edit-outline":{"body":""},"folder-eye":{"body":""},"folder-eye-outline":{"body":""},"folder-file":{"body":""},"folder-file-outline":{"body":""},"folder-google-drive":{"body":""},"folder-heart":{"body":""},"folder-heart-outline":{"body":""},"folder-hidden":{"body":""},"folder-home":{"body":""},"folder-home-outline":{"body":""},"folder-image":{"body":""},"folder-information":{"body":""},"folder-information-outline":{"body":""},"folder-key":{"body":""},"folder-key-network":{"body":""},"folder-key-network-outline":{"body":""},"folder-key-outline":{"body":""},"folder-lock":{"body":""},"folder-lock-open":{"body":""},"folder-lock-open-outline":{"body":""},"folder-lock-outline":{"body":""},"folder-marker":{"body":""},"folder-marker-outline":{"body":""},"folder-minus":{"body":""},"folder-minus-outline":{"body":""},"folder-move":{"body":""},"folder-move-outline":{"body":""},"folder-multiple":{"body":""},"folder-multiple-image":{"body":""},"folder-multiple-outline":{"body":""},"folder-multiple-plus":{"body":""},"folder-multiple-plus-outline":{"body":""},"folder-music":{"body":""},"folder-music-outline":{"body":""},"folder-network":{"body":""},"folder-network-outline":{"body":""},"folder-off":{"body":""},"folder-off-outline":{"body":""},"folder-open":{"body":""},"folder-open-outline":{"body":""},"folder-outline":{"body":""},"folder-outline-lock":{"body":"","hidden":true},"folder-play":{"body":""},"folder-play-outline":{"body":""},"folder-plus":{"body":""},"folder-plus-outline":{"body":""},"folder-pound":{"body":""},"folder-pound-outline":{"body":""},"folder-question":{"body":""},"folder-question-outline":{"body":""},"folder-refresh":{"body":""},"folder-refresh-outline":{"body":""},"folder-remove":{"body":""},"folder-remove-outline":{"body":""},"folder-search":{"body":""},"folder-search-outline":{"body":""},"folder-settings":{"body":""},"folder-settings-outline":{"body":""},"folder-star":{"body":""},"folder-star-multiple":{"body":""},"folder-star-multiple-outline":{"body":""},"folder-star-outline":{"body":""},"folder-swap":{"body":""},"folder-swap-outline":{"body":""},"folder-sync":{"body":""},"folder-sync-outline":{"body":""},"folder-table":{"body":""},"folder-table-outline":{"body":""},"folder-text":{"body":""},"folder-text-outline":{"body":""},"folder-upload":{"body":""},"folder-upload-outline":{"body":""},"folder-wrench":{"body":""},"folder-wrench-outline":{"body":""},"folder-zip":{"body":""},"folder-zip-outline":{"body":""},"font-awesome":{"body":""},"food":{"body":""},"food-apple":{"body":""},"food-apple-outline":{"body":""},"food-croissant":{"body":""},"food-drumstick":{"body":""},"food-drumstick-off":{"body":""},"food-drumstick-off-outline":{"body":""},"food-drumstick-outline":{"body":""},"food-fork-drink":{"body":""},"food-halal":{"body":""},"food-hot-dog":{"body":""},"food-kosher":{"body":""},"food-off":{"body":""},"food-off-outline":{"body":""},"food-outline":{"body":""},"food-steak":{"body":""},"food-steak-off":{"body":""},"food-takeout-box":{"body":""},"food-takeout-box-outline":{"body":""},"food-turkey":{"body":""},"food-variant":{"body":""},"food-variant-off":{"body":""},"foot-print":{"body":""},"football":{"body":""},"football-australian":{"body":""},"football-helmet":{"body":""},"footer":{"body":"","hidden":true},"forest":{"body":""},"forklift":{"body":""},"form-dropdown":{"body":""},"form-select":{"body":""},"form-textarea":{"body":""},"form-textbox":{"body":""},"form-textbox-lock":{"body":""},"form-textbox-password":{"body":""},"format-align-bottom":{"body":""},"format-align-center":{"body":""},"format-align-justify":{"body":""},"format-align-left":{"body":""},"format-align-middle":{"body":""},"format-align-right":{"body":""},"format-align-top":{"body":""},"format-annotation-minus":{"body":""},"format-annotation-plus":{"body":""},"format-bold":{"body":""},"format-clear":{"body":""},"format-color":{"body":"","hidden":true},"format-color-fill":{"body":""},"format-color-highlight":{"body":""},"format-color-marker-cancel":{"body":""},"format-color-text":{"body":""},"format-columns":{"body":""},"format-float-center":{"body":""},"format-float-left":{"body":""},"format-float-none":{"body":""},"format-float-right":{"body":""},"format-font":{"body":""},"format-font-size-decrease":{"body":""},"format-font-size-increase":{"body":""},"format-header-1":{"body":""},"format-header-2":{"body":""},"format-header-3":{"body":""},"format-header-4":{"body":""},"format-header-5":{"body":""},"format-header-6":{"body":""},"format-header-decrease":{"body":""},"format-header-down":{"body":"","hidden":true},"format-header-equal":{"body":""},"format-header-increase":{"body":""},"format-header-pound":{"body":""},"format-header-up":{"body":"","hidden":true},"format-horizontal-align-center":{"body":""},"format-horizontal-align-left":{"body":""},"format-horizontal-align-right":{"body":""},"format-indent-decrease":{"body":""},"format-indent-increase":{"body":""},"format-italic":{"body":""},"format-letter-case":{"body":""},"format-letter-case-lower":{"body":""},"format-letter-case-upper":{"body":""},"format-letter-ends-with":{"body":""},"format-letter-matches":{"body":""},"format-letter-spacing":{"body":""},"format-letter-spacing-variant":{"body":""},"format-letter-starts-with":{"body":""},"format-line-height":{"body":""},"format-line-spacing":{"body":""},"format-line-style":{"body":""},"format-line-weight":{"body":""},"format-list-bulleted":{"body":""},"format-list-bulleted-square":{"body":""},"format-list-bulleted-triangle":{"body":""},"format-list-bulleted-type":{"body":""},"format-list-checkbox":{"body":""},"format-list-checks":{"body":""},"format-list-group":{"body":""},"format-list-group-plus":{"body":""},"format-list-numbered":{"body":""},"format-list-numbered-rtl":{"body":""},"format-list-text":{"body":""},"format-list-triangle":{"body":"","hidden":true},"format-overline":{"body":""},"format-page-break":{"body":""},"format-page-split":{"body":""},"format-paint":{"body":""},"format-paragraph":{"body":""},"format-paragraph-spacing":{"body":""},"format-pilcrow":{"body":""},"format-pilcrow-arrow-left":{"body":""},"format-pilcrow-arrow-right":{"body":""},"format-quote-close":{"body":""},"format-quote-close-outline":{"body":""},"format-quote-open":{"body":""},"format-quote-open-outline":{"body":""},"format-rotate-90":{"body":""},"format-section":{"body":""},"format-size":{"body":""},"format-strikethrough":{"body":""},"format-strikethrough-variant":{"body":""},"format-subscript":{"body":""},"format-superscript":{"body":""},"format-text":{"body":""},"format-text-rotation-angle-down":{"body":""},"format-text-rotation-angle-up":{"body":""},"format-text-rotation-down":{"body":""},"format-text-rotation-down-vertical":{"body":""},"format-text-rotation-none":{"body":""},"format-text-rotation-up":{"body":""},"format-text-rotation-vertical":{"body":""},"format-text-variant":{"body":""},"format-text-variant-outline":{"body":""},"format-text-wrapping-clip":{"body":""},"format-text-wrapping-overflow":{"body":""},"format-text-wrapping-wrap":{"body":""},"format-textbox":{"body":""},"format-title":{"body":""},"format-underline":{"body":""},"format-underline-wavy":{"body":""},"format-vertical-align-bottom":{"body":""},"format-vertical-align-center":{"body":""},"format-vertical-align-top":{"body":""},"format-wrap-inline":{"body":""},"format-wrap-square":{"body":""},"format-wrap-tight":{"body":""},"format-wrap-top-bottom":{"body":""},"forum":{"body":""},"forum-minus":{"body":""},"forum-minus-outline":{"body":""},"forum-outline":{"body":""},"forum-plus":{"body":""},"forum-plus-outline":{"body":""},"forum-remove":{"body":""},"forum-remove-outline":{"body":""},"forward":{"body":""},"forwardburger":{"body":""},"fountain":{"body":""},"fountain-pen":{"body":""},"fountain-pen-tip":{"body":""},"foursquare":{"body":"","hidden":true},"fraction-one-half":{"body":""},"freebsd":{"body":""},"french-fries":{"body":""},"frequently-asked-questions":{"body":""},"fridge":{"body":""},"fridge-alert":{"body":""},"fridge-alert-outline":{"body":""},"fridge-bottom":{"body":""},"fridge-industrial":{"body":""},"fridge-industrial-alert":{"body":""},"fridge-industrial-alert-outline":{"body":""},"fridge-industrial-off":{"body":""},"fridge-industrial-off-outline":{"body":""},"fridge-industrial-outline":{"body":""},"fridge-off":{"body":""},"fridge-off-outline":{"body":""},"fridge-outline":{"body":""},"fridge-top":{"body":""},"fridge-variant":{"body":""},"fridge-variant-alert":{"body":""},"fridge-variant-alert-outline":{"body":""},"fridge-variant-off":{"body":""},"fridge-variant-off-outline":{"body":""},"fridge-variant-outline":{"body":""},"fruit-cherries":{"body":""},"fruit-cherries-off":{"body":""},"fruit-citrus":{"body":""},"fruit-citrus-off":{"body":""},"fruit-grapes":{"body":""},"fruit-grapes-outline":{"body":""},"fruit-pear":{"body":""},"fruit-pineapple":{"body":""},"fruit-watermelon":{"body":""},"fuel":{"body":""},"fuel-cell":{"body":""},"fullscreen":{"body":""},"fullscreen-exit":{"body":""},"function":{"body":""},"function-variant":{"body":""},"furigana-horizontal":{"body":""},"furigana-vertical":{"body":""},"fuse":{"body":""},"fuse-alert":{"body":""},"fuse-blade":{"body":""},"fuse-off":{"body":""},"gamepad":{"body":""},"gamepad-circle":{"body":""},"gamepad-circle-down":{"body":""},"gamepad-circle-left":{"body":""},"gamepad-circle-outline":{"body":""},"gamepad-circle-right":{"body":""},"gamepad-circle-up":{"body":""},"gamepad-down":{"body":""},"gamepad-left":{"body":""},"gamepad-outline":{"body":""},"gamepad-right":{"body":""},"gamepad-round":{"body":""},"gamepad-round-down":{"body":""},"gamepad-round-left":{"body":""},"gamepad-round-outline":{"body":""},"gamepad-round-right":{"body":""},"gamepad-round-up":{"body":""},"gamepad-square":{"body":""},"gamepad-square-outline":{"body":""},"gamepad-up":{"body":""},"gamepad-variant":{"body":""},"gamepad-variant-outline":{"body":""},"gamma":{"body":""},"gantry-crane":{"body":""},"garage":{"body":""},"garage-alert":{"body":""},"garage-alert-variant":{"body":""},"garage-lock":{"body":""},"garage-open":{"body":""},"garage-open-variant":{"body":""},"garage-variant":{"body":""},"garage-variant-lock":{"body":""},"gas-burner":{"body":""},"gas-cylinder":{"body":""},"gas-station":{"body":""},"gas-station-off":{"body":""},"gas-station-off-outline":{"body":""},"gas-station-outline":{"body":""},"gate":{"body":""},"gate-alert":{"body":""},"gate-and":{"body":""},"gate-arrow-left":{"body":""},"gate-arrow-right":{"body":""},"gate-buffer":{"body":""},"gate-nand":{"body":""},"gate-nor":{"body":""},"gate-not":{"body":""},"gate-open":{"body":""},"gate-or":{"body":""},"gate-xnor":{"body":""},"gate-xor":{"body":""},"gatsby":{"body":""},"gauge":{"body":""},"gauge-empty":{"body":""},"gauge-full":{"body":""},"gauge-low":{"body":""},"gavel":{"body":""},"gender-female":{"body":""},"gender-male":{"body":""},"gender-male-female":{"body":""},"gender-male-female-variant":{"body":""},"gender-non-binary":{"body":""},"gender-transgender":{"body":""},"gentoo":{"body":""},"gesture":{"body":""},"gesture-double-tap":{"body":""},"gesture-pinch":{"body":""},"gesture-spread":{"body":""},"gesture-swipe":{"body":""},"gesture-swipe-down":{"body":""},"gesture-swipe-horizontal":{"body":""},"gesture-swipe-left":{"body":""},"gesture-swipe-right":{"body":""},"gesture-swipe-up":{"body":""},"gesture-swipe-vertical":{"body":""},"gesture-tap":{"body":""},"gesture-tap-box":{"body":""},"gesture-tap-button":{"body":""},"gesture-tap-hold":{"body":""},"gesture-two-double-tap":{"body":""},"gesture-two-tap":{"body":""},"ghost":{"body":""},"ghost-off":{"body":""},"ghost-off-outline":{"body":""},"ghost-outline":{"body":""},"gif":{"body":"","hidden":true},"gift":{"body":""},"gift-off":{"body":""},"gift-off-outline":{"body":""},"gift-open":{"body":""},"gift-open-outline":{"body":""},"gift-outline":{"body":""},"git":{"body":""},"github":{"body":""},"github-box":{"body":"","hidden":true},"github-face":{"body":"","hidden":true},"gitlab":{"body":""},"glass-cocktail":{"body":""},"glass-cocktail-off":{"body":""},"glass-flute":{"body":""},"glass-fragile":{"body":""},"glass-mug":{"body":""},"glass-mug-off":{"body":""},"glass-mug-variant":{"body":""},"glass-mug-variant-off":{"body":""},"glass-pint-outline":{"body":""},"glass-stange":{"body":""},"glass-tulip":{"body":""},"glass-wine":{"body":""},"glassdoor":{"body":"","hidden":true},"glasses":{"body":""},"globe-light":{"body":""},"globe-light-outline":{"body":""},"globe-model":{"body":""},"gmail":{"body":""},"gnome":{"body":""},"go-kart":{"body":""},"go-kart-track":{"body":""},"gog":{"body":""},"gold":{"body":""},"golf":{"body":""},"golf-cart":{"body":""},"golf-tee":{"body":""},"gondola":{"body":""},"goodreads":{"body":""},"google":{"body":""},"google-ads":{"body":""},"google-allo":{"body":"","hidden":true},"google-analytics":{"body":""},"google-assistant":{"body":""},"google-cardboard":{"body":""},"google-chrome":{"body":""},"google-circles":{"body":""},"google-circles-communities":{"body":""},"google-circles-extended":{"body":""},"google-circles-group":{"body":""},"google-classroom":{"body":""},"google-cloud":{"body":""},"google-downasaur":{"body":""},"google-drive":{"body":""},"google-earth":{"body":""},"google-fit":{"body":""},"google-glass":{"body":""},"google-hangouts":{"body":""},"google-home":{"body":"","hidden":true},"google-keep":{"body":""},"google-lens":{"body":""},"google-maps":{"body":""},"google-my-business":{"body":""},"google-nearby":{"body":""},"google-pages":{"body":"","hidden":true},"google-photos":{"body":"","hidden":true},"google-physical-web":{"body":"","hidden":true},"google-play":{"body":""},"google-plus":{"body":""},"google-plus-box":{"body":"","hidden":true},"google-podcast":{"body":""},"google-spreadsheet":{"body":""},"google-street-view":{"body":""},"google-translate":{"body":""},"google-wallet":{"body":"","hidden":true},"gradient-horizontal":{"body":""},"gradient-vertical":{"body":""},"grain":{"body":""},"graph":{"body":""},"graph-outline":{"body":""},"graphql":{"body":""},"grass":{"body":""},"grave-stone":{"body":""},"grease-pencil":{"body":""},"greater-than":{"body":""},"greater-than-or-equal":{"body":""},"greenhouse":{"body":""},"grid":{"body":""},"grid-large":{"body":""},"grid-off":{"body":""},"grill":{"body":""},"grill-outline":{"body":""},"group":{"body":""},"guitar-acoustic":{"body":""},"guitar-electric":{"body":""},"guitar-pick":{"body":""},"guitar-pick-outline":{"body":""},"guy-fawkes-mask":{"body":""},"gymnastics":{"body":""},"hail":{"body":""},"hair-dryer":{"body":""},"hair-dryer-outline":{"body":""},"halloween":{"body":""},"hamburger":{"body":""},"hamburger-check":{"body":""},"hamburger-minus":{"body":""},"hamburger-off":{"body":""},"hamburger-plus":{"body":""},"hamburger-remove":{"body":""},"hammer":{"body":""},"hammer-screwdriver":{"body":""},"hammer-sickle":{"body":""},"hammer-wrench":{"body":""},"hand-back-left":{"body":""},"hand-back-left-off":{"body":""},"hand-back-left-off-outline":{"body":""},"hand-back-left-outline":{"body":""},"hand-back-right":{"body":""},"hand-back-right-off":{"body":""},"hand-back-right-off-outline":{"body":""},"hand-back-right-outline":{"body":""},"hand-clap":{"body":""},"hand-clap-off":{"body":""},"hand-coin":{"body":""},"hand-coin-outline":{"body":""},"hand-cycle":{"body":""},"hand-extended":{"body":""},"hand-extended-outline":{"body":""},"hand-front-left":{"body":""},"hand-front-left-outline":{"body":""},"hand-front-right":{"body":""},"hand-front-right-outline":{"body":""},"hand-heart":{"body":""},"hand-heart-outline":{"body":""},"hand-left":{"body":"","hidden":true},"hand-okay":{"body":""},"hand-peace":{"body":""},"hand-peace-variant":{"body":""},"hand-pointing-down":{"body":""},"hand-pointing-left":{"body":""},"hand-pointing-right":{"body":""},"hand-pointing-up":{"body":""},"hand-right":{"body":"","hidden":true},"hand-saw":{"body":""},"hand-wash":{"body":""},"hand-wash-outline":{"body":""},"hand-water":{"body":""},"hand-wave":{"body":""},"hand-wave-outline":{"body":""},"handball":{"body":""},"handcuffs":{"body":""},"hands-pray":{"body":""},"handshake":{"body":""},"handshake-outline":{"body":""},"hanger":{"body":""},"hangouts":{"body":"","hidden":true},"hard-hat":{"body":""},"harddisk":{"body":""},"harddisk-plus":{"body":""},"harddisk-remove":{"body":""},"hat-fedora":{"body":""},"hazard-lights":{"body":""},"hdmi-port":{"body":""},"hdr":{"body":""},"hdr-off":{"body":""},"head":{"body":""},"head-alert":{"body":""},"head-alert-outline":{"body":""},"head-check":{"body":""},"head-check-outline":{"body":""},"head-cog":{"body":""},"head-cog-outline":{"body":""},"head-dots-horizontal":{"body":""},"head-dots-horizontal-outline":{"body":""},"head-flash":{"body":""},"head-flash-outline":{"body":""},"head-heart":{"body":""},"head-heart-outline":{"body":""},"head-lightbulb":{"body":""},"head-lightbulb-outline":{"body":""},"head-minus":{"body":""},"head-minus-outline":{"body":""},"head-outline":{"body":""},"head-plus":{"body":""},"head-plus-outline":{"body":""},"head-question":{"body":""},"head-question-outline":{"body":""},"head-remove":{"body":""},"head-remove-outline":{"body":""},"head-snowflake":{"body":""},"head-snowflake-outline":{"body":""},"head-sync":{"body":""},"head-sync-outline":{"body":""},"headphones":{"body":""},"headphones-bluetooth":{"body":""},"headphones-box":{"body":""},"headphones-off":{"body":""},"headphones-settings":{"body":""},"headset":{"body":""},"headset-dock":{"body":""},"headset-off":{"body":""},"heart":{"body":""},"heart-box":{"body":""},"heart-box-outline":{"body":""},"heart-broken":{"body":""},"heart-broken-outline":{"body":""},"heart-circle":{"body":""},"heart-circle-outline":{"body":""},"heart-cog":{"body":""},"heart-cog-outline":{"body":""},"heart-flash":{"body":""},"heart-half":{"body":""},"heart-half-full":{"body":""},"heart-half-outline":{"body":""},"heart-minus":{"body":""},"heart-minus-outline":{"body":""},"heart-multiple":{"body":""},"heart-multiple-outline":{"body":""},"heart-off":{"body":""},"heart-off-outline":{"body":""},"heart-outline":{"body":""},"heart-plus":{"body":""},"heart-plus-outline":{"body":""},"heart-pulse":{"body":""},"heart-remove":{"body":""},"heart-remove-outline":{"body":""},"heart-settings":{"body":""},"heart-settings-outline":{"body":""},"heat-pump":{"body":""},"heat-pump-outline":{"body":""},"heat-wave":{"body":""},"heating-coil":{"body":""},"helicopter":{"body":""},"help":{"body":""},"help-box":{"body":""},"help-box-multiple":{"body":""},"help-box-multiple-outline":{"body":""},"help-box-outline":{"body":""},"help-circle":{"body":""},"help-circle-outline":{"body":""},"help-network":{"body":""},"help-network-outline":{"body":""},"help-rhombus":{"body":""},"help-rhombus-outline":{"body":""},"hexadecimal":{"body":""},"hexagon":{"body":""},"hexagon-multiple":{"body":""},"hexagon-multiple-outline":{"body":""},"hexagon-outline":{"body":""},"hexagon-slice-1":{"body":""},"hexagon-slice-2":{"body":""},"hexagon-slice-3":{"body":""},"hexagon-slice-4":{"body":""},"hexagon-slice-5":{"body":""},"hexagon-slice-6":{"body":""},"hexagram":{"body":""},"hexagram-outline":{"body":""},"high-definition":{"body":""},"high-definition-box":{"body":""},"highway":{"body":""},"hiking":{"body":""},"history":{"body":""},"hockey-puck":{"body":""},"hockey-sticks":{"body":""},"hololens":{"body":""},"home":{"body":""},"home-account":{"body":""},"home-alert":{"body":""},"home-alert-outline":{"body":""},"home-analytics":{"body":""},"home-assistant":{"body":""},"home-automation":{"body":""},"home-battery":{"body":""},"home-battery-outline":{"body":""},"home-circle":{"body":""},"home-circle-outline":{"body":""},"home-city":{"body":""},"home-city-outline":{"body":""},"home-clock":{"body":""},"home-clock-outline":{"body":""},"home-currency-usd":{"body":"","hidden":true},"home-edit":{"body":""},"home-edit-outline":{"body":""},"home-export-outline":{"body":""},"home-flood":{"body":""},"home-floor-0":{"body":""},"home-floor-1":{"body":""},"home-floor-2":{"body":""},"home-floor-3":{"body":""},"home-floor-a":{"body":""},"home-floor-b":{"body":""},"home-floor-g":{"body":""},"home-floor-l":{"body":""},"home-floor-negative-1":{"body":""},"home-group":{"body":""},"home-group-minus":{"body":""},"home-group-plus":{"body":""},"home-group-remove":{"body":""},"home-heart":{"body":""},"home-import-outline":{"body":""},"home-lightbulb":{"body":""},"home-lightbulb-outline":{"body":""},"home-lightning-bolt":{"body":""},"home-lightning-bolt-outline":{"body":""},"home-lock":{"body":""},"home-lock-open":{"body":""},"home-map-marker":{"body":""},"home-minus":{"body":""},"home-minus-outline":{"body":""},"home-modern":{"body":""},"home-off":{"body":""},"home-off-outline":{"body":""},"home-outline":{"body":""},"home-plus":{"body":""},"home-plus-outline":{"body":""},"home-remove":{"body":""},"home-remove-outline":{"body":""},"home-roof":{"body":""},"home-search":{"body":""},"home-search-outline":{"body":""},"home-silo":{"body":""},"home-silo-outline":{"body":""},"home-switch":{"body":""},"home-switch-outline":{"body":""},"home-thermometer":{"body":""},"home-thermometer-outline":{"body":""},"home-variant":{"body":""},"home-variant-outline":{"body":""},"hook":{"body":""},"hook-off":{"body":""},"hoop-house":{"body":""},"hops":{"body":""},"horizontal-rotate-clockwise":{"body":""},"horizontal-rotate-counterclockwise":{"body":""},"horse":{"body":""},"horse-human":{"body":""},"horse-variant":{"body":""},"horse-variant-fast":{"body":""},"horseshoe":{"body":""},"hospital":{"body":""},"hospital-box":{"body":""},"hospital-box-outline":{"body":""},"hospital-building":{"body":""},"hospital-marker":{"body":""},"hot-tub":{"body":""},"hours-24":{"body":""},"houzz":{"body":"","hidden":true},"houzz-box":{"body":"","hidden":true},"hubspot":{"body":""},"hulu":{"body":""},"human":{"body":""},"human-baby-changing-table":{"body":""},"human-cane":{"body":""},"human-capacity-decrease":{"body":""},"human-capacity-increase":{"body":""},"human-child":{"body":""},"human-dolly":{"body":""},"human-edit":{"body":""},"human-female":{"body":""},"human-female-boy":{"body":""},"human-female-dance":{"body":""},"human-female-female":{"body":""},"human-female-girl":{"body":""},"human-greeting":{"body":""},"human-greeting-proximity":{"body":""},"human-greeting-variant":{"body":""},"human-handsdown":{"body":""},"human-handsup":{"body":""},"human-male":{"body":""},"human-male-board":{"body":""},"human-male-board-poll":{"body":""},"human-male-boy":{"body":""},"human-male-child":{"body":""},"human-male-female":{"body":""},"human-male-female-child":{"body":""},"human-male-girl":{"body":""},"human-male-height":{"body":""},"human-male-height-variant":{"body":""},"human-male-male":{"body":""},"human-non-binary":{"body":""},"human-pregnant":{"body":""},"human-queue":{"body":""},"human-scooter":{"body":""},"human-walker":{"body":""},"human-wheelchair":{"body":""},"human-white-cane":{"body":""},"humble-bundle":{"body":""},"hurricane":{"body":"","hidden":true},"hvac":{"body":""},"hvac-off":{"body":""},"hydraulic-oil-level":{"body":""},"hydraulic-oil-temperature":{"body":""},"hydro-power":{"body":""},"hydrogen-station":{"body":""},"ice-cream":{"body":""},"ice-cream-off":{"body":""},"ice-pop":{"body":""},"id-card":{"body":""},"identifier":{"body":""},"ideogram-cjk":{"body":""},"ideogram-cjk-variant":{"body":""},"image":{"body":""},"image-album":{"body":""},"image-area":{"body":""},"image-area-close":{"body":""},"image-auto-adjust":{"body":""},"image-broken":{"body":""},"image-broken-variant":{"body":""},"image-check":{"body":""},"image-check-outline":{"body":""},"image-edit":{"body":""},"image-edit-outline":{"body":""},"image-filter-black-white":{"body":""},"image-filter-center-focus":{"body":""},"image-filter-center-focus-strong":{"body":""},"image-filter-center-focus-strong-outline":{"body":""},"image-filter-center-focus-weak":{"body":""},"image-filter-drama":{"body":""},"image-filter-drama-outline":{"body":""},"image-filter-frames":{"body":""},"image-filter-hdr":{"body":""},"image-filter-none":{"body":""},"image-filter-tilt-shift":{"body":""},"image-filter-vintage":{"body":""},"image-frame":{"body":""},"image-lock":{"body":""},"image-lock-outline":{"body":""},"image-marker":{"body":""},"image-marker-outline":{"body":""},"image-minus":{"body":""},"image-minus-outline":{"body":""},"image-move":{"body":""},"image-multiple":{"body":""},"image-multiple-outline":{"body":""},"image-off":{"body":""},"image-off-outline":{"body":""},"image-outline":{"body":""},"image-plus":{"body":""},"image-plus-outline":{"body":""},"image-refresh":{"body":""},"image-refresh-outline":{"body":""},"image-remove":{"body":""},"image-remove-outline":{"body":""},"image-search":{"body":""},"image-search-outline":{"body":""},"image-size-select-actual":{"body":""},"image-size-select-large":{"body":""},"image-size-select-small":{"body":""},"image-sync":{"body":""},"image-sync-outline":{"body":""},"image-text":{"body":""},"import":{"body":""},"inbox":{"body":""},"inbox-arrow-down":{"body":""},"inbox-arrow-down-outline":{"body":""},"inbox-arrow-up":{"body":""},"inbox-arrow-up-outline":{"body":""},"inbox-full":{"body":""},"inbox-full-outline":{"body":""},"inbox-multiple":{"body":""},"inbox-multiple-outline":{"body":""},"inbox-outline":{"body":""},"inbox-remove":{"body":""},"inbox-remove-outline":{"body":""},"incognito":{"body":""},"incognito-circle":{"body":""},"incognito-circle-off":{"body":""},"incognito-off":{"body":""},"indent":{"body":"","hidden":true},"induction":{"body":""},"infinity":{"body":""},"information":{"body":""},"information-off":{"body":""},"information-off-outline":{"body":""},"information-outline":{"body":""},"information-variant":{"body":""},"instagram":{"body":""},"instapaper":{"body":"","hidden":true},"instrument-triangle":{"body":""},"integrated-circuit-chip":{"body":""},"invert-colors":{"body":""},"invert-colors-off":{"body":""},"iobroker":{"body":""},"ip":{"body":""},"ip-network":{"body":""},"ip-network-outline":{"body":""},"ip-outline":{"body":""},"ipod":{"body":""},"iron":{"body":""},"iron-board":{"body":""},"iron-outline":{"body":""},"island":{"body":""},"itunes":{"body":"","hidden":true},"iv-bag":{"body":""},"jabber":{"body":""},"jeepney":{"body":""},"jellyfish":{"body":""},"jellyfish-outline":{"body":""},"jira":{"body":""},"jquery":{"body":""},"jsfiddle":{"body":""},"jump-rope":{"body":""},"kabaddi":{"body":""},"kangaroo":{"body":""},"karate":{"body":""},"kayaking":{"body":""},"keg":{"body":""},"kettle":{"body":""},"kettle-alert":{"body":""},"kettle-alert-outline":{"body":""},"kettle-off":{"body":""},"kettle-off-outline":{"body":""},"kettle-outline":{"body":""},"kettle-pour-over":{"body":""},"kettle-steam":{"body":""},"kettle-steam-outline":{"body":""},"kettlebell":{"body":""},"key":{"body":""},"key-alert":{"body":""},"key-alert-outline":{"body":""},"key-arrow-right":{"body":""},"key-chain":{"body":""},"key-chain-variant":{"body":""},"key-change":{"body":""},"key-link":{"body":""},"key-minus":{"body":""},"key-outline":{"body":""},"key-plus":{"body":""},"key-remove":{"body":""},"key-star":{"body":""},"key-variant":{"body":""},"key-wireless":{"body":""},"keyboard":{"body":""},"keyboard-backspace":{"body":""},"keyboard-caps":{"body":""},"keyboard-close":{"body":""},"keyboard-close-outline":{"body":""},"keyboard-esc":{"body":""},"keyboard-f1":{"body":""},"keyboard-f10":{"body":""},"keyboard-f11":{"body":""},"keyboard-f12":{"body":""},"keyboard-f2":{"body":""},"keyboard-f3":{"body":""},"keyboard-f4":{"body":""},"keyboard-f5":{"body":""},"keyboard-f6":{"body":""},"keyboard-f7":{"body":""},"keyboard-f8":{"body":""},"keyboard-f9":{"body":""},"keyboard-off":{"body":""},"keyboard-off-outline":{"body":""},"keyboard-outline":{"body":""},"keyboard-return":{"body":""},"keyboard-settings":{"body":""},"keyboard-settings-outline":{"body":""},"keyboard-space":{"body":""},"keyboard-tab":{"body":""},"keyboard-tab-reverse":{"body":""},"keyboard-variant":{"body":""},"khanda":{"body":""},"kickstarter":{"body":""},"kite":{"body":""},"kite-outline":{"body":""},"kitesurfing":{"body":""},"klingon":{"body":""},"knife":{"body":""},"knife-military":{"body":""},"knob":{"body":""},"koala":{"body":""},"kodi":{"body":""},"kubernetes":{"body":""},"label":{"body":""},"label-multiple":{"body":""},"label-multiple-outline":{"body":""},"label-off":{"body":""},"label-off-outline":{"body":""},"label-outline":{"body":""},"label-percent":{"body":""},"label-percent-outline":{"body":""},"label-variant":{"body":""},"label-variant-outline":{"body":""},"ladder":{"body":""},"ladybug":{"body":""},"lambda":{"body":""},"lamp":{"body":""},"lamp-outline":{"body":""},"lamps":{"body":""},"lamps-outline":{"body":""},"lan":{"body":""},"lan-check":{"body":""},"lan-connect":{"body":""},"lan-disconnect":{"body":""},"lan-pending":{"body":""},"land-fields":{"body":""},"land-plots":{"body":""},"land-plots-circle":{"body":""},"land-plots-circle-variant":{"body":""},"land-rows-horizontal":{"body":""},"land-rows-vertical":{"body":""},"landslide":{"body":""},"landslide-outline":{"body":""},"language-c":{"body":""},"language-cpp":{"body":""},"language-csharp":{"body":""},"language-css3":{"body":""},"language-fortran":{"body":""},"language-go":{"body":""},"language-haskell":{"body":""},"language-html5":{"body":""},"language-java":{"body":""},"language-javascript":{"body":""},"language-jsx":{"body":"","hidden":true},"language-kotlin":{"body":""},"language-lua":{"body":""},"language-markdown":{"body":""},"language-markdown-outline":{"body":""},"language-php":{"body":""},"language-python":{"body":""},"language-python-text":{"body":"","hidden":true},"language-r":{"body":""},"language-ruby":{"body":""},"language-ruby-on-rails":{"body":""},"language-rust":{"body":""},"language-swift":{"body":""},"language-typescript":{"body":""},"language-xaml":{"body":""},"laptop":{"body":""},"laptop-account":{"body":""},"laptop-chromebook":{"body":"","hidden":true},"laptop-mac":{"body":"","hidden":true},"laptop-off":{"body":""},"laptop-windows":{"body":"","hidden":true},"laravel":{"body":""},"laser-pointer":{"body":""},"lasso":{"body":""},"lastfm":{"body":"","hidden":true},"lastpass":{"body":""},"latitude":{"body":""},"launch":{"body":""},"lava-lamp":{"body":""},"layers":{"body":""},"layers-edit":{"body":""},"layers-minus":{"body":""},"layers-off":{"body":""},"layers-off-outline":{"body":""},"layers-outline":{"body":""},"layers-plus":{"body":""},"layers-remove":{"body":""},"layers-search":{"body":""},"layers-search-outline":{"body":""},"layers-triple":{"body":""},"layers-triple-outline":{"body":""},"lead-pencil":{"body":""},"leaf":{"body":""},"leaf-circle":{"body":""},"leaf-circle-outline":{"body":""},"leaf-maple":{"body":""},"leaf-maple-off":{"body":""},"leaf-off":{"body":""},"leak":{"body":""},"leak-off":{"body":""},"lectern":{"body":""},"led-off":{"body":""},"led-on":{"body":""},"led-outline":{"body":""},"led-strip":{"body":""},"led-strip-variant":{"body":""},"led-strip-variant-off":{"body":""},"led-variant-off":{"body":""},"led-variant-on":{"body":""},"led-variant-outline":{"body":""},"leek":{"body":""},"less-than":{"body":""},"less-than-or-equal":{"body":""},"library":{"body":""},"library-books":{"body":"","hidden":true},"library-outline":{"body":""},"library-shelves":{"body":""},"license":{"body":""},"lifebuoy":{"body":""},"light-flood-down":{"body":""},"light-flood-up":{"body":""},"light-recessed":{"body":""},"light-switch":{"body":""},"light-switch-off":{"body":""},"lightbulb":{"body":""},"lightbulb-alert":{"body":""},"lightbulb-alert-outline":{"body":""},"lightbulb-auto":{"body":""},"lightbulb-auto-outline":{"body":""},"lightbulb-cfl":{"body":""},"lightbulb-cfl-off":{"body":""},"lightbulb-cfl-spiral":{"body":""},"lightbulb-cfl-spiral-off":{"body":""},"lightbulb-fluorescent-tube":{"body":""},"lightbulb-fluorescent-tube-outline":{"body":""},"lightbulb-group":{"body":""},"lightbulb-group-off":{"body":""},"lightbulb-group-off-outline":{"body":""},"lightbulb-group-outline":{"body":""},"lightbulb-multiple":{"body":""},"lightbulb-multiple-off":{"body":""},"lightbulb-multiple-off-outline":{"body":""},"lightbulb-multiple-outline":{"body":""},"lightbulb-night":{"body":""},"lightbulb-night-outline":{"body":""},"lightbulb-off":{"body":""},"lightbulb-off-outline":{"body":""},"lightbulb-on":{"body":""},"lightbulb-on-10":{"body":""},"lightbulb-on-20":{"body":""},"lightbulb-on-30":{"body":""},"lightbulb-on-40":{"body":""},"lightbulb-on-50":{"body":""},"lightbulb-on-60":{"body":""},"lightbulb-on-70":{"body":""},"lightbulb-on-80":{"body":""},"lightbulb-on-90":{"body":""},"lightbulb-on-outline":{"body":""},"lightbulb-outline":{"body":""},"lightbulb-question":{"body":""},"lightbulb-question-outline":{"body":""},"lightbulb-spot":{"body":""},"lightbulb-spot-off":{"body":""},"lightbulb-variant":{"body":""},"lightbulb-variant-outline":{"body":""},"lighthouse":{"body":""},"lighthouse-on":{"body":""},"lightning-bolt":{"body":""},"lightning-bolt-circle":{"body":""},"lightning-bolt-outline":{"body":""},"line-scan":{"body":""},"lingerie":{"body":""},"link":{"body":""},"link-box":{"body":""},"link-box-outline":{"body":""},"link-box-variant":{"body":""},"link-box-variant-outline":{"body":""},"link-lock":{"body":""},"link-off":{"body":""},"link-plus":{"body":""},"link-variant":{"body":""},"link-variant-minus":{"body":""},"link-variant-off":{"body":""},"link-variant-plus":{"body":""},"link-variant-remove":{"body":""},"linkedin":{"body":""},"linode":{"body":"","hidden":true},"linux":{"body":""},"linux-mint":{"body":""},"lipstick":{"body":""},"liquid-spot":{"body":""},"liquor":{"body":""},"list-box":{"body":""},"list-box-outline":{"body":""},"list-status":{"body":""},"litecoin":{"body":""},"loading":{"body":""},"location-enter":{"body":""},"location-exit":{"body":""},"lock":{"body":""},"lock-alert":{"body":""},"lock-alert-outline":{"body":""},"lock-check":{"body":""},"lock-check-outline":{"body":""},"lock-clock":{"body":""},"lock-minus":{"body":""},"lock-minus-outline":{"body":""},"lock-off":{"body":""},"lock-off-outline":{"body":""},"lock-open":{"body":""},"lock-open-alert":{"body":""},"lock-open-alert-outline":{"body":""},"lock-open-check":{"body":""},"lock-open-check-outline":{"body":""},"lock-open-minus":{"body":""},"lock-open-minus-outline":{"body":""},"lock-open-outline":{"body":""},"lock-open-plus":{"body":""},"lock-open-plus-outline":{"body":""},"lock-open-remove":{"body":""},"lock-open-remove-outline":{"body":""},"lock-open-variant":{"body":""},"lock-open-variant-outline":{"body":""},"lock-outline":{"body":""},"lock-pattern":{"body":""},"lock-percent":{"body":""},"lock-percent-open":{"body":""},"lock-percent-open-outline":{"body":""},"lock-percent-open-variant":{"body":""},"lock-percent-open-variant-outline":{"body":""},"lock-percent-outline":{"body":""},"lock-plus":{"body":""},"lock-plus-outline":{"body":""},"lock-question":{"body":""},"lock-remove":{"body":""},"lock-remove-outline":{"body":""},"lock-reset":{"body":""},"lock-smart":{"body":""},"locker":{"body":""},"locker-multiple":{"body":""},"login":{"body":""},"login-variant":{"body":""},"logout":{"body":""},"logout-variant":{"body":""},"longitude":{"body":""},"looks":{"body":""},"lotion":{"body":""},"lotion-outline":{"body":""},"lotion-plus":{"body":""},"lotion-plus-outline":{"body":""},"loupe":{"body":""},"lumx":{"body":""},"lungs":{"body":""},"lyft":{"body":"","hidden":true},"mace":{"body":""},"magazine-pistol":{"body":""},"magazine-rifle":{"body":""},"magic-staff":{"body":""},"magnet":{"body":""},"magnet-on":{"body":""},"magnify":{"body":""},"magnify-close":{"body":""},"magnify-expand":{"body":""},"magnify-minus":{"body":""},"magnify-minus-cursor":{"body":""},"magnify-minus-outline":{"body":""},"magnify-plus":{"body":""},"magnify-plus-cursor":{"body":""},"magnify-plus-outline":{"body":""},"magnify-remove-cursor":{"body":""},"magnify-remove-outline":{"body":""},"magnify-scan":{"body":""},"mail":{"body":""},"mail-ru":{"body":"","hidden":true},"mailbox":{"body":""},"mailbox-open":{"body":""},"mailbox-open-outline":{"body":""},"mailbox-open-up":{"body":""},"mailbox-open-up-outline":{"body":""},"mailbox-outline":{"body":""},"mailbox-up":{"body":""},"mailbox-up-outline":{"body":""},"manjaro":{"body":""},"map":{"body":""},"map-check":{"body":""},"map-check-outline":{"body":""},"map-clock":{"body":""},"map-clock-outline":{"body":""},"map-legend":{"body":""},"map-marker":{"body":""},"map-marker-account":{"body":""},"map-marker-account-outline":{"body":""},"map-marker-alert":{"body":""},"map-marker-alert-outline":{"body":""},"map-marker-check":{"body":""},"map-marker-check-outline":{"body":""},"map-marker-circle":{"body":""},"map-marker-distance":{"body":""},"map-marker-down":{"body":""},"map-marker-left":{"body":""},"map-marker-left-outline":{"body":""},"map-marker-minus":{"body":""},"map-marker-minus-outline":{"body":""},"map-marker-multiple":{"body":""},"map-marker-multiple-outline":{"body":""},"map-marker-off":{"body":""},"map-marker-off-outline":{"body":""},"map-marker-outline":{"body":""},"map-marker-path":{"body":""},"map-marker-plus":{"body":""},"map-marker-plus-outline":{"body":""},"map-marker-question":{"body":""},"map-marker-question-outline":{"body":""},"map-marker-radius":{"body":""},"map-marker-radius-outline":{"body":""},"map-marker-remove":{"body":""},"map-marker-remove-outline":{"body":""},"map-marker-remove-variant":{"body":""},"map-marker-right":{"body":""},"map-marker-right-outline":{"body":""},"map-marker-star":{"body":""},"map-marker-star-outline":{"body":""},"map-marker-up":{"body":""},"map-minus":{"body":""},"map-outline":{"body":""},"map-plus":{"body":""},"map-search":{"body":""},"map-search-outline":{"body":""},"mapbox":{"body":""},"margin":{"body":""},"marker":{"body":""},"marker-cancel":{"body":""},"marker-check":{"body":""},"mastodon":{"body":""},"mastodon-variant":{"body":"","hidden":true},"material-design":{"body":""},"material-ui":{"body":""},"math-compass":{"body":""},"math-cos":{"body":""},"math-integral":{"body":""},"math-integral-box":{"body":""},"math-log":{"body":""},"math-norm":{"body":""},"math-norm-box":{"body":""},"math-sin":{"body":""},"math-tan":{"body":""},"matrix":{"body":""},"maxcdn":{"body":"","hidden":true},"medal":{"body":""},"medal-outline":{"body":""},"medical-bag":{"body":""},"medical-cotton-swab":{"body":""},"medication":{"body":""},"medication-outline":{"body":""},"meditation":{"body":""},"medium":{"body":"","hidden":true},"meetup":{"body":"","hidden":true},"memory":{"body":""},"menorah":{"body":""},"menorah-fire":{"body":""},"menu":{"body":""},"menu-close":{"body":"","hidden":true},"menu-down":{"body":""},"menu-down-outline":{"body":""},"menu-left":{"body":""},"menu-left-outline":{"body":""},"menu-open":{"body":""},"menu-right":{"body":""},"menu-right-outline":{"body":""},"menu-swap":{"body":""},"menu-swap-outline":{"body":""},"menu-up":{"body":""},"menu-up-outline":{"body":""},"merge":{"body":""},"message":{"body":""},"message-alert":{"body":""},"message-alert-outline":{"body":""},"message-arrow-left":{"body":""},"message-arrow-left-outline":{"body":""},"message-arrow-right":{"body":""},"message-arrow-right-outline":{"body":""},"message-badge":{"body":""},"message-badge-outline":{"body":""},"message-bookmark":{"body":""},"message-bookmark-outline":{"body":""},"message-bulleted":{"body":""},"message-bulleted-off":{"body":""},"message-check":{"body":""},"message-check-outline":{"body":""},"message-cog":{"body":""},"message-cog-outline":{"body":""},"message-draw":{"body":""},"message-fast":{"body":""},"message-fast-outline":{"body":""},"message-flash":{"body":""},"message-flash-outline":{"body":""},"message-image":{"body":""},"message-image-outline":{"body":""},"message-lock":{"body":""},"message-lock-outline":{"body":""},"message-minus":{"body":""},"message-minus-outline":{"body":""},"message-off":{"body":""},"message-off-outline":{"body":""},"message-outline":{"body":""},"message-plus":{"body":""},"message-plus-outline":{"body":""},"message-processing":{"body":""},"message-processing-outline":{"body":""},"message-question":{"body":""},"message-question-outline":{"body":""},"message-reply":{"body":""},"message-reply-outline":{"body":""},"message-reply-text":{"body":""},"message-reply-text-outline":{"body":""},"message-settings":{"body":""},"message-settings-outline":{"body":""},"message-star":{"body":""},"message-star-outline":{"body":""},"message-text":{"body":""},"message-text-clock":{"body":""},"message-text-clock-outline":{"body":""},"message-text-fast":{"body":""},"message-text-fast-outline":{"body":""},"message-text-lock":{"body":""},"message-text-lock-outline":{"body":""},"message-text-outline":{"body":""},"message-video":{"body":""},"meteor":{"body":""},"meter-electric":{"body":""},"meter-electric-outline":{"body":""},"meter-gas":{"body":""},"meter-gas-outline":{"body":""},"metronome":{"body":""},"metronome-tick":{"body":""},"micro-sd":{"body":""},"microphone":{"body":""},"microphone-message":{"body":""},"microphone-message-off":{"body":""},"microphone-minus":{"body":""},"microphone-off":{"body":""},"microphone-outline":{"body":""},"microphone-plus":{"body":""},"microphone-question":{"body":""},"microphone-question-outline":{"body":""},"microphone-settings":{"body":""},"microphone-variant":{"body":""},"microphone-variant-off":{"body":""},"microscope":{"body":""},"microsoft":{"body":""},"microsoft-access":{"body":""},"microsoft-azure":{"body":""},"microsoft-azure-devops":{"body":""},"microsoft-bing":{"body":""},"microsoft-dynamics-365":{"body":""},"microsoft-edge":{"body":""},"microsoft-edge-legacy":{"body":"","hidden":true},"microsoft-excel":{"body":""},"microsoft-internet-explorer":{"body":""},"microsoft-office":{"body":""},"microsoft-onedrive":{"body":""},"microsoft-onenote":{"body":""},"microsoft-outlook":{"body":""},"microsoft-powerpoint":{"body":""},"microsoft-sharepoint":{"body":""},"microsoft-teams":{"body":""},"microsoft-visual-studio":{"body":""},"microsoft-visual-studio-code":{"body":""},"microsoft-windows":{"body":""},"microsoft-windows-classic":{"body":""},"microsoft-word":{"body":""},"microsoft-xbox":{"body":""},"microsoft-xbox-controller":{"body":""},"microsoft-xbox-controller-battery-alert":{"body":""},"microsoft-xbox-controller-battery-charging":{"body":""},"microsoft-xbox-controller-battery-empty":{"body":""},"microsoft-xbox-controller-battery-full":{"body":""},"microsoft-xbox-controller-battery-low":{"body":""},"microsoft-xbox-controller-battery-medium":{"body":""},"microsoft-xbox-controller-battery-unknown":{"body":""},"microsoft-xbox-controller-menu":{"body":""},"microsoft-xbox-controller-off":{"body":""},"microsoft-xbox-controller-view":{"body":""},"microsoft-yammer":{"body":"","hidden":true},"microwave":{"body":""},"microwave-off":{"body":""},"middleware":{"body":""},"middleware-outline":{"body":""},"midi":{"body":""},"midi-input":{"body":"","hidden":true},"midi-port":{"body":""},"mine":{"body":""},"minecraft":{"body":""},"mini-sd":{"body":""},"minidisc":{"body":""},"minus":{"body":""},"minus-box":{"body":""},"minus-box-multiple":{"body":""},"minus-box-multiple-outline":{"body":""},"minus-box-outline":{"body":""},"minus-circle":{"body":""},"minus-circle-multiple":{"body":""},"minus-circle-multiple-outline":{"body":""},"minus-circle-off":{"body":""},"minus-circle-off-outline":{"body":""},"minus-circle-outline":{"body":""},"minus-network":{"body":""},"minus-network-outline":{"body":""},"minus-thick":{"body":""},"mirror":{"body":""},"mirror-rectangle":{"body":""},"mirror-variant":{"body":""},"mixcloud":{"body":"","hidden":true},"mixed-martial-arts":{"body":""},"mixed-reality":{"body":""},"mixer":{"body":"","hidden":true},"molecule":{"body":""},"molecule-co":{"body":""},"molecule-co2":{"body":""},"monitor":{"body":""},"monitor-account":{"body":""},"monitor-arrow-down":{"body":""},"monitor-arrow-down-variant":{"body":""},"monitor-cellphone":{"body":""},"monitor-cellphone-star":{"body":""},"monitor-dashboard":{"body":""},"monitor-edit":{"body":""},"monitor-eye":{"body":""},"monitor-lock":{"body":""},"monitor-multiple":{"body":""},"monitor-off":{"body":""},"monitor-screenshot":{"body":""},"monitor-share":{"body":""},"monitor-shimmer":{"body":""},"monitor-small":{"body":""},"monitor-speaker":{"body":""},"monitor-speaker-off":{"body":""},"monitor-star":{"body":""},"moon-first-quarter":{"body":""},"moon-full":{"body":""},"moon-last-quarter":{"body":""},"moon-new":{"body":""},"moon-waning-crescent":{"body":""},"moon-waning-gibbous":{"body":""},"moon-waxing-crescent":{"body":""},"moon-waxing-gibbous":{"body":""},"moped":{"body":""},"moped-electric":{"body":""},"moped-electric-outline":{"body":""},"moped-outline":{"body":""},"more":{"body":""},"mortar-pestle":{"body":""},"mortar-pestle-plus":{"body":""},"mosque":{"body":""},"mosque-outline":{"body":""},"mother-heart":{"body":""},"mother-nurse":{"body":""},"motion":{"body":""},"motion-outline":{"body":""},"motion-pause":{"body":""},"motion-pause-outline":{"body":""},"motion-play":{"body":""},"motion-play-outline":{"body":""},"motion-sensor":{"body":""},"motion-sensor-off":{"body":""},"motorbike":{"body":""},"motorbike-electric":{"body":""},"motorbike-off":{"body":""},"mouse":{"body":""},"mouse-bluetooth":{"body":""},"mouse-move-down":{"body":""},"mouse-move-up":{"body":""},"mouse-move-vertical":{"body":""},"mouse-off":{"body":""},"mouse-variant":{"body":""},"mouse-variant-off":{"body":""},"move-resize":{"body":""},"move-resize-variant":{"body":""},"movie":{"body":""},"movie-check":{"body":""},"movie-check-outline":{"body":""},"movie-cog":{"body":""},"movie-cog-outline":{"body":""},"movie-edit":{"body":""},"movie-edit-outline":{"body":""},"movie-filter":{"body":""},"movie-filter-outline":{"body":""},"movie-minus":{"body":""},"movie-minus-outline":{"body":""},"movie-off":{"body":""},"movie-off-outline":{"body":""},"movie-open":{"body":""},"movie-open-check":{"body":""},"movie-open-check-outline":{"body":""},"movie-open-cog":{"body":""},"movie-open-cog-outline":{"body":""},"movie-open-edit":{"body":""},"movie-open-edit-outline":{"body":""},"movie-open-minus":{"body":""},"movie-open-minus-outline":{"body":""},"movie-open-off":{"body":""},"movie-open-off-outline":{"body":""},"movie-open-outline":{"body":""},"movie-open-play":{"body":""},"movie-open-play-outline":{"body":""},"movie-open-plus":{"body":""},"movie-open-plus-outline":{"body":""},"movie-open-remove":{"body":""},"movie-open-remove-outline":{"body":""},"movie-open-settings":{"body":""},"movie-open-settings-outline":{"body":""},"movie-open-star":{"body":""},"movie-open-star-outline":{"body":""},"movie-outline":{"body":""},"movie-play":{"body":""},"movie-play-outline":{"body":""},"movie-plus":{"body":""},"movie-plus-outline":{"body":""},"movie-remove":{"body":""},"movie-remove-outline":{"body":""},"movie-roll":{"body":""},"movie-search":{"body":""},"movie-search-outline":{"body":""},"movie-settings":{"body":""},"movie-settings-outline":{"body":""},"movie-star":{"body":""},"movie-star-outline":{"body":""},"mower":{"body":""},"mower-bag":{"body":""},"mower-bag-on":{"body":""},"mower-on":{"body":""},"muffin":{"body":""},"multicast":{"body":""},"multimedia":{"body":""},"multiplication":{"body":""},"multiplication-box":{"body":""},"mushroom":{"body":""},"mushroom-off":{"body":""},"mushroom-off-outline":{"body":""},"mushroom-outline":{"body":""},"music":{"body":""},"music-accidental-double-flat":{"body":""},"music-accidental-double-sharp":{"body":""},"music-accidental-flat":{"body":""},"music-accidental-natural":{"body":""},"music-accidental-sharp":{"body":""},"music-box":{"body":""},"music-box-multiple":{"body":""},"music-box-multiple-outline":{"body":""},"music-box-outline":{"body":""},"music-circle":{"body":""},"music-circle-outline":{"body":""},"music-clef-alto":{"body":""},"music-clef-bass":{"body":""},"music-clef-treble":{"body":""},"music-note":{"body":""},"music-note-bluetooth":{"body":""},"music-note-bluetooth-off":{"body":""},"music-note-eighth":{"body":""},"music-note-eighth-dotted":{"body":""},"music-note-half":{"body":""},"music-note-half-dotted":{"body":""},"music-note-minus":{"body":""},"music-note-off":{"body":""},"music-note-off-outline":{"body":""},"music-note-outline":{"body":""},"music-note-plus":{"body":""},"music-note-quarter":{"body":""},"music-note-quarter-dotted":{"body":""},"music-note-sixteenth":{"body":""},"music-note-sixteenth-dotted":{"body":""},"music-note-whole":{"body":""},"music-note-whole-dotted":{"body":""},"music-off":{"body":""},"music-rest-eighth":{"body":""},"music-rest-half":{"body":""},"music-rest-quarter":{"body":""},"music-rest-sixteenth":{"body":""},"music-rest-whole":{"body":""},"mustache":{"body":""},"nail":{"body":""},"nas":{"body":""},"nativescript":{"body":""},"nature":{"body":""},"nature-people":{"body":""},"navigation":{"body":""},"navigation-outline":{"body":""},"navigation-variant":{"body":""},"navigation-variant-outline":{"body":""},"near-me":{"body":""},"necklace":{"body":""},"needle":{"body":""},"needle-off":{"body":""},"nest-thermostat":{"body":"","hidden":true},"netflix":{"body":""},"network":{"body":""},"network-off":{"body":""},"network-off-outline":{"body":""},"network-outline":{"body":""},"network-pos":{"body":""},"network-strength-1":{"body":""},"network-strength-1-alert":{"body":""},"network-strength-2":{"body":""},"network-strength-2-alert":{"body":""},"network-strength-3":{"body":""},"network-strength-3-alert":{"body":""},"network-strength-4":{"body":""},"network-strength-4-alert":{"body":""},"network-strength-4-cog":{"body":""},"network-strength-alert":{"body":"","hidden":true},"network-strength-alert-outline":{"body":"","hidden":true},"network-strength-off":{"body":""},"network-strength-off-outline":{"body":""},"network-strength-outline":{"body":""},"new-box":{"body":""},"newspaper":{"body":""},"newspaper-check":{"body":""},"newspaper-minus":{"body":""},"newspaper-plus":{"body":""},"newspaper-remove":{"body":""},"newspaper-variant":{"body":""},"newspaper-variant-multiple":{"body":""},"newspaper-variant-multiple-outline":{"body":""},"newspaper-variant-outline":{"body":""},"nfc":{"body":""},"nfc-off":{"body":"","hidden":true},"nfc-search-variant":{"body":""},"nfc-tap":{"body":""},"nfc-variant":{"body":""},"nfc-variant-off":{"body":""},"ninja":{"body":""},"nintendo-game-boy":{"body":""},"nintendo-switch":{"body":""},"nintendo-wii":{"body":""},"nintendo-wiiu":{"body":""},"nix":{"body":""},"nodejs":{"body":""},"noodles":{"body":""},"not-equal":{"body":""},"not-equal-variant":{"body":""},"note":{"body":""},"note-alert":{"body":""},"note-alert-outline":{"body":""},"note-check":{"body":""},"note-check-outline":{"body":""},"note-edit":{"body":""},"note-edit-outline":{"body":""},"note-minus":{"body":""},"note-minus-outline":{"body":""},"note-multiple":{"body":""},"note-multiple-outline":{"body":""},"note-off":{"body":""},"note-off-outline":{"body":""},"note-outline":{"body":""},"note-plus":{"body":""},"note-plus-outline":{"body":""},"note-remove":{"body":""},"note-remove-outline":{"body":""},"note-search":{"body":""},"note-search-outline":{"body":""},"note-text":{"body":""},"note-text-outline":{"body":""},"notebook":{"body":""},"notebook-check":{"body":""},"notebook-check-outline":{"body":""},"notebook-edit":{"body":""},"notebook-edit-outline":{"body":""},"notebook-heart":{"body":""},"notebook-heart-outline":{"body":""},"notebook-minus":{"body":""},"notebook-minus-outline":{"body":""},"notebook-multiple":{"body":""},"notebook-outline":{"body":""},"notebook-plus":{"body":""},"notebook-plus-outline":{"body":""},"notebook-remove":{"body":""},"notebook-remove-outline":{"body":""},"notification-clear-all":{"body":""},"npm":{"body":""},"npm-variant":{"body":"","hidden":true},"npm-variant-outline":{"body":"","hidden":true},"nuke":{"body":""},"null":{"body":""},"numeric":{"body":""},"numeric-0":{"body":""},"numeric-0-box":{"body":""},"numeric-0-box-multiple":{"body":""},"numeric-0-box-multiple-outline":{"body":""},"numeric-0-box-outline":{"body":""},"numeric-0-circle":{"body":""},"numeric-0-circle-outline":{"body":""},"numeric-1":{"body":""},"numeric-1-box":{"body":""},"numeric-1-box-multiple":{"body":""},"numeric-1-box-multiple-outline":{"body":""},"numeric-1-box-outline":{"body":""},"numeric-1-circle":{"body":""},"numeric-1-circle-outline":{"body":""},"numeric-10":{"body":""},"numeric-10-box":{"body":""},"numeric-10-box-multiple":{"body":""},"numeric-10-box-multiple-outline":{"body":""},"numeric-10-box-outline":{"body":""},"numeric-10-circle":{"body":""},"numeric-10-circle-outline":{"body":""},"numeric-2":{"body":""},"numeric-2-box":{"body":""},"numeric-2-box-multiple":{"body":""},"numeric-2-box-multiple-outline":{"body":""},"numeric-2-box-outline":{"body":""},"numeric-2-circle":{"body":""},"numeric-2-circle-outline":{"body":""},"numeric-3":{"body":""},"numeric-3-box":{"body":""},"numeric-3-box-multiple":{"body":""},"numeric-3-box-multiple-outline":{"body":""},"numeric-3-box-outline":{"body":""},"numeric-3-circle":{"body":""},"numeric-3-circle-outline":{"body":""},"numeric-4":{"body":""},"numeric-4-box":{"body":""},"numeric-4-box-multiple":{"body":""},"numeric-4-box-multiple-outline":{"body":""},"numeric-4-box-outline":{"body":""},"numeric-4-circle":{"body":""},"numeric-4-circle-outline":{"body":""},"numeric-5":{"body":""},"numeric-5-box":{"body":""},"numeric-5-box-multiple":{"body":""},"numeric-5-box-multiple-outline":{"body":""},"numeric-5-box-outline":{"body":""},"numeric-5-circle":{"body":""},"numeric-5-circle-outline":{"body":""},"numeric-6":{"body":""},"numeric-6-box":{"body":""},"numeric-6-box-multiple":{"body":""},"numeric-6-box-multiple-outline":{"body":""},"numeric-6-box-outline":{"body":""},"numeric-6-circle":{"body":""},"numeric-6-circle-outline":{"body":""},"numeric-7":{"body":""},"numeric-7-box":{"body":""},"numeric-7-box-multiple":{"body":""},"numeric-7-box-multiple-outline":{"body":""},"numeric-7-box-outline":{"body":""},"numeric-7-circle":{"body":""},"numeric-7-circle-outline":{"body":""},"numeric-8":{"body":""},"numeric-8-box":{"body":""},"numeric-8-box-multiple":{"body":""},"numeric-8-box-multiple-outline":{"body":""},"numeric-8-box-outline":{"body":""},"numeric-8-circle":{"body":""},"numeric-8-circle-outline":{"body":""},"numeric-9":{"body":""},"numeric-9-box":{"body":""},"numeric-9-box-multiple":{"body":""},"numeric-9-box-multiple-outline":{"body":""},"numeric-9-box-outline":{"body":""},"numeric-9-circle":{"body":""},"numeric-9-circle-outline":{"body":""},"numeric-9-plus":{"body":""},"numeric-9-plus-box":{"body":""},"numeric-9-plus-box-multiple":{"body":""},"numeric-9-plus-box-multiple-outline":{"body":""},"numeric-9-plus-box-outline":{"body":""},"numeric-9-plus-circle":{"body":""},"numeric-9-plus-circle-outline":{"body":""},"numeric-negative-1":{"body":""},"numeric-off":{"body":""},"numeric-positive-1":{"body":""},"nut":{"body":""},"nutrition":{"body":""},"nuxt":{"body":""},"oar":{"body":""},"ocarina":{"body":""},"oci":{"body":""},"ocr":{"body":""},"octagon":{"body":""},"octagon-outline":{"body":""},"octagram":{"body":""},"octagram-outline":{"body":""},"octahedron":{"body":""},"octahedron-off":{"body":""},"odnoklassniki":{"body":""},"offer":{"body":""},"office-building":{"body":""},"office-building-cog":{"body":""},"office-building-cog-outline":{"body":""},"office-building-marker":{"body":""},"office-building-marker-outline":{"body":""},"office-building-minus":{"body":""},"office-building-minus-outline":{"body":""},"office-building-outline":{"body":""},"office-building-plus":{"body":""},"office-building-plus-outline":{"body":""},"office-building-remove":{"body":""},"office-building-remove-outline":{"body":""},"oil":{"body":""},"oil-lamp":{"body":""},"oil-level":{"body":""},"oil-temperature":{"body":""},"om":{"body":""},"omega":{"body":""},"one-up":{"body":""},"onedrive":{"body":"","hidden":true},"onenote":{"body":"","hidden":true},"onepassword":{"body":""},"opacity":{"body":""},"open-in-app":{"body":""},"open-in-new":{"body":""},"open-source-initiative":{"body":""},"openid":{"body":""},"opera":{"body":""},"orbit":{"body":""},"orbit-variant":{"body":""},"order-alphabetical-ascending":{"body":""},"order-alphabetical-descending":{"body":""},"order-bool-ascending":{"body":""},"order-bool-ascending-variant":{"body":""},"order-bool-descending":{"body":""},"order-bool-descending-variant":{"body":""},"order-numeric-ascending":{"body":""},"order-numeric-descending":{"body":""},"origin":{"body":""},"ornament":{"body":""},"ornament-variant":{"body":""},"outbox":{"body":"","hidden":true},"outdent":{"body":"","hidden":true},"outdoor-lamp":{"body":""},"outlook":{"body":"","hidden":true},"overscan":{"body":""},"owl":{"body":""},"pac-man":{"body":""},"package":{"body":""},"package-check":{"body":""},"package-down":{"body":""},"package-up":{"body":""},"package-variant":{"body":""},"package-variant-closed":{"body":""},"package-variant-closed-check":{"body":""},"package-variant-closed-minus":{"body":""},"package-variant-closed-plus":{"body":""},"package-variant-closed-remove":{"body":""},"package-variant-minus":{"body":""},"package-variant-plus":{"body":""},"package-variant-remove":{"body":""},"page-first":{"body":""},"page-last":{"body":""},"page-layout-body":{"body":""},"page-layout-footer":{"body":""},"page-layout-header":{"body":""},"page-layout-header-footer":{"body":""},"page-layout-sidebar-left":{"body":""},"page-layout-sidebar-right":{"body":""},"page-next":{"body":""},"page-next-outline":{"body":""},"page-previous":{"body":""},"page-previous-outline":{"body":""},"pail":{"body":""},"pail-minus":{"body":""},"pail-minus-outline":{"body":""},"pail-off":{"body":""},"pail-off-outline":{"body":""},"pail-outline":{"body":""},"pail-plus":{"body":""},"pail-plus-outline":{"body":""},"pail-remove":{"body":""},"pail-remove-outline":{"body":""},"palette":{"body":""},"palette-advanced":{"body":""},"palette-outline":{"body":""},"palette-swatch":{"body":""},"palette-swatch-outline":{"body":""},"palette-swatch-variant":{"body":""},"palm-tree":{"body":""},"pan":{"body":""},"pan-bottom-left":{"body":""},"pan-bottom-right":{"body":""},"pan-down":{"body":""},"pan-horizontal":{"body":""},"pan-left":{"body":""},"pan-right":{"body":""},"pan-top-left":{"body":""},"pan-top-right":{"body":""},"pan-up":{"body":""},"pan-vertical":{"body":""},"panda":{"body":""},"pandora":{"body":""},"panorama":{"body":""},"panorama-fisheye":{"body":""},"panorama-horizontal":{"body":""},"panorama-horizontal-outline":{"body":""},"panorama-outline":{"body":""},"panorama-sphere":{"body":""},"panorama-sphere-outline":{"body":""},"panorama-variant":{"body":""},"panorama-variant-outline":{"body":""},"panorama-vertical":{"body":""},"panorama-vertical-outline":{"body":""},"panorama-wide-angle":{"body":""},"panorama-wide-angle-outline":{"body":""},"paper-cut-vertical":{"body":""},"paper-roll":{"body":""},"paper-roll-outline":{"body":""},"paperclip":{"body":""},"paperclip-check":{"body":""},"paperclip-lock":{"body":""},"paperclip-minus":{"body":""},"paperclip-off":{"body":""},"paperclip-plus":{"body":""},"paperclip-remove":{"body":""},"parachute":{"body":""},"parachute-outline":{"body":""},"paragliding":{"body":""},"parking":{"body":""},"party-popper":{"body":""},"passport":{"body":""},"passport-biometric":{"body":""},"pasta":{"body":""},"patio-heater":{"body":""},"patreon":{"body":""},"pause":{"body":""},"pause-box":{"body":""},"pause-box-outline":{"body":""},"pause-circle":{"body":""},"pause-circle-outline":{"body":""},"pause-octagon":{"body":""},"pause-octagon-outline":{"body":""},"paw":{"body":""},"paw-off":{"body":""},"paw-off-outline":{"body":""},"paw-outline":{"body":""},"paypal":{"body":"","hidden":true},"peace":{"body":""},"peanut":{"body":""},"peanut-off":{"body":""},"peanut-off-outline":{"body":""},"peanut-outline":{"body":""},"pen":{"body":""},"pen-lock":{"body":""},"pen-minus":{"body":""},"pen-off":{"body":""},"pen-plus":{"body":""},"pen-remove":{"body":""},"pencil":{"body":""},"pencil-box":{"body":""},"pencil-box-multiple":{"body":""},"pencil-box-multiple-outline":{"body":""},"pencil-box-outline":{"body":""},"pencil-circle":{"body":""},"pencil-circle-outline":{"body":""},"pencil-lock":{"body":""},"pencil-lock-outline":{"body":""},"pencil-minus":{"body":""},"pencil-minus-outline":{"body":""},"pencil-off":{"body":""},"pencil-off-outline":{"body":""},"pencil-outline":{"body":""},"pencil-plus":{"body":""},"pencil-plus-outline":{"body":""},"pencil-remove":{"body":""},"pencil-remove-outline":{"body":""},"pencil-ruler":{"body":""},"pencil-ruler-outline":{"body":""},"penguin":{"body":""},"pentagon":{"body":""},"pentagon-outline":{"body":""},"pentagram":{"body":""},"percent":{"body":""},"percent-box":{"body":""},"percent-box-outline":{"body":""},"percent-circle":{"body":""},"percent-circle-outline":{"body":""},"percent-outline":{"body":""},"periodic-table":{"body":""},"periscope":{"body":"","hidden":true},"perspective-less":{"body":""},"perspective-more":{"body":""},"ph":{"body":""},"phone":{"body":""},"phone-alert":{"body":""},"phone-alert-outline":{"body":""},"phone-bluetooth":{"body":""},"phone-bluetooth-outline":{"body":""},"phone-cancel":{"body":""},"phone-cancel-outline":{"body":""},"phone-check":{"body":""},"phone-check-outline":{"body":""},"phone-classic":{"body":""},"phone-classic-off":{"body":""},"phone-clock":{"body":""},"phone-dial":{"body":""},"phone-dial-outline":{"body":""},"phone-forward":{"body":""},"phone-forward-outline":{"body":""},"phone-hangup":{"body":""},"phone-hangup-outline":{"body":""},"phone-in-talk":{"body":""},"phone-in-talk-outline":{"body":""},"phone-incoming":{"body":""},"phone-incoming-outgoing":{"body":""},"phone-incoming-outgoing-outline":{"body":""},"phone-incoming-outline":{"body":""},"phone-lock":{"body":""},"phone-lock-outline":{"body":""},"phone-log":{"body":""},"phone-log-outline":{"body":""},"phone-message":{"body":""},"phone-message-outline":{"body":""},"phone-minus":{"body":""},"phone-minus-outline":{"body":""},"phone-missed":{"body":""},"phone-missed-outline":{"body":""},"phone-off":{"body":""},"phone-off-outline":{"body":""},"phone-outgoing":{"body":""},"phone-outgoing-outline":{"body":""},"phone-outline":{"body":""},"phone-paused":{"body":""},"phone-paused-outline":{"body":""},"phone-plus":{"body":""},"phone-plus-outline":{"body":""},"phone-refresh":{"body":""},"phone-refresh-outline":{"body":""},"phone-remove":{"body":""},"phone-remove-outline":{"body":""},"phone-return":{"body":""},"phone-return-outline":{"body":""},"phone-ring":{"body":""},"phone-ring-outline":{"body":""},"phone-rotate-landscape":{"body":""},"phone-rotate-portrait":{"body":""},"phone-settings":{"body":""},"phone-settings-outline":{"body":""},"phone-sync":{"body":""},"phone-sync-outline":{"body":""},"phone-voip":{"body":""},"pi":{"body":""},"pi-box":{"body":""},"pi-hole":{"body":""},"piano":{"body":""},"piano-off":{"body":""},"pickaxe":{"body":""},"picture-in-picture-bottom-right":{"body":""},"picture-in-picture-bottom-right-outline":{"body":""},"picture-in-picture-top-right":{"body":""},"picture-in-picture-top-right-outline":{"body":""},"pier":{"body":""},"pier-crane":{"body":""},"pig":{"body":""},"pig-variant":{"body":""},"pig-variant-outline":{"body":""},"piggy-bank":{"body":""},"piggy-bank-outline":{"body":""},"pill":{"body":""},"pill-multiple":{"body":""},"pill-off":{"body":""},"pillar":{"body":""},"pin":{"body":""},"pin-off":{"body":""},"pin-off-outline":{"body":""},"pin-outline":{"body":""},"pine-tree":{"body":""},"pine-tree-box":{"body":""},"pine-tree-fire":{"body":""},"pinterest":{"body":""},"pinterest-box":{"body":"","hidden":true},"pinwheel":{"body":""},"pinwheel-outline":{"body":""},"pipe":{"body":""},"pipe-disconnected":{"body":""},"pipe-leak":{"body":""},"pipe-valve":{"body":""},"pipe-wrench":{"body":""},"pirate":{"body":""},"pistol":{"body":""},"piston":{"body":""},"pitchfork":{"body":""},"pizza":{"body":""},"plane-car":{"body":""},"plane-train":{"body":""},"play":{"body":""},"play-box":{"body":""},"play-box-lock":{"body":""},"play-box-lock-open":{"body":""},"play-box-lock-open-outline":{"body":""},"play-box-lock-outline":{"body":""},"play-box-multiple":{"body":""},"play-box-multiple-outline":{"body":""},"play-box-outline":{"body":""},"play-circle":{"body":""},"play-circle-outline":{"body":""},"play-network":{"body":""},"play-network-outline":{"body":""},"play-outline":{"body":""},"play-pause":{"body":""},"play-protected-content":{"body":""},"play-speed":{"body":""},"playlist-check":{"body":""},"playlist-edit":{"body":""},"playlist-minus":{"body":""},"playlist-music":{"body":""},"playlist-music-outline":{"body":""},"playlist-play":{"body":""},"playlist-plus":{"body":""},"playlist-remove":{"body":""},"playlist-star":{"body":""},"plex":{"body":""},"pliers":{"body":""},"plus":{"body":""},"plus-box":{"body":""},"plus-box-multiple":{"body":""},"plus-box-multiple-outline":{"body":""},"plus-box-outline":{"body":""},"plus-circle":{"body":""},"plus-circle-multiple":{"body":""},"plus-circle-multiple-outline":{"body":""},"plus-circle-outline":{"body":""},"plus-lock":{"body":""},"plus-lock-open":{"body":""},"plus-minus":{"body":""},"plus-minus-box":{"body":""},"plus-minus-variant":{"body":""},"plus-network":{"body":""},"plus-network-outline":{"body":""},"plus-outline":{"body":""},"plus-thick":{"body":""},"pocket":{"body":"","hidden":true},"podcast":{"body":""},"podium":{"body":""},"podium-bronze":{"body":""},"podium-gold":{"body":""},"podium-silver":{"body":""},"point-of-sale":{"body":""},"pokeball":{"body":""},"pokemon-go":{"body":""},"poker-chip":{"body":""},"polaroid":{"body":""},"police-badge":{"body":""},"police-badge-outline":{"body":""},"police-station":{"body":""},"poll":{"body":""},"polo":{"body":""},"polymer":{"body":""},"pool":{"body":""},"pool-thermometer":{"body":""},"popcorn":{"body":""},"post":{"body":""},"post-lamp":{"body":""},"post-outline":{"body":""},"postage-stamp":{"body":""},"pot":{"body":""},"pot-mix":{"body":""},"pot-mix-outline":{"body":""},"pot-outline":{"body":""},"pot-steam":{"body":""},"pot-steam-outline":{"body":""},"pound":{"body":""},"pound-box":{"body":""},"pound-box-outline":{"body":""},"power":{"body":""},"power-cycle":{"body":""},"power-off":{"body":""},"power-on":{"body":""},"power-plug":{"body":""},"power-plug-off":{"body":""},"power-plug-off-outline":{"body":""},"power-plug-outline":{"body":""},"power-settings":{"body":""},"power-sleep":{"body":""},"power-socket":{"body":""},"power-socket-au":{"body":""},"power-socket-ch":{"body":""},"power-socket-de":{"body":""},"power-socket-eu":{"body":""},"power-socket-fr":{"body":""},"power-socket-it":{"body":""},"power-socket-jp":{"body":""},"power-socket-uk":{"body":""},"power-socket-us":{"body":""},"power-standby":{"body":""},"powershell":{"body":""},"prescription":{"body":""},"presentation":{"body":""},"presentation-play":{"body":""},"pretzel":{"body":""},"prezi":{"body":"","hidden":true},"printer":{"body":""},"printer-3d":{"body":""},"printer-3d-nozzle":{"body":""},"printer-3d-nozzle-alert":{"body":""},"printer-3d-nozzle-alert-outline":{"body":""},"printer-3d-nozzle-heat":{"body":""},"printer-3d-nozzle-heat-outline":{"body":""},"printer-3d-nozzle-off":{"body":""},"printer-3d-nozzle-off-outline":{"body":""},"printer-3d-nozzle-outline":{"body":""},"printer-3d-off":{"body":""},"printer-alert":{"body":""},"printer-check":{"body":""},"printer-eye":{"body":""},"printer-off":{"body":""},"printer-off-outline":{"body":""},"printer-outline":{"body":""},"printer-pos":{"body":""},"printer-pos-alert":{"body":""},"printer-pos-alert-outline":{"body":""},"printer-pos-cancel":{"body":""},"printer-pos-cancel-outline":{"body":""},"printer-pos-check":{"body":""},"printer-pos-check-outline":{"body":""},"printer-pos-cog":{"body":""},"printer-pos-cog-outline":{"body":""},"printer-pos-edit":{"body":""},"printer-pos-edit-outline":{"body":""},"printer-pos-minus":{"body":""},"printer-pos-minus-outline":{"body":""},"printer-pos-network":{"body":""},"printer-pos-network-outline":{"body":""},"printer-pos-off":{"body":""},"printer-pos-off-outline":{"body":""},"printer-pos-outline":{"body":""},"printer-pos-pause":{"body":""},"printer-pos-pause-outline":{"body":""},"printer-pos-play":{"body":""},"printer-pos-play-outline":{"body":""},"printer-pos-plus":{"body":""},"printer-pos-plus-outline":{"body":""},"printer-pos-refresh":{"body":""},"printer-pos-refresh-outline":{"body":""},"printer-pos-remove":{"body":""},"printer-pos-remove-outline":{"body":""},"printer-pos-star":{"body":""},"printer-pos-star-outline":{"body":""},"printer-pos-stop":{"body":""},"printer-pos-stop-outline":{"body":""},"printer-pos-sync":{"body":""},"printer-pos-sync-outline":{"body":""},"printer-pos-wrench":{"body":""},"printer-pos-wrench-outline":{"body":""},"printer-search":{"body":""},"printer-settings":{"body":""},"printer-wireless":{"body":""},"priority-high":{"body":""},"priority-low":{"body":""},"professional-hexagon":{"body":""},"progress-alert":{"body":""},"progress-check":{"body":""},"progress-clock":{"body":""},"progress-close":{"body":""},"progress-download":{"body":""},"progress-helper":{"body":""},"progress-pencil":{"body":""},"progress-question":{"body":""},"progress-star":{"body":""},"progress-upload":{"body":""},"progress-wrench":{"body":""},"projector":{"body":""},"projector-off":{"body":""},"projector-screen":{"body":""},"projector-screen-off":{"body":""},"projector-screen-off-outline":{"body":""},"projector-screen-outline":{"body":""},"projector-screen-variant":{"body":""},"projector-screen-variant-off":{"body":""},"projector-screen-variant-off-outline":{"body":""},"projector-screen-variant-outline":{"body":""},"propane-tank":{"body":""},"propane-tank-outline":{"body":""},"protocol":{"body":""},"publish":{"body":""},"publish-off":{"body":""},"pulse":{"body":""},"pump":{"body":""},"pump-off":{"body":""},"pumpkin":{"body":""},"purse":{"body":""},"purse-outline":{"body":""},"puzzle":{"body":""},"puzzle-check":{"body":""},"puzzle-check-outline":{"body":""},"puzzle-edit":{"body":""},"puzzle-edit-outline":{"body":""},"puzzle-heart":{"body":""},"puzzle-heart-outline":{"body":""},"puzzle-minus":{"body":""},"puzzle-minus-outline":{"body":""},"puzzle-outline":{"body":""},"puzzle-plus":{"body":""},"puzzle-plus-outline":{"body":""},"puzzle-remove":{"body":""},"puzzle-remove-outline":{"body":""},"puzzle-star":{"body":""},"puzzle-star-outline":{"body":""},"pyramid":{"body":""},"pyramid-off":{"body":""},"qi":{"body":""},"qqchat":{"body":""},"qrcode":{"body":""},"qrcode-edit":{"body":""},"qrcode-minus":{"body":""},"qrcode-plus":{"body":""},"qrcode-remove":{"body":""},"qrcode-scan":{"body":""},"quadcopter":{"body":""},"quality-high":{"body":""},"quality-low":{"body":""},"quality-medium":{"body":""},"quick-reply":{"body":"","hidden":true},"quicktime":{"body":"","hidden":true},"quora":{"body":""},"rabbit":{"body":""},"rabbit-variant":{"body":""},"rabbit-variant-outline":{"body":""},"racing-helmet":{"body":""},"racquetball":{"body":""},"radar":{"body":""},"radiator":{"body":""},"radiator-disabled":{"body":""},"radiator-off":{"body":""},"radio":{"body":""},"radio-am":{"body":""},"radio-fm":{"body":""},"radio-handheld":{"body":""},"radio-off":{"body":""},"radio-tower":{"body":""},"radioactive":{"body":""},"radioactive-circle":{"body":""},"radioactive-circle-outline":{"body":""},"radioactive-off":{"body":""},"radiobox-blank":{"body":""},"radiobox-marked":{"body":""},"radiology-box":{"body":""},"radiology-box-outline":{"body":""},"radius":{"body":""},"radius-outline":{"body":""},"railroad-light":{"body":""},"rake":{"body":""},"raspberry-pi":{"body":""},"raw":{"body":""},"raw-off":{"body":""},"ray-end":{"body":""},"ray-end-arrow":{"body":""},"ray-start":{"body":""},"ray-start-arrow":{"body":""},"ray-start-end":{"body":""},"ray-start-vertex-end":{"body":""},"ray-vertex":{"body":""},"razor-double-edge":{"body":""},"razor-single-edge":{"body":""},"rdio":{"body":"","hidden":true},"react":{"body":""},"read":{"body":""},"receipt":{"body":""},"receipt-outline":{"body":""},"receipt-text":{"body":""},"receipt-text-check":{"body":""},"receipt-text-check-outline":{"body":""},"receipt-text-minus":{"body":""},"receipt-text-minus-outline":{"body":""},"receipt-text-outline":{"body":""},"receipt-text-plus":{"body":""},"receipt-text-plus-outline":{"body":""},"receipt-text-remove":{"body":""},"receipt-text-remove-outline":{"body":""},"record":{"body":""},"record-circle":{"body":""},"record-circle-outline":{"body":""},"record-player":{"body":""},"record-rec":{"body":""},"rectangle":{"body":""},"rectangle-outline":{"body":""},"recycle":{"body":""},"recycle-variant":{"body":""},"reddit":{"body":""},"redhat":{"body":""},"redo":{"body":""},"redo-variant":{"body":""},"reflect-horizontal":{"body":""},"reflect-vertical":{"body":""},"refresh":{"body":""},"refresh-auto":{"body":""},"refresh-circle":{"body":""},"regex":{"body":""},"registered-trademark":{"body":""},"reiterate":{"body":""},"relation-many-to-many":{"body":""},"relation-many-to-one":{"body":""},"relation-many-to-one-or-many":{"body":""},"relation-many-to-only-one":{"body":""},"relation-many-to-zero-or-many":{"body":""},"relation-many-to-zero-or-one":{"body":""},"relation-one-or-many-to-many":{"body":""},"relation-one-or-many-to-one":{"body":""},"relation-one-or-many-to-one-or-many":{"body":""},"relation-one-or-many-to-only-one":{"body":""},"relation-one-or-many-to-zero-or-many":{"body":""},"relation-one-or-many-to-zero-or-one":{"body":""},"relation-one-to-many":{"body":""},"relation-one-to-one":{"body":""},"relation-one-to-one-or-many":{"body":""},"relation-one-to-only-one":{"body":""},"relation-one-to-zero-or-many":{"body":""},"relation-one-to-zero-or-one":{"body":""},"relation-only-one-to-many":{"body":""},"relation-only-one-to-one":{"body":""},"relation-only-one-to-one-or-many":{"body":""},"relation-only-one-to-only-one":{"body":""},"relation-only-one-to-zero-or-many":{"body":""},"relation-only-one-to-zero-or-one":{"body":""},"relation-zero-or-many-to-many":{"body":""},"relation-zero-or-many-to-one":{"body":""},"relation-zero-or-many-to-one-or-many":{"body":""},"relation-zero-or-many-to-only-one":{"body":""},"relation-zero-or-many-to-zero-or-many":{"body":""},"relation-zero-or-many-to-zero-or-one":{"body":""},"relation-zero-or-one-to-many":{"body":""},"relation-zero-or-one-to-one":{"body":""},"relation-zero-or-one-to-one-or-many":{"body":""},"relation-zero-or-one-to-only-one":{"body":""},"relation-zero-or-one-to-zero-or-many":{"body":""},"relation-zero-or-one-to-zero-or-one":{"body":""},"relative-scale":{"body":""},"reload":{"body":""},"reload-alert":{"body":""},"reminder":{"body":""},"remote":{"body":""},"remote-desktop":{"body":""},"remote-off":{"body":""},"remote-tv":{"body":""},"remote-tv-off":{"body":""},"rename":{"body":""},"rename-box":{"body":""},"rename-box-outline":{"body":""},"rename-outline":{"body":""},"reorder-horizontal":{"body":""},"reorder-vertical":{"body":""},"repeat":{"body":""},"repeat-off":{"body":""},"repeat-once":{"body":""},"repeat-variant":{"body":""},"replay":{"body":""},"reply":{"body":""},"reply-all":{"body":""},"reply-all-outline":{"body":""},"reply-circle":{"body":""},"reply-outline":{"body":""},"reproduction":{"body":""},"resistor":{"body":""},"resistor-nodes":{"body":""},"resize":{"body":""},"resize-bottom-right":{"body":""},"responsive":{"body":""},"restart":{"body":""},"restart-alert":{"body":""},"restart-off":{"body":""},"restore":{"body":""},"restore-alert":{"body":""},"rewind":{"body":""},"rewind-10":{"body":""},"rewind-15":{"body":""},"rewind-30":{"body":""},"rewind-45":{"body":""},"rewind-5":{"body":""},"rewind-60":{"body":""},"rewind-outline":{"body":""},"rhombus":{"body":""},"rhombus-medium":{"body":""},"rhombus-medium-outline":{"body":""},"rhombus-outline":{"body":""},"rhombus-split":{"body":""},"rhombus-split-outline":{"body":""},"ribbon":{"body":""},"rice":{"body":""},"rickshaw":{"body":""},"rickshaw-electric":{"body":""},"ring":{"body":""},"rivet":{"body":""},"road":{"body":""},"road-variant":{"body":""},"robber":{"body":""},"robot":{"body":""},"robot-angry":{"body":""},"robot-angry-outline":{"body":""},"robot-confused":{"body":""},"robot-confused-outline":{"body":""},"robot-dead":{"body":""},"robot-dead-outline":{"body":""},"robot-excited":{"body":""},"robot-excited-outline":{"body":""},"robot-happy":{"body":""},"robot-happy-outline":{"body":""},"robot-industrial":{"body":""},"robot-industrial-outline":{"body":""},"robot-love":{"body":""},"robot-love-outline":{"body":""},"robot-mower":{"body":""},"robot-mower-outline":{"body":""},"robot-off":{"body":""},"robot-off-outline":{"body":""},"robot-outline":{"body":""},"robot-vacuum":{"body":""},"robot-vacuum-alert":{"body":""},"robot-vacuum-off":{"body":""},"robot-vacuum-variant":{"body":""},"robot-vacuum-variant-alert":{"body":""},"robot-vacuum-variant-off":{"body":""},"rocket":{"body":""},"rocket-launch":{"body":""},"rocket-launch-outline":{"body":""},"rocket-outline":{"body":""},"rodent":{"body":""},"roller-shade":{"body":""},"roller-shade-closed":{"body":""},"roller-skate":{"body":""},"roller-skate-off":{"body":""},"rollerblade":{"body":""},"rollerblade-off":{"body":""},"rollupjs":{"body":""},"rolodex":{"body":""},"rolodex-outline":{"body":""},"roman-numeral-1":{"body":""},"roman-numeral-10":{"body":""},"roman-numeral-2":{"body":""},"roman-numeral-3":{"body":""},"roman-numeral-4":{"body":""},"roman-numeral-5":{"body":""},"roman-numeral-6":{"body":""},"roman-numeral-7":{"body":""},"roman-numeral-8":{"body":""},"roman-numeral-9":{"body":""},"room-service":{"body":""},"room-service-outline":{"body":""},"rotate-360":{"body":""},"rotate-3d":{"body":""},"rotate-3d-variant":{"body":""},"rotate-left":{"body":""},"rotate-left-variant":{"body":""},"rotate-orbit":{"body":""},"rotate-right":{"body":""},"rotate-right-variant":{"body":""},"rounded-corner":{"body":""},"router":{"body":""},"router-network":{"body":""},"router-wireless":{"body":""},"router-wireless-off":{"body":""},"router-wireless-settings":{"body":""},"routes":{"body":""},"routes-clock":{"body":""},"rowing":{"body":""},"rss":{"body":""},"rss-box":{"body":""},"rss-off":{"body":""},"rug":{"body":""},"rugby":{"body":""},"ruler":{"body":""},"ruler-square":{"body":""},"ruler-square-compass":{"body":""},"run":{"body":""},"run-fast":{"body":""},"rv-truck":{"body":""},"sack":{"body":""},"sack-percent":{"body":""},"safe":{"body":""},"safe-square":{"body":""},"safe-square-outline":{"body":""},"safety-goggles":{"body":""},"safety-googles":{"body":"","hidden":true},"sail-boat":{"body":""},"sail-boat-sink":{"body":""},"sale":{"body":""},"sale-outline":{"body":""},"salesforce":{"body":""},"sass":{"body":""},"satellite":{"body":""},"satellite-uplink":{"body":""},"satellite-variant":{"body":""},"sausage":{"body":""},"sausage-off":{"body":""},"saw-blade":{"body":""},"sawtooth-wave":{"body":""},"saxophone":{"body":""},"scale":{"body":""},"scale-balance":{"body":""},"scale-bathroom":{"body":""},"scale-off":{"body":""},"scale-unbalanced":{"body":""},"scan-helper":{"body":""},"scanner":{"body":""},"scanner-off":{"body":""},"scatter-plot":{"body":""},"scatter-plot-outline":{"body":""},"scent":{"body":""},"scent-off":{"body":""},"school":{"body":""},"school-outline":{"body":""},"scissors-cutting":{"body":""},"scooter":{"body":""},"scooter-electric":{"body":""},"scoreboard":{"body":""},"scoreboard-outline":{"body":""},"screen-rotation":{"body":""},"screen-rotation-lock":{"body":""},"screw-flat-top":{"body":""},"screw-lag":{"body":""},"screw-machine-flat-top":{"body":""},"screw-machine-round-top":{"body":""},"screw-round-top":{"body":""},"screwdriver":{"body":""},"script":{"body":""},"script-outline":{"body":""},"script-text":{"body":""},"script-text-key":{"body":""},"script-text-key-outline":{"body":""},"script-text-outline":{"body":""},"script-text-play":{"body":""},"script-text-play-outline":{"body":""},"sd":{"body":""},"seal":{"body":""},"seal-variant":{"body":""},"search-web":{"body":""},"seat":{"body":""},"seat-flat":{"body":""},"seat-flat-angled":{"body":""},"seat-individual-suite":{"body":""},"seat-legroom-extra":{"body":""},"seat-legroom-normal":{"body":""},"seat-legroom-reduced":{"body":""},"seat-outline":{"body":""},"seat-passenger":{"body":""},"seat-recline-extra":{"body":""},"seat-recline-normal":{"body":""},"seatbelt":{"body":""},"security":{"body":""},"security-close":{"body":"","hidden":true},"security-network":{"body":""},"seed":{"body":""},"seed-off":{"body":""},"seed-off-outline":{"body":""},"seed-outline":{"body":""},"seed-plus":{"body":""},"seed-plus-outline":{"body":""},"seesaw":{"body":""},"segment":{"body":""},"select":{"body":""},"select-all":{"body":""},"select-arrow-down":{"body":""},"select-arrow-up":{"body":""},"select-color":{"body":""},"select-compare":{"body":""},"select-drag":{"body":""},"select-group":{"body":""},"select-inverse":{"body":""},"select-marker":{"body":""},"select-multiple":{"body":""},"select-multiple-marker":{"body":""},"select-off":{"body":""},"select-place":{"body":""},"select-remove":{"body":""},"select-search":{"body":""},"selection":{"body":""},"selection-drag":{"body":""},"selection-ellipse":{"body":""},"selection-ellipse-arrow-inside":{"body":""},"selection-ellipse-remove":{"body":""},"selection-lasso":{"body":"","hidden":true},"selection-marker":{"body":""},"selection-multiple":{"body":""},"selection-multiple-marker":{"body":""},"selection-off":{"body":""},"selection-remove":{"body":""},"selection-search":{"body":""},"semantic-web":{"body":""},"send":{"body":""},"send-check":{"body":""},"send-check-outline":{"body":""},"send-circle":{"body":""},"send-circle-outline":{"body":""},"send-clock":{"body":""},"send-clock-outline":{"body":""},"send-lock":{"body":""},"send-lock-outline":{"body":""},"send-outline":{"body":""},"serial-port":{"body":""},"server":{"body":""},"server-minus":{"body":""},"server-network":{"body":""},"server-network-off":{"body":""},"server-off":{"body":""},"server-plus":{"body":""},"server-remove":{"body":""},"server-security":{"body":""},"set-all":{"body":""},"set-center":{"body":""},"set-center-right":{"body":""},"set-left":{"body":""},"set-left-center":{"body":""},"set-left-right":{"body":""},"set-merge":{"body":""},"set-none":{"body":""},"set-right":{"body":""},"set-split":{"body":""},"set-square":{"body":""},"set-top-box":{"body":""},"settings-helper":{"body":""},"shaker":{"body":""},"shaker-outline":{"body":""},"shape":{"body":""},"shape-circle-plus":{"body":""},"shape-outline":{"body":""},"shape-oval-plus":{"body":""},"shape-plus":{"body":""},"shape-polygon-plus":{"body":""},"shape-rectangle-plus":{"body":""},"shape-square-plus":{"body":""},"shape-square-rounded-plus":{"body":""},"share":{"body":""},"share-all":{"body":""},"share-all-outline":{"body":""},"share-circle":{"body":""},"share-off":{"body":""},"share-off-outline":{"body":""},"share-outline":{"body":""},"share-variant":{"body":""},"share-variant-outline":{"body":""},"shark":{"body":""},"shark-fin":{"body":""},"shark-fin-outline":{"body":""},"shark-off":{"body":""},"sheep":{"body":""},"shield":{"body":""},"shield-account":{"body":""},"shield-account-outline":{"body":""},"shield-account-variant":{"body":""},"shield-account-variant-outline":{"body":""},"shield-airplane":{"body":""},"shield-airplane-outline":{"body":""},"shield-alert":{"body":""},"shield-alert-outline":{"body":""},"shield-bug":{"body":""},"shield-bug-outline":{"body":""},"shield-car":{"body":""},"shield-check":{"body":""},"shield-check-outline":{"body":""},"shield-cross":{"body":""},"shield-cross-outline":{"body":""},"shield-crown":{"body":""},"shield-crown-outline":{"body":""},"shield-edit":{"body":""},"shield-edit-outline":{"body":""},"shield-half":{"body":""},"shield-half-full":{"body":""},"shield-home":{"body":""},"shield-home-outline":{"body":""},"shield-key":{"body":""},"shield-key-outline":{"body":""},"shield-link-variant":{"body":""},"shield-link-variant-outline":{"body":""},"shield-lock":{"body":""},"shield-lock-open":{"body":""},"shield-lock-open-outline":{"body":""},"shield-lock-outline":{"body":""},"shield-moon":{"body":""},"shield-moon-outline":{"body":""},"shield-off":{"body":""},"shield-off-outline":{"body":""},"shield-outline":{"body":""},"shield-plus":{"body":""},"shield-plus-outline":{"body":""},"shield-refresh":{"body":""},"shield-refresh-outline":{"body":""},"shield-remove":{"body":""},"shield-remove-outline":{"body":""},"shield-search":{"body":""},"shield-star":{"body":""},"shield-star-outline":{"body":""},"shield-sun":{"body":""},"shield-sun-outline":{"body":""},"shield-sword":{"body":""},"shield-sword-outline":{"body":""},"shield-sync":{"body":""},"shield-sync-outline":{"body":""},"shimmer":{"body":""},"ship-wheel":{"body":""},"shipping-pallet":{"body":""},"shoe-ballet":{"body":""},"shoe-cleat":{"body":""},"shoe-formal":{"body":""},"shoe-heel":{"body":""},"shoe-print":{"body":""},"shoe-sneaker":{"body":""},"shopify":{"body":"","hidden":true},"shopping":{"body":""},"shopping-music":{"body":""},"shopping-outline":{"body":""},"shopping-search":{"body":""},"shopping-search-outline":{"body":""},"shore":{"body":""},"shovel":{"body":""},"shovel-off":{"body":""},"shower":{"body":""},"shower-head":{"body":""},"shredder":{"body":""},"shuffle":{"body":""},"shuffle-disabled":{"body":""},"shuffle-variant":{"body":""},"shuriken":{"body":""},"sickle":{"body":""},"sigma":{"body":""},"sigma-lower":{"body":""},"sign-caution":{"body":""},"sign-direction":{"body":""},"sign-direction-minus":{"body":""},"sign-direction-plus":{"body":""},"sign-direction-remove":{"body":""},"sign-language":{"body":""},"sign-language-outline":{"body":""},"sign-pole":{"body":""},"sign-real-estate":{"body":""},"sign-text":{"body":""},"sign-yield":{"body":""},"signal":{"body":""},"signal-2g":{"body":""},"signal-3g":{"body":""},"signal-4g":{"body":""},"signal-5g":{"body":""},"signal-cellular-1":{"body":""},"signal-cellular-2":{"body":""},"signal-cellular-3":{"body":""},"signal-cellular-outline":{"body":""},"signal-distance-variant":{"body":""},"signal-hspa":{"body":""},"signal-hspa-plus":{"body":""},"signal-off":{"body":""},"signal-variant":{"body":""},"signature":{"body":""},"signature-freehand":{"body":""},"signature-image":{"body":""},"signature-text":{"body":""},"silo":{"body":""},"silo-outline":{"body":""},"silverware":{"body":""},"silverware-clean":{"body":""},"silverware-fork":{"body":""},"silverware-fork-knife":{"body":""},"silverware-spoon":{"body":""},"silverware-variant":{"body":""},"sim":{"body":""},"sim-alert":{"body":""},"sim-alert-outline":{"body":""},"sim-off":{"body":""},"sim-off-outline":{"body":""},"sim-outline":{"body":""},"simple-icons":{"body":""},"sina-weibo":{"body":""},"sine-wave":{"body":""},"sitemap":{"body":""},"sitemap-outline":{"body":""},"size-l":{"body":""},"size-m":{"body":""},"size-s":{"body":""},"size-xl":{"body":""},"size-xs":{"body":""},"size-xxl":{"body":""},"size-xxs":{"body":""},"size-xxxl":{"body":""},"skate":{"body":""},"skate-off":{"body":""},"skateboard":{"body":""},"skateboarding":{"body":""},"skew-less":{"body":""},"skew-more":{"body":""},"ski":{"body":""},"ski-cross-country":{"body":""},"ski-water":{"body":""},"skip-backward":{"body":""},"skip-backward-outline":{"body":""},"skip-forward":{"body":""},"skip-forward-outline":{"body":""},"skip-next":{"body":""},"skip-next-circle":{"body":""},"skip-next-circle-outline":{"body":""},"skip-next-outline":{"body":""},"skip-previous":{"body":""},"skip-previous-circle":{"body":""},"skip-previous-circle-outline":{"body":""},"skip-previous-outline":{"body":""},"skull":{"body":""},"skull-crossbones":{"body":""},"skull-crossbones-outline":{"body":""},"skull-outline":{"body":""},"skull-scan":{"body":""},"skull-scan-outline":{"body":""},"skype":{"body":""},"skype-business":{"body":""},"slack":{"body":""},"slackware":{"body":"","hidden":true},"slash-forward":{"body":""},"slash-forward-box":{"body":""},"sledding":{"body":""},"sleep":{"body":""},"sleep-off":{"body":""},"slide":{"body":""},"slope-downhill":{"body":""},"slope-uphill":{"body":""},"slot-machine":{"body":""},"slot-machine-outline":{"body":""},"smart-card":{"body":""},"smart-card-off":{"body":""},"smart-card-off-outline":{"body":""},"smart-card-outline":{"body":""},"smart-card-reader":{"body":""},"smart-card-reader-outline":{"body":""},"smog":{"body":""},"smoke":{"body":""},"smoke-detector":{"body":""},"smoke-detector-alert":{"body":""},"smoke-detector-alert-outline":{"body":""},"smoke-detector-off":{"body":""},"smoke-detector-off-outline":{"body":""},"smoke-detector-outline":{"body":""},"smoke-detector-variant":{"body":""},"smoke-detector-variant-alert":{"body":""},"smoke-detector-variant-off":{"body":""},"smoking":{"body":""},"smoking-off":{"body":""},"smoking-pipe":{"body":""},"smoking-pipe-off":{"body":""},"snail":{"body":""},"snake":{"body":""},"snapchat":{"body":""},"snowboard":{"body":""},"snowflake":{"body":""},"snowflake-alert":{"body":""},"snowflake-check":{"body":""},"snowflake-melt":{"body":""},"snowflake-off":{"body":""},"snowflake-thermometer":{"body":""},"snowflake-variant":{"body":""},"snowman":{"body":""},"snowmobile":{"body":""},"snowshoeing":{"body":""},"soccer":{"body":""},"soccer-field":{"body":""},"social-distance-2-meters":{"body":""},"social-distance-6-feet":{"body":""},"sofa":{"body":""},"sofa-outline":{"body":""},"sofa-single":{"body":""},"sofa-single-outline":{"body":""},"solar-panel":{"body":""},"solar-panel-large":{"body":""},"solar-power":{"body":""},"solar-power-variant":{"body":""},"solar-power-variant-outline":{"body":""},"soldering-iron":{"body":""},"solid":{"body":""},"sony-playstation":{"body":""},"sort":{"body":""},"sort-alphabetical-ascending":{"body":""},"sort-alphabetical-ascending-variant":{"body":""},"sort-alphabetical-descending":{"body":""},"sort-alphabetical-descending-variant":{"body":""},"sort-alphabetical-variant":{"body":""},"sort-ascending":{"body":""},"sort-bool-ascending":{"body":""},"sort-bool-ascending-variant":{"body":""},"sort-bool-descending":{"body":""},"sort-bool-descending-variant":{"body":""},"sort-calendar-ascending":{"body":""},"sort-calendar-descending":{"body":""},"sort-clock-ascending":{"body":""},"sort-clock-ascending-outline":{"body":""},"sort-clock-descending":{"body":""},"sort-clock-descending-outline":{"body":""},"sort-descending":{"body":""},"sort-numeric-ascending":{"body":""},"sort-numeric-ascending-variant":{"body":""},"sort-numeric-descending":{"body":""},"sort-numeric-descending-variant":{"body":""},"sort-numeric-variant":{"body":""},"sort-reverse-variant":{"body":""},"sort-variant":{"body":""},"sort-variant-lock":{"body":""},"sort-variant-lock-open":{"body":""},"sort-variant-off":{"body":""},"sort-variant-remove":{"body":""},"soundbar":{"body":""},"soundcloud":{"body":""},"source-branch":{"body":""},"source-branch-check":{"body":""},"source-branch-minus":{"body":""},"source-branch-plus":{"body":""},"source-branch-refresh":{"body":""},"source-branch-remove":{"body":""},"source-branch-sync":{"body":""},"source-commit":{"body":""},"source-commit-end":{"body":""},"source-commit-end-local":{"body":""},"source-commit-local":{"body":""},"source-commit-next-local":{"body":""},"source-commit-start":{"body":""},"source-commit-start-next-local":{"body":""},"source-fork":{"body":""},"source-merge":{"body":""},"source-pull":{"body":""},"source-repository":{"body":""},"source-repository-multiple":{"body":""},"soy-sauce":{"body":""},"soy-sauce-off":{"body":""},"spa":{"body":""},"spa-outline":{"body":""},"space-invaders":{"body":""},"space-station":{"body":""},"spade":{"body":""},"speaker":{"body":""},"speaker-bluetooth":{"body":""},"speaker-message":{"body":""},"speaker-multiple":{"body":""},"speaker-off":{"body":""},"speaker-pause":{"body":""},"speaker-play":{"body":""},"speaker-stop":{"body":""},"speaker-wireless":{"body":""},"spear":{"body":""},"speedometer":{"body":""},"speedometer-medium":{"body":""},"speedometer-slow":{"body":""},"spellcheck":{"body":""},"sphere":{"body":""},"sphere-off":{"body":""},"spider":{"body":""},"spider-thread":{"body":""},"spider-web":{"body":""},"spirit-level":{"body":""},"split-horizontal":{"body":"","hidden":true},"split-vertical":{"body":"","hidden":true},"spoon-sugar":{"body":""},"spotify":{"body":""},"spotlight":{"body":""},"spotlight-beam":{"body":""},"spray":{"body":""},"spray-bottle":{"body":""},"spreadsheet":{"body":"","hidden":true},"sprinkler":{"body":""},"sprinkler-fire":{"body":""},"sprinkler-variant":{"body":""},"sprout":{"body":""},"sprout-outline":{"body":""},"square":{"body":""},"square-circle":{"body":""},"square-edit-outline":{"body":""},"square-inc":{"body":"","hidden":true},"square-inc-cash":{"body":"","hidden":true},"square-medium":{"body":""},"square-medium-outline":{"body":""},"square-off":{"body":""},"square-off-outline":{"body":""},"square-opacity":{"body":""},"square-outline":{"body":""},"square-root":{"body":""},"square-root-box":{"body":""},"square-rounded":{"body":""},"square-rounded-badge":{"body":""},"square-rounded-badge-outline":{"body":""},"square-rounded-outline":{"body":""},"square-small":{"body":""},"square-wave":{"body":""},"squeegee":{"body":""},"ssh":{"body":""},"stack-exchange":{"body":""},"stack-overflow":{"body":""},"stackpath":{"body":""},"stadium":{"body":""},"stadium-outline":{"body":""},"stadium-variant":{"body":""},"stairs":{"body":""},"stairs-box":{"body":""},"stairs-down":{"body":""},"stairs-up":{"body":""},"stamper":{"body":""},"standard-definition":{"body":""},"star":{"body":""},"star-box":{"body":""},"star-box-multiple":{"body":""},"star-box-multiple-outline":{"body":""},"star-box-outline":{"body":""},"star-check":{"body":""},"star-check-outline":{"body":""},"star-circle":{"body":""},"star-circle-outline":{"body":""},"star-cog":{"body":""},"star-cog-outline":{"body":""},"star-crescent":{"body":""},"star-david":{"body":""},"star-face":{"body":""},"star-four-points":{"body":""},"star-four-points-outline":{"body":""},"star-half":{"body":""},"star-half-full":{"body":""},"star-minus":{"body":""},"star-minus-outline":{"body":""},"star-off":{"body":""},"star-off-outline":{"body":""},"star-outline":{"body":""},"star-plus":{"body":""},"star-plus-outline":{"body":""},"star-remove":{"body":""},"star-remove-outline":{"body":""},"star-settings":{"body":""},"star-settings-outline":{"body":""},"star-shooting":{"body":""},"star-shooting-outline":{"body":""},"star-three-points":{"body":""},"star-three-points-outline":{"body":""},"state-machine":{"body":""},"steam":{"body":""},"steam-box":{"body":"","hidden":true},"steering":{"body":""},"steering-off":{"body":""},"step-backward":{"body":""},"step-backward-2":{"body":""},"step-forward":{"body":""},"step-forward-2":{"body":""},"stethoscope":{"body":""},"sticker":{"body":""},"sticker-alert":{"body":""},"sticker-alert-outline":{"body":""},"sticker-check":{"body":""},"sticker-check-outline":{"body":""},"sticker-circle-outline":{"body":""},"sticker-emoji":{"body":""},"sticker-minus":{"body":""},"sticker-minus-outline":{"body":""},"sticker-outline":{"body":""},"sticker-plus":{"body":""},"sticker-plus-outline":{"body":""},"sticker-remove":{"body":""},"sticker-remove-outline":{"body":""},"sticker-text":{"body":""},"sticker-text-outline":{"body":""},"stocking":{"body":""},"stomach":{"body":""},"stool":{"body":""},"stool-outline":{"body":""},"stop":{"body":""},"stop-circle":{"body":""},"stop-circle-outline":{"body":""},"storage-tank":{"body":""},"storage-tank-outline":{"body":""},"store":{"body":""},"store-24-hour":{"body":""},"store-alert":{"body":""},"store-alert-outline":{"body":""},"store-check":{"body":""},"store-check-outline":{"body":""},"store-clock":{"body":""},"store-clock-outline":{"body":""},"store-cog":{"body":""},"store-cog-outline":{"body":""},"store-edit":{"body":""},"store-edit-outline":{"body":""},"store-marker":{"body":""},"store-marker-outline":{"body":""},"store-minus":{"body":""},"store-minus-outline":{"body":""},"store-off":{"body":""},"store-off-outline":{"body":""},"store-outline":{"body":""},"store-plus":{"body":""},"store-plus-outline":{"body":""},"store-remove":{"body":""},"store-remove-outline":{"body":""},"store-search":{"body":""},"store-search-outline":{"body":""},"store-settings":{"body":""},"store-settings-outline":{"body":""},"storefront":{"body":""},"storefront-check":{"body":""},"storefront-check-outline":{"body":""},"storefront-edit":{"body":""},"storefront-edit-outline":{"body":""},"storefront-minus":{"body":""},"storefront-minus-outline":{"body":""},"storefront-outline":{"body":""},"storefront-plus":{"body":""},"storefront-plus-outline":{"body":""},"storefront-remove":{"body":""},"storefront-remove-outline":{"body":""},"stove":{"body":""},"strategy":{"body":""},"strava":{"body":"","hidden":true},"stretch-to-page":{"body":""},"stretch-to-page-outline":{"body":""},"string-lights":{"body":""},"string-lights-off":{"body":""},"subdirectory-arrow-left":{"body":""},"subdirectory-arrow-right":{"body":""},"submarine":{"body":""},"subtitles":{"body":""},"subtitles-outline":{"body":""},"subway":{"body":""},"subway-alert-variant":{"body":""},"subway-variant":{"body":""},"summit":{"body":""},"sun-angle":{"body":""},"sun-angle-outline":{"body":""},"sun-clock":{"body":""},"sun-clock-outline":{"body":""},"sun-compass":{"body":""},"sun-snowflake":{"body":""},"sun-snowflake-variant":{"body":""},"sun-thermometer":{"body":""},"sun-thermometer-outline":{"body":""},"sun-wireless":{"body":""},"sun-wireless-outline":{"body":""},"sunglasses":{"body":""},"surfing":{"body":""},"surround-sound":{"body":""},"surround-sound-2-0":{"body":""},"surround-sound-2-1":{"body":""},"surround-sound-3-1":{"body":""},"surround-sound-5-1":{"body":""},"surround-sound-5-1-2":{"body":""},"surround-sound-7-1":{"body":""},"svg":{"body":""},"swap-horizontal":{"body":""},"swap-horizontal-bold":{"body":""},"swap-horizontal-circle":{"body":""},"swap-horizontal-circle-outline":{"body":""},"swap-horizontal-variant":{"body":""},"swap-vertical":{"body":""},"swap-vertical-bold":{"body":""},"swap-vertical-circle":{"body":""},"swap-vertical-circle-outline":{"body":""},"swap-vertical-variant":{"body":""},"swim":{"body":""},"switch":{"body":""},"sword":{"body":""},"sword-cross":{"body":""},"syllabary-hangul":{"body":""},"syllabary-hiragana":{"body":""},"syllabary-katakana":{"body":""},"syllabary-katakana-halfwidth":{"body":""},"symbol":{"body":""},"symfony":{"body":""},"synagogue":{"body":""},"synagogue-outline":{"body":""},"sync":{"body":""},"sync-alert":{"body":""},"sync-circle":{"body":""},"sync-off":{"body":""},"tab":{"body":""},"tab-minus":{"body":""},"tab-plus":{"body":""},"tab-remove":{"body":""},"tab-search":{"body":""},"tab-unselected":{"body":""},"table":{"body":""},"table-account":{"body":""},"table-alert":{"body":""},"table-arrow-down":{"body":""},"table-arrow-left":{"body":""},"table-arrow-right":{"body":""},"table-arrow-up":{"body":""},"table-border":{"body":""},"table-cancel":{"body":""},"table-chair":{"body":""},"table-check":{"body":""},"table-clock":{"body":""},"table-cog":{"body":""},"table-column":{"body":""},"table-column-plus-after":{"body":""},"table-column-plus-before":{"body":""},"table-column-remove":{"body":""},"table-column-width":{"body":""},"table-edit":{"body":""},"table-eye":{"body":""},"table-eye-off":{"body":""},"table-filter":{"body":""},"table-furniture":{"body":""},"table-headers-eye":{"body":""},"table-headers-eye-off":{"body":""},"table-heart":{"body":""},"table-key":{"body":""},"table-large":{"body":""},"table-large-plus":{"body":""},"table-large-remove":{"body":""},"table-lock":{"body":""},"table-merge-cells":{"body":""},"table-minus":{"body":""},"table-multiple":{"body":""},"table-network":{"body":""},"table-of-contents":{"body":""},"table-off":{"body":""},"table-picnic":{"body":""},"table-pivot":{"body":""},"table-plus":{"body":""},"table-question":{"body":""},"table-refresh":{"body":""},"table-remove":{"body":""},"table-row":{"body":""},"table-row-height":{"body":""},"table-row-plus-after":{"body":""},"table-row-plus-before":{"body":""},"table-row-remove":{"body":""},"table-search":{"body":""},"table-settings":{"body":""},"table-split-cell":{"body":""},"table-star":{"body":""},"table-sync":{"body":""},"table-tennis":{"body":""},"tablet":{"body":""},"tablet-android":{"body":"","hidden":true},"tablet-cellphone":{"body":""},"tablet-dashboard":{"body":""},"tablet-ipad":{"body":"","hidden":true},"taco":{"body":""},"tag":{"body":""},"tag-arrow-down":{"body":""},"tag-arrow-down-outline":{"body":""},"tag-arrow-left":{"body":""},"tag-arrow-left-outline":{"body":""},"tag-arrow-right":{"body":""},"tag-arrow-right-outline":{"body":""},"tag-arrow-up":{"body":""},"tag-arrow-up-outline":{"body":""},"tag-check":{"body":""},"tag-check-outline":{"body":""},"tag-faces":{"body":""},"tag-heart":{"body":""},"tag-heart-outline":{"body":""},"tag-minus":{"body":""},"tag-minus-outline":{"body":""},"tag-multiple":{"body":""},"tag-multiple-outline":{"body":""},"tag-off":{"body":""},"tag-off-outline":{"body":""},"tag-outline":{"body":""},"tag-plus":{"body":""},"tag-plus-outline":{"body":""},"tag-remove":{"body":""},"tag-remove-outline":{"body":""},"tag-search":{"body":""},"tag-search-outline":{"body":""},"tag-text":{"body":""},"tag-text-outline":{"body":""},"tailwind":{"body":""},"tally-mark-1":{"body":""},"tally-mark-2":{"body":""},"tally-mark-3":{"body":""},"tally-mark-4":{"body":""},"tally-mark-5":{"body":""},"tangram":{"body":""},"tank":{"body":""},"tanker-truck":{"body":""},"tape-drive":{"body":""},"tape-measure":{"body":""},"target":{"body":""},"target-account":{"body":""},"target-variant":{"body":""},"taxi":{"body":""},"tea":{"body":""},"tea-outline":{"body":""},"teamspeak":{"body":"","hidden":true},"teamviewer":{"body":""},"teddy-bear":{"body":""},"telegram":{"body":"","hidden":true},"telescope":{"body":""},"television":{"body":""},"television-ambient-light":{"body":""},"television-box":{"body":""},"television-classic":{"body":""},"television-classic-off":{"body":""},"television-guide":{"body":""},"television-off":{"body":""},"television-pause":{"body":""},"television-play":{"body":""},"television-shimmer":{"body":""},"television-speaker":{"body":""},"television-speaker-off":{"body":""},"television-stop":{"body":""},"temperature-celsius":{"body":""},"temperature-fahrenheit":{"body":""},"temperature-kelvin":{"body":""},"temple-buddhist":{"body":""},"temple-buddhist-outline":{"body":""},"temple-hindu":{"body":""},"temple-hindu-outline":{"body":""},"tennis":{"body":""},"tennis-ball":{"body":""},"tent":{"body":""},"terraform":{"body":""},"terrain":{"body":""},"test-tube":{"body":""},"test-tube-empty":{"body":""},"test-tube-off":{"body":""},"text":{"body":""},"text-account":{"body":""},"text-box":{"body":""},"text-box-check":{"body":""},"text-box-check-outline":{"body":""},"text-box-edit":{"body":""},"text-box-edit-outline":{"body":""},"text-box-minus":{"body":""},"text-box-minus-outline":{"body":""},"text-box-multiple":{"body":""},"text-box-multiple-outline":{"body":""},"text-box-outline":{"body":""},"text-box-plus":{"body":""},"text-box-plus-outline":{"body":""},"text-box-remove":{"body":""},"text-box-remove-outline":{"body":""},"text-box-search":{"body":""},"text-box-search-outline":{"body":""},"text-long":{"body":""},"text-recognition":{"body":""},"text-search":{"body":""},"text-search-variant":{"body":""},"text-shadow":{"body":""},"text-short":{"body":""},"texture":{"body":""},"texture-box":{"body":""},"theater":{"body":""},"theme-light-dark":{"body":""},"thermometer":{"body":""},"thermometer-alert":{"body":""},"thermometer-auto":{"body":""},"thermometer-bluetooth":{"body":""},"thermometer-check":{"body":""},"thermometer-chevron-down":{"body":""},"thermometer-chevron-up":{"body":""},"thermometer-high":{"body":""},"thermometer-lines":{"body":""},"thermometer-low":{"body":""},"thermometer-minus":{"body":""},"thermometer-off":{"body":""},"thermometer-plus":{"body":""},"thermometer-probe":{"body":""},"thermometer-probe-off":{"body":""},"thermometer-water":{"body":""},"thermostat":{"body":""},"thermostat-auto":{"body":""},"thermostat-box":{"body":""},"thermostat-box-auto":{"body":""},"thought-bubble":{"body":""},"thought-bubble-outline":{"body":""},"thumb-down":{"body":""},"thumb-down-outline":{"body":""},"thumb-up":{"body":""},"thumb-up-outline":{"body":""},"thumbs-up-down":{"body":""},"thumbs-up-down-outline":{"body":""},"ticket":{"body":""},"ticket-account":{"body":""},"ticket-confirmation":{"body":""},"ticket-confirmation-outline":{"body":""},"ticket-outline":{"body":""},"ticket-percent":{"body":""},"ticket-percent-outline":{"body":""},"tie":{"body":""},"tilde":{"body":""},"tilde-off":{"body":""},"timelapse":{"body":""},"timeline":{"body":""},"timeline-alert":{"body":""},"timeline-alert-outline":{"body":""},"timeline-check":{"body":""},"timeline-check-outline":{"body":""},"timeline-clock":{"body":""},"timeline-clock-outline":{"body":""},"timeline-minus":{"body":""},"timeline-minus-outline":{"body":""},"timeline-outline":{"body":""},"timeline-plus":{"body":""},"timeline-plus-outline":{"body":""},"timeline-question":{"body":""},"timeline-question-outline":{"body":""},"timeline-remove":{"body":""},"timeline-remove-outline":{"body":""},"timeline-text":{"body":""},"timeline-text-outline":{"body":""},"timer":{"body":""},"timer-10":{"body":""},"timer-3":{"body":""},"timer-alert":{"body":""},"timer-alert-outline":{"body":""},"timer-cancel":{"body":""},"timer-cancel-outline":{"body":""},"timer-check":{"body":""},"timer-check-outline":{"body":""},"timer-cog":{"body":""},"timer-cog-outline":{"body":""},"timer-edit":{"body":""},"timer-edit-outline":{"body":""},"timer-lock":{"body":""},"timer-lock-open":{"body":""},"timer-lock-open-outline":{"body":""},"timer-lock-outline":{"body":""},"timer-marker":{"body":""},"timer-marker-outline":{"body":""},"timer-minus":{"body":""},"timer-minus-outline":{"body":""},"timer-music":{"body":""},"timer-music-outline":{"body":""},"timer-off":{"body":""},"timer-off-outline":{"body":""},"timer-outline":{"body":""},"timer-pause":{"body":""},"timer-pause-outline":{"body":""},"timer-play":{"body":""},"timer-play-outline":{"body":""},"timer-plus":{"body":""},"timer-plus-outline":{"body":""},"timer-refresh":{"body":""},"timer-refresh-outline":{"body":""},"timer-remove":{"body":""},"timer-remove-outline":{"body":""},"timer-sand":{"body":""},"timer-sand-complete":{"body":""},"timer-sand-empty":{"body":""},"timer-sand-full":{"body":""},"timer-sand-paused":{"body":""},"timer-settings":{"body":""},"timer-settings-outline":{"body":""},"timer-star":{"body":""},"timer-star-outline":{"body":""},"timer-stop":{"body":""},"timer-stop-outline":{"body":""},"timer-sync":{"body":""},"timer-sync-outline":{"body":""},"timetable":{"body":""},"tire":{"body":""},"toaster":{"body":""},"toaster-off":{"body":""},"toaster-oven":{"body":""},"toggle-switch":{"body":""},"toggle-switch-off":{"body":""},"toggle-switch-off-outline":{"body":""},"toggle-switch-outline":{"body":""},"toggle-switch-variant":{"body":""},"toggle-switch-variant-off":{"body":""},"toilet":{"body":""},"toolbox":{"body":""},"toolbox-outline":{"body":""},"tools":{"body":""},"tooltip":{"body":""},"tooltip-account":{"body":""},"tooltip-cellphone":{"body":""},"tooltip-check":{"body":""},"tooltip-check-outline":{"body":""},"tooltip-edit":{"body":""},"tooltip-edit-outline":{"body":""},"tooltip-image":{"body":""},"tooltip-image-outline":{"body":""},"tooltip-minus":{"body":""},"tooltip-minus-outline":{"body":""},"tooltip-outline":{"body":""},"tooltip-plus":{"body":""},"tooltip-plus-outline":{"body":""},"tooltip-question":{"body":""},"tooltip-question-outline":{"body":""},"tooltip-remove":{"body":""},"tooltip-remove-outline":{"body":""},"tooltip-text":{"body":""},"tooltip-text-outline":{"body":""},"tooth":{"body":""},"tooth-outline":{"body":""},"toothbrush":{"body":""},"toothbrush-electric":{"body":""},"toothbrush-paste":{"body":""},"tor":{"body":"","hidden":true},"torch":{"body":""},"tortoise":{"body":""},"toslink":{"body":""},"tournament":{"body":""},"tow-truck":{"body":""},"tower-beach":{"body":""},"tower-fire":{"body":""},"town-hall":{"body":""},"toy-brick":{"body":""},"toy-brick-marker":{"body":""},"toy-brick-marker-outline":{"body":""},"toy-brick-minus":{"body":""},"toy-brick-minus-outline":{"body":""},"toy-brick-outline":{"body":""},"toy-brick-plus":{"body":""},"toy-brick-plus-outline":{"body":""},"toy-brick-remove":{"body":""},"toy-brick-remove-outline":{"body":""},"toy-brick-search":{"body":""},"toy-brick-search-outline":{"body":""},"track-light":{"body":""},"track-light-off":{"body":""},"trackpad":{"body":""},"trackpad-lock":{"body":""},"tractor":{"body":""},"tractor-variant":{"body":""},"trademark":{"body":""},"traffic-cone":{"body":""},"traffic-light":{"body":""},"traffic-light-outline":{"body":""},"train":{"body":""},"train-car":{"body":""},"train-car-autorack":{"body":""},"train-car-box":{"body":""},"train-car-box-full":{"body":""},"train-car-box-open":{"body":""},"train-car-caboose":{"body":""},"train-car-centerbeam":{"body":""},"train-car-centerbeam-full":{"body":""},"train-car-container":{"body":""},"train-car-flatbed":{"body":""},"train-car-flatbed-car":{"body":""},"train-car-flatbed-tank":{"body":""},"train-car-gondola":{"body":""},"train-car-gondola-full":{"body":""},"train-car-hopper":{"body":""},"train-car-hopper-covered":{"body":""},"train-car-hopper-full":{"body":""},"train-car-intermodal":{"body":""},"train-car-passenger":{"body":""},"train-car-passenger-door":{"body":""},"train-car-passenger-door-open":{"body":""},"train-car-passenger-variant":{"body":""},"train-car-tank":{"body":""},"train-variant":{"body":""},"tram":{"body":""},"tram-side":{"body":""},"transcribe":{"body":""},"transcribe-close":{"body":""},"transfer":{"body":""},"transfer-down":{"body":""},"transfer-left":{"body":""},"transfer-right":{"body":""},"transfer-up":{"body":""},"transit-connection":{"body":""},"transit-connection-horizontal":{"body":""},"transit-connection-variant":{"body":""},"transit-detour":{"body":""},"transit-skip":{"body":""},"transit-transfer":{"body":""},"transition":{"body":""},"transition-masked":{"body":""},"translate":{"body":""},"translate-off":{"body":""},"translate-variant":{"body":""},"transmission-tower":{"body":""},"transmission-tower-export":{"body":""},"transmission-tower-import":{"body":""},"transmission-tower-off":{"body":""},"trash-can":{"body":""},"trash-can-outline":{"body":""},"tray":{"body":""},"tray-alert":{"body":""},"tray-arrow-down":{"body":""},"tray-arrow-up":{"body":""},"tray-full":{"body":""},"tray-minus":{"body":""},"tray-plus":{"body":""},"tray-remove":{"body":""},"treasure-chest":{"body":""},"tree":{"body":""},"tree-outline":{"body":""},"trello":{"body":""},"trending-down":{"body":""},"trending-neutral":{"body":""},"trending-up":{"body":""},"triangle":{"body":""},"triangle-outline":{"body":""},"triangle-small-down":{"body":""},"triangle-small-up":{"body":""},"triangle-wave":{"body":""},"triforce":{"body":""},"trophy":{"body":""},"trophy-award":{"body":""},"trophy-broken":{"body":""},"trophy-outline":{"body":""},"trophy-variant":{"body":""},"trophy-variant-outline":{"body":""},"truck":{"body":""},"truck-alert":{"body":""},"truck-alert-outline":{"body":""},"truck-cargo-container":{"body":""},"truck-check":{"body":""},"truck-check-outline":{"body":""},"truck-delivery":{"body":""},"truck-delivery-outline":{"body":""},"truck-fast":{"body":""},"truck-fast-outline":{"body":""},"truck-flatbed":{"body":""},"truck-minus":{"body":""},"truck-minus-outline":{"body":""},"truck-outline":{"body":""},"truck-plus":{"body":""},"truck-plus-outline":{"body":""},"truck-remove":{"body":""},"truck-remove-outline":{"body":""},"truck-snowflake":{"body":""},"truck-trailer":{"body":""},"trumpet":{"body":""},"tshirt-crew":{"body":""},"tshirt-crew-outline":{"body":""},"tshirt-v":{"body":""},"tshirt-v-outline":{"body":""},"tsunami":{"body":""},"tumble-dryer":{"body":""},"tumble-dryer-alert":{"body":""},"tumble-dryer-off":{"body":""},"tumblr":{"body":"","hidden":true},"tumblr-box":{"body":"","hidden":true},"tumblr-reblog":{"body":"","hidden":true},"tune":{"body":""},"tune-variant":{"body":""},"tune-vertical":{"body":""},"tune-vertical-variant":{"body":""},"tunnel":{"body":""},"tunnel-outline":{"body":""},"turbine":{"body":""},"turkey":{"body":""},"turnstile":{"body":""},"turnstile-outline":{"body":""},"turtle":{"body":""},"twitch":{"body":""},"twitter":{"body":""},"twitter-box":{"body":"","hidden":true},"twitter-circle":{"body":"","hidden":true},"two-factor-authentication":{"body":""},"typewriter":{"body":""},"uber":{"body":"","hidden":true},"ubisoft":{"body":""},"ubuntu":{"body":""},"ufo":{"body":""},"ufo-outline":{"body":""},"ultra-high-definition":{"body":""},"umbraco":{"body":""},"umbrella":{"body":""},"umbrella-beach":{"body":""},"umbrella-beach-outline":{"body":""},"umbrella-closed":{"body":""},"umbrella-closed-outline":{"body":""},"umbrella-closed-variant":{"body":""},"umbrella-outline":{"body":""},"undo":{"body":""},"undo-variant":{"body":""},"unfold-less-horizontal":{"body":""},"unfold-less-vertical":{"body":""},"unfold-more-horizontal":{"body":""},"unfold-more-vertical":{"body":""},"ungroup":{"body":""},"unicode":{"body":""},"unicorn":{"body":""},"unicorn-variant":{"body":""},"unicycle":{"body":""},"unity":{"body":""},"unreal":{"body":""},"untappd":{"body":"","hidden":true},"update":{"body":""},"upload":{"body":""},"upload-lock":{"body":""},"upload-lock-outline":{"body":""},"upload-multiple":{"body":""},"upload-network":{"body":""},"upload-network-outline":{"body":""},"upload-off":{"body":""},"upload-off-outline":{"body":""},"upload-outline":{"body":""},"usb":{"body":""},"usb-flash-drive":{"body":""},"usb-flash-drive-outline":{"body":""},"usb-port":{"body":""},"vacuum":{"body":""},"vacuum-outline":{"body":""},"valve":{"body":""},"valve-closed":{"body":""},"valve-open":{"body":""},"van-passenger":{"body":""},"van-utility":{"body":""},"vanish":{"body":""},"vanish-quarter":{"body":""},"vanity-light":{"body":""},"variable":{"body":""},"variable-box":{"body":""},"vector-arrange-above":{"body":""},"vector-arrange-below":{"body":""},"vector-bezier":{"body":""},"vector-circle":{"body":""},"vector-circle-variant":{"body":""},"vector-combine":{"body":""},"vector-curve":{"body":""},"vector-difference":{"body":""},"vector-difference-ab":{"body":""},"vector-difference-ba":{"body":""},"vector-ellipse":{"body":""},"vector-intersection":{"body":""},"vector-line":{"body":""},"vector-link":{"body":""},"vector-point":{"body":""},"vector-point-edit":{"body":""},"vector-point-minus":{"body":""},"vector-point-plus":{"body":""},"vector-point-select":{"body":""},"vector-polygon":{"body":""},"vector-polygon-variant":{"body":""},"vector-polyline":{"body":""},"vector-polyline-edit":{"body":""},"vector-polyline-minus":{"body":""},"vector-polyline-plus":{"body":""},"vector-polyline-remove":{"body":""},"vector-radius":{"body":""},"vector-rectangle":{"body":""},"vector-selection":{"body":""},"vector-square":{"body":""},"vector-square-close":{"body":""},"vector-square-edit":{"body":""},"vector-square-minus":{"body":""},"vector-square-open":{"body":""},"vector-square-plus":{"body":""},"vector-square-remove":{"body":""},"vector-triangle":{"body":""},"vector-union":{"body":""},"venmo":{"body":"","hidden":true},"vhs":{"body":""},"vibrate":{"body":""},"vibrate-off":{"body":""},"video":{"body":""},"video-2d":{"body":""},"video-3d":{"body":""},"video-3d-off":{"body":""},"video-3d-variant":{"body":""},"video-4k-box":{"body":""},"video-account":{"body":""},"video-box":{"body":""},"video-box-off":{"body":""},"video-check":{"body":""},"video-check-outline":{"body":""},"video-high-definition":{"body":""},"video-image":{"body":""},"video-input-antenna":{"body":""},"video-input-component":{"body":""},"video-input-hdmi":{"body":""},"video-input-scart":{"body":""},"video-input-svideo":{"body":""},"video-marker":{"body":""},"video-marker-outline":{"body":""},"video-minus":{"body":""},"video-minus-outline":{"body":""},"video-off":{"body":""},"video-off-outline":{"body":""},"video-outline":{"body":""},"video-plus":{"body":""},"video-plus-outline":{"body":""},"video-stabilization":{"body":""},"video-switch":{"body":""},"video-switch-outline":{"body":""},"video-vintage":{"body":""},"video-wireless":{"body":""},"video-wireless-outline":{"body":""},"view-agenda":{"body":""},"view-agenda-outline":{"body":""},"view-array":{"body":""},"view-array-outline":{"body":""},"view-carousel":{"body":""},"view-carousel-outline":{"body":""},"view-column":{"body":""},"view-column-outline":{"body":""},"view-comfy":{"body":""},"view-comfy-outline":{"body":""},"view-compact":{"body":""},"view-compact-outline":{"body":""},"view-dashboard":{"body":""},"view-dashboard-edit":{"body":""},"view-dashboard-edit-outline":{"body":""},"view-dashboard-outline":{"body":""},"view-dashboard-variant":{"body":""},"view-dashboard-variant-outline":{"body":""},"view-day":{"body":""},"view-day-outline":{"body":""},"view-gallery":{"body":""},"view-gallery-outline":{"body":""},"view-grid":{"body":""},"view-grid-outline":{"body":""},"view-grid-plus":{"body":""},"view-grid-plus-outline":{"body":""},"view-headline":{"body":""},"view-list":{"body":""},"view-list-outline":{"body":""},"view-module":{"body":""},"view-module-outline":{"body":""},"view-parallel":{"body":""},"view-parallel-outline":{"body":""},"view-quilt":{"body":""},"view-quilt-outline":{"body":""},"view-sequential":{"body":""},"view-sequential-outline":{"body":""},"view-split-horizontal":{"body":""},"view-split-vertical":{"body":""},"view-stream":{"body":""},"view-stream-outline":{"body":""},"view-week":{"body":""},"view-week-outline":{"body":""},"vimeo":{"body":""},"vine":{"body":"","hidden":true},"violin":{"body":""},"virtual-reality":{"body":""},"virus":{"body":""},"virus-off":{"body":""},"virus-off-outline":{"body":""},"virus-outline":{"body":""},"vk":{"body":"","hidden":true},"vk-box":{"body":"","hidden":true},"vk-circle":{"body":"","hidden":true},"vlc":{"body":""},"voicemail":{"body":""},"volcano":{"body":""},"volcano-outline":{"body":""},"volleyball":{"body":""},"volume":{"body":"","hidden":true},"volume-equal":{"body":""},"volume-high":{"body":""},"volume-low":{"body":""},"volume-medium":{"body":""},"volume-minus":{"body":""},"volume-mute":{"body":""},"volume-off":{"body":""},"volume-plus":{"body":""},"volume-source":{"body":""},"volume-variant-off":{"body":""},"volume-vibrate":{"body":""},"vote":{"body":""},"vote-outline":{"body":""},"vpn":{"body":""},"vuejs":{"body":""},"vuetify":{"body":""},"walk":{"body":""},"wall":{"body":""},"wall-fire":{"body":""},"wall-sconce":{"body":""},"wall-sconce-flat":{"body":""},"wall-sconce-flat-outline":{"body":""},"wall-sconce-flat-variant":{"body":""},"wall-sconce-flat-variant-outline":{"body":""},"wall-sconce-outline":{"body":""},"wall-sconce-round":{"body":""},"wall-sconce-round-outline":{"body":""},"wall-sconce-round-variant":{"body":""},"wall-sconce-round-variant-outline":{"body":""},"wall-sconce-variant":{"body":"","hidden":true},"wallet":{"body":""},"wallet-giftcard":{"body":""},"wallet-membership":{"body":""},"wallet-outline":{"body":""},"wallet-plus":{"body":""},"wallet-plus-outline":{"body":""},"wallet-travel":{"body":""},"wallpaper":{"body":""},"wan":{"body":""},"wardrobe":{"body":""},"wardrobe-outline":{"body":""},"warehouse":{"body":""},"washing-machine":{"body":""},"washing-machine-alert":{"body":""},"washing-machine-off":{"body":""},"watch":{"body":""},"watch-export":{"body":""},"watch-export-variant":{"body":""},"watch-import":{"body":""},"watch-import-variant":{"body":""},"watch-variant":{"body":""},"watch-vibrate":{"body":""},"watch-vibrate-off":{"body":""},"water":{"body":""},"water-alert":{"body":""},"water-alert-outline":{"body":""},"water-boiler":{"body":""},"water-boiler-alert":{"body":""},"water-boiler-auto":{"body":""},"water-boiler-off":{"body":""},"water-check":{"body":""},"water-check-outline":{"body":""},"water-circle":{"body":""},"water-minus":{"body":""},"water-minus-outline":{"body":""},"water-off":{"body":""},"water-off-outline":{"body":""},"water-opacity":{"body":""},"water-outline":{"body":""},"water-percent":{"body":""},"water-percent-alert":{"body":""},"water-plus":{"body":""},"water-plus-outline":{"body":""},"water-polo":{"body":""},"water-pump":{"body":""},"water-pump-off":{"body":""},"water-remove":{"body":""},"water-remove-outline":{"body":""},"water-sync":{"body":""},"water-thermometer":{"body":""},"water-thermometer-outline":{"body":""},"water-well":{"body":""},"water-well-outline":{"body":""},"waterfall":{"body":""},"watering-can":{"body":""},"watering-can-outline":{"body":""},"watermark":{"body":""},"wave":{"body":""},"waveform":{"body":""},"waves":{"body":""},"waves-arrow-left":{"body":""},"waves-arrow-right":{"body":""},"waves-arrow-up":{"body":""},"waze":{"body":""},"weather-cloudy":{"body":""},"weather-cloudy-alert":{"body":""},"weather-cloudy-arrow-right":{"body":""},"weather-cloudy-clock":{"body":""},"weather-dust":{"body":""},"weather-fog":{"body":""},"weather-hail":{"body":""},"weather-hazy":{"body":""},"weather-hurricane":{"body":""},"weather-lightning":{"body":""},"weather-lightning-rainy":{"body":""},"weather-night":{"body":""},"weather-night-partly-cloudy":{"body":""},"weather-partly-cloudy":{"body":""},"weather-partly-lightning":{"body":""},"weather-partly-rainy":{"body":""},"weather-partly-snowy":{"body":""},"weather-partly-snowy-rainy":{"body":""},"weather-pouring":{"body":""},"weather-rainy":{"body":""},"weather-snowy":{"body":""},"weather-snowy-heavy":{"body":""},"weather-snowy-rainy":{"body":""},"weather-sunny":{"body":""},"weather-sunny-alert":{"body":""},"weather-sunny-off":{"body":""},"weather-sunset":{"body":""},"weather-sunset-down":{"body":""},"weather-sunset-up":{"body":""},"weather-tornado":{"body":""},"weather-windy":{"body":""},"weather-windy-variant":{"body":""},"web":{"body":""},"web-box":{"body":""},"web-cancel":{"body":""},"web-check":{"body":""},"web-clock":{"body":""},"web-minus":{"body":""},"web-off":{"body":""},"web-plus":{"body":""},"web-refresh":{"body":""},"web-remove":{"body":""},"web-sync":{"body":""},"webcam":{"body":""},"webcam-off":{"body":""},"webhook":{"body":""},"webpack":{"body":""},"webrtc":{"body":""},"wechat":{"body":""},"weight":{"body":""},"weight-gram":{"body":""},"weight-kilogram":{"body":""},"weight-lifter":{"body":""},"weight-pound":{"body":""},"whatsapp":{"body":""},"wheel-barrow":{"body":""},"wheelchair":{"body":""},"wheelchair-accessibility":{"body":""},"whistle":{"body":""},"whistle-outline":{"body":""},"white-balance-auto":{"body":""},"white-balance-incandescent":{"body":""},"white-balance-iridescent":{"body":""},"white-balance-sunny":{"body":""},"widgets":{"body":""},"widgets-outline":{"body":""},"wifi":{"body":""},"wifi-alert":{"body":""},"wifi-arrow-down":{"body":""},"wifi-arrow-left":{"body":""},"wifi-arrow-left-right":{"body":""},"wifi-arrow-right":{"body":""},"wifi-arrow-up":{"body":""},"wifi-arrow-up-down":{"body":""},"wifi-cancel":{"body":""},"wifi-check":{"body":""},"wifi-cog":{"body":""},"wifi-lock":{"body":""},"wifi-lock-open":{"body":""},"wifi-marker":{"body":""},"wifi-minus":{"body":""},"wifi-off":{"body":""},"wifi-plus":{"body":""},"wifi-refresh":{"body":""},"wifi-remove":{"body":""},"wifi-settings":{"body":""},"wifi-star":{"body":""},"wifi-strength-1":{"body":""},"wifi-strength-1-alert":{"body":""},"wifi-strength-1-lock":{"body":""},"wifi-strength-1-lock-open":{"body":""},"wifi-strength-2":{"body":""},"wifi-strength-2-alert":{"body":""},"wifi-strength-2-lock":{"body":""},"wifi-strength-2-lock-open":{"body":""},"wifi-strength-3":{"body":""},"wifi-strength-3-alert":{"body":""},"wifi-strength-3-lock":{"body":""},"wifi-strength-3-lock-open":{"body":""},"wifi-strength-4":{"body":""},"wifi-strength-4-alert":{"body":""},"wifi-strength-4-lock":{"body":""},"wifi-strength-4-lock-open":{"body":""},"wifi-strength-alert-outline":{"body":""},"wifi-strength-lock-open-outline":{"body":""},"wifi-strength-lock-outline":{"body":""},"wifi-strength-off":{"body":""},"wifi-strength-off-outline":{"body":""},"wifi-strength-outline":{"body":""},"wifi-sync":{"body":""},"wikipedia":{"body":""},"wind-power":{"body":""},"wind-power-outline":{"body":""},"wind-turbine":{"body":""},"wind-turbine-alert":{"body":""},"wind-turbine-check":{"body":""},"window-close":{"body":""},"window-closed":{"body":""},"window-closed-variant":{"body":""},"window-maximize":{"body":""},"window-minimize":{"body":""},"window-open":{"body":""},"window-open-variant":{"body":""},"window-restore":{"body":""},"window-shutter":{"body":""},"window-shutter-alert":{"body":""},"window-shutter-auto":{"body":""},"window-shutter-cog":{"body":""},"window-shutter-open":{"body":""},"window-shutter-settings":{"body":""},"windsock":{"body":""},"wiper":{"body":""},"wiper-wash":{"body":""},"wiper-wash-alert":{"body":""},"wizard-hat":{"body":""},"wordpress":{"body":""},"wrap":{"body":""},"wrap-disabled":{"body":""},"wrench":{"body":""},"wrench-check":{"body":""},"wrench-check-outline":{"body":""},"wrench-clock":{"body":""},"wrench-clock-outline":{"body":""},"wrench-cog":{"body":""},"wrench-cog-outline":{"body":""},"wrench-outline":{"body":""},"wunderlist":{"body":"","hidden":true},"xamarin":{"body":""},"xamarin-outline":{"body":"","hidden":true},"xda":{"body":"","hidden":true},"xing":{"body":"","hidden":true},"xing-circle":{"body":"","hidden":true},"xml":{"body":""},"xmpp":{"body":""},"y-combinator":{"body":"","hidden":true},"yahoo":{"body":""},"yammer":{"body":"","hidden":true},"yeast":{"body":""},"yelp":{"body":"","hidden":true},"yin-yang":{"body":""},"yoga":{"body":""},"youtube":{"body":""},"youtube-gaming":{"body":""},"youtube-studio":{"body":""},"youtube-subscription":{"body":""},"youtube-tv":{"body":""},"yurt":{"body":""},"z-wave":{"body":""},"zend":{"body":""},"zigbee":{"body":""},"zip-box":{"body":""},"zip-box-outline":{"body":""},"zip-disk":{"body":""},"zodiac-aquarius":{"body":""},"zodiac-aries":{"body":""},"zodiac-cancer":{"body":""},"zodiac-capricorn":{"body":""},"zodiac-gemini":{"body":""},"zodiac-leo":{"body":""},"zodiac-libra":{"body":""},"zodiac-pisces":{"body":""},"zodiac-sagittarius":{"body":""},"zodiac-scorpio":{"body":""},"zodiac-taurus":{"body":""},"zodiac-virgo":{"body":""}},"aliases":{"123":{"parent":"numeric"},"1-2-3":{"parent":"numeric"},"123-off":{"parent":"numeric-off"},"1password":{"parent":"onepassword"},"1up":{"parent":"one-up"},"3d-rotation":{"parent":"rotate-3d-variant"},"4k":{"parent":"video-4k-box"},"8-track":{"parent":"eight-track"},"a-b-c":{"parent":"alphabetical"},"a-b-c-off":{"parent":"alphabetical-off"},"abc":{"parent":"alphabetical"},"abc-off":{"parent":"alphabetical-off"},"about":{"parent":"information"},"about-circle":{"parent":"information"},"about-circle-outline":{"parent":"information-outline"},"about-outline":{"parent":"information-outline"},"about-variant":{"parent":"information-variant"},"ac-unit":{"parent":"air-conditioner"},"academic-cap":{"parent":"school"},"academic-cap-outline":{"parent":"school-outline"},"accelerometer":{"parent":"axis-arrow"},"access-alarms":{"parent":"alarm"},"access-point-success":{"parent":"access-point-check"},"access-point-tick":{"parent":"access-point-check"},"access-time":{"parent":"clock-outline"},"accessibility":{"parent":"human"},"accessible":{"parent":"wheelchair"},"account-add":{"parent":"account-plus"},"account-add-outline":{"parent":"account-plus-outline"},"account-badge-alert":{"parent":"badge-account-alert"},"account-badge-alert-outline":{"parent":"badge-account-alert-outline"},"account-badge-horizontal":{"parent":"badge-account-horizontal"},"account-badge-horizontal-outline":{"parent":"badge-account-horizontal-outline"},"account-badge-warning":{"parent":"badge-account-alert"},"account-badge-warning-outline":{"parent":"badge-account-alert-outline"},"account-balance":{"parent":"bank"},"account-balance-wallet":{"parent":"wallet"},"account-balance-wallet-outline":{"parent":"wallet-outline"},"account-boxes":{"parent":"account-box-multiple"},"account-cache":{"parent":"account-sync"},"account-cache-outline":{"parent":"account-sync-outline"},"account-card-details":{"parent":"card-account-details"},"account-card-details-outline":{"parent":"card-account-details-outline"},"account-disability":{"parent":"account-injury"},"account-disability-outline":{"parent":"account-injury-outline"},"account-download":{"parent":"account-arrow-down"},"account-download-outline":{"parent":"account-arrow-down-outline"},"account-favorite":{"parent":"account-star"},"account-funnel":{"parent":"account-filter"},"account-funnel-outline":{"parent":"account-filter-outline"},"account-graduation":{"parent":"account-school"},"account-graduation-outline":{"parent":"account-school-outline"},"account-help":{"parent":"account-question"},"account-help-outline":{"parent":"account-question-outline"},"account-location":{"parent":"tooltip-account"},"account-multiple-2-meters":{"parent":"social-distance-2-meters"},"account-multiple-6-feet":{"parent":"social-distance-6-feet"},"account-multiple-add":{"parent":"account-multiple-plus"},"account-multiple-add-outline":{"parent":"account-multiple-plus-outline"},"account-multiple-success":{"parent":"account-multiple-check"},"account-multiple-success-outline":{"parent":"account-multiple-check-outline"},"account-multiple-tick":{"parent":"account-multiple-check"},"account-multiple-tick-outline":{"parent":"account-multiple-check-outline"},"account-online":{"parent":"account-badge"},"account-online-outline":{"parent":"account-badge-outline"},"account-payment":{"parent":"account-credit-card"},"account-payment-outline":{"parent":"account-credit-card-outline"},"account-pending":{"parent":"account-clock"},"account-pending-outline":{"parent":"account-clock-outline"},"account-pilot":{"parent":"account-tie-hat"},"account-pilot-outline":{"parent":"account-tie-hat-outline"},"account-question-mark":{"parent":"account-question"},"account-question-mark-outline":{"parent":"account-question-outline"},"account-secure":{"parent":"account-lock"},"account-secure-outline":{"parent":"account-lock-outline"},"account-security":{"parent":"account-lock"},"account-security-outline":{"parent":"account-lock-outline"},"account-service":{"parent":"account-wrench"},"account-service-outline":{"parent":"account-wrench-outline"},"account-student":{"parent":"account-school"},"account-student-outline":{"parent":"account-school-outline"},"account-success":{"parent":"account-check"},"account-success-outline":{"parent":"account-check-outline"},"account-supervisor-circle-outlined":{"parent":"account-supervisor-circle-outline"},"account-tick":{"parent":"account-check"},"account-tick-outline":{"parent":"account-check-outline"},"account-unlocked":{"parent":"account-lock-open"},"account-unlocked-outline":{"parent":"account-lock-open-outline"},"account-upload":{"parent":"account-arrow-up"},"account-upload-outline":{"parent":"account-arrow-up-outline"},"account-view":{"parent":"account-eye"},"account-view-outline":{"parent":"account-eye-outline"},"account-warning":{"parent":"account-alert"},"account-warning-outline":{"parent":"account-alert-outline"},"accounts":{"parent":"account-multiple"},"accounts-add":{"parent":"account-multiple-plus"},"accounts-add-outline":{"parent":"account-multiple-plus-outline"},"accounts-check":{"parent":"account-multiple-check"},"accounts-check-outline":{"parent":"account-multiple-check-outline"},"accounts-group":{"parent":"account-group"},"accounts-group-outline":{"parent":"account-group-outline"},"accounts-minus":{"parent":"account-multiple-minus"},"accounts-minus-outline":{"parent":"account-multiple-minus-outline"},"accounts-outline":{"parent":"account-multiple-outline"},"accounts-plus":{"parent":"account-multiple-plus"},"accounts-plus-outline":{"parent":"account-multiple-plus-outline"},"accounts-switch":{"parent":"account-switch"},"accounts-tick":{"parent":"account-multiple-check"},"accounts-tick-outline":{"parent":"account-multiple-check-outline"},"achievement":{"parent":"trophy"},"achievement-award":{"parent":"trophy-award"},"achievement-outline":{"parent":"trophy-outline"},"achievement-variant":{"parent":"trophy-variant"},"achievement-variant-outline":{"parent":"trophy-variant-outline"},"acid":{"parent":"ph"},"adb":{"parent":"android-debug-bridge"},"add":{"parent":"plus"},"add-alarm":{"parent":"alarm-plus"},"add-alert":{"parent":"bell-plus"},"add-alert-outline":{"parent":"bell-plus-outline"},"add-bold":{"parent":"plus-thick"},"add-box":{"parent":"plus-box"},"add-call":{"parent":"phone-plus"},"add-circle":{"parent":"plus-circle"},"add-circle-outline":{"parent":"plus-circle-outline"},"add-location":{"parent":"map-marker-plus"},"add-network":{"parent":"plus-network"},"add-network-outline":{"parent":"plus-network-outline"},"add-shopping-cart":{"parent":"cart-plus"},"add-thick":{"parent":"plus-thick"},"add-to-photos":{"parent":"plus-box-multiple"},"address-marker":{"parent":"map-marker"},"address-marker-outline":{"parent":"map-marker-outline"},"adjuster":{"parent":"knob"},"administrator":{"parent":"security"},"administrator-network":{"parent":"security-network"},"administrator-outline":{"parent":"shield-crown-outline"},"adobe-acrobat":{"parent":"file-pdf-box"},"ads":{"parent":"advertisements"},"ads-off":{"parent":"advertisements-off"},"aed":{"parent":"heart-flash"},"aeroplane":{"parent":"airplane"},"aeroplane-landing":{"parent":"airplane-landing"},"aeroplane-off":{"parent":"airplane-off"},"aeroplane-takeoff":{"parent":"airplane-takeoff"},"aerosol":{"parent":"spray"},"agriculture":{"parent":"tractor-variant"},"air-conditioning":{"parent":"hvac"},"air-conditioning-off":{"parent":"hvac-off"},"air-dehumidifier":{"parent":"air-humidifier-off"},"airline-seat-flat":{"parent":"seat-flat"},"airline-seat-flat-angled":{"parent":"seat-flat-angled"},"airline-seat-individual-suite":{"parent":"seat-individual-suite"},"airline-seat-legroom-extra":{"parent":"seat-legroom-extra"},"airline-seat-legroom-normal":{"parent":"seat-legroom-normal"},"airline-seat-legroom-reduced":{"parent":"seat-legroom-reduced"},"airline-seat-recline-extra":{"parent":"seat-recline-extra"},"airline-seat-recline-normal":{"parent":"seat-recline-normal"},"airplace-success":{"parent":"airplane-check"},"airplane-car":{"parent":"plane-car"},"airplane-date":{"parent":"airplane-clock"},"airplane-find":{"parent":"airplane-search"},"airplane-gps":{"parent":"airplane-marker"},"airplane-location":{"parent":"airplane-marker"},"airplane-schedule":{"parent":"airplane-clock"},"airplane-take-off":{"parent":"airplane-takeoff"},"airplane-tick":{"parent":"airplane-check"},"airplane-time":{"parent":"airplane-clock"},"airplane-train":{"parent":"plane-train"},"airplanemode-active":{"parent":"airplane"},"airplanemode-inactive":{"parent":"airplane-off"},"airplay":{"parent":"cast-variant"},"airport-shuttle":{"parent":"plane-car"},"airport-taxi":{"parent":"plane-car"},"alarm-add":{"parent":"alarm-plus"},"alarm-arm-away":{"parent":"shield-lock"},"alarm-arm-away-outline":{"parent":"shield-lock-outline"},"alarm-arm-home":{"parent":"shield-account"},"alarm-arm-home-outline":{"parent":"shield-account-outline"},"alarm-arm-night":{"parent":"shield-moon"},"alarm-arm-night-outline":{"parent":"shield-moon-outline"},"alarm-clock":{"parent":"alarm"},"alarm-clock-add":{"parent":"alarm-plus"},"alarm-clock-check":{"parent":"alarm-check"},"alarm-clock-multiple":{"parent":"alarm-multiple"},"alarm-clock-off":{"parent":"alarm-off"},"alarm-clock-plus":{"parent":"alarm-plus"},"alarm-clock-snooze":{"parent":"alarm-snooze"},"alarm-clock-tick":{"parent":"alarm-check"},"alarm-clocks":{"parent":"alarm-multiple"},"alarm-on":{"parent":"alarm-check"},"alarm-success":{"parent":"alarm-check"},"alarm-tick":{"parent":"alarm-check"},"alarms":{"parent":"alarm-multiple"},"alcohol":{"parent":"glass-cocktail"},"alert-circle-success":{"parent":"alert-circle-check"},"alert-circle-success-outline":{"parent":"alert-circle-check-outline"},"align-horizontal-centre":{"parent":"align-horizontal-center"},"align-vertical-centre":{"parent":"align-vertical-center"},"all-terrain-vehicle":{"parent":"atv"},"allergen":{"parent":"peanut"},"allergen-off":{"parent":"peanut-off"},"allergen-off-outline":{"parent":"peanut-off-outline"},"allergen-outline":{"parent":"peanut-outline"},"allergy-outline":{"parent":"flower-pollen-outline"},"alphabet-a":{"parent":"alpha-a"},"alphabet-a-box":{"parent":"alpha-a-box"},"alphabet-a-box-outline":{"parent":"alpha-a-box-outline"},"alphabet-a-circle":{"parent":"alpha-a-circle"},"alphabet-a-circle-outline":{"parent":"alpha-a-circle-outline"},"alphabet-b":{"parent":"alpha-b"},"alphabet-b-box":{"parent":"alpha-b-box"},"alphabet-b-box-outline":{"parent":"alpha-b-box-outline"},"alphabet-b-circle":{"parent":"alpha-b-circle"},"alphabet-b-circle-outline":{"parent":"alpha-b-circle-outline"},"alphabet-c":{"parent":"alpha-c"},"alphabet-c-box":{"parent":"alpha-c-box"},"alphabet-c-box-outline":{"parent":"alpha-c-box-outline"},"alphabet-c-circle":{"parent":"alpha-c-circle"},"alphabet-c-circle-outline":{"parent":"alpha-c-circle-outline"},"alphabet-d":{"parent":"alpha-d"},"alphabet-d-box":{"parent":"alpha-d-box"},"alphabet-d-box-outline":{"parent":"alpha-d-box-outline"},"alphabet-d-circle":{"parent":"alpha-d-circle"},"alphabet-d-circle-outline":{"parent":"alpha-d-circle-outline"},"alphabet-e":{"parent":"alpha-e"},"alphabet-e-box":{"parent":"alpha-e-box"},"alphabet-e-box-outline":{"parent":"alpha-e-box-outline"},"alphabet-e-circle":{"parent":"alpha-e-circle"},"alphabet-e-circle-outline":{"parent":"alpha-e-circle-outline"},"alphabet-f":{"parent":"alpha-f"},"alphabet-f-box":{"parent":"alpha-f-box"},"alphabet-f-box-outline":{"parent":"alpha-f-box-outline"},"alphabet-f-circle":{"parent":"alpha-f-circle"},"alphabet-f-circle-outline":{"parent":"alpha-f-circle-outline"},"alphabet-g":{"parent":"alpha-g"},"alphabet-g-box":{"parent":"alpha-g-box"},"alphabet-g-box-outline":{"parent":"alpha-g-box-outline"},"alphabet-g-circle":{"parent":"alpha-g-circle"},"alphabet-g-circle-outline":{"parent":"alpha-g-circle-outline"},"alphabet-h":{"parent":"alpha-h"},"alphabet-h-box":{"parent":"alpha-h-box"},"alphabet-h-box-outline":{"parent":"alpha-h-box-outline"},"alphabet-h-circle":{"parent":"alpha-h-circle"},"alphabet-h-circle-outline":{"parent":"alpha-h-circle-outline"},"alphabet-i":{"parent":"alpha-i"},"alphabet-i-box":{"parent":"alpha-i-box"},"alphabet-i-box-outline":{"parent":"alpha-i-box-outline"},"alphabet-i-circle":{"parent":"alpha-i-circle"},"alphabet-i-circle-outline":{"parent":"alpha-i-circle-outline"},"alphabet-j":{"parent":"alpha-j"},"alphabet-j-box":{"parent":"alpha-j-box"},"alphabet-j-box-outline":{"parent":"alpha-j-box-outline"},"alphabet-j-circle":{"parent":"alpha-j-circle"},"alphabet-j-circle-outline":{"parent":"alpha-j-circle-outline"},"alphabet-k":{"parent":"alpha-k"},"alphabet-k-box":{"parent":"alpha-k-box"},"alphabet-k-box-outline":{"parent":"alpha-k-box-outline"},"alphabet-k-circle":{"parent":"alpha-k-circle"},"alphabet-k-circle-outline":{"parent":"alpha-k-circle-outline"},"alphabet-l":{"parent":"alpha-l"},"alphabet-l-box":{"parent":"alpha-l-box"},"alphabet-l-box-outline":{"parent":"alpha-l-box-outline"},"alphabet-l-circle":{"parent":"alpha-l-circle"},"alphabet-l-circle-outline":{"parent":"alpha-l-circle-outline"},"alphabet-m":{"parent":"alpha-m"},"alphabet-m-box":{"parent":"alpha-m-box"},"alphabet-m-box-outline":{"parent":"alpha-m-box-outline"},"alphabet-m-circle":{"parent":"alpha-m-circle"},"alphabet-m-circle-outline":{"parent":"alpha-m-circle-outline"},"alphabet-n":{"parent":"alpha-n"},"alphabet-n-box":{"parent":"alpha-n-box"},"alphabet-n-box-outline":{"parent":"alpha-n-box-outline"},"alphabet-n-circle":{"parent":"alpha-n-circle"},"alphabet-n-circle-outline":{"parent":"alpha-n-circle-outline"},"alphabet-o":{"parent":"alpha-o"},"alphabet-o-box":{"parent":"alpha-o-box"},"alphabet-o-box-outline":{"parent":"alpha-o-box-outline"},"alphabet-o-circle":{"parent":"alpha-o-circle"},"alphabet-o-circle-outline":{"parent":"alpha-o-circle-outline"},"alphabet-p":{"parent":"alpha-p"},"alphabet-p-box":{"parent":"alpha-p-box"},"alphabet-p-box-outline":{"parent":"alpha-p-box-outline"},"alphabet-p-circle":{"parent":"alpha-p-circle"},"alphabet-p-circle-outline":{"parent":"alpha-p-circle-outline"},"alphabet-q":{"parent":"alpha-q"},"alphabet-q-box":{"parent":"alpha-q-box"},"alphabet-q-box-outline":{"parent":"alpha-q-box-outline"},"alphabet-q-circle":{"parent":"alpha-q-circle"},"alphabet-q-circle-outline":{"parent":"alpha-q-circle-outline"},"alphabet-r":{"parent":"alpha-r"},"alphabet-r-box":{"parent":"alpha-r-box"},"alphabet-r-box-outline":{"parent":"alpha-r-box-outline"},"alphabet-r-circle":{"parent":"alpha-r-circle"},"alphabet-r-circle-outline":{"parent":"alpha-r-circle-outline"},"alphabet-s":{"parent":"alpha-s"},"alphabet-s-box":{"parent":"alpha-s-box"},"alphabet-s-box-outline":{"parent":"alpha-s-box-outline"},"alphabet-s-circle":{"parent":"alpha-s-circle"},"alphabet-s-circle-outline":{"parent":"alpha-s-circle-outline"},"alphabet-t":{"parent":"alpha-t"},"alphabet-t-box":{"parent":"alpha-t-box"},"alphabet-t-box-outline":{"parent":"alpha-t-box-outline"},"alphabet-t-circle":{"parent":"alpha-t-circle"},"alphabet-t-circle-outline":{"parent":"alpha-t-circle-outline"},"alphabet-u":{"parent":"alpha-u"},"alphabet-u-box":{"parent":"alpha-u-box"},"alphabet-u-box-outline":{"parent":"alpha-u-box-outline"},"alphabet-u-circle":{"parent":"alpha-u-circle"},"alphabet-u-circle-outline":{"parent":"alpha-u-circle-outline"},"alphabet-v":{"parent":"alpha-v"},"alphabet-v-box":{"parent":"alpha-v-box"},"alphabet-v-box-outline":{"parent":"alpha-v-box-outline"},"alphabet-v-circle":{"parent":"alpha-v-circle"},"alphabet-v-circle-outline":{"parent":"alpha-v-circle-outline"},"alphabet-w":{"parent":"alpha-w"},"alphabet-w-box":{"parent":"alpha-w-box"},"alphabet-w-box-outline":{"parent":"alpha-w-box-outline"},"alphabet-w-circle":{"parent":"alpha-w-circle"},"alphabet-w-circle-outline":{"parent":"alpha-w-circle-outline"},"alphabet-x":{"parent":"alpha-x"},"alphabet-x-box":{"parent":"alpha-x-box"},"alphabet-x-box-outline":{"parent":"alpha-x-box-outline"},"alphabet-x-circle":{"parent":"alpha-x-circle"},"alphabet-x-circle-outline":{"parent":"alpha-x-circle-outline"},"alphabet-y":{"parent":"alpha-y"},"alphabet-y-box":{"parent":"alpha-y-box"},"alphabet-y-box-outline":{"parent":"alpha-y-box-outline"},"alphabet-y-circle":{"parent":"alpha-y-circle"},"alphabet-y-circle-outline":{"parent":"alpha-y-circle-outline"},"alphabet-z":{"parent":"alpha-z"},"alphabet-z-box":{"parent":"alpha-z-box"},"alphabet-z-box-outline":{"parent":"alpha-z-box-outline"},"alphabet-z-circle":{"parent":"alpha-z-circle"},"alphabet-z-circle-outline":{"parent":"alpha-z-circle-outline"},"alternate-email":{"parent":"at"},"alternating-current":{"parent":"current-ac"},"amazon-clouddrive":{"parent":"amazon-drive"},"ammunition-pistol":{"parent":"magazine-pistol"},"ammunition-rifle":{"parent":"magazine-rifle"},"amp":{"parent":"lightning-bolt-circle"},"amplitude":{"parent":"cosine-wave"},"analog":{"parent":"sine-wave"},"analytics":{"parent":"poll"},"and":{"parent":"ampersand"},"animation-minus":{"parent":"collapse-all"},"animation-minus-outline":{"parent":"collapse-all-outline"},"animation-plus":{"parent":"expand-all"},"animation-plus-outline":{"parent":"expand-all-outline"},"announcement":{"parent":"bullhorn"},"announcement-outline":{"parent":"bullhorn-outline"},"anonymous":{"parent":"incognito"},"anonymous-circle":{"parent":"incognito-circle"},"anonymous-circle-off":{"parent":"incognito-circle-off"},"anonymous-off":{"parent":"incognito-off"},"anti-lock-brake-system":{"parent":"car-brake-abs"},"anti-lock-braking-system":{"parent":"car-brake-abs"},"antivirus":{"parent":"shield-bug"},"antivirus-outline":{"parent":"shield-bug-outline"},"apiarists":{"parent":"beekeeper"},"apiculturists":{"parent":"beekeeper"},"app-badge":{"parent":"checkbox-blank-badge"},"app-badge-outline":{"parent":"checkbox-blank-badge-outline"},"app-notification":{"parent":"checkbox-blank-badge"},"app-notification-outline":{"parent":"checkbox-blank-badge-outline"},"applause":{"parent":"hand-clap"},"applause-off":{"parent":"hand-clap-off"},"apple-airplay":{"parent":"cast-audio-variant"},"apple-ipod":{"parent":"ipod"},"apple-mobileme":{"parent":"apple-icloud"},"application-export-outline":{"parent":"application-export"},"application-import-outline":{"parent":"application-import"},"approval":{"parent":"check-decagram"},"approve":{"parent":"check-decagram"},"aquarium":{"parent":"fishbowl"},"aquarium-outline":{"parent":"fishbowl-outline"},"arachnid":{"parent":"spider"},"arachnid-thread":{"parent":"spider-thread"},"arachnid-web":{"parent":"spider-web"},"architecture":{"parent":"ruler-square"},"archive-add":{"parent":"archive-plus"},"archive-add-outline":{"parent":"archive-plus-outline"},"archive-favorite":{"parent":"archive-star"},"archive-favorite-outline":{"parent":"archive-star-outline"},"archive-location":{"parent":"archive-marker"},"archive-location-outline":{"parent":"archive-marker-outline"},"archive-success":{"parent":"archive-check"},"archive-success-outline":{"parent":"archive-check-outline"},"archive-time":{"parent":"archive-clock"},"archive-time-outline":{"parent":"archive-clock-outline"},"archive-view":{"parent":"archive-eye"},"archive-view-outline":{"parent":"archive-eye-outline"},"arena":{"parent":"stadium"},"arena-outline":{"parent":"stadium-outline"},"arm-barrier":{"parent":"boom-gate"},"arm-barrier-alert":{"parent":"boom-gate-alert"},"arm-barrier-alert-outline":{"parent":"boom-gate-alert-outline"},"arm-barrier-down":{"parent":"boom-gate-arrow-down"},"arm-barrier-down-outline":{"parent":"boom-gate-arrow-down-outline"},"arm-barrier-outline":{"parent":"boom-gate-outline"},"arm-barrier-up":{"parent":"boom-gate-arrow-up"},"arm-barrier-up-outline":{"parent":"boom-gate-arrow-up-outline"},"aroma":{"parent":"scent"},"aroma-off":{"parent":"scent-off"},"arrow":{"parent":"redo"},"arrow-back":{"parent":"arrow-left"},"arrow-back-circle":{"parent":"arrow-left-circle"},"arrow-bottom":{"parent":"arrow-down"},"arrow-bottom-bold":{"parent":"arrow-down-bold"},"arrow-bottom-bold-box":{"parent":"arrow-down-bold-box"},"arrow-bottom-bold-box-outline":{"parent":"arrow-down-bold-box-outline"},"arrow-bottom-bold-circle":{"parent":"arrow-down-bold-circle"},"arrow-bottom-bold-circle-outline":{"parent":"arrow-down-bold-circle-outline"},"arrow-bottom-bold-hexagon-outline":{"parent":"arrow-down-bold-hexagon-outline"},"arrow-bottom-bold-outline":{"parent":"arrow-down-bold-outline"},"arrow-bottom-box":{"parent":"arrow-down-box"},"arrow-bottom-circle":{"parent":"arrow-down-circle"},"arrow-bottom-circle-outline":{"parent":"arrow-down-circle-outline"},"arrow-bottom-drop-circle":{"parent":"arrow-down-drop-circle"},"arrow-bottom-drop-circle-outline":{"parent":"arrow-down-drop-circle-outline"},"arrow-bottom-left-bold":{"parent":"arrow-bottom-left-thick"},"arrow-bottom-right-bold":{"parent":"arrow-bottom-right-thick"},"arrow-bottom-thick":{"parent":"arrow-down-thick"},"arrow-compass":{"parent":"navigation"},"arrow-compress":{"parent":"arrow-collapse"},"arrow-compress-all":{"parent":"arrow-collapse-all"},"arrow-compress-down":{"parent":"arrow-collapse-down"},"arrow-compress-left":{"parent":"arrow-collapse-left"},"arrow-compress-right":{"parent":"arrow-collapse-right"},"arrow-compress-up":{"parent":"arrow-collapse-up"},"arrow-down-drop":{"parent":"menu-down"},"arrow-down-left-bold-outline":{"parent":"arrow-bottom-left-bold-outline"},"arrow-down-left-thick":{"parent":"arrow-bottom-left-thick"},"arrow-down-right-bold-outline":{"parent":"arrow-bottom-right-bold-outline"},"arrow-down-right-thick":{"parent":"arrow-bottom-right-thick"},"arrow-downward":{"parent":"arrow-down"},"arrow-drop-down":{"parent":"menu-down"},"arrow-drop-down-circle":{"parent":"arrow-down-drop-circle"},"arrow-drop-up":{"parent":"menu-up"},"arrow-forward":{"parent":"arrow-right"},"arrow-forward-circle":{"parent":"arrow-right-circle"},"arrow-horizontal-collapse":{"parent":"format-horizontal-align-center"},"arrow-rotate-left":{"parent":"rotate-left"},"arrow-rotate-right":{"parent":"rotate-right"},"arrow-top":{"parent":"arrow-up"},"arrow-top-bold":{"parent":"arrow-up-bold"},"arrow-top-bold-box":{"parent":"arrow-up-bold-box"},"arrow-top-bold-box-outline":{"parent":"arrow-up-bold-box-outline"},"arrow-top-bold-circle":{"parent":"arrow-up-bold-circle"},"arrow-top-bold-circle-outline":{"parent":"arrow-up-bold-circle-outline"},"arrow-top-bold-hexagon-outline":{"parent":"arrow-up-bold-hexagon-outline"},"arrow-top-bold-outline":{"parent":"arrow-up-bold-outline"},"arrow-top-circle":{"parent":"arrow-up-circle"},"arrow-top-circle-outline":{"parent":"arrow-up-circle-outline"},"arrow-top-drop-circle":{"parent":"arrow-up-drop-circle"},"arrow-top-drop-circle-outline":{"parent":"arrow-up-drop-circle-outline"},"arrow-top-left-bold":{"parent":"arrow-top-left-thick"},"arrow-top-right-bold":{"parent":"arrow-top-right-thick"},"arrow-top-thick":{"parent":"arrow-up-thick"},"arrow-up-left-bold-outline":{"parent":"arrow-top-left-bold-outline"},"arrow-up-left-thick":{"parent":"arrow-top-left-thick"},"arrow-up-right-bold-outline":{"parent":"arrow-top-right-bold-outline"},"arrow-up-right-thick":{"parent":"arrow-top-right-thick"},"arrow-upward":{"parent":"arrow-up"},"arrow-vertical-collapse":{"parent":"format-vertical-align-center"},"art":{"parent":"palette"},"artist":{"parent":"account-music"},"artist-outline":{"parent":"account-music-outline"},"asian-noodles":{"parent":"noodles"},"assembly":{"parent":"robot-industrial"},"assignment":{"parent":"clipboard-text"},"assignment-ind":{"parent":"clipboard-account"},"assignment-ind-outline":{"parent":"clipboard-account-outline"},"assignment-late":{"parent":"clipboard-alert"},"assignment-return":{"parent":"clipboard-arrow-left"},"assignment-returned":{"parent":"clipboard-arrow-down"},"assignment-returned-outline":{"parent":"clipboard-arrow-down-outline"},"assignment-turned-in":{"parent":"clipboard-check"},"assistant-photo":{"parent":"flag"},"atomic-bomb":{"parent":"nuke"},"attach-drive":{"parent":"google-drive"},"attach-file":{"parent":"paperclip"},"attach-money":{"parent":"currency-usd"},"attachment-add":{"parent":"attachment-plus"},"attachment-subtract":{"parent":"attachment-minus"},"attachment-tick":{"parent":"attachment-check"},"attachment-vertical":{"parent":"paperclip"},"audio":{"parent":"multimedia"},"audio-book":{"parent":"book-music"},"audio-induction-loop":{"parent":"ear-hearing-loop"},"audio-off":{"parent":"volume-off"},"audiobook":{"parent":"book-music"},"aurora-australis":{"parent":"aurora"},"aurora-borealis":{"parent":"aurora"},"auto-awesome":{"parent":"creation"},"auto-awesome-mosaic":{"parent":"collage"},"auto-awesome-motion":{"parent":"animation"},"auto-fix-high":{"parent":"auto-fix"},"auto-pay":{"parent":"cash-clock"},"auto-start":{"parent":"refresh-auto"},"auto-stop":{"parent":"refresh-auto"},"auto-stories":{"parent":"book-open-page-variant"},"auto-towing":{"parent":"tow-truck"},"autobahn":{"parent":"highway"},"automatic":{"parent":"refresh-auto"},"automatic-gate":{"parent":"boom-gate"},"automatic-gate-alert":{"parent":"boom-gate-alert"},"automatic-gate-alert-outline":{"parent":"boom-gate-alert-outline"},"automatic-gate-down":{"parent":"boom-gate-arrow-down"},"automatic-gate-down-outline":{"parent":"boom-gate-arrow-down-outline"},"automatic-gate-outline":{"parent":"boom-gate-outline"},"automatic-gate-up":{"parent":"boom-gate-arrow-up"},"automatic-gate-up-outline":{"parent":"boom-gate-arrow-up-outline"},"automatic-start":{"parent":"refresh-auto"},"automatic-stop":{"parent":"refresh-auto"},"autonomous":{"parent":"robot-industrial"},"av-receiver":{"parent":"audio-video"},"av-receiver-off":{"parent":"audio-video-off"},"avalanche":{"parent":"landslide"},"avalanche-outline":{"parent":"landslide-outline"},"award":{"parent":"license"},"azure":{"parent":"microsoft-azure"},"azure-devops":{"parent":"microsoft-azure-devops"},"baby-room":{"parent":"cradle"},"baby-room-outline":{"parent":"cradle-outline"},"backpack":{"parent":"bag-personal"},"backpack-off":{"parent":"bag-personal-off"},"backpack-off-outline":{"parent":"bag-personal-off-outline"},"backpack-outline":{"parent":"bag-personal-outline"},"backup":{"parent":"cloud-upload"},"backup-outline":{"parent":"cloud-upload-outline"},"badge":{"parent":"shield-star"},"badge-outline":{"parent":"shield-star-outline"},"bakery":{"parent":"baguette"},"ballet":{"parent":"human-female-dance"},"ban":{"parent":"cancel"},"band-aid":{"parent":"bandage"},"bangladeshi-taka":{"parent":"currency-bdt"},"bank-add":{"parent":"bank-plus"},"bar":{"parent":"beer"},"bar-chart":{"parent":"poll"},"bar-outline":{"parent":"beer-outline"},"barbecue":{"parent":"grill"},"barbecue-outline":{"parent":"grill-outline"},"barbell":{"parent":"dumbbell"},"barcode-scanner":{"parent":"barcode-scan"},"barometer":{"parent":"gauge"},"barrier":{"parent":"boom-gate"},"barrier-alert":{"parent":"boom-gate-alert"},"barrier-alert-outline":{"parent":"boom-gate-alert-outline"},"barrier-down":{"parent":"boom-gate-arrow-down"},"barrier-down-outline":{"parent":"boom-gate-arrow-down-outline"},"barrier-outline":{"parent":"boom-gate-outline"},"barrier-up":{"parent":"boom-gate-arrow-up"},"barrier-up-outline":{"parent":"boom-gate-arrow-up-outline"},"base":{"parent":"ph"},"bassinet":{"parent":"cradle"},"bathroom":{"parent":"shower"},"bathroom-tap":{"parent":"faucet"},"bathroom-tissue":{"parent":"paper-roll"},"bathroom-tissue-outline":{"parent":"paper-roll-outline"},"batter-0-clock":{"parent":"battery-clock-outline"},"battery-0":{"parent":"battery-outline"},"battery-100":{"parent":"battery"},"battery-100-clock":{"parent":"battery-clock"},"battery-add":{"parent":"battery-plus-variant"},"battery-bluetooth-100":{"parent":"battery-bluetooth"},"battery-bluetooth-full":{"parent":"battery-bluetooth"},"battery-charging-full":{"parent":"battery-charging"},"battery-charging-wireless-0":{"parent":"battery-charging-wireless-outline"},"battery-charging-wireless-100":{"parent":"battery-charging-wireless"},"battery-charging-wireless-empty":{"parent":"battery-charging-wireless-outline"},"battery-charging-wireless-full":{"parent":"battery-charging-wireless"},"battery-charging-wireless-warning":{"parent":"battery-charging-wireless-alert"},"battery-eco":{"parent":"battery-sync"},"battery-eco-outline":{"parent":"battery-sync-outline"},"battery-empty":{"parent":"battery-outline"},"battery-empty-clock":{"parent":"battery-clock-outline"},"battery-full":{"parent":"battery"},"battery-full-clock":{"parent":"battery-clock"},"battery-recycle":{"parent":"battery-sync"},"battery-recycle-outline":{"parent":"battery-sync-outline"},"battery-saver":{"parent":"battery-plus-variant"},"battery-saver-outline":{"parent":"battery-sync-outline"},"battery-std":{"parent":"battery"},"battery-warning":{"parent":"battery-alert"},"battery-warning-bluetooth":{"parent":"battery-alert-bluetooth"},"battle-net":{"parent":"battlenet"},"bbq":{"parent":"grill"},"bbq-outline":{"parent":"grill-outline"},"beacon":{"parent":"lighthouse"},"beats-per-minute":{"parent":"metronome"},"beats-per-minute-tick":{"parent":"metronome-tick"},"bed-schedule":{"parent":"bed-clock"},"bed-time":{"parent":"bed-clock"},"bedroom":{"parent":"bed-double"},"bedroom-outline":{"parent":"bed-double-outline"},"beef":{"parent":"food-steak"},"beef-off":{"parent":"food-steak-off"},"beenhere":{"parent":"marker-check"},"bell-add":{"parent":"bell-plus"},"bell-add-outline":{"parent":"bell-plus-outline"},"bell-notification":{"parent":"bell-badge"},"bell-notification-outline":{"parent":"bell-badge-outline"},"bell-settings":{"parent":"bell-cog"},"bell-settings-outline":{"parent":"bell-cog-outline"},"bell-warning":{"parent":"bell-alert"},"beverages":{"parent":"liquor"},"bezier":{"parent":"vector-curve"},"bible":{"parent":"book-cross"},"bicycle-antique":{"parent":"bicycle-penny-farthing"},"bicycle-high-wheel":{"parent":"bicycle-penny-farthing"},"bidet":{"parent":"toilet"},"bike-basket":{"parent":"bicycle-basket"},"bike-cargo":{"parent":"bicycle-cargo"},"bike-electric":{"parent":"bicycle-electric"},"billiards-triangle":{"parent":"billiards-rack"},"bin":{"parent":"delete"},"bin-circle":{"parent":"delete-circle"},"bin-circle-outline":{"parent":"delete-circle-outline"},"bin-empty":{"parent":"delete-empty"},"bin-outline":{"parent":"delete-outline"},"bin-restore":{"parent":"delete-restore"},"bin-variant":{"parent":"delete-variant"},"bing":{"parent":"microsoft-bing"},"biography":{"parent":"text-account"},"birthday-cake":{"parent":"cake"},"birthday-cake-outline":{"parent":"cake-variant-outline"},"biscuit":{"parent":"cookie"},"biscuit-alert":{"parent":"cookie-alert"},"biscuit-alert-outline":{"parent":"cookie-alert-outline"},"biscuit-check":{"parent":"cookie-check"},"biscuit-check-outline":{"parent":"cookie-check-outline"},"biscuit-clock":{"parent":"cookie-clock"},"biscuit-clock-outline":{"parent":"cookie-clock-outline"},"biscuit-cog":{"parent":"cookie-cog"},"biscuit-cog-outline":{"parent":"cookie-cog-outline"},"biscuit-crumbs":{"parent":"cookie-settings"},"biscuit-crumbs-outline":{"parent":"cookie-settings-outline"},"biscuit-edit":{"parent":"cookie-edit"},"biscuit-edit-outline":{"parent":"cookie-edit-outline"},"biscuit-lock":{"parent":"cookie-lock"},"biscuit-lock-outline":{"parent":"cookie-lock-outline"},"biscuit-minus":{"parent":"cookie-minus"},"biscuit-minus-outline":{"parent":"cookie-minus-outline"},"biscuit-off":{"parent":"cookie-off"},"biscuit-off-outline":{"parent":"cookie-off-outline"},"biscuit-outline":{"parent":"cookie-outline"},"biscuit-plus":{"parent":"cookie-plus"},"biscuit-plus-outline":{"parent":"cookie-plus-outline"},"biscuit-refresh":{"parent":"cookie-refresh"},"biscuit-refresh-outline":{"parent":"cookie-refresh-outline"},"biscuit-remove":{"parent":"cookie-remove"},"biscuit-remove-outline":{"parent":"cookie-remove-outline"},"biscuit-settings":{"parent":"cookie-settings"},"biscuit-settings-outline":{"parent":"cookie-settings-outline"},"blackboard":{"parent":"human-male-board"},"blinds-closed":{"parent":"roller-shade-closed"},"blinky":{"parent":"ghost"},"block":{"parent":"cancel"},"block-chain":{"parent":"link-lock"},"blog":{"parent":"post"},"blog-outline":{"parent":"post-outline"},"blood":{"parent":"liquid-spot"},"blood-alert":{"parent":"water-alert"},"blood-alert-outline":{"parent":"water-alert-outline"},"blood-check":{"parent":"water-check"},"blood-check-outline":{"parent":"water-check-outline"},"blood-circle":{"parent":"water-circle"},"blood-minus":{"parent":"water-minus"},"blood-minus-outline":{"parent":"water-minus-outline"},"blood-off":{"parent":"water-off"},"blood-off-outline":{"parent":"water-off-outline"},"blood-outline":{"parent":"water-outline"},"blood-plus":{"parent":"water-plus"},"blood-plus-outline":{"parent":"water-plus-outline"},"blood-remove":{"parent":"water-remove"},"blood-remove-outline":{"parent":"water-remove-outline"},"blood-saver":{"parent":"water-opacity"},"blood-transparent":{"parent":"water-opacity"},"bluetooth-connected":{"parent":"bluetooth-connect"},"bluetooth-disabled":{"parent":"bluetooth-off"},"bluetooth-searching":{"parent":"bluetooth-audio"},"blur-circular":{"parent":"blur-radial"},"blur-on":{"parent":"blur"},"boat":{"parent":"ferry"},"boil-point":{"parent":"water-thermometer"},"boil-point-outline":{"parent":"water-thermometer-outline"},"boiling-point":{"parent":"thermometer-water"},"bolnisi-cross":{"parent":"cross-bolnisi"},"book-add":{"parent":"book-plus"},"book-favorite":{"parent":"book-heart"},"book-favorite-outline":{"parent":"book-heart-outline"},"book-image":{"parent":"image-album"},"book-location":{"parent":"book-marker"},"book-location-outline":{"parent":"book-marker-outline"},"book-love":{"parent":"book-heart"},"book-love-outline":{"parent":"book-heart-outline"},"book-multiple-add":{"parent":"book-plus-multiple"},"book-schedule":{"parent":"book-clock"},"book-secure":{"parent":"book-lock"},"book-secure-outline":{"parent":"book-lock-outline"},"book-time":{"parent":"book-clock"},"book-unsecure":{"parent":"book-lock-open"},"bookmark-add":{"parent":"bookmark-plus"},"bookmark-add-outline":{"parent":"bookmark-plus-outline"},"bookmark-border":{"parent":"bookmark-outline"},"bookmark-success":{"parent":"bookmark-check"},"bookmark-success-outline":{"parent":"bookmark-check-outline"},"bookmark-tick":{"parent":"bookmark-check"},"books":{"parent":"book-multiple"},"books-add":{"parent":"book-plus-multiple"},"books-minus":{"parent":"book-minus-multiple"},"books-plus":{"parent":"book-plus-multiple"},"books-remove":{"parent":"book-remove-multiple"},"books-variant":{"parent":"book-variant-multiple"},"boom-arm":{"parent":"boom-gate"},"boom-arm-alert":{"parent":"boom-gate-alert"},"boom-arm-alert-outline":{"parent":"boom-gate-alert-outline"},"boom-arm-down":{"parent":"boom-gate-arrow-down"},"boom-arm-down-outline":{"parent":"boom-gate-arrow-down-outline"},"boom-arm-outline":{"parent":"boom-gate-outline"},"boom-arm-up":{"parent":"boom-gate-arrow-up"},"boom-arm-up-outline":{"parent":"boom-gate-arrow-up-outline"},"boom-barrier":{"parent":"boom-gate"},"boom-barrier-alert":{"parent":"boom-gate-alert"},"boom-barrier-alert-outline":{"parent":"boom-gate-alert-outline"},"boom-barrier-down":{"parent":"boom-gate-arrow-down"},"boom-barrier-down-outline":{"parent":"boom-gate-arrow-down-outline"},"boom-barrier-outline":{"parent":"boom-gate-outline"},"boom-barrier-up":{"parent":"boom-gate-arrow-up"},"boom-barrier-up-outline":{"parent":"boom-gate-arrow-up-outline"},"boom-gate-down":{"parent":"boom-gate-arrow-down"},"boom-gate-down-outline":{"parent":"boom-gate-arrow-down-outline"},"booze":{"parent":"liquor"},"border-clear":{"parent":"border-none"},"border-colour":{"parent":"border-color"},"border-outer":{"parent":"border-outside"},"border-round-corners":{"parent":"border-radius"},"bottle-coke":{"parent":"bottle-soda"},"bottle-coke-classic":{"parent":"bottle-soda-classic"},"bottle-coke-outline":{"parent":"bottle-soda-outline"},"bottle-plus":{"parent":"medication"},"bottle-plus-outline":{"parent":"medication-outline"},"bottle-pop":{"parent":"bottle-soda"},"bottle-pop-classic":{"parent":"bottle-soda-classic"},"bottle-pop-outline":{"parent":"bottle-soda-outline"},"bottle-rocket":{"parent":"firework"},"box-add":{"parent":"archive-plus"},"box-add-outline":{"parent":"archive-plus-outline"},"box-alert":{"parent":"archive-alert"},"box-alert-outline":{"parent":"archive-alert-outline"},"box-arrow-down":{"parent":"archive-arrow-down"},"box-arrow-up":{"parent":"archive-arrow-up"},"box-arrow-up-outline":{"parent":"archive-arrow-up-outline"},"box-cancel":{"parent":"archive-cancel"},"box-cancel-outline":{"parent":"archive-cancel-outline"},"box-check":{"parent":"archive-check"},"box-check-outline":{"parent":"archive-check-outline"},"box-clock":{"parent":"archive-clock"},"box-clock-outline":{"parent":"archive-clock-outline"},"box-cog":{"parent":"archive-cog"},"box-cog-outline":{"parent":"archive-cog-outline"},"box-down":{"parent":"package-down"},"box-edit":{"parent":"archive-edit"},"box-edit-outline":{"parent":"archive-edit-outline"},"box-eye":{"parent":"archive-eye"},"box-eye-outline":{"parent":"archive-eye-outline"},"box-favorite":{"parent":"archive-star"},"box-favorite-outline":{"parent":"archive-star-outline"},"box-location":{"parent":"archive-marker"},"box-location-outline":{"parent":"archive-marker-outline"},"box-lock":{"parent":"archive-lock"},"box-lock-open":{"parent":"archive-lock-open"},"box-lock-open-outline":{"parent":"archive-lock-open-outline"},"box-lock-outline":{"parent":"archive-lock-outline"},"box-marker":{"parent":"archive-marker"},"box-marker-outline":{"parent":"archive-marker-outline"},"box-minus":{"parent":"archive-minus"},"box-minus-outline":{"parent":"archive-minus-outline"},"box-music":{"parent":"archive-music"},"box-music-outline":{"parent":"archive-music-outline"},"box-off":{"parent":"archive-off"},"box-off-outline":{"parent":"archive-off-outline"},"box-outline":{"parent":"archive-outline"},"box-plus":{"parent":"archive-plus"},"box-plus-outline":{"parent":"archive-plus-outline"},"box-refresh":{"parent":"archive-refresh"},"box-refresh-outline":{"parent":"archive-refresh-outline"},"box-remove":{"parent":"archive-remove"},"box-remove-outline":{"parent":"archive-remove-outline"},"box-search":{"parent":"archive-search"},"box-search-outline":{"parent":"archive-search-outline"},"box-settings":{"parent":"archive-settings"},"box-settings-outline":{"parent":"archive-settings-outline"},"box-star":{"parent":"archive-star"},"box-star-outline":{"parent":"archive-star-outline"},"box-success":{"parent":"archive-check"},"box-success-outline":{"parent":"archive-check-outline"},"box-sync":{"parent":"archive-sync"},"box-sync-outline":{"parent":"archive-sync-outline"},"box-time":{"parent":"archive-clock"},"box-time-outline":{"parent":"archive-clock-outline"},"box-up":{"parent":"package-up"},"box-variant":{"parent":"package-variant"},"box-variant-add":{"parent":"package-variant-plus"},"box-variant-closed":{"parent":"package-variant-closed"},"box-variant-closed-add":{"parent":"package-variant-closed-plus"},"box-variant-closed-minus":{"parent":"package-variant-closed-minus"},"box-variant-closed-plus":{"parent":"package-variant-closed-plus"},"box-variant-closed-remove":{"parent":"package-variant-closed-remove"},"box-variant-closed-subtract":{"parent":"package-variant-closed-minus"},"box-variant-minus":{"parent":"package-variant-minus"},"box-variant-plus":{"parent":"package-variant-plus"},"box-variant-remove":{"parent":"package-variant-remove"},"box-variant-subtract":{"parent":"package-variant-minus"},"box-view":{"parent":"archive-eye"},"box-view-outline":{"parent":"archive-eye-outline"},"bpm":{"parent":"metronome"},"bpm-tick":{"parent":"metronome-tick"},"bra":{"parent":"lingerie"},"bracket":{"parent":"tournament"},"brain-freeze":{"parent":"head-snowflake"},"brain-freeze-outline":{"parent":"head-snowflake-outline"},"branding-watermark":{"parent":"watermark"},"brazilian-real":{"parent":"currency-brl"},"bread":{"parent":"baguette"},"breast-feed":{"parent":"mother-nurse"},"bricks":{"parent":"wall"},"briefcase-add":{"parent":"briefcase-plus"},"briefcase-add-outline":{"parent":"briefcase-plus-outline"},"briefcase-exchange":{"parent":"briefcase-arrow-left-right"},"briefcase-exchange-outline":{"parent":"briefcase-arrow-left-right-outline"},"briefcase-person":{"parent":"briefcase-account"},"briefcase-person-outline":{"parent":"briefcase-account-outline"},"briefcase-swap":{"parent":"briefcase-arrow-left-right"},"briefcase-swap-outline":{"parent":"briefcase-arrow-left-right-outline"},"briefcase-tick":{"parent":"briefcase-check"},"briefcase-transfer":{"parent":"briefcase-arrow-left-right"},"briefcase-transfer-outline":{"parent":"briefcase-arrow-left-right-outline"},"briefcase-user":{"parent":"briefcase-account"},"briefcase-user-outline":{"parent":"briefcase-account-outline"},"briefcase-view":{"parent":"briefcase-eye"},"briefcase-view-outline":{"parent":"briefcase-eye-outline"},"brightness-half":{"parent":"circle-half"},"brightness-high":{"parent":"brightness-7"},"brightness-low":{"parent":"brightness-5"},"brightness-medium":{"parent":"brightness-6"},"broken-image":{"parent":"image-broken-variant"},"bubble-chart":{"parent":"chart-bubble"},"bucket-minus":{"parent":"pail-minus"},"bucket-minus-outline":{"parent":"pail-minus-outline"},"bucket-off":{"parent":"pail-off"},"bucket-off-outline":{"parent":"pail-off-outline"},"bucket-plus":{"parent":"pail-plus"},"bucket-plus-outline":{"parent":"pail-plus-outline"},"bucket-remove":{"parent":"pail-remove"},"bucket-remove-outline":{"parent":"pail-remove-outline"},"buddhism":{"parent":"dharmachakra"},"bug-report":{"parent":"bug"},"bug-start":{"parent":"bug-play"},"bug-tick":{"parent":"bug-check"},"bug-tick-outline":{"parent":"bug-check-outline"},"bugfood":{"parent":"ladybug"},"buggy":{"parent":"baby-carriage"},"buggy-off":{"parent":"baby-carriage-off"},"build":{"parent":"wrench"},"build-outline":{"parent":"wrench-outline"},"building":{"parent":"domain"},"bulb":{"parent":"lightbulb"},"bulb-cfl":{"parent":"lightbulb-cfl"},"bulb-cfl-off":{"parent":"lightbulb-cfl-off"},"bulb-cfl-spiral":{"parent":"lightbulb-cfl-spiral"},"bulb-cfl-spiral-off":{"parent":"lightbulb-cfl-spiral-off"},"bulb-group":{"parent":"lightbulb-group"},"bulb-group-off":{"parent":"lightbulb-group-off"},"bulb-group-off-outline":{"parent":"lightbulb-group-off-outline"},"bulb-group-outline":{"parent":"lightbulb-group-outline"},"bulb-multiple":{"parent":"lightbulb-multiple"},"bulb-multiple-off":{"parent":"lightbulb-multiple-off"},"bulb-multiple-off-outline":{"parent":"lightbulb-multiple-off-outline"},"bulb-multiple-outline":{"parent":"lightbulb-multiple-outline"},"bulb-off":{"parent":"lightbulb-off"},"bulb-off-outline":{"parent":"lightbulb-off-outline"},"bulb-on":{"parent":"lightbulb-on"},"bulb-on-outline":{"parent":"lightbulb-on-outline"},"bulb-outline":{"parent":"lightbulb-outline"},"bulbs":{"parent":"lightbulb-multiple"},"bulbs-multiple-off-outline":{"parent":"lightbulb-multiple-off-outline"},"bulbs-off":{"parent":"lightbulb-multiple-off"},"bulbs-off-outline":{"parent":"lightbulb-multiple-off-outline"},"bulbs-outline":{"parent":"lightbulb-multiple-outline"},"bullets":{"parent":"ammunition"},"bunny":{"parent":"rabbit"},"bunny-outline":{"parent":"rabbit-variant-outline"},"burger":{"parent":"food"},"burger-add":{"parent":"hamburger-plus"},"burger-check":{"parent":"hamburger-check"},"burger-minus":{"parent":"hamburger-minus"},"burger-off":{"parent":"food-off"},"burger-plus":{"parent":"hamburger-plus"},"burger-remove":{"parent":"hamburger-remove"},"burst-mode":{"parent":"camera-burst"},"bus-location":{"parent":"bus-marker"},"bus-warning":{"parent":"bus-alert"},"business":{"parent":"domain"},"business-card":{"parent":"card-account-details"},"business-card-outline":{"parent":"card-account-details-outline"},"business-outline":{"parent":"handshake-outline"},"business-woman":{"parent":"account-tie-woman"},"button":{"parent":"card"},"button-outline":{"parent":"card-outline"},"cab":{"parent":"taxi"},"cable-car":{"parent":"gondola"},"calendar-add":{"parent":"calendar-plus"},"calendar-auto":{"parent":"calendar-star-four-points"},"calendar-day":{"parent":"calendar-today"},"calendar-day-outline":{"parent":"calendar-today-outline"},"calendar-favorite":{"parent":"calendar-star"},"calendar-help":{"parent":"calendar-question"},"calendar-help-outline":{"parent":"calendar-question-outline"},"calendar-multiple-tick":{"parent":"calendar-multiple-check"},"calendar-repeat":{"parent":"calendar-refresh"},"calendar-repeat-outline":{"parent":"calendar-refresh-outline"},"calendar-rsvp":{"parent":"calendar-question"},"calendar-task":{"parent":"calendar-check"},"calendar-task-outline":{"parent":"calendar-check-outline"},"calendar-tick":{"parent":"calendar-check"},"calendar-tick-outline":{"parent":"calendar-check-outline"},"calendar-time":{"parent":"calendar-clock"},"calendar-user":{"parent":"calendar-account"},"calendar-user-outline":{"parent":"calendar-account-outline"},"calendar-warning":{"parent":"calendar-alert"},"calendars":{"parent":"calendar-multiple"},"calendars-check":{"parent":"calendar-multiple-check"},"calendars-tick":{"parent":"calendar-multiple-check"},"call":{"parent":"phone"},"call-bell":{"parent":"room-service"},"call-bell-outline":{"parent":"room-service-outline"},"call-end":{"parent":"phone-hangup"},"call-outline":{"parent":"phone-outline"},"call-to-action":{"parent":"gesture-tap-button"},"camcorder-box":{"parent":"video-box"},"camcorder-box-off":{"parent":"video-box-off"},"camera-alt":{"parent":"camera"},"camera-location":{"parent":"camera-marker"},"camera-location-outline":{"parent":"camera-marker-outline"},"camera-metering-centre":{"parent":"camera-metering-center"},"camera-refresh":{"parent":"camera-flip"},"camera-refresh-outline":{"parent":"camera-flip-outline"},"camera-roll":{"parent":"film"},"camera-sync":{"parent":"camera-flip"},"camera-sync-outline":{"parent":"camera-flip-outline"},"camera-user":{"parent":"camera-account"},"campervan":{"parent":"rv-truck"},"camping":{"parent":"tent"},"can-light":{"parent":"light-recessed"},"cancel-bold":{"parent":"close-thick"},"cancel-box":{"parent":"close-box"},"cancel-box-multiple":{"parent":"close-box-multiple"},"cancel-box-outline":{"parent":"close-box-outline"},"cancel-circle":{"parent":"close-circle"},"cancel-circle-multiple-outline":{"parent":"close-circle-multiple-outline"},"cancel-circle-outline":{"parent":"close-circle-outline"},"cancel-network":{"parent":"close-network"},"cancel-network-outline":{"parent":"close-network-outline"},"cancel-octagon":{"parent":"close-octagon"},"cancel-octagon-outline":{"parent":"close-octagon-outline"},"cancel-outline":{"parent":"close-outline"},"cancel-thick":{"parent":"close-thick"},"candelabra-flame":{"parent":"candelabra-fire"},"candelabra-lamp":{"parent":"chandelier"},"candelabrum":{"parent":"candelabra"},"candelabrum-fire":{"parent":"candelabra-fire"},"candelabrum-flame":{"parent":"candelabra-fire"},"candle-fire":{"parent":"candelabra-fire"},"candle-flame":{"parent":"candelabra-fire"},"canine":{"parent":"dog-service"},"capsule":{"parent":"pill"},"capsule-off":{"parent":"pill-off"},"car-autonomous":{"parent":"car-wireless"},"car-brake-warning":{"parent":"car-brake-alert"},"car-emergency-brake":{"parent":"car-brake-alert"},"car-engine-start":{"parent":"reload"},"car-find":{"parent":"car-search"},"car-find-outline":{"parent":"car-search-outline"},"car-front-glass":{"parent":"car-windshield"},"car-front-glass-outline":{"parent":"car-windshield-outline"},"car-hand-brake":{"parent":"car-brake-alert"},"car-handbrake":{"parent":"car-brake-alert"},"car-horn":{"parent":"bugle"},"car-insurance":{"parent":"shield-car"},"car-location":{"parent":"car-select"},"car-manual-transmission":{"parent":"car-shift-pattern"},"car-park":{"parent":"parking"},"car-parking-brake":{"parent":"car-brake-alert"},"car-police":{"parent":"car-emergency"},"car-rental":{"parent":"car-key"},"car-repair":{"parent":"car-wrench"},"car-saloon":{"parent":"car-side"},"car-security":{"parent":"shield-car"},"car-self-driving":{"parent":"car-wireless"},"car-smart":{"parent":"car-wireless"},"car-sports-utility-vehicle":{"parent":"car-estate"},"car-suv":{"parent":"car-estate"},"car-tire-warning":{"parent":"car-tire-alert"},"car-transmission":{"parent":"car-shift-pattern"},"car-tyre-alert":{"parent":"car-tire-alert"},"car-tyre-warning":{"parent":"car-tire-alert"},"carbon-monoxide":{"parent":"molecule-co"},"card-account-details-favorite":{"parent":"card-account-details-star"},"card-account-details-favorite-outline":{"parent":"card-account-details-star-outline"},"card-giftcard":{"parent":"wallet-giftcard"},"card-membership":{"parent":"wallet-membership"},"card-travel":{"parent":"wallet-travel"},"cardholder":{"parent":"account-credit-card"},"cardholder-outline":{"parent":"account-credit-card-outline"},"caret":{"parent":"chevron-up"},"caret-down":{"parent":"menu-down"},"caret-down-outline":{"parent":"menu-down-outline"},"caret-up":{"parent":"menu-up"},"caret-up-outline":{"parent":"menu-up-outline"},"cargo-ship":{"parent":"ferry"},"carpentry":{"parent":"ruler-square"},"carpet":{"parent":"rug"},"carpool-lane":{"parent":"car-2-plus"},"carpool-lane-outline":{"parent":"cards-diamond-outline"},"carriage":{"parent":"baby-buggy"},"carriage-lamp":{"parent":"coach-lamp"},"carriage-light":{"parent":"coach-lamp"},"carry-on-bag-check":{"parent":"bag-carry-on-check"},"carry-on-bag-tick":{"parent":"bag-carry-on-check"},"carry-on-luggage":{"parent":"bag-carry-on"},"carry-on-luggage-off":{"parent":"bag-carry-on-off"},"cart-add":{"parent":"cart-plus"},"cart-discount":{"parent":"cart-percent"},"cart-favorite":{"parent":"cart-heart"},"cart-sale":{"parent":"cart-percent"},"cash-chargeback":{"parent":"cash-refund"},"cash-cycle":{"parent":"cash-sync"},"cash-location":{"parent":"cash-marker"},"cash-on-delivery":{"parent":"cash-marker"},"cash-return":{"parent":"cash-refund"},"cash-schedule":{"parent":"cash-clock"},"casino":{"parent":"slot-machine"},"casino-chip":{"parent":"poker-chip"},"casino-outline":{"parent":"slot-machine-outline"},"cast-school":{"parent":"cast-education"},"cast-speaker":{"parent":"cast-audio"},"cast-tutorial":{"parent":"cast-education"},"category":{"parent":"shape"},"category-outline":{"parent":"shape-outline"},"category-plus":{"parent":"shape-plus"},"cc":{"parent":"closed-caption"},"cc-outline":{"parent":"closed-caption-outline"},"cd-rom":{"parent":"disc"},"ceiling-fan-on":{"parent":"ceiling-fan-light"},"ceiling-lamp":{"parent":"ceiling-light"},"ceiling-lamp-multiple":{"parent":"ceiling-light-multiple"},"ceiling-lamp-multiple-outline":{"parent":"ceiling-light-multiple-outline"},"ceiling-light-flat":{"parent":"wall-sconce-flat"},"celebration":{"parent":"party-popper"},"cellphone-download":{"parent":"cellphone-arrow-down-variant"},"cellphone-erase":{"parent":"cellphone-remove"},"cellphone-gps":{"parent":"cellphone-marker"},"cellphone-location":{"parent":"cellphone-marker"},"cellphone-map":{"parent":"cellphone-marker"},"cellphone-settings-variant":{"parent":"cellphone-cog"},"cellphone-system-update":{"parent":"cellphone-arrow-down"},"celtic-cross":{"parent":"cross-celtic"},"cemetery":{"parent":"grave-stone"},"chair":{"parent":"seat"},"chair-accent":{"parent":"seat"},"chair-accent-outline":{"parent":"seat-outline"},"chair-outline":{"parent":"seat-outline"},"change-history":{"parent":"delta"},"charcoal":{"parent":"grill"},"charcoal-outline":{"parent":"grill-outline"},"charging-station":{"parent":"ev-station"},"charity-outline":{"parent":"hand-coin-outline"},"chart-doughnut":{"parent":"chart-donut"},"chart-doughnut-variant":{"parent":"chart-donut-variant"},"chart-finance":{"parent":"finance"},"chart-home":{"parent":"home-analytics"},"chart-production-possibility-frontier":{"parent":"chart-ppf"},"chart-scatterplot-hexbin":{"parent":"chart-scatter-plot-hexbin"},"chart-snakey":{"parent":"chart-sankey"},"chart-snakey-variant":{"parent":"chart-sankey-variant"},"chat-add":{"parent":"forum-plus"},"chat-add-outline":{"parent":"forum-plus-outline"},"chat-bubble":{"parent":"message"},"chat-bubble-outline":{"parent":"message-outline"},"chat-delete":{"parent":"forum-remove"},"chat-delete-outline":{"parent":"forum-remove-outline"},"chat-help":{"parent":"chat-question"},"chat-help-outline":{"parent":"chat-question-outline"},"chat-subtract":{"parent":"forum-minus"},"chat-subtract-outline":{"parent":"forum-minus-outline"},"chat-typing":{"parent":"chat-processing"},"chat-typing-outline":{"parent":"chat-processing-outline"},"chat-warning":{"parent":"chat-alert"},"check-box":{"parent":"checkbox-marked"},"check-box-multiple-outline":{"parent":"checkbox-multiple-outline"},"check-box-outline":{"parent":"checkbox-outline"},"check-box-outline-blank":{"parent":"checkbox-blank-outline"},"check-boxes-outline":{"parent":"checkbox-multiple-outline"},"check-multiple":{"parent":"check-all"},"check-thick":{"parent":"check-bold"},"checkbox-blank-notification":{"parent":"checkbox-blank-badge"},"checkbox-blank-notification-outline":{"parent":"checkbox-blank-badge-outline"},"checkbox-indeterminate":{"parent":"checkbox-intermediate"},"checkbox-indeterminate-outline":{"parent":"minus-box-outline"},"checkbox-indeterminate-variant":{"parent":"checkbox-intermediate-variant"},"checkboxes-blank":{"parent":"checkbox-multiple-blank"},"checkboxes-blank-circle":{"parent":"checkbox-multiple-blank-circle"},"checkboxes-blank-circle-outline":{"parent":"checkbox-multiple-blank-circle-outline"},"checkboxes-blank-outline":{"parent":"checkbox-multiple-blank-outline"},"checkboxes-marked":{"parent":"checkbox-multiple-marked"},"checkboxes-marked-circle":{"parent":"checkbox-multiple-marked-circle"},"checkboxes-marked-circle-outline":{"parent":"checkbox-multiple-marked-circle-outline"},"checkboxes-marked-outline":{"parent":"checkbox-multiple-marked-outline"},"checkboxes-multiple-marked":{"parent":"checkbox-multiple-marked"},"checkers":{"parent":"crown-circle"},"checkers-outline":{"parent":"crown-circle-outline"},"checks":{"parent":"check-all"},"chemist":{"parent":"mortar-pestle-plus"},"cheque-book":{"parent":"checkbook"},"chequebook":{"parent":"checkbook"},"chequebook-arrow-left":{"parent":"checkbook-arrow-left"},"chequebook-arrow-right":{"parent":"checkbook-arrow-right"},"chess-castle":{"parent":"chess-rook"},"chess-horse":{"parent":"chess-knight"},"chess-tower":{"parent":"chess-rook"},"chevron-down-up":{"parent":"unfold-less-horizontal"},"chevron-left-first":{"parent":"page-first"},"chevron-left-right":{"parent":"unfold-more-vertical"},"chevron-right-last":{"parent":"page-last"},"chevron-right-left":{"parent":"unfold-less-vertical"},"chevron-up-down":{"parent":"unfold-more-horizontal"},"chicken-leg":{"parent":"food-drumstick"},"chicken-leg-off":{"parent":"food-drumstick-off"},"chicken-leg-off-outline":{"parent":"food-drumstick-off-outline"},"chicken-leg-outline":{"parent":"food-drumstick-outline"},"child-friendly":{"parent":"baby-carriage"},"child-friendly-off":{"parent":"baby-carriage-off"},"child-toy":{"parent":"teddy-bear"},"children-toy":{"parent":"teddy-bear"},"childrens-room":{"parent":"teddy-bear"},"chilli-hot":{"parent":"chili-hot"},"chilli-medium":{"parent":"chili-medium"},"chilli-mild":{"parent":"chili-mild"},"chilli-off":{"parent":"chili-off"},"chip-32-bit":{"parent":"cpu-32-bit"},"chip-64-bit":{"parent":"cpu-64-bit"},"chips":{"parent":"french-fries"},"chocolate":{"parent":"candy"},"chocolate-off":{"parent":"candy-off"},"chocolate-off-outline":{"parent":"candy-off-outline"},"chocolate-outline":{"parent":"candy-outline"},"christianity":{"parent":"cross"},"christianity-outline":{"parent":"cross-outline"},"christmas-lights":{"parent":"string-lights"},"christmas-lights-off":{"parent":"string-lights-off"},"christmas-star":{"parent":"hexagram"},"christmas-star-outline":{"parent":"hexagram-outline"},"chrome-reader-mode":{"parent":"book-open"},"chromecast":{"parent":"google-chrome"},"cigarette":{"parent":"smoking"},"cigarette-off":{"parent":"smoking-off"},"cinema":{"parent":"theater"},"circle-arrows":{"parent":"autorenew"},"circle-arrows-off":{"parent":"autorenew-off"},"circle-diameter":{"parent":"diameter"},"circle-diameter-outline":{"parent":"diameter-outline"},"circle-diameter-variant":{"parent":"diameter-variant"},"circle-plus-outline":{"parent":"loupe"},"circle-radius":{"parent":"radius"},"circle-radius-outline":{"parent":"radius-outline"},"circle-transparent":{"parent":"circle-opacity"},"circles-add":{"parent":"plus-circle-outline"},"circular-arrows":{"parent":"autorenew"},"circular-arrows-off":{"parent":"autorenew-off"},"clapperboard":{"parent":"movie"},"clapperboard-check":{"parent":"movie-check"},"clapperboard-check-outline":{"parent":"movie-check-outline"},"clapperboard-cog":{"parent":"movie-cog"},"clapperboard-cog-outline":{"parent":"movie-cog-outline"},"clapperboard-edit":{"parent":"movie-edit"},"clapperboard-edit-outline":{"parent":"movie-edit-outline"},"clapperboard-minus":{"parent":"movie-minus"},"clapperboard-minus-outline":{"parent":"movie-minus-outline"},"clapperboard-off":{"parent":"movie-off"},"clapperboard-off-outline":{"parent":"movie-off-outline"},"clapperboard-open":{"parent":"movie-open"},"clapperboard-open-check":{"parent":"movie-open-check"},"clapperboard-open-check-outline":{"parent":"movie-open-check-outline"},"clapperboard-open-cog":{"parent":"movie-open-cog"},"clapperboard-open-cog-outline":{"parent":"movie-open-cog-outline"},"clapperboard-open-edit":{"parent":"movie-open-edit"},"clapperboard-open-edit-outline":{"parent":"movie-open-edit-outline"},"clapperboard-open-minus":{"parent":"movie-open-minus"},"clapperboard-open-minus-outline":{"parent":"movie-open-minus-outline"},"clapperboard-open-off":{"parent":"movie-open-off"},"clapperboard-open-off-outline":{"parent":"movie-open-off-outline"},"clapperboard-open-outline":{"parent":"movie-open-outline"},"clapperboard-open-play":{"parent":"movie-open-play"},"clapperboard-open-play-outline":{"parent":"movie-open-play-outline"},"clapperboard-open-plus":{"parent":"movie-open-plus"},"clapperboard-open-plus-outline":{"parent":"movie-open-plus-outline"},"clapperboard-open-remove":{"parent":"movie-open-remove"},"clapperboard-open-remove-outline":{"parent":"movie-open-remove-outline"},"clapperboard-open-settings":{"parent":"movie-open-settings"},"clapperboard-open-settings-outline":{"parent":"movie-open-settings-outline"},"clapperboard-open-star":{"parent":"movie-open-star"},"clapperboard-open-star-outline":{"parent":"movie-open-star-outline"},"clapperboard-outline":{"parent":"movie-outline"},"clapperboard-play":{"parent":"movie-play"},"clapperboard-play-outline":{"parent":"movie-play-outline"},"clapperboard-plus":{"parent":"movie-plus"},"clapperboard-plus-outline":{"parent":"movie-plus-outline"},"clapperboard-remove":{"parent":"movie-remove"},"clapperboard-remove-outline":{"parent":"movie-remove-outline"},"clapperboard-settings":{"parent":"movie-settings"},"clapperboard-settings-outline":{"parent":"movie-settings-outline"},"clapperboard-star":{"parent":"movie-star"},"clapperboard-star-outline":{"parent":"movie-star-outline"},"class":{"parent":"book-variant"},"cleaning":{"parent":"spray-bottle"},"clear":{"parent":"backspace"},"clear-bold":{"parent":"close-thick"},"clear-box":{"parent":"close-box"},"clear-box-outline":{"parent":"close-box-outline"},"clear-circle":{"parent":"close-circle"},"clear-circle-multiple":{"parent":"close-circle-multiple"},"clear-circle-multiple-outline":{"parent":"close-circle-multiple-outline"},"clear-circle-outline":{"parent":"close-circle-outline"},"clear-network":{"parent":"close-network"},"clear-network-outline":{"parent":"close-network-outline"},"clear-octagon":{"parent":"close-octagon"},"clear-octagon-outline":{"parent":"close-octagon-outline"},"clear-outline":{"parent":"backspace-outline"},"clear-reverse":{"parent":"backspace-reverse"},"clear-reverse-outline":{"parent":"backspace-reverse-outline"},"clear-thick":{"parent":"close-thick"},"climate-change":{"parent":"waves-arrow-up"},"clip":{"parent":"content-cut"},"clipboard-add":{"parent":"clipboard-plus"},"clipboard-arrow-bottom":{"parent":"clipboard-arrow-down"},"clipboard-arrow-bottom-outline":{"parent":"clipboard-arrow-down-outline"},"clipboard-arrow-top":{"parent":"clipboard-arrow-up"},"clipboard-arrow-top-outline":{"parent":"clipboard-arrow-up-outline"},"clipboard-person":{"parent":"clipboard-account"},"clipboard-person-outline":{"parent":"clipboard-account-outline"},"clipboard-text-date":{"parent":"clipboard-text-clock"},"clipboard-text-date-outline":{"parent":"clipboard-text-clock-outline"},"clipboard-text-history":{"parent":"clipboard-text-clock"},"clipboard-text-history-outline":{"parent":"clipboard-text-clock-outline"},"clipboard-text-time":{"parent":"clipboard-text-clock"},"clipboard-text-time-outline":{"parent":"clipboard-text-clock-outline"},"clipboard-tick":{"parent":"clipboard-check"},"clipboard-tick-outline":{"parent":"clipboard-check-outline"},"clipboard-user":{"parent":"clipboard-account"},"clipboard-user-outline":{"parent":"clipboard-account-outline"},"clipboard-vitals":{"parent":"clipboard-pulse"},"clipboard-vitals-outline":{"parent":"clipboard-pulse-outline"},"clipboard-warning":{"parent":"clipboard-alert"},"clipboard-warning-outline":{"parent":"clipboard-alert-outline"},"clock-arrow":{"parent":"history"},"clock-warning":{"parent":"clock-alert"},"clockwise":{"parent":"update"},"clockwise-arrows":{"parent":"autorenew"},"clockwise-arrows-off":{"parent":"autorenew-off"},"close-bold":{"parent":"close-thick"},"close-boxes":{"parent":"close-box-multiple"},"close-boxes-outline":{"parent":"close-box-multiple-outline"},"closed-circuit-television":{"parent":"cctv"},"closed-circuit-television-off":{"parent":"cctv-off"},"closet":{"parent":"hanger"},"closet-outline":{"parent":"wardrobe-outline"},"cloth":{"parent":"receipt"},"cloth-outline":{"parent":"receipt-outline"},"clothes-hanger":{"parent":"hanger"},"cloud-discount":{"parent":"cloud-percent"},"cloud-discount-outline":{"parent":"cloud-percent-outline"},"cloud-done":{"parent":"cloud-check-variant"},"cloud-json":{"parent":"cloud-braces"},"cloud-queue":{"parent":"cloud-outline"},"cloud-tick":{"parent":"cloud-check-variant"},"cloud-warning":{"parent":"cloud-alert"},"cloud-xml":{"parent":"cloud-tags"},"clyde":{"parent":"ghost"},"coach-light":{"parent":"coach-lamp"},"coat-hanger":{"parent":"hanger"},"cobweb":{"parent":"spider-web"},"cocktail":{"parent":"glass-cocktail"},"cod":{"parent":"cash-marker"},"code":{"parent":"xml"},"code-or":{"parent":"math-norm"},"code-or-box":{"parent":"math-norm-box"},"code-tags-tick":{"parent":"code-tags-check"},"coffee-machine":{"parent":"coffee-maker"},"coffee-maker-complete":{"parent":"coffee-maker-check"},"coffee-maker-complete-outline":{"parent":"coffee-maker-check-outline"},"coffee-maker-done":{"parent":"coffee-maker-check"},"coffee-maker-done-outline":{"parent":"coffee-maker-check-outline"},"coin":{"parent":"currency-usd-circle"},"coin-outline":{"parent":"currency-usd-circle-outline"},"coins":{"parent":"circle-multiple"},"coins-close":{"parent":"close-circle-multiple"},"coins-close-outline":{"parent":"close-circle-multiple-outline"},"coins-minus":{"parent":"minus-circle-multiple"},"coins-minus-outline":{"parent":"minus-circle-multiple-outline"},"coins-outline":{"parent":"circle-multiple-outline"},"coins-plus":{"parent":"plus-circle-multiple"},"coins-plus-outline":{"parent":"plus-circle-multiple-outline"},"coins-remove":{"parent":"close-circle-multiple"},"coins-remove-outline":{"parent":"close-circle-multiple-outline"},"cold-alert":{"parent":"snowflake-alert"},"collapse-horizontal":{"parent":"unfold-less-horizontal"},"collapse-vertical":{"parent":"unfold-less-vertical"},"collection":{"parent":"rhombus-split"},"collections":{"parent":"image-multiple"},"collections-bookmark":{"parent":"bookmark-box-multiple"},"collections-bookmark-outline":{"parent":"bookmark-box-multiple-outline"},"college":{"parent":"human-male-board"},"college-outline":{"parent":"school-outline"},"color":{"parent":"palette"},"color-lens":{"parent":"palette"},"colorize":{"parent":"eyedropper-variant"},"colour-helper":{"parent":"color-helper"},"colour-lens":{"parent":"palette"},"colourise":{"parent":"eyedropper-variant"},"column":{"parent":"pillar"},"comedy":{"parent":"drama-masks"},"comic-bubble":{"parent":"thought-bubble"},"comic-thought-bubble-outline":{"parent":"thought-bubble-outline"},"comment-add":{"parent":"comment-plus"},"comment-add-outline":{"parent":"comment-plus-outline"},"comment-help":{"parent":"comment-question"},"comment-help-outline":{"parent":"comment-question-outline"},"comment-next":{"parent":"comment-arrow-right"},"comment-next-outline":{"parent":"comment-arrow-right-outline"},"comment-person":{"parent":"comment-account"},"comment-person-outline":{"parent":"comment-account-outline"},"comment-previous":{"parent":"comment-arrow-left"},"comment-previous-outline":{"parent":"comment-arrow-left-outline"},"comment-quick":{"parent":"comment-flash"},"comment-quick-outline":{"parent":"comment-flash-outline"},"comment-tick":{"parent":"comment-check"},"comment-tick-outline":{"parent":"comment-check-outline"},"comment-user":{"parent":"comment-account"},"comment-user-outline":{"parent":"comment-account-outline"},"comment-warning":{"parent":"comment-alert"},"comment-warning-outline":{"parent":"comment-alert-outline"},"comments":{"parent":"comment-multiple"},"comments-outline":{"parent":"comment-multiple-outline"},"comments-text":{"parent":"comment-text-multiple"},"comments-text-outline":{"parent":"comment-text-multiple-outline"},"communism":{"parent":"hammer-sickle"},"commute":{"parent":"train-car"},"company":{"parent":"domain"},"compress":{"parent":"arrow-collapse-vertical"},"compressed-file":{"parent":"zip-box"},"compressed-file-outline":{"parent":"zip-box-outline"},"compressed-folder":{"parent":"folder-zip"},"compressed-folder-outline":{"parent":"folder-zip-outline"},"computer":{"parent":"laptop"},"computer-classic":{"parent":"desktop-classic"},"confidential-mode":{"parent":"lock-clock"},"confirmation-number":{"parent":"ticket-confirmation"},"confirmation-number-outline":{"parent":"ticket-confirmation-outline"},"connect-without-contact":{"parent":"human-greeting-proximity"},"construction":{"parent":"account-hard-hat"},"construction-outline":{"parent":"account-hard-hat-outline"},"contact":{"parent":"account-box"},"contact-mail":{"parent":"card-account-mail"},"contact-mail-outline":{"parent":"card-account-mail-outline"},"contact-outline":{"parent":"account-box-outline"},"contact-phone":{"parent":"card-account-phone"},"contact-phone-outline":{"parent":"card-account-phone-outline"},"content-save-add":{"parent":"content-save-plus"},"content-save-add-outline":{"parent":"content-save-plus-outline"},"contract":{"parent":"file-document-edit"},"contract-outline":{"parent":"file-document-edit-outline"},"contract-sign":{"parent":"file-sign"},"control-point":{"parent":"plus-circle-outline"},"control-point-duplicate":{"parent":"plus-circle-multiple-outline"},"controlled-burn":{"parent":"pine-tree-fire"},"controller-circle":{"parent":"gamepad-circle"},"controller-circle-down":{"parent":"gamepad-circle-down"},"controller-circle-left":{"parent":"gamepad-circle-left"},"controller-circle-outline":{"parent":"gamepad-circle-outline"},"controller-circle-right":{"parent":"gamepad-circle-right"},"controller-circle-up":{"parent":"gamepad-circle-up"},"controller-down":{"parent":"gamepad-down"},"controller-left":{"parent":"gamepad-left"},"controller-outline":{"parent":"gamepad-outline"},"controller-right":{"parent":"gamepad-right"},"controller-round":{"parent":"gamepad-round"},"controller-round-down":{"parent":"gamepad-round-down"},"controller-round-left":{"parent":"gamepad-round-left"},"controller-round-outline":{"parent":"gamepad-round-outline"},"controller-round-right":{"parent":"gamepad-round-right"},"controller-round-up":{"parent":"gamepad-round-up"},"controller-square":{"parent":"gamepad-square"},"controller-square-outline":{"parent":"gamepad-square-outline"},"controller-up":{"parent":"gamepad-up"},"controller-variant":{"parent":"gamepad-variant"},"controller-variant-outline":{"parent":"gamepad-variant-outline"},"cook":{"parent":"chef-hat"},"cooker":{"parent":"stove"},"cookie-crumbs":{"parent":"cookie-settings"},"cookie-crumbs-outline":{"parent":"cookie-settings-outline"},"cooktop-burner":{"parent":"gas-burner"},"couch":{"parent":"sofa"},"couch-outline":{"parent":"sofa-outline"},"counterclockwise":{"parent":"history"},"counterclockwise-arrows":{"parent":"cached"},"counting-1":{"parent":"tally-mark-1"},"counting-2":{"parent":"tally-mark-2"},"counting-3":{"parent":"tally-mark-3"},"counting-4":{"parent":"tally-mark-4"},"counting-5":{"parent":"tally-mark-5"},"coupon":{"parent":"ticket-percent"},"coupon-outline":{"parent":"ticket-percent-outline"},"courier":{"parent":"truck"},"courier-check":{"parent":"truck-check"},"courier-fast":{"parent":"truck-fast"},"court-hammer":{"parent":"gavel"},"covid-test":{"parent":"medical-cotton-swab"},"cowboy":{"parent":"account-cowboy-hat"},"create":{"parent":"pencil"},"create-new-folder":{"parent":"folder-plus"},"create-new-folder-outline":{"parent":"folder-plus-outline"},"create-outline":{"parent":"pencil-outline"},"credit-card-add":{"parent":"credit-card-plus-outline"},"credit-card-contactless":{"parent":"credit-card-wireless-outline"},"credit-card-icc-chip":{"parent":"credit-card-chip"},"credit-card-icc-chip-outline":{"parent":"credit-card-chip-outline"},"credit-card-location":{"parent":"credit-card-marker"},"credit-card-location-outline":{"parent":"credit-card-marker-outline"},"credit-card-swipe":{"parent":"credit-card-fast"},"credit-card-swipe-outline":{"parent":"credit-card-fast-outline"},"credit-cards":{"parent":"credit-card-multiple-outline"},"crib":{"parent":"cradle"},"cricket-bat":{"parent":"cricket"},"crop-5-4":{"parent":"crop-landscape"},"crossfit":{"parent":"weight-lifter"},"crosshairs-account":{"parent":"target-account"},"crosshairs-unknown":{"parent":"crosshairs-question"},"crowd-source":{"parent":"crowd"},"crowdsource":{"parent":"crowd"},"cruelty-free":{"parent":"rabbit-variant"},"cruelty-free-outline":{"parent":"rabbit-variant-outline"},"cta":{"parent":"gesture-tap-button"},"cup-full":{"parent":"beer"},"cup-full-outline":{"parent":"beer-outline"},"cup-ice":{"parent":"delete-variant"},"cup-liquid":{"parent":"cup-water"},"cup-to-go":{"parent":"coffee-to-go"},"cup-to-go-outline":{"parent":"coffee-to-go-outline"},"currency-hryvnia":{"parent":"currency-uah"},"currency-irr":{"parent":"currency-rial"},"currency-lkr":{"parent":"currency-rupee"},"currency-mongolian-tugrug":{"parent":"currency-mnt"},"currency-npr":{"parent":"currency-rupee"},"currency-omr":{"parent":"currency-rial"},"currency-pkr":{"parent":"currency-rupee"},"currency-riyal":{"parent":"currency-rial"},"currency-sar":{"parent":"currency-rial"},"currency-scarab":{"parent":"currency-sign"},"currency-thai-baht":{"parent":"currency-thb"},"currency-ukraine":{"parent":"currency-uah"},"currency-yer":{"parent":"currency-rial"},"cursor-hand":{"parent":"cursor-pointer"},"customer-service":{"parent":"face-agent"},"cutlery":{"parent":"silverware"},"cutlery-clean":{"parent":"silverware-clean"},"cutlery-fork":{"parent":"silverware-fork"},"cutlery-fork-knife":{"parent":"silverware-fork-knife"},"cutlery-knife":{"parent":"knife"},"cutlery-spoon":{"parent":"silverware-spoon"},"cutlery-variant":{"parent":"silverware-variant"},"cycling":{"parent":"bicycle"},"cyclone":{"parent":"weather-hurricane"},"dad":{"parent":"human-male-boy"},"dagger":{"parent":"knife-military"},"dairy-free":{"parent":"cow-off"},"dairy-off":{"parent":"cow-off"},"dais":{"parent":"lectern"},"dangerous":{"parent":"close-octagon"},"data-settings":{"parent":"network-strength-4-cog"},"data-usage":{"parent":"chart-donut"},"database-add":{"parent":"database-plus"},"database-location":{"parent":"database-marker"},"database-location-outline":{"parent":"database-marker-outline"},"database-tick":{"parent":"database-check"},"database-view":{"parent":"database-eye"},"database-view-off":{"parent":"database-eye-off"},"database-view-off-outline":{"parent":"database-eye-off-outline"},"database-view-outline":{"parent":"database-eye-outline"},"date-range":{"parent":"calendar-range"},"day-temperature":{"parent":"sun-thermometer"},"dead":{"parent":"coffin"},"deal":{"parent":"handshake"},"deal-outline":{"parent":"handshake-outline"},"death":{"parent":"coffin"},"decagram-check":{"parent":"check-decagram"},"decrement":{"parent":"numeric-negative-1"},"decrypted":{"parent":"lock-open"},"decrypted-add":{"parent":"lock-open-plus"},"decrypted-add-outline":{"parent":"lock-open-plus-outline"},"decrypted-alert":{"parent":"lock-open-alert"},"decrypted-alert-outline":{"parent":"lock-open-alert-outline"},"decrypted-check":{"parent":"lock-open-check"},"decrypted-check-outline":{"parent":"lock-open-check-outline"},"decrypted-minus":{"parent":"lock-open-minus"},"decrypted-minus-outline":{"parent":"lock-open-minus-outline"},"decrypted-outline":{"parent":"lock-open-outline"},"decrypted-plus":{"parent":"lock-open-plus"},"decrypted-plus-outline":{"parent":"lock-open-plus-outline"},"decrypted-remove":{"parent":"lock-open-remove"},"decrypted-remove-outline":{"parent":"lock-open-remove-outline"},"decrypted-variant":{"parent":"lock-open-variant"},"decrypted-variant-outline":{"parent":"lock-open-variant-outline"},"decrypted-warning":{"parent":"lock-open-alert"},"decrypted-warning-outline":{"parent":"lock-open-alert-outline"},"defibrillator":{"parent":"heart-flash"},"defrost":{"parent":"snowflake-melt"},"delivery-dining":{"parent":"moped"},"delivery-dining-electric":{"parent":"moped-electric"},"delivery-dining-electric-outline":{"parent":"moped-electric-outline"},"delivery-dining-outline":{"parent":"moped-outline"},"denied":{"parent":"cancel"},"dentist":{"parent":"tooth"},"departure-board":{"parent":"bus-clock"},"dependencies":{"parent":"graph"},"dependency":{"parent":"graph"},"design":{"parent":"pencil-ruler"},"desktop-windows":{"parent":"monitor"},"dew-point":{"parent":"thermometer-water"},"dew-point-outline":{"parent":"water-thermometer-outline"},"dharma-wheel":{"parent":"dharmachakra"},"dial":{"parent":"knob"},"diary":{"parent":"notebook"},"dice-five":{"parent":"dice-5"},"dice-four":{"parent":"dice-4"},"dice-one":{"parent":"dice-1"},"dice-six":{"parent":"dice-6"},"dice-three":{"parent":"dice-3"},"dice-two":{"parent":"dice-2"},"dictionary":{"parent":"book-alphabet"},"die-1":{"parent":"dice-1"},"die-2":{"parent":"dice-2"},"die-3":{"parent":"dice-3"},"die-4":{"parent":"dice-4"},"die-5":{"parent":"dice-5"},"die-6":{"parent":"dice-6"},"die-d10":{"parent":"dice-d10-outline"},"die-d20":{"parent":"dice-d20-outline"},"die-d4":{"parent":"dice-d4-outline"},"die-d6":{"parent":"dice-d6-outline"},"die-d8":{"parent":"dice-d8-outline"},"die-multiple":{"parent":"dice-multiple"},"dietary-restriction":{"parent":"food-halal"},"difference-left":{"parent":"set-left"},"difference-right":{"parent":"set-right"},"dining":{"parent":"table-chair"},"dining-room":{"parent":"table-chair"},"dinner":{"parent":"food-turkey"},"dinner-bell":{"parent":"instrument-triangle"},"dinosaur-pixel":{"parent":"google-downasaur"},"diploma":{"parent":"certificate"},"diploma-outline":{"parent":"certificate-outline"},"direct-current":{"parent":"current-dc"},"directions-bike":{"parent":"bike"},"directions-boat":{"parent":"ferry"},"directions-bus":{"parent":"bus"},"directions-car":{"parent":"car"},"directions-ferry":{"parent":"ferry"},"directions-railway":{"parent":"train"},"directions-run":{"parent":"run"},"directions-subway":{"parent":"subway-variant"},"directions-transit":{"parent":"subway-variant"},"directions-walk":{"parent":"walk"},"dirty":{"parent":"liquid-spot"},"disc-full":{"parent":"disc-alert"},"disc-warning":{"parent":"disc-alert"},"discount":{"parent":"brightness-percent"},"discount-box":{"parent":"percent-box"},"discount-box-outline":{"parent":"percent-box-outline"},"discount-circle":{"parent":"percent-circle"},"discount-circle-outline":{"parent":"percent-circle-outline"},"discount-outline":{"parent":"percent-outline"},"dislike":{"parent":"thumb-down"},"dislike-outline":{"parent":"thumb-down-outline"},"dispensary":{"parent":"hospital"},"dispensary-box":{"parent":"hospital-box"},"dispensary-box-outline":{"parent":"hospital-box-outline"},"divide":{"parent":"slash-forward"},"divide-box":{"parent":"slash-forward-box"},"do-not-disturb-alt":{"parent":"cancel"},"do-not-disturb-off":{"parent":"minus-circle-off"},"do-not-disturb-off-outline":{"parent":"minus-circle-off-outline"},"do-not-disturb-on":{"parent":"minus-circle"},"do-not-disturb-outline":{"parent":"minus-circle-outline"},"do-not-enter":{"parent":"minus-circle"},"do-not-enter-off":{"parent":"minus-circle-off"},"do-not-enter-off-outline":{"parent":"minus-circle-off-outline"},"do-not-enter-outline":{"parent":"minus-circle-outline"},"document-sign":{"parent":"file-sign"},"dollar":{"parent":"currency-usd"},"dollar-off":{"parent":"currency-usd-off"},"donate":{"parent":"gift"},"donate-off":{"parent":"gift-off"},"donate-off-outline":{"parent":"gift-off-outline"},"donate-outline":{"parent":"gift-outline"},"donation":{"parent":"hand-coin"},"donation-outline":{"parent":"hand-coin-outline"},"done":{"parent":"check"},"done-all":{"parent":"check-all"},"done-outline":{"parent":"check-outline"},"dot":{"parent":"circle-small"},"downlight":{"parent":"light-recessed"},"downloads":{"parent":"download-multiple"},"draft":{"parent":"file"},"drafts":{"parent":"email-open"},"drapes":{"parent":"curtains"},"drapes-closed":{"parent":"curtains-closed"},"drink":{"parent":"beer"},"drink-ice":{"parent":"delete-variant"},"drink-off":{"parent":"coffee-off"},"drink-off-outline":{"parent":"coffee-off-outline"},"drink-outline":{"parent":"beer-outline"},"drink-to-go":{"parent":"coffee-to-go"},"drink-to-go-outline":{"parent":"coffee-to-go-outline"},"drink-water":{"parent":"cup-water"},"drive":{"parent":"alpha-d"},"drive-document":{"parent":"text-box"},"drive-eta":{"parent":"car"},"drivers-license":{"parent":"card-account-details"},"drivers-license-outline":{"parent":"card-account-details-outline"},"drop":{"parent":"water"},"drop-alert":{"parent":"water-alert"},"drop-alert-outline":{"parent":"water-alert-outline"},"drop-check":{"parent":"water-check"},"drop-check-outline":{"parent":"water-check-outline"},"drop-circle":{"parent":"water-circle"},"drop-minus":{"parent":"water-minus"},"drop-minus-outline":{"parent":"water-minus-outline"},"drop-off-outline":{"parent":"water-off-outline"},"drop-outline":{"parent":"water-outline"},"drop-plus":{"parent":"water-plus"},"drop-plus-outline":{"parent":"water-plus-outline"},"drop-remove":{"parent":"water-remove"},"drop-remove-outline":{"parent":"water-remove-outline"},"drop-saver":{"parent":"water-opacity"},"drop-transparent":{"parent":"water-opacity"},"drug":{"parent":"needle"},"drug-off":{"parent":"needle-off"},"drugs":{"parent":"pill-multiple"},"dust-storm":{"parent":"weather-dust"},"dvd":{"parent":"disc"},"easter":{"parent":"rabbit-variant"},"easter-outline":{"parent":"rabbit-variant-outline"},"ecology":{"parent":"sprout"},"ecology-outline":{"parent":"sprout-outline"},"edge":{"parent":"microsoft-edge"},"edge-legacy":{"parent":"microsoft-edge-legacy"},"edit":{"parent":"pencil"},"edit-box":{"parent":"pencil-box"},"edit-box-outline":{"parent":"pencil-box-outline"},"edit-circle":{"parent":"pencil-circle"},"edit-circle-outline":{"parent":"pencil-circle-outline"},"edit-off":{"parent":"pencil-off"},"edit-off-outline":{"parent":"pencil-off-outline"},"edit-outline":{"parent":"pencil-outline"},"education":{"parent":"bus-school"},"education-outline":{"parent":"school-outline"},"eight-ball":{"parent":"billiards"},"elderly":{"parent":"human-cane"},"electric-charger":{"parent":"ev-station"},"electric-vehicle-charger":{"parent":"ev-station"},"electric-water-boiler":{"parent":"water-boiler"},"electric-water-heater":{"parent":"water-boiler"},"electrical-resistance":{"parent":"omega"},"electricity":{"parent":"flash"},"electricity-circle":{"parent":"lightning-bolt-circle"},"electricity-from-grid":{"parent":"transmission-tower-export"},"electricity-outline":{"parent":"lightning-bolt-outline"},"electricity-to-grid":{"parent":"transmission-tower-import"},"electronic-stability-program":{"parent":"car-esp"},"ellipsis-horizontal":{"parent":"dots-horizontal"},"ellipsis-horizontal-circle":{"parent":"dots-horizontal-circle"},"ellipsis-horizontal-circle-outline":{"parent":"dots-horizontal-circle-outline"},"ellipsis-vertical":{"parent":"dots-vertical"},"ellipsis-vertical-circle":{"parent":"dots-vertical-circle"},"ellipsis-vertical-circle-outline":{"parent":"dots-vertical-circle-outline"},"email-add":{"parent":"email-plus"},"email-add-outline":{"parent":"email-plus-outline"},"email-certified":{"parent":"email-seal"},"email-certified-outline":{"parent":"email-seal-outline"},"email-quick":{"parent":"email-fast"},"email-quick-outline":{"parent":"email-fast-outline"},"email-receive":{"parent":"email-arrow-left"},"email-receive-outline":{"parent":"email-arrow-left-outline"},"email-refresh":{"parent":"email-sync"},"email-refresh-outline":{"parent":"email-sync-outline"},"email-resend":{"parent":"email-sync"},"email-resend-outline":{"parent":"email-sync-outline"},"email-secure":{"parent":"email-lock"},"email-secure-outline":{"parent":"email-lock-outline"},"email-send":{"parent":"email-arrow-right"},"email-send-outline":{"parent":"email-fast-outline"},"email-sent":{"parent":"email-fast"},"email-sent-outline":{"parent":"email-fast-outline"},"email-tick":{"parent":"email-check"},"email-tick-outline":{"parent":"email-check-outline"},"email-verified":{"parent":"email-seal"},"email-verified-outline":{"parent":"email-seal-outline"},"email-warning":{"parent":"email-alert"},"emergency-exit":{"parent":"exit-run"},"emoji":{"parent":"emoticon"},"emoji-agent":{"parent":"face-agent"},"emoji-angry":{"parent":"emoticon-angry"},"emoji-angry-outline":{"parent":"emoticon-angry-outline"},"emoji-baby":{"parent":"baby-face"},"emoji-baby-outline":{"parent":"baby-face-outline"},"emoji-cat":{"parent":"cat"},"emoji-confused":{"parent":"emoticon-confused"},"emoji-confused-outline":{"parent":"emoticon-confused-outline"},"emoji-cool":{"parent":"emoticon-cool"},"emoji-cool-outline":{"parent":"emoticon-cool-outline"},"emoji-cow":{"parent":"cow"},"emoji-cry":{"parent":"emoticon-cry"},"emoji-cry-outline":{"parent":"emoticon-cry-outline"},"emoji-dead":{"parent":"emoticon-dead"},"emoji-dead-outline":{"parent":"emoticon-dead-outline"},"emoji-devil":{"parent":"emoticon-devil"},"emoji-devil-outline":{"parent":"emoticon-devil-outline"},"emoji-dog":{"parent":"dog"},"emoji-excited":{"parent":"emoticon-excited"},"emoji-excited-outline":{"parent":"emoticon-excited-outline"},"emoji-frown":{"parent":"emoticon-frown"},"emoji-frown-outline":{"parent":"emoticon-frown-outline"},"emoji-halloween":{"parent":"halloween"},"emoji-happy":{"parent":"emoticon-happy"},"emoji-happy-outline":{"parent":"emoticon-happy-outline"},"emoji-kiss":{"parent":"emoticon-kiss"},"emoji-kiss-outline":{"parent":"emoticon-kiss-outline"},"emoji-koala":{"parent":"koala"},"emoji-lol":{"parent":"emoticon-lol"},"emoji-lol-outline":{"parent":"emoticon-lol-outline"},"emoji-man":{"parent":"face-man"},"emoji-man-outline":{"parent":"face-man-outline"},"emoji-man-profile":{"parent":"face-man-profile"},"emoji-man-shimmer":{"parent":"face-man-shimmer"},"emoji-man-shimmer-outline":{"parent":"face-man-shimmer-outline"},"emoji-neutral":{"parent":"emoticon-neutral"},"emoji-neutral-outline":{"parent":"emoticon-neutral-outline"},"emoji-outline":{"parent":"emoticon-outline"},"emoji-panda":{"parent":"panda"},"emoji-penguin":{"parent":"penguin"},"emoji-pig":{"parent":"pig"},"emoji-poop":{"parent":"emoticon-poop"},"emoji-poop-outline":{"parent":"emoticon-poop-outline"},"emoji-robot":{"parent":"robot"},"emoji-robot-angry":{"parent":"robot-angry"},"emoji-robot-angry-outline":{"parent":"robot-angry-outline"},"emoji-robot-confused":{"parent":"robot-confused"},"emoji-robot-confused-outline":{"parent":"robot-confused-outline"},"emoji-robot-dead":{"parent":"robot-dead"},"emoji-robot-dead-outline":{"parent":"robot-dead-outline"},"emoji-robot-excited":{"parent":"robot-excited"},"emoji-robot-excited-outline":{"parent":"robot-excited-outline"},"emoji-robot-happy":{"parent":"robot-happy"},"emoji-robot-happy-outline":{"parent":"robot-happy-outline"},"emoji-robot-love":{"parent":"robot-love"},"emoji-robot-off":{"parent":"robot-off"},"emoji-robot-outline":{"parent":"robot-outline"},"emoji-sad":{"parent":"emoticon-sad"},"emoji-sad-outline":{"parent":"emoticon-sad-outline"},"emoji-sheep":{"parent":"sheep"},"emoji-sick":{"parent":"emoticon-sick"},"emoji-sick-outline":{"parent":"emoticon-sick-outline"},"emoji-star":{"parent":"star-face"},"emoji-tongue":{"parent":"emoticon-tongue"},"emoji-tongue-outline":{"parent":"emoticon-tongue-outline"},"emoji-wink":{"parent":"emoticon-wink"},"emoji-wink-outline":{"parent":"emoticon-wink-outline"},"emoji-woman":{"parent":"face-woman"},"emoji-woman-outline":{"parent":"face-woman-outline"},"emoji-woman-profile":{"parent":"face-woman-profile"},"emoji-woman-shimmer":{"parent":"face-woman-shimmer"},"emoji-woman-shimmer-outline":{"parent":"face-woman-shimmer-outline"},"emoticon-agent":{"parent":"face-agent"},"emoticon-baby":{"parent":"baby-face"},"emoticon-baby-outline":{"parent":"baby-face-outline"},"emoticon-cat":{"parent":"cat"},"emoticon-cow":{"parent":"cow"},"emoticon-dog":{"parent":"dog"},"emoticon-halloween":{"parent":"halloween"},"emoticon-koala":{"parent":"koala"},"emoticon-man":{"parent":"face-man"},"emoticon-man-outline":{"parent":"face-man-outline"},"emoticon-man-profile":{"parent":"face-man-profile"},"emoticon-man-shimmer":{"parent":"face-man-shimmer"},"emoticon-man-shimmer-outline":{"parent":"face-man-shimmer-outline"},"emoticon-panda":{"parent":"panda"},"emoticon-penguin":{"parent":"penguin"},"emoticon-pig":{"parent":"pig"},"emoticon-robot":{"parent":"robot"},"emoticon-robot-angry":{"parent":"robot-angry"},"emoticon-robot-angry-outline":{"parent":"robot-angry-outline"},"emoticon-robot-confused":{"parent":"robot-confused"},"emoticon-robot-confused-outline":{"parent":"robot-confused-outline"},"emoticon-robot-dead":{"parent":"robot-dead"},"emoticon-robot-dead-outline":{"parent":"robot-dead-outline"},"emoticon-robot-excited":{"parent":"robot-excited"},"emoticon-robot-excited-outline":{"parent":"robot-excited-outline"},"emoticon-robot-happy":{"parent":"robot-happy"},"emoticon-robot-happy-outline":{"parent":"robot-happy-outline"},"emoticon-robot-love":{"parent":"robot-love"},"emoticon-robot-off":{"parent":"robot-off"},"emoticon-robot-outline":{"parent":"robot-outline"},"emoticon-sheep":{"parent":"sheep"},"emoticon-star":{"parent":"star-face"},"emoticon-woman":{"parent":"face-woman"},"emoticon-woman-outline":{"parent":"face-woman-outline"},"emoticon-woman-profile":{"parent":"face-woman-profile"},"emoticon-woman-shimmer":{"parent":"face-woman-shimmer"},"emoticon-woman-shimmer-outline":{"parent":"face-woman-shimmer-outline"},"encryption":{"parent":"lock"},"encryption-add":{"parent":"lock-plus"},"encryption-add-outline":{"parent":"lock-plus-outline"},"encryption-alert":{"parent":"lock-alert"},"encryption-alert-outline":{"parent":"lock-alert-outline"},"encryption-check":{"parent":"lock-check"},"encryption-check-outline":{"parent":"lock-check-outline"},"encryption-expiration":{"parent":"lock-clock"},"encryption-minus":{"parent":"lock-minus"},"encryption-off":{"parent":"lock-off"},"encryption-off-outline":{"parent":"lock-off-outline"},"encryption-outline":{"parent":"lock-outline"},"encryption-plus":{"parent":"lock-plus"},"encryption-plus-outline":{"parent":"lock-plus-outline"},"encryption-question":{"parent":"lock-question"},"encryption-remove":{"parent":"lock-remove"},"encryption-remove-outline":{"parent":"lock-remove-outline"},"encryption-reset":{"parent":"lock-reset"},"encryption-secure":{"parent":"lock-check"},"encryption-secure-outline":{"parent":"lock-check-outline"},"encryption-verified":{"parent":"lock-check"},"encryption-verified-outline":{"parent":"lock-check-outline"},"encryption-warning":{"parent":"lock-alert"},"encryption-warning-outline":{"parent":"lock-alert-outline"},"encyclopedia":{"parent":"book-information-variant"},"energy":{"parent":"barrel"},"energy-circle":{"parent":"lightning-bolt-circle"},"energy-from-grid":{"parent":"transmission-tower-export"},"energy-outline":{"parent":"barrel-outline"},"energy-to-grid":{"parent":"transmission-tower-import"},"enhanced-encryption":{"parent":"lock-plus"},"entry-room":{"parent":"coat-rack"},"envelope":{"parent":"email"},"envelope-add":{"parent":"email-plus"},"envelope-add-outline":{"parent":"email-plus-outline"},"envelope-alert":{"parent":"email-alert"},"envelope-box":{"parent":"email-box"},"envelope-fast":{"parent":"email-fast"},"envelope-fast-outline":{"parent":"email-fast-outline"},"envelope-lock":{"parent":"email-lock"},"envelope-open":{"parent":"email-open"},"envelope-open-outline":{"parent":"email-open-outline"},"envelope-outline":{"parent":"email-outline"},"envelope-plus":{"parent":"email-plus"},"envelope-plus-outline":{"parent":"email-plus-outline"},"envelope-secure":{"parent":"email-lock"},"envelope-variant":{"parent":"email-variant"},"envelope-warning":{"parent":"email-alert"},"environment":{"parent":"sprout"},"environment-outline":{"parent":"sprout-outline"},"equaliser":{"parent":"tune"},"equaliser-vertical":{"parent":"tune-vertical"},"equalizer-vertical":{"parent":"tune-vertical-variant"},"equestrian":{"parent":"horse"},"equestrian-variant":{"parent":"horse-variant"},"erase":{"parent":"backspace"},"erase-outline":{"parent":"backspace-outline"},"erase-reverse":{"parent":"backspace-reverse"},"erase-reverse-outline":{"parent":"backspace-reverse-outline"},"error":{"parent":"alert-circle"},"error-outline":{"parent":"alert-circle-outline"},"eruption":{"parent":"volcano"},"eruption-outline":{"parent":"volcano-outline"},"espresso-machine":{"parent":"coffee-maker"},"espresso-maker":{"parent":"coffee-maker"},"estate":{"parent":"home-group"},"euro":{"parent":"currency-eur"},"euro-symbol":{"parent":"currency-eur"},"ev-charger":{"parent":"ev-station"},"ev-charger-ccs1":{"parent":"ev-plug-ccs1"},"ev-charger-ccs2":{"parent":"ev-plug-ccs2"},"ev-charger-chademo":{"parent":"ev-plug-chademo"},"ev-charger-tesla":{"parent":"ev-plug-tesla"},"ev-charger-type1":{"parent":"ev-plug-type1"},"ev-charger-type2":{"parent":"ev-plug-type2"},"ev-plug-ccs-combo-1":{"parent":"ev-plug-ccs1"},"ev-plug-ccs-combo-2":{"parent":"ev-plug-ccs2"},"ev-plug-j1772":{"parent":"ev-plug-type1"},"ev-plug-mennekes":{"parent":"ev-plug-type2"},"event":{"parent":"calendar"},"event-add":{"parent":"calendar-plus"},"event-alert":{"parent":"calendar-alert"},"event-auto":{"parent":"calendar-star-four-points"},"event-available":{"parent":"calendar-check"},"event-available-outline":{"parent":"calendar-check-outline"},"event-blank-outline":{"parent":"calendar-blank-outline"},"event-busy":{"parent":"calendar-remove"},"event-busy-outline":{"parent":"calendar-remove-outline"},"event-check":{"parent":"calendar-check"},"event-check-outline":{"parent":"calendar-check-outline"},"event-clock":{"parent":"calendar-clock"},"event-edit":{"parent":"calendar-edit"},"event-heart":{"parent":"calendar-heart"},"event-minus":{"parent":"calendar-minus"},"event-multiple":{"parent":"calendar-multiple"},"event-multiple-check":{"parent":"calendar-multiple-check"},"event-multiple-tick":{"parent":"calendar-multiple-check"},"event-note":{"parent":"calendar-text"},"event-note-outline":{"parent":"calendar-text-outline"},"event-outline":{"parent":"calendar-outline"},"event-plus":{"parent":"calendar-plus"},"event-question":{"parent":"calendar-question"},"event-range":{"parent":"calendar-range"},"event-range-outline":{"parent":"calendar-range-outline"},"event-remove":{"parent":"calendar-remove"},"event-remove-outline":{"parent":"calendar-remove-outline"},"event-search":{"parent":"calendar-search"},"event-seat":{"parent":"seat"},"event-seat-outline":{"parent":"seat-outline"},"event-star":{"parent":"calendar-star"},"event-star-four-points":{"parent":"calendar-star-four-points"},"event-text":{"parent":"calendar-text"},"event-text-outline":{"parent":"calendar-text-outline"},"event-tick":{"parent":"calendar-check"},"event-tick-outline":{"parent":"calendar-check-outline"},"event-time":{"parent":"calendar-clock"},"event-week":{"parent":"calendar-week"},"event-week-begin":{"parent":"calendar-week-begin"},"event-week-begin-outline":{"parent":"calendar-week-begin-outline"},"event-week-end":{"parent":"calendar-week-end"},"event-week-end-outline":{"parent":"calendar-filter-outline"},"event-week-outline":{"parent":"calendar-week-outline"},"events":{"parent":"calendar-multiple"},"events-check":{"parent":"calendar-multiple-check"},"events-tick":{"parent":"calendar-multiple-check"},"evse":{"parent":"ev-station"},"exchange":{"parent":"swap-horizontal"},"exclamation-bold":{"parent":"exclamation-thick"},"exclusion":{"parent":"set-left-right"},"expand-horizontal":{"parent":"unfold-more-horizontal"},"expand-less":{"parent":"chevron-up"},"expand-more":{"parent":"chevron-down"},"expand-vertical":{"parent":"unfold-more-vertical"},"explore":{"parent":"compass"},"explore-nearby":{"parent":"map-marker-circle"},"extension":{"parent":"puzzle"},"extension-outline":{"parent":"puzzle-outline"},"external-link":{"parent":"open-in-new"},"external-temperature":{"parent":"sun-thermometer"},"extra-life":{"parent":"one-up"},"eye-add":{"parent":"eye-plus"},"eye-add-outline":{"parent":"eye-plus-outline"},"eye-tick":{"parent":"eye-check"},"eye-tick-outline":{"parent":"eye-check-outline"},"fabric":{"parent":"receipt"},"fabric-outline":{"parent":"receipt-outline"},"face":{"parent":"emoticon"},"face-angry":{"parent":"emoticon-angry"},"face-angry-outline":{"parent":"emoticon-angry-outline"},"face-confused":{"parent":"emoticon-confused"},"face-confused-outline":{"parent":"emoticon-confused-outline"},"face-cool":{"parent":"emoticon-cool"},"face-cool-outline":{"parent":"emoticon-cool-outline"},"face-cry":{"parent":"emoticon-cry"},"face-cry-outline":{"parent":"emoticon-cry-outline"},"face-dead":{"parent":"emoticon-dead"},"face-dead-outline":{"parent":"emoticon-dead-outline"},"face-devil":{"parent":"emoticon-devil"},"face-devil-outline":{"parent":"emoticon-devil-outline"},"face-excited":{"parent":"emoticon-excited"},"face-excited-outline":{"parent":"emoticon-excited-outline"},"face-female":{"parent":"face-woman"},"face-female-outline":{"parent":"face-woman-outline"},"face-female-profile":{"parent":"face-woman-profile"},"face-female-shimmer":{"parent":"face-woman-shimmer"},"face-female-shimmer-outline":{"parent":"face-woman-shimmer-outline"},"face-frown":{"parent":"emoticon-frown"},"face-frown-outline":{"parent":"emoticon-frown-outline"},"face-happy":{"parent":"emoticon-happy"},"face-happy-outline":{"parent":"emoticon-happy-outline"},"face-kiss":{"parent":"emoticon-kiss"},"face-kiss-outline":{"parent":"emoticon-kiss-outline"},"face-lol":{"parent":"emoticon-lol"},"face-lol-outline":{"parent":"emoticon-lol-outline"},"face-male":{"parent":"face-man"},"face-male-outline":{"parent":"face-man-outline"},"face-male-profile":{"parent":"face-man-profile"},"face-male-shimmer":{"parent":"face-man-shimmer"},"face-male-shimmer-outline":{"parent":"face-man-shimmer-outline"},"face-neutral":{"parent":"emoticon-neutral"},"face-neutral-outline":{"parent":"emoticon-neutral-outline"},"face-outline":{"parent":"emoticon-outline"},"face-poop":{"parent":"emoticon-poop"},"face-poop-outline":{"parent":"emoticon-poop-outline"},"face-profile":{"parent":"face-man-profile"},"face-profile-woman":{"parent":"face-woman-profile"},"face-retouching-natural":{"parent":"face-man-shimmer"},"face-retouching-natural-outline":{"parent":"face-man-shimmer-outline"},"face-retouching-natural-woman":{"parent":"face-woman-shimmer"},"face-retouching-natural-woman-outline":{"parent":"face-woman-shimmer-outline"},"face-sad":{"parent":"emoticon-sad"},"face-sad-outline":{"parent":"emoticon-sad-outline"},"face-shimmer":{"parent":"face-man-shimmer"},"face-shimmer-outline":{"parent":"face-man-shimmer-outline"},"face-sick":{"parent":"emoticon-sick"},"face-sick-outline":{"parent":"emoticon-sick-outline"},"face-sunglasses":{"parent":"emoticon-cool"},"face-sunglasses-outline":{"parent":"emoticon-cool-outline"},"face-tongue":{"parent":"emoticon-tongue"},"face-tongue-outline":{"parent":"emoticon-tongue-outline"},"face-wink":{"parent":"emoticon-wink"},"face-wink-outline":{"parent":"emoticon-wink-outline"},"facial-recognition":{"parent":"face-recognition"},"factorial":{"parent":"exclamation"},"fairy":{"parent":"candy-outline"},"fairy-lights":{"parent":"string-lights"},"fairy-lights-off":{"parent":"string-lights-off"},"family":{"parent":"crowd"},"family-room":{"parent":"sofa"},"family-room-outline":{"parent":"sofa-outline"},"fan-schedule":{"parent":"fan-clock"},"fan-speed-down":{"parent":"fan-chevron-down"},"fan-speed-high":{"parent":"fan-speed-3"},"fan-speed-low":{"parent":"fan-speed-1"},"fan-speed-medium":{"parent":"fan-speed-2"},"fan-speed-up":{"parent":"fan-chevron-up"},"fan-timer":{"parent":"fan-clock"},"fantasy":{"parent":"unicorn"},"fantasy-variant":{"parent":"unicorn-variant"},"faq":{"parent":"frequently-asked-questions"},"farewell":{"parent":"hand-wave"},"farewell-outline":{"parent":"hand-wave-outline"},"farm":{"parent":"barn"},"farm-home":{"parent":"home-silo"},"farm-home-outline":{"parent":"home-silo-outline"},"farm-house":{"parent":"home-silo"},"farm-house-outline":{"parent":"home-silo-outline"},"farm-outline":{"parent":"silo-outline"},"fast-food":{"parent":"food"},"fast-food-off":{"parent":"food-off"},"fast-rewind":{"parent":"rewind"},"father":{"parent":"human-male-boy"},"faucet-off":{"parent":"water-pump-off"},"favorite":{"parent":"heart"},"favorite-add":{"parent":"star-plus"},"favorite-add-outline":{"parent":"star-plus-outline"},"favorite-border":{"parent":"heart-outline"},"favorite-box":{"parent":"star-box"},"favorite-box-multiple":{"parent":"star-box-multiple"},"favorite-box-multiple-outline":{"parent":"star-box-multiple-outline"},"favorite-box-outline":{"parent":"star-box-outline"},"favorite-check":{"parent":"star-check"},"favorite-check-outline":{"parent":"star-check-outline"},"favorite-circle":{"parent":"star-circle"},"favorite-circle-outline":{"parent":"star-circle-outline"},"favorite-cog":{"parent":"star-cog"},"favorite-cog-outline":{"parent":"star-cog-outline"},"favorite-face":{"parent":"star-face"},"favorite-half":{"parent":"star-half"},"favorite-half-full":{"parent":"star-half-full"},"favorite-minus":{"parent":"star-minus"},"favorite-minus-outline":{"parent":"star-minus-outline"},"favorite-off":{"parent":"star-off"},"favorite-off-outline":{"parent":"star-off-outline"},"favorite-outline":{"parent":"heart-outline"},"favorite-plus":{"parent":"star-plus"},"favorite-plus-outline":{"parent":"star-plus-outline"},"favorite-remove":{"parent":"star-remove"},"favorite-remove-outline":{"parent":"star-remove-outline"},"favorite-settings":{"parent":"star-settings"},"favorite-settings-outline":{"parent":"star-settings-outline"},"favorite-shooting":{"parent":"star-shooting"},"favorite-shooting-outline":{"parent":"star-shooting-outline"},"favourite":{"parent":"heart"},"favourite-border":{"parent":"heart-outline"},"favourite-outline":{"parent":"heart-outline"},"feature-highlight":{"parent":"star-circle-outline"},"feedback":{"parent":"comment-quote"},"feedback-outline":{"parent":"comment-quote-outline"},"fever":{"parent":"emoticon-sick"},"fever-outline":{"parent":"emoticon-sick-outline"},"fiber-manual-record":{"parent":"record"},"fiber-new":{"parent":"new-box"},"file-acrobat":{"parent":"file-pdf"},"file-acrobat-box":{"parent":"file-pdf-box"},"file-acrobat-box-outline":{"parent":"file-pdf-box-outline"},"file-acrobat-outline":{"parent":"file-pdf-outline"},"file-csv":{"parent":"file-delimited"},"file-csv-outline":{"parent":"file-delimited-outline"},"file-discard":{"parent":"file-undo"},"file-document-add":{"parent":"file-document-plus"},"file-document-add-outline":{"parent":"file-document-plus-outline"},"file-document-box":{"parent":"text-box"},"file-document-box-check":{"parent":"text-box-check"},"file-document-box-check-outline":{"parent":"text-box-check-outline"},"file-document-box-minus":{"parent":"text-box-minus"},"file-document-box-minus-outline":{"parent":"text-box-minus-outline"},"file-document-box-multiple":{"parent":"text-box-multiple"},"file-document-box-multiple-outline":{"parent":"text-box-multiple-outline"},"file-document-box-outline":{"parent":"text-box-outline"},"file-document-box-plus":{"parent":"text-box-plus"},"file-document-box-plus-outline":{"parent":"text-box-plus-outline"},"file-document-box-remove":{"parent":"text-box-remove"},"file-document-box-remove-outline":{"parent":"text-box-remove-outline"},"file-document-box-search":{"parent":"text-box-search"},"file-document-box-search-outline":{"parent":"text-box-search-outline"},"file-document-box-tick":{"parent":"text-box-check"},"file-document-box-tick-outline":{"parent":"text-box-check-outline"},"file-document-boxes":{"parent":"text-box-multiple"},"file-document-boxes-outline":{"parent":"text-box-multiple-outline"},"file-document-delete":{"parent":"file-document-remove"},"file-document-delete-outline":{"parent":"file-document-remove-outline"},"file-document-error":{"parent":"file-document-alert"},"file-document-error-outline":{"parent":"file-document-alert-outline"},"file-document-move":{"parent":"file-document-arrow-right"},"file-document-move-outline":{"parent":"file-document-arrow-right-outline"},"file-document-tick":{"parent":"file-document-check"},"file-document-tick-outline":{"parent":"file-document-check-outline"},"file-exchange":{"parent":"file-arrow-left-right"},"file-exchange-outline":{"parent":"file-arrow-left-right-outline"},"file-favorite":{"parent":"file-star"},"file-favorite-outline":{"parent":"file-star-outline"},"file-graph":{"parent":"file-chart"},"file-graph-outline":{"parent":"file-chart-outline"},"file-image-add":{"parent":"file-image-plus"},"file-image-add-outline":{"parent":"file-image-plus-outline"},"file-image-location":{"parent":"file-image-marker"},"file-image-location-outline":{"parent":"file-image-marker-outline"},"file-jpeg-box":{"parent":"file-jpg-box"},"file-location":{"parent":"file-marker"},"file-location-outline":{"parent":"file-marker-outline"},"file-report":{"parent":"file-chart"},"file-report-outline":{"parent":"file-chart-outline"},"file-revert":{"parent":"file-undo"},"file-rotate-ccw":{"parent":"file-rotate-left"},"file-rotate-ccw-outline":{"parent":"file-rotate-left-outline"},"file-rotate-clockwise":{"parent":"file-rotate-right"},"file-rotate-counter-clockwise":{"parent":"file-rotate-left"},"file-rotate-counter-clockwise-outline":{"parent":"file-rotate-left-outline"},"file-settings-cog":{"parent":"file-cog"},"file-settings-cog-outline":{"parent":"file-cog-outline"},"file-settings-variant":{"parent":"file-cog"},"file-settings-variant-outline":{"parent":"file-cog-outline"},"file-text":{"parent":"file-document"},"file-text-add":{"parent":"file-document-plus"},"file-text-add-outline":{"parent":"file-document-plus-outline"},"file-text-alert":{"parent":"file-document-alert"},"file-text-alert-outline":{"parent":"file-document-alert-outline"},"file-text-arrow-right":{"parent":"file-document-arrow-right"},"file-text-arrow-right-outline":{"parent":"file-document-arrow-right-outline"},"file-text-check":{"parent":"file-document-check"},"file-text-check-outline":{"parent":"file-document-check-outline"},"file-text-delete":{"parent":"file-document-remove"},"file-text-delete-outline":{"parent":"file-document-remove-outline"},"file-text-edit":{"parent":"file-document-edit"},"file-text-edit-outline":{"parent":"file-document-edit-outline"},"file-text-error":{"parent":"file-document-alert"},"file-text-error-outline":{"parent":"file-document-alert-outline"},"file-text-minus":{"parent":"file-document-minus"},"file-text-minus-outline":{"parent":"file-document-minus-outline"},"file-text-move":{"parent":"file-document-arrow-right"},"file-text-move-outline":{"parent":"file-document-arrow-right-outline"},"file-text-multiple":{"parent":"file-document-multiple"},"file-text-multiple-outline":{"parent":"file-document-multiple-outline"},"file-text-outline":{"parent":"file-document-outline"},"file-text-plus":{"parent":"file-document-plus"},"file-text-plus-outline":{"parent":"file-document-plus-outline"},"file-text-remove":{"parent":"file-document-remove"},"file-text-remove-outline":{"parent":"file-document-remove-outline"},"file-text-tick":{"parent":"file-document-check"},"file-text-tick-outline":{"parent":"file-document-check-outline"},"file-tick":{"parent":"file-check"},"file-transfer":{"parent":"file-arrow-left-right"},"file-transfer-outline":{"parent":"file-arrow-left-right-outline"},"file-upload-download":{"parent":"file-arrow-up-down"},"file-upload-download-outline":{"parent":"file-arrow-up-down-outline"},"file-user":{"parent":"file-account"},"file-warning":{"parent":"file-alert"},"file-warning-outline":{"parent":"file-alert-outline"},"files":{"parent":"file-multiple"},"filing-cabinet":{"parent":"file-cabinet"},"film-check":{"parent":"movie-check"},"film-check-outline":{"parent":"movie-check-outline"},"film-cog":{"parent":"movie-cog"},"film-cog-outline":{"parent":"movie-cog-outline"},"film-edit":{"parent":"movie-edit"},"film-edit-outline":{"parent":"movie-edit-outline"},"film-minus":{"parent":"movie-minus"},"film-minus-outline":{"parent":"movie-minus-outline"},"film-off":{"parent":"movie-off"},"film-off-outline":{"parent":"movie-off-outline"},"film-open":{"parent":"movie-open"},"film-open-check":{"parent":"movie-open-check"},"film-open-check-outline":{"parent":"movie-open-check-outline"},"film-open-cog":{"parent":"movie-open-cog"},"film-open-cog-outline":{"parent":"movie-open-cog-outline"},"film-open-edit":{"parent":"movie-open-edit"},"film-open-edit-outline":{"parent":"movie-open-edit-outline"},"film-open-minus":{"parent":"movie-open-minus"},"film-open-minus-outline":{"parent":"movie-open-minus-outline"},"film-open-off":{"parent":"movie-open-off"},"film-open-off-outline":{"parent":"movie-open-off-outline"},"film-open-outline":{"parent":"movie-open-outline"},"film-open-play":{"parent":"movie-open-play"},"film-open-play-outline":{"parent":"movie-open-play-outline"},"film-open-plus-outline":{"parent":"movie-open-plus-outline"},"film-open-remove":{"parent":"movie-open-remove"},"film-open-remove-outline":{"parent":"movie-open-remove-outline"},"film-open-settings":{"parent":"movie-open-settings"},"film-open-settings-outline":{"parent":"movie-open-settings-outline"},"film-open-star":{"parent":"movie-open-star"},"film-open-star-outline":{"parent":"movie-open-star-outline"},"film-outline":{"parent":"movie-outline"},"film-play":{"parent":"movie-play"},"film-play-outline":{"parent":"movie-play-outline"},"film-plus":{"parent":"movie-plus"},"film-plus-outline":{"parent":"movie-plus-outline"},"film-reel":{"parent":"movie-roll"},"film-remove":{"parent":"movie-remove"},"film-remove-outline":{"parent":"movie-remove-outline"},"film-settings":{"parent":"movie-settings"},"film-settings-outline":{"parent":"movie-settings-outline"},"film-star":{"parent":"movie-star"},"film-star-outline":{"parent":"movie-star-outline"},"filter-1":{"parent":"numeric-1-box-multiple-outline"},"filter-2":{"parent":"numeric-2-box-multiple-outline"},"filter-3":{"parent":"numeric-3-box-multiple-outline"},"filter-4":{"parent":"numeric-4-box-multiple-outline"},"filter-5":{"parent":"numeric-5-box-multiple-outline"},"filter-6":{"parent":"numeric-6-box-multiple-outline"},"filter-7":{"parent":"numeric-7-box-multiple-outline"},"filter-8":{"parent":"numeric-8-box-multiple-outline"},"filter-9":{"parent":"numeric-9-box-multiple-outline"},"filter-9-plus":{"parent":"numeric-9-plus-box-multiple-outline"},"filter-b-and-w":{"parent":"image-filter-black-white"},"filter-gear":{"parent":"filter-cog"},"filter-gear-outline":{"parent":"filter-cog-outline"},"filter-list":{"parent":"filter-variant"},"find-in-page":{"parent":"file-find"},"find-my-phone":{"parent":"cellphone-marker"},"finger-chips":{"parent":"french-fries"},"fire-engine":{"parent":"fire-truck"},"firewall":{"parent":"wall-fire"},"first-aid-kit":{"parent":"medical-bag"},"first-page":{"parent":"page-first"},"fish-food":{"parent":"shaker"},"fish-food-outline":{"parent":"shaker-outline"},"fishing":{"parent":"spear"},"fitness-center":{"parent":"dumbbell"},"five":{"parent":"tally-mark-5"},"flag-add":{"parent":"flag-plus"},"flame":{"parent":"fire"},"flame-alert":{"parent":"fire-alert"},"flame-circle":{"parent":"fire-circle"},"flame-off":{"parent":"fire-off"},"flash-circle":{"parent":"lightning-bolt-circle"},"flash-on":{"parent":"flash"},"flatiron":{"parent":"iron"},"flatiron-outline":{"parent":"iron-outline"},"fleet":{"parent":"bus-multiple"},"flight":{"parent":"airplane"},"flight-land":{"parent":"airplane-landing"},"flight-mode":{"parent":"airplane"},"flight-mode-off":{"parent":"airplane-off"},"flight-takeoff":{"parent":"airplane-takeoff"},"flim-open-plus":{"parent":"movie-open-plus"},"flood":{"parent":"waves"},"floodlight-down":{"parent":"light-flood-down"},"floodlight-up":{"parent":"light-flood-up"},"floor-lamp-variant":{"parent":"floor-lamp-torchiere-variant"},"floor-light":{"parent":"floor-lamp"},"floor-light-dual":{"parent":"floor-lamp-dual"},"floor-light-dual-outline":{"parent":"floor-lamp-dual-outline"},"floor-light-outline":{"parent":"floor-lamp-outline"},"floor-light-torchiere":{"parent":"floor-lamp-torchiere"},"floor-light-torchiere-variant":{"parent":"floor-lamp-torchiere-variant"},"floor-light-torchiere-variant-outline":{"parent":"floor-lamp-torchiere-variant-outline"},"floor-light-variant":{"parent":"floor-lamp-torchiere-variant"},"floppy-disc":{"parent":"content-save"},"floppy-disc-alert":{"parent":"content-save-alert"},"floppy-disc-alert-outline":{"parent":"content-save-alert-outline"},"floppy-disc-cog":{"parent":"content-save-cog"},"floppy-disc-cog-outline":{"parent":"content-save-cog-outline"},"floppy-disc-edit":{"parent":"content-save-edit"},"floppy-disc-edit-outline":{"parent":"content-save-edit-outline"},"floppy-disc-move":{"parent":"content-save-move"},"floppy-disc-move-outline":{"parent":"content-save-move-outline"},"floppy-disc-multiple":{"parent":"content-save-all"},"floppy-disc-multiple-outline":{"parent":"content-save-all-outline"},"floppy-disc-settings":{"parent":"content-save-settings"},"floppy-disc-settings-outline":{"parent":"content-save-settings-outline"},"floppy-disk":{"parent":"content-save"},"flowchart":{"parent":"sitemap"},"flowchart-outline":{"parent":"sitemap-outline"},"flower-lotus":{"parent":"spa"},"flower-lotus-outline":{"parent":"spa-outline"},"flurries":{"parent":"weather-snowy-heavy"},"fly":{"parent":"bee"},"fly-flower":{"parent":"bee-flower"},"folder-add":{"parent":"folder-plus"},"folder-add-outline":{"parent":"folder-plus-outline"},"folder-favorite":{"parent":"folder-star"},"folder-favorite-multiple":{"parent":"folder-star-multiple"},"folder-favorite-multiple-outline":{"parent":"folder-star-multiple-outline"},"folder-favorite-outline":{"parent":"folder-star-outline"},"folder-hash":{"parent":"folder-pound"},"folder-hash-outline":{"parent":"folder-pound-outline"},"folder-help":{"parent":"folder-question"},"folder-help-outline":{"parent":"folder-question-outline"},"folder-house":{"parent":"folder-home"},"folder-house-outline":{"parent":"folder-home-outline"},"folder-location":{"parent":"folder-marker"},"folder-location-outline":{"parent":"folder-marker-outline"},"folder-media":{"parent":"folder-play"},"folder-media-outline":{"parent":"folder-play-outline"},"folder-mydrive":{"parent":"folder-google-drive"},"folder-settings-variant":{"parent":"folder-cog"},"folder-settings-variant-outline":{"parent":"folder-cog-outline"},"folder-shared":{"parent":"folder-account"},"folder-shared-outline":{"parent":"folder-account-outline"},"folder-special":{"parent":"folder-star"},"folder-special-outline":{"parent":"folder-star-outline"},"folder-transfer":{"parent":"folder-arrow-up-down"},"folder-transfer-outline":{"parent":"folder-arrow-up-down-outline"},"folder-user":{"parent":"folder-account"},"folder-user-outline":{"parent":"folder-account-outline"},"folder-video":{"parent":"folder-play"},"folder-video-outline":{"parent":"folder-play-outline"},"folder-warning":{"parent":"folder-alert"},"folder-warning-outline":{"parent":"folder-alert-outline"},"folders":{"parent":"folder-multiple"},"folders-image":{"parent":"folder-multiple-image"},"folders-outline":{"parent":"folder-multiple-outline"},"font-size":{"parent":"format-size"},"food-allergy":{"parent":"peanut"},"food-allergy-off":{"parent":"peanut-off"},"food-allergy-off-outline":{"parent":"peanut-off-outline"},"food-allergy-outline":{"parent":"peanut-outline"},"food-fork-cup":{"parent":"food-fork-drink"},"food-frankfurter":{"parent":"food-hot-dog"},"food-italian":{"parent":"pasta"},"food-jewish":{"parent":"food-kosher"},"food-muslim":{"parent":"food-halal"},"food-processor":{"parent":"blender"},"food-processor-outline":{"parent":"blender-outline"},"food-ramen":{"parent":"noodles"},"food-weiner":{"parent":"food-hot-dog"},"football-american":{"parent":"football"},"football-pitch":{"parent":"soccer-field"},"football-play":{"parent":"strategy"},"footprints":{"parent":"shoe-print"},"forbid":{"parent":"cancel"},"foreign-key":{"parent":"key-link"},"forestry":{"parent":"forest"},"forever":{"parent":"all-inclusive"},"forever-box":{"parent":"all-inclusive-box"},"forever-box-outline":{"parent":"all-inclusive-box-outline"},"forgot-password":{"parent":"lock-question"},"form":{"parent":"list-box"},"form-outline":{"parent":"list-box-outline"},"format-align-centre":{"parent":"format-align-center"},"format-annotation-add":{"parent":"format-annotation-plus"},"format-color-redact":{"parent":"format-color-marker-cancel"},"format-color-reset":{"parent":"water-off"},"format-colour-fill":{"parent":"format-color-fill"},"format-colour-highlight":{"parent":"format-color-highlight"},"format-colour-text":{"parent":"format-color-text"},"format-float-centre":{"parent":"format-float-center"},"format-header-hash":{"parent":"format-header-pound"},"format-heading-1":{"parent":"format-header-1"},"format-heading-2":{"parent":"format-header-2"},"format-heading-3":{"parent":"format-header-3"},"format-heading-4":{"parent":"format-header-4"},"format-heading-5":{"parent":"format-header-5"},"format-heading-6":{"parent":"format-header-6"},"format-heading-decease":{"parent":"format-header-decrease"},"format-heading-equal":{"parent":"format-header-equal"},"format-heading-hash":{"parent":"format-header-pound"},"format-heading-increase":{"parent":"format-header-increase"},"format-heading-markdown":{"parent":"format-header-pound"},"format-heading-pound":{"parent":"format-header-pound"},"format-horizontal-align-centre":{"parent":"format-horizontal-align-center"},"format-kerning":{"parent":"format-letter-spacing"},"format-list-group-add":{"parent":"format-list-group-plus"},"format-list-numbered-right-to-left":{"parent":"format-list-numbered-rtl"},"format-list-numbers":{"parent":"format-list-numbered"},"format-lowercase":{"parent":"format-letter-case-lower"},"format-rotate-ninety":{"parent":"format-rotate-90"},"format-textdirection-l-to-r":{"parent":"format-pilcrow-arrow-right"},"format-textdirection-r-to-l":{"parent":"format-pilcrow-arrow-left"},"format-underlined":{"parent":"format-underline"},"format-uppercase":{"parent":"format-letter-case-upper"},"format-vertical-align-centre":{"parent":"format-vertical-align-center"},"fortnite":{"parent":"silverware-fork-knife"},"forum-add":{"parent":"forum-plus"},"forum-add-outline":{"parent":"forum-plus-outline"},"forum-delete":{"parent":"forum-remove"},"forum-delete-outline":{"parent":"forum-remove-outline"},"forum-subtract":{"parent":"forum-minus"},"forum-subtract-outline":{"parent":"forum-minus-outline"},"forward-off":{"parent":"share-off"},"forward-off-outline":{"parent":"share-off-outline"},"forward-outline":{"parent":"share-outline"},"fossil-fuel":{"parent":"barrel"},"fossil-fuel-outline":{"parent":"barrel-outline"},"four":{"parent":"tally-mark-4"},"foyer":{"parent":"coat-rack"},"fragrance":{"parent":"scent"},"fragrance-off":{"parent":"scent-off"},"frame-backward":{"parent":"step-backward-2"},"frame-forward":{"parent":"step-forward-2"},"franc":{"parent":"currency-chf"},"france":{"parent":"eiffel-tower"},"free-breakfast":{"parent":"coffee"},"free-breakfast-off":{"parent":"coffee-off"},"free-breakfast-off-outline":{"parent":"coffee-off-outline"},"free-breakfast-outline":{"parent":"coffee-outline"},"free-breakfast-to-go":{"parent":"coffee-to-go"},"free-breakfast-to-go-outline":{"parent":"coffee-to-go-outline"},"freehand-line":{"parent":"gesture"},"freemasonry":{"parent":"ruler-square-compass"},"freeze-advisory":{"parent":"snowflake-alert"},"freezing-point":{"parent":"snowflake-thermometer"},"french-baguette":{"parent":"baguette"},"french-door":{"parent":"door-sliding"},"french-door-lock":{"parent":"door-sliding-lock"},"french-door-open":{"parent":"door-sliding-open"},"french-fry":{"parent":"french-fries"},"frequency":{"parent":"cosine-wave"},"fridge-filled":{"parent":"fridge"},"fridge-filled-bottom":{"parent":"fridge-top"},"fridge-filled-top":{"parent":"fridge-bottom"},"fried-potatoes":{"parent":"french-fries"},"fries":{"parent":"french-fries"},"frites":{"parent":"french-fries"},"frost-point":{"parent":"snowflake-thermometer"},"fruit-ananas":{"parent":"fruit-pineapple"},"fruit-lemon":{"parent":"fruit-citrus"},"fruit-lime":{"parent":"fruit-citrus"},"fuel-pump":{"parent":"gas-station"},"fuel-pump-outline":{"parent":"gas-station-outline"},"fuel-station":{"parent":"gas-station"},"fuel-station-outline":{"parent":"gas-station-outline"},"fuel-truck":{"parent":"tanker-truck"},"full-outer-join":{"parent":"set-all"},"fungus":{"parent":"mushroom"},"fungus-outline":{"parent":"mushroom-outline"},"funnel":{"parent":"filter"},"funnel-check":{"parent":"filter-check"},"funnel-check-outline":{"parent":"filter-check-outline"},"funnel-cog":{"parent":"filter-cog"},"funnel-cog-outline":{"parent":"filter-cog-outline"},"funnel-gear":{"parent":"filter-cog"},"funnel-gear-outline":{"parent":"filter-cog-outline"},"funnel-minus":{"parent":"filter-minus"},"funnel-minus-outline":{"parent":"filter-minus-outline"},"funnel-multiple":{"parent":"filter-multiple"},"funnel-multiple-outline":{"parent":"filter-multiple-outline"},"funnel-outline":{"parent":"filter-outline"},"funnel-plus":{"parent":"filter-plus"},"funnel-plus-outline":{"parent":"filter-plus-outline"},"funnel-remove":{"parent":"filter-remove"},"funnel-remove-outline":{"parent":"filter-remove-outline"},"funnel-settings":{"parent":"filter-cog"},"funnel-settings-outline":{"parent":"filter-cog-outline"},"g-translate":{"parent":"google-translate"},"gambling":{"parent":"slot-machine"},"gambling-chip":{"parent":"poker-chip"},"gambling-outline":{"parent":"slot-machine-outline"},"gamepad-classic":{"parent":"controller-classic"},"gamepad-classic-outline":{"parent":"controller-classic-outline"},"gamepad-off":{"parent":"controller-off"},"games":{"parent":"gamepad"},"games-outline":{"parent":"gamepad-outline"},"garage-warning":{"parent":"garage-alert"},"garbage":{"parent":"delete"},"garbage-can":{"parent":"delete"},"garbage-can-circle":{"parent":"delete-circle"},"garbage-can-circle-outline":{"parent":"delete-circle-outline"},"garbage-can-empty":{"parent":"delete-empty"},"garbage-can-outline":{"parent":"delete-outline"},"garbage-circle":{"parent":"delete-circle"},"garbage-circle-outline":{"parent":"delete-circle-outline"},"garbage-empty":{"parent":"delete-empty"},"garbage-outline":{"parent":"delete-outline"},"gardening":{"parent":"shovel"},"gas":{"parent":"fire"},"gas-circle":{"parent":"fire-circle"},"gas-co":{"parent":"molecule-co"},"gas-co2":{"parent":"molecule-co2"},"gas-pump":{"parent":"gas-station"},"gas-pump-outline":{"parent":"gas-station-outline"},"gas-tank":{"parent":"storage-tank"},"gas-tank-outline":{"parent":"storage-tank-outline"},"gas-water-boiler":{"parent":"water-boiler"},"gas-water-heater":{"parent":"water-boiler"},"gasoline":{"parent":"fuel"},"gastropod":{"parent":"snail"},"gear":{"parent":"cog"},"gear-box":{"parent":"cog-box"},"gear-outline":{"parent":"cog-outline"},"gear-pause":{"parent":"cog-pause"},"gear-pause-outline":{"parent":"cog-pause-outline"},"gear-play":{"parent":"cog-play"},"gear-play-outline":{"parent":"cog-play-outline"},"gear-stop":{"parent":"cog-stop"},"gear-stop-outline":{"parent":"cog-stop-outline"},"gender-enby":{"parent":"gender-non-binary"},"genie-lamp":{"parent":"oil-lamp"},"germ":{"parent":"allergy"},"gesture-touch":{"parent":"gesture-tap"},"gesture-touch-box":{"parent":"gesture-tap-box"},"gesture-touch-button":{"parent":"gesture-tap-button"},"gesture-touch-hold":{"parent":"gesture-tap-hold"},"get-app":{"parent":"download"},"girandole":{"parent":"chandelier"},"git-issue":{"parent":"alert-circle-outline"},"git-repository":{"parent":"book"},"github-circle":{"parent":"github"},"give-way":{"parent":"sign-yield"},"glass":{"parent":"cup"},"glass-broken":{"parent":"glass-fragile"},"glass-liquid":{"parent":"cup-water"},"glass-off":{"parent":"cup-off"},"glass-off-outline":{"parent":"cup-off-outline"},"glass-outline":{"parent":"cup-outline"},"glass-water":{"parent":"cup-water"},"glasshouse":{"parent":"greenhouse"},"global-search":{"parent":"search-web"},"globe":{"parent":"earth"},"globe-arrow-right":{"parent":"earth-arrow-right"},"globe-box":{"parent":"earth-box"},"globe-box-minus":{"parent":"earth-box-minus"},"globe-box-off":{"parent":"earth-box-off"},"globe-box-plus":{"parent":"earth-box-plus"},"globe-box-remove":{"parent":"earth-box-remove"},"globe-minus":{"parent":"earth-minus"},"globe-off":{"parent":"earth-off"},"globe-plus":{"parent":"earth-plus"},"globe-remove":{"parent":"earth-remove"},"glove":{"parent":"mixed-martial-arts"},"gluten":{"parent":"barley"},"gluten-free":{"parent":"barley-off"},"goal":{"parent":"flag-checkered"},"gog-com":{"parent":"gog"},"golf-course":{"parent":"golf"},"google-adwords":{"parent":"google-ads"},"google-controller":{"parent":"controller"},"google-controller-off":{"parent":"controller-off"},"google-gamepad":{"parent":"controller"},"google-gamepad-off":{"parent":"controller-off"},"gps-fixed":{"parent":"crosshairs-gps"},"gps-not-fixed":{"parent":"crosshairs"},"gps-unknown":{"parent":"crosshairs-question"},"gpu":{"parent":"expansion-card"},"grade":{"parent":"star"},"gradient":{"parent":"gradient-vertical"},"graduation-cap":{"parent":"school"},"graduation-cap-outline":{"parent":"school-outline"},"grain-off":{"parent":"barley-off"},"graph-areaspline":{"parent":"chart-areaspline"},"graph-areaspline-variant":{"parent":"chart-areaspline-variant"},"graph-bar":{"parent":"chart-bar"},"graph-bar-stacked":{"parent":"chart-bar-stacked"},"graph-bell-curve":{"parent":"chart-bell-curve"},"graph-bell-curve-cumulative":{"parent":"chart-bell-curve-cumulative"},"graph-box":{"parent":"chart-box"},"graph-box-outline":{"parent":"chart-box-outline"},"graph-box-plus-outline":{"parent":"chart-box-plus-outline"},"graph-histogram":{"parent":"chart-histogram"},"graph-line":{"parent":"chart-line"},"graph-line-shimmer":{"parent":"chart-timeline-variant-shimmer"},"graph-line-stacked":{"parent":"chart-line-stacked"},"graph-line-variant":{"parent":"chart-line-variant"},"graph-multiline":{"parent":"chart-multiline"},"graph-multiple":{"parent":"chart-multiple"},"graph-pie":{"parent":"chart-pie"},"graph-pie-outline":{"parent":"chart-pie-outline"},"graph-ppf":{"parent":"chart-ppf"},"graph-sankey":{"parent":"chart-sankey"},"graph-sankey-variant":{"parent":"chart-sankey-variant"},"graph-scatter-plot":{"parent":"chart-scatter-plot"},"graph-scatter-plot-hexbin":{"parent":"chart-scatter-plot-hexbin"},"graph-timeline":{"parent":"chart-timeline"},"graph-timeline-variant":{"parent":"chart-timeline-variant"},"graph-timeline-variant-shimmer":{"parent":"chart-timeline-variant-shimmer"},"graphics-processing-unit":{"parent":"expansion-card"},"graveyard":{"parent":"grave-stone"},"green-circle":{"parent":"leaf-circle"},"green-circle-outline":{"parent":"leaf-circle-outline"},"green-house":{"parent":"hoop-house"},"greeting":{"parent":"hand-wave"},"greeting-outline":{"parent":"hand-wave-outline"},"grid-on":{"parent":"grid"},"group-add":{"parent":"account-multiple-plus"},"group-add-outline":{"parent":"account-multiple-plus-outline"},"guardian":{"parent":"account-child"},"guardian-circle":{"parent":"account-child-circle"},"guest-room":{"parent":"bed"},"guest-room-outline":{"parent":"bed-outline"},"guide-dog":{"parent":"dog-service"},"gun":{"parent":"pistol"},"gym":{"parent":"dumbbell"},"gyro":{"parent":"axis-arrow"},"hackernews":{"parent":"y-combinator"},"hail-cab":{"parent":"hail"},"hail-taxi":{"parent":"hail"},"hallway":{"parent":"coat-rack"},"hamburger-menu":{"parent":"menu"},"hamburger-menu-back":{"parent":"backburger"},"hand":{"parent":"allergy"},"hand-bike":{"parent":"hand-cycle"},"hand-blood":{"parent":"diabetes"},"hand-double-tap":{"parent":"gesture-double-tap"},"hand-open":{"parent":"hand-extended"},"hand-open-outline":{"parent":"hand-extended-outline"},"hand-palm":{"parent":"hand-extended"},"hand-palm-outline":{"parent":"hand-extended-outline"},"hand-reading":{"parent":"braille"},"hand-sanitizer":{"parent":"lotion-plus"},"hand-sanitizer-outline":{"parent":"lotion-plus-outline"},"hand-tap":{"parent":"gesture-tap"},"hand-truck":{"parent":"dolly"},"hare":{"parent":"rabbit"},"hare-outline":{"parent":"rabbit-variant-outline"},"harry-potter":{"parent":"deathly-hallows"},"hashtag":{"parent":"pound"},"hashtag-box":{"parent":"pound-box"},"hashtag-box-outline":{"parent":"pound-box-outline"},"hd":{"parent":"high-definition"},"hd-box":{"parent":"high-definition-box"},"hdd":{"parent":"harddisk"},"hdd-plus":{"parent":"harddisk-plus"},"hdd-remove":{"parent":"harddisk-remove"},"head-ache":{"parent":"head-flash"},"head-ache-outline":{"parent":"head-flash-outline"},"head-bulb":{"parent":"head-lightbulb"},"head-bulb-outline":{"parent":"head-lightbulb-outline"},"head-freeze":{"parent":"head-snowflake"},"head-freeze-outline":{"parent":"head-snowflake-outline"},"head-idea":{"parent":"head-lightbulb"},"head-idea-outline":{"parent":"head-lightbulb-outline"},"head-light-dimmed":{"parent":"car-light-dimmed"},"head-light-fog":{"parent":"car-light-fog"},"head-light-high":{"parent":"car-light-high"},"head-love":{"parent":"head-heart"},"head-love-outline":{"parent":"head-heart-outline"},"head-refresh":{"parent":"head-sync"},"head-refresh-outline":{"parent":"head-sync-outline"},"head-reload":{"parent":"head-sync"},"head-reload-outline":{"parent":"head-sync-outline"},"head-thinking":{"parent":"head-dots-horizontal"},"head-thinking-outline":{"parent":"head-dots-horizontal-outline"},"headphones-off-outline":{"parent":"earbuds-off-outline"},"headphones-outline":{"parent":"earbuds-outline"},"headset-mic":{"parent":"headset"},"headstone":{"parent":"grave-stone"},"health-potion":{"parent":"bottle-tonic-plus"},"health-potion-outline":{"parent":"bottle-tonic-plus-outline"},"hearing-impaired":{"parent":"ear-hearing-off"},"heart-vitals":{"parent":"heart-pulse"},"hearts":{"parent":"heart-multiple"},"hearts-outline":{"parent":"heart-multiple-outline"},"heat-advisory":{"parent":"weather-sunny-alert"},"heat-alert":{"parent":"weather-sunny-alert"},"heat-cool":{"parent":"sun-snowflake"},"heat-index":{"parent":"sun-thermometer"},"heated-floor":{"parent":"heating-coil"},"heater":{"parent":"radiator"},"heater-disabled":{"parent":"radiator-disabled"},"heater-off":{"parent":"radiator-off"},"heating":{"parent":"hvac"},"heating-off":{"parent":"hvac-off"},"helipad":{"parent":"alpha-h-circle-outline"},"helix":{"parent":"dna"},"helm":{"parent":"ship-wheel"},"helmet":{"parent":"hard-hat"},"help-outline":{"parent":"handshake-outline"},"hexagons":{"parent":"hexagon-multiple"},"hey-listen":{"parent":"candy-outline"},"hi-hat-light":{"parent":"light-recessed"},"hide":{"parent":"eye-off"},"hide-outline":{"parent":"eye-off-outline"},"high-beam":{"parent":"car-light-high"},"high-hat-light":{"parent":"light-recessed"},"high-occupancy-vehicle-lane":{"parent":"car-2-plus"},"high-occupancy-vehicle-lane-outline":{"parent":"cards-diamond-outline"},"high-quality":{"parent":"quality-high"},"high-voltage":{"parent":"flash-triangle"},"high-voltage-outline":{"parent":"flash-triangle-outline"},"highlight-off":{"parent":"close-circle-outline"},"highlighter":{"parent":"marker"},"hinduism":{"parent":"om"},"historic":{"parent":"pillar"},"home-add":{"parent":"home-plus"},"home-attic":{"parent":"home-roof"},"home-bulb":{"parent":"home-lightbulb"},"home-bulb-outline":{"parent":"home-lightbulb-outline"},"home-chart":{"parent":"home-analytics"},"home-chimney":{"parent":"home-roof"},"home-climate":{"parent":"home-thermometer"},"home-climate-outline":{"parent":"home-thermometer-outline"},"home-electricity":{"parent":"home-battery"},"home-electricity-outline":{"parent":"home-battery-outline"},"home-energy":{"parent":"home-battery"},"home-energy-outline":{"parent":"home-battery-outline"},"home-find":{"parent":"home-search"},"home-find-outline":{"parent":"home-search-outline"},"home-flash":{"parent":"home-lightning-bolt"},"home-floor-attic":{"parent":"home-floor-a"},"home-floor-basement":{"parent":"home-floor-b"},"home-floor-first":{"parent":"home-floor-1"},"home-floor-ground":{"parent":"home-floor-g"},"home-floor-loft":{"parent":"home-floor-l"},"home-floor-lower":{"parent":"home-floor-l"},"home-floor-minus-1":{"parent":"home-floor-negative-1"},"home-floor-minus-one":{"parent":"home-floor-negative-1"},"home-floor-negative-one":{"parent":"home-floor-negative-1"},"home-floor-one":{"parent":"home-floor-1"},"home-floor-second":{"parent":"home-floor-2"},"home-floor-third":{"parent":"home-floor-3"},"home-floor-three":{"parent":"home-floor-3"},"home-floor-two":{"parent":"home-floor-2"},"home-floor-zero":{"parent":"home-floor-0"},"home-group-add":{"parent":"home-group-plus"},"home-location":{"parent":"home-map-marker"},"home-power":{"parent":"home-battery"},"home-power-outline":{"parent":"home-battery-outline"},"home-report":{"parent":"home-analytics"},"home-schedule":{"parent":"home-clock"},"home-schedule-outline":{"parent":"home-clock-outline"},"home-secure":{"parent":"home-lock"},"home-swap":{"parent":"home-switch"},"home-swap-outline":{"parent":"home-switch-outline"},"home-temperature":{"parent":"home-thermometer"},"home-temperature-outline":{"parent":"home-thermometer-outline"},"home-theater":{"parent":"seat"},"home-theatre":{"parent":"seat"},"home-time":{"parent":"home-clock"},"home-time-outline":{"parent":"home-clock-outline"},"home-user":{"parent":"home-account"},"home-warning":{"parent":"home-alert"},"home-warning-outline":{"parent":"home-alert-outline"},"home-wireless":{"parent":"home-automation"},"honey-farmer":{"parent":"beekeeper"},"honey-outline":{"parent":"beehive-outline"},"hope":{"parent":"hand-heart"},"horizontal-line":{"parent":"minus"},"horoscope-aquarius":{"parent":"zodiac-aquarius"},"horoscope-aries":{"parent":"zodiac-aries"},"horoscope-cancer":{"parent":"zodiac-cancer"},"horoscope-capricorn":{"parent":"zodiac-capricorn"},"horoscope-gemini":{"parent":"zodiac-gemini"},"horoscope-leo":{"parent":"zodiac-leo"},"horoscope-libra":{"parent":"zodiac-libra"},"horoscope-pisces":{"parent":"zodiac-pisces"},"horoscope-sagittarius":{"parent":"zodiac-sagittarius"},"horoscope-scorpio":{"parent":"zodiac-scorpio"},"horoscope-taurus":{"parent":"zodiac-taurus"},"horoscope-virgo":{"parent":"zodiac-virgo"},"horse-riding":{"parent":"horse-human"},"horseback-riding":{"parent":"horse-human"},"hospital-location":{"parent":"hospital-marker"},"hot":{"parent":"fire"},"hot-air-balloon":{"parent":"airballoon"},"hot-air-balloon-outline":{"parent":"airballoon-outline"},"hot-circle":{"parent":"fire-circle"},"hot-cold":{"parent":"sun-snowflake"},"hotel":{"parent":"bed"},"hotel-outline":{"parent":"bed-outline"},"hothouse":{"parent":"greenhouse"},"hourglass":{"parent":"timer-sand"},"hourglass-complete":{"parent":"timer-sand-complete"},"hourglass-empty":{"parent":"timer-sand-empty"},"hourglass-full":{"parent":"timer-sand-full"},"hourglass-paused":{"parent":"timer-sand-paused"},"house":{"parent":"home"},"house-account":{"parent":"home-account"},"house-add":{"parent":"home-plus"},"house-add-outline":{"parent":"home-plus-outline"},"house-alert":{"parent":"home-alert"},"house-alert-outline":{"parent":"home-alert-outline"},"house-analytics":{"parent":"home-analytics"},"house-attic":{"parent":"home-roof"},"house-automation":{"parent":"home-automation"},"house-battery":{"parent":"home-battery"},"house-battery-outline":{"parent":"home-battery-outline"},"house-bulb":{"parent":"home-lightbulb"},"house-bulb-outline":{"parent":"home-lightbulb-outline"},"house-chart":{"parent":"home-analytics"},"house-chimney":{"parent":"home-roof"},"house-circle":{"parent":"home-circle"},"house-circle-outline":{"parent":"home-circle-outline"},"house-city":{"parent":"home-city"},"house-city-outline":{"parent":"home-city-outline"},"house-climate":{"parent":"home-thermometer"},"house-climate-outline":{"parent":"home-thermometer-outline"},"house-clock":{"parent":"home-clock"},"house-clock-outline":{"parent":"home-clock-outline"},"house-edit":{"parent":"home-edit"},"house-edit-outline":{"parent":"home-edit-outline"},"house-energy":{"parent":"home-battery"},"house-energy-outline":{"parent":"home-battery-outline"},"house-export-outline":{"parent":"home-export-outline"},"house-find":{"parent":"home-search"},"house-find-outline":{"parent":"home-search-outline"},"house-flash":{"parent":"home-lightning-bolt"},"house-flash-outline":{"parent":"home-lightning-bolt-outline"},"house-flood":{"parent":"home-flood"},"house-floor-0":{"parent":"home-floor-0"},"house-floor-1":{"parent":"home-floor-1"},"house-floor-2":{"parent":"home-floor-2"},"house-floor-3":{"parent":"home-floor-3"},"house-floor-a":{"parent":"home-floor-a"},"house-floor-attic":{"parent":"home-floor-a"},"house-floor-b":{"parent":"home-floor-b"},"house-floor-basement":{"parent":"home-floor-b"},"house-floor-first":{"parent":"home-floor-1"},"house-floor-g":{"parent":"home-floor-g"},"house-floor-ground":{"parent":"home-floor-g"},"house-floor-l":{"parent":"home-floor-l"},"house-floor-loft":{"parent":"home-floor-l"},"house-floor-lower":{"parent":"home-floor-l"},"house-floor-minus-1":{"parent":"home-floor-negative-1"},"house-floor-minus-one":{"parent":"home-floor-negative-1"},"house-floor-negative-1":{"parent":"home-floor-negative-1"},"house-floor-negative-one":{"parent":"home-floor-negative-1"},"house-floor-one":{"parent":"home-floor-1"},"house-floor-second":{"parent":"home-floor-2"},"house-floor-third":{"parent":"home-floor-3"},"house-floor-three":{"parent":"home-floor-3"},"house-floor-two":{"parent":"home-floor-2"},"house-floor-zero":{"parent":"home-floor-0"},"house-group":{"parent":"home-group"},"house-group-add":{"parent":"home-group-plus"},"house-group-minus":{"parent":"home-group-minus"},"house-group-plus":{"parent":"home-group-plus"},"house-group-remove":{"parent":"home-group-remove"},"house-heart":{"parent":"home-heart"},"house-import-outline":{"parent":"home-import-outline"},"house-lightbulb":{"parent":"home-lightbulb"},"house-lightbulb-outline":{"parent":"home-lightbulb-outline"},"house-lightning-bolt":{"parent":"home-lightning-bolt"},"house-lightning-bolt-outline":{"parent":"home-lightning-bolt-outline"},"house-lock":{"parent":"home-lock"},"house-lock-open":{"parent":"home-lock-open"},"house-map-marker":{"parent":"home-map-marker"},"house-minus":{"parent":"home-minus"},"house-minus-outline":{"parent":"home-minus-outline"},"house-modern":{"parent":"home-modern"},"house-off":{"parent":"home-off"},"house-off-outline":{"parent":"home-off-outline"},"house-outline":{"parent":"home-outline"},"house-plus":{"parent":"home-plus"},"house-plus-outline":{"parent":"home-plus-outline"},"house-power":{"parent":"home-battery"},"house-power-outline":{"parent":"home-battery-outline"},"house-remove":{"parent":"home-remove"},"house-remove-outline":{"parent":"home-remove-outline"},"house-roof":{"parent":"home-roof"},"house-schedule":{"parent":"home-clock"},"house-schedule-outline":{"parent":"home-clock-outline"},"house-search":{"parent":"home-search"},"house-search-outline":{"parent":"home-search-outline"},"house-secure":{"parent":"home-lock"},"house-swap":{"parent":"home-switch"},"house-swap-outline":{"parent":"home-switch-outline"},"house-switch":{"parent":"home-switch"},"house-switch-outline":{"parent":"home-switch-outline"},"house-temperature":{"parent":"home-thermometer"},"house-temperature-outline":{"parent":"home-thermometer-outline"},"house-thermometer":{"parent":"home-thermometer"},"house-thermometer-outline":{"parent":"home-thermometer-outline"},"house-time":{"parent":"home-clock"},"house-time-outline":{"parent":"home-clock-outline"},"house-user":{"parent":"home-account"},"house-variant":{"parent":"home-variant"},"house-variant-outline":{"parent":"home-variant-outline"},"house-warning":{"parent":"home-alert"},"house-warning-outline":{"parent":"home-alert-outline"},"house-wireless":{"parent":"home-automation"},"housing-estate":{"parent":"home-group"},"hov-lane":{"parent":"car-2-plus"},"hov-lane-outline":{"parent":"cards-diamond-outline"},"how-to-reg":{"parent":"account-check"},"how-to-reg-outline":{"parent":"account-check-outline"},"how-to-vote":{"parent":"vote"},"how-to-vote-outline":{"parent":"vote-outline"},"hq":{"parent":"quality-high"},"https":{"parent":"lock"},"https-outline":{"parent":"lock-outline"},"human-accessible":{"parent":"human-wheelchair"},"human-barbell":{"parent":"weight-lifter"},"human-biathlon":{"parent":"biathlon"},"human-blind":{"parent":"human-white-cane"},"human-capacity-reduce":{"parent":"human-capacity-decrease"},"human-dance-ballroom":{"parent":"dance-ballroom"},"human-dance-pole":{"parent":"dance-pole"},"human-diving":{"parent":"diving"},"human-genderless":{"parent":"human-non-binary"},"human-hand-truck":{"parent":"human-dolly"},"human-handball":{"parent":"handball"},"human-hello":{"parent":"human-greeting"},"human-hello-variant":{"parent":"human-greeting-variant"},"human-hiking":{"parent":"hiking"},"human-kabaddi":{"parent":"kabaddi"},"human-karate":{"parent":"karate"},"human-kayaking":{"parent":"kayaking"},"human-line":{"parent":"human-queue"},"human-man-board":{"parent":"human-male-board"},"human-meditation":{"parent":"meditation"},"human-rowing":{"parent":"rowing"},"human-run":{"parent":"run"},"human-run-fast":{"parent":"run-fast"},"human-skateboarding":{"parent":"skateboarding"},"human-ski":{"parent":"ski"},"human-ski-cross-country":{"parent":"ski-cross-country"},"human-ski-water":{"parent":"ski-water"},"human-sledding":{"parent":"sledding"},"human-snowboard":{"parent":"snowboard"},"human-transgender":{"parent":"human-non-binary"},"human-trolley":{"parent":"human-dolly"},"human-walk":{"parent":"walk"},"human-welcome":{"parent":"human-greeting"},"humidity":{"parent":"cloud-percent"},"humidity-alert":{"parent":"water-percent-alert"},"humidity-outline":{"parent":"cloud-percent-outline"},"hydraulic-turbine":{"parent":"hydro-power"},"icc":{"parent":"integrated-circuit-chip"},"ice-skate":{"parent":"skate"},"id-card-outline":{"parent":"card-account-details-outline"},"idea":{"parent":"lightbulb"},"identification-card":{"parent":"card-account-details"},"identification-card-outline":{"parent":"card-account-details-outline"},"ideogram-chinese-japanese-korean":{"parent":"ideogram-cjk"},"ideogram-chinese-japanese-korean-variant":{"parent":"ideogram-cjk-variant"},"iframe":{"parent":"application"},"iframe-array":{"parent":"application-array"},"iframe-array-outline":{"parent":"application-array-outline"},"iframe-braces":{"parent":"application-braces"},"iframe-braces-outline":{"parent":"application-braces-outline"},"iframe-brackets":{"parent":"application-brackets"},"iframe-brackets-outline":{"parent":"application-brackets-outline"},"iframe-cog":{"parent":"application-cog"},"iframe-cog-outline":{"parent":"application-cog-outline"},"iframe-edit":{"parent":"application-edit"},"iframe-edit-outline":{"parent":"application-edit-outline"},"iframe-export-outline":{"parent":"application-export"},"iframe-import-outline":{"parent":"application-import"},"iframe-outline":{"parent":"application-outline"},"iframe-parentheses":{"parent":"application-parentheses"},"iframe-parentheses-outline":{"parent":"application-parentheses-outline"},"iframe-settings":{"parent":"application-settings"},"iframe-settings-outline":{"parent":"application-settings-outline"},"iframe-variable":{"parent":"application-variable"},"iframe-variable-outline":{"parent":"application-variable-outline"},"ignition":{"parent":"induction"},"illuminance":{"parent":"sun-wireless"},"illuminance-outline":{"parent":"sun-wireless-outline"},"image-360":{"parent":"panorama-variant"},"image-360-outline":{"parent":"panorama-variant-outline"},"image-add":{"parent":"image-plus"},"image-add-outline":{"parent":"image-plus-outline"},"image-aspect-ratio":{"parent":"relative-scale"},"image-description":{"parent":"image-text"},"image-filter":{"parent":"image-auto-adjust"},"image-filter-centre-focus":{"parent":"image-filter-center-focus"},"image-filter-centre-focus-weak":{"parent":"image-filter-center-focus-weak"},"image-jpeg-box":{"parent":"file-jpg-box"},"image-jpg-box":{"parent":"file-jpg-box"},"image-location":{"parent":"image-marker"},"image-location-outline":{"parent":"image-marker-outline"},"image-secure":{"parent":"image-lock"},"image-secure-outline":{"parent":"image-lock-outline"},"image-vr":{"parent":"panorama-variant"},"image-vr-outline":{"parent":"panorama-variant-outline"},"images":{"parent":"image-multiple"},"images-outline":{"parent":"image-multiple-outline"},"immunization":{"parent":"needle"},"immunization-off":{"parent":"needle-off"},"import-contacts":{"parent":"book-open-blank-variant"},"import-export":{"parent":"swap-vertical"},"import-export-bold":{"parent":"swap-vertical-bold"},"important-devices":{"parent":"monitor-cellphone-star"},"inboxes":{"parent":"inbox-multiple"},"inboxes-outline":{"parent":"inbox-multiple-outline"},"increment":{"parent":"numeric-positive-1"},"indeterminate-check-box":{"parent":"minus-box"},"industrial":{"parent":"factory"},"infinity-box":{"parent":"all-inclusive-box"},"infinity-box-outline":{"parent":"all-inclusive-box-outline"},"info-circle":{"parent":"information"},"info-circle-outline":{"parent":"information-outline"},"info-outline":{"parent":"information-outline"},"info-variant":{"parent":"information-variant"},"information-circle":{"parent":"information"},"information-circle-outline":{"parent":"information-outline"},"injection":{"parent":"needle"},"injection-off":{"parent":"needle-off"},"ink":{"parent":"water"},"ink-alert":{"parent":"water-alert"},"ink-alert-outline":{"parent":"water-alert-outline"},"ink-check":{"parent":"water-check"},"ink-check-outline":{"parent":"water-check-outline"},"ink-circle":{"parent":"water-circle"},"ink-color":{"parent":"format-color-fill"},"ink-colour":{"parent":"format-color-fill"},"ink-minus":{"parent":"water-minus"},"ink-minus-outline":{"parent":"water-minus-outline"},"ink-off":{"parent":"water-off"},"ink-off-outline":{"parent":"water-off-outline"},"ink-outline":{"parent":"water-outline"},"ink-percent":{"parent":"water-percent"},"ink-percent-alert":{"parent":"water-percent-alert"},"ink-plus":{"parent":"water-plus"},"ink-plus-outline":{"parent":"water-plus-outline"},"ink-remove":{"parent":"water-remove"},"ink-remove-outline":{"parent":"water-remove-outline"},"ink-spot":{"parent":"liquid-spot"},"inky":{"parent":"ghost"},"inner-join":{"parent":"set-center"},"input":{"parent":"import"},"insect":{"parent":"bee"},"insert-comment":{"parent":"message-reply-text"},"insert-drive-file":{"parent":"file"},"insert-emoticon":{"parent":"emoticon-outline"},"insert-invitation":{"parent":"calendar"},"insert-link":{"parent":"link"},"insert-photo":{"parent":"image"},"instant-cash":{"parent":"cash-fast"},"instant-deposit":{"parent":"cash-fast"},"instant-mix":{"parent":"tune-vertical"},"instant-transfer":{"parent":"cash-fast"},"integrated-circuit":{"parent":"chip"},"interaction-double-tap":{"parent":"gesture-double-tap"},"interaction-tap":{"parent":"gesture-tap"},"international-symbol-of-access":{"parent":"wheelchair"},"internet":{"parent":"web"},"internet-box":{"parent":"web-box"},"internet-explorer":{"parent":"microsoft-internet-explorer"},"internet-protocol":{"parent":"ip"},"internet-protocol-outline":{"parent":"ip-outline"},"internet-search":{"parent":"search-web"},"invert-colours":{"parent":"invert-colors"},"invert-colours-off":{"parent":"invert-colors-off"},"invite":{"parent":"account-multiple-plus"},"invoice":{"parent":"receipt-text"},"invoice-add":{"parent":"receipt-text-plus"},"invoice-check":{"parent":"receipt-text-check"},"invoice-check-outline":{"parent":"receipt-text-check-outline"},"invoice-minus":{"parent":"receipt-text-minus"},"invoice-minus-outline":{"parent":"receipt-text-minus-outline"},"invoice-outline":{"parent":"receipt-text-outline"},"invoice-plus":{"parent":"receipt-text-plus"},"invoice-remove":{"parent":"receipt-text-remove"},"invoice-remove-outline":{"parent":"receipt-text-remove-outline"},"ios-share":{"parent":"export-variant"},"irrigation":{"parent":"sprinkler"},"isa":{"parent":"wheelchair"},"islam":{"parent":"mosque"},"italian-lights":{"parent":"string-lights"},"italian-lights-off":{"parent":"string-lights-off"},"jack-o-lantern":{"parent":"halloween"},"jaws":{"parent":"shark"},"jaws-off":{"parent":"shark-off"},"jet-engine":{"parent":"turbine"},"jewel":{"parent":"diamond-stone"},"jewish":{"parent":"star-david"},"jewish-outline":{"parent":"synagogue-outline"},"jigsaw":{"parent":"puzzle"},"jigsaw-outline":{"parent":"puzzle-outline"},"jolly-roger":{"parent":"skull-crossbones"},"jolly-roger-outline":{"parent":"skull-crossbones-outline"},"journal":{"parent":"notebook"},"journal-multiple":{"parent":"notebook-multiple"},"journal-outline":{"parent":"notebook-outline"},"json":{"parent":"code-json"},"judaism":{"parent":"star-david"},"jump":{"parent":"debug-step-over"},"justice":{"parent":"scale-balance"},"k9":{"parent":"dog-service"},"karabiner":{"parent":"carabiner"},"kazakhstani-tenge":{"parent":"currency-kzt"},"keep":{"parent":"pin"},"keep-off":{"parent":"pin-off"},"keep-off-outline":{"parent":"pin-off-outline"},"keep-outline":{"parent":"pin-outline"},"keep-warm":{"parent":"heat-wave"},"kettle-empty":{"parent":"kettle-outline"},"kettle-empty-alert":{"parent":"kettle-alert-outline"},"kettle-empty-off":{"parent":"kettle-off-outline"},"kettle-empty-steam":{"parent":"kettle-steam-outline"},"kettle-full":{"parent":"kettle"},"kettle-full-alert":{"parent":"kettle-alert"},"kettle-full-off":{"parent":"kettle-off"},"kettle-full-steam":{"parent":"kettle-steam"},"key-add":{"parent":"key-plus"},"key-favorite":{"parent":"key-star"},"keyboard-arrow-down":{"parent":"chevron-down"},"keyboard-arrow-left":{"parent":"chevron-left"},"keyboard-arrow-right":{"parent":"chevron-right"},"keyboard-arrow-up":{"parent":"chevron-up"},"keyboard-capslock":{"parent":"keyboard-caps"},"keyboard-clear":{"parent":"keyboard-backspace"},"keyboard-erase":{"parent":"keyboard-backspace"},"keyboard-hide":{"parent":"keyboard-close"},"keyboard-hide-outline":{"parent":"keyboard-close-outline"},"keyboard-voice":{"parent":"microphone"},"keypad":{"parent":"dialpad"},"kho-kho":{"parent":"dance-pole"},"kickboxing":{"parent":"karate"},"kids-room":{"parent":"teddy-bear"},"kitchen":{"parent":"fridge"},"kitchen-counter":{"parent":"countertop"},"kitchen-counter-outline":{"parent":"countertop-outline"},"kitchen-roll":{"parent":"paper-roll"},"kitchen-roll-outline":{"parent":"paper-roll-outline"},"kitchen-tap":{"parent":"faucet"},"kitchen-tap-off":{"parent":"water-pump-off"},"kotlin":{"parent":"language-kotlin"},"lacrosse":{"parent":"racquetball"},"lacto-vegetarian":{"parent":"square-circle"},"ladybird":{"parent":"ladybug"},"lake":{"parent":"waves"},"landscape":{"parent":"image-filter-hdr"},"language":{"parent":"translate"},"language-box":{"parent":"web-box"},"last-page":{"parent":"page-last"},"latest":{"parent":"history"},"laundrette":{"parent":"washing-machine"},"laundry-room":{"parent":"tumble-dryer"},"laundry-room-alert":{"parent":"tumble-dryer-alert"},"laundry-room-off":{"parent":"tumble-dryer-off"},"lavatory":{"parent":"toilet"},"lavatory-roll":{"parent":"paper-roll"},"lavatory-roll-outline":{"parent":"paper-roll-outline"},"lawn":{"parent":"grass"},"lawn-mower":{"parent":"robot-mower"},"lawn-mower-outline":{"parent":"robot-mower-outline"},"layers-clear":{"parent":"layers-off"},"leads":{"parent":"account-filter"},"leads-outline":{"parent":"account-filter-outline"},"learn":{"parent":"chair-school"},"learn-outline":{"parent":"school-outline"},"lecture":{"parent":"human-male-board"},"lecturn":{"parent":"lectern"},"left-to-right":{"parent":"format-pilcrow-arrow-right"},"legal":{"parent":"scale-balance"},"lego":{"parent":"toy-brick"},"lego-location":{"parent":"toy-brick-marker"},"lego-location-outline":{"parent":"toy-brick-marker-outline"},"lego-outline":{"parent":"toy-brick-marker-outline"},"lens":{"parent":"circle"},"letter-a":{"parent":"alpha-a"},"letter-a-box":{"parent":"alpha-a-box"},"letter-a-box-outline":{"parent":"alpha-a-box-outline"},"letter-a-circle":{"parent":"alpha-a-circle"},"letter-a-circle-outline":{"parent":"alpha-a-circle-outline"},"letter-b":{"parent":"alpha-b"},"letter-b-box":{"parent":"alpha-b-box"},"letter-b-box-outline":{"parent":"alpha-b-box-outline"},"letter-b-circle":{"parent":"alpha-b-circle"},"letter-b-circle-outline":{"parent":"alpha-b-circle-outline"},"letter-c":{"parent":"alpha-c"},"letter-c-box":{"parent":"alpha-c-box"},"letter-c-box-outline":{"parent":"alpha-c-box-outline"},"letter-c-circle":{"parent":"alpha-c-circle"},"letter-c-circle-outline":{"parent":"alpha-c-circle-outline"},"letter-d":{"parent":"alpha-d"},"letter-d-box":{"parent":"alpha-d-box"},"letter-d-box-outline":{"parent":"alpha-d-box-outline"},"letter-d-circle":{"parent":"alpha-d-circle"},"letter-d-circle-outline":{"parent":"alpha-d-circle-outline"},"letter-e":{"parent":"alpha-e"},"letter-e-box":{"parent":"alpha-e-box"},"letter-e-box-outline":{"parent":"alpha-e-box-outline"},"letter-e-circle":{"parent":"alpha-e-circle"},"letter-e-circle-outline":{"parent":"alpha-e-circle-outline"},"letter-f":{"parent":"alpha-f"},"letter-f-box":{"parent":"alpha-f-box"},"letter-f-box-outline":{"parent":"alpha-f-box-outline"},"letter-f-circle":{"parent":"alpha-f-circle"},"letter-f-circle-outline":{"parent":"alpha-f-circle-outline"},"letter-g":{"parent":"alpha-g"},"letter-g-box":{"parent":"alpha-g-box"},"letter-g-box-outline":{"parent":"alpha-g-box-outline"},"letter-g-circle":{"parent":"alpha-g-circle"},"letter-g-circle-outline":{"parent":"alpha-g-circle-outline"},"letter-h":{"parent":"alpha-h"},"letter-h-box":{"parent":"alpha-h-box"},"letter-h-box-outline":{"parent":"alpha-h-box-outline"},"letter-h-circle":{"parent":"alpha-h-circle"},"letter-h-circle-outline":{"parent":"alpha-h-circle-outline"},"letter-i":{"parent":"alpha-i"},"letter-i-box":{"parent":"alpha-i-box"},"letter-i-box-outline":{"parent":"alpha-i-box-outline"},"letter-i-circle":{"parent":"alpha-i-circle"},"letter-i-circle-outline":{"parent":"alpha-i-circle-outline"},"letter-j":{"parent":"alpha-j"},"letter-j-box":{"parent":"alpha-j-box"},"letter-j-box-outline":{"parent":"alpha-j-box-outline"},"letter-j-circle":{"parent":"alpha-j-circle"},"letter-j-circle-outline":{"parent":"alpha-j-circle-outline"},"letter-k":{"parent":"alpha-k"},"letter-k-box":{"parent":"alpha-k-box"},"letter-k-box-outline":{"parent":"alpha-k-box-outline"},"letter-k-circle":{"parent":"alpha-k-circle"},"letter-k-circle-outline":{"parent":"alpha-k-circle-outline"},"letter-l":{"parent":"alpha-l"},"letter-l-box":{"parent":"alpha-l-box"},"letter-l-box-outline":{"parent":"alpha-l-box-outline"},"letter-l-circle":{"parent":"alpha-l-circle"},"letter-l-circle-outline":{"parent":"alpha-l-circle-outline"},"letter-m":{"parent":"alpha-m"},"letter-m-box":{"parent":"alpha-m-box"},"letter-m-box-outline":{"parent":"alpha-m-box-outline"},"letter-m-circle":{"parent":"alpha-m-circle"},"letter-m-circle-outline":{"parent":"alpha-m-circle-outline"},"letter-n":{"parent":"alpha-n"},"letter-n-box":{"parent":"alpha-n-box"},"letter-n-box-outline":{"parent":"alpha-n-box-outline"},"letter-n-circle":{"parent":"alpha-n-circle"},"letter-n-circle-outline":{"parent":"alpha-n-circle-outline"},"letter-o":{"parent":"alpha-o"},"letter-o-box":{"parent":"alpha-o-box"},"letter-o-box-outline":{"parent":"alpha-o-box-outline"},"letter-o-circle":{"parent":"alpha-o-circle"},"letter-o-circle-outline":{"parent":"alpha-o-circle-outline"},"letter-p":{"parent":"alpha-p"},"letter-p-box":{"parent":"alpha-p-box"},"letter-p-box-outline":{"parent":"alpha-p-box-outline"},"letter-p-circle":{"parent":"alpha-p-circle"},"letter-p-circle-outline":{"parent":"alpha-p-circle-outline"},"letter-q":{"parent":"alpha-q"},"letter-q-box":{"parent":"alpha-q-box"},"letter-q-box-outline":{"parent":"alpha-q-box-outline"},"letter-q-circle":{"parent":"alpha-q-circle"},"letter-q-circle-outline":{"parent":"alpha-q-circle-outline"},"letter-r":{"parent":"alpha-r"},"letter-r-box":{"parent":"alpha-r-box"},"letter-r-box-outline":{"parent":"alpha-r-box-outline"},"letter-r-circle":{"parent":"alpha-r-circle"},"letter-r-circle-outline":{"parent":"alpha-r-circle-outline"},"letter-s":{"parent":"alpha-s"},"letter-s-box":{"parent":"alpha-s-box"},"letter-s-box-outline":{"parent":"alpha-s-box-outline"},"letter-s-circle":{"parent":"alpha-s-circle"},"letter-s-circle-outline":{"parent":"alpha-s-circle-outline"},"letter-t":{"parent":"alpha-t"},"letter-t-box":{"parent":"alpha-t-box"},"letter-t-box-outline":{"parent":"alpha-t-box-outline"},"letter-t-circle":{"parent":"alpha-t-circle"},"letter-t-circle-outline":{"parent":"alpha-t-circle-outline"},"letter-u":{"parent":"alpha-u"},"letter-u-box":{"parent":"alpha-u-box"},"letter-u-box-outline":{"parent":"alpha-u-box-outline"},"letter-u-circle":{"parent":"alpha-u-circle"},"letter-u-circle-outline":{"parent":"alpha-u-circle-outline"},"letter-v":{"parent":"alpha-v"},"letter-v-box":{"parent":"alpha-v-box"},"letter-v-box-outline":{"parent":"alpha-v-box-outline"},"letter-v-circle":{"parent":"alpha-v-circle"},"letter-v-circle-outline":{"parent":"alpha-v-circle-outline"},"letter-w":{"parent":"alpha-w"},"letter-w-box":{"parent":"alpha-w-box"},"letter-w-box-outline":{"parent":"alpha-w-box-outline"},"letter-w-circle":{"parent":"alpha-w-circle"},"letter-w-circle-outline":{"parent":"alpha-w-circle-outline"},"letter-x":{"parent":"alpha-x"},"letter-x-box":{"parent":"alpha-x-box"},"letter-x-box-outline":{"parent":"alpha-x-box-outline"},"letter-x-circle":{"parent":"alpha-x-circle"},"letter-x-circle-outline":{"parent":"alpha-x-circle-outline"},"letter-y":{"parent":"alpha-y"},"letter-y-box":{"parent":"alpha-y-box"},"letter-y-box-outline":{"parent":"alpha-y-box-outline"},"letter-y-circle":{"parent":"alpha-y-circle"},"letter-y-circle-outline":{"parent":"alpha-y-circle-outline"},"letter-z":{"parent":"alpha-z"},"letter-z-box":{"parent":"alpha-z-box"},"letter-z-box-outline":{"parent":"alpha-z-box-outline"},"letter-z-circle":{"parent":"alpha-z-circle"},"letter-z-circle-outline":{"parent":"alpha-z-circle-outline"},"letters":{"parent":"alphabetical"},"letters-off":{"parent":"alphabetical-off"},"level-crossing-signals":{"parent":"railroad-light"},"library-add":{"parent":"plus-box-multiple"},"library-bookmark":{"parent":"bookmark-box-multiple"},"library-bookmark-outline":{"parent":"bookmark-box-multiple-outline"},"library-close":{"parent":"close-box-multiple"},"library-close-outline":{"parent":"close-box-multiple-outline"},"library-edit":{"parent":"pencil-box-multiple"},"library-edit-outline":{"parent":"pencil-box-multiple-outline"},"library-minus":{"parent":"minus-box-multiple"},"library-minus-outline":{"parent":"minus-box-multiple-outline"},"library-movie":{"parent":"filmstrip-box-multiple"},"library-music":{"parent":"music-box-multiple"},"library-music-outline":{"parent":"music-box-multiple-outline"},"library-plus":{"parent":"plus-box-multiple"},"library-remove":{"parent":"close-box-multiple"},"library-remove-outline":{"parent":"close-box-multiple-outline"},"library-video":{"parent":"play-box-multiple"},"life-preserver":{"parent":"lifebuoy"},"light-strip":{"parent":"led-strip"},"light-strip-variant":{"parent":"led-strip-variant"},"light-strip-variant-off":{"parent":"led-strip-variant-off"},"light-switch-on":{"parent":"toggle-switch-variant"},"lightbulb-automatic":{"parent":"lightbulb-auto"},"lightbulb-automatic-outline":{"parent":"lightbulb-auto-outline"},"lightbulb-dimmer-10":{"parent":"lightbulb-on-10"},"lightbulb-dimmer-100":{"parent":"lightbulb-on"},"lightbulb-dimmer-20":{"parent":"lightbulb-on-20"},"lightbulb-dimmer-30":{"parent":"lightbulb-on-30"},"lightbulb-dimmer-40":{"parent":"lightbulb-on-40"},"lightbulb-dimmer-50":{"parent":"lightbulb-on-50"},"lightbulb-dimmer-60":{"parent":"lightbulb-on-60"},"lightbulb-dimmer-70":{"parent":"lightbulb-on-70"},"lightbulb-dimmer-80":{"parent":"lightbulb-on-80"},"lightbulb-dimmer-90":{"parent":"lightbulb-on-90"},"lightbulb-edison":{"parent":"lightbulb-variant"},"lightbulb-edison-outline":{"parent":"lightbulb-variant-outline"},"lightbulb-error":{"parent":"lightbulb-alert"},"lightbulb-error-outline":{"parent":"lightbulb-alert-outline"},"lightbulb-filament":{"parent":"lightbulb-variant"},"lightbulb-filament-outline":{"parent":"lightbulb-variant-outline"},"lightbulb-gu10":{"parent":"lightbulb-spot"},"lightbulb-gu10-off":{"parent":"lightbulb-spot-off"},"lightbulb-halogen":{"parent":"lightbulb-spot"},"lightbulb-halogen-off":{"parent":"lightbulb-spot-off"},"lightbulb-help":{"parent":"lightbulb-question"},"lightbulb-help-outline":{"parent":"lightbulb-question-outline"},"lightbulb-moon-star":{"parent":"lightbulb-night"},"lightbulb-moon-star-outline":{"parent":"lightbulb-night-outline"},"lightbulb-motion":{"parent":"lightbulb-auto"},"lightbulb-motion-outline":{"parent":"lightbulb-auto-outline"},"lightbulbs":{"parent":"lightbulb-multiple"},"lightbulbs-off":{"parent":"lightbulb-multiple-off"},"lightbulbs-off-outline":{"parent":"lightbulb-multiple-off-outline"},"lightbulbs-outline":{"parent":"lightbulb-multiple-outline"},"lightning-alert":{"parent":"flash-alert"},"lightning-alert-outline":{"parent":"flash-alert-outline"},"lights":{"parent":"lamps"},"lights-outline":{"parent":"lamps-outline"},"like":{"parent":"thumb-up"},"like-dislike":{"parent":"thumbs-up-down"},"like-dislike-outline":{"parent":"thumbs-up-down-outline"},"like-outline":{"parent":"thumb-up-outline"},"link-add":{"parent":"link-plus"},"linkedin-box":{"parent":"linkedin"},"lira":{"parent":"currency-try"},"living-room":{"parent":"sofa"},"living-room-outline":{"parent":"sofa-outline"},"loaf":{"parent":"baguette"},"local-activity":{"parent":"ticket"},"local-airport":{"parent":"airplane"},"local-area-network":{"parent":"lan"},"local-area-network-connect":{"parent":"lan-connect"},"local-area-network-disconnect":{"parent":"lan-disconnect"},"local-area-network-pending":{"parent":"lan-pending"},"local-atm":{"parent":"cash-usd"},"local-attraction":{"parent":"ticket"},"local-bar":{"parent":"glass-cocktail"},"local-cafe":{"parent":"coffee"},"local-cafe-off":{"parent":"coffee-off"},"local-cafe-off-outline":{"parent":"coffee-off-outline"},"local-cafe-outline":{"parent":"coffee-outline"},"local-cafe-to-go":{"parent":"coffee-to-go"},"local-cafe-to-go-outline":{"parent":"coffee-to-go-outline"},"local-car-wash":{"parent":"car-wash"},"local-convenience-store":{"parent":"store-24-hour"},"local-dining":{"parent":"silverware"},"local-drink":{"parent":"cup-water"},"local-florist":{"parent":"flower"},"local-florist-outline":{"parent":"flower-outline"},"local-gas-station":{"parent":"gas-station"},"local-grocery-store":{"parent":"cart"},"local-hospital":{"parent":"hospital-box"},"local-laundry-service":{"parent":"washing-machine"},"local-library":{"parent":"library"},"local-library-outline":{"parent":"library-outline"},"local-mall":{"parent":"shopping"},"local-mall-outline":{"parent":"shopping-outline"},"local-movies":{"parent":"filmstrip"},"local-offer":{"parent":"tag"},"local-parking":{"parent":"parking"},"local-pharmacy":{"parent":"mortar-pestle-plus"},"local-phone":{"parent":"phone"},"local-pizza":{"parent":"pizza"},"local-play":{"parent":"ticket"},"local-post-office":{"parent":"email"},"local-print-shop":{"parent":"printer"},"local-printshop":{"parent":"printer"},"local-restaurant":{"parent":"silverware"},"local-see":{"parent":"camera"},"local-shipping":{"parent":"truck"},"local-taxi":{"parent":"taxi"},"location":{"parent":"map-marker"},"location-add":{"parent":"map-marker-plus"},"location-add-outline":{"parent":"map-marker-plus-outline"},"location-alert":{"parent":"map-marker-alert"},"location-alert-outline":{"parent":"map-marker-alert-outline"},"location-check":{"parent":"map-marker-check"},"location-check-outline":{"parent":"map-marker-check-outline"},"location-circle":{"parent":"map-marker-circle"},"location-city":{"parent":"city"},"location-distance":{"parent":"map-marker-distance"},"location-down":{"parent":"map-marker-down"},"location-favorite":{"parent":"map-marker-star"},"location-favorite-outline":{"parent":"map-marker-star-outline"},"location-left":{"parent":"map-marker-left"},"location-left-outline":{"parent":"map-marker-left-outline"},"location-minus":{"parent":"map-marker-minus"},"location-minus-outline":{"parent":"map-marker-minus-outline"},"location-multiple":{"parent":"map-marker-multiple"},"location-multiple-outline":{"parent":"map-marker-multiple-outline"},"location-off":{"parent":"map-marker-off"},"location-off-outline":{"parent":"map-marker-off-outline"},"location-on":{"parent":"map-marker"},"location-on-outline":{"parent":"map-marker-outline"},"location-outline":{"parent":"map-marker-outline"},"location-path":{"parent":"map-marker-path"},"location-plus":{"parent":"map-marker-plus"},"location-plus-outline":{"parent":"map-marker-plus-outline"},"location-question":{"parent":"map-marker-question"},"location-question-outline":{"parent":"map-marker-question-outline"},"location-radius":{"parent":"map-marker-radius"},"location-radius-outline":{"parent":"map-marker-radius-outline"},"location-remove":{"parent":"map-marker-remove"},"location-remove-outline":{"parent":"map-marker-remove-outline"},"location-remove-variant-outline":{"parent":"map-marker-remove-variant"},"location-right":{"parent":"map-marker-right"},"location-right-outline":{"parent":"map-marker-right-outline"},"location-searching":{"parent":"crosshairs"},"location-star":{"parent":"map-marker-star"},"location-star-outline":{"parent":"map-marker-star-outline"},"location-up":{"parent":"map-marker-up"},"location-warning":{"parent":"map-marker-alert"},"location-warning-outline":{"parent":"map-marker-alert-outline"},"locations":{"parent":"map-marker-multiple"},"locations-outline":{"parent":"map-marker-multiple-outline"},"lock-add":{"parent":"lock-plus"},"lock-add-outline":{"parent":"lock-plus-outline"},"lock-open-add":{"parent":"lock-open-plus"},"lock-open-add-outline":{"parent":"lock-open-plus-outline"},"lock-open-warning":{"parent":"lock-open-alert"},"lock-open-warning-outline":{"parent":"lock-open-alert-outline"},"lock-rate":{"parent":"lock-percent"},"lock-rate-open":{"parent":"lock-percent-open"},"lock-rate-open-outline":{"parent":"lock-percent-open-outline"},"lock-rate-open-variant":{"parent":"lock-percent-open-variant"},"lock-rate-open-variant-outline":{"parent":"lock-percent-open-variant-outline"},"lock-rate-outline":{"parent":"lock-percent-outline"},"lock-warning":{"parent":"lock-alert"},"lock-warning-outline":{"parent":"lock-alert-outline"},"lockers":{"parent":"locker-multiple"},"locomotive":{"parent":"train"},"locomotive-variant":{"parent":"train-variant"},"log-in":{"parent":"login"},"log-in-variant":{"parent":"login-variant"},"log-out":{"parent":"logout"},"log-out-variant":{"parent":"logout-variant"},"logic-gate-and":{"parent":"gate-and"},"logic-gate-nand":{"parent":"gate-nand"},"logic-gate-nor":{"parent":"gate-nor"},"logic-gate-not":{"parent":"gate-not"},"logic-gate-or":{"parent":"gate-or"},"logic-gate-xnor":{"parent":"gate-xnor"},"logic-gate-xor":{"parent":"gate-xor"},"looks-3":{"parent":"numeric-3-box"},"looks-4":{"parent":"numeric-4-box"},"looks-5":{"parent":"numeric-5-box"},"looks-6":{"parent":"numeric-6-box"},"looks-one":{"parent":"numeric-1-box"},"looks-two":{"parent":"numeric-2-box"},"loop":{"parent":"refresh"},"lorry":{"parent":"truck"},"lorry-check":{"parent":"truck-check"},"lorry-delivery":{"parent":"truck-delivery"},"lorry-fast":{"parent":"truck-fast"},"loudspeaker":{"parent":"bullhorn"},"loudspeaker-outline":{"parent":"bullhorn-outline"},"love":{"parent":"hand-heart"},"love-seat":{"parent":"sofa-single"},"love-seat-outline":{"parent":"sofa-single-outline"},"loveseat":{"parent":"sofa-single"},"loveseat-outline":{"parent":"sofa-single-outline"},"low-beam":{"parent":"car-light-dimmed"},"low-priority":{"parent":"priority-low"},"low-quality":{"parent":"quality-low"},"loyalty":{"parent":"tag-heart"},"lq":{"parent":"quality-low"},"ltr":{"parent":"format-pilcrow-arrow-right"},"luck":{"parent":"clover"},"luggage":{"parent":"bag-checked"},"magen-david":{"parent":"star-david"},"magic":{"parent":"auto-fix"},"magic-wand":{"parent":"magic-staff"},"magnify-add":{"parent":"magnify-plus"},"magnify-add-cursor":{"parent":"magnify-plus-cursor"},"magnify-add-outline":{"parent":"magnify-plus-outline"},"magnify-outline":{"parent":"magnify"},"mail-certified":{"parent":"email-seal"},"mail-certified-outline":{"parent":"email-seal-outline"},"mail-outline":{"parent":"email-outline"},"mail-seal":{"parent":"email-seal"},"mail-seal-outline":{"parent":"email-seal-outline"},"mail-verified":{"parent":"email-seal"},"mail-verified-outline":{"parent":"email-seal-outline"},"man":{"parent":"human-male"},"man-child":{"parent":"human-male-boy"},"man-man":{"parent":"human-male-male"},"man-woman":{"parent":"human-male-female"},"manufacturing":{"parent":"cogs"},"map-add":{"parent":"map-plus"},"map-marker-add":{"parent":"map-marker-plus"},"map-marker-add-outline":{"parent":"map-marker-plus-outline"},"map-marker-favorite":{"parent":"map-marker-star"},"map-marker-favorite-outline":{"parent":"map-marker-star-outline"},"map-marker-tick":{"parent":"map-marker-check"},"map-markers":{"parent":"map-marker-multiple"},"map-markers-outline":{"parent":"map-marker-multiple-outline"},"map-tick":{"parent":"map-check"},"map-tick-outline":{"parent":"map-check-outline"},"marble":{"parent":"google-earth"},"marijuana":{"parent":"cannabis"},"markdown":{"parent":"language-markdown"},"markdown-outline":{"parent":"language-markdown-outline"},"marker-tick":{"parent":"marker-check"},"marketplace":{"parent":"shopping"},"marketplace-outline":{"parent":"shopping-outline"},"markunread":{"parent":"email"},"markunread-mailbox":{"parent":"mailbox"},"marquise":{"parent":"awning"},"marquise-outline":{"parent":"awning-outline"},"mars":{"parent":"gender-male"},"marsupial":{"parent":"kangaroo"},"martial-arts":{"parent":"karate"},"martini":{"parent":"glass-cocktail"},"masked-transitions":{"parent":"transition-masked"},"mason":{"parent":"ruler-square-compass"},"masonic":{"parent":"ruler-square-compass"},"material":{"parent":"palette-swatch"},"math-compass-variant":{"parent":"android-studio"},"math-cosine":{"parent":"math-cos"},"math-sine":{"parent":"math-sin"},"math-tangent":{"parent":"math-tan"},"maths-compass":{"parent":"math-compass"},"maths-cos":{"parent":"math-cos"},"maths-sin":{"parent":"math-sin"},"maths-tan":{"parent":"math-tan"},"maximize":{"parent":"checkbox-blank-outline"},"mdi":{"parent":"vector-square"},"measuring-tape":{"parent":"tape-measure"},"meat":{"parent":"food-drumstick"},"meat-off":{"parent":"food-drumstick-off"},"meat-off-outline":{"parent":"food-drumstick-off-outline"},"meat-outline":{"parent":"food-drumstick-outline"},"mechanic":{"parent":"car-wrench"},"media-network":{"parent":"play-network"},"media-network-outline":{"parent":"play-network-outline"},"medicine":{"parent":"medical-bag"},"medicine-bottle":{"parent":"medication"},"medicine-bottle-outline":{"parent":"medication-outline"},"medicine-off":{"parent":"needle-off"},"medicine-outline":{"parent":"minus-circle-outline"},"medium-quality":{"parent":"quality-medium"},"megaphone":{"parent":"bullhorn"},"megaphone-outline":{"parent":"bullhorn-outline"},"men":{"parent":"human-male-male"},"menorah-flame":{"parent":"menorah-fire"},"mercury":{"parent":"gender-male-female-variant"},"merge-type":{"parent":"call-merge"},"message-add":{"parent":"message-plus"},"message-group":{"parent":"forum"},"message-notification":{"parent":"message-badge"},"message-notification-outline":{"parent":"message-badge-outline"},"message-quick":{"parent":"message-flash"},"message-quick-outline":{"parent":"message-flash-outline"},"message-secure":{"parent":"message-lock"},"message-settings-variant":{"parent":"message-cog"},"message-settings-variant-outline":{"parent":"message-cog-outline"},"message-text-secure":{"parent":"message-text-lock"},"message-unread":{"parent":"message-badge"},"message-unread-outline":{"parent":"message-badge-outline"},"message-warning":{"parent":"message-alert"},"message-warning-outline":{"parent":"message-alert-outline"},"metro":{"parent":"subway"},"metro-variant":{"parent":"subway-variant"},"mic-none":{"parent":"microphone-outline"},"mic-off":{"parent":"microphone-off"},"microphone-add":{"parent":"microphone-plus"},"microphone-help":{"parent":"microphone-question"},"microphone-help-outline":{"parent":"microphone-question-outline"},"microphone-remove":{"parent":"microphone-minus"},"microsoft-dot-net":{"parent":"dot-net"},"microsoft-dynamics":{"parent":"microsoft-dynamics-365"},"microsoft-github":{"parent":"github"},"microsoft-minecraft":{"parent":"minecraft"},"microsoft-mixer":{"parent":"mixer"},"microsoft-skype":{"parent":"skype"},"microsoft-xamarin":{"parent":"xamarin"},"microsoft-xamarin-outline":{"parent":"xamarin-outline"},"microsoft-xaml":{"parent":"language-xaml"},"microsoft-xbox-gamepad":{"parent":"microsoft-xbox-controller"},"microsoft-xbox-gamepad-battery-alert":{"parent":"microsoft-xbox-controller-battery-alert"},"microsoft-xbox-gamepad-battery-charging":{"parent":"microsoft-xbox-controller-battery-charging"},"microsoft-xbox-gamepad-battery-empty":{"parent":"microsoft-xbox-controller-battery-empty"},"microsoft-xbox-gamepad-battery-full":{"parent":"microsoft-xbox-controller-battery-full"},"microsoft-xbox-gamepad-battery-low":{"parent":"microsoft-xbox-controller-battery-low"},"microsoft-xbox-gamepad-battery-medium":{"parent":"microsoft-xbox-controller-battery-medium"},"microsoft-xbox-gamepad-battery-unknown":{"parent":"microsoft-xbox-controller-battery-unknown"},"microsoft-xbox-gamepad-off":{"parent":"microsoft-xbox-controller-off"},"microwave-oven":{"parent":"microwave"},"milestone":{"parent":"flag-triangle"},"milestone-add":{"parent":"sign-direction-plus"},"milestone-minus":{"parent":"sign-direction-minus"},"milestone-plus":{"parent":"sign-direction-plus"},"milestone-remove":{"parent":"sign-direction-remove"},"mini-blinds":{"parent":"blinds-horizontal"},"minimize":{"parent":"minus"},"minus-one":{"parent":"numeric-negative-1"},"mister":{"parent":"sprinkler-fire"},"mixer-settings":{"parent":"tune"},"mixer-settings-vertical":{"parent":"tune-vertical"},"mixing-bowl":{"parent":"bowl-mix"},"mixing-bowl-outline":{"parent":"bowl-mix-outline"},"mma":{"parent":"mixed-martial-arts"},"mms":{"parent":"message-image"},"mobile-devices":{"parent":"tablet-cellphone"},"mobile-off":{"parent":"cellphone-off"},"mobile-phone":{"parent":"cellphone"},"mobile-phone-android":{"parent":"cellphone-android"},"mobile-phone-arrow-down":{"parent":"cellphone-arrow-down"},"mobile-phone-basic":{"parent":"cellphone-basic"},"mobile-phone-dock":{"parent":"cellphone-dock"},"mobile-phone-erase":{"parent":"cellphone-remove"},"mobile-phone-information":{"parent":"cellphone-information"},"mobile-phone-iphone":{"parent":"cellphone-iphone"},"mobile-phone-key":{"parent":"cellphone-key"},"mobile-phone-link":{"parent":"cellphone-link"},"mobile-phone-link-off":{"parent":"cellphone-link-off"},"mobile-phone-lock":{"parent":"cellphone-lock"},"mobile-phone-message":{"parent":"cellphone-message"},"mobile-phone-off":{"parent":"cellphone-off"},"mobile-phone-settings":{"parent":"cellphone-settings"},"mobile-phone-settings-variant":{"parent":"cellphone-cog"},"mobile-phone-sound":{"parent":"cellphone-sound"},"mobile-phone-text":{"parent":"cellphone-text"},"mobile-phone-wireless":{"parent":"cellphone-wireless"},"mode-comment":{"parent":"message-reply"},"mode-edit":{"parent":"pencil"},"mode-edit-outline":{"parent":"pencil-outline"},"moderator":{"parent":"shield-sword"},"moderator-outline":{"parent":"shield-sword-outline"},"mom":{"parent":"human-female-boy"},"mom-dad-child":{"parent":"human-male-female-child"},"money":{"parent":"cash"},"money-100":{"parent":"cash-100"},"money-off":{"parent":"currency-usd-off"},"money-usd":{"parent":"cash-usd"},"monitor-cellphone-favorite":{"parent":"monitor-cellphone-star"},"monitor-clean":{"parent":"monitor-shimmer"},"monitor-crt":{"parent":"monitor-small"},"monitor-download":{"parent":"monitor-arrow-down"},"monitor-favorite":{"parent":"monitor-star"},"monitor-mobile-phone":{"parent":"monitor-cellphone"},"monitor-mobile-phone-star":{"parent":"monitor-cellphone-star"},"monitor-smartphone":{"parent":"monitor-cellphone"},"monitor-smartphone-star":{"parent":"monitor-cellphone-star"},"monitors":{"parent":"monitor-multiple"},"monkey-wrench":{"parent":"pipe-wrench"},"mood":{"parent":"emoticon-outline"},"moon-and-stars":{"parent":"weather-night"},"moonshine":{"parent":"bottle-tonic-skull"},"moonshine-outline":{"parent":"bottle-tonic-skull-outline"},"more-circle":{"parent":"dots-horizontal-circle"},"more-circle-outline":{"parent":"dots-horizontal-circle-outline"},"more-horiz":{"parent":"dots-horizontal"},"more-vert":{"parent":"dots-vertical"},"mother":{"parent":"human-female-boy"},"motion-detector":{"parent":"motion-sensor"},"motor":{"parent":"engine"},"motor-off":{"parent":"engine-off"},"motor-off-outline":{"parent":"engine-off-outline"},"motor-outline":{"parent":"engine-outline"},"motorcycle":{"parent":"motorbike"},"motorcycle-electric":{"parent":"motorbike-electric"},"motorcycle-off":{"parent":"motorbike-off"},"motorway":{"parent":"highway"},"mountain":{"parent":"image-filter-hdr"},"move-from-inbox":{"parent":"inbox-arrow-up"},"move-to-inbox":{"parent":"inbox-arrow-down"},"movie-creation":{"parent":"movie"},"movie-favorite":{"parent":"movie-star"},"movie-favorite-outline":{"parent":"movie-star-outline"},"movie-open-favorite":{"parent":"movie-open-star"},"movie-open-favorite-outline":{"parent":"movie-open-star-outline"},"mozilla-firefox":{"parent":"firefox"},"mq":{"parent":"quality-medium"},"mudslide":{"parent":"landslide"},"mudslide-outline":{"parent":"landslide-outline"},"multiplex":{"parent":"multicast"},"multiply":{"parent":"close"},"multiply-bold":{"parent":"close-thick"},"multiply-box":{"parent":"close-box"},"multiply-box-multiple":{"parent":"close-box-multiple"},"multiply-box-multiple-outline":{"parent":"close-box-multiple-outline"},"multiply-box-outline":{"parent":"close-box-outline"},"multiply-boxes":{"parent":"close-box-multiple"},"multiply-boxes-outline":{"parent":"close-box-multiple-outline"},"multiply-circle":{"parent":"close-circle"},"multiply-circle-multiple":{"parent":"close-circle-multiple"},"multiply-circle-multiple-outline":{"parent":"close-circle-multiple-outline"},"multiply-circle-outline":{"parent":"close-circle-outline"},"multiply-network":{"parent":"close-network"},"multiply-network-outline":{"parent":"close-network-outline"},"multiply-octagon":{"parent":"close-octagon"},"multiply-octagon-outline":{"parent":"close-octagon-outline"},"multiply-outline":{"parent":"close-outline"},"multiply-thick":{"parent":"close-thick"},"mum":{"parent":"human-female-boy"},"museum":{"parent":"bank"},"museum-outline":{"parent":"bank-outline"},"music-c-clef":{"parent":"music-clef-alto"},"music-clef-baritone":{"parent":"music-clef-alto"},"music-clef-soprano":{"parent":"music-clef-alto"},"music-clef-tenor":{"parent":"music-clef-alto"},"music-f-clef":{"parent":"music-clef-bass"},"music-g-clef":{"parent":"music-clef-treble"},"music-note-add":{"parent":"music-note-plus"},"muslim":{"parent":"mosque"},"mute":{"parent":"volume-off"},"my-location":{"parent":"crosshairs-gps"},"naira":{"parent":"currency-ngn"},"natural-gas":{"parent":"fire"},"natural-gas-circle":{"parent":"fire-circle"},"natural-gas-outline":{"parent":"meter-gas-outline"},"navi":{"parent":"candy-outline"},"navi-off":{"parent":"candy-off-outline"},"navigate-before":{"parent":"chevron-left"},"navigate-next":{"parent":"chevron-right"},"near-field-communication":{"parent":"nfc"},"near-field-communication-off":{"parent":"nfc-variant-off"},"near-field-communication-tap":{"parent":"nfc-tap"},"near-field-communication-variant":{"parent":"nfc-variant"},"neato":{"parent":"robot-vacuum-variant"},"neighbourhood":{"parent":"home-group"},"nest":{"parent":"thermostat"},"nest-protect":{"parent":"smoke-detector"},"network-attached-storage":{"parent":"nas"},"network-cash-box":{"parent":"network-pos"},"network-favorite":{"parent":"wifi-star"},"network-favourite":{"parent":"wifi-star"},"network-interface-card":{"parent":"expansion-card"},"network-point-of-sale":{"parent":"network-pos"},"network-router":{"parent":"router-network"},"network-strength-0":{"parent":"network-strength-outline"},"network-strength-1-warning":{"parent":"network-strength-1-alert"},"network-strength-2-warning":{"parent":"network-strength-2-alert"},"network-strength-3-warning":{"parent":"network-strength-3-alert"},"network-strength-4-settings":{"parent":"network-strength-4-cog"},"network-strength-4-warning":{"parent":"network-strength-4-alert"},"neutral":{"parent":"alpha-n"},"new-releases":{"parent":"alert-decagram"},"new-taiwan-dollar":{"parent":"currency-twd"},"next-title":{"parent":"skip-forward"},"nic":{"parent":"expansion-card"},"nice":{"parent":"expansion-card-variant"},"night-light":{"parent":"lightbulb-night"},"night-light-outline":{"parent":"lightbulb-night-outline"},"night-sky":{"parent":"weather-night"},"ninja-star":{"parent":"shuriken"},"nintendo-switch-online":{"parent":"nintendo-switch"},"nite-light":{"parent":"lightbulb-night"},"nite-light-outline":{"parent":"lightbulb-night-outline"},"no":{"parent":"cancel"},"no-entry":{"parent":"do-not-disturb"},"no-smoking":{"parent":"smoking-off"},"nordic-walking":{"parent":"ski-cross-country"},"northern-lights":{"parent":"aurora"},"not-protected":{"parent":"lock-off"},"not-protected-outline":{"parent":"lock-off-outline"},"note-add":{"parent":"file-plus"},"note-add-outline":{"parent":"note-plus-outline"},"note-circle":{"parent":"music-circle"},"note-circle-outline":{"parent":"music-circle-outline"},"notebook-favorite":{"parent":"notebook-heart"},"notebook-favorite-outline":{"parent":"notebook-heart-outline"},"notebook-love":{"parent":"notebook-heart"},"notebook-love-outline":{"parent":"notebook-heart-outline"},"notes":{"parent":"note-multiple"},"notes-outline":{"parent":"note-multiple-outline"},"notes-search":{"parent":"text-search"},"notes-search-variant":{"parent":"text-search-variant"},"notice-board":{"parent":"bulletin-board"},"notification-settings":{"parent":"bell-cog"},"notification-settings-outline":{"parent":"bell-cog-outline"},"notifications":{"parent":"bell"},"notifications-active":{"parent":"bell-ring"},"notifications-none":{"parent":"bell-outline"},"notifications-off":{"parent":"bell-off"},"notifications-paused":{"parent":"bell-sleep"},"nuclear":{"parent":"nuke"},"null-off":{"parent":"circle-off-outline"},"number-0":{"parent":"numeric-0"},"number-0-box":{"parent":"numeric-0-box"},"number-0-box-multiple-outline":{"parent":"numeric-0-box-multiple-outline"},"number-0-box-outline":{"parent":"numeric-0-box-outline"},"number-0-circle":{"parent":"numeric-0-circle"},"number-0-circle-outline":{"parent":"numeric-0-circle-outline"},"number-1":{"parent":"numeric-1"},"number-1-box":{"parent":"numeric-1-box"},"number-1-box-multiple-outline":{"parent":"numeric-1-box-multiple-outline"},"number-1-box-outline":{"parent":"numeric-1-box-outline"},"number-1-circle":{"parent":"numeric-1-circle"},"number-1-circle-outline":{"parent":"numeric-1-circle-outline"},"number-2":{"parent":"numeric-2"},"number-2-box":{"parent":"numeric-2-box"},"number-2-box-multiple-outline":{"parent":"numeric-2-box-multiple-outline"},"number-2-box-outline":{"parent":"numeric-2-box-outline"},"number-2-circle":{"parent":"numeric-2-circle"},"number-2-circle-outline":{"parent":"numeric-2-circle-outline"},"number-3":{"parent":"numeric-3"},"number-3-box":{"parent":"numeric-3-box"},"number-3-box-multiple-outline":{"parent":"numeric-3-box-multiple-outline"},"number-3-box-outline":{"parent":"numeric-3-box-outline"},"number-3-circle":{"parent":"numeric-3-circle"},"number-3-circle-outline":{"parent":"numeric-3-circle-outline"},"number-4":{"parent":"numeric-4"},"number-4-box":{"parent":"numeric-4-box"},"number-4-box-multiple-outline":{"parent":"numeric-4-box-multiple-outline"},"number-4-box-outline":{"parent":"numeric-4-box-outline"},"number-4-circle":{"parent":"numeric-4-circle"},"number-4-circle-outline":{"parent":"numeric-4-circle-outline"},"number-5":{"parent":"numeric-5"},"number-5-box":{"parent":"numeric-5-box"},"number-5-box-multiple-outline":{"parent":"numeric-5-box-multiple-outline"},"number-5-box-outline":{"parent":"numeric-5-box-outline"},"number-5-circle":{"parent":"numeric-5-circle"},"number-5-circle-outline":{"parent":"numeric-5-circle-outline"},"number-6":{"parent":"numeric-6"},"number-6-box":{"parent":"numeric-6-box"},"number-6-box-multiple-outline":{"parent":"numeric-6-box-multiple-outline"},"number-6-box-outline":{"parent":"numeric-6-box-outline"},"number-6-circle":{"parent":"numeric-6-circle"},"number-6-circle-outline":{"parent":"numeric-6-circle-outline"},"number-7":{"parent":"numeric-7"},"number-7-box":{"parent":"numeric-7-box"},"number-7-box-multiple-outline":{"parent":"numeric-7-box-multiple-outline"},"number-7-box-outline":{"parent":"numeric-7-box-outline"},"number-7-circle":{"parent":"numeric-7-circle"},"number-7-circle-outline":{"parent":"numeric-7-circle-outline"},"number-8":{"parent":"numeric-8"},"number-8-box":{"parent":"numeric-8-box"},"number-8-box-multiple-outline":{"parent":"numeric-8-box-multiple-outline"},"number-8-box-outline":{"parent":"numeric-8-box-outline"},"number-8-circle":{"parent":"numeric-8-circle"},"number-8-circle-outline":{"parent":"numeric-8-circle-outline"},"number-9":{"parent":"numeric-9"},"number-9-box":{"parent":"numeric-9-box"},"number-9-box-multiple-outline":{"parent":"numeric-9-box-multiple-outline"},"number-9-box-outline":{"parent":"numeric-9-box-outline"},"number-9-circle":{"parent":"numeric-9-circle"},"number-9-circle-outline":{"parent":"numeric-9-circle-outline"},"number-9-plus-box":{"parent":"numeric-9-plus-box"},"number-9-plus-box-multiple-outline":{"parent":"numeric-9-plus-box-multiple-outline"},"number-9-plus-box-outline":{"parent":"numeric-9-plus-box-outline"},"number-9-plus-circle":{"parent":"numeric-9-plus-circle"},"number-9-plus-circle-outline":{"parent":"numeric-9-plus-circle-outline"},"number-eight-circle":{"parent":"numeric-8-circle"},"number-eight-circle-outline":{"parent":"numeric-8-circle-outline"},"number-five-circle":{"parent":"numeric-5-circle"},"number-five-circle-outline":{"parent":"numeric-5-circle-outline"},"number-four-circle":{"parent":"numeric-4-circle"},"number-four-circle-outline":{"parent":"numeric-4-circle-outline"},"number-nine-circle":{"parent":"numeric-9-circle"},"number-nine-circle-outline":{"parent":"numeric-9-circle-outline"},"number-nine-plus-circle":{"parent":"numeric-9-plus-circle"},"number-nine-plus-circle-outline":{"parent":"numeric-9-plus-circle-outline"},"number-one-circle":{"parent":"numeric-1-circle"},"number-one-circle-outline":{"parent":"numeric-1-circle-outline"},"number-seven-circle":{"parent":"numeric-7-circle"},"number-seven-circle-outline":{"parent":"numeric-7-circle-outline"},"number-six-circle":{"parent":"numeric-6-circle"},"number-six-circle-outline":{"parent":"numeric-6-circle-outline"},"number-three-circle":{"parent":"numeric-3-circle"},"number-three-circle-outline":{"parent":"numeric-3-circle-outline"},"number-two-circle":{"parent":"numeric-2-circle"},"number-two-circle-outline":{"parent":"numeric-2-circle-outline"},"number-zero-circle":{"parent":"numeric-0-circle"},"number-zero-circle-outline":{"parent":"numeric-0-circle-outline"},"numbers":{"parent":"counter"},"numbers-off":{"parent":"numeric-off"},"numeric-0-boxes-outline":{"parent":"numeric-0-box-multiple-outline"},"numeric-1-boxes-outline":{"parent":"numeric-1-box-multiple-outline"},"numeric-2-boxes-outline":{"parent":"numeric-2-box-multiple-outline"},"numeric-3-boxes-outline":{"parent":"numeric-3-box-multiple-outline"},"numeric-4-boxes-outline":{"parent":"numeric-4-box-multiple-outline"},"numeric-5-boxes-outline":{"parent":"numeric-5-box-multiple-outline"},"numeric-6-boxes-outline":{"parent":"numeric-6-box-multiple-outline"},"numeric-7-boxes-outline":{"parent":"numeric-7-box-multiple-outline"},"numeric-8-boxes-outline":{"parent":"numeric-8-box-multiple-outline"},"numeric-9-boxes-outline":{"parent":"numeric-9-box-multiple-outline"},"numeric-9-plus-boxes-outline":{"parent":"numeric-9-plus-box-multiple-outline"},"numeric-eight":{"parent":"numeric-8"},"numeric-eight-box":{"parent":"numeric-8-box"},"numeric-eight-box-multiple-outline":{"parent":"numeric-8-box-multiple-outline"},"numeric-eight-box-outline":{"parent":"numeric-8-box-outline"},"numeric-eight-circle":{"parent":"numeric-8-circle"},"numeric-eight-circle-outline":{"parent":"numeric-8-circle-outline"},"numeric-five":{"parent":"numeric-5"},"numeric-five-box":{"parent":"numeric-5-box"},"numeric-five-box-multiple-outline":{"parent":"numeric-5-box-multiple-outline"},"numeric-five-box-outline":{"parent":"numeric-5-box-outline"},"numeric-five-circle":{"parent":"numeric-5-circle"},"numeric-five-circle-outline":{"parent":"numeric-5-circle-outline"},"numeric-four":{"parent":"numeric-4"},"numeric-four-box":{"parent":"numeric-4-box"},"numeric-four-box-multiple-outline":{"parent":"numeric-4-box-multiple-outline"},"numeric-four-box-outline":{"parent":"numeric-4-box-outline"},"numeric-four-circle":{"parent":"numeric-4-circle"},"numeric-four-circle-outline":{"parent":"numeric-4-circle-outline"},"numeric-nine":{"parent":"numeric-9"},"numeric-nine-box":{"parent":"numeric-9-box"},"numeric-nine-box-multiple-outline":{"parent":"numeric-9-box-multiple-outline"},"numeric-nine-box-outline":{"parent":"numeric-9-box-outline"},"numeric-nine-circle":{"parent":"numeric-9-circle"},"numeric-nine-circle-outline":{"parent":"numeric-9-circle-outline"},"numeric-nine-plus-box":{"parent":"numeric-9-plus-box"},"numeric-nine-plus-box-multiple-outline":{"parent":"numeric-9-plus-box-multiple-outline"},"numeric-nine-plus-box-outline":{"parent":"numeric-9-plus-box-outline"},"numeric-nine-plus-circle":{"parent":"numeric-9-plus-circle"},"numeric-nine-plus-circle-outline":{"parent":"numeric-9-plus-circle-outline"},"numeric-one":{"parent":"numeric-1"},"numeric-one-box":{"parent":"numeric-1-box"},"numeric-one-box-multiple-outline":{"parent":"numeric-1-box-multiple-outline"},"numeric-one-box-outline":{"parent":"numeric-1-box-outline"},"numeric-one-circle":{"parent":"numeric-1-circle"},"numeric-one-circle-outline":{"parent":"numeric-1-circle-outline"},"numeric-seven":{"parent":"numeric-7"},"numeric-seven-box":{"parent":"numeric-7-box"},"numeric-seven-box-multiple-outline":{"parent":"numeric-7-box-multiple-outline"},"numeric-seven-box-outline":{"parent":"numeric-7-box-outline"},"numeric-seven-circle":{"parent":"numeric-7-circle"},"numeric-seven-circle-outline":{"parent":"numeric-7-circle-outline"},"numeric-six":{"parent":"numeric-6"},"numeric-six-box":{"parent":"numeric-6-box"},"numeric-six-box-multiple-outline":{"parent":"numeric-6-box-multiple-outline"},"numeric-six-box-outline":{"parent":"numeric-6-box-outline"},"numeric-six-circle":{"parent":"numeric-6-circle"},"numeric-six-circle-outline":{"parent":"numeric-6-circle-outline"},"numeric-three":{"parent":"numeric-3"},"numeric-three-box":{"parent":"numeric-3-box"},"numeric-three-box-multiple-outline":{"parent":"numeric-3-box-multiple-outline"},"numeric-three-box-outline":{"parent":"numeric-3-box-outline"},"numeric-three-circle":{"parent":"numeric-3-circle"},"numeric-three-circle-outline":{"parent":"numeric-3-circle-outline"},"numeric-two":{"parent":"numeric-2"},"numeric-two-box":{"parent":"numeric-2-box"},"numeric-two-box-multiple-outline":{"parent":"numeric-2-box-multiple-outline"},"numeric-two-box-outline":{"parent":"numeric-2-box-outline"},"numeric-two-circle":{"parent":"numeric-2-circle"},"numeric-two-circle-outline":{"parent":"numeric-2-circle-outline"},"numeric-zero":{"parent":"numeric-0"},"numeric-zero-box":{"parent":"numeric-0-box"},"numeric-zero-box-multiple-outline":{"parent":"numeric-0-box-multiple-outline"},"numeric-zero-box-outline":{"parent":"numeric-0-box-outline"},"numeric-zero-circle":{"parent":"numeric-0-circle"},"numeric-zero-circle-outline":{"parent":"numeric-0-circle-outline"},"nursery":{"parent":"cradle"},"nursery-outline":{"parent":"cradle-outline"},"obelus":{"parent":"division"},"ocean":{"parent":"waves"},"ocean-level-rise":{"parent":"waves-arrow-up"},"odometer":{"parent":"counter"},"odor":{"parent":"scent"},"odor-off":{"parent":"scent-off"},"office":{"parent":"microsoft-office"},"office-building-location":{"parent":"office-building-marker"},"office-building-location-outline":{"parent":"office-building-marker-outline"},"office-building-settings":{"parent":"office-building-cog"},"office-building-settings-outline":{"parent":"office-building-cog-outline"},"office-chair":{"parent":"chair-rolling"},"offline-bolt":{"parent":"lightning-bolt-circle"},"ohm":{"parent":"omega"},"oil-barrel":{"parent":"barrel"},"oil-barrel-outline":{"parent":"barrel-outline"},"oil-saver":{"parent":"water-opacity"},"oil-transparent":{"parent":"water-opacity"},"oil-truck":{"parent":"tanker-truck"},"ok-ru":{"parent":"odnoklassniki"},"olympics":{"parent":"torch"},"one":{"parent":"tally-mark-1"},"one-two-three":{"parent":"numeric"},"one-two-three-off":{"parent":"numeric-off"},"open-container-initiative":{"parent":"oci"},"open-in-browser":{"parent":"open-in-app"},"optical-audio":{"parent":"toslink"},"optical-character-recognition":{"parent":"ocr"},"oral-hygiene":{"parent":"toothbrush"},"order-checkbox-ascending":{"parent":"order-bool-ascending-variant"},"order-checkbox-descending":{"parent":"order-bool-descending"},"organic":{"parent":"leaf-circle"},"organic-outline":{"parent":"leaf-circle-outline"},"outdoor-light":{"parent":"outdoor-lamp"},"outdoor-temperature":{"parent":"sun-thermometer"},"outer-join-left":{"parent":"set-left-center"},"outer-join-right":{"parent":"set-center-right"},"output":{"parent":"export"},"outside-temperature":{"parent":"sun-thermometer-outline"},"oven":{"parent":"stove"},"overboard":{"parent":"lifebuoy"},"overhead-projector":{"parent":"camera-document"},"overhead-projector-off":{"parent":"camera-document-off"},"oxygen-tank":{"parent":"gas-cylinder"},"package-delivered":{"parent":"package-check"},"package-off":{"parent":"gift-off"},"package-off-outline":{"parent":"gift-off-outline"},"package-open":{"parent":"gift-open"},"package-open-outline":{"parent":"gift-open-outline"},"package-outline":{"parent":"gift-outline"},"package-variant-add":{"parent":"package-variant-plus"},"package-variant-closed-add":{"parent":"package-variant-closed-plus"},"package-variant-closed-delivered":{"parent":"package-variant-closed-check"},"package-variant-closed-subtract":{"parent":"package-variant-closed-minus"},"package-variant-subtract":{"parent":"package-variant-minus"},"page-layout-marginals":{"parent":"page-layout-header-footer"},"pageview":{"parent":"card-search"},"pageview-outline":{"parent":"card-search-outline"},"paint":{"parent":"format-color-fill"},"paint-bucket":{"parent":"format-color-fill"},"paint-outline":{"parent":"palette-outline"},"paintbrush":{"parent":"brush"},"paintbrush-outline":{"parent":"brush-outline"},"pan-down-left":{"parent":"pan-bottom-left"},"pan-down-right":{"parent":"pan-bottom-right"},"pan-up-left":{"parent":"pan-top-left"},"pan-up-right":{"parent":"pan-top-right"},"panorama-360":{"parent":"panorama-sphere"},"panorama-360-outline":{"parent":"panorama-sphere-outline"},"panorama-fish-eye":{"parent":"panorama-fisheye"},"panorama-vr":{"parent":"panorama-variant"},"panorama-vr-outline":{"parent":"panorama-variant-outline"},"panties":{"parent":"lingerie"},"paper":{"parent":"file"},"paper-add":{"parent":"note-plus"},"paper-add-outline":{"parent":"note-plus-outline"},"paper-airplane":{"parent":"send"},"paper-airplane-outline":{"parent":"send-outline"},"paper-alert":{"parent":"note-alert"},"paper-alert-outline":{"parent":"note-alert-outline"},"paper-check":{"parent":"note-check"},"paper-check-outline":{"parent":"note-check-outline"},"paper-edit":{"parent":"note-edit"},"paper-edit-outline":{"parent":"note-edit-outline"},"paper-jam":{"parent":"printer-alert"},"paper-minus":{"parent":"note-minus"},"paper-minus-outline":{"parent":"note-minus-outline"},"paper-off":{"parent":"note-off"},"paper-off-outline":{"parent":"note-off-outline"},"paper-outline":{"parent":"file-outline"},"paper-plane":{"parent":"send"},"paper-plane-outline":{"parent":"send-outline"},"paper-plus":{"parent":"note-plus"},"paper-plus-outline":{"parent":"note-plus-outline"},"paper-remove":{"parent":"note-remove"},"paper-search":{"parent":"note-search"},"paper-search-outline":{"parent":"note-search-outline"},"paper-text":{"parent":"note-text"},"paper-text-outline":{"parent":"note-text-outline"},"paper-towels":{"parent":"paper-roll"},"paper-towels-outline":{"parent":"paper-roll-outline"},"paperclip-add":{"parent":"attachment-plus"},"paperclip-horizontal":{"parent":"attachment"},"paperclip-subtract":{"parent":"attachment-minus"},"paperclip-tick":{"parent":"attachment-check"},"papers":{"parent":"note-multiple"},"papers-outline":{"parent":"note-multiple-outline"},"paraglide":{"parent":"paragliding"},"parallel":{"parent":"math-norm"},"parallel-box":{"parent":"math-norm-box"},"parasail":{"parent":"paragliding"},"parasol":{"parent":"beach"},"paris":{"parent":"eiffel-tower"},"park":{"parent":"alpha-p"},"partnership":{"parent":"handshake"},"partnership-outline":{"parent":"handshake-outline"},"party-balloon":{"parent":"balloon"},"passport-electronic":{"parent":"passport-biometric"},"password":{"parent":"lock"},"password-add":{"parent":"lock-plus"},"password-add-outline":{"parent":"lock-plus-outline"},"password-alert":{"parent":"lock-alert"},"password-alert-outline":{"parent":"lock-alert-outline"},"password-check":{"parent":"lock-check"},"password-check-outline":{"parent":"lock-check-outline"},"password-clock":{"parent":"lock-clock"},"password-expiration":{"parent":"lock-clock"},"password-minus":{"parent":"lock-minus"},"password-minus-outline":{"parent":"lock-minus-outline"},"password-off":{"parent":"lock-off"},"password-off-outline":{"parent":"lock-off-outline"},"password-outline":{"parent":"lock-outline"},"password-plus":{"parent":"lock-plus"},"password-plus-outline":{"parent":"lock-plus-outline"},"password-question":{"parent":"lock-question"},"password-remove":{"parent":"lock-remove"},"password-remove-outline":{"parent":"lock-remove-outline"},"password-reset":{"parent":"lock-reset"},"password-secure":{"parent":"lock-check"},"password-secure-outline":{"parent":"lock-check-outline"},"password-verified":{"parent":"lock-check"},"password-verified-outline":{"parent":"lock-check-outline"},"password-warning":{"parent":"lock-alert"},"password-warning-outline":{"parent":"lock-alert-outline"},"patient":{"parent":"account-injury"},"patient-outline":{"parent":"account-injury-outline"},"patio":{"parent":"balcony"},"patio-door":{"parent":"door-sliding"},"patio-door-lock":{"parent":"door-sliding-lock"},"patio-door-open":{"parent":"door-sliding-open"},"pause-circle-filled":{"parent":"pause-circle"},"payment":{"parent":"credit-card-outline"},"payment-clock":{"parent":"cash-clock"},"payment-on-delivery":{"parent":"credit-card-marker"},"payment-on-delivery-outline":{"parent":"credit-card-marker-outline"},"payment-schedule":{"parent":"cash-clock"},"payment-settings":{"parent":"credit-card-settings-outline"},"pdf-box":{"parent":"file-pdf-box"},"peak":{"parent":"summit"},"pegman":{"parent":"google-street-view"},"pen-add":{"parent":"pen-plus"},"pencil-add":{"parent":"pencil-plus"},"pencil-add-outline":{"parent":"pencil-plus-outline"},"people":{"parent":"account-multiple"},"people-add":{"parent":"account-multiple-plus"},"people-add-outline":{"parent":"account-multiple-plus-outline"},"people-check":{"parent":"account-multiple-check"},"people-check-outline":{"parent":"account-multiple-check-outline"},"people-group":{"parent":"account-group"},"people-group-outline":{"parent":"account-group-outline"},"people-minus":{"parent":"account-multiple-minus"},"people-minus-outline":{"parent":"account-multiple-minus-outline"},"people-outline":{"parent":"account-multiple-outline"},"people-plus":{"parent":"account-multiple-plus"},"people-plus-outline":{"parent":"account-multiple-plus-outline"},"people-switch":{"parent":"account-switch"},"people-tick":{"parent":"account-multiple-check"},"people-tick-outline":{"parent":"account-multiple-check-outline"},"pepper":{"parent":"chili-hot"},"pepper-off":{"parent":"chili-off"},"performance":{"parent":"poll"},"perimeter":{"parent":"dots-circle"},"periodic-table-carbon-dioxide":{"parent":"molecule-co2"},"periodic-table-co":{"parent":"molecule-co"},"periodic-table-co2":{"parent":"molecule-co2"},"perm-identity":{"parent":"account-outline"},"perm-media":{"parent":"folder-multiple-image"},"person":{"parent":"account"},"person-add":{"parent":"account-plus"},"person-add-outline":{"parent":"account-plus-outline"},"person-alert":{"parent":"account-alert"},"person-alert-outline":{"parent":"account-alert-outline"},"person-arrow-left":{"parent":"account-arrow-left"},"person-arrow-left-outline":{"parent":"account-arrow-left-outline"},"person-arrow-right":{"parent":"account-arrow-right"},"person-arrow-right-outline":{"parent":"account-arrow-right-outline"},"person-badge":{"parent":"badge-account"},"person-badge-alert":{"parent":"badge-account-alert"},"person-badge-alert-outline":{"parent":"badge-account-alert-outline"},"person-badge-outline":{"parent":"badge-account-outline"},"person-badge-warning":{"parent":"badge-account-alert"},"person-badge-warning-outline":{"parent":"badge-account-alert-outline"},"person-block":{"parent":"account-cancel"},"person-block-outline":{"parent":"account-cancel-outline"},"person-box":{"parent":"account-box"},"person-box-multiple":{"parent":"account-box-multiple"},"person-box-outline":{"parent":"account-box-outline"},"person-boxes":{"parent":"account-box-multiple"},"person-cancel":{"parent":"account-cancel"},"person-cancel-outline":{"parent":"account-cancel-outline"},"person-card-details":{"parent":"card-account-details"},"person-card-details-outline":{"parent":"card-account-details-outline"},"person-check":{"parent":"account-check"},"person-check-outline":{"parent":"account-check-outline"},"person-child":{"parent":"account-child"},"person-child-circle":{"parent":"account-child-circle"},"person-circle":{"parent":"account-circle"},"person-circle-outline":{"parent":"account-circle-outline"},"person-clock":{"parent":"account-clock"},"person-clock-outline":{"parent":"account-clock-outline"},"person-convert":{"parent":"account-convert"},"person-details":{"parent":"account-details"},"person-details-outline":{"parent":"account-details-outline"},"person-edit":{"parent":"account-edit"},"person-group":{"parent":"account-group"},"person-group-outline":{"parent":"account-group-outline"},"person-heart":{"parent":"account-heart"},"person-heart-outline":{"parent":"account-heart-outline"},"person-help":{"parent":"account-question"},"person-help-outline":{"parent":"account-question-outline"},"person-key":{"parent":"account-key"},"person-key-outline":{"parent":"account-key-outline"},"person-lock":{"parent":"account-lock"},"person-lock-outline":{"parent":"account-lock-outline"},"person-minus":{"parent":"account-minus"},"person-minus-outline":{"parent":"account-minus-outline"},"person-multiple":{"parent":"account-multiple"},"person-multiple-add":{"parent":"account-multiple-plus"},"person-multiple-add-outline":{"parent":"account-multiple-plus-outline"},"person-multiple-check":{"parent":"account-multiple-check"},"person-multiple-check-outline":{"parent":"account-multiple-check-outline"},"person-multiple-minus":{"parent":"account-multiple-minus"},"person-multiple-minus-outline":{"parent":"account-multiple-minus-outline"},"person-multiple-plus":{"parent":"account-multiple-plus"},"person-multiple-plus-outline":{"parent":"account-multiple-plus-outline"},"person-multiple-remove":{"parent":"account-multiple-remove"},"person-multiple-remove-outline":{"parent":"account-multiple-remove-outline"},"person-multiple-tick":{"parent":"account-multiple-check"},"person-multiple-tick-outline":{"parent":"account-multiple-check-outline"},"person-network":{"parent":"account-network"},"person-network-outline":{"parent":"account-network-outline"},"person-off":{"parent":"account-off"},"person-off-outline":{"parent":"account-off-outline"},"person-outline":{"parent":"account-outline"},"person-plus":{"parent":"account-plus"},"person-plus-outline":{"parent":"account-plus-outline"},"person-question":{"parent":"account-question"},"person-question-outline":{"parent":"account-question-outline"},"person-remove":{"parent":"account-remove"},"person-remove-outline":{"parent":"account-remove-outline"},"person-search":{"parent":"account-search"},"person-search-outline":{"parent":"account-search-outline"},"person-settings":{"parent":"account-settings"},"person-star":{"parent":"account-star"},"person-star-outline":{"parent":"account-star-outline"},"person-supervisor":{"parent":"account-supervisor"},"person-supervisor-circle":{"parent":"account-supervisor-circle"},"person-switch":{"parent":"account-switch"},"person-tick":{"parent":"account-check"},"person-tick-outline":{"parent":"account-check-outline"},"person-tie":{"parent":"account-tie"},"person-warning":{"parent":"account-alert"},"person-warning-outline":{"parent":"account-alert-outline"},"perspective-decrease":{"parent":"perspective-less"},"perspective-increase":{"parent":"perspective-more"},"petrol":{"parent":"fuel"},"petrol-pump":{"parent":"gas-station"},"petrol-pump-outline":{"parent":"gas-station-outline"},"petrol-station":{"parent":"gas-station"},"petrol-station-outline":{"parent":"gas-station-outline"},"pets":{"parent":"paw"},"pharmaceutical":{"parent":"minus-circle"},"pharmaceutical-off":{"parent":"needle-off"},"pharmacy":{"parent":"mortar-pestle-plus"},"philippine-peso":{"parent":"currency-php"},"phone-block":{"parent":"phone-cancel"},"phone-bluetooth-speaker":{"parent":"phone-bluetooth"},"phone-forwarded":{"parent":"phone-forward"},"phone-keypad":{"parent":"phone-dial"},"phone-keypad-outline":{"parent":"phone-dial-outline"},"phone-locked":{"parent":"phone-lock"},"phone-redial":{"parent":"phone-refresh"},"phone-redial-outline":{"parent":"phone-refresh-outline"},"phone-schedule":{"parent":"phone-clock"},"phone-time":{"parent":"phone-clock"},"phonelink-erase":{"parent":"cellphone-remove"},"phonelink-lock":{"parent":"cellphone-lock"},"phonelink-off":{"parent":"cellphone-link-off"},"phonelink-ring":{"parent":"cellphone-sound"},"phonelink-setup":{"parent":"cellphone-cog"},"photo-album":{"parent":"image-album"},"photo-camera":{"parent":"camera"},"photo-library":{"parent":"image-multiple"},"photography":{"parent":"camera"},"picture":{"parent":"multimedia"},"picture-360":{"parent":"panorama-variant"},"picture-360-outline":{"parent":"panorama-variant-outline"},"picture-vr":{"parent":"panorama-variant"},"picture-vr-outline":{"parent":"panorama-variant-outline"},"pill-bottle":{"parent":"medication"},"pill-bottle-outline":{"parent":"medication-outline"},"pill-tablet":{"parent":"minus-circle"},"pill-tablet-outline":{"parent":"minus-circle-outline"},"pine-tree-multiple":{"parent":"forest"},"ping-pong":{"parent":"table-tennis"},"pinky":{"parent":"ghost"},"pint":{"parent":"beer"},"pint-outline":{"parent":"beer-outline"},"pipette":{"parent":"eyedropper"},"pipette-variant":{"parent":"eyedropper-variant"},"pizzeria":{"parent":"pizza"},"place":{"parent":"map-marker"},"place-outline":{"parent":"map-marker-outline"},"place-setting":{"parent":"silverware-fork-knife"},"plane":{"parent":"airplane"},"plane-landing":{"parent":"airplane-landing"},"plane-off":{"parent":"airplane-off"},"plane-shield":{"parent":"shield-airplane"},"plane-takeoff":{"parent":"airplane-takeoff"},"planet":{"parent":"earth"},"planet-arrow-right":{"parent":"earth-arrow-right"},"planet-box":{"parent":"earth-box"},"planet-box-minus":{"parent":"earth-box-minus"},"planet-box-off":{"parent":"earth-box-off"},"planet-box-plus":{"parent":"earth-box-plus"},"planet-box-remove":{"parent":"earth-box-remove"},"planet-minus":{"parent":"earth-minus"},"planet-off":{"parent":"earth-off"},"planet-plus":{"parent":"earth-plus"},"planet-remove":{"parent":"earth-remove"},"planner":{"parent":"notebook"},"planner-multiple":{"parent":"notebook-multiple"},"planner-outline":{"parent":"notebook-outline"},"plant":{"parent":"flower"},"plant-outline":{"parent":"sprout-outline"},"plaster":{"parent":"bandage"},"play-arrow":{"parent":"play"},"play-circle-filled":{"parent":"play-circle"},"play-room":{"parent":"teddy-bear"},"playground-seesaw":{"parent":"seesaw"},"playground-slide":{"parent":"slide"},"playlist-add":{"parent":"playlist-plus"},"playlist-add-check":{"parent":"playlist-check"},"playlist-favorite":{"parent":"playlist-star"},"playlist-note":{"parent":"playlist-music"},"playlist-note-outline":{"parent":"playlist-music-outline"},"playlist-tick":{"parent":"playlist-check"},"playstation":{"parent":"sony-playstation"},"playstation-network":{"parent":"sony-playstation"},"plug":{"parent":"connection"},"plug-socket":{"parent":"power-socket"},"plug-socket-au":{"parent":"power-socket-au"},"plug-socket-ch":{"parent":"power-socket-ch"},"plug-socket-eu":{"parent":"power-socket-eu"},"plug-socket-switzerland":{"parent":"power-socket-ch"},"plug-socket-type-j":{"parent":"power-socket-ch"},"plug-socket-uk":{"parent":"power-socket-uk"},"plug-socket-us":{"parent":"power-socket-us"},"plugin":{"parent":"toy-brick"},"plugin-outline":{"parent":"toy-brick-marker-outline"},"plus-bold":{"parent":"plus-thick"},"plus-circles-outline":{"parent":"plus-circle-multiple-outline"},"plus-one":{"parent":"numeric-positive-1"},"plus-secure":{"parent":"plus-lock"},"podium-first":{"parent":"podium-gold"},"podium-second":{"parent":"podium-silver"},"podium-third":{"parent":"podium-bronze"},"poison":{"parent":"bottle-tonic-skull"},"poison-outline":{"parent":"bottle-tonic-skull-outline"},"poker-club":{"parent":"cards-club"},"poker-diamond":{"parent":"cards-diamond"},"poker-diamond-outline":{"parent":"cards-diamond-outline"},"poker-heart":{"parent":"cards-heart"},"poker-spade":{"parent":"cards-spade"},"polar-lights":{"parent":"aurora"},"poll-box":{"parent":"chart-box"},"poll-box-outline":{"parent":"chart-box-outline"},"pool-rack":{"parent":"billiards-rack"},"pool-table":{"parent":"billiards-rack"},"pool-temperature":{"parent":"pool-thermometer"},"pool-triangle":{"parent":"billiards-rack"},"popsicle":{"parent":"ice-pop"},"porpoise":{"parent":"dolphin"},"portrait":{"parent":"account-box-outline"},"post-it-note":{"parent":"note"},"post-it-note-add":{"parent":"note-plus"},"post-it-note-add-outline":{"parent":"note-plus-outline"},"post-it-note-alert":{"parent":"note-alert"},"post-it-note-alert-outline":{"parent":"note-alert-outline"},"post-it-note-check":{"parent":"note-check"},"post-it-note-check-outline":{"parent":"note-check-outline"},"post-it-note-edit":{"parent":"note-edit"},"post-it-note-edit-outline":{"parent":"note-edit-outline"},"post-it-note-minus":{"parent":"note-minus"},"post-it-note-minus-outline":{"parent":"note-minus-outline"},"post-it-note-off":{"parent":"note-off"},"post-it-note-off-outline":{"parent":"note-off-outline"},"post-it-note-outline":{"parent":"note-outline"},"post-it-note-plus":{"parent":"note-plus"},"post-it-note-plus-outline":{"parent":"note-plus-outline"},"post-it-note-remove":{"parent":"note-remove"},"post-it-note-search":{"parent":"note-search"},"post-it-note-search-outline":{"parent":"note-search-outline"},"post-it-note-text":{"parent":"note-text"},"post-it-note-text-outline":{"parent":"note-text-outline"},"post-it-notes":{"parent":"note-multiple"},"post-it-notes-outline":{"parent":"note-multiple-outline"},"post-light":{"parent":"post-lamp"},"pot-light":{"parent":"light-recessed"},"pot-light-flat":{"parent":"wall-sconce-flat"},"pot-light-flat-variant":{"parent":"wall-sconce-flat-variant"},"pot-light-round":{"parent":"wall-sconce-round"},"pot-light-round-variant":{"parent":"wall-sconce-round-variant"},"potential-of-hydrogen":{"parent":"ph"},"power-box":{"parent":"exponent-box"},"power-from-grid":{"parent":"transmission-tower-export"},"power-meter":{"parent":"meter-electric"},"power-meter-outline":{"parent":"meter-electric-outline"},"power-of-hydrogen":{"parent":"ph"},"power-settings-new":{"parent":"power"},"power-socket-ar":{"parent":"power-socket-au"},"power-socket-argentina":{"parent":"power-socket-au"},"power-socket-australia":{"parent":"power-socket-au"},"power-socket-ca":{"parent":"power-socket-us"},"power-socket-canada":{"parent":"power-socket-us"},"power-socket-china":{"parent":"power-socket-au"},"power-socket-cn":{"parent":"power-socket-au"},"power-socket-cy":{"parent":"power-socket-uk"},"power-socket-cyprus":{"parent":"power-socket-uk"},"power-socket-europe":{"parent":"power-socket-eu"},"power-socket-hk":{"parent":"power-socket-uk"},"power-socket-hong-kong":{"parent":"power-socket-uk"},"power-socket-ie":{"parent":"power-socket-uk"},"power-socket-ireland":{"parent":"power-socket-uk"},"power-socket-japan":{"parent":"power-socket-us"},"power-socket-malaysia":{"parent":"power-socket-uk"},"power-socket-malta":{"parent":"power-socket-uk"},"power-socket-mexico":{"parent":"power-socket-us"},"power-socket-mt":{"parent":"power-socket-uk"},"power-socket-mx":{"parent":"power-socket-us"},"power-socket-my":{"parent":"power-socket-uk"},"power-socket-new-zealand":{"parent":"power-socket-au"},"power-socket-nz":{"parent":"power-socket-au"},"power-socket-papua-new-guinea":{"parent":"power-socket-au"},"power-socket-pg":{"parent":"power-socket-au"},"power-socket-sg":{"parent":"power-socket-uk"},"power-socket-singapore":{"parent":"power-socket-uk"},"power-socket-switzerland":{"parent":"power-socket-ch"},"power-socket-type-b":{"parent":"power-socket-us"},"power-socket-type-g":{"parent":"power-socket-uk"},"power-socket-type-i":{"parent":"power-socket-au"},"power-socket-type-j":{"parent":"power-socket-ch"},"power-socket-united-kingdom":{"parent":"power-socket-uk"},"power-socket-united-states":{"parent":"power-socket-us"},"power-to-grid":{"parent":"transmission-tower-import"},"powerline":{"parent":"transmission-tower"},"powerline-off":{"parent":"transmission-tower-off"},"pram":{"parent":"baby-buggy"},"pram-off":{"parent":"baby-carriage-off"},"pregnant-woman":{"parent":"human-pregnant"},"presence-enter":{"parent":"location-enter"},"presence-exit":{"parent":"location-exit"},"present":{"parent":"gift"},"present-off":{"parent":"gift-off"},"present-off-outline":{"parent":"gift-off-outline"},"present-open":{"parent":"gift-open"},"present-open-outline":{"parent":"gift-open-outline"},"present-outline":{"parent":"gift-outline"},"previous-title":{"parent":"skip-backward"},"primary-key":{"parent":"key-star"},"print-preview":{"parent":"file-find"},"printer-favorite":{"parent":"printer-pos-star"},"printer-magnify":{"parent":"printer-search"},"printer-point-of-sale":{"parent":"printer-pos"},"printer-point-of-sale-alert":{"parent":"printer-pos-alert"},"printer-point-of-sale-alert-outline":{"parent":"printer-pos-alert-outline"},"printer-point-of-sale-cancel":{"parent":"printer-pos-cancel"},"printer-point-of-sale-cancel-outline":{"parent":"printer-pos-cancel-outline"},"printer-point-of-sale-check":{"parent":"printer-pos-check"},"printer-point-of-sale-check-outline":{"parent":"printer-pos-check-outline"},"printer-point-of-sale-cog":{"parent":"printer-pos-cog"},"printer-point-of-sale-cog-outline":{"parent":"printer-pos-cog-outline"},"printer-point-of-sale-edit":{"parent":"printer-pos-edit"},"printer-point-of-sale-edit-outline":{"parent":"printer-pos-edit-outline"},"printer-point-of-sale-minus":{"parent":"printer-pos-minus"},"printer-point-of-sale-minus-outline":{"parent":"printer-pos-minus-outline"},"printer-point-of-sale-network":{"parent":"printer-pos-network"},"printer-point-of-sale-network-outline":{"parent":"printer-pos-network-outline"},"printer-point-of-sale-off":{"parent":"printer-pos-off"},"printer-point-of-sale-off-outline":{"parent":"printer-pos-off-outline"},"printer-point-of-sale-outline":{"parent":"printer-pos-outline"},"printer-point-of-sale-pause":{"parent":"printer-pos-pause"},"printer-point-of-sale-pause-outline":{"parent":"printer-pos-pause-outline"},"printer-point-of-sale-play":{"parent":"printer-pos-play"},"printer-point-of-sale-play-outline":{"parent":"printer-pos-play-outline"},"printer-point-of-sale-plus":{"parent":"printer-pos-plus"},"printer-point-of-sale-plus-outline":{"parent":"printer-pos-plus-outline"},"printer-point-of-sale-refresh":{"parent":"printer-pos-refresh"},"printer-point-of-sale-refresh-outline":{"parent":"printer-pos-refresh-outline"},"printer-point-of-sale-remove":{"parent":"printer-pos-remove"},"printer-point-of-sale-remove-outline":{"parent":"printer-pos-remove-outline"},"printer-point-of-sale-star":{"parent":"printer-pos-star"},"printer-point-of-sale-star-outline":{"parent":"printer-pos-star-outline"},"printer-point-of-sale-stop":{"parent":"printer-pos-stop"},"printer-point-of-sale-stop-outline":{"parent":"printer-pos-stop-outline"},"printer-point-of-sale-sync":{"parent":"printer-pos-sync"},"printer-point-of-sale-sync-outline":{"parent":"printer-pos-sync-outline"},"printer-point-of-sale-wrench":{"parent":"printer-pos-wrench"},"printer-point-of-sale-wrench-outline":{"parent":"printer-pos-wrench-outline"},"printer-preview":{"parent":"printer-eye"},"printer-primary":{"parent":"printer-pos-star"},"printer-receipt":{"parent":"printer-pos"},"printer-receipt-alert":{"parent":"printer-pos-alert"},"printer-receipt-alert-outline":{"parent":"printer-pos-alert-outline"},"printer-receipt-cancel":{"parent":"printer-pos-cancel"},"printer-receipt-cancel-outline":{"parent":"printer-pos-cancel-outline"},"printer-receipt-check":{"parent":"printer-pos-check"},"printer-receipt-check-outline":{"parent":"printer-pos-check-outline"},"printer-receipt-cog":{"parent":"printer-pos-cog"},"printer-receipt-cog-outline":{"parent":"printer-pos-cog-outline"},"printer-receipt-edit":{"parent":"printer-pos-edit"},"printer-receipt-edit-outline":{"parent":"printer-pos-edit-outline"},"printer-receipt-minus":{"parent":"printer-pos-minus"},"printer-receipt-minus-outline":{"parent":"printer-pos-minus-outline"},"printer-receipt-network":{"parent":"printer-pos-network"},"printer-receipt-network-outline":{"parent":"printer-pos-network-outline"},"printer-receipt-off":{"parent":"printer-pos-off"},"printer-receipt-off-outline":{"parent":"printer-pos-off-outline"},"printer-receipt-outline":{"parent":"printer-pos-outline"},"printer-receipt-pause":{"parent":"printer-pos-pause"},"printer-receipt-pause-outline":{"parent":"printer-pos-pause-outline"},"printer-receipt-play":{"parent":"printer-pos-play"},"printer-receipt-play-outline":{"parent":"printer-pos-play-outline"},"printer-receipt-plus":{"parent":"printer-pos-plus"},"printer-receipt-plus-outline":{"parent":"printer-pos-plus-outline"},"printer-receipt-refresh":{"parent":"printer-pos-refresh"},"printer-receipt-refresh-outline":{"parent":"printer-pos-refresh-outline"},"printer-receipt-remove":{"parent":"printer-pos-remove"},"printer-receipt-remove-outline":{"parent":"printer-pos-remove-outline"},"printer-receipt-star":{"parent":"printer-pos-star"},"printer-receipt-star-outline":{"parent":"printer-pos-star-outline"},"printer-receipt-stop":{"parent":"printer-pos-stop"},"printer-receipt-stop-outline":{"parent":"printer-pos-stop-outline"},"printer-receipt-sync":{"parent":"printer-pos-sync"},"printer-receipt-sync-outline":{"parent":"printer-pos-sync-outline"},"printer-receipt-wrench":{"parent":"printer-pos-wrench"},"printer-receipt-wrench-outline":{"parent":"printer-pos-wrench-outline"},"printer-view":{"parent":"printer-eye"},"printer-warning":{"parent":"printer-alert"},"prize":{"parent":"license"},"progress-spanner":{"parent":"progress-wrench"},"progress-tick":{"parent":"progress-check"},"progress-warning":{"parent":"progress-alert"},"prohibited":{"parent":"cancel"},"property-tag":{"parent":"bag-personal-tag"},"property-tag-outline":{"parent":"bag-personal-tag-outline"},"protected":{"parent":"lock"},"protected-outline":{"parent":"lock-outline"},"proximity-sensor":{"parent":"leak"},"proximity-sensor-off":{"parent":"leak-off"},"proxy":{"parent":"arrow-decision"},"proxy-auto":{"parent":"arrow-decision-auto"},"proxy-auto-outline":{"parent":"arrow-decision-auto-outline"},"proxy-outline":{"parent":"arrow-decision-outline"},"psychology":{"parent":"head-cog"},"psychology-outline":{"parent":"head-cog-outline"},"pub":{"parent":"beer"},"pub-outline":{"parent":"beer-outline"},"public":{"parent":"earth"},"publish-disabled":{"parent":"publish-off"},"puddle":{"parent":"liquid-spot"},"pumpkin-carved":{"parent":"halloween"},"pumpkin-face":{"parent":"halloween"},"push-notification":{"parent":"square-rounded-badge"},"push-notification-outline":{"parent":"square-rounded-badge-outline"},"puzzle-favorite":{"parent":"puzzle-star"},"puzzle-favorite-outline":{"parent":"puzzle-star-outline"},"pylon":{"parent":"transmission-tower"},"pylon-off":{"parent":"transmission-tower-off"},"quad":{"parent":"atv"},"query-builder":{"parent":"clock-outline"},"question-answer":{"parent":"forum"},"question-box-multiple":{"parent":"help-box-multiple"},"question-box-multiple-outline":{"parent":"help-box-multiple-outline"},"question-box-outline":{"parent":"help-box-outline"},"question-mark":{"parent":"help"},"question-mark-box":{"parent":"help-box"},"question-mark-circle":{"parent":"help-circle"},"question-mark-circle-outline":{"parent":"help-circle-outline"},"question-mark-rhombus":{"parent":"help-rhombus"},"question-mark-rhombus-outline":{"parent":"help-rhombus-outline"},"question-network":{"parent":"help-network"},"question-network-outline":{"parent":"help-network-outline"},"queue":{"parent":"plus-box-multiple"},"queue-music":{"parent":"playlist-music"},"queue-music-outline":{"parent":"playlist-music-outline"},"quill":{"parent":"feather"},"quiz":{"parent":"help-box-multiple"},"quiz-outline":{"parent":"help-box-multiple-outline"},"radiation":{"parent":"radioactive"},"radiation-circle":{"parent":"radioactive-circle"},"radiation-circle-outline":{"parent":"radioactive-circle-outline"},"radiation-off":{"parent":"radioactive-off"},"radiator-coil":{"parent":"heating-coil"},"radio-button-checked":{"parent":"radiobox-marked"},"radio-button-unchecked":{"parent":"radiobox-blank"},"radiology":{"parent":"skull-scan"},"radiology-outline":{"parent":"skull-scan-outline"},"railroad":{"parent":"train"},"railroad-crossing-light":{"parent":"railroad-light"},"railroad-variant":{"parent":"train-variant"},"railway":{"parent":"fence"},"railway-electric":{"parent":"fence-electric"},"rain-chance":{"parent":"cloud-percent"},"rain-chance-outline":{"parent":"cloud-percent-outline"},"rainbow":{"parent":"looks"},"rancher":{"parent":"account-cowboy-hat"},"rancher-outline":{"parent":"account-cowboy-hat-outline"},"rank":{"parent":"chevron-triple-up"},"rash":{"parent":"allergy"},"raspberrypi":{"parent":"raspberry-pi"},"raster":{"parent":"checkerboard"},"raster-minus":{"parent":"checkerboard-minus"},"raster-plus":{"parent":"checkerboard-plus"},"raster-remove":{"parent":"checkerboard-remove"},"rat":{"parent":"rodent"},"rate-review":{"parent":"message-draw"},"rca":{"parent":"video-input-component"},"rdf":{"parent":"semantic-web"},"read-more":{"parent":"page-next"},"read-more-outline":{"parent":"page-next-outline"},"receipt-roll":{"parent":"paper-roll"},"receipt-roll-outline":{"parent":"paper-roll-outline"},"receipt-text-add":{"parent":"receipt-text-plus"},"recent":{"parent":"history"},"record-voice-over":{"parent":"account-voice"},"recreational-vehicle":{"parent":"rv-truck"},"recurring-payment":{"parent":"cash-sync"},"redeem":{"parent":"wallet-giftcard"},"refresh-automatic":{"parent":"refresh-auto"},"refrigerator":{"parent":"fridge"},"refrigerator-bottom":{"parent":"fridge-bottom"},"refrigerator-filled":{"parent":"fridge"},"refrigerator-filled-bottom":{"parent":"fridge-top"},"refrigerator-filled-top":{"parent":"fridge-bottom"},"refrigerator-outline":{"parent":"fridge-outline"},"refrigerator-top":{"parent":"fridge-top"},"regeneration":{"parent":"compost"},"regenerative-agriculture":{"parent":"compost"},"register":{"parent":"account-plus"},"register-outline":{"parent":"account-plus-outline"},"registration-mark":{"parent":"target"},"regular-expression":{"parent":"regex"},"religion-buddhist":{"parent":"dharmachakra"},"religion-christian":{"parent":"cross"},"religion-christian-outline":{"parent":"cross-outline"},"religion-hindu":{"parent":"om"},"religion-islamic":{"parent":"star-crescent"},"religion-judaic":{"parent":"star-david"},"religion-muslim":{"parent":"star-crescent"},"remove":{"parent":"close"},"remove-bold":{"parent":"close-thick"},"remove-box":{"parent":"close-box"},"remove-box-multiple":{"parent":"close-box-multiple"},"remove-box-outline":{"parent":"close-box-outline"},"remove-circle":{"parent":"close-circle"},"remove-circle-multiple":{"parent":"close-circle-multiple"},"remove-circle-multiple-outline":{"parent":"close-circle-multiple-outline"},"remove-circle-off":{"parent":"minus-circle-off"},"remove-circle-off-outline":{"parent":"minus-circle-off-outline"},"remove-circle-outline":{"parent":"close-circle-outline"},"remove-network":{"parent":"close-network"},"remove-network-outline":{"parent":"close-network-outline"},"remove-octagon":{"parent":"close-octagon"},"remove-octagon-outline":{"parent":"close-octagon-outline"},"remove-outline":{"parent":"close-outline"},"remove-red-eye":{"parent":"eye"},"remove-shopping-cart":{"parent":"cart-off"},"remove-thick":{"parent":"close-thick"},"renminbi":{"parent":"currency-cny"},"rent-a-car":{"parent":"car-key"},"repeat-one":{"parent":"repeat-once"},"report":{"parent":"alert-octagon"},"report-arc":{"parent":"chart-arc"},"report-areaspline":{"parent":"chart-areaspline"},"report-areaspline-variant":{"parent":"chart-areaspline-variant"},"report-bar":{"parent":"chart-bar"},"report-bar-stacked":{"parent":"chart-bar-stacked"},"report-bell-curve":{"parent":"chart-bell-curve"},"report-bell-curve-cumulative":{"parent":"chart-bell-curve-cumulative"},"report-box":{"parent":"chart-box"},"report-box-outline":{"parent":"chart-box-outline"},"report-box-plus-outline":{"parent":"chart-box-plus-outline"},"report-bubble":{"parent":"chart-bubble"},"report-donut":{"parent":"chart-donut"},"report-donut-variant":{"parent":"chart-donut-variant"},"report-finance":{"parent":"finance"},"report-gantt":{"parent":"chart-gantt"},"report-histogram":{"parent":"chart-histogram"},"report-line":{"parent":"chart-line"},"report-line-shimmer":{"parent":"chart-timeline-variant-shimmer"},"report-line-stacked":{"parent":"chart-line-stacked"},"report-line-variant":{"parent":"chart-line-variant"},"report-multiline":{"parent":"chart-multiline"},"report-multiple":{"parent":"chart-multiple"},"report-pie":{"parent":"chart-pie"},"report-pie-outline":{"parent":"chart-pie-outline"},"report-ppf":{"parent":"chart-ppf"},"report-problem":{"parent":"alert"},"report-sankey":{"parent":"chart-sankey"},"report-sankey-variant":{"parent":"chart-sankey-variant"},"report-scatter-plot":{"parent":"chart-scatter-plot"},"report-scatter-plot-hexbin":{"parent":"chart-scatter-plot-hexbin"},"report-timeline":{"parent":"chart-timeline"},"report-timeline-variant":{"parent":"chart-timeline-variant"},"report-timeline-variant-shimmer":{"parent":"chart-timeline-variant-shimmer"},"report-tree":{"parent":"chart-tree"},"repost":{"parent":"repeat"},"reptile":{"parent":"snake"},"required":{"parent":"asterisk"},"required-circle":{"parent":"asterisk-circle-outline"},"reschedule":{"parent":"calendar-arrow-left"},"resize-horizontal":{"parent":"arrow-split-vertical"},"resize-vertical":{"parent":"arrow-split-horizontal"},"resource-description-framework":{"parent":"semantic-web"},"restaurant":{"parent":"silverware-fork-knife"},"restaurant-menu":{"parent":"silverware"},"restore-clock":{"parent":"history"},"restore-from-trash":{"parent":"delete-restore"},"restore-page":{"parent":"file-restore"},"resume":{"parent":"file-account"},"return-to-grid":{"parent":"transmission-tower-import"},"reverse":{"parent":"alpha-r"},"right-to-left":{"parent":"format-pilcrow-arrow-left"},"roadmap":{"parent":"chart-gantt"},"robber-mask":{"parent":"domino-mask"},"robot-vacuum-error":{"parent":"robot-vacuum-alert"},"robot-vacuum-variant-error":{"parent":"robot-vacuum-variant-alert"},"rock-climbing":{"parent":"carabiner"},"rocker-switch":{"parent":"light-switch"},"rocker-switch-off":{"parent":"light-switch-off"},"roller-shade-open":{"parent":"blinds-open"},"rollup-js":{"parent":"rollupjs"},"room":{"parent":"map-marker"},"roomba":{"parent":"robot-vacuum"},"rostrum":{"parent":"lectern"},"rotate-90-degrees-ccw":{"parent":"format-rotate-90"},"rotate-clockwise":{"parent":"reload"},"rotate-counter-clockwise":{"parent":"restore"},"royalty":{"parent":"chess-king"},"rss-feed":{"parent":"rss"},"rss-feed-box":{"parent":"rss-box"},"rtl":{"parent":"format-pilcrow-arrow-left"},"rubbish":{"parent":"delete"},"rubbish-bin":{"parent":"delete"},"rubbish-bin-circle":{"parent":"delete-circle"},"rubbish-bin-circle-outline":{"parent":"delete-circle-outline"},"rubbish-bin-empty":{"parent":"delete-empty"},"rubbish-bin-outline":{"parent":"delete-outline"},"rubbish-circle":{"parent":"delete-circle"},"rubbish-circle-outline":{"parent":"delete-circle-outline"},"rubbish-empty":{"parent":"delete-empty"},"rubbish-outline":{"parent":"delete-outline"},"ruble":{"parent":"currency-rub"},"ruby":{"parent":"language-ruby"},"ruby-horizontal":{"parent":"furigana-horizontal"},"ruby-vertical":{"parent":"furigana-vertical"},"rugby-ball":{"parent":"rugby"},"rum":{"parent":"liquor"},"rupee":{"parent":"currency-inr"},"safety-belt":{"parent":"seatbelt"},"safety-glasses":{"parent":"safety-goggles"},"sail-boat-crash":{"parent":"sail-boat-sink"},"sail-boat-wreck":{"parent":"sail-boat-sink"},"sailing":{"parent":"sail-boat"},"sale-box":{"parent":"percent-box"},"sale-box-outline":{"parent":"percent-box-outline"},"sale-circle":{"parent":"percent-circle"},"sale-circle-outline":{"parent":"percent-circle-outline"},"salt":{"parent":"shaker-outline"},"scan":{"parent":"face-recognition"},"schedule":{"parent":"clock-outline"},"scheduled-maintenance":{"parent":"wrench-clock"},"scheduled-payment":{"parent":"cash-sync"},"school-online":{"parent":"cast-education"},"scissors":{"parent":"content-cut"},"scooter-electric-outline":{"parent":"moped-electric-outline"},"scooter-outline":{"parent":"moped-outline"},"score":{"parent":"counter"},"screen-lock-rotation":{"parent":"screen-rotation-lock"},"scroll":{"parent":"script"},"scroll-horizontal-lock":{"parent":"arrow-horizontal-lock"},"scroll-outline":{"parent":"script-outline"},"scroll-text":{"parent":"script-text"},"scroll-text-outline":{"parent":"script-text-outline"},"scroll-vertical-lock":{"parent":"arrow-vertical-lock"},"sd-card":{"parent":"sd"},"sd-storage":{"parent":"sd"},"sea-level-rise":{"parent":"waves-arrow-up"},"seal-outline":{"parent":"certificate-outline"},"search":{"parent":"magnify"},"search-add":{"parent":"magnify-plus"},"search-add-outline":{"parent":"magnify-plus-outline"},"search-expand":{"parent":"magnify-expand"},"search-globe":{"parent":"search-web"},"search-hands-free":{"parent":"steering"},"search-hands-free-off":{"parent":"steering-off"},"search-minus":{"parent":"magnify-minus"},"search-minus-outline":{"parent":"magnify-minus-outline"},"search-plus":{"parent":"magnify-plus"},"search-plus-outline":{"parent":"magnify-plus-outline"},"seat-belt":{"parent":"seatbelt"},"secure":{"parent":"lock"},"secure-outline":{"parent":"lock-outline"},"security-account":{"parent":"shield-account"},"security-account-outline":{"parent":"shield-account-outline"},"security-camera":{"parent":"cctv"},"security-camera-off":{"parent":"cctv-off"},"security-home":{"parent":"shield-home"},"security-lock":{"parent":"shield-lock"},"security-lock-outline":{"parent":"shield-lock-outline"},"security-off":{"parent":"shield-off"},"seed-add":{"parent":"seed-plus"},"seed-add-outline":{"parent":"seed-plus-outline"},"seedling":{"parent":"sprout"},"seedling-outline":{"parent":"sprout-outline"},"select-colour":{"parent":"select-color"},"select-location":{"parent":"select-marker"},"select-multiple-location":{"parent":"select-multiple-marker"},"selection-invert":{"parent":"select-inverse"},"selection-location":{"parent":"selection-marker"},"selection-multiple-location":{"parent":"selection-multiple-marker"},"selection-mutliple":{"parent":"selection-multiple"},"selfie":{"parent":"account-box"},"selfie-outline":{"parent":"account-box-outline"},"send-secure":{"parent":"send-lock"},"sentiment-very-satisfied":{"parent":"emoticon-outline"},"server-add":{"parent":"server-plus"},"server-shield":{"parent":"server-security"},"service-toolbox":{"parent":"toolbox-outline"},"set":{"parent":"code-braces"},"set-and":{"parent":"set-center"},"set-centre":{"parent":"set-center"},"set-centre-right":{"parent":"set-center-right"},"set-intersection":{"parent":"set-center"},"set-left-centre":{"parent":"set-left-center"},"set-not":{"parent":"set-none"},"set-null":{"parent":"set-none"},"set-or":{"parent":"set-all"},"set-union":{"parent":"set-all"},"set-xor":{"parent":"set-left-right"},"settings":{"parent":"cog"},"settings-applications":{"parent":"cog-box"},"settings-backup-restore":{"parent":"backup-restore"},"settings-bluetooth":{"parent":"bluetooth-settings"},"settings-box":{"parent":"cog-box"},"settings-cell":{"parent":"cellphone-settings"},"settings-input-antenna":{"parent":"video-input-antenna"},"settings-input-component":{"parent":"video-input-component"},"settings-input-composite":{"parent":"video-input-component"},"settings-input-hdmi":{"parent":"video-input-hdmi"},"settings-input-svideo":{"parent":"video-input-svideo"},"settings-off":{"parent":"cog-off"},"settings-off-outline":{"parent":"cog-off-outline"},"settings-outline":{"parent":"cog-outline"},"settings-pause":{"parent":"cog-pause"},"settings-pause-outline":{"parent":"cog-pause-outline"},"settings-phone":{"parent":"phone-settings"},"settings-play":{"parent":"cog-play"},"settings-play-outline":{"parent":"cog-play-outline"},"settings-power":{"parent":"power-settings"},"settings-refresh":{"parent":"cog-refresh"},"settings-refresh-outline":{"parent":"cog-refresh-outline"},"settings-remote":{"parent":"remote"},"settings-stop":{"parent":"cog-stop"},"settings-stop-outline":{"parent":"cog-stop-outline"},"settings-sync":{"parent":"cog-sync"},"settings-sync-outline":{"parent":"cog-sync-outline"},"settings-transfer":{"parent":"cog-transfer"},"settings-transfer-outline":{"parent":"cog-transfer-outline"},"settings-vertical":{"parent":"tune-vertical"},"settings-voice":{"parent":"microphone-settings"},"shape-add":{"parent":"shape-plus"},"shape-circle-add":{"parent":"shape-circle-plus"},"shape-polygon-add":{"parent":"shape-polygon-plus"},"shape-rectangle-add":{"parent":"shape-rectangle-plus"},"shape-square-add":{"parent":"shape-square-plus"},"shed":{"parent":"greenhouse"},"shield-add":{"parent":"shield-plus"},"shield-add-outline":{"parent":"shield-plus-outline"},"shield-aeroplane":{"parent":"shield-airplane"},"shield-aeroplane-outline":{"parent":"shield-airplane-outline"},"shield-christianity":{"parent":"shield-cross"},"shield-christianity-outline":{"parent":"shield-cross-outline"},"shield-favorite":{"parent":"shield-star"},"shield-favorite-outline":{"parent":"shield-star-outline"},"shield-house":{"parent":"shield-home"},"shield-house-outline":{"parent":"shield-home-outline"},"shield-network":{"parent":"security-network"},"shield-person":{"parent":"shield-account"},"shield-person-outline":{"parent":"shield-account-outline"},"shield-plane":{"parent":"shield-airplane"},"shield-plane-outline":{"parent":"shield-airplane-outline"},"shield-templar":{"parent":"shield-cross"},"shield-templar-outline":{"parent":"shield-cross-outline"},"shield-tick":{"parent":"shield-check"},"shield-tick-outline":{"parent":"shield-check-outline"},"shield-unlocked":{"parent":"shield-lock-open"},"shield-unlocked-outline":{"parent":"shield-lock-open-outline"},"shield-user":{"parent":"shield-account"},"shield-user-outline":{"parent":"shield-account-outline"},"shield-warning":{"parent":"shield-alert"},"shield-warning-outline":{"parent":"shield-alert-outline"},"ship":{"parent":"ferry"},"shoe-running":{"parent":"shoe-sneaker"},"shop":{"parent":"store"},"shop-24-hour":{"parent":"store-24-hour"},"shop-alert":{"parent":"store-alert"},"shop-alert-outline":{"parent":"store-alert-outline"},"shop-check":{"parent":"store-check"},"shop-check-outline":{"parent":"store-check-outline"},"shop-clock":{"parent":"store-clock"},"shop-clock-outline":{"parent":"store-clock-outline"},"shop-cog-outline":{"parent":"store-cog-outline"},"shop-complete":{"parent":"store-check"},"shop-delete":{"parent":"store-remove"},"shop-delete-outline":{"parent":"store-remove-outline"},"shop-edit":{"parent":"store-edit"},"shop-edit-outline":{"parent":"store-edit-outline"},"shop-find":{"parent":"store-search"},"shop-find-outline":{"parent":"store-search-outline"},"shop-hours":{"parent":"store-clock"},"shop-hours-outline":{"parent":"store-clock-outline"},"shop-location":{"parent":"store-marker"},"shop-location-outline":{"parent":"store-marker-outline"},"shop-locator":{"parent":"store-search"},"shop-locator-outline":{"parent":"store-search-outline"},"shop-look-up":{"parent":"store-search"},"shop-look-up-outline":{"parent":"store-search-outline"},"shop-marker":{"parent":"store-marker"},"shop-marker-outline":{"parent":"store-marker-outline"},"shop-minus":{"parent":"store-minus"},"shop-minus-outline":{"parent":"store-minus-outline"},"shop-off":{"parent":"store-off"},"shop-off-outline":{"parent":"store-off-outline"},"shop-outline":{"parent":"store-outline"},"shop-plus":{"parent":"store-plus"},"shop-plus-outline":{"parent":"store-plus-outline"},"shop-remove":{"parent":"store-remove"},"shop-remove-outline":{"parent":"store-remove-outline"},"shop-schedule":{"parent":"store-clock"},"shop-schedule-outline":{"parent":"store-clock-outline"},"shop-search":{"parent":"store-search"},"shop-search-outline":{"parent":"store-search-outline"},"shop-settings":{"parent":"store-cog"},"shop-settings-outline":{"parent":"store-cog-outline"},"shop-time":{"parent":"store-clock"},"shop-time-outline":{"parent":"store-clock-outline"},"shopping-basket":{"parent":"basket"},"shopping-basket-minus":{"parent":"basket-minus"},"shopping-basket-minus-outline":{"parent":"basket-minus-outline"},"shopping-basket-off":{"parent":"basket-off"},"shopping-basket-off-outline":{"parent":"basket-off-outline"},"shopping-basket-outline":{"parent":"basket-outline"},"shopping-basket-plus":{"parent":"basket-plus"},"shopping-basket-plus-outline":{"parent":"basket-plus-outline"},"shopping-basket-remove":{"parent":"basket-remove"},"shopping-basket-remove-outline":{"parent":"basket-remove-outline"},"shopping-cart":{"parent":"cart"},"shopping-cart-add":{"parent":"cart-plus"},"shopping-cart-arrow-down":{"parent":"cart-arrow-down"},"shopping-cart-arrow-right":{"parent":"cart-arrow-right"},"shopping-cart-arrow-up":{"parent":"cart-arrow-up"},"shopping-cart-minus":{"parent":"cart-minus"},"shopping-cart-off":{"parent":"cart-off"},"shopping-cart-outline":{"parent":"cart-outline"},"shopping-cart-plus":{"parent":"cart-plus"},"shopping-cart-remove":{"parent":"cart-remove"},"shopping-favorite":{"parent":"cart-heart"},"shot":{"parent":"needle"},"shot-off":{"parent":"needle-off"},"show":{"parent":"eye"},"show-chart":{"parent":"chart-line-variant"},"show-outline":{"parent":"eye-outline"},"shul":{"parent":"synagogue"},"shul-outline":{"parent":"synagogue-outline"},"shutdown":{"parent":"power"},"shuttlecock":{"parent":"badminton"},"sideboard":{"parent":"buffet"},"sign":{"parent":"draw"},"sign-direction-add":{"parent":"sign-direction-plus"},"sign-in":{"parent":"login"},"sign-in-variant":{"parent":"login-variant"},"sign-out":{"parent":"logout"},"sign-out-variant":{"parent":"logout-variant"},"sign-routes":{"parent":"routes"},"signal-cellular-0":{"parent":"signal-cellular-outline"},"signal-cellular-no-sim":{"parent":"sim-off"},"sikh":{"parent":"khanda"},"silverware-knife":{"parent":"knife"},"silverware-shimmer":{"parent":"silverware-clean"},"sim-card":{"parent":"sim"},"sim-card-alert":{"parent":"sim-alert"},"sim-card-outline":{"parent":"sim-outline"},"sim-warning":{"parent":"sim-alert"},"sink":{"parent":"countertop"},"sink-outline":{"parent":"countertop-outline"},"size-extra-extra-large":{"parent":"size-xxl"},"size-extra-extra-small":{"parent":"size-xxs"},"size-extra-large":{"parent":"size-xl"},"size-extra-small":{"parent":"size-xs"},"size-large":{"parent":"size-l"},"size-medium":{"parent":"size-m"},"size-small":{"parent":"size-s"},"skew-decrease":{"parent":"skew-less"},"skew-increase":{"parent":"skew-more"},"skip":{"parent":"basket"},"skip-fill":{"parent":"basket-fill"},"skip-minus":{"parent":"basket-minus"},"skip-minus-outline":{"parent":"basket-minus-outline"},"skip-off":{"parent":"basket-off"},"skip-off-outline":{"parent":"basket-off-outline"},"skip-outline":{"parent":"basket-outline"},"skip-plus":{"parent":"basket-plus"},"skip-plus-outline":{"parent":"basket-plus-outline"},"skip-remove":{"parent":"basket-remove"},"skip-remove-outline":{"parent":"basket-remove-outline"},"slate":{"parent":"movie"},"slate-check":{"parent":"movie-check"},"slate-check-outline":{"parent":"movie-check-outline"},"slate-cog":{"parent":"movie-cog"},"slate-cog-outline":{"parent":"movie-cog-outline"},"slate-edit":{"parent":"movie-edit"},"slate-edit-outline":{"parent":"movie-edit-outline"},"slate-minus":{"parent":"movie-minus"},"slate-minus-outline":{"parent":"movie-minus-outline"},"slate-off":{"parent":"movie-off"},"slate-off-outline":{"parent":"movie-off-outline"},"slate-open":{"parent":"movie-open"},"slate-open-check":{"parent":"movie-open-check"},"slate-open-check-outline":{"parent":"movie-open-check-outline"},"slate-open-cog":{"parent":"movie-open-cog"},"slate-open-cog-outline":{"parent":"movie-open-cog-outline"},"slate-open-edit":{"parent":"movie-open-edit"},"slate-open-edit-outline":{"parent":"movie-open-edit-outline"},"slate-open-minus":{"parent":"movie-open-minus"},"slate-open-minus-outline":{"parent":"movie-open-minus-outline"},"slate-open-off":{"parent":"movie-open-off"},"slate-open-off-outline":{"parent":"movie-open-off-outline"},"slate-open-outline":{"parent":"movie-open-outline"},"slate-open-play":{"parent":"movie-open-play"},"slate-open-play-outline":{"parent":"movie-open-play-outline"},"slate-open-plus":{"parent":"movie-open-plus"},"slate-open-plus-outline":{"parent":"movie-open-plus-outline"},"slate-open-remove":{"parent":"movie-open-remove"},"slate-open-remove-outline":{"parent":"movie-open-remove-outline"},"slate-open-settings":{"parent":"movie-open-settings"},"slate-open-settings-outline":{"parent":"movie-open-settings-outline"},"slate-open-star":{"parent":"movie-open-star"},"slate-open-star-outline":{"parent":"movie-open-star-outline"},"slate-outline":{"parent":"movie-outline"},"slate-play":{"parent":"movie-play"},"slate-play-outline":{"parent":"movie-play-outline"},"slate-plus":{"parent":"movie-plus"},"slate-plus-outline":{"parent":"movie-plus-outline"},"slate-remove":{"parent":"movie-remove"},"slate-remove-outline":{"parent":"movie-remove-outline"},"slate-settings":{"parent":"movie-settings"},"slate-settings-outline":{"parent":"movie-settings-outline"},"slate-star":{"parent":"movie-star"},"slate-star-outline":{"parent":"movie-star-outline"},"sleep-schedule":{"parent":"bed-clock"},"sleep-time":{"parent":"bed-clock"},"slideshow":{"parent":"play-box-outline"},"slippers-ballet":{"parent":"shoe-ballet"},"smartphone":{"parent":"cellphone"},"smartphone-android":{"parent":"cellphone-android"},"smartphone-arrow-down":{"parent":"cellphone-arrow-down"},"smartphone-dock":{"parent":"cellphone-dock"},"smartphone-erase":{"parent":"cellphone-remove"},"smartphone-information":{"parent":"cellphone-information"},"smartphone-iphone":{"parent":"cellphone-iphone"},"smartphone-key":{"parent":"cellphone-key"},"smartphone-link":{"parent":"cellphone-link"},"smartphone-link-off":{"parent":"cellphone-link-off"},"smartphone-lock":{"parent":"cellphone-lock"},"smartphone-message":{"parent":"cellphone-message"},"smartphone-off":{"parent":"cellphone-off"},"smartphone-settings":{"parent":"cellphone-settings"},"smartphone-settings-variant":{"parent":"cellphone-cog"},"smartphone-sound":{"parent":"cellphone-sound"},"smartphone-text":{"parent":"cellphone-text"},"smartphone-wireless":{"parent":"cellphone-wireless"},"smartwatch":{"parent":"devices"},"smell":{"parent":"scent"},"smell-off":{"parent":"scent-off"},"smiley":{"parent":"emoticon"},"smiley-angry":{"parent":"emoticon-angry"},"smiley-angry-outline":{"parent":"emoticon-angry-outline"},"smiley-cool":{"parent":"emoticon-cool"},"smiley-cool-outline":{"parent":"emoticon-cool-outline"},"smiley-cry":{"parent":"emoticon-cry"},"smiley-cry-outline":{"parent":"emoticon-cry-outline"},"smiley-dead":{"parent":"emoticon-dead"},"smiley-dead-outline":{"parent":"emoticon-dead-outline"},"smiley-devil":{"parent":"emoticon-devil"},"smiley-devil-outline":{"parent":"emoticon-devil-outline"},"smiley-excited":{"parent":"emoticon-excited"},"smiley-excited-outline":{"parent":"emoticon-excited-outline"},"smiley-happy":{"parent":"emoticon-happy"},"smiley-happy-outline":{"parent":"emoticon-happy-outline"},"smiley-kiss":{"parent":"emoticon-kiss"},"smiley-kiss-outline":{"parent":"emoticon-kiss-outline"},"smiley-neutral":{"parent":"emoticon-neutral"},"smiley-neutral-outline":{"parent":"emoticon-neutral-outline"},"smiley-outline":{"parent":"emoticon-outline"},"smiley-poop":{"parent":"emoticon-poop"},"smiley-sad":{"parent":"emoticon-sad"},"smiley-sad-outline":{"parent":"emoticon-sad-outline"},"smiley-tongue":{"parent":"emoticon-tongue"},"smiley-tongue-outline":{"parent":"emoticon-tongue-outline"},"smiley-wink":{"parent":"emoticon-wink"},"smiley-wink-outline":{"parent":"emoticon-wink-outline"},"smoke-free":{"parent":"smoking-off"},"smoking-area":{"parent":"smoking"},"smoking-rooms":{"parent":"smoking"},"smoothing-iron":{"parent":"iron"},"smoothing-iron-outline":{"parent":"iron-outline"},"sms":{"parent":"message-processing"},"sms-failed":{"parent":"message-alert"},"sms-failed-outline":{"parent":"message-alert-outline"},"snooker-rack":{"parent":"billiards-rack"},"snooker-triangle":{"parent":"billiards-rack"},"snow-advisory":{"parent":"snowflake-alert"},"snowflake-approve":{"parent":"snowflake-check"},"snowflake-temperature":{"parent":"snowflake-thermometer"},"solar-angle":{"parent":"sun-angle"},"solar-angle-outline":{"parent":"sun-angle-outline"},"solar-asimuth":{"parent":"sun-compass"},"solar-compass":{"parent":"sun-compass"},"solar-electricity":{"parent":"solar-panel"},"solar-electricity-outline":{"parent":"solar-power-variant-outline"},"solar-energy":{"parent":"solar-panel"},"solar-energy-outline":{"parent":"solar-power-variant-outline"},"solar-panel-electricity":{"parent":"solar-panel-large"},"solar-panel-energy":{"parent":"solar-panel-large"},"sort-alphabetical":{"parent":"sort-alphabetical-variant"},"sort-alphabetically":{"parent":"sort-alphabetical-variant"},"sort-by-alpha":{"parent":"sort-alphabetical-variant"},"sort-checkbox-ascending":{"parent":"sort-bool-ascending-variant"},"sort-checkbox-descending":{"parent":"sort-bool-descending-variant"},"sort-date-ascending":{"parent":"sort-calendar-ascending"},"sort-date-descending":{"parent":"sort-calendar-descending"},"sort-numeric":{"parent":"sort-numeric-variant"},"sort-numerically":{"parent":"sort-numeric-variant"},"sort-time-ascending":{"parent":"sort-clock-ascending"},"sort-time-ascending-outline":{"parent":"sort-clock-ascending-outline"},"sort-time-descending":{"parent":"sort-clock-descending"},"sort-time-descending-outline":{"parent":"sort-clock-descending-outline"},"source-repositories":{"parent":"source-repository-multiple"},"southern-lights":{"parent":"aurora"},"soya-sauce":{"parent":"soy-sauce"},"spaghetti":{"parent":"pasta"},"spanner":{"parent":"wrench"},"spanner-outline":{"parent":"wrench-outline"},"sparkles":{"parent":"shimmer"},"speak":{"parent":"account-voice"},"speaker-bar":{"parent":"soundbar"},"speaker-notes":{"parent":"message-bulleted"},"speaker-notes-off":{"parent":"message-bulleted-off"},"speakerphone":{"parent":"volume-high"},"speakerphone-off":{"parent":"volume-off"},"speakers":{"parent":"speaker-multiple"},"speaking":{"parent":"account-voice"},"sphere-diameter":{"parent":"diameter"},"sphere-diameter-outline":{"parent":"diameter-outline"},"sphere-diameter-variant":{"parent":"diameter-variant"},"sphere-radius":{"parent":"radius"},"sphere-radius-outline":{"parent":"radius-outline"},"spicy":{"parent":"chili-hot"},"spicy-off":{"parent":"chili-off"},"spill":{"parent":"liquid-spot"},"spirits":{"parent":"liquor"},"spoken-language":{"parent":"translate-variant"},"sprinkler-head":{"parent":"sprinkler-fire"},"sprinkler-mist":{"parent":"sprinkler-fire"},"spy":{"parent":"incognito"},"spy-circle":{"parent":"incognito-circle"},"spy-circle-off":{"parent":"incognito-circle-off"},"spy-off":{"parent":"incognito-off"},"sql-foreign-key":{"parent":"key-link"},"sql-full-outer-join":{"parent":"set-all"},"sql-inner-join":{"parent":"set-center"},"sql-left-outer-join":{"parent":"set-left-center"},"sql-primary-key":{"parent":"key-star"},"sql-query":{"parent":"database-search"},"sql-right-outer-join":{"parent":"set-center-right"},"square-brackets":{"parent":"code-brackets"},"square-transparent":{"parent":"square-opacity"},"squash":{"parent":"racquetball"},"stackexchange":{"parent":"stack-exchange"},"stackoverflow":{"parent":"stack-overflow"},"staff":{"parent":"spear"},"staff-shimmer":{"parent":"magic-staff"},"stanley-knife":{"parent":"box-cutter"},"star-add":{"parent":"star-plus"},"star-add-outline":{"parent":"star-plus-outline"},"star-border":{"parent":"star-outline"},"star-rate":{"parent":"star"},"starburst":{"parent":"decagram"},"starburst-outline":{"parent":"decagram-outline"},"stars":{"parent":"star-circle"},"stay-current-portrait":{"parent":"cellphone"},"stay-primary-portrait":{"parent":"cellphone"},"stereo":{"parent":"surround-sound-2-0"},"sterling":{"parent":"currency-gbp"},"sticky-note":{"parent":"note"},"sticky-note-add":{"parent":"note-plus"},"sticky-note-add-outline":{"parent":"note-plus-outline"},"sticky-note-alert":{"parent":"note-alert"},"sticky-note-alert-outline":{"parent":"note-alert-outline"},"sticky-note-check":{"parent":"note-check"},"sticky-note-check-outline":{"parent":"note-check-outline"},"sticky-note-edit":{"parent":"note-edit"},"sticky-note-edit-outline":{"parent":"note-edit-outline"},"sticky-note-minus":{"parent":"note-minus"},"sticky-note-minus-outline":{"parent":"note-minus-outline"},"sticky-note-off":{"parent":"note-off"},"sticky-note-off-outline":{"parent":"note-off-outline"},"sticky-note-outline":{"parent":"note-outline"},"sticky-note-plus":{"parent":"note-plus"},"sticky-note-plus-outline":{"parent":"note-plus-outline"},"sticky-note-remove":{"parent":"note-remove"},"sticky-note-search":{"parent":"note-search"},"sticky-note-search-outline":{"parent":"note-search-outline"},"sticky-note-text":{"parent":"note-text"},"sticky-note-text-outline":{"parent":"note-text-outline"},"sticky-notes":{"parent":"note-multiple"},"sticky-notes-outline":{"parent":"note-multiple-outline"},"stop-alert":{"parent":"alert-octagon"},"stop-alert-outline":{"parent":"alert-octagon-outline"},"stop-light":{"parent":"traffic-light"},"stop-light-outline":{"parent":"traffic-light-outline"},"stop-outline":{"parent":"octagon-outline"},"stop-pause":{"parent":"pause-octagon"},"stop-pause-outline":{"parent":"pause-octagon-outline"},"stop-remove":{"parent":"close-octagon"},"stop-remove-outline":{"parent":"close-octagon-outline"},"stopwatch":{"parent":"timer"},"stopwatch-add":{"parent":"timer-plus"},"stopwatch-add-outline":{"parent":"timer-plus-outline"},"stopwatch-alert":{"parent":"timer-alert"},"stopwatch-alert-outline":{"parent":"timer-alert-outline"},"stopwatch-cancel":{"parent":"timer-cancel"},"stopwatch-cancel-outline":{"parent":"timer-cancel-outline"},"stopwatch-check":{"parent":"timer-check"},"stopwatch-check-outline":{"parent":"timer-check-outline"},"stopwatch-edit":{"parent":"timer-edit"},"stopwatch-edit-outline":{"parent":"timer-edit-outline"},"stopwatch-favorite":{"parent":"timer-star"},"stopwatch-favorite-outline":{"parent":"timer-star-outline"},"stopwatch-location":{"parent":"timer-marker"},"stopwatch-location-outline":{"parent":"timer-marker-outline"},"stopwatch-lock":{"parent":"timer-lock"},"stopwatch-lock-open":{"parent":"timer-lock-open"},"stopwatch-lock-open-outline":{"parent":"timer-lock-open-outline"},"stopwatch-lock-outline":{"parent":"timer-lock-outline"},"stopwatch-marker":{"parent":"timer-marker"},"stopwatch-marker-outline":{"parent":"timer-marker-outline"},"stopwatch-minus":{"parent":"timer-minus"},"stopwatch-minus-outline":{"parent":"timer-minus-outline"},"stopwatch-music":{"parent":"timer-music"},"stopwatch-music-outline":{"parent":"timer-music-outline"},"stopwatch-off":{"parent":"timer-off"},"stopwatch-off-outline":{"parent":"timer-off-outline"},"stopwatch-outline":{"parent":"timer-outline"},"stopwatch-pause":{"parent":"timer-pause"},"stopwatch-pause-outline":{"parent":"timer-pause-outline"},"stopwatch-play":{"parent":"timer-play"},"stopwatch-play-outline":{"parent":"timer-play-outline"},"stopwatch-plus":{"parent":"timer-plus"},"stopwatch-plus-outline":{"parent":"timer-plus-outline"},"stopwatch-refresh":{"parent":"timer-refresh"},"stopwatch-refresh-outline":{"parent":"timer-refresh-outline"},"stopwatch-remove":{"parent":"timer-remove"},"stopwatch-remove-outline":{"parent":"timer-remove-outline"},"stopwatch-secure":{"parent":"timer-lock"},"stopwatch-secure-outline":{"parent":"timer-lock-outline"},"stopwatch-star":{"parent":"timer-star"},"stopwatch-star-outline":{"parent":"timer-star-outline"},"stopwatch-start":{"parent":"timer-play"},"stopwatch-start-outline":{"parent":"timer-play-outline"},"stopwatch-stop":{"parent":"timer-stop"},"stopwatch-stop-outline":{"parent":"timer-stop-outline"},"stopwatch-subtract":{"parent":"timer-minus"},"stopwatch-subtract-outline":{"parent":"timer-minus-outline"},"stopwatch-sync":{"parent":"timer-sync"},"stopwatch-sync-outline":{"parent":"timer-sync-outline"},"stopwatch-tick":{"parent":"timer-check"},"stopwatch-tick-outline":{"parent":"timer-check-outline"},"storage":{"parent":"database"},"store-complete":{"parent":"store-check"},"store-complete-outline":{"parent":"store-check-outline"},"store-delete":{"parent":"store-remove"},"store-delete-outline":{"parent":"store-remove-outline"},"store-find":{"parent":"store-search"},"store-find-outline":{"parent":"store-search-outline"},"store-hours":{"parent":"store-clock"},"store-hours-outline":{"parent":"store-clock-outline"},"store-location":{"parent":"store-marker"},"store-location-outline":{"parent":"store-marker-outline"},"store-locator":{"parent":"store-search"},"store-locator-outline":{"parent":"store-search-outline"},"store-look-up":{"parent":"store-search"},"store-look-up-outline":{"parent":"store-search-outline"},"store-mall-directory":{"parent":"store"},"store-mall-directory-outline":{"parent":"store-outline"},"store-schedule":{"parent":"store-clock"},"store-schedule-outline":{"parent":"store-clock-outline"},"store-time":{"parent":"store-clock"},"store-time-outline":{"parent":"store-clock-outline"},"storm":{"parent":"lightning-bolt"},"storm-advisory":{"parent":"flash-alert"},"storm-advisory-outline":{"parent":"flash-alert-outline"},"storm-circle":{"parent":"lightning-bolt-circle"},"storm-outline":{"parent":"lightning-bolt-outline"},"stove-burner":{"parent":"gas-burner"},"strikethrough-s":{"parent":"format-strikethrough-variant"},"stroller":{"parent":"baby-buggy"},"stroller-off":{"parent":"baby-carriage-off"},"study-chair":{"parent":"chair-rolling"},"style":{"parent":"palette-swatch"},"style-outline":{"parent":"palette-swatch-outline"},"subscriber-identification-module":{"parent":"sim"},"subscriber-identification-module-outline":{"parent":"sim-outline"},"subscriber-identity-module":{"parent":"sim"},"subscriber-identity-module-outline":{"parent":"sim-outline"},"subscriptions":{"parent":"playlist-check"},"subtasks":{"parent":"file-tree"},"subway-warning-variant":{"parent":"subway-alert-variant"},"subwoofer":{"parent":"smoke-detector"},"success":{"parent":"check"},"success-bold":{"parent":"check-bold"},"success-circle":{"parent":"check-circle"},"success-circle-outline":{"parent":"check-circle-outline"},"success-thick":{"parent":"check-bold"},"sucess-outline":{"parent":"check-outline"},"sugar":{"parent":"cube-outline"},"sugar-cube":{"parent":"cube-outline"},"sugar-cube-off":{"parent":"cube-off-outline"},"sugar-free":{"parent":"cube-off-outline"},"sugar-off":{"parent":"cube-off-outline"},"suit-clubs":{"parent":"cards-club"},"suit-diamonds":{"parent":"cards-diamond"},"suit-hearts":{"parent":"cards-heart"},"suit-spades":{"parent":"cards-spade"},"summation":{"parent":"sigma"},"sun-advisory":{"parent":"weather-sunny-alert"},"sun-azimuth":{"parent":"sun-compass"},"sun-moon-stars":{"parent":"theme-light-dark"},"sun-protection":{"parent":"shield-sun"},"sun-protection-outline":{"parent":"shield-sun-outline"},"sun-schedule":{"parent":"sun-clock"},"sun-schedule-outline":{"parent":"sun-clock-outline"},"sun-shade":{"parent":"awning"},"sun-shade-outline":{"parent":"awning-outline"},"sun-temperature":{"parent":"sun-thermometer"},"sun-time":{"parent":"sun-clock"},"sun-time-outline":{"parent":"sun-clock-outline"},"sunrise":{"parent":"weather-sunset-up"},"super-chat-for-good":{"parent":"charity"},"support":{"parent":"face-agent"},"surface-area":{"parent":"texture-box"},"suspended-light":{"parent":"chandelier"},"swap-calls":{"parent":"swap-vertical-variant"},"swap-driving-apps-wheel":{"parent":"gauge"},"swatch":{"parent":"receipt"},"swatch-outline":{"parent":"receipt-outline"},"swim-dive":{"parent":"diving"},"swimming-pool":{"parent":"pool"},"swiss-cheese":{"parent":"cheese"},"swiss-cross":{"parent":"hospital"},"swiss-cross-box":{"parent":"hospital-box"},"swiss-cross-box-outline":{"parent":"hospital-box-outline"},"switch-account":{"parent":"account-box-multiple"},"switch-camera":{"parent":"camera-switch"},"switch-video":{"parent":"video-switch"},"sword-fight":{"parent":"fencing"},"syllabary-katakana-half-width":{"parent":"syllabary-katakana-halfwidth"},"sync-disabled":{"parent":"sync-off"},"sync-problem":{"parent":"sync-alert"},"sync-warning":{"parent":"sync-alert"},"syringe":{"parent":"needle"},"syringe-off":{"parent":"needle-off"},"t-rex":{"parent":"google-downasaur"},"t-shirt-crew":{"parent":"tshirt-crew"},"t-shirt-crew-outline":{"parent":"tshirt-crew-outline"},"t-shirt-v":{"parent":"tshirt-v"},"t-shirt-v-outline":{"parent":"tshirt-v-outline"},"tab-add":{"parent":"tab-plus"},"tab-find":{"parent":"tab-search"},"table-add":{"parent":"table-plus"},"table-column-add-after":{"parent":"table-column-plus-after"},"table-column-add-before":{"parent":"table-column-plus-before"},"table-download":{"parent":"table-arrow-down"},"table-export":{"parent":"table-arrow-right"},"table-favorite":{"parent":"table-heart"},"table-help":{"parent":"table-question"},"table-import":{"parent":"table-arrow-left"},"table-large-add":{"parent":"table-large-plus"},"table-row-add-after":{"parent":"table-row-plus-after"},"table-row-add-before":{"parent":"table-row-plus-before"},"table-share":{"parent":"table-arrow-right"},"table-upload":{"parent":"table-arrow-up"},"table-user":{"parent":"table-account"},"tablet-mac":{"parent":"tablet-ipad"},"tablet-mobile-phone":{"parent":"tablet-cellphone"},"tablet-smartphone":{"parent":"tablet-cellphone"},"tag-add":{"parent":"tag-plus"},"tag-approve":{"parent":"tag-check"},"tag-approve-outline":{"parent":"tag-check-outline"},"tag-emoji":{"parent":"tag-faces"},"tag-emoticon":{"parent":"tag-faces"},"tag-find":{"parent":"tag-search"},"tag-find-outline":{"parent":"tag-search-outline"},"tags":{"parent":"tag-multiple"},"taka":{"parent":"currency-bdt"},"talk":{"parent":"account-voice"},"talking":{"parent":"account-voice"},"tanker":{"parent":"tanker-truck"},"taoism":{"parent":"yin-yang"},"tap":{"parent":"water-pump"},"tap-off":{"parent":"water-pump-off"},"tape":{"parent":"cassette"},"target-arrow":{"parent":"bullseye-arrow"},"target-user":{"parent":"target-account"},"task-add":{"parent":"checkbox-marked-circle-plus-outline"},"task-plus":{"parent":"checkbox-marked-circle-plus-outline"},"tea-kettle":{"parent":"kettle"},"tea-kettle-alert":{"parent":"kettle-alert"},"tea-kettle-alert-outline":{"parent":"kettle-alert-outline"},"tea-kettle-empty":{"parent":"kettle-outline"},"tea-kettle-empty-alert":{"parent":"kettle-alert-outline"},"tea-kettle-empty-off":{"parent":"kettle-off-outline"},"tea-kettle-empty-steam":{"parent":"kettle-steam-outline"},"tea-kettle-full":{"parent":"kettle"},"tea-kettle-full-alert":{"parent":"kettle-alert"},"tea-kettle-full-off":{"parent":"kettle-off"},"tea-kettle-full-steam":{"parent":"kettle-steam"},"tea-kettle-off":{"parent":"kettle-off"},"tea-kettle-off-outline":{"parent":"kettle-off-outline"},"tea-kettle-outline":{"parent":"kettle-outline"},"tea-kettle-steam":{"parent":"kettle-steam"},"tea-kettle-steam-outline":{"parent":"kettle-steam-outline"},"tea-off":{"parent":"coffee-off"},"tea-off-outline":{"parent":"coffee-off-outline"},"tea-to-go":{"parent":"coffee-to-go"},"tea-to-go-outline":{"parent":"coffee-to-go-outline"},"teach":{"parent":"human-male-board"},"teach-poll":{"parent":"human-male-board-poll"},"teacher":{"parent":"human-male-board"},"teaching":{"parent":"human-male-board"},"telecoil":{"parent":"ear-hearing-loop"},"teleconference":{"parent":"laptop-account"},"telephone":{"parent":"phone"},"telephone-bluetooth":{"parent":"phone-bluetooth"},"telephone-forward":{"parent":"phone-forward"},"telephone-hangup":{"parent":"phone-hangup"},"telephone-in-talk":{"parent":"phone-in-talk"},"telephone-in-talk-outline":{"parent":"phone-in-talk-outline"},"telephone-incoming":{"parent":"phone-incoming"},"telephone-lock":{"parent":"phone-lock"},"telephone-locked":{"parent":"phone-lock"},"telephone-outline":{"parent":"phone-outline"},"television-clean":{"parent":"television-shimmer"},"temperature":{"parent":"thermometer"},"temperature-add":{"parent":"thermometer-plus"},"temperature-alert":{"parent":"thermometer-alert"},"temperature-approve":{"parent":"thermometer-check"},"temperature-auto":{"parent":"thermometer-auto"},"temperature-bluetooth":{"parent":"thermometer-bluetooth"},"temperature-centigrade":{"parent":"temperature-celsius"},"temperature-check":{"parent":"thermometer-check"},"temperature-chevron-down":{"parent":"thermometer-chevron-down"},"temperature-chevron-up":{"parent":"thermometer-chevron-up"},"temperature-decrease":{"parent":"thermometer-chevron-down"},"temperature-high":{"parent":"thermometer-high"},"temperature-increase":{"parent":"thermometer-chevron-up"},"temperature-lines":{"parent":"thermometer-lines"},"temperature-low":{"parent":"thermometer-low"},"temperature-minus":{"parent":"thermometer-minus"},"temperature-off":{"parent":"thermometer-off"},"temperature-plus":{"parent":"thermometer-plus"},"temperature-warning":{"parent":"thermometer-alert"},"temple":{"parent":"synagogue"},"temple-outline":{"parent":"synagogue-outline"},"tempo":{"parent":"metronome"},"tempo-tick":{"parent":"metronome-tick"},"tennis-racket":{"parent":"tennis"},"tennis-racquet":{"parent":"tennis"},"tequila":{"parent":"liquor"},"terminal":{"parent":"console"},"terminal-line":{"parent":"console-line"},"terminal-network":{"parent":"console-network"},"terminal-network-outline":{"parent":"console-network-outline"},"terrace":{"parent":"balcony"},"text-subject":{"parent":"text-long"},"text-to-speech":{"parent":"microphone-message"},"text-to-speech-off":{"parent":"microphone-message-off"},"text-user":{"parent":"text-account"},"textarea":{"parent":"form-textarea"},"textbox":{"parent":"form-textbox"},"textbox-lock":{"parent":"form-textbox-lock"},"textbox-password":{"parent":"form-textbox-password"},"textsms":{"parent":"message-processing"},"thanksgiving":{"parent":"food-turkey"},"thanksgiving-dinner":{"parent":"food-turkey"},"theaters":{"parent":"filmstrip"},"theatre":{"parent":"drama-masks"},"theme":{"parent":"shape"},"theme-outline":{"parent":"shape-outline"},"thermometer-add":{"parent":"thermometer-plus"},"thermometer-approve":{"parent":"thermometer-check"},"thermometer-decrease":{"parent":"thermometer-chevron-down"},"thermometer-increase":{"parent":"thermometer-chevron-up"},"thermometer-warning":{"parent":"thermometer-alert"},"think-outline":{"parent":"thought-bubble-outline"},"thinking":{"parent":"thought-bubble"},"thinking-outline":{"parent":"thought-bubble-outline"},"this-side-down":{"parent":"archive-arrow-down"},"this-side-down-outline":{"parent":"archive-arrow-down-outline"},"this-side-up":{"parent":"archive-arrow-up"},"this-side-up-outline":{"parent":"archive-arrow-up-outline"},"three":{"parent":"tally-mark-3"},"thumbs-down":{"parent":"thumb-down"},"thumbs-down-outline":{"parent":"thumb-down-outline"},"thumbs-up":{"parent":"thumb-up"},"thumbs-up-outline":{"parent":"thumb-up-outline"},"thunder":{"parent":"lightning-bolt"},"thunder-circle":{"parent":"lightning-bolt-circle"},"thunder-outline":{"parent":"lightning-bolt-outline"},"tick":{"parent":"check"},"tick-all":{"parent":"check-all"},"tick-box-multiple-outline":{"parent":"checkbox-multiple-outline"},"tick-circle":{"parent":"check-circle"},"tick-circle-outline":{"parent":"check-circle-outline"},"tick-decagram":{"parent":"check-decagram"},"tick-network":{"parent":"check-network"},"tick-network-outline":{"parent":"check-network-outline"},"tick-outline":{"parent":"check-outline"},"ticket-user":{"parent":"ticket-account"},"ticks":{"parent":"check-all"},"tide-in":{"parent":"waves-arrow-left"},"tide-out":{"parent":"waves-arrow-right"},"till":{"parent":"cash-register"},"time-of-day":{"parent":"sun-clock"},"time-of-day-outline":{"parent":"sun-clock-outline"},"time-to-leave":{"parent":"car"},"timeline-help":{"parent":"timeline-question"},"timeline-help-outline":{"parent":"timeline-question-outline"},"timer-add":{"parent":"timer-plus"},"timer-add-outline":{"parent":"timer-plus-outline"},"timer-favorite":{"parent":"timer-star"},"timer-favorite-outline":{"parent":"timer-star-outline"},"timer-location":{"parent":"timer-marker"},"timer-location-outline":{"parent":"timer-marker-outline"},"timer-secure":{"parent":"timer-lock"},"timer-secure-outline":{"parent":"timer-lock-outline"},"timer-start":{"parent":"timer-play"},"timer-start-outline":{"parent":"timer-play-outline"},"timer-subtract":{"parent":"timer-minus"},"timer-subtract-outline":{"parent":"timer-minus-outline"},"timer-ten":{"parent":"timer-10"},"timer-three":{"parent":"timer-3"},"timer-tick":{"parent":"timer-check"},"timer-tick-outline":{"parent":"timer-check-outline"},"timezone":{"parent":"map-clock"},"timezone-outline":{"parent":"map-clock-outline"},"tipper-lorry":{"parent":"dump-truck"},"title-backward":{"parent":"skip-backward"},"title-forward":{"parent":"skip-forward"},"tm":{"parent":"trademark"},"to-do":{"parent":"format-list-checks"},"toc":{"parent":"table-of-contents"},"todo-add":{"parent":"checkbox-marked-circle-plus-outline"},"todo-plus":{"parent":"checkbox-marked-circle-plus-outline"},"toilet-paper":{"parent":"paper-roll"},"toilet-paper-outline":{"parent":"paper-roll-outline"},"toll":{"parent":"circle-multiple-outline"},"tombstone":{"parent":"grave-stone"},"tool-clock":{"parent":"wrench-clock"},"tool-time":{"parent":"wrench-clock"},"tooltip-add":{"parent":"tooltip-plus"},"tooltip-add-outline":{"parent":"tooltip-plus-outline"},"tooltip-help":{"parent":"tooltip-question"},"tooltip-help-outline":{"parent":"tooltip-question-outline"},"tooltip-outline-plus":{"parent":"tooltip-plus-outline"},"tooltip-person":{"parent":"tooltip-account"},"tooltip-user":{"parent":"tooltip-account"},"toque":{"parent":"chef-hat"},"torch-off":{"parent":"flashlight-off"},"touch-reading":{"parent":"braille"},"towing":{"parent":"tow-truck"},"toy-brick-location":{"parent":"toy-brick-marker"},"toy-brick-location-outline":{"parent":"toy-brick-marker-outline"},"toys":{"parent":"pinwheel"},"toys-outline":{"parent":"pinwheel-outline"},"track-changes":{"parent":"radar"},"traffic-signal":{"parent":"traffic-light"},"traffic-signal-outline":{"parent":"traffic-light-outline"},"tragedy":{"parent":"drama-masks"},"train-crossing-light":{"parent":"railroad-light"},"train-track":{"parent":"fence"},"train-track-electric":{"parent":"fence-electric"},"trans-fat":{"parent":"water"},"trans-fat-off":{"parent":"water-off"},"trans-fat-off-outline":{"parent":"water-off-outline"},"transfer-within-a-station":{"parent":"transit-transfer"},"transportation":{"parent":"train-car"},"trash":{"parent":"delete"},"trash-can-circle":{"parent":"delete-circle"},"trash-can-circle-outline":{"parent":"delete-circle-outline"},"trash-can-empty":{"parent":"delete-empty"},"trash-circle":{"parent":"delete-circle"},"trash-circle-outline":{"parent":"delete-circle-outline"},"trash-empty":{"parent":"delete-empty"},"trash-outline":{"parent":"delete-outline"},"trash-restore":{"parent":"delete-restore"},"trash-variant":{"parent":"delete-variant"},"trashcan":{"parent":"trash-can"},"trashcan-outline":{"parent":"trash-can-outline"},"travel":{"parent":"train-car"},"tray-download":{"parent":"tray-arrow-down"},"tray-upload":{"parent":"tray-arrow-up"},"treat":{"parent":"candy"},"treat-off":{"parent":"candy-off"},"treat-off-outline":{"parent":"candy-off-outline"},"treat-outline":{"parent":"candy-outline"},"trending-down-variant":{"parent":"triangle-small-down"},"trending-flat":{"parent":"trending-neutral"},"trending-up-variant":{"parent":"triangle-small-up"},"trike":{"parent":"atv"},"trolley":{"parent":"cart"},"trolley-add":{"parent":"cart-plus"},"trolley-arrow-down":{"parent":"cart-arrow-down"},"trolley-arrow-right":{"parent":"cart-arrow-right"},"trolley-arrow-up":{"parent":"cart-arrow-up"},"trolley-minus":{"parent":"cart-minus"},"trolley-off":{"parent":"cart-off"},"trolley-outline":{"parent":"cart-outline"},"trolley-percent":{"parent":"cart-percent"},"trolley-plus":{"parent":"cart-plus"},"trolley-remove":{"parent":"cart-remove"},"truck-add":{"parent":"truck-plus"},"truck-add-outline":{"parent":"truck-plus-outline"},"truck-error":{"parent":"truck-alert"},"truck-error-outline":{"parent":"truck-alert-outline"},"truck-flatbed-tow":{"parent":"truck-flatbed"},"truck-freezer":{"parent":"truck-snowflake"},"truck-refrigerator":{"parent":"truck-snowflake"},"truck-shipping":{"parent":"truck-cargo-container"},"truck-subtract":{"parent":"truck-minus"},"truck-subtract-outline":{"parent":"truck-minus-outline"},"truck-tick":{"parent":"truck-check"},"tts":{"parent":"microphone-message"},"tts-off":{"parent":"microphone-message-off"},"tube":{"parent":"subway"},"tube-variant":{"parent":"subway-variant"},"tuner":{"parent":"knob"},"turkey-leg":{"parent":"food-drumstick"},"turkey-leg-off":{"parent":"food-drumstick-off"},"turkey-leg-off-outline":{"parent":"food-drumstick-off-outline"},"turkey-leg-outline":{"parent":"food-drumstick-outline"},"turn-left":{"parent":"arrow-left-top"},"turn-left-bold":{"parent":"arrow-left-top-bold"},"turn-right":{"parent":"arrow-right-top"},"turn-right-bold":{"parent":"arrow-right-top-bold"},"turned-in":{"parent":"bookmark"},"turned-in-not":{"parent":"bookmark-outline"},"tux":{"parent":"linux"},"tv":{"parent":"television"},"tv-box":{"parent":"television-box"},"tv-classic":{"parent":"television-classic"},"tv-classic-off":{"parent":"television-classic-off"},"tv-guide":{"parent":"television-box"},"tv-off":{"parent":"television-off"},"twitter-retweet":{"parent":"repeat-variant"},"two":{"parent":"tally-mark-2"},"two-wheeler":{"parent":"atv"},"tyrannosaurus-rex":{"parent":"google-downasaur"},"tyre":{"parent":"tire"},"u-turn-left":{"parent":"arrow-u-down-left"},"u-turn-left-bold":{"parent":"arrow-u-down-left-bold"},"u-turn-right":{"parent":"arrow-u-down-right"},"u-turn-right-bold":{"parent":"arrow-u-down-right-bold"},"uac":{"parent":"security"},"uac-network":{"parent":"security-network"},"uhd":{"parent":"ultra-high-definition"},"ultraviolet":{"parent":"sun-wireless"},"ultraviolet-outline":{"parent":"sun-wireless-outline"},"unarchive":{"parent":"package-up"},"underground":{"parent":"subway"},"underground-variant":{"parent":"subway-variant"},"underwear":{"parent":"lingerie"},"unidentified-flying-object":{"parent":"ufo"},"unidentified-flying-object-outline":{"parent":"ufo-outline"},"university":{"parent":"school"},"university-outline":{"parent":"school-outline"},"unlocked":{"parent":"lock-open"},"unlocked-add":{"parent":"lock-open-plus"},"unlocked-add-outline":{"parent":"lock-open-plus-outline"},"unlocked-alert":{"parent":"lock-open-alert"},"unlocked-alert-outline":{"parent":"lock-open-alert-outline"},"unlocked-check":{"parent":"lock-open-check"},"unlocked-check-outline":{"parent":"lock-open-check-outline"},"unlocked-minus":{"parent":"lock-open-minus"},"unlocked-minus-outline":{"parent":"lock-open-minus-outline"},"unlocked-outline":{"parent":"lock-open-outline"},"unlocked-plus":{"parent":"lock-open-plus"},"unlocked-plus-outline":{"parent":"lock-open-plus-outline"},"unlocked-remove":{"parent":"lock-open-remove"},"unlocked-remove-outline":{"parent":"lock-open-remove-outline"},"unlocked-variant":{"parent":"lock-open-variant"},"unlocked-variant-outline":{"parent":"lock-open-variant-outline"},"unlocked-warning":{"parent":"lock-open-alert"},"unlocked-warning-outline":{"parent":"lock-open-alert-outline"},"unreal-engine":{"parent":"unreal"},"unsecure":{"parent":"lock-off"},"unsecure-outline":{"parent":"lock-off-outline"},"unwrap":{"parent":"wrap-disabled"},"uplay":{"parent":"ubisoft"},"uploads":{"parent":"upload-multiple"},"user":{"parent":"account"},"user-access-control":{"parent":"security"},"user-add":{"parent":"account-plus"},"user-add-outline":{"parent":"account-plus-outline"},"user-alert":{"parent":"account-alert"},"user-alert-outline":{"parent":"account-alert-outline"},"user-arrow-left":{"parent":"account-arrow-left"},"user-arrow-left-outline":{"parent":"account-arrow-left-outline"},"user-arrow-right":{"parent":"account-arrow-right"},"user-arrow-right-outline":{"parent":"account-arrow-right-outline"},"user-badge":{"parent":"badge-account"},"user-badge-alert":{"parent":"badge-account-alert"},"user-badge-alert-outline":{"parent":"badge-account-alert-outline"},"user-badge-outline":{"parent":"badge-account-outline"},"user-badge-warning":{"parent":"badge-account-alert"},"user-badge-warning-outline":{"parent":"badge-account-alert-outline"},"user-block":{"parent":"account-cancel"},"user-block-outline":{"parent":"account-cancel-outline"},"user-box":{"parent":"account-box"},"user-box-multiple":{"parent":"account-box-multiple"},"user-box-outline":{"parent":"account-box-outline"},"user-boxes":{"parent":"account-box-multiple"},"user-cancel":{"parent":"account-cancel"},"user-cancel-outline":{"parent":"account-cancel-outline"},"user-card-details":{"parent":"card-account-details"},"user-card-details-outline":{"parent":"card-account-details-outline"},"user-check":{"parent":"account-check"},"user-check-outline":{"parent":"account-check-outline"},"user-child":{"parent":"account-child"},"user-child-circle":{"parent":"account-child-circle"},"user-circle":{"parent":"account-circle"},"user-circle-outline":{"parent":"account-circle-outline"},"user-clock":{"parent":"account-clock"},"user-clock-outline":{"parent":"account-clock-outline"},"user-convert":{"parent":"account-convert"},"user-details":{"parent":"account-details"},"user-details-outline":{"parent":"account-details-outline"},"user-edit":{"parent":"account-edit"},"user-group":{"parent":"account-group"},"user-group-outline":{"parent":"account-group-outline"},"user-heart":{"parent":"account-heart"},"user-heart-outline":{"parent":"account-heart-outline"},"user-help":{"parent":"account-question"},"user-help-outline":{"parent":"account-question-outline"},"user-key":{"parent":"account-key"},"user-key-outline":{"parent":"account-key-outline"},"user-lock":{"parent":"account-lock"},"user-lock-open":{"parent":"account-lock-open"},"user-lock-open-outline":{"parent":"account-lock-open-outline"},"user-lock-outline":{"parent":"account-lock-outline"},"user-minus":{"parent":"account-minus"},"user-minus-outline":{"parent":"account-minus-outline"},"user-multiple":{"parent":"account-multiple"},"user-multiple-add":{"parent":"account-multiple-plus"},"user-multiple-add-outline":{"parent":"account-multiple-plus-outline"},"user-multiple-check":{"parent":"account-multiple-check"},"user-multiple-check-outline":{"parent":"account-multiple-check-outline"},"user-multiple-minus":{"parent":"account-multiple-minus"},"user-multiple-minus-outline":{"parent":"account-multiple-minus-outline"},"user-multiple-outline":{"parent":"account-multiple-outline"},"user-multiple-plus":{"parent":"account-multiple-plus"},"user-multiple-plus-outline":{"parent":"account-multiple-plus-outline"},"user-multiple-remove":{"parent":"account-multiple-remove"},"user-multiple-remove-outline":{"parent":"account-multiple-remove-outline"},"user-multiple-tick":{"parent":"account-multiple-check"},"user-multiple-tick-outline":{"parent":"account-multiple-check-outline"},"user-network":{"parent":"account-network"},"user-network-outline":{"parent":"account-network-outline"},"user-off":{"parent":"account-off"},"user-off-outline":{"parent":"account-off-outline"},"user-online":{"parent":"account-badge"},"user-online-outline":{"parent":"account-badge-outline"},"user-outline":{"parent":"account-outline"},"user-plus":{"parent":"account-plus"},"user-plus-outline":{"parent":"account-plus-outline"},"user-question":{"parent":"account-question"},"user-question-outline":{"parent":"account-question-outline"},"user-remove":{"parent":"account-remove"},"user-remove-outline":{"parent":"account-remove-outline"},"user-search":{"parent":"account-search"},"user-search-outline":{"parent":"account-search-outline"},"user-settings":{"parent":"account-settings"},"user-settings-variant":{"parent":"account-details"},"user-star":{"parent":"account-star"},"user-star-outline":{"parent":"account-star-outline"},"user-supervisor":{"parent":"account-supervisor"},"user-supervisor-circle":{"parent":"account-supervisor-circle"},"user-switch":{"parent":"account-switch"},"user-tick":{"parent":"account-check"},"user-tick-outline":{"parent":"account-check-outline"},"user-tie":{"parent":"account-tie"},"user-unlocked":{"parent":"account-lock-open"},"user-unlocked-outline":{"parent":"account-lock-open-outline"},"user-warning":{"parent":"account-alert"},"user-warning-outline":{"parent":"account-alert-outline"},"users":{"parent":"account-multiple"},"users-add":{"parent":"account-multiple-plus"},"users-add-outline":{"parent":"account-multiple-plus-outline"},"users-check":{"parent":"account-multiple-check"},"users-check-outline":{"parent":"account-multiple-check-outline"},"users-group":{"parent":"account-group"},"users-group-outline":{"parent":"account-group-outline"},"users-minus":{"parent":"account-multiple-minus"},"users-minus-outline":{"parent":"account-multiple-minus-outline"},"users-outline":{"parent":"account-multiple-outline"},"users-plus":{"parent":"account-multiple-plus"},"users-plus-outline":{"parent":"account-multiple-plus-outline"},"users-switch":{"parent":"account-switch"},"users-tick":{"parent":"account-multiple-check"},"users-tick-outline":{"parent":"account-multiple-check-outline"},"uv-ray":{"parent":"sun-wireless"},"uv-ray-outline":{"parent":"sun-wireless-outline"},"vacuum-cleaner":{"parent":"vacuum"},"vacuum-cleaner-outline":{"parent":"vacuum-outline"},"van-candy":{"parent":"van-utility"},"vector-point-add":{"parent":"vector-point-plus"},"vector-square-add":{"parent":"vector-square-plus"},"vector-square-delete":{"parent":"vector-square-remove"},"vector-square-subtract":{"parent":"vector-square-minus"},"vegetarian":{"parent":"square-circle"},"velocity":{"parent":"bike-fast"},"venn-diagram":{"parent":"set-none"},"ventilation":{"parent":"hvac"},"ventilation-off":{"parent":"hvac-off"},"venus":{"parent":"gender-female"},"veranda":{"parent":"balcony"},"verified":{"parent":"check-decagram"},"verified-user":{"parent":"shield-check"},"vertical-rotate-clockwise":{"parent":"axis-z-rotate-clockwise"},"vertical-rotate-counterclockwise":{"parent":"axis-z-rotate-counterclockwise"},"vespa":{"parent":"moped"},"vespa-electric":{"parent":"moped-electric"},"vespa-electric-outline":{"parent":"moped-electric-outline"},"vespa-outline":{"parent":"moped-outline"},"vga":{"parent":"serial-port"},"vhs-cassette":{"parent":"vhs"},"vhs-tape":{"parent":"vhs"},"vibration":{"parent":"vibrate"},"video-add":{"parent":"video-plus"},"video-call":{"parent":"video-plus"},"video-chat":{"parent":"laptop-account"},"video-classic":{"parent":"video-vintage"},"video-film":{"parent":"video-vintage"},"video-home-system":{"parent":"vhs"},"video-input-composite":{"parent":"video-input-component"},"video-input-ypbpr":{"parent":"video-input-component"},"video-location":{"parent":"video-marker"},"video-location-outline":{"parent":"video-marker-outline"},"video-remove":{"parent":"video-minus"},"video-stabilisation":{"parent":"video-stabilization"},"video-user":{"parent":"video-account"},"video-youtube":{"parent":"youtube"},"videocam":{"parent":"video"},"videocam-off":{"parent":"video-off"},"videocam-off-outline":{"parent":"video-off-outline"},"videocam-outline":{"parent":"video-outline"},"view-arrow-left":{"parent":"eye-arrow-left"},"view-arrow-left-outline":{"parent":"eye-arrow-left-outline"},"view-arrow-right":{"parent":"eye-arrow-right"},"view-arrow-right-outline":{"parent":"eye-arrow-right-outline"},"view-grid-add":{"parent":"view-grid-plus"},"view-in-ar":{"parent":"cube-scan"},"view-in-augmented-reality":{"parent":"cube-scan"},"view-refresh":{"parent":"eye-refresh"},"view-refresh-outline":{"parent":"eye-refresh-outline"},"vinyl":{"parent":"album"},"virtual-meeting":{"parent":"laptop-account"},"virtual-private-network":{"parent":"vpn"},"visibility":{"parent":"eye"},"visibility-off":{"parent":"eye-off"},"visibility-off-outline":{"parent":"eye-off-outline"},"visibility-outline":{"parent":"eye-outline"},"visual-studio":{"parent":"microsoft-visual-studio"},"visual-studio-code":{"parent":"microsoft-visual-studio-code"},"visualstudio":{"parent":"microsoft-visual-studio"},"vitals":{"parent":"pulse"},"vkontakte":{"parent":"vk"},"vkontakte-box":{"parent":"vk-box"},"vkontakte-circle":{"parent":"vk-circle"},"voice":{"parent":"account-voice"},"voice-chat":{"parent":"message-video"},"voice-off":{"parent":"account-voice-off"},"volume-control":{"parent":"knob"},"volume-decrease":{"parent":"volume-minus"},"volume-increase":{"parent":"volume-plus"},"volume-knob":{"parent":"knob"},"volunteer":{"parent":"hand-heart"},"vote-recount":{"parent":"ballot-recount"},"vote-recount-outline":{"parent":"ballot-recount-outline"},"voucher":{"parent":"ticket-percent"},"voucher-outline":{"parent":"ticket-percent-outline"},"voyager":{"parent":"ship-wheel"},"vpn-key":{"parent":"key"},"vr":{"parent":"virtual-reality"},"vs-code":{"parent":"microsoft-visual-studio-code"},"vue-js":{"parent":"vuejs"},"w3c":{"parent":"semantic-web"},"walker":{"parent":"walk"},"walking":{"parent":"walk"},"wall-charger":{"parent":"ev-station"},"wallbox":{"parent":"ev-station"},"wallet-add":{"parent":"wallet-plus"},"wallet-add-outline":{"parent":"wallet-plus-outline"},"wallet-product":{"parent":"google-wallet"},"wand":{"parent":"auto-fix"},"warmth":{"parent":"heat-wave"},"warning":{"parent":"alert"},"warning-box":{"parent":"alert-box"},"warning-box-outline":{"parent":"alert-box-outline"},"warning-circle":{"parent":"alert-circle"},"warning-circle-outline":{"parent":"alert-circle-outline"},"warning-decagram":{"parent":"alert-decagram"},"warning-decagram-outline":{"parent":"alert-decagram-outline"},"warning-lights":{"parent":"hazard-lights"},"warning-octagon":{"parent":"alert-octagon"},"warning-octagon-outline":{"parent":"alert-octagon-outline"},"warning-octagram":{"parent":"alert-octagram"},"warning-octagram-outline":{"parent":"alert-octagram-outline"},"warning-outline":{"parent":"alert-outline"},"washer-fluid":{"parent":"wiper-wash"},"washer-fluid-alert":{"parent":"wiper-wash-alert"},"washer-fluid-low":{"parent":"wiper-wash-alert"},"watch-later":{"parent":"clock"},"water-boiler-error":{"parent":"water-boiler-alert"},"water-drop":{"parent":"water"},"water-drop-outline":{"parent":"water-outline"},"water-evaporation":{"parent":"waves-arrow-up"},"water-filter":{"parent":"air-filter"},"water-flow":{"parent":"waves-arrow-left"},"water-heater":{"parent":"water-boiler"},"water-heater-alert":{"parent":"water-boiler-alert"},"water-heater-auto":{"parent":"water-boiler-auto"},"water-heater-error":{"parent":"water-boiler-alert"},"water-heater-off":{"parent":"water-boiler-off"},"water-recycle":{"parent":"water-sync"},"water-reuse":{"parent":"water-sync"},"water-saver":{"parent":"water-opacity"},"water-temperature":{"parent":"thermometer-water"},"water-temperature-outline":{"parent":"water-thermometer-outline"},"water-transparent":{"parent":"water-opacity"},"water-truck":{"parent":"tanker-truck"},"water-turbine":{"parent":"hydro-power"},"watering-pot":{"parent":"watering-can"},"watering-pot-outline":{"parent":"watering-can-outline"},"watermill":{"parent":"hydro-power"},"wb-auto":{"parent":"white-balance-auto"},"wb-cloudy":{"parent":"cloud"},"wb-incandescent":{"parent":"white-balance-incandescent"},"wb-iridescent":{"parent":"white-balance-iridescent"},"wb-sunny":{"parent":"white-balance-sunny"},"wc":{"parent":"human-male-female"},"weather-date":{"parent":"weather-cloudy-clock"},"weather-drizzle":{"parent":"weather-rainy"},"weather-flash":{"parent":"weather-lightning"},"weather-heavy-rain":{"parent":"weather-pouring"},"weather-history":{"parent":"weather-cloudy-clock"},"weather-mist":{"parent":"weather-fog"},"weather-partlycloudy":{"parent":"weather-partly-cloudy"},"weather-sleet":{"parent":"weather-snowy-rainy"},"weather-spitting":{"parent":"weather-rainy"},"weather-storm":{"parent":"weather-lightning"},"weather-sun-wireless":{"parent":"sun-wireless"},"weather-sun-wireless-outline":{"parent":"sun-wireless-outline"},"weather-thunder":{"parent":"weather-lightning"},"weather-thunder-rainy":{"parent":"weather-lightning-rainy"},"weather-time":{"parent":"weather-cloudy-clock"},"web-asset":{"parent":"application-outline"},"web-camera":{"parent":"webcam"},"web-ontology-language":{"parent":"semantic-web"},"weed":{"parent":"cannabis"},"weight-kg":{"parent":"weight-kilogram"},"weight-lb":{"parent":"weight-pound"},"weights":{"parent":"dumbbell"},"whatshot":{"parent":"fire"},"wheat":{"parent":"barley"},"wheat-off":{"parent":"barley-off"},"wheel":{"parent":"tire"},"where-to-vote":{"parent":"map-marker-check"},"where-to-vote-outline":{"parent":"map-marker-check-outline"},"whiff-whaff":{"parent":"table-tennis"},"whiskey":{"parent":"liquor"},"whiteboard":{"parent":"human-male-board"},"wide-area-network":{"parent":"wan"},"widget-arc":{"parent":"chart-arc"},"widget-areaspline":{"parent":"chart-areaspline"},"widget-areaspline-variant":{"parent":"chart-areaspline-variant"},"widget-bar":{"parent":"chart-bar"},"widget-bar-stacked":{"parent":"chart-bar-stacked"},"widget-bell-curve":{"parent":"chart-bell-curve"},"widget-bell-curve-cumulative":{"parent":"chart-bell-curve-cumulative"},"widget-box":{"parent":"chart-box"},"widget-box-outline":{"parent":"chart-box-outline"},"widget-box-plus-outline":{"parent":"chart-box-plus-outline"},"widget-bubble":{"parent":"chart-bubble"},"widget-donut":{"parent":"chart-donut"},"widget-donut-variant":{"parent":"chart-donut-variant"},"widget-gantt":{"parent":"chart-gantt"},"widget-histogram":{"parent":"chart-histogram"},"widget-line":{"parent":"chart-line"},"widget-line-shimmer":{"parent":"chart-timeline-variant-shimmer"},"widget-line-stacked":{"parent":"chart-line-stacked"},"widget-line-variant":{"parent":"chart-line-variant"},"widget-multiline":{"parent":"chart-multiline"},"widget-multiple":{"parent":"chart-multiple"},"widget-pie":{"parent":"chart-pie"},"widget-pie-outline":{"parent":"chart-pie-outline"},"widget-ppf":{"parent":"chart-ppf"},"widget-sankey":{"parent":"chart-sankey"},"widget-sankey-variant":{"parent":"chart-sankey-variant"},"widget-scatter-plot":{"parent":"chart-scatter-plot"},"widget-scatter-plot-hexbin":{"parent":"chart-scatter-plot-hexbin"},"widget-timeline":{"parent":"chart-timeline"},"widget-timeline-variant":{"parent":"chart-timeline-variant"},"widget-timeline-variant-shimmer":{"parent":"chart-timeline-variant-shimmer"},"widget-tree":{"parent":"chart-tree"},"wifi-favorite":{"parent":"wifi-star"},"wifi-favourite":{"parent":"wifi-star"},"wifi-location":{"parent":"wifi-marker"},"wifi-strength-0":{"parent":"wifi-strength-outline"},"wifi-strength-0-alert":{"parent":"wifi-strength-alert-outline"},"wifi-strength-0-lock":{"parent":"wifi-strength-lock-outline"},"wifi-strength-0-warning":{"parent":"wifi-strength-alert-outline"},"wifi-strength-1-warning":{"parent":"wifi-strength-1-alert"},"wifi-strength-2-warning":{"parent":"wifi-strength-2-alert"},"wifi-strength-3-warning":{"parent":"wifi-strength-3-alert"},"wifi-strength-4-warning":{"parent":"wifi-strength-4-alert"},"wifi-strength-warning-outline":{"parent":"wifi-strength-alert-outline"},"wii":{"parent":"nintendo-wii"},"wiiu":{"parent":"nintendo-wiiu"},"wildfire":{"parent":"pine-tree-fire"},"wind-electricity":{"parent":"wind-power"},"wind-electricity-outline":{"parent":"wind-power-outline"},"wind-energy":{"parent":"wind-power"},"wind-energy-outline":{"parent":"wind-power-outline"},"wind-power-alert":{"parent":"wind-turbine-alert"},"wind-power-check":{"parent":"wind-turbine-check"},"wind-power-success":{"parent":"wind-turbine-check"},"wind-turbine-success":{"parent":"wind-turbine-check"},"wind-turbine-warning":{"parent":"wind-turbine-alert"},"window":{"parent":"blinds-vertical"},"windows":{"parent":"microsoft-windows"},"windows-classic":{"parent":"microsoft-windows-classic"},"windy":{"parent":"weather-dust"},"wine":{"parent":"liquor"},"wiper-fluid":{"parent":"wiper-wash"},"wiper-fluid-alert":{"parent":"wiper-wash-alert"},"wiper-fluid-low":{"parent":"wiper-wash-alert"},"wireless":{"parent":"access-point"},"wish":{"parent":"oil-lamp"},"woman":{"parent":"human-female"},"woman-child":{"parent":"human-female-boy"},"woman-woman":{"parent":"human-female-female"},"women":{"parent":"human-female-female"},"won":{"parent":"currency-krw"},"work":{"parent":"briefcase"},"work-outline":{"parent":"briefcase-outline"},"worker":{"parent":"account-hard-hat"},"worker-outline":{"parent":"account-hard-hat-outline"},"workflow":{"parent":"sitemap"},"workflow-outline":{"parent":"sitemap-outline"},"world":{"parent":"earth"},"world-arrow-right":{"parent":"earth-arrow-right"},"world-box":{"parent":"earth-box"},"world-box-minus":{"parent":"earth-box-minus"},"world-box-off":{"parent":"earth-box-off"},"world-box-plus":{"parent":"earth-box-plus"},"world-box-remove":{"parent":"earth-box-remove"},"world-minus":{"parent":"earth-minus"},"world-off":{"parent":"earth-off"},"world-plus":{"parent":"earth-plus"},"world-remove":{"parent":"earth-remove"},"world-wide-web":{"parent":"web"},"wrench-settings":{"parent":"wrench-cog"},"wrench-settings-outline":{"parent":"wrench-cog-outline"},"wrench-time":{"parent":"wrench-clock"},"wrestling":{"parent":"kabaddi"},"writing-system-arabic":{"parent":"abjad-arabic"},"writing-system-aurebesh":{"parent":"alphabet-aurebesh"},"writing-system-cjk":{"parent":"ideogram-cjk"},"writing-system-cjk-variant":{"parent":"ideogram-cjk-variant"},"writing-system-cyrillic":{"parent":"alphabet-cyrillic"},"writing-system-devanagari":{"parent":"abugida-devanagari"},"writing-system-greek":{"parent":"alphabet-greek"},"writing-system-hangul":{"parent":"syllabary-hangul"},"writing-system-hebrew":{"parent":"abjad-hebrew"},"writing-system-hiragana":{"parent":"syllabary-hiragana"},"writing-system-katakana":{"parent":"syllabary-katakana"},"writing-system-katakana-half-width":{"parent":"syllabary-katakana-halfwidth"},"writing-system-latin":{"parent":"alphabet-latin"},"writing-system-piqad":{"parent":"alphabet-piqad"},"writing-system-tengwar":{"parent":"alphabet-tengwar"},"writing-system-thai":{"parent":"abugida-thai"},"x-ray":{"parent":"skull-scan"},"x-ray-box":{"parent":"radiology-box"},"x-ray-box-outline":{"parent":"radiology-box-outline"},"x-ray-outline":{"parent":"skull-scan-outline"},"xaml":{"parent":"language-xaml"},"xbox":{"parent":"microsoft-xbox"},"xbox-controller":{"parent":"microsoft-xbox-controller"},"xbox-controller-battery-alert":{"parent":"microsoft-xbox-controller-battery-alert"},"xbox-controller-battery-charging":{"parent":"microsoft-xbox-controller-battery-charging"},"xbox-controller-battery-empty":{"parent":"microsoft-xbox-controller-battery-empty"},"xbox-controller-battery-full":{"parent":"microsoft-xbox-controller-battery-full"},"xbox-controller-battery-low":{"parent":"microsoft-xbox-controller-battery-low"},"xbox-controller-battery-medium":{"parent":"microsoft-xbox-controller-battery-medium"},"xbox-controller-battery-unknown":{"parent":"microsoft-xbox-controller-battery-unknown"},"xbox-controller-battery-warning":{"parent":"microsoft-xbox-controller-battery-alert"},"xbox-controller-menu":{"parent":"microsoft-xbox-controller-menu"},"xbox-controller-off":{"parent":"microsoft-xbox-controller-off"},"xbox-controller-view":{"parent":"microsoft-xbox-controller-view"},"xbox-live":{"parent":"microsoft-xbox"},"xi":{"parent":"currency-eth"},"xing-box":{"parent":"xing"},"yen":{"parent":"currency-jpy"},"youtube-creator-studio":{"parent":"youtube-studio"},"youtube-play":{"parent":"youtube"},"youtube-sports":{"parent":"basketball"},"yuan":{"parent":"currency-cny"},"zelda":{"parent":"triforce"},"zhuyin":{"parent":"furigana-vertical"},"zoom-in":{"parent":"magnify-plus"},"zoom-in-cursor":{"parent":"magnify-plus-cursor"},"zoom-in-outline":{"parent":"magnify-plus-outline"},"zoom-out":{"parent":"magnify-minus"},"zoom-out-cursor":{"parent":"magnify-minus-cursor"},"zoom-out-outline":{"parent":"magnify-minus-outline"},"zoom-plus":{"parent":"loupe"},"zorro-mask":{"parent":"domino-mask"},"zwave":{"parent":"z-wave"}},"lastModified":1673788155,"width":24,"height":24}); +addCollection({"prefix":"custom","lastModified":1675685825,"icons":{"vertical-nav-header-arrow":{"body":"","width":24,"height":24}}}); diff --git a/src/plugins/vuetify/@iconify/tsconfig.json b/src/plugins/vuetify/@iconify/tsconfig.json new file mode 100644 index 00000000..05547e3c --- /dev/null +++ b/src/plugins/vuetify/@iconify/tsconfig.json @@ -0,0 +1,18 @@ +{ + "compilerOptions": { + "target": "ESNext", + "module": "CommonJS", + "declaration": false, + "declarationMap": false, + "sourceMap": false, + "composite": false, + "strict": true, + "moduleResolution": "node", + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, + "importsNotUsedAsValues": "error" + }, + "exclude": [ + "./*.js" + ] +} diff --git a/src/plugins/vuetify/@layouts/components.ts b/src/plugins/vuetify/@layouts/components.ts new file mode 100644 index 00000000..161ae0ee --- /dev/null +++ b/src/plugins/vuetify/@layouts/components.ts @@ -0,0 +1,6 @@ +export { default as TransitionExpand } from './components/TransitionExpand.vue' +export { default as VerticalNav } from './components/VerticalNav.vue' +export { default as VerticalNavGroup } from './components/VerticalNavGroup.vue' +export { default as VerticalNavLayout } from './components/VerticalNavLayout.vue' +export { default as VerticalNavLink } from './components/VerticalNavLink.vue' +export { default as VerticalNavSectionTitle } from './components/VerticalNavSectionTitle.vue' diff --git a/src/plugins/vuetify/@layouts/components/TransitionExpand.vue b/src/plugins/vuetify/@layouts/components/TransitionExpand.vue new file mode 100644 index 00000000..5cae328a --- /dev/null +++ b/src/plugins/vuetify/@layouts/components/TransitionExpand.vue @@ -0,0 +1,92 @@ + + + + + + + diff --git a/src/plugins/vuetify/@layouts/components/VNodeRenderer.tsx b/src/plugins/vuetify/@layouts/components/VNodeRenderer.tsx new file mode 100644 index 00000000..c275fe34 --- /dev/null +++ b/src/plugins/vuetify/@layouts/components/VNodeRenderer.tsx @@ -0,0 +1,17 @@ +import type { PropType, VNode } from 'vue' + +export const VNodeRenderer = defineComponent({ + name: 'VNodeRenderer', + props: { + nodes: { + type: [Array, Object] as PropType, + required: true, + }, + }, + setup(props) { + return () => props.nodes + }, +}) + +// eslint-disable-next-line @typescript-eslint/no-redeclare +export type VNodeRenderer = InstanceType diff --git a/src/plugins/vuetify/@layouts/components/VerticalNav.vue b/src/plugins/vuetify/@layouts/components/VerticalNav.vue new file mode 100644 index 00000000..1b17aa06 --- /dev/null +++ b/src/plugins/vuetify/@layouts/components/VerticalNav.vue @@ -0,0 +1,176 @@ + + + + + diff --git a/src/plugins/vuetify/@layouts/components/VerticalNavGroup.vue b/src/plugins/vuetify/@layouts/components/VerticalNavGroup.vue new file mode 100644 index 00000000..4006413e --- /dev/null +++ b/src/plugins/vuetify/@layouts/components/VerticalNavGroup.vue @@ -0,0 +1,253 @@ + + + + + diff --git a/src/plugins/vuetify/@layouts/components/VerticalNavLayout.vue b/src/plugins/vuetify/@layouts/components/VerticalNavLayout.vue new file mode 100644 index 00000000..459ff6c0 --- /dev/null +++ b/src/plugins/vuetify/@layouts/components/VerticalNavLayout.vue @@ -0,0 +1,250 @@ + + + diff --git a/src/plugins/vuetify/@layouts/components/VerticalNavLink.vue b/src/plugins/vuetify/@layouts/components/VerticalNavLink.vue new file mode 100644 index 00000000..06599747 --- /dev/null +++ b/src/plugins/vuetify/@layouts/components/VerticalNavLink.vue @@ -0,0 +1,48 @@ + + + + + diff --git a/src/plugins/vuetify/@layouts/components/VerticalNavSectionTitle.vue b/src/plugins/vuetify/@layouts/components/VerticalNavSectionTitle.vue new file mode 100644 index 00000000..1e967c96 --- /dev/null +++ b/src/plugins/vuetify/@layouts/components/VerticalNavSectionTitle.vue @@ -0,0 +1,34 @@ + + + diff --git a/src/plugins/vuetify/@layouts/composable/useDynamicVhCssProperty.ts b/src/plugins/vuetify/@layouts/composable/useDynamicVhCssProperty.ts new file mode 100644 index 00000000..066edac5 --- /dev/null +++ b/src/plugins/vuetify/@layouts/composable/useDynamicVhCssProperty.ts @@ -0,0 +1,14 @@ +// Thanks: https://css-tricks.com/the-trick-to-viewport-units-on-mobile/ +export const useDynamicVhCssProperty = () => { + const vh = ref(0) + + const updateVh = () => { + vh.value = window.innerHeight * 0.01 + document.documentElement.style.setProperty('--vh', `${vh.value}px`) + } + + tryOnBeforeMount(() => { + updateVh() + useEventListener('resize', updateVh) + }) +} diff --git a/src/plugins/vuetify/@layouts/composable/useLayouts.ts b/src/plugins/vuetify/@layouts/composable/useLayouts.ts new file mode 100644 index 00000000..2770e1d5 --- /dev/null +++ b/src/plugins/vuetify/@layouts/composable/useLayouts.ts @@ -0,0 +1,206 @@ +import type { MaybeRef } from '@vueuse/shared' +import type { Ref } from 'vue' +import { AppContentLayoutNav, NavbarType } from '../enums' +import { themeConfig as config } from '@themeConfig' +import { injectionKeyIsVerticalNavHovered } from '@layouts' + +export const useLayouts = () => { + const navbarType = computed({ + get() { + return config.navbar.type.value + }, + set(value: typeof config.navbar.type.value) { + config.navbar.type.value = value + }, + }) + + const isNavbarBlurEnabled = computed({ + get() { + return config.navbar.navbarBlur.value + }, + set(value: typeof config.navbar.navbarBlur.value) { + config.navbar.navbarBlur.value = value + localStorage.setItem(`${config.app.title}-navbarBlur`, value.toString()) + }, + }) + + const _setAppDir = (dir: 'ltr' | 'rtl') => { + document.documentElement.setAttribute('dir', dir) + } + + const footerType = computed({ + get() { + return config.footer.type.value + }, + set(value: typeof config.footer.type.value) { + config.footer.type.value = value + }, + }) + + const isVerticalNavCollapsed = computed({ + get() { + return config.verticalNav.isVerticalNavCollapsed.value + }, + set(val: typeof config.verticalNav.isVerticalNavCollapsed.value) { + config.verticalNav.isVerticalNavCollapsed.value = val + localStorage.setItem(`${config.app.title}-isVerticalNavCollapsed`, val.toString()) + }, + }) + + const appContentWidth = computed({ + get() { + return config.app.contentWidth.value + }, + set(val: typeof config.app.contentWidth.value) { + config.app.contentWidth.value = val + localStorage.setItem(`${config.app.title}-contentWidth`, val.toString()) + }, + }) + + const appContentLayoutNav = computed({ + get() { + return config.app.contentLayoutNav.value + }, + set(val: typeof config.app.contentLayoutNav.value) { + config.app.contentLayoutNav.value = val + + // If Navbar type is hidden while switching to horizontal nav => Reset it to sticky + if (val === AppContentLayoutNav.Horizontal) { + if (navbarType.value === NavbarType.Hidden) + navbarType.value = NavbarType.Sticky + + isVerticalNavCollapsed.value = false + } + }, + }) + + const horizontalNavType = computed({ + get() { + return config.horizontalNav.type.value + }, + set(value: typeof config.horizontalNav.type.value) { + config.horizontalNav.type.value = value + }, + }) + + const isLessThanOverlayNavBreakpoint = computed(() => { + return (windowWidth: MaybeRef) => unref(windowWidth) < config.app.overlayNavFromBreakpoint + }) + + const _layoutClasses = computed(() => (windowWidth: MaybeRef, windowScrollY: MaybeRef) => { + const route = useRoute() + + return [ + `layout-nav-type-${appContentLayoutNav.value}`, + `layout-navbar-${navbarType.value}`, + `layout-footer-${footerType.value}`, + { + 'layout-vertical-nav-collapsed': + isVerticalNavCollapsed.value + && appContentLayoutNav.value === 'vertical' + && !isLessThanOverlayNavBreakpoint.value(windowWidth), + }, + { [`horizontal-nav-${horizontalNavType.value}`]: appContentLayoutNav.value === 'horizontal' }, + `layout-content-width-${appContentWidth.value}`, + { 'layout-overlay-nav': isLessThanOverlayNavBreakpoint.value(windowWidth) }, + { 'window-scrolled': unref(windowScrollY) }, + route.meta.layoutWrapperClasses ? route.meta.layoutWrapperClasses : null, + ] + }) + + const switchToVerticalNavOnLtOverlayNavBreakpoint = (windowWidth: MaybeRef) => { + /* + ℹ️ This is flag will hold nav type need to render when switching between lgAndUp from mdAndDown window width + + Requirement: When we nav is set to `horizontal` and we hit the `mdAndDown` breakpoint nav type shall change to `vertical` nav + Now if we go back to `lgAndUp` breakpoint from `mdAndDown` how we will know which was previous nav type in large device? + + Let's assign value of `appContentLayoutNav` as default value of lgAndUpNav. Why 🤔? + If template is viewed in lgAndUp + We will assign `appContentLayoutNav` value to `lgAndUpNav` because at this point both constant is same + Hence, for `lgAndUpNav` it will take value from theme config file + else + It will always show vertical nav and if user increase the window width it will fallback to `appContentLayoutNav` value + But `appContentLayoutNav` will be value set in theme config file + */ + const lgAndUpNav = ref(appContentLayoutNav.value) + + /* + There might be case where we manually switch from vertical to horizontal nav and vice versa in `lgAndUp` screen + So when user comes back from `mdAndDown` to `lgAndUp` we can set updated nav type + For this we need to update the `lgAndUpNav` value if screen is `lgAndUp` + */ + watch(appContentLayoutNav, value => { + if (!isLessThanOverlayNavBreakpoint.value(windowWidth)) + lgAndUpNav.value = value + }) + + /* + This is layout switching part + If it's `mdAndDown` => We will use vertical nav no matter what previous nav type was + Or if it's `lgAndUp` we need to switch back to `lgAndUp` nav type. For this we will tracker property `lgAndUpNav` + */ + watch(() => isLessThanOverlayNavBreakpoint.value(windowWidth), val => { + if (!val) + appContentLayoutNav.value = lgAndUpNav.value + else + appContentLayoutNav.value = AppContentLayoutNav.Vertical + }, { immediate: true }) + } + + /* + This function will return true if current state is mini. Mini state means vertical nav is: + - Collapsed + - Isn't hovered by mouse + - nav is not less than overlay breakpoint (hence, isn't overlay menu) + + ℹ️ We are getting `isVerticalNavHovered` as param instead of via `inject` because + we are using this in `VerticalNav.vue` component which provide it and I guess because + same component is providing & injecting we are getting undefined error + */ + const isVerticalNavMini = (windowWidth: MaybeRef, isVerticalNavHovered: Ref | null = null) => { + const isVerticalNavHoveredLocal = isVerticalNavHovered || inject(injectionKeyIsVerticalNavHovered) || ref(false) + + return computed(() => isVerticalNavCollapsed.value && !isVerticalNavHoveredLocal.value && !isLessThanOverlayNavBreakpoint.value(unref(windowWidth))) + } + + const dynamicI18nProps = computed(() => (key: string, tag = 'span') => { + if (config.app.enableI18n) { + return { + keypath: key, + tag, + scope: 'global', + } + } + + return {} + }) + + const isAppRtl = computed({ + get() { + return config.app.isRtl.value + }, + set(value: typeof config.app.isRtl.value) { + config.app.isRtl.value = value + localStorage.setItem(`${config.app.title}-isRtl`, value.toString()) + _setAppDir(value ? 'rtl' : 'ltr') + }, + }) + + return { + navbarType, + isNavbarBlurEnabled, + footerType, + isVerticalNavCollapsed, + appContentWidth, + appContentLayoutNav, + horizontalNavType, + isLessThanOverlayNavBreakpoint, + _layoutClasses, + switchToVerticalNavOnLtOverlayNavBreakpoint, + isVerticalNavMini, + dynamicI18nProps, + isAppRtl, + _setAppDir, + } +} diff --git a/src/plugins/vuetify/@layouts/enums.ts b/src/plugins/vuetify/@layouts/enums.ts new file mode 100644 index 00000000..5974cfc3 --- /dev/null +++ b/src/plugins/vuetify/@layouts/enums.ts @@ -0,0 +1,21 @@ +export const ContentWidth = { + Fluid: 'fluid', + Boxed: 'boxed', +} as const + +export const NavbarType = { + Sticky: 'sticky', + Static: 'static', + Hidden: 'hidden', +} as const + +export const FooterType = { + Sticky: 'sticky', + Static: 'static', + Hidden: 'hidden', +} as const + +export const AppContentLayoutNav = { + Vertical: 'vertical', + Horizontal: 'horizontal', +} as const diff --git a/src/plugins/vuetify/@layouts/index.ts b/src/plugins/vuetify/@layouts/index.ts new file mode 100644 index 00000000..1bc35e2f --- /dev/null +++ b/src/plugins/vuetify/@layouts/index.ts @@ -0,0 +1,63 @@ +import type { InjectionKey, Plugin, Ref } from 'vue' +import { useDynamicVhCssProperty } from './composable/useDynamicVhCssProperty' +import { themeConfig as config } from '@themeConfig' +import { ContentWidth } from './enums' +import type { UserConfig } from './types' +import { useLayouts } from '@layouts' + +const { _setAppDir } = useLayouts() + +// 🔌 Plugin +export const createLayouts = (userConfig: UserConfig): Plugin => { + const localStorageIsRtl = localStorage.getItem(`${userConfig.app.title}-isRtl`) + const localStorageIsVerticalNavCollapsed = localStorage.getItem(`${userConfig.app.title}-isVerticalNavCollapsed`) + + const localStorageContentWidth = (() => { + const storageValue = localStorage.getItem(`${userConfig.app.title}-contentWidth`) + + return Object.values(ContentWidth).find(v => v === storageValue) + })() + + const localStorageNavbarBlur = localStorage.getItem(`${userConfig.app.title}-navbarBlur`) + + config.app.title = userConfig.app.title + config.app.logo = userConfig.app.logo + config.app.contentWidth.value = localStorageContentWidth || userConfig.app.contentWidth + config.app.contentLayoutNav.value = userConfig.app.contentLayoutNav + config.app.overlayNavFromBreakpoint = userConfig.app.overlayNavFromBreakpoint + config.app.enableI18n = userConfig.app.enableI18n + config.app.isRtl.value = localStorageIsRtl ? JSON.parse(localStorageIsRtl) : userConfig.app.isRtl + config.app.iconRenderer = userConfig.app.iconRenderer + + config.navbar.type.value = userConfig.navbar.type + config.navbar.navbarBlur.value = localStorageNavbarBlur ? JSON.parse(localStorageNavbarBlur) : userConfig.navbar.navbarBlur + + config.footer.type.value = userConfig.footer.type + + config.verticalNav.isVerticalNavCollapsed.value + = localStorageIsVerticalNavCollapsed + ? JSON.parse(localStorageIsVerticalNavCollapsed) + : userConfig.verticalNav.isVerticalNavCollapsed + + config.verticalNav.defaultNavItemIconProps = userConfig.verticalNav.defaultNavItemIconProps + + // config.horizontalNav.type.value = userConfig.horizontalNav.type + + config.icons.chevronDown = userConfig.icons.chevronDown + config.icons.chevronRight = userConfig.icons.chevronRight + config.icons.close = userConfig.icons.close + config.icons.verticalNavPinned = userConfig.icons.verticalNavPinned + config.icons.verticalNavUnPinned = userConfig.icons.verticalNavUnPinned + config.icons.sectionTitlePlaceholder = userConfig.icons.sectionTitlePlaceholder + + return (): void => { + useDynamicVhCssProperty() + + _setAppDir(config.app.isRtl.value ? 'rtl' : 'ltr') + } +} + +export const injectionKeyIsVerticalNavHovered: InjectionKey> = Symbol('isVerticalNavHovered') + +export * from './components' +export { useLayouts } from './composable/useLayouts' diff --git a/src/plugins/vuetify/@layouts/styles/_classes.scss b/src/plugins/vuetify/@layouts/styles/_classes.scss new file mode 100644 index 00000000..70074d60 --- /dev/null +++ b/src/plugins/vuetify/@layouts/styles/_classes.scss @@ -0,0 +1,3 @@ +.cursor-pointer { + cursor: pointer; +} diff --git a/src/plugins/vuetify/@layouts/styles/_default-layout.scss b/src/plugins/vuetify/@layouts/styles/_default-layout.scss new file mode 100644 index 00000000..7f12d9a5 --- /dev/null +++ b/src/plugins/vuetify/@layouts/styles/_default-layout.scss @@ -0,0 +1,35 @@ +// These are styles which are both common in layout w/ vertical nav & horizontal nav +@use "@layouts/styles/rtl"; +@use "@layouts/styles/placeholders"; +@use "@layouts/styles/mixins"; +@use "@configured-variables" as variables; + +html, +body { + min-block-size: 100%; +} + +.layout-page-content { + @include mixins.boxed-content(true); + + flex-grow: 1; + + // TODO: Use grid gutter variable here + padding-block: 1.5rem; +} + +.layout-footer { + .footer-content-container { + block-size: variables.$layout-vertical-nav-footer-height; + } + + .layout-footer-sticky & { + position: sticky; + inset-block-end: 0; + will-change: transform; + } + + .layout-footer-hidden & { + display: none; + } +} diff --git a/src/plugins/vuetify/@layouts/styles/_global.scss b/src/plugins/vuetify/@layouts/styles/_global.scss new file mode 100644 index 00000000..79997a8f --- /dev/null +++ b/src/plugins/vuetify/@layouts/styles/_global.scss @@ -0,0 +1,16 @@ +*, +::before, +::after { + box-sizing: inherit; + background-repeat: no-repeat; +} + +html { + box-sizing: border-box; +} + +// Reset +ol, +ul { + list-style: none; +} diff --git a/src/plugins/vuetify/@layouts/styles/_mixins.scss b/src/plugins/vuetify/@layouts/styles/_mixins.scss new file mode 100644 index 00000000..0eeca06e --- /dev/null +++ b/src/plugins/vuetify/@layouts/styles/_mixins.scss @@ -0,0 +1,28 @@ +@use "placeholders"; +@use "@configured-variables" as variables; + +@mixin rtl { + @if variables.$enable-rtl-styles { + [dir="rtl"] & { + @content; + } + } +} + +@mixin boxed-content($nest-selector: false) { + & { + @extend %boxed-content-spacing; + + @at-root { + @if $nest-selector == false { + .layout-content-width-boxed#{&} { + @extend %boxed-content; + } + } @else { + .layout-content-width-boxed & { + @extend %boxed-content; + } + } + } + } +} diff --git a/src/plugins/vuetify/@layouts/styles/_placeholders.scss b/src/plugins/vuetify/@layouts/styles/_placeholders.scss new file mode 100644 index 00000000..c10e25b5 --- /dev/null +++ b/src/plugins/vuetify/@layouts/styles/_placeholders.scss @@ -0,0 +1,53 @@ +// placeholders +@use "@configured-variables" as variables; + +%boxed-content { + @at-root #{&}-spacing { + // TODO: Use grid gutter variable here + padding-inline: 1.5rem; + } + + inline-size: 100%; + margin-inline: auto; + max-inline-size: variables.$layout-boxed-content-width; +} + +%layout-navbar-hidden { + display: none; +} + +// ℹ️ We created this placeholder even it is being used in just layout w/ vertical nav because in future we might apply style to both navbar & horizontal nav separately +%layout-navbar-sticky { + position: sticky; + inset-block-start: 0; + + // will-change: transform; + // inline-size: 100%; +} + +%style-scroll-bar { + /* width */ + + &::-webkit-scrollbar { + background: rgb(var(--v-theme-surface)); + block-size: 8px; + border-end-end-radius: 14px; + border-start-end-radius: 14px; + inline-size: 4px; + } + + /* Track */ + &::-webkit-scrollbar-track { + background: transparent; + } + + /* Handle */ + &::-webkit-scrollbar-thumb { + border-radius: 0.5rem; + background: rgb(var(--v-theme-perfect-scrollbar-thumb)); + } + + &::-webkit-scrollbar-corner { + display: none; + } +} diff --git a/src/plugins/vuetify/@layouts/styles/_rtl.scss b/src/plugins/vuetify/@layouts/styles/_rtl.scss new file mode 100644 index 00000000..1413755f --- /dev/null +++ b/src/plugins/vuetify/@layouts/styles/_rtl.scss @@ -0,0 +1,7 @@ +@use "./mixins"; + +.nav-group-arrow { + @include mixins.rtl { + transform: rotate(180deg); + } +} diff --git a/src/plugins/vuetify/@layouts/styles/_variables.scss b/src/plugins/vuetify/@layouts/styles/_variables.scss new file mode 100644 index 00000000..01669075 --- /dev/null +++ b/src/plugins/vuetify/@layouts/styles/_variables.scss @@ -0,0 +1,28 @@ +// @use "@styles/style.scss"; + +// 👉 Vertical nav +$layout-vertical-nav-z-index: 12 !default; +$layout-vertical-nav-width: 260px !default; +$layout-vertical-nav-collapsed-width: 80px !default; + +// 👉 Horizontal nav +$layout-horizontal-nav-z-index: 11 !default; +$layout-horizontal-nav-navbar-height: 64px !default; + +// 👉 Navbar +$layout-vertical-nav-navbar-height: 64px !default; +$layout-vertical-nav-navbar-is-contained: true !default; +$layout-vertical-nav-layout-navbar-z-index: 11 !default; +$layout-horizontal-nav-layout-navbar-z-index: 11 !default; + +// 👉 Main content +$layout-boxed-content-width: 1440px !default; + +// 👉Footer +$layout-vertical-nav-footer-height: 56px !default; + +// 👉 Layout overlay +$layout-overlay-z-index: 11 !default; + +// 👉 RTL +$enable-rtl-styles: true !default; diff --git a/src/plugins/vuetify/@layouts/styles/index.scss b/src/plugins/vuetify/@layouts/styles/index.scss new file mode 100644 index 00000000..4eb5800a --- /dev/null +++ b/src/plugins/vuetify/@layouts/styles/index.scss @@ -0,0 +1,3 @@ +@use "_global"; +@use "vue3-perfect-scrollbar/dist/vue3-perfect-scrollbar.min.css"; +@use "_classes"; diff --git a/src/plugins/vuetify/@layouts/types.d.ts b/src/plugins/vuetify/@layouts/types.d.ts new file mode 100644 index 00000000..410303f1 --- /dev/null +++ b/src/plugins/vuetify/@layouts/types.d.ts @@ -0,0 +1,157 @@ +import type { Component, Ref, VNode } from 'vue' +import type { RouteLocationRaw } from 'vue-router' +import { ContentWidth, FooterType, NavbarType } from './enums' + +export interface UserConfig { + app: { + title: string + logo: VNode + contentWidth: typeof ContentWidth[keyof typeof ContentWidth] + contentLayoutNav: typeof AppContentLayoutNav[keyof typeof AppContentLayoutNav] + overlayNavFromBreakpoint: number + enableI18n: boolean + isRtl: boolean + iconRenderer?: Component + } + navbar: { + type: typeof NavbarType[keyof typeof NavbarType] + navbarBlur: boolean + } + footer: { + type:typeof FooterType[keyof typeof FooterType] + } + verticalNav: { + isVerticalNavCollapsed: boolean + defaultNavItemIconProps: unknown + } + icons: { + chevronDown: any + chevronRight: any + close: any + verticalNavPinned: any + verticalNavUnPinned: any + sectionTitlePlaceholder: any + } +} + +/* + TODO: use MergeDeep for DRY + Waiting for https://github.com/sindresorhus/type-fest/issues/150 +*/ +export interface Config { + app: { + title: UserConfig['app']['title'] + logo: UserConfig['app']['logo'] + contentWidth: Ref + contentLayoutNav: Ref + overlayNavFromBreakpoint: UserConfig['app']['overlayNavFromBreakpoint'] + enableI18n: UserConfig['app']['enableI18n'] + isRtl: Ref + iconRenderer?: UserConfig['app']['iconRenderer'] + } + navbar: { + type: Ref + navbarBlur: Ref + } + footer: { + type: Ref + } + verticalNav: { + isVerticalNavCollapsed: Ref + defaultNavItemIconProps: UserConfig['verticalNav']['defaultNavItemIconProps'] + } + // horizontalNav: { + // type: Ref + // transition?: UserConfig['horizontalNav']['transition'] + // } + icons: { + chevronDown: UserConfig['icons']['chevronDown'] + chevronRight: UserConfig['icons']['chevronRight'] + close: UserConfig['icons']['close'] + verticalNavPinned: UserConfig['icons']['verticalNavPinned'] + verticalNavUnPinned: UserConfig['icons']['verticalNavUnPinned'] + sectionTitlePlaceholder: UserConfig['icons']['sectionTitlePlaceholder'] + } +} + +interface AclProperties { + action: string + subject: string +} + +// 👉 Vertical nav section title +export interface NavSectionTitle extends Partial { + heading: string +} + +// 👉 Vertical nav link +declare type ATagTargetAttrValues = '_blank' | '_self' | '_parent' | '_top' | 'framename' +declare type ATagRelAttrValues = + | 'alternate' + | 'author' + | 'bookmark' + | 'external' + | 'help' + | 'license' + | 'next' + | 'nofollow' + | 'noopener' + | 'noreferrer' + | 'prev' + | 'search' + | 'tag' + +export interface NavLinkProps { + to?: RouteLocationRaw | string | null + href?: string + target?: ATagTargetAttrValues + rel?: ATagRelAttrValues +} + +export interface NavLink extends NavLinkProps, Partial { + title: string + icon?: unknown + badgeContent?: string + badgeClass?: string + disable?: boolean +} + +// 👉 Vertical nav group +export interface NavGroup extends Partial { + title: string + icon?: unknown + badgeContent?: string + badgeClass?: string + children: (NavLink | NavGroup)[] + disable?: boolean +} + +export declare type VerticalNavItems = (NavLink | NavGroup | NavSectionTitle)[] +export declare type HorizontalNavItems = (NavLink | NavGroup)[] + +// 👉 Components ======================== + +interface I18nLanguage { + label: string + i18nLang: string +} + +// avatar | text | icon +// Thanks: https://stackoverflow.com/a/60617060/10796681 +type Notification = { + id:number + title: string + subtitle: string + time: string + color?: string + isRead: boolean +} & ( + | { img: string; text?: never; icon?: never } + | { img?: never; text: string; icon?: never } + | { img?: never; text?: never; icon: string } +) + +interface ThemeSwitcherTheme { + name: string + icon: string +} diff --git a/src/plugins/vuetify/@layouts/utils.ts b/src/plugins/vuetify/@layouts/utils.ts new file mode 100644 index 00000000..c96d1e57 --- /dev/null +++ b/src/plugins/vuetify/@layouts/utils.ts @@ -0,0 +1,91 @@ +import type { Router } from 'vue-router' +import type { NavGroup, NavLink, NavLinkProps } from '@layouts/types' + +export const openGroups = ref([]) + +/** + * Return nav link props to use + * @param {Object, String} item navigation routeName or route Object provided in navigation data + */ +export const getComputedNavLinkToProp = computed(() => (link: NavLink) => { + const props: NavLinkProps = { + target: link.target, + rel: link.rel, + } + + // If route is string => it assumes string is route name => Create route object from route name + // If route is not string => It assumes it's route object => returns passed route object + if (link.to) + props.to = typeof link.to === 'string' ? { name: link.to } : link.to + else props.href = link.href + + return props +}) + +/** + * Return route name for navigation link + * If link is string then it will assume it is route-name + * IF link is object it will resolve the object and will return the link + * @param {Object, String} link navigation link object/string + */ +export const resolveNavLinkRouteName = (link: NavLink, router: Router) => { + if (!link.to) + return null + + if (typeof link.to === 'string') + return link.to + + return router.resolve(link.to).name +} + +/** + * Check if nav-link is active + * @param {Object} link nav-link object + */ +export const isNavLinkActive = (link: NavLink, router: Router) => { + // Matched routes array of current route + const matchedRoutes = router.currentRoute.value.matched + + // Check if provided route matches route's matched route + const resolveRoutedName = resolveNavLinkRouteName(link, router) + + if (!resolveRoutedName) + return false + + return false + // return matchedRoutes.some(route => { + // return route.name === resolveRoutedName || route.meta.navActiveLink === resolveRoutedName + // }) +} + +/** + * Check if nav group is active + * @param {Array} children Group children + */ +export const isNavGroupActive = (children: (NavLink | NavGroup)[], router: Router): boolean => + children.some(child => { + // If child have children => It's group => Go deeper(recursive) + if ('children' in child) + return isNavGroupActive(child.children, router) + + // else it's link => Check for matched Route + return isNavLinkActive(child, router) + }) + +/** + * Convert Hex color to rgb + * @param hex + */ + +export const hexToRgb = (hex: string) => { +// Expand shorthand form (e.g. "03F") to full form (e.g. "0033FF") + const shorthandRegex = /^#?([a-f\d])([a-f\d])([a-f\d])$/i + + hex = hex.replace(shorthandRegex, (m: string, r: string, g: string, b: string) => { + return r + r + g + g + b + b + }) + + const result = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(hex) + + return result ? `${parseInt(result[1], 16)},${parseInt(result[2], 16)},${parseInt(result[3], 16)}` : null +} diff --git a/src/plugins/vuetify/defaults.ts b/src/plugins/vuetify/defaults.ts new file mode 100644 index 00000000..e5688d79 --- /dev/null +++ b/src/plugins/vuetify/defaults.ts @@ -0,0 +1,124 @@ +export default { + IconBtn: { + icon: true, + size: 'small', + color: 'default', + variant: 'text', + VIcon: { + size: 24, + }, + }, + VAlert: { + density: 'comfortable', + VBtn: { + color: undefined, + }, + }, + VAvatar: { + // ℹ️ Remove after next release + variant: 'flat', + }, + VBadge: { + // set v-badge default color to primary + color: 'primary', + }, + VBtn: { + // set v-btn default color to primary + color: 'primary', + }, + VChip: { + elevation: 0, + }, + VPagination: { + activeColor: 'primary', + density: 'comfortable', + size: '32', + }, + VTabs: { + // set v-tabs default color to primary + color: 'primary', + VSlideGroup: { + showArrows: true, + }, + }, + VTooltip: { + // set v-tooltip default location to top + location: 'top', + }, + VList: { + VListItem: { + activeColor: 'primary', + }, + }, + VCheckbox: { + // set v-checkbox default color to primary + color: 'primary', + density: 'comfortable', + hideDetails: 'auto', + }, + VRadioGroup: { + color: 'primary', + hideDetails: 'auto', + }, + VRadio: { + hideDetails: 'auto', + }, + VSelect: { + variant: 'outlined', + color: 'primary', + hideDetails: 'auto', + }, + VRangeSlider: { + // set v-range-slider default color to primary + color: 'primary', + density: 'comfortable', + thumbLabel: true, + hideDetails: 'auto', + }, + VRating: { + // set v-rating default color to primary + density: 'compact', + activeColor: 'warning', + }, + VProgressCircular: { + // set v-progress-circular default color to primary + color: 'primary', + }, + VSlider: { + // set v-slider default color to primary + color: 'primary', + hideDetails: 'auto', + }, + VTextField: { + variant: 'outlined', + color: 'primary', + hideDetails: 'auto', + }, + VAutocomplete: { + variant: 'outlined', + density: 'comfortable', + color: 'primary', + hideDetails: 'auto', + }, + VCombobox: { + variant: 'outlined', + color: 'primary', + hideDetails: 'auto', + }, + VFileInput: { + variant: 'outlined', + color: 'primary', + hideDetails: 'auto', + }, + VTextarea: { + variant: 'outlined', + density: 'comfortable', + color: 'primary', + hideDetails: 'auto', + }, + VSwitch: { + // set v-switch default color to primary + color: 'primary', + hideDetails: 'auto', + }, +} diff --git a/src/plugins/vuetify/icons.ts b/src/plugins/vuetify/icons.ts new file mode 100644 index 00000000..d4315190 --- /dev/null +++ b/src/plugins/vuetify/icons.ts @@ -0,0 +1,24 @@ +import { Icon } from '@iconify/vue' +import type { IconProps, IconSet } from 'vuetify' +import { aliases } from 'vuetify/lib/iconsets/mdi' + +const alertTypeIcon = { + success: 'mdi-check-circle-outline', + info: 'mdi-information-outline', + warning: 'mdi-alert-outline', + error: 'mdi-alert-circle-outline', +} + +const modifiedAliases = Object.assign(aliases, alertTypeIcon) + +export const iconify: IconSet = { + component: (props: IconProps) => h(Icon, props), +} + +export const icons = { + defaultSet: 'iconify', + mergedAliases: modifiedAliases, + sets: { + iconify, + }, +} diff --git a/src/plugins/vuetify/images/avatars/avatar-1.png b/src/plugins/vuetify/images/avatars/avatar-1.png new file mode 100644 index 00000000..514120a6 Binary files /dev/null and b/src/plugins/vuetify/images/avatars/avatar-1.png differ diff --git a/src/plugins/vuetify/images/avatars/avatar-10.png b/src/plugins/vuetify/images/avatars/avatar-10.png new file mode 100644 index 00000000..58fac22c Binary files /dev/null and b/src/plugins/vuetify/images/avatars/avatar-10.png differ diff --git a/src/plugins/vuetify/images/avatars/avatar-11.png b/src/plugins/vuetify/images/avatars/avatar-11.png new file mode 100644 index 00000000..4c97074a Binary files /dev/null and b/src/plugins/vuetify/images/avatars/avatar-11.png differ diff --git a/src/plugins/vuetify/images/avatars/avatar-12.png b/src/plugins/vuetify/images/avatars/avatar-12.png new file mode 100644 index 00000000..ae3d6a59 Binary files /dev/null and b/src/plugins/vuetify/images/avatars/avatar-12.png differ diff --git a/src/plugins/vuetify/images/avatars/avatar-13.png b/src/plugins/vuetify/images/avatars/avatar-13.png new file mode 100644 index 00000000..09ca92f9 Binary files /dev/null and b/src/plugins/vuetify/images/avatars/avatar-13.png differ diff --git a/src/plugins/vuetify/images/avatars/avatar-14.png b/src/plugins/vuetify/images/avatars/avatar-14.png new file mode 100644 index 00000000..5e03b006 Binary files /dev/null and b/src/plugins/vuetify/images/avatars/avatar-14.png differ diff --git a/src/plugins/vuetify/images/avatars/avatar-15.png b/src/plugins/vuetify/images/avatars/avatar-15.png new file mode 100644 index 00000000..45b64022 Binary files /dev/null and b/src/plugins/vuetify/images/avatars/avatar-15.png differ diff --git a/src/plugins/vuetify/images/avatars/avatar-2.png b/src/plugins/vuetify/images/avatars/avatar-2.png new file mode 100644 index 00000000..58fac22c Binary files /dev/null and b/src/plugins/vuetify/images/avatars/avatar-2.png differ diff --git a/src/plugins/vuetify/images/avatars/avatar-3.png b/src/plugins/vuetify/images/avatars/avatar-3.png new file mode 100644 index 00000000..4c97074a Binary files /dev/null and b/src/plugins/vuetify/images/avatars/avatar-3.png differ diff --git a/src/plugins/vuetify/images/avatars/avatar-4.png b/src/plugins/vuetify/images/avatars/avatar-4.png new file mode 100644 index 00000000..ae3d6a59 Binary files /dev/null and b/src/plugins/vuetify/images/avatars/avatar-4.png differ diff --git a/src/plugins/vuetify/images/avatars/avatar-5.png b/src/plugins/vuetify/images/avatars/avatar-5.png new file mode 100644 index 00000000..09ca92f9 Binary files /dev/null and b/src/plugins/vuetify/images/avatars/avatar-5.png differ diff --git a/src/plugins/vuetify/images/avatars/avatar-6.png b/src/plugins/vuetify/images/avatars/avatar-6.png new file mode 100644 index 00000000..5e03b006 Binary files /dev/null and b/src/plugins/vuetify/images/avatars/avatar-6.png differ diff --git a/src/plugins/vuetify/images/avatars/avatar-7.png b/src/plugins/vuetify/images/avatars/avatar-7.png new file mode 100644 index 00000000..45b64022 Binary files /dev/null and b/src/plugins/vuetify/images/avatars/avatar-7.png differ diff --git a/src/plugins/vuetify/images/avatars/avatar-8.png b/src/plugins/vuetify/images/avatars/avatar-8.png new file mode 100644 index 00000000..9aab4689 Binary files /dev/null and b/src/plugins/vuetify/images/avatars/avatar-8.png differ diff --git a/src/plugins/vuetify/images/avatars/avatar-9.png b/src/plugins/vuetify/images/avatars/avatar-9.png new file mode 100644 index 00000000..514120a6 Binary files /dev/null and b/src/plugins/vuetify/images/avatars/avatar-9.png differ diff --git a/src/plugins/vuetify/images/iconify-svg/vertical-nav-header-arrow.svg b/src/plugins/vuetify/images/iconify-svg/vertical-nav-header-arrow.svg new file mode 100644 index 00000000..29d2d29e --- /dev/null +++ b/src/plugins/vuetify/images/iconify-svg/vertical-nav-header-arrow.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/plugins/vuetify/images/logo.svg b/src/plugins/vuetify/images/logo.svg new file mode 100644 index 00000000..633839f4 --- /dev/null +++ b/src/plugins/vuetify/images/logo.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + + diff --git a/src/plugins/vuetify/images/misc/pricing-cta-illustration.png b/src/plugins/vuetify/images/misc/pricing-cta-illustration.png new file mode 100644 index 00000000..107b2b62 Binary files /dev/null and b/src/plugins/vuetify/images/misc/pricing-cta-illustration.png differ diff --git a/src/plugins/vuetify/images/misc/pricing-illustration-1.png b/src/plugins/vuetify/images/misc/pricing-illustration-1.png new file mode 100644 index 00000000..34ba3bcc Binary files /dev/null and b/src/plugins/vuetify/images/misc/pricing-illustration-1.png differ diff --git a/src/plugins/vuetify/images/misc/pricing-illustration-2.png b/src/plugins/vuetify/images/misc/pricing-illustration-2.png new file mode 100644 index 00000000..00e9d1b8 Binary files /dev/null and b/src/plugins/vuetify/images/misc/pricing-illustration-2.png differ diff --git a/src/plugins/vuetify/images/misc/pricing-illustration-3.png b/src/plugins/vuetify/images/misc/pricing-illustration-3.png new file mode 100644 index 00000000..f917e1cf Binary files /dev/null and b/src/plugins/vuetify/images/misc/pricing-illustration-3.png differ diff --git a/src/plugins/vuetify/images/misc/triangle-dark.png b/src/plugins/vuetify/images/misc/triangle-dark.png new file mode 100644 index 00000000..df287beb Binary files /dev/null and b/src/plugins/vuetify/images/misc/triangle-dark.png differ diff --git a/src/plugins/vuetify/images/misc/triangle-light.png b/src/plugins/vuetify/images/misc/triangle-light.png new file mode 100644 index 00000000..cb321bf3 Binary files /dev/null and b/src/plugins/vuetify/images/misc/triangle-light.png differ diff --git a/src/plugins/vuetify/images/misc/trophy.png b/src/plugins/vuetify/images/misc/trophy.png new file mode 100644 index 00000000..166205e7 Binary files /dev/null and b/src/plugins/vuetify/images/misc/trophy.png differ diff --git a/src/plugins/vuetify/images/pages/1.png b/src/plugins/vuetify/images/pages/1.png new file mode 100644 index 00000000..47f80c05 Binary files /dev/null and b/src/plugins/vuetify/images/pages/1.png differ diff --git a/src/plugins/vuetify/images/pages/2.png b/src/plugins/vuetify/images/pages/2.png new file mode 100644 index 00000000..25e5a901 Binary files /dev/null and b/src/plugins/vuetify/images/pages/2.png differ diff --git a/src/plugins/vuetify/images/pages/3.png b/src/plugins/vuetify/images/pages/3.png new file mode 100644 index 00000000..9587fc0f Binary files /dev/null and b/src/plugins/vuetify/images/pages/3.png differ diff --git a/src/plugins/vuetify/images/pages/401.png b/src/plugins/vuetify/images/pages/401.png new file mode 100644 index 00000000..2d30a9ca Binary files /dev/null and b/src/plugins/vuetify/images/pages/401.png differ diff --git a/src/plugins/vuetify/images/pages/404.png b/src/plugins/vuetify/images/pages/404.png new file mode 100644 index 00000000..fba984d9 Binary files /dev/null and b/src/plugins/vuetify/images/pages/404.png differ diff --git a/src/plugins/vuetify/images/pages/5.jpg b/src/plugins/vuetify/images/pages/5.jpg new file mode 100644 index 00000000..4d3c834e Binary files /dev/null and b/src/plugins/vuetify/images/pages/5.jpg differ diff --git a/src/plugins/vuetify/images/pages/500.png b/src/plugins/vuetify/images/pages/500.png new file mode 100644 index 00000000..405bb188 Binary files /dev/null and b/src/plugins/vuetify/images/pages/500.png differ diff --git a/src/plugins/vuetify/images/pages/6.png b/src/plugins/vuetify/images/pages/6.png new file mode 100644 index 00000000..3562135d Binary files /dev/null and b/src/plugins/vuetify/images/pages/6.png differ diff --git a/src/plugins/vuetify/images/pages/app-search-header-bg-dark.png b/src/plugins/vuetify/images/pages/app-search-header-bg-dark.png new file mode 100644 index 00000000..e78bb1ff Binary files /dev/null and b/src/plugins/vuetify/images/pages/app-search-header-bg-dark.png differ diff --git a/src/plugins/vuetify/images/pages/app-search-header-bg-light.png b/src/plugins/vuetify/images/pages/app-search-header-bg-light.png new file mode 100644 index 00000000..aa763321 Binary files /dev/null and b/src/plugins/vuetify/images/pages/app-search-header-bg-light.png differ diff --git a/src/plugins/vuetify/images/pages/auth-v1-forgot-password-mask-dark.png b/src/plugins/vuetify/images/pages/auth-v1-forgot-password-mask-dark.png new file mode 100644 index 00000000..c8195bd9 Binary files /dev/null and b/src/plugins/vuetify/images/pages/auth-v1-forgot-password-mask-dark.png differ diff --git a/src/plugins/vuetify/images/pages/auth-v1-forgot-password-mask-light.png b/src/plugins/vuetify/images/pages/auth-v1-forgot-password-mask-light.png new file mode 100644 index 00000000..a7136e01 Binary files /dev/null and b/src/plugins/vuetify/images/pages/auth-v1-forgot-password-mask-light.png differ diff --git a/src/plugins/vuetify/images/pages/auth-v1-login-mask-dark.png b/src/plugins/vuetify/images/pages/auth-v1-login-mask-dark.png new file mode 100644 index 00000000..db01a5a9 Binary files /dev/null and b/src/plugins/vuetify/images/pages/auth-v1-login-mask-dark.png differ diff --git a/src/plugins/vuetify/images/pages/auth-v1-login-mask-light.png b/src/plugins/vuetify/images/pages/auth-v1-login-mask-light.png new file mode 100644 index 00000000..31e27fea Binary files /dev/null and b/src/plugins/vuetify/images/pages/auth-v1-login-mask-light.png differ diff --git a/src/plugins/vuetify/images/pages/auth-v1-register-mask-dark.png b/src/plugins/vuetify/images/pages/auth-v1-register-mask-dark.png new file mode 100644 index 00000000..20a20881 Binary files /dev/null and b/src/plugins/vuetify/images/pages/auth-v1-register-mask-dark.png differ diff --git a/src/plugins/vuetify/images/pages/auth-v1-register-mask-light.png b/src/plugins/vuetify/images/pages/auth-v1-register-mask-light.png new file mode 100644 index 00000000..9c2149c4 Binary files /dev/null and b/src/plugins/vuetify/images/pages/auth-v1-register-mask-light.png differ diff --git a/src/plugins/vuetify/images/pages/auth-v1-reset-password-mask-dark.png b/src/plugins/vuetify/images/pages/auth-v1-reset-password-mask-dark.png new file mode 100644 index 00000000..0118dcb0 Binary files /dev/null and b/src/plugins/vuetify/images/pages/auth-v1-reset-password-mask-dark.png differ diff --git a/src/plugins/vuetify/images/pages/auth-v1-reset-password-mask-light.png b/src/plugins/vuetify/images/pages/auth-v1-reset-password-mask-light.png new file mode 100644 index 00000000..1cba918b Binary files /dev/null and b/src/plugins/vuetify/images/pages/auth-v1-reset-password-mask-light.png differ diff --git a/src/plugins/vuetify/images/pages/auth-v2-forgot-password-illustration-bordered-dark.png b/src/plugins/vuetify/images/pages/auth-v2-forgot-password-illustration-bordered-dark.png new file mode 100644 index 00000000..b5c1afaf Binary files /dev/null and b/src/plugins/vuetify/images/pages/auth-v2-forgot-password-illustration-bordered-dark.png differ diff --git a/src/plugins/vuetify/images/pages/auth-v2-forgot-password-illustration-bordered-light.png b/src/plugins/vuetify/images/pages/auth-v2-forgot-password-illustration-bordered-light.png new file mode 100644 index 00000000..85ae1b88 Binary files /dev/null and b/src/plugins/vuetify/images/pages/auth-v2-forgot-password-illustration-bordered-light.png differ diff --git a/src/plugins/vuetify/images/pages/auth-v2-forgot-password-illustration-dark.png b/src/plugins/vuetify/images/pages/auth-v2-forgot-password-illustration-dark.png new file mode 100644 index 00000000..e8229ba8 Binary files /dev/null and b/src/plugins/vuetify/images/pages/auth-v2-forgot-password-illustration-dark.png differ diff --git a/src/plugins/vuetify/images/pages/auth-v2-forgot-password-illustration-light.png b/src/plugins/vuetify/images/pages/auth-v2-forgot-password-illustration-light.png new file mode 100644 index 00000000..ff3d874e Binary files /dev/null and b/src/plugins/vuetify/images/pages/auth-v2-forgot-password-illustration-light.png differ diff --git a/src/plugins/vuetify/images/pages/auth-v2-forgot-password-mask-dark.png b/src/plugins/vuetify/images/pages/auth-v2-forgot-password-mask-dark.png new file mode 100644 index 00000000..39de30c3 Binary files /dev/null and b/src/plugins/vuetify/images/pages/auth-v2-forgot-password-mask-dark.png differ diff --git a/src/plugins/vuetify/images/pages/auth-v2-forgot-password-mask-light.png b/src/plugins/vuetify/images/pages/auth-v2-forgot-password-mask-light.png new file mode 100644 index 00000000..95682484 Binary files /dev/null and b/src/plugins/vuetify/images/pages/auth-v2-forgot-password-mask-light.png differ diff --git a/src/plugins/vuetify/images/pages/auth-v2-login-illustration-bordered-dark.png b/src/plugins/vuetify/images/pages/auth-v2-login-illustration-bordered-dark.png new file mode 100644 index 00000000..f1a022c2 Binary files /dev/null and b/src/plugins/vuetify/images/pages/auth-v2-login-illustration-bordered-dark.png differ diff --git a/src/plugins/vuetify/images/pages/auth-v2-login-illustration-bordered-light.png b/src/plugins/vuetify/images/pages/auth-v2-login-illustration-bordered-light.png new file mode 100644 index 00000000..bfa1ca12 Binary files /dev/null and b/src/plugins/vuetify/images/pages/auth-v2-login-illustration-bordered-light.png differ diff --git a/src/plugins/vuetify/images/pages/auth-v2-login-illustration-dark.png b/src/plugins/vuetify/images/pages/auth-v2-login-illustration-dark.png new file mode 100644 index 00000000..4617f4fb Binary files /dev/null and b/src/plugins/vuetify/images/pages/auth-v2-login-illustration-dark.png differ diff --git a/src/plugins/vuetify/images/pages/auth-v2-login-illustration-light.png b/src/plugins/vuetify/images/pages/auth-v2-login-illustration-light.png new file mode 100644 index 00000000..4afffb50 Binary files /dev/null and b/src/plugins/vuetify/images/pages/auth-v2-login-illustration-light.png differ diff --git a/src/plugins/vuetify/images/pages/auth-v2-login-mask-dark.png b/src/plugins/vuetify/images/pages/auth-v2-login-mask-dark.png new file mode 100644 index 00000000..add84906 Binary files /dev/null and b/src/plugins/vuetify/images/pages/auth-v2-login-mask-dark.png differ diff --git a/src/plugins/vuetify/images/pages/auth-v2-login-mask-light.png b/src/plugins/vuetify/images/pages/auth-v2-login-mask-light.png new file mode 100644 index 00000000..457848c3 Binary files /dev/null and b/src/plugins/vuetify/images/pages/auth-v2-login-mask-light.png differ diff --git a/src/plugins/vuetify/images/pages/auth-v2-register-illustration-bordered-dark.png b/src/plugins/vuetify/images/pages/auth-v2-register-illustration-bordered-dark.png new file mode 100644 index 00000000..ff5ad0b3 Binary files /dev/null and b/src/plugins/vuetify/images/pages/auth-v2-register-illustration-bordered-dark.png differ diff --git a/src/plugins/vuetify/images/pages/auth-v2-register-illustration-bordered-light.png b/src/plugins/vuetify/images/pages/auth-v2-register-illustration-bordered-light.png new file mode 100644 index 00000000..28d65e10 Binary files /dev/null and b/src/plugins/vuetify/images/pages/auth-v2-register-illustration-bordered-light.png differ diff --git a/src/plugins/vuetify/images/pages/auth-v2-register-illustration-dark.png b/src/plugins/vuetify/images/pages/auth-v2-register-illustration-dark.png new file mode 100644 index 00000000..df42e7c0 Binary files /dev/null and b/src/plugins/vuetify/images/pages/auth-v2-register-illustration-dark.png differ diff --git a/src/plugins/vuetify/images/pages/auth-v2-register-illustration-light.png b/src/plugins/vuetify/images/pages/auth-v2-register-illustration-light.png new file mode 100644 index 00000000..59711ac4 Binary files /dev/null and b/src/plugins/vuetify/images/pages/auth-v2-register-illustration-light.png differ diff --git a/src/plugins/vuetify/images/pages/auth-v2-register-mask-dark.png b/src/plugins/vuetify/images/pages/auth-v2-register-mask-dark.png new file mode 100644 index 00000000..a478ab6d Binary files /dev/null and b/src/plugins/vuetify/images/pages/auth-v2-register-mask-dark.png differ diff --git a/src/plugins/vuetify/images/pages/auth-v2-register-mask-light.png b/src/plugins/vuetify/images/pages/auth-v2-register-mask-light.png new file mode 100644 index 00000000..7dc92008 Binary files /dev/null and b/src/plugins/vuetify/images/pages/auth-v2-register-mask-light.png differ diff --git a/src/plugins/vuetify/images/pages/auth-v2-reset-password-illustration-bordered-dark.png b/src/plugins/vuetify/images/pages/auth-v2-reset-password-illustration-bordered-dark.png new file mode 100644 index 00000000..0ca109b8 Binary files /dev/null and b/src/plugins/vuetify/images/pages/auth-v2-reset-password-illustration-bordered-dark.png differ diff --git a/src/plugins/vuetify/images/pages/auth-v2-reset-password-illustration-bordered-light.png b/src/plugins/vuetify/images/pages/auth-v2-reset-password-illustration-bordered-light.png new file mode 100644 index 00000000..18531d14 Binary files /dev/null and b/src/plugins/vuetify/images/pages/auth-v2-reset-password-illustration-bordered-light.png differ diff --git a/src/plugins/vuetify/images/pages/auth-v2-reset-password-illustration-dark.png b/src/plugins/vuetify/images/pages/auth-v2-reset-password-illustration-dark.png new file mode 100644 index 00000000..ddc64997 Binary files /dev/null and b/src/plugins/vuetify/images/pages/auth-v2-reset-password-illustration-dark.png differ diff --git a/src/plugins/vuetify/images/pages/auth-v2-reset-password-illustration-light.png b/src/plugins/vuetify/images/pages/auth-v2-reset-password-illustration-light.png new file mode 100644 index 00000000..fa173dd4 Binary files /dev/null and b/src/plugins/vuetify/images/pages/auth-v2-reset-password-illustration-light.png differ diff --git a/src/plugins/vuetify/images/pages/auth-v2-reset-password-mask-dark.png b/src/plugins/vuetify/images/pages/auth-v2-reset-password-mask-dark.png new file mode 100644 index 00000000..0eed0439 Binary files /dev/null and b/src/plugins/vuetify/images/pages/auth-v2-reset-password-mask-dark.png differ diff --git a/src/plugins/vuetify/images/pages/auth-v2-reset-password-mask-light.png b/src/plugins/vuetify/images/pages/auth-v2-reset-password-mask-light.png new file mode 100644 index 00000000..f40ef73f Binary files /dev/null and b/src/plugins/vuetify/images/pages/auth-v2-reset-password-mask-light.png differ diff --git a/src/plugins/vuetify/images/pages/auth-v2-two-steps-illustration-bordered-dark.png b/src/plugins/vuetify/images/pages/auth-v2-two-steps-illustration-bordered-dark.png new file mode 100644 index 00000000..3eb721d9 Binary files /dev/null and b/src/plugins/vuetify/images/pages/auth-v2-two-steps-illustration-bordered-dark.png differ diff --git a/src/plugins/vuetify/images/pages/auth-v2-two-steps-illustration-bordered-light.png b/src/plugins/vuetify/images/pages/auth-v2-two-steps-illustration-bordered-light.png new file mode 100644 index 00000000..475d6019 Binary files /dev/null and b/src/plugins/vuetify/images/pages/auth-v2-two-steps-illustration-bordered-light.png differ diff --git a/src/plugins/vuetify/images/pages/auth-v2-two-steps-illustration-dark.png b/src/plugins/vuetify/images/pages/auth-v2-two-steps-illustration-dark.png new file mode 100644 index 00000000..95d3609c Binary files /dev/null and b/src/plugins/vuetify/images/pages/auth-v2-two-steps-illustration-dark.png differ diff --git a/src/plugins/vuetify/images/pages/auth-v2-two-steps-illustration-light.png b/src/plugins/vuetify/images/pages/auth-v2-two-steps-illustration-light.png new file mode 100644 index 00000000..0a01c436 Binary files /dev/null and b/src/plugins/vuetify/images/pages/auth-v2-two-steps-illustration-light.png differ diff --git a/src/plugins/vuetify/images/pages/auth-v2-verify-email-illustration-bordered-dark.png b/src/plugins/vuetify/images/pages/auth-v2-verify-email-illustration-bordered-dark.png new file mode 100644 index 00000000..18bd8c3f Binary files /dev/null and b/src/plugins/vuetify/images/pages/auth-v2-verify-email-illustration-bordered-dark.png differ diff --git a/src/plugins/vuetify/images/pages/auth-v2-verify-email-illustration-bordered-light.png b/src/plugins/vuetify/images/pages/auth-v2-verify-email-illustration-bordered-light.png new file mode 100644 index 00000000..19c03200 Binary files /dev/null and b/src/plugins/vuetify/images/pages/auth-v2-verify-email-illustration-bordered-light.png differ diff --git a/src/plugins/vuetify/images/pages/auth-v2-verify-email-illustration-dark.png b/src/plugins/vuetify/images/pages/auth-v2-verify-email-illustration-dark.png new file mode 100644 index 00000000..3172d885 Binary files /dev/null and b/src/plugins/vuetify/images/pages/auth-v2-verify-email-illustration-dark.png differ diff --git a/src/plugins/vuetify/images/pages/auth-v2-verify-email-illustration-light.png b/src/plugins/vuetify/images/pages/auth-v2-verify-email-illustration-light.png new file mode 100644 index 00000000..d682a500 Binary files /dev/null and b/src/plugins/vuetify/images/pages/auth-v2-verify-email-illustration-light.png differ diff --git a/src/plugins/vuetify/images/pages/background-1.jpg b/src/plugins/vuetify/images/pages/background-1.jpg new file mode 100644 index 00000000..f652bcc0 Binary files /dev/null and b/src/plugins/vuetify/images/pages/background-1.jpg differ diff --git a/src/plugins/vuetify/images/pages/background-2.jpg b/src/plugins/vuetify/images/pages/background-2.jpg new file mode 100644 index 00000000..a02c63da Binary files /dev/null and b/src/plugins/vuetify/images/pages/background-2.jpg differ diff --git a/src/plugins/vuetify/images/pages/background-3.jpg b/src/plugins/vuetify/images/pages/background-3.jpg new file mode 100644 index 00000000..26de346d Binary files /dev/null and b/src/plugins/vuetify/images/pages/background-3.jpg differ diff --git a/src/plugins/vuetify/images/pages/misc-401-object.png b/src/plugins/vuetify/images/pages/misc-401-object.png new file mode 100644 index 00000000..4b7e3cc2 Binary files /dev/null and b/src/plugins/vuetify/images/pages/misc-401-object.png differ diff --git a/src/plugins/vuetify/images/pages/misc-404-object.png b/src/plugins/vuetify/images/pages/misc-404-object.png new file mode 100644 index 00000000..27c50a41 Binary files /dev/null and b/src/plugins/vuetify/images/pages/misc-404-object.png differ diff --git a/src/plugins/vuetify/images/pages/misc-500-object.png b/src/plugins/vuetify/images/pages/misc-500-object.png new file mode 100644 index 00000000..27c50a41 Binary files /dev/null and b/src/plugins/vuetify/images/pages/misc-500-object.png differ diff --git a/src/plugins/vuetify/images/pages/misc-coming-soon-object.png b/src/plugins/vuetify/images/pages/misc-coming-soon-object.png new file mode 100644 index 00000000..9b1c544a Binary files /dev/null and b/src/plugins/vuetify/images/pages/misc-coming-soon-object.png differ diff --git a/src/plugins/vuetify/images/pages/misc-coming-soon.png b/src/plugins/vuetify/images/pages/misc-coming-soon.png new file mode 100644 index 00000000..3ba3ac2a Binary files /dev/null and b/src/plugins/vuetify/images/pages/misc-coming-soon.png differ diff --git a/src/plugins/vuetify/images/pages/misc-mask-dark.png b/src/plugins/vuetify/images/pages/misc-mask-dark.png new file mode 100644 index 00000000..4d0d44cc Binary files /dev/null and b/src/plugins/vuetify/images/pages/misc-mask-dark.png differ diff --git a/src/plugins/vuetify/images/pages/misc-mask-light.png b/src/plugins/vuetify/images/pages/misc-mask-light.png new file mode 100644 index 00000000..ec21e811 Binary files /dev/null and b/src/plugins/vuetify/images/pages/misc-mask-light.png differ diff --git a/src/plugins/vuetify/images/pages/misc-under-maintenance-object.png b/src/plugins/vuetify/images/pages/misc-under-maintenance-object.png new file mode 100644 index 00000000..6ad70c68 Binary files /dev/null and b/src/plugins/vuetify/images/pages/misc-under-maintenance-object.png differ diff --git a/src/plugins/vuetify/images/pages/misc-under-maintenance.png b/src/plugins/vuetify/images/pages/misc-under-maintenance.png new file mode 100644 index 00000000..8fe14ee9 Binary files /dev/null and b/src/plugins/vuetify/images/pages/misc-under-maintenance.png differ diff --git a/src/plugins/vuetify/images/pages/pixinvent-qr.png b/src/plugins/vuetify/images/pages/pixinvent-qr.png new file mode 100644 index 00000000..f2133dfc Binary files /dev/null and b/src/plugins/vuetify/images/pages/pixinvent-qr.png differ diff --git a/src/plugins/vuetify/images/pages/pose-fs-9.png b/src/plugins/vuetify/images/pages/pose-fs-9.png new file mode 100644 index 00000000..591559e4 Binary files /dev/null and b/src/plugins/vuetify/images/pages/pose-fs-9.png differ diff --git a/src/plugins/vuetify/images/pages/puma-shoes.jpeg b/src/plugins/vuetify/images/pages/puma-shoes.jpeg new file mode 100644 index 00000000..6ebd181f Binary files /dev/null and b/src/plugins/vuetify/images/pages/puma-shoes.jpeg differ diff --git a/src/plugins/vuetify/images/pages/user-profile-header-bg.png b/src/plugins/vuetify/images/pages/user-profile-header-bg.png new file mode 100644 index 00000000..ddde444a Binary files /dev/null and b/src/plugins/vuetify/images/pages/user-profile-header-bg.png differ diff --git a/src/plugins/vuetify/images/svg/discord.svg b/src/plugins/vuetify/images/svg/discord.svg new file mode 100644 index 00000000..2b77e103 --- /dev/null +++ b/src/plugins/vuetify/images/svg/discord.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/src/plugins/vuetify/images/svg/gift.svg b/src/plugins/vuetify/images/svg/gift.svg new file mode 100644 index 00000000..0a7a9ebc --- /dev/null +++ b/src/plugins/vuetify/images/svg/gift.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/src/plugins/vuetify/images/svg/keyboard.svg b/src/plugins/vuetify/images/svg/keyboard.svg new file mode 100644 index 00000000..e1c730cd --- /dev/null +++ b/src/plugins/vuetify/images/svg/keyboard.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/src/plugins/vuetify/images/svg/laptop.svg b/src/plugins/vuetify/images/svg/laptop.svg new file mode 100644 index 00000000..2e53637a --- /dev/null +++ b/src/plugins/vuetify/images/svg/laptop.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/src/plugins/vuetify/images/svg/lightbulb.svg b/src/plugins/vuetify/images/svg/lightbulb.svg new file mode 100644 index 00000000..2fc663a9 --- /dev/null +++ b/src/plugins/vuetify/images/svg/lightbulb.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/src/plugins/vuetify/images/svg/paypal.svg b/src/plugins/vuetify/images/svg/paypal.svg new file mode 100644 index 00000000..53f84df5 --- /dev/null +++ b/src/plugins/vuetify/images/svg/paypal.svg @@ -0,0 +1,19 @@ + + + paypal + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/plugins/vuetify/images/svg/rocket.svg b/src/plugins/vuetify/images/svg/rocket.svg new file mode 100644 index 00000000..31c9ca09 --- /dev/null +++ b/src/plugins/vuetify/images/svg/rocket.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/src/plugins/vuetify/index.ts b/src/plugins/vuetify/index.ts new file mode 100644 index 00000000..9d7789dc --- /dev/null +++ b/src/plugins/vuetify/index.ts @@ -0,0 +1,18 @@ +import { createVuetify } from 'vuetify' +import { VBtn } from 'vuetify/components' +import defaults from './defaults' +import { icons } from './icons' +import theme from './theme' + +// Styles +import './@core/scss/template/libs/vuetify/index.scss' +import 'vuetify/styles' + +export default createVuetify({ + aliases: { + IconBtn: VBtn, + }, + defaults, + icons, + theme, +}) diff --git a/src/plugins/vuetify/layouts.ts b/src/plugins/vuetify/layouts.ts new file mode 100644 index 00000000..076a26c5 --- /dev/null +++ b/src/plugins/vuetify/layouts.ts @@ -0,0 +1,6 @@ +import { createLayouts } from '@layouts' +import '@layouts/styles/index.scss' +import { layoutConfig } from '@themeConfig' + +// ℹ️ We generate layout config from our themeConfig so you don't have to write config twice +export default createLayouts(layoutConfig) diff --git a/src/plugins/vuetify/styles/styles.scss b/src/plugins/vuetify/styles/styles.scss new file mode 100644 index 00000000..bc98a842 --- /dev/null +++ b/src/plugins/vuetify/styles/styles.scss @@ -0,0 +1,4 @@ +// Write your overrides +.card-box { + border: 1px solid rgb(var(--v-theme-primary)); +} \ No newline at end of file diff --git a/src/plugins/vuetify/styles/variables/_template.scss b/src/plugins/vuetify/styles/variables/_template.scss new file mode 100644 index 00000000..a8795573 --- /dev/null +++ b/src/plugins/vuetify/styles/variables/_template.scss @@ -0,0 +1,6 @@ +@forward "@/plugins/vuetify/@core/scss/template/variables"; + +// ℹ️ Remove above import and uncomment below to override core variables. +// @forward "@/plugins/vuetify/@core/scss/template/variables" with ( +// $: +// ) diff --git a/src/plugins/vuetify/styles/variables/_vuetify.scss b/src/plugins/vuetify/styles/variables/_vuetify.scss new file mode 100644 index 00000000..574e8242 --- /dev/null +++ b/src/plugins/vuetify/styles/variables/_vuetify.scss @@ -0,0 +1,7 @@ +// ❗ Path must be relative +@forward "../../@core/scss/template/libs/vuetify/variables"; + +// ℹ️ Remove above import and uncomment below to override core variables. +// @forward "../../@core/scss/template/libs/vuetify/variables" with ( +// $: +// ) diff --git a/src/plugins/vuetify/theme.ts b/src/plugins/vuetify/theme.ts new file mode 100644 index 00000000..dfe894a5 --- /dev/null +++ b/src/plugins/vuetify/theme.ts @@ -0,0 +1,106 @@ +import type { VuetifyOptions } from 'vuetify' +import { resolveVuetifyTheme } from './@core/utils/vuetify' +import { themeConfig } from '@themeConfig' + +export const staticPrimaryColor = '#666CFF' + +const theme: VuetifyOptions['theme'] = { + defaultTheme: resolveVuetifyTheme(), + themes: { + light: { + dark: false, + colors: { + 'primary': localStorage.getItem(`${themeConfig.app.title}-lightThemePrimaryColor`) || staticPrimaryColor, + 'on-primary': '#fff', + 'secondary': '#6D788D', + 'on-secondary': '#fff', + 'success': '#72E128', + 'on-success': '#fff', + 'info': '#26C6F9', + 'on-info': '#fff', + 'warning': '#FDB528', + 'on-warning': '#fff', + 'error': '#FF4D49', + 'background': '#F7F7F9', + 'on-background': '#4c4e64', + 'on-surface': '#4c4e64', + 'perfect-scrollbar-thumb': '#DBDADE', + 'snackbar-background': '#212121', + 'tooltip-background': '#262732', + 'alert-background': '#F7F7F9', + 'grey-50': '#FAFAFA', + 'grey-100': '#F4F5FA', + 'grey-200': '#F5F5F7', + 'grey-300': '#E0E0E0', + 'grey-400': '#BDBDBD', + 'grey-500': '#9E9E9E', + 'grey-600': '#757575', + 'grey-700': '#616161', + 'grey-800': '#424242', + 'grey-900': '#212121', + }, + + variables: { + 'code-color': '#d400ff', + 'border-color': '#4c4e64', + 'hover-opacity': 0.05, + 'overlay-scrim-background': '#4C4E64', + 'overlay-scrim-opacity': 0.5, + + // Shadows + 'shadow-key-umbra-opacity': 'rgba(var(--v-theme-on-surface), 0.08)', + 'shadow-key-penumbra-opacity': 'rgba(var(--v-theme-on-surface), 0.05)', + 'shadow-key-ambient-opacity': 'rgba(var(--v-theme-on-surface), 0.03)', + }, + }, + dark: { + dark: true, + colors: { + 'primary': localStorage.getItem(`${themeConfig.app.title}-darkThemePrimaryColor`) || staticPrimaryColor, + 'on-primary': '#fff', + 'secondary': '#6D788D', + 'on-secondary': '#fff', + 'success': '#72E128', + 'on-success': '#fff', + 'info': '#26C6F9', + 'on-info': '#fff', + 'warning': '#FDB528', + 'on-warning': '#fff', + 'error': '#FF4D49', + 'background': '#282A42', + 'on-background': '#eaeaff', + 'surface': '#30334E', + 'on-surface': '#eaeaff', + 'perfect-scrollbar-thumb': '#4A5072', + 'snackbar-background': '#F5F5F5', + 'on-snackbar-background': '#30334E', + 'tooltip-background': '#464A65', + 'alert-background': '#282A42', + 'grey-50': '#2A2E42', + 'grey-100': '#41435c', + 'grey-200': '#3A3E5B', + 'grey-300': '#5E6692', + 'grey-400': '#7983BB', + 'grey-500': '#8692D0', + 'grey-600': '#AAB3DE', + 'grey-700': '#B6BEE3', + 'grey-800': '#CFD3EC', + 'grey-900': '#E7E9F6', + }, + variables: { + 'code-color': '#d400ff', + 'border-color': '#eaeaff', + 'hover-opacity': 0.05, + 'overlay-scrim-background': '#101121', + 'overlay-scrim-opacity': 0.6, + + // Shadows + 'shadow-key-umbra-opacity': 'rgba(20, 21, 33, 0.08)', + 'shadow-key-penumbra-opacity': 'rgba(20, 21, 33, 0.05)', + 'shadow-key-ambient-opacity': 'rgba(20, 21, 33, 0.03)', + }, + }, + }, +} + +export default theme diff --git a/src/plugins/vuetify/webfontloader.ts b/src/plugins/vuetify/webfontloader.ts new file mode 100644 index 00000000..10a3ba0c --- /dev/null +++ b/src/plugins/vuetify/webfontloader.ts @@ -0,0 +1,16 @@ +/** + * plugins/webfontloader.js + * + * webfontloader documentation: https://github.com/typekit/webfontloader + */ + +export async function loadFonts() { + const webFontLoader = await import(/* webpackChunkName: "webfontloader" */'webfontloader') + + webFontLoader.load({ + google: { + api: 'https://fonts.googleapis.com/css2', + families: ['Inter:wght@300;400;500;600;700;900&display=swap'], + }, + }) +} diff --git a/src/router/index.ts b/src/router/index.ts new file mode 100644 index 00000000..20ca2ac5 --- /dev/null +++ b/src/router/index.ts @@ -0,0 +1,22 @@ +import { useBlockchain } from "@/stores"; +import { setupLayouts } from "virtual:generated-layouts"; +import { createRouter, createWebHistory } from "vue-router"; +import routes from "~pages"; + +const router = createRouter({ + history: createWebHistory(import.meta.env.BASE_URL), + routes: [...setupLayouts(routes)], +}); + +//update current blockchain +router.beforeEach((to) => { + const { chain } = to.params + if(chain){ + const blockchain = useBlockchain() + blockchain.setCurrent(chain.toString()) + } +}) + +// Docs: https://router.vuejs.org/guide/advanced/navigation-guards.html#global-before-guards + +export default router; \ No newline at end of file diff --git a/src/stores/index.ts b/src/stores/index.ts new file mode 100644 index 00000000..a50d7c34 --- /dev/null +++ b/src/stores/index.ts @@ -0,0 +1,10 @@ +export * from './useBankStore' +export * from './useBlockchain' +export * from './useCoinGecko' +export * from './useDashboard' +export * from './useBaseStore' +export * from './useFormatter' +export * from './useGovStore' +export * from './useMintStore' +export * from './useStakingStore' +export * from './useDistributionStore' \ No newline at end of file diff --git a/src/stores/template.ts b/src/stores/template.ts new file mode 100644 index 00000000..136e0905 --- /dev/null +++ b/src/stores/template.ts @@ -0,0 +1,13 @@ +import { defineStore } from "pinia"; + +export const useStoreName = defineStore('bankstore', { + state: () => { + return { + } + }, + getters: { + + }, + actions: { + } +}) \ No newline at end of file diff --git a/src/stores/useBankStore.ts b/src/stores/useBankStore.ts new file mode 100644 index 00000000..18261187 --- /dev/null +++ b/src/stores/useBankStore.ts @@ -0,0 +1,45 @@ +import { defineStore } from "pinia"; + +import { useBlockchain } from "./useBlockchain"; +import { useStakingStore } from "./useStakingStore"; +import type { Coin } from "@/types"; + +export const useBankStore = defineStore('bankstore', { + state: () => { + return { + supply: {} as Coin[], + balances: {} as Record, + totalSupply: {supply: []} , + } + }, + getters: { + blockchain() { + return useBlockchain() + }, + staking() { + return useStakingStore() + } + }, + actions: { + initial() { + this.$reset() + this.supply = {} as Coin + const denom = this.staking.params.bondDenom || this.blockchain.current?.assets[0].base + if(denom) { + this.blockchain.rpc.supplyOf(denom).then(res => { + if(res.amount) this.supply = res.amount + }) + } + }, + // async fetchTotalSupply(param: QueryTotalSupplyRequest): Promise { + // const response = await this.blockchain.rpc.(param) + // this.totalSupply.supply = [...this.totalSupply.supply, ...response.supply] + // this.totalSupply.pagination = response.pagination + // return response + // }, + async fetchSupply(denom: string) { + return this.blockchain.rpc.supplyOf( denom ) + } + } +}) + diff --git a/src/stores/useBaseStore.ts b/src/stores/useBaseStore.ts new file mode 100644 index 00000000..38c98f1a --- /dev/null +++ b/src/stores/useBaseStore.ts @@ -0,0 +1,66 @@ +import { defineStore } from "pinia"; +import { useBlockchain } from "@/stores"; +import dayjs from "dayjs"; + +import type { BlockResponse } from "@cosmjs/tendermint-rpc"; + +export const useBaseStore = defineStore('baseStore', { + state: () => { + return { + earlest: {} as BlockResponse, + latest: {} as BlockResponse, + recents: [] as BlockResponse[] + } + }, + getters: { + blocktime(): number { + if(this.earlest && this.latest) { + if(this.latest.block?.header?.height !== this.earlest.block?.header?.height) { + const diff = dayjs(this.latest.block?.header?.time).diff(this.earlest.block?.header?.time) + return diff + } + } + return 6000 + }, + blockchain() { + return useBlockchain() + } + }, + actions: { + async initial() { + this.fetchLatest() + }, + async clearRecentBlocks() { + this.recents = [] + }, + async fetchLatest() { + this.latest = await this.blockchain.rpc.block() + if(!this.earlest || this.earlest.block?.header?.chainId != this.latest.block?.header?.chainId) { + //reset earlest and recents + this.earlest = this.latest + this.recents = [] + } + if(this.recents.length>= 50) { + this.recents.pop() + } + this.recents.push(this.latest) + return this.latest + }, + + async fetchValidatorByHeight(height?: number, offset = 0) { + return this.blockchain.rpc.validatorsAtHeight(height) + }, + async fetchLatestValidators(offset = 0) { + return this.blockchain.rpc.validatorsAtHeight() + }, + async fetchBlock(height?: number) { + return this.blockchain.rpc.block(height) + }, + async fetchAbciInfo() { + return this.blockchain.rpc.abciInfo() + } + // async fetchNodeInfo() { + // return this.blockchain.rpc.no() + // } + } +}) \ No newline at end of file diff --git a/src/stores/useBlockchain.ts b/src/stores/useBlockchain.ts new file mode 100644 index 00000000..728c74f8 --- /dev/null +++ b/src/stores/useBlockchain.ts @@ -0,0 +1,128 @@ +import { defineStore } from "pinia"; +import { useDashboard, type ChainConfig, type Endpoint, EndpointType } from "./useDashboard"; +import { LCDClient } from '@osmonauts/lcd' +import type { VerticalNavItems } from '@/@layouts/types' +import { useRouter } from "vue-router"; +import { useStakingStore } from "./useStakingStore"; +import { useBankStore } from "./useBankStore"; +import { useBaseStore } from "./useBaseStore"; +import { useGovStore } from "./useGovStore"; +import { ref } from "vue"; +import { useMintStore } from "./useMintStore"; +import { useBlockModule } from "@/modules/[chain]/block/block"; + +export const useBlockchain = defineStore("blockchain", { + state: () => { + return { + status: {} as Record, + rest: '', + chainName: "", + endpoint: {} as { + type?: EndpointType, + address: string + provider: string + }, + connErr: "" + } + }, + getters: { + current() : ChainConfig | undefined { + return this.dashboard.chains[this.chainName] + }, + logo(): string { + return this.current?.logo || '' + }, + dashboard() { + return useDashboard() + }, + computedChainMenu() { + + let currNavItem: VerticalNavItems = [] + + const router = useRouter() + const routes = router?.getRoutes()||[] + console.log(routes) + if(this.current && routes) { + currNavItem = [{ + title: this.current?.prettyName || this.chainName || '', + icon: {image: this.current.logo, size: '22'}, + i18n: false, + children: routes + .filter(x=>x.name && x.name.toString().startsWith('chain')) + .map(x => ({ + title: `module.${x.name?.toString()}`, + to: {path: x.path.replace(':chain',this.chainName)}, + icon: { icon: 'mdi-chevron-right', size: '22'}, + i18n: true + })) + .sort((a,b)=>a.to.path.length - b.to.path.length) + }] + } + // compute favorite menu + const favNavItems: VerticalNavItems = [] + this.dashboard.favorite.forEach(name => { + const ch = this.dashboard.chains[name] + if(ch) { + favNavItems.push({ + title: ch.prettyName || ch.chainName || name, + to: { path: `/${ch.chainName || name}`}, + icon: {image: ch.logo, size: '22'} + } ) + } + }) + + // combine all together + return [...currNavItem, + { heading: 'Ecosystem' }, + { + title: 'Favorite', + children: favNavItems, + badgeContent: favNavItems.length, + badgeClass: 'bg-primary', + i18n: true, + icon: { icon: 'mdi-star', size: '22'} + }, + { + title: 'All Blockchains', + to: { path : '/'}, + badgeContent: this.dashboard.length, + badgeClass: 'bg-primary', + i18n: true, + icon: { icon: 'mdi-grid', size: '22'} + } + ] + }, + }, + actions: { + async initial() { + await this.randomSetupEndpoint() + await useStakingStore().init() + useBankStore().initial() + useBaseStore().initial() + useGovStore().initial() + useMintStore().initial() + useBlockModule().initial() + }, + + async randomSetupEndpoint() { + const all = this.current?.endpoints?.rpc + if(all) { + const rn = Math.random() + const endpoint = all[Math.floor(rn * all.length)] + await this.setRestEndpoint(endpoint) + } + }, + + async setRestEndpoint(endpoint: Endpoint) { + this.connErr = '' + this.endpoint = endpoint + // this.rpc = new RPCClient(endpoint.address) + // console.log(this.rpc.endpoint) + }, + setCurrent(name: string) { + this.chainName = name + console.log('set current', name) + }, + + } +}) diff --git a/src/stores/useCoinGecko.ts b/src/stores/useCoinGecko.ts new file mode 100644 index 00000000..4032b020 --- /dev/null +++ b/src/stores/useCoinGecko.ts @@ -0,0 +1,51 @@ +import { defineStore } from "pinia"; +import { get } from '../libs/http' +import type { LoadingStatus } from "./useDashboard"; + +export interface PriceMeta { + usd?: string, + usd_24h_change?: string, + cny?: string, + cny_24h_change? : string, + eur?: string, + eur_24h_change?: string, +} + +const LocalStoreKey = 'currency' + +export const useCoingecko = defineStore('coingecko', { + state: () => { + const currency = localStorage.getItem(LocalStoreKey) + return { + currency, // secondary currency + loadStatus: {} as Record, + prices: {} as Record, + marketChart: {} + } + }, + getters: { + + }, + + actions: { + getMarketChart(days = 30, coinId = 'cosmos') { + return get(`https://api.coingecko.com/api/v3/coins/${coinId}/market_chart?vs_currency=usd&days=${days}`) + }, + + fetchCoinPrice(ids: string[]) { + const url = `https://api.coingecko.com/api/v3/simple/price?include_24hr_change=true&vs_currencies=${['usd', this.currency].join(',')}&ids=${ids.join(',')}` + get(url).then(data => { + this.prices = {...this.prices, ...data} + }) + }, + getCoinInfo(coinId: string) { + return get(`https://api.coingecko.com/api/v3/coins/${coinId}`) + }, + setSecondaryCurrency(currency: string) { + if(currency !== 'usd') { + localStorage.setItem(LocalStoreKey, currency) + this.currency = currency + } + } + } +}) \ No newline at end of file diff --git a/src/stores/useDashboard.ts b/src/stores/useDashboard.ts new file mode 100644 index 00000000..6dee937f --- /dev/null +++ b/src/stores/useDashboard.ts @@ -0,0 +1,261 @@ + +import { defineStore } from "pinia"; +import { get } from '../libs/http' +import type { Chain, Asset } from '@ping-pub/chain-registry-client/dist/types' +import { useBlockchain } from "./useBlockchain"; + +export enum EndpointType { + rpc, + rest, + grpc, + // webgrpc +} + +export interface Endpoint { + type?: EndpointType, + address: string, + provider: string +} + +// Chain config structure of cosmos.directory +export interface DirectoryChain { + assets: Asset[], + bech32_prefix: string, + best_apis: { + rest: Endpoint[] + rpc: Endpoint[] + }, + chain_id: string, + chain_name: string, + pretty_name: string, + coingecko_id: string, + cosmwasm_enabled: boolean, + decimals: number, + denom: string, + display: string, + explorers: { + name?: string | undefined; + kind?: string | undefined; + url?: string | undefined; + tx_page?: string | undefined; + account_page?: string | undefined; + }[] | undefined, + height: number, + image: string, + name: string, + network_type: string, + symbol: string, + versions?: { + application_version: string, + cosmos_sdk_version: string, + tendermint_version: string, + } +} + +export interface ChainConfig { + chainName: string, + prettyName: string, + bech32Prefix: string, + chainId: string, + assets: Asset[], + themeColor?: string, + endpoints: { + rest?: Endpoint[] + rpc?: Endpoint[] + grpc?: Endpoint[] + }, + logo: string, + versions: { + application?: string, + cosmosSdk?: string, + tendermint?: string, + }, +} + +export interface LocalConfig { + addr_prefix: string, + alias: string, + api: string[] | Endpoint[], + assets: {base: string, coingecko_id: string, exponent: string, logo: string, symbol: string}[] + chain_name: string, + coin_type: string + logo: string, + min_tx_fee: string, + rpc: string[] | Endpoint[], + sdk_version: string, +} + +function apiConverter(api: any[]){ + if(!api) return [] + const array = typeof api === 'string'? [api] : api + return array.map(x => { + if(typeof x === 'string') { + const parts = String(x).split('.') + return { + address: x, + provider: parts.length >=2 ? parts[parts.length-2] : x + } + }else{ + return x as Endpoint + } + }) +} + +export function fromLocal(lc: LocalConfig ): ChainConfig { + const conf = {} as ChainConfig + conf.assets = lc.assets.map(x => ({ + name: x.base, + base: x.base, + display: x.symbol, + symbol: x.symbol, + logo_URIs: { svg: x.logo }, + coingecko_id: x.coingecko_id, + denom_units: [{denom: x.base, exponent: 0}, {denom: x.symbol.toLowerCase(), exponent: Number(x.exponent)}] + })) + conf.bech32Prefix = lc.addr_prefix + conf.chainName = lc.chain_name + conf.prettyName = lc.chain_name + conf.endpoints = { + rest: apiConverter(lc.api), + rpc: apiConverter(lc.rpc), + } + conf.logo = lc.logo + return conf +} + + +export function fromDirectory(source: DirectoryChain): ChainConfig { + const conf = {} as ChainConfig + conf.assets = source.assets, + conf.bech32Prefix = source.bech32_prefix, + conf.chainId = source.chain_id, + conf.chainName = source.chain_name, + conf.prettyName = source.pretty_name, + conf.versions = { + application: source.versions?.application_version || '', + cosmosSdk: source.versions?.cosmos_sdk_version || '', + tendermint: source.versions?.tendermint_version || '', + }, + conf.logo = pathConvert(source.image) + conf.endpoints = source.best_apis + return conf +} + +function pathConvert(path: string | undefined) { + if(path) { + path = path.replace('https://raw.githubusercontent.com/cosmos/chain-registry/master', 'https://registry.ping.pub') + } + return path || '' +} + +export function getLogo(conf: { + svg?: string, + png?: string, + jpeg?: string, +} | undefined) { + if(conf) { + return pathConvert(conf.svg || conf.png || conf.jpeg) + } + return undefined +} + +function createChainFromDirectory(source: DirectoryChain) : Chain { + const conf: Chain = {} as Chain; + conf.apis = source.best_apis + conf.bech32_prefix = source.bech32_prefix + conf.chain_id = source.chain_id + conf.chain_name = source.chain_name + conf.explorers = source.explorers + conf.pretty_name = source.pretty_name + if(source.versions) { + conf.codebase = { + recommended_version: source.versions.application_version, + cosmos_sdk_version: source.versions.cosmos_sdk_version, + tendermint_version: source.versions.tendermint_version, + } + } + if(source.image) { + conf.logo_URIs = { + svg: source.image + } + } + return conf +} + +export enum LoadingStatus { + Empty, + Loading, + Loaded, +} +export enum NetworkType { + Mainnet, + Testnet, +} +export enum ConfigSource { + MainnetCosmosDirectory = "https://chains.cosmos.directory", + TestnetCosmosDirectory = "https://chains.testcosmos.directory", + Local = 'local', +} + +export const useDashboard = defineStore('dashboard', { + state: () => { + const fav = JSON.parse(localStorage.getItem('favorite') || '["cosmoshub", "osmosis"]') + return { + status: LoadingStatus.Empty, + source: ConfigSource.MainnetCosmosDirectory, + networkType: NetworkType.Mainnet, + favorite: fav as string[], + chains: {} as Record, + } + }, + getters: { + length() : number { + return Object.keys(this.chains).length + } + }, + actions: { + initial() { + this.loadingFromLocal() + // this.loadingFromRegistry() + }, + async loadingFromRegistry() { + if(this.status === LoadingStatus.Empty) { + this.status = LoadingStatus.Loading + get(this.source).then((res)=> { + res.chains.forEach(( x: DirectoryChain ) => { + this.chains[x.chain_name] = fromDirectory(x) + }); + this.status = LoadingStatus.Loaded + }) + } + }, + async loadingFromLocal() { + const source: Record = this.networkType === NetworkType.Mainnet + ? import.meta.glob('../../chains/mainnet/*.json', {eager: true}) + : import.meta.glob('../../chains/testnet/*.json', {eager: true}) + Object.values(source).forEach((x: LocalConfig) => { + this.chains[x.chain_name] = fromLocal(x) + }) + this.setupDefault() + this.status = LoadingStatus.Loaded + }, + setupDefault() { + if(this.length > 0) { + const blockchain = useBlockchain() + for(let i=0; i < this.favorite.length; i++) { + if(!blockchain.chainName && this.chains[this.favorite[i]]) { + blockchain.setCurrent(this.favorite[i]) + } + } + if(!blockchain.chainName) { + const [first] = Object.keys(this.chains) + blockchain.setCurrent(first) + } + } + }, + setConfigSource(newSource: ConfigSource) { + this.source = newSource + this.initial() + } + } +}) diff --git a/src/stores/useDistributionStore.ts b/src/stores/useDistributionStore.ts new file mode 100644 index 00000000..d0bbbca6 --- /dev/null +++ b/src/stores/useDistributionStore.ts @@ -0,0 +1,19 @@ +import { defineStore } from "pinia"; +import { useBlockchain } from "./useBlockchain"; + +export const useDistributionStore = defineStore('distributionStore', { + state: () => { + return { + } + }, + getters: { + blockchain() { + return useBlockchain() + } + }, + actions: { + async fetchCommunityPool() { + return this.blockchain.rpc.communityPool() + } + } +}) \ No newline at end of file diff --git a/src/stores/useFormatter.ts b/src/stores/useFormatter.ts new file mode 100644 index 00000000..4149c056 --- /dev/null +++ b/src/stores/useFormatter.ts @@ -0,0 +1,160 @@ +import { defineStore } from "pinia"; +import { useBlockchain } from "./useBlockchain"; +import Long from "long"; +import numeral from "numeral"; +import dayjs from 'dayjs'; +import duration from 'dayjs/plugin/duration' +import relativeTime from 'dayjs/plugin/relativeTime' +import updateLocale from 'dayjs/plugin/updateLocale' +import utc from 'dayjs/plugin/utc' +import localeData from 'dayjs/plugin/localeData' +import { useStakingStore } from "./useStakingStore"; +import { fromBech32, toBase64, toHex } from "@cosmjs/encoding"; +import { consensusPubkeyToHexAddress, operatorAddressToAccount } from "@/libs"; + +dayjs.extend(localeData) +dayjs.extend(duration) +dayjs.extend(relativeTime) +dayjs.extend(updateLocale) +dayjs.extend(utc) +dayjs.updateLocale('en', { + relativeTime: { + future: 'in %s', + past: '%s ago', + s: '%ds', + m: '1m', + mm: '%dm', + h: 'an hour', + hh: '%d hours', + d: 'a day', + dd: '%d days', + M: 'a month', + MM: '%d months', + y: 'a year', + yy: '%d years', + }, +}) + +export const useFormatter = defineStore('formatter', { + state: () => { + return { + } + }, + getters: { + blockchain() { + return useBlockchain() + }, + staking() { + return useStakingStore() + } + }, + actions: { + formatTokenAmount(token: {denom: string, amount: string;}) { + return this.formatToken(token, false) + }, + formatToken2(token: { denom: string, amount: string;}, withDenom = true) { + return this.formatToken(token, true, '0,0.[00]') + }, + formatToken(token: { denom: string, amount: string;}, withDenom = true, fmt='0.0a') : string { + if(token && token.amount) { + let amount = Number(token.amount) + let denom = token.denom + const conf = this.blockchain.current?.assets?.find(x => x.base === token.denom || x.base.denom === token.denom) + if(conf) { + let unit = {exponent: 6, denom: ''} + // find the max exponent for display + conf.denom_units.forEach(x => { + if(x.exponent >= unit.exponent) { + unit = x + } + }) + if(unit && unit.exponent > 0) { + amount = amount / Math.pow(10, unit.exponent || 6) + denom = unit.denom.toUpperCase() + } + } + return `${numeral(amount).format(fmt)} ${withDenom ? denom: ''}` + } + return '-' + }, + formatTokens(tokens?: { denom: string, amount: string;}[], withDenom = true, fmt='0.0a') : string { + if(!tokens) return '' + return tokens.map(x => this.formatToken(x, withDenom, fmt)).join(', ') + }, + calculateBondedRatio(pool: {bonded_tokens: string, not_bonded_tokens: string}|undefined) { + if(pool && pool.bonded_tokens) { + const b = Number(pool.bonded_tokens) + const nb = Number(pool.not_bonded_tokens) + const p = b/(b+nb) + console.log(b, nb, p, pool) + return numeral(p).format('0.[00]%') + } + return '-' + }, + validator(address: Uint8Array) { + const txt = toHex(address).toUpperCase() + const validator = this.staking.validators.find(x => consensusPubkeyToHexAddress(x.consensusPubkey) === txt) + return validator?.description?.moniker + }, + calculatePercent(input?: string, total?: string|number ) { + if(!input || !total) return '0' + const percent = Number(input)/Number(total) + return numeral(percent).format("0.[00]%") + }, + formatDecimalToPercent(decimal: string) { + return numeral(decimal).format('0.[00]%') + }, + formatCommissionRate(v?: string) { + console.log(v) + if(!v) return '-' + const rate = Number(v) / Number("1000000000000000000") + return this.percent(rate) + }, + percent(decimal?: string|number) { + return decimal ? numeral(decimal).format('0.[00]%') : '-' + }, + numberAndSign(input: number, fmt="+0,0") { + return numeral(input).format(fmt) + }, + toDay(time?: string, format = 'long') { + if(!time) return '' + if (format === 'long') { + return dayjs(time).format('YYYY-MM-DD HH:mm') + } + if (format === 'date') { + return dayjs(time).format('YYYY-MM-DD') + } + if (format === 'time') { + return dayjs(time).format('HH:mm:ss') + } + if (format === 'from') { + return dayjs(time).fromNow() + } + if (format === 'to') { + return dayjs(time).toNow() + } + return dayjs(time).format('YYYY-MM-DD HH:mm:ss') + }, + messages(msgs: {typeUrl: string}[]) { + if(msgs) { + const sum: Record = msgs.map(msg => { + return msg.typeUrl.substring(msg.typeUrl.lastIndexOf('.') + 1).replace('Msg', '') + }).reduce((s, c) => { + const sh: Record = s + if (sh[c]) { + sh[c] += 1 + } else { + sh[c] = 1 + } + return sh + }, {}) + const output: string[] = [] + Object.keys(sum).forEach(k => { + output.push(sum[k] > 1 ? `${k}×${sum[k]}` : k) + }) + return output.join(', ') + } + }, + } +}) + diff --git a/src/stores/useGovStore.ts b/src/stores/useGovStore.ts new file mode 100644 index 00000000..24a13011 --- /dev/null +++ b/src/stores/useGovStore.ts @@ -0,0 +1,46 @@ +import { defineStore } from "pinia"; +import { useBlockchain } from "./useBlockchain"; +import { createGovRestClientForChain } from "@/libs/client"; +import { Tendermint34Client } from "@cosmjs/tendermint-rpc"; +import { QueryClient } from "@cosmjs/stargate"; + +export const useGovStore = defineStore('govStore', { + state: () => { + return { + params: { + deposit: {} as DepositParams, + voting: {} as VotingParams, + tally: {} as TallyParams, + } + } + }, + getters: { + blockchain() { + return useBlockchain() + } + }, + actions: { + initial() { + this.fetchParams() + }, + async fetchProposals( proposalStatus: ProposalStatus, pagination?: PageRequest ) { + const param = { + proposalStatus, + voter: '', + depositor: '', + pagination, + } + const proposals = await this.blockchain.rpc.proposals(proposalStatus, '', '') + console.log(proposals) + return proposals + }, + async fetchParams() { + // this.blockchain.rpc.govParam().then(x => { + // this.params.deposit = x.deposit + // }) + }, + async fetchTally(proposalId: number) { + return this.blockchain.rpc.tally(proposalId) + } + } +}) diff --git a/src/stores/useMintStore.ts b/src/stores/useMintStore.ts new file mode 100644 index 00000000..4ff9dc55 --- /dev/null +++ b/src/stores/useMintStore.ts @@ -0,0 +1,27 @@ +import { defineStore } from "pinia"; +import { useBlockchain } from "./useBlockchain"; + +export const useMintStore = defineStore('mintStore', { + state: () => { + return { + inflation: "0", + } + }, + getters: { + blockchain() { + return useBlockchain() + } + }, + actions: { + initial() { + this.fetchInflation() + }, + async fetchInflation() { + this.blockchain.rpc.inflation().then(x => { + this.inflation = x.inflation + }).catch(() => { + this.inflation = "0" + }) + } + } +}) \ No newline at end of file diff --git a/src/stores/useStakingStore.ts b/src/stores/useStakingStore.ts new file mode 100644 index 00000000..518df995 --- /dev/null +++ b/src/stores/useStakingStore.ts @@ -0,0 +1,64 @@ +import { defineStore } from "pinia"; +import { useBlockchain } from "./useBlockchain"; + +import { get } from "@/libs/http"; + +export const useStakingStore = defineStore('stakingStore', { + state: () => { + return { + validators: [] as Validator[], + params: {} as QueryParamsResponse, + pool: {} as Pool | undefined, + } + }, + getters: { + totalPower(): number { + const sum = (s:number, e: Validator) => { return s + parseInt(e.delegatorShares) } + return this.validators ? this.validators.reduce(sum, 0): 0 + }, + blockchain() { + return useBlockchain() + } + }, + actions: { + async init() { + this.$reset() + this.fetchPool() + this.fetchAcitveValdiators() + return await this.fetchParams() + }, + async keybase(identity: string) { + return get(`https://keybase.io/_/api/1.0/user/lookup.json?key_suffix=${identity}&fields=pictures`) + }, + async fetchParams() { + const response = await this.blockchain.rpc.stakingParams() + if(response.params) this.params = response.params + return this.params + }, + async fetchPool() { + const response = await this.blockchain.rpc.stakingPool() + this.pool = response.pool + }, + async fetchAcitveValdiators() { + return this.fetchValidators('BOND_STATUS_BONDED') + }, + async fetchInacitveValdiators() { + return this.fetchValidators('BOND_STATUS_UNBONDED') + }, + async fetchValidator(validatorAddr: string) { + return this.blockchain.rpc.validator(validatorAddr) + }, + async fetchValidatorDelegation(validatorAddr: string, delegatorAddr: string) { + return (await this.blockchain.rpc.validatorDelegation(validatorAddr, delegatorAddr)).delegationResponse + }, + async fetchValidators(status: string) { + return this.blockchain.rpc.validators(status, undefined).then(res => { + const vals = res.validators.sort((a, b) => (Number(b.delegatorShares) - Number(a.delegatorShares))) + if(status==='BOND_STATUS_BONDED') { + this.validators = vals + } + return vals + }) + } + } +}) \ No newline at end of file diff --git a/src/types/Coin.ts b/src/types/Coin.ts new file mode 100644 index 00000000..6b25eee6 --- /dev/null +++ b/src/types/Coin.ts @@ -0,0 +1,4 @@ +export interface Coin { + amount: string|number; + denom: string; +} \ No newline at end of file diff --git a/src/types/Proposal.ts b/src/types/Proposal.ts new file mode 100644 index 00000000..355de808 --- /dev/null +++ b/src/types/Proposal.ts @@ -0,0 +1,5 @@ +export class Proposal { + type: string = ''; + title: string = ''; + description: string = '' +} \ No newline at end of file diff --git a/src/types/index.ts b/src/types/index.ts new file mode 100644 index 00000000..143f4e2c --- /dev/null +++ b/src/types/index.ts @@ -0,0 +1,2 @@ +export * from './Coin' +export * from './Proposal' \ No newline at end of file diff --git a/themeConfig.ts b/themeConfig.ts new file mode 100644 index 00000000..716c73e4 --- /dev/null +++ b/themeConfig.ts @@ -0,0 +1,51 @@ +import { breakpointsVuetify } from '@vueuse/core' + +import { VAvatar } from 'vuetify/components' + +// ❗ Logo SVG must be imported with ?raw suffix +// import logo from '@/assets/logo.svg?raw' + +import { defineThemeConfig } from '@/plugins/vuetify/@core' +import { RouteTransitions, Skins } from '@/plugins/vuetify/@core/enums' +import { AppContentLayoutNav, ContentWidth, FooterType, NavbarType } from '@layouts/enums' + +export const { themeConfig, layoutConfig } = defineThemeConfig({ + app: { + title: 'Ping.pub', + + // ❗ if you have SVG logo and want it to adapt according to theme color, you have to apply color as `color: rgb(var(--v-global-theme-primary))` + // logo: h('div', { innerHTML: logo, style: 'line-height:0; color: rgb(var(--v-global-theme-primary))' }), + logo: h('img', {src: '/logo.svg', width: 50, height: 50}), + contentWidth: ContentWidth.Boxed, + contentLayoutNav: AppContentLayoutNav.Vertical, + overlayNavFromBreakpoint: breakpointsVuetify.md + 16, // 16 for scrollbar. Docs: https://next.vuetifyjs.com/en/features/display-and-platform/ + enableI18n: true, + theme: 'system', + isRtl: false, + skin: Skins.Default, + routeTransition: RouteTransitions.Fade, + iconRenderer: VAvatar, + }, + navbar: { + type: NavbarType.Sticky, + navbarBlur: true, + }, + footer: { type: FooterType.Static }, + verticalNav: { + isVerticalNavCollapsed: false, + defaultNavItemIconProps: { icon: 'mdi-circle' }, + isVerticalNavSemiDark: false, + }, + horizontalNav: { + type: 'sticky', + transition: 'slide-y-reverse-transition', + }, + icons: { + chevronDown: { icon: 'mdi-chevron-down' }, + chevronRight: { icon: 'mdi-chevron-right' }, + close: { icon: 'mdi-close' }, + verticalNavPinned: { icon: 'custom-vertical-nav-header-arrow', size: 22 }, + verticalNavUnPinned: { icon: 'custom-vertical-nav-header-arrow', size: 22 }, + sectionTitlePlaceholder: { icon: 'mdi-minus' }, + }, +}) diff --git a/tsconfig.config.json b/tsconfig.config.json new file mode 100644 index 00000000..424084aa --- /dev/null +++ b/tsconfig.config.json @@ -0,0 +1,8 @@ +{ + "extends": "@vue/tsconfig/tsconfig.node.json", + "include": ["vite.config.*", "vitest.config.*", "cypress.config.*", "playwright.config.*"], + "compilerOptions": { + "composite": true, + "types": ["node"] + } +} diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 00000000..27ca65df --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,20 @@ +{ + "extends": "@vue/tsconfig/tsconfig.web.json", + "include": ["env.d.ts", "src/**/*", "src/**/*.vue"], + "compilerOptions": { + "lib": [ + "es2017", + "dom" + ], + "baseUrl": ".", + "paths": { + "@/*": ["./src/*"] + } + }, + + "references": [ + { + "path": "./tsconfig.config.json" + } + ] +} diff --git a/vite.config.ts b/vite.config.ts new file mode 100644 index 00000000..9e3b281b --- /dev/null +++ b/vite.config.ts @@ -0,0 +1,79 @@ +import { fileURLToPath, URL } from "node:url"; + +import { defineConfig } from "vite"; +import vue from "@vitejs/plugin-vue"; +import vueJsx from "@vitejs/plugin-vue-jsx"; +import vuetify from "vite-plugin-vuetify"; +import Layouts from "vite-plugin-vue-layouts"; +import DefineOptions from "unplugin-vue-define-options/vite"; +import Components from "unplugin-vue-components/vite"; +import AutoImport from "unplugin-auto-import/vite"; +import Pages from "vite-plugin-pages"; + +import VueI18nPlugin from '@intlify/unplugin-vue-i18n/vite' + +// https://vitejs.dev/config/ +export default defineConfig({ + plugins: [ + vue(), + vueJsx(), + vuetify({ + styles: { + configFile: "src/plugins/vuetify/styles/variables/_vuetify.scss", + }, + }), + Pages({ + dirs: ["./src/modules", "./src/pages", ], + exclude: ['**/*.ts'], // only load .vue as modules + }), + Layouts({ + layoutsDirs: "./src/layouts/", + }), + Components({ + dirs: ["src/plugins/vuetify/@core/components"], + dts: true, + }), + AutoImport({ + imports: ["vue", "vue-router", "@vueuse/core", "@vueuse/math", "vue-i18n", "pinia"], + vueTemplate: true, + }), + VueI18nPlugin({ + runtimeOnly: true, + compositionOnly: true, + include: [ + fileURLToPath(new URL('./src/plugins/i18n/locales/**', import.meta.url)), + ], + }), + DefineOptions(), + ], + resolve: { + alias: { + "@": fileURLToPath(new URL("./src", import.meta.url)), + "@themeConfig": fileURLToPath( + new URL("./themeConfig.ts", import.meta.url) + ), + "@configured-variables": fileURLToPath( + new URL( + "./src/plugins/vuetify/styles/variables/_template.scss", + import.meta.url + ) + ), + "@core": fileURLToPath( + new URL("./src/plugins/vuetify/@core", import.meta.url) + ), + "@layouts": fileURLToPath( + new URL("./src/plugins/vuetify/@layouts", import.meta.url) + ), + "@images": fileURLToPath( + new URL("./src/plugins/vuetify/images/", import.meta.url) + ), + "@styles": fileURLToPath( + new URL("./src/plugins/vuetify/styles/", import.meta.url) + ), + }, + }, + optimizeDeps: { + exclude: ["vuetify"], + entries: ["./src/**/*.vue"], + }, +}); diff --git a/yarn-error.log b/yarn-error.log new file mode 100644 index 00000000..90d51705 --- /dev/null +++ b/yarn-error.log @@ -0,0 +1,10411 @@ +Arguments: + /usr/local/bin/node /Users/ping/.yarn/bin/yarn.js + +PATH: + /Users/ping/.yarn/bin:/Users/ping/.config/yarn/global/node_modules/.bin:/Users/ping/bin:/Users/ping/miniconda3/condabin:/Users/ping/.gem/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/MacGPG2/bin:/opt/X11/bin:/Library/Apple/usr/bin:/Users/ping/.cargo/bin:/Users/ping/go/bin + +Yarn version: + 1.22.15 + +Node version: + 19.7.0 + +Platform: + darwin x64 + +Trace: + Error: https://registry.npmjs.org/@ping-pub%2fcodegen: Not found + at params.callback [as _callback] (/Users/ping/.yarn/lib/cli.js:67031:18) + at self.callback (/Users/ping/.yarn/lib/cli.js:140885:22) + at Request.emit (node:events:512:28) + at Request. (/Users/ping/.yarn/lib/cli.js:141857:10) + at Request.emit (node:events:512:28) + at IncomingMessage. (/Users/ping/.yarn/lib/cli.js:141779:12) + at Object.onceWrapper (node:events:626:28) + at IncomingMessage.emit (node:events:524:35) + at endReadableNT (node:internal/streams/readable:1359:12) + at process.processTicksAndRejections (node:internal/process/task_queues:82:21) + +npm manifest: + { + "name": "framework", + "version": "0.0.0", + "private": true, + "target": "", + "scripts": { + "serve": "vite", + "build": "run-p type-check build-only", + "preview": "vite preview", + "build-only": "vite build", + "type-check": "vue-tsc --noEmit", + "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore" + }, + "dependencies": { + "@casl/ability": "^6.3.3", + "@casl/vue": "^2.2.1", + "@cosmjs/crypto": "^0.29.5", + "@cosmjs/encoding": "^0.29.5", + "@floating-ui/dom": "^1.2.0", + "@iconify/vue": "^4.1.0", + "@intlify/unplugin-vue-i18n": "^0.8.2", + "@osmonauts/lcd": "^0.8.0", + "@ping-pub/chain-registry-client": "^0.0.25", + "@ping-pub/codegen": "*", + "@vitejs/plugin-vue-jsx": "^3.0.0", + "@vueuse/core": "^9.12.0", + "@vueuse/math": "^9.12.0", + "apexcharts": "^3.37.1", + "axios": "^1.3.2", + "cross-fetch": "^3.1.5", + "dayjs": "^1.11.7", + "long": "^5.2.1", + "md-editor-v3": "^2.8.1", + "numeral": "^2.0.6", + "osmojs": "^14.0.0-rc.0", + "pinia": "^2.0.28", + "vite-plugin-vue-layouts": "^0.7.0", + "vite-plugin-vuetify": "^1.0.2", + "vue": "^3.2.45", + "vue-i18n": "^9.2.2", + "vue-router": "^4.1.6", + "vue3-apexcharts": "^1.4.1", + "vue3-perfect-scrollbar": "^1.6.1", + "vuetify": "3.0.6", + "webfontloader": "^1.6.28" + }, + "devDependencies": { + "@osmonauts/telescope": "^0.88.2", + "@rushstack/eslint-patch": "^1.1.4", + "@types/marked": "^4.0.8", + "@types/node": "^18.11.12", + "@types/numeral": "^2.0.2", + "@vitejs/plugin-vue": "^4.0.0", + "@vue/eslint-config-prettier": "^7.0.0", + "@vue/eslint-config-typescript": "^11.0.0", + "@vue/tsconfig": "^0.1.3", + "eslint": "^8.22.0", + "eslint-plugin-vue": "^9.3.0", + "npm-run-all": "^4.1.5", + "prettier": "^2.7.1", + "sass": "^1.58.0", + "typescript": "~4.9.5", + "unplugin-auto-import": "^0.13.0", + "unplugin-vue-components": "^0.23.0", + "unplugin-vue-define-options": "1.1.4", + "vite": "^4.0.0", + "vite-plugin-pages": "^0.28.0", + "vue-tsc": "^1.0.12" + } + } + +yarn manifest: + No manifest + +Lockfile: + # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. + # yarn lockfile v1 + + + "@ampproject/remapping@^2.1.0", "@ampproject/remapping@^2.2.0": + version "2.2.0" + resolved "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.2.0.tgz#56c133824780de3174aed5ab6834f3026790154d" + integrity sha512-qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9BxH5Jc26w== + dependencies: + "@jridgewell/gen-mapping" "^0.1.0" + "@jridgewell/trace-mapping" "^0.3.9" + + "@antfu/utils@^0.7.2": + version "0.7.2" + resolved "https://registry.yarnpkg.com/@antfu/utils/-/utils-0.7.2.tgz#3bb6f37a6b188056fe9e2f363b6aa735ed65d7ca" + integrity sha512-vy9fM3pIxZmX07dL+VX1aZe7ynZ+YyB0jY+jE6r3hOK6GNY2t6W8rzpFC4tgpbXUYABkFQwgJq2XYXlxbXAI0g== + + "@babel/code-frame@^7.0.0", "@babel/code-frame@^7.18.6": + 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/compat-data@^7.17.7", "@babel/compat-data@^7.18.8", "@babel/compat-data@^7.19.3": + version "7.21.0" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.21.0.tgz#c241dc454e5b5917e40d37e525e2f4530c399298" + integrity sha512-gMuZsmsgxk/ENC3O/fRw5QY8A9/uxQbbCEypnLIiYYc/qVJtEV7ouxC3EllIIwNzMqAQee5tanFabWsUOutS7g== + + "@babel/compat-data@^7.20.5": + version "7.20.14" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.20.14.tgz#4106fc8b755f3e3ee0a0a7c27dde5de1d2b2baf8" + integrity sha512-0YpKHD6ImkWMEINCyDAD0HLLUH/lPCefG8ld9it8DJB2wnApraKuhgYTvTY1z7UFIfBTGy5LwncZ+5HWWGbhFw== + + "@babel/core@7.18.10": + version "7.18.10" + resolved "https://registry.yarnpkg.com/@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.19.3": + version "7.19.3" + resolved "https://registry.yarnpkg.com/@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.21.0" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.21.0.tgz#1341aefdcc14ccc7553fcc688dd8986a2daffc13" + integrity sha512-PuxUbxcW6ZYe656yL3EAhpy7qXKq0DmYsrJLpbB8XrsCP9Nm+XCg9XFMb5vIDliPD7+U/+M+QJlH17XOcB7eXA== + dependencies: + "@ampproject/remapping" "^2.2.0" + "@babel/code-frame" "^7.18.6" + "@babel/generator" "^7.21.0" + "@babel/helper-compilation-targets" "^7.20.7" + "@babel/helper-module-transforms" "^7.21.0" + "@babel/helpers" "^7.21.0" + "@babel/parser" "^7.21.0" + "@babel/template" "^7.20.7" + "@babel/traverse" "^7.21.0" + "@babel/types" "^7.21.0" + convert-source-map "^1.7.0" + debug "^4.1.0" + gensync "^1.0.0-beta.2" + json5 "^2.2.2" + semver "^6.3.0" + + "@babel/core@^7.20.12", "@babel/core@^7.20.5": + version "7.20.12" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.20.12.tgz#7930db57443c6714ad216953d1356dac0eb8496d" + integrity sha512-XsMfHovsUYHFMdrIHkZphTN/2Hzzi78R08NuHfDBehym2VsPDL6Zn/JAD/JQdnRvbSsbQc4mVaU1m6JgtTEElg== + dependencies: + "@ampproject/remapping" "^2.1.0" + "@babel/code-frame" "^7.18.6" + "@babel/generator" "^7.20.7" + "@babel/helper-compilation-targets" "^7.20.7" + "@babel/helper-module-transforms" "^7.20.11" + "@babel/helpers" "^7.20.7" + "@babel/parser" "^7.20.7" + "@babel/template" "^7.20.7" + "@babel/traverse" "^7.20.12" + "@babel/types" "^7.20.7" + convert-source-map "^1.7.0" + debug "^4.1.0" + gensync "^1.0.0-beta.2" + json5 "^2.2.2" + semver "^6.3.0" + + "@babel/generator@7.18.12": + version "7.18.12" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.18.12.tgz#fa58daa303757bd6f5e4bbca91b342040463d9f4" + 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.yarnpkg.com/@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.3", "@babel/generator@^7.21.0", "@babel/generator@^7.21.1": + version "7.21.1" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.21.1.tgz#951cc626057bc0af2c35cd23e9c64d384dea83dd" + integrity sha512-1lT45bAYlQhFn/BHivJs43AiW2rg3/UbLyShGfF3C0KmHvO5fSghWd5kBJy30kpRRucGzXStvnnCFniCR2kXAA== + dependencies: + "@babel/types" "^7.21.0" + "@jridgewell/gen-mapping" "^0.3.2" + "@jridgewell/trace-mapping" "^0.3.17" + jsesc "^2.5.1" + + "@babel/generator@^7.20.7": + version "7.20.14" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.20.14.tgz#9fa772c9f86a46c6ac9b321039400712b96f64ce" + integrity sha512-AEmuXHdcD3A52HHXxaTmYlb8q/xMEhoRP67B3T4Oq7lbmSoqroMZzjnGj3+i1io3pdnF8iBYVu4Ilj+c4hBxYg== + dependencies: + "@babel/types" "^7.20.7" + "@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.yarnpkg.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.18.6.tgz#eaa49f6f80d5a33f9a5dd2276e6d6e451be0a6bb" + 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.yarnpkg.com/@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== + 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.3", "@babel/helper-compilation-targets@^7.20.7": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.20.7.tgz#a6cd33e93629f5eb473b021aac05df62c4cd09bb" + integrity sha512-4tGORmfQcrc+bvrjb5y3dG9Mx1IOZjsHqQVUz7XCNHO+iTmqxWnVg3KRygjGmpRLJGdQSKuvFinbIb0CnZwHAQ== + dependencies: + "@babel/compat-data" "^7.20.5" + "@babel/helper-validator-option" "^7.18.6" + browserslist "^4.21.3" + lru-cache "^5.1.1" + semver "^6.3.0" + + "@babel/helper-create-class-features-plugin@^7.18.6", "@babel/helper-create-class-features-plugin@^7.21.0": + version "7.21.0" + resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.21.0.tgz#64f49ecb0020532f19b1d014b03bccaa1ab85fb9" + integrity sha512-Q8wNiMIdwsv5la5SPxNYzzkPnjgC0Sy0i7jLkVOCdllu/xcVNkr3TeZzbHBJrj+XXRqzX5uCyCoV9eu6xUG7KQ== + dependencies: + "@babel/helper-annotate-as-pure" "^7.18.6" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-function-name" "^7.21.0" + "@babel/helper-member-expression-to-functions" "^7.21.0" + "@babel/helper-optimise-call-expression" "^7.18.6" + "@babel/helper-replace-supers" "^7.20.7" + "@babel/helper-skip-transparent-expression-wrappers" "^7.20.0" + "@babel/helper-split-export-declaration" "^7.18.6" + + "@babel/helper-create-class-features-plugin@^7.20.12": + version "7.20.12" + resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.20.12.tgz#4349b928e79be05ed2d1643b20b99bb87c503819" + integrity sha512-9OunRkbT0JQcednL0UFvbfXpAsUXiGjUk0a7sN8fUXX7Mue79cUSMjHGDRRi/Vz9vYlpIhLV5fMD5dKoMhhsNQ== + 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.20.7" + "@babel/helper-optimise-call-expression" "^7.18.6" + "@babel/helper-replace-supers" "^7.20.7" + "@babel/helper-skip-transparent-expression-wrappers" "^7.20.0" + "@babel/helper-split-export-declaration" "^7.18.6" + + "@babel/helper-create-regexp-features-plugin@^7.18.6", "@babel/helper-create-regexp-features-plugin@^7.20.5": + version "7.21.0" + resolved "https://registry.yarnpkg.com/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.21.0.tgz#53ff78472e5ce10a52664272a239787107603ebb" + integrity sha512-N+LaFW/auRSWdx7SHD/HiARwXQju1vXTW4fKr4u5SgBUTm51OKEjKgj+cs00ggW3kEvNqwErnlwuq7Y3xBe4eg== + dependencies: + "@babel/helper-annotate-as-pure" "^7.18.6" + regexpu-core "^5.3.1" + + "@babel/helper-define-polyfill-provider@^0.3.2", "@babel/helper-define-polyfill-provider@^0.3.3": + version "0.3.3" + resolved "https://registry.yarnpkg.com/@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" + 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.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.18.9.tgz#0c0cee9b35d2ca190478756865bb3528422f51be" + integrity sha512-3r/aACDJ3fhQ/EVgFy0hpj8oHyHpQc+LPtJoY9SzTThAsStm4Ptegq92vqKoE3vD706ZVFWITnMnxucw+S9Ipg== + + "@babel/helper-explode-assignable-expression@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.18.6.tgz#41f8228ef0a6f1a036b8dfdfec7ce94f9a6bc096" + integrity sha512-eyAYAsQmB80jNfg4baAtLeWAQHfHFiR483rzFK+BhETlGZaQC9bsfrugfXDCbRHLQbIA7U5NxhhOxN7p/dWIcg== + dependencies: + "@babel/types" "^7.18.6" + + "@babel/helper-function-name@^7.18.9", "@babel/helper-function-name@^7.21.0": + version "7.21.0" + resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.21.0.tgz#d552829b10ea9f120969304023cd0645fa00b1b4" + integrity sha512-HfK1aMRanKHpxemaY2gqBmL04iAPOPRj7DxtNbiDOrJK+gdwkiNRVpCpUJYbUT+aZyemKN8brqTOxzCaG6ExRg== + dependencies: + "@babel/template" "^7.20.7" + "@babel/types" "^7.21.0" + + "@babel/helper-function-name@^7.19.0": + version "7.19.0" + resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.19.0.tgz#941574ed5390682e872e52d3f38ce9d1bef4648c" + 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.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.18.6.tgz#d4d2c8fb4baeaa5c68b99cc8245c56554f926678" + integrity sha512-UlJQPkFqFULIcyW5sbzgbkxn2FKRgwWiRexcuaR8RNJRy8+LLveqPjwZV/bwrLZCN0eUHD/x8D0heK1ozuoo6Q== + dependencies: + "@babel/types" "^7.18.6" + + "@babel/helper-member-expression-to-functions@^7.20.7": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.20.7.tgz#a6f26e919582275a93c3aa6594756d71b0bb7f05" + integrity sha512-9J0CxJLq315fEdi4s7xK5TQaNYjZw+nDVpVqr1axNGKzdrdwYBD5b4uKv3n75aABG0rCCTK8Im8Ww7eYfMrZgw== + dependencies: + "@babel/types" "^7.20.7" + + "@babel/helper-member-expression-to-functions@^7.21.0": + version "7.21.0" + resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.21.0.tgz#319c6a940431a133897148515877d2f3269c3ba5" + integrity sha512-Muu8cdZwNN6mRRNG6lAYErJ5X3bRevgYR2O8wN0yn7jJSnGDu6eG59RfT29JHxGUovyfrh6Pj0XzmR7drNVL3Q== + dependencies: + "@babel/types" "^7.21.0" + + "@babel/helper-module-imports@^7.0.0", "@babel/helper-module-imports@^7.18.6": + 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-module-transforms@^7.18.6", "@babel/helper-module-transforms@^7.18.9", "@babel/helper-module-transforms@^7.19.0", "@babel/helper-module-transforms@^7.21.0", "@babel/helper-module-transforms@^7.21.2": + version "7.21.2" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.21.2.tgz#160caafa4978ac8c00ac66636cb0fa37b024e2d2" + integrity sha512-79yj2AR4U/Oqq/WOV7Lx6hUjau1Zfo4cI+JLAVYeMV5XIlbOhmjEk5ulbTc9fMpmlojzZHkUUxAiK+UKn+hNQQ== + dependencies: + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-module-imports" "^7.18.6" + "@babel/helper-simple-access" "^7.20.2" + "@babel/helper-split-export-declaration" "^7.18.6" + "@babel/helper-validator-identifier" "^7.19.1" + "@babel/template" "^7.20.7" + "@babel/traverse" "^7.21.2" + "@babel/types" "^7.21.2" + + "@babel/helper-module-transforms@^7.20.11": + version "7.20.11" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.20.11.tgz#df4c7af713c557938c50ea3ad0117a7944b2f1b0" + integrity sha512-uRy78kN4psmji1s2QtbtcCSaj/LILFDp0f/ymhpQH5QY3nljUZCaNWz9X1dEj/8MBdBEFECs7yRhKn8i7NjZgg== + dependencies: + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-module-imports" "^7.18.6" + "@babel/helper-simple-access" "^7.20.2" + "@babel/helper-split-export-declaration" "^7.18.6" + "@babel/helper-validator-identifier" "^7.19.1" + "@babel/template" "^7.20.7" + "@babel/traverse" "^7.20.10" + "@babel/types" "^7.20.7" + + "@babel/helper-optimise-call-expression@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.18.6.tgz#9369aa943ee7da47edab2cb4e838acf09d290ffe" + 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.20.2", "@babel/helper-plugin-utils@^7.8.0", "@babel/helper-plugin-utils@^7.8.3": + version "7.20.2" + resolved "https://registry.yarnpkg.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.20.2.tgz#d1b9000752b18d0877cff85a5c376ce5c3121629" + integrity sha512-8RvlJG2mj4huQ4pZ+rU9lqKi9ZKiRmuvGuM2HlWmkmgOhbs6zEAw6IEiJ5cQqGbDzGZOhwuOQNtZMi/ENLjZoQ== + + "@babel/helper-remap-async-to-generator@^7.18.9": + version "7.18.9" + resolved "https://registry.yarnpkg.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.18.9.tgz#997458a0e3357080e54e1d79ec347f8a8cd28519" + 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.20.7": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.20.7.tgz#243ecd2724d2071532b2c8ad2f0f9f083bcae331" + integrity sha512-vujDMtB6LVfNW13jhlCrp48QNslK6JXi7lQG736HVbHz/mbf4Dc7tIRh1Xf5C0rF7BP8iiSxGMCmY6Ci1ven3A== + dependencies: + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-member-expression-to-functions" "^7.20.7" + "@babel/helper-optimise-call-expression" "^7.18.6" + "@babel/template" "^7.20.7" + "@babel/traverse" "^7.20.7" + "@babel/types" "^7.20.7" + + "@babel/helper-simple-access@^7.20.2": + version "7.20.2" + resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.20.2.tgz#0ab452687fe0c2cfb1e2b9e0015de07fc2d62dd9" + integrity sha512-+0woI/WPq59IrqDYbVGfshjT5Dmk/nnbdpcF8SnMhhXObpTq2KNBdLFRFrkVdbDOyUmHBCxzm5FHV1rACIkIbA== + dependencies: + "@babel/types" "^7.20.2" + + "@babel/helper-skip-transparent-expression-wrappers@^7.20.0": + version "7.20.0" + resolved "https://registry.yarnpkg.com/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.20.0.tgz#fbe4c52f60518cab8140d77101f0e63a8a230684" + integrity sha512-5y1JYeNKfvnT8sZcK9DVRtpTbGiomYIHviSP3OQWmDPU3DeH4a1ZlT/N2lyQ5P8egjcRaT/Y9aNqUxK0WsnIIg== + dependencies: + "@babel/types" "^7.20.0" + + "@babel/helper-split-export-declaration@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.18.6.tgz#7367949bc75b20c6d5a5d4a97bba2824ae8ef075" + 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.yarnpkg.com/@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.yarnpkg.com/@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.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.18.6.tgz#bf0d2b5a509b1f336099e4ff36e1a63aa5db4db8" + integrity sha512-XO7gESt5ouv/LRJdrVjkShckw6STTaB7l9BrpBaAHDeF5YZT+01PCwmR0SJHnkW6i8OwW/EVWRShfi4j2x+KQw== + + "@babel/helper-validator-option@^7.21.0": + version "7.21.0" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-option/-/helper-validator-option-7.21.0.tgz#8224c7e13ace4bafdc4004da2cf064ef42673180" + integrity sha512-rmL/B8/f0mKS2baE9ZpyTcTavvEuWhTTW8amjzXNvYG4AwBsqTLikfXsEofsJEfKHf+HQVQbFOHy6o+4cnC/fQ== + + "@babel/helper-wrap-function@^7.18.9": + version "7.20.5" + resolved "https://registry.yarnpkg.com/@babel/helper-wrap-function/-/helper-wrap-function-7.20.5.tgz#75e2d84d499a0ab3b31c33bcfe59d6b8a45f62e3" + integrity sha512-bYMxIWK5mh+TgXGVqAtnu5Yn1un+v8DDZtqyzKRLUzrh70Eal2O3aZ7aPYiMADO4uKlkzOiRiZ6GX5q3qxvW9Q== + dependencies: + "@babel/helper-function-name" "^7.19.0" + "@babel/template" "^7.18.10" + "@babel/traverse" "^7.20.5" + "@babel/types" "^7.20.5" + + "@babel/helpers@^7.18.9", "@babel/helpers@^7.19.0", "@babel/helpers@^7.21.0": + version "7.21.0" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.21.0.tgz#9dd184fb5599862037917cdc9eecb84577dc4e7e" + integrity sha512-XXve0CBtOW0pd7MRzzmoyuSj0e3SEzj8pgyFxnTT1NJZL38BD1MK7yYrm8yefRPIDvNNe14xR4FdbHwpInD4rA== + dependencies: + "@babel/template" "^7.20.7" + "@babel/traverse" "^7.21.0" + "@babel/types" "^7.21.0" + + "@babel/helpers@^7.20.7": + version "7.20.13" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.20.13.tgz#e3cb731fb70dc5337134cadc24cbbad31cc87ad2" + integrity sha512-nzJ0DWCL3gB5RCXbUO3KIMMsBY2Eqbx8mBpKGE/02PgyRQFcPQLbkQ1vyy596mZLaP+dAfD+R4ckASzNVmW3jg== + dependencies: + "@babel/template" "^7.20.7" + "@babel/traverse" "^7.20.13" + "@babel/types" "^7.20.7" + + "@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/parser@7.18.11": + version "7.18.11" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.18.11.tgz#68bb07ab3d380affa9a3f96728df07969645d2d9" + 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.3", "@babel/parser@^7.21.0", "@babel/parser@^7.21.2": + version "7.21.2" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.21.2.tgz#dacafadfc6d7654c3051a66d6fe55b6cb2f2a0b3" + integrity sha512-URpaIJQwEkEC2T9Kn+Ai6Xe/02iNaVCuT/PtoRz3GPVJVDpPd7mLo+VddTbhCRU9TXqW5mSrQfXZyi8kDKOVpQ== + + "@babel/parser@^7.16.4", "@babel/parser@^7.20.13", "@babel/parser@^7.20.5", "@babel/parser@^7.20.7": + version "7.20.15" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.20.15.tgz#eec9f36d8eaf0948bb88c87a46784b5ee9fd0c89" + integrity sha512-DI4a1oZuf8wC+oAJA9RW6ga3Zbe8RZFt7kD9i4qAspz3I/yHet1VvC3DiSy/fsUvv5pvJuNPh0LPOdCcqinDPg== + + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.18.6.tgz#da5b8f9a580acdfbe53494dba45ea389fb09a4d2" + 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.20.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.20.7.tgz#d9c85589258539a22a901033853101a6198d4ef1" + integrity sha512-sbr9+wNE5aXMBBFBICk01tt7sBf2Oc9ikRFEcem/ZORup9IMUdNhW7/wVLEbbtlWOsEubJet46mHAL2C8+2jKQ== + dependencies: + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/helper-skip-transparent-expression-wrappers" "^7.20.0" + "@babel/plugin-proposal-optional-chaining" "^7.20.7" + + "@babel/plugin-proposal-async-generator-functions@^7.18.10", "@babel/plugin-proposal-async-generator-functions@^7.19.1": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.20.7.tgz#bfb7276d2d573cb67ba379984a2334e262ba5326" + integrity sha512-xMbiLsn/8RK7Wq7VeVytytS2L6qE69bXPB10YCmMdDZbKF4okCqY74pI/jJQ/8U0b/F6NrT2+14b8/P9/3AMGA== + dependencies: + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-plugin-utils" "^7.20.2" + "@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.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.18.6.tgz#b110f59741895f7ec21a6fff696ec46265c446a3" + 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.21.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.21.0.tgz#77bdd66fb7b605f3a61302d224bdfacf5547977d" + integrity sha512-XP5G9MWNUskFuP30IfFSEFB0Z6HzLIUcjYM4bYOPHXl7eiJ9HFv8tWj6TXTN5QODiEhDZAeI4hLok2iHFFV4hw== + dependencies: + "@babel/helper-create-class-features-plugin" "^7.21.0" + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/plugin-syntax-class-static-block" "^7.14.5" + + "@babel/plugin-proposal-dynamic-import@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.18.6.tgz#72bcf8d408799f547d759298c3c27c7e7faa4d94" + 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.yarnpkg.com/@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.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.yarnpkg.com/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.18.9.tgz#5f7313ab348cdb19d590145f9247540e94761203" + 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.yarnpkg.com/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.18.6.tgz#7e8788c1811c393aff762817e7dbf1ebd0c05f0b" + 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.20.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.20.7.tgz#dfbcaa8f7b4d37b51e8bfb46d94a5aea2bb89d83" + integrity sha512-y7C7cZgpMIjWlKE5T7eJwp+tnRYM89HmRvWM5EQuB5BoHEONjmQ8lSNmBUwOyy/GFRsohJED51YBF79hE1djug== + dependencies: + "@babel/helper-plugin-utils" "^7.20.2" + "@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.yarnpkg.com/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.18.6.tgz#fdd940a99a740e577d6c753ab6fbb43fdb9467e1" + 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.yarnpkg.com/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.18.6.tgz#899b14fbafe87f053d2c5ff05b36029c62e13c75" + 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": + version "7.18.9" + resolved "https://registry.yarnpkg.com/@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.18.9": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.20.7.tgz#aa662940ef425779c75534a5c41e9d936edc390a" + integrity sha512-d2S98yCiLxDVmBmE8UjGcfPvNEUbA1U5q5WxaWFUGRzJSVAZqm5W6MbPct0jxnegUZ0niLeNX+IOzEs7wYg9Dg== + dependencies: + "@babel/compat-data" "^7.20.5" + "@babel/helper-compilation-targets" "^7.20.7" + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/plugin-syntax-object-rest-spread" "^7.8.3" + "@babel/plugin-transform-parameters" "^7.20.7" + + "@babel/plugin-proposal-optional-catch-binding@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.18.6.tgz#f9400d0e6a3ea93ba9ef70b09e72dd6da638a2cb" + 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", "@babel/plugin-proposal-optional-chaining@^7.20.7": + version "7.21.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.21.0.tgz#886f5c8978deb7d30f678b2e24346b287234d3ea" + integrity sha512-p4zeefM72gpmEe2fkUr/OnOXpWEf8nAgk7ZYVqqfFiyIG7oFfVZcCrU64hWn5xp4tQ9LkV4bTIa5rD0KANpKNA== + dependencies: + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/helper-skip-transparent-expression-wrappers" "^7.20.0" + "@babel/plugin-syntax-optional-chaining" "^7.8.3" + + "@babel/plugin-proposal-private-methods@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.18.6.tgz#5209de7d213457548a98436fa2882f52f4be6bea" + 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.21.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.21.0.tgz#19496bd9883dd83c23c7d7fc45dcd9ad02dfa1dc" + integrity sha512-ha4zfehbJjc5MmXBlHec1igel5TJXXLDDRbuJ4+XT2TJcyD9/V1919BA8gMvsdHcNMBy4WBUBiRb3nw/EQUtBw== + dependencies: + "@babel/helper-annotate-as-pure" "^7.18.6" + "@babel/helper-create-class-features-plugin" "^7.21.0" + "@babel/helper-plugin-utils" "^7.20.2" + "@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.yarnpkg.com/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.18.6.tgz#af613d2cd5e643643b65cded64207b15c85cb78e" + 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.yarnpkg.com/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz#a983fb1aeb2ec3f6ed042a210f640e90e786fe0d" + 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.yarnpkg.com/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz#b5c987274c4a3a82b89714796931a6b53544ae10" + 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.yarnpkg.com/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz#195df89b146b4b78b3bf897fd7a257c84659d406" + 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.yarnpkg.com/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz#62bf98b2da3cd21d626154fc96ee5b3cb68eacb3" + 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.yarnpkg.com/@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-namespace-from@^7.8.3": + version "7.8.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz#028964a9ba80dbc094c915c487ad7c4e7a66465a" + integrity sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q== + dependencies: + "@babel/helper-plugin-utils" "^7.8.3" + + "@babel/plugin-syntax-import-assertions@^7.18.6": + version "7.20.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.20.0.tgz#bb50e0d4bea0957235390641209394e87bdb9cc4" + integrity sha512-IUh1vakzNoWalR8ch/areW7qFopR2AEw03JlG7BbrDqmQ4X3q9uuipQwSGrUn7oGiemKjtSLDhNtQHzMHr1JdQ== + dependencies: + "@babel/helper-plugin-utils" "^7.19.0" + + "@babel/plugin-syntax-json-strings@^7.8.3": + version "7.8.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz#01ca21b668cd8218c9e640cb6dd88c5412b2c96a" + integrity sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + + "@babel/plugin-syntax-jsx@^7.0.0": + 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/plugin-syntax-logical-assignment-operators@^7.10.4": + version "7.10.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz#ca91ef46303530448b906652bac2e9fe9941f699" + 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.yarnpkg.com/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz#167ed70368886081f74b5c36c65a88c03b66d1a9" + 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.yarnpkg.com/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz#b9b070b3e33570cd9fd07ba7fa91c0dd37b9af97" + 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.yarnpkg.com/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz#60e225edcbd98a640332a2e72dd3e66f1af55871" + 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.yarnpkg.com/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz#6111a265bcfb020eb9efd0fdfd7d26402b9ed6c1" + 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.yarnpkg.com/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz#4f69c2ab95167e0180cd5336613f8c5788f7d48a" + 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.yarnpkg.com/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz#0dc6671ec0ea22b6e94a1114f857970cd39de1ad" + 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.yarnpkg.com/@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-typescript@^7.20.0": + version "7.20.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.20.0.tgz#4e9a0cfc769c85689b77a2e642d24e9f697fc8c7" + integrity sha512-rd9TkG+u1CExzS4SM1BlMEhMXwFLKVjOAFFCDx9PbX5ycJWDoWMcwdJH9RhkPu1dOgn5TrxLot/Gx6lWFuAUNQ== + dependencies: + "@babel/helper-plugin-utils" "^7.19.0" + + "@babel/plugin-transform-arrow-functions@^7.18.6": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.20.7.tgz#bea332b0e8b2dab3dafe55a163d8227531ab0551" + integrity sha512-3poA5E7dzDomxj9WXWwuD6A5F3kc7VXwIJO+E+J8qtDtS+pXPAhrgEyh+9GBwBgPq1Z+bB+/JD60lp5jsN7JPQ== + dependencies: + "@babel/helper-plugin-utils" "^7.20.2" + + "@babel/plugin-transform-async-to-generator@^7.18.6": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.20.7.tgz#dfee18623c8cb31deb796aa3ca84dda9cea94354" + integrity sha512-Uo5gwHPT9vgnSXQxqGtpdufUiWp96gk7yiP4Mp5bm1QMkEmLXBO7PAGYbKoJ6DhAwiNkcHFBol/x5zZZkL/t0Q== + dependencies: + "@babel/helper-module-imports" "^7.18.6" + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/helper-remap-async-to-generator" "^7.18.9" + + "@babel/plugin-transform-block-scoped-functions@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@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-scoping@^7.18.9": + version "7.21.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.21.0.tgz#e737b91037e5186ee16b76e7ae093358a5634f02" + integrity sha512-Mdrbunoh9SxwFZapeHVrwFmri16+oYotcZysSzhNIVDwIAb1UV+kvnxULSYq9J3/q5MDG+4X6w8QVgD1zhBXNQ== + dependencies: + "@babel/helper-plugin-utils" "^7.20.2" + + "@babel/plugin-transform-classes@^7.18.9", "@babel/plugin-transform-classes@^7.19.0": + version "7.21.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.21.0.tgz#f469d0b07a4c5a7dbb21afad9e27e57b47031665" + integrity sha512-RZhbYTCEUAe6ntPehC4hlslPWosNHDox+vAs4On/mCLRLfoDVHf6hVEd7kuxr1RnHwJmxFfUM3cZiZRmPxJPXQ== + dependencies: + "@babel/helper-annotate-as-pure" "^7.18.6" + "@babel/helper-compilation-targets" "^7.20.7" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-function-name" "^7.21.0" + "@babel/helper-optimise-call-expression" "^7.18.6" + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/helper-replace-supers" "^7.20.7" + "@babel/helper-split-export-declaration" "^7.18.6" + globals "^11.1.0" + + "@babel/plugin-transform-computed-properties@^7.18.9": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.20.7.tgz#704cc2fd155d1c996551db8276d55b9d46e4d0aa" + integrity sha512-Lz7MvBK6DTjElHAmfu6bfANzKcxpyNPeYBGEafyA6E5HtRpjpZwU+u7Qrgz/2OR0z+5TvKYbPdphfSaAcZBrYQ== + dependencies: + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/template" "^7.20.7" + + "@babel/plugin-transform-destructuring@^7.18.13", "@babel/plugin-transform-destructuring@^7.18.9": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.20.7.tgz#8bda578f71620c7de7c93af590154ba331415454" + integrity sha512-Xwg403sRrZb81IVB79ZPqNQME23yhugYVqgTxAhT99h485F4f+GMELFhhOsscDUB7HCswepKeCKLn/GZvUKoBA== + dependencies: + "@babel/helper-plugin-utils" "^7.20.2" + + "@babel/plugin-transform-dotall-regex@^7.18.6", "@babel/plugin-transform-dotall-regex@^7.4.4": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.18.6.tgz#b286b3e7aae6c7b861e45bed0a2fafd6b1a4fef8" + 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.yarnpkg.com/@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-exponentiation-operator@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.18.6.tgz#421c705f4521888c65e91fdd1af951bfefd4dacd" + 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.21.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.21.0.tgz#964108c9988de1a60b4be2354a7d7e245f36e86e" + integrity sha512-LlUYlydgDkKpIY7mcBWvyPPmMcOphEyYA27Ef4xpbh1IiDNLr0kZsos2nf92vz3IccvJI25QUwp86Eo5s6HmBQ== + dependencies: + "@babel/helper-plugin-utils" "^7.20.2" + + "@babel/plugin-transform-function-name@^7.18.9": + version "7.18.9" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.18.9.tgz#cc354f8234e62968946c61a46d6365440fc764e0" + 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.yarnpkg.com/@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-member-expression-literals@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@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-modules-amd@^7.18.6": + version "7.20.11" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.20.11.tgz#3daccca8e4cc309f03c3a0c4b41dc4b26f55214a" + integrity sha512-NuzCt5IIYOW0O30UvqktzHYR2ud5bOWbY0yaxWZ6G+aFzOMJvrs5YHNikrbdaT15+KNO31nPOy5Fim3ku6Zb5g== + dependencies: + "@babel/helper-module-transforms" "^7.20.11" + "@babel/helper-plugin-utils" "^7.20.2" + + "@babel/plugin-transform-modules-commonjs@^7.18.6": + version "7.21.2" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.21.2.tgz#6ff5070e71e3192ef2b7e39820a06fb78e3058e7" + integrity sha512-Cln+Yy04Gxua7iPdj6nOV96smLGjpElir5YwzF0LBPKoPlLDNJePNlrGGaybAJkd0zKRnOVXOgizSqPYMNYkzA== + dependencies: + "@babel/helper-module-transforms" "^7.21.2" + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/helper-simple-access" "^7.20.2" + + "@babel/plugin-transform-modules-systemjs@^7.18.9", "@babel/plugin-transform-modules-systemjs@^7.19.0": + version "7.20.11" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.20.11.tgz#467ec6bba6b6a50634eea61c9c232654d8a4696e" + integrity sha512-vVu5g9BPQKSFEmvt2TA4Da5N+QVS66EX21d8uoOihC+OCpUoGvzVsXeqFdtAEfVa5BILAeFt+U7yVmLbQnAJmw== + dependencies: + "@babel/helper-hoist-variables" "^7.18.6" + "@babel/helper-module-transforms" "^7.20.11" + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/helper-validator-identifier" "^7.19.1" + + "@babel/plugin-transform-modules-umd@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.18.6.tgz#81d3832d6034b75b54e62821ba58f28ed0aab4b9" + 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.20.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.20.5.tgz#626298dd62ea51d452c3be58b285d23195ba69a8" + integrity sha512-mOW4tTzi5iTLnw+78iEq3gr8Aoq4WNRGpmSlrogqaiCBoR1HFhpU4JkpQFOHfeYx3ReVIFWOQJS4aZBRvuZ6mA== + dependencies: + "@babel/helper-create-regexp-features-plugin" "^7.20.5" + "@babel/helper-plugin-utils" "^7.20.2" + + "@babel/plugin-transform-new-target@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@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-object-super@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.18.6.tgz#fb3c6ccdd15939b6ff7939944b51971ddc35912c" + 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", "@babel/plugin-transform-parameters@^7.20.7": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.20.7.tgz#0ee349e9d1bc96e78e3b37a7af423a4078a7083f" + integrity sha512-WiWBIkeHKVOSYPO0pWkxGPfKeWrCJyD3NJ53+Lrp/QMSZbsVPovrVl2aWZ19D/LTVnaDv5Ap7GJ/B2CTOZdrfA== + dependencies: + "@babel/helper-plugin-utils" "^7.20.2" + + "@babel/plugin-transform-property-literals@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@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-regenerator@^7.18.6": + version "7.20.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.20.5.tgz#57cda588c7ffb7f4f8483cc83bdcea02a907f04d" + integrity sha512-kW/oO7HPBtntbsahzQ0qSE3tFvkFwnbozz3NWFhLGqH75vLEg+sCGngLlhVkePlCs3Jv0dBBHDzCHxNiFAQKCQ== + dependencies: + "@babel/helper-plugin-utils" "^7.20.2" + regenerator-transform "^0.15.1" + + "@babel/plugin-transform-reserved-words@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@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-runtime@7.18.10": + version "7.18.10" + resolved "https://registry.yarnpkg.com/@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.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.yarnpkg.com/@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.yarnpkg.com/@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-spread@^7.18.9", "@babel/plugin-transform-spread@^7.19.0": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.20.7.tgz#c2d83e0b99d3bf83e07b11995ee24bf7ca09401e" + integrity sha512-ewBbHQ+1U/VnH1fxltbJqDeWBU1oNLG8Dj11uIv3xVf7nrQu0bPGe5Rf716r7K5Qz+SqtAOVswoVunoiBtGhxw== + dependencies: + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/helper-skip-transparent-expression-wrappers" "^7.20.0" + + "@babel/plugin-transform-sticky-regex@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@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-template-literals@^7.18.9": + version "7.18.9" + resolved "https://registry.yarnpkg.com/@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-typeof-symbol@^7.18.9": + version "7.18.9" + resolved "https://registry.yarnpkg.com/@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-typescript@^7.20.2": + version "7.20.13" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.20.13.tgz#e3581b356b8694f6ff450211fe6774eaff8d25ab" + integrity sha512-O7I/THxarGcDZxkgWKMUrk7NK1/WbHAg3Xx86gqS6x9MTrNL6AwIluuZ96ms4xeDe6AVx6rjHbWHP7x26EPQBA== + dependencies: + "@babel/helper-create-class-features-plugin" "^7.20.12" + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/plugin-syntax-typescript" "^7.20.0" + + "@babel/plugin-transform-typescript@^7.21.0": + version "7.21.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.21.0.tgz#f0956a153679e3b377ae5b7f0143427151e4c848" + integrity sha512-xo///XTPp3mDzTtrqXoBlK9eiAYW3wv9JXglcn/u1bi60RW11dEUxIgA8cbnDhutS1zacjMRmAwxE0gMklLnZg== + dependencies: + "@babel/helper-create-class-features-plugin" "^7.21.0" + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/plugin-syntax-typescript" "^7.20.0" + + "@babel/plugin-transform-unicode-escapes@^7.18.10": + version "7.18.10" + resolved "https://registry.yarnpkg.com/@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.9" + + "@babel/plugin-transform-unicode-regex@^7.18.6": + version "7.18.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.18.6.tgz#194317225d8c201bbae103364ffe9e2cea36cdca" + 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.yarnpkg.com/@babel/preset-env/-/preset-env-7.18.10.tgz#83b8dfe70d7eea1aae5a10635ab0a5fe60dfc0f4" + 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.yarnpkg.com/@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.yarnpkg.com/@babel/preset-modules/-/preset-modules-0.1.5.tgz#ef939d6e7f268827e1841638dc6ff95515e115d9" + 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.21.0" + resolved "https://registry.yarnpkg.com/@babel/preset-typescript/-/preset-typescript-7.21.0.tgz#bcbbca513e8213691fe5d4b23d9251e01f00ebff" + integrity sha512-myc9mpoVA5m1rF8K8DgLEatOYFDpwC+RkMkjZ0Du6uI62YvDe8uxIEYVs/VCdSJ097nlALiU/yBC7//3nI+hNg== + dependencies: + "@babel/helper-plugin-utils" "^7.20.2" + "@babel/helper-validator-option" "^7.21.0" + "@babel/plugin-transform-typescript" "^7.21.0" + + "@babel/regjsgen@^0.8.0": + version "0.8.0" + resolved "https://registry.yarnpkg.com/@babel/regjsgen/-/regjsgen-0.8.0.tgz#f0ba69b075e1f05fb2825b7fad991e7adbb18310" + integrity sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA== + + "@babel/runtime@^7.11.2", "@babel/runtime@^7.18.9", "@babel/runtime@^7.8.4": + version "7.21.0" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.21.0.tgz#5b55c9d394e5fcf304909a8b00c07dc217b56673" + integrity sha512-xwII0//EObnq89Ji5AKYQaRYiW/nZ3llSv29d49IuxPhKbtJoLP+9QUUZ4nVragQVtaVGeZrpB+ZtG/Pdy/POw== + dependencies: + regenerator-runtime "^0.13.11" + + "@babel/runtime@^7.19.0", "@babel/runtime@^7.19.4": + version "7.20.13" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.20.13.tgz#7055ab8a7cff2b8f6058bf6ae45ff84ad2aded4b" + integrity sha512-gt3PKXs0DBoL9xCvOIIZ2NEqAGZqHjAnmVbfQtB620V0uReIQutpel14KcneZuer7UioY8ALKZ7iocavvzTNFA== + dependencies: + regenerator-runtime "^0.13.11" + + "@babel/standalone@^7.20.12": + version "7.20.15" + resolved "https://registry.yarnpkg.com/@babel/standalone/-/standalone-7.20.15.tgz#ef82f1a9789d21d8b23f74d9fa8acecbe6ced02c" + integrity sha512-B3LmZ1NHlTb2eFEaw8rftZc730Wh9MlmsH8ubb6IjsNoIk9+SQ2aAA0nrm/1806+PftPRAACPClmKTu8PG7Tew== + + "@babel/template@^7.0.0", "@babel/template@^7.18.10", "@babel/template@^7.20.7": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.20.7.tgz#a15090c2839a83b02aa996c0b4994005841fd5a8" + integrity sha512-8SegXApWe6VoNw0r9JHpSteLKTpTiLZ4rMlGIm9JQ18KiCtyQiAMEazujAHrUS5flrcqYZa75ukev3P6QmUwUw== + dependencies: + "@babel/code-frame" "^7.18.6" + "@babel/parser" "^7.20.7" + "@babel/types" "^7.20.7" + + "@babel/traverse@7.18.11": + version "7.18.11" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.18.11.tgz#3d51f2afbd83ecf9912bcbb5c4d94e3d2ddaa16f" + 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.yarnpkg.com/@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.0.0", "@babel/traverse@^7.20.10", "@babel/traverse@^7.20.12", "@babel/traverse@^7.20.13", "@babel/traverse@^7.20.7": + version "7.20.13" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.20.13.tgz#817c1ba13d11accca89478bd5481b2d168d07473" + integrity sha512-kMJXfF0T6DIS9E8cgdLCSAL+cuCK+YEZHWiLK0SXpTo8YRj5lpJu3CDNKiIBCne4m9hhTIqUg6SYTAI39tAiVQ== + dependencies: + "@babel/code-frame" "^7.18.6" + "@babel/generator" "^7.20.7" + "@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.20.13" + "@babel/types" "^7.20.7" + debug "^4.1.0" + globals "^11.1.0" + + "@babel/traverse@^7.18.10", "@babel/traverse@^7.19.3", "@babel/traverse@^7.20.5", "@babel/traverse@^7.21.0", "@babel/traverse@^7.21.2": + version "7.21.2" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.21.2.tgz#ac7e1f27658750892e815e60ae90f382a46d8e75" + integrity sha512-ts5FFU/dSUPS13tv8XiEObDu9K+iagEKME9kAbaP7r0Y9KtZJZ+NGndDvWoRAYNpeWafbpFeki3q9QoMD6gxyw== + dependencies: + "@babel/code-frame" "^7.18.6" + "@babel/generator" "^7.21.1" + "@babel/helper-environment-visitor" "^7.18.9" + "@babel/helper-function-name" "^7.21.0" + "@babel/helper-hoist-variables" "^7.18.6" + "@babel/helper-split-export-declaration" "^7.18.6" + "@babel/parser" "^7.21.2" + "@babel/types" "^7.21.2" + debug "^4.1.0" + globals "^11.1.0" + + "@babel/types@7.18.10": + version "7.18.10" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.18.10.tgz#4908e81b6b339ca7c6b7a555a5fc29446f26dde6" + 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.yarnpkg.com/@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.6", "@babel/types@^7.19.0", "@babel/types@^7.20.0", "@babel/types@^7.20.2", "@babel/types@^7.20.5", "@babel/types@^7.20.7": + version "7.20.7" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.20.7.tgz#54ec75e252318423fc07fb644dc6a58a64c09b7f" + integrity sha512-69OnhBxSSgK0OzTJai4kyPDiKTIe3j+ctaHdIGVbRahTLAT7L3R9oeXHC2aVSuGYt3cVnoAMDmOCgJ2yaiLMvg== + dependencies: + "@babel/helper-string-parser" "^7.19.4" + "@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.3", "@babel/types@^7.21.0", "@babel/types@^7.21.2", "@babel/types@^7.4.4": + version "7.21.2" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.21.2.tgz#92246f6e00f91755893c2876ad653db70c8310d1" + integrity sha512-3wRZSs7jiFaB8AjxiiD+VqN5DTG2iRvJGQ+qYFrs/654lg6kGTQWIOFjlBo5RaXuAZjBmP3+OQH4dmhqiiyYxw== + dependencies: + "@babel/helper-string-parser" "^7.19.4" + "@babel/helper-validator-identifier" "^7.19.1" + to-fast-properties "^2.0.0" + + "@casl/ability@^6.3.3": + version "6.3.3" + resolved "https://registry.yarnpkg.com/@casl/ability/-/ability-6.3.3.tgz#219e958f191cd2163482abb6a5196593d319fc2a" + integrity sha512-UzbqsE9etu6QzZrRmqIyVun2kztAzJ46Tz7lC/2P2buCE6B6Ll7Vptz7JTQtGwapLbeKo2jS7dL966TVOQ7x4g== + dependencies: + "@ucast/mongo2js" "^1.3.0" + + "@casl/vue@^2.2.1": + version "2.2.1" + resolved "https://registry.yarnpkg.com/@casl/vue/-/vue-2.2.1.tgz#decb6966a982dabd41c26379692dfde2bf67793a" + integrity sha512-1OeGhT4A7VBkEACacF2ZlHkPiFJvyFy9h2PhBnMoetFDojMHbrn3ZjKgL5zQ4wSIrTQo9KbbzG3f0uAei2GKCQ== + + "@chain-registry/types@^0.14.0": + version "0.14.0" + resolved "https://registry.yarnpkg.com/@chain-registry/types/-/types-0.14.0.tgz#43ea04992adabdee2a0f03f8a519b01722ab354b" + integrity sha512-TlIqc3CijT734no7RiYBfUvCG2fory0blwrBcK4XTYOCi2vANsxfDdiPLFQcaSETYDd14DdjhrdXwMocEeOnLQ== + dependencies: + "@babel/runtime" "^7.19.4" + + "@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.3": + version "0.29.3" + resolved "https://registry.yarnpkg.com/@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/amino@^0.29.3", "@cosmjs/amino@^0.29.5": + version "0.29.5" + resolved "https://registry.yarnpkg.com/@cosmjs/amino/-/amino-0.29.5.tgz#053b4739a90b15b9e2b781ccd484faf64bd49aec" + integrity sha512-Qo8jpC0BiziTSUqpkNatBcwtKNhCovUnFul9SlT/74JUCdLYaeG5hxr3q1cssQt++l4LvlcpF+OUXL48XjNjLw== + dependencies: + "@cosmjs/crypto" "^0.29.5" + "@cosmjs/encoding" "^0.29.5" + "@cosmjs/math" "^0.29.5" + "@cosmjs/utils" "^0.29.5" + + "@cosmjs/crypto@^0.29.3", "@cosmjs/crypto@^0.29.5": + version "0.29.5" + resolved "https://registry.yarnpkg.com/@cosmjs/crypto/-/crypto-0.29.5.tgz#ab99fc382b93d8a8db075780cf07487a0f9519fd" + integrity sha512-2bKkaLGictaNL0UipQCL6C1afaisv6k8Wr/GCLx9FqiyFkh9ZgRHDyetD64ZsjnWV/N/D44s/esI+k6oPREaiQ== + dependencies: + "@cosmjs/encoding" "^0.29.5" + "@cosmjs/math" "^0.29.5" + "@cosmjs/utils" "^0.29.5" + "@noble/hashes" "^1" + bn.js "^5.2.0" + elliptic "^6.5.4" + libsodium-wrappers "^0.7.6" + + "@cosmjs/encoding@^0.29.3", "@cosmjs/encoding@^0.29.5": + version "0.29.5" + resolved "https://registry.yarnpkg.com/@cosmjs/encoding/-/encoding-0.29.5.tgz#009a4b1c596cdfd326f30ccfa79f5e56daa264f2" + integrity sha512-G4rGl/Jg4dMCw5u6PEZHZcoHnUBlukZODHbm/wcL4Uu91fkn5jVo5cXXZcvs4VCkArVGrEj/52eUgTZCmOBGWQ== + dependencies: + base64-js "^1.3.0" + bech32 "^1.1.4" + readonly-date "^1.0.0" + + "@cosmjs/json-rpc@^0.29.5": + version "0.29.5" + resolved "https://registry.yarnpkg.com/@cosmjs/json-rpc/-/json-rpc-0.29.5.tgz#5e483a9bd98a6270f935adf0dfd8a1e7eb777fe4" + integrity sha512-C78+X06l+r9xwdM1yFWIpGl03LhB9NdM1xvZpQHwgCOl0Ir/WV8pw48y3Ez2awAoUBRfTeejPe4KvrE6NoIi/w== + dependencies: + "@cosmjs/stream" "^0.29.5" + xstream "^11.14.0" + + "@cosmjs/math@^0.29.3", "@cosmjs/math@^0.29.5": + version "0.29.5" + resolved "https://registry.yarnpkg.com/@cosmjs/math/-/math-0.29.5.tgz#722c96e080d6c2b62215ce9f4c70da7625b241b6" + integrity sha512-2GjKcv+A9f86MAWYLUkjhw1/WpRl2R1BTb3m9qPG7lzMA7ioYff9jY5SPCfafKdxM4TIQGxXQlYGewQL16O68Q== + dependencies: + bn.js "^5.2.0" + + "@cosmjs/proto-signing@0.29.3": + version "0.29.3" + resolved "https://registry.yarnpkg.com/@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/proto-signing@^0.29.3": + version "0.29.5" + resolved "https://registry.yarnpkg.com/@cosmjs/proto-signing/-/proto-signing-0.29.5.tgz#af3b62a46c2c2f1d2327d678b13b7262db1fe87c" + integrity sha512-QRrS7CiKaoETdgIqvi/7JC2qCwCR7lnWaUsTzh/XfRy3McLkEd+cXbKAW3cygykv7IN0VAEIhZd2lyIfT8KwNA== + dependencies: + "@cosmjs/amino" "^0.29.5" + "@cosmjs/crypto" "^0.29.5" + "@cosmjs/encoding" "^0.29.5" + "@cosmjs/math" "^0.29.5" + "@cosmjs/utils" "^0.29.5" + cosmjs-types "^0.5.2" + long "^4.0.0" + + "@cosmjs/socket@^0.29.5": + version "0.29.5" + resolved "https://registry.yarnpkg.com/@cosmjs/socket/-/socket-0.29.5.tgz#a48df6b4c45dc6a6ef8e47232725dd4aa556ac2d" + integrity sha512-5VYDupIWbIXq3ftPV1LkS5Ya/T7Ol/AzWVhNxZ79hPe/mBfv1bGau/LqIYOm2zxGlgm9hBHOTmWGqNYDwr9LNQ== + dependencies: + "@cosmjs/stream" "^0.29.5" + isomorphic-ws "^4.0.1" + ws "^7" + xstream "^11.14.0" + + "@cosmjs/stargate@0.29.3": + version "0.29.3" + resolved "https://registry.yarnpkg.com/@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", "@cosmjs/stream@^0.29.5": + version "0.29.5" + resolved "https://registry.yarnpkg.com/@cosmjs/stream/-/stream-0.29.5.tgz#350981cac496d04939b92ee793b9b19f44bc1d4e" + integrity sha512-TToTDWyH1p05GBtF0Y8jFw2C+4783ueDCmDyxOMM6EU82IqpmIbfwcdMOCAm0JhnyMh+ocdebbFvnX/sGKzRAA== + dependencies: + xstream "^11.14.0" + + "@cosmjs/tendermint-rpc@^0.29.3": + version "0.29.5" + resolved "https://registry.yarnpkg.com/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.29.5.tgz#f205c10464212bdf843f91bb2e4a093b618cb5c2" + integrity sha512-ar80twieuAxsy0x2za/aO3kBr2DFPAXDmk2ikDbmkda+qqfXgl35l9CVAAjKRqd9d+cRvbQyb5M4wy6XQpEV6w== + dependencies: + "@cosmjs/crypto" "^0.29.5" + "@cosmjs/encoding" "^0.29.5" + "@cosmjs/json-rpc" "^0.29.5" + "@cosmjs/math" "^0.29.5" + "@cosmjs/socket" "^0.29.5" + "@cosmjs/stream" "^0.29.5" + "@cosmjs/utils" "^0.29.5" + axios "^0.21.2" + readonly-date "^1.0.0" + xstream "^11.14.0" + + "@cosmjs/utils@^0.29.3", "@cosmjs/utils@^0.29.5": + version "0.29.5" + resolved "https://registry.yarnpkg.com/@cosmjs/utils/-/utils-0.29.5.tgz#3fed1b3528ae8c5f1eb5d29b68755bebfd3294ee" + integrity sha512-m7h+RXDUxOzEOGt4P+3OVPX7PuakZT3GBmaM/Y2u+abN3xZkziykD/NvedYFvvCCdQo714XcGl33bwifS9FZPQ== + + "@cosmwasm/ts-codegen@0.21.1": + version "0.21.1" + resolved "https://registry.yarnpkg.com/@cosmwasm/ts-codegen/-/ts-codegen-0.21.1.tgz#abbb15fdb8f1c966079de49e0da0f847fa5045fe" + integrity sha512-6Rp1zKJLL08H0wMpXuEcvTWx29mR/pNlBS/2S6jTW8h+NzVlDfXQcLm42gpnpb7CzgW8rt1GMNZ3mCCdTDNuSA== + 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.15.0" + + "@esbuild/android-arm64@0.16.17": + version "0.16.17" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.16.17.tgz#cf91e86df127aa3d141744edafcba0abdc577d23" + integrity sha512-MIGl6p5sc3RDTLLkYL1MyL8BMRN4tLMRCn+yRJJmEDvYZ2M7tmAf80hx1kbNEUX2KJ50RRtxZ4JHLvCfuB6kBg== + + "@esbuild/android-arm@0.16.17": + version "0.16.17" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.16.17.tgz#025b6246d3f68b7bbaa97069144fb5fb70f2fff2" + integrity sha512-N9x1CMXVhtWEAMS7pNNONyA14f71VPQN9Cnavj1XQh6T7bskqiLLrSca4O0Vr8Wdcga943eThxnVp3JLnBMYtw== + + "@esbuild/android-x64@0.16.17": + version "0.16.17" + resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.16.17.tgz#c820e0fef982f99a85c4b8bfdd582835f04cd96e" + integrity sha512-a3kTv3m0Ghh4z1DaFEuEDfz3OLONKuFvI4Xqczqx4BqLyuFaFkuaG4j2MtA6fuWEFeC5x9IvqnX7drmRq/fyAQ== + + "@esbuild/darwin-arm64@0.16.17": + version "0.16.17" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.16.17.tgz#edef4487af6b21afabba7be5132c26d22379b220" + integrity sha512-/2agbUEfmxWHi9ARTX6OQ/KgXnOWfsNlTeLcoV7HSuSTv63E4DqtAc+2XqGw1KHxKMHGZgbVCZge7HXWX9Vn+w== + + "@esbuild/darwin-x64@0.16.17": + version "0.16.17" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.16.17.tgz#42829168730071c41ef0d028d8319eea0e2904b4" + integrity sha512-2By45OBHulkd9Svy5IOCZt376Aa2oOkiE9QWUK9fe6Tb+WDr8hXL3dpqi+DeLiMed8tVXspzsTAvd0jUl96wmg== + + "@esbuild/freebsd-arm64@0.16.17": + version "0.16.17" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.16.17.tgz#1f4af488bfc7e9ced04207034d398e793b570a27" + integrity sha512-mt+cxZe1tVx489VTb4mBAOo2aKSnJ33L9fr25JXpqQqzbUIw/yzIzi+NHwAXK2qYV1lEFp4OoVeThGjUbmWmdw== + + "@esbuild/freebsd-x64@0.16.17": + version "0.16.17" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.16.17.tgz#636306f19e9bc981e06aa1d777302dad8fddaf72" + integrity sha512-8ScTdNJl5idAKjH8zGAsN7RuWcyHG3BAvMNpKOBaqqR7EbUhhVHOqXRdL7oZvz8WNHL2pr5+eIT5c65kA6NHug== + + "@esbuild/linux-arm64@0.16.17": + version "0.16.17" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.16.17.tgz#a003f7ff237c501e095d4f3a09e58fc7b25a4aca" + integrity sha512-7S8gJnSlqKGVJunnMCrXHU9Q8Q/tQIxk/xL8BqAP64wchPCTzuM6W3Ra8cIa1HIflAvDnNOt2jaL17vaW+1V0g== + + "@esbuild/linux-arm@0.16.17": + version "0.16.17" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.16.17.tgz#b591e6a59d9c4fe0eeadd4874b157ab78cf5f196" + integrity sha512-iihzrWbD4gIT7j3caMzKb/RsFFHCwqqbrbH9SqUSRrdXkXaygSZCZg1FybsZz57Ju7N/SHEgPyaR0LZ8Zbe9gQ== + + "@esbuild/linux-ia32@0.16.17": + version "0.16.17" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.16.17.tgz#24333a11027ef46a18f57019450a5188918e2a54" + integrity sha512-kiX69+wcPAdgl3Lonh1VI7MBr16nktEvOfViszBSxygRQqSpzv7BffMKRPMFwzeJGPxcio0pdD3kYQGpqQ2SSg== + + "@esbuild/linux-loong64@0.16.17": + version "0.16.17" + resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.16.17.tgz#d5ad459d41ed42bbd4d005256b31882ec52227d8" + integrity sha512-dTzNnQwembNDhd654cA4QhbS9uDdXC3TKqMJjgOWsC0yNCbpzfWoXdZvp0mY7HU6nzk5E0zpRGGx3qoQg8T2DQ== + + "@esbuild/linux-mips64el@0.16.17": + version "0.16.17" + resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.16.17.tgz#4e5967a665c38360b0a8205594377d4dcf9c3726" + integrity sha512-ezbDkp2nDl0PfIUn0CsQ30kxfcLTlcx4Foz2kYv8qdC6ia2oX5Q3E/8m6lq84Dj/6b0FrkgD582fJMIfHhJfSw== + + "@esbuild/linux-ppc64@0.16.17": + version "0.16.17" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.16.17.tgz#206443a02eb568f9fdf0b438fbd47d26e735afc8" + integrity sha512-dzS678gYD1lJsW73zrFhDApLVdM3cUF2MvAa1D8K8KtcSKdLBPP4zZSLy6LFZ0jYqQdQ29bjAHJDgz0rVbLB3g== + + "@esbuild/linux-riscv64@0.16.17": + version "0.16.17" + resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.16.17.tgz#c351e433d009bf256e798ad048152c8d76da2fc9" + integrity sha512-ylNlVsxuFjZK8DQtNUwiMskh6nT0vI7kYl/4fZgV1llP5d6+HIeL/vmmm3jpuoo8+NuXjQVZxmKuhDApK0/cKw== + + "@esbuild/linux-s390x@0.16.17": + version "0.16.17" + resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.16.17.tgz#661f271e5d59615b84b6801d1c2123ad13d9bd87" + integrity sha512-gzy7nUTO4UA4oZ2wAMXPNBGTzZFP7mss3aKR2hH+/4UUkCOyqmjXiKpzGrY2TlEUhbbejzXVKKGazYcQTZWA/w== + + "@esbuild/linux-x64@0.16.17": + version "0.16.17" + resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.16.17.tgz#e4ba18e8b149a89c982351443a377c723762b85f" + integrity sha512-mdPjPxfnmoqhgpiEArqi4egmBAMYvaObgn4poorpUaqmvzzbvqbowRllQ+ZgzGVMGKaPkqUmPDOOFQRUFDmeUw== + + "@esbuild/netbsd-x64@0.16.17": + version "0.16.17" + resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.16.17.tgz#7d4f4041e30c5c07dd24ffa295c73f06038ec775" + integrity sha512-/PzmzD/zyAeTUsduZa32bn0ORug+Jd1EGGAUJvqfeixoEISYpGnAezN6lnJoskauoai0Jrs+XSyvDhppCPoKOA== + + "@esbuild/openbsd-x64@0.16.17": + version "0.16.17" + resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.16.17.tgz#970fa7f8470681f3e6b1db0cc421a4af8060ec35" + integrity sha512-2yaWJhvxGEz2RiftSk0UObqJa/b+rIAjnODJgv2GbGGpRwAfpgzyrg1WLK8rqA24mfZa9GvpjLcBBg8JHkoodg== + + "@esbuild/sunos-x64@0.16.17": + version "0.16.17" + resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.16.17.tgz#abc60e7c4abf8b89fb7a4fe69a1484132238022c" + integrity sha512-xtVUiev38tN0R3g8VhRfN7Zl42YCJvyBhRKw1RJjwE1d2emWTVToPLNEQj/5Qxc6lVFATDiy6LjVHYhIPrLxzw== + + "@esbuild/win32-arm64@0.16.17": + version "0.16.17" + resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.16.17.tgz#7b0ff9e8c3265537a7a7b1fd9a24e7bd39fcd87a" + integrity sha512-ga8+JqBDHY4b6fQAmOgtJJue36scANy4l/rL97W+0wYmijhxKetzZdKOJI7olaBaMhWt8Pac2McJdZLxXWUEQw== + + "@esbuild/win32-ia32@0.16.17": + version "0.16.17" + resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.16.17.tgz#e90fe5267d71a7b7567afdc403dfd198c292eb09" + integrity sha512-WnsKaf46uSSF/sZhwnqE4L/F89AYNMiD4YtEcYekBt9Q7nj0DiId2XH2Ng2PHM54qi5oPrQ8luuzGszqi/veig== + + "@esbuild/win32-x64@0.16.17": + version "0.16.17" + resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.16.17.tgz#c5a1a4bfe1b57f0c3e61b29883525c6da3e5c091" + integrity sha512-y+EHuSchhL7FjHgvQL/0fnnFmO4T1bhvWANX6gcnqTjtnKWbTvUMCpGnv2+t+31d7RzyEAYAd4u2fnIhHL6N/Q== + + "@eslint/eslintrc@^1.4.1": + version "1.4.1" + resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-1.4.1.tgz#af58772019a2d271b7e2d4c23ff4ddcba3ccfb3e" + integrity sha512-XXrH9Uarn0stsyldqDYq8r++mROmWRI1xKMXa640Bb//SY1+ECYX6VzT6Lcx5frD0V30XieqJ0oX9I2Xj5aoMA== + dependencies: + ajv "^6.12.4" + debug "^4.3.2" + espree "^9.4.0" + globals "^13.19.0" + ignore "^5.2.0" + import-fresh "^3.2.1" + js-yaml "^4.1.0" + minimatch "^3.1.2" + strip-json-comments "^3.1.1" + + "@floating-ui/core@^1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@floating-ui/core/-/core-1.2.0.tgz#ae7ae7923d41f3d84cb2fd88740a89436610bbec" + integrity sha512-GHUXPEhMEmTpnpIfesFA2KAoMJPb1SPQw964tToQwt+BbGXdhqTCWT1rOb0VURGylsxsYxiGMnseJ3IlclVpVA== + + "@floating-ui/dom@^1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@floating-ui/dom/-/dom-1.2.0.tgz#a60212069cc58961c478037c30eba4b191c75316" + integrity sha512-QXzg57o1cjLz3cGETzKXjI3kx1xyS49DW9l7kV2jw2c8Yftd434t2hllX0sVGn2Q8MtcW/4pNm8bfE1/4n6mng== + dependencies: + "@floating-ui/core" "^1.2.0" + + "@gar/promisify@^1.1.3": + version "1.1.3" + resolved "https://registry.yarnpkg.com/@gar/promisify/-/promisify-1.1.3.tgz#555193ab2e3bb3b6adc3d551c9c030d9e860daf6" + integrity sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw== + + "@humanwhocodes/config-array@^0.11.8": + version "0.11.8" + resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.8.tgz#03595ac2075a4dc0f191cc2131de14fbd7d410b9" + integrity sha512-UybHIJzJnR5Qc/MsD9Kr+RpO2h+/P1GhOwdiLPXK5TWk5sgTdu88bTD9UP+CKbPPh5Rni1u0GjAdYQLemG8g+g== + dependencies: + "@humanwhocodes/object-schema" "^1.2.1" + debug "^4.1.1" + minimatch "^3.0.5" + + "@humanwhocodes/module-importer@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz#af5b2691a22b44be847b0ca81641c5fb6ad0172c" + integrity sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA== + + "@humanwhocodes/object-schema@^1.2.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== + + "@hutson/parse-repository-url@^3.0.0": + version "3.0.2" + resolved "https://registry.yarnpkg.com/@hutson/parse-repository-url/-/parse-repository-url-3.0.2.tgz#98c23c950a3d9b6c8f0daed06da6c3af06981340" + integrity sha512-H9XAx3hc0BQHY6l+IFSWHDySypcXsvsuLhgYLUGywmJ5pswRVQJUHpOsobnLYp2ZUaUlKiKDrgWWhosOwAEM8Q== + + "@iconify/types@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@iconify/types/-/types-2.0.0.tgz#ab0e9ea681d6c8a1214f30cd741fe3a20cc57f57" + integrity sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg== + + "@iconify/vue@^4.1.0": + version "4.1.0" + resolved "https://registry.yarnpkg.com/@iconify/vue/-/vue-4.1.0.tgz#ce3dc1b34b08fe2a1e34ef9e0c860796a18e76ea" + integrity sha512-rBQVxNoSDooqgWkQg2MqkIHkH/huNuvXGqui5wijc1zLnU7TKzbBHW9VGmbnV4asNTmIHmqV4Nvt0M2rZ/9nHA== + dependencies: + "@iconify/types" "^2.0.0" + + "@intlify/bundle-utils@^4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/@intlify/bundle-utils/-/bundle-utils-4.0.0.tgz#29c1d602c7e4e33b516581496a7c6740ed7e2585" + integrity sha512-klXrYT9VXyKEXsD6UY3pShg0O5MPC07n0TZ5RrSs5ry6T1eZVolIFGJi9c3qcDrh1qjJxgikRnPBmD7qGDqbjw== + dependencies: + "@intlify/message-compiler" next + "@intlify/shared" next + jsonc-eslint-parser "^1.0.1" + source-map "0.6.1" + yaml-eslint-parser "^0.3.2" + + "@intlify/core-base@9.2.2": + version "9.2.2" + resolved "https://registry.yarnpkg.com/@intlify/core-base/-/core-base-9.2.2.tgz#5353369b05cc9fe35cab95fe20afeb8a4481f939" + integrity sha512-JjUpQtNfn+joMbrXvpR4hTF8iJQ2sEFzzK3KIESOx+f+uwIjgw20igOyaIdhfsVVBCds8ZM64MoeNSx+PHQMkA== + dependencies: + "@intlify/devtools-if" "9.2.2" + "@intlify/message-compiler" "9.2.2" + "@intlify/shared" "9.2.2" + "@intlify/vue-devtools" "9.2.2" + + "@intlify/devtools-if@9.2.2": + version "9.2.2" + resolved "https://registry.yarnpkg.com/@intlify/devtools-if/-/devtools-if-9.2.2.tgz#b13d9ac4b4e2fe6d2e7daa556517a8061fe8bd39" + integrity sha512-4ttr/FNO29w+kBbU7HZ/U0Lzuh2cRDhP8UlWOtV9ERcjHzuyXVZmjyleESK6eVP60tGC9QtQW9yZE+JeRhDHkg== + dependencies: + "@intlify/shared" "9.2.2" + + "@intlify/message-compiler@9.2.2": + version "9.2.2" + resolved "https://registry.yarnpkg.com/@intlify/message-compiler/-/message-compiler-9.2.2.tgz#e42ab6939b8ae5b3d21faf6a44045667a18bba1c" + integrity sha512-IUrQW7byAKN2fMBe8z6sK6riG1pue95e5jfokn8hA5Q3Bqy4MBJ5lJAofUsawQJYHeoPJ7svMDyBaVJ4d0GTtA== + dependencies: + "@intlify/shared" "9.2.2" + source-map "0.6.1" + + "@intlify/message-compiler@next": + version "9.3.0-beta.16" + resolved "https://registry.yarnpkg.com/@intlify/message-compiler/-/message-compiler-9.3.0-beta.16.tgz#335f7bdb06cfb84d04a1a1c1d6eff2532dfd88e7" + integrity sha512-CGQI3xRcs1ET75eDQ0DUy3MRYOqTauRIIgaMoISKiF83gqRWg93FqN8lGMKcpBqaF4tI0JhsfosCaGiBL9+dnw== + dependencies: + "@intlify/shared" "9.3.0-beta.16" + source-map "0.6.1" + + "@intlify/shared@9.2.2": + version "9.2.2" + resolved "https://registry.yarnpkg.com/@intlify/shared/-/shared-9.2.2.tgz#5011be9ca2b4ab86f8660739286e2707f9abb4a5" + integrity sha512-wRwTpsslgZS5HNyM7uDQYZtxnbI12aGiBZURX3BTR9RFIKKRWpllTsgzHWvj3HKm3Y2Sh5LPC1r0PDCKEhVn9Q== + + "@intlify/shared@9.3.0-beta.16", "@intlify/shared@next": + version "9.3.0-beta.16" + resolved "https://registry.yarnpkg.com/@intlify/shared/-/shared-9.3.0-beta.16.tgz#74f254dbb7eac633b86d690a341349db29573896" + integrity sha512-kXbm4svALe3lX+EjdJxfnabOphqS4yQ1Ge/iIlR8tvUiYRCoNz3hig1M4336iY++Dfx5ytEQJPNjIcknNIuvig== + + "@intlify/unplugin-vue-i18n@^0.8.2": + version "0.8.2" + resolved "https://registry.yarnpkg.com/@intlify/unplugin-vue-i18n/-/unplugin-vue-i18n-0.8.2.tgz#4196cb5bee4243bb3a33af76ce9663f3e106809a" + integrity sha512-cRnzPqSEZQOmTD+p4pwc3RTS9HxreLqfID0keoqZDZweCy/CGRMLLTNd15S4TUf1vSBhPF03DItEFDr1F+8MDA== + dependencies: + "@intlify/bundle-utils" "^4.0.0" + "@intlify/shared" next + "@rollup/pluginutils" "^4.2.0" + "@vue/compiler-sfc" "^3.2.45" + debug "^4.3.1" + fast-glob "^3.2.5" + js-yaml "^4.1.0" + json5 "^2.2.0" + pathe "^1.0.0" + picocolors "^1.0.0" + source-map "0.6.1" + unplugin "^1.0.0" + + "@intlify/vue-devtools@9.2.2": + version "9.2.2" + resolved "https://registry.yarnpkg.com/@intlify/vue-devtools/-/vue-devtools-9.2.2.tgz#b95701556daf7ebb3a2d45aa3ae9e6415aed8317" + integrity sha512-+dUyqyCHWHb/UcvY1MlIpO87munedm3Gn6E9WWYdWrMuYLcoIoOEVDWSS8xSwtlPU+kA+MEQTP6Q1iI/ocusJg== + dependencies: + "@intlify/core-base" "9.2.2" + "@intlify/shared" "9.2.2" + + "@isaacs/string-locale-compare@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@isaacs/string-locale-compare/-/string-locale-compare-1.1.0.tgz#291c227e93fd407a96ecd59879a35809120e432b" + integrity sha512-SQ7Kzhh9+D+ZW9MA0zkYv3VXhIDNx+LzM6EJ+/65I3QY+enU6Itte7E5XX7EWrqLW2FN4n06GWzBnPoC3th2aQ== + + "@istanbuljs/load-nyc-config@^1.0.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz#fd3db1d59ecf7cf121e80650bb86712f9b55eced" + 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.yarnpkg.com/@istanbuljs/schema/-/schema-0.1.3.tgz#e45e384e4b8ec16bce2fd903af78450f6bf7ec98" + integrity sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA== + + "@jest/schemas@^28.1.3": + version "28.1.3" + resolved "https://registry.yarnpkg.com/@jest/schemas/-/schemas-28.1.3.tgz#ad8b86a66f11f33619e3d7e1dcddd7f2d40ff905" + integrity sha512-/l/VWsdt/aBXgjshLWOFyFt3IVdYypu5y2Wn2rOO1un6nkqIn8SLXzgIMYXFyYsRWDyF5EthmKJMIdJvk08grg== + dependencies: + "@sinclair/typebox" "^0.24.1" + + "@jest/transform@28.1.3": + version "28.1.3" + resolved "https://registry.yarnpkg.com/@jest/transform/-/transform-28.1.3.tgz#59d8098e50ab07950e0f2fc0fc7ec462371281b0" + 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.yarnpkg.com/@jest/types/-/types-28.1.3.tgz#b05de80996ff12512bc5ceb1d208285a7d11748b" + 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.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz#e5d2e450306a9491e3bd77e323e38d7aff315996" + 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.yarnpkg.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz#c1aedc61e853f2bb9f5dfe6d4442d3b565b253b9" + 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.1.0": + version "3.1.0" + resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz#2203b118c157721addfe69d47b70465463066d78" + integrity sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w== + + "@jridgewell/set-array@^1.0.0", "@jridgewell/set-array@^1.0.1": + version "1.1.2" + resolved "https://registry.yarnpkg.com/@jridgewell/set-array/-/set-array-1.1.2.tgz#7c6cf998d6d20b914c0a55a91ae928ff25965e72" + integrity sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw== + + "@jridgewell/sourcemap-codec@1.4.14", "@jridgewell/sourcemap-codec@^1.4.10", "@jridgewell/sourcemap-codec@^1.4.13": + version "1.4.14" + resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz#add4c98d341472a289190b424efbdb096991bb24" + integrity sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw== + + "@jridgewell/trace-mapping@^0.3.13", "@jridgewell/trace-mapping@^0.3.17", "@jridgewell/trace-mapping@^0.3.9": + version "0.3.17" + resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.17.tgz#793041277af9073b0951a7fe0f0d8c4c98c36985" + integrity sha512-MCNzAp77qzKca9+W/+I0+sEpaUnZoeasnghNeVc41VZCEKaCH73Vq3BZZ/SzWIgrqE4H4ceI+p+b6C0mHf9T4g== + dependencies: + "@jridgewell/resolve-uri" "3.1.0" + "@jridgewell/sourcemap-codec" "1.4.14" + + "@jsdevtools/ono@^7.1.3": + version "7.1.3" + resolved "https://registry.yarnpkg.com/@jsdevtools/ono/-/ono-7.1.3.tgz#9df03bbd7c696a5c58885c34aa06da41c8543796" + integrity sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg== + + "@lerna/add@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/add/-/add-6.4.1.tgz#fa20fe9ff875dc5758141262c8cde0d9a6481ec4" + integrity sha512-YSRnMcsdYnQtQQK0NSyrS9YGXvB3jzvx183o+JTH892MKzSlBqwpBHekCknSibyxga1HeZ0SNKQXgsHAwWkrRw== + dependencies: + "@lerna/bootstrap" "6.4.1" + "@lerna/command" "6.4.1" + "@lerna/filter-options" "6.4.1" + "@lerna/npm-conf" "6.4.1" + "@lerna/validation-error" "6.4.1" + dedent "^0.7.0" + npm-package-arg "8.1.1" + p-map "^4.0.0" + pacote "^13.6.1" + semver "^7.3.4" + + "@lerna/bootstrap@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/bootstrap/-/bootstrap-6.4.1.tgz#a76ff22c3160d134fb60bcfddb3f8b0759b4f1ff" + integrity sha512-64cm0mnxzxhUUjH3T19ZSjPdn28vczRhhTXhNAvOhhU0sQgHrroam1xQC1395qbkV3iosSertlu8e7xbXW033w== + dependencies: + "@lerna/command" "6.4.1" + "@lerna/filter-options" "6.4.1" + "@lerna/has-npm-version" "6.4.1" + "@lerna/npm-install" "6.4.1" + "@lerna/package-graph" "6.4.1" + "@lerna/pulse-till-done" "6.4.1" + "@lerna/rimraf-dir" "6.4.1" + "@lerna/run-lifecycle" "6.4.1" + "@lerna/run-topologically" "6.4.1" + "@lerna/symlink-binary" "6.4.1" + "@lerna/symlink-dependencies" "6.4.1" + "@lerna/validation-error" "6.4.1" + "@npmcli/arborist" "5.3.0" + dedent "^0.7.0" + get-port "^5.1.1" + multimatch "^5.0.0" + npm-package-arg "8.1.1" + npmlog "^6.0.2" + p-map "^4.0.0" + p-map-series "^2.1.0" + p-waterfall "^2.1.1" + semver "^7.3.4" + + "@lerna/changed@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/changed/-/changed-6.4.1.tgz#4da6d08df7c53bc90c0c0d9d04839f91dd6d70a9" + integrity sha512-Z/z0sTm3l/iZW0eTSsnQpcY5d6eOpNO0g4wMOK+hIboWG0QOTc8b28XCnfCUO+33UisKl8PffultgoaHMKkGgw== + dependencies: + "@lerna/collect-updates" "6.4.1" + "@lerna/command" "6.4.1" + "@lerna/listable" "6.4.1" + "@lerna/output" "6.4.1" + + "@lerna/check-working-tree@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/check-working-tree/-/check-working-tree-6.4.1.tgz#c0dcb5c474faf214865058e2fedda44962367a4e" + integrity sha512-EnlkA1wxaRLqhJdn9HX7h+JYxqiTK9aWEFOPqAE8lqjxHn3RpM9qBp1bAdL7CeUk3kN1lvxKwDEm0mfcIyMbPA== + dependencies: + "@lerna/collect-uncommitted" "6.4.1" + "@lerna/describe-ref" "6.4.1" + "@lerna/validation-error" "6.4.1" + + "@lerna/child-process@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/child-process/-/child-process-6.4.1.tgz#d697fb769f4c5b57c59f87471eb9b3d65be904a3" + integrity sha512-dvEKK0yKmxOv8pccf3I5D/k+OGiLxQp5KYjsrDtkes2pjpCFfQAMbmpol/Tqx6w/2o2rSaRrLsnX8TENo66FsA== + dependencies: + chalk "^4.1.0" + execa "^5.0.0" + strong-log-transformer "^2.1.0" + + "@lerna/clean@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/clean/-/clean-6.4.1.tgz#e9ee365ee6879ee998b78b3269fad02b5f385771" + integrity sha512-FuVyW3mpos5ESCWSkQ1/ViXyEtsZ9k45U66cdM/HnteHQk/XskSQw0sz9R+whrZRUDu6YgYLSoj1j0YAHVK/3A== + dependencies: + "@lerna/command" "6.4.1" + "@lerna/filter-options" "6.4.1" + "@lerna/prompt" "6.4.1" + "@lerna/pulse-till-done" "6.4.1" + "@lerna/rimraf-dir" "6.4.1" + p-map "^4.0.0" + p-map-series "^2.1.0" + p-waterfall "^2.1.1" + + "@lerna/cli@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/cli/-/cli-6.4.1.tgz#2b2d093baace40e822caee8c90f698e98a437a2f" + integrity sha512-2pNa48i2wzFEd9LMPKWI3lkW/3widDqiB7oZUM1Xvm4eAOuDWc9I3RWmAUIVlPQNf3n4McxJCvsZZ9BpQN50Fg== + dependencies: + "@lerna/global-options" "6.4.1" + dedent "^0.7.0" + npmlog "^6.0.2" + yargs "^16.2.0" + + "@lerna/collect-uncommitted@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/collect-uncommitted/-/collect-uncommitted-6.4.1.tgz#ae62bcaa5ecaa5b7fbc41eb9ae90b6711be156ec" + integrity sha512-5IVQGhlLrt7Ujc5ooYA1Xlicdba/wMcDSnbQwr8ufeqnzV2z4729pLCVk55gmi6ZienH/YeBPHxhB5u34ofE0Q== + dependencies: + "@lerna/child-process" "6.4.1" + chalk "^4.1.0" + npmlog "^6.0.2" + + "@lerna/collect-updates@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/collect-updates/-/collect-updates-6.4.1.tgz#4f7cf1c411f3253d0104e7b64cb0aa315a5dfc81" + integrity sha512-pzw2/FC+nIqYkknUHK9SMmvP3MsLEjxI597p3WV86cEDN3eb1dyGIGuHiKShtjvT08SKSwpTX+3bCYvLVxtC5Q== + dependencies: + "@lerna/child-process" "6.4.1" + "@lerna/describe-ref" "6.4.1" + minimatch "^3.0.4" + npmlog "^6.0.2" + slash "^3.0.0" + + "@lerna/command@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/command/-/command-6.4.1.tgz#96c4f5d88792c6c638738c66fcc3a7ad0d2487e2" + integrity sha512-3Lifj8UTNYbRad8JMP7IFEEdlIyclWyyvq/zvNnTS9kCOEymfmsB3lGXr07/AFoi6qDrvN64j7YSbPZ6C6qonw== + dependencies: + "@lerna/child-process" "6.4.1" + "@lerna/package-graph" "6.4.1" + "@lerna/project" "6.4.1" + "@lerna/validation-error" "6.4.1" + "@lerna/write-log-file" "6.4.1" + clone-deep "^4.0.1" + dedent "^0.7.0" + execa "^5.0.0" + is-ci "^2.0.0" + npmlog "^6.0.2" + + "@lerna/conventional-commits@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/conventional-commits/-/conventional-commits-6.4.1.tgz#b8d44a8a71865b4d37b900137acef623f3a0a11b" + integrity sha512-NIvCOjStjQy5O8VojB7/fVReNNDEJOmzRG2sTpgZ/vNS4AzojBQZ/tobzhm7rVkZZ43R9srZeuhfH9WgFsVUSA== + dependencies: + "@lerna/validation-error" "6.4.1" + conventional-changelog-angular "^5.0.12" + conventional-changelog-core "^4.2.4" + conventional-recommended-bump "^6.1.0" + fs-extra "^9.1.0" + get-stream "^6.0.0" + npm-package-arg "8.1.1" + npmlog "^6.0.2" + pify "^5.0.0" + semver "^7.3.4" + + "@lerna/create-symlink@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/create-symlink/-/create-symlink-6.4.1.tgz#0efec22d78dd814a70d8345ced52c39beb05874b" + integrity sha512-rNivHFYV1GAULxnaTqeGb2AdEN2OZzAiZcx5CFgj45DWXQEGwPEfpFmCSJdXhFZbyd3K0uiDlAXjAmV56ov3FQ== + dependencies: + cmd-shim "^5.0.0" + fs-extra "^9.1.0" + npmlog "^6.0.2" + + "@lerna/create@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/create/-/create-6.4.1.tgz#3fc8556adadff1265432a6cee69ee14465798e71" + integrity sha512-qfQS8PjeGDDlxEvKsI/tYixIFzV2938qLvJohEKWFn64uvdLnXCamQ0wvRJST8p1ZpHWX4AXrB+xEJM3EFABrA== + dependencies: + "@lerna/child-process" "6.4.1" + "@lerna/command" "6.4.1" + "@lerna/npm-conf" "6.4.1" + "@lerna/validation-error" "6.4.1" + dedent "^0.7.0" + fs-extra "^9.1.0" + init-package-json "^3.0.2" + npm-package-arg "8.1.1" + p-reduce "^2.1.0" + pacote "^13.6.1" + pify "^5.0.0" + semver "^7.3.4" + slash "^3.0.0" + validate-npm-package-license "^3.0.4" + validate-npm-package-name "^4.0.0" + yargs-parser "20.2.4" + + "@lerna/describe-ref@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/describe-ref/-/describe-ref-6.4.1.tgz#c0a0beca5dfeada3a39b030f69c8c98f5623bb13" + integrity sha512-MXGXU8r27wl355kb1lQtAiu6gkxJ5tAisVJvFxFM1M+X8Sq56icNoaROqYrvW6y97A9+3S8Q48pD3SzkFv31Xw== + dependencies: + "@lerna/child-process" "6.4.1" + npmlog "^6.0.2" + + "@lerna/diff@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/diff/-/diff-6.4.1.tgz#ca9e62a451ce199faaa7ef5990ded3fad947e2f9" + integrity sha512-TnzJsRPN2fOjUrmo5Boi43fJmRtBJDsVgwZM51VnLoKcDtO1kcScXJ16Od2Xx5bXbp5dES5vGDLL/USVVWfeAg== + dependencies: + "@lerna/child-process" "6.4.1" + "@lerna/command" "6.4.1" + "@lerna/validation-error" "6.4.1" + npmlog "^6.0.2" + + "@lerna/exec@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/exec/-/exec-6.4.1.tgz#493ce805b6959e8299ec58fab8d31fd01ed209ba" + integrity sha512-KAWfuZpoyd3FMejHUORd0GORMr45/d9OGAwHitfQPVs4brsxgQFjbbBEEGIdwsg08XhkDb4nl6IYVASVTq9+gA== + dependencies: + "@lerna/child-process" "6.4.1" + "@lerna/command" "6.4.1" + "@lerna/filter-options" "6.4.1" + "@lerna/profiler" "6.4.1" + "@lerna/run-topologically" "6.4.1" + "@lerna/validation-error" "6.4.1" + p-map "^4.0.0" + + "@lerna/filter-options@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/filter-options/-/filter-options-6.4.1.tgz#571d37436878fab8b2ac84ca1c3863acd3515cfb" + integrity sha512-efJh3lP2T+9oyNIP2QNd9EErf0Sm3l3Tz8CILMsNJpjSU6kO43TYWQ+L/ezu2zM99KVYz8GROLqDcHRwdr8qUA== + dependencies: + "@lerna/collect-updates" "6.4.1" + "@lerna/filter-packages" "6.4.1" + dedent "^0.7.0" + npmlog "^6.0.2" + + "@lerna/filter-packages@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/filter-packages/-/filter-packages-6.4.1.tgz#e138b182816a049c81de094069cad12aaa41a236" + integrity sha512-LCMGDGy4b+Mrb6xkcVzp4novbf5MoZEE6ZQF1gqG0wBWqJzNcKeFiOmf352rcDnfjPGZP6ct5+xXWosX/q6qwg== + dependencies: + "@lerna/validation-error" "6.4.1" + multimatch "^5.0.0" + npmlog "^6.0.2" + + "@lerna/get-npm-exec-opts@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/get-npm-exec-opts/-/get-npm-exec-opts-6.4.1.tgz#42681f6db4238277889b3423f87308eda5dc01ec" + integrity sha512-IvN/jyoklrWcjssOf121tZhOc16MaFPOu5ii8a+Oy0jfTriIGv929Ya8MWodj75qec9s+JHoShB8yEcMqZce4g== + dependencies: + npmlog "^6.0.2" + + "@lerna/get-packed@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/get-packed/-/get-packed-6.4.1.tgz#b3b8b907002d50bf8792dd97e2729249c0b0e0cd" + integrity sha512-uaDtYwK1OEUVIXn84m45uPlXShtiUcw6V9TgB3rvHa3rrRVbR7D4r+JXcwVxLGrAS7LwxVbYWEEO/Z/bX7J/Lg== + dependencies: + fs-extra "^9.1.0" + ssri "^9.0.1" + tar "^6.1.0" + + "@lerna/github-client@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/github-client/-/github-client-6.4.1.tgz#25d19b440395a6039b9162ee58dadb9dce990ff0" + integrity sha512-ridDMuzmjMNlcDmrGrV9mxqwUKzt9iYqCPwVYJlRYrnE3jxyg+RdooquqskVFj11djcY6xCV2Q2V1lUYwF+PmA== + dependencies: + "@lerna/child-process" "6.4.1" + "@octokit/plugin-enterprise-rest" "^6.0.1" + "@octokit/rest" "^19.0.3" + git-url-parse "^13.1.0" + npmlog "^6.0.2" + + "@lerna/gitlab-client@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/gitlab-client/-/gitlab-client-6.4.1.tgz#a01d962dc52a55b8272ea52bc54d72c5fd9db6f9" + integrity sha512-AdLG4d+jbUvv0jQyygQUTNaTCNSMDxioJso6aAjQ/vkwyy3fBJ6FYzX74J4adSfOxC2MQZITFyuG+c9ggp7pyQ== + dependencies: + node-fetch "^2.6.1" + npmlog "^6.0.2" + + "@lerna/global-options@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/global-options/-/global-options-6.4.1.tgz#7df76b1d38500606a8dc3ce0804bab6894c4f4a3" + integrity sha512-UTXkt+bleBB8xPzxBPjaCN/v63yQdfssVjhgdbkQ//4kayaRA65LyEtJTi9rUrsLlIy9/rbeb+SAZUHg129fJg== + + "@lerna/has-npm-version@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/has-npm-version/-/has-npm-version-6.4.1.tgz#04eba7df687e665294834253b659430efc1e01bb" + integrity sha512-vW191w5iCkwNWWWcy4542ZOpjKYjcP/pU3o3+w6NM1J3yBjWZcNa8lfzQQgde2QkGyNi+i70o6wIca1o0sdKwg== + dependencies: + "@lerna/child-process" "6.4.1" + semver "^7.3.4" + + "@lerna/import@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/import/-/import-6.4.1.tgz#b5696fed68a32d32398d66f95192267f1da5110e" + integrity sha512-oDg8g1PNrCM1JESLsG3rQBtPC+/K9e4ohs0xDKt5E6p4l7dc0Ib4oo0oCCT/hGzZUlNwHxrc2q9JMRzSAn6P/Q== + dependencies: + "@lerna/child-process" "6.4.1" + "@lerna/command" "6.4.1" + "@lerna/prompt" "6.4.1" + "@lerna/pulse-till-done" "6.4.1" + "@lerna/validation-error" "6.4.1" + dedent "^0.7.0" + fs-extra "^9.1.0" + p-map-series "^2.1.0" + + "@lerna/info@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/info/-/info-6.4.1.tgz#30354fcb82c99b1f0ed753f957fbaca5b250c3fa" + integrity sha512-Ks4R7IndIr4vQXz+702gumPVhH6JVkshje0WKA3+ew2qzYZf68lU1sBe1OZsQJU3eeY2c60ax+bItSa7aaIHGw== + dependencies: + "@lerna/command" "6.4.1" + "@lerna/output" "6.4.1" + envinfo "^7.7.4" + + "@lerna/init@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/init/-/init-6.4.1.tgz#ea4905ca976189db4b0bf04d78919060146bf684" + integrity sha512-CXd/s/xgj0ZTAoOVyolOTLW2BG7uQOhWW4P/ktlwwJr9s3c4H/z+Gj36UXw3q5X1xdR29NZt7Vc6fvROBZMjUQ== + dependencies: + "@lerna/child-process" "6.4.1" + "@lerna/command" "6.4.1" + "@lerna/project" "6.4.1" + fs-extra "^9.1.0" + p-map "^4.0.0" + write-json-file "^4.3.0" + + "@lerna/link@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/link/-/link-6.4.1.tgz#f31ed1f6aea1581e358a9ff545be78b61e923175" + integrity sha512-O8Rt7MAZT/WT2AwrB/+HY76ktnXA9cDFO9rhyKWZGTHdplbzuJgfsGzu8Xv0Ind+w+a8xLfqtWGPlwiETnDyrw== + dependencies: + "@lerna/command" "6.4.1" + "@lerna/package-graph" "6.4.1" + "@lerna/symlink-dependencies" "6.4.1" + "@lerna/validation-error" "6.4.1" + p-map "^4.0.0" + slash "^3.0.0" + + "@lerna/list@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/list/-/list-6.4.1.tgz#12ad83902e148d1e5ba007149b72b14636f9f1ba" + integrity sha512-7a6AKgXgC4X7nK6twVPNrKCiDhrCiAhL/FE4u9HYhHqw9yFwyq8Qe/r1RVOkAOASNZzZ8GuBvob042bpunupCw== + dependencies: + "@lerna/command" "6.4.1" + "@lerna/filter-options" "6.4.1" + "@lerna/listable" "6.4.1" + "@lerna/output" "6.4.1" + + "@lerna/listable@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/listable/-/listable-6.4.1.tgz#6f5c83865391c6beeb41802951c674e2de119bde" + integrity sha512-L8ANeidM10aoF8aL3L/771Bb9r/TRkbEPzAiC8Iy2IBTYftS87E3rT/4k5KBEGYzMieSKJaskSFBV0OQGYV1Cw== + dependencies: + "@lerna/query-graph" "6.4.1" + chalk "^4.1.0" + columnify "^1.6.0" + + "@lerna/log-packed@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/log-packed/-/log-packed-6.4.1.tgz#43eae50d5c0cd906b1977a58b62b35541cf89ec1" + integrity sha512-Pwv7LnIgWqZH4vkM1rWTVF+pmWJu7d0ZhVwyhCaBJUsYbo+SyB2ZETGygo3Z/A+vZ/S7ImhEEKfIxU9bg5lScQ== + dependencies: + byte-size "^7.0.0" + columnify "^1.6.0" + has-unicode "^2.0.1" + npmlog "^6.0.2" + + "@lerna/npm-conf@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/npm-conf/-/npm-conf-6.4.1.tgz#64dba237ff41472a24f96192669c1bc0dce15edb" + integrity sha512-Q+83uySGXYk3n1pYhvxtzyGwBGijYgYecgpiwRG1YNyaeGy+Mkrj19cyTWubT+rU/kM5c6If28+y9kdudvc7zQ== + dependencies: + config-chain "^1.1.12" + pify "^5.0.0" + + "@lerna/npm-dist-tag@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/npm-dist-tag/-/npm-dist-tag-6.4.1.tgz#f14e7176f7e323284e8aa8636b44818a61738fd1" + integrity sha512-If1Hn4q9fn0JWuBm455iIZDWE6Fsn4Nv8Tpqb+dYf0CtoT5Hn+iT64xSiU5XJw9Vc23IR7dIujkEXm2MVbnvZw== + dependencies: + "@lerna/otplease" "6.4.1" + npm-package-arg "8.1.1" + npm-registry-fetch "^13.3.0" + npmlog "^6.0.2" + + "@lerna/npm-install@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/npm-install/-/npm-install-6.4.1.tgz#99f5748cb43de9786ea2b538c94a7183d38fc476" + integrity sha512-7gI1txMA9qTaT3iiuk/8/vL78wIhtbbOLhMf8m5yQ2G+3t47RUA8MNgUMsq4Zszw9C83drayqesyTf0u8BzVRg== + dependencies: + "@lerna/child-process" "6.4.1" + "@lerna/get-npm-exec-opts" "6.4.1" + fs-extra "^9.1.0" + npm-package-arg "8.1.1" + npmlog "^6.0.2" + signal-exit "^3.0.3" + write-pkg "^4.0.0" + + "@lerna/npm-publish@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/npm-publish/-/npm-publish-6.4.1.tgz#baf07b108ae8b32932612db63206bcd5b5ee0e88" + integrity sha512-lbNEg+pThPAD8lIgNArm63agtIuCBCF3umxvgTQeLzyqUX6EtGaKJFyz/6c2ANcAuf8UfU7WQxFFbOiolibXTQ== + dependencies: + "@lerna/otplease" "6.4.1" + "@lerna/run-lifecycle" "6.4.1" + fs-extra "^9.1.0" + libnpmpublish "^6.0.4" + npm-package-arg "8.1.1" + npmlog "^6.0.2" + pify "^5.0.0" + read-package-json "^5.0.1" + + "@lerna/npm-run-script@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/npm-run-script/-/npm-run-script-6.4.1.tgz#86db4f15d359b8a371db666aa51c9b2b87b602f3" + integrity sha512-HyvwuyhrGqDa1UbI+pPbI6v+wT6I34R0PW3WCADn6l59+AyqLOCUQQr+dMW7jdYNwjO6c/Ttbvj4W58EWsaGtQ== + dependencies: + "@lerna/child-process" "6.4.1" + "@lerna/get-npm-exec-opts" "6.4.1" + npmlog "^6.0.2" + + "@lerna/otplease@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/otplease/-/otplease-6.4.1.tgz#9573e053c43e7139442da96fe655aa02749cb8a3" + integrity sha512-ePUciFfFdythHNMp8FP5K15R/CoGzSLVniJdD50qm76c4ATXZHnGCW2PGwoeAZCy4QTzhlhdBq78uN0wAs75GA== + dependencies: + "@lerna/prompt" "6.4.1" + + "@lerna/output@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/output/-/output-6.4.1.tgz#327baf768b8fb63db9d52f68288d387379f814f7" + integrity sha512-A1yRLF0bO+lhbIkrryRd6hGSD0wnyS1rTPOWJhScO/Zyv8vIPWhd2fZCLR1gI2d/Kt05qmK3T/zETTwloK7Fww== + dependencies: + npmlog "^6.0.2" + + "@lerna/pack-directory@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/pack-directory/-/pack-directory-6.4.1.tgz#e78aae4e7944057d8fc6cb4dd8ae50be7a95c2fd" + integrity sha512-kBtDL9bPP72/Nl7Gqa2CA3Odb8CYY1EF2jt801f+B37TqRLf57UXQom7yF3PbWPCPmhoU+8Fc4RMpUwSbFC46Q== + dependencies: + "@lerna/get-packed" "6.4.1" + "@lerna/package" "6.4.1" + "@lerna/run-lifecycle" "6.4.1" + "@lerna/temp-write" "6.4.1" + npm-packlist "^5.1.1" + npmlog "^6.0.2" + tar "^6.1.0" + + "@lerna/package-graph@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/package-graph/-/package-graph-6.4.1.tgz#7a18024d531f0bd88609944e572b4861f0f8868f" + integrity sha512-fQvc59stRYOqxT3Mn7g/yI9/Kw5XetJoKcW5l8XeqKqcTNDURqKnN0qaNBY6lTTLOe4cR7gfXF2l1u3HOz0qEg== + dependencies: + "@lerna/prerelease-id-from-version" "6.4.1" + "@lerna/validation-error" "6.4.1" + npm-package-arg "8.1.1" + npmlog "^6.0.2" + semver "^7.3.4" + + "@lerna/package@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/package/-/package-6.4.1.tgz#ebbd4c5f58f4b6cf77019271a686be9585272a3b" + integrity sha512-TrOah58RnwS9R8d3+WgFFTu5lqgZs7M+e1dvcRga7oSJeKscqpEK57G0xspvF3ycjfXQwRMmEtwPmpkeEVLMzA== + dependencies: + load-json-file "^6.2.0" + npm-package-arg "8.1.1" + write-pkg "^4.0.0" + + "@lerna/prerelease-id-from-version@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/prerelease-id-from-version/-/prerelease-id-from-version-6.4.1.tgz#65eb1835cdfd112783eea6b596812c64f535386b" + integrity sha512-uGicdMFrmfHXeC0FTosnUKRgUjrBJdZwrmw7ZWMb5DAJGOuTzrvJIcz5f0/eL3XqypC/7g+9DoTgKjX3hlxPZA== + dependencies: + semver "^7.3.4" + + "@lerna/profiler@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/profiler/-/profiler-6.4.1.tgz#0d5e017e1389e35960d671f43db7eb16337fda1b" + integrity sha512-dq2uQxcu0aq6eSoN+JwnvHoAnjtZAVngMvywz5bTAfzz/sSvIad1v8RCpJUMBQHxaPtbfiNvOIQgDZOmCBIM4g== + dependencies: + fs-extra "^9.1.0" + npmlog "^6.0.2" + upath "^2.0.1" + + "@lerna/project@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/project/-/project-6.4.1.tgz#0519323aa8bde5b73fc0bf1c428385a556a445f0" + integrity sha512-BPFYr4A0mNZ2jZymlcwwh7PfIC+I6r52xgGtJ4KIrIOB6mVKo9u30dgYJbUQxmSuMRTOnX7PJZttQQzSda4gEg== + dependencies: + "@lerna/package" "6.4.1" + "@lerna/validation-error" "6.4.1" + cosmiconfig "^7.0.0" + dedent "^0.7.0" + dot-prop "^6.0.1" + glob-parent "^5.1.1" + globby "^11.0.2" + js-yaml "^4.1.0" + load-json-file "^6.2.0" + npmlog "^6.0.2" + p-map "^4.0.0" + resolve-from "^5.0.0" + write-json-file "^4.3.0" + + "@lerna/prompt@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/prompt/-/prompt-6.4.1.tgz#5ede06b4c8e17ec3045180b10ec5bd313cbc8585" + integrity sha512-vMxCIgF9Vpe80PnargBGAdS/Ib58iYEcfkcXwo7mYBCxEVcaUJFKZ72FEW8rw+H5LkxBlzrBJyfKRoOe0ks9gQ== + dependencies: + inquirer "^8.2.4" + npmlog "^6.0.2" + + "@lerna/publish@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/publish/-/publish-6.4.1.tgz#e1bdfa67297ca4a3054863e7acfc8482bf613c35" + integrity sha512-/D/AECpw2VNMa1Nh4g29ddYKRIqygEV1ftV8PYXVlHpqWN7VaKrcbRU6pn0ldgpFlMyPtESfv1zS32F5CQ944w== + dependencies: + "@lerna/check-working-tree" "6.4.1" + "@lerna/child-process" "6.4.1" + "@lerna/collect-updates" "6.4.1" + "@lerna/command" "6.4.1" + "@lerna/describe-ref" "6.4.1" + "@lerna/log-packed" "6.4.1" + "@lerna/npm-conf" "6.4.1" + "@lerna/npm-dist-tag" "6.4.1" + "@lerna/npm-publish" "6.4.1" + "@lerna/otplease" "6.4.1" + "@lerna/output" "6.4.1" + "@lerna/pack-directory" "6.4.1" + "@lerna/prerelease-id-from-version" "6.4.1" + "@lerna/prompt" "6.4.1" + "@lerna/pulse-till-done" "6.4.1" + "@lerna/run-lifecycle" "6.4.1" + "@lerna/run-topologically" "6.4.1" + "@lerna/validation-error" "6.4.1" + "@lerna/version" "6.4.1" + fs-extra "^9.1.0" + libnpmaccess "^6.0.3" + npm-package-arg "8.1.1" + npm-registry-fetch "^13.3.0" + npmlog "^6.0.2" + p-map "^4.0.0" + p-pipe "^3.1.0" + pacote "^13.6.1" + semver "^7.3.4" + + "@lerna/pulse-till-done@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/pulse-till-done/-/pulse-till-done-6.4.1.tgz#85c38a43939bf5e21b61091d0bcf73a1109a59db" + integrity sha512-efAkOC1UuiyqYBfrmhDBL6ufYtnpSqAG+lT4d/yk3CzJEJKkoCwh2Hb692kqHHQ5F74Uusc8tcRB7GBcfNZRWA== + dependencies: + npmlog "^6.0.2" + + "@lerna/query-graph@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/query-graph/-/query-graph-6.4.1.tgz#3c224a49ff392d08ce8aeeaa1af4458f522a2b78" + integrity sha512-gBGZLgu2x6L4d4ZYDn4+d5rxT9RNBC+biOxi0QrbaIq83I+JpHVmFSmExXK3rcTritrQ3JT9NCqb+Yu9tL9adQ== + dependencies: + "@lerna/package-graph" "6.4.1" + + "@lerna/resolve-symlink@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/resolve-symlink/-/resolve-symlink-6.4.1.tgz#ab42dcbd03bc4028ec77ee481c5db8884ebaf40a" + integrity sha512-gnqltcwhWVLUxCuwXWe/ch9WWTxXRI7F0ZvCtIgdfOpbosm3f1g27VO1LjXeJN2i6ks03qqMowqy4xB4uMR9IA== + dependencies: + fs-extra "^9.1.0" + npmlog "^6.0.2" + read-cmd-shim "^3.0.0" + + "@lerna/rimraf-dir@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/rimraf-dir/-/rimraf-dir-6.4.1.tgz#116e379f653135b3ae955dcba703bdf212cab51a" + integrity sha512-5sDOmZmVj0iXIiEgdhCm0Prjg5q2SQQKtMd7ImimPtWKkV0IyJWxrepJFbeQoFj5xBQF7QB5jlVNEfQfKhD6pQ== + dependencies: + "@lerna/child-process" "6.4.1" + npmlog "^6.0.2" + path-exists "^4.0.0" + rimraf "^3.0.2" + + "@lerna/run-lifecycle@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/run-lifecycle/-/run-lifecycle-6.4.1.tgz#1eac136afae97e197bdb564e67fb385f4d346685" + integrity sha512-42VopI8NC8uVCZ3YPwbTycGVBSgukJltW5Saein0m7TIqFjwSfrcP0n7QJOr+WAu9uQkk+2kBstF5WmvKiqgEA== + dependencies: + "@lerna/npm-conf" "6.4.1" + "@npmcli/run-script" "^4.1.7" + npmlog "^6.0.2" + p-queue "^6.6.2" + + "@lerna/run-topologically@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/run-topologically/-/run-topologically-6.4.1.tgz#640b07d83f1d1e6d3bc36f81a74957839bb1672f" + integrity sha512-gXlnAsYrjs6KIUGDnHM8M8nt30Amxq3r0lSCNAt+vEu2sMMEOh9lffGGaJobJZ4bdwoXnKay3uER/TU8E9owMw== + dependencies: + "@lerna/query-graph" "6.4.1" + p-queue "^6.6.2" + + "@lerna/run@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/run/-/run-6.4.1.tgz#985279f071ff23ae15f92837f85f979a1352fc01" + integrity sha512-HRw7kS6KNqTxqntFiFXPEeBEct08NjnL6xKbbOV6pXXf+lXUQbJlF8S7t6UYqeWgTZ4iU9caIxtZIY+EpW93mQ== + dependencies: + "@lerna/command" "6.4.1" + "@lerna/filter-options" "6.4.1" + "@lerna/npm-run-script" "6.4.1" + "@lerna/output" "6.4.1" + "@lerna/profiler" "6.4.1" + "@lerna/run-topologically" "6.4.1" + "@lerna/timer" "6.4.1" + "@lerna/validation-error" "6.4.1" + fs-extra "^9.1.0" + nx ">=15.4.2 < 16" + p-map "^4.0.0" + + "@lerna/symlink-binary@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/symlink-binary/-/symlink-binary-6.4.1.tgz#d8e1b653a7ae9fe38834851c66c92278e3bb25ae" + integrity sha512-poZX90VmXRjL/JTvxaUQPeMDxFUIQvhBkHnH+dwW0RjsHB/2Tu4QUAsE0OlFnlWQGsAtXF4FTtW8Xs57E/19Kw== + dependencies: + "@lerna/create-symlink" "6.4.1" + "@lerna/package" "6.4.1" + fs-extra "^9.1.0" + p-map "^4.0.0" + + "@lerna/symlink-dependencies@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/symlink-dependencies/-/symlink-dependencies-6.4.1.tgz#988203cc260406b64d61294367821a0f26419ee6" + integrity sha512-43W2uLlpn3TTYuHVeO/2A6uiTZg6TOk/OSKi21ujD7IfVIYcRYCwCV+8LPP12R3rzyab0JWkWnhp80Z8A2Uykw== + dependencies: + "@lerna/create-symlink" "6.4.1" + "@lerna/resolve-symlink" "6.4.1" + "@lerna/symlink-binary" "6.4.1" + fs-extra "^9.1.0" + p-map "^4.0.0" + p-map-series "^2.1.0" + + "@lerna/temp-write@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/temp-write/-/temp-write-6.4.1.tgz#1c46d05b633597c77b0c5f5ab46c1315195f7786" + integrity sha512-7uiGFVoTyos5xXbVQg4bG18qVEn9dFmboXCcHbMj5mc/+/QmU9QeNz/Cq36O5TY6gBbLnyj3lfL5PhzERWKMFg== + dependencies: + graceful-fs "^4.1.15" + is-stream "^2.0.0" + make-dir "^3.0.0" + temp-dir "^1.0.0" + uuid "^8.3.2" + + "@lerna/timer@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/timer/-/timer-6.4.1.tgz#47fe50b56bd2fc32396a2559f7bb65de8200f07d" + integrity sha512-ogmjFTWwRvevZr76a2sAbhmu3Ut2x73nDIn0bcwZwZ3Qc3pHD8eITdjs/wIKkHse3J7l3TO5BFJPnrvDS7HLnw== + + "@lerna/validation-error@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/validation-error/-/validation-error-6.4.1.tgz#2cab92c2be395158c3d65fa57ddb73892617d7e8" + integrity sha512-fxfJvl3VgFd7eBfVMRX6Yal9omDLs2mcGKkNYeCEyt4Uwlz1B5tPAXyk/sNMfkKV2Aat/mlK5tnY13vUrMKkyA== + dependencies: + npmlog "^6.0.2" + + "@lerna/version@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/version/-/version-6.4.1.tgz#01011364df04240ce92dffed1d2fa76bb9f959ff" + integrity sha512-1/krPq0PtEqDXtaaZsVuKev9pXJCkNC1vOo2qCcn6PBkODw/QTAvGcUi0I+BM2c//pdxge9/gfmbDo1lC8RtAQ== + dependencies: + "@lerna/check-working-tree" "6.4.1" + "@lerna/child-process" "6.4.1" + "@lerna/collect-updates" "6.4.1" + "@lerna/command" "6.4.1" + "@lerna/conventional-commits" "6.4.1" + "@lerna/github-client" "6.4.1" + "@lerna/gitlab-client" "6.4.1" + "@lerna/output" "6.4.1" + "@lerna/prerelease-id-from-version" "6.4.1" + "@lerna/prompt" "6.4.1" + "@lerna/run-lifecycle" "6.4.1" + "@lerna/run-topologically" "6.4.1" + "@lerna/temp-write" "6.4.1" + "@lerna/validation-error" "6.4.1" + "@nrwl/devkit" ">=15.4.2 < 16" + chalk "^4.1.0" + dedent "^0.7.0" + load-json-file "^6.2.0" + minimatch "^3.0.4" + npmlog "^6.0.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" + write-json-file "^4.3.0" + + "@lerna/write-log-file@6.4.1": + version "6.4.1" + resolved "https://registry.yarnpkg.com/@lerna/write-log-file/-/write-log-file-6.4.1.tgz#b9b959e4b853cdabf0309bc5da1513fa025117ec" + integrity sha512-LE4fueQSDrQo76F4/gFXL0wnGhqdG7WHVH8D8TrKouF2Afl4NHltObCm4WsSMPjcfciVnZQFfx1ruxU4r/enHQ== + dependencies: + npmlog "^6.0.2" + write-file-atomic "^4.0.1" + + "@noble/hashes@^1", "@noble/hashes@^1.0.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.2.0.tgz#a3150eeb09cc7ab207ebf6d7b9ad311a9bdbed12" + integrity sha512-FZfhjEDbT5GRswV3C6uvLPHMiVD6lQBmpoX5+eSiPaMTXte/IKqI5dykDxzZB/WBeK/CDuQRBWarPdi3FNY2zQ== + + "@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", "@nodelib/fs.walk@^1.2.8": + version "1.2.8" + resolved "https://registry.yarnpkg.com/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz#e95737e8bb6746ddedf69c556953494f196fe69a" + integrity sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg== + dependencies: + "@nodelib/fs.scandir" "2.1.5" + fastq "^1.6.0" + + "@npmcli/arborist@5.3.0": + version "5.3.0" + resolved "https://registry.yarnpkg.com/@npmcli/arborist/-/arborist-5.3.0.tgz#321d9424677bfc08569e98a5ac445ee781f32053" + integrity sha512-+rZ9zgL1lnbl8Xbb1NQdMjveOMwj4lIYfcDtyJHHi5x4X8jtR6m8SXooJMZy5vmFVZ8w7A2Bnd/oX9eTuU8w5A== + dependencies: + "@isaacs/string-locale-compare" "^1.1.0" + "@npmcli/installed-package-contents" "^1.0.7" + "@npmcli/map-workspaces" "^2.0.3" + "@npmcli/metavuln-calculator" "^3.0.1" + "@npmcli/move-file" "^2.0.0" + "@npmcli/name-from-folder" "^1.0.1" + "@npmcli/node-gyp" "^2.0.0" + "@npmcli/package-json" "^2.0.0" + "@npmcli/run-script" "^4.1.3" + bin-links "^3.0.0" + cacache "^16.0.6" + common-ancestor-path "^1.0.1" + json-parse-even-better-errors "^2.3.1" + json-stringify-nice "^1.1.4" + mkdirp "^1.0.4" + mkdirp-infer-owner "^2.0.0" + nopt "^5.0.0" + npm-install-checks "^5.0.0" + npm-package-arg "^9.0.0" + npm-pick-manifest "^7.0.0" + npm-registry-fetch "^13.0.0" + npmlog "^6.0.2" + pacote "^13.6.1" + parse-conflict-json "^2.0.1" + proc-log "^2.0.0" + promise-all-reject-late "^1.0.0" + promise-call-limit "^1.0.1" + read-package-json-fast "^2.0.2" + readdir-scoped-modules "^1.1.0" + rimraf "^3.0.2" + semver "^7.3.7" + ssri "^9.0.0" + treeverse "^2.0.0" + walk-up-path "^1.0.0" + + "@npmcli/fs@^2.1.0": + version "2.1.2" + resolved "https://registry.yarnpkg.com/@npmcli/fs/-/fs-2.1.2.tgz#a9e2541a4a2fec2e69c29b35e6060973da79b865" + integrity sha512-yOJKRvohFOaLqipNtwYB9WugyZKhC/DZC4VYPmpaCzDBrA8YpK3qHZ8/HGscMnE4GqbkLNuVcCnxkeQEdGt6LQ== + dependencies: + "@gar/promisify" "^1.1.3" + semver "^7.3.5" + + "@npmcli/git@^3.0.0": + version "3.0.2" + resolved "https://registry.yarnpkg.com/@npmcli/git/-/git-3.0.2.tgz#5c5de6b4d70474cf2d09af149ce42e4e1dacb931" + integrity sha512-CAcd08y3DWBJqJDpfuVL0uijlq5oaXaOJEKHKc4wqrjd00gkvTZB+nFuLn+doOOKddaQS9JfqtNoFCO2LCvA3w== + dependencies: + "@npmcli/promise-spawn" "^3.0.0" + lru-cache "^7.4.4" + mkdirp "^1.0.4" + npm-pick-manifest "^7.0.0" + proc-log "^2.0.0" + promise-inflight "^1.0.1" + promise-retry "^2.0.1" + semver "^7.3.5" + which "^2.0.2" + + "@npmcli/installed-package-contents@^1.0.7": + version "1.0.7" + resolved "https://registry.yarnpkg.com/@npmcli/installed-package-contents/-/installed-package-contents-1.0.7.tgz#ab7408c6147911b970a8abe261ce512232a3f4fa" + integrity sha512-9rufe0wnJusCQoLpV9ZPKIVP55itrM5BxOXs10DmdbRfgWtHy1LDyskbwRnBghuB0PrF7pNPOqREVtpz4HqzKw== + dependencies: + npm-bundled "^1.1.1" + npm-normalize-package-bin "^1.0.1" + + "@npmcli/map-workspaces@^2.0.3": + version "2.0.4" + resolved "https://registry.yarnpkg.com/@npmcli/map-workspaces/-/map-workspaces-2.0.4.tgz#9e5e8ab655215a262aefabf139782b894e0504fc" + integrity sha512-bMo0aAfwhVwqoVM5UzX1DJnlvVvzDCHae821jv48L1EsrYwfOZChlqWYXEtto/+BkBXetPbEWgau++/brh4oVg== + dependencies: + "@npmcli/name-from-folder" "^1.0.1" + glob "^8.0.1" + minimatch "^5.0.1" + read-package-json-fast "^2.0.3" + + "@npmcli/metavuln-calculator@^3.0.1": + version "3.1.1" + resolved "https://registry.yarnpkg.com/@npmcli/metavuln-calculator/-/metavuln-calculator-3.1.1.tgz#9359bd72b400f8353f6a28a25c8457b562602622" + integrity sha512-n69ygIaqAedecLeVH3KnO39M6ZHiJ2dEv5A7DGvcqCB8q17BGUgW8QaanIkbWUo2aYGZqJaOORTLAlIvKjNDKA== + dependencies: + cacache "^16.0.0" + json-parse-even-better-errors "^2.3.1" + pacote "^13.0.3" + semver "^7.3.5" + + "@npmcli/move-file@^2.0.0": + version "2.0.1" + resolved "https://registry.yarnpkg.com/@npmcli/move-file/-/move-file-2.0.1.tgz#26f6bdc379d87f75e55739bab89db525b06100e4" + integrity sha512-mJd2Z5TjYWq/ttPLLGqArdtnC74J6bOzg4rMDnN+p1xTacZ2yPRCk2y0oSWQtygLR9YVQXgOcONrwtnk3JupxQ== + dependencies: + mkdirp "^1.0.4" + rimraf "^3.0.2" + + "@npmcli/name-from-folder@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@npmcli/name-from-folder/-/name-from-folder-1.0.1.tgz#77ecd0a4fcb772ba6fe927e2e2e155fbec2e6b1a" + integrity sha512-qq3oEfcLFwNfEYOQ8HLimRGKlD8WSeGEdtUa7hmzpR8Sa7haL1KVQrvgO6wqMjhWFFVjgtrh1gIxDz+P8sjUaA== + + "@npmcli/node-gyp@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@npmcli/node-gyp/-/node-gyp-2.0.0.tgz#8c20e53e34e9078d18815c1d2dda6f2420d75e35" + integrity sha512-doNI35wIe3bBaEgrlPfdJPaCpUR89pJWep4Hq3aRdh6gKazIVWfs0jHttvSSoq47ZXgC7h73kDsUl8AoIQUB+A== + + "@npmcli/package-json@^2.0.0": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@npmcli/package-json/-/package-json-2.0.0.tgz#3bbcf4677e21055adbe673d9f08c9f9cde942e4a" + integrity sha512-42jnZ6yl16GzjWSH7vtrmWyJDGVa/LXPdpN2rcUWolFjc9ON2N3uz0qdBbQACfmhuJZ2lbKYtmK5qx68ZPLHMA== + dependencies: + json-parse-even-better-errors "^2.3.1" + + "@npmcli/promise-spawn@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@npmcli/promise-spawn/-/promise-spawn-3.0.0.tgz#53283b5f18f855c6925f23c24e67c911501ef573" + integrity sha512-s9SgS+p3a9Eohe68cSI3fi+hpcZUmXq5P7w0kMlAsWVtR7XbK3ptkZqKT2cK1zLDObJ3sR+8P59sJE0w/KTL1g== + dependencies: + infer-owner "^1.0.4" + + "@npmcli/run-script@^4.1.0", "@npmcli/run-script@^4.1.3", "@npmcli/run-script@^4.1.7": + version "4.2.1" + resolved "https://registry.yarnpkg.com/@npmcli/run-script/-/run-script-4.2.1.tgz#c07c5c71bc1c70a5f2a06b0d4da976641609b946" + integrity sha512-7dqywvVudPSrRCW5nTHpHgeWnbBtz8cFkOuKrecm6ih+oO9ciydhWt6OF7HlqupRRmB8Q/gECVdB9LMfToJbRg== + dependencies: + "@npmcli/node-gyp" "^2.0.0" + "@npmcli/promise-spawn" "^3.0.0" + node-gyp "^9.0.0" + read-package-json-fast "^2.0.3" + which "^2.0.2" + + "@nrwl/cli@15.6.3": + version "15.6.3" + resolved "https://registry.yarnpkg.com/@nrwl/cli/-/cli-15.6.3.tgz#999531d6efb30afc39373bdcbd7e78254a3a3fd3" + integrity sha512-K4E0spofThZXMnhA6R8hkUTdfqmwSnUE2+DlD5Y3jqsvKTAgwF5U41IFkEouFZCf+dWjy0RA20bWoX48EVFtmQ== + dependencies: + nx "15.6.3" + + "@nrwl/devkit@>=15.4.2 < 16": + version "15.6.3" + resolved "https://registry.yarnpkg.com/@nrwl/devkit/-/devkit-15.6.3.tgz#e4e96c53ba3304786a49034286c8511534b2b194" + integrity sha512-/JDvdzNxUM+C1PCZPCrvmFx+OfywqZdOq1GS9QR8C0VctTLG4D/SGSFD88O1SAdcbH/f1mMiBGfEYZYd23fghQ== + dependencies: + "@phenomnomnominal/tsquery" "4.1.1" + ejs "^3.1.7" + ignore "^5.0.4" + semver "7.3.4" + tslib "^2.3.0" + + "@nrwl/tao@15.6.3": + version "15.6.3" + resolved "https://registry.yarnpkg.com/@nrwl/tao/-/tao-15.6.3.tgz#b24e11345375dea96bc386c60b9b1102a7584932" + integrity sha512-bDZbPIbU5Mf2BvX0q8GjPxrm1WkYyfW+gp7mLuuJth2sEpZiCr47mSwuGko/y4CKXvIX46VQcAS0pKQMKugXsg== + dependencies: + nx "15.6.3" + + "@nuxt/kit@^3.1.1": + version "3.1.2" + resolved "https://registry.yarnpkg.com/@nuxt/kit/-/kit-3.1.2.tgz#bf5f932b8a82f40bcfec4c1037021f0a75df4582" + integrity sha512-m8/AF8hBJiG7aTx2CpiDGeLYYz30fUoPbJ9XiSmHqRIXv1goAFWHSkzWfRNEsoAAbMHf76oB917wVUQ3VSSQHg== + dependencies: + "@nuxt/schema" "3.1.2" + c12 "^1.1.0" + consola "^2.15.3" + defu "^6.1.2" + globby "^13.1.3" + hash-sum "^2.0.0" + ignore "^5.2.4" + jiti "^1.16.2" + knitwork "^1.0.0" + lodash.template "^4.5.0" + mlly "^1.1.0" + pathe "^1.1.0" + pkg-types "^1.0.1" + scule "^1.0.0" + semver "^7.3.8" + unctx "^2.1.1" + unimport "^2.1.0" + untyped "^1.2.2" + + "@nuxt/schema@3.1.2": + version "3.1.2" + resolved "https://registry.yarnpkg.com/@nuxt/schema/-/schema-3.1.2.tgz#a916ecfa96c04553403f7da8d1e7058f65cb3ad1" + integrity sha512-wru9LhRXTa6WQlx7c0oYrtvJY7TiVlkBKXY5Rsmfo0StJuWohgZiReu9fu6z6GU4MzZlX25TVjwvq9Q7bNVbSQ== + dependencies: + c12 "^1.1.0" + create-require "^1.1.1" + defu "^6.1.2" + hookable "^5.4.2" + jiti "^1.16.2" + pathe "^1.1.0" + pkg-types "^1.0.1" + postcss-import-resolver "^2.0.0" + scule "^1.0.0" + std-env "^3.3.2" + ufo "^1.0.1" + unimport "^2.1.0" + untyped "^1.2.2" + + "@octokit/auth-token@^3.0.0": + version "3.0.3" + resolved "https://registry.yarnpkg.com/@octokit/auth-token/-/auth-token-3.0.3.tgz#ce7e48a3166731f26068d7a7a7996b5da58cbe0c" + integrity sha512-/aFM2M4HVDBT/jjDBa84sJniv1t9Gm/rLkalaz9htOm+L+8JMj1k9w0CkUdcxNyNxZPlTxKPVko+m1VlM58ZVA== + dependencies: + "@octokit/types" "^9.0.0" + + "@octokit/core@^4.1.0": + version "4.2.0" + resolved "https://registry.yarnpkg.com/@octokit/core/-/core-4.2.0.tgz#8c253ba9605aca605bc46187c34fcccae6a96648" + integrity sha512-AgvDRUg3COpR82P7PBdGZF/NNqGmtMq2NiPqeSsDIeCfYFOZ9gddqWNQHnFdEUf+YwOj4aZYmJnlPp7OXmDIDg== + dependencies: + "@octokit/auth-token" "^3.0.0" + "@octokit/graphql" "^5.0.0" + "@octokit/request" "^6.0.0" + "@octokit/request-error" "^3.0.0" + "@octokit/types" "^9.0.0" + before-after-hook "^2.2.0" + universal-user-agent "^6.0.0" + + "@octokit/endpoint@^7.0.0": + version "7.0.5" + resolved "https://registry.yarnpkg.com/@octokit/endpoint/-/endpoint-7.0.5.tgz#2bb2a911c12c50f10014183f5d596ce30ac67dd1" + integrity sha512-LG4o4HMY1Xoaec87IqQ41TQ+glvIeTKqfjkCEmt5AIwDZJwQeVZFIEYXrYY6yLwK+pAScb9Gj4q+Nz2qSw1roA== + dependencies: + "@octokit/types" "^9.0.0" + is-plain-object "^5.0.0" + universal-user-agent "^6.0.0" + + "@octokit/graphql@^5.0.0": + version "5.0.5" + resolved "https://registry.yarnpkg.com/@octokit/graphql/-/graphql-5.0.5.tgz#a4cb3ea73f83b861893a6370ee82abb36e81afd2" + integrity sha512-Qwfvh3xdqKtIznjX9lz2D458r7dJPP8l6r4GQkIdWQouZwHQK0mVT88uwiU2bdTU2OtT1uOlKpRciUWldpG0yQ== + dependencies: + "@octokit/request" "^6.0.0" + "@octokit/types" "^9.0.0" + universal-user-agent "^6.0.0" + + "@octokit/openapi-types@^16.0.0": + version "16.0.0" + resolved "https://registry.yarnpkg.com/@octokit/openapi-types/-/openapi-types-16.0.0.tgz#d92838a6cd9fb4639ca875ddb3437f1045cc625e" + integrity sha512-JbFWOqTJVLHZSUUoF4FzAZKYtqdxWu9Z5m2QQnOyEa04fOFljvyh7D3GYKbfuaSWisqehImiVIMG4eyJeP5VEA== + + "@octokit/plugin-enterprise-rest@^6.0.1": + version "6.0.1" + resolved "https://registry.yarnpkg.com/@octokit/plugin-enterprise-rest/-/plugin-enterprise-rest-6.0.1.tgz#e07896739618dab8da7d4077c658003775f95437" + integrity sha512-93uGjlhUD+iNg1iWhUENAtJata6w5nE+V4urXOAlIXdco6xNZtUSfYY8dzp3Udy74aqO/B5UZL80x/YMa5PKRw== + + "@octokit/plugin-paginate-rest@^6.0.0": + version "6.0.0" + resolved "https://registry.yarnpkg.com/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-6.0.0.tgz#f34b5a7d9416019126042cd7d7b811e006c0d561" + integrity sha512-Sq5VU1PfT6/JyuXPyt04KZNVsFOSBaYOAq2QRZUwzVlI10KFvcbUo8lR258AAQL1Et60b0WuVik+zOWKLuDZxw== + dependencies: + "@octokit/types" "^9.0.0" + + "@octokit/plugin-request-log@^1.0.4": + version "1.0.4" + resolved "https://registry.yarnpkg.com/@octokit/plugin-request-log/-/plugin-request-log-1.0.4.tgz#5e50ed7083a613816b1e4a28aeec5fb7f1462e85" + integrity sha512-mLUsMkgP7K/cnFEw07kWqXGF5LKrOkD+lhCrKvPHXWDywAwuDUeDwWBpc69XK3pNX0uKiVt8g5z96PJ6z9xCFA== + + "@octokit/plugin-rest-endpoint-methods@^7.0.0": + version "7.0.1" + resolved "https://registry.yarnpkg.com/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-7.0.1.tgz#f7ebe18144fd89460f98f35a587b056646e84502" + integrity sha512-pnCaLwZBudK5xCdrR823xHGNgqOzRnJ/mpC/76YPpNP7DybdsJtP7mdOwh+wYZxK5jqeQuhu59ogMI4NRlBUvA== + dependencies: + "@octokit/types" "^9.0.0" + deprecation "^2.3.1" + + "@octokit/request-error@^3.0.0": + version "3.0.3" + resolved "https://registry.yarnpkg.com/@octokit/request-error/-/request-error-3.0.3.tgz#ef3dd08b8e964e53e55d471acfe00baa892b9c69" + integrity sha512-crqw3V5Iy2uOU5Np+8M/YexTlT8zxCfI+qu+LxUB7SZpje4Qmx3mub5DfEKSO8Ylyk0aogi6TYdf6kxzh2BguQ== + dependencies: + "@octokit/types" "^9.0.0" + deprecation "^2.0.0" + once "^1.4.0" + + "@octokit/request@^6.0.0": + version "6.2.3" + resolved "https://registry.yarnpkg.com/@octokit/request/-/request-6.2.3.tgz#76d5d6d44da5c8d406620a4c285d280ae310bdb4" + integrity sha512-TNAodj5yNzrrZ/VxP+H5HiYaZep0H3GU0O7PaF+fhDrt8FPrnkei9Aal/txsN/1P7V3CPiThG0tIvpPDYUsyAA== + dependencies: + "@octokit/endpoint" "^7.0.0" + "@octokit/request-error" "^3.0.0" + "@octokit/types" "^9.0.0" + is-plain-object "^5.0.0" + node-fetch "^2.6.7" + universal-user-agent "^6.0.0" + + "@octokit/rest@^19.0.3": + version "19.0.7" + resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-19.0.7.tgz#d2e21b4995ab96ae5bfae50b4969da7e04e0bb70" + integrity sha512-HRtSfjrWmWVNp2uAkEpQnuGMJsu/+dBr47dRc5QVgsCbnIc1+GFEaoKBWkYG+zjrsHpSqcAElMio+n10c0b5JA== + dependencies: + "@octokit/core" "^4.1.0" + "@octokit/plugin-paginate-rest" "^6.0.0" + "@octokit/plugin-request-log" "^1.0.4" + "@octokit/plugin-rest-endpoint-methods" "^7.0.0" + + "@octokit/types@^9.0.0": + version "9.0.0" + resolved "https://registry.yarnpkg.com/@octokit/types/-/types-9.0.0.tgz#6050db04ddf4188ec92d60e4da1a2ce0633ff635" + integrity sha512-LUewfj94xCMH2rbD5YJ+6AQ4AVjFYTgpp6rboWM5T7N3IsIF65SBEOVcYMGAEzO/kKNiNaW4LoWtoThOhH06gw== + dependencies: + "@octokit/openapi-types" "^16.0.0" + + "@osmonauts/ast@^0.76.2": + version "0.76.2" + resolved "https://registry.yarnpkg.com/@osmonauts/ast/-/ast-0.76.2.tgz#904968e1c47647f32d556396493b0129075897b9" + integrity sha512-tsbb9ydihCN8gAwhJyMkBeieqmodCcWTiDqmwW/QVVS4TiNiQmdArBh//L8G8z+8ORx72WcymbPYOD3c8gD/Tg== + dependencies: + "@babel/parser" "^7.19.3" + "@babel/runtime" "^7.19.0" + "@babel/types" "7.19.3" + "@osmonauts/proto-parser" "^0.38.0" + "@osmonauts/types" "^0.30.0" + "@osmonauts/utils" "^0.10.0" + case "1.6.3" + dotty "0.1.2" + + "@osmonauts/lcd@^0.8.0": + version "0.8.0" + resolved "https://registry.yarnpkg.com/@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.38.0": + version "0.38.0" + resolved "https://registry.yarnpkg.com/@osmonauts/proto-parser/-/proto-parser-0.38.0.tgz#bc6ccd69b089188c9bffb00e63336d7c6df3a8f4" + integrity sha512-iISvFjboaHdttKHwn9kQA2rwT41LnhQEcObojT+9mHZ9+OyisP7GPcAkQ8gcSnPtQ9o/ul65kbleuO0SDyuO2Q== + dependencies: + "@babel/runtime" "^7.19.0" + "@osmonauts/types" "^0.30.0" + "@pyramation/protobufjs" "6.11.5" + dotty "0.1.2" + glob "8.0.3" + minimatch "5.1.0" + mkdirp "1.0.4" + + "@osmonauts/telescope@^0.88.2": + version "0.88.2" + resolved "https://registry.yarnpkg.com/@osmonauts/telescope/-/telescope-0.88.2.tgz#f4df43386f5bbd328e1537fa255f17a98a5e7ee5" + integrity sha512-9SBldjUWDwtrGgTzSIA8VM/TySTIt8Jc5VR5LEv9yfwKcbYOj57QOVccq5oty19djZPn7g+m76RpBedHxSFazQ== + 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.21.1" + "@osmonauts/ast" "^0.76.2" + "@osmonauts/proto-parser" "^0.38.0" + "@osmonauts/types" "^0.30.0" + "@osmonauts/utils" "^0.10.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.30.0": + version "0.30.0" + resolved "https://registry.yarnpkg.com/@osmonauts/types/-/types-0.30.0.tgz#c1dcc0d3e285bfe853fe17a51f60720ea547a153" + integrity sha512-j/kE+yb8RHG/yiCza+Ssv92F9jLjU52FpPZ9FqJEVr+l7A49He2GQ64B3lScyc6dz6hV4J88m+X0ixvge8VJqQ== + dependencies: + "@babel/runtime" "^7.19.0" + "@osmonauts/utils" "^0.10.0" + case "1.6.3" + + "@osmonauts/utils@^0.10.0": + version "0.10.0" + resolved "https://registry.yarnpkg.com/@osmonauts/utils/-/utils-0.10.0.tgz#ad7011327375bb1028daeca7ccab172bec084050" + integrity sha512-rPPTZ6CE6BCgac3yhXlJcP5315Ddf1pnVCmYxsZi1Y5Vcyzzd6u2bfjPzaa0JOKiDtKwEGXXlVLAT29OM4DMhg== + dependencies: + "@babel/runtime" "^7.19.0" + + "@parcel/watcher@2.0.4": + version "2.0.4" + resolved "https://registry.yarnpkg.com/@parcel/watcher/-/watcher-2.0.4.tgz#f300fef4cc38008ff4b8c29d92588eced3ce014b" + integrity sha512-cTDi+FUDBIUOBKEtj+nhiJ71AZVlkAsQFuGQTun5tV9mwQBQgZvhCzG+URPQc8myeN32yRVZEfVAPCs1RW+Jvg== + dependencies: + node-addon-api "^3.2.1" + node-gyp-build "^4.3.0" + + "@phenomnomnominal/tsquery@4.1.1": + version "4.1.1" + resolved "https://registry.yarnpkg.com/@phenomnomnominal/tsquery/-/tsquery-4.1.1.tgz#42971b83590e9d853d024ddb04a18085a36518df" + integrity sha512-jjMmK1tnZbm1Jq5a7fBliM4gQwjxMU7TFoRNwIyzwlO+eHPRCFv/Nv+H/Gi1jc3WR7QURG8D5d0Tn12YGrUqBQ== + dependencies: + esquery "^1.0.1" + + "@ping-pub/chain-registry-client@^0.0.25": + version "0.0.25" + resolved "https://registry.yarnpkg.com/@ping-pub/chain-registry-client/-/chain-registry-client-0.0.25.tgz#fcb974bdc0ef40db26425d8bf5c382aafb884f44" + integrity sha512-33foemlTE5pDMhmRN2MhtIjW0/6f4x0kR5nNneocP1ycsTwv9RgEbsjq30TFmOTW8UC1AgoQupe+LKVYHYbyBA== + dependencies: + "@chain-registry/types" "^0.14.0" + cross-fetch "^3.1.5" + + "@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== + + "@protobufs/amino@^0.0.11": + version "0.0.11" + resolved "https://registry.yarnpkg.com/@protobufs/amino/-/amino-0.0.11.tgz#5eb6b8193da8ea818484818dff2800a981cb7a61" + integrity sha512-JRIkW6/YGIUfbdDuASt3wsuxzC0Xj3U2sV0Arqa9iNwCvv4HtOpbqdWVVVgvQBnR0/ZkwQeXnt+GH7yT/DvsYQ== + dependencies: + "@protobufs/google" "^0.0.10" + + "@protobufs/confio@^0.0.6": + version "0.0.6" + resolved "https://registry.yarnpkg.com/@protobufs/confio/-/confio-0.0.6.tgz#a6ddf44eca2cbe535384228312ae7ef5dff29644" + integrity sha512-abZ0ntTJBuB8q2aMBvOerAFk8CSzafB09YdttKFEqwxokZsLFZ3+o7YaH3RIk863oeM//8sonwTaxRV8r4rmSA== + + "@protobufs/cosmos@^0.1.0": + version "0.1.0" + resolved "https://registry.yarnpkg.com/@protobufs/cosmos/-/cosmos-0.1.0.tgz#492251de16be3e0a89820f48637cd3f42114f24c" + integrity sha512-L3NZ+z0kI6GMTiD2HASNe3WbopPhQlaQaKZNRue+8LiGEv/vbbxD1lox8cwOqes3AN5dHiT0i3+gvzIbKBb7gw== + dependencies: + "@protobufs/amino" "^0.0.11" + "@protobufs/cosmos_proto" "^0.0.10" + "@protobufs/gogoproto" "^0.0.10" + "@protobufs/google" "^0.0.10" + "@protobufs/tendermint" "^0.0.10" + + "@protobufs/cosmos_proto@^0.0.10": + version "0.0.10" + resolved "https://registry.yarnpkg.com/@protobufs/cosmos_proto/-/cosmos_proto-0.0.10.tgz#622726ee227f220f608df180f938e5d8ebb1534a" + integrity sha512-4nMopXxN23udy1HEe+vS49zD9dxrA7i0E3n15QUz1x0tbrowYLHzJKeyCUNlsh5PKpEIXGxHXpPZWXs7vVCwUw== + dependencies: + "@protobufs/google" "^0.0.10" + + "@protobufs/cosmwasm@^0.1.1": + version "0.1.1" + resolved "https://registry.yarnpkg.com/@protobufs/cosmwasm/-/cosmwasm-0.1.1.tgz#313466d02ae7c010f64e6dd6edc06cdc1e676084" + integrity sha512-7rRkQVo7zWjTX+WKdtgM72KEnioGumA7ivYG+3ZGs/uuf8rwN8PmdWFYhLbMkSbPbyJf1bFSyjpP/+kxpH71ew== + dependencies: + "@protobufs/cosmos" "^0.1.0" + "@protobufs/cosmos_proto" "^0.0.10" + "@protobufs/gogoproto" "^0.0.10" + "@protobufs/google" "^0.0.10" + + "@protobufs/gogoproto@^0.0.10": + version "0.0.10" + resolved "https://registry.yarnpkg.com/@protobufs/gogoproto/-/gogoproto-0.0.10.tgz#0181e17142c800b60c7ca5f92c76a614d86c5c54" + integrity sha512-u3eK1aSO3KOuX4RVFpqKPTaT/WLV50GFLuIC3slVGfD7Z1CfZ5ivHbFYUib96gihu1Mq2OZpNVj3dNws9YsVoQ== + dependencies: + "@protobufs/google" "^0.0.10" + + "@protobufs/google@^0.0.10": + version "0.0.10" + resolved "https://registry.yarnpkg.com/@protobufs/google/-/google-0.0.10.tgz#820f741b0c53f688550c74c7ddb25a5ee131a6bf" + integrity sha512-3yo+liabFM1519smwwfzh1C535CntXVsS7zT98xmo21tZUX7vxeFpQDMx38EzMGYSy/Reo8wEMWJUHqZzYsCUw== + + "@protobufs/ibc@^0.1.0": + version "0.1.0" + resolved "https://registry.yarnpkg.com/@protobufs/ibc/-/ibc-0.1.0.tgz#36aeadc9f09d185d683f66a650dad9dc40437875" + integrity sha512-GmGkX81yyd55Tm34SCOmcOiB0QRwFBHGmZpDRAsks33TBx4efAtT9rKAdtn/oPujx9sha1TqU2s3trnMPVvKyg== + dependencies: + "@protobufs/amino" "^0.0.11" + "@protobufs/confio" "^0.0.6" + "@protobufs/cosmos" "^0.1.0" + "@protobufs/gogoproto" "^0.0.10" + "@protobufs/google" "^0.0.10" + "@protobufs/tendermint" "^0.0.10" + + "@protobufs/tendermint@^0.0.10": + version "0.0.10" + resolved "https://registry.yarnpkg.com/@protobufs/tendermint/-/tendermint-0.0.10.tgz#816b27410afcecd8b6d403df149f3c2b9b80655e" + integrity sha512-hAAMLFhKdAovslKeWnLTp2gGn5bxSTDVcQLKs4C4cC91R/KfHOh+Klt4PqSGUv/APINAmREzsX2LDUbIQ2dCpg== + dependencies: + "@protobufs/gogoproto" "^0.0.10" + "@protobufs/google" "^0.0.10" + + "@pyramation/json-schema-ref-parser@9.0.6": + version "9.0.6" + resolved "https://registry.yarnpkg.com/@pyramation/json-schema-ref-parser/-/json-schema-ref-parser-9.0.6.tgz#556e416ce7dcc15a3c1afd04d6a059e03ed09aeb" + 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.yarnpkg.com/@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.5": + version "6.11.5" + resolved "https://registry.yarnpkg.com/@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" + + "@rollup/pluginutils@^4.2.0": + version "4.2.1" + resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-4.2.1.tgz#e6c6c3aba0744edce3fb2074922d3776c0af2a6d" + integrity sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ== + dependencies: + estree-walker "^2.0.1" + picomatch "^2.2.2" + + "@rollup/pluginutils@^5.0.2": + version "5.0.2" + resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-5.0.2.tgz#012b8f53c71e4f6f9cb317e311df1404f56e7a33" + integrity sha512-pTd9rIsP92h+B6wWwFbW8RkZv4hiR/xKsqre4SIuAOaOEQRxi0lqLke9k2/7WegC85GgUs9pjmOjCUi3In4vwA== + dependencies: + "@types/estree" "^1.0.0" + estree-walker "^2.0.2" + picomatch "^2.3.1" + + "@rushstack/eslint-patch@^1.1.4": + 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== + + "@sinclair/typebox@^0.24.1": + version "0.24.51" + resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.24.51.tgz#645f33fe4e02defe26f2f5c0410e1c094eac7f5f" + integrity sha512-1P1OROm/rdubP5aFDSZQILU0vrLCJ4fvHt6EoqHEM+2D/G5MK3bIaymUKLit8Js9gbns5UyJnkP/TZROLw4tUA== + + "@tootallnate/once@2": + version "2.0.0" + resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-2.0.0.tgz#f544a148d3ab35801c1f633a7441fd87c2e484bf" + integrity sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A== + + "@trysound/sax@0.2.0": + version "0.2.0" + resolved "https://registry.yarnpkg.com/@trysound/sax/-/sax-0.2.0.tgz#cccaab758af56761eb7bf37af6f03f326dd798ad" + integrity sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA== + + "@types/debug@^4.1.7": + version "4.1.7" + resolved "https://registry.yarnpkg.com/@types/debug/-/debug-4.1.7.tgz#7cc0ea761509124709b8b2d1090d8f6c17aadb82" + integrity sha512-9AonUzyTjXXhEOa0DnqpzZi6VHlqKMswga9EXjpXnnqxwLtdvPPtlO8evrI5D9S6asFRCQ6v+wpiUKbw+vKqyg== + dependencies: + "@types/ms" "*" + + "@types/estree@^1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.0.tgz#5fb2e536c1ae9bf35366eed879e827fa59ca41c2" + integrity sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ== + + "@types/glob@^7.1.3": + version "7.2.0" + resolved "https://registry.yarnpkg.com/@types/glob/-/glob-7.2.0.tgz#bc1b5bf3aa92f25bd5dd39f35c57361bdce5b2eb" + integrity sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA== + dependencies: + "@types/minimatch" "*" + "@types/node" "*" + + "@types/graceful-fs@^4.1.3": + version "4.1.6" + resolved "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.6.tgz#e14b2576a1c25026b7f02ede1de3b84c3a1efeae" + integrity sha512-Sig0SNORX9fdW+bQuTEovKj3uHcUL6LQKbCrrqb1X7J6/ReAbhCXRAhc+SMejhLELFj2QcyuxmUooZ4bt5ReSw== + dependencies: + "@types/node" "*" + + "@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0": + version "2.0.4" + resolved "https://registry.yarnpkg.com/@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" + resolved "https://registry.yarnpkg.com/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.0.tgz#c14c24f18ea8190c118ee7562b7ff99a36552686" + integrity sha512-plGgXAPfVKFoYfa9NpYDAkseG+g6Jr294RqeqcqDixSbU34MZVJRi/P+7Y8GDpzkEwLaGZZOpKIEmeVZNtKsrg== + dependencies: + "@types/istanbul-lib-coverage" "*" + + "@types/istanbul-reports@^3.0.0": + version "3.0.1" + resolved "https://registry.yarnpkg.com/@types/istanbul-reports/-/istanbul-reports-3.0.1.tgz#9153fe98bba2bd565a63add9436d6f0d7f8468ff" + integrity sha512-c3mAZEuK0lvBp8tmuL74XRKn1+y2dcwOUpH7x4WrF6gk1GIgiluDRgMYQtw2OFcBvAJWlt6ASU3tSqxp0Uu0Aw== + dependencies: + "@types/istanbul-lib-report" "*" + + "@types/json-schema@^7.0.11", "@types/json-schema@^7.0.9": + version "7.0.11" + resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.11.tgz#d421b6c527a3037f7c84433fd2c4229e016863d3" + integrity sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ== + + "@types/lodash@^4.14.182": + version "4.14.191" + resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.191.tgz#09511e7f7cba275acd8b419ddac8da9a6a79e2fa" + integrity sha512-BdZ5BCCvho3EIXw6wUCXHe7rS53AIDPLE+JzwgT+OsJk53oBfbSmZZ7CX4VaRoN78N+TJpFi9QPlfIVNmJYWxQ== + + "@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/marked@^4.0.8": + version "4.0.8" + resolved "https://registry.yarnpkg.com/@types/marked/-/marked-4.0.8.tgz#b316887ab3499d0a8f4c70b7bd8508f92d477955" + integrity sha512-HVNzMT5QlWCOdeuBsgXP8EZzKUf0+AXzN+sLmjvaB3ZlLqO+e4u0uXrdw9ub69wBKFs+c6/pA4r9sy6cCDvImw== + + "@types/minimatch@*": + version "5.1.2" + resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-5.1.2.tgz#07508b45797cb81ec3f273011b054cd0755eddca" + integrity sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA== + + "@types/minimatch@^3.0.3": + version "3.0.5" + resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.5.tgz#1001cc5e6a3704b83c236027e77f2f58ea010f40" + integrity sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ== + + "@types/minimist@^1.2.0": + version "1.2.2" + resolved "https://registry.yarnpkg.com/@types/minimist/-/minimist-1.2.2.tgz#ee771e2ba4b3dc5b372935d549fd9617bf345b8c" + integrity sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ== + + "@types/ms@*": + version "0.7.31" + resolved "https://registry.yarnpkg.com/@types/ms/-/ms-0.7.31.tgz#31b7ca6407128a3d2bbc27fe2d21b345397f6197" + integrity sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA== + + "@types/node@*": + version "18.14.2" + resolved "https://registry.yarnpkg.com/@types/node/-/node-18.14.2.tgz#c076ed1d7b6095078ad3cf21dfeea951842778b1" + integrity sha512-1uEQxww3DaghA0RxqHx0O0ppVlo43pJhepY51OxuQIKHpjbnYLA7vcdwioNPzIqmC2u3I/dmylcqjlh0e7AyUA== + + "@types/node@>=13.7.0": + version "18.13.0" + resolved "https://registry.yarnpkg.com/@types/node/-/node-18.13.0.tgz#0400d1e6ce87e9d3032c19eb6c58205b0d3f7850" + integrity sha512-gC3TazRzGoOnoKAhUx+Q0t8S9Tzs74z7m0ipwGpSqQrleP14hKxP4/JUeEQcD3W1/aIpnWl8pHowI7WokuZpXg== + + "@types/node@^18.11.12": + version "18.11.19" + resolved "https://registry.yarnpkg.com/@types/node/-/node-18.11.19.tgz#35e26df9ec441ab99d73e99e9aca82935eea216d" + integrity sha512-YUgMWAQBWLObABqrvx8qKO1enAvBUdjZOAWQ5grBAkp5LQv45jBvYKZ3oFS9iKRCQyFjqw6iuEa1vmFqtxYLZw== + + "@types/normalize-package-data@^2.4.0": + version "2.4.1" + resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz#d3357479a0fdfdd5907fe67e17e0a85c906e1301" + integrity sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw== + + "@types/numeral@^2.0.2": + version "2.0.2" + resolved "https://registry.yarnpkg.com/@types/numeral/-/numeral-2.0.2.tgz#8ea2c4f4e64c0cc948ad7da375f6f827778a7912" + integrity sha512-A8F30k2gYJ/6e07spSCPpkuZu79LCnkPTvqmIWQzNGcrzwFKpVOydG41lNt5wZXjSI149qjyzC2L1+F2PD/NUA== + + "@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/parse-package-name@0.1.0": + version "0.1.0" + resolved "https://registry.yarnpkg.com/@types/parse-package-name/-/parse-package-name-0.1.0.tgz#a4e54e3eef677d8b9d931b54b94ed77e8ae52a4f" + integrity sha512-+vF4M3Cd3Ec22Uwb+OKhDrSAcXQ5I6evRx+1letx4KzfzycU+AOEDHnCifus8In11i8iYNFXPfzg9HWTcC1h+Q== + + "@types/prettier@^2.6.1": + version "2.7.2" + resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.7.2.tgz#6c2324641cc4ba050a8c710b2b251b377581fbf0" + integrity sha512-KufADq8uQqo1pYKVIYzfKbJfBAc0sOeXqGbFaSpv8MRmC/zXgowNZmFcbngndGk922QDmOASEXUZCaY48gs4cg== + + "@types/semver@^7.3.12": + version "7.3.13" + resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.3.13.tgz#da4bfd73f49bd541d28920ab0e2bf0ee80f71c91" + integrity sha512-21cFJr9z3g5dW8B0CVI9g2O9beqaThGQ6ZFBqHfwhzLDKUxaqTIy3vnfah/UPkfOiF2pLq+tGz+W8RyCskuslw== + + "@types/web-bluetooth@^0.0.16": + version "0.0.16" + resolved "https://registry.yarnpkg.com/@types/web-bluetooth/-/web-bluetooth-0.0.16.tgz#1d12873a8e49567371f2a75fe3e7f7edca6662d8" + integrity sha512-oh8q2Zc32S6gd/j50GowEjKLoOVOwHP/bWVjKJInBwQqdOYMdPrf1oVlelTlyfFK3CKxL1uahMDAr+vy8T7yMQ== + + "@types/yargs-parser@*": + version "21.0.0" + resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-21.0.0.tgz#0c60e537fa790f5f9472ed2776c2b71ec117351b" + integrity sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA== + + "@types/yargs@^17.0.8": + version "17.0.22" + resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-17.0.22.tgz#7dd37697691b5f17d020f3c63e7a45971ff71e9a" + integrity sha512-pet5WJ9U8yPVRhkwuEIp5ktAeAqRZOq4UdAyWLWzxbtpyXnzbtLdKiXAjJzi/KLmPGS9wk86lUFWZFN6sISo4g== + dependencies: + "@types/yargs-parser" "*" + + "@typescript-eslint/eslint-plugin@^5.0.0": + version "5.50.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.50.0.tgz#fb48c31cadc853ffc1dc35373f56b5e2a8908fe9" + integrity sha512-vwksQWSFZiUhgq3Kv7o1Jcj0DUNylwnIlGvKvLLYsq8pAWha6/WCnXUeaSoNNha/K7QSf2+jvmkxggC1u3pIwQ== + dependencies: + "@typescript-eslint/scope-manager" "5.50.0" + "@typescript-eslint/type-utils" "5.50.0" + "@typescript-eslint/utils" "5.50.0" + debug "^4.3.4" + grapheme-splitter "^1.0.4" + ignore "^5.2.0" + natural-compare-lite "^1.4.0" + regexpp "^3.2.0" + semver "^7.3.7" + tsutils "^3.21.0" + + "@typescript-eslint/parser@^5.0.0": + version "5.50.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.50.0.tgz#a33f44b2cc83d1b7176ec854fbecd55605b0b032" + integrity sha512-KCcSyNaogUDftK2G9RXfQyOCt51uB5yqC6pkUYqhYh8Kgt+DwR5M0EwEAxGPy/+DH6hnmKeGsNhiZRQxjH71uQ== + dependencies: + "@typescript-eslint/scope-manager" "5.50.0" + "@typescript-eslint/types" "5.50.0" + "@typescript-eslint/typescript-estree" "5.50.0" + debug "^4.3.4" + + "@typescript-eslint/scope-manager@5.50.0": + version "5.50.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.50.0.tgz#90b8a3b337ad2c52bbfe4eac38f9164614e40584" + integrity sha512-rt03kaX+iZrhssaT974BCmoUikYtZI24Vp/kwTSy841XhiYShlqoshRFDvN1FKKvU2S3gK+kcBW1EA7kNUrogg== + dependencies: + "@typescript-eslint/types" "5.50.0" + "@typescript-eslint/visitor-keys" "5.50.0" + + "@typescript-eslint/type-utils@5.50.0": + version "5.50.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.50.0.tgz#509d5cc9728d520008f7157b116a42c5460e7341" + integrity sha512-dcnXfZ6OGrNCO7E5UY/i0ktHb7Yx1fV6fnQGGrlnfDhilcs6n19eIRcvLBqx6OQkrPaFlDPk3OJ0WlzQfrV0bQ== + dependencies: + "@typescript-eslint/typescript-estree" "5.50.0" + "@typescript-eslint/utils" "5.50.0" + debug "^4.3.4" + tsutils "^3.21.0" + + "@typescript-eslint/types@5.50.0": + version "5.50.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.50.0.tgz#c461d3671a6bec6c2f41f38ed60bd87aa8a30093" + integrity sha512-atruOuJpir4OtyNdKahiHZobPKFvZnBnfDiyEaBf6d9vy9visE7gDjlmhl+y29uxZ2ZDgvXijcungGFjGGex7w== + + "@typescript-eslint/typescript-estree@5.50.0": + version "5.50.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.50.0.tgz#0b9b82975bdfa40db9a81fdabc7f93396867ea97" + integrity sha512-Gq4zapso+OtIZlv8YNAStFtT6d05zyVCK7Fx3h5inlLBx2hWuc/0465C2mg/EQDDU2LKe52+/jN4f0g9bd+kow== + dependencies: + "@typescript-eslint/types" "5.50.0" + "@typescript-eslint/visitor-keys" "5.50.0" + debug "^4.3.4" + globby "^11.1.0" + is-glob "^4.0.3" + semver "^7.3.7" + tsutils "^3.21.0" + + "@typescript-eslint/utils@5.50.0": + version "5.50.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.50.0.tgz#807105f5ffb860644d30d201eefad7017b020816" + integrity sha512-v/AnUFImmh8G4PH0NDkf6wA8hujNNcrwtecqW4vtQ1UOSNBaZl49zP1SHoZ/06e+UiwzHpgb5zP5+hwlYYWYAw== + dependencies: + "@types/json-schema" "^7.0.9" + "@types/semver" "^7.3.12" + "@typescript-eslint/scope-manager" "5.50.0" + "@typescript-eslint/types" "5.50.0" + "@typescript-eslint/typescript-estree" "5.50.0" + eslint-scope "^5.1.1" + eslint-utils "^3.0.0" + semver "^7.3.7" + + "@typescript-eslint/visitor-keys@5.50.0": + version "5.50.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.50.0.tgz#b752ffc143841f3d7bc57d6dd01ac5c40f8c4903" + integrity sha512-cdMeD9HGu6EXIeGOh2yVW6oGf9wq8asBgZx7nsR/D36gTfQ0odE5kcRYe5M81vjEFAcPeugXrHg78Imu55F6gg== + dependencies: + "@typescript-eslint/types" "5.50.0" + eslint-visitor-keys "^3.3.0" + + "@ucast/core@^1.0.0", "@ucast/core@^1.4.1", "@ucast/core@^1.6.1": + version "1.10.1" + resolved "https://registry.yarnpkg.com/@ucast/core/-/core-1.10.1.tgz#03a77a7804bcb5002a5cad3681e86cd1897e2e1f" + integrity sha512-sXKbvQiagjFh2JCpaHUa64P4UdJbOxYeC5xiZFn8y6iYdb0WkismduE+RmiJrIjw/eLDYmIEXiQeIYYowmkcAw== + + "@ucast/js@^3.0.0": + version "3.0.2" + resolved "https://registry.yarnpkg.com/@ucast/js/-/js-3.0.2.tgz#862838ee68112c6c262d4f4693cc592ba83157e0" + integrity sha512-zxNkdIPVvqJjHI7D/iK8Aai1+59yqU+N7bpHFodVmiTN7ukeNiGGpNmmSjQgsUw7eNcEBnPrZHNzp5UBxwmaPw== + dependencies: + "@ucast/core" "^1.0.0" + + "@ucast/mongo2js@^1.3.0": + version "1.3.3" + resolved "https://registry.yarnpkg.com/@ucast/mongo2js/-/mongo2js-1.3.3.tgz#a683a59cea22887a72e4302f3826e41ccf51dbbe" + integrity sha512-sBPtMUYg+hRnYeVYKL+ATm8FaRPdlU9PijMhGYKgsPGjV9J4Ks41ytIjGayvKUnBOEhiCaKUUnY4qPeifdqATw== + dependencies: + "@ucast/core" "^1.6.1" + "@ucast/js" "^3.0.0" + "@ucast/mongo" "^2.4.0" + + "@ucast/mongo@^2.4.0": + version "2.4.2" + resolved "https://registry.yarnpkg.com/@ucast/mongo/-/mongo-2.4.2.tgz#a8a1c32e65ccab623be023e6cedb11d136d50f19" + integrity sha512-/zH1TdBJlYGKKD+Wh0oyD+aBvDSWrwHcD8b4tUL9UgHLhzHtkEnMVFuxbw3SRIRsAa01wmy06+LWt+WoZdj1Bw== + dependencies: + "@ucast/core" "^1.4.1" + + "@vitejs/plugin-vue-jsx@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@vitejs/plugin-vue-jsx/-/plugin-vue-jsx-3.0.0.tgz#42e89d6d9eb89604d109ff9a615d77c3c080dd25" + integrity sha512-vurkuzgac5SYuxd2HUZqAFAWGTF10diKBwJNbCvnWijNZfXd+7jMtqjPFbGt7idOJUn584fP1Ar9j/GN2jQ3Ew== + dependencies: + "@babel/core" "^7.20.5" + "@babel/plugin-transform-typescript" "^7.20.2" + "@vue/babel-plugin-jsx" "^1.1.1" + + "@vitejs/plugin-vue@^4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/@vitejs/plugin-vue/-/plugin-vue-4.0.0.tgz#93815beffd23db46288c787352a8ea31a0c03e5e" + integrity sha512-e0X4jErIxAB5oLtDqbHvHpJe/uWNkdpYV83AOG2xo2tEVSzCzewgJMtREZM30wXnM5ls90hxiOtAuVU6H5JgbA== + + "@volar/language-core@1.0.24": + version "1.0.24" + resolved "https://registry.yarnpkg.com/@volar/language-core/-/language-core-1.0.24.tgz#5d767571e77728464635e61af1debca944811fe0" + integrity sha512-vTN+alJiWwK0Pax6POqrmevbtFW2dXhjwWiW/MW4f48eDYPLdyURWcr8TixO7EN/nHsUBj2udT7igFKPtjyAKg== + dependencies: + "@volar/source-map" "1.0.24" + muggle-string "^0.1.0" + + "@volar/source-map@1.0.24": + version "1.0.24" + resolved "https://registry.yarnpkg.com/@volar/source-map/-/source-map-1.0.24.tgz#ad4c827fea5c26b4bf38a86d983e7deb65b1c61e" + integrity sha512-Qsv/tkplx18pgBr8lKAbM1vcDqgkGKQzbChg6NW+v0CZc3G7FLmK+WrqEPzKlN7Cwdc6XVL559Nod8WKAfKr4A== + dependencies: + muggle-string "^0.1.0" + + "@volar/typescript@1.0.24": + version "1.0.24" + resolved "https://registry.yarnpkg.com/@volar/typescript/-/typescript-1.0.24.tgz#f934eda9774b31abdff53efc56782cd2623723d5" + integrity sha512-f8hCSk+PfKR1/RQHxZ79V1NpDImHoivqoizK+mstphm25tn/YJ/JnKNjZHB+o21fuW0yKlI26NV3jkVb2Cc/7A== + dependencies: + "@volar/language-core" "1.0.24" + + "@volar/vue-language-core@1.0.24": + version "1.0.24" + resolved "https://registry.yarnpkg.com/@volar/vue-language-core/-/vue-language-core-1.0.24.tgz#81d180a8e09a53cb575e83acb79a31493891a1a4" + integrity sha512-2NTJzSgrwKu6uYwPqLiTMuAzi7fAY3yFy5PJ255bGJc82If0Xr+cW8pC80vpjG0D/aVLmlwAdO4+Ya2BI8GdDg== + dependencies: + "@volar/language-core" "1.0.24" + "@volar/source-map" "1.0.24" + "@vue/compiler-dom" "^3.2.45" + "@vue/compiler-sfc" "^3.2.45" + "@vue/reactivity" "^3.2.45" + "@vue/shared" "^3.2.45" + minimatch "^5.1.1" + vue-template-compiler "^2.7.14" + + "@volar/vue-typescript@1.0.24": + version "1.0.24" + resolved "https://registry.yarnpkg.com/@volar/vue-typescript/-/vue-typescript-1.0.24.tgz#bef9b2bfb1b108c0f6cb12ec6fbf449b43fc8257" + integrity sha512-9a25oHDvGaNC0okRS47uqJI6FxY4hUQZUsxeOUFHcqVxZEv8s17LPuP/pMMXyz7jPygrZubB/qXqHY5jEu/akA== + dependencies: + "@volar/typescript" "1.0.24" + "@volar/vue-language-core" "1.0.24" + + "@vue-macros/common@~0.13.8": + version "0.13.8" + resolved "https://registry.yarnpkg.com/@vue-macros/common/-/common-0.13.8.tgz#c36f12003fb35df4a0f936e09b08a10e004202ba" + integrity sha512-Fs8PNCR117MpR4MQYLupG6qary3n6ZKIkuuaJbmYJ+n3QUiO9LmBs1GgF9L+RQ+M4UDdfuk7LbvZwnWJ89MABA== + dependencies: + "@babel/types" "^7.20.7" + "@vue/compiler-sfc" "^3.2.45" + local-pkg "^0.4.2" + magic-string "^0.27.0" + + "@vue/babel-helper-vue-transform-on@^1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@vue/babel-helper-vue-transform-on/-/babel-helper-vue-transform-on-1.0.2.tgz#9b9c691cd06fc855221a2475c3cc831d774bc7dc" + integrity sha512-hz4R8tS5jMn8lDq6iD+yWL6XNB699pGIVLk7WSJnn1dbpjaazsjZQkieJoRX6gW5zpYSCFqQ7jUquPNY65tQYA== + + "@vue/babel-plugin-jsx@^1.1.1": + version "1.1.1" + resolved "https://registry.yarnpkg.com/@vue/babel-plugin-jsx/-/babel-plugin-jsx-1.1.1.tgz#0c5bac27880d23f89894cd036a37b55ef61ddfc1" + integrity sha512-j2uVfZjnB5+zkcbc/zsOc0fSNGCMMjaEXP52wdwdIfn0qjFfEYpYZBFKFg+HHnQeJCVrjOeO0YxgaL7DMrym9w== + dependencies: + "@babel/helper-module-imports" "^7.0.0" + "@babel/plugin-syntax-jsx" "^7.0.0" + "@babel/template" "^7.0.0" + "@babel/traverse" "^7.0.0" + "@babel/types" "^7.0.0" + "@vue/babel-helper-vue-transform-on" "^1.0.2" + camelcase "^6.0.0" + html-tags "^3.1.0" + svg-tags "^1.0.0" + + "@vue/compiler-core@3.2.47": + version "3.2.47" + resolved "https://registry.yarnpkg.com/@vue/compiler-core/-/compiler-core-3.2.47.tgz#3e07c684d74897ac9aa5922c520741f3029267f8" + integrity sha512-p4D7FDnQb7+YJmO2iPEv0SQNeNzcbHdGByJDsT4lynf63AFkOTFN07HsiRSvjGo0QrxR/o3d0hUyNCUnBU2Tig== + dependencies: + "@babel/parser" "^7.16.4" + "@vue/shared" "3.2.47" + estree-walker "^2.0.2" + source-map "^0.6.1" + + "@vue/compiler-dom@3.2.47", "@vue/compiler-dom@^3.2.45": + version "3.2.47" + resolved "https://registry.yarnpkg.com/@vue/compiler-dom/-/compiler-dom-3.2.47.tgz#a0b06caf7ef7056939e563dcaa9cbde30794f305" + integrity sha512-dBBnEHEPoftUiS03a4ggEig74J2YBZ2UIeyfpcRM2tavgMWo4bsEfgCGsu+uJIL/vax9S+JztH8NmQerUo7shQ== + dependencies: + "@vue/compiler-core" "3.2.47" + "@vue/shared" "3.2.47" + + "@vue/compiler-sfc@3.2.47", "@vue/compiler-sfc@^3.2.31", "@vue/compiler-sfc@^3.2.45": + version "3.2.47" + resolved "https://registry.yarnpkg.com/@vue/compiler-sfc/-/compiler-sfc-3.2.47.tgz#1bdc36f6cdc1643f72e2c397eb1a398f5004ad3d" + integrity sha512-rog05W+2IFfxjMcFw10tM9+f7i/+FFpZJJ5XHX72NP9eC2uRD+42M3pYcQqDXVYoj74kHMSEdQ/WmCjt8JFksQ== + dependencies: + "@babel/parser" "^7.16.4" + "@vue/compiler-core" "3.2.47" + "@vue/compiler-dom" "3.2.47" + "@vue/compiler-ssr" "3.2.47" + "@vue/reactivity-transform" "3.2.47" + "@vue/shared" "3.2.47" + estree-walker "^2.0.2" + magic-string "^0.25.7" + postcss "^8.1.10" + source-map "^0.6.1" + + "@vue/compiler-ssr@3.2.47": + version "3.2.47" + resolved "https://registry.yarnpkg.com/@vue/compiler-ssr/-/compiler-ssr-3.2.47.tgz#35872c01a273aac4d6070ab9d8da918ab13057ee" + integrity sha512-wVXC+gszhulcMD8wpxMsqSOpvDZ6xKXSVWkf50Guf/S+28hTAXPDYRTbLQ3EDkOP5Xz/+SY37YiwDquKbJOgZw== + dependencies: + "@vue/compiler-dom" "3.2.47" + "@vue/shared" "3.2.47" + + "@vue/devtools-api@^6.2.1", "@vue/devtools-api@^6.4.5": + version "6.5.0" + resolved "https://registry.yarnpkg.com/@vue/devtools-api/-/devtools-api-6.5.0.tgz#98b99425edee70b4c992692628fa1ea2c1e57d07" + integrity sha512-o9KfBeaBmCKl10usN4crU53fYtC1r7jJwdGKjPT24t348rHxgfpZ0xL3Xm/gLUYnc0oTp8LAmrxOeLyu6tbk2Q== + + "@vue/eslint-config-prettier@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/@vue/eslint-config-prettier/-/eslint-config-prettier-7.0.0.tgz#44ab55ca22401102b57795c59428e9dade72be34" + integrity sha512-/CTc6ML3Wta1tCe1gUeO0EYnVXfo3nJXsIhZ8WJr3sov+cGASr6yuiibJTL6lmIBm7GobopToOuB3B6AWyV0Iw== + dependencies: + eslint-config-prettier "^8.3.0" + eslint-plugin-prettier "^4.0.0" + + "@vue/eslint-config-typescript@^11.0.0": + version "11.0.2" + resolved "https://registry.yarnpkg.com/@vue/eslint-config-typescript/-/eslint-config-typescript-11.0.2.tgz#03353f404d4472900794e653450bb6623de3c642" + integrity sha512-EiKud1NqlWmSapBFkeSrE994qpKx7/27uCGnhdqzllYDpQZroyX/O6bwjEpeuyKamvLbsGdO6PMR2faIf+zFnw== + dependencies: + "@typescript-eslint/eslint-plugin" "^5.0.0" + "@typescript-eslint/parser" "^5.0.0" + vue-eslint-parser "^9.0.0" + + "@vue/reactivity-transform@3.2.47": + version "3.2.47" + resolved "https://registry.yarnpkg.com/@vue/reactivity-transform/-/reactivity-transform-3.2.47.tgz#e45df4d06370f8abf29081a16afd25cffba6d84e" + integrity sha512-m8lGXw8rdnPVVIdIFhf0LeQ/ixyHkH5plYuS83yop5n7ggVJU+z5v0zecwEnX7fa7HNLBhh2qngJJkxpwEEmYA== + dependencies: + "@babel/parser" "^7.16.4" + "@vue/compiler-core" "3.2.47" + "@vue/shared" "3.2.47" + estree-walker "^2.0.2" + magic-string "^0.25.7" + + "@vue/reactivity@3.2.47", "@vue/reactivity@^3.2.45": + version "3.2.47" + resolved "https://registry.yarnpkg.com/@vue/reactivity/-/reactivity-3.2.47.tgz#1d6399074eadfc3ed35c727e2fd707d6881140b6" + integrity sha512-7khqQ/75oyyg+N/e+iwV6lpy1f5wq759NdlS1fpAhFXa8VeAIKGgk2E/C4VF59lx5b+Ezs5fpp/5WsRYXQiKxQ== + dependencies: + "@vue/shared" "3.2.47" + + "@vue/runtime-core@3.2.47": + version "3.2.47" + resolved "https://registry.yarnpkg.com/@vue/runtime-core/-/runtime-core-3.2.47.tgz#406ebade3d5551c00fc6409bbc1eeb10f32e121d" + integrity sha512-RZxbLQIRB/K0ev0K9FXhNbBzT32H9iRtYbaXb0ZIz2usLms/D55dJR2t6cIEUn6vyhS3ALNvNthI+Q95C+NOpA== + dependencies: + "@vue/reactivity" "3.2.47" + "@vue/shared" "3.2.47" + + "@vue/runtime-dom@3.2.47": + version "3.2.47" + resolved "https://registry.yarnpkg.com/@vue/runtime-dom/-/runtime-dom-3.2.47.tgz#93e760eeaeab84dedfb7c3eaf3ed58d776299382" + integrity sha512-ArXrFTjS6TsDei4qwNvgrdmHtD930KgSKGhS5M+j8QxXrDJYLqYw4RRcDy1bz1m1wMmb6j+zGLifdVHtkXA7gA== + dependencies: + "@vue/runtime-core" "3.2.47" + "@vue/shared" "3.2.47" + csstype "^2.6.8" + + "@vue/server-renderer@3.2.47": + version "3.2.47" + resolved "https://registry.yarnpkg.com/@vue/server-renderer/-/server-renderer-3.2.47.tgz#8aa1d1871fc4eb5a7851aa7f741f8f700e6de3c0" + integrity sha512-dN9gc1i8EvmP9RCzvneONXsKfBRgqFeFZLurmHOveL7oH6HiFXJw5OGu294n1nHc/HMgTy6LulU/tv5/A7f/LA== + dependencies: + "@vue/compiler-ssr" "3.2.47" + "@vue/shared" "3.2.47" + + "@vue/shared@3.2.47", "@vue/shared@^3.2.45": + version "3.2.47" + resolved "https://registry.yarnpkg.com/@vue/shared/-/shared-3.2.47.tgz#e597ef75086c6e896ff5478a6bfc0a7aa4bbd14c" + integrity sha512-BHGyyGN3Q97EZx0taMQ+OLNuZcW3d37ZEVmEAyeoA9ERdGvm9Irc/0Fua8SNyOtV1w6BS4q25wbMzJujO9HIfQ== + + "@vue/tsconfig@^0.1.3": + version "0.1.3" + resolved "https://registry.yarnpkg.com/@vue/tsconfig/-/tsconfig-0.1.3.tgz#4a61dbd29783d01ddab504276dcf0c2b6988654f" + integrity sha512-kQVsh8yyWPvHpb8gIc9l/HIDiiVUy1amynLNpCy8p+FoCiZXCo6fQos5/097MmnNZc9AtseDsCrfkhqCrJ8Olg== + + "@vuetify/loader-shared@^1.7.1": + version "1.7.1" + resolved "https://registry.yarnpkg.com/@vuetify/loader-shared/-/loader-shared-1.7.1.tgz#0f63a3d41b6df29a2db1ff438aa1819b237c37a3" + integrity sha512-kLUvuAed6RCvkeeTNJzuy14pqnkur8lTuner7v7pNE/kVhPR97TuyXwBSBMR1cJeiLiOfu6SF5XlCYbXByEx1g== + dependencies: + find-cache-dir "^3.3.2" + upath "^2.0.1" + + "@vueuse/core@^9.12.0": + version "9.12.0" + resolved "https://registry.yarnpkg.com/@vueuse/core/-/core-9.12.0.tgz#e5b20f901e081c7ae5fe0e5f3af217929034eefe" + integrity sha512-h/Di8Bvf6xRcvS/PvUVheiMYYz3U0tH3X25YxONSaAUBa841ayMwxkuzx/DGUMCW/wHWzD8tRy2zYmOC36r4sg== + dependencies: + "@types/web-bluetooth" "^0.0.16" + "@vueuse/metadata" "9.12.0" + "@vueuse/shared" "9.12.0" + vue-demi "*" + + "@vueuse/math@^9.12.0": + version "9.12.0" + resolved "https://registry.yarnpkg.com/@vueuse/math/-/math-9.12.0.tgz#d7233840a7f6a1cc50357df02224745d9976f4a7" + integrity sha512-i4N67Ib+FXh/cdwK1J7hijSy8QXBKGqy492SvVBd6UjPPeCSIkkd4veO2Lsj0gMeRfObFsVdY0+1jW+kTRcJMw== + dependencies: + "@vueuse/shared" "9.12.0" + vue-demi "*" + + "@vueuse/metadata@9.12.0": + version "9.12.0" + resolved "https://registry.yarnpkg.com/@vueuse/metadata/-/metadata-9.12.0.tgz#19a0fefcba6a66a2382af10a7a67ebad6eec1f27" + integrity sha512-9oJ9MM9lFLlmvxXUqsR1wLt1uF7EVbP5iYaHJYqk+G2PbMjY6EXvZeTjbdO89HgoF5cI6z49o2zT/jD9SVoNpQ== + + "@vueuse/shared@9.12.0": + version "9.12.0" + resolved "https://registry.yarnpkg.com/@vueuse/shared/-/shared-9.12.0.tgz#e6597da80084cba8fc3d6545f4c2fa9817b80428" + integrity sha512-TWuJLACQ0BVithVTRbex4Wf1a1VaRuSpVeyEd4vMUWl54PzlE0ciFUshKCXnlLuD0lxIaLK4Ypj3NXYzZh4+SQ== + dependencies: + vue-demi "*" + + "@yarnpkg/lockfile@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz#e77a97fbd345b76d83245edcd17d393b1b41fb31" + integrity sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ== + + "@yarnpkg/parsers@^3.0.0-rc.18": + version "3.0.0-rc.38" + resolved "https://registry.yarnpkg.com/@yarnpkg/parsers/-/parsers-3.0.0-rc.38.tgz#91b393554017016e12d2f4ea33f589dcfe7d5670" + integrity sha512-YqkUSOZSBjbhzvU/ZbK6yoE70L/KVXAQTyUMaKAFoHEpy7csAljivTBu0C3SZKbDxMRjFWAvnLS8US7W3hFLow== + dependencies: + js-yaml "^3.10.0" + tslib "^2.4.0" + + "@zkochan/js-yaml@0.0.6": + version "0.0.6" + resolved "https://registry.yarnpkg.com/@zkochan/js-yaml/-/js-yaml-0.0.6.tgz#975f0b306e705e28b8068a07737fa46d3fc04826" + integrity sha512-nzvgl3VfhcELQ8LyVrYOru+UtAy1nrygk2+AGbTm8a5YcO6o8lSjAT+pfg3vJWxIoZKOUhrK6UU7xW/+00kQrg== + dependencies: + argparse "^2.0.1" + + JSONStream@^1.0.4: + version "1.3.5" + resolved "https://registry.yarnpkg.com/JSONStream/-/JSONStream-1.3.5.tgz#3208c1f08d3a4d99261ab64f92302bc15e111ca0" + integrity sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ== + dependencies: + jsonparse "^1.2.0" + through ">=2.2.7 <3" + + abbrev@1, abbrev@^1.0.0: + version "1.1.1" + resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" + integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q== + + acorn-jsx@^5.2.0, 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@^7.1.1, acorn@^7.4.1: + 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, acorn@^8.8.1, acorn@^8.8.2: + version "8.8.2" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.2.tgz#1b2f25db02af965399b9776b0c2c391276d37c4a" + integrity sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw== + + add-stream@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/add-stream/-/add-stream-1.0.0.tgz#6a7990437ca736d5e1288db92bd3266d5f5cb2aa" + integrity sha512-qQLMr+8o0WC4FZGQTcJiKBVC59JylcPSrTtk6usvmIDFUOCKegapy1VHQwRbFMOFyb/inzUVqHs+eMYKDM1YeQ== + + agent-base@6, agent-base@^6.0.2: + version "6.0.2" + resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-6.0.2.tgz#49fff58577cfee3f37176feab4c22e00f86d7f77" + integrity sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ== + dependencies: + debug "4" + + agentkeepalive@^4.2.1: + version "4.2.1" + resolved "https://registry.yarnpkg.com/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.yarnpkg.com/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.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-colors@^4.1.1: + version "4.1.3" + resolved "https://registry.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/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.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.0.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" + + any-promise@^1.0.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/any-promise/-/any-promise-1.3.0.tgz#abc6afeedcea52e809cdc0376aed3ce39635d17f" + integrity sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A== + + anymatch@^3.0.3, anymatch@~3.1.2: + version "3.1.3" + resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.3.tgz#790c58b19ba1720a84205b57c618d5ad8524973e" + integrity sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw== + dependencies: + normalize-path "^3.0.0" + picomatch "^2.0.4" + + apexcharts@^3.37.1: + version "3.37.1" + resolved "https://registry.yarnpkg.com/apexcharts/-/apexcharts-3.37.1.tgz#50443d302fc7fc72aace9c6c4074baae017c6950" + integrity sha512-fmQ5Updeb/LASl+S1+mIxXUFxzY0Fa7gexfCs4o+OPP9f2NEBNjvybOtPrah44N4roK7U5o5Jis906QeEQu0cA== + dependencies: + svg.draggable.js "^2.2.2" + svg.easing.js "^2.0.0" + svg.filter.js "^2.0.2" + svg.pathmorphing.js "^0.1.3" + svg.resize.js "^1.4.3" + svg.select.js "^3.0.1" + + "aproba@^1.0.3 || ^2.0.0", aproba@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/aproba/-/aproba-2.0.0.tgz#52520b8ae5b569215b354efc0caa3fe1e45a8adc" + integrity sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ== + + are-we-there-yet@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz#679df222b278c64f2cdba1175cdc00b0d96164bd" + integrity sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg== + dependencies: + delegates "^1.0.0" + readable-stream "^3.6.0" + + argparse@^1.0.7: + version "1.0.10" + resolved "https://registry.yarnpkg.com/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.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38" + integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q== + + array-differ@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/array-differ/-/array-differ-3.0.0.tgz#3cbb3d0f316810eafcc47624734237d6aee4ae6b" + integrity sha512-THtfYS6KtME/yIAhKjZ2ul7XI96lQGHRputJQHO80LAWQnuGP4iCIN8vdMRboGbIEYBwU33q8Tch1os2+X0kMg== + + array-ify@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/array-ify/-/array-ify-1.0.0.tgz#9e528762b4a9066ad163a6962a364418e9626ece" + integrity sha512-c5AMf34bKdvPhQ7tBGhqkgKNUzMr4WUs+WDtC2ZUGOUncbxKMTvqxYctiseW3+L4bA8ec+GcZ6/A/FW4m8ukng== + + 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== + + arrify@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" + integrity sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA== + + arrify@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/arrify/-/arrify-2.0.1.tgz#c9655e9331e0abcd588d2a7cad7e9956f66701fa" + integrity sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug== + + asap@^2.0.0: + version "2.0.6" + resolved "https://registry.yarnpkg.com/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46" + integrity sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA== + + ast-stringify@0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/ast-stringify/-/ast-stringify-0.1.0.tgz#5c6439fbfb4513dcc26c7d34464ccd084ed91cb7" + integrity sha512-J1PgFYV3RG6r37+M6ySZJH406hR82okwGvFM9hLXpOvdx4WC4GEW8/qiw6pi1hKTrqcRvoHP8a7mp87egYr6iA== + dependencies: + "@babel/runtime" "^7.11.2" + + ast-walker-scope@^0.3.1: + version "0.3.1" + resolved "https://registry.yarnpkg.com/ast-walker-scope/-/ast-walker-scope-0.3.1.tgz#f137801cfaec341da64584efc6e2045c5324c01d" + integrity sha512-c+tWaEoA+b4yJp0NUI8/hYKUv1ELqpCMU/fogGazXxu7EXlry37q1wdfhaQqVmQn4l4agMeo4ek76LyKFIxkKA== + dependencies: + "@babel/parser" "^7.20.5" + "@babel/types" "^7.20.5" + + async@^3.2.3: + version "3.2.4" + resolved "https://registry.yarnpkg.com/async/-/async-3.2.4.tgz#2d22e00f8cddeb5fde5dd33522b56d1cf569a81c" + integrity sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ== + + 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== + + at-least-node@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/at-least-node/-/at-least-node-1.0.0.tgz#602cd4b46e844ad4effc92a8011a3c46e0238dc2" + integrity sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg== + + available-typed-arrays@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz#92f95616501069d07d10edb2fc37d3e1c65123b7" + integrity sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw== + + 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" + + 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@^1.0.0, axios@^1.3.2: + version "1.3.2" + resolved "https://registry.yarnpkg.com/axios/-/axios-1.3.2.tgz#7ac517f0fa3ec46e0e636223fd973713a09c72b3" + integrity sha512-1M3O703bYqYuPhbHeya5bnhpYVsDDRyQSabNja04mZtboLNSuZ4YrltestrLXfHgmzua4TpUqRiVKbiQuo2epw== + dependencies: + follow-redirects "^1.15.0" + form-data "^4.0.0" + proxy-from-env "^1.1.0" + + babel-plugin-istanbul@^6.1.1: + version "6.1.1" + resolved "https://registry.yarnpkg.com/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz#fa88ec59232fd9b4e36dbbc540a8ec9a9b47da73" + 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-polyfill-corejs2@^0.3.2, babel-plugin-polyfill-corejs2@^0.3.3: + version "0.3.3" + resolved "https://registry.yarnpkg.com/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.3" + semver "^6.1.1" + + babel-plugin-polyfill-corejs3@^0.5.3: + version "0.5.3" + resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.5.3.tgz#d7e09c9a899079d71a8b670c6181af56ec19c5c7" + 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.yarnpkg.com/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.yarnpkg.com/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.3" + + 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== + + 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.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/bech32/-/bech32-1.1.4.tgz#e38c9f37bf179b8eb16ae3a772b40c356d4832e9" + integrity sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ== + + before-after-hook@^2.2.0: + version "2.2.3" + resolved "https://registry.yarnpkg.com/before-after-hook/-/before-after-hook-2.2.3.tgz#c51e809c81a4e354084422b9b26bad88249c517c" + integrity sha512-NzUnlZexiaH/46WDhANlyR2bXRopNg4F/zuSA3OpZnllCUgRaOF2znDioDWrmbNVsuZk6l9pMquQB38cfBZwkQ== + + bin-links@^3.0.0: + version "3.0.3" + resolved "https://registry.yarnpkg.com/bin-links/-/bin-links-3.0.3.tgz#3842711ef3db2cd9f16a5f404a996a12db355a6e" + integrity sha512-zKdnMPWEdh4F5INR07/eBrodC7QrF5JKvqskjz/ZZRXg5YSAZIbn8zGhbhUrElzHBZ2fvEQdOU59RHcTG3GiwA== + dependencies: + cmd-shim "^5.0.0" + mkdirp-infer-owner "^2.0.0" + npm-normalize-package-bin "^2.0.0" + read-cmd-shim "^3.0.0" + rimraf "^3.0.0" + write-file-atomic "^4.0.0" + + binary-extensions@^2.0.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d" + integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA== + + bl@^4.0.3, bl@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/bl/-/bl-4.1.0.tgz#451535264182bec2fbbc83a62ab98cf11d9f7b3a" + integrity sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w== + dependencies: + buffer "^5.5.0" + inherits "^2.0.4" + readable-stream "^3.4.0" + + 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: + 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== + + boolbase@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e" + integrity sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww== + + 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" + + brace-expansion@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/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.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.0.0, browserslist@^4.16.6, browserslist@^4.21.3, browserslist@^4.21.4, browserslist@^4.21.5: + version "4.21.5" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.21.5.tgz#75c5dae60063ee641f977e00edd3cfb2fb7af6a7" + integrity sha512-tUkiguQGW7S3IhB7N+c2MV/HZPSCPAAiYBZXLsBhFB/PCy6ZKKsZrmBayHV9fdGV/ARIfJ14NkxKzRDjvp7L6w== + dependencies: + caniuse-lite "^1.0.30001449" + electron-to-chromium "^1.4.284" + node-releases "^2.0.8" + update-browserslist-db "^1.0.10" + + bser@2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/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.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" + integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== + + buffer@^5.5.0: + version "5.7.1" + resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.7.1.tgz#ba62e7c13133053582197160851a8f648e99eed0" + integrity sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ== + dependencies: + base64-js "^1.3.1" + ieee754 "^1.1.13" + + builtins@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/builtins/-/builtins-1.0.3.tgz#cb94faeb61c8696451db36534e1422f94f0aee88" + integrity sha512-uYBjakWipfaO/bXI7E8rq6kpwHRZK5cNYrUv2OzZSI/FvmdMyXJ2tG9dKcjEC5YHmHpUAwsargWIZNWdxb/bnQ== + + builtins@^5.0.0: + version "5.0.1" + resolved "https://registry.yarnpkg.com/builtins/-/builtins-5.0.1.tgz#87f6db9ab0458be728564fa81d876d8d74552fa9" + integrity sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ== + dependencies: + semver "^7.0.0" + + byte-size@^7.0.0: + version "7.0.1" + resolved "https://registry.yarnpkg.com/byte-size/-/byte-size-7.0.1.tgz#b1daf3386de7ab9d706b941a748dbfc71130dee3" + integrity sha512-crQdqyCwhokxwV1UyDzLZanhkugAgft7vt0qbbdt60C6Zf3CAiGmtUCylbtYwrU6loOUw3euGrNtW1J651ot1A== + + c12@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/c12/-/c12-1.1.0.tgz#2d73596c885f0b990dcd91244b15e3c0405ebbeb" + integrity sha512-9KRFWEng+TH8sGST4NNdiKzZGw1Z1CHnPGAmNqAyVP7suluROmBjD8hsiR34f94DdlrvtGvvmiGDsoFXlCBWIw== + dependencies: + defu "^6.1.1" + dotenv "^16.0.3" + giget "^1.0.0" + jiti "^1.16.0" + mlly "^1.0.0" + pathe "^1.0.0" + pkg-types "^1.0.1" + rc9 "^2.0.0" + + cacache@^16.0.0, cacache@^16.0.6, cacache@^16.1.0: + version "16.1.3" + resolved "https://registry.yarnpkg.com/cacache/-/cacache-16.1.3.tgz#a02b9f34ecfaf9a78c9f4bc16fceb94d5d67a38e" + integrity sha512-/+Emcj9DAXxX4cwlLmRI9c166RuL3w30zp4R7Joiv2cQTtTtA+jeuCAjH3ZlGnYS3tKENSrKhAzVVP9GVyzeYQ== + dependencies: + "@npmcli/fs" "^2.1.0" + "@npmcli/move-file" "^2.0.0" + chownr "^2.0.0" + fs-minipass "^2.1.0" + glob "^8.0.1" + infer-owner "^1.0.4" + lru-cache "^7.7.1" + minipass "^3.1.6" + minipass-collect "^1.0.2" + minipass-flush "^1.0.5" + minipass-pipeline "^1.2.4" + mkdirp "^1.0.4" + p-map "^4.0.0" + promise-inflight "^1.0.1" + rimraf "^3.0.2" + ssri "^9.0.0" + tar "^6.1.11" + unique-filename "^2.0.0" + + 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" + + call-me-maybe@^1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/call-me-maybe/-/call-me-maybe-1.0.2.tgz#03f964f19522ba643b1b0693acb9152fe2074baa" + integrity sha512-HpX65o1Hnr9HH25ojC1YGs7HCQLq0GCOibSaWER0eNpgJ/Z1MZv2mTc7+xh6WOPxbRVcmgbv4hGU+uSQ/2xFZQ== + + 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-keys@^6.2.2: + version "6.2.2" + resolved "https://registry.yarnpkg.com/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.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" + integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== + + camelcase@^6.0.0: + version "6.3.0" + resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a" + integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== + + caniuse-api@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/caniuse-api/-/caniuse-api-3.0.0.tgz#5e4d90e2274961d46291997df599e3ed008ee4c0" + integrity sha512-bsTwuIg/BZZK/vreVTYYbSWoe2F+71P7K5QGEX+pT250DZbfU1MQ5prOKpPR+LL6uWKK3KMwMCAS74QB3Um1uw== + dependencies: + browserslist "^4.0.0" + caniuse-lite "^1.0.0" + lodash.memoize "^4.1.2" + lodash.uniq "^4.5.0" + + caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001449: + version "1.0.30001450" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001450.tgz#022225b91200589196b814b51b1bbe45144cf74f" + integrity sha512-qMBmvmQmFXaSxexkjjfMvD5rnDL0+m+dUMZKoDYsGG8iZN29RuYh9eRoMvKsT6uMAWlyUUGDEQGJJYjzCIO9ew== + + case@1.6.3: + version "1.6.3" + resolved "https://registry.yarnpkg.com/case/-/case-1.6.3.tgz#0a4386e3e9825351ca2e6216c60467ff5f1ea1c9" + integrity sha512-mzDSXIPaFwVDvZAHqZ9VlbyF4yyXRuX6IvB06WvPYkqJVO24kX1PPhv9bfpKNFZyxYFmmgo03HUiD8iklmJYRQ== + + chalk@^1.0.0, chalk@^1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/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.1, chalk@^2.4.2: + version "2.4.2" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" + integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== + dependencies: + ansi-styles "^3.2.1" + escape-string-regexp "^1.0.5" + supports-color "^5.3.0" + + chalk@^4.0.0, chalk@^4.0.2, chalk@^4.1.0, chalk@^4.1.1: + 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" + + chardet@^0.4.0: + version "0.4.2" + resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.4.2.tgz#b5473b33dc97c424e5d98dc87d55d4d8a29c8bf2" + integrity sha512-j/Toj7f1z98Hh2cYo2BVr85EpIRWqUi7rtRSGxh/cqUjqrnJe9l9UE7IUGd2vQ2p+kSHLkSzObQPZPLUC6TQwg== + + chardet@^0.7.0: + version "0.7.0" + resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e" + integrity sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA== + + "chokidar@>=3.0.0 <4.0.0", 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" + + chownr@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/chownr/-/chownr-2.0.0.tgz#15bfbe53d2eab4cf70f18a8cd68ebe5b3cb1dece" + integrity sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ== + + ci-info@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46" + integrity sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ== + + ci-info@^3.2.0: + version "3.8.0" + resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.8.0.tgz#81408265a5380c929f0bc665d62256628ce9ef91" + integrity sha512-eXTggHWSooYhq49F2opQhuHWgzucfF2YgODK4e1566GQs5BIfP30B0oenwBJHfWxAs2fyPB1s7Mg949zLf61Yw== + + clean-stack@^2.0.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/clean-stack/-/clean-stack-2.2.0.tgz#ee8472dbb129e727b31e8a10a427dee9dfe4008b" + integrity sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A== + + cli-color@^2.0.2: + version "2.0.3" + resolved "https://registry.yarnpkg.com/cli-color/-/cli-color-2.0.3.tgz#73769ba969080629670f3f2ef69a4bf4e7cc1879" + 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@3.1.0, cli-cursor@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-3.1.0.tgz#264305a7ae490d1d03bf0c9ba7c925d1753af307" + integrity sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw== + dependencies: + restore-cursor "^3.1.0" + + cli-cursor@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-2.1.0.tgz#b35dac376479facc3e94747d41d0d0f5238ffcb5" + integrity sha512-8lgKz8LmCRYZZQDpRyT2m5rKJ08TnU4tR9FFFW2rxpxR1FzWi4PQ/NfyODchAatHaUgnSPVcx/R5w6NuTBzFiw== + dependencies: + restore-cursor "^2.0.0" + + cli-spinners@2.6.1: + version "2.6.1" + resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-2.6.1.tgz#adc954ebe281c37a6319bfa401e6dd2488ffb70d" + integrity sha512-x/5fWmGMnbKQAaNwN+UZlV79qBLM9JFnJuJ03gIi5whrob0xV0ofNVHy9DhwGdsMJQc2OKv0oGmLzvaqvAVv+g== + + cli-spinners@^2.5.0: + version "2.7.0" + resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-2.7.0.tgz#f815fd30b5f9eaac02db604c7a231ed7cb2f797a" + integrity sha512-qu3pN8Y3qHNgE2AFweciB1IfMnmZ/fsNTEE+NOFjmGB2F/7rLhnhzppvpCnN4FovtP26k8lHyy9ptEbNwWFLzw== + + cli-width@^2.0.0: + version "2.2.1" + resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.1.tgz#b0433d0b4e9c847ef18868a4ef16fd5fc8271c48" + integrity sha512-GRMWDxpOB6Dgk2E5Uo+3eEBvtOOlimMmpbFiKuLFnQzYDavtLFY3K5ona41jgN/WdRZtG7utuVSVTL4HbZHGkw== + + cli-width@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-3.0.0.tgz#a2f48437a2caa9a22436e794bf071ec9e61cedf6" + integrity sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw== + + cliui@^7.0.2: + version "7.0.4" + resolved "https://registry.yarnpkg.com/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" + + cliui@^8.0.1: + version "8.0.1" + resolved "https://registry.yarnpkg.com/cliui/-/cliui-8.0.1.tgz#0c04b075db02cbfe60dc8e6cf2f5486b1a3608aa" + integrity sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ== + dependencies: + string-width "^4.2.0" + strip-ansi "^6.0.1" + wrap-ansi "^7.0.0" + + clone-deep@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/clone-deep/-/clone-deep-4.0.1.tgz#c19fd9bdbbf85942b4fd979c84dcf7d5f07c2387" + integrity sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ== + 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.yarnpkg.com/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e" + integrity sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg== + + cmd-shim@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/cmd-shim/-/cmd-shim-5.0.0.tgz#8d0aaa1a6b0708630694c4dbde070ed94c707724" + integrity sha512-qkCtZ59BidfEwHltnJwkyVZn+XQojdAySM1D1gSeh11Z4pW1Kpolkyo53L5noc0nrxmIvyFwTmJRo4xs7FFLPw== + dependencies: + mkdirp-infer-owner "^2.0.0" + + 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: + version "1.1.4" + resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" + integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== + + color-support@^1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/color-support/-/color-support-1.1.3.tgz#93834379a1cc9a0c61f82f52f0d04322251bd5a2" + integrity sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg== + + colord@^2.9.1: + version "2.9.3" + resolved "https://registry.yarnpkg.com/colord/-/colord-2.9.3.tgz#4f8ce919de456f1d5c1c368c307fe20f3e59fb43" + integrity sha512-jeC1axXpnb0/2nn/Y1LPuLdgXBLH7aDcHu4KEKfqw3CUhX7ZpfBSlPKyqXE6btIgEzfWtrX3/tyBCaCvXvMkOw== + + colorette@^2.0.19: + version "2.0.19" + resolved "https://registry.yarnpkg.com/colorette/-/colorette-2.0.19.tgz#cdf044f47ad41a0f4b56b3a0d5b4e6e1a2d5a798" + integrity sha512-3tlv/dIP7FWvj3BsbHrGLJ6l/oKh1O3TcgBqMn+yyCagOxc23fyzDS6HypQbgxWbkpDnf52p1LuR4eWDQ/K9WQ== + + colors@^1.1.2: + version "1.4.0" + resolved "https://registry.yarnpkg.com/colors/-/colors-1.4.0.tgz#c50491479d4c1bdaed2c9ced32cf7c7dc2360f78" + integrity sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA== + + columnify@^1.6.0: + version "1.6.0" + resolved "https://registry.yarnpkg.com/columnify/-/columnify-1.6.0.tgz#6989531713c9008bb29735e61e37acf5bd553cf3" + integrity sha512-lomjuFZKfM6MSAnV9aCZC9sc0qGbmZdfygNv+nCpqVkSKdCxCklLtd16O0EILGkImHw9ZpHkAnHaB+8Zxq5W6Q== + dependencies: + strip-ansi "^6.0.1" + wcwidth "^1.0.0" + + 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" + + commander@^7.2.0: + version "7.2.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-7.2.0.tgz#a36cb57d0b501ce108e4d20559a150a391d97ab7" + integrity sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw== + + common-ancestor-path@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/common-ancestor-path/-/common-ancestor-path-1.0.1.tgz#4f7d2d1394d91b7abdf51871c62f71eadb0182a7" + integrity sha512-L3sHRo1pXXEqX8VU28kfgUY+YGsk09hPqZiZmLacNib6XNTCM8ubYeT7ryXQw8asB1sKgcU5lkB7ONug08aB8w== + + commondir@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/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.yarnpkg.com/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" + + 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== + + concat-stream@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/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.yarnpkg.com/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" + + consola@^2.15.3: + version "2.15.3" + resolved "https://registry.yarnpkg.com/consola/-/consola-2.15.3.tgz#2e11f98d6a4be71ff72e0bdf07bd23e12cb61550" + integrity sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw== + + console-control-strings@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" + integrity sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ== + + conventional-changelog-angular@^5.0.12: + version "5.0.13" + resolved "https://registry.yarnpkg.com/conventional-changelog-angular/-/conventional-changelog-angular-5.0.13.tgz#896885d63b914a70d4934b59d2fe7bde1832b28c" + integrity sha512-i/gipMxs7s8L/QeuavPF2hLnJgH6pEZAttySB6aiQLWcX3puWDL3ACVmvBhJGxnAy52Qc15ua26BufY6KpmrVA== + dependencies: + compare-func "^2.0.0" + q "^1.5.1" + + conventional-changelog-core@^4.2.4: + version "4.2.4" + resolved "https://registry.yarnpkg.com/conventional-changelog-core/-/conventional-changelog-core-4.2.4.tgz#e50d047e8ebacf63fac3dc67bf918177001e1e9f" + integrity sha512-gDVS+zVJHE2v4SLc6B0sLsPiloR0ygU7HaDW14aNJE1v4SlqJPILPl/aJC7YdtRE4CybBf8gDwObBvKha8Xlyg== + dependencies: + 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.yarnpkg.com/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-2.3.4.tgz#14a855abbffd59027fd602581f1f34d9862ea44c" + integrity sha512-GEKRWkrSAZeTq5+YjUZOYxdHq+ci4dNwHvpaBC3+ENalzFWuCWa9EZXSuZBpkr72sMdKB+1fyDV4takK1Lf58g== + + conventional-changelog-writer@^5.0.0: + version "5.0.1" + resolved "https://registry.yarnpkg.com/conventional-changelog-writer/-/conventional-changelog-writer-5.0.1.tgz#e0757072f045fe03d91da6343c843029e702f359" + integrity sha512-5WsuKUfxW7suLblAbFnxAcrvf6r+0b7GvNaWUwUIk0bXMnENP/PEieGKVUQrjPqwPT4o3EPAASBXiY6iHooLOQ== + dependencies: + 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.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/conventional-recommended-bump/-/conventional-recommended-bump-6.1.0.tgz#cfa623285d1de554012f2ffde70d9c8a22231f55" + integrity sha512-uiApbSiNGM/kkdL9GTOLAqC4hbptObFo4wW2QRyHsKciGAfQuLU1ShZ1BIVI/+K2BE/W1AWYQMCXAsv4dyKPaw== + dependencies: + concat-stream "^2.0.0" + conventional-changelog-preset-loader "^2.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.4.0, convert-source-map@^1.7.0: + version "1.9.0" + resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.9.0.tgz#7faae62353fb4213366d0ca98358d22e8368b05f" + integrity sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A== + + core-js-compat@^3.21.0, core-js-compat@^3.22.1, core-js-compat@^3.25.1: + version "3.29.0" + resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.29.0.tgz#1b8d9eb4191ab112022e7f6364b99b65ea52f528" + integrity sha512-ScMn3uZNAFhK2DGoEfErguoiAHhV2Ju+oJo/jK08p7B3f3UhocUrCCkTvnZaiS+edl5nlIoiBXKcwMc6elv4KQ== + dependencies: + browserslist "^4.21.5" + + core-util-is@~1.0.0: + version "1.0.3" + resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.3.tgz#a6042d3634c2b27e9328f837b965fac83808db85" + integrity sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ== + + cosmiconfig@^7.0.0: + version "7.1.0" + resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-7.1.0.tgz#1443b9afa596b670082ea46cbd8f6a62b84635f6" + integrity sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA== + 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.yarnpkg.com/cosmjs-types/-/cosmjs-types-0.5.2.tgz#2d42b354946f330dfb5c90a87fdc2a36f97b965d" + integrity sha512-zxCtIJj8v3Di7s39uN4LNcN3HIE1z0B9Z0SPE8ZNQR0oSzsuSe1ACgxoFkvhkS7WBasCAFcglS11G2hyfd5tPg== + dependencies: + long "^4.0.0" + protobufjs "~6.11.2" + + create-require@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/create-require/-/create-require-1.1.1.tgz#c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333" + integrity sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ== + + cross-fetch@^3.1.5: + version "3.1.5" + resolved "https://registry.yarnpkg.com/cross-fetch/-/cross-fetch-3.1.5.tgz#e1389f44d9e7ba767907f7af8454787952ab534f" + integrity sha512-lvb1SBsI0Z7GDwmuid+mU3kWVBwTVUbe7S0H52yaaAdQOXq2YktTCZdlAcNKFzE6QtRz0snpw9bNiPeOIkkQvw== + dependencies: + node-fetch "2.6.7" + + cross-spawn@^6.0.5: + version "6.0.5" + resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" + integrity sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ== + dependencies: + nice-try "^1.0.4" + path-key "^2.0.1" + semver "^5.5.0" + shebang-command "^1.2.0" + which "^1.2.9" + + cross-spawn@^7.0.2, cross-spawn@^7.0.3: + version "7.0.3" + resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" + integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== + dependencies: + path-key "^3.1.0" + shebang-command "^2.0.0" + which "^2.0.1" + + css-declaration-sorter@^6.3.1: + version "6.3.1" + resolved "https://registry.yarnpkg.com/css-declaration-sorter/-/css-declaration-sorter-6.3.1.tgz#be5e1d71b7a992433fb1c542c7a1b835e45682ec" + integrity sha512-fBffmak0bPAnyqc/HO8C3n2sHrp9wcqQz6ES9koRF2/mLOVAx9zIQ3Y7R29sYCteTPqMCwns4WYQoCX91Xl3+w== + + css-select@^4.1.3: + version "4.3.0" + resolved "https://registry.yarnpkg.com/css-select/-/css-select-4.3.0.tgz#db7129b2846662fd8628cfc496abb2b59e41529b" + integrity sha512-wPpOYtnsVontu2mODhA19JrqWxNsfdatRKd64kmpRbQgh1KtItko5sTnEpPdpSaJszTOhEMlF/RPz28qj4HqhQ== + dependencies: + boolbase "^1.0.0" + css-what "^6.0.1" + domhandler "^4.3.1" + domutils "^2.8.0" + nth-check "^2.0.1" + + css-tree@^1.1.2, css-tree@^1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/css-tree/-/css-tree-1.1.3.tgz#eb4870fb6fd7707327ec95c2ff2ab09b5e8db91d" + integrity sha512-tRpdppF7TRazZrjJ6v3stzv93qxRcSsFmW6cX0Zm2NVKpxE1WV1HblnghVv9TreireHkqI/VDEsfolRF1p6y7Q== + dependencies: + mdn-data "2.0.14" + source-map "^0.6.1" + + css-what@^6.0.1: + version "6.1.0" + resolved "https://registry.yarnpkg.com/css-what/-/css-what-6.1.0.tgz#fb5effcf76f1ddea2c81bdfaa4de44e79bac70f4" + integrity sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw== + + 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== + + cssnano-preset-default@^5.2.13: + version "5.2.13" + resolved "https://registry.yarnpkg.com/cssnano-preset-default/-/cssnano-preset-default-5.2.13.tgz#e7353b0c57975d1bdd97ac96e68e5c1b8c68e990" + integrity sha512-PX7sQ4Pb+UtOWuz8A1d+Rbi+WimBIxJTRyBdgGp1J75VU0r/HFQeLnMYgHiCAp6AR4rqrc7Y4R+1Rjk3KJz6DQ== + dependencies: + css-declaration-sorter "^6.3.1" + cssnano-utils "^3.1.0" + postcss-calc "^8.2.3" + postcss-colormin "^5.3.0" + postcss-convert-values "^5.1.3" + postcss-discard-comments "^5.1.2" + postcss-discard-duplicates "^5.1.0" + postcss-discard-empty "^5.1.1" + postcss-discard-overridden "^5.1.0" + postcss-merge-longhand "^5.1.7" + postcss-merge-rules "^5.1.3" + postcss-minify-font-values "^5.1.0" + postcss-minify-gradients "^5.1.1" + postcss-minify-params "^5.1.4" + postcss-minify-selectors "^5.2.1" + postcss-normalize-charset "^5.1.0" + postcss-normalize-display-values "^5.1.0" + postcss-normalize-positions "^5.1.1" + postcss-normalize-repeat-style "^5.1.1" + postcss-normalize-string "^5.1.0" + postcss-normalize-timing-functions "^5.1.0" + postcss-normalize-unicode "^5.1.1" + postcss-normalize-url "^5.1.0" + postcss-normalize-whitespace "^5.1.1" + postcss-ordered-values "^5.1.3" + postcss-reduce-initial "^5.1.1" + postcss-reduce-transforms "^5.1.0" + postcss-svgo "^5.1.0" + postcss-unique-selectors "^5.1.1" + + cssnano-utils@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/cssnano-utils/-/cssnano-utils-3.1.0.tgz#95684d08c91511edfc70d2636338ca37ef3a6861" + integrity sha512-JQNR19/YZhz4psLX/rQ9M83e3z2Wf/HdJbryzte4a3NSuafyp9w/I4U+hx5C2S9g41qlstH7DEWnZaaj83OuEA== + + cssnano@^5.1.14: + version "5.1.14" + resolved "https://registry.yarnpkg.com/cssnano/-/cssnano-5.1.14.tgz#07b0af6da73641276fe5a6d45757702ebae2eb05" + integrity sha512-Oou7ihiTocbKqi0J1bB+TRJIQX5RMR3JghA8hcWSw9mjBLQ5Y3RWqEDoYG3sRNlAbCIXpqMoZGbq5KDR3vdzgw== + dependencies: + cssnano-preset-default "^5.2.13" + lilconfig "^2.0.3" + yaml "^1.10.2" + + csso@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/csso/-/csso-4.2.0.tgz#ea3a561346e8dc9f546d6febedd50187cf389529" + integrity sha512-wvlcdIbf6pwKEk7vHj8/Bkc0B4ylXZruLvOgs9doS5eOsOpuodOV2zJChSpkp+pRpYQLQMeF04nr3Z68Sta9jA== + dependencies: + css-tree "^1.1.2" + + csstype@^2.6.8: + version "2.6.21" + resolved "https://registry.yarnpkg.com/csstype/-/csstype-2.6.21.tgz#2efb85b7cc55c80017c66a5ad7cbd931fda3a90e" + integrity sha512-Z1PhmomIfypOpoMjRQB70jfvy/wxT50qW08YXO5lMIJkrdq4yOTR+AW7FqutScmB9NkLwxo+jU+kZLbofZZq/w== + + d@1, d@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/d/-/d-1.0.1.tgz#8698095372d58dbee346ffd0c7093f99f8f9eb5a" + integrity sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA== + dependencies: + es5-ext "^0.10.50" + type "^1.0.1" + + dargs@7.0.0, dargs@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/dargs/-/dargs-7.0.0.tgz#04015c41de0bcb69ec84050f3d9be0caf8d6d5cc" + integrity sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg== + + dateformat@^3.0.0: + version "3.0.3" + resolved "https://registry.yarnpkg.com/dateformat/-/dateformat-3.0.3.tgz#a6e37499a4d9a9cf85ef5872044d62901c9889ae" + integrity sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q== + + dayjs@^1.11.7: + version "1.11.7" + resolved "https://registry.yarnpkg.com/dayjs/-/dayjs-1.11.7.tgz#4b296922642f70999544d1144a2c25730fce63e2" + integrity sha512-+Yw9U6YO5TQohxLcIkrXBeY73WP3ejHWVvx8XCk3gxvQDCTEmS48ZrSZCKciI7Bhl/uCMyxYtE9UqRILmFphkQ== + + de-indent@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/de-indent/-/de-indent-1.0.2.tgz#b2038e846dc33baa5796128d0804b455b8c1e21d" + integrity sha512-e/1zu3xH5MQryN2zdVaF0OrdNLUbvWxzMbi+iNA6Bky7l1RoP8a2fIbRocyHclXt/arDrrR6lL3TqFD9pMQTsg== + + 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.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" + integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== + dependencies: + ms "2.1.2" + + debuglog@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492" + integrity sha512-syBZ+rnAK3EgMsH2aYEOLUW7mZSY9Gb+0wUMCFsZvcmiz+HigA0LOcq/HoQqVuGG+EKykunc7QG2bzrponfaSw== + + decamelize-keys@^1.1.0: + version "1.1.1" + resolved "https://registry.yarnpkg.com/decamelize-keys/-/decamelize-keys-1.1.1.tgz#04a2d523b2f18d80d0158a43b895d56dff8d19d8" + integrity sha512-WiPxgEirIV0/eIOMcnFBA3/IJZAZqKnwAwWyvvdi4lsr1WCN22nhdf/3db3DoZcUjTV2SqfzIwNyp6y2xs3nmg== + dependencies: + decamelize "^1.1.0" + map-obj "^1.0.0" + + decamelize@^1.1.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" + integrity sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA== + + dedent@^0.7.0: + version "0.7.0" + resolved "https://registry.yarnpkg.com/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c" + integrity sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA== + + deep-equal@^2.1.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/deep-equal/-/deep-equal-2.2.0.tgz#5caeace9c781028b9ff459f33b779346637c43e6" + integrity sha512-RdpzE0Hv4lhowpIUKKMJfeH6C1pXdtT1/it80ubgWqwI3qpuxUBpC1S4hnHg+zjnuOoDkzUtUCEEkG+XG5l3Mw== + dependencies: + call-bind "^1.0.2" + es-get-iterator "^1.1.2" + get-intrinsic "^1.1.3" + is-arguments "^1.1.1" + is-array-buffer "^3.0.1" + is-date-object "^1.0.5" + is-regex "^1.1.4" + is-shared-array-buffer "^1.0.2" + isarray "^2.0.5" + object-is "^1.1.5" + object-keys "^1.1.1" + object.assign "^4.1.4" + regexp.prototype.flags "^1.4.3" + side-channel "^1.0.4" + which-boxed-primitive "^1.0.2" + which-collection "^1.0.1" + which-typed-array "^1.1.9" + + 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== + + defaults@^1.0.3: + version "1.0.4" + resolved "https://registry.yarnpkg.com/defaults/-/defaults-1.0.4.tgz#b0b02062c1e2aa62ff5d9528f0f98baa90978d7a" + integrity sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A== + dependencies: + clone "^1.0.2" + + define-lazy-prop@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz#3f7ae421129bcaaac9bc74905c98a0009ec9ee7f" + integrity sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og== + + define-properties@^1.1.3, define-properties@^1.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" + + defu@^6.1.1, defu@^6.1.2: + version "6.1.2" + resolved "https://registry.yarnpkg.com/defu/-/defu-6.1.2.tgz#1217cba167410a1765ba93893c6dbac9ed9d9e5c" + integrity sha512-+uO4+qr7msjNNWKYPHqN/3+Dx3NFkmIzayk2L1MyZQlvgZb/J1A0fo410dpKrN2SnqFjt8n4JL8fDJE0wIgjFQ== + + 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== + + delegates@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" + integrity sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ== + + depd@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/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.yarnpkg.com/deprecation/-/deprecation-2.3.1.tgz#6368cbdb40abf3373b525ac87e4a260c3a700919" + integrity sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ== + + destr@^1.2.2: + version "1.2.2" + resolved "https://registry.yarnpkg.com/destr/-/destr-1.2.2.tgz#7ba9befcafb645a50e76b260449c63927b51e22f" + integrity sha512-lrbCJwD9saUQrqUfXvl6qoM+QN3W7tLV5pAOs+OqOmopCCz/JkE05MHedJR1xfk4IAnZuJXPVuN5+7jNA2ZCiA== + + detect-indent@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/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.yarnpkg.com/detect-indent/-/detect-indent-6.1.0.tgz#592485ebbbf6b3b1ab2be175c8393d04ca0d57e6" + integrity sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA== + + dezalgo@^1.0.0: + version "1.0.4" + resolved "https://registry.yarnpkg.com/dezalgo/-/dezalgo-1.0.4.tgz#751235260469084c132157dfa857f386d4c33d81" + integrity sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig== + dependencies: + asap "^2.0.0" + wrappy "1" + + 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" + + 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" + + dom-serializer@^1.0.1: + version "1.4.1" + resolved "https://registry.yarnpkg.com/dom-serializer/-/dom-serializer-1.4.1.tgz#de5d41b1aea290215dc45a6dae8adcf1d32e2d30" + integrity sha512-VHwB3KfrcOOkelEG2ZOfxqLZdfkil8PtJi4P8N2MMXucZq2yLp75ClViUlOVwyoHEDjYU433Aq+5zWP61+RGag== + dependencies: + domelementtype "^2.0.1" + domhandler "^4.2.0" + entities "^2.0.0" + + domelementtype@^2.0.1, domelementtype@^2.2.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/domelementtype/-/domelementtype-2.3.0.tgz#5c45e8e869952626331d7aab326d01daf65d589d" + integrity sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw== + + domhandler@^4.2.0, domhandler@^4.3.1: + version "4.3.1" + resolved "https://registry.yarnpkg.com/domhandler/-/domhandler-4.3.1.tgz#8d792033416f59d68bc03a5aa7b018c1ca89279c" + integrity sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ== + dependencies: + domelementtype "^2.2.0" + + domutils@^2.8.0: + version "2.8.0" + resolved "https://registry.yarnpkg.com/domutils/-/domutils-2.8.0.tgz#4437def5db6e2d1f5d6ee859bd95ca7d02048135" + integrity sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A== + dependencies: + dom-serializer "^1.0.1" + domelementtype "^2.2.0" + domhandler "^4.2.0" + + dot-prop@^5.1.0: + version "5.3.0" + resolved "https://registry.yarnpkg.com/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.yarnpkg.com/dot-prop/-/dot-prop-6.0.1.tgz#fc26b3cf142b9e59b74dbd39ed66ce620c681083" + integrity sha512-tE7ztYzXHIeyvc7N+hR3oi7FIbf/NIjVP9hmAt3yMXzrQ072/fpjGLx2GxNxGxUl5V73MEqYzioOMoVhGMJ5cA== + dependencies: + is-obj "^2.0.0" + + dotenv@^16.0.3: + version "16.0.3" + resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.0.3.tgz#115aec42bac5053db3c456db30cc243a5a836a07" + integrity sha512-7GO6HghkA5fYG9TYnNxi14/7K9f5occMlp3zXAuSxn7CKCxt9xbNWG7yF8hTCSUchlfWSe3uLmlPfigevRItzQ== + + dotenv@~10.0.0: + version "10.0.0" + resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-10.0.0.tgz#3d4227b8fb95f81096cdd2b66653fb2c7085ba81" + integrity sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q== + + dotty@0.1.2: + version "0.1.2" + resolved "https://registry.yarnpkg.com/dotty/-/dotty-0.1.2.tgz#512d44cc4111a724931226259297f235e8484f6f" + integrity sha512-V0EWmKeH3DEhMwAZ+8ZB2Ao4OK6p++Z0hsDtZq3N0+0ZMVqkzrcEGROvOnZpLnvBg5PTNG23JEDLAm64gPaotQ== + + duplexer@^0.1.1: + version "0.1.2" + resolved "https://registry.yarnpkg.com/duplexer/-/duplexer-0.1.2.tgz#3abe43aef3835f8ae077d136ddce0f276b0400e6" + integrity sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg== + + ejs@^3.1.7: + version "3.1.8" + resolved "https://registry.yarnpkg.com/ejs/-/ejs-3.1.8.tgz#758d32910c78047585c7ef1f92f9ee041c1c190b" + integrity sha512-/sXZeMlhS0ArkfX2Aw780gJzXSMPnKjtspYZv+f3NiKLlubezAHDU5+9xz6gd3/NhG3txQCo6xlglmTS+oTGEQ== + dependencies: + jake "^10.8.5" + + electron-to-chromium@^1.4.284: + version "1.4.286" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.286.tgz#0e039de59135f44ab9a8ec9025e53a9135eba11f" + integrity sha512-Vp3CVhmYpgf4iXNKAucoQUDcCrBQX3XLBtwgFqP9BUXuucgvAV9zWp1kYU7LL9j4++s9O+12cb3wMtN4SJy6UQ== + + elliptic@^6.5.4: + version "6.5.4" + resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb" + integrity sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ== + 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@^8.0.0: + version "8.0.0" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" + integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== + + encoding@^0.1.13: + version "0.1.13" + resolved "https://registry.yarnpkg.com/encoding/-/encoding-0.1.13.tgz#56574afdd791f54a8e9b2785c0582a2d26210fa9" + integrity sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A== + dependencies: + iconv-lite "^0.6.2" + + end-of-stream@^1.4.1: + version "1.4.4" + resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0" + integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q== + dependencies: + once "^1.4.0" + + enhanced-resolve@^4.1.1: + version "4.5.0" + resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-4.5.0.tgz#2f3cfd84dbe3b487f18f2db2ef1e064a571ca5ec" + integrity sha512-Nv9m36S/vxpsI+Hc4/ZGRs0n9mXqSWGGq49zxb/cJfPAQMbUtttJAlNPS4AQzaBdw/pKskw5bMbekT/Y7W/Wlg== + dependencies: + graceful-fs "^4.1.2" + memory-fs "^0.5.0" + tapable "^1.0.0" + + enquirer@~2.3.6: + version "2.3.6" + resolved "https://registry.yarnpkg.com/enquirer/-/enquirer-2.3.6.tgz#2a7fe5dd634a1e4125a975ec994ff5456dc3734d" + integrity sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg== + dependencies: + ansi-colors "^4.1.1" + + entities@^2.0.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/entities/-/entities-2.2.0.tgz#098dc90ebb83d8dffa089d55256b351d34c4da55" + integrity sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A== + + env-paths@^2.2.0: + version "2.2.1" + resolved "https://registry.yarnpkg.com/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.yarnpkg.com/envinfo/-/envinfo-7.8.1.tgz#06377e3e5f4d379fea7ac592d5ad8927e0c4d475" + integrity sha512-/o+BXHmB7ocbHEAs6F2EnG0ogybVVUdkRunTT2glZU9XAaGmhqskrvKwqXuDfNjEO0LZKWdejEEpnq8aM0tOaw== + + err-code@^2.0.2: + version "2.0.3" + resolved "https://registry.yarnpkg.com/err-code/-/err-code-2.0.3.tgz#23c2f3b756ffdfc608d30e27c9a941024807e7f9" + integrity sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA== + + errno@^0.1.3: + version "0.1.8" + resolved "https://registry.yarnpkg.com/errno/-/errno-0.1.8.tgz#8bb3e9c7d463be4976ff888f76b4809ebc2e811f" + integrity sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A== + dependencies: + prr "~1.0.1" + + error-ex@^1.3.1: + version "1.3.2" + resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" + integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== + dependencies: + is-arrayish "^0.2.1" + + es-abstract@^1.19.0, es-abstract@^1.20.4: + version "1.21.1" + resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.21.1.tgz#e6105a099967c08377830a0c9cb589d570dd86c6" + integrity sha512-QudMsPOz86xYz/1dG1OuGBKOELjCh99IIWHLzy5znUB6j8xG2yMA7bfTV86VSqKF+Y/H08vQPR+9jyXpuC6hfg== + dependencies: + available-typed-arrays "^1.0.5" + call-bind "^1.0.2" + es-set-tostringtag "^2.0.1" + 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" + globalthis "^1.0.3" + gopd "^1.0.1" + has "^1.0.3" + has-property-descriptors "^1.0.0" + has-proto "^1.0.1" + has-symbols "^1.0.3" + internal-slot "^1.0.4" + is-array-buffer "^3.0.1" + is-callable "^1.2.7" + is-negative-zero "^2.0.2" + is-regex "^1.1.4" + is-shared-array-buffer "^1.0.2" + is-string "^1.0.7" + is-typed-array "^1.1.10" + 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.6" + string.prototype.trimstart "^1.0.6" + typed-array-length "^1.0.4" + unbox-primitive "^1.0.2" + which-typed-array "^1.1.9" + + es-get-iterator@^1.1.2: + version "1.1.3" + resolved "https://registry.yarnpkg.com/es-get-iterator/-/es-get-iterator-1.1.3.tgz#3ef87523c5d464d41084b2c3c9c214f1199763d6" + integrity sha512-sPZmqHBe6JIiTfN5q2pEi//TwxmAFHwj/XEuYjTuse78i8KxaqMTTzxPoFKuzRpDpTJ+0NAbpfenkmH2rePtuw== + dependencies: + call-bind "^1.0.2" + get-intrinsic "^1.1.3" + has-symbols "^1.0.3" + is-arguments "^1.1.1" + is-map "^2.0.2" + is-set "^2.0.2" + is-string "^1.0.7" + isarray "^2.0.5" + stop-iteration-iterator "^1.0.0" + + es-set-tostringtag@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/es-set-tostringtag/-/es-set-tostringtag-2.0.1.tgz#338d502f6f674301d710b80c8592de8a15f09cd8" + integrity sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg== + dependencies: + get-intrinsic "^1.1.3" + has "^1.0.3" + has-tostringtag "^1.0.0" + + 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" + + 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.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/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" + + esbuild@^0.16.14: + version "0.16.17" + resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.16.17.tgz#fc2c3914c57ee750635fee71b89f615f25065259" + integrity sha512-G8LEkV0XzDMNwXKgM0Jwu3nY3lSTwSGY6XbxM9cr9+s0T/qSV1q1JVPBGzm3dcjhCic9+emZDmMffkwgPeOeLg== + optionalDependencies: + "@esbuild/android-arm" "0.16.17" + "@esbuild/android-arm64" "0.16.17" + "@esbuild/android-x64" "0.16.17" + "@esbuild/darwin-arm64" "0.16.17" + "@esbuild/darwin-x64" "0.16.17" + "@esbuild/freebsd-arm64" "0.16.17" + "@esbuild/freebsd-x64" "0.16.17" + "@esbuild/linux-arm" "0.16.17" + "@esbuild/linux-arm64" "0.16.17" + "@esbuild/linux-ia32" "0.16.17" + "@esbuild/linux-loong64" "0.16.17" + "@esbuild/linux-mips64el" "0.16.17" + "@esbuild/linux-ppc64" "0.16.17" + "@esbuild/linux-riscv64" "0.16.17" + "@esbuild/linux-s390x" "0.16.17" + "@esbuild/linux-x64" "0.16.17" + "@esbuild/netbsd-x64" "0.16.17" + "@esbuild/openbsd-x64" "0.16.17" + "@esbuild/sunos-x64" "0.16.17" + "@esbuild/win32-arm64" "0.16.17" + "@esbuild/win32-ia32" "0.16.17" + "@esbuild/win32-x64" "0.16.17" + + 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.2, 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== + + escape-string-regexp@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz#4683126b500b61762f2dbebace1806e8be31b1c8" + integrity sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw== + + eslint-config-prettier@^8.3.0: + version "8.6.0" + resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.6.0.tgz#dec1d29ab728f4fa63061774e1672ac4e363d207" + integrity sha512-bAF0eLpLVqP5oEVUFKpMA+NnRFICwn9X8B5jrR9FcqnYBuPbqWEjTEspPWMj5ye6czoSLDweCzSo3Ko7gGrZaA== + + eslint-plugin-prettier@^4.0.0: + version "4.2.1" + resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-4.2.1.tgz#651cbb88b1dab98bfd42f017a12fa6b2d993f94b" + integrity sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ== + dependencies: + prettier-linter-helpers "^1.0.0" + + eslint-plugin-vue@^9.3.0: + version "9.9.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-vue/-/eslint-plugin-vue-9.9.0.tgz#ac788ebccd2eb94d846a507df55da50693b80c91" + integrity sha512-YbubS7eK0J7DCf0U2LxvVP7LMfs6rC6UltihIgval3azO3gyDwEGVgsCMe1TmDiEkl6GdMKfRpaME6QxIYtzDQ== + dependencies: + eslint-utils "^3.0.0" + natural-compare "^1.4.0" + nth-check "^2.0.1" + postcss-selector-parser "^6.0.9" + semver "^7.3.5" + vue-eslint-parser "^9.0.1" + xml-name-validator "^4.0.0" + + eslint-scope@^5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/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.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@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-2.1.0.tgz#d2de5e03424e707dc10c74068ddedae708741b27" + integrity sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg== + dependencies: + eslint-visitor-keys "^1.1.0" + + eslint-utils@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-3.0.0.tgz#8aebaface7345bb33559db0a1f13a1d2d48c3672" + integrity sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA== + dependencies: + eslint-visitor-keys "^2.0.0" + + eslint-visitor-keys@^1.1.0, eslint-visitor-keys@^1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz#30ebd1ef7c2fdff01c3a4f151044af25fab0523e" + integrity sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ== + + 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.33.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.33.0.tgz#02f110f32998cb598c6461f24f4d306e41ca33d7" + integrity sha512-WjOpFQgKK8VrCnAtl8We0SUOy/oVZ5NHykyMiagV1M9r8IFpIJX7DduK6n1mpfhlG7T1NLWm2SuD8QB7KFySaA== + dependencies: + "@eslint/eslintrc" "^1.4.1" + "@humanwhocodes/config-array" "^0.11.8" + "@humanwhocodes/module-importer" "^1.0.1" + "@nodelib/fs.walk" "^1.2.8" + ajv "^6.10.0" + chalk "^4.0.0" + cross-spawn "^7.0.2" + debug "^4.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.4.0" + 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" + glob-parent "^6.0.2" + globals "^13.19.0" + grapheme-splitter "^1.0.4" + ignore "^5.2.0" + import-fresh "^3.0.0" + imurmurhash "^0.1.4" + is-glob "^4.0.0" + is-path-inside "^3.0.3" + js-sdsl "^4.1.4" + 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" + + espree@^6.0.0: + version "6.2.1" + resolved "https://registry.yarnpkg.com/espree/-/espree-6.2.1.tgz#77fc72e1fd744a2052c20f38a5b575832e82734a" + integrity sha512-ysCxRQY3WaXJz9tdbWOwuWr5Y/XrPTGX9Kiz3yoUXwW0VZ4w30HTkQLaGx/+ttFjF8i+ACbArnB4ce68a9m5hw== + dependencies: + acorn "^7.1.1" + acorn-jsx "^5.2.0" + eslint-visitor-keys "^1.1.0" + + espree@^9.3.1, espree@^9.4.0: + version "9.4.1" + resolved "https://registry.yarnpkg.com/espree/-/espree-9.4.1.tgz#51d6092615567a2c2cff7833445e37c28c0065bd" + integrity sha512-XwctdmTO6SIvCzd9810yyNzIrOrqNYV9Koizx4C/mRhf9uq0o4yHoCEU/670pOxOL/MSraektvSAji79kX90Vg== + dependencies: + acorn "^8.8.0" + acorn-jsx "^5.3.2" + eslint-visitor-keys "^3.3.0" + + esprima-extract-comments@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/esprima-extract-comments/-/esprima-extract-comments-1.1.0.tgz#0dacab567a5900240de6d344cf18c33617becbc9" + integrity sha512-sBQUnvJwpeE9QnPrxh7dpI/dp67erYG4WXEAreAMoelPRpMR7NWb4YtwRPn9b+H1uLQKl/qS8WYmyaljTpjIsw== + dependencies: + esprima "^4.0.0" + + esprima@^4.0.0: + version "4.0.1" + resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" + integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== + + esquery@^1.0.1, 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@^4.1.1: + version "4.3.0" + resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d" + integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw== + + estraverse@^5.1.0, estraverse@^5.2.0: + version "5.3.0" + resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123" + integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA== + + estree-walker@^2.0.1, estree-walker@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-2.0.2.tgz#52f010178c2a4c117a7757cfe942adb7d2da4cac" + integrity sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w== + + estree-walker@^3.0.1: + version "3.0.3" + resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-3.0.3.tgz#67c3e549ec402a487b4fc193d1953a524752340d" + integrity sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g== + dependencies: + "@types/estree" "^1.0.0" + + 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== + + event-emitter@^0.3.5: + version "0.3.5" + resolved "https://registry.yarnpkg.com/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.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" + integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== + + execa@^5.0.0: + version "5.1.1" + resolved "https://registry.yarnpkg.com/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" + + ext@^1.1.2: + version "1.7.0" + resolved "https://registry.yarnpkg.com/ext/-/ext-1.7.0.tgz#0ea4383c0103d60e70be99e9a7f11027a33c4f5f" + integrity sha512-6hxeJYaL110a9b5TEJSj0gojyHQAmA2ch5Os+ySCiA1QGdS697XWY1pzsrSjqA9LDEEgdB/KypIlR59RcLuHYw== + dependencies: + type "^2.7.2" + + external-editor@^2.0.4: + version "2.2.0" + resolved "https://registry.yarnpkg.com/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.yarnpkg.com/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" + + extract-comments@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/extract-comments/-/extract-comments-1.1.0.tgz#b90bca033a056bd69b8ba1c6b6b120fc2ee95c18" + integrity sha512-dzbZV2AdSSVW/4E7Ti5hZdHWbA+Z80RJsJhr5uiL10oyjl/gy7/o+HI1HwK4/WSZhlq4SNKU3oUzXlM13Qx02Q== + dependencies: + esprima-extract-comments "^1.1.0" + parse-code-context "^1.0.0" + + fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: + version "3.1.3" + resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" + integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== + + fast-diff@^1.1.2: + version "1.2.0" + resolved "https://registry.yarnpkg.com/fast-diff/-/fast-diff-1.2.0.tgz#73ee11982d86caaf7959828d519cfe927fac5f03" + integrity sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w== + + fast-glob@3.2.7: + version "3.2.7" + resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.7.tgz#fd6cb7a2d7e9aa7a7846111e85a196d6b2f766a1" + integrity sha512-rYGMRwip6lUMvYD3BTScMwT1HtAs2d71SMv66Vrxs0IekGZEjhM0pcMfjQPnknBt2zeCwQMEupiN02ZP4DiT1Q== + dependencies: + "@nodelib/fs.stat" "^2.0.2" + "@nodelib/fs.walk" "^1.2.3" + glob-parent "^5.1.2" + merge2 "^1.3.0" + micromatch "^4.0.4" + + fast-glob@^3.2.11, fast-glob@^3.2.12, fast-glob@^3.2.5, 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.15.0" + resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.15.0.tgz#d04d07c6a2a68fe4599fea8d2e103a937fae6b3a" + integrity sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw== + dependencies: + reusify "^1.0.4" + + fb-watchman@^2.0.0: + version "2.0.2" + resolved "https://registry.yarnpkg.com/fb-watchman/-/fb-watchman-2.0.2.tgz#e9524ee6b5c77e9e5001af0f85f3adbb8623255c" + integrity sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA== + dependencies: + bser "2.1.1" + + figures@3.2.0, figures@^3.0.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/figures/-/figures-3.2.0.tgz#625c18bd293c604dc4a8ddb2febf0c88341746af" + integrity sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg== + dependencies: + escape-string-regexp "^1.0.5" + + figures@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/figures/-/figures-2.0.0.tgz#3ab1a2d2a62c8bfb431a0c94cb797a2fce27c962" + integrity sha512-Oa2M9atig69ZkfwiApY8F2Yy+tzMbazyvqv21R0NsSC8floSOC09BbT1ITWAdoMGQvJ/aZnR1KMwdx9tvHnTNA== + dependencies: + escape-string-regexp "^1.0.5" + + 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" + + filelist@^1.0.1: + version "1.0.4" + resolved "https://registry.yarnpkg.com/filelist/-/filelist-1.0.4.tgz#f78978a1e944775ff9e62e744424f215e58352b5" + integrity sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q== + dependencies: + minimatch "^5.0.1" + + 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-cache-dir@^3.3.2: + version "3.3.2" + resolved "https://registry.yarnpkg.com/find-cache-dir/-/find-cache-dir-3.3.2.tgz#b30c5b6eff0730731aea9bbd9dbecbd80256d64b" + integrity sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig== + dependencies: + commondir "^1.0.1" + make-dir "^3.0.2" + pkg-dir "^4.1.0" + + find-up@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/find-up/-/find-up-2.1.0.tgz#45d1b7e506c717ddd482775a2b77920a3c0c57a7" + integrity sha512-NWzkk0jSJtTt08+FBFMvXoeZnOJD+jTtsRmBYbAIzJdX6l7dLgR7CTubCM5/eDdPUBvLCeVasP1brfVR/9/EZQ== + dependencies: + locate-path "^2.0.0" + + find-up@^4.0.0, find-up@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19" + integrity sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw== + dependencies: + locate-path "^5.0.0" + path-exists "^4.0.0" + + find-up@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/find-up/-/find-up-5.0.0.tgz#4c92819ecb7083561e4f4a240a86be5198f536fc" + integrity sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng== + dependencies: + locate-path "^6.0.0" + path-exists "^4.0.0" + + flat-cache@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-3.0.4.tgz#61b0338302b2fe9f957dcc32fc2a87f1c3048b11" + integrity sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg== + dependencies: + flatted "^3.1.0" + rimraf "^3.0.2" + + flat@^5.0.2: + version "5.0.2" + resolved "https://registry.yarnpkg.com/flat/-/flat-5.0.2.tgz#8ca6fe332069ffa9d324c327198c598259ceb241" + integrity sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ== + + flatted@^3.1.0: + version "3.2.7" + resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.7.tgz#609f39207cb614b89d0765b477cb2d437fbf9787" + integrity sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ== + + follow-redirects@^1.14.0, follow-redirects@^1.14.9, follow-redirects@^1.15.0: + version "1.15.2" + resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13" + integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA== + + for-each@^0.3.3: + version "0.3.3" + resolved "https://registry.yarnpkg.com/for-each/-/for-each-0.3.3.tgz#69b447e88a0a5d32c3e7084f3f1710034b21376e" + integrity sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw== + dependencies: + is-callable "^1.1.3" + + 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" + + fs-constants@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad" + integrity sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow== + + fs-extra@^11.1.0: + version "11.1.0" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-11.1.0.tgz#5784b102104433bb0e090f48bfc4a30742c357ed" + integrity sha512-0rcTq621PD5jM/e0a3EJoGC/1TC5ZBCERW82LQuwfGnCa1V8w7dpYH1yNu+SLb6E5dkeCBzKEyLGlFrnr+dUyw== + dependencies: + graceful-fs "^4.2.0" + jsonfile "^6.0.1" + universalify "^2.0.0" + + fs-extra@^9.1.0: + version "9.1.0" + resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.1.0.tgz#5954460c764a8da2094ba3554bf839e6b9a7c86d" + integrity sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ== + dependencies: + at-least-node "^1.0.0" + graceful-fs "^4.2.0" + jsonfile "^6.0.1" + universalify "^2.0.0" + + fs-minipass@^2.0.0, fs-minipass@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-2.1.0.tgz#7f5036fdbf12c63c169190cbe4199c852271f9fb" + integrity sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg== + dependencies: + minipass "^3.0.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, 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" + + 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== + + fuzzy@0.1.3: + version "0.1.3" + resolved "https://registry.yarnpkg.com/fuzzy/-/fuzzy-0.1.3.tgz#4c76ec2ff0ac1a36a9dccf9a00df8623078d4ed8" + integrity sha512-/gZffu4ykarLrCiP3Ygsa86UAo1E5vEVlvTrpkKywXSbP9Xhln3oSp9QSV57gEq3JFFpGJ4GZ+5zdEp3FcUh4w== + + gauge@^4.0.3: + version "4.0.4" + resolved "https://registry.yarnpkg.com/gauge/-/gauge-4.0.4.tgz#52ff0652f2bbf607a989793d53b751bef2328dce" + integrity sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg== + dependencies: + aproba "^1.0.3 || ^2.0.0" + color-support "^1.1.3" + console-control-strings "^1.1.0" + has-unicode "^2.0.1" + signal-exit "^3.0.7" + string-width "^4.2.3" + strip-ansi "^6.0.1" + wide-align "^1.1.5" + + gensync@^1.0.0-beta.2: + version "1.0.0-beta.2" + resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0" + integrity sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg== + + get-caller-file@^2.0.5: + version "2.0.5" + resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" + integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== + + get-intrinsic@^1.0.2, get-intrinsic@^1.1.1, get-intrinsic@^1.1.3: + version "1.2.0" + resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.0.tgz#7ad1dc0535f3a2904bba075772763e5051f6d05f" + integrity sha512-L049y6nFOuom5wGyRc3/gdTLO94dySVKRACj1RmJZBQXlbTMhtNIgkWkUHq+jYmZvKf14EW1EoJnnjbmoHij0Q== + dependencies: + function-bind "^1.1.1" + has "^1.0.3" + has-symbols "^1.0.3" + + get-package-type@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/get-package-type/-/get-package-type-0.1.0.tgz#8de2d803cff44df3bc6c456e6668b36c3926e11a" + integrity sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q== + + get-pkg-repo@^4.0.0: + version "4.2.1" + resolved "https://registry.yarnpkg.com/get-pkg-repo/-/get-pkg-repo-4.2.1.tgz#75973e1c8050c73f48190c52047c4cee3acbf385" + integrity sha512-2+QbHjFRfGB74v/pYWjd5OhU3TDIC2Gv/YKUTk/tCvAz0pkn/Mz6P3uByuBimLOcPvN2jYdScl3xGFSrx0jEcA== + dependencies: + "@hutson/parse-repository-url" "^3.0.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.yarnpkg.com/get-port/-/get-port-5.1.1.tgz#0469ed07563479de6efb986baf053dcd7d4e3193" + integrity sha512-g/Q1aTSDOxFpchXC4i8ZWvxA1lnPqx/JHqcpIw0/LX9T8x/GBbi6YnlN5nhaKIFkT8oFsscUKgDJYxfwfS6QsQ== + + get-stdin@^8.0.0: + version "8.0.0" + resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-8.0.0.tgz#cbad6a73feb75f6eeb22ba9e01f89aa28aa97a53" + integrity sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg== + + get-stream@^6.0.0: + version "6.0.1" + resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7" + integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg== + + 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" + + giget@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/giget/-/giget-1.0.0.tgz#fdd7e61a84996b19e00d2d4a6a65c60cc1f61c3d" + integrity sha512-KWELZn3Nxq5+0So485poHrFriK9Bn3V/x9y+wgqrHkbmnGbjfLmZ685/SVA/ovW+ewoqW0gVI47pI4yW/VNobQ== + dependencies: + colorette "^2.0.19" + defu "^6.1.1" + https-proxy-agent "^5.0.1" + mri "^1.2.0" + node-fetch-native "^1.0.1" + pathe "^1.0.0" + tar "^6.1.12" + + git-raw-commits@^2.0.8: + version "2.0.11" + resolved "https://registry.yarnpkg.com/git-raw-commits/-/git-raw-commits-2.0.11.tgz#bc3576638071d18655e1cc60d7f524920008d723" + integrity sha512-VnctFhw+xfj8Va1xtfEqCUD2XDrbAPSJx+hSrE5K7fGdjZruW7XV+QOrN7LF/RJyvspRiD2I0asWsxFp0ya26A== + dependencies: + dargs "^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.yarnpkg.com/git-remote-origin-url/-/git-remote-origin-url-2.0.0.tgz#5282659dae2107145a11126112ad3216ec5fa65f" + integrity sha512-eU+GGrZgccNJcsDH5LkXR3PB9M958hxc7sbA8DFJjrv9j4L2P/eZfKhM+QD6wyzpiv+b1BpK0XrYCxkovtjSLw== + dependencies: + gitconfiglocal "^1.0.0" + pify "^2.3.0" + + git-semver-tags@^4.1.1: + version "4.1.1" + resolved "https://registry.yarnpkg.com/git-semver-tags/-/git-semver-tags-4.1.1.tgz#63191bcd809b0ec3e151ba4751c16c444e5b5780" + integrity sha512-OWyMt5zBe7xFs8vglMmhM9lRQzCWL3WjHtxNNfJTMngGym7pC1kh8sP6jevfydJ6LP3ZvGxfb6ABYgPUM0mtsA== + dependencies: + meow "^8.0.0" + semver "^6.0.0" + + git-up@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/git-up/-/git-up-7.0.0.tgz#bace30786e36f56ea341b6f69adfd83286337467" + integrity sha512-ONdIrbBCFusq1Oy0sC71F5azx8bVkvtZtMJAsv+a6lz5YAmbNnLD6HAB4gptHZVLPR8S2/kVN6Gab7lryq5+lQ== + dependencies: + is-ssh "^1.4.0" + parse-url "^8.1.0" + + git-url-parse@^13.1.0: + version "13.1.0" + resolved "https://registry.yarnpkg.com/git-url-parse/-/git-url-parse-13.1.0.tgz#07e136b5baa08d59fabdf0e33170de425adf07b4" + integrity sha512-5FvPJP/70WkIprlUZ33bm4UAaFdjcLkJLpWft1BeZKqwR0uhhNGoKwlUaPtVb4LxCSQ++erHapRak9kWGj+FCA== + dependencies: + git-up "^7.0.0" + + gitconfiglocal@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/gitconfiglocal/-/gitconfiglocal-1.0.0.tgz#41d045f3851a5ea88f03f24ca1c6178114464b9b" + integrity sha512-spLUXeTAVHxDtKsJc8FkFVgFtMdEN9qPGpL23VfSHx4fP4+Ds097IXLvymbnDH8FnmxX5Nr9bPw3A+AQ6mWEaQ== + dependencies: + 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.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.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-promise@^4.2.2: + version "4.2.2" + resolved "https://registry.yarnpkg.com/glob-promise/-/glob-promise-4.2.2.tgz#15f44bcba0e14219cd93af36da6bb905ff007877" + integrity sha512-xcUzJ8NWN5bktoTIX7eOclO1Npxd/dyVqUJxlLIDasT4C7KZyqlPIwkdJ0Ypiy3p2ZKahTjK4M9uC3sNSfNMzw== + dependencies: + "@types/glob" "^7.1.3" + + glob@7.1.4: + version "7.1.4" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.4.tgz#aa608a2f6c577ad357e1ae5a5c26d9a8d1969255" + integrity sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.0.4" + once "^1.3.0" + path-is-absolute "^1.0.0" + + glob@8.0.3: + version "8.0.3" + resolved "https://registry.yarnpkg.com/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.3, glob@^7.1.4, glob@^7.1.6: + version "7.2.3" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" + integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== + 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@^8.0.1: + version "8.1.0" + resolved "https://registry.yarnpkg.com/glob/-/glob-8.1.0.tgz#d388f656593ef708ee3e34640fdfb99a9fd1c33e" + integrity sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^5.0.1" + once "^1.3.0" + + globals@^11.1.0: + version "11.12.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" + integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== + + globals@^13.19.0: + version "13.20.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-13.20.0.tgz#ea276a1e508ffd4f1612888f9d1bad1e2717bf82" + integrity sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ== + dependencies: + type-fest "^0.20.2" + + globalthis@^1.0.1, globalthis@^1.0.3: + 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.0.2, 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" + + globby@^13.1.3: + version "13.1.3" + resolved "https://registry.yarnpkg.com/globby/-/globby-13.1.3.tgz#f62baf5720bcb2c1330c8d4ef222ee12318563ff" + integrity sha512-8krCNHXvlCgHDpegPzleMq07yMYTO2sXKASmZmquEYWEmCx6J5UTRbp5RwMJkTJGtcQ44YpiUYUiN0b9mzy8Bw== + dependencies: + dir-glob "^3.0.1" + fast-glob "^3.2.11" + ignore "^5.2.0" + merge2 "^1.4.1" + slash "^4.0.0" + + gopd@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/gopd/-/gopd-1.0.1.tgz#29ff76de69dac7489b7c0918a5788e56477c332c" + integrity sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA== + dependencies: + get-intrinsic "^1.1.3" + + graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.6, graceful-fs@^4.2.9: + version "4.2.10" + resolved "https://registry.yarnpkg.com/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.yarnpkg.com/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz#9cf3a665c6247479896834af35cf1dbb4400767e" + integrity sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ== + + handlebars@^4.7.7: + version "4.7.7" + resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.7.tgz#9ce33416aad02dbd6c8fafa8240d5d98004945a1" + integrity sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA== + 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" + + hard-rejection@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/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.yarnpkg.com/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.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-proto@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/has-proto/-/has-proto-1.0.1.tgz#1885c1305538958aff469fef37937c22795408e0" + integrity sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg== + + 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-unicode@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" + integrity sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ== + + has@^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-sum@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/hash-sum/-/hash-sum-2.0.0.tgz#81d01bb5de8ea4a214ad5d6ead1b523460b0b45a" + integrity sha512-WdZTbAByD+pHfl/g9QSsBIIwy8IT+EsPiKDs0KNX+zSHhdDLFKdZu0BQHljvO+0QI/BasbMSUa8wYNCZTvhslg== + + hash.js@^1.0.0, hash.js@^1.0.3: + 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" + + he@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f" + integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw== + + 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" + + hookable@^5.4.2: + version "5.4.2" + resolved "https://registry.yarnpkg.com/hookable/-/hookable-5.4.2.tgz#6a1d3c4b3cb5b4262f99b3070ce0ee92c9c78049" + integrity sha512-6rOvaUiNKy9lET1X0ECnyZ5O5kSV0PJbtA5yZUgdEF7fGJEVwSLSislltyt7nFwVVALYHQJtfGeAR2Y0A0uJkg== + + hosted-git-info@^2.1.4: + version "2.8.9" + resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.9.tgz#dffc0bf9a21c02209090f2aa69429e1414daf3f9" + integrity sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw== + + hosted-git-info@^3.0.6: + version "3.0.8" + resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-3.0.8.tgz#6e35d4cc87af2c5f816e4cb9ce350ba87a3f370d" + integrity sha512-aXpmwoOhRBrw6X3j0h5RloK4x1OzsxMPyxqIHyNfSe2pypkVTZFpEiRoSipPEPlMrh0HW/XsjkJ5WgnCirpNUw== + dependencies: + lru-cache "^6.0.0" + + hosted-git-info@^4.0.0, hosted-git-info@^4.0.1: + version "4.1.0" + resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-4.1.0.tgz#827b82867e9ff1c8d0c4d9d53880397d2c86d224" + integrity sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA== + dependencies: + lru-cache "^6.0.0" + + hosted-git-info@^5.0.0: + version "5.2.1" + resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-5.2.1.tgz#0ba1c97178ef91f3ab30842ae63d6a272341156f" + integrity sha512-xIcQYMnhcx2Nr4JTjsFmwwnr9vldugPy9uVm0o87bjqqWMv9GaqsTeT+i99wTl0mk1uLxJtHxLb8kymqTENQsw== + dependencies: + lru-cache "^7.5.1" + + html-tags@^3.1.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/html-tags/-/html-tags-3.2.0.tgz#dbb3518d20b726524e4dd43de397eb0a95726961" + integrity sha512-vy7ClnArOZwCnqZgvv+ddgHgJiAFXe3Ge9ML5/mBctVJoUoYPCdxVucOywjDARn6CVoh3dRSFdPHy2sX80L0Wg== + + http-cache-semantics@^4.1.0: + version "4.1.1" + resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz#abe02fcb2985460bf0323be664436ec3476a6d5a" + integrity sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ== + + http-proxy-agent@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz#5129800203520d434f142bc78ff3c170800f2b43" + integrity sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w== + dependencies: + "@tootallnate/once" "2" + agent-base "6" + debug "4" + + https-proxy-agent@^5.0.0, https-proxy-agent@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/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.13: + version "1.2.1" + resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" + integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== + + ignore-walk@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/ignore-walk/-/ignore-walk-5.0.1.tgz#5f199e23e1288f518d90358d461387788a154776" + integrity sha512-yemi4pMf51WKT7khInJqAvsIGzoqYXblnsz0ql8tM+yi1EKYTY1evX4NAbJrLL/Aanr2HyZeluqU+Oi7MGHokw== + dependencies: + minimatch "^5.0.1" + + ignore@^5.0.4, ignore@^5.2.0, ignore@^5.2.4: + version "5.2.4" + resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.4.tgz#a291c0c6178ff1b960befe47fcdec301674a6324" + integrity sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ== + + immutable@^4.0.0: + version "4.2.3" + resolved "https://registry.yarnpkg.com/immutable/-/immutable-4.2.3.tgz#a203cdda37a5a30bc351b982a1794c1930198815" + integrity sha512-IHpmvaOIX4VLJwPOuQr1NpeBr2ZG6vpIj3blsLVxXRWJscLioaJRStqC+NcBsLeCDsnGlPpXd5/WZmnE7MbsKA== + + 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" + + import-local@^3.0.2: + version "3.1.0" + resolved "https://registry.yarnpkg.com/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.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" + integrity sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA== + + indent-string@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-4.0.0.tgz#624f8f4497d619b2d9768531d58f4122854d7251" + integrity sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg== + + infer-owner@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/infer-owner/-/infer-owner-1.0.4.tgz#c4cefcaa8e51051c2a40ba2ce8a3d27295af9467" + integrity sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A== + + 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.3, inherits@^2.0.4, inherits@~2.0.3: + version "2.0.4" + resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" + integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== + + inherits@2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/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.yarnpkg.com/ini/-/ini-1.3.8.tgz#a29da425b48806f34767a4efce397269af28432c" + integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew== + + init-package-json@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/init-package-json/-/init-package-json-3.0.2.tgz#f5bc9bac93f2bdc005778bc2271be642fecfcd69" + integrity sha512-YhlQPEjNFqlGdzrBfDNRLhvoSgX7iQRgSxgsNknRQ9ITXFT7UMfVMWhBTOh2Y+25lRnGrv5Xz8yZwQ3ACR6T3A== + dependencies: + npm-package-arg "^9.0.1" + promzard "^0.3.0" + read "^1.0.7" + read-package-json "^5.0.0" + semver "^7.3.5" + validate-npm-package-license "^3.0.4" + validate-npm-package-name "^4.0.0" + + inquirer-autocomplete-prompt@^0.11.1: + version "0.11.1" + resolved "https://registry.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/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@^8.2.4: + version "8.2.5" + resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-8.2.5.tgz#d8654a7542c35a9b9e069d27e2df4858784d54f8" + integrity sha512-QAgPDQMEgrDssk1XiwwHoOGYF9BAbUcc1+j+FhEvaOt8/cKRqyLn0U5qA6F74fGhTMGxf92pOvPBeh29jQJDTQ== + dependencies: + ansi-escapes "^4.2.1" + chalk "^4.1.1" + cli-cursor "^3.1.0" + cli-width "^3.0.0" + external-editor "^3.0.3" + figures "^3.0.0" + lodash "^4.17.21" + mute-stream "0.0.8" + ora "^5.4.1" + run-async "^2.4.0" + rxjs "^7.5.5" + string-width "^4.1.0" + strip-ansi "^6.0.0" + through "^2.3.6" + wrap-ansi "^7.0.0" + + inquirerer@0.1.3: + version "0.1.3" + resolved "https://registry.yarnpkg.com/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.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/internal-slot/-/internal-slot-1.0.4.tgz#8551e7baf74a7a6ba5f749cfb16aa60722f0d6f3" + integrity sha512-tA8URYccNzMo94s5MQZgH8NB/XTa6HsOo0MLfXTKKEnHVVdegzaQoFZ7Jp44bdvLvY2waT5dc+j5ICEswhi7UQ== + dependencies: + get-intrinsic "^1.1.3" + has "^1.0.3" + side-channel "^1.0.4" + + interpret@^1.0.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.4.0.tgz#665ab8bc4da27a774a40584e812e3e0fa45b1a1e" + integrity sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA== + + ip@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/ip/-/ip-2.0.0.tgz#4cf4ab182fee2314c75ede1276f8c80b479936da" + integrity sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ== + + is-arguments@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/is-arguments/-/is-arguments-1.1.1.tgz#15b3f88fda01f2a97fec84ca761a560f123efa9b" + integrity sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA== + dependencies: + call-bind "^1.0.2" + has-tostringtag "^1.0.0" + + is-array-buffer@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/is-array-buffer/-/is-array-buffer-3.0.1.tgz#deb1db4fcae48308d54ef2442706c0393997052a" + integrity sha512-ASfLknmY8Xa2XtB4wmbz13Wu202baeA18cJBCeCy0wXUHZF0IPyVEXqKEcd+t2fNSLLL1vC6k7lxZEojNbISXQ== + dependencies: + call-bind "^1.0.2" + get-intrinsic "^1.1.3" + is-typed-array "^1.1.10" + + 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-callable@^1.1.3, is-callable@^1.1.4, is-callable@^1.2.7: + version "1.2.7" + resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.7.tgz#3bc2a85ea742d9e36205dcacdd72ca1fdc51b055" + integrity sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA== + + is-ci@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/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.11.0" + resolved "https://registry.yarnpkg.com/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, is-date-object@^1.0.5: + 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-docker@^2.0.0, is-docker@^2.1.1: + version "2.2.1" + resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-2.2.1.tgz#33eeabe23cfe86f14bde4408a02c0cfb853acdaa" + integrity sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ== + + is-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-fullwidth-code-point@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" + integrity sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w== + + is-fullwidth-code-point@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" + integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== + + 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-interactive@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-interactive/-/is-interactive-1.0.0.tgz#cea6e6ae5c870a7b0a0004070b7b587e0252912e" + integrity sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w== + + is-lambda@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/is-lambda/-/is-lambda-1.0.1.tgz#3d9877899e6a53efc0160504cde15f82e6f061d5" + integrity sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ== + + is-map@^2.0.1, is-map@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/is-map/-/is-map-2.0.2.tgz#00922db8c9bf73e81b7a335827bc2a43f2b91127" + integrity sha512-cOZFQQozTha1f4MxLFzlgKYPTyj26picdZTx82hbc/Xf4K/tZOOXSCkMvU4pKioRXGDLJRn0GM7Upe7kR721yg== + + 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-obj@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/is-obj/-/is-obj-2.0.0.tgz#473fb05d973705e3fd9620545018ca8e22ef4982" + integrity sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w== + + is-path-inside@^3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-3.0.3.tgz#d231362e53a07ff2b0e0ea7fed049161ffd16283" + integrity sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ== + + is-plain-obj@^1.0.0, is-plain-obj@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/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.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-set@^2.0.1, is-set@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/is-set/-/is-set-2.0.2.tgz#90755fa4c2562dc1c5d4024760d6119b94ca18ec" + integrity sha512-+2cnTEZeY5z/iXGbLhPrOAaK/Mau5k5eXq9j14CpRTftq0pAJu2MwVRSZhyZWBzx3o6X795Lz6Bpb6R0GKf37g== + + 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-ssh@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/is-ssh/-/is-ssh-1.4.0.tgz#4f8220601d2839d8fa624b3106f8e8884f01b8b2" + integrity sha512-x7+VxdxOdlV3CYpjvRLBv5Lo9OJerlYanjwFrPR9fuGPjCiNiCzFgAWpiLAohSbsnH4ZAys3SBh+hq5rJosxUQ== + dependencies: + protocols "^2.0.1" + + is-stream@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/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.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-text-path@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/is-text-path/-/is-text-path-1.0.1.tgz#4e1aa0fb51bfbcb3e92688001397202c1775b66e" + integrity sha512-xFuJpne9oFz5qDaodwmmG08e3CawH/2ZV8Qqza1Ko7Sk8POWbkRdwIoAWVhqvq0XeUzANEhKo2n0IXUGBm7A/w== + dependencies: + text-extensions "^1.0.0" + + is-typed-array@^1.1.10, is-typed-array@^1.1.9: + version "1.1.10" + resolved "https://registry.yarnpkg.com/is-typed-array/-/is-typed-array-1.1.10.tgz#36a5b5cb4189b575d1a3e4b08536bfb485801e3f" + integrity sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A== + dependencies: + available-typed-arrays "^1.0.5" + call-bind "^1.0.2" + for-each "^0.3.3" + gopd "^1.0.1" + has-tostringtag "^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-unicode-supported@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz#3f26c76a809593b52bfa2ecb5710ed2779b522a7" + integrity sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw== + + is-weakmap@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/is-weakmap/-/is-weakmap-2.0.1.tgz#5008b59bdc43b698201d18f62b37b2ca243e8cf2" + integrity sha512-NSBR4kH5oVj1Uwvv970ruUkCV7O1mzgVFO4/rev2cLRda9Tm9HrL70ZPut4rOHgY0FNrUu9BCbXA2sdQ+x0chA== + + 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" + + is-weakset@^2.0.1: + version "2.0.2" + resolved "https://registry.yarnpkg.com/is-weakset/-/is-weakset-2.0.2.tgz#4569d67a747a1ce5a994dfd4ef6dcea76e7c0a1d" + integrity sha512-t2yVvttHkQktwnNNmBQ98AhENLdPUTDTE21uPqAQ0ARwQfGeQKRVS0NNurH7bTf7RrvcVn1OOge45CnBeHCSmg== + dependencies: + call-bind "^1.0.2" + get-intrinsic "^1.1.1" + + is-wsl@^2.2.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-2.2.0.tgz#74a4c76e77ca9fd3f932f290c17ea326cd157271" + integrity sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww== + dependencies: + is-docker "^2.0.0" + + isarray@^2.0.5: + version "2.0.5" + resolved "https://registry.yarnpkg.com/isarray/-/isarray-2.0.5.tgz#8af1e4c1221244cc62459faf38940d4e644a5723" + integrity sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw== + + isarray@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" + integrity sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ== + + isexe@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" + integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== + + isobject@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" + integrity sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg== + + 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== + + istanbul-lib-coverage@^3.2.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.0.tgz#189e7909d0a39fa5a3dfad5b03f71947770191d3" + integrity sha512-eOeJ5BHCmHYvQK7xt9GkdHuzuCGS1Y6g9Gvnx3Ym33fz/HpLRYxiS0wHNr+m/MBC8B647Xt608vCDEvhl9c6Mw== + + istanbul-lib-instrument@^5.0.4: + version "5.2.1" + resolved "https://registry.yarnpkg.com/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz#d10c8885c2125574e1c231cacadf955675e1ce3d" + integrity sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg== + 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" + + jake@^10.8.5: + version "10.8.5" + resolved "https://registry.yarnpkg.com/jake/-/jake-10.8.5.tgz#f2183d2c59382cb274226034543b9c03b8164c46" + integrity sha512-sVpxYeuAhWt0OTWITwT98oyV0GsXyMlXCF+3L1SuafBVUIr/uILGRB+NqwkzhgXKvoJpDIpQvqkUALgdmQsQxw== + dependencies: + async "^3.2.3" + chalk "^4.0.2" + filelist "^1.0.1" + minimatch "^3.0.4" + + jest-haste-map@^28.1.3: + version "28.1.3" + resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-28.1.3.tgz#abd5451129a38d9841049644f34b034308944e2b" + 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.yarnpkg.com/jest-regex-util/-/jest-regex-util-28.0.2.tgz#afdc377a3b25fb6e80825adcf76c854e5bf47ead" + integrity sha512-4s0IgyNIy0y9FK+cjoVYoxamT7Zeo7MhzqRGx7YDYmaQn1wucY9rotiGkBzzcMXTtjrCAP/f7f+E0F7+fxPNdw== + + jest-util@^28.1.3: + version "28.1.3" + resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-28.1.3.tgz#f4f932aa0074f0679943220ff9cbba7e497028b0" + 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.yarnpkg.com/jest-worker/-/jest-worker-28.1.3.tgz#7e3c4ce3fa23d1bb6accb169e7f396f98ed4bb98" + integrity sha512-CqRA220YV/6jCo8VWvAt1KKx6eek1VIHMPeLEbpcfSfkEeWyBNppynM/o6q+Wmw+sOhos2ml34wZbSX3G13//g== + dependencies: + "@types/node" "*" + merge-stream "^2.0.0" + supports-color "^8.0.0" + + jiti@^1.16.0, jiti@^1.16.2: + version "1.16.2" + resolved "https://registry.yarnpkg.com/jiti/-/jiti-1.16.2.tgz#75f7a0a8fde4a0e57e576f7d329491d588db89cf" + integrity sha512-OKBOVWmU3FxDt/UH4zSwiKPuc1nihFZiOD722FuJlngvLz2glX1v2/TJIgoA4+mrpnXxHV6dSAoCvPcYQtoG5A== + + js-sdsl@^4.1.4: + version "4.3.0" + resolved "https://registry.yarnpkg.com/js-sdsl/-/js-sdsl-4.3.0.tgz#aeefe32a451f7af88425b11fdb5f58c90ae1d711" + integrity sha512-mifzlm2+5nZ+lEcLJMoBK0/IH/bDg8XnJfd/Wq6IP+xoCjLZsTOnV2QpxlVbX9bMnkl5PdEjNtBJ9Cj1NjifhQ== + + 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, js-yaml@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602" + integrity sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA== + dependencies: + argparse "^2.0.1" + + js-yaml@^3.10.0, js-yaml@^3.13.1: + version "3.14.1" + resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.14.1.tgz#dae812fdb3825fa306609a8717383c50c36a0537" + integrity sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g== + dependencies: + argparse "^1.0.7" + esprima "^4.0.0" + + jsesc@^2.5.1: + version "2.5.2" + resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4" + integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA== + + jsesc@~0.5.0: + version "0.5.0" + resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-0.5.0.tgz#e7dee66e35d6fc16f710fe91d5cf69f70f08911d" + integrity sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA== + + json-parse-better-errors@^1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9" + integrity sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw== + + json-parse-even-better-errors@^2.3.0, json-parse-even-better-errors@^2.3.1: + 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== + + json-stringify-nice@^1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/json-stringify-nice/-/json-stringify-nice-1.1.4.tgz#2c937962b80181d3f317dd39aa323e14f5a60a67" + integrity sha512-5Z5RFW63yxReJ7vANgW6eZFGWaQvnPE3WNmZoOJrSkGju2etKA2L5rrOa1sm877TVTFt57A80BH1bArcmlLfPw== + + json-stringify-safe@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" + integrity sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA== + + json5@^2.2.0, json5@^2.2.1, json5@^2.2.2: + version "2.2.3" + resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" + integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== + + jsonc-eslint-parser@^1.0.1: + version "1.4.1" + resolved "https://registry.yarnpkg.com/jsonc-eslint-parser/-/jsonc-eslint-parser-1.4.1.tgz#8cbe99f6f5199acbc5a823c4c0b6135411027fa6" + integrity sha512-hXBrvsR1rdjmB2kQmUjf1rEIa+TqHBGMge8pwi++C+Si1ad7EjZrJcpgwym+QGK/pqTx+K7keFAtLlVNdLRJOg== + dependencies: + acorn "^7.4.1" + eslint-utils "^2.1.0" + eslint-visitor-keys "^1.3.0" + espree "^6.0.0" + semver "^6.3.0" + + jsonc-parser@3.2.0, jsonc-parser@^3.2.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/jsonc-parser/-/jsonc-parser-3.2.0.tgz#31ff3f4c2b9793f89c67212627c51c6394f88e76" + integrity sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w== + + jsonfile@^6.0.1: + version "6.1.0" + resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-6.1.0.tgz#bc55b2634793c679ec6403094eb13698a6ec0aae" + integrity sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ== + 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.yarnpkg.com/jsonparse/-/jsonparse-1.3.1.tgz#3f4dae4a91fac315f71062f8521cc239f1366280" + integrity sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg== + + just-diff-apply@^5.2.0: + version "5.5.0" + resolved "https://registry.yarnpkg.com/just-diff-apply/-/just-diff-apply-5.5.0.tgz#771c2ca9fa69f3d2b54e7c3f5c1dfcbcc47f9f0f" + integrity sha512-OYTthRfSh55WOItVqwpefPtNt2VdKsq5AnAK6apdtR6yCH8pr0CmSr710J0Mf+WdQy7K/OzMy7K2MgAfdQURDw== + + just-diff@^5.0.1: + version "5.2.0" + resolved "https://registry.yarnpkg.com/just-diff/-/just-diff-5.2.0.tgz#60dca55891cf24cd4a094e33504660692348a241" + integrity sha512-6ufhP9SHjb7jibNFrNxyFZ6od3g+An6Ai9mhGRvcYe8UJlH0prseN64M+6ZBBUoKYHZsitDP42gAJ8+eVWr3lw== + + kind-of@^6.0.2, kind-of@^6.0.3: + version "6.0.3" + resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd" + integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw== + + knitwork@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/knitwork/-/knitwork-1.0.0.tgz#38d124dead875bee5feea1733632295af58a49d2" + integrity sha512-dWl0Dbjm6Xm+kDxhPQJsCBTxrJzuGl0aP9rhr+TG8D3l+GL90N8O8lYUi7dTSAN2uuDqCtNgb6aEuQH5wsiV8Q== + + lerna@^6.4.1: + version "6.4.1" + resolved "https://registry.yarnpkg.com/lerna/-/lerna-6.4.1.tgz#a1e5abcb6c00de3367f50d75eca449e382525e0f" + integrity sha512-0t8TSG4CDAn5+vORjvTFn/ZEGyc4LOEsyBUpzcdIxODHPKM4TVOGvbW9dBs1g40PhOrQfwhHS+3fSx/42j42dQ== + dependencies: + "@lerna/add" "6.4.1" + "@lerna/bootstrap" "6.4.1" + "@lerna/changed" "6.4.1" + "@lerna/clean" "6.4.1" + "@lerna/cli" "6.4.1" + "@lerna/command" "6.4.1" + "@lerna/create" "6.4.1" + "@lerna/diff" "6.4.1" + "@lerna/exec" "6.4.1" + "@lerna/filter-options" "6.4.1" + "@lerna/import" "6.4.1" + "@lerna/info" "6.4.1" + "@lerna/init" "6.4.1" + "@lerna/link" "6.4.1" + "@lerna/list" "6.4.1" + "@lerna/publish" "6.4.1" + "@lerna/run" "6.4.1" + "@lerna/validation-error" "6.4.1" + "@lerna/version" "6.4.1" + "@nrwl/devkit" ">=15.4.2 < 16" + import-local "^3.0.2" + inquirer "^8.2.4" + npmlog "^6.0.2" + nx ">=15.4.2 < 16" + typescript "^3 || ^4" + + 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" + + libnpmaccess@^6.0.3: + version "6.0.4" + resolved "https://registry.yarnpkg.com/libnpmaccess/-/libnpmaccess-6.0.4.tgz#2dd158bd8a071817e2207d3b201d37cf1ad6ae6b" + integrity sha512-qZ3wcfIyUoW0+qSFkMBovcTrSGJ3ZeyvpR7d5N9pEYv/kXs8sHP2wiqEIXBKLFrZlmM0kR0RJD7mtfLngtlLag== + dependencies: + aproba "^2.0.0" + minipass "^3.1.1" + npm-package-arg "^9.0.1" + npm-registry-fetch "^13.0.0" + + libnpmpublish@^6.0.4: + version "6.0.5" + resolved "https://registry.yarnpkg.com/libnpmpublish/-/libnpmpublish-6.0.5.tgz#5a894f3de2e267d62f86be2a508e362599b5a4b1" + integrity sha512-LUR08JKSviZiqrYTDfywvtnsnxr+tOvBU0BF8H+9frt7HMvc6Qn6F8Ubm72g5hDTHbq8qupKfDvDAln2TVPvFg== + dependencies: + normalize-package-data "^4.0.0" + npm-package-arg "^9.0.1" + npm-registry-fetch "^13.0.0" + semver "^7.3.7" + ssri "^9.0.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.3: + 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== + + lines-and-columns@~2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-2.0.3.tgz#b2f0badedb556b747020ab8ea7f0373e22efac1b" + integrity sha512-cNOjgCnLB+FnvWWtyRTzmB3POJ+cXxTA81LoW7u8JdmhfXzriropYwpjShnz1QLLWsQwY7nIxoDmcPTwphDK9w== + + load-json-file@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/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.yarnpkg.com/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" + + local-pkg@^0.4.2, local-pkg@^0.4.3: + version "0.4.3" + resolved "https://registry.yarnpkg.com/local-pkg/-/local-pkg-0.4.3.tgz#0ff361ab3ae7f1c19113d9bb97b98b905dbc4963" + integrity sha512-SFppqq5p42fe2qcZQqqEOiVRXl+WCP1MdT6k7BDEW1j++sp5fIY+/fdRQitvKgB5BrBcmrs5m/L0v2FrU5MY1g== + + locate-path@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/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@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/lodash.ismatch/-/lodash.ismatch-4.4.0.tgz#756cb5150ca3ba6f11085a78849645f188f85f37" + integrity sha512-fPMfXjGQEV9Xsq/8MTSgUf255gawYRbjwMyDbcvDhXgV7enSZA0hynz6vMPnpAb5iONEzBHBPsT+0zes5Z301g== + + lodash.memoize@^4.1.2: + version "4.1.2" + resolved "https://registry.yarnpkg.com/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.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a" + integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== + + lodash.template@^4.5.0: + version "4.5.0" + resolved "https://registry.yarnpkg.com/lodash.template/-/lodash.template-4.5.0.tgz#f976195cf3f347d0d5f52483569fe8031ccce8ab" + integrity sha512-84vYFxIkmidUiFxidA/KjjH9pAycqW+h980j7Fuz5qxRtO9pgB7MDFTdys1N7A5mcucRiDyEq4fusljItR1T/A== + dependencies: + lodash._reinterpolate "^3.0.0" + lodash.templatesettings "^4.0.0" + + lodash.templatesettings@^4.0.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/lodash.templatesettings/-/lodash.templatesettings-4.2.0.tgz#e481310f049d3cf6d47e912ad09313b154f0fb33" + integrity sha512-stgLz+i3Aa9mZgnjr/O+v9ruKZsPsndy7qPZOchbqk2cnTU1ZaldKK+v7m54WoKIyxiuMZTKT2H81F8BeAc3ZQ== + dependencies: + lodash._reinterpolate "^3.0.0" + + lodash.uniq@^4.5.0: + version "4.5.0" + resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" + integrity sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ== + + lodash@^4.17.12, lodash@^4.17.15, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.17.4, lodash@^4.3.0: + version "4.17.21" + resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" + integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== + + log-symbols@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-4.1.0.tgz#3fbdbb95b4683ac9fc785111e792e558d4abd503" + integrity sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg== + dependencies: + chalk "^4.1.0" + is-unicode-supported "^0.1.0" + + long@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/long/-/long-4.0.0.tgz#9a7b71cfb7d361a194ea555241c92f7468d5bf28" + integrity sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA== + + long@^5.2.0, long@^5.2.1: + version "5.2.1" + resolved "https://registry.yarnpkg.com/long/-/long-5.2.1.tgz#e27595d0083d103d2fa2c20c7699f8e0c92b897f" + integrity sha512-GKSNGeNAtw8IryjjkhZxuKB3JzlcLTwjtiQCHKvqQet81I93kXslhDQruGI/QsddO83mcDToBVy7GqGS/zYf/A== + + lru-cache@^5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920" + integrity sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w== + dependencies: + yallist "^3.0.2" + + 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" + + lru-cache@^7.4.4, lru-cache@^7.5.1, lru-cache@^7.7.1: + version "7.14.1" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-7.14.1.tgz#8da8d2f5f59827edb388e63e459ac23d6d408fea" + integrity sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA== + + lru-queue@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/lru-queue/-/lru-queue-0.1.0.tgz#2738bd9f0d3cf4f84490c5736c48699ac632cda3" + integrity sha512-BpdYkt9EvGl8OfWHDQPISVpcl5xZthb+XPsbELj5AQXxIC8IriDZIQYjBJPEm5rS420sjZ0TLEzRcq5KdBhYrQ== + dependencies: + es5-ext "~0.10.2" + + magic-string@^0.25.7: + version "0.25.9" + resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.9.tgz#de7f9faf91ef8a1c91d02c2e5314c8277dbcdd1c" + integrity sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ== + dependencies: + sourcemap-codec "^1.4.8" + + magic-string@^0.26.7: + version "0.26.7" + resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.26.7.tgz#caf7daf61b34e9982f8228c4527474dac8981d6f" + integrity sha512-hX9XH3ziStPoPhJxLq1syWuZMxbDvGNbVchfrdCtanC7D13888bMFow61x8axrx+GfHLtVeAx2kxL7tTGRl+Ow== + dependencies: + sourcemap-codec "^1.4.8" + + magic-string@^0.27.0: + version "0.27.0" + resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.27.0.tgz#e4a3413b4bab6d98d2becffd48b4a257effdbbf3" + integrity sha512-8UnnX2PeRAPZuN12svgR9j7M1uWMovg/CEnIwIG0LFkXSJJe4PdfUGiTGl8V9bsBHFUtfVINcSyYxd7q+kx9fA== + dependencies: + "@jridgewell/sourcemap-codec" "^1.4.13" + + make-dir@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-2.1.0.tgz#5f0310e18b8be898cc07009295a30ae41e91e6f5" + integrity sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA== + dependencies: + pify "^4.0.1" + semver "^5.6.0" + + make-dir@^3.0.0, make-dir@^3.0.2: + version "3.1.0" + resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-3.1.0.tgz#415e967046b3a7f1d185277d84aa58203726a13f" + integrity sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw== + dependencies: + semver "^6.0.0" + + make-fetch-happen@^10.0.3, make-fetch-happen@^10.0.6: + version "10.2.1" + resolved "https://registry.yarnpkg.com/make-fetch-happen/-/make-fetch-happen-10.2.1.tgz#f5e3835c5e9817b617f2770870d9492d28678164" + integrity sha512-NgOPbRiaQM10DYXvN3/hhGVI2M5MtITFryzBGxHM5p4wnFxsVCbxkrBrDsk+EZ5OB4jEOT7AjDxtdF+KVEFT7w== + dependencies: + agentkeepalive "^4.2.1" + cacache "^16.1.0" + http-cache-semantics "^4.1.0" + http-proxy-agent "^5.0.0" + https-proxy-agent "^5.0.0" + is-lambda "^1.0.1" + lru-cache "^7.7.1" + minipass "^3.1.6" + minipass-collect "^1.0.2" + minipass-fetch "^2.0.3" + minipass-flush "^1.0.5" + minipass-pipeline "^1.2.4" + negotiator "^0.6.3" + promise-retry "^2.0.1" + socks-proxy-agent "^7.0.0" + ssri "^9.0.0" + + makeerror@1.0.12: + version "1.0.12" + resolved "https://registry.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/map-obj/-/map-obj-4.3.0.tgz#9304f906e93faae70880da102a9f1df0ea8bb05a" + integrity sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ== + + md-editor-v3@^2.8.1: + version "2.8.1" + resolved "https://registry.yarnpkg.com/md-editor-v3/-/md-editor-v3-2.8.1.tgz#190ed35d7c9aaa13b8255e0211b83da3ad1e6c23" + integrity sha512-xAPcwIHmL+jR5SNztBXSYN2/9L92dOTVs81QjzJAz9Og1o8HDEQnWcFbwG4aqNLCINPgUBgX370ajF6zc4bHEA== + + mdn-data@2.0.14: + version "2.0.14" + resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.14.tgz#7113fc4281917d63ce29b43446f701e68c25ba50" + integrity sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow== + + memoizee@^0.4.15: + version "0.4.15" + resolved "https://registry.yarnpkg.com/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" + + memory-fs@^0.5.0: + version "0.5.0" + resolved "https://registry.yarnpkg.com/memory-fs/-/memory-fs-0.5.0.tgz#324c01288b88652966d161db77838720845a8e3c" + integrity sha512-jA0rdU5KoQMC0e6ppoNRtpp6vjFq6+NY7r8hywnC7V+1Xj/MtHwGIbB1QaK/dunyjWteJzmkpd7ooeWg10T7GA== + dependencies: + errno "^0.1.3" + readable-stream "^2.0.1" + + memorystream@^0.3.1: + version "0.3.1" + resolved "https://registry.yarnpkg.com/memorystream/-/memorystream-0.3.1.tgz#86d7090b30ce455d63fbae12dda51a47ddcaf9b2" + integrity sha512-S3UwM3yj5mtUSEfP41UZmt/0SCoVYUcU1rkXv+BQ5Ig8ndL4sPoJNBUJERafdPb5jjHJGuMgytgKvKIf58XNBw== + + meow@^8.0.0: + version "8.1.2" + resolved "https://registry.yarnpkg.com/meow/-/meow-8.1.2.tgz#bcbe45bda0ee1729d350c03cffc8395a36c4e897" + 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: + version "2.0.0" + resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" + integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w== + + merge2@^1.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" + + mimic-fn@^1.0.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/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.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.5: + version "3.0.5" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.5.tgz#4da8f1290ee0f0f8e83d60ca69f8f134068604a3" + integrity sha512-tUpxzX0VAzJHjLu0xUfFv1gwVp9ba3IOuRAVH2EGuRW8a5emA2FlACLqiT/lDVtS1W+TGNwqz3sWaNyLgDJWuw== + dependencies: + brace-expansion "^1.1.7" + + minimatch@5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-5.1.0.tgz#1717b464f4971b144f6aabe8f2d0b8e4511e09c7" + integrity sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg== + dependencies: + brace-expansion "^2.0.1" + + minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2: + version "3.1.2" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" + integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== + dependencies: + brace-expansion "^1.1.7" + + minimatch@^5.0.1, minimatch@^5.1.1: + version "5.1.6" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-5.1.6.tgz#1cfcb8cf5522ea69952cd2af95ae09477f122a96" + integrity sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g== + dependencies: + brace-expansion "^2.0.1" + + minimatch@^6.1.6: + version "6.1.6" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-6.1.6.tgz#5384bb324be5b5dae12a567c03d22908febd0ddd" + integrity sha512-6bR3UIeh/DF8+p6A9Spyuy67ShOq42rOkHWi7eUe3Ua99Zo5lZfGC6lJJWkeoK4k9jQFT3Pl7czhTXimG2XheA== + dependencies: + brace-expansion "^2.0.1" + + minimist-options@4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/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: + version "1.2.6" + resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.6.tgz#8637a5b759ea0d6e98702cfb3a9283323c93af44" + integrity sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q== + + minimist@^1.2.0, minimist@^1.2.5, minimist@^1.2.6: + version "1.2.7" + resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.7.tgz#daa1c4d91f507390437c6a8bc01078e7000c4d18" + integrity sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g== + + minipass-collect@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/minipass-collect/-/minipass-collect-1.0.2.tgz#22b813bf745dc6edba2576b940022ad6edc8c617" + integrity sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA== + dependencies: + minipass "^3.0.0" + + minipass-fetch@^2.0.3: + version "2.1.2" + resolved "https://registry.yarnpkg.com/minipass-fetch/-/minipass-fetch-2.1.2.tgz#95560b50c472d81a3bc76f20ede80eaed76d8add" + integrity sha512-LT49Zi2/WMROHYoqGgdlQIZh8mLPZmOrN2NdJjMXxYe4nkN6FUyuPuOAOedNJDrx0IRGg9+4guZewtp8hE6TxA== + dependencies: + minipass "^3.1.6" + minipass-sized "^1.0.3" + minizlib "^2.1.2" + optionalDependencies: + encoding "^0.1.13" + + minipass-flush@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/minipass-flush/-/minipass-flush-1.0.5.tgz#82e7135d7e89a50ffe64610a787953c4c4cbb373" + integrity sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw== + dependencies: + minipass "^3.0.0" + + minipass-json-stream@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/minipass-json-stream/-/minipass-json-stream-1.0.1.tgz#7edbb92588fbfc2ff1db2fc10397acb7b6b44aa7" + integrity sha512-ODqY18UZt/I8k+b7rl2AENgbWE8IDYam+undIJONvigAz8KR5GWblsFTEfQs0WODsjbSXWlm+JHEv8Gr6Tfdbg== + dependencies: + jsonparse "^1.3.1" + minipass "^3.0.0" + + minipass-pipeline@^1.2.4: + version "1.2.4" + resolved "https://registry.yarnpkg.com/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz#68472f79711c084657c067c5c6ad93cddea8214c" + integrity sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A== + dependencies: + minipass "^3.0.0" + + minipass-sized@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/minipass-sized/-/minipass-sized-1.0.3.tgz#70ee5a7c5052070afacfbc22977ea79def353b70" + integrity sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g== + dependencies: + minipass "^3.0.0" + + minipass@^3.0.0, minipass@^3.1.1, minipass@^3.1.6: + version "3.3.6" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-3.3.6.tgz#7bba384db3a1520d18c9c0e5251c3444e95dd94a" + integrity sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw== + dependencies: + yallist "^4.0.0" + + minipass@^4.0.0: + version "4.0.1" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-4.0.1.tgz#2b9408c6e81bb8b338d600fb3685e375a370a057" + integrity sha512-V9esFpNbK0arbN3fm2sxDKqMYgIp7XtVdE4Esj+PE4Qaaxdg1wIw48ITQIOn1sc8xXSmUviVL3cyjMqPlrVkiA== + + minizlib@^2.1.1, minizlib@^2.1.2: + version "2.1.2" + resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-2.1.2.tgz#e90d3466ba209b932451508a11ce3d3632145931" + integrity sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg== + dependencies: + minipass "^3.0.0" + yallist "^4.0.0" + + mkdirp-infer-owner@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/mkdirp-infer-owner/-/mkdirp-infer-owner-2.0.0.tgz#55d3b368e7d89065c38f32fd38e638f0ab61d316" + integrity sha512-sdqtiFt3lkOaYvTXSRIUjkIdPTcxgv5+fgqYE/5qgwdw12cOrAuzzgzvVExIkH/ul1oeHN3bCLOWSG3XOqbKKw== + dependencies: + 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.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" + integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== + + mlly@^1.0.0, mlly@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/mlly/-/mlly-1.1.0.tgz#9e23c5e675ef7b10cc47ee6281795cb1a7aa3aa2" + integrity sha512-cwzBrBfwGC1gYJyfcy8TcZU1f+dbH/T+TuOhtYP2wLv/Fb51/uV7HJQfBPtEupZ2ORLRU1EKFS/QfS3eo9+kBQ== + dependencies: + acorn "^8.8.1" + pathe "^1.0.0" + pkg-types "^1.0.1" + ufo "^1.0.1" + + modify-values@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/modify-values/-/modify-values-1.0.1.tgz#b3939fa605546474e3e3e3c63d64bd43b4ee6022" + integrity sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw== + + mri@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/mri/-/mri-1.2.0.tgz#6721480fec2a11a4889861115a48b6cbe7cc8f0b" + integrity sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA== + + 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.0.0: + version "2.1.3" + resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" + integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== + + muggle-string@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/muggle-string/-/muggle-string-0.1.0.tgz#1fda8a281c8b27bb8b70466dbc9f27586a8baa6c" + integrity sha512-Tr1knR3d2mKvvWthlk7202rywKbiOm4rVFLsfAaSIhJ6dt9o47W4S+JMtWhd/PW9Wrdew2/S2fSvhz3E2gkfEg== + + multimatch@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/multimatch/-/multimatch-5.0.0.tgz#932b800963cea7a31a033328fa1e0c3a1874dbe6" + integrity sha512-ypMKuglUrZUD99Tk2bUQ+xNQj43lPEfAeX2o9cTteAmShXy2VHDJpuwu1o0xqoKCt9jLVAvwyFKdLTPXKAfJyA== + dependencies: + "@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.yarnpkg.com/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.yarnpkg.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d" + integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA== + + mz@^2.7.0: + version "2.7.0" + resolved "https://registry.yarnpkg.com/mz/-/mz-2.7.0.tgz#95008057a56cafadc2bc63dde7f9ff6955948e32" + integrity sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q== + dependencies: + any-promise "^1.0.0" + object-assign "^4.0.1" + thenify-all "^1.0.0" + + 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-lite@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz#17b09581988979fddafe0201e931ba933c96cbb4" + integrity sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g== + + 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== + + negotiator@^0.6.3: + version "0.6.3" + resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.3.tgz#58e323a72fedc0d6f9cd4d31fe49f51479590ccd" + integrity sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg== + + neo-async@^2.6.0: + version "2.6.2" + resolved "https://registry.yarnpkg.com/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.yarnpkg.com/next-tick/-/next-tick-1.1.0.tgz#1836ee30ad56d67ef281b22bd199f709449b35eb" + integrity sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ== + + nice-try@^1.0.4: + version "1.0.5" + resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366" + integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ== + + node-addon-api@^3.2.1: + version "3.2.1" + resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-3.2.1.tgz#81325e0a2117789c0128dab65e7e38f07ceba161" + integrity sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A== + + node-fetch-native@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/node-fetch-native/-/node-fetch-native-1.0.1.tgz#1dfe78f57545d07e07016b7df4c0cb9d2ff416c7" + integrity sha512-VzW+TAk2wE4X9maiKMlT+GsPU4OMmR1U9CrHSmd3DFLn2IcZ9VJ6M6BBugGfYUnPCLSYxXdZy17M0BEJyhUTwg== + + node-fetch@2.6.7: + version "2.6.7" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.7.tgz#24de9fba827e3b4ae44dc8b20256a379160052ad" + integrity sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ== + dependencies: + whatwg-url "^5.0.0" + + node-fetch@^2.6.1, node-fetch@^2.6.7: + version "2.6.9" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.9.tgz#7c7f744b5cc6eb5fd404e0c7a9fec630a55657e6" + integrity sha512-DJm/CJkZkRjKKj4Zi4BsKVZh3ValV5IR5s7LVZnW+6YMh0W1BfNA8XSs6DLMGYlId5F3KnA70uu2qepcR08Qqg== + dependencies: + whatwg-url "^5.0.0" + + node-gyp-build@^4.3.0: + version "4.6.0" + resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.6.0.tgz#0c52e4cbf54bbd28b709820ef7b6a3c2d6209055" + integrity sha512-NTZVKn9IylLwUzaKjkas1e4u2DLNcV4rdYagA4PWdPwW87Bi7z+BznyKSRwS/761tV/lzCGXplWsiaMjLqP2zQ== + + node-gyp@^9.0.0: + version "9.3.1" + resolved "https://registry.yarnpkg.com/node-gyp/-/node-gyp-9.3.1.tgz#1e19f5f290afcc9c46973d68700cbd21a96192e4" + integrity sha512-4Q16ZCqq3g8awk6UplT7AuxQ35XN4R/yf/+wSAwcBUAjg7l58RTactWaP8fIDTi0FzI7YcVLujwExakZlfWkXg== + dependencies: + env-paths "^2.2.0" + glob "^7.1.4" + graceful-fs "^4.2.6" + make-fetch-happen "^10.0.3" + nopt "^6.0.0" + npmlog "^6.0.0" + rimraf "^3.0.2" + semver "^7.3.5" + tar "^6.1.2" + which "^2.0.2" + + node-int64@^0.4.0: + version "0.4.0" + resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b" + integrity sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw== + + node-releases@^2.0.8: + version "2.0.10" + resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.10.tgz#c311ebae3b6a148c89b1813fd7c4d3c024ef537f" + integrity sha512-5GFldHPXVG/YZmFzJvKK2zDSzPKhEp0+ZR5SVaoSag9fsL5YgHbUHDfnG5494ISANDcK4KwPXAx2xqVEydmd7w== + + nopt@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/nopt/-/nopt-5.0.0.tgz#530942bb58a512fccafe53fe210f13a25355dc88" + integrity sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ== + dependencies: + abbrev "1" + + nopt@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/nopt/-/nopt-6.0.0.tgz#245801d8ebf409c6df22ab9d95b65e1309cdb16d" + integrity sha512-ZwLpbTgdhuZUnZzjd7nb1ZV+4DoiC6/sfiVKok72ym/4Tlf+DFdlHYmT2JPmcNNWV6Pi3SDf1kT+A4r9RTuT9g== + dependencies: + abbrev "^1.0.0" + + normalize-package-data@^2.3.2, normalize-package-data@^2.5.0: + version "2.5.0" + resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.5.0.tgz#e66db1838b200c1dfc233225d12cb36520e234a8" + integrity sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA== + 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: + version "3.0.3" + resolved "https://registry.yarnpkg.com/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-package-data@^4.0.0: + version "4.0.1" + resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-4.0.1.tgz#b46b24e0616d06cadf9d5718b29b6d445a82a62c" + integrity sha512-EBk5QKKuocMJhB3BILuKhmaPjI8vNRSpIfO9woLC6NyHVkKKdVEdAO1mrT0ZfxNR1lKwCcTkuZfmGIFdizZ8Pg== + dependencies: + hosted-git-info "^5.0.0" + is-core-module "^2.8.1" + semver "^7.3.5" + validate-npm-package-license "^3.0.4" + + normalize-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-url@^6.0.1: + version "6.1.0" + resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-6.1.0.tgz#40d0885b535deffe3f3147bec877d05fe4c5668a" + integrity sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A== + + npm-bundled@^1.1.1: + version "1.1.2" + resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-1.1.2.tgz#944c78789bd739035b70baa2ca5cc32b8d860bc1" + integrity sha512-x5DHup0SuyQcmL3s7Rx/YQ8sbw/Hzg0rj48eN0dV7hf5cmQq5PXIeioroH3raV1QC1yh3uTYuMThvEQF3iKgGQ== + dependencies: + npm-normalize-package-bin "^1.0.1" + + npm-bundled@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-2.0.1.tgz#94113f7eb342cd7a67de1e789f896b04d2c600f4" + integrity sha512-gZLxXdjEzE/+mOstGDqR6b0EkhJ+kM6fxM6vUuckuctuVPh80Q6pw/rSZj9s4Gex9GxWtIicO1pc8DB9KZWudw== + dependencies: + npm-normalize-package-bin "^2.0.0" + + npm-install-checks@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/npm-install-checks/-/npm-install-checks-5.0.0.tgz#5ff27d209a4e3542b8ac6b0c1db6063506248234" + integrity sha512-65lUsMI8ztHCxFz5ckCEC44DRvEGdZX5usQFriauxHEwt7upv1FKaQEmAtU0YnOAdwuNWCmk64xYiQABNrEyLA== + dependencies: + semver "^7.1.1" + + npm-normalize-package-bin@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz#6e79a41f23fd235c0623218228da7d9c23b8f6e2" + integrity sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA== + + npm-normalize-package-bin@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/npm-normalize-package-bin/-/npm-normalize-package-bin-2.0.0.tgz#9447a1adaaf89d8ad0abe24c6c84ad614a675fff" + integrity sha512-awzfKUO7v0FscrSpRoogyNm0sajikhBWpU0QMrW09AMi9n1PoKU6WaIqUzuJSQnpciZZmJ/jMZ2Egfmb/9LiWQ== + + npm-package-arg@8.1.1: + version "8.1.1" + resolved "https://registry.yarnpkg.com/npm-package-arg/-/npm-package-arg-8.1.1.tgz#00ebf16ac395c63318e67ce66780a06db6df1b04" + integrity sha512-CsP95FhWQDwNqiYS+Q0mZ7FAEDytDZAkNxQqea6IaAFJTAY9Lhhqyl0irU/6PMc7BGfUmnsbHcqxJD7XuVM/rg== + dependencies: + hosted-git-info "^3.0.6" + semver "^7.0.0" + validate-npm-package-name "^3.0.0" + + npm-package-arg@^9.0.0, npm-package-arg@^9.0.1: + version "9.1.2" + resolved "https://registry.yarnpkg.com/npm-package-arg/-/npm-package-arg-9.1.2.tgz#fc8acecb00235f42270dda446f36926ddd9ac2bc" + integrity sha512-pzd9rLEx4TfNJkovvlBSLGhq31gGu2QDexFPWT19yCDh0JgnRhlBLNo5759N0AJmBk+kQ9Y/hXoLnlgFD+ukmg== + dependencies: + hosted-git-info "^5.0.0" + proc-log "^2.0.1" + semver "^7.3.5" + validate-npm-package-name "^4.0.0" + + npm-packlist@^5.1.0, npm-packlist@^5.1.1: + version "5.1.3" + resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-5.1.3.tgz#69d253e6fd664b9058b85005905012e00e69274b" + integrity sha512-263/0NGrn32YFYi4J533qzrQ/krmmrWwhKkzwTuM4f/07ug51odoaNjUexxO4vxlzURHcmYMH1QjvHjsNDKLVg== + dependencies: + glob "^8.0.1" + ignore-walk "^5.0.1" + npm-bundled "^2.0.0" + npm-normalize-package-bin "^2.0.0" + + npm-pick-manifest@^7.0.0: + version "7.0.2" + resolved "https://registry.yarnpkg.com/npm-pick-manifest/-/npm-pick-manifest-7.0.2.tgz#1d372b4e7ea7c6712316c0e99388a73ed3496e84" + integrity sha512-gk37SyRmlIjvTfcYl6RzDbSmS9Y4TOBXfsPnoYqTHARNgWbyDiCSMLUpmALDj4jjcTZpURiEfsSHJj9k7EV4Rw== + dependencies: + npm-install-checks "^5.0.0" + npm-normalize-package-bin "^2.0.0" + npm-package-arg "^9.0.0" + semver "^7.3.5" + + npm-registry-fetch@^13.0.0, npm-registry-fetch@^13.0.1, npm-registry-fetch@^13.3.0: + version "13.3.1" + resolved "https://registry.yarnpkg.com/npm-registry-fetch/-/npm-registry-fetch-13.3.1.tgz#bb078b5fa6c52774116ae501ba1af2a33166af7e" + integrity sha512-eukJPi++DKRTjSBRcDZSDDsGqRK3ehbxfFUcgaRd0Yp6kRwOwh2WVn0r+8rMB4nnuzvAk6rQVzl6K5CkYOmnvw== + dependencies: + make-fetch-happen "^10.0.6" + minipass "^3.1.6" + minipass-fetch "^2.0.3" + minipass-json-stream "^1.0.1" + minizlib "^2.1.2" + npm-package-arg "^9.0.1" + proc-log "^2.0.0" + + npm-run-all@^4.1.5: + version "4.1.5" + resolved "https://registry.yarnpkg.com/npm-run-all/-/npm-run-all-4.1.5.tgz#04476202a15ee0e2e214080861bff12a51d98fba" + integrity sha512-Oo82gJDAVcaMdi3nuoKFavkIHBRVqQ1qvMb+9LHk/cF4P6B2m8aP04hGf7oL6wZ9BuGwX1onlLhpuoofSyoQDQ== + dependencies: + ansi-styles "^3.2.1" + chalk "^2.4.1" + cross-spawn "^6.0.5" + memorystream "^0.3.1" + minimatch "^3.0.4" + pidtree "^0.3.0" + read-pkg "^3.0.0" + shell-quote "^1.6.1" + string.prototype.padend "^3.0.0" + + npm-run-path@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-4.0.1.tgz#b7ecd1e5ed53da8e37a55e1c2269e0b97ed748ea" + integrity sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw== + dependencies: + path-key "^3.0.0" + + npmlog@^6.0.0, npmlog@^6.0.2: + version "6.0.2" + resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-6.0.2.tgz#c8166017a42f2dea92d6453168dd865186a70830" + integrity sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg== + dependencies: + are-we-there-yet "^3.0.0" + console-control-strings "^1.1.0" + gauge "^4.0.3" + set-blocking "^2.0.0" + + nth-check@^2.0.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/nth-check/-/nth-check-2.1.1.tgz#c9eab428effce36cd6b92c924bdb000ef1f1ed1d" + integrity sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w== + dependencies: + boolbase "^1.0.0" + + numeral@^2.0.6: + version "2.0.6" + resolved "https://registry.yarnpkg.com/numeral/-/numeral-2.0.6.tgz#4ad080936d443c2561aed9f2197efffe25f4e506" + integrity sha512-qaKRmtYPZ5qdw4jWJD6bxEf1FJEqllJrwxCLIm0sQU/A7v2/czigzOb+C2uSiFsa9lBUzeH7M1oK+Q+OLxL3kA== + + nx@15.6.3, "nx@>=15.4.2 < 16": + version "15.6.3" + resolved "https://registry.yarnpkg.com/nx/-/nx-15.6.3.tgz#900087bce38c6e5975660c23ebd41ead1bf54f98" + integrity sha512-3t0A0GPLNen1yPAyE+VGZ3nkAzZYb5nfXtAcx8SHBlKq4u42yBY3khBmP1y4Og3jhIwFIj7J7Npeh8ZKrthmYQ== + dependencies: + "@nrwl/cli" "15.6.3" + "@nrwl/tao" "15.6.3" + "@parcel/watcher" "2.0.4" + "@yarnpkg/lockfile" "^1.1.0" + "@yarnpkg/parsers" "^3.0.0-rc.18" + "@zkochan/js-yaml" "0.0.6" + axios "^1.0.0" + chalk "^4.1.0" + cli-cursor "3.1.0" + cli-spinners "2.6.1" + cliui "^7.0.2" + dotenv "~10.0.0" + enquirer "~2.3.6" + fast-glob "3.2.7" + figures "3.2.0" + flat "^5.0.2" + fs-extra "^11.1.0" + glob "7.1.4" + ignore "^5.0.4" + js-yaml "4.1.0" + jsonc-parser "3.2.0" + lines-and-columns "~2.0.3" + minimatch "3.0.5" + npm-run-path "^4.0.1" + open "^8.4.0" + semver "7.3.4" + string-width "^4.2.3" + strong-log-transformer "^2.1.0" + tar-stream "~2.2.0" + tmp "~0.2.1" + tsconfig-paths "^4.1.2" + tslib "^2.3.0" + v8-compile-cache "2.3.0" + yargs "^17.6.2" + yargs-parser "21.1.1" + + object-assign@^4.0.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-inspect@^1.12.2, object-inspect@^1.9.0: + version "1.12.3" + resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.3.tgz#ba62dffd67ee256c8c086dfae69e016cd1f198b9" + integrity sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g== + + object-is@^1.1.5: + version "1.1.5" + resolved "https://registry.yarnpkg.com/object-is/-/object-is-1.1.5.tgz#b9deeaa5fc7f1846a0faecdceec138e5778f53ac" + integrity sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.3" + + 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.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" + + once@^1.3.0, once@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" + integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w== + dependencies: + wrappy "1" + + onetime@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/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.yarnpkg.com/onetime/-/onetime-5.1.2.tgz#d0e96ebb56b07476df1dd9c4806e5237985ca45e" + integrity sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg== + dependencies: + mimic-fn "^2.1.0" + + open@^8.4.0: + version "8.4.0" + resolved "https://registry.yarnpkg.com/open/-/open-8.4.0.tgz#345321ae18f8138f82565a910fdc6b39e8c244f8" + integrity sha512-XgFPPM+B28FtCCgSb9I+s9szOC1vZRSwgWsRUA5ylIxRTgKozqjOCrVOqGsYABPYK5qnfqClxZTFBa8PKt2v6Q== + dependencies: + define-lazy-prop "^2.0.0" + is-docker "^2.1.1" + is-wsl "^2.2.0" + + 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" + + ora@^5.4.1: + version "5.4.1" + resolved "https://registry.yarnpkg.com/ora/-/ora-5.4.1.tgz#1b2678426af4ac4a509008e5e4ac9e9959db9e18" + integrity sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ== + dependencies: + bl "^4.1.0" + chalk "^4.1.0" + cli-cursor "^3.1.0" + cli-spinners "^2.5.0" + is-interactive "^1.0.0" + is-unicode-supported "^0.1.0" + log-symbols "^4.1.0" + strip-ansi "^6.0.0" + wcwidth "^1.0.1" + + os-tmpdir@~1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" + integrity sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g== + + osmojs@^14.0.0-rc.0: + version "14.0.0-rc.0" + resolved "https://registry.yarnpkg.com/osmojs/-/osmojs-14.0.0-rc.0.tgz#c49847b667ee86973f2260c9ca71cc2a76bbedbc" + integrity sha512-YXtg5mxaACWc0N8vKqWvdV3ZO9y/NgtJeUQPvjin+bkveEMkJA4RSN0nl0kRTKQIY6Tjt8YWgae+/98VF/2pzA== + dependencies: + "@babel/runtime" "^7.19.0" + "@cosmjs/amino" "0.29.3" + "@cosmjs/proto-signing" "0.29.3" + "@cosmjs/stargate" "0.29.3" + "@cosmjs/tendermint-rpc" "^0.29.3" + "@osmonauts/lcd" "^0.8.0" + long "^5.2.0" + protobufjs "^6.11.3" + + p-finally@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/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.yarnpkg.com/p-limit/-/p-limit-1.3.0.tgz#b86bd5f0c25690911c7590fcbfc2010d54b3ccb8" + integrity sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q== + dependencies: + p-try "^1.0.0" + + p-limit@^2.2.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.3.0.tgz#3dd33c647a214fdfffd835933eb086da0dc21db1" + integrity sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w== + dependencies: + p-try "^2.0.0" + + 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@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-2.0.0.tgz#20a0103b222a70c8fd39cc2e580680f3dde5ec43" + integrity sha512-nQja7m7gSKuewoVRen45CtVfODR3crN3goVQ0DDZ9N3yHxgpkuBhZqsaiotSQRrADUrne346peY7kT3TSACykg== + dependencies: + p-limit "^1.1.0" + + p-locate@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-4.1.0.tgz#a3428bb7088b3a60292f66919278b7c297ad4f07" + integrity sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A== + dependencies: + p-limit "^2.2.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" + + p-map-series@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/p-map-series/-/p-map-series-2.1.0.tgz#7560d4c452d9da0c07e692fdbfe6e2c81a2a91f2" + integrity sha512-RpYIIK1zXSNEOdwxcfe7FdvGcs7+y5n8rifMhMNWvaxRNMPINJHF5GDeuVxWqnfrcHPSCnp7Oo5yNXHId9Av2Q== + + p-map@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/p-map/-/p-map-4.0.0.tgz#bb2f95a5eda2ec168ec9274e06a747c3e2904d2b" + integrity sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ== + dependencies: + aggregate-error "^3.0.0" + + p-pipe@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/p-pipe/-/p-pipe-3.1.0.tgz#48b57c922aa2e1af6a6404cb7c6bf0eb9cc8e60e" + integrity sha512-08pj8ATpzMR0Y80x50yJHn37NF6vjrqHutASaX5LiH5npS9XPvrUmscd9MF5R4fuYRHOxQR1FfMIlF7AzwoPqw== + + p-queue@^6.6.2: + version "6.6.2" + resolved "https://registry.yarnpkg.com/p-queue/-/p-queue-6.6.2.tgz#2068a9dcf8e67dd0ec3e7a2bcb76810faa85e426" + integrity sha512-RwFpb72c/BhQLEXIZ5K2e+AhgNVmIejGlTgiB9MzZ0e93GRvqZ7uSi0dvRF7/XIXDeNkra2fNHBxTyPDGySpjQ== + dependencies: + eventemitter3 "^4.0.4" + p-timeout "^3.2.0" + + p-reduce@^2.0.0, p-reduce@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/p-reduce/-/p-reduce-2.1.0.tgz#09408da49507c6c274faa31f28df334bc712b64a" + integrity sha512-2USApvnsutq8uoxZBGbbWM0JIYLiEMJ9RlaN7fAzVNb9OZN0SHjjTTfIcb667XynS5Y1VhwDJVDa72TnPzAYWw== + + p-timeout@^3.2.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/p-timeout/-/p-timeout-3.2.0.tgz#c7e17abc971d2a7962ef83626b35d635acf23dfe" + integrity sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg== + dependencies: + p-finally "^1.0.0" + + p-try@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/p-try/-/p-try-1.0.0.tgz#cbc79cdbaf8fd4228e13f621f2b1a237c1b207b3" + integrity sha512-U1etNYuMJoIz3ZXSrrySFjsXQTWOx2/jdi86L+2pRvph/qMKL6sbcCYdH23fqsbm8TH2Gn0OybpT4eSFlCVHww== + + p-try@^2.0.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" + integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== + + p-waterfall@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/p-waterfall/-/p-waterfall-2.1.1.tgz#63153a774f472ccdc4eb281cdb2967fcf158b2ee" + integrity sha512-RRTnDb2TBG/epPRI2yYXsimO0v3BXC8Yd3ogr1545IaqKK17VGhbWVeGGN+XfCm/08OK8635nH31c8bATkHuSw== + dependencies: + p-reduce "^2.0.0" + + pacote@^13.0.3, pacote@^13.6.1: + version "13.6.2" + resolved "https://registry.yarnpkg.com/pacote/-/pacote-13.6.2.tgz#0d444ba3618ab3e5cd330b451c22967bbd0ca48a" + integrity sha512-Gu8fU3GsvOPkak2CkbojR7vjs3k3P9cA6uazKTHdsdV0gpCEQq2opelnEv30KRQWgVzP5Vd/5umjcedma3MKtg== + dependencies: + "@npmcli/git" "^3.0.0" + "@npmcli/installed-package-contents" "^1.0.7" + "@npmcli/promise-spawn" "^3.0.0" + "@npmcli/run-script" "^4.1.0" + cacache "^16.0.0" + chownr "^2.0.0" + fs-minipass "^2.1.0" + infer-owner "^1.0.4" + minipass "^3.1.6" + mkdirp "^1.0.4" + npm-package-arg "^9.0.0" + npm-packlist "^5.1.0" + npm-pick-manifest "^7.0.0" + npm-registry-fetch "^13.0.1" + proc-log "^2.0.0" + promise-retry "^2.0.1" + read-package-json "^5.0.0" + read-package-json-fast "^2.0.3" + rimraf "^3.0.2" + ssri "^9.0.0" + tar "^6.1.11" + + 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-code-context@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/parse-code-context/-/parse-code-context-1.0.0.tgz#718c295c593d0d19a37f898473268cc75e98de1e" + integrity sha512-OZQaqKaQnR21iqhlnPfVisFjBWjhnMl5J9MgbP8xC+EwoVqbXrq78lp+9Zb3ahmLzrIX5Us/qbvBnaS3hkH6OA== + + parse-conflict-json@^2.0.1: + version "2.0.2" + resolved "https://registry.yarnpkg.com/parse-conflict-json/-/parse-conflict-json-2.0.2.tgz#3d05bc8ffe07d39600dc6436c6aefe382033d323" + integrity sha512-jDbRGb00TAPFsKWCpZZOT93SxVP9nONOSgES3AevqRq/CHvavEBvKAjxX9p5Y5F0RZLxH9Ufd9+RwtCsa+lFDA== + dependencies: + json-parse-even-better-errors "^2.3.1" + just-diff "^5.0.1" + just-diff-apply "^5.2.0" + + parse-json@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/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: + 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" + + parse-package-name@1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/parse-package-name/-/parse-package-name-1.0.0.tgz#1a108757e4ffc6889d5e78bcc4932a97c097a5a7" + integrity sha512-kBeTUtcj+SkyfaW4+KBe0HtsloBJ/mKTPoxpVdA57GZiPerREsUWJOhVj9anXweFiJkm5y8FG1sxFZkZ0SN6wg== + + parse-path@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/parse-path/-/parse-path-7.0.0.tgz#605a2d58d0a749c8594405d8cc3a2bf76d16099b" + integrity sha512-Euf9GG8WT9CdqwuWJGdf3RkUcTBArppHABkO7Lm8IzRQp0e2r/kkFnmhu4TSK30Wcu5rVAZLmfPKSBBi9tWFog== + dependencies: + protocols "^2.0.0" + + parse-url@^8.1.0: + version "8.1.0" + resolved "https://registry.yarnpkg.com/parse-url/-/parse-url-8.1.0.tgz#972e0827ed4b57fc85f0ea6b0d839f0d8a57a57d" + integrity sha512-xDvOoLU5XRrcOZvnI6b8zA6n9O9ejNk/GExuz1yBuWUGn9KA97GI6HTs6u02wKara1CeVmZhH+0TZFdWScR89w== + dependencies: + parse-path "^7.0.0" + + path-exists@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" + integrity sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ== + + 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@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" + integrity sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw== + + path-key@^3.0.0, path-key@^3.1.0: + version "3.1.1" + resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" + 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@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/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.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" + integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== + + pathe@^1.0.0, pathe@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/pathe/-/pathe-1.1.0.tgz#e2e13f6c62b31a3289af4ba19886c230f295ec03" + integrity sha512-ODbEPR0KKHqECXW1GoxdDb+AZvULmXjVPy4rt+pGo2+TnjJTIPJQSVS6N63n8T2Ip+syHhbn52OewKicV0373w== + + perfect-scrollbar@^1.5.5: + version "1.5.5" + resolved "https://registry.yarnpkg.com/perfect-scrollbar/-/perfect-scrollbar-1.5.5.tgz#41a211a2fb52a7191eff301432134ea47052b27f" + integrity sha512-dzalfutyP3e/FOpdlhVryN4AJ5XDVauVWxybSkLZmakFE2sS3y3pc4JnSprw8tGmHvkaG5Edr5T7LBTZ+WWU2g== + + picocolors@^0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/picocolors/-/picocolors-0.2.1.tgz#570670f793646851d1ba135996962abad587859f" + integrity sha512-cMlDqaLEqfSaW8Z7N5Jw+lyIW869EzT73/F5lhtY9cLGoVxSXznfgfXMO0Z5K0o0Q2TkTXq+0KFsdnSe3jDViA== + + 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.2.2, picomatch@^2.2.3, picomatch@^2.3.1: + version "2.3.1" + resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" + integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== + + pidtree@^0.3.0: + version "0.3.1" + resolved "https://registry.yarnpkg.com/pidtree/-/pidtree-0.3.1.tgz#ef09ac2cc0533df1f3250ccf2c4d366b0d12114a" + integrity sha512-qQbW94hLHEqCg7nhby4yRC7G2+jYHY4Rguc2bjw7Uug4GIJuu1tvf2uHaZv5Q8zdt+WKJ6qK1FOI6amaWUo5FA== + + 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== + + pify@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/pify/-/pify-3.0.0.tgz#e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176" + integrity sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg== + + pify@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/pify/-/pify-4.0.1.tgz#4b2cd25c50d598735c50292224fd8c6df41e3231" + integrity sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g== + + pify@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/pify/-/pify-5.0.0.tgz#1f5eca3f5e87ebec28cc6d54a0e4aaf00acc127f" + integrity sha512-eW/gHNMlxdSP6dmG6uJip6FXN0EQBwm2clYYd8Wul42Cwu/DK8HEftzsapcNdYe2MfLiIwZqsDk2RDEsTE79hA== + + pinia@^2.0.28: + version "2.0.30" + resolved "https://registry.yarnpkg.com/pinia/-/pinia-2.0.30.tgz#b18a581dad6821ed5fbebfaf631229480ea9d2d9" + integrity sha512-q6DUmxWwe/mQgg+55QQjykpKC+aGeGdaJV3niminl19V08dE+LRTvSEuqi6/NLSGCKHI49KGL6tMNEOssFiMyA== + dependencies: + "@vue/devtools-api" "^6.4.5" + vue-demi "*" + + pirates@^4.0.4: + version "4.0.5" + resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.5.tgz#feec352ea5c3268fb23a37c702ab1699f35a5f3b" + integrity sha512-8V9+HQPupnaXMA23c5hvl69zXvTwTzyAYasnkb0Tts4XvO4CliqONMOnvlq26rkhLC3nWDFBJf73LU1e1VZLaQ== + + pkg-dir@^4.1.0, pkg-dir@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-4.2.0.tgz#f099133df7ede422e81d1d8448270eeb3e4261f3" + integrity sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ== + dependencies: + find-up "^4.0.0" + + pkg-types@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/pkg-types/-/pkg-types-1.0.1.tgz#25234407f9dc63409af45ced9407625ff446a761" + integrity sha512-jHv9HB+Ho7dj6ItwppRDDl0iZRYBD0jsakHXtFgoLr+cHSF6xC+QL54sJmWxyGxOLYSHm0afhXhXcQDQqH9z8g== + dependencies: + jsonc-parser "^3.2.0" + mlly "^1.0.0" + pathe "^1.0.0" + + postcss-calc@^8.2.3: + version "8.2.4" + resolved "https://registry.yarnpkg.com/postcss-calc/-/postcss-calc-8.2.4.tgz#77b9c29bfcbe8a07ff6693dc87050828889739a5" + integrity sha512-SmWMSJmB8MRnnULldx0lQIyhSNvuDl9HfrZkaqqE/WHAhToYsAvDq+yAsA/kIyINDszOp3Rh0GFoNuH5Ypsm3Q== + dependencies: + postcss-selector-parser "^6.0.9" + postcss-value-parser "^4.2.0" + + postcss-colormin@^5.3.0: + version "5.3.0" + resolved "https://registry.yarnpkg.com/postcss-colormin/-/postcss-colormin-5.3.0.tgz#3cee9e5ca62b2c27e84fce63affc0cfb5901956a" + integrity sha512-WdDO4gOFG2Z8n4P8TWBpshnL3JpmNmJwdnfP2gbk2qBA8PWwOYcmjmI/t3CmMeL72a7Hkd+x/Mg9O2/0rD54Pg== + dependencies: + browserslist "^4.16.6" + caniuse-api "^3.0.0" + colord "^2.9.1" + postcss-value-parser "^4.2.0" + + postcss-convert-values@^5.1.3: + version "5.1.3" + resolved "https://registry.yarnpkg.com/postcss-convert-values/-/postcss-convert-values-5.1.3.tgz#04998bb9ba6b65aa31035d669a6af342c5f9d393" + integrity sha512-82pC1xkJZtcJEfiLw6UXnXVXScgtBrjlO5CBmuDQc+dlb88ZYheFsjTn40+zBVi3DkfF7iezO0nJUPLcJK3pvA== + dependencies: + browserslist "^4.21.4" + postcss-value-parser "^4.2.0" + + postcss-discard-comments@^5.1.2: + version "5.1.2" + resolved "https://registry.yarnpkg.com/postcss-discard-comments/-/postcss-discard-comments-5.1.2.tgz#8df5e81d2925af2780075840c1526f0660e53696" + integrity sha512-+L8208OVbHVF2UQf1iDmRcbdjJkuBF6IS29yBDSiWUIzpYaAhtNl6JYnYm12FnkeCwQqF5LeklOu6rAqgfBZqQ== + + postcss-discard-duplicates@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/postcss-discard-duplicates/-/postcss-discard-duplicates-5.1.0.tgz#9eb4fe8456706a4eebd6d3b7b777d07bad03e848" + integrity sha512-zmX3IoSI2aoenxHV6C7plngHWWhUOV3sP1T8y2ifzxzbtnuhk1EdPwm0S1bIUNaJ2eNbWeGLEwzw8huPD67aQw== + + postcss-discard-empty@^5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/postcss-discard-empty/-/postcss-discard-empty-5.1.1.tgz#e57762343ff7f503fe53fca553d18d7f0c369c6c" + integrity sha512-zPz4WljiSuLWsI0ir4Mcnr4qQQ5e1Ukc3i7UfE2XcrwKK2LIPIqE5jxMRxO6GbI3cv//ztXDsXwEWT3BHOGh3A== + + postcss-discard-overridden@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/postcss-discard-overridden/-/postcss-discard-overridden-5.1.0.tgz#7e8c5b53325747e9d90131bb88635282fb4a276e" + integrity sha512-21nOL7RqWR1kasIVdKs8HNqQJhFxLsyRfAnUDm4Fe4t4mCWL9OJiHvlHPjcd8zc5Myu89b/7wZDnOSjFgeWRtw== + + postcss-import-resolver@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/postcss-import-resolver/-/postcss-import-resolver-2.0.0.tgz#95c61ac5489047bd93ff42a9cd405cfe9041e2c0" + integrity sha512-y001XYgGvVwgxyxw9J1a5kqM/vtmIQGzx34g0A0Oy44MFcy/ZboZw1hu/iN3VYFjSTRzbvd7zZJJz0Kh0AGkTw== + dependencies: + enhanced-resolve "^4.1.1" + + postcss-import@^12.0.0: + version "12.0.1" + resolved "https://registry.yarnpkg.com/postcss-import/-/postcss-import-12.0.1.tgz#cf8c7ab0b5ccab5649024536e565f841928b7153" + integrity sha512-3Gti33dmCjyKBgimqGxL3vcV8w9+bsHwO5UrBawp796+jdardbcFl4RP5w/76BwNL7aGzpKstIfF9I+kdE8pTw== + dependencies: + postcss "^7.0.1" + postcss-value-parser "^3.2.3" + read-cache "^1.0.0" + resolve "^1.1.7" + + postcss-merge-longhand@^5.1.7: + version "5.1.7" + resolved "https://registry.yarnpkg.com/postcss-merge-longhand/-/postcss-merge-longhand-5.1.7.tgz#24a1bdf402d9ef0e70f568f39bdc0344d568fb16" + integrity sha512-YCI9gZB+PLNskrK0BB3/2OzPnGhPkBEwmwhfYk1ilBHYVAZB7/tkTHFBAnCrvBBOmeYyMYw3DMjT55SyxMBzjQ== + dependencies: + postcss-value-parser "^4.2.0" + stylehacks "^5.1.1" + + postcss-merge-rules@^5.1.3: + version "5.1.3" + resolved "https://registry.yarnpkg.com/postcss-merge-rules/-/postcss-merge-rules-5.1.3.tgz#8f97679e67cc8d08677a6519afca41edf2220894" + integrity sha512-LbLd7uFC00vpOuMvyZop8+vvhnfRGpp2S+IMQKeuOZZapPRY4SMq5ErjQeHbHsjCUgJkRNrlU+LmxsKIqPKQlA== + dependencies: + browserslist "^4.21.4" + caniuse-api "^3.0.0" + cssnano-utils "^3.1.0" + postcss-selector-parser "^6.0.5" + + postcss-minify-font-values@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/postcss-minify-font-values/-/postcss-minify-font-values-5.1.0.tgz#f1df0014a726083d260d3bd85d7385fb89d1f01b" + integrity sha512-el3mYTgx13ZAPPirSVsHqFzl+BBBDrXvbySvPGFnQcTI4iNslrPaFq4muTkLZmKlGk4gyFAYUBMH30+HurREyA== + dependencies: + postcss-value-parser "^4.2.0" + + postcss-minify-gradients@^5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/postcss-minify-gradients/-/postcss-minify-gradients-5.1.1.tgz#f1fe1b4f498134a5068240c2f25d46fcd236ba2c" + integrity sha512-VGvXMTpCEo4qHTNSa9A0a3D+dxGFZCYwR6Jokk+/3oB6flu2/PnPXAh2x7x52EkY5xlIHLm+Le8tJxe/7TNhzw== + dependencies: + colord "^2.9.1" + cssnano-utils "^3.1.0" + postcss-value-parser "^4.2.0" + + postcss-minify-params@^5.1.4: + version "5.1.4" + resolved "https://registry.yarnpkg.com/postcss-minify-params/-/postcss-minify-params-5.1.4.tgz#c06a6c787128b3208b38c9364cfc40c8aa5d7352" + integrity sha512-+mePA3MgdmVmv6g+30rn57USjOGSAyuxUmkfiWpzalZ8aiBkdPYjXWtHuwJGm1v5Ojy0Z0LaSYhHaLJQB0P8Jw== + dependencies: + browserslist "^4.21.4" + cssnano-utils "^3.1.0" + postcss-value-parser "^4.2.0" + + postcss-minify-selectors@^5.2.1: + version "5.2.1" + resolved "https://registry.yarnpkg.com/postcss-minify-selectors/-/postcss-minify-selectors-5.2.1.tgz#d4e7e6b46147b8117ea9325a915a801d5fe656c6" + integrity sha512-nPJu7OjZJTsVUmPdm2TcaiohIwxP+v8ha9NehQ2ye9szv4orirRU3SDdtUmKH+10nzn0bAyOXZ0UEr7OpvLehg== + dependencies: + postcss-selector-parser "^6.0.5" + + postcss-normalize-charset@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/postcss-normalize-charset/-/postcss-normalize-charset-5.1.0.tgz#9302de0b29094b52c259e9b2cf8dc0879879f0ed" + integrity sha512-mSgUJ+pd/ldRGVx26p2wz9dNZ7ji6Pn8VWBajMXFf8jk7vUoSrZ2lt/wZR7DtlZYKesmZI680qjr2CeFF2fbUg== + + postcss-normalize-display-values@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/postcss-normalize-display-values/-/postcss-normalize-display-values-5.1.0.tgz#72abbae58081960e9edd7200fcf21ab8325c3da8" + integrity sha512-WP4KIM4o2dazQXWmFaqMmcvsKmhdINFblgSeRgn8BJ6vxaMyaJkwAzpPpuvSIoG/rmX3M+IrRZEz2H0glrQNEA== + dependencies: + postcss-value-parser "^4.2.0" + + postcss-normalize-positions@^5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/postcss-normalize-positions/-/postcss-normalize-positions-5.1.1.tgz#ef97279d894087b59325b45c47f1e863daefbb92" + integrity sha512-6UpCb0G4eofTCQLFVuI3EVNZzBNPiIKcA1AKVka+31fTVySphr3VUgAIULBhxZkKgwLImhzMR2Bw1ORK+37INg== + dependencies: + postcss-value-parser "^4.2.0" + + postcss-normalize-repeat-style@^5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/postcss-normalize-repeat-style/-/postcss-normalize-repeat-style-5.1.1.tgz#e9eb96805204f4766df66fd09ed2e13545420fb2" + integrity sha512-mFpLspGWkQtBcWIRFLmewo8aC3ImN2i/J3v8YCFUwDnPu3Xz4rLohDO26lGjwNsQxB3YF0KKRwspGzE2JEuS0g== + dependencies: + postcss-value-parser "^4.2.0" + + postcss-normalize-string@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/postcss-normalize-string/-/postcss-normalize-string-5.1.0.tgz#411961169e07308c82c1f8c55f3e8a337757e228" + integrity sha512-oYiIJOf4T9T1N4i+abeIc7Vgm/xPCGih4bZz5Nm0/ARVJ7K6xrDlLwvwqOydvyL3RHNf8qZk6vo3aatiw/go3w== + dependencies: + postcss-value-parser "^4.2.0" + + postcss-normalize-timing-functions@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/postcss-normalize-timing-functions/-/postcss-normalize-timing-functions-5.1.0.tgz#d5614410f8f0b2388e9f240aa6011ba6f52dafbb" + integrity sha512-DOEkzJ4SAXv5xkHl0Wa9cZLF3WCBhF3o1SKVxKQAa+0pYKlueTpCgvkFAHfk+Y64ezX9+nITGrDZeVGgITJXjg== + dependencies: + postcss-value-parser "^4.2.0" + + postcss-normalize-unicode@^5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/postcss-normalize-unicode/-/postcss-normalize-unicode-5.1.1.tgz#f67297fca3fea7f17e0d2caa40769afc487aa030" + integrity sha512-qnCL5jzkNUmKVhZoENp1mJiGNPcsJCs1aaRmURmeJGES23Z/ajaln+EPTD+rBeNkSryI+2WTdW+lwcVdOikrpA== + dependencies: + browserslist "^4.21.4" + postcss-value-parser "^4.2.0" + + postcss-normalize-url@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/postcss-normalize-url/-/postcss-normalize-url-5.1.0.tgz#ed9d88ca82e21abef99f743457d3729a042adcdc" + integrity sha512-5upGeDO+PVthOxSmds43ZeMeZfKH+/DKgGRD7TElkkyS46JXAUhMzIKiCa7BabPeIy3AQcTkXwVVN7DbqsiCew== + dependencies: + normalize-url "^6.0.1" + postcss-value-parser "^4.2.0" + + postcss-normalize-whitespace@^5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/postcss-normalize-whitespace/-/postcss-normalize-whitespace-5.1.1.tgz#08a1a0d1ffa17a7cc6efe1e6c9da969cc4493cfa" + integrity sha512-83ZJ4t3NUDETIHTa3uEg6asWjSBYL5EdkVB0sDncx9ERzOKBVJIUeDO9RyA9Zwtig8El1d79HBp0JEi8wvGQnA== + dependencies: + postcss-value-parser "^4.2.0" + + postcss-ordered-values@^5.1.3: + version "5.1.3" + resolved "https://registry.yarnpkg.com/postcss-ordered-values/-/postcss-ordered-values-5.1.3.tgz#b6fd2bd10f937b23d86bc829c69e7732ce76ea38" + integrity sha512-9UO79VUhPwEkzbb3RNpqqghc6lcYej1aveQteWY+4POIwlqkYE21HKWaLDF6lWNuqCobEAyTovVhtI32Rbv2RQ== + dependencies: + cssnano-utils "^3.1.0" + postcss-value-parser "^4.2.0" + + postcss-reduce-initial@^5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/postcss-reduce-initial/-/postcss-reduce-initial-5.1.1.tgz#c18b7dfb88aee24b1f8e4936541c29adbd35224e" + integrity sha512-//jeDqWcHPuXGZLoolFrUXBDyuEGbr9S2rMo19bkTIjBQ4PqkaO+oI8wua5BOUxpfi97i3PCoInsiFIEBfkm9w== + dependencies: + browserslist "^4.21.4" + caniuse-api "^3.0.0" + + postcss-reduce-transforms@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/postcss-reduce-transforms/-/postcss-reduce-transforms-5.1.0.tgz#333b70e7758b802f3dd0ddfe98bb1ccfef96b6e9" + integrity sha512-2fbdbmgir5AvpW9RLtdONx1QoYG2/EtqpNQbFASDlixBbAYuTcJ0dECwlqNqH7VbaUnEnh8SrxOe2sRIn24XyQ== + dependencies: + postcss-value-parser "^4.2.0" + + postcss-selector-parser@^6.0.4, postcss-selector-parser@^6.0.5, postcss-selector-parser@^6.0.9: + version "6.0.11" + resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-6.0.11.tgz#2e41dc39b7ad74046e1615185185cd0b17d0c8dc" + integrity sha512-zbARubNdogI9j7WY4nQJBiNqQf3sLS3wCP4WfOidu+p28LofJqDH1tcXypGrcmMHhDk2t9wGhCsYe/+szLTy1g== + dependencies: + cssesc "^3.0.0" + util-deprecate "^1.0.2" + + postcss-svgo@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/postcss-svgo/-/postcss-svgo-5.1.0.tgz#0a317400ced789f233a28826e77523f15857d80d" + integrity sha512-D75KsH1zm5ZrHyxPakAxJWtkyXew5qwS70v56exwvw542d9CRtTo78K0WeFxZB4G7JXKKMbEZtZayTGdIky/eA== + dependencies: + postcss-value-parser "^4.2.0" + svgo "^2.7.0" + + postcss-unique-selectors@^5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/postcss-unique-selectors/-/postcss-unique-selectors-5.1.1.tgz#a9f273d1eacd09e9aa6088f4b0507b18b1b541b6" + integrity sha512-5JiODlELrz8L2HwxfPnhOWZYWDxVHWL83ufOv84NrcgipI7TaeRsatAhK4Tr2/ZiYldpK/wBvw5BD3qfaK96GA== + dependencies: + postcss-selector-parser "^6.0.5" + + postcss-value-parser@^3.2.3: + version "3.3.1" + resolved "https://registry.yarnpkg.com/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz#9ff822547e2893213cf1c30efa51ac5fd1ba8281" + integrity sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ== + + 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@^7.0.1: + version "7.0.39" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-7.0.39.tgz#9624375d965630e2e1f2c02a935c82a59cb48309" + integrity sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA== + dependencies: + picocolors "^0.2.1" + source-map "^0.6.1" + + postcss@^8.1.10, postcss@^8.4.21: + version "8.4.21" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.21.tgz#c639b719a57efc3187b13a1d765675485f4134f4" + integrity sha512-tP7u/Sn/dVxK2NnruI4H9BG+x+Wxz6oeZ1cJ8P6G/PZY0IKk4k/63TDsQf2kQq3+qoJeLm2kIBUNlZe3zgb4Zg== + 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== + + prettier-linter-helpers@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/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.6.2: + version "2.8.4" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.4.tgz#34dd2595629bfbb79d344ac4a91ff948694463c3" + integrity sha512-vIS4Rlc2FNh0BySk3Wkd6xmwxB0FpOndW5fisM5H8hsZSxU2VWVB5CWIkIjWvrHjIhxk2g3bfMKM87zNTrZddw== + + prettier@^2.7.1: + version "2.8.3" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.3.tgz#ab697b1d3dd46fb4626fbe2f543afe0cc98d8632" + integrity sha512-tJ/oJ4amDihPoufT5sM0Z1SKEuKay8LfVAMlbbhnnkvt6BUserZylqo2PN+p9KeljLr0OHa2rXHU1T8reeoTrw== + + proc-log@^2.0.0, proc-log@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/proc-log/-/proc-log-2.0.1.tgz#8f3f69a1f608de27878f91f5c688b225391cb685" + integrity sha512-Kcmo2FhfDTXdcbfDH76N7uBYHINxc/8GW7UAVuVP9I+Va3uHSerrnKV6dLooga/gh7GlgzuCCr/eoldnL1muGw== + + process-nextick-args@~2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2" + integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag== + + promise-all-reject-late@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/promise-all-reject-late/-/promise-all-reject-late-1.0.1.tgz#f8ebf13483e5ca91ad809ccc2fcf25f26f8643c2" + integrity sha512-vuf0Lf0lOxyQREH7GDIOUMLS7kz+gs8i6B+Yi8dC68a2sychGrHTJYghMBD6k7eUcH0H5P73EckCA48xijWqXw== + + promise-call-limit@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/promise-call-limit/-/promise-call-limit-1.0.1.tgz#4bdee03aeb85674385ca934da7114e9bcd3c6e24" + integrity sha512-3+hgaa19jzCGLuSCbieeRsu5C2joKfYn8pY6JAuXFRVfF4IO+L7UPpFWNTeWT9pM7uhskvbPPd/oEOktCn317Q== + + promise-inflight@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/promise-inflight/-/promise-inflight-1.0.1.tgz#98472870bf228132fcbdd868129bad12c3c029e3" + integrity sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g== + + promise-retry@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/promise-retry/-/promise-retry-2.0.1.tgz#ff747a13620ab57ba688f5fc67855410c370da22" + integrity sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g== + dependencies: + err-code "^2.0.2" + retry "^0.12.0" + + promzard@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/promzard/-/promzard-0.3.0.tgz#26a5d6ee8c7dee4cb12208305acfb93ba382a9ee" + integrity sha512-JZeYqd7UAcHCwI+sTOeUDYkvEU+1bQ7iE0UT1MgB/tERkAPkesW46MrpIySzODi+owTjZtiF8Ay5j9m60KmMBw== + dependencies: + read "1" + + proto-list@~1.2.1: + version "1.2.4" + resolved "https://registry.yarnpkg.com/proto-list/-/proto-list-1.2.4.tgz#212d5bfe1318306a420f6402b8e26ff39647a849" + integrity sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA== + + protobufjs@^6.11.3, 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" + + protocols@^2.0.0, protocols@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/protocols/-/protocols-2.0.1.tgz#8f155da3fc0f32644e83c5782c8e8212ccf70a86" + integrity sha512-/XJ368cyBJ7fzLMwLKv1e4vLxOju2MNAIokcr7meSaNcVbWz/CPcW22cP04mwxOErdA5mwjA8Q6w/cdAQxVn7Q== + + proxy-from-env@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2" + integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg== + + prr@~1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/prr/-/prr-1.0.1.tgz#d3fc114ba06995a45ec6893f484ceb1d78f5f476" + integrity sha512-yPw4Sng1gWghHQWj0B3ZggWUm4qVbPwPFcRG8KyxiU7J2OHFSoEHKS+EZ3fv5l1t9CyCiop6l/ZYeWbrgoQejw== + + punycode@^2.1.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.0.tgz#f67fa67c94da8f4d0cfff981aee4118064199b8f" + integrity sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA== + + q@^1.5.1: + version "1.5.1" + resolved "https://registry.yarnpkg.com/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7" + integrity sha512-kV/CThkXo6xyFEZUugw/+pIOywXcDbFYgSct5cT3gqlbkBE1SJdwy6UQoZvodiWF/ckQLZyDE/Bu1M6gVu5lVw== + + 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@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-4.0.1.tgz#5b8878f113a58217848c6482026c73e1ba57727f" + integrity sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g== + + rc9@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/rc9/-/rc9-2.0.1.tgz#51e0f556759ee434e20ed29ca506b4ce97e7c6c0" + integrity sha512-9EfjLgNmzP9255YX8bGnILQcmdtOXKtUlFTu8bOZPJVtaUDZ2imswcUdpK51tMjTRQyB7r5RebNijrzuyGXcVA== + dependencies: + defu "^6.1.2" + destr "^1.2.2" + flat "^5.0.2" + + 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" + + read-cmd-shim@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/read-cmd-shim/-/read-cmd-shim-3.0.1.tgz#868c235ec59d1de2db69e11aec885bc095aea087" + integrity sha512-kEmDUoYf/CDy8yZbLTmhB1X9kkjf9Q80PCNsDMb7ufrGd6zZSQA1+UyjrO+pZm5K/S4OXCWJeiIt1JA8kAsa6g== + + read-package-json-fast@^2.0.2, read-package-json-fast@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/read-package-json-fast/-/read-package-json-fast-2.0.3.tgz#323ca529630da82cb34b36cc0b996693c98c2b83" + integrity sha512-W/BKtbL+dUjTuRL2vziuYhp76s5HZ9qQhd/dKfWIZveD0O40453QNyZhC0e63lqZrAQ4jiOapVoeJ7JrszenQQ== + dependencies: + json-parse-even-better-errors "^2.3.0" + npm-normalize-package-bin "^1.0.1" + + read-package-json@^5.0.0, read-package-json@^5.0.1: + version "5.0.2" + resolved "https://registry.yarnpkg.com/read-package-json/-/read-package-json-5.0.2.tgz#b8779ccfd169f523b67208a89cc912e3f663f3fa" + integrity sha512-BSzugrt4kQ/Z0krro8zhTwV1Kd79ue25IhNN/VtHFy1mG/6Tluyi+msc0UpwaoQzxSHa28mntAjIZY6kEgfR9Q== + dependencies: + glob "^8.0.1" + json-parse-even-better-errors "^2.3.1" + normalize-package-data "^4.0.0" + npm-normalize-package-bin "^2.0.0" + + read-pkg-up@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/read-pkg/-/read-pkg-5.2.0.tgz#7bf295438ca5a33e56cd30e053b34ee7250c93cc" + 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, read@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/read/-/read-1.0.7.tgz#b3da19bd052431a97671d44a42634adf710b40c4" + integrity sha512-rSOKNYUmaxy0om1BNjMN4ezNT6VKK+2xF4GBhc81mkH7L60i6dp8qPYrkndNLT3QPphoII3maL9PVC9XmhHwVQ== + dependencies: + mute-stream "~0.0.4" + + readable-stream@3, readable-stream@^3.0.0, readable-stream@^3.0.2, readable-stream@^3.1.1, readable-stream@^3.4.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" + + readable-stream@^2.0.1, readable-stream@~2.3.6: + version "2.3.7" + resolved "https://registry.yarnpkg.com/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.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/readdir-scoped-modules/-/readdir-scoped-modules-1.1.0.tgz#8d45407b4f870a0dcaebc0e28670d18e74514309" + integrity sha512-asaikDeqAQg7JifRsZn1NJZXo9E+VwlyCfbkZhwyISinqk5zNS6266HS5kah6P0SaQKGF6SkNnZVHUzHFYxYDw== + 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.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== + + rechoir@^0.6.2: + version "0.6.2" + resolved "https://registry.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/regenerate/-/regenerate-1.4.2.tgz#b9346d8827e8f5a32f7ba29637d398b69014848a" + integrity sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A== + + regenerator-runtime@^0.13.11: + version "0.13.11" + resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz#f6dca3e7ceec20590d07ada785636a90cdca17f9" + integrity sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg== + + regenerator-transform@^0.15.1: + version "0.15.1" + resolved "https://registry.yarnpkg.com/regenerator-transform/-/regenerator-transform-0.15.1.tgz#f6c4e99fc1b4591f780db2586328e4d9a9d8dc56" + integrity sha512-knzmNAcuyxV+gQCufkYcvOqX/qIIfHLv0u5x79kRxuGojfYVky1f15TzZEu2Avte8QGepvUNTnLskf8E6X6Vyg== + dependencies: + "@babel/runtime" "^7.8.4" + + 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== + + regexpu-core@^5.3.1: + version "5.3.1" + resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-5.3.1.tgz#66900860f88def39a5cb79ebd9490e84f17bcdfb" + integrity sha512-nCOzW2V/X15XpLsK2rlgdwrysrBq+AauCn+omItIz4R1pIcmeot5zvjdmOBRLzEH/CkC6IxMJVmxDe3QcMuNVQ== + dependencies: + "@babel/regjsgen" "^0.8.0" + regenerate "^1.4.2" + regenerate-unicode-properties "^10.1.0" + regjsparser "^0.9.1" + unicode-match-property-ecmascript "^2.0.0" + unicode-match-property-value-ecmascript "^2.1.0" + + regjsparser@^0.9.1: + version "0.9.1" + resolved "https://registry.yarnpkg.com/regjsparser/-/regjsparser-0.9.1.tgz#272d05aa10c7c1f67095b1ff0addae8442fc5709" + integrity sha512-dQUtn90WanSNl+7mQKcXAgZxvUe7Z0SqXlgzv0za4LwiUhyzBC58yQO3liFoUgu8GiJVInAhJjkj1N0EtQ5nkQ== + dependencies: + jsesc "~0.5.0" + + require-directory@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" + integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g== + + resolve-from@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-5.0.0.tgz#c35225843df8f776df21c57557bc087e9dfdfc69" + integrity sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw== + + resolve@^1.1.6, resolve@^1.1.7, resolve@^1.10.0, resolve@^1.14.2, 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" + + restore-cursor@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/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.yarnpkg.com/restore-cursor/-/restore-cursor-3.1.0.tgz#39f67c54b3a7a58cea5236d95cf0034239631f7e" + integrity sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA== + dependencies: + onetime "^5.1.0" + signal-exit "^3.0.2" + + retry@^0.12.0: + version "0.12.0" + resolved "https://registry.yarnpkg.com/retry/-/retry-0.12.0.tgz#1b42a6266a21f07421d1b0b54b7dc167b01c013b" + integrity sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow== + + 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, rimraf@^3.0.0, 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" + + rollup@^3.10.0: + version "3.13.0" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-3.13.0.tgz#202883a91b5d1bf98302efe4daa907e3e5e4ae94" + integrity sha512-HJwQtrXAc0AmyDohTJ/2c+Bx/sWPScJLlAUJ1kuD7rAkCro8Cr2SnVB2gVYBiSLxpgD2kZ24jbyXtG++GumrYQ== + optionalDependencies: + fsevents "~2.3.2" + + run-async@^2.2.0, run-async@^2.3.0, run-async@^2.4.0: + version "2.4.1" + resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.4.1.tgz#8440eccf99ea3e70bd409d49aab88e10c189a455" + integrity sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ== + + 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" + + rx-lite-aggregates@^4.0.8: + version "4.0.8" + resolved "https://registry.yarnpkg.com/rx-lite-aggregates/-/rx-lite-aggregates-4.0.8.tgz#753b87a89a11c95467c4ac1626c4efc4e05c67be" + integrity sha512-3xPNZGW93oCjiO7PtKxRK6iOVYBWBvtf9QHDfU23Oc+dLIQmAV//UnyXV/yihv81VS/UqoQPk4NegS8EFi55Hg== + dependencies: + rx-lite "*" + + rx-lite@*, rx-lite@^4.0.8: + version "4.0.8" + resolved "https://registry.yarnpkg.com/rx-lite/-/rx-lite-4.0.8.tgz#0b1e11af8bc44836f04a6407e92da42467b79444" + integrity sha512-Cun9QucwK6MIrp3mry/Y7hqD1oFqTYLQ4pGxaHTjIdaFDWRGGLikqp6u8LcWJnzpoALg9hap+JGk8sFIUuEGNA== + + rxjs@^6.4.0: + version "6.6.7" + resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.6.7.tgz#90ac018acabf491bf65044235d5863c4dab804c9" + integrity sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ== + dependencies: + tslib "^1.9.0" + + rxjs@^7.5.5: + version "7.8.0" + resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.8.0.tgz#90a938862a82888ff4c7359811a595e14e1e09a4" + integrity sha512-F2+gxDshqmIub1KdvZkaEfGDwLNpPvk9Fs6LD/MyQxNgMds/WH9OdDDXOmxUZpME+iSK3rQCctkL0DYyytUqMg== + dependencies: + tslib "^2.1.0" + + safe-buffer@~5.1.0, 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-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-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" + + "safer-buffer@>= 2.1.2 < 3", "safer-buffer@>= 2.1.2 < 3.0.0": + version "2.1.2" + resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" + integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== + + sass@^1.58.0: + version "1.58.0" + resolved "https://registry.yarnpkg.com/sass/-/sass-1.58.0.tgz#ee8aea3ad5ea5c485c26b3096e2df6087d0bb1cc" + integrity sha512-PiMJcP33DdKtZ/1jSjjqVIKihoDc6yWmYr9K/4r3fVVIEDAluD0q7XZiRKrNJcPK3qkLRF/79DND1H5q1LBjgg== + dependencies: + chokidar ">=3.0.0 <4.0.0" + immutable "^4.0.0" + source-map-js ">=0.6.2 <2.0.0" + + scule@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/scule/-/scule-1.0.0.tgz#895e6f4ba887e78d8b9b4111e23ae84fef82376d" + integrity sha512-4AsO/FrViE/iDNEPaAQlb77tf0csuq27EsVpy6ett584EcRTp6pTDLoGWVxCD77y5iU5FauOvhsI4o1APwPoSQ== + + "semver@2 || 3 || 4 || 5", semver@^5.5.0, semver@^5.6.0: + version "5.7.1" + resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" + integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== + + semver@7.3.4: + version "7.3.4" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.4.tgz#27aaa7d2e4ca76452f98d3add093a72c943edc97" + integrity sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw== + dependencies: + lru-cache "^6.0.0" + + semver@^6.0.0, semver@^6.1.1, semver@^6.1.2, semver@^6.3.0: + version "6.3.0" + resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" + integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== + + semver@^7.0.0, semver@^7.1.1, semver@^7.3.4, semver@^7.3.5, semver@^7.3.6, semver@^7.3.7, semver@^7.3.8: + version "7.3.8" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.8.tgz#07a78feafb3f7b32347d725e33de7e2a2df67798" + integrity sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A== + dependencies: + lru-cache "^6.0.0" + + set-blocking@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" + integrity sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw== + + shallow-clone@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/shallow-clone/-/shallow-clone-3.0.1.tgz#8f2981ad92531f55035b01fb230769a40e02efa3" + integrity sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA== + dependencies: + kind-of "^6.0.2" + + shebang-command@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" + integrity sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg== + dependencies: + shebang-regex "^1.0.0" + + shebang-command@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" + integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA== + dependencies: + shebang-regex "^3.0.0" + + shebang-regex@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3" + integrity sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ== + + shebang-regex@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" + integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== + + shell-quote@^1.6.1: + version "1.8.0" + resolved "https://registry.yarnpkg.com/shell-quote/-/shell-quote-1.8.0.tgz#20d078d0eaf71d54f43bd2ba14a1b5b9bfa5c8ba" + integrity sha512-QHsz8GgQIGKlRi24yFc6a6lN69Idnx634w49ay6+jA5yFh7a1UY+4Rp6HPx/L/1zcEDPEij8cIsiqR6bQsE5VQ== + + shelljs@0.8.5: + version "0.8.5" + resolved "https://registry.yarnpkg.com/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.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" + + signal-exit@^3.0.2, signal-exit@^3.0.3, signal-exit@^3.0.7: + version "3.0.7" + resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" + integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== + + slash@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" + integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== + + slash@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/slash/-/slash-4.0.0.tgz#2422372176c4c6c5addb5e2ada885af984b396a7" + integrity sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew== + + smart-buffer@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/smart-buffer/-/smart-buffer-4.2.0.tgz#6e1d71fa4f18c05f7d0ff216dd16a481d0e8d9ae" + integrity sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg== + + socks-proxy-agent@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/socks-proxy-agent/-/socks-proxy-agent-7.0.0.tgz#dc069ecf34436621acb41e3efa66ca1b5fed15b6" + integrity sha512-Fgl0YPZ902wEsAyiQ+idGd1A7rSFx/ayC1CQVMw5P+EQx2V0SgpGtf6OKFhVjPflPUl9YMmEOnmfjCdMUsygww== + dependencies: + agent-base "^6.0.2" + debug "^4.3.3" + socks "^2.6.2" + + socks@^2.6.2: + version "2.7.1" + resolved "https://registry.yarnpkg.com/socks/-/socks-2.7.1.tgz#d8e651247178fde79c0663043e07240196857d55" + integrity sha512-7maUZy1N7uo6+WVEX6psASxtNlKaNVMlGQKkG/63nEDdLOWNbiUMoLK7X4uYoLhQstau72mLgfEWcXcwsaHbYQ== + dependencies: + ip "^2.0.0" + smart-buffer "^4.2.0" + + sort-keys@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/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.yarnpkg.com/sort-keys/-/sort-keys-4.2.0.tgz#6b7638cee42c506fff8c1cecde7376d21315be18" + integrity sha512-aUYIEU/UviqPgc8mHR6IW1EGxkAXpeRETYcrzg8cLAvUPZcpAlleSXHV2mY7G12GphSH6Gzv+4MMVSSkbdteHg== + dependencies: + is-plain-obj "^2.0.0" + + "source-map-js@>=0.6.2 <2.0.0", 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.6.1, source-map@^0.6.1: + version "0.6.1" + resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" + integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== + + sourcemap-codec@^1.4.8: + version "1.4.8" + resolved "https://registry.yarnpkg.com/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz#ea804bd94857402e6992d05a38ef1ae35a9ab4c4" + integrity sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA== + + spdx-correct@^3.0.0: + version "3.1.1" + resolved "https://registry.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.12.tgz#69077835abe2710b65f03969898b6637b505a779" + integrity sha512-rr+VVSXtRhO4OHbXUiAF7xW3Bo9DuuF6C5jH+q/x15j2jniycgKbxU09Hr0WqlSLUs4i4ltHGXqTe7VHclYWyA== + + split2@^3.0.0: + version "3.2.2" + resolved "https://registry.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" + integrity sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g== + + ssri@^9.0.0, ssri@^9.0.1: + version "9.0.1" + resolved "https://registry.yarnpkg.com/ssri/-/ssri-9.0.1.tgz#544d4c357a8d7b71a19700074b6883fcb4eae057" + integrity sha512-o57Wcn66jMQvfHG1FlYbWeZWW/dHZhJXjpIcTfXldXEk5nz5lStPo3mK0OJQfGR3RbZUlbISexbljkJzuEj/8Q== + dependencies: + minipass "^3.1.1" + + stable@^0.1.8: + version "0.1.8" + resolved "https://registry.yarnpkg.com/stable/-/stable-0.1.8.tgz#836eb3c8382fe2936feaf544631017ce7d47a3cf" + integrity sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w== + + std-env@^3.3.2: + version "3.3.2" + resolved "https://registry.yarnpkg.com/std-env/-/std-env-3.3.2.tgz#af27343b001616015534292178327b202b9ee955" + integrity sha512-uUZI65yrV2Qva5gqE0+A7uVAvO40iPo6jGhs7s8keRfHCmtg+uB2X6EiLGCI9IgL1J17xGhvoOqSz79lzICPTA== + + stop-iteration-iterator@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/stop-iteration-iterator/-/stop-iteration-iterator-1.0.0.tgz#6a60be0b4ee757d1ed5254858ec66b10c49285e4" + integrity sha512-iCGQj+0l0HOdZ2AEeBADlsRC+vsnDsZsbdSiH1yNSjcfKM7fdpCMfqAL/dwF5BLiw/XhRft/Wax6zQbhq2BcjQ== + dependencies: + internal-slot "^1.0.4" + + "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.yarnpkg.com/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.yarnpkg.com/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.padend@^3.0.0: + version "3.1.4" + resolved "https://registry.yarnpkg.com/string.prototype.padend/-/string.prototype.padend-3.1.4.tgz#2c43bb3a89eb54b6750de5942c123d6c98dd65b6" + integrity sha512-67otBXoksdjsnXXRUq+KMVTdlVRZ2af422Y0aTyTjVaoQkGr3mxl2Bc5emi7dOQ3OGVVQQskmLEWwFXwommpNw== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.4" + es-abstract "^1.20.4" + + string.prototype.trimend@^1.0.6: + version "1.0.6" + resolved "https://registry.yarnpkg.com/string.prototype.trimend/-/string.prototype.trimend-1.0.6.tgz#c4a27fa026d979d79c04f17397f250a462944533" + integrity sha512-JySq+4mrPf9EsDBEDYMOb/lM7XQLulwg5R/m1r0PXEFqrV0qHvl58sdTilSXtKOflCsK2E8jxf+GKC0T07RWwQ== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.4" + es-abstract "^1.20.4" + + string.prototype.trimstart@^1.0.6: + version "1.0.6" + resolved "https://registry.yarnpkg.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.6.tgz#e90ab66aa8e4007d92ef591bbf3cd422c56bdcf4" + integrity sha512-omqjMDaY92pbn5HOX7f9IccLA+U1tA9GvtU4JrodiXFfYB7jPzzHpRzpglLAjtUV6bB557zwClJezTqnAiYnQA== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.4" + es-abstract "^1.20.4" + + 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" + + string_decoder@~1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/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: + version "3.0.1" + resolved "https://registry.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/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.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-bom@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" + integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== + + strip-literal@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/strip-literal/-/strip-literal-1.0.1.tgz#0115a332710c849b4e46497891fb8d585e404bd2" + integrity sha512-QZTsipNpa2Ppr6v1AmJHESqJ3Uz247MUS0OjrnnZjFAvEoWqxuyFuXn2xLgMtRnijJShAa1HL0gtJyUs7u7n3Q== + dependencies: + acorn "^8.8.2" + + strong-log-transformer@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/strong-log-transformer/-/strong-log-transformer-2.1.0.tgz#0f5ed78d325e0421ac6f90f7f10e691d6ae3ae10" + integrity sha512-B3Hgul+z0L9a236FAUC9iZsL+nVHgoCJnqCbN588DjYxvGXaXaaFbfmQ/JhvKjZwsOukuR72XbHv71Qkug0HxA== + dependencies: + duplexer "^0.1.1" + minimist "^1.2.0" + through "^2.3.4" + + stylehacks@^5.1.1: + version "5.1.1" + resolved "https://registry.yarnpkg.com/stylehacks/-/stylehacks-5.1.1.tgz#7934a34eb59d7152149fa69d6e9e56f2fc34bcc9" + integrity sha512-sBpcd5Hx7G6seo7b1LkpttvTz7ikD0LlH5RmdcBNb6fFR0Fl7LQwHDFr300q4cwUqi+IYrFGmsIHieMBfnN/Bw== + dependencies: + browserslist "^4.21.4" + postcss-selector-parser "^6.0.4" + + supports-color@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/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.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-color@^8.0.0: + version "8.1.1" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-8.1.1.tgz#cd6fc17e28500cff56c1b86c0a7fd4a54a73005c" + integrity sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q== + 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== + + svg-tags@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/svg-tags/-/svg-tags-1.0.0.tgz#58f71cee3bd519b59d4b2a843b6c7de64ac04764" + integrity sha512-ovssysQTa+luh7A5Weu3Rta6FJlFBBbInjOh722LIt6klpU2/HtdUbszju/G4devcvk8PGt7FCLv5wftu3THUA== + + svg.draggable.js@^2.2.2: + version "2.2.2" + resolved "https://registry.yarnpkg.com/svg.draggable.js/-/svg.draggable.js-2.2.2.tgz#c514a2f1405efb6f0263e7958f5b68fce50603ba" + integrity sha512-JzNHBc2fLQMzYCZ90KZHN2ohXL0BQJGQimK1kGk6AvSeibuKcIdDX9Kr0dT9+UJ5O8nYA0RB839Lhvk4CY4MZw== + dependencies: + svg.js "^2.0.1" + + svg.easing.js@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/svg.easing.js/-/svg.easing.js-2.0.0.tgz#8aa9946b0a8e27857a5c40a10eba4091e5691f12" + integrity sha512-//ctPdJMGy22YoYGV+3HEfHbm6/69LJUTAqI2/5qBvaNHZ9uUFVC82B0Pl299HzgH13rKrBgi4+XyXXyVWWthA== + dependencies: + svg.js ">=2.3.x" + + svg.filter.js@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/svg.filter.js/-/svg.filter.js-2.0.2.tgz#91008e151389dd9230779fcbe6e2c9a362d1c203" + integrity sha512-xkGBwU+dKBzqg5PtilaTb0EYPqPfJ9Q6saVldX+5vCRy31P6TlRCP3U9NxH3HEufkKkpNgdTLBJnmhDHeTqAkw== + dependencies: + svg.js "^2.2.5" + + svg.js@>=2.3.x, svg.js@^2.0.1, svg.js@^2.2.5, svg.js@^2.4.0, svg.js@^2.6.5: + version "2.7.1" + resolved "https://registry.yarnpkg.com/svg.js/-/svg.js-2.7.1.tgz#eb977ed4737001eab859949b4a398ee1bb79948d" + integrity sha512-ycbxpizEQktk3FYvn/8BH+6/EuWXg7ZpQREJvgacqn46gIddG24tNNe4Son6omdXCnSOaApnpZw6MPCBA1dODA== + + svg.pathmorphing.js@^0.1.3: + version "0.1.3" + resolved "https://registry.yarnpkg.com/svg.pathmorphing.js/-/svg.pathmorphing.js-0.1.3.tgz#c25718a1cc7c36e852ecabc380e758ac09bb2b65" + integrity sha512-49HWI9X4XQR/JG1qXkSDV8xViuTLIWm/B/7YuQELV5KMOPtXjiwH4XPJvr/ghEDibmLQ9Oc22dpWpG0vUDDNww== + dependencies: + svg.js "^2.4.0" + + svg.resize.js@^1.4.3: + version "1.4.3" + resolved "https://registry.yarnpkg.com/svg.resize.js/-/svg.resize.js-1.4.3.tgz#885abd248e0cd205b36b973c4b578b9a36f23332" + integrity sha512-9k5sXJuPKp+mVzXNvxz7U0uC9oVMQrrf7cFsETznzUDDm0x8+77dtZkWdMfRlmbkEEYvUn9btKuZ3n41oNA+uw== + dependencies: + svg.js "^2.6.5" + svg.select.js "^2.1.2" + + svg.select.js@^2.1.2: + version "2.1.2" + resolved "https://registry.yarnpkg.com/svg.select.js/-/svg.select.js-2.1.2.tgz#e41ce13b1acff43a7441f9f8be87a2319c87be73" + integrity sha512-tH6ABEyJsAOVAhwcCjF8mw4crjXSI1aa7j2VQR8ZuJ37H2MBUbyeqYr5nEO7sSN3cy9AR9DUwNg0t/962HlDbQ== + dependencies: + svg.js "^2.2.5" + + svg.select.js@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/svg.select.js/-/svg.select.js-3.0.1.tgz#a4198e359f3825739226415f82176a90ea5cc917" + integrity sha512-h5IS/hKkuVCbKSieR9uQCj9w+zLHoPh+ce19bBYyqF53g6mnPB8sAtIbe1s9dh2S2fCmYX2xel1Ln3PJBbK4kw== + dependencies: + svg.js "^2.6.5" + + svgo@^2.7.0: + version "2.8.0" + resolved "https://registry.yarnpkg.com/svgo/-/svgo-2.8.0.tgz#4ff80cce6710dc2795f0c7c74101e6764cfccd24" + integrity sha512-+N/Q9kV1+F+UeWYoSiULYo4xYSDQlTgb+ayMobAXPwMnLvop7oxKMo9OzIrX5x3eS4L4f2UHhc9axXwY8DpChg== + dependencies: + "@trysound/sax" "0.2.0" + commander "^7.2.0" + css-select "^4.1.3" + css-tree "^1.1.3" + csso "^4.2.0" + picocolors "^1.0.0" + stable "^0.1.8" + + 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== + + tapable@^1.0.0: + version "1.1.3" + resolved "https://registry.yarnpkg.com/tapable/-/tapable-1.1.3.tgz#a1fccc06b58db61fd7a45da2da44f5f3a3e67ba2" + integrity sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA== + + tar-stream@~2.2.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-2.2.0.tgz#acad84c284136b060dc3faa64474aa9aebd77287" + integrity sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ== + dependencies: + bl "^4.0.3" + end-of-stream "^1.4.1" + fs-constants "^1.0.0" + inherits "^2.0.3" + readable-stream "^3.1.1" + + tar@^6.1.0, tar@^6.1.11, tar@^6.1.12, tar@^6.1.2: + version "6.1.13" + resolved "https://registry.yarnpkg.com/tar/-/tar-6.1.13.tgz#46e22529000f612180601a6fe0680e7da508847b" + integrity sha512-jdIBIN6LTIe2jqzay/2vtYLlBHa3JF42ot3h1dW8Q0PaAG4v8rm0cvpVePtau5C6OKXGGcgO9q2AMNSWxiLqKw== + dependencies: + chownr "^2.0.0" + fs-minipass "^2.0.0" + minipass "^4.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.yarnpkg.com/temp-dir/-/temp-dir-1.0.0.tgz#0a7c0ea26d3a39afa7e0ebea9c1fc0bc4daa011d" + integrity sha512-xZFXEGbG7SNC3itwBzI3RYjq/cEhBkx2hJuKGIUOcEULmkQExXiHat2z/qkISYsuR+IKumhEfKKbV5qXmhICFQ== + + test-exclude@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/test-exclude/-/test-exclude-6.0.0.tgz#04a8698661d805ea6fa293b6cb9e63ac044ef15e" + integrity sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w== + dependencies: + "@istanbuljs/schema" "^0.1.2" + glob "^7.1.4" + minimatch "^3.0.4" + + text-extensions@^1.0.0: + version "1.9.0" + resolved "https://registry.yarnpkg.com/text-extensions/-/text-extensions-1.9.0.tgz#1853e45fee39c945ce6f6c36b2d659b5aabc2a26" + integrity sha512-wiBrwC1EhBelW12Zy26JeOUkQ5mRu+5o8rpsJk5+2t+Y5vE7e842qtZDQ2g1NpX/29HdyFeJ4nSIhI47ENSxlQ== + + 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== + + thenify-all@^1.0.0: + version "1.6.0" + resolved "https://registry.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" + integrity sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg== + + timers-ext@^0.1.7: + version "0.1.7" + resolved "https://registry.yarnpkg.com/timers-ext/-/timers-ext-0.1.7.tgz#6f57ad8578e07a3fb9f91d9387d65647555e25c6" + integrity sha512-b85NUNzTSdodShTIbky6ZF02e8STtVVfD+fu4aXXShEELpozH+bCpJLYMPZbsABN2wDH7fJpqIoXxJpzbf0NqQ== + dependencies: + es5-ext "~0.10.46" + next-tick "1" + + tmp@^0.0.33: + version "0.0.33" + resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9" + integrity sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw== + dependencies: + os-tmpdir "~1.0.2" + + tmp@~0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.2.1.tgz#8457fc3037dcf4719c251367a1af6500ee1ccf14" + integrity sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ== + dependencies: + rimraf "^3.0.0" + + tmpl@1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/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.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" + + tr46@~0.0.3: + version "0.0.3" + resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" + integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw== + + treeverse@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/treeverse/-/treeverse-2.0.0.tgz#036dcef04bc3fd79a9b79a68d4da03e882d8a9ca" + integrity sha512-N5gJCkLu1aXccpOTtqV6ddSEi6ZmGkh3hjmbu1IjcavJK4qyOVQmi0myQKM7z5jVGmD68SJoliaVrMmVObhj6A== + + trim-newlines@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-3.0.1.tgz#260a5d962d8b752425b32f3a7db0dcacd176c144" + integrity sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw== + + tsconfig-paths@^4.1.2: + version "4.1.2" + resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-4.1.2.tgz#4819f861eef82e6da52fb4af1e8c930a39ed979a" + integrity sha512-uhxiMgnXQp1IR622dUXI+9Ehnws7i/y6xvpZB9IbUVOPy0muvdvgXeZOn88UcGPiT98Vp3rJPTa8bFoalZ3Qhw== + dependencies: + json5 "^2.2.2" + minimist "^1.2.6" + strip-bom "^3.0.0" + + tslib@^1.8.1, tslib@^1.9.0: + version "1.14.1" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" + integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== + + tslib@^2.1.0, tslib@^2.3.0, tslib@^2.4.0: + version "2.5.0" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.5.0.tgz#42bfed86f5787aeb41d031866c8f402429e0fddf" + integrity sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg== + + 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.18.0: + version "0.18.1" + resolved "https://registry.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/type-fest/-/type-fest-0.4.1.tgz#8bdf77743385d8a4f13ba95f610f5ccd68c728f8" + integrity sha512-IwzA/LSfD2vC1/YDYMv/zHP4rDF1usCwllsDpbolT3D4fUepIO7f9K70jjmUewU/LmGUKJcwcVtDCpnKk4BPMw== + + type-fest@^0.6.0: + version "0.6.0" + resolved "https://registry.yarnpkg.com/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.yarnpkg.com/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d" + integrity sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA== + + type@^1.0.1: + version "1.2.0" + resolved "https://registry.yarnpkg.com/type/-/type-1.2.0.tgz#848dd7698dafa3e54a6c479e759c4bc3f18847a0" + integrity sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg== + + type@^2.7.2: + version "2.7.2" + resolved "https://registry.yarnpkg.com/type/-/type-2.7.2.tgz#2376a15a3a28b1efa0f5350dcf72d24df6ef98d0" + integrity sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw== + + typed-array-length@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/typed-array-length/-/typed-array-length-1.0.4.tgz#89d83785e5c4098bec72e08b319651f0eac9c1bb" + integrity sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng== + dependencies: + call-bind "^1.0.2" + for-each "^0.3.3" + is-typed-array "^1.1.9" + + 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" + + typedarray@^0.0.6: + version "0.0.6" + resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" + integrity sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA== + + "typescript@^3 || ^4", typescript@~4.9.5: + version "4.9.5" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a" + integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g== + + ufo@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/ufo/-/ufo-1.0.1.tgz#64ed43b530706bda2e4892f911f568cf4cf67d29" + integrity sha512-boAm74ubXHY7KJQZLlXrtMz52qFvpsbOxDcZOnw/Wf+LS4Mmyu7JxmzD4tDLtUQtmZECypJ0FrCz4QIe6dvKRA== + + uglify-js@^3.1.4: + version "3.17.4" + resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.17.4.tgz#61678cf5fa3f5b7eb789bb345df29afb8257c22c" + integrity sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g== + + 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" + + unctx@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/unctx/-/unctx-2.1.1.tgz#415b07cf6ce42fad59ae1e4fa42ace2e71f4372d" + integrity sha512-RffJlpvLOtolWsn0fxXsuSDfwiWcR6cyuykw2e0+zAggvGW1SesXt9WxIWlWpJhwVCZD/WlxxLqKLS50Q0CkWA== + dependencies: + acorn "^8.8.1" + estree-walker "^3.0.1" + magic-string "^0.26.7" + unplugin "^1.0.0" + + unicode-canonical-property-names-ecmascript@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz#301acdc525631670d39f6146e0e77ff6bbdebddc" + integrity sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ== + + unicode-match-property-ecmascript@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/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.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.1.0.tgz#cb5fffdcd16a05124f5a4b0bf7c3770208acbbe0" + integrity sha512-qxkjQt6qjg/mYscYMC0XKRn3Rh0wFPlfxB0xkt9CfyTvpX1Ra0+rAmdX2QyAobptSEvuy4RtpPRui6XkV+8wjA== + + unicode-property-aliases-ecmascript@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.1.0.tgz#43d41e3be698bd493ef911077c9b131f827e8ccd" + integrity sha512-6t3foTQI9qne+OZoVQB/8x8rk2k1eVy1gRXhV3oFQ5T6R1dqQ1xtin3XqSlx3+ATBkliTaR/hHyJBm+LVPNM8w== + + unimport@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/unimport/-/unimport-2.1.0.tgz#d1c5bfe29f8ef1625816e2f6f3250fa2c1ec28c1" + integrity sha512-GDVIxATluUquX8EqelT6DtnmnZaXGID1jsO9IXwlnxb0OIEqKAxTOnTlnGmHbseoGTh+ZC9kcNDaO18HYQj9KA== + dependencies: + "@rollup/pluginutils" "^5.0.2" + escape-string-regexp "^5.0.0" + fast-glob "^3.2.12" + local-pkg "^0.4.3" + magic-string "^0.27.0" + mlly "^1.1.0" + pathe "^1.1.0" + pkg-types "^1.0.1" + scule "^1.0.0" + strip-literal "^1.0.0" + unplugin "^1.0.1" + + unique-filename@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/unique-filename/-/unique-filename-2.0.1.tgz#e785f8675a9a7589e0ac77e0b5c34d2eaeac6da2" + integrity sha512-ODWHtkkdx3IAR+veKxFV+VBkUMcN+FaqzUUd7IZzt+0zhDZFPFxhlqwPF3YQvMHx1TD0tdgYl+kuPnJ8E6ql7A== + dependencies: + unique-slug "^3.0.0" + + unique-slug@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/unique-slug/-/unique-slug-3.0.0.tgz#6d347cf57c8a7a7a6044aabd0e2d74e4d76dc7c9" + integrity sha512-8EyMynh679x/0gqE9fT9oilG+qEt+ibFyqjuVTsZn1+CMxH+XLlpvr2UZx4nVcCwTpx81nICr2JQFkM+HPLq4w== + dependencies: + imurmurhash "^0.1.4" + + universal-user-agent@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/universal-user-agent/-/universal-user-agent-6.0.0.tgz#3381f8503b251c0d9cd21bc1de939ec9df5480ee" + integrity sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w== + + universalify@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/universalify/-/universalify-2.0.0.tgz#75a4984efedc4b08975c5aeb73f530d02df25717" + integrity sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ== + + unplugin-auto-import@^0.13.0: + version "0.13.0" + resolved "https://registry.yarnpkg.com/unplugin-auto-import/-/unplugin-auto-import-0.13.0.tgz#0d0fae74f4a71529faec7ddda9006ec32363e3fb" + integrity sha512-nKMxDbkjM4FRPInFfm7sWrJOKgxfKKwb5yLPP+DEGl/SG0/FtBoW1LnZL4PQfx0FXjertoHO1P/5nDf+RSip2Q== + dependencies: + "@antfu/utils" "^0.7.2" + "@rollup/pluginutils" "^5.0.2" + local-pkg "^0.4.3" + magic-string "^0.27.0" + unimport "^2.1.0" + unplugin "^1.0.1" + + unplugin-vue-components@^0.23.0: + version "0.23.0" + resolved "https://registry.yarnpkg.com/unplugin-vue-components/-/unplugin-vue-components-0.23.0.tgz#f4dce2f05672ab7b24e0ba149639d1fa7d12b906" + integrity sha512-JAJ+BGvjHvi9P7lICwOzDx2Av+OcI6ZTzvySmjXDNGCNVPrt2NQQmbcp7cW027CR1mRugIX5G//awm3doHyqkg== + dependencies: + "@antfu/utils" "^0.7.2" + "@nuxt/kit" "^3.1.1" + "@rollup/pluginutils" "^5.0.2" + chokidar "^3.5.3" + debug "^4.3.4" + fast-glob "^3.2.12" + local-pkg "^0.4.3" + magic-string "^0.27.0" + minimatch "^6.1.6" + resolve "^1.22.1" + unplugin "^1.0.1" + + unplugin-vue-define-options@1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/unplugin-vue-define-options/-/unplugin-vue-define-options-1.1.4.tgz#7b2455273731e26184cccf75fd34aa3d6fdef0f3" + integrity sha512-nGE3AlMYDkXrPlcUh2XEZgucC9sPdlZupDBUPyqBgNjEo24WuTF9JihA5bq/VLUeDkobxxmkmGHz040l4PGPDA== + dependencies: + "@rollup/pluginutils" "^5.0.2" + "@vue-macros/common" "~0.13.8" + ast-walker-scope "^0.3.1" + unplugin "^1.0.1" + + unplugin@^1.0.0, unplugin@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/unplugin/-/unplugin-1.0.1.tgz#83b528b981cdcea1cad422a12cd02e695195ef3f" + integrity sha512-aqrHaVBWW1JVKBHmGo33T5TxeL0qWzfvjWokObHA9bYmN7eNDkwOxmLjhioHl9878qDFMAaT51XNroRyuz7WxA== + dependencies: + acorn "^8.8.1" + chokidar "^3.5.3" + webpack-sources "^3.2.3" + webpack-virtual-modules "^0.5.0" + + untyped@^1.2.2: + version "1.2.2" + resolved "https://registry.yarnpkg.com/untyped/-/untyped-1.2.2.tgz#d442a5d4b4281b5344cefed318736eb480b70c2f" + integrity sha512-EANYd5L6AdpgfldlgMcmvOOnj092nWhy0ybhc7uhEH12ipytDYz89EOegBQKj8qWL3u1wgYnmFjADhsuCJs5Aw== + dependencies: + "@babel/core" "^7.20.12" + "@babel/standalone" "^7.20.12" + "@babel/types" "^7.20.7" + scule "^1.0.0" + + upath@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/upath/-/upath-2.0.1.tgz#50c73dea68d6f6b990f51d279ce6081665d61a8b" + integrity sha512-1uEe95xksV1O0CYKXo8vQvN1JEbtJp7lb7C5U9HMsIp6IVwntkH/oNUzyVNQSd4S1sYk2FpSSW44FqMc8qee5w== + + update-browserslist-db@^1.0.10: + version "1.0.10" + resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.0.10.tgz#0f54b876545726f17d00cd9a2561e6dade943ff3" + integrity sha512-OztqDenkfFkbSG+tRxBeAnCVPckDBcvibKd35yDONx6OU8N7sqgwc7rCbkJ/WcYtVRZ4ba68d6byhC21GFh7sQ== + 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" + + util-deprecate@^1.0.1, util-deprecate@^1.0.2, util-deprecate@~1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" + integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== + + util@^0.10.3: + version "0.10.4" + resolved "https://registry.yarnpkg.com/util/-/util-0.10.4.tgz#3aa0125bfe668a4672de58857d3ace27ecb76901" + integrity sha512-0Pm9hTQ3se5ll1XihRic3FDIku70C+iHUdT/W926rSgHV5QgXsYbKZN8MSC3tJtSkhuROzvsQjAaFENRXr+19A== + dependencies: + inherits "2.0.3" + + uuid@^8.3.2: + version "8.3.2" + resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2" + integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg== + + v8-compile-cache@2.3.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz#2de19618c66dc247dcfb6f99338035d8245a2cee" + integrity sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA== + + validate-npm-package-license@^3.0.1, validate-npm-package-license@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz#fc91f6b9c7ba15c857f4cb2c5defeec39d4f410a" + integrity sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew== + dependencies: + 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.yarnpkg.com/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz#5fa912d81eb7d0c74afc140de7317f0ca7df437e" + integrity sha512-M6w37eVCMMouJ9V/sdPGnC5H4uDr73/+xdq0FBLO3TFFX1+7wiUY6Es328NN+y43tmY+doUdN9g9J21vqB7iLw== + dependencies: + builtins "^1.0.3" + + validate-npm-package-name@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/validate-npm-package-name/-/validate-npm-package-name-4.0.0.tgz#fe8f1c50ac20afdb86f177da85b3600f0ac0d747" + integrity sha512-mzR0L8ZDktZjpX4OB46KT+56MAhl4EIazWP/+G/HPGuvfdaqg4YsCdtOm6U9+LOFyYDoh4dpnpxZRB9MQQns5Q== + dependencies: + builtins "^5.0.0" + + vite-plugin-pages@^0.28.0: + version "0.28.0" + resolved "https://registry.yarnpkg.com/vite-plugin-pages/-/vite-plugin-pages-0.28.0.tgz#c9ed6ef43f43a4c42ffb8e28862d48ebc92fc4b9" + integrity sha512-yncDncFVnjUzhqJnwCgGDZoZ/wO6MEOMe93f2MQjplKXm1MpmHCrTkFCPnQyYGZTVKPAN+y7BQcIpNWPFLQ4+w== + dependencies: + "@types/debug" "^4.1.7" + debug "^4.3.4" + deep-equal "^2.1.0" + extract-comments "^1.1.0" + fast-glob "^3.2.12" + json5 "^2.2.1" + local-pkg "^0.4.2" + picocolors "^1.0.0" + yaml "^2.1.3" + + vite-plugin-vue-layouts@^0.7.0: + version "0.7.0" + resolved "https://registry.yarnpkg.com/vite-plugin-vue-layouts/-/vite-plugin-vue-layouts-0.7.0.tgz#1722c6d40fba65048f643172cc532a273453d03a" + integrity sha512-k5XDmRNFo4M/GmUjhbRXj2WmJiFcGoVI8l/uZ72RHyRDQr4wE/6Zq/KFq0lqXomWQxTSzakQRUswzNwtvZLE8A== + dependencies: + "@vue/compiler-sfc" "^3.2.31" + debug "^4.3.3" + fast-glob "^3.2.11" + + vite-plugin-vuetify@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/vite-plugin-vuetify/-/vite-plugin-vuetify-1.0.2.tgz#d1777c63aa1b3a308756461b3d0299fd101ee8f4" + integrity sha512-MubIcKD33O8wtgQXlbEXE7ccTEpHZ8nPpe77y9Wy3my2MWw/PgehP9VqTp92BLqr0R1dSL970Lynvisx3UxBFw== + dependencies: + "@vuetify/loader-shared" "^1.7.1" + debug "^4.3.3" + upath "^2.0.1" + + vite@^4.0.0: + version "4.1.1" + resolved "https://registry.yarnpkg.com/vite/-/vite-4.1.1.tgz#3b18b81a4e85ce3df5cbdbf4c687d93ebf402e6b" + integrity sha512-LM9WWea8vsxhr782r9ntg+bhSFS06FJgCvvB0+8hf8UWtvaiDagKYWXndjfX6kGl74keHJUcpzrQliDXZlF5yg== + dependencies: + esbuild "^0.16.14" + postcss "^8.4.21" + resolve "^1.22.1" + rollup "^3.10.0" + optionalDependencies: + fsevents "~2.3.2" + + vue-demi@*: + version "0.13.11" + resolved "https://registry.yarnpkg.com/vue-demi/-/vue-demi-0.13.11.tgz#7d90369bdae8974d87b1973564ad390182410d99" + integrity sha512-IR8HoEEGM65YY3ZJYAjMlKygDQn25D5ajNFNoKh9RSDMQtlzCxtfQjdQgv9jjK+m3377SsJXY8ysq8kLCZL25A== + + vue-eslint-parser@^9.0.0, vue-eslint-parser@^9.0.1: + version "9.1.0" + resolved "https://registry.yarnpkg.com/vue-eslint-parser/-/vue-eslint-parser-9.1.0.tgz#0e121d1bb29bd10763c83e3cc583ee03434a9dd5" + integrity sha512-NGn/iQy8/Wb7RrRa4aRkokyCZfOUWk19OP5HP6JEozQFX5AoS/t+Z0ZN7FY4LlmWc4FNI922V7cvX28zctN8dQ== + dependencies: + debug "^4.3.4" + eslint-scope "^7.1.1" + eslint-visitor-keys "^3.3.0" + espree "^9.3.1" + esquery "^1.4.0" + lodash "^4.17.21" + semver "^7.3.6" + + vue-i18n@^9.2.2: + version "9.2.2" + resolved "https://registry.yarnpkg.com/vue-i18n/-/vue-i18n-9.2.2.tgz#aeb49d9424923c77e0d6441e3f21dafcecd0e666" + integrity sha512-yswpwtj89rTBhegUAv9Mu37LNznyu3NpyLQmozF3i1hYOhwpG8RjcjIFIIfnu+2MDZJGSZPXaKWvnQA71Yv9TQ== + dependencies: + "@intlify/core-base" "9.2.2" + "@intlify/shared" "9.2.2" + "@intlify/vue-devtools" "9.2.2" + "@vue/devtools-api" "^6.2.1" + + vue-router@^4.1.6: + version "4.1.6" + resolved "https://registry.yarnpkg.com/vue-router/-/vue-router-4.1.6.tgz#b70303737e12b4814578d21d68d21618469375a1" + integrity sha512-DYWYwsG6xNPmLq/FmZn8Ip+qrhFEzA14EI12MsMgVxvHFDYvlr4NXpVF5hrRH1wVcDP8fGi5F4rxuJSl8/r+EQ== + dependencies: + "@vue/devtools-api" "^6.4.5" + + vue-template-compiler@^2.7.14: + version "2.7.14" + resolved "https://registry.yarnpkg.com/vue-template-compiler/-/vue-template-compiler-2.7.14.tgz#4545b7dfb88090744c1577ae5ac3f964e61634b1" + integrity sha512-zyA5Y3ArvVG0NacJDkkzJuPQDF8RFeRlzV2vLeSnhSpieO6LK2OVbdLPi5MPPs09Ii+gMO8nY4S3iKQxBxDmWQ== + dependencies: + de-indent "^1.0.2" + he "^1.2.0" + + vue-tsc@^1.0.12: + version "1.0.24" + resolved "https://registry.yarnpkg.com/vue-tsc/-/vue-tsc-1.0.24.tgz#c0b270a7c8422408d3b6694fee61b39a4b9e4740" + integrity sha512-mmU1s5SAqE1nByQAiQnao9oU4vX+mSdsgI8H57SfKH6UVzq/jP9+Dbi2GaV+0b4Cn361d2ln8m6xeU60ApiEXg== + dependencies: + "@volar/vue-language-core" "1.0.24" + "@volar/vue-typescript" "1.0.24" + + vue3-apexcharts@^1.4.1: + version "1.4.1" + resolved "https://registry.yarnpkg.com/vue3-apexcharts/-/vue3-apexcharts-1.4.1.tgz#ea561308430a1c5213b7f17c44ba3c845f6c490d" + integrity sha512-96qP8JDqB9vwU7bkG5nVU+E0UGQn7yYQVqUUCLQMYWDuQyu2vE77H/UFZ1yI+hwzlSTBKT9BqnNG8JsFegB3eg== + + vue3-perfect-scrollbar@^1.6.1: + version "1.6.1" + resolved "https://registry.yarnpkg.com/vue3-perfect-scrollbar/-/vue3-perfect-scrollbar-1.6.1.tgz#296e0e0c61a8f6278184f5b09bb45d137af92327" + integrity sha512-r9wfxlFwVyHXMPKG0PnR7fDfJPQ20KEVzKQfSU5by2WKYz2PwV0bTfyfejmEyZXsXL0O8VtSWtgxfPuFR2AGOg== + dependencies: + cssnano "^5.1.14" + perfect-scrollbar "^1.5.5" + postcss-import "^12.0.0" + + vue@^3.2.45: + version "3.2.47" + resolved "https://registry.yarnpkg.com/vue/-/vue-3.2.47.tgz#3eb736cbc606fc87038dbba6a154707c8a34cff0" + integrity sha512-60188y/9Dc9WVrAZeUVSDxRQOZ+z+y5nO2ts9jWXSTkMvayiWxCWOWtBQoYjLeccfXkiiPZWAHcV+WTPhkqJHQ== + dependencies: + "@vue/compiler-dom" "3.2.47" + "@vue/compiler-sfc" "3.2.47" + "@vue/runtime-dom" "3.2.47" + "@vue/server-renderer" "3.2.47" + "@vue/shared" "3.2.47" + + vuetify@3.0.6: + version "3.0.6" + resolved "https://registry.yarnpkg.com/vuetify/-/vuetify-3.0.6.tgz#83fe4fa7159d002acff9ca65cfabe4a67d64dc20" + integrity sha512-Illtc9t8PExlKqUEIivNNMpDif4/tvn+04ZEAwrxpQAG75x6V7oUFOF1kVKAFZ2ryuLnBpscXBR85GwFBmLeMQ== + + walk-up-path@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/walk-up-path/-/walk-up-path-1.0.0.tgz#d4745e893dd5fd0dbb58dd0a4c6a33d9c9fec53e" + integrity sha512-hwj/qMDUEjCU5h0xr90KGCf0tg0/LgJbmOWgrWKYlcJZM7XvquvUJZ0G/HMGr7F7OQMOUuPHWP9JpriinkAlkg== + + walker@^1.0.8: + version "1.0.8" + resolved "https://registry.yarnpkg.com/walker/-/walker-1.0.8.tgz#bd498db477afe573dc04185f011d3ab8a8d7653f" + integrity sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ== + dependencies: + makeerror "1.0.12" + + wasm-ast-types@^0.15.0: + version "0.15.0" + resolved "https://registry.yarnpkg.com/wasm-ast-types/-/wasm-ast-types-0.15.0.tgz#101f98fc9c5d0528bc615f80d9d7a897168e0593" + integrity sha512-A3wgW3mlqK3irUjHqMkA26ADFA1z55LgQKl+KXRf1ylN5DValI3t/R9Sv3grSa7vpCAeG6E+XWCd7pGRNDsylw== + 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, wcwidth@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/wcwidth/-/wcwidth-1.0.1.tgz#f0b0dcf915bc5ff1528afadb2c0e17b532da2fe8" + integrity sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg== + dependencies: + defaults "^1.0.3" + + webfontloader@^1.6.28: + version "1.6.28" + resolved "https://registry.yarnpkg.com/webfontloader/-/webfontloader-1.6.28.tgz#db786129253cb6e8eae54c2fb05f870af6675bae" + integrity sha512-Egb0oFEga6f+nSgasH3E0M405Pzn6y3/9tOVanv/DLfa1YBIgcv90L18YyWnvXkRbIM17v5Kv6IT2N6g1x5tvQ== + + webidl-conversions@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" + integrity sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ== + + webpack-sources@^3.2.3: + version "3.2.3" + resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-3.2.3.tgz#2d4daab8451fd4b240cc27055ff6a0c2ccea0cde" + integrity sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w== + + webpack-virtual-modules@^0.5.0: + version "0.5.0" + resolved "https://registry.yarnpkg.com/webpack-virtual-modules/-/webpack-virtual-modules-0.5.0.tgz#362f14738a56dae107937ab98ea7062e8bdd3b6c" + integrity sha512-kyDivFZ7ZM0BVOUteVbDFhlRt7Ah/CSPwJdi8hBpkK7QLumUqdLtVfm/PX/hkcnrvr0i77fO5+TjZ94Pe+C9iw== + + whatwg-url@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-5.0.0.tgz#966454e8765462e37644d3626f6742ce8b70965d" + integrity sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw== + dependencies: + tr46 "~0.0.3" + webidl-conversions "^3.0.0" + + 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-collection@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/which-collection/-/which-collection-1.0.1.tgz#70eab71ebbbd2aefaf32f917082fc62cdcb70906" + integrity sha512-W8xeTUwaln8i3K/cY1nGXzdnVZlidBcagyNFtBdD5kxnb4TvGKR7FfSIS3mYpwWS1QUCutfKz8IY8RjftB0+1A== + dependencies: + is-map "^2.0.1" + is-set "^2.0.1" + is-weakmap "^2.0.1" + is-weakset "^2.0.1" + + which-typed-array@^1.1.9: + version "1.1.9" + resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.9.tgz#307cf898025848cf995e795e8423c7f337efbde6" + integrity sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA== + dependencies: + available-typed-arrays "^1.0.5" + call-bind "^1.0.2" + for-each "^0.3.3" + gopd "^1.0.1" + has-tostringtag "^1.0.0" + is-typed-array "^1.1.10" + + which@^1.2.9: + version "1.3.1" + resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" + integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ== + dependencies: + isexe "^2.0.0" + + which@^2.0.1, which@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1" + integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== + dependencies: + isexe "^2.0.0" + + wide-align@^1.1.5: + version "1.1.5" + resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.5.tgz#df1d4c206854369ecf3c9a4898f1b23fbd9d15d3" + integrity sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg== + dependencies: + string-width "^1.0.2 || 2 || 3 || 4" + + 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== + + wordwrap@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/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: + version "3.0.3" + resolved "https://registry.yarnpkg.com/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.0, write-file-atomic@^4.0.1: + version "4.0.2" + resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-4.0.2.tgz#a9df01ae5b77858a027fd2e80768ee433555fcfd" + integrity sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg== + dependencies: + imurmurhash "^0.1.4" + signal-exit "^3.0.7" + + write-json-file@^3.2.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/write-pkg/-/write-pkg-4.0.0.tgz#675cc04ef6c11faacbbc7771b24c0abbf2a20039" + integrity sha512-v2UQ+50TNf2rNHJ8NyWttfm/EJUBWMJcx6ZTYZr6Qp52uuegWw/lBkCtCbnYZEmPRNL61m+u67dAmGxo+HTULA== + dependencies: + sort-keys "^2.0.0" + type-fest "^0.4.1" + write-json-file "^3.2.0" + + ws@^7: + version "7.5.9" + resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.9.tgz#54fa7db29f4c7cec68b1ddd3a89de099942bb591" + integrity sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q== + + xml-name-validator@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-4.0.0.tgz#79a006e2e63149a8600f15430f0a4725d1524835" + integrity sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw== + + 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.1: + version "4.0.2" + resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54" + integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== + + y18n@^5.0.5: + version "5.0.8" + resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" + integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== + + yallist@^3.0.2: + version "3.1.1" + resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" + integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== + + 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-eslint-parser@^0.3.2: + version "0.3.2" + resolved "https://registry.yarnpkg.com/yaml-eslint-parser/-/yaml-eslint-parser-0.3.2.tgz#c7f5f3904f1c06ad55dc7131a731b018426b4898" + integrity sha512-32kYO6kJUuZzqte82t4M/gB6/+11WAuHiEnK7FreMo20xsCKPeFH5tDBU7iWxR7zeJpNnMXfJyXwne48D0hGrg== + dependencies: + eslint-visitor-keys "^1.3.0" + lodash "^4.17.20" + yaml "^1.10.0" + + 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== + + yaml@^2.1.3: + version "2.2.1" + resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.2.1.tgz#3014bf0482dcd15147aa8e56109ce8632cd60ce4" + integrity sha512-e0WHiYql7+9wr4cWMx3TVQrNwejKaEe7/rHNmQmqRjazfOP5W8PB6Jpebb5o6fIapbz9o9+2ipcaTM2ZwDI6lw== + + yargs-parser@20.2.4: + version "20.2.4" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.4.tgz#b42890f14566796f85ae8e3a25290d205f154a54" + integrity sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA== + + yargs-parser@21.1.1, yargs-parser@^21.1.1: + version "21.1.1" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35" + integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw== + + yargs-parser@^20.2.2, yargs-parser@^20.2.3: + version "20.2.9" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee" + integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w== + + yargs@^16.2.0: + version "16.2.0" + resolved "https://registry.yarnpkg.com/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.6.2: + version "17.6.2" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.6.2.tgz#2e23f2944e976339a1ee00f18c77fedee8332541" + integrity sha512-1/9UrdHjDZc0eOU0HxOHoS78C69UD3JRMvzlJ7S79S2nTaWRA/whGCTV8o9e/N/1Va9YIV7Q4sOxD8VV4pCWOw== + dependencies: + cliui "^8.0.1" + escalade "^3.1.1" + get-caller-file "^2.0.5" + require-directory "^2.1.1" + string-width "^4.2.3" + y18n "^5.0.5" + yargs-parser "^21.1.1" + + 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/yarn.lock b/yarn.lock index d736683b..4351bf7e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -15,7 +15,7 @@ resolved "https://registry.yarnpkg.com/@antfu/utils/-/utils-0.7.2.tgz#3bb6f37a6b188056fe9e2f363b6aa735ed65d7ca" integrity sha512-vy9fM3pIxZmX07dL+VX1aZe7ynZ+YyB0jY+jE6r3hOK6GNY2t6W8rzpFC4tgpbXUYABkFQwgJq2XYXlxbXAI0g== -"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.18.6": +"@babel/code-frame@^7.18.6": version "7.18.6" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.18.6.tgz#3b25d38c89600baa2dcc219edfa88a74eb2c427a" integrity sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q== @@ -1672,11 +1672,6 @@ dependencies: "@floating-ui/core" "^1.2.0" -"@gar/promisify@^1.1.3": - version "1.1.3" - resolved "https://registry.yarnpkg.com/@gar/promisify/-/promisify-1.1.3.tgz#555193ab2e3bb3b6adc3d551c9c030d9e860daf6" - integrity sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw== - "@humanwhocodes/config-array@^0.11.8": version "0.11.8" resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.8.tgz#03595ac2075a4dc0f191cc2131de14fbd7d410b9" @@ -1696,11 +1691,6 @@ resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz#b520529ec21d8e5945a1851dfd1c32e94e39ff45" integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA== -"@hutson/parse-repository-url@^3.0.0": - version "3.0.2" - resolved "https://registry.yarnpkg.com/@hutson/parse-repository-url/-/parse-repository-url-3.0.2.tgz#98c23c950a3d9b6c8f0daed06da6c3af06981340" - integrity sha512-H9XAx3hc0BQHY6l+IFSWHDySypcXsvsuLhgYLUGywmJ5pswRVQJUHpOsobnLYp2ZUaUlKiKDrgWWhosOwAEM8Q== - "@iconify/types@^2.0.0": version "2.0.0" resolved "https://registry.yarnpkg.com/@iconify/types/-/types-2.0.0.tgz#ab0e9ea681d6c8a1214f30cd741fe3a20cc57f57" @@ -1793,11 +1783,6 @@ "@intlify/core-base" "9.2.2" "@intlify/shared" "9.2.2" -"@isaacs/string-locale-compare@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@isaacs/string-locale-compare/-/string-locale-compare-1.1.0.tgz#291c227e93fd407a96ecd59879a35809120e432b" - integrity sha512-SQ7Kzhh9+D+ZW9MA0zkYv3VXhIDNx+LzM6EJ+/65I3QY+enU6Itte7E5XX7EWrqLW2FN4n06GWzBnPoC3th2aQ== - "@istanbuljs/load-nyc-config@^1.0.0": version "1.1.0" resolved "https://registry.yarnpkg.com/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz#fd3db1d59ecf7cf121e80650bb86712f9b55eced" @@ -1899,691 +1884,6 @@ resolved "https://registry.yarnpkg.com/@jsdevtools/ono/-/ono-7.1.3.tgz#9df03bbd7c696a5c58885c34aa06da41c8543796" integrity sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg== -"@lerna/add@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/add/-/add-6.4.1.tgz#fa20fe9ff875dc5758141262c8cde0d9a6481ec4" - integrity sha512-YSRnMcsdYnQtQQK0NSyrS9YGXvB3jzvx183o+JTH892MKzSlBqwpBHekCknSibyxga1HeZ0SNKQXgsHAwWkrRw== - dependencies: - "@lerna/bootstrap" "6.4.1" - "@lerna/command" "6.4.1" - "@lerna/filter-options" "6.4.1" - "@lerna/npm-conf" "6.4.1" - "@lerna/validation-error" "6.4.1" - dedent "^0.7.0" - npm-package-arg "8.1.1" - p-map "^4.0.0" - pacote "^13.6.1" - semver "^7.3.4" - -"@lerna/bootstrap@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/bootstrap/-/bootstrap-6.4.1.tgz#a76ff22c3160d134fb60bcfddb3f8b0759b4f1ff" - integrity sha512-64cm0mnxzxhUUjH3T19ZSjPdn28vczRhhTXhNAvOhhU0sQgHrroam1xQC1395qbkV3iosSertlu8e7xbXW033w== - dependencies: - "@lerna/command" "6.4.1" - "@lerna/filter-options" "6.4.1" - "@lerna/has-npm-version" "6.4.1" - "@lerna/npm-install" "6.4.1" - "@lerna/package-graph" "6.4.1" - "@lerna/pulse-till-done" "6.4.1" - "@lerna/rimraf-dir" "6.4.1" - "@lerna/run-lifecycle" "6.4.1" - "@lerna/run-topologically" "6.4.1" - "@lerna/symlink-binary" "6.4.1" - "@lerna/symlink-dependencies" "6.4.1" - "@lerna/validation-error" "6.4.1" - "@npmcli/arborist" "5.3.0" - dedent "^0.7.0" - get-port "^5.1.1" - multimatch "^5.0.0" - npm-package-arg "8.1.1" - npmlog "^6.0.2" - p-map "^4.0.0" - p-map-series "^2.1.0" - p-waterfall "^2.1.1" - semver "^7.3.4" - -"@lerna/changed@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/changed/-/changed-6.4.1.tgz#4da6d08df7c53bc90c0c0d9d04839f91dd6d70a9" - integrity sha512-Z/z0sTm3l/iZW0eTSsnQpcY5d6eOpNO0g4wMOK+hIboWG0QOTc8b28XCnfCUO+33UisKl8PffultgoaHMKkGgw== - dependencies: - "@lerna/collect-updates" "6.4.1" - "@lerna/command" "6.4.1" - "@lerna/listable" "6.4.1" - "@lerna/output" "6.4.1" - -"@lerna/check-working-tree@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/check-working-tree/-/check-working-tree-6.4.1.tgz#c0dcb5c474faf214865058e2fedda44962367a4e" - integrity sha512-EnlkA1wxaRLqhJdn9HX7h+JYxqiTK9aWEFOPqAE8lqjxHn3RpM9qBp1bAdL7CeUk3kN1lvxKwDEm0mfcIyMbPA== - dependencies: - "@lerna/collect-uncommitted" "6.4.1" - "@lerna/describe-ref" "6.4.1" - "@lerna/validation-error" "6.4.1" - -"@lerna/child-process@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/child-process/-/child-process-6.4.1.tgz#d697fb769f4c5b57c59f87471eb9b3d65be904a3" - integrity sha512-dvEKK0yKmxOv8pccf3I5D/k+OGiLxQp5KYjsrDtkes2pjpCFfQAMbmpol/Tqx6w/2o2rSaRrLsnX8TENo66FsA== - dependencies: - chalk "^4.1.0" - execa "^5.0.0" - strong-log-transformer "^2.1.0" - -"@lerna/clean@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/clean/-/clean-6.4.1.tgz#e9ee365ee6879ee998b78b3269fad02b5f385771" - integrity sha512-FuVyW3mpos5ESCWSkQ1/ViXyEtsZ9k45U66cdM/HnteHQk/XskSQw0sz9R+whrZRUDu6YgYLSoj1j0YAHVK/3A== - dependencies: - "@lerna/command" "6.4.1" - "@lerna/filter-options" "6.4.1" - "@lerna/prompt" "6.4.1" - "@lerna/pulse-till-done" "6.4.1" - "@lerna/rimraf-dir" "6.4.1" - p-map "^4.0.0" - p-map-series "^2.1.0" - p-waterfall "^2.1.1" - -"@lerna/cli@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/cli/-/cli-6.4.1.tgz#2b2d093baace40e822caee8c90f698e98a437a2f" - integrity sha512-2pNa48i2wzFEd9LMPKWI3lkW/3widDqiB7oZUM1Xvm4eAOuDWc9I3RWmAUIVlPQNf3n4McxJCvsZZ9BpQN50Fg== - dependencies: - "@lerna/global-options" "6.4.1" - dedent "^0.7.0" - npmlog "^6.0.2" - yargs "^16.2.0" - -"@lerna/collect-uncommitted@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/collect-uncommitted/-/collect-uncommitted-6.4.1.tgz#ae62bcaa5ecaa5b7fbc41eb9ae90b6711be156ec" - integrity sha512-5IVQGhlLrt7Ujc5ooYA1Xlicdba/wMcDSnbQwr8ufeqnzV2z4729pLCVk55gmi6ZienH/YeBPHxhB5u34ofE0Q== - dependencies: - "@lerna/child-process" "6.4.1" - chalk "^4.1.0" - npmlog "^6.0.2" - -"@lerna/collect-updates@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/collect-updates/-/collect-updates-6.4.1.tgz#4f7cf1c411f3253d0104e7b64cb0aa315a5dfc81" - integrity sha512-pzw2/FC+nIqYkknUHK9SMmvP3MsLEjxI597p3WV86cEDN3eb1dyGIGuHiKShtjvT08SKSwpTX+3bCYvLVxtC5Q== - dependencies: - "@lerna/child-process" "6.4.1" - "@lerna/describe-ref" "6.4.1" - minimatch "^3.0.4" - npmlog "^6.0.2" - slash "^3.0.0" - -"@lerna/command@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/command/-/command-6.4.1.tgz#96c4f5d88792c6c638738c66fcc3a7ad0d2487e2" - integrity sha512-3Lifj8UTNYbRad8JMP7IFEEdlIyclWyyvq/zvNnTS9kCOEymfmsB3lGXr07/AFoi6qDrvN64j7YSbPZ6C6qonw== - dependencies: - "@lerna/child-process" "6.4.1" - "@lerna/package-graph" "6.4.1" - "@lerna/project" "6.4.1" - "@lerna/validation-error" "6.4.1" - "@lerna/write-log-file" "6.4.1" - clone-deep "^4.0.1" - dedent "^0.7.0" - execa "^5.0.0" - is-ci "^2.0.0" - npmlog "^6.0.2" - -"@lerna/conventional-commits@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/conventional-commits/-/conventional-commits-6.4.1.tgz#b8d44a8a71865b4d37b900137acef623f3a0a11b" - integrity sha512-NIvCOjStjQy5O8VojB7/fVReNNDEJOmzRG2sTpgZ/vNS4AzojBQZ/tobzhm7rVkZZ43R9srZeuhfH9WgFsVUSA== - dependencies: - "@lerna/validation-error" "6.4.1" - conventional-changelog-angular "^5.0.12" - conventional-changelog-core "^4.2.4" - conventional-recommended-bump "^6.1.0" - fs-extra "^9.1.0" - get-stream "^6.0.0" - npm-package-arg "8.1.1" - npmlog "^6.0.2" - pify "^5.0.0" - semver "^7.3.4" - -"@lerna/create-symlink@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/create-symlink/-/create-symlink-6.4.1.tgz#0efec22d78dd814a70d8345ced52c39beb05874b" - integrity sha512-rNivHFYV1GAULxnaTqeGb2AdEN2OZzAiZcx5CFgj45DWXQEGwPEfpFmCSJdXhFZbyd3K0uiDlAXjAmV56ov3FQ== - dependencies: - cmd-shim "^5.0.0" - fs-extra "^9.1.0" - npmlog "^6.0.2" - -"@lerna/create@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/create/-/create-6.4.1.tgz#3fc8556adadff1265432a6cee69ee14465798e71" - integrity sha512-qfQS8PjeGDDlxEvKsI/tYixIFzV2938qLvJohEKWFn64uvdLnXCamQ0wvRJST8p1ZpHWX4AXrB+xEJM3EFABrA== - dependencies: - "@lerna/child-process" "6.4.1" - "@lerna/command" "6.4.1" - "@lerna/npm-conf" "6.4.1" - "@lerna/validation-error" "6.4.1" - dedent "^0.7.0" - fs-extra "^9.1.0" - init-package-json "^3.0.2" - npm-package-arg "8.1.1" - p-reduce "^2.1.0" - pacote "^13.6.1" - pify "^5.0.0" - semver "^7.3.4" - slash "^3.0.0" - validate-npm-package-license "^3.0.4" - validate-npm-package-name "^4.0.0" - yargs-parser "20.2.4" - -"@lerna/describe-ref@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/describe-ref/-/describe-ref-6.4.1.tgz#c0a0beca5dfeada3a39b030f69c8c98f5623bb13" - integrity sha512-MXGXU8r27wl355kb1lQtAiu6gkxJ5tAisVJvFxFM1M+X8Sq56icNoaROqYrvW6y97A9+3S8Q48pD3SzkFv31Xw== - dependencies: - "@lerna/child-process" "6.4.1" - npmlog "^6.0.2" - -"@lerna/diff@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/diff/-/diff-6.4.1.tgz#ca9e62a451ce199faaa7ef5990ded3fad947e2f9" - integrity sha512-TnzJsRPN2fOjUrmo5Boi43fJmRtBJDsVgwZM51VnLoKcDtO1kcScXJ16Od2Xx5bXbp5dES5vGDLL/USVVWfeAg== - dependencies: - "@lerna/child-process" "6.4.1" - "@lerna/command" "6.4.1" - "@lerna/validation-error" "6.4.1" - npmlog "^6.0.2" - -"@lerna/exec@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/exec/-/exec-6.4.1.tgz#493ce805b6959e8299ec58fab8d31fd01ed209ba" - integrity sha512-KAWfuZpoyd3FMejHUORd0GORMr45/d9OGAwHitfQPVs4brsxgQFjbbBEEGIdwsg08XhkDb4nl6IYVASVTq9+gA== - dependencies: - "@lerna/child-process" "6.4.1" - "@lerna/command" "6.4.1" - "@lerna/filter-options" "6.4.1" - "@lerna/profiler" "6.4.1" - "@lerna/run-topologically" "6.4.1" - "@lerna/validation-error" "6.4.1" - p-map "^4.0.0" - -"@lerna/filter-options@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/filter-options/-/filter-options-6.4.1.tgz#571d37436878fab8b2ac84ca1c3863acd3515cfb" - integrity sha512-efJh3lP2T+9oyNIP2QNd9EErf0Sm3l3Tz8CILMsNJpjSU6kO43TYWQ+L/ezu2zM99KVYz8GROLqDcHRwdr8qUA== - dependencies: - "@lerna/collect-updates" "6.4.1" - "@lerna/filter-packages" "6.4.1" - dedent "^0.7.0" - npmlog "^6.0.2" - -"@lerna/filter-packages@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/filter-packages/-/filter-packages-6.4.1.tgz#e138b182816a049c81de094069cad12aaa41a236" - integrity sha512-LCMGDGy4b+Mrb6xkcVzp4novbf5MoZEE6ZQF1gqG0wBWqJzNcKeFiOmf352rcDnfjPGZP6ct5+xXWosX/q6qwg== - dependencies: - "@lerna/validation-error" "6.4.1" - multimatch "^5.0.0" - npmlog "^6.0.2" - -"@lerna/get-npm-exec-opts@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/get-npm-exec-opts/-/get-npm-exec-opts-6.4.1.tgz#42681f6db4238277889b3423f87308eda5dc01ec" - integrity sha512-IvN/jyoklrWcjssOf121tZhOc16MaFPOu5ii8a+Oy0jfTriIGv929Ya8MWodj75qec9s+JHoShB8yEcMqZce4g== - dependencies: - npmlog "^6.0.2" - -"@lerna/get-packed@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/get-packed/-/get-packed-6.4.1.tgz#b3b8b907002d50bf8792dd97e2729249c0b0e0cd" - integrity sha512-uaDtYwK1OEUVIXn84m45uPlXShtiUcw6V9TgB3rvHa3rrRVbR7D4r+JXcwVxLGrAS7LwxVbYWEEO/Z/bX7J/Lg== - dependencies: - fs-extra "^9.1.0" - ssri "^9.0.1" - tar "^6.1.0" - -"@lerna/github-client@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/github-client/-/github-client-6.4.1.tgz#25d19b440395a6039b9162ee58dadb9dce990ff0" - integrity sha512-ridDMuzmjMNlcDmrGrV9mxqwUKzt9iYqCPwVYJlRYrnE3jxyg+RdooquqskVFj11djcY6xCV2Q2V1lUYwF+PmA== - dependencies: - "@lerna/child-process" "6.4.1" - "@octokit/plugin-enterprise-rest" "^6.0.1" - "@octokit/rest" "^19.0.3" - git-url-parse "^13.1.0" - npmlog "^6.0.2" - -"@lerna/gitlab-client@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/gitlab-client/-/gitlab-client-6.4.1.tgz#a01d962dc52a55b8272ea52bc54d72c5fd9db6f9" - integrity sha512-AdLG4d+jbUvv0jQyygQUTNaTCNSMDxioJso6aAjQ/vkwyy3fBJ6FYzX74J4adSfOxC2MQZITFyuG+c9ggp7pyQ== - dependencies: - node-fetch "^2.6.1" - npmlog "^6.0.2" - -"@lerna/global-options@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/global-options/-/global-options-6.4.1.tgz#7df76b1d38500606a8dc3ce0804bab6894c4f4a3" - integrity sha512-UTXkt+bleBB8xPzxBPjaCN/v63yQdfssVjhgdbkQ//4kayaRA65LyEtJTi9rUrsLlIy9/rbeb+SAZUHg129fJg== - -"@lerna/has-npm-version@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/has-npm-version/-/has-npm-version-6.4.1.tgz#04eba7df687e665294834253b659430efc1e01bb" - integrity sha512-vW191w5iCkwNWWWcy4542ZOpjKYjcP/pU3o3+w6NM1J3yBjWZcNa8lfzQQgde2QkGyNi+i70o6wIca1o0sdKwg== - dependencies: - "@lerna/child-process" "6.4.1" - semver "^7.3.4" - -"@lerna/import@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/import/-/import-6.4.1.tgz#b5696fed68a32d32398d66f95192267f1da5110e" - integrity sha512-oDg8g1PNrCM1JESLsG3rQBtPC+/K9e4ohs0xDKt5E6p4l7dc0Ib4oo0oCCT/hGzZUlNwHxrc2q9JMRzSAn6P/Q== - dependencies: - "@lerna/child-process" "6.4.1" - "@lerna/command" "6.4.1" - "@lerna/prompt" "6.4.1" - "@lerna/pulse-till-done" "6.4.1" - "@lerna/validation-error" "6.4.1" - dedent "^0.7.0" - fs-extra "^9.1.0" - p-map-series "^2.1.0" - -"@lerna/info@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/info/-/info-6.4.1.tgz#30354fcb82c99b1f0ed753f957fbaca5b250c3fa" - integrity sha512-Ks4R7IndIr4vQXz+702gumPVhH6JVkshje0WKA3+ew2qzYZf68lU1sBe1OZsQJU3eeY2c60ax+bItSa7aaIHGw== - dependencies: - "@lerna/command" "6.4.1" - "@lerna/output" "6.4.1" - envinfo "^7.7.4" - -"@lerna/init@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/init/-/init-6.4.1.tgz#ea4905ca976189db4b0bf04d78919060146bf684" - integrity sha512-CXd/s/xgj0ZTAoOVyolOTLW2BG7uQOhWW4P/ktlwwJr9s3c4H/z+Gj36UXw3q5X1xdR29NZt7Vc6fvROBZMjUQ== - dependencies: - "@lerna/child-process" "6.4.1" - "@lerna/command" "6.4.1" - "@lerna/project" "6.4.1" - fs-extra "^9.1.0" - p-map "^4.0.0" - write-json-file "^4.3.0" - -"@lerna/link@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/link/-/link-6.4.1.tgz#f31ed1f6aea1581e358a9ff545be78b61e923175" - integrity sha512-O8Rt7MAZT/WT2AwrB/+HY76ktnXA9cDFO9rhyKWZGTHdplbzuJgfsGzu8Xv0Ind+w+a8xLfqtWGPlwiETnDyrw== - dependencies: - "@lerna/command" "6.4.1" - "@lerna/package-graph" "6.4.1" - "@lerna/symlink-dependencies" "6.4.1" - "@lerna/validation-error" "6.4.1" - p-map "^4.0.0" - slash "^3.0.0" - -"@lerna/list@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/list/-/list-6.4.1.tgz#12ad83902e148d1e5ba007149b72b14636f9f1ba" - integrity sha512-7a6AKgXgC4X7nK6twVPNrKCiDhrCiAhL/FE4u9HYhHqw9yFwyq8Qe/r1RVOkAOASNZzZ8GuBvob042bpunupCw== - dependencies: - "@lerna/command" "6.4.1" - "@lerna/filter-options" "6.4.1" - "@lerna/listable" "6.4.1" - "@lerna/output" "6.4.1" - -"@lerna/listable@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/listable/-/listable-6.4.1.tgz#6f5c83865391c6beeb41802951c674e2de119bde" - integrity sha512-L8ANeidM10aoF8aL3L/771Bb9r/TRkbEPzAiC8Iy2IBTYftS87E3rT/4k5KBEGYzMieSKJaskSFBV0OQGYV1Cw== - dependencies: - "@lerna/query-graph" "6.4.1" - chalk "^4.1.0" - columnify "^1.6.0" - -"@lerna/log-packed@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/log-packed/-/log-packed-6.4.1.tgz#43eae50d5c0cd906b1977a58b62b35541cf89ec1" - integrity sha512-Pwv7LnIgWqZH4vkM1rWTVF+pmWJu7d0ZhVwyhCaBJUsYbo+SyB2ZETGygo3Z/A+vZ/S7ImhEEKfIxU9bg5lScQ== - dependencies: - byte-size "^7.0.0" - columnify "^1.6.0" - has-unicode "^2.0.1" - npmlog "^6.0.2" - -"@lerna/npm-conf@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/npm-conf/-/npm-conf-6.4.1.tgz#64dba237ff41472a24f96192669c1bc0dce15edb" - integrity sha512-Q+83uySGXYk3n1pYhvxtzyGwBGijYgYecgpiwRG1YNyaeGy+Mkrj19cyTWubT+rU/kM5c6If28+y9kdudvc7zQ== - dependencies: - config-chain "^1.1.12" - pify "^5.0.0" - -"@lerna/npm-dist-tag@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/npm-dist-tag/-/npm-dist-tag-6.4.1.tgz#f14e7176f7e323284e8aa8636b44818a61738fd1" - integrity sha512-If1Hn4q9fn0JWuBm455iIZDWE6Fsn4Nv8Tpqb+dYf0CtoT5Hn+iT64xSiU5XJw9Vc23IR7dIujkEXm2MVbnvZw== - dependencies: - "@lerna/otplease" "6.4.1" - npm-package-arg "8.1.1" - npm-registry-fetch "^13.3.0" - npmlog "^6.0.2" - -"@lerna/npm-install@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/npm-install/-/npm-install-6.4.1.tgz#99f5748cb43de9786ea2b538c94a7183d38fc476" - integrity sha512-7gI1txMA9qTaT3iiuk/8/vL78wIhtbbOLhMf8m5yQ2G+3t47RUA8MNgUMsq4Zszw9C83drayqesyTf0u8BzVRg== - dependencies: - "@lerna/child-process" "6.4.1" - "@lerna/get-npm-exec-opts" "6.4.1" - fs-extra "^9.1.0" - npm-package-arg "8.1.1" - npmlog "^6.0.2" - signal-exit "^3.0.3" - write-pkg "^4.0.0" - -"@lerna/npm-publish@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/npm-publish/-/npm-publish-6.4.1.tgz#baf07b108ae8b32932612db63206bcd5b5ee0e88" - integrity sha512-lbNEg+pThPAD8lIgNArm63agtIuCBCF3umxvgTQeLzyqUX6EtGaKJFyz/6c2ANcAuf8UfU7WQxFFbOiolibXTQ== - dependencies: - "@lerna/otplease" "6.4.1" - "@lerna/run-lifecycle" "6.4.1" - fs-extra "^9.1.0" - libnpmpublish "^6.0.4" - npm-package-arg "8.1.1" - npmlog "^6.0.2" - pify "^5.0.0" - read-package-json "^5.0.1" - -"@lerna/npm-run-script@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/npm-run-script/-/npm-run-script-6.4.1.tgz#86db4f15d359b8a371db666aa51c9b2b87b602f3" - integrity sha512-HyvwuyhrGqDa1UbI+pPbI6v+wT6I34R0PW3WCADn6l59+AyqLOCUQQr+dMW7jdYNwjO6c/Ttbvj4W58EWsaGtQ== - dependencies: - "@lerna/child-process" "6.4.1" - "@lerna/get-npm-exec-opts" "6.4.1" - npmlog "^6.0.2" - -"@lerna/otplease@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/otplease/-/otplease-6.4.1.tgz#9573e053c43e7139442da96fe655aa02749cb8a3" - integrity sha512-ePUciFfFdythHNMp8FP5K15R/CoGzSLVniJdD50qm76c4ATXZHnGCW2PGwoeAZCy4QTzhlhdBq78uN0wAs75GA== - dependencies: - "@lerna/prompt" "6.4.1" - -"@lerna/output@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/output/-/output-6.4.1.tgz#327baf768b8fb63db9d52f68288d387379f814f7" - integrity sha512-A1yRLF0bO+lhbIkrryRd6hGSD0wnyS1rTPOWJhScO/Zyv8vIPWhd2fZCLR1gI2d/Kt05qmK3T/zETTwloK7Fww== - dependencies: - npmlog "^6.0.2" - -"@lerna/pack-directory@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/pack-directory/-/pack-directory-6.4.1.tgz#e78aae4e7944057d8fc6cb4dd8ae50be7a95c2fd" - integrity sha512-kBtDL9bPP72/Nl7Gqa2CA3Odb8CYY1EF2jt801f+B37TqRLf57UXQom7yF3PbWPCPmhoU+8Fc4RMpUwSbFC46Q== - dependencies: - "@lerna/get-packed" "6.4.1" - "@lerna/package" "6.4.1" - "@lerna/run-lifecycle" "6.4.1" - "@lerna/temp-write" "6.4.1" - npm-packlist "^5.1.1" - npmlog "^6.0.2" - tar "^6.1.0" - -"@lerna/package-graph@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/package-graph/-/package-graph-6.4.1.tgz#7a18024d531f0bd88609944e572b4861f0f8868f" - integrity sha512-fQvc59stRYOqxT3Mn7g/yI9/Kw5XetJoKcW5l8XeqKqcTNDURqKnN0qaNBY6lTTLOe4cR7gfXF2l1u3HOz0qEg== - dependencies: - "@lerna/prerelease-id-from-version" "6.4.1" - "@lerna/validation-error" "6.4.1" - npm-package-arg "8.1.1" - npmlog "^6.0.2" - semver "^7.3.4" - -"@lerna/package@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/package/-/package-6.4.1.tgz#ebbd4c5f58f4b6cf77019271a686be9585272a3b" - integrity sha512-TrOah58RnwS9R8d3+WgFFTu5lqgZs7M+e1dvcRga7oSJeKscqpEK57G0xspvF3ycjfXQwRMmEtwPmpkeEVLMzA== - dependencies: - load-json-file "^6.2.0" - npm-package-arg "8.1.1" - write-pkg "^4.0.0" - -"@lerna/prerelease-id-from-version@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/prerelease-id-from-version/-/prerelease-id-from-version-6.4.1.tgz#65eb1835cdfd112783eea6b596812c64f535386b" - integrity sha512-uGicdMFrmfHXeC0FTosnUKRgUjrBJdZwrmw7ZWMb5DAJGOuTzrvJIcz5f0/eL3XqypC/7g+9DoTgKjX3hlxPZA== - dependencies: - semver "^7.3.4" - -"@lerna/profiler@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/profiler/-/profiler-6.4.1.tgz#0d5e017e1389e35960d671f43db7eb16337fda1b" - integrity sha512-dq2uQxcu0aq6eSoN+JwnvHoAnjtZAVngMvywz5bTAfzz/sSvIad1v8RCpJUMBQHxaPtbfiNvOIQgDZOmCBIM4g== - dependencies: - fs-extra "^9.1.0" - npmlog "^6.0.2" - upath "^2.0.1" - -"@lerna/project@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/project/-/project-6.4.1.tgz#0519323aa8bde5b73fc0bf1c428385a556a445f0" - integrity sha512-BPFYr4A0mNZ2jZymlcwwh7PfIC+I6r52xgGtJ4KIrIOB6mVKo9u30dgYJbUQxmSuMRTOnX7PJZttQQzSda4gEg== - dependencies: - "@lerna/package" "6.4.1" - "@lerna/validation-error" "6.4.1" - cosmiconfig "^7.0.0" - dedent "^0.7.0" - dot-prop "^6.0.1" - glob-parent "^5.1.1" - globby "^11.0.2" - js-yaml "^4.1.0" - load-json-file "^6.2.0" - npmlog "^6.0.2" - p-map "^4.0.0" - resolve-from "^5.0.0" - write-json-file "^4.3.0" - -"@lerna/prompt@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/prompt/-/prompt-6.4.1.tgz#5ede06b4c8e17ec3045180b10ec5bd313cbc8585" - integrity sha512-vMxCIgF9Vpe80PnargBGAdS/Ib58iYEcfkcXwo7mYBCxEVcaUJFKZ72FEW8rw+H5LkxBlzrBJyfKRoOe0ks9gQ== - dependencies: - inquirer "^8.2.4" - npmlog "^6.0.2" - -"@lerna/publish@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/publish/-/publish-6.4.1.tgz#e1bdfa67297ca4a3054863e7acfc8482bf613c35" - integrity sha512-/D/AECpw2VNMa1Nh4g29ddYKRIqygEV1ftV8PYXVlHpqWN7VaKrcbRU6pn0ldgpFlMyPtESfv1zS32F5CQ944w== - dependencies: - "@lerna/check-working-tree" "6.4.1" - "@lerna/child-process" "6.4.1" - "@lerna/collect-updates" "6.4.1" - "@lerna/command" "6.4.1" - "@lerna/describe-ref" "6.4.1" - "@lerna/log-packed" "6.4.1" - "@lerna/npm-conf" "6.4.1" - "@lerna/npm-dist-tag" "6.4.1" - "@lerna/npm-publish" "6.4.1" - "@lerna/otplease" "6.4.1" - "@lerna/output" "6.4.1" - "@lerna/pack-directory" "6.4.1" - "@lerna/prerelease-id-from-version" "6.4.1" - "@lerna/prompt" "6.4.1" - "@lerna/pulse-till-done" "6.4.1" - "@lerna/run-lifecycle" "6.4.1" - "@lerna/run-topologically" "6.4.1" - "@lerna/validation-error" "6.4.1" - "@lerna/version" "6.4.1" - fs-extra "^9.1.0" - libnpmaccess "^6.0.3" - npm-package-arg "8.1.1" - npm-registry-fetch "^13.3.0" - npmlog "^6.0.2" - p-map "^4.0.0" - p-pipe "^3.1.0" - pacote "^13.6.1" - semver "^7.3.4" - -"@lerna/pulse-till-done@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/pulse-till-done/-/pulse-till-done-6.4.1.tgz#85c38a43939bf5e21b61091d0bcf73a1109a59db" - integrity sha512-efAkOC1UuiyqYBfrmhDBL6ufYtnpSqAG+lT4d/yk3CzJEJKkoCwh2Hb692kqHHQ5F74Uusc8tcRB7GBcfNZRWA== - dependencies: - npmlog "^6.0.2" - -"@lerna/query-graph@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/query-graph/-/query-graph-6.4.1.tgz#3c224a49ff392d08ce8aeeaa1af4458f522a2b78" - integrity sha512-gBGZLgu2x6L4d4ZYDn4+d5rxT9RNBC+biOxi0QrbaIq83I+JpHVmFSmExXK3rcTritrQ3JT9NCqb+Yu9tL9adQ== - dependencies: - "@lerna/package-graph" "6.4.1" - -"@lerna/resolve-symlink@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/resolve-symlink/-/resolve-symlink-6.4.1.tgz#ab42dcbd03bc4028ec77ee481c5db8884ebaf40a" - integrity sha512-gnqltcwhWVLUxCuwXWe/ch9WWTxXRI7F0ZvCtIgdfOpbosm3f1g27VO1LjXeJN2i6ks03qqMowqy4xB4uMR9IA== - dependencies: - fs-extra "^9.1.0" - npmlog "^6.0.2" - read-cmd-shim "^3.0.0" - -"@lerna/rimraf-dir@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/rimraf-dir/-/rimraf-dir-6.4.1.tgz#116e379f653135b3ae955dcba703bdf212cab51a" - integrity sha512-5sDOmZmVj0iXIiEgdhCm0Prjg5q2SQQKtMd7ImimPtWKkV0IyJWxrepJFbeQoFj5xBQF7QB5jlVNEfQfKhD6pQ== - dependencies: - "@lerna/child-process" "6.4.1" - npmlog "^6.0.2" - path-exists "^4.0.0" - rimraf "^3.0.2" - -"@lerna/run-lifecycle@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/run-lifecycle/-/run-lifecycle-6.4.1.tgz#1eac136afae97e197bdb564e67fb385f4d346685" - integrity sha512-42VopI8NC8uVCZ3YPwbTycGVBSgukJltW5Saein0m7TIqFjwSfrcP0n7QJOr+WAu9uQkk+2kBstF5WmvKiqgEA== - dependencies: - "@lerna/npm-conf" "6.4.1" - "@npmcli/run-script" "^4.1.7" - npmlog "^6.0.2" - p-queue "^6.6.2" - -"@lerna/run-topologically@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/run-topologically/-/run-topologically-6.4.1.tgz#640b07d83f1d1e6d3bc36f81a74957839bb1672f" - integrity sha512-gXlnAsYrjs6KIUGDnHM8M8nt30Amxq3r0lSCNAt+vEu2sMMEOh9lffGGaJobJZ4bdwoXnKay3uER/TU8E9owMw== - dependencies: - "@lerna/query-graph" "6.4.1" - p-queue "^6.6.2" - -"@lerna/run@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/run/-/run-6.4.1.tgz#985279f071ff23ae15f92837f85f979a1352fc01" - integrity sha512-HRw7kS6KNqTxqntFiFXPEeBEct08NjnL6xKbbOV6pXXf+lXUQbJlF8S7t6UYqeWgTZ4iU9caIxtZIY+EpW93mQ== - dependencies: - "@lerna/command" "6.4.1" - "@lerna/filter-options" "6.4.1" - "@lerna/npm-run-script" "6.4.1" - "@lerna/output" "6.4.1" - "@lerna/profiler" "6.4.1" - "@lerna/run-topologically" "6.4.1" - "@lerna/timer" "6.4.1" - "@lerna/validation-error" "6.4.1" - fs-extra "^9.1.0" - nx ">=15.4.2 < 16" - p-map "^4.0.0" - -"@lerna/symlink-binary@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/symlink-binary/-/symlink-binary-6.4.1.tgz#d8e1b653a7ae9fe38834851c66c92278e3bb25ae" - integrity sha512-poZX90VmXRjL/JTvxaUQPeMDxFUIQvhBkHnH+dwW0RjsHB/2Tu4QUAsE0OlFnlWQGsAtXF4FTtW8Xs57E/19Kw== - dependencies: - "@lerna/create-symlink" "6.4.1" - "@lerna/package" "6.4.1" - fs-extra "^9.1.0" - p-map "^4.0.0" - -"@lerna/symlink-dependencies@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/symlink-dependencies/-/symlink-dependencies-6.4.1.tgz#988203cc260406b64d61294367821a0f26419ee6" - integrity sha512-43W2uLlpn3TTYuHVeO/2A6uiTZg6TOk/OSKi21ujD7IfVIYcRYCwCV+8LPP12R3rzyab0JWkWnhp80Z8A2Uykw== - dependencies: - "@lerna/create-symlink" "6.4.1" - "@lerna/resolve-symlink" "6.4.1" - "@lerna/symlink-binary" "6.4.1" - fs-extra "^9.1.0" - p-map "^4.0.0" - p-map-series "^2.1.0" - -"@lerna/temp-write@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/temp-write/-/temp-write-6.4.1.tgz#1c46d05b633597c77b0c5f5ab46c1315195f7786" - integrity sha512-7uiGFVoTyos5xXbVQg4bG18qVEn9dFmboXCcHbMj5mc/+/QmU9QeNz/Cq36O5TY6gBbLnyj3lfL5PhzERWKMFg== - dependencies: - graceful-fs "^4.1.15" - is-stream "^2.0.0" - make-dir "^3.0.0" - temp-dir "^1.0.0" - uuid "^8.3.2" - -"@lerna/timer@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/timer/-/timer-6.4.1.tgz#47fe50b56bd2fc32396a2559f7bb65de8200f07d" - integrity sha512-ogmjFTWwRvevZr76a2sAbhmu3Ut2x73nDIn0bcwZwZ3Qc3pHD8eITdjs/wIKkHse3J7l3TO5BFJPnrvDS7HLnw== - -"@lerna/validation-error@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/validation-error/-/validation-error-6.4.1.tgz#2cab92c2be395158c3d65fa57ddb73892617d7e8" - integrity sha512-fxfJvl3VgFd7eBfVMRX6Yal9omDLs2mcGKkNYeCEyt4Uwlz1B5tPAXyk/sNMfkKV2Aat/mlK5tnY13vUrMKkyA== - dependencies: - npmlog "^6.0.2" - -"@lerna/version@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/version/-/version-6.4.1.tgz#01011364df04240ce92dffed1d2fa76bb9f959ff" - integrity sha512-1/krPq0PtEqDXtaaZsVuKev9pXJCkNC1vOo2qCcn6PBkODw/QTAvGcUi0I+BM2c//pdxge9/gfmbDo1lC8RtAQ== - dependencies: - "@lerna/check-working-tree" "6.4.1" - "@lerna/child-process" "6.4.1" - "@lerna/collect-updates" "6.4.1" - "@lerna/command" "6.4.1" - "@lerna/conventional-commits" "6.4.1" - "@lerna/github-client" "6.4.1" - "@lerna/gitlab-client" "6.4.1" - "@lerna/output" "6.4.1" - "@lerna/prerelease-id-from-version" "6.4.1" - "@lerna/prompt" "6.4.1" - "@lerna/run-lifecycle" "6.4.1" - "@lerna/run-topologically" "6.4.1" - "@lerna/temp-write" "6.4.1" - "@lerna/validation-error" "6.4.1" - "@nrwl/devkit" ">=15.4.2 < 16" - chalk "^4.1.0" - dedent "^0.7.0" - load-json-file "^6.2.0" - minimatch "^3.0.4" - npmlog "^6.0.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" - write-json-file "^4.3.0" - -"@lerna/write-log-file@6.4.1": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@lerna/write-log-file/-/write-log-file-6.4.1.tgz#b9b959e4b853cdabf0309bc5da1513fa025117ec" - integrity sha512-LE4fueQSDrQo76F4/gFXL0wnGhqdG7WHVH8D8TrKouF2Afl4NHltObCm4WsSMPjcfciVnZQFfx1ruxU4r/enHQ== - dependencies: - npmlog "^6.0.2" - write-file-atomic "^4.0.1" - "@noble/hashes@^1", "@noble/hashes@^1.0.0": version "1.2.0" resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.2.0.tgz#a3150eeb09cc7ab207ebf6d7b9ad311a9bdbed12" @@ -2610,165 +1910,6 @@ "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" -"@npmcli/arborist@5.3.0": - version "5.3.0" - resolved "https://registry.yarnpkg.com/@npmcli/arborist/-/arborist-5.3.0.tgz#321d9424677bfc08569e98a5ac445ee781f32053" - integrity sha512-+rZ9zgL1lnbl8Xbb1NQdMjveOMwj4lIYfcDtyJHHi5x4X8jtR6m8SXooJMZy5vmFVZ8w7A2Bnd/oX9eTuU8w5A== - dependencies: - "@isaacs/string-locale-compare" "^1.1.0" - "@npmcli/installed-package-contents" "^1.0.7" - "@npmcli/map-workspaces" "^2.0.3" - "@npmcli/metavuln-calculator" "^3.0.1" - "@npmcli/move-file" "^2.0.0" - "@npmcli/name-from-folder" "^1.0.1" - "@npmcli/node-gyp" "^2.0.0" - "@npmcli/package-json" "^2.0.0" - "@npmcli/run-script" "^4.1.3" - bin-links "^3.0.0" - cacache "^16.0.6" - common-ancestor-path "^1.0.1" - json-parse-even-better-errors "^2.3.1" - json-stringify-nice "^1.1.4" - mkdirp "^1.0.4" - mkdirp-infer-owner "^2.0.0" - nopt "^5.0.0" - npm-install-checks "^5.0.0" - npm-package-arg "^9.0.0" - npm-pick-manifest "^7.0.0" - npm-registry-fetch "^13.0.0" - npmlog "^6.0.2" - pacote "^13.6.1" - parse-conflict-json "^2.0.1" - proc-log "^2.0.0" - promise-all-reject-late "^1.0.0" - promise-call-limit "^1.0.1" - read-package-json-fast "^2.0.2" - readdir-scoped-modules "^1.1.0" - rimraf "^3.0.2" - semver "^7.3.7" - ssri "^9.0.0" - treeverse "^2.0.0" - walk-up-path "^1.0.0" - -"@npmcli/fs@^2.1.0": - version "2.1.2" - resolved "https://registry.yarnpkg.com/@npmcli/fs/-/fs-2.1.2.tgz#a9e2541a4a2fec2e69c29b35e6060973da79b865" - integrity sha512-yOJKRvohFOaLqipNtwYB9WugyZKhC/DZC4VYPmpaCzDBrA8YpK3qHZ8/HGscMnE4GqbkLNuVcCnxkeQEdGt6LQ== - dependencies: - "@gar/promisify" "^1.1.3" - semver "^7.3.5" - -"@npmcli/git@^3.0.0": - version "3.0.2" - resolved "https://registry.yarnpkg.com/@npmcli/git/-/git-3.0.2.tgz#5c5de6b4d70474cf2d09af149ce42e4e1dacb931" - integrity sha512-CAcd08y3DWBJqJDpfuVL0uijlq5oaXaOJEKHKc4wqrjd00gkvTZB+nFuLn+doOOKddaQS9JfqtNoFCO2LCvA3w== - dependencies: - "@npmcli/promise-spawn" "^3.0.0" - lru-cache "^7.4.4" - mkdirp "^1.0.4" - npm-pick-manifest "^7.0.0" - proc-log "^2.0.0" - promise-inflight "^1.0.1" - promise-retry "^2.0.1" - semver "^7.3.5" - which "^2.0.2" - -"@npmcli/installed-package-contents@^1.0.7": - version "1.0.7" - resolved "https://registry.yarnpkg.com/@npmcli/installed-package-contents/-/installed-package-contents-1.0.7.tgz#ab7408c6147911b970a8abe261ce512232a3f4fa" - integrity sha512-9rufe0wnJusCQoLpV9ZPKIVP55itrM5BxOXs10DmdbRfgWtHy1LDyskbwRnBghuB0PrF7pNPOqREVtpz4HqzKw== - dependencies: - npm-bundled "^1.1.1" - npm-normalize-package-bin "^1.0.1" - -"@npmcli/map-workspaces@^2.0.3": - version "2.0.4" - resolved "https://registry.yarnpkg.com/@npmcli/map-workspaces/-/map-workspaces-2.0.4.tgz#9e5e8ab655215a262aefabf139782b894e0504fc" - integrity sha512-bMo0aAfwhVwqoVM5UzX1DJnlvVvzDCHae821jv48L1EsrYwfOZChlqWYXEtto/+BkBXetPbEWgau++/brh4oVg== - dependencies: - "@npmcli/name-from-folder" "^1.0.1" - glob "^8.0.1" - minimatch "^5.0.1" - read-package-json-fast "^2.0.3" - -"@npmcli/metavuln-calculator@^3.0.1": - version "3.1.1" - resolved "https://registry.yarnpkg.com/@npmcli/metavuln-calculator/-/metavuln-calculator-3.1.1.tgz#9359bd72b400f8353f6a28a25c8457b562602622" - integrity sha512-n69ygIaqAedecLeVH3KnO39M6ZHiJ2dEv5A7DGvcqCB8q17BGUgW8QaanIkbWUo2aYGZqJaOORTLAlIvKjNDKA== - dependencies: - cacache "^16.0.0" - json-parse-even-better-errors "^2.3.1" - pacote "^13.0.3" - semver "^7.3.5" - -"@npmcli/move-file@^2.0.0": - version "2.0.1" - resolved "https://registry.yarnpkg.com/@npmcli/move-file/-/move-file-2.0.1.tgz#26f6bdc379d87f75e55739bab89db525b06100e4" - integrity sha512-mJd2Z5TjYWq/ttPLLGqArdtnC74J6bOzg4rMDnN+p1xTacZ2yPRCk2y0oSWQtygLR9YVQXgOcONrwtnk3JupxQ== - dependencies: - mkdirp "^1.0.4" - rimraf "^3.0.2" - -"@npmcli/name-from-folder@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@npmcli/name-from-folder/-/name-from-folder-1.0.1.tgz#77ecd0a4fcb772ba6fe927e2e2e155fbec2e6b1a" - integrity sha512-qq3oEfcLFwNfEYOQ8HLimRGKlD8WSeGEdtUa7hmzpR8Sa7haL1KVQrvgO6wqMjhWFFVjgtrh1gIxDz+P8sjUaA== - -"@npmcli/node-gyp@^2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@npmcli/node-gyp/-/node-gyp-2.0.0.tgz#8c20e53e34e9078d18815c1d2dda6f2420d75e35" - integrity sha512-doNI35wIe3bBaEgrlPfdJPaCpUR89pJWep4Hq3aRdh6gKazIVWfs0jHttvSSoq47ZXgC7h73kDsUl8AoIQUB+A== - -"@npmcli/package-json@^2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@npmcli/package-json/-/package-json-2.0.0.tgz#3bbcf4677e21055adbe673d9f08c9f9cde942e4a" - integrity sha512-42jnZ6yl16GzjWSH7vtrmWyJDGVa/LXPdpN2rcUWolFjc9ON2N3uz0qdBbQACfmhuJZ2lbKYtmK5qx68ZPLHMA== - dependencies: - json-parse-even-better-errors "^2.3.1" - -"@npmcli/promise-spawn@^3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@npmcli/promise-spawn/-/promise-spawn-3.0.0.tgz#53283b5f18f855c6925f23c24e67c911501ef573" - integrity sha512-s9SgS+p3a9Eohe68cSI3fi+hpcZUmXq5P7w0kMlAsWVtR7XbK3ptkZqKT2cK1zLDObJ3sR+8P59sJE0w/KTL1g== - dependencies: - infer-owner "^1.0.4" - -"@npmcli/run-script@^4.1.0", "@npmcli/run-script@^4.1.3", "@npmcli/run-script@^4.1.7": - version "4.2.1" - resolved "https://registry.yarnpkg.com/@npmcli/run-script/-/run-script-4.2.1.tgz#c07c5c71bc1c70a5f2a06b0d4da976641609b946" - integrity sha512-7dqywvVudPSrRCW5nTHpHgeWnbBtz8cFkOuKrecm6ih+oO9ciydhWt6OF7HlqupRRmB8Q/gECVdB9LMfToJbRg== - dependencies: - "@npmcli/node-gyp" "^2.0.0" - "@npmcli/promise-spawn" "^3.0.0" - node-gyp "^9.0.0" - read-package-json-fast "^2.0.3" - which "^2.0.2" - -"@nrwl/cli@15.6.3": - version "15.6.3" - resolved "https://registry.yarnpkg.com/@nrwl/cli/-/cli-15.6.3.tgz#999531d6efb30afc39373bdcbd7e78254a3a3fd3" - integrity sha512-K4E0spofThZXMnhA6R8hkUTdfqmwSnUE2+DlD5Y3jqsvKTAgwF5U41IFkEouFZCf+dWjy0RA20bWoX48EVFtmQ== - dependencies: - nx "15.6.3" - -"@nrwl/devkit@>=15.4.2 < 16": - version "15.6.3" - resolved "https://registry.yarnpkg.com/@nrwl/devkit/-/devkit-15.6.3.tgz#e4e96c53ba3304786a49034286c8511534b2b194" - integrity sha512-/JDvdzNxUM+C1PCZPCrvmFx+OfywqZdOq1GS9QR8C0VctTLG4D/SGSFD88O1SAdcbH/f1mMiBGfEYZYd23fghQ== - dependencies: - "@phenomnomnominal/tsquery" "4.1.1" - ejs "^3.1.7" - ignore "^5.0.4" - semver "7.3.4" - tslib "^2.3.0" - -"@nrwl/tao@15.6.3": - version "15.6.3" - resolved "https://registry.yarnpkg.com/@nrwl/tao/-/tao-15.6.3.tgz#b24e11345375dea96bc386c60b9b1102a7584932" - integrity sha512-bDZbPIbU5Mf2BvX0q8GjPxrm1WkYyfW+gp7mLuuJth2sEpZiCr47mSwuGko/y4CKXvIX46VQcAS0pKQMKugXsg== - dependencies: - nx "15.6.3" - "@nuxt/kit@^3.1.1": version "3.1.2" resolved "https://registry.yarnpkg.com/@nuxt/kit/-/kit-3.1.2.tgz#bf5f932b8a82f40bcfec4c1037021f0a75df4582" @@ -2812,112 +1953,6 @@ unimport "^2.1.0" untyped "^1.2.2" -"@octokit/auth-token@^3.0.0": - version "3.0.3" - resolved "https://registry.yarnpkg.com/@octokit/auth-token/-/auth-token-3.0.3.tgz#ce7e48a3166731f26068d7a7a7996b5da58cbe0c" - integrity sha512-/aFM2M4HVDBT/jjDBa84sJniv1t9Gm/rLkalaz9htOm+L+8JMj1k9w0CkUdcxNyNxZPlTxKPVko+m1VlM58ZVA== - dependencies: - "@octokit/types" "^9.0.0" - -"@octokit/core@^4.1.0": - version "4.2.0" - resolved "https://registry.yarnpkg.com/@octokit/core/-/core-4.2.0.tgz#8c253ba9605aca605bc46187c34fcccae6a96648" - integrity sha512-AgvDRUg3COpR82P7PBdGZF/NNqGmtMq2NiPqeSsDIeCfYFOZ9gddqWNQHnFdEUf+YwOj4aZYmJnlPp7OXmDIDg== - dependencies: - "@octokit/auth-token" "^3.0.0" - "@octokit/graphql" "^5.0.0" - "@octokit/request" "^6.0.0" - "@octokit/request-error" "^3.0.0" - "@octokit/types" "^9.0.0" - before-after-hook "^2.2.0" - universal-user-agent "^6.0.0" - -"@octokit/endpoint@^7.0.0": - version "7.0.5" - resolved "https://registry.yarnpkg.com/@octokit/endpoint/-/endpoint-7.0.5.tgz#2bb2a911c12c50f10014183f5d596ce30ac67dd1" - integrity sha512-LG4o4HMY1Xoaec87IqQ41TQ+glvIeTKqfjkCEmt5AIwDZJwQeVZFIEYXrYY6yLwK+pAScb9Gj4q+Nz2qSw1roA== - dependencies: - "@octokit/types" "^9.0.0" - is-plain-object "^5.0.0" - universal-user-agent "^6.0.0" - -"@octokit/graphql@^5.0.0": - version "5.0.5" - resolved "https://registry.yarnpkg.com/@octokit/graphql/-/graphql-5.0.5.tgz#a4cb3ea73f83b861893a6370ee82abb36e81afd2" - integrity sha512-Qwfvh3xdqKtIznjX9lz2D458r7dJPP8l6r4GQkIdWQouZwHQK0mVT88uwiU2bdTU2OtT1uOlKpRciUWldpG0yQ== - dependencies: - "@octokit/request" "^6.0.0" - "@octokit/types" "^9.0.0" - universal-user-agent "^6.0.0" - -"@octokit/openapi-types@^16.0.0": - version "16.0.0" - resolved "https://registry.yarnpkg.com/@octokit/openapi-types/-/openapi-types-16.0.0.tgz#d92838a6cd9fb4639ca875ddb3437f1045cc625e" - integrity sha512-JbFWOqTJVLHZSUUoF4FzAZKYtqdxWu9Z5m2QQnOyEa04fOFljvyh7D3GYKbfuaSWisqehImiVIMG4eyJeP5VEA== - -"@octokit/plugin-enterprise-rest@^6.0.1": - version "6.0.1" - resolved "https://registry.yarnpkg.com/@octokit/plugin-enterprise-rest/-/plugin-enterprise-rest-6.0.1.tgz#e07896739618dab8da7d4077c658003775f95437" - integrity sha512-93uGjlhUD+iNg1iWhUENAtJata6w5nE+V4urXOAlIXdco6xNZtUSfYY8dzp3Udy74aqO/B5UZL80x/YMa5PKRw== - -"@octokit/plugin-paginate-rest@^6.0.0": - version "6.0.0" - resolved "https://registry.yarnpkg.com/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-6.0.0.tgz#f34b5a7d9416019126042cd7d7b811e006c0d561" - integrity sha512-Sq5VU1PfT6/JyuXPyt04KZNVsFOSBaYOAq2QRZUwzVlI10KFvcbUo8lR258AAQL1Et60b0WuVik+zOWKLuDZxw== - dependencies: - "@octokit/types" "^9.0.0" - -"@octokit/plugin-request-log@^1.0.4": - version "1.0.4" - resolved "https://registry.yarnpkg.com/@octokit/plugin-request-log/-/plugin-request-log-1.0.4.tgz#5e50ed7083a613816b1e4a28aeec5fb7f1462e85" - integrity sha512-mLUsMkgP7K/cnFEw07kWqXGF5LKrOkD+lhCrKvPHXWDywAwuDUeDwWBpc69XK3pNX0uKiVt8g5z96PJ6z9xCFA== - -"@octokit/plugin-rest-endpoint-methods@^7.0.0": - version "7.0.1" - resolved "https://registry.yarnpkg.com/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-7.0.1.tgz#f7ebe18144fd89460f98f35a587b056646e84502" - integrity sha512-pnCaLwZBudK5xCdrR823xHGNgqOzRnJ/mpC/76YPpNP7DybdsJtP7mdOwh+wYZxK5jqeQuhu59ogMI4NRlBUvA== - dependencies: - "@octokit/types" "^9.0.0" - deprecation "^2.3.1" - -"@octokit/request-error@^3.0.0": - version "3.0.3" - resolved "https://registry.yarnpkg.com/@octokit/request-error/-/request-error-3.0.3.tgz#ef3dd08b8e964e53e55d471acfe00baa892b9c69" - integrity sha512-crqw3V5Iy2uOU5Np+8M/YexTlT8zxCfI+qu+LxUB7SZpje4Qmx3mub5DfEKSO8Ylyk0aogi6TYdf6kxzh2BguQ== - dependencies: - "@octokit/types" "^9.0.0" - deprecation "^2.0.0" - once "^1.4.0" - -"@octokit/request@^6.0.0": - version "6.2.3" - resolved "https://registry.yarnpkg.com/@octokit/request/-/request-6.2.3.tgz#76d5d6d44da5c8d406620a4c285d280ae310bdb4" - integrity sha512-TNAodj5yNzrrZ/VxP+H5HiYaZep0H3GU0O7PaF+fhDrt8FPrnkei9Aal/txsN/1P7V3CPiThG0tIvpPDYUsyAA== - dependencies: - "@octokit/endpoint" "^7.0.0" - "@octokit/request-error" "^3.0.0" - "@octokit/types" "^9.0.0" - is-plain-object "^5.0.0" - node-fetch "^2.6.7" - universal-user-agent "^6.0.0" - -"@octokit/rest@^19.0.3": - version "19.0.7" - resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-19.0.7.tgz#d2e21b4995ab96ae5bfae50b4969da7e04e0bb70" - integrity sha512-HRtSfjrWmWVNp2uAkEpQnuGMJsu/+dBr47dRc5QVgsCbnIc1+GFEaoKBWkYG+zjrsHpSqcAElMio+n10c0b5JA== - dependencies: - "@octokit/core" "^4.1.0" - "@octokit/plugin-paginate-rest" "^6.0.0" - "@octokit/plugin-request-log" "^1.0.4" - "@octokit/plugin-rest-endpoint-methods" "^7.0.0" - -"@octokit/types@^9.0.0": - version "9.0.0" - resolved "https://registry.yarnpkg.com/@octokit/types/-/types-9.0.0.tgz#6050db04ddf4188ec92d60e4da1a2ce0633ff635" - integrity sha512-LUewfj94xCMH2rbD5YJ+6AQ4AVjFYTgpp6rboWM5T7N3IsIF65SBEOVcYMGAEzO/kKNiNaW4LoWtoThOhH06gw== - dependencies: - "@octokit/openapi-types" "^16.0.0" - "@osmonauts/ast@^0.76.2": version "0.76.2" resolved "https://registry.yarnpkg.com/@osmonauts/ast/-/ast-0.76.2.tgz#904968e1c47647f32d556396493b0129075897b9" @@ -3007,21 +2042,6 @@ dependencies: "@babel/runtime" "^7.19.0" -"@parcel/watcher@2.0.4": - version "2.0.4" - resolved "https://registry.yarnpkg.com/@parcel/watcher/-/watcher-2.0.4.tgz#f300fef4cc38008ff4b8c29d92588eced3ce014b" - integrity sha512-cTDi+FUDBIUOBKEtj+nhiJ71AZVlkAsQFuGQTun5tV9mwQBQgZvhCzG+URPQc8myeN32yRVZEfVAPCs1RW+Jvg== - dependencies: - node-addon-api "^3.2.1" - node-gyp-build "^4.3.0" - -"@phenomnomnominal/tsquery@4.1.1": - version "4.1.1" - resolved "https://registry.yarnpkg.com/@phenomnomnominal/tsquery/-/tsquery-4.1.1.tgz#42971b83590e9d853d024ddb04a18085a36518df" - integrity sha512-jjMmK1tnZbm1Jq5a7fBliM4gQwjxMU7TFoRNwIyzwlO+eHPRCFv/Nv+H/Gi1jc3WR7QURG8D5d0Tn12YGrUqBQ== - dependencies: - esquery "^1.0.1" - "@ping-pub/chain-registry-client@^0.0.25": version "0.0.25" resolved "https://registry.yarnpkg.com/@ping-pub/chain-registry-client/-/chain-registry-client-0.0.25.tgz#fcb974bdc0ef40db26425d8bf5c382aafb884f44" @@ -3083,78 +2103,6 @@ resolved "https://registry.yarnpkg.com/@protobufjs/utf8/-/utf8-1.1.0.tgz#a777360b5b39a1a2e5106f8e858f2fd2d060c570" integrity sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw== -"@protobufs/amino@^0.0.11": - version "0.0.11" - resolved "https://registry.yarnpkg.com/@protobufs/amino/-/amino-0.0.11.tgz#5eb6b8193da8ea818484818dff2800a981cb7a61" - integrity sha512-JRIkW6/YGIUfbdDuASt3wsuxzC0Xj3U2sV0Arqa9iNwCvv4HtOpbqdWVVVgvQBnR0/ZkwQeXnt+GH7yT/DvsYQ== - dependencies: - "@protobufs/google" "^0.0.10" - -"@protobufs/confio@^0.0.6": - version "0.0.6" - resolved "https://registry.yarnpkg.com/@protobufs/confio/-/confio-0.0.6.tgz#a6ddf44eca2cbe535384228312ae7ef5dff29644" - integrity sha512-abZ0ntTJBuB8q2aMBvOerAFk8CSzafB09YdttKFEqwxokZsLFZ3+o7YaH3RIk863oeM//8sonwTaxRV8r4rmSA== - -"@protobufs/cosmos@^0.1.0": - version "0.1.0" - resolved "https://registry.yarnpkg.com/@protobufs/cosmos/-/cosmos-0.1.0.tgz#492251de16be3e0a89820f48637cd3f42114f24c" - integrity sha512-L3NZ+z0kI6GMTiD2HASNe3WbopPhQlaQaKZNRue+8LiGEv/vbbxD1lox8cwOqes3AN5dHiT0i3+gvzIbKBb7gw== - dependencies: - "@protobufs/amino" "^0.0.11" - "@protobufs/cosmos_proto" "^0.0.10" - "@protobufs/gogoproto" "^0.0.10" - "@protobufs/google" "^0.0.10" - "@protobufs/tendermint" "^0.0.10" - -"@protobufs/cosmos_proto@^0.0.10": - version "0.0.10" - resolved "https://registry.yarnpkg.com/@protobufs/cosmos_proto/-/cosmos_proto-0.0.10.tgz#622726ee227f220f608df180f938e5d8ebb1534a" - integrity sha512-4nMopXxN23udy1HEe+vS49zD9dxrA7i0E3n15QUz1x0tbrowYLHzJKeyCUNlsh5PKpEIXGxHXpPZWXs7vVCwUw== - dependencies: - "@protobufs/google" "^0.0.10" - -"@protobufs/cosmwasm@^0.1.1": - version "0.1.1" - resolved "https://registry.yarnpkg.com/@protobufs/cosmwasm/-/cosmwasm-0.1.1.tgz#313466d02ae7c010f64e6dd6edc06cdc1e676084" - integrity sha512-7rRkQVo7zWjTX+WKdtgM72KEnioGumA7ivYG+3ZGs/uuf8rwN8PmdWFYhLbMkSbPbyJf1bFSyjpP/+kxpH71ew== - dependencies: - "@protobufs/cosmos" "^0.1.0" - "@protobufs/cosmos_proto" "^0.0.10" - "@protobufs/gogoproto" "^0.0.10" - "@protobufs/google" "^0.0.10" - -"@protobufs/gogoproto@^0.0.10": - version "0.0.10" - resolved "https://registry.yarnpkg.com/@protobufs/gogoproto/-/gogoproto-0.0.10.tgz#0181e17142c800b60c7ca5f92c76a614d86c5c54" - integrity sha512-u3eK1aSO3KOuX4RVFpqKPTaT/WLV50GFLuIC3slVGfD7Z1CfZ5ivHbFYUib96gihu1Mq2OZpNVj3dNws9YsVoQ== - dependencies: - "@protobufs/google" "^0.0.10" - -"@protobufs/google@^0.0.10": - version "0.0.10" - resolved "https://registry.yarnpkg.com/@protobufs/google/-/google-0.0.10.tgz#820f741b0c53f688550c74c7ddb25a5ee131a6bf" - integrity sha512-3yo+liabFM1519smwwfzh1C535CntXVsS7zT98xmo21tZUX7vxeFpQDMx38EzMGYSy/Reo8wEMWJUHqZzYsCUw== - -"@protobufs/ibc@^0.1.0": - version "0.1.0" - resolved "https://registry.yarnpkg.com/@protobufs/ibc/-/ibc-0.1.0.tgz#36aeadc9f09d185d683f66a650dad9dc40437875" - integrity sha512-GmGkX81yyd55Tm34SCOmcOiB0QRwFBHGmZpDRAsks33TBx4efAtT9rKAdtn/oPujx9sha1TqU2s3trnMPVvKyg== - dependencies: - "@protobufs/amino" "^0.0.11" - "@protobufs/confio" "^0.0.6" - "@protobufs/cosmos" "^0.1.0" - "@protobufs/gogoproto" "^0.0.10" - "@protobufs/google" "^0.0.10" - "@protobufs/tendermint" "^0.0.10" - -"@protobufs/tendermint@^0.0.10": - version "0.0.10" - resolved "https://registry.yarnpkg.com/@protobufs/tendermint/-/tendermint-0.0.10.tgz#816b27410afcecd8b6d403df149f3c2b9b80655e" - integrity sha512-hAAMLFhKdAovslKeWnLTp2gGn5bxSTDVcQLKs4C4cC91R/KfHOh+Klt4PqSGUv/APINAmREzsX2LDUbIQ2dCpg== - dependencies: - "@protobufs/gogoproto" "^0.0.10" - "@protobufs/google" "^0.0.10" - "@pyramation/json-schema-ref-parser@9.0.6": version "9.0.6" resolved "https://registry.yarnpkg.com/@pyramation/json-schema-ref-parser/-/json-schema-ref-parser-9.0.6.tgz#556e416ce7dcc15a3c1afd04d6a059e03ed09aeb" @@ -3230,11 +2178,6 @@ resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.24.51.tgz#645f33fe4e02defe26f2f5c0410e1c094eac7f5f" integrity sha512-1P1OROm/rdubP5aFDSZQILU0vrLCJ4fvHt6EoqHEM+2D/G5MK3bIaymUKLit8Js9gbns5UyJnkP/TZROLw4tUA== -"@tootallnate/once@2": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-2.0.0.tgz#f544a148d3ab35801c1f633a7441fd87c2e484bf" - integrity sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A== - "@trysound/sax@0.2.0": version "0.2.0" resolved "https://registry.yarnpkg.com/@trysound/sax/-/sax-0.2.0.tgz#cccaab758af56761eb7bf37af6f03f326dd798ad" @@ -3311,16 +2254,6 @@ resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-5.1.2.tgz#07508b45797cb81ec3f273011b054cd0755eddca" integrity sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA== -"@types/minimatch@^3.0.3": - version "3.0.5" - resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.5.tgz#1001cc5e6a3704b83c236027e77f2f58ea010f40" - integrity sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ== - -"@types/minimist@^1.2.0": - version "1.2.2" - resolved "https://registry.yarnpkg.com/@types/minimist/-/minimist-1.2.2.tgz#ee771e2ba4b3dc5b372935d549fd9617bf345b8c" - integrity sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ== - "@types/ms@*": version "0.7.31" resolved "https://registry.yarnpkg.com/@types/ms/-/ms-0.7.31.tgz#31b7ca6407128a3d2bbc27fe2d21b345397f6197" @@ -3341,21 +2274,11 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-18.11.19.tgz#35e26df9ec441ab99d73e99e9aca82935eea216d" integrity sha512-YUgMWAQBWLObABqrvx8qKO1enAvBUdjZOAWQ5grBAkp5LQv45jBvYKZ3oFS9iKRCQyFjqw6iuEa1vmFqtxYLZw== -"@types/normalize-package-data@^2.4.0": - version "2.4.1" - resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.1.tgz#d3357479a0fdfdd5907fe67e17e0a85c906e1301" - integrity sha512-Gj7cI7z+98M282Tqmp2K5EIsoouUEzbBJhQQzDE3jSIRk6r9gsz0oUokqIUR4u1R3dMHo0pDHM7sNOHyhulypw== - "@types/numeral@^2.0.2": version "2.0.2" resolved "https://registry.yarnpkg.com/@types/numeral/-/numeral-2.0.2.tgz#8ea2c4f4e64c0cc948ad7da375f6f827778a7912" integrity sha512-A8F30k2gYJ/6e07spSCPpkuZu79LCnkPTvqmIWQzNGcrzwFKpVOydG41lNt5wZXjSI149qjyzC2L1+F2PD/NUA== -"@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/parse-package-name@0.1.0": version "0.1.0" resolved "https://registry.yarnpkg.com/@types/parse-package-name/-/parse-package-name-0.1.0.tgz#a4e54e3eef677d8b9d931b54b94ed77e8ae52a4f" @@ -3743,39 +2666,6 @@ dependencies: vue-demi "*" -"@yarnpkg/lockfile@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@yarnpkg/lockfile/-/lockfile-1.1.0.tgz#e77a97fbd345b76d83245edcd17d393b1b41fb31" - integrity sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ== - -"@yarnpkg/parsers@^3.0.0-rc.18": - version "3.0.0-rc.38" - resolved "https://registry.yarnpkg.com/@yarnpkg/parsers/-/parsers-3.0.0-rc.38.tgz#91b393554017016e12d2f4ea33f589dcfe7d5670" - integrity sha512-YqkUSOZSBjbhzvU/ZbK6yoE70L/KVXAQTyUMaKAFoHEpy7csAljivTBu0C3SZKbDxMRjFWAvnLS8US7W3hFLow== - dependencies: - js-yaml "^3.10.0" - tslib "^2.4.0" - -"@zkochan/js-yaml@0.0.6": - version "0.0.6" - resolved "https://registry.yarnpkg.com/@zkochan/js-yaml/-/js-yaml-0.0.6.tgz#975f0b306e705e28b8068a07737fa46d3fc04826" - integrity sha512-nzvgl3VfhcELQ8LyVrYOru+UtAy1nrygk2+AGbTm8a5YcO6o8lSjAT+pfg3vJWxIoZKOUhrK6UU7xW/+00kQrg== - dependencies: - argparse "^2.0.1" - -JSONStream@^1.0.4: - version "1.3.5" - resolved "https://registry.yarnpkg.com/JSONStream/-/JSONStream-1.3.5.tgz#3208c1f08d3a4d99261ab64f92302bc15e111ca0" - integrity sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ== - dependencies: - jsonparse "^1.2.0" - through ">=2.2.7 <3" - -abbrev@1, abbrev@^1.0.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" - integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q== - acorn-jsx@^5.2.0, acorn-jsx@^5.3.2: version "5.3.2" resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937" @@ -3791,35 +2681,13 @@ acorn@^8.8.0, acorn@^8.8.1, acorn@^8.8.2: resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.2.tgz#1b2f25db02af965399b9776b0c2c391276d37c4a" integrity sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw== -add-stream@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/add-stream/-/add-stream-1.0.0.tgz#6a7990437ca736d5e1288db92bd3266d5f5cb2aa" - integrity sha512-qQLMr+8o0WC4FZGQTcJiKBVC59JylcPSrTtk6usvmIDFUOCKegapy1VHQwRbFMOFyb/inzUVqHs+eMYKDM1YeQ== - -agent-base@6, agent-base@^6.0.2: +agent-base@6: version "6.0.2" resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-6.0.2.tgz#49fff58577cfee3f37176feab4c22e00f86d7f77" integrity sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ== dependencies: debug "4" -agentkeepalive@^4.2.1: - version "4.2.1" - resolved "https://registry.yarnpkg.com/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.yarnpkg.com/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.4: version "6.12.6" resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" @@ -3830,11 +2698,6 @@ ajv@^6.10.0, ajv@^6.12.4: json-schema-traverse "^0.4.1" uri-js "^4.2.2" -ansi-colors@^4.1.1: - version "4.1.3" - resolved "https://registry.yarnpkg.com/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.yarnpkg.com/ansi-escapes/-/ansi-escapes-2.0.0.tgz#5bae52be424878dd9783e8910e3fc2922e83c81b" @@ -3845,13 +2708,6 @@ ansi-escapes@^3.2.0: resolved "https://registry.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" @@ -3884,7 +2740,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.1.0: version "4.3.0" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937" integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== @@ -3916,19 +2772,6 @@ apexcharts@^3.37.1: svg.resize.js "^1.4.3" svg.select.js "^3.0.1" -"aproba@^1.0.3 || ^2.0.0", aproba@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/aproba/-/aproba-2.0.0.tgz#52520b8ae5b569215b354efc0caa3fe1e45a8adc" - integrity sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ== - -are-we-there-yet@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-3.0.1.tgz#679df222b278c64f2cdba1175cdc00b0d96164bd" - integrity sha512-QZW4EDmGwlYur0Yyf/b2uGucHQMa8aFUP7eu9ddR73vvhFyt4V0Vl3QHPcTNJ8l6qYOBdxgXdnBXQrHilfRQBg== - dependencies: - delegates "^1.0.0" - readable-stream "^3.6.0" - argparse@^1.0.7: version "1.0.10" resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911" @@ -3941,36 +2784,11 @@ argparse@^2.0.1: resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38" integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q== -array-differ@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/array-differ/-/array-differ-3.0.0.tgz#3cbb3d0f316810eafcc47624734237d6aee4ae6b" - integrity sha512-THtfYS6KtME/yIAhKjZ2ul7XI96lQGHRputJQHO80LAWQnuGP4iCIN8vdMRboGbIEYBwU33q8Tch1os2+X0kMg== - -array-ify@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/array-ify/-/array-ify-1.0.0.tgz#9e528762b4a9066ad163a6962a364418e9626ece" - integrity sha512-c5AMf34bKdvPhQ7tBGhqkgKNUzMr4WUs+WDtC2ZUGOUncbxKMTvqxYctiseW3+L4bA8ec+GcZ6/A/FW4m8ukng== - 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== -arrify@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" - integrity sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA== - -arrify@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/arrify/-/arrify-2.0.1.tgz#c9655e9331e0abcd588d2a7cad7e9956f66701fa" - integrity sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug== - -asap@^2.0.0: - version "2.0.6" - resolved "https://registry.yarnpkg.com/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46" - integrity sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA== - ast-stringify@0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/ast-stringify/-/ast-stringify-0.1.0.tgz#5c6439fbfb4513dcc26c7d34464ccd084ed91cb7" @@ -3986,21 +2804,11 @@ ast-walker-scope@^0.3.1: "@babel/parser" "^7.20.5" "@babel/types" "^7.20.5" -async@^3.2.3: - version "3.2.4" - resolved "https://registry.yarnpkg.com/async/-/async-3.2.4.tgz#2d22e00f8cddeb5fde5dd33522b56d1cf569a81c" - integrity sha512-iAB+JbDEGXhyIUavoDl9WP/Jj106Kz9DEn1DPgYw5ruDn0e3Wgi3sKFm55sASdGBNOQB8F59d9qQ7deqrHA8wQ== - 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== -at-least-node@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/at-least-node/-/at-least-node-1.0.0.tgz#602cd4b46e844ad4effc92a8011a3c46e0238dc2" - integrity sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg== - available-typed-arrays@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz#92f95616501069d07d10edb2fc37d3e1c65123b7" @@ -4021,7 +2829,7 @@ axios@^0.21.2: dependencies: follow-redirects "^1.14.0" -axios@^1.0.0, axios@^1.3.2: +axios@^1.3.2: version "1.3.2" resolved "https://registry.yarnpkg.com/axios/-/axios-1.3.2.tgz#7ac517f0fa3ec46e0e636223fd973713a09c72b3" integrity sha512-1M3O703bYqYuPhbHeya5bnhpYVsDDRyQSabNja04mZtboLNSuZ4YrltestrLXfHgmzua4TpUqRiVKbiQuo2epw== @@ -4078,7 +2886,7 @@ balanced-match@^1.0.0: resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== -base64-js@^1.3.0, base64-js@^1.3.1: +base64-js@^1.3.0: version "1.5.1" resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== @@ -4088,37 +2896,11 @@ bech32@^1.1.4: resolved "https://registry.yarnpkg.com/bech32/-/bech32-1.1.4.tgz#e38c9f37bf179b8eb16ae3a772b40c356d4832e9" integrity sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ== -before-after-hook@^2.2.0: - version "2.2.3" - resolved "https://registry.yarnpkg.com/before-after-hook/-/before-after-hook-2.2.3.tgz#c51e809c81a4e354084422b9b26bad88249c517c" - integrity sha512-NzUnlZexiaH/46WDhANlyR2bXRopNg4F/zuSA3OpZnllCUgRaOF2znDioDWrmbNVsuZk6l9pMquQB38cfBZwkQ== - -bin-links@^3.0.0: - version "3.0.3" - resolved "https://registry.yarnpkg.com/bin-links/-/bin-links-3.0.3.tgz#3842711ef3db2cd9f16a5f404a996a12db355a6e" - integrity sha512-zKdnMPWEdh4F5INR07/eBrodC7QrF5JKvqskjz/ZZRXg5YSAZIbn8zGhbhUrElzHBZ2fvEQdOU59RHcTG3GiwA== - dependencies: - cmd-shim "^5.0.0" - mkdirp-infer-owner "^2.0.0" - npm-normalize-package-bin "^2.0.0" - read-cmd-shim "^3.0.0" - rimraf "^3.0.0" - write-file-atomic "^4.0.0" - binary-extensions@^2.0.0: version "2.2.0" resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d" integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA== -bl@^4.0.3, bl@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/bl/-/bl-4.1.0.tgz#451535264182bec2fbbc83a62ab98cf11d9f7b3a" - integrity sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w== - dependencies: - buffer "^5.5.0" - inherits "^2.0.4" - readable-stream "^3.4.0" - bn.js@^4.11.9: version "4.12.0" resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" @@ -4178,36 +2960,6 @@ bser@2.1.1: dependencies: node-int64 "^0.4.0" -buffer-from@^1.0.0: - version "1.1.2" - resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" - integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== - -buffer@^5.5.0: - version "5.7.1" - resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.7.1.tgz#ba62e7c13133053582197160851a8f648e99eed0" - integrity sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ== - dependencies: - base64-js "^1.3.1" - ieee754 "^1.1.13" - -builtins@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/builtins/-/builtins-1.0.3.tgz#cb94faeb61c8696451db36534e1422f94f0aee88" - integrity sha512-uYBjakWipfaO/bXI7E8rq6kpwHRZK5cNYrUv2OzZSI/FvmdMyXJ2tG9dKcjEC5YHmHpUAwsargWIZNWdxb/bnQ== - -builtins@^5.0.0: - version "5.0.1" - resolved "https://registry.yarnpkg.com/builtins/-/builtins-5.0.1.tgz#87f6db9ab0458be728564fa81d876d8d74552fa9" - integrity sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ== - dependencies: - semver "^7.0.0" - -byte-size@^7.0.0: - version "7.0.1" - resolved "https://registry.yarnpkg.com/byte-size/-/byte-size-7.0.1.tgz#b1daf3386de7ab9d706b941a748dbfc71130dee3" - integrity sha512-crQdqyCwhokxwV1UyDzLZanhkugAgft7vt0qbbdt60C6Zf3CAiGmtUCylbtYwrU6loOUw3euGrNtW1J651ot1A== - c12@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/c12/-/c12-1.1.0.tgz#2d73596c885f0b990dcd91244b15e3c0405ebbeb" @@ -4222,30 +2974,6 @@ c12@^1.1.0: pkg-types "^1.0.1" rc9 "^2.0.0" -cacache@^16.0.0, cacache@^16.0.6, cacache@^16.1.0: - version "16.1.3" - resolved "https://registry.yarnpkg.com/cacache/-/cacache-16.1.3.tgz#a02b9f34ecfaf9a78c9f4bc16fceb94d5d67a38e" - integrity sha512-/+Emcj9DAXxX4cwlLmRI9c166RuL3w30zp4R7Joiv2cQTtTtA+jeuCAjH3ZlGnYS3tKENSrKhAzVVP9GVyzeYQ== - dependencies: - "@npmcli/fs" "^2.1.0" - "@npmcli/move-file" "^2.0.0" - chownr "^2.0.0" - fs-minipass "^2.1.0" - glob "^8.0.1" - infer-owner "^1.0.4" - lru-cache "^7.7.1" - minipass "^3.1.6" - minipass-collect "^1.0.2" - minipass-flush "^1.0.5" - minipass-pipeline "^1.2.4" - mkdirp "^1.0.4" - p-map "^4.0.0" - promise-inflight "^1.0.1" - rimraf "^3.0.2" - ssri "^9.0.0" - tar "^6.1.11" - unique-filename "^2.0.0" - 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" @@ -4264,15 +2992,6 @@ callsites@^3.0.0: resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== -camelcase-keys@^6.2.2: - version "6.2.2" - resolved "https://registry.yarnpkg.com/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.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" @@ -4323,7 +3042,7 @@ chalk@^2.0.0, chalk@^2.4.1, chalk@^2.4.2: escape-string-regexp "^1.0.5" supports-color "^5.3.0" -chalk@^4.0.0, chalk@^4.0.2, chalk@^4.1.0, chalk@^4.1.1: +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== @@ -4361,21 +3080,11 @@ chownr@^2.0.0: resolved "https://registry.yarnpkg.com/chownr/-/chownr-2.0.0.tgz#15bfbe53d2eab4cf70f18a8cd68ebe5b3cb1dece" integrity sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ== -ci-info@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46" - integrity sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ== - ci-info@^3.2.0: version "3.8.0" resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.8.0.tgz#81408265a5380c929f0bc665d62256628ce9ef91" integrity sha512-eXTggHWSooYhq49F2opQhuHWgzucfF2YgODK4e1566GQs5BIfP30B0oenwBJHfWxAs2fyPB1s7Mg949zLf61Yw== -clean-stack@^2.0.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/clean-stack/-/clean-stack-2.2.0.tgz#ee8472dbb129e727b31e8a10a427dee9dfe4008b" - integrity sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A== - cli-color@^2.0.2: version "2.0.3" resolved "https://registry.yarnpkg.com/cli-color/-/cli-color-2.0.3.tgz#73769ba969080629670f3f2ef69a4bf4e7cc1879" @@ -4387,13 +3096,6 @@ cli-color@^2.0.2: memoizee "^0.4.15" timers-ext "^0.1.7" -cli-cursor@3.1.0, cli-cursor@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-3.1.0.tgz#264305a7ae490d1d03bf0c9ba7c925d1753af307" - integrity sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw== - dependencies: - restore-cursor "^3.1.0" - cli-cursor@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-2.1.0.tgz#b35dac376479facc3e94747d41d0d0f5238ffcb5" @@ -4401,65 +3103,11 @@ cli-cursor@^2.1.0: dependencies: restore-cursor "^2.0.0" -cli-spinners@2.6.1: - version "2.6.1" - resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-2.6.1.tgz#adc954ebe281c37a6319bfa401e6dd2488ffb70d" - integrity sha512-x/5fWmGMnbKQAaNwN+UZlV79qBLM9JFnJuJ03gIi5whrob0xV0ofNVHy9DhwGdsMJQc2OKv0oGmLzvaqvAVv+g== - -cli-spinners@^2.5.0: - version "2.7.0" - resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-2.7.0.tgz#f815fd30b5f9eaac02db604c7a231ed7cb2f797a" - integrity sha512-qu3pN8Y3qHNgE2AFweciB1IfMnmZ/fsNTEE+NOFjmGB2F/7rLhnhzppvpCnN4FovtP26k8lHyy9ptEbNwWFLzw== - cli-width@^2.0.0: version "2.2.1" resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.1.tgz#b0433d0b4e9c847ef18868a4ef16fd5fc8271c48" integrity sha512-GRMWDxpOB6Dgk2E5Uo+3eEBvtOOlimMmpbFiKuLFnQzYDavtLFY3K5ona41jgN/WdRZtG7utuVSVTL4HbZHGkw== -cli-width@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-3.0.0.tgz#a2f48437a2caa9a22436e794bf071ec9e61cedf6" - integrity sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw== - -cliui@^7.0.2: - version "7.0.4" - resolved "https://registry.yarnpkg.com/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" - -cliui@^8.0.1: - version "8.0.1" - resolved "https://registry.yarnpkg.com/cliui/-/cliui-8.0.1.tgz#0c04b075db02cbfe60dc8e6cf2f5486b1a3608aa" - integrity sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ== - dependencies: - string-width "^4.2.0" - strip-ansi "^6.0.1" - wrap-ansi "^7.0.0" - -clone-deep@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/clone-deep/-/clone-deep-4.0.1.tgz#c19fd9bdbbf85942b4fd979c84dcf7d5f07c2387" - integrity sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ== - 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.yarnpkg.com/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e" - integrity sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg== - -cmd-shim@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/cmd-shim/-/cmd-shim-5.0.0.tgz#8d0aaa1a6b0708630694c4dbde070ed94c707724" - integrity sha512-qkCtZ59BidfEwHltnJwkyVZn+XQojdAySM1D1gSeh11Z4pW1Kpolkyo53L5noc0nrxmIvyFwTmJRo4xs7FFLPw== - dependencies: - mkdirp-infer-owner "^2.0.0" - color-convert@^1.9.0: version "1.9.3" resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" @@ -4484,11 +3132,6 @@ color-name@~1.1.4: resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== -color-support@^1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/color-support/-/color-support-1.1.3.tgz#93834379a1cc9a0c61f82f52f0d04322251bd5a2" - integrity sha512-qiBjkpbMLO/HL68y+lh4q0/O1MZFj2RX6X/KmMa3+gJD3z+WwI1ZzDHysvqHGS3mP6mznPckpXmw1nI9cJjyRg== - colord@^2.9.1: version "2.9.3" resolved "https://registry.yarnpkg.com/colord/-/colord-2.9.3.tgz#4f8ce919de456f1d5c1c368c307fe20f3e59fb43" @@ -4504,14 +3147,6 @@ colors@^1.1.2: resolved "https://registry.yarnpkg.com/colors/-/colors-1.4.0.tgz#c50491479d4c1bdaed2c9ced32cf7c7dc2360f78" integrity sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA== -columnify@^1.6.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/columnify/-/columnify-1.6.0.tgz#6989531713c9008bb29735e61e37acf5bd553cf3" - integrity sha512-lomjuFZKfM6MSAnV9aCZC9sc0qGbmZdfygNv+nCpqVkSKdCxCklLtd16O0EILGkImHw9ZpHkAnHaB+8Zxq5W6Q== - dependencies: - strip-ansi "^6.0.1" - wcwidth "^1.0.0" - combined-stream@^1.0.8: version "1.0.8" resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" @@ -4524,139 +3159,21 @@ commander@^7.2.0: resolved "https://registry.yarnpkg.com/commander/-/commander-7.2.0.tgz#a36cb57d0b501ce108e4d20559a150a391d97ab7" integrity sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw== -common-ancestor-path@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/common-ancestor-path/-/common-ancestor-path-1.0.1.tgz#4f7d2d1394d91b7abdf51871c62f71eadb0182a7" - integrity sha512-L3sHRo1pXXEqX8VU28kfgUY+YGsk09hPqZiZmLacNib6XNTCM8ubYeT7ryXQw8asB1sKgcU5lkB7ONug08aB8w== - commondir@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/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.yarnpkg.com/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" - 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== -concat-stream@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/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.yarnpkg.com/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" - consola@^2.15.3: version "2.15.3" resolved "https://registry.yarnpkg.com/consola/-/consola-2.15.3.tgz#2e11f98d6a4be71ff72e0bdf07bd23e12cb61550" integrity sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw== -console-control-strings@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" - integrity sha512-ty/fTekppD2fIwRvnZAVdeOiGd1c7YXEixbgJTNzqcxJWKQnjJ/V1bNEEE6hygpM3WjwHFUVK6HTjWSzV4a8sQ== - -conventional-changelog-angular@^5.0.12: - version "5.0.13" - resolved "https://registry.yarnpkg.com/conventional-changelog-angular/-/conventional-changelog-angular-5.0.13.tgz#896885d63b914a70d4934b59d2fe7bde1832b28c" - integrity sha512-i/gipMxs7s8L/QeuavPF2hLnJgH6pEZAttySB6aiQLWcX3puWDL3ACVmvBhJGxnAy52Qc15ua26BufY6KpmrVA== - dependencies: - compare-func "^2.0.0" - q "^1.5.1" - -conventional-changelog-core@^4.2.4: - version "4.2.4" - resolved "https://registry.yarnpkg.com/conventional-changelog-core/-/conventional-changelog-core-4.2.4.tgz#e50d047e8ebacf63fac3dc67bf918177001e1e9f" - integrity sha512-gDVS+zVJHE2v4SLc6B0sLsPiloR0ygU7HaDW14aNJE1v4SlqJPILPl/aJC7YdtRE4CybBf8gDwObBvKha8Xlyg== - dependencies: - 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.yarnpkg.com/conventional-changelog-preset-loader/-/conventional-changelog-preset-loader-2.3.4.tgz#14a855abbffd59027fd602581f1f34d9862ea44c" - integrity sha512-GEKRWkrSAZeTq5+YjUZOYxdHq+ci4dNwHvpaBC3+ENalzFWuCWa9EZXSuZBpkr72sMdKB+1fyDV4takK1Lf58g== - -conventional-changelog-writer@^5.0.0: - version "5.0.1" - resolved "https://registry.yarnpkg.com/conventional-changelog-writer/-/conventional-changelog-writer-5.0.1.tgz#e0757072f045fe03d91da6343c843029e702f359" - integrity sha512-5WsuKUfxW7suLblAbFnxAcrvf6r+0b7GvNaWUwUIk0bXMnENP/PEieGKVUQrjPqwPT4o3EPAASBXiY6iHooLOQ== - dependencies: - 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.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/conventional-recommended-bump/-/conventional-recommended-bump-6.1.0.tgz#cfa623285d1de554012f2ffde70d9c8a22231f55" - integrity sha512-uiApbSiNGM/kkdL9GTOLAqC4hbptObFo4wW2QRyHsKciGAfQuLU1ShZ1BIVI/+K2BE/W1AWYQMCXAsv4dyKPaw== - dependencies: - concat-stream "^2.0.0" - conventional-changelog-preset-loader "^2.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.4.0, convert-source-map@^1.7.0: version "1.9.0" resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.9.0.tgz#7faae62353fb4213366d0ca98358d22e8368b05f" @@ -4674,17 +3191,6 @@ core-util-is@~1.0.0: resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.3.tgz#a6042d3634c2b27e9328f837b965fac83808db85" integrity sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ== -cosmiconfig@^7.0.0: - version "7.1.0" - resolved "https://registry.yarnpkg.com/cosmiconfig/-/cosmiconfig-7.1.0.tgz#1443b9afa596b670082ea46cbd8f6a62b84635f6" - integrity sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA== - 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.yarnpkg.com/cosmjs-types/-/cosmjs-types-0.5.2.tgz#2d42b354946f330dfb5c90a87fdc2a36f97b965d" @@ -4716,7 +3222,7 @@ cross-spawn@^6.0.5: shebang-command "^1.2.0" which "^1.2.9" -cross-spawn@^7.0.2, cross-spawn@^7.0.3: +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== @@ -4828,16 +3334,11 @@ d@1, d@^1.0.1: es5-ext "^0.10.50" type "^1.0.1" -dargs@7.0.0, dargs@^7.0.0: +dargs@7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/dargs/-/dargs-7.0.0.tgz#04015c41de0bcb69ec84050f3d9be0caf8d6d5cc" integrity sha512-2iy1EkLdlBzQGvbweYRFxmFath8+K7+AKB0TlhHWkNuH+TmovaMH/Wp7V7R4u7f4SnX3OgLsU9t1NI9ioDnUpg== -dateformat@^3.0.0: - version "3.0.3" - resolved "https://registry.yarnpkg.com/dateformat/-/dateformat-3.0.3.tgz#a6e37499a4d9a9cf85ef5872044d62901c9889ae" - integrity sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q== - dayjs@^1.11.7: version "1.11.7" resolved "https://registry.yarnpkg.com/dayjs/-/dayjs-1.11.7.tgz#4b296922642f70999544d1144a2c25730fce63e2" @@ -4855,29 +3356,6 @@ debug@4, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, debug@^4.3.3, d dependencies: ms "2.1.2" -debuglog@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492" - integrity sha512-syBZ+rnAK3EgMsH2aYEOLUW7mZSY9Gb+0wUMCFsZvcmiz+HigA0LOcq/HoQqVuGG+EKykunc7QG2bzrponfaSw== - -decamelize-keys@^1.1.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/decamelize-keys/-/decamelize-keys-1.1.1.tgz#04a2d523b2f18d80d0158a43b895d56dff8d19d8" - integrity sha512-WiPxgEirIV0/eIOMcnFBA3/IJZAZqKnwAwWyvvdi4lsr1WCN22nhdf/3db3DoZcUjTV2SqfzIwNyp6y2xs3nmg== - dependencies: - decamelize "^1.1.0" - map-obj "^1.0.0" - -decamelize@^1.1.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" - integrity sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA== - -dedent@^0.7.0: - version "0.7.0" - resolved "https://registry.yarnpkg.com/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c" - integrity sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA== - deep-equal@^2.1.0: version "2.2.0" resolved "https://registry.yarnpkg.com/deep-equal/-/deep-equal-2.2.0.tgz#5caeace9c781028b9ff459f33b779346637c43e6" @@ -4911,18 +3389,6 @@ deepmerge@4.2.2: resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955" integrity sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg== -defaults@^1.0.3: - version "1.0.4" - resolved "https://registry.yarnpkg.com/defaults/-/defaults-1.0.4.tgz#b0b02062c1e2aa62ff5d9528f0f98baa90978d7a" - integrity sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A== - dependencies: - clone "^1.0.2" - -define-lazy-prop@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz#3f7ae421129bcaaac9bc74905c98a0009ec9ee7f" - integrity sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og== - define-properties@^1.1.3, define-properties@^1.1.4: version "1.1.4" resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.4.tgz#0b14d7bd7fbeb2f3572c3a7eda80ea5d57fb05b1" @@ -4941,44 +3407,11 @@ delayed-stream@~1.0.0: resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ== -delegates@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" - integrity sha512-bd2L678uiWATM6m5Z1VzNCErI3jiGzt6HGY8OVICs40JQq/HALfbyNJmp0UDakEY4pMMaN0Ly5om/B1VI/+xfQ== - -depd@^1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/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.yarnpkg.com/deprecation/-/deprecation-2.3.1.tgz#6368cbdb40abf3373b525ac87e4a260c3a700919" - integrity sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ== - destr@^1.2.2: version "1.2.2" resolved "https://registry.yarnpkg.com/destr/-/destr-1.2.2.tgz#7ba9befcafb645a50e76b260449c63927b51e22f" integrity sha512-lrbCJwD9saUQrqUfXvl6qoM+QN3W7tLV5pAOs+OqOmopCCz/JkE05MHedJR1xfk4IAnZuJXPVuN5+7jNA2ZCiA== -detect-indent@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/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.yarnpkg.com/detect-indent/-/detect-indent-6.1.0.tgz#592485ebbbf6b3b1ab2be175c8393d04ca0d57e6" - integrity sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA== - -dezalgo@^1.0.0: - version "1.0.4" - resolved "https://registry.yarnpkg.com/dezalgo/-/dezalgo-1.0.4.tgz#751235260469084c132157dfa857f386d4c33d81" - integrity sha512-rXSP0bf+5n0Qonsb+SVVfNfIsimO4HEtmnIpPHY8Q1UCzKlQrDMfdobr8nJOOsRgWCyMRqeSBQzmWUMq7zvVig== - dependencies: - asap "^2.0.0" - wrappy "1" - dir-glob@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-3.0.1.tgz#56dbf73d992a4a93ba1584f4534063fd2e41717f" @@ -5023,47 +3456,16 @@ domutils@^2.8.0: domelementtype "^2.2.0" domhandler "^4.2.0" -dot-prop@^5.1.0: - version "5.3.0" - resolved "https://registry.yarnpkg.com/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.yarnpkg.com/dot-prop/-/dot-prop-6.0.1.tgz#fc26b3cf142b9e59b74dbd39ed66ce620c681083" - integrity sha512-tE7ztYzXHIeyvc7N+hR3oi7FIbf/NIjVP9hmAt3yMXzrQ072/fpjGLx2GxNxGxUl5V73MEqYzioOMoVhGMJ5cA== - dependencies: - is-obj "^2.0.0" - dotenv@^16.0.3: version "16.0.3" resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.0.3.tgz#115aec42bac5053db3c456db30cc243a5a836a07" integrity sha512-7GO6HghkA5fYG9TYnNxi14/7K9f5occMlp3zXAuSxn7CKCxt9xbNWG7yF8hTCSUchlfWSe3uLmlPfigevRItzQ== -dotenv@~10.0.0: - version "10.0.0" - resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-10.0.0.tgz#3d4227b8fb95f81096cdd2b66653fb2c7085ba81" - integrity sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q== - dotty@0.1.2: version "0.1.2" resolved "https://registry.yarnpkg.com/dotty/-/dotty-0.1.2.tgz#512d44cc4111a724931226259297f235e8484f6f" integrity sha512-V0EWmKeH3DEhMwAZ+8ZB2Ao4OK6p++Z0hsDtZq3N0+0ZMVqkzrcEGROvOnZpLnvBg5PTNG23JEDLAm64gPaotQ== -duplexer@^0.1.1: - version "0.1.2" - resolved "https://registry.yarnpkg.com/duplexer/-/duplexer-0.1.2.tgz#3abe43aef3835f8ae077d136ddce0f276b0400e6" - integrity sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg== - -ejs@^3.1.7: - version "3.1.8" - resolved "https://registry.yarnpkg.com/ejs/-/ejs-3.1.8.tgz#758d32910c78047585c7ef1f92f9ee041c1c190b" - integrity sha512-/sXZeMlhS0ArkfX2Aw780gJzXSMPnKjtspYZv+f3NiKLlubezAHDU5+9xz6gd3/NhG3txQCo6xlglmTS+oTGEQ== - dependencies: - jake "^10.8.5" - electron-to-chromium@^1.4.284: version "1.4.286" resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.286.tgz#0e039de59135f44ab9a8ec9025e53a9135eba11f" @@ -5082,25 +3484,6 @@ elliptic@^6.5.4: minimalistic-assert "^1.0.1" minimalistic-crypto-utils "^1.0.1" -emoji-regex@^8.0.0: - version "8.0.0" - resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" - integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== - -encoding@^0.1.13: - version "0.1.13" - resolved "https://registry.yarnpkg.com/encoding/-/encoding-0.1.13.tgz#56574afdd791f54a8e9b2785c0582a2d26210fa9" - integrity sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A== - dependencies: - iconv-lite "^0.6.2" - -end-of-stream@^1.4.1: - version "1.4.4" - resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0" - integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q== - dependencies: - once "^1.4.0" - enhanced-resolve@^4.1.1: version "4.5.0" resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-4.5.0.tgz#2f3cfd84dbe3b487f18f2db2ef1e064a571ca5ec" @@ -5110,33 +3493,11 @@ enhanced-resolve@^4.1.1: memory-fs "^0.5.0" tapable "^1.0.0" -enquirer@~2.3.6: - version "2.3.6" - resolved "https://registry.yarnpkg.com/enquirer/-/enquirer-2.3.6.tgz#2a7fe5dd634a1e4125a975ec994ff5456dc3734d" - integrity sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg== - dependencies: - ansi-colors "^4.1.1" - entities@^2.0.0: version "2.2.0" resolved "https://registry.yarnpkg.com/entities/-/entities-2.2.0.tgz#098dc90ebb83d8dffa089d55256b351d34c4da55" integrity sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A== -env-paths@^2.2.0: - version "2.2.1" - resolved "https://registry.yarnpkg.com/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.yarnpkg.com/envinfo/-/envinfo-7.8.1.tgz#06377e3e5f4d379fea7ac592d5ad8927e0c4d475" - integrity sha512-/o+BXHmB7ocbHEAs6F2EnG0ogybVVUdkRunTT2glZU9XAaGmhqskrvKwqXuDfNjEO0LZKWdejEEpnq8aM0tOaw== - -err-code@^2.0.2: - version "2.0.3" - resolved "https://registry.yarnpkg.com/err-code/-/err-code-2.0.3.tgz#23c2f3b756ffdfc608d30e27c9a941024807e7f9" - integrity sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA== - errno@^0.1.3: version "0.1.8" resolved "https://registry.yarnpkg.com/errno/-/errno-0.1.8.tgz#8bb3e9c7d463be4976ff888f76b4809ebc2e811f" @@ -5452,7 +3813,7 @@ esprima@^4.0.0: resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== -esquery@^1.0.1, esquery@^1.4.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== @@ -5501,26 +3862,6 @@ event-emitter@^0.3.5: d "1" es5-ext "~0.10.14" -eventemitter3@^4.0.4: - version "4.0.7" - resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" - integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== - -execa@^5.0.0: - version "5.1.1" - resolved "https://registry.yarnpkg.com/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" - ext@^1.1.2: version "1.7.0" resolved "https://registry.yarnpkg.com/ext/-/ext-1.7.0.tgz#0ea4383c0103d60e70be99e9a7f11027a33c4f5f" @@ -5564,17 +3905,6 @@ fast-diff@^1.1.2: resolved "https://registry.yarnpkg.com/fast-diff/-/fast-diff-1.2.0.tgz#73ee11982d86caaf7959828d519cfe927fac5f03" integrity sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w== -fast-glob@3.2.7: - version "3.2.7" - resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.7.tgz#fd6cb7a2d7e9aa7a7846111e85a196d6b2f766a1" - integrity sha512-rYGMRwip6lUMvYD3BTScMwT1HtAs2d71SMv66Vrxs0IekGZEjhM0pcMfjQPnknBt2zeCwQMEupiN02ZP4DiT1Q== - dependencies: - "@nodelib/fs.stat" "^2.0.2" - "@nodelib/fs.walk" "^1.2.3" - glob-parent "^5.1.2" - merge2 "^1.3.0" - micromatch "^4.0.4" - fast-glob@^3.2.11, fast-glob@^3.2.12, fast-glob@^3.2.5, fast-glob@^3.2.9: version "3.2.12" resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.12.tgz#7f39ec99c2e6ab030337142da9e0c18f37afae80" @@ -5610,13 +3940,6 @@ fb-watchman@^2.0.0: dependencies: bser "2.1.1" -figures@3.2.0, figures@^3.0.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/figures/-/figures-3.2.0.tgz#625c18bd293c604dc4a8ddb2febf0c88341746af" - integrity sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg== - dependencies: - escape-string-regexp "^1.0.5" - figures@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/figures/-/figures-2.0.0.tgz#3ab1a2d2a62c8bfb431a0c94cb797a2fce27c962" @@ -5631,13 +3954,6 @@ file-entry-cache@^6.0.1: dependencies: flat-cache "^3.0.4" -filelist@^1.0.1: - version "1.0.4" - resolved "https://registry.yarnpkg.com/filelist/-/filelist-1.0.4.tgz#f78978a1e944775ff9e62e744424f215e58352b5" - integrity sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q== - dependencies: - minimatch "^5.0.1" - fill-range@^7.0.1: version "7.0.1" resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40" @@ -5654,13 +3970,6 @@ find-cache-dir@^3.3.2: make-dir "^3.0.2" pkg-dir "^4.1.0" -find-up@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/find-up/-/find-up-2.1.0.tgz#45d1b7e506c717ddd482775a2b77920a3c0c57a7" - integrity sha512-NWzkk0jSJtTt08+FBFMvXoeZnOJD+jTtsRmBYbAIzJdX6l7dLgR7CTubCM5/eDdPUBvLCeVasP1brfVR/9/EZQ== - dependencies: - locate-path "^2.0.0" - find-up@^4.0.0, find-up@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19" @@ -5716,31 +4025,7 @@ form-data@^4.0.0: combined-stream "^1.0.8" mime-types "^2.1.12" -fs-constants@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/fs-constants/-/fs-constants-1.0.0.tgz#6be0de9be998ce16af8afc24497b9ee9b7ccd9ad" - integrity sha512-y6OAwoSIf7FyjMIv94u+b5rdheZEjzR63GTyZJm5qh4Bi+2YgwLCcI/fPFZkL5PSixOt6ZNKm+w+Hfp/Bciwow== - -fs-extra@^11.1.0: - version "11.1.0" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-11.1.0.tgz#5784b102104433bb0e090f48bfc4a30742c357ed" - integrity sha512-0rcTq621PD5jM/e0a3EJoGC/1TC5ZBCERW82LQuwfGnCa1V8w7dpYH1yNu+SLb6E5dkeCBzKEyLGlFrnr+dUyw== - dependencies: - graceful-fs "^4.2.0" - jsonfile "^6.0.1" - universalify "^2.0.0" - -fs-extra@^9.1.0: - version "9.1.0" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.1.0.tgz#5954460c764a8da2094ba3554bf839e6b9a7c86d" - integrity sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ== - dependencies: - at-least-node "^1.0.0" - graceful-fs "^4.2.0" - jsonfile "^6.0.1" - universalify "^2.0.0" - -fs-minipass@^2.0.0, fs-minipass@^2.1.0: +fs-minipass@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-2.1.0.tgz#7f5036fdbf12c63c169190cbe4199c852271f9fb" integrity sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg== @@ -5782,30 +4067,11 @@ fuzzy@0.1.3: resolved "https://registry.yarnpkg.com/fuzzy/-/fuzzy-0.1.3.tgz#4c76ec2ff0ac1a36a9dccf9a00df8623078d4ed8" integrity sha512-/gZffu4ykarLrCiP3Ygsa86UAo1E5vEVlvTrpkKywXSbP9Xhln3oSp9QSV57gEq3JFFpGJ4GZ+5zdEp3FcUh4w== -gauge@^4.0.3: - version "4.0.4" - resolved "https://registry.yarnpkg.com/gauge/-/gauge-4.0.4.tgz#52ff0652f2bbf607a989793d53b751bef2328dce" - integrity sha512-f9m+BEN5jkg6a0fZjleidjN51VE1X+mPFQ2DJ0uv1V39oCLCbsGe6yjbBnp7eK7z/+GAon99a3nHuqbuuthyPg== - dependencies: - aproba "^1.0.3 || ^2.0.0" - color-support "^1.1.3" - console-control-strings "^1.1.0" - has-unicode "^2.0.1" - signal-exit "^3.0.7" - string-width "^4.2.3" - strip-ansi "^6.0.1" - wide-align "^1.1.5" - gensync@^1.0.0-beta.2: version "1.0.0-beta.2" resolved "https://registry.yarnpkg.com/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0" integrity sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg== -get-caller-file@^2.0.5: - version "2.0.5" - resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" - integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== - get-intrinsic@^1.0.2, get-intrinsic@^1.1.1, get-intrinsic@^1.1.3: version "1.2.0" resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.0.tgz#7ad1dc0535f3a2904bba075772763e5051f6d05f" @@ -5820,31 +4086,11 @@ get-package-type@^0.1.0: resolved "https://registry.yarnpkg.com/get-package-type/-/get-package-type-0.1.0.tgz#8de2d803cff44df3bc6c456e6668b36c3926e11a" integrity sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q== -get-pkg-repo@^4.0.0: - version "4.2.1" - resolved "https://registry.yarnpkg.com/get-pkg-repo/-/get-pkg-repo-4.2.1.tgz#75973e1c8050c73f48190c52047c4cee3acbf385" - integrity sha512-2+QbHjFRfGB74v/pYWjd5OhU3TDIC2Gv/YKUTk/tCvAz0pkn/Mz6P3uByuBimLOcPvN2jYdScl3xGFSrx0jEcA== - dependencies: - "@hutson/parse-repository-url" "^3.0.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.yarnpkg.com/get-port/-/get-port-5.1.1.tgz#0469ed07563479de6efb986baf053dcd7d4e3193" - integrity sha512-g/Q1aTSDOxFpchXC4i8ZWvxA1lnPqx/JHqcpIw0/LX9T8x/GBbi6YnlN5nhaKIFkT8oFsscUKgDJYxfwfS6QsQ== - get-stdin@^8.0.0: version "8.0.0" resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-8.0.0.tgz#cbad6a73feb75f6eeb22ba9e01f89aa28aa97a53" integrity sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg== -get-stream@^6.0.0: - version "6.0.1" - resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7" - integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg== - 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" @@ -5866,56 +4112,7 @@ giget@^1.0.0: pathe "^1.0.0" tar "^6.1.12" -git-raw-commits@^2.0.8: - version "2.0.11" - resolved "https://registry.yarnpkg.com/git-raw-commits/-/git-raw-commits-2.0.11.tgz#bc3576638071d18655e1cc60d7f524920008d723" - integrity sha512-VnctFhw+xfj8Va1xtfEqCUD2XDrbAPSJx+hSrE5K7fGdjZruW7XV+QOrN7LF/RJyvspRiD2I0asWsxFp0ya26A== - dependencies: - dargs "^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.yarnpkg.com/git-remote-origin-url/-/git-remote-origin-url-2.0.0.tgz#5282659dae2107145a11126112ad3216ec5fa65f" - integrity sha512-eU+GGrZgccNJcsDH5LkXR3PB9M958hxc7sbA8DFJjrv9j4L2P/eZfKhM+QD6wyzpiv+b1BpK0XrYCxkovtjSLw== - dependencies: - gitconfiglocal "^1.0.0" - pify "^2.3.0" - -git-semver-tags@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/git-semver-tags/-/git-semver-tags-4.1.1.tgz#63191bcd809b0ec3e151ba4751c16c444e5b5780" - integrity sha512-OWyMt5zBe7xFs8vglMmhM9lRQzCWL3WjHtxNNfJTMngGym7pC1kh8sP6jevfydJ6LP3ZvGxfb6ABYgPUM0mtsA== - dependencies: - meow "^8.0.0" - semver "^6.0.0" - -git-up@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/git-up/-/git-up-7.0.0.tgz#bace30786e36f56ea341b6f69adfd83286337467" - integrity sha512-ONdIrbBCFusq1Oy0sC71F5azx8bVkvtZtMJAsv+a6lz5YAmbNnLD6HAB4gptHZVLPR8S2/kVN6Gab7lryq5+lQ== - dependencies: - is-ssh "^1.4.0" - parse-url "^8.1.0" - -git-url-parse@^13.1.0: - version "13.1.0" - resolved "https://registry.yarnpkg.com/git-url-parse/-/git-url-parse-13.1.0.tgz#07e136b5baa08d59fabdf0e33170de425adf07b4" - integrity sha512-5FvPJP/70WkIprlUZ33bm4UAaFdjcLkJLpWft1BeZKqwR0uhhNGoKwlUaPtVb4LxCSQ++erHapRak9kWGj+FCA== - dependencies: - git-up "^7.0.0" - -gitconfiglocal@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/gitconfiglocal/-/gitconfiglocal-1.0.0.tgz#41d045f3851a5ea88f03f24ca1c6178114464b9b" - integrity sha512-spLUXeTAVHxDtKsJc8FkFVgFtMdEN9qPGpL23VfSHx4fP4+Ds097IXLvymbnDH8FnmxX5Nr9bPw3A+AQ6mWEaQ== - dependencies: - ini "^1.3.2" - -glob-parent@^5.1.1, glob-parent@^5.1.2, glob-parent@~5.1.2: +glob-parent@^5.1.2, glob-parent@~5.1.2: version "5.1.2" resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== @@ -5936,18 +4133,6 @@ glob-promise@^4.2.2: dependencies: "@types/glob" "^7.1.3" -glob@7.1.4: - version "7.1.4" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.4.tgz#aa608a2f6c577ad357e1ae5a5c26d9a8d1969255" - integrity sha512-hkLPepehmnKk41pUGm3sYxoFs/umurYfYJCerbXEyFIWcAzvpipAgVkBqqT9RBKMGjnq6kMuyYwha6csxbiM1A== - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^3.0.4" - once "^1.3.0" - path-is-absolute "^1.0.0" - glob@8.0.3: version "8.0.3" resolved "https://registry.yarnpkg.com/glob/-/glob-8.0.3.tgz#415c6eb2deed9e502c68fa44a272e6da6eeca42e" @@ -5971,17 +4156,6 @@ glob@^7.0.0, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6: once "^1.3.0" path-is-absolute "^1.0.0" -glob@^8.0.1: - version "8.1.0" - resolved "https://registry.yarnpkg.com/glob/-/glob-8.1.0.tgz#d388f656593ef708ee3e34640fdfb99a9fd1c33e" - integrity sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ== - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^5.0.1" - once "^1.3.0" - globals@^11.1.0: version "11.12.0" resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" @@ -6001,7 +4175,7 @@ globalthis@^1.0.1, globalthis@^1.0.3: dependencies: define-properties "^1.1.3" -globby@^11.0.2, globby@^11.1.0: +globby@^11.1.0: version "11.1.0" resolved "https://registry.yarnpkg.com/globby/-/globby-11.1.0.tgz#bd4be98bb042f83d796f7e3811991fbe82a0d34b" integrity sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g== @@ -6031,7 +4205,7 @@ gopd@^1.0.1: dependencies: get-intrinsic "^1.1.3" -graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.6, graceful-fs@^4.2.9: +graceful-fs@^4.1.2, graceful-fs@^4.2.9: version "4.2.10" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.10.tgz#147d3a006da4ca3ce14728c7aefc287c367d7a6c" integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA== @@ -6041,23 +4215,6 @@ grapheme-splitter@^1.0.4: resolved "https://registry.yarnpkg.com/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz#9cf3a665c6247479896834af35cf1dbb4400767e" integrity sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ== -handlebars@^4.7.7: - version "4.7.7" - resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.7.7.tgz#9ce33416aad02dbd6c8fafa8240d5d98004945a1" - integrity sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA== - 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" - -hard-rejection@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/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.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91" @@ -6104,11 +4261,6 @@ has-tostringtag@^1.0.0: dependencies: has-symbols "^1.0.2" -has-unicode@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" - integrity sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ== - has@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" @@ -6153,47 +4305,12 @@ hosted-git-info@^2.1.4: resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.9.tgz#dffc0bf9a21c02209090f2aa69429e1414daf3f9" integrity sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw== -hosted-git-info@^3.0.6: - version "3.0.8" - resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-3.0.8.tgz#6e35d4cc87af2c5f816e4cb9ce350ba87a3f370d" - integrity sha512-aXpmwoOhRBrw6X3j0h5RloK4x1OzsxMPyxqIHyNfSe2pypkVTZFpEiRoSipPEPlMrh0HW/XsjkJ5WgnCirpNUw== - dependencies: - lru-cache "^6.0.0" - -hosted-git-info@^4.0.0, hosted-git-info@^4.0.1: - version "4.1.0" - resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-4.1.0.tgz#827b82867e9ff1c8d0c4d9d53880397d2c86d224" - integrity sha512-kyCuEOWjJqZuDbRHzL8V93NzQhwIB71oFWSyzVo+KPZI+pnQPPxucdkrOZvkLRnrf5URsQM+IJ09Dw29cRALIA== - dependencies: - lru-cache "^6.0.0" - -hosted-git-info@^5.0.0: - version "5.2.1" - resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-5.2.1.tgz#0ba1c97178ef91f3ab30842ae63d6a272341156f" - integrity sha512-xIcQYMnhcx2Nr4JTjsFmwwnr9vldugPy9uVm0o87bjqqWMv9GaqsTeT+i99wTl0mk1uLxJtHxLb8kymqTENQsw== - dependencies: - lru-cache "^7.5.1" - html-tags@^3.1.0: version "3.2.0" resolved "https://registry.yarnpkg.com/html-tags/-/html-tags-3.2.0.tgz#dbb3518d20b726524e4dd43de397eb0a95726961" integrity sha512-vy7ClnArOZwCnqZgvv+ddgHgJiAFXe3Ge9ML5/mBctVJoUoYPCdxVucOywjDARn6CVoh3dRSFdPHy2sX80L0Wg== -http-cache-semantics@^4.1.0: - version "4.1.1" - resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz#abe02fcb2985460bf0323be664436ec3476a6d5a" - integrity sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ== - -http-proxy-agent@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-5.0.0.tgz#5129800203520d434f142bc78ff3c170800f2b43" - integrity sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w== - dependencies: - "@tootallnate/once" "2" - agent-base "6" - debug "4" - -https-proxy-agent@^5.0.0, https-proxy-agent@^5.0.1: +https-proxy-agent@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz#c59ef224a04fe8b754f3db0063a25ea30d0005d6" integrity sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA== @@ -6201,18 +4318,6 @@ https-proxy-agent@^5.0.0, https-proxy-agent@^5.0.1: agent-base "6" debug "4" -human-signals@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" @@ -6220,26 +4325,7 @@ iconv-lite@^0.4.17, iconv-lite@^0.4.24: dependencies: safer-buffer ">= 2.1.2 < 3" -iconv-lite@^0.6.2: - version "0.6.3" - resolved "https://registry.yarnpkg.com/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.13: - version "1.2.1" - resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" - integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== - -ignore-walk@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/ignore-walk/-/ignore-walk-5.0.1.tgz#5f199e23e1288f518d90358d461387788a154776" - integrity sha512-yemi4pMf51WKT7khInJqAvsIGzoqYXblnsz0ql8tM+yi1EKYTY1evX4NAbJrLL/Aanr2HyZeluqU+Oi7MGHokw== - dependencies: - minimatch "^5.0.1" - -ignore@^5.0.4, ignore@^5.2.0, ignore@^5.2.4: +ignore@^5.2.0, ignore@^5.2.4: version "5.2.4" resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.4.tgz#a291c0c6178ff1b960befe47fcdec301674a6324" integrity sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ== @@ -6257,29 +4343,11 @@ import-fresh@^3.0.0, import-fresh@^3.2.1: parent-module "^1.0.0" resolve-from "^4.0.0" -import-local@^3.0.2: - version "3.1.0" - resolved "https://registry.yarnpkg.com/import-local/-/import-local-3.1.0.tgz#b4479df8a5fd44f6cdce24070675676063c95cb4" - 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.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" integrity sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA== -indent-string@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-4.0.0.tgz#624f8f4497d619b2d9768531d58f4122854d7251" - integrity sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg== - -infer-owner@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/infer-owner/-/infer-owner-1.0.4.tgz#c4cefcaa8e51051c2a40ba2ce8a3d27295af9467" - integrity sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A== - inflight@^1.0.4: version "1.0.6" resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" @@ -6298,24 +4366,6 @@ inherits@2.0.3: resolved "https://registry.yarnpkg.com/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.yarnpkg.com/ini/-/ini-1.3.8.tgz#a29da425b48806f34767a4efce397269af28432c" - integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew== - -init-package-json@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/init-package-json/-/init-package-json-3.0.2.tgz#f5bc9bac93f2bdc005778bc2271be642fecfcd69" - integrity sha512-YhlQPEjNFqlGdzrBfDNRLhvoSgX7iQRgSxgsNknRQ9ITXFT7UMfVMWhBTOh2Y+25lRnGrv5Xz8yZwQ3ACR6T3A== - dependencies: - npm-package-arg "^9.0.1" - promzard "^0.3.0" - read "^1.0.7" - read-package-json "^5.0.0" - semver "^7.3.5" - validate-npm-package-license "^3.0.4" - validate-npm-package-name "^4.0.0" - inquirer-autocomplete-prompt@^0.11.1: version "0.11.1" resolved "https://registry.yarnpkg.com/inquirer-autocomplete-prompt/-/inquirer-autocomplete-prompt-0.11.1.tgz#f90ca9510a4c489882e9be294934bd8c2e575e09" @@ -6368,27 +4418,6 @@ inquirer@^6.0.0: strip-ansi "^5.1.0" through "^2.3.6" -inquirer@^8.2.4: - version "8.2.5" - resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-8.2.5.tgz#d8654a7542c35a9b9e069d27e2df4858784d54f8" - integrity sha512-QAgPDQMEgrDssk1XiwwHoOGYF9BAbUcc1+j+FhEvaOt8/cKRqyLn0U5qA6F74fGhTMGxf92pOvPBeh29jQJDTQ== - dependencies: - ansi-escapes "^4.2.1" - chalk "^4.1.1" - cli-cursor "^3.1.0" - cli-width "^3.0.0" - external-editor "^3.0.3" - figures "^3.0.0" - lodash "^4.17.21" - mute-stream "0.0.8" - ora "^5.4.1" - run-async "^2.4.0" - rxjs "^7.5.5" - string-width "^4.1.0" - strip-ansi "^6.0.0" - through "^2.3.6" - wrap-ansi "^7.0.0" - inquirerer@0.1.3: version "0.1.3" resolved "https://registry.yarnpkg.com/inquirerer/-/inquirerer-0.1.3.tgz#ecf91dc672b3bf45211d7f64bf5e8d5e171fd2ad" @@ -6412,11 +4441,6 @@ interpret@^1.0.0: resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.4.0.tgz#665ab8bc4da27a774a40584e812e3e0fa45b1a1e" integrity sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA== -ip@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/ip/-/ip-2.0.0.tgz#4cf4ab182fee2314c75ede1276f8c80b479936da" - integrity sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ== - is-arguments@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/is-arguments/-/is-arguments-1.1.1.tgz#15b3f88fda01f2a97fec84ca761a560f123efa9b" @@ -6466,14 +4490,7 @@ is-callable@^1.1.3, is-callable@^1.1.4, is-callable@^1.2.7: resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.7.tgz#3bc2a85ea742d9e36205dcacdd72ca1fdc51b055" integrity sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA== -is-ci@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/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: +is-core-module@^2.9.0: version "2.11.0" resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.11.0.tgz#ad4cb3e3863e814523c96f3f58d26cc570ff0144" integrity sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw== @@ -6487,11 +4504,6 @@ is-date-object@^1.0.1, is-date-object@^1.0.5: dependencies: has-tostringtag "^1.0.0" -is-docker@^2.0.0, is-docker@^2.1.1: - version "2.2.1" - resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-2.2.1.tgz#33eeabe23cfe86f14bde4408a02c0cfb853acdaa" - integrity sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ== - is-extglob@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" @@ -6502,11 +4514,6 @@ is-fullwidth-code-point@^2.0.0: resolved "https://registry.yarnpkg.com/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.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" - integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== - 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" @@ -6514,16 +4521,6 @@ is-glob@^4.0.0, is-glob@^4.0.1, is-glob@^4.0.3, is-glob@~4.0.1: dependencies: is-extglob "^2.1.1" -is-interactive@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-interactive/-/is-interactive-1.0.0.tgz#cea6e6ae5c870a7b0a0004070b7b587e0252912e" - integrity sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w== - -is-lambda@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-lambda/-/is-lambda-1.0.1.tgz#3d9877899e6a53efc0160504cde15f82e6f061d5" - integrity sha512-z7CMFGNrENq5iFB9Bqo64Xk6Y9sg+epq1myIcdHaGnbMTYOxvzsEtdYqQUylB7LxfkvgrrjP32T6Ywciio9UIQ== - is-map@^2.0.1, is-map@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/is-map/-/is-map-2.0.2.tgz#00922db8c9bf73e81b7a335827bc2a43f2b91127" @@ -6546,38 +4543,11 @@ is-number@^7.0.0: resolved "https://registry.yarnpkg.com/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.yarnpkg.com/is-obj/-/is-obj-2.0.0.tgz#473fb05d973705e3fd9620545018ca8e22ef4982" - integrity sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w== - is-path-inside@^3.0.3: version "3.0.3" resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-3.0.3.tgz#d231362e53a07ff2b0e0ea7fed049161ffd16283" integrity sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ== -is-plain-obj@^1.0.0, is-plain-obj@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/is-promise/-/is-promise-2.2.2.tgz#39ab959ccbf9a774cf079f7b40c7a26f763135f1" @@ -6603,18 +4573,6 @@ is-shared-array-buffer@^1.0.2: dependencies: call-bind "^1.0.2" -is-ssh@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/is-ssh/-/is-ssh-1.4.0.tgz#4f8220601d2839d8fa624b3106f8e8884f01b8b2" - integrity sha512-x7+VxdxOdlV3CYpjvRLBv5Lo9OJerlYanjwFrPR9fuGPjCiNiCzFgAWpiLAohSbsnH4ZAys3SBh+hq5rJosxUQ== - dependencies: - protocols "^2.0.1" - -is-stream@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/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.yarnpkg.com/is-string/-/is-string-1.0.7.tgz#0dd12bf2006f255bb58f695110eff7491eebc0fd" @@ -6629,13 +4587,6 @@ is-symbol@^1.0.2, is-symbol@^1.0.3: dependencies: has-symbols "^1.0.2" -is-text-path@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/is-text-path/-/is-text-path-1.0.1.tgz#4e1aa0fb51bfbcb3e92688001397202c1775b66e" - integrity sha512-xFuJpne9oFz5qDaodwmmG08e3CawH/2ZV8Qqza1Ko7Sk8POWbkRdwIoAWVhqvq0XeUzANEhKo2n0IXUGBm7A/w== - dependencies: - text-extensions "^1.0.0" - is-typed-array@^1.1.10, is-typed-array@^1.1.9: version "1.1.10" resolved "https://registry.yarnpkg.com/is-typed-array/-/is-typed-array-1.1.10.tgz#36a5b5cb4189b575d1a3e4b08536bfb485801e3f" @@ -6647,16 +4598,6 @@ is-typed-array@^1.1.10, is-typed-array@^1.1.9: gopd "^1.0.1" has-tostringtag "^1.0.0" -is-typedarray@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" - integrity sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA== - -is-unicode-supported@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz#3f26c76a809593b52bfa2ecb5710ed2779b522a7" - integrity sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw== - is-weakmap@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/is-weakmap/-/is-weakmap-2.0.1.tgz#5008b59bdc43b698201d18f62b37b2ca243e8cf2" @@ -6677,13 +4618,6 @@ is-weakset@^2.0.1: call-bind "^1.0.2" get-intrinsic "^1.1.1" -is-wsl@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-2.2.0.tgz#74a4c76e77ca9fd3f932f290c17ea326cd157271" - integrity sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww== - dependencies: - is-docker "^2.0.0" - isarray@^2.0.5: version "2.0.5" resolved "https://registry.yarnpkg.com/isarray/-/isarray-2.0.5.tgz#8af1e4c1221244cc62459faf38940d4e644a5723" @@ -6699,11 +4633,6 @@ isexe@^2.0.0: resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== -isobject@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" - integrity sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg== - isomorphic-ws@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz#55fd4cd6c5e6491e76dc125938dd863f5cd4f2dc" @@ -6725,16 +4654,6 @@ istanbul-lib-instrument@^5.0.4: istanbul-lib-coverage "^3.2.0" semver "^6.3.0" -jake@^10.8.5: - version "10.8.5" - resolved "https://registry.yarnpkg.com/jake/-/jake-10.8.5.tgz#f2183d2c59382cb274226034543b9c03b8164c46" - integrity sha512-sVpxYeuAhWt0OTWITwT98oyV0GsXyMlXCF+3L1SuafBVUIr/uILGRB+NqwkzhgXKvoJpDIpQvqkUALgdmQsQxw== - dependencies: - async "^3.2.3" - chalk "^4.0.2" - filelist "^1.0.1" - minimatch "^3.0.4" - jest-haste-map@^28.1.3: version "28.1.3" resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-28.1.3.tgz#abd5451129a38d9841049644f34b034308944e2b" @@ -6795,14 +4714,7 @@ js-tokens@^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, js-yaml@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602" - integrity sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA== - dependencies: - argparse "^2.0.1" - -js-yaml@^3.10.0, js-yaml@^3.13.1: +js-yaml@^3.13.1: version "3.14.1" resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.14.1.tgz#dae812fdb3825fa306609a8717383c50c36a0537" integrity sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g== @@ -6810,6 +4722,13 @@ js-yaml@^3.10.0, js-yaml@^3.13.1: argparse "^1.0.7" esprima "^4.0.0" +js-yaml@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602" + integrity sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA== + dependencies: + argparse "^2.0.1" + jsesc@^2.5.1: version "2.5.2" resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4" @@ -6825,11 +4744,6 @@ json-parse-better-errors@^1.0.1: resolved "https://registry.yarnpkg.com/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, json-parse-even-better-errors@^2.3.1: - 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" @@ -6840,16 +4754,6 @@ json-stable-stringify-without-jsonify@^1.0.1: resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651" integrity sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw== -json-stringify-nice@^1.1.4: - version "1.1.4" - resolved "https://registry.yarnpkg.com/json-stringify-nice/-/json-stringify-nice-1.1.4.tgz#2c937962b80181d3f317dd39aa323e14f5a60a67" - integrity sha512-5Z5RFW63yxReJ7vANgW6eZFGWaQvnPE3WNmZoOJrSkGju2etKA2L5rrOa1sm877TVTFt57A80BH1bArcmlLfPw== - -json-stringify-safe@^5.0.1: - version "5.0.1" - resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" - integrity sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA== - json5@^2.2.0, json5@^2.2.1, json5@^2.2.2: version "2.2.3" resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" @@ -6866,76 +4770,16 @@ jsonc-eslint-parser@^1.0.1: espree "^6.0.0" semver "^6.3.0" -jsonc-parser@3.2.0, jsonc-parser@^3.2.0: +jsonc-parser@^3.2.0: version "3.2.0" resolved "https://registry.yarnpkg.com/jsonc-parser/-/jsonc-parser-3.2.0.tgz#31ff3f4c2b9793f89c67212627c51c6394f88e76" integrity sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w== -jsonfile@^6.0.1: - version "6.1.0" - resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-6.1.0.tgz#bc55b2634793c679ec6403094eb13698a6ec0aae" - integrity sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ== - 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.yarnpkg.com/jsonparse/-/jsonparse-1.3.1.tgz#3f4dae4a91fac315f71062f8521cc239f1366280" - integrity sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg== - -just-diff-apply@^5.2.0: - version "5.5.0" - resolved "https://registry.yarnpkg.com/just-diff-apply/-/just-diff-apply-5.5.0.tgz#771c2ca9fa69f3d2b54e7c3f5c1dfcbcc47f9f0f" - integrity sha512-OYTthRfSh55WOItVqwpefPtNt2VdKsq5AnAK6apdtR6yCH8pr0CmSr710J0Mf+WdQy7K/OzMy7K2MgAfdQURDw== - -just-diff@^5.0.1: - version "5.2.0" - resolved "https://registry.yarnpkg.com/just-diff/-/just-diff-5.2.0.tgz#60dca55891cf24cd4a094e33504660692348a241" - integrity sha512-6ufhP9SHjb7jibNFrNxyFZ6od3g+An6Ai9mhGRvcYe8UJlH0prseN64M+6ZBBUoKYHZsitDP42gAJ8+eVWr3lw== - -kind-of@^6.0.2, kind-of@^6.0.3: - version "6.0.3" - resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd" - integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw== - knitwork@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/knitwork/-/knitwork-1.0.0.tgz#38d124dead875bee5feea1733632295af58a49d2" integrity sha512-dWl0Dbjm6Xm+kDxhPQJsCBTxrJzuGl0aP9rhr+TG8D3l+GL90N8O8lYUi7dTSAN2uuDqCtNgb6aEuQH5wsiV8Q== -lerna@^6.4.1: - version "6.4.1" - resolved "https://registry.yarnpkg.com/lerna/-/lerna-6.4.1.tgz#a1e5abcb6c00de3367f50d75eca449e382525e0f" - integrity sha512-0t8TSG4CDAn5+vORjvTFn/ZEGyc4LOEsyBUpzcdIxODHPKM4TVOGvbW9dBs1g40PhOrQfwhHS+3fSx/42j42dQ== - dependencies: - "@lerna/add" "6.4.1" - "@lerna/bootstrap" "6.4.1" - "@lerna/changed" "6.4.1" - "@lerna/clean" "6.4.1" - "@lerna/cli" "6.4.1" - "@lerna/command" "6.4.1" - "@lerna/create" "6.4.1" - "@lerna/diff" "6.4.1" - "@lerna/exec" "6.4.1" - "@lerna/filter-options" "6.4.1" - "@lerna/import" "6.4.1" - "@lerna/info" "6.4.1" - "@lerna/init" "6.4.1" - "@lerna/link" "6.4.1" - "@lerna/list" "6.4.1" - "@lerna/publish" "6.4.1" - "@lerna/run" "6.4.1" - "@lerna/validation-error" "6.4.1" - "@lerna/version" "6.4.1" - "@nrwl/devkit" ">=15.4.2 < 16" - import-local "^3.0.2" - inquirer "^8.2.4" - npmlog "^6.0.2" - nx ">=15.4.2 < 16" - typescript "^3 || ^4" - levn@^0.4.1: version "0.4.1" resolved "https://registry.yarnpkg.com/levn/-/levn-0.4.1.tgz#ae4562c007473b932a6200d403268dd2fffc6ade" @@ -6944,27 +4788,6 @@ levn@^0.4.1: prelude-ls "^1.2.1" type-check "~0.4.0" -libnpmaccess@^6.0.3: - version "6.0.4" - resolved "https://registry.yarnpkg.com/libnpmaccess/-/libnpmaccess-6.0.4.tgz#2dd158bd8a071817e2207d3b201d37cf1ad6ae6b" - integrity sha512-qZ3wcfIyUoW0+qSFkMBovcTrSGJ3ZeyvpR7d5N9pEYv/kXs8sHP2wiqEIXBKLFrZlmM0kR0RJD7mtfLngtlLag== - dependencies: - aproba "^2.0.0" - minipass "^3.1.1" - npm-package-arg "^9.0.1" - npm-registry-fetch "^13.0.0" - -libnpmpublish@^6.0.4: - version "6.0.5" - resolved "https://registry.yarnpkg.com/libnpmpublish/-/libnpmpublish-6.0.5.tgz#5a894f3de2e267d62f86be2a508e362599b5a4b1" - integrity sha512-LUR08JKSviZiqrYTDfywvtnsnxr+tOvBU0BF8H+9frt7HMvc6Qn6F8Ubm72g5hDTHbq8qupKfDvDAln2TVPvFg== - dependencies: - normalize-package-data "^4.0.0" - npm-package-arg "^9.0.1" - npm-registry-fetch "^13.0.0" - semver "^7.3.7" - ssri "^9.0.0" - libsodium-wrappers@^0.7.6: version "0.7.10" resolved "https://registry.yarnpkg.com/libsodium-wrappers/-/libsodium-wrappers-0.7.10.tgz#13ced44cacb0fc44d6ac9ce67d725956089ce733" @@ -6982,16 +4805,6 @@ lilconfig@^2.0.3: 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== - -lines-and-columns@~2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-2.0.3.tgz#b2f0badedb556b747020ab8ea7f0373e22efac1b" - integrity sha512-cNOjgCnLB+FnvWWtyRTzmB3POJ+cXxTA81LoW7u8JdmhfXzriropYwpjShnz1QLLWsQwY7nIxoDmcPTwphDK9w== - load-json-file@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-4.0.0.tgz#2f5f45ab91e33216234fd53adab668eb4ec0993b" @@ -7002,29 +4815,11 @@ load-json-file@^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.yarnpkg.com/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" - local-pkg@^0.4.2, local-pkg@^0.4.3: version "0.4.3" resolved "https://registry.yarnpkg.com/local-pkg/-/local-pkg-0.4.3.tgz#0ff361ab3ae7f1c19113d9bb97b98b905dbc4963" integrity sha512-SFppqq5p42fe2qcZQqqEOiVRXl+WCP1MdT6k7BDEW1j++sp5fIY+/fdRQitvKgB5BrBcmrs5m/L0v2FrU5MY1g== -locate-path@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/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@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-5.0.0.tgz#1afba396afd676a6d42504d0a67a3a7eb9f62aa0" @@ -7049,11 +4844,6 @@ lodash.debounce@^4.0.8: resolved "https://registry.yarnpkg.com/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.yarnpkg.com/lodash.ismatch/-/lodash.ismatch-4.4.0.tgz#756cb5150ca3ba6f11085a78849645f188f85f37" - integrity sha512-fPMfXjGQEV9Xsq/8MTSgUf255gawYRbjwMyDbcvDhXgV7enSZA0hynz6vMPnpAb5iONEzBHBPsT+0zes5Z301g== - lodash.memoize@^4.1.2: version "4.1.2" resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe" @@ -7084,19 +4874,11 @@ lodash.uniq@^4.5.0: resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" integrity sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ== -lodash@^4.17.12, lodash@^4.17.15, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.17.4, lodash@^4.3.0: +lodash@^4.17.12, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.17.4, lodash@^4.3.0: version "4.17.21" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== -log-symbols@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-4.1.0.tgz#3fbdbb95b4683ac9fc785111e792e558d4abd503" - integrity sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg== - dependencies: - chalk "^4.1.0" - is-unicode-supported "^0.1.0" - long@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/long/-/long-4.0.0.tgz#9a7b71cfb7d361a194ea555241c92f7468d5bf28" @@ -7121,11 +4903,6 @@ lru-cache@^6.0.0: dependencies: yallist "^4.0.0" -lru-cache@^7.4.4, lru-cache@^7.5.1, lru-cache@^7.7.1: - version "7.14.1" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-7.14.1.tgz#8da8d2f5f59827edb388e63e459ac23d6d408fea" - integrity sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA== - lru-queue@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/lru-queue/-/lru-queue-0.1.0.tgz#2738bd9f0d3cf4f84490c5736c48699ac632cda3" @@ -7154,43 +4931,13 @@ magic-string@^0.27.0: dependencies: "@jridgewell/sourcemap-codec" "^1.4.13" -make-dir@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-2.1.0.tgz#5f0310e18b8be898cc07009295a30ae41e91e6f5" - integrity sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA== - dependencies: - pify "^4.0.1" - semver "^5.6.0" - -make-dir@^3.0.0, make-dir@^3.0.2: +make-dir@^3.0.2: version "3.1.0" resolved "https://registry.yarnpkg.com/make-dir/-/make-dir-3.1.0.tgz#415e967046b3a7f1d185277d84aa58203726a13f" integrity sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw== dependencies: semver "^6.0.0" -make-fetch-happen@^10.0.3, make-fetch-happen@^10.0.6: - version "10.2.1" - resolved "https://registry.yarnpkg.com/make-fetch-happen/-/make-fetch-happen-10.2.1.tgz#f5e3835c5e9817b617f2770870d9492d28678164" - integrity sha512-NgOPbRiaQM10DYXvN3/hhGVI2M5MtITFryzBGxHM5p4wnFxsVCbxkrBrDsk+EZ5OB4jEOT7AjDxtdF+KVEFT7w== - dependencies: - agentkeepalive "^4.2.1" - cacache "^16.1.0" - http-cache-semantics "^4.1.0" - http-proxy-agent "^5.0.0" - https-proxy-agent "^5.0.0" - is-lambda "^1.0.1" - lru-cache "^7.7.1" - minipass "^3.1.6" - minipass-collect "^1.0.2" - minipass-fetch "^2.0.3" - minipass-flush "^1.0.5" - minipass-pipeline "^1.2.4" - negotiator "^0.6.3" - promise-retry "^2.0.1" - socks-proxy-agent "^7.0.0" - ssri "^9.0.0" - makeerror@1.0.12: version "1.0.12" resolved "https://registry.yarnpkg.com/makeerror/-/makeerror-1.0.12.tgz#3e5dd2079a82e812e983cc6610c4a2cb0eaa801a" @@ -7198,16 +4945,6 @@ makeerror@1.0.12: dependencies: tmpl "1.0.5" -map-obj@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-1.0.1.tgz#d933ceb9205d82bdcf4886f6742bdc2b4dea146d" - integrity sha512-7N/q3lyZ+LVCp7PzuxrJr4KMbBE2hW7BT7YNia330OFxIf4d3r5zVpicP2650l7CPN6RM9zOJRl3NGpqSiw3Eg== - -map-obj@^4.0.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-4.3.0.tgz#9304f906e93faae70880da102a9f1df0ea8bb05a" - integrity sha512-hdN1wVrZbb29eBGiGjJbeP8JbKjq1urkHJ/LIP/NY48MZ1QVXUsQBV1G1zvYFHn1XE06cwjBsOI2K3Ulnj1YXQ== - md-editor-v3@^2.8.1: version "2.8.1" resolved "https://registry.yarnpkg.com/md-editor-v3/-/md-editor-v3-2.8.1.tgz#190ed35d7c9aaa13b8255e0211b83da3ad1e6c23" @@ -7245,23 +4982,6 @@ memorystream@^0.3.1: resolved "https://registry.yarnpkg.com/memorystream/-/memorystream-0.3.1.tgz#86d7090b30ce455d63fbae12dda51a47ddcaf9b2" integrity sha512-S3UwM3yj5mtUSEfP41UZmt/0SCoVYUcU1rkXv+BQ5Ig8ndL4sPoJNBUJERafdPb5jjHJGuMgytgKvKIf58XNBw== -meow@^8.0.0: - version "8.1.2" - resolved "https://registry.yarnpkg.com/meow/-/meow-8.1.2.tgz#bcbe45bda0ee1729d350c03cffc8395a36c4e897" - 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: version "2.0.0" resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" @@ -7297,16 +5017,6 @@ mimic-fn@^1.0.0: resolved "https://registry.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" @@ -7317,13 +5027,6 @@ minimalistic-crypto-utils@^1.0.1: resolved "https://registry.yarnpkg.com/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz#f6c00c1c0b082246e5c4d99dfb8c7c083b2b582a" integrity sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg== -minimatch@3.0.5: - version "3.0.5" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.5.tgz#4da8f1290ee0f0f8e83d60ca69f8f134068604a3" - integrity sha512-tUpxzX0VAzJHjLu0xUfFv1gwVp9ba3IOuRAVH2EGuRW8a5emA2FlACLqiT/lDVtS1W+TGNwqz3sWaNyLgDJWuw== - dependencies: - brace-expansion "^1.1.7" - minimatch@5.1.0: version "5.1.0" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-5.1.0.tgz#1717b464f4971b144f6aabe8f2d0b8e4511e09c7" @@ -7352,73 +5055,17 @@ minimatch@^6.1.6: dependencies: brace-expansion "^2.0.1" -minimist-options@4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/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: version "1.2.6" resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.6.tgz#8637a5b759ea0d6e98702cfb3a9283323c93af44" integrity sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q== -minimist@^1.2.0, minimist@^1.2.5, minimist@^1.2.6: +minimist@^1.2.6: version "1.2.7" resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.7.tgz#daa1c4d91f507390437c6a8bc01078e7000c4d18" integrity sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g== -minipass-collect@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/minipass-collect/-/minipass-collect-1.0.2.tgz#22b813bf745dc6edba2576b940022ad6edc8c617" - integrity sha512-6T6lH0H8OG9kITm/Jm6tdooIbogG9e0tLgpY6mphXSm/A9u8Nq1ryBG+Qspiub9LjWlBPsPS3tWQ/Botq4FdxA== - dependencies: - minipass "^3.0.0" - -minipass-fetch@^2.0.3: - version "2.1.2" - resolved "https://registry.yarnpkg.com/minipass-fetch/-/minipass-fetch-2.1.2.tgz#95560b50c472d81a3bc76f20ede80eaed76d8add" - integrity sha512-LT49Zi2/WMROHYoqGgdlQIZh8mLPZmOrN2NdJjMXxYe4nkN6FUyuPuOAOedNJDrx0IRGg9+4guZewtp8hE6TxA== - dependencies: - minipass "^3.1.6" - minipass-sized "^1.0.3" - minizlib "^2.1.2" - optionalDependencies: - encoding "^0.1.13" - -minipass-flush@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/minipass-flush/-/minipass-flush-1.0.5.tgz#82e7135d7e89a50ffe64610a787953c4c4cbb373" - integrity sha512-JmQSYYpPUqX5Jyn1mXaRwOda1uQ8HP5KAT/oDSLCzt1BYRhQU0/hDtsB1ufZfEEzMZ9aAVmsBw8+FWsIXlClWw== - dependencies: - minipass "^3.0.0" - -minipass-json-stream@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/minipass-json-stream/-/minipass-json-stream-1.0.1.tgz#7edbb92588fbfc2ff1db2fc10397acb7b6b44aa7" - integrity sha512-ODqY18UZt/I8k+b7rl2AENgbWE8IDYam+undIJONvigAz8KR5GWblsFTEfQs0WODsjbSXWlm+JHEv8Gr6Tfdbg== - dependencies: - jsonparse "^1.3.1" - minipass "^3.0.0" - -minipass-pipeline@^1.2.4: - version "1.2.4" - resolved "https://registry.yarnpkg.com/minipass-pipeline/-/minipass-pipeline-1.2.4.tgz#68472f79711c084657c067c5c6ad93cddea8214c" - integrity sha512-xuIq7cIOt09RPRJ19gdi4b+RiNvDFYe5JH+ggNvBqGqpQXcru3PcRmOZuHBKWK1Txf9+cQ+HMVN4d6z46LZP7A== - dependencies: - minipass "^3.0.0" - -minipass-sized@^1.0.3: - version "1.0.3" - resolved "https://registry.yarnpkg.com/minipass-sized/-/minipass-sized-1.0.3.tgz#70ee5a7c5052070afacfbc22977ea79def353b70" - integrity sha512-MbkQQ2CTiBMlA2Dm/5cY+9SWFEN8pzzOXi6rlM5Xxq0Yqbda5ZQy9sU75a673FE9ZK0Zsbr6Y5iP6u9nktfg2g== - dependencies: - minipass "^3.0.0" - -minipass@^3.0.0, minipass@^3.1.1, minipass@^3.1.6: +minipass@^3.0.0: version "3.3.6" resolved "https://registry.yarnpkg.com/minipass/-/minipass-3.3.6.tgz#7bba384db3a1520d18c9c0e5251c3444e95dd94a" integrity sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw== @@ -7430,7 +5077,7 @@ minipass@^4.0.0: resolved "https://registry.yarnpkg.com/minipass/-/minipass-4.0.1.tgz#2b9408c6e81bb8b338d600fb3685e375a370a057" integrity sha512-V9esFpNbK0arbN3fm2sxDKqMYgIp7XtVdE4Esj+PE4Qaaxdg1wIw48ITQIOn1sc8xXSmUviVL3cyjMqPlrVkiA== -minizlib@^2.1.1, minizlib@^2.1.2: +minizlib@^2.1.1: version "2.1.2" resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-2.1.2.tgz#e90d3466ba209b932451508a11ce3d3632145931" integrity sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg== @@ -7438,15 +5085,6 @@ minizlib@^2.1.1, minizlib@^2.1.2: minipass "^3.0.0" yallist "^4.0.0" -mkdirp-infer-owner@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/mkdirp-infer-owner/-/mkdirp-infer-owner-2.0.0.tgz#55d3b368e7d89065c38f32fd38e638f0ab61d316" - integrity sha512-sdqtiFt3lkOaYvTXSRIUjkIdPTcxgv5+fgqYE/5qgwdw12cOrAuzzgzvVExIkH/ul1oeHN3bCLOWSG3XOqbKKw== - dependencies: - 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.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" @@ -7462,11 +5100,6 @@ mlly@^1.0.0, mlly@^1.1.0: pkg-types "^1.0.1" ufo "^1.0.1" -modify-values@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/modify-values/-/modify-values-1.0.1.tgz#b3939fa605546474e3e3e3c63d64bd43b4ee6022" - integrity sha512-xV2bxeN6F7oYjZWTe/YPAy6MN2M+sL4u/Rlm2AHCIVGfo2p1yGmBHQ6vHehl4bRTZBdHu3TSkWdYgkwpYzAGSw== - mri@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/mri/-/mri-1.2.0.tgz#6721480fec2a11a4889861115a48b6cbe7cc8f0b" @@ -7477,37 +5110,16 @@ ms@2.1.2: resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== -ms@^2.0.0: - version "2.1.3" - resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" - integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== - muggle-string@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/muggle-string/-/muggle-string-0.1.0.tgz#1fda8a281c8b27bb8b70466dbc9f27586a8baa6c" integrity sha512-Tr1knR3d2mKvvWthlk7202rywKbiOm4rVFLsfAaSIhJ6dt9o47W4S+JMtWhd/PW9Wrdew2/S2fSvhz3E2gkfEg== -multimatch@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/multimatch/-/multimatch-5.0.0.tgz#932b800963cea7a31a033328fa1e0c3a1874dbe6" - integrity sha512-ypMKuglUrZUD99Tk2bUQ+xNQj43lPEfAeX2o9cTteAmShXy2VHDJpuwu1o0xqoKCt9jLVAvwyFKdLTPXKAfJyA== - dependencies: - "@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.yarnpkg.com/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.yarnpkg.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d" - integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA== - mz@^2.7.0: version "2.7.0" resolved "https://registry.yarnpkg.com/mz/-/mz-2.7.0.tgz#95008057a56cafadc2bc63dde7f9ff6955948e32" @@ -7532,16 +5144,6 @@ natural-compare@^1.4.0: resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw== -negotiator@^0.6.3: - version "0.6.3" - resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.3.tgz#58e323a72fedc0d6f9cd4d31fe49f51479590ccd" - integrity sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg== - -neo-async@^2.6.0: - version "2.6.2" - resolved "https://registry.yarnpkg.com/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.yarnpkg.com/next-tick/-/next-tick-1.1.0.tgz#1836ee30ad56d67ef281b22bd199f709449b35eb" @@ -7552,11 +5154,6 @@ nice-try@^1.0.4: resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366" integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ== -node-addon-api@^3.2.1: - version "3.2.1" - resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-3.2.1.tgz#81325e0a2117789c0128dab65e7e38f07ceba161" - integrity sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A== - node-fetch-native@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/node-fetch-native/-/node-fetch-native-1.0.1.tgz#1dfe78f57545d07e07016b7df4c0cb9d2ff416c7" @@ -7569,34 +5166,6 @@ node-fetch@2.6.7: dependencies: whatwg-url "^5.0.0" -node-fetch@^2.6.1, node-fetch@^2.6.7: - version "2.6.9" - resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.9.tgz#7c7f744b5cc6eb5fd404e0c7a9fec630a55657e6" - integrity sha512-DJm/CJkZkRjKKj4Zi4BsKVZh3ValV5IR5s7LVZnW+6YMh0W1BfNA8XSs6DLMGYlId5F3KnA70uu2qepcR08Qqg== - dependencies: - whatwg-url "^5.0.0" - -node-gyp-build@^4.3.0: - version "4.6.0" - resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.6.0.tgz#0c52e4cbf54bbd28b709820ef7b6a3c2d6209055" - integrity sha512-NTZVKn9IylLwUzaKjkas1e4u2DLNcV4rdYagA4PWdPwW87Bi7z+BznyKSRwS/761tV/lzCGXplWsiaMjLqP2zQ== - -node-gyp@^9.0.0: - version "9.3.1" - resolved "https://registry.yarnpkg.com/node-gyp/-/node-gyp-9.3.1.tgz#1e19f5f290afcc9c46973d68700cbd21a96192e4" - integrity sha512-4Q16ZCqq3g8awk6UplT7AuxQ35XN4R/yf/+wSAwcBUAjg7l58RTactWaP8fIDTi0FzI7YcVLujwExakZlfWkXg== - dependencies: - env-paths "^2.2.0" - glob "^7.1.4" - graceful-fs "^4.2.6" - make-fetch-happen "^10.0.3" - nopt "^6.0.0" - npmlog "^6.0.0" - rimraf "^3.0.2" - semver "^7.3.5" - tar "^6.1.2" - which "^2.0.2" - node-int64@^0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b" @@ -7607,21 +5176,7 @@ node-releases@^2.0.8: resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.10.tgz#c311ebae3b6a148c89b1813fd7c4d3c024ef537f" integrity sha512-5GFldHPXVG/YZmFzJvKK2zDSzPKhEp0+ZR5SVaoSag9fsL5YgHbUHDfnG5494ISANDcK4KwPXAx2xqVEydmd7w== -nopt@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/nopt/-/nopt-5.0.0.tgz#530942bb58a512fccafe53fe210f13a25355dc88" - integrity sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ== - dependencies: - abbrev "1" - -nopt@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/nopt/-/nopt-6.0.0.tgz#245801d8ebf409c6df22ab9d95b65e1309cdb16d" - integrity sha512-ZwLpbTgdhuZUnZzjd7nb1ZV+4DoiC6/sfiVKok72ym/4Tlf+DFdlHYmT2JPmcNNWV6Pi3SDf1kT+A4r9RTuT9g== - dependencies: - abbrev "^1.0.0" - -normalize-package-data@^2.3.2, normalize-package-data@^2.5.0: +normalize-package-data@^2.3.2: version "2.5.0" resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.5.0.tgz#e66db1838b200c1dfc233225d12cb36520e234a8" integrity sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA== @@ -7631,26 +5186,6 @@ normalize-package-data@^2.3.2, normalize-package-data@^2.5.0: semver "2 || 3 || 4 || 5" validate-npm-package-license "^3.0.1" -normalize-package-data@^3.0.0: - version "3.0.3" - resolved "https://registry.yarnpkg.com/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-package-data@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-4.0.1.tgz#b46b24e0616d06cadf9d5718b29b6d445a82a62c" - integrity sha512-EBk5QKKuocMJhB3BILuKhmaPjI8vNRSpIfO9woLC6NyHVkKKdVEdAO1mrT0ZfxNR1lKwCcTkuZfmGIFdizZ8Pg== - dependencies: - hosted-git-info "^5.0.0" - is-core-module "^2.8.1" - semver "^7.3.5" - validate-npm-package-license "^3.0.4" - normalize-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" @@ -7661,89 +5196,6 @@ normalize-url@^6.0.1: resolved "https://registry.yarnpkg.com/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.yarnpkg.com/npm-bundled/-/npm-bundled-1.1.2.tgz#944c78789bd739035b70baa2ca5cc32b8d860bc1" - integrity sha512-x5DHup0SuyQcmL3s7Rx/YQ8sbw/Hzg0rj48eN0dV7hf5cmQq5PXIeioroH3raV1QC1yh3uTYuMThvEQF3iKgGQ== - dependencies: - npm-normalize-package-bin "^1.0.1" - -npm-bundled@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-2.0.1.tgz#94113f7eb342cd7a67de1e789f896b04d2c600f4" - integrity sha512-gZLxXdjEzE/+mOstGDqR6b0EkhJ+kM6fxM6vUuckuctuVPh80Q6pw/rSZj9s4Gex9GxWtIicO1pc8DB9KZWudw== - dependencies: - npm-normalize-package-bin "^2.0.0" - -npm-install-checks@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/npm-install-checks/-/npm-install-checks-5.0.0.tgz#5ff27d209a4e3542b8ac6b0c1db6063506248234" - integrity sha512-65lUsMI8ztHCxFz5ckCEC44DRvEGdZX5usQFriauxHEwt7upv1FKaQEmAtU0YnOAdwuNWCmk64xYiQABNrEyLA== - dependencies: - semver "^7.1.1" - -npm-normalize-package-bin@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz#6e79a41f23fd235c0623218228da7d9c23b8f6e2" - integrity sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA== - -npm-normalize-package-bin@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/npm-normalize-package-bin/-/npm-normalize-package-bin-2.0.0.tgz#9447a1adaaf89d8ad0abe24c6c84ad614a675fff" - integrity sha512-awzfKUO7v0FscrSpRoogyNm0sajikhBWpU0QMrW09AMi9n1PoKU6WaIqUzuJSQnpciZZmJ/jMZ2Egfmb/9LiWQ== - -npm-package-arg@8.1.1: - version "8.1.1" - resolved "https://registry.yarnpkg.com/npm-package-arg/-/npm-package-arg-8.1.1.tgz#00ebf16ac395c63318e67ce66780a06db6df1b04" - integrity sha512-CsP95FhWQDwNqiYS+Q0mZ7FAEDytDZAkNxQqea6IaAFJTAY9Lhhqyl0irU/6PMc7BGfUmnsbHcqxJD7XuVM/rg== - dependencies: - hosted-git-info "^3.0.6" - semver "^7.0.0" - validate-npm-package-name "^3.0.0" - -npm-package-arg@^9.0.0, npm-package-arg@^9.0.1: - version "9.1.2" - resolved "https://registry.yarnpkg.com/npm-package-arg/-/npm-package-arg-9.1.2.tgz#fc8acecb00235f42270dda446f36926ddd9ac2bc" - integrity sha512-pzd9rLEx4TfNJkovvlBSLGhq31gGu2QDexFPWT19yCDh0JgnRhlBLNo5759N0AJmBk+kQ9Y/hXoLnlgFD+ukmg== - dependencies: - hosted-git-info "^5.0.0" - proc-log "^2.0.1" - semver "^7.3.5" - validate-npm-package-name "^4.0.0" - -npm-packlist@^5.1.0, npm-packlist@^5.1.1: - version "5.1.3" - resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-5.1.3.tgz#69d253e6fd664b9058b85005905012e00e69274b" - integrity sha512-263/0NGrn32YFYi4J533qzrQ/krmmrWwhKkzwTuM4f/07ug51odoaNjUexxO4vxlzURHcmYMH1QjvHjsNDKLVg== - dependencies: - glob "^8.0.1" - ignore-walk "^5.0.1" - npm-bundled "^2.0.0" - npm-normalize-package-bin "^2.0.0" - -npm-pick-manifest@^7.0.0: - version "7.0.2" - resolved "https://registry.yarnpkg.com/npm-pick-manifest/-/npm-pick-manifest-7.0.2.tgz#1d372b4e7ea7c6712316c0e99388a73ed3496e84" - integrity sha512-gk37SyRmlIjvTfcYl6RzDbSmS9Y4TOBXfsPnoYqTHARNgWbyDiCSMLUpmALDj4jjcTZpURiEfsSHJj9k7EV4Rw== - dependencies: - npm-install-checks "^5.0.0" - npm-normalize-package-bin "^2.0.0" - npm-package-arg "^9.0.0" - semver "^7.3.5" - -npm-registry-fetch@^13.0.0, npm-registry-fetch@^13.0.1, npm-registry-fetch@^13.3.0: - version "13.3.1" - resolved "https://registry.yarnpkg.com/npm-registry-fetch/-/npm-registry-fetch-13.3.1.tgz#bb078b5fa6c52774116ae501ba1af2a33166af7e" - integrity sha512-eukJPi++DKRTjSBRcDZSDDsGqRK3ehbxfFUcgaRd0Yp6kRwOwh2WVn0r+8rMB4nnuzvAk6rQVzl6K5CkYOmnvw== - dependencies: - make-fetch-happen "^10.0.6" - minipass "^3.1.6" - minipass-fetch "^2.0.3" - minipass-json-stream "^1.0.1" - minizlib "^2.1.2" - npm-package-arg "^9.0.1" - proc-log "^2.0.0" - npm-run-all@^4.1.5: version "4.1.5" resolved "https://registry.yarnpkg.com/npm-run-all/-/npm-run-all-4.1.5.tgz#04476202a15ee0e2e214080861bff12a51d98fba" @@ -7759,23 +5211,6 @@ npm-run-all@^4.1.5: shell-quote "^1.6.1" string.prototype.padend "^3.0.0" -npm-run-path@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-4.0.1.tgz#b7ecd1e5ed53da8e37a55e1c2269e0b97ed748ea" - integrity sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw== - dependencies: - path-key "^3.0.0" - -npmlog@^6.0.0, npmlog@^6.0.2: - version "6.0.2" - resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-6.0.2.tgz#c8166017a42f2dea92d6453168dd865186a70830" - integrity sha512-/vBvz5Jfr9dT/aFWd0FIRf+T/Q2WBsLENygUaFUqstqsycmZAP/t5BvFJTK0viFmSUxiUKTUplWy5vt+rvKIxg== - dependencies: - are-we-there-yet "^3.0.0" - console-control-strings "^1.1.0" - gauge "^4.0.3" - set-blocking "^2.0.0" - nth-check@^2.0.1: version "2.1.1" resolved "https://registry.yarnpkg.com/nth-check/-/nth-check-2.1.1.tgz#c9eab428effce36cd6b92c924bdb000ef1f1ed1d" @@ -7788,47 +5223,6 @@ numeral@^2.0.6: resolved "https://registry.yarnpkg.com/numeral/-/numeral-2.0.6.tgz#4ad080936d443c2561aed9f2197efffe25f4e506" integrity sha512-qaKRmtYPZ5qdw4jWJD6bxEf1FJEqllJrwxCLIm0sQU/A7v2/czigzOb+C2uSiFsa9lBUzeH7M1oK+Q+OLxL3kA== -nx@15.6.3, "nx@>=15.4.2 < 16": - version "15.6.3" - resolved "https://registry.yarnpkg.com/nx/-/nx-15.6.3.tgz#900087bce38c6e5975660c23ebd41ead1bf54f98" - integrity sha512-3t0A0GPLNen1yPAyE+VGZ3nkAzZYb5nfXtAcx8SHBlKq4u42yBY3khBmP1y4Og3jhIwFIj7J7Npeh8ZKrthmYQ== - dependencies: - "@nrwl/cli" "15.6.3" - "@nrwl/tao" "15.6.3" - "@parcel/watcher" "2.0.4" - "@yarnpkg/lockfile" "^1.1.0" - "@yarnpkg/parsers" "^3.0.0-rc.18" - "@zkochan/js-yaml" "0.0.6" - axios "^1.0.0" - chalk "^4.1.0" - cli-cursor "3.1.0" - cli-spinners "2.6.1" - cliui "^7.0.2" - dotenv "~10.0.0" - enquirer "~2.3.6" - fast-glob "3.2.7" - figures "3.2.0" - flat "^5.0.2" - fs-extra "^11.1.0" - glob "7.1.4" - ignore "^5.0.4" - js-yaml "4.1.0" - jsonc-parser "3.2.0" - lines-and-columns "~2.0.3" - minimatch "3.0.5" - npm-run-path "^4.0.1" - open "^8.4.0" - semver "7.3.4" - string-width "^4.2.3" - strong-log-transformer "^2.1.0" - tar-stream "~2.2.0" - tmp "~0.2.1" - tsconfig-paths "^4.1.2" - tslib "^2.3.0" - v8-compile-cache "2.3.0" - yargs "^17.6.2" - yargs-parser "21.1.1" - object-assign@^4.0.1: version "4.1.1" resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" @@ -7862,7 +5256,7 @@ object.assign@^4.1.4: has-symbols "^1.0.3" object-keys "^1.1.1" -once@^1.3.0, once@^1.4.0: +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== @@ -7876,22 +5270,6 @@ onetime@^2.0.0: dependencies: mimic-fn "^1.0.0" -onetime@^5.1.0, onetime@^5.1.2: - version "5.1.2" - resolved "https://registry.yarnpkg.com/onetime/-/onetime-5.1.2.tgz#d0e96ebb56b07476df1dd9c4806e5237985ca45e" - integrity sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg== - dependencies: - mimic-fn "^2.1.0" - -open@^8.4.0: - version "8.4.0" - resolved "https://registry.yarnpkg.com/open/-/open-8.4.0.tgz#345321ae18f8138f82565a910fdc6b39e8c244f8" - integrity sha512-XgFPPM+B28FtCCgSb9I+s9szOC1vZRSwgWsRUA5ylIxRTgKozqjOCrVOqGsYABPYK5qnfqClxZTFBa8PKt2v6Q== - dependencies: - define-lazy-prop "^2.0.0" - is-docker "^2.1.1" - is-wsl "^2.2.0" - optionator@^0.9.1: version "0.9.1" resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.9.1.tgz#4f236a6373dae0566a6d43e1326674f50c291499" @@ -7904,21 +5282,6 @@ optionator@^0.9.1: type-check "^0.4.0" word-wrap "^1.2.3" -ora@^5.4.1: - version "5.4.1" - resolved "https://registry.yarnpkg.com/ora/-/ora-5.4.1.tgz#1b2678426af4ac4a509008e5e4ac9e9959db9e18" - integrity sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ== - dependencies: - bl "^4.1.0" - chalk "^4.1.0" - cli-cursor "^3.1.0" - cli-spinners "^2.5.0" - is-interactive "^1.0.0" - is-unicode-supported "^0.1.0" - log-symbols "^4.1.0" - strip-ansi "^6.0.0" - wcwidth "^1.0.1" - os-tmpdir@~1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" @@ -7938,18 +5301,6 @@ osmojs@^14.0.0-rc.0: long "^5.2.0" protobufjs "^6.11.3" -p-finally@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/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.yarnpkg.com/p-limit/-/p-limit-1.3.0.tgz#b86bd5f0c25690911c7590fcbfc2010d54b3ccb8" - integrity sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q== - dependencies: - p-try "^1.0.0" - p-limit@^2.2.0: version "2.3.0" resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.3.0.tgz#3dd33c647a214fdfffd835933eb086da0dc21db1" @@ -7964,13 +5315,6 @@ p-limit@^3.0.2: dependencies: yocto-queue "^0.1.0" -p-locate@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-2.0.0.tgz#20a0103b222a70c8fd39cc2e580680f3dde5ec43" - integrity sha512-nQja7m7gSKuewoVRen45CtVfODR3crN3goVQ0DDZ9N3yHxgpkuBhZqsaiotSQRrADUrne346peY7kT3TSACykg== - dependencies: - p-limit "^1.1.0" - p-locate@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-4.1.0.tgz#a3428bb7088b3a60292f66919278b7c297ad4f07" @@ -7985,87 +5329,11 @@ p-locate@^5.0.0: dependencies: p-limit "^3.0.2" -p-map-series@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/p-map-series/-/p-map-series-2.1.0.tgz#7560d4c452d9da0c07e692fdbfe6e2c81a2a91f2" - integrity sha512-RpYIIK1zXSNEOdwxcfe7FdvGcs7+y5n8rifMhMNWvaxRNMPINJHF5GDeuVxWqnfrcHPSCnp7Oo5yNXHId9Av2Q== - -p-map@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/p-map/-/p-map-4.0.0.tgz#bb2f95a5eda2ec168ec9274e06a747c3e2904d2b" - integrity sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ== - dependencies: - aggregate-error "^3.0.0" - -p-pipe@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/p-pipe/-/p-pipe-3.1.0.tgz#48b57c922aa2e1af6a6404cb7c6bf0eb9cc8e60e" - integrity sha512-08pj8ATpzMR0Y80x50yJHn37NF6vjrqHutASaX5LiH5npS9XPvrUmscd9MF5R4fuYRHOxQR1FfMIlF7AzwoPqw== - -p-queue@^6.6.2: - version "6.6.2" - resolved "https://registry.yarnpkg.com/p-queue/-/p-queue-6.6.2.tgz#2068a9dcf8e67dd0ec3e7a2bcb76810faa85e426" - integrity sha512-RwFpb72c/BhQLEXIZ5K2e+AhgNVmIejGlTgiB9MzZ0e93GRvqZ7uSi0dvRF7/XIXDeNkra2fNHBxTyPDGySpjQ== - dependencies: - eventemitter3 "^4.0.4" - p-timeout "^3.2.0" - -p-reduce@^2.0.0, p-reduce@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/p-reduce/-/p-reduce-2.1.0.tgz#09408da49507c6c274faa31f28df334bc712b64a" - integrity sha512-2USApvnsutq8uoxZBGbbWM0JIYLiEMJ9RlaN7fAzVNb9OZN0SHjjTTfIcb667XynS5Y1VhwDJVDa72TnPzAYWw== - -p-timeout@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/p-timeout/-/p-timeout-3.2.0.tgz#c7e17abc971d2a7962ef83626b35d635acf23dfe" - integrity sha512-rhIwUycgwwKcP9yTOOFK/AKsAopjjCakVqLHePO3CC6Mir1Z99xT+R63jZxAT5lFZLa2inS5h+ZS2GvR99/FBg== - dependencies: - p-finally "^1.0.0" - -p-try@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/p-try/-/p-try-1.0.0.tgz#cbc79cdbaf8fd4228e13f621f2b1a237c1b207b3" - integrity sha512-U1etNYuMJoIz3ZXSrrySFjsXQTWOx2/jdi86L+2pRvph/qMKL6sbcCYdH23fqsbm8TH2Gn0OybpT4eSFlCVHww== - p-try@^2.0.0: version "2.2.0" resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== -p-waterfall@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/p-waterfall/-/p-waterfall-2.1.1.tgz#63153a774f472ccdc4eb281cdb2967fcf158b2ee" - integrity sha512-RRTnDb2TBG/epPRI2yYXsimO0v3BXC8Yd3ogr1545IaqKK17VGhbWVeGGN+XfCm/08OK8635nH31c8bATkHuSw== - dependencies: - p-reduce "^2.0.0" - -pacote@^13.0.3, pacote@^13.6.1: - version "13.6.2" - resolved "https://registry.yarnpkg.com/pacote/-/pacote-13.6.2.tgz#0d444ba3618ab3e5cd330b451c22967bbd0ca48a" - integrity sha512-Gu8fU3GsvOPkak2CkbojR7vjs3k3P9cA6uazKTHdsdV0gpCEQq2opelnEv30KRQWgVzP5Vd/5umjcedma3MKtg== - dependencies: - "@npmcli/git" "^3.0.0" - "@npmcli/installed-package-contents" "^1.0.7" - "@npmcli/promise-spawn" "^3.0.0" - "@npmcli/run-script" "^4.1.0" - cacache "^16.0.0" - chownr "^2.0.0" - fs-minipass "^2.1.0" - infer-owner "^1.0.4" - minipass "^3.1.6" - mkdirp "^1.0.4" - npm-package-arg "^9.0.0" - npm-packlist "^5.1.0" - npm-pick-manifest "^7.0.0" - npm-registry-fetch "^13.0.1" - proc-log "^2.0.0" - promise-retry "^2.0.1" - read-package-json "^5.0.0" - read-package-json-fast "^2.0.3" - rimraf "^3.0.2" - ssri "^9.0.0" - tar "^6.1.11" - parent-module@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" @@ -8078,15 +5346,6 @@ parse-code-context@^1.0.0: resolved "https://registry.yarnpkg.com/parse-code-context/-/parse-code-context-1.0.0.tgz#718c295c593d0d19a37f898473268cc75e98de1e" integrity sha512-OZQaqKaQnR21iqhlnPfVisFjBWjhnMl5J9MgbP8xC+EwoVqbXrq78lp+9Zb3ahmLzrIX5Us/qbvBnaS3hkH6OA== -parse-conflict-json@^2.0.1: - version "2.0.2" - resolved "https://registry.yarnpkg.com/parse-conflict-json/-/parse-conflict-json-2.0.2.tgz#3d05bc8ffe07d39600dc6436c6aefe382033d323" - integrity sha512-jDbRGb00TAPFsKWCpZZOT93SxVP9nONOSgES3AevqRq/CHvavEBvKAjxX9p5Y5F0RZLxH9Ufd9+RwtCsa+lFDA== - dependencies: - json-parse-even-better-errors "^2.3.1" - just-diff "^5.0.1" - just-diff-apply "^5.2.0" - parse-json@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-4.0.0.tgz#be35f5425be1f7f6c747184f98a788cb99477ee0" @@ -8095,40 +5354,11 @@ parse-json@^4.0.0: error-ex "^1.3.1" json-parse-better-errors "^1.0.1" -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" - parse-package-name@1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/parse-package-name/-/parse-package-name-1.0.0.tgz#1a108757e4ffc6889d5e78bcc4932a97c097a5a7" integrity sha512-kBeTUtcj+SkyfaW4+KBe0HtsloBJ/mKTPoxpVdA57GZiPerREsUWJOhVj9anXweFiJkm5y8FG1sxFZkZ0SN6wg== -parse-path@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/parse-path/-/parse-path-7.0.0.tgz#605a2d58d0a749c8594405d8cc3a2bf76d16099b" - integrity sha512-Euf9GG8WT9CdqwuWJGdf3RkUcTBArppHABkO7Lm8IzRQp0e2r/kkFnmhu4TSK30Wcu5rVAZLmfPKSBBi9tWFog== - dependencies: - protocols "^2.0.0" - -parse-url@^8.1.0: - version "8.1.0" - resolved "https://registry.yarnpkg.com/parse-url/-/parse-url-8.1.0.tgz#972e0827ed4b57fc85f0ea6b0d839f0d8a57a57d" - integrity sha512-xDvOoLU5XRrcOZvnI6b8zA6n9O9ejNk/GExuz1yBuWUGn9KA97GI6HTs6u02wKara1CeVmZhH+0TZFdWScR89w== - dependencies: - parse-path "^7.0.0" - -path-exists@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" - integrity sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ== - path-exists@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3" @@ -8144,7 +5374,7 @@ path-key@^2.0.1: resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" integrity sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw== -path-key@^3.0.0, path-key@^3.1.0: +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== @@ -8206,16 +5436,6 @@ pify@^3.0.0: resolved "https://registry.yarnpkg.com/pify/-/pify-3.0.0.tgz#e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176" integrity sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg== -pify@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/pify/-/pify-4.0.1.tgz#4b2cd25c50d598735c50292224fd8c6df41e3231" - integrity sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g== - -pify@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/pify/-/pify-5.0.0.tgz#1f5eca3f5e87ebec28cc6d54a0e4aaf00acc127f" - integrity sha512-eW/gHNMlxdSP6dmG6uJip6FXN0EQBwm2clYYd8Wul42Cwu/DK8HEftzsapcNdYe2MfLiIwZqsDk2RDEsTE79hA== - pinia@^2.0.28: version "2.0.30" resolved "https://registry.yarnpkg.com/pinia/-/pinia-2.0.30.tgz#b18a581dad6821ed5fbebfaf631229480ea9d2d9" @@ -8229,7 +5449,7 @@ pirates@^4.0.4: resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.5.tgz#feec352ea5c3268fb23a37c702ab1699f35a5f3b" integrity sha512-8V9+HQPupnaXMA23c5hvl69zXvTwTzyAYasnkb0Tts4XvO4CliqONMOnvlq26rkhLC3nWDFBJf73LU1e1VZLaQ== -pkg-dir@^4.1.0, pkg-dir@^4.2.0: +pkg-dir@^4.1.0: version "4.2.0" resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-4.2.0.tgz#f099133df7ede422e81d1d8448270eeb3e4261f3" integrity sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ== @@ -8516,51 +5736,11 @@ prettier@^2.7.1: resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.3.tgz#ab697b1d3dd46fb4626fbe2f543afe0cc98d8632" integrity sha512-tJ/oJ4amDihPoufT5sM0Z1SKEuKay8LfVAMlbbhnnkvt6BUserZylqo2PN+p9KeljLr0OHa2rXHU1T8reeoTrw== -proc-log@^2.0.0, proc-log@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/proc-log/-/proc-log-2.0.1.tgz#8f3f69a1f608de27878f91f5c688b225391cb685" - integrity sha512-Kcmo2FhfDTXdcbfDH76N7uBYHINxc/8GW7UAVuVP9I+Va3uHSerrnKV6dLooga/gh7GlgzuCCr/eoldnL1muGw== - process-nextick-args@~2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2" integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag== -promise-all-reject-late@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/promise-all-reject-late/-/promise-all-reject-late-1.0.1.tgz#f8ebf13483e5ca91ad809ccc2fcf25f26f8643c2" - integrity sha512-vuf0Lf0lOxyQREH7GDIOUMLS7kz+gs8i6B+Yi8dC68a2sychGrHTJYghMBD6k7eUcH0H5P73EckCA48xijWqXw== - -promise-call-limit@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/promise-call-limit/-/promise-call-limit-1.0.1.tgz#4bdee03aeb85674385ca934da7114e9bcd3c6e24" - integrity sha512-3+hgaa19jzCGLuSCbieeRsu5C2joKfYn8pY6JAuXFRVfF4IO+L7UPpFWNTeWT9pM7uhskvbPPd/oEOktCn317Q== - -promise-inflight@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/promise-inflight/-/promise-inflight-1.0.1.tgz#98472870bf228132fcbdd868129bad12c3c029e3" - integrity sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g== - -promise-retry@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/promise-retry/-/promise-retry-2.0.1.tgz#ff747a13620ab57ba688f5fc67855410c370da22" - integrity sha512-y+WKFlBR8BGXnsNlIHFGPZmyDf3DFMoLhaflAnyZgV6rG6xu+JwesTo2Q9R6XwYmtmwAFCkAk3e35jEdoeh/3g== - dependencies: - err-code "^2.0.2" - retry "^0.12.0" - -promzard@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/promzard/-/promzard-0.3.0.tgz#26a5d6ee8c7dee4cb12208305acfb93ba382a9ee" - integrity sha512-JZeYqd7UAcHCwI+sTOeUDYkvEU+1bQ7iE0UT1MgB/tERkAPkesW46MrpIySzODi+owTjZtiF8Ay5j9m60KmMBw== - dependencies: - read "1" - -proto-list@~1.2.1: - version "1.2.4" - resolved "https://registry.yarnpkg.com/proto-list/-/proto-list-1.2.4.tgz#212d5bfe1318306a420f6402b8e26ff39647a849" - integrity sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA== - protobufjs@^6.11.3, 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" @@ -8580,11 +5760,6 @@ protobufjs@^6.11.3, protobufjs@^6.8.8, protobufjs@~6.11.2, protobufjs@~6.11.3: "@types/node" ">=13.7.0" long "^4.0.0" -protocols@^2.0.0, protocols@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/protocols/-/protocols-2.0.1.tgz#8f155da3fc0f32644e83c5782c8e8212ccf70a86" - integrity sha512-/XJ368cyBJ7fzLMwLKv1e4vLxOju2MNAIokcr7meSaNcVbWz/CPcW22cP04mwxOErdA5mwjA8Q6w/cdAQxVn7Q== - proxy-from-env@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2" @@ -8600,21 +5775,11 @@ punycode@^2.1.0: resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.3.0.tgz#f67fa67c94da8f4d0cfff981aee4118064199b8f" integrity sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA== -q@^1.5.1: - version "1.5.1" - resolved "https://registry.yarnpkg.com/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7" - integrity sha512-kV/CThkXo6xyFEZUugw/+pIOywXcDbFYgSct5cT3gqlbkBE1SJdwy6UQoZvodiWF/ckQLZyDE/Bu1M6gVu5lVw== - 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@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-4.0.1.tgz#5b8878f113a58217848c6482026c73e1ba57727f" - integrity sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g== - rc9@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/rc9/-/rc9-2.0.1.tgz#51e0f556759ee434e20ed29ca506b4ce97e7c6c0" @@ -8631,46 +5796,6 @@ read-cache@^1.0.0: dependencies: pify "^2.3.0" -read-cmd-shim@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/read-cmd-shim/-/read-cmd-shim-3.0.1.tgz#868c235ec59d1de2db69e11aec885bc095aea087" - integrity sha512-kEmDUoYf/CDy8yZbLTmhB1X9kkjf9Q80PCNsDMb7ufrGd6zZSQA1+UyjrO+pZm5K/S4OXCWJeiIt1JA8kAsa6g== - -read-package-json-fast@^2.0.2, read-package-json-fast@^2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/read-package-json-fast/-/read-package-json-fast-2.0.3.tgz#323ca529630da82cb34b36cc0b996693c98c2b83" - integrity sha512-W/BKtbL+dUjTuRL2vziuYhp76s5HZ9qQhd/dKfWIZveD0O40453QNyZhC0e63lqZrAQ4jiOapVoeJ7JrszenQQ== - dependencies: - json-parse-even-better-errors "^2.3.0" - npm-normalize-package-bin "^1.0.1" - -read-package-json@^5.0.0, read-package-json@^5.0.1: - version "5.0.2" - resolved "https://registry.yarnpkg.com/read-package-json/-/read-package-json-5.0.2.tgz#b8779ccfd169f523b67208a89cc912e3f663f3fa" - integrity sha512-BSzugrt4kQ/Z0krro8zhTwV1Kd79ue25IhNN/VtHFy1mG/6Tluyi+msc0UpwaoQzxSHa28mntAjIZY6kEgfR9Q== - dependencies: - glob "^8.0.1" - json-parse-even-better-errors "^2.3.1" - normalize-package-data "^4.0.0" - npm-normalize-package-bin "^2.0.0" - -read-pkg-up@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/read-pkg/-/read-pkg-3.0.0.tgz#9cbc686978fee65d16c00e2b19c237fcf6e38389" @@ -8680,33 +5805,7 @@ read-pkg@^3.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.yarnpkg.com/read-pkg/-/read-pkg-5.2.0.tgz#7bf295438ca5a33e56cd30e053b34ee7250c93cc" - 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, read@^1.0.7: - version "1.0.7" - resolved "https://registry.yarnpkg.com/read/-/read-1.0.7.tgz#b3da19bd052431a97671d44a42634adf710b40c4" - integrity sha512-rSOKNYUmaxy0om1BNjMN4ezNT6VKK+2xF4GBhc81mkH7L60i6dp8qPYrkndNLT3QPphoII3maL9PVC9XmhHwVQ== - dependencies: - mute-stream "~0.0.4" - -readable-stream@3, readable-stream@^3.0.0, readable-stream@^3.0.2, readable-stream@^3.1.1, readable-stream@^3.4.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" - -readable-stream@^2.0.1, readable-stream@~2.3.6: +readable-stream@^2.0.1: version "2.3.7" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.7.tgz#1eca1cf711aef814c04f62252a36a62f6cb23b57" integrity sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw== @@ -8719,16 +5818,6 @@ readable-stream@^2.0.1, readable-stream@~2.3.6: string_decoder "~1.1.1" util-deprecate "~1.0.1" -readdir-scoped-modules@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/readdir-scoped-modules/-/readdir-scoped-modules-1.1.0.tgz#8d45407b4f870a0dcaebc0e28670d18e74514309" - integrity sha512-asaikDeqAQg7JifRsZn1NJZXo9E+VwlyCfbkZhwyISinqk5zNS6266HS5kah6P0SaQKGF6SkNnZVHUzHFYxYDw== - 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.yarnpkg.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7" @@ -8748,14 +5837,6 @@ rechoir@^0.6.2: dependencies: resolve "^1.1.6" -redent@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/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.yarnpkg.com/regenerate-unicode-properties/-/regenerate-unicode-properties-10.1.0.tgz#7c3192cab6dd24e21cb4461e5ddd7dd24fa8374c" @@ -8813,18 +5894,6 @@ regjsparser@^0.9.1: dependencies: jsesc "~0.5.0" -require-directory@^2.1.1: - version "2.1.1" - resolved "https://registry.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" @@ -8852,25 +5921,12 @@ restore-cursor@^2.0.0: onetime "^2.0.0" signal-exit "^3.0.2" -restore-cursor@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-3.1.0.tgz#39f67c54b3a7a58cea5236d95cf0034239631f7e" - integrity sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA== - dependencies: - onetime "^5.1.0" - signal-exit "^3.0.2" - -retry@^0.12.0: - version "0.12.0" - resolved "https://registry.yarnpkg.com/retry/-/retry-0.12.0.tgz#1b42a6266a21f07421d1b0b54b7dc167b01c013b" - integrity sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow== - 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, rimraf@^3.0.0, rimraf@^3.0.2: +rimraf@3.0.2, 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== @@ -8884,7 +5940,7 @@ rollup@^3.10.0: optionalDependencies: fsevents "~2.3.2" -run-async@^2.2.0, run-async@^2.3.0, run-async@^2.4.0: +run-async@^2.2.0, run-async@^2.3.0: version "2.4.1" resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.4.1.tgz#8440eccf99ea3e70bd409d49aab88e10c189a455" integrity sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ== @@ -8915,23 +5971,11 @@ rxjs@^6.4.0: dependencies: tslib "^1.9.0" -rxjs@^7.5.5: - version "7.8.0" - resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.8.0.tgz#90a938862a82888ff4c7359811a595e14e1e09a4" - integrity sha512-F2+gxDshqmIub1KdvZkaEfGDwLNpPvk9Fs6LD/MyQxNgMds/WH9OdDDXOmxUZpME+iSK3rQCctkL0DYyytUqMg== - dependencies: - tslib "^2.1.0" - safe-buffer@~5.1.0, 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-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-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" @@ -8941,7 +5985,7 @@ safe-regex-test@^1.0.0: get-intrinsic "^1.1.3" is-regex "^1.1.4" -"safer-buffer@>= 2.1.2 < 3", "safer-buffer@>= 2.1.2 < 3.0.0": +"safer-buffer@>= 2.1.2 < 3": version "2.1.2" resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== @@ -8960,42 +6004,23 @@ scule@^1.0.0: resolved "https://registry.yarnpkg.com/scule/-/scule-1.0.0.tgz#895e6f4ba887e78d8b9b4111e23ae84fef82376d" integrity sha512-4AsO/FrViE/iDNEPaAQlb77tf0csuq27EsVpy6ett584EcRTp6pTDLoGWVxCD77y5iU5FauOvhsI4o1APwPoSQ== -"semver@2 || 3 || 4 || 5", semver@^5.5.0, semver@^5.6.0: +"semver@2 || 3 || 4 || 5", semver@^5.5.0: version "5.7.1" resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== -semver@7.3.4: - version "7.3.4" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.4.tgz#27aaa7d2e4ca76452f98d3add093a72c943edc97" - integrity sha512-tCfb2WLjqFAtXn4KEdxIhalnRtoKFN7nAwj0B3ZXCbQloV2tq5eDbcTmT68JJD3nRJq24/XgxtQKFIpQdtvmVw== - dependencies: - lru-cache "^6.0.0" - semver@^6.0.0, semver@^6.1.1, semver@^6.1.2, semver@^6.3.0: version "6.3.0" resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== -semver@^7.0.0, semver@^7.1.1, semver@^7.3.4, semver@^7.3.5, semver@^7.3.6, semver@^7.3.7, semver@^7.3.8: +semver@^7.3.5, semver@^7.3.6, semver@^7.3.7, semver@^7.3.8: version "7.3.8" resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.8.tgz#07a78feafb3f7b32347d725e33de7e2a2df67798" integrity sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A== dependencies: lru-cache "^6.0.0" -set-blocking@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" - integrity sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw== - -shallow-clone@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/shallow-clone/-/shallow-clone-3.0.1.tgz#8f2981ad92531f55035b01fb230769a40e02efa3" - integrity sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA== - dependencies: - kind-of "^6.0.2" - shebang-command@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" @@ -9043,7 +6068,7 @@ side-channel@^1.0.4: get-intrinsic "^1.0.2" object-inspect "^1.9.0" -signal-exit@^3.0.2, signal-exit@^3.0.3, signal-exit@^3.0.7: +signal-exit@^3.0.2, signal-exit@^3.0.7: version "3.0.7" resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== @@ -9058,42 +6083,6 @@ slash@^4.0.0: resolved "https://registry.yarnpkg.com/slash/-/slash-4.0.0.tgz#2422372176c4c6c5addb5e2ada885af984b396a7" integrity sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew== -smart-buffer@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/smart-buffer/-/smart-buffer-4.2.0.tgz#6e1d71fa4f18c05f7d0ff216dd16a481d0e8d9ae" - integrity sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg== - -socks-proxy-agent@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/socks-proxy-agent/-/socks-proxy-agent-7.0.0.tgz#dc069ecf34436621acb41e3efa66ca1b5fed15b6" - integrity sha512-Fgl0YPZ902wEsAyiQ+idGd1A7rSFx/ayC1CQVMw5P+EQx2V0SgpGtf6OKFhVjPflPUl9YMmEOnmfjCdMUsygww== - dependencies: - agent-base "^6.0.2" - debug "^4.3.3" - socks "^2.6.2" - -socks@^2.6.2: - version "2.7.1" - resolved "https://registry.yarnpkg.com/socks/-/socks-2.7.1.tgz#d8e651247178fde79c0663043e07240196857d55" - integrity sha512-7maUZy1N7uo6+WVEX6psASxtNlKaNVMlGQKkG/63nEDdLOWNbiUMoLK7X4uYoLhQstau72mLgfEWcXcwsaHbYQ== - dependencies: - ip "^2.0.0" - smart-buffer "^4.2.0" - -sort-keys@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/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.yarnpkg.com/sort-keys/-/sort-keys-4.2.0.tgz#6b7638cee42c506fff8c1cecde7376d21315be18" - integrity sha512-aUYIEU/UviqPgc8mHR6IW1EGxkAXpeRETYcrzg8cLAvUPZcpAlleSXHV2mY7G12GphSH6Gzv+4MMVSSkbdteHg== - dependencies: - is-plain-obj "^2.0.0" - "source-map-js@>=0.6.2 <2.0.0", 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" @@ -9135,32 +6124,11 @@ spdx-license-ids@^3.0.0: resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.12.tgz#69077835abe2710b65f03969898b6637b505a779" integrity sha512-rr+VVSXtRhO4OHbXUiAF7xW3Bo9DuuF6C5jH+q/x15j2jniycgKbxU09Hr0WqlSLUs4i4ltHGXqTe7VHclYWyA== -split2@^3.0.0: - version "3.2.2" - resolved "https://registry.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" integrity sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g== -ssri@^9.0.0, ssri@^9.0.1: - version "9.0.1" - resolved "https://registry.yarnpkg.com/ssri/-/ssri-9.0.1.tgz#544d4c357a8d7b71a19700074b6883fcb4eae057" - integrity sha512-o57Wcn66jMQvfHG1FlYbWeZWW/dHZhJXjpIcTfXldXEk5nz5lStPo3mK0OJQfGR3RbZUlbISexbljkJzuEj/8Q== - dependencies: - minipass "^3.1.1" - stable@^0.1.8: version "0.1.8" resolved "https://registry.yarnpkg.com/stable/-/stable-0.1.8.tgz#836eb3c8382fe2936feaf544631017ce7d47a3cf" @@ -9178,15 +6146,6 @@ stop-iteration-iterator@^1.0.0: dependencies: internal-slot "^1.0.4" -"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.yarnpkg.com/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.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" @@ -9222,13 +6181,6 @@ string.prototype.trimstart@^1.0.6: define-properties "^1.1.4" es-abstract "^1.20.4" -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" - string_decoder@~1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8" @@ -9257,7 +6209,7 @@ strip-ansi@^5.1.0: dependencies: ansi-regex "^4.1.0" -strip-ansi@^6.0.0, strip-ansi@^6.0.1: +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== @@ -9269,23 +6221,6 @@ strip-bom@^3.0.0: resolved "https://registry.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" @@ -9298,15 +6233,6 @@ strip-literal@^1.0.0: dependencies: acorn "^8.8.2" -strong-log-transformer@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/strong-log-transformer/-/strong-log-transformer-2.1.0.tgz#0f5ed78d325e0421ac6f90f7f10e691d6ae3ae10" - integrity sha512-B3Hgul+z0L9a236FAUC9iZsL+nVHgoCJnqCbN588DjYxvGXaXaaFbfmQ/JhvKjZwsOukuR72XbHv71Qkug0HxA== - dependencies: - duplexer "^0.1.1" - minimist "^1.2.0" - through "^2.3.4" - stylehacks@^5.1.1: version "5.1.1" resolved "https://registry.yarnpkg.com/stylehacks/-/stylehacks-5.1.1.tgz#7934a34eb59d7152149fa69d6e9e56f2fc34bcc9" @@ -9429,18 +6355,7 @@ tapable@^1.0.0: resolved "https://registry.yarnpkg.com/tapable/-/tapable-1.1.3.tgz#a1fccc06b58db61fd7a45da2da44f5f3a3e67ba2" integrity sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA== -tar-stream@~2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/tar-stream/-/tar-stream-2.2.0.tgz#acad84c284136b060dc3faa64474aa9aebd77287" - integrity sha512-ujeqbceABgwMZxEJnk2HDY2DlnUZ+9oEcb1KzTVfYHio0UE6dG71n60d8D2I4qNvleWrrXpmjpt7vZeF1LnMZQ== - dependencies: - bl "^4.0.3" - end-of-stream "^1.4.1" - fs-constants "^1.0.0" - inherits "^2.0.3" - readable-stream "^3.1.1" - -tar@^6.1.0, tar@^6.1.11, tar@^6.1.12, tar@^6.1.2: +tar@^6.1.12: version "6.1.13" resolved "https://registry.yarnpkg.com/tar/-/tar-6.1.13.tgz#46e22529000f612180601a6fe0680e7da508847b" integrity sha512-jdIBIN6LTIe2jqzay/2vtYLlBHa3JF42ot3h1dW8Q0PaAG4v8rm0cvpVePtau5C6OKXGGcgO9q2AMNSWxiLqKw== @@ -9452,11 +6367,6 @@ tar@^6.1.0, tar@^6.1.11, tar@^6.1.12, tar@^6.1.2: mkdirp "^1.0.3" yallist "^4.0.0" -temp-dir@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/temp-dir/-/temp-dir-1.0.0.tgz#0a7c0ea26d3a39afa7e0ebea9c1fc0bc4daa011d" - integrity sha512-xZFXEGbG7SNC3itwBzI3RYjq/cEhBkx2hJuKGIUOcEULmkQExXiHat2z/qkISYsuR+IKumhEfKKbV5qXmhICFQ== - test-exclude@^6.0.0: version "6.0.0" resolved "https://registry.yarnpkg.com/test-exclude/-/test-exclude-6.0.0.tgz#04a8698661d805ea6fa293b6cb9e63ac044ef15e" @@ -9466,11 +6376,6 @@ test-exclude@^6.0.0: glob "^7.1.4" minimatch "^3.0.4" -text-extensions@^1.0.0: - version "1.9.0" - resolved "https://registry.yarnpkg.com/text-extensions/-/text-extensions-1.9.0.tgz#1853e45fee39c945ce6f6c36b2d659b5aabc2a26" - integrity sha512-wiBrwC1EhBelW12Zy26JeOUkQ5mRu+5o8rpsJk5+2t+Y5vE7e842qtZDQ2g1NpX/29HdyFeJ4nSIhI47ENSxlQ== - text-table@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" @@ -9490,22 +6395,7 @@ thenify-all@^1.0.0: dependencies: any-promise "^1.0.0" -through2@^2.0.0: - version "2.0.5" - resolved "https://registry.yarnpkg.com/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.yarnpkg.com/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: +through@^2.3.6: version "2.3.8" resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" integrity sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg== @@ -9525,13 +6415,6 @@ tmp@^0.0.33: dependencies: os-tmpdir "~1.0.2" -tmp@~0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.2.1.tgz#8457fc3037dcf4719c251367a1af6500ee1ccf14" - integrity sha512-76SUhtfqR2Ijn+xllcI5P1oyannHNHByD80W1q447gU3mp9G9PSpGdWmjUOHRDPiHYacIk66W7ubDTuPF3BEtQ== - dependencies: - rimraf "^3.0.0" - tmpl@1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/tmpl/-/tmpl-1.0.5.tgz#8683e0b902bb9c20c4f726e3c0b69f36518c07cc" @@ -9554,35 +6437,11 @@ tr46@~0.0.3: resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw== -treeverse@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/treeverse/-/treeverse-2.0.0.tgz#036dcef04bc3fd79a9b79a68d4da03e882d8a9ca" - integrity sha512-N5gJCkLu1aXccpOTtqV6ddSEi6ZmGkh3hjmbu1IjcavJK4qyOVQmi0myQKM7z5jVGmD68SJoliaVrMmVObhj6A== - -trim-newlines@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-3.0.1.tgz#260a5d962d8b752425b32f3a7db0dcacd176c144" - integrity sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw== - -tsconfig-paths@^4.1.2: - version "4.1.2" - resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-4.1.2.tgz#4819f861eef82e6da52fb4af1e8c930a39ed979a" - integrity sha512-uhxiMgnXQp1IR622dUXI+9Ehnws7i/y6xvpZB9IbUVOPy0muvdvgXeZOn88UcGPiT98Vp3rJPTa8bFoalZ3Qhw== - dependencies: - json5 "^2.2.2" - minimist "^1.2.6" - strip-bom "^3.0.0" - tslib@^1.8.1, tslib@^1.9.0: version "1.14.1" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== -tslib@^2.1.0, tslib@^2.3.0, tslib@^2.4.0: - version "2.5.0" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.5.0.tgz#42bfed86f5787aeb41d031866c8f402429e0fddf" - integrity sha512-336iVw3rtn2BUK7ORdIAHTyxHGRIHVReokCR3XjbckJMK7ms8FysBfhLR8IXnAgy7T0PTPNBWKiH514FOW/WSg== - tsutils@^3.21.0: version "3.21.0" resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.21.0.tgz#b48717d394cea6c1e096983eed58e9d61715b623" @@ -9597,36 +6456,11 @@ type-check@^0.4.0, type-check@~0.4.0: dependencies: prelude-ls "^1.2.1" -type-fest@^0.18.0: - version "0.18.1" - resolved "https://registry.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/type-fest/-/type-fest-0.4.1.tgz#8bdf77743385d8a4f13ba95f610f5ccd68c728f8" - integrity sha512-IwzA/LSfD2vC1/YDYMv/zHP4rDF1usCwllsDpbolT3D4fUepIO7f9K70jjmUewU/LmGUKJcwcVtDCpnKk4BPMw== - -type-fest@^0.6.0: - version "0.6.0" - resolved "https://registry.yarnpkg.com/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.yarnpkg.com/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d" - integrity sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA== - type@^1.0.1: version "1.2.0" resolved "https://registry.yarnpkg.com/type/-/type-1.2.0.tgz#848dd7698dafa3e54a6c479e759c4bc3f18847a0" @@ -9646,19 +6480,7 @@ typed-array-length@^1.0.4: for-each "^0.3.3" is-typed-array "^1.1.9" -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" - -typedarray@^0.0.6: - version "0.0.6" - resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" - integrity sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA== - -"typescript@^3 || ^4", typescript@~4.9.5: +typescript@~4.9.5: version "4.9.5" resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a" integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g== @@ -9668,11 +6490,6 @@ ufo@^1.0.1: resolved "https://registry.yarnpkg.com/ufo/-/ufo-1.0.1.tgz#64ed43b530706bda2e4892f911f568cf4cf67d29" integrity sha512-boAm74ubXHY7KJQZLlXrtMz52qFvpsbOxDcZOnw/Wf+LS4Mmyu7JxmzD4tDLtUQtmZECypJ0FrCz4QIe6dvKRA== -uglify-js@^3.1.4: - version "3.17.4" - resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.17.4.tgz#61678cf5fa3f5b7eb789bb345df29afb8257c22c" - integrity sha512-T9q82TJI9e/C1TAxYvfb16xO120tMVFZrGA3f9/P4424DNu6ypK103y0GPFVa17yotwSyZW5iYXgjYHkGrJW/g== - unbox-primitive@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/unbox-primitive/-/unbox-primitive-1.0.2.tgz#29032021057d5e6cdbd08c5129c226dff8ed6f9e" @@ -9733,30 +6550,6 @@ unimport@^2.1.0: strip-literal "^1.0.0" unplugin "^1.0.1" -unique-filename@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/unique-filename/-/unique-filename-2.0.1.tgz#e785f8675a9a7589e0ac77e0b5c34d2eaeac6da2" - integrity sha512-ODWHtkkdx3IAR+veKxFV+VBkUMcN+FaqzUUd7IZzt+0zhDZFPFxhlqwPF3YQvMHx1TD0tdgYl+kuPnJ8E6ql7A== - dependencies: - unique-slug "^3.0.0" - -unique-slug@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/unique-slug/-/unique-slug-3.0.0.tgz#6d347cf57c8a7a7a6044aabd0e2d74e4d76dc7c9" - integrity sha512-8EyMynh679x/0gqE9fT9oilG+qEt+ibFyqjuVTsZn1+CMxH+XLlpvr2UZx4nVcCwTpx81nICr2JQFkM+HPLq4w== - dependencies: - imurmurhash "^0.1.4" - -universal-user-agent@^6.0.0: - version "6.0.0" - resolved "https://registry.yarnpkg.com/universal-user-agent/-/universal-user-agent-6.0.0.tgz#3381f8503b251c0d9cd21bc1de939ec9df5480ee" - integrity sha512-isyNax3wXoKaulPDZWHQqbmIx1k2tb9fb3GGDBRxCscfYV2Ch7WxPArBsFEG8s/safwXTT7H4QGhaIkTp9447w== - -universalify@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/universalify/-/universalify-2.0.0.tgz#75a4984efedc4b08975c5aeb73f530d02df25717" - integrity sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ== - unplugin-auto-import@^0.13.0: version "0.13.0" resolved "https://registry.yarnpkg.com/unplugin-auto-import/-/unplugin-auto-import-0.13.0.tgz#0d0fae74f4a71529faec7ddda9006ec32363e3fb" @@ -9836,7 +6629,7 @@ uri-js@^4.2.2: dependencies: punycode "^2.1.0" -util-deprecate@^1.0.1, util-deprecate@^1.0.2, util-deprecate@~1.0.1: +util-deprecate@^1.0.2, util-deprecate@~1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== @@ -9848,17 +6641,7 @@ util@^0.10.3: dependencies: inherits "2.0.3" -uuid@^8.3.2: - version "8.3.2" - resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2" - integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg== - -v8-compile-cache@2.3.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz#2de19618c66dc247dcfb6f99338035d8245a2cee" - integrity sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA== - -validate-npm-package-license@^3.0.1, validate-npm-package-license@^3.0.4: +validate-npm-package-license@^3.0.1: version "3.0.4" resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz#fc91f6b9c7ba15c857f4cb2c5defeec39d4f410a" integrity sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew== @@ -9866,20 +6649,6 @@ validate-npm-package-license@^3.0.1, validate-npm-package-license@^3.0.4: 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.yarnpkg.com/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz#5fa912d81eb7d0c74afc140de7317f0ca7df437e" - integrity sha512-M6w37eVCMMouJ9V/sdPGnC5H4uDr73/+xdq0FBLO3TFFX1+7wiUY6Es328NN+y43tmY+doUdN9g9J21vqB7iLw== - dependencies: - builtins "^1.0.3" - -validate-npm-package-name@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/validate-npm-package-name/-/validate-npm-package-name-4.0.0.tgz#fe8f1c50ac20afdb86f177da85b3600f0ac0d747" - integrity sha512-mzR0L8ZDktZjpX4OB46KT+56MAhl4EIazWP/+G/HPGuvfdaqg4YsCdtOm6U9+LOFyYDoh4dpnpxZRB9MQQns5Q== - dependencies: - builtins "^5.0.0" - vite-plugin-pages@^0.28.0: version "0.28.0" resolved "https://registry.yarnpkg.com/vite-plugin-pages/-/vite-plugin-pages-0.28.0.tgz#c9ed6ef43f43a4c42ffb8e28862d48ebc92fc4b9" @@ -10006,11 +6775,6 @@ vuetify@3.0.6: resolved "https://registry.yarnpkg.com/vuetify/-/vuetify-3.0.6.tgz#83fe4fa7159d002acff9ca65cfabe4a67d64dc20" integrity sha512-Illtc9t8PExlKqUEIivNNMpDif4/tvn+04ZEAwrxpQAG75x6V7oUFOF1kVKAFZ2ryuLnBpscXBR85GwFBmLeMQ== -walk-up-path@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/walk-up-path/-/walk-up-path-1.0.0.tgz#d4745e893dd5fd0dbb58dd0a4c6a33d9c9fec53e" - integrity sha512-hwj/qMDUEjCU5h0xr90KGCf0tg0/LgJbmOWgrWKYlcJZM7XvquvUJZ0G/HMGr7F7OQMOUuPHWP9JpriinkAlkg== - walker@^1.0.8: version "1.0.8" resolved "https://registry.yarnpkg.com/walker/-/walker-1.0.8.tgz#bd498db477afe573dc04185f011d3ab8a8d7653f" @@ -10030,13 +6794,6 @@ wasm-ast-types@^0.15.0: case "1.6.3" deepmerge "4.2.2" -wcwidth@^1.0.0, wcwidth@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/wcwidth/-/wcwidth-1.0.1.tgz#f0b0dcf915bc5ff1528afadb2c0e17b532da2fe8" - integrity sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg== - dependencies: - defaults "^1.0.3" - webfontloader@^1.6.28: version "1.6.28" resolved "https://registry.yarnpkg.com/webfontloader/-/webfontloader-1.6.28.tgz#db786129253cb6e8eae54c2fb05f870af6675bae" @@ -10105,64 +6862,24 @@ which@^1.2.9: dependencies: isexe "^2.0.0" -which@^2.0.1, which@^2.0.2: +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" -wide-align@^1.1.5: - version "1.1.5" - resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.5.tgz#df1d4c206854369ecf3c9a4898f1b23fbd9d15d3" - integrity sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg== - dependencies: - string-width "^1.0.2 || 2 || 3 || 4" - 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== -wordwrap@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/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: - version "3.0.3" - resolved "https://registry.yarnpkg.com/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.0, write-file-atomic@^4.0.1: +write-file-atomic@^4.0.1: version "4.0.2" resolved "https://registry.yarnpkg.com/write-file-atomic/-/write-file-atomic-4.0.2.tgz#a9df01ae5b77858a027fd2e80768ee433555fcfd" integrity sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg== @@ -10170,39 +6887,6 @@ write-file-atomic@^4.0.0, write-file-atomic@^4.0.1: imurmurhash "^0.1.4" signal-exit "^3.0.7" -write-json-file@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/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.yarnpkg.com/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.yarnpkg.com/write-pkg/-/write-pkg-4.0.0.tgz#675cc04ef6c11faacbbc7771b24c0abbf2a20039" - integrity sha512-v2UQ+50TNf2rNHJ8NyWttfm/EJUBWMJcx6ZTYZr6Qp52uuegWw/lBkCtCbnYZEmPRNL61m+u67dAmGxo+HTULA== - dependencies: - sort-keys "^2.0.0" - type-fest "^0.4.1" - write-json-file "^3.2.0" - ws@^7: version "7.5.9" resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.9.tgz#54fa7db29f4c7cec68b1ddd3a89de099942bb591" @@ -10221,16 +6905,6 @@ xstream@^11.14.0: globalthis "^1.0.1" symbol-observable "^2.0.3" -xtend@~4.0.1: - version "4.0.2" - resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54" - integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== - -y18n@^5.0.5: - version "5.0.8" - resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" - integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== - yallist@^3.0.2: version "3.1.1" resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" @@ -10260,47 +6934,6 @@ yaml@^2.1.3: resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.2.1.tgz#3014bf0482dcd15147aa8e56109ce8632cd60ce4" integrity sha512-e0WHiYql7+9wr4cWMx3TVQrNwejKaEe7/rHNmQmqRjazfOP5W8PB6Jpebb5o6fIapbz9o9+2ipcaTM2ZwDI6lw== -yargs-parser@20.2.4: - version "20.2.4" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.4.tgz#b42890f14566796f85ae8e3a25290d205f154a54" - integrity sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA== - -yargs-parser@21.1.1, yargs-parser@^21.1.1: - version "21.1.1" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35" - integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw== - -yargs-parser@^20.2.2, yargs-parser@^20.2.3: - version "20.2.9" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee" - integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w== - -yargs@^16.2.0: - version "16.2.0" - resolved "https://registry.yarnpkg.com/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.6.2: - version "17.6.2" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.6.2.tgz#2e23f2944e976339a1ee00f18c77fedee8332541" - integrity sha512-1/9UrdHjDZc0eOU0HxOHoS78C69UD3JRMvzlJ7S79S2nTaWRA/whGCTV8o9e/N/1Va9YIV7Q4sOxD8VV4pCWOw== - dependencies: - cliui "^8.0.1" - escalade "^3.1.1" - get-caller-file "^2.0.5" - require-directory "^2.1.1" - string-width "^4.2.3" - y18n "^5.0.5" - yargs-parser "^21.1.1" - yocto-queue@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b"