diff --git a/ts/sdk/.gitattributes b/ts/sdk/.gitattributes deleted file mode 100644 index d0e762ad..00000000 --- a/ts/sdk/.gitattributes +++ /dev/null @@ -1,9 +0,0 @@ -# File attributes for Git repository. -# References at https://git-scm.com/docs/gitattributes. - -# Handle files as text and ensure Unix line endings. -* text=auto eol=lf - -# Ignore differences on NPM's lockfile. -# Since version 5.7.0, NPM automatically handles merge conflicts. -package-lock.json -diff diff --git a/ts/sdk/.gitignore b/ts/sdk/.gitignore deleted file mode 100644 index 00cf79ea..00000000 --- a/ts/sdk/.gitignore +++ /dev/null @@ -1,32 +0,0 @@ -# Unversioned files and folders. -# References at https://git-scm.com/docs/gitignore. - -# Finder's configuration files (Mac). -.DS_Store - -# Node.js modules. -node_modules/ - -# NPM's shrinkwrap. -# We're using `package-lock.json` instead. -npm-shrinkwrap.json - -# Yarn's lockfile, Plug'n'Play, folder and settings. -# We're using npm, and it provides its lockfile and settings. -yarn.lock -.pnp.* -.yarn/ -.yarnrc -.yarnrc.yaml - -# pnpm's lockfile, workspace definitions and hooks. -# We're using npm, and it provides its lockfile and settings. -pnpm-lock.yaml -pnpm-workspace.yaml -pnpmfile.js - -# Log files. -*.log -*.log.* - -dist/ diff --git a/ts/sdk/.yarnrc.yml b/ts/sdk/.yarnrc.yml deleted file mode 100644 index 3186f3f0..00000000 --- a/ts/sdk/.yarnrc.yml +++ /dev/null @@ -1 +0,0 @@ -nodeLinker: node-modules diff --git a/ts/sdk/LICENSE b/ts/sdk/LICENSE deleted file mode 100644 index ea662a36..00000000 --- a/ts/sdk/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 2021 Sikka Research Pte. Ltd. - - 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/ts/sdk/README.md b/ts/sdk/README.md deleted file mode 100644 index d97b3624..00000000 --- a/ts/sdk/README.md +++ /dev/null @@ -1 +0,0 @@ -# cw-hyperlane-sdk diff --git a/ts/sdk/jest.config.js b/ts/sdk/jest.config.js deleted file mode 100644 index 778f18a4..00000000 --- a/ts/sdk/jest.config.js +++ /dev/null @@ -1,13 +0,0 @@ -// @ts-check -/* eslint-env node */ - -/** - * An object with Jest options. - * @type {import('@jest/types').Config.InitialOptions} - */ -const options = { - preset: 'ts-jest', - resolver: 'ts-jest-resolver', -}; - -module.exports = options; diff --git a/ts/sdk/package.json b/ts/sdk/package.json deleted file mode 100644 index a2c07f88..00000000 --- a/ts/sdk/package.json +++ /dev/null @@ -1,68 +0,0 @@ -{ - "name": "cw-hyperlane-sdk", - "version": " 0.0.1", - "description": "", - "cdn": "dist/index.umd.js", - "main": "dist/index.js", - "types": "types/index.d.ts", - "unpkg": "dist/index.umd.js", - "module": "dist/index.esm.js", - "jsdelivr": "dist/index.umd.js", - "umd:main": "dist/index.umd.js", - "exports": { - ".": [ - { - "import": "./dist/index.mjs", - "require": "./dist/index.cjs", - "default": "./dist/index.js" - }, - "./dist/index.js" - ] - }, - "devDependencies": { - "@cosmwasm/ts-codegen": "^0.16.5", - "@rollup/plugin-commonjs": "^25.0.2", - "@rollup/plugin-node-resolve": "^15.1.0", - "@swc/core": "^1.2.198", - "@swc/helpers": "^0.3.17", - "@types/eslint": "^8.4.1", - "@types/jest": "^27.4.1", - "@types/prettier": "^2.6.0", - "@typescript-eslint/eslint-plugin": "^5.21.0", - "@typescript-eslint/parser": "^5.21.0", - "eslint": "^8.14.0", - "eslint-config-prettier": "^8.5.0", - "eslint-plugin-prettier": "^4.0.0", - "jest": "^27.5.1", - "prettier": "^2.6.2", - "regenerator-runtime": "^0.13.9", - "rollup": "^2.70.2", - "rollup-plugin-terser": "^7.0.2", - "rollup-plugin-typescript2": "^0.31.2", - "ts-jest": "^27.1.4", - "ts-jest-resolver": "^2.0.0", - "typedoc": "^0.22.15", - "typedoc-plugin-markdown": "^3.12.1", - "typescript": "^4.6.3" - }, - "scripts": { - "doc": "typedoc src/index.ts", - "test": "jest --passWithNoTests", - "lint": "eslint \"*/**/*.{ts,js,json}\"", - "lint:fix": "eslint \"*/**/*.{ts,js,json}\" --fix", - "build": "rollup --config ./rollup.config.js", - "prepublishOnly": "npm run doc && npm run lint && npm run test && npm run build", - "codegen": "node ./scripts/codegen" - }, - "keywords": [], - "author": { - "name": "byeongsu-hong " - }, - "license": "MIT OR Apache-2.0", - "dependencies": { - "@cosmjs/cosmwasm-stargate": "^0.28.11", - "@cosmjs/encoding": "^0.30.1", - "cosmjs-types": "^0.8.0", - "cosmwasm": "^1.1.1" - } -} diff --git a/ts/sdk/rollup.config.js b/ts/sdk/rollup.config.js deleted file mode 100644 index a1c79542..00000000 --- a/ts/sdk/rollup.config.js +++ /dev/null @@ -1,84 +0,0 @@ -// @ts-check - -import { terser } from "rollup-plugin-terser"; -import typescript2 from "rollup-plugin-typescript2"; -import resolve from "@rollup/plugin-node-resolve"; -import commonjs from "@rollup/plugin-commonjs"; - -import pkg from "./package.json"; - -/** - * Comment with library information to be appended in the generated bundles. - */ -const banner = `/*! - * ${pkg.name} v${pkg.version} - * (c) ${pkg.author.name} - * Released under the ${pkg.license} License. - */ -`; - -/** - * Creates an output options object for Rollup.js. - * @param {import('rollup').OutputOptions} options - * @returns {import('rollup').OutputOptions} - */ -function createOutputOptions(options) { - return { - banner, - name: "counter-sdk", - exports: "named", - sourcemap: true, - ...options, - }; -} - -/** - * @type {import('rollup').RollupOptions} - */ -const options = { - input: "./src/index.ts", - output: [ - createOutputOptions({ - file: "./dist/index.js", - format: "commonjs", - }), - createOutputOptions({ - file: "./dist/index.cjs", - format: "commonjs", - }), - createOutputOptions({ - file: "./dist/index.mjs", - format: "esm", - }), - createOutputOptions({ - file: "./dist/index.esm.js", - format: "esm", - }), - createOutputOptions({ - file: "./dist/index.umd.js", - format: "umd", - }), - createOutputOptions({ - file: "./dist/index.umd.min.js", - format: "umd", - plugins: [terser()], - }), - ], - plugins: [ - resolve(), - commonjs({ - dynamicRequireTargets: [ - // include using a glob pattern (either a string or an array of strings) - "node_modules/cosmjs-types/*", - ], - }), - typescript2({ - clean: true, - useTsconfigDeclarationDir: true, - tsconfig: "./tsconfig.bundle.json", - }), - ], - external: ["cosmjs-types", "@cosmjs/encoding", "@cosmjs/cosmwasm-stargate"], -}; - -export default options; diff --git a/ts/sdk/scripts/codegen.js b/ts/sdk/scripts/codegen.js deleted file mode 100644 index f3e867d1..00000000 --- a/ts/sdk/scripts/codegen.js +++ /dev/null @@ -1,36 +0,0 @@ -const codegen = require("@cosmwasm/ts-codegen").default; -const path = require("path"); -const fs = require("fs"); - -const pkgRoot = path.join(__dirname, ".."); -const contractsDir = path.join(pkgRoot, "..", "..", "contracts"); - -const contracts = fs - .readdirSync(contractsDir, { withFileTypes: true }) - .filter((c) => c.isDirectory()) - .map((c) => ({ - name: c.name, - dir: path.join(contractsDir, c.name), - })); - -const outPath = path.join(pkgRoot, "src", "contracts"); -fs.rmSync(outPath, { recursive: true, force: true }); - -codegen({ - contracts, - outPath, - options: { - bundle: { - bundleFile: "index.ts", - scope: "contracts", - }, - client: { - enabled: true, - }, - messageComposer: { - enabled: true, - }, - }, -}).then(() => { - console.log("✨ Typescript code is generated successfully!"); -}); diff --git a/ts/sdk/src/contracts/Hub.client.ts b/ts/sdk/src/contracts/Hub.client.ts deleted file mode 100644 index de9a3790..00000000 --- a/ts/sdk/src/contracts/Hub.client.ts +++ /dev/null @@ -1,75 +0,0 @@ -/** -* This file was automatically generated by @cosmwasm/ts-codegen@0.16.5. -* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, -* and run the @cosmwasm/ts-codegen generate command to regenerate this file. -*/ - -import { CosmWasmClient, SigningCosmWasmClient, ExecuteResult } from "@cosmjs/cosmwasm-stargate"; -import { Coin, StdFee } from "@cosmjs/amino"; -import { InstantiateMsg, ExecuteMsg, QueryMsg, MigrateMsg, OriginDomainResponse } from "./Hub.types"; -export interface HubReadOnlyInterface { - contractAddress: string; - originDomain: () => Promise; -} -export class HubQueryClient implements HubReadOnlyInterface { - client: CosmWasmClient; - contractAddress: string; - - constructor(client: CosmWasmClient, contractAddress: string) { - this.client = client; - this.contractAddress = contractAddress; - this.originDomain = this.originDomain.bind(this); - } - - originDomain = async (): Promise => { - return this.client.queryContractSmart(this.contractAddress, { - origin_domain: {} - }); - }; -} -export interface HubInterface extends HubReadOnlyInterface { - contractAddress: string; - sender: string; - instantiate: ({ - defaultIsm, - owner - }: { - defaultIsm: string; - owner: string; - }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; - migrate: (fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; -} -export class HubClient extends HubQueryClient implements HubInterface { - client: SigningCosmWasmClient; - sender: string; - contractAddress: string; - - constructor(client: SigningCosmWasmClient, sender: string, contractAddress: string) { - super(client, contractAddress); - this.client = client; - this.sender = sender; - this.contractAddress = contractAddress; - this.instantiate = this.instantiate.bind(this); - this.migrate = this.migrate.bind(this); - } - - instantiate = async ({ - defaultIsm, - owner - }: { - defaultIsm: string; - owner: string; - }, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { - return await this.client.execute(this.sender, this.contractAddress, { - instantiate: { - default_ism: defaultIsm, - owner - } - }, fee, memo, funds); - }; - migrate = async (fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { - return await this.client.execute(this.sender, this.contractAddress, { - migrate: {} - }, fee, memo, funds); - }; -} \ No newline at end of file diff --git a/ts/sdk/src/contracts/Hub.message-composer.ts b/ts/sdk/src/contracts/Hub.message-composer.ts deleted file mode 100644 index c39bcdb1..00000000 --- a/ts/sdk/src/contracts/Hub.message-composer.ts +++ /dev/null @@ -1,70 +0,0 @@ -/** -* This file was automatically generated by @cosmwasm/ts-codegen@0.16.5. -* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, -* and run the @cosmwasm/ts-codegen generate command to regenerate this file. -*/ - -import { Coin } from "@cosmjs/amino"; -import { MsgExecuteContractEncodeObject } from "cosmwasm"; -import { MsgExecuteContract } from "cosmjs-types/cosmwasm/wasm/v1/tx"; -import { toUtf8 } from "@cosmjs/encoding"; -import { InstantiateMsg, ExecuteMsg, QueryMsg, MigrateMsg, OriginDomainResponse } from "./Hub.types"; -export interface HubMessage { - contractAddress: string; - sender: string; - instantiate: ({ - defaultIsm, - owner - }: { - defaultIsm: string; - owner: string; - }, funds?: Coin[]) => MsgExecuteContractEncodeObject; - migrate: (funds?: Coin[]) => MsgExecuteContractEncodeObject; -} -export class HubMessageComposer implements HubMessage { - sender: string; - contractAddress: string; - - constructor(sender: string, contractAddress: string) { - this.sender = sender; - this.contractAddress = contractAddress; - this.instantiate = this.instantiate.bind(this); - this.migrate = this.migrate.bind(this); - } - - instantiate = ({ - defaultIsm, - owner - }: { - defaultIsm: string; - owner: string; - }, funds?: Coin[]): MsgExecuteContractEncodeObject => { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract", - value: MsgExecuteContract.fromPartial({ - sender: this.sender, - contract: this.contractAddress, - msg: toUtf8(JSON.stringify({ - instantiate: { - default_ism: defaultIsm, - owner - } - })), - funds - }) - }; - }; - migrate = (funds?: Coin[]): MsgExecuteContractEncodeObject => { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract", - value: MsgExecuteContract.fromPartial({ - sender: this.sender, - contract: this.contractAddress, - msg: toUtf8(JSON.stringify({ - migrate: {} - })), - funds - }) - }; - }; -} \ No newline at end of file diff --git a/ts/sdk/src/contracts/Hub.types.ts b/ts/sdk/src/contracts/Hub.types.ts deleted file mode 100644 index 80fa00c1..00000000 --- a/ts/sdk/src/contracts/Hub.types.ts +++ /dev/null @@ -1,25 +0,0 @@ -/** -* This file was automatically generated by @cosmwasm/ts-codegen@0.16.5. -* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, -* and run the @cosmwasm/ts-codegen generate command to regenerate this file. -*/ - -export interface InstantiateMsg { - mailbox_code: number; - origin_domain: number; -} -export type ExecuteMsg = { - instantiate: { - default_ism: string; - owner: string; - }; -} | { - migrate: {}; -}; -export type QueryMsg = { - origin_domain: {}; -}; -export interface MigrateMsg {} -export interface OriginDomainResponse { - domain: number; -} \ No newline at end of file diff --git a/ts/sdk/src/contracts/IsmMultisig.client.ts b/ts/sdk/src/contracts/IsmMultisig.client.ts deleted file mode 100644 index 5f6ea397..00000000 --- a/ts/sdk/src/contracts/IsmMultisig.client.ts +++ /dev/null @@ -1,189 +0,0 @@ -/** -* This file was automatically generated by @cosmwasm/ts-codegen@0.16.5. -* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, -* and run the @cosmwasm/ts-codegen generate command to regenerate this file. -*/ - -import { CosmWasmClient, SigningCosmWasmClient, ExecuteResult } from "@cosmjs/cosmwasm-stargate"; -import { Coin, StdFee } from "@cosmjs/amino"; -import { InstantiateMsg, ExecuteMsg, Binary, ValidatorSet, ThresholdSet, QueryMsg, HexBinary, MigrateMsg, ISMType, ModuleTypeResponse, VerifyResponse } from "./IsmMultisig.types"; -export interface IsmMultisigReadOnlyInterface { - contractAddress: string; - moduleType: () => Promise; - verify: ({ - message, - metadata - }: { - message: HexBinary; - metadata: HexBinary; - }) => Promise; -} -export class IsmMultisigQueryClient implements IsmMultisigReadOnlyInterface { - client: CosmWasmClient; - contractAddress: string; - - constructor(client: CosmWasmClient, contractAddress: string) { - this.client = client; - this.contractAddress = contractAddress; - this.moduleType = this.moduleType.bind(this); - this.verify = this.verify.bind(this); - } - - moduleType = async (): Promise => { - return this.client.queryContractSmart(this.contractAddress, { - module_type: {} - }); - }; - verify = async ({ - message, - metadata - }: { - message: HexBinary; - metadata: HexBinary; - }): Promise => { - return this.client.queryContractSmart(this.contractAddress, { - verify: { - message, - metadata - } - }); - }; -} -export interface IsmMultisigInterface extends IsmMultisigReadOnlyInterface { - contractAddress: string; - sender: string; - enrollValidator: ({ - set - }: { - set: ValidatorSet; - }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; - enrollValidators: ({ - set - }: { - set: ValidatorSet[]; - }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; - unenrollValidator: ({ - domain, - validator - }: { - domain: number; - validator: string; - }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; - setThreshold: ({ - set - }: { - set: ThresholdSet; - }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; - setThresholds: ({ - set - }: { - set: ThresholdSet[]; - }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; - initTransferOwnership: ({ - owner - }: { - owner: string; - }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; - finishTransferOwnership: (fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; - revokeTransferOwnership: (fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; -} -export class IsmMultisigClient extends IsmMultisigQueryClient implements IsmMultisigInterface { - client: SigningCosmWasmClient; - sender: string; - contractAddress: string; - - constructor(client: SigningCosmWasmClient, sender: string, contractAddress: string) { - super(client, contractAddress); - this.client = client; - this.sender = sender; - this.contractAddress = contractAddress; - this.enrollValidator = this.enrollValidator.bind(this); - this.enrollValidators = this.enrollValidators.bind(this); - this.unenrollValidator = this.unenrollValidator.bind(this); - this.setThreshold = this.setThreshold.bind(this); - this.setThresholds = this.setThresholds.bind(this); - this.initTransferOwnership = this.initTransferOwnership.bind(this); - this.finishTransferOwnership = this.finishTransferOwnership.bind(this); - this.revokeTransferOwnership = this.revokeTransferOwnership.bind(this); - } - - enrollValidator = async ({ - set - }: { - set: ValidatorSet; - }, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { - return await this.client.execute(this.sender, this.contractAddress, { - enroll_validator: { - set - } - }, fee, memo, funds); - }; - enrollValidators = async ({ - set - }: { - set: ValidatorSet[]; - }, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { - return await this.client.execute(this.sender, this.contractAddress, { - enroll_validators: { - set - } - }, fee, memo, funds); - }; - unenrollValidator = async ({ - domain, - validator - }: { - domain: number; - validator: string; - }, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { - return await this.client.execute(this.sender, this.contractAddress, { - unenroll_validator: { - domain, - validator - } - }, fee, memo, funds); - }; - setThreshold = async ({ - set - }: { - set: ThresholdSet; - }, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { - return await this.client.execute(this.sender, this.contractAddress, { - set_threshold: { - set - } - }, fee, memo, funds); - }; - setThresholds = async ({ - set - }: { - set: ThresholdSet[]; - }, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { - return await this.client.execute(this.sender, this.contractAddress, { - set_thresholds: { - set - } - }, fee, memo, funds); - }; - initTransferOwnership = async ({ - owner - }: { - owner: string; - }, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { - return await this.client.execute(this.sender, this.contractAddress, { - init_transfer_ownership: { - owner - } - }, fee, memo, funds); - }; - finishTransferOwnership = async (fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { - return await this.client.execute(this.sender, this.contractAddress, { - finish_transfer_ownership: {} - }, fee, memo, funds); - }; - revokeTransferOwnership = async (fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { - return await this.client.execute(this.sender, this.contractAddress, { - revoke_transfer_ownership: {} - }, fee, memo, funds); - }; -} \ No newline at end of file diff --git a/ts/sdk/src/contracts/IsmMultisig.message-composer.ts b/ts/sdk/src/contracts/IsmMultisig.message-composer.ts deleted file mode 100644 index fb0eedf6..00000000 --- a/ts/sdk/src/contracts/IsmMultisig.message-composer.ts +++ /dev/null @@ -1,210 +0,0 @@ -/** -* This file was automatically generated by @cosmwasm/ts-codegen@0.16.5. -* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, -* and run the @cosmwasm/ts-codegen generate command to regenerate this file. -*/ - -import { Coin } from "@cosmjs/amino"; -import { MsgExecuteContractEncodeObject } from "cosmwasm"; -import { MsgExecuteContract } from "cosmjs-types/cosmwasm/wasm/v1/tx"; -import { toUtf8 } from "@cosmjs/encoding"; -import { InstantiateMsg, ExecuteMsg, Binary, ValidatorSet, ThresholdSet, QueryMsg, HexBinary, MigrateMsg, ISMType, ModuleTypeResponse, VerifyResponse } from "./IsmMultisig.types"; -export interface IsmMultisigMessage { - contractAddress: string; - sender: string; - enrollValidator: ({ - set - }: { - set: ValidatorSet; - }, funds?: Coin[]) => MsgExecuteContractEncodeObject; - enrollValidators: ({ - set - }: { - set: ValidatorSet[]; - }, funds?: Coin[]) => MsgExecuteContractEncodeObject; - unenrollValidator: ({ - domain, - validator - }: { - domain: number; - validator: string; - }, funds?: Coin[]) => MsgExecuteContractEncodeObject; - setThreshold: ({ - set - }: { - set: ThresholdSet; - }, funds?: Coin[]) => MsgExecuteContractEncodeObject; - setThresholds: ({ - set - }: { - set: ThresholdSet[]; - }, funds?: Coin[]) => MsgExecuteContractEncodeObject; - initTransferOwnership: ({ - owner - }: { - owner: string; - }, funds?: Coin[]) => MsgExecuteContractEncodeObject; - finishTransferOwnership: (funds?: Coin[]) => MsgExecuteContractEncodeObject; - revokeTransferOwnership: (funds?: Coin[]) => MsgExecuteContractEncodeObject; -} -export class IsmMultisigMessageComposer implements IsmMultisigMessage { - sender: string; - contractAddress: string; - - constructor(sender: string, contractAddress: string) { - this.sender = sender; - this.contractAddress = contractAddress; - this.enrollValidator = this.enrollValidator.bind(this); - this.enrollValidators = this.enrollValidators.bind(this); - this.unenrollValidator = this.unenrollValidator.bind(this); - this.setThreshold = this.setThreshold.bind(this); - this.setThresholds = this.setThresholds.bind(this); - this.initTransferOwnership = this.initTransferOwnership.bind(this); - this.finishTransferOwnership = this.finishTransferOwnership.bind(this); - this.revokeTransferOwnership = this.revokeTransferOwnership.bind(this); - } - - enrollValidator = ({ - set - }: { - set: ValidatorSet; - }, funds?: Coin[]): MsgExecuteContractEncodeObject => { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract", - value: MsgExecuteContract.fromPartial({ - sender: this.sender, - contract: this.contractAddress, - msg: toUtf8(JSON.stringify({ - enroll_validator: { - set - } - })), - funds - }) - }; - }; - enrollValidators = ({ - set - }: { - set: ValidatorSet[]; - }, funds?: Coin[]): MsgExecuteContractEncodeObject => { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract", - value: MsgExecuteContract.fromPartial({ - sender: this.sender, - contract: this.contractAddress, - msg: toUtf8(JSON.stringify({ - enroll_validators: { - set - } - })), - funds - }) - }; - }; - unenrollValidator = ({ - domain, - validator - }: { - domain: number; - validator: string; - }, funds?: Coin[]): MsgExecuteContractEncodeObject => { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract", - value: MsgExecuteContract.fromPartial({ - sender: this.sender, - contract: this.contractAddress, - msg: toUtf8(JSON.stringify({ - unenroll_validator: { - domain, - validator - } - })), - funds - }) - }; - }; - setThreshold = ({ - set - }: { - set: ThresholdSet; - }, funds?: Coin[]): MsgExecuteContractEncodeObject => { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract", - value: MsgExecuteContract.fromPartial({ - sender: this.sender, - contract: this.contractAddress, - msg: toUtf8(JSON.stringify({ - set_threshold: { - set - } - })), - funds - }) - }; - }; - setThresholds = ({ - set - }: { - set: ThresholdSet[]; - }, funds?: Coin[]): MsgExecuteContractEncodeObject => { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract", - value: MsgExecuteContract.fromPartial({ - sender: this.sender, - contract: this.contractAddress, - msg: toUtf8(JSON.stringify({ - set_thresholds: { - set - } - })), - funds - }) - }; - }; - initTransferOwnership = ({ - owner - }: { - owner: string; - }, funds?: Coin[]): MsgExecuteContractEncodeObject => { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract", - value: MsgExecuteContract.fromPartial({ - sender: this.sender, - contract: this.contractAddress, - msg: toUtf8(JSON.stringify({ - init_transfer_ownership: { - owner - } - })), - funds - }) - }; - }; - finishTransferOwnership = (funds?: Coin[]): MsgExecuteContractEncodeObject => { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract", - value: MsgExecuteContract.fromPartial({ - sender: this.sender, - contract: this.contractAddress, - msg: toUtf8(JSON.stringify({ - finish_transfer_ownership: {} - })), - funds - }) - }; - }; - revokeTransferOwnership = (funds?: Coin[]): MsgExecuteContractEncodeObject => { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract", - value: MsgExecuteContract.fromPartial({ - sender: this.sender, - contract: this.contractAddress, - msg: toUtf8(JSON.stringify({ - revoke_transfer_ownership: {} - })), - funds - }) - }; - }; -} \ No newline at end of file diff --git a/ts/sdk/src/contracts/IsmMultisig.types.ts b/ts/sdk/src/contracts/IsmMultisig.types.ts deleted file mode 100644 index 9ae1d242..00000000 --- a/ts/sdk/src/contracts/IsmMultisig.types.ts +++ /dev/null @@ -1,67 +0,0 @@ -/** -* This file was automatically generated by @cosmwasm/ts-codegen@0.16.5. -* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, -* and run the @cosmwasm/ts-codegen generate command to regenerate this file. -*/ - -export interface InstantiateMsg { - chain_hpl: string; - owner: string; -} -export type ExecuteMsg = { - enroll_validator: { - set: ValidatorSet; - }; -} | { - enroll_validators: { - set: ValidatorSet[]; - }; -} | { - unenroll_validator: { - domain: number; - validator: string; - }; -} | { - set_threshold: { - set: ThresholdSet; - }; -} | { - set_thresholds: { - set: ThresholdSet[]; - }; -} | { - init_transfer_ownership: { - owner: string; - }; -} | { - finish_transfer_ownership: []; -} | { - revoke_transfer_ownership: []; -}; -export type Binary = string; -export interface ValidatorSet { - domain: number; - validator: string; - validator_pubkey: Binary; -} -export interface ThresholdSet { - domain: number; - threshold: number; -} -export type QueryMsg = { - module_type: {}; -} | { - verify: { - message: HexBinary; - metadata: HexBinary; - }; -}; -export type HexBinary = string; -export interface MigrateMsg {} -export type ISMType = "unused" | "routing" | "aggregation" | "legacy_multisig" | "multisig" | "owned"; -export interface ModuleTypeResponse { - type: ISMType; -} -export interface VerifyResponse { - verified: boolean; -} \ No newline at end of file diff --git a/ts/sdk/src/contracts/Mailbox.client.ts b/ts/sdk/src/contracts/Mailbox.client.ts deleted file mode 100644 index c040af09..00000000 --- a/ts/sdk/src/contracts/Mailbox.client.ts +++ /dev/null @@ -1,154 +0,0 @@ -/** -* This file was automatically generated by @cosmwasm/ts-codegen@0.16.5. -* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, -* and run the @cosmwasm/ts-codegen generate command to regenerate this file. -*/ - -import { CosmWasmClient, SigningCosmWasmClient, ExecuteResult } from "@cosmjs/cosmwasm-stargate"; -import { Coin, StdFee } from "@cosmjs/amino"; -import { InstantiateMsg, ExecuteMsg, HexBinary, QueryMsg, MigrateMsg, CheckPointResponse, CountResponse, NonceResponse, PausedResponse, RootResponse } from "./Mailbox.types"; -export interface MailboxReadOnlyInterface { - contractAddress: string; - root: () => Promise; - count: () => Promise; - checkPoint: () => Promise; - paused: () => Promise; - nonce: () => Promise; -} -export class MailboxQueryClient implements MailboxReadOnlyInterface { - client: CosmWasmClient; - contractAddress: string; - - constructor(client: CosmWasmClient, contractAddress: string) { - this.client = client; - this.contractAddress = contractAddress; - this.root = this.root.bind(this); - this.count = this.count.bind(this); - this.checkPoint = this.checkPoint.bind(this); - this.paused = this.paused.bind(this); - this.nonce = this.nonce.bind(this); - } - - root = async (): Promise => { - return this.client.queryContractSmart(this.contractAddress, { - root: {} - }); - }; - count = async (): Promise => { - return this.client.queryContractSmart(this.contractAddress, { - count: {} - }); - }; - checkPoint = async (): Promise => { - return this.client.queryContractSmart(this.contractAddress, { - check_point: {} - }); - }; - paused = async (): Promise => { - return this.client.queryContractSmart(this.contractAddress, { - paused: {} - }); - }; - nonce = async (): Promise => { - return this.client.queryContractSmart(this.contractAddress, { - nonce: {} - }); - }; -} -export interface MailboxInterface extends MailboxReadOnlyInterface { - contractAddress: string; - sender: string; - pause: (fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; - unpause: (fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; - setDefaultISM: ({ - ism - }: { - ism: string; - }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; - dispatch: ({ - destDomain, - msgBody, - recipientAddr - }: { - destDomain: number; - msgBody: HexBinary; - recipientAddr: HexBinary; - }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; - process: ({ - message, - metadata - }: { - message: HexBinary; - metadata: HexBinary; - }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; -} -export class MailboxClient extends MailboxQueryClient implements MailboxInterface { - client: SigningCosmWasmClient; - sender: string; - contractAddress: string; - - constructor(client: SigningCosmWasmClient, sender: string, contractAddress: string) { - super(client, contractAddress); - this.client = client; - this.sender = sender; - this.contractAddress = contractAddress; - this.pause = this.pause.bind(this); - this.unpause = this.unpause.bind(this); - this.setDefaultISM = this.setDefaultISM.bind(this); - this.dispatch = this.dispatch.bind(this); - this.process = this.process.bind(this); - } - - pause = async (fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { - return await this.client.execute(this.sender, this.contractAddress, { - pause: {} - }, fee, memo, funds); - }; - unpause = async (fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { - return await this.client.execute(this.sender, this.contractAddress, { - unpause: {} - }, fee, memo, funds); - }; - setDefaultISM = async ({ - ism - }: { - ism: string; - }, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { - return await this.client.execute(this.sender, this.contractAddress, { - set_default_i_s_m: { - ism - } - }, fee, memo, funds); - }; - dispatch = async ({ - destDomain, - msgBody, - recipientAddr - }: { - destDomain: number; - msgBody: HexBinary; - recipientAddr: HexBinary; - }, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { - return await this.client.execute(this.sender, this.contractAddress, { - dispatch: { - dest_domain: destDomain, - msg_body: msgBody, - recipient_addr: recipientAddr - } - }, fee, memo, funds); - }; - process = async ({ - message, - metadata - }: { - message: HexBinary; - metadata: HexBinary; - }, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { - return await this.client.execute(this.sender, this.contractAddress, { - process: { - message, - metadata - } - }, fee, memo, funds); - }; -} \ No newline at end of file diff --git a/ts/sdk/src/contracts/Mailbox.message-composer.ts b/ts/sdk/src/contracts/Mailbox.message-composer.ts deleted file mode 100644 index f99faf24..00000000 --- a/ts/sdk/src/contracts/Mailbox.message-composer.ts +++ /dev/null @@ -1,145 +0,0 @@ -/** -* This file was automatically generated by @cosmwasm/ts-codegen@0.16.5. -* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, -* and run the @cosmwasm/ts-codegen generate command to regenerate this file. -*/ - -import { Coin } from "@cosmjs/amino"; -import { MsgExecuteContractEncodeObject } from "cosmwasm"; -import { MsgExecuteContract } from "cosmjs-types/cosmwasm/wasm/v1/tx"; -import { toUtf8 } from "@cosmjs/encoding"; -import { InstantiateMsg, ExecuteMsg, HexBinary, QueryMsg, MigrateMsg, CheckPointResponse, CountResponse, NonceResponse, PausedResponse, RootResponse } from "./Mailbox.types"; -export interface MailboxMessage { - contractAddress: string; - sender: string; - pause: (funds?: Coin[]) => MsgExecuteContractEncodeObject; - unpause: (funds?: Coin[]) => MsgExecuteContractEncodeObject; - setDefaultISM: ({ - ism - }: { - ism: string; - }, funds?: Coin[]) => MsgExecuteContractEncodeObject; - dispatch: ({ - destDomain, - msgBody, - recipientAddr - }: { - destDomain: number; - msgBody: HexBinary; - recipientAddr: HexBinary; - }, funds?: Coin[]) => MsgExecuteContractEncodeObject; - process: ({ - message, - metadata - }: { - message: HexBinary; - metadata: HexBinary; - }, funds?: Coin[]) => MsgExecuteContractEncodeObject; -} -export class MailboxMessageComposer implements MailboxMessage { - sender: string; - contractAddress: string; - - constructor(sender: string, contractAddress: string) { - this.sender = sender; - this.contractAddress = contractAddress; - this.pause = this.pause.bind(this); - this.unpause = this.unpause.bind(this); - this.setDefaultISM = this.setDefaultISM.bind(this); - this.dispatch = this.dispatch.bind(this); - this.process = this.process.bind(this); - } - - pause = (funds?: Coin[]): MsgExecuteContractEncodeObject => { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract", - value: MsgExecuteContract.fromPartial({ - sender: this.sender, - contract: this.contractAddress, - msg: toUtf8(JSON.stringify({ - pause: {} - })), - funds - }) - }; - }; - unpause = (funds?: Coin[]): MsgExecuteContractEncodeObject => { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract", - value: MsgExecuteContract.fromPartial({ - sender: this.sender, - contract: this.contractAddress, - msg: toUtf8(JSON.stringify({ - unpause: {} - })), - funds - }) - }; - }; - setDefaultISM = ({ - ism - }: { - ism: string; - }, funds?: Coin[]): MsgExecuteContractEncodeObject => { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract", - value: MsgExecuteContract.fromPartial({ - sender: this.sender, - contract: this.contractAddress, - msg: toUtf8(JSON.stringify({ - set_default_i_s_m: { - ism - } - })), - funds - }) - }; - }; - dispatch = ({ - destDomain, - msgBody, - recipientAddr - }: { - destDomain: number; - msgBody: HexBinary; - recipientAddr: HexBinary; - }, funds?: Coin[]): MsgExecuteContractEncodeObject => { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract", - value: MsgExecuteContract.fromPartial({ - sender: this.sender, - contract: this.contractAddress, - msg: toUtf8(JSON.stringify({ - dispatch: { - dest_domain: destDomain, - msg_body: msgBody, - recipient_addr: recipientAddr - } - })), - funds - }) - }; - }; - process = ({ - message, - metadata - }: { - message: HexBinary; - metadata: HexBinary; - }, funds?: Coin[]): MsgExecuteContractEncodeObject => { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract", - value: MsgExecuteContract.fromPartial({ - sender: this.sender, - contract: this.contractAddress, - msg: toUtf8(JSON.stringify({ - process: { - message, - metadata - } - })), - funds - }) - }; - }; -} \ No newline at end of file diff --git a/ts/sdk/src/contracts/Mailbox.types.ts b/ts/sdk/src/contracts/Mailbox.types.ts deleted file mode 100644 index 7a7d5d98..00000000 --- a/ts/sdk/src/contracts/Mailbox.types.ts +++ /dev/null @@ -1,59 +0,0 @@ -/** -* This file was automatically generated by @cosmwasm/ts-codegen@0.16.5. -* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, -* and run the @cosmwasm/ts-codegen generate command to regenerate this file. -*/ - -export interface InstantiateMsg { - default_ism: string; - owner: string; -} -export type ExecuteMsg = { - pause: {}; -} | { - unpause: {}; -} | { - set_default_i_s_m: { - ism: string; - }; -} | { - dispatch: { - dest_domain: number; - msg_body: HexBinary; - recipient_addr: HexBinary; - }; -} | { - process: { - message: HexBinary; - metadata: HexBinary; - }; -}; -export type HexBinary = string; -export type QueryMsg = { - root: {}; -} | { - count: {}; -} | { - check_point: {}; -} | { - paused: {}; -} | { - nonce: {}; -}; -export interface MigrateMsg {} -export interface CheckPointResponse { - count: number; - root: HexBinary; -} -export interface CountResponse { - count: number; -} -export interface NonceResponse { - nonce: number; -} -export interface PausedResponse { - paused: boolean; -} -export interface RootResponse { - root: HexBinary; -} \ No newline at end of file diff --git a/ts/sdk/src/contracts/Multicall.client.ts b/ts/sdk/src/contracts/Multicall.client.ts deleted file mode 100644 index f0f9556e..00000000 --- a/ts/sdk/src/contracts/Multicall.client.ts +++ /dev/null @@ -1,100 +0,0 @@ -/** -* This file was automatically generated by @cosmwasm/ts-codegen@0.16.5. -* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, -* and run the @cosmwasm/ts-codegen generate command to regenerate this file. -*/ - -import { CosmWasmClient, SigningCosmWasmClient, ExecuteResult } from "@cosmjs/cosmwasm-stargate"; -import { StdFee } from "@cosmjs/amino"; -import { InstantiateMsg, ExecuteMsg, CosmosMsgForEmpty, BankMsg, Uint128, StakingMsg, DistributionMsg, Binary, IbcMsg, Timestamp, Uint64, WasmMsg, GovMsg, VoteOption, HexBinary, Coin, Empty, IbcTimeout, IbcTimeoutBlock, HandleMsg, QueryMsg, StaticCall, MigrateMsg, AggregateResponse } from "./Multicall.types"; -export interface MulticallReadOnlyInterface { - contractAddress: string; - aggregateStatic: ({ - req - }: { - req: StaticCall[]; - }) => Promise; -} -export class MulticallQueryClient implements MulticallReadOnlyInterface { - client: CosmWasmClient; - contractAddress: string; - - constructor(client: CosmWasmClient, contractAddress: string) { - this.client = client; - this.contractAddress = contractAddress; - this.aggregateStatic = this.aggregateStatic.bind(this); - } - - aggregateStatic = async ({ - req - }: { - req: StaticCall[]; - }): Promise => { - return this.client.queryContractSmart(this.contractAddress, { - aggregate_static: { - req - } - }); - }; -} -export interface MulticallInterface extends MulticallReadOnlyInterface { - contractAddress: string; - sender: string; - aggregate: ({ - req - }: { - req: CosmosMsgForEmpty[]; - }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; - handle: ({ - body, - origin, - sender - }: { - body: HexBinary; - origin: number; - sender: HexBinary; - }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; -} -export class MulticallClient extends MulticallQueryClient implements MulticallInterface { - client: SigningCosmWasmClient; - sender: string; - contractAddress: string; - - constructor(client: SigningCosmWasmClient, sender: string, contractAddress: string) { - super(client, contractAddress); - this.client = client; - this.sender = sender; - this.contractAddress = contractAddress; - this.aggregate = this.aggregate.bind(this); - this.handle = this.handle.bind(this); - } - - aggregate = async ({ - req - }: { - req: CosmosMsgForEmpty[]; - }, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { - return await this.client.execute(this.sender, this.contractAddress, { - aggregate: { - req - } - }, fee, memo, funds); - }; - handle = async ({ - body, - origin, - sender - }: { - body: HexBinary; - origin: number; - sender: HexBinary; - }, fee: number | StdFee | "auto" = "auto", memo?: string, funds?: Coin[]): Promise => { - return await this.client.execute(this.sender, this.contractAddress, { - handle: { - body, - origin, - sender - } - }, fee, memo, funds); - }; -} \ No newline at end of file diff --git a/ts/sdk/src/contracts/Multicall.message-composer.ts b/ts/sdk/src/contracts/Multicall.message-composer.ts deleted file mode 100644 index ae170ff7..00000000 --- a/ts/sdk/src/contracts/Multicall.message-composer.ts +++ /dev/null @@ -1,84 +0,0 @@ -/** -* This file was automatically generated by @cosmwasm/ts-codegen@0.16.5. -* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, -* and run the @cosmwasm/ts-codegen generate command to regenerate this file. -*/ - -import { MsgExecuteContractEncodeObject } from "cosmwasm"; -import { MsgExecuteContract } from "cosmjs-types/cosmwasm/wasm/v1/tx"; -import { toUtf8 } from "@cosmjs/encoding"; -import { InstantiateMsg, ExecuteMsg, CosmosMsgForEmpty, BankMsg, Uint128, StakingMsg, DistributionMsg, Binary, IbcMsg, Timestamp, Uint64, WasmMsg, GovMsg, VoteOption, HexBinary, Coin, Empty, IbcTimeout, IbcTimeoutBlock, HandleMsg, QueryMsg, StaticCall, MigrateMsg, AggregateResponse } from "./Multicall.types"; -export interface MulticallMessage { - contractAddress: string; - sender: string; - aggregate: ({ - req - }: { - req: CosmosMsgForEmpty[]; - }, funds?: Coin[]) => MsgExecuteContractEncodeObject; - handle: ({ - body, - origin, - sender - }: { - body: HexBinary; - origin: number; - sender: HexBinary; - }, funds?: Coin[]) => MsgExecuteContractEncodeObject; -} -export class MulticallMessageComposer implements MulticallMessage { - sender: string; - contractAddress: string; - - constructor(sender: string, contractAddress: string) { - this.sender = sender; - this.contractAddress = contractAddress; - this.aggregate = this.aggregate.bind(this); - this.handle = this.handle.bind(this); - } - - aggregate = ({ - req - }: { - req: CosmosMsgForEmpty[]; - }, funds?: Coin[]): MsgExecuteContractEncodeObject => { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract", - value: MsgExecuteContract.fromPartial({ - sender: this.sender, - contract: this.contractAddress, - msg: toUtf8(JSON.stringify({ - aggregate: { - req - } - })), - funds - }) - }; - }; - handle = ({ - body, - origin, - sender - }: { - body: HexBinary; - origin: number; - sender: HexBinary; - }, funds?: Coin[]): MsgExecuteContractEncodeObject => { - return { - typeUrl: "/cosmwasm.wasm.v1.MsgExecuteContract", - value: MsgExecuteContract.fromPartial({ - sender: this.sender, - contract: this.contractAddress, - msg: toUtf8(JSON.stringify({ - handle: { - body, - origin, - sender - } - })), - funds - }) - }; - }; -} \ No newline at end of file diff --git a/ts/sdk/src/contracts/Multicall.types.ts b/ts/sdk/src/contracts/Multicall.types.ts deleted file mode 100644 index c2343d5f..00000000 --- a/ts/sdk/src/contracts/Multicall.types.ts +++ /dev/null @@ -1,186 +0,0 @@ -/** -* This file was automatically generated by @cosmwasm/ts-codegen@0.16.5. -* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, -* and run the @cosmwasm/ts-codegen generate command to regenerate this file. -*/ - -export interface InstantiateMsg { - mailbox: string; - owner: string; -} -export type ExecuteMsg = { - aggregate: { - req: CosmosMsgForEmpty[]; - }; -} | { - handle: HandleMsg; -}; -export type CosmosMsgForEmpty = { - bank: BankMsg; -} | { - custom: Empty; -} | { - staking: StakingMsg; -} | { - distribution: DistributionMsg; -} | { - stargate: { - type_url: string; - value: Binary; - [k: string]: unknown; - }; -} | { - ibc: IbcMsg; -} | { - wasm: WasmMsg; -} | { - gov: GovMsg; -}; -export type BankMsg = { - send: { - amount: Coin[]; - to_address: string; - [k: string]: unknown; - }; -} | { - burn: { - amount: Coin[]; - [k: string]: unknown; - }; -}; -export type Uint128 = string; -export type StakingMsg = { - delegate: { - amount: Coin; - validator: string; - [k: string]: unknown; - }; -} | { - undelegate: { - amount: Coin; - validator: string; - [k: string]: unknown; - }; -} | { - redelegate: { - amount: Coin; - dst_validator: string; - src_validator: string; - [k: string]: unknown; - }; -}; -export type DistributionMsg = { - set_withdraw_address: { - address: string; - [k: string]: unknown; - }; -} | { - withdraw_delegator_reward: { - validator: string; - [k: string]: unknown; - }; -}; -export type Binary = string; -export type IbcMsg = { - transfer: { - amount: Coin; - channel_id: string; - timeout: IbcTimeout; - to_address: string; - [k: string]: unknown; - }; -} | { - send_packet: { - channel_id: string; - data: Binary; - timeout: IbcTimeout; - [k: string]: unknown; - }; -} | { - close_channel: { - channel_id: string; - [k: string]: unknown; - }; -}; -export type Timestamp = Uint64; -export type Uint64 = string; -export type WasmMsg = { - execute: { - contract_addr: string; - funds: Coin[]; - msg: Binary; - [k: string]: unknown; - }; -} | { - instantiate: { - admin?: string | null; - code_id: number; - funds: Coin[]; - label: string; - msg: Binary; - [k: string]: unknown; - }; -} | { - migrate: { - contract_addr: string; - msg: Binary; - new_code_id: number; - [k: string]: unknown; - }; -} | { - update_admin: { - admin: string; - contract_addr: string; - [k: string]: unknown; - }; -} | { - clear_admin: { - contract_addr: string; - [k: string]: unknown; - }; -}; -export type GovMsg = { - vote: { - proposal_id: number; - vote: VoteOption; - [k: string]: unknown; - }; -}; -export type VoteOption = "yes" | "no" | "abstain" | "no_with_veto"; -export type HexBinary = string; -export interface Coin { - amount: Uint128; - denom: string; - [k: string]: unknown; -} -export interface Empty { - [k: string]: unknown; -} -export interface IbcTimeout { - block?: IbcTimeoutBlock | null; - timestamp?: Timestamp | null; - [k: string]: unknown; -} -export interface IbcTimeoutBlock { - height: number; - revision: number; - [k: string]: unknown; -} -export interface HandleMsg { - body: HexBinary; - origin: number; - sender: HexBinary; -} -export type QueryMsg = { - aggregate_static: { - req: StaticCall[]; - }; -}; -export interface StaticCall { - data: Binary; - path: string; -} -export interface MigrateMsg {} -export interface AggregateResponse { - resp: Binary[]; -} \ No newline at end of file diff --git a/ts/sdk/src/contracts/index.ts b/ts/sdk/src/contracts/index.ts deleted file mode 100644 index a678f866..00000000 --- a/ts/sdk/src/contracts/index.ts +++ /dev/null @@ -1,36 +0,0 @@ -/** -* This file was automatically generated by @cosmwasm/ts-codegen@0.16.5. -* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, -* and run the @cosmwasm/ts-codegen generate command to regenerate this file. -*/ - -import * as _0 from "./Hub.types"; -import * as _1 from "./Hub.client"; -import * as _2 from "./Hub.message-composer"; -import * as _3 from "./IsmMultisig.types"; -import * as _4 from "./IsmMultisig.client"; -import * as _5 from "./IsmMultisig.message-composer"; -import * as _6 from "./Mailbox.types"; -import * as _7 from "./Mailbox.client"; -import * as _8 from "./Mailbox.message-composer"; -import * as _9 from "./Multicall.types"; -import * as _10 from "./Multicall.client"; -import * as _11 from "./Multicall.message-composer"; -export namespace contracts { - export const Hub = { ..._0, - ..._1, - ..._2 - }; - export const IsmMultisig = { ..._3, - ..._4, - ..._5 - }; - export const Mailbox = { ..._6, - ..._7, - ..._8 - }; - export const Multicall = { ..._9, - ..._10, - ..._11 - }; -} \ No newline at end of file diff --git a/ts/sdk/src/index.ts b/ts/sdk/src/index.ts deleted file mode 100644 index 4b246104..00000000 --- a/ts/sdk/src/index.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { contracts } from "./contracts"; - -export default contracts; diff --git a/ts/sdk/tsconfig.bundle.json b/ts/sdk/tsconfig.bundle.json deleted file mode 100644 index 7c08eb76..00000000 --- a/ts/sdk/tsconfig.bundle.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "extends": "./tsconfig.json", - "compilerOptions": { - // Transpilation settings. - "module": "ES2020", - "target": "ES5", - - // Output settings. - "charset": "utf-8", - "newLine": "LF", - "sourceMap": true, - - // Type declaration settings. - "declaration": true, - "declarationDir": "types/", - "declarationMap": true - }, - "exclude": ["./src/**/*.test.ts", "./src/**/*.test.tsx"] -} diff --git a/ts/sdk/tsconfig.json b/ts/sdk/tsconfig.json deleted file mode 100644 index 8da3d7ef..00000000 --- a/ts/sdk/tsconfig.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "compilerOptions": { - // React.js JSX settings. - "jsx": "react", - "jsxFactory": "React.createElement", - "jsxFragmentFactory": "React.Fragment", - - // Module settings. - "allowSyntheticDefaultImports": true, - "esModuleInterop": true, - "isolatedModules": true, - "moduleResolution": "node", - "resolveJsonModule": true, - - // Strictness and quality settings. - "alwaysStrict": true, - "exactOptionalPropertyTypes": true, - "forceConsistentCasingInFileNames": true, - // "importsNotUsedAsValues": "error", - "noFallthroughCasesInSwitch": true, - // "noImplicitOverride": true, - "noImplicitReturns": true, - "noPropertyAccessFromIndexSignature": true, - "noUncheckedIndexedAccess": true, - "noUnusedLocals": false, // temp fix for current ts-codegen version that does not optimize imports - "noUnusedParameters": true, - "strict": true, - - // Type-checking settings. - "lib": ["ES2020"], - "skipDefaultLibCheck": true, - "skipLibCheck": true, - "types": ["jest"] - }, - "include": ["./src/**/*.ts", "./src/**/*.tsx"], - - // ts-node stuffs - "ts-node": { - "swc": true - } -} diff --git a/ts/sdk/typedoc.json b/ts/sdk/typedoc.json deleted file mode 100644 index be67ee9b..00000000 --- a/ts/sdk/typedoc.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "out": "./docs", - "name": "cw-hyperlane", - "theme": "markdown", - "readme": "none", - "tsconfig": "./tsconfig.bundle.json" -} \ No newline at end of file diff --git a/ts/sdk/types/contracts/Hub.client.d.ts b/ts/sdk/types/contracts/Hub.client.d.ts deleted file mode 100644 index 4aaf8ad2..00000000 --- a/ts/sdk/types/contracts/Hub.client.d.ts +++ /dev/null @@ -1,39 +0,0 @@ -/** -* This file was automatically generated by @cosmwasm/ts-codegen@0.16.5. -* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, -* and run the @cosmwasm/ts-codegen generate command to regenerate this file. -*/ -import { CosmWasmClient, SigningCosmWasmClient, ExecuteResult } from "@cosmjs/cosmwasm-stargate"; -import { Coin, StdFee } from "@cosmjs/amino"; -import { OriginDomainResponse } from "./Hub.types"; -export interface HubReadOnlyInterface { - contractAddress: string; - originDomain: () => Promise; -} -export declare class HubQueryClient implements HubReadOnlyInterface { - client: CosmWasmClient; - contractAddress: string; - constructor(client: CosmWasmClient, contractAddress: string); - originDomain: () => Promise; -} -export interface HubInterface extends HubReadOnlyInterface { - contractAddress: string; - sender: string; - instantiate: ({ defaultIsm, owner }: { - defaultIsm: string; - owner: string; - }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; - migrate: (fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; -} -export declare class HubClient extends HubQueryClient implements HubInterface { - client: SigningCosmWasmClient; - sender: string; - contractAddress: string; - constructor(client: SigningCosmWasmClient, sender: string, contractAddress: string); - instantiate: ({ defaultIsm, owner }: { - defaultIsm: string; - owner: string; - }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; - migrate: (fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; -} -//# sourceMappingURL=Hub.client.d.ts.map \ No newline at end of file diff --git a/ts/sdk/types/contracts/Hub.client.d.ts.map b/ts/sdk/types/contracts/Hub.client.d.ts.map deleted file mode 100644 index a05649b3..00000000 --- a/ts/sdk/types/contracts/Hub.client.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Hub.client.d.ts","sourceRoot":"","sources":["../../src/contracts/Hub.client.ts"],"names":[],"mappings":"AAAA;;;;EAIE;AAEF,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AACjG,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAoD,oBAAoB,EAAE,MAAM,aAAa,CAAC;AACrG,MAAM,WAAW,oBAAoB;IACnC,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,EAAE,MAAM,OAAO,CAAC,oBAAoB,CAAC,CAAC;CACnD;AACD,qBAAa,cAAe,YAAW,oBAAoB;IACzD,MAAM,EAAE,cAAc,CAAC;I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d.ts deleted file mode 100644 index b76720d7..00000000 --- a/ts/sdk/types/contracts/Hub.message-composer.d.ts +++ /dev/null @@ -1,27 +0,0 @@ -/** -* This file was automatically generated by @cosmwasm/ts-codegen@0.16.5. -* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, -* and run the @cosmwasm/ts-codegen generate command to regenerate this file. -*/ -import { Coin } from "@cosmjs/amino"; -import { MsgExecuteContractEncodeObject } from "cosmwasm"; -export interface HubMessage { - contractAddress: string; - sender: string; - instantiate: ({ defaultIsm, owner }: { - defaultIsm: string; - owner: string; - }, funds?: Coin[]) => MsgExecuteContractEncodeObject; - migrate: (funds?: Coin[]) => MsgExecuteContractEncodeObject; -} -export declare class HubMessageComposer implements HubMessage { - sender: string; - contractAddress: string; - constructor(sender: string, contractAddress: string); - instantiate: ({ defaultIsm, owner }: { - defaultIsm: string; - owner: string; - }, funds?: Coin[]) => MsgExecuteContractEncodeObject; - migrate: (funds?: Coin[]) => MsgExecuteContractEncodeObject; -} -//# sourceMappingURL=Hub.message-composer.d.ts.map \ No newline at end of file diff --git a/ts/sdk/types/contracts/Hub.message-composer.d.ts.map b/ts/sdk/types/contracts/Hub.message-composer.d.ts.map deleted file mode 100644 index 24a9a23b..00000000 --- a/ts/sdk/types/contracts/Hub.message-composer.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Hub.message-composer.d.ts","sourceRoot":"","sources":["../../src/contracts/Hub.message-composer.ts"],"names":[],"mappings":"AAAA;;;;EAIE;AAEF,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,8BAA8B,EAAE,MAAM,UAAU,CAAC;AAI1D,MAAM,WAAW,UAAU;IACzB,eAAe,EAAE,MAAM,CAAC;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,CAAC,EACZ,UAAU,EACV,KAAK,EACN,EAAE;QACD,UAAU,EAAE,MAAM,CAAC;QACnB,KAAK,EAAE,MAAM,CAAC;KACf,EAAE,KAAK,CAAC,EAAE,IAAI,EAAE,KAAK,8BAA8B,CAAC;IACrD,OAAO,EAAE,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE,KAAK,8BAA8B,CAAC;CAC7D;AACD,qBAAa,kBAAmB,YAAW,UAAU;IACnD,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,MAAM,CAAC;gBAEZ,MAAM,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM;IAOnD,WAAW;oBAIG,MAAM;eACX,MAAM;eACJ,IAAI,EAAE,KAAG,8BAA8B,CAehD;IACF,OAAO,WAAY,IAAI,EAAE,KAAG,8BAA8B,CAYxD;CACH"} \ No newline at end of file diff --git a/ts/sdk/types/contracts/Hub.types.d.ts b/ts/sdk/types/contracts/Hub.types.d.ts deleted file mode 100644 index d560a729..00000000 --- a/ts/sdk/types/contracts/Hub.types.d.ts +++ /dev/null @@ -1,26 +0,0 @@ -/** -* This file was automatically generated by @cosmwasm/ts-codegen@0.16.5. -* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, -* and run the @cosmwasm/ts-codegen generate command to regenerate this file. -*/ -export interface InstantiateMsg { - mailbox_code: number; - origin_domain: number; -} -export type ExecuteMsg = { - instantiate: { - default_ism: string; - owner: string; - }; -} | { - migrate: {}; -}; -export type QueryMsg = { - origin_domain: {}; -}; -export interface MigrateMsg { -} -export interface OriginDomainResponse { - domain: number; -} -//# sourceMappingURL=Hub.types.d.ts.map \ No newline at end of file diff --git a/ts/sdk/types/contracts/Hub.types.d.ts.map b/ts/sdk/types/contracts/Hub.types.d.ts.map deleted file mode 100644 index d877c8b0..00000000 --- a/ts/sdk/types/contracts/Hub.types.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Hub.types.d.ts","sourceRoot":"","sources":["../../src/contracts/Hub.types.ts"],"names":[],"mappings":"AAAA;;;;EAIE;AAEF,MAAM,WAAW,cAAc;IAC7B,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;CACvB;AACD,MAAM,MAAM,UAAU,GAAG;IACvB,WAAW,EAAE;QACX,WAAW,EAAE,MAAM,CAAC;QACpB,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;CACH,GAAG;IACF,OAAO,EAAE,EAAE,CAAC;CACb,CAAC;AACF,MAAM,MAAM,QAAQ,GAAG;IACrB,aAAa,EAAE,EAAE,CAAC;CACnB,CAAC;AACF,MAAM,WAAW,UAAU;CAAG;AAC9B,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,MAAM,CAAC;CAChB"} \ No newline at end of file diff --git a/ts/sdk/types/contracts/IsmMultisig.client.d.ts b/ts/sdk/types/contracts/IsmMultisig.client.d.ts deleted file mode 100644 index 2cd77325..00000000 --- a/ts/sdk/types/contracts/IsmMultisig.client.d.ts +++ /dev/null @@ -1,79 +0,0 @@ -/** -* This file was automatically generated by @cosmwasm/ts-codegen@0.16.5. -* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, -* and run the @cosmwasm/ts-codegen generate command to regenerate this file. -*/ -import { CosmWasmClient, SigningCosmWasmClient, ExecuteResult } from "@cosmjs/cosmwasm-stargate"; -import { Coin, StdFee } from "@cosmjs/amino"; -import { ValidatorSet, ThresholdSet, HexBinary, ModuleTypeResponse, VerifyResponse } from "./IsmMultisig.types"; -export interface IsmMultisigReadOnlyInterface { - contractAddress: string; - moduleType: () => Promise; - verify: ({ message, metadata }: { - message: HexBinary; - metadata: HexBinary; - }) => Promise; -} -export declare class IsmMultisigQueryClient implements IsmMultisigReadOnlyInterface { - client: CosmWasmClient; - contractAddress: string; - constructor(client: CosmWasmClient, contractAddress: string); - moduleType: () => Promise; - verify: ({ message, metadata }: { - message: HexBinary; - metadata: HexBinary; - }) => Promise; -} -export interface IsmMultisigInterface extends IsmMultisigReadOnlyInterface { - contractAddress: string; - sender: string; - enrollValidator: ({ set }: { - set: ValidatorSet; - }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; - enrollValidators: ({ set }: { - set: ValidatorSet[]; - }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; - unenrollValidator: ({ domain, validator }: { - domain: number; - validator: string; - }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; - setThreshold: ({ set }: { - set: ThresholdSet; - }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; - setThresholds: ({ set }: { - set: ThresholdSet[]; - }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; - initTransferOwnership: ({ owner }: { - owner: string; - }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; - finishTransferOwnership: (fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; - revokeTransferOwnership: (fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; -} -export declare class IsmMultisigClient extends IsmMultisigQueryClient implements IsmMultisigInterface { - client: SigningCosmWasmClient; - sender: string; - contractAddress: string; - constructor(client: SigningCosmWasmClient, sender: string, contractAddress: string); - enrollValidator: ({ set }: { - set: ValidatorSet; - }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; - enrollValidators: ({ set }: { - set: ValidatorSet[]; - }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; - unenrollValidator: ({ domain, validator }: { - domain: number; - validator: string; - }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; - setThreshold: ({ set }: { - set: ThresholdSet; - }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; - setThresholds: ({ set }: { - set: ThresholdSet[]; - }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; - initTransferOwnership: ({ owner }: { - owner: string; - }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; - finishTransferOwnership: (fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; - revokeTransferOwnership: (fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; -} -//# sourceMappingURL=IsmMultisig.client.d.ts.map \ No newline at end of file diff --git a/ts/sdk/types/contracts/IsmMultisig.client.d.ts.map b/ts/sdk/types/contracts/IsmMultisig.client.d.ts.map deleted file mode 100644 index e2403fa5..00000000 --- a/ts/sdk/types/contracts/IsmMultisig.client.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"IsmMultisig.client.d.ts","sourceRoot":"","sources":["../../src/contracts/IsmMultisig.client.ts"],"names":[],"mappings":"AAAA;;;;EAIE;AAEF,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AACjG,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAsC,YAAY,EAAE,YAAY,EAAY,SAAS,EAAuB,kBAAkB,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACnL,MAAM,WAAW,4BAA4B;IAC3C,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,MAAM,OAAO,CAAC,kBAAkB,CAAC,CAAC;IAC9C,MAAM,EAAE,CAAC,EACP,OAAO,EACP,QAAQ,EACT,EAAE;QACD,OAAO,EAAE,SAAS,CAAC;QACnB,QAAQ,EAAE,SAAS,CAAC;KACrB,KAAK,OAAO,CAAC,cAAc,CAAC,CAAC;CAC/B;AACD,qBAAa,sBAAuB,YAAW,4BAA4B;IACzE,MAAM,EAAE,cAAc,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;gBAEZ,MAAM,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM;IAO3D,UAAU,QAAa,QAAQ,kBAAkB,CAAC,CAIhD;IACF,MAAM;iBAIK,SAAS;kBACR,SAAS;UACjB,QAAQ,cAAc,CAAC,CAOzB;CACH;AACD,MAAM,WAAW,oBAAqB,SAAQ,4BAA4B;IACxE,eAAe,EAAE,MAAM,CAAC;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,eAA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AAY;aAGL,YAAY;aACX,MAAM,GAAG,MAAM,GAAG,MAAM,SAAkB,MAAM,UAAU,IAAI,EAAE,KAAG,QAAQ,aAAa,CAAC,CAM/F;IACF,aAAa;aAGN,YAAY,EAAE;aACb,MAAM,GAAG,MAAM,GAAG,MAAM,SAAkB,MAAM,UAAU,IAAI,EAAE,KAAG,QAAQ,aAAa,CAAC,CAM/F;IACF,qBAAqB;eAGZ,MAAM;aACP,MAAM,GAAG,MAAM,GAAG,MAAM,SAAkB,MAAM,UAAU,IAAI,EAAE,KAAG,QAAQ,aAAa,CAAC,CAM/F;IACF,uBAAuB,SAAe,MAAM,GAAG,MAAM,GAAG,MAAM,SAAkB,MAAM,UAAU,IAAI,EAAE,KAAG,QAAQ,aAAa,CAAC,CAI7H;IACF,uBAAuB,SAAe,MAAM,GAAG,MAAM,GAAG,MAAM,SAAkB,MAAM,UAAU,IAAI,EAAE,KAAG,QAAQ,aAAa,CAAC,CAI7H;CACH"} \ No newline at end of file diff --git a/ts/sdk/types/contracts/IsmMultisig.message-composer.d.ts b/ts/sdk/types/contracts/IsmMultisig.message-composer.d.ts deleted file mode 100644 index f39b8033..00000000 --- a/ts/sdk/types/contracts/IsmMultisig.message-composer.d.ts +++ /dev/null @@ -1,60 +0,0 @@ -/** -* This file was automatically generated by @cosmwasm/ts-codegen@0.16.5. -* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, -* and run the @cosmwasm/ts-codegen generate command to regenerate this file. -*/ -import { Coin } from "@cosmjs/amino"; -import { MsgExecuteContractEncodeObject } from "cosmwasm"; -import { ValidatorSet, ThresholdSet } from "./IsmMultisig.types"; -export interface IsmMultisigMessage { - contractAddress: string; - sender: string; - enrollValidator: ({ set }: { - set: ValidatorSet; - }, funds?: Coin[]) => MsgExecuteContractEncodeObject; - enrollValidators: ({ set }: { - set: ValidatorSet[]; - }, funds?: Coin[]) => MsgExecuteContractEncodeObject; - unenrollValidator: ({ domain, validator }: { - domain: number; - validator: string; - }, funds?: Coin[]) => MsgExecuteContractEncodeObject; - setThreshold: ({ set }: { - set: ThresholdSet; - }, funds?: Coin[]) => MsgExecuteContractEncodeObject; - setThresholds: ({ set }: { - set: ThresholdSet[]; - }, funds?: Coin[]) => MsgExecuteContractEncodeObject; - initTransferOwnership: ({ owner }: { - owner: string; - }, funds?: Coin[]) => MsgExecuteContractEncodeObject; - finishTransferOwnership: (funds?: Coin[]) => MsgExecuteContractEncodeObject; - revokeTransferOwnership: (funds?: Coin[]) => MsgExecuteContractEncodeObject; -} -export declare class IsmMultisigMessageComposer implements IsmMultisigMessage { - sender: string; - contractAddress: string; - constructor(sender: string, contractAddress: string); - enrollValidator: ({ set }: { - set: ValidatorSet; - }, funds?: Coin[]) => MsgExecuteContractEncodeObject; - enrollValidators: ({ set }: { - set: ValidatorSet[]; - }, funds?: Coin[]) => MsgExecuteContractEncodeObject; - unenrollValidator: ({ domain, validator }: { - domain: number; - validator: string; - }, funds?: Coin[]) => MsgExecuteContractEncodeObject; - setThreshold: ({ set }: { - set: ThresholdSet; - }, funds?: Coin[]) => MsgExecuteContractEncodeObject; - setThresholds: ({ set }: { - set: ThresholdSet[]; - }, funds?: Coin[]) => MsgExecuteContractEncodeObject; - initTransferOwnership: ({ owner }: { - owner: string; - }, funds?: Coin[]) => MsgExecuteContractEncodeObject; - finishTransferOwnership: (funds?: Coin[]) => MsgExecuteContractEncodeObject; - revokeTransferOwnership: (funds?: Coin[]) => MsgExecuteContractEncodeObject; -} -//# sourceMappingURL=IsmMultisig.message-composer.d.ts.map \ No newline at end of file diff --git a/ts/sdk/types/contracts/IsmMultisig.message-composer.d.ts.map b/ts/sdk/types/contracts/IsmMultisig.message-composer.d.ts.map deleted file mode 100644 index 89907a6e..00000000 --- a/ts/sdk/types/contracts/IsmMultisig.message-composer.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"IsmMultisig.message-composer.d.ts","sourceRoot":"","sources":["../../src/contracts/IsmMultisig.message-composer.ts"],"names":[],"m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CAAC;IAC5E,uBAAuB,EAAE,CAAC,KAAK,CAAC,EAAE,IAAI,EAAE,KAAK,8BAA8B,CAAC;CAC7E;AACD,qBAAa,0BAA2B,YAAW,kBAAkB;IACnE,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,MAAM,CAAC;gBAEZ,MAAM,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM;IAanD,eAAe;aAGR,YAAY;eACR,IAAI,EAAE,KAAG,8BAA8B,CAchD;IACF,gBAAgB;aAGT,YAAY,EAAE;eACV,IAAI,EAAE,KAAG,8BAA8B,CAchD;IACF,iBAAiB;gBAIP,MAAM;mBACH,MAAM;eACR,IAAI,EAAE,KAAG,8BAA8B,CAehD;IACF,YAAY;aAGL,YAAY;eACR,IAAI,EAAE,KAAG,8BAA8B,CAchD;IACF,aAAa;aAGN,YAAY,EAAE;eACV,IAAI,EAAE,KAAG,8BAA8B,CAchD;IACF,qBAAqB;eAGZ,MAAM;eACJ,IAAI,EAAE,KAAG,8BAA8B,CAchD;IACF,uBAAuB,WAAY,IAAI,EAAE,KAAG,8BAA8B,CAYxE;IACF,uBAAuB,WAAY,IAAI,EAAE,KAAG,8BAA8B,CAYxE;CACH"} \ No newline at end of file diff --git a/ts/sdk/types/contracts/IsmMultisig.types.d.ts b/ts/sdk/types/contracts/IsmMultisig.types.d.ts deleted file mode 100644 index 5af7afee..00000000 --- a/ts/sdk/types/contracts/IsmMultisig.types.d.ts +++ /dev/null @@ -1,68 +0,0 @@ -/** -* This file was automatically generated by @cosmwasm/ts-codegen@0.16.5. -* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, -* and run the @cosmwasm/ts-codegen generate command to regenerate this file. -*/ -export interface InstantiateMsg { - chain_hpl: string; - owner: string; -} -export type ExecuteMsg = { - enroll_validator: { - set: ValidatorSet; - }; -} | { - enroll_validators: { - set: ValidatorSet[]; - }; -} | { - unenroll_validator: { - domain: number; - validator: string; - }; -} | { - set_threshold: { - set: ThresholdSet; - }; -} | { - set_thresholds: { - set: ThresholdSet[]; - }; -} | { - init_transfer_ownership: { - owner: string; - }; -} | { - finish_transfer_ownership: []; -} | { - revoke_transfer_ownership: []; -}; -export type Binary = string; -export interface ValidatorSet { - domain: number; - validator: string; - validator_pubkey: Binary; -} -export interface ThresholdSet { - domain: number; - threshold: number; -} -export type QueryMsg = { - module_type: {}; -} | { - verify: { - message: HexBinary; - metadata: HexBinary; - }; -}; -export type HexBinary = string; -export interface MigrateMsg { -} -export type ISMType = "unused" | "routing" | "aggregation" | "legacy_multisig" | "multisig" | "owned"; -export interface ModuleTypeResponse { - type: ISMType; -} -export interface VerifyResponse { - verified: boolean; -} -//# sourceMappingURL=IsmMultisig.types.d.ts.map \ No newline at end of file diff --git a/ts/sdk/types/contracts/IsmMultisig.types.d.ts.map b/ts/sdk/types/contracts/IsmMultisig.types.d.ts.map deleted file mode 100644 index 8e682873..00000000 --- a/ts/sdk/types/contracts/IsmMultisig.types.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"IsmMultisig.types.d.ts","sourceRoot":"","sources":["../../src/contracts/IsmMultisig.types.ts"],"names":[],"mappings":"AAAA;;;;EAIE;AAEF,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;CACf;AACD,MAAM,MAAM,UAAU,GAAG;IACvB,gBAAgB,EAAE;QAChB,GAAG,EAAE,YAAY,CAAC;KACnB,CAAC;CACH,GAAG;IACF,iBAAiB,EAAE;QACjB,GAAG,EAAE,YAAY,EAAE,CAAC;KACrB,CAAC;CACH,GAAG;IACF,kBAAkB,EAAE;QAClB,MAAM,EAAE,MAAM,CAAC;QACf,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;CACH,GAAG;IACF,aAAa,EAAE;QACb,GAAG,EAAE,YAAY,CAAC;KACnB,CAAC;CACH,GAAG;IACF,cAAc,EAAE;QACd,GAAG,EAAE,YAAY,EAAE,CAAC;KACrB,CAAC;CACH,GAAG;IACF,uBAAuB,EAAE;QACvB,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;CACH,GAAG;IACF,yBAAyB,EAAE,EAAE,CAAC;CAC/B,GAAG;IACF,yBAAyB,EAAE,EAAE,CAAC;CAC/B,CAAC;AACF,MAAM,MAAM,MAAM,GAAG,MAAM,CAAC;AAC5B,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,gBAAgB,EAAE,MAAM,CAAC;CAC1B;AACD,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;CACnB;AACD,MAAM,MAAM,QAAQ,GAAG;IACrB,WAAW,EAAE,EAAE,CAAC;CACjB,GAAG;IACF,MAAM,EAAE;QACN,OAAO,EAAE,SAAS,CAAC;QACnB,QAAQ,EAAE,SAAS,CAAC;KACrB,CAAC;CACH,CAAC;AACF,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC;AAC/B,MAAM,WAAW,UAAU;CAAG;AAC9B,MAAM,MAAM,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,aAAa,GAAG,iBAAiB,GAAG,UAAU,GAAG,OAAO,CAAC;AACtG,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,OAAO,CAAC;CACf;AACD,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,OAAO,CAAC;CACnB"} \ No newline at end of file diff --git a/ts/sdk/types/contracts/Mailbox.client.d.ts b/ts/sdk/types/contracts/Mailbox.client.d.ts deleted file mode 100644 index f31e8562..00000000 --- a/ts/sdk/types/contracts/Mailbox.client.d.ts +++ /dev/null @@ -1,65 +0,0 @@ -/** -* This file was automatically generated by @cosmwasm/ts-codegen@0.16.5. -* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, -* and run the @cosmwasm/ts-codegen generate command to regenerate this file. -*/ -import { CosmWasmClient, SigningCosmWasmClient, ExecuteResult } from "@cosmjs/cosmwasm-stargate"; -import { Coin, StdFee } from "@cosmjs/amino"; -import { HexBinary, CheckPointResponse, CountResponse, NonceResponse, PausedResponse, RootResponse } from "./Mailbox.types"; -export interface MailboxReadOnlyInterface { - contractAddress: string; - root: () => Promise; - count: () => Promise; - checkPoint: () => Promise; - paused: () => Promise; - nonce: () => Promise; -} -export declare class MailboxQueryClient implements MailboxReadOnlyInterface { - client: CosmWasmClient; - contractAddress: string; - constructor(client: CosmWasmClient, contractAddress: string); - root: () => Promise; - count: () => Promise; - checkPoint: () => Promise; - paused: () => Promise; - nonce: () => Promise; -} -export interface MailboxInterface extends MailboxReadOnlyInterface { - contractAddress: string; - sender: string; - pause: (fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; - unpause: (fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; - setDefaultISM: ({ ism }: { - ism: string; - }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; - dispatch: ({ destDomain, msgBody, recipientAddr }: { - destDomain: number; - msgBody: HexBinary; - recipientAddr: HexBinary; - }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; - process: ({ message, metadata }: { - message: HexBinary; - metadata: HexBinary; - }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; -} -export declare class MailboxClient extends MailboxQueryClient implements MailboxInterface { - client: SigningCosmWasmClient; - sender: string; - contractAddress: string; - constructor(client: SigningCosmWasmClient, sender: string, contractAddress: string); - pause: (fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; - unpause: (fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; - setDefaultISM: ({ ism }: { - ism: string; - }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; - dispatch: ({ destDomain, msgBody, recipientAddr }: { - destDomain: number; - msgBody: HexBinary; - recipientAddr: HexBinary; - }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; - process: ({ message, metadata }: { - message: HexBinary; - metadata: HexBinary; - }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; -} -//# sourceMappingURL=Mailbox.client.d.ts.map \ No newline at end of file diff --git a/ts/sdk/types/contracts/Mailbox.client.d.ts.map b/ts/sdk/types/contracts/Mailbox.client.d.ts.map deleted file mode 100644 index 7772095a..00000000 --- a/ts/sdk/types/contracts/Mailbox.client.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Mailbox.client.d.ts","sourceRoot":"","sources":["../../src/contracts/Mailbox.client.ts"],"names":[],"mappings":"AAAA;;;;EAIE;AAEF,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AACjG,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAA8B,SAAS,EAAwB,kBAAkB,EAAE,aAAa,EAAE,aAAa,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC9K,MAAM,WAAW,wBAAwB;IACvC,eAAe,EAAE,MAAM,CAAC;IACxB,IAAI,EAAE,MAAM,OAAO,CAAC,YAAY,CAAC,CAAC;IAClC,KAAK,EAAE,MAAM,OAAO,CAAC,aAAa,CAAC,CAAC;IACpC,UAAU,EAAE,MAAM,OAAO,CAAC,kBAAkB,CAAC,CAAC;IAC9C,MAAM,EAAE,MAAM,OAAO,CAAC,cAAc,CAAC,CAAC;IACtC,KAAK,EAAE,MAAM,OAAO,CAAC,aAAa,CAAC,CAAC;CACrC;AACD,qBAAa,kBAAmB,YAAW,wBAAwB;IACjE,MAAM,EAAE,cAAc,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;gBAEZ,MAAM,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM;IAU3D,IAAI,QAAa,QAAQ,YAAY,CAAC,CAIpC;IACF,KAAK,QAAa,QAAQ,aAAa,CAAC,CAItC;IACF,UAAU,QAAa,QAAQ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AS,CAAC;KACrB,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,IAAI,EAAE,KAAK,OAAO,CAAC,aAAa,CAAC,CAAC;CAC7F;AACD,qBAAa,aAAc,SAAQ,kBAAmB,YAAW,gBAAgB;IAC/E,MAAM,EAAE,qBAAqB,CAAC;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,MAAM,CAAC;gBAEZ,MAAM,EAAE,qBAAqB,EAAE,MAAM,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM;IAYlF,KAAK,SAAe,MAAM,GAAG,MAAM,GAAG,MAAM,SAAkB,MAAM,UAAU,IAAI,EAAE,KAAG,QAAQ,aAAa,CAAC,CAI3G;IACF,OAAO,SAAe,MAAM,GAAG,MAAM,GAAG,MAAM,SAAkB,MAAM,UAAU,IAAI,EAAE,KAAG,QAAQ,aAAa,CAAC,CAI7G;IACF,aAAa;aAGN,MAAM;aACL,MAAM,GAAG,MAAM,GAAG,MAAM,SAAkB,MAAM,UAAU,IAAI,EAAE,KAAG,QAAQ,aAAa,CAAC,CAM/F;IACF,QAAQ;oBAKM,MAAM;iBACT,SAAS;uBACH,SAAS;aAClB,MAAM,GAAG,MAAM,GAAG,MAAM,SAAkB,MAAM,UAAU,IAAI,EAAE,KAAG,QAAQ,aAAa,CAAC,CAQ/F;IACF,OAAO;iBAII,SAAS;kBACR,SAAS;aACb,MAAM,GAAG,MAAM,GAAG,MAAM,SAAkB,MAAM,UAAU,IAAI,EAAE,KAAG,QAAQ,aAAa,CAAC,CAO/F;CACH"} \ No newline at end of file diff --git a/ts/sdk/types/contracts/Mailbox.message-composer.d.ts b/ts/sdk/types/contracts/Mailbox.message-composer.d.ts deleted file mode 100644 index 5bc854b9..00000000 --- a/ts/sdk/types/contracts/Mailbox.message-composer.d.ts +++ /dev/null @@ -1,46 +0,0 @@ -/** -* This file was automatically generated by @cosmwasm/ts-codegen@0.16.5. -* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, -* and run the @cosmwasm/ts-codegen generate command to regenerate this file. -*/ -import { Coin } from "@cosmjs/amino"; -import { MsgExecuteContractEncodeObject } from "cosmwasm"; -import { HexBinary } from "./Mailbox.types"; -export interface MailboxMessage { - contractAddress: string; - sender: string; - pause: (funds?: Coin[]) => MsgExecuteContractEncodeObject; - unpause: (funds?: Coin[]) => MsgExecuteContractEncodeObject; - setDefaultISM: ({ ism }: { - ism: string; - }, funds?: Coin[]) => MsgExecuteContractEncodeObject; - dispatch: ({ destDomain, msgBody, recipientAddr }: { - destDomain: number; - msgBody: HexBinary; - recipientAddr: HexBinary; - }, funds?: Coin[]) => MsgExecuteContractEncodeObject; - process: ({ message, metadata }: { - message: HexBinary; - metadata: HexBinary; - }, funds?: Coin[]) => MsgExecuteContractEncodeObject; -} -export declare class MailboxMessageComposer implements MailboxMessage { - sender: string; - contractAddress: string; - constructor(sender: string, contractAddress: string); - pause: (funds?: Coin[]) => MsgExecuteContractEncodeObject; - unpause: (funds?: Coin[]) => MsgExecuteContractEncodeObject; - setDefaultISM: ({ ism }: { - ism: string; - }, funds?: Coin[]) => MsgExecuteContractEncodeObject; - dispatch: ({ destDomain, msgBody, recipientAddr }: { - destDomain: number; - msgBody: HexBinary; - recipientAddr: HexBinary; - }, funds?: Coin[]) => MsgExecuteContractEncodeObject; - process: ({ message, metadata }: { - message: HexBinary; - metadata: HexBinary; - }, funds?: Coin[]) => MsgExecuteContractEncodeObject; -} -//# sourceMappingURL=Mailbox.message-composer.d.ts.map \ No newline at end of file diff --git a/ts/sdk/types/contracts/Mailbox.message-composer.d.ts.map b/ts/sdk/types/contracts/Mailbox.message-composer.d.ts.map deleted file mode 100644 index bfd14cd1..00000000 --- a/ts/sdk/types/contracts/Mailbox.message-composer.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Mailbox.message-composer.d.ts","sourceRoot":"","sources":["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AYxD;IACF,aAAa;aAGN,MAAM;eACF,IAAI,EAAE,KAAG,8BAA8B,CAchD;IACF,QAAQ;oBAKM,MAAM;iBACT,SAAS;uBACH,SAAS;eACf,IAAI,EAAE,KAAG,8BAA8B,CAgBhD;IACF,OAAO;iBAII,SAAS;kBACR,SAAS;eACV,IAAI,EAAE,KAAG,8BAA8B,CAehD;CACH"} \ No newline at end of file diff --git a/ts/sdk/types/contracts/Mailbox.types.d.ts b/ts/sdk/types/contracts/Mailbox.types.d.ts deleted file mode 100644 index 1ab081a1..00000000 --- a/ts/sdk/types/contracts/Mailbox.types.d.ts +++ /dev/null @@ -1,60 +0,0 @@ -/** -* This file was automatically generated by @cosmwasm/ts-codegen@0.16.5. -* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, -* and run the @cosmwasm/ts-codegen generate command to regenerate this file. -*/ -export interface InstantiateMsg { - default_ism: string; - owner: string; -} -export type ExecuteMsg = { - pause: {}; -} | { - unpause: {}; -} | { - set_default_i_s_m: { - ism: string; - }; -} | { - dispatch: { - dest_domain: number; - msg_body: HexBinary; - recipient_addr: HexBinary; - }; -} | { - process: { - message: HexBinary; - metadata: HexBinary; - }; -}; -export type HexBinary = string; -export type QueryMsg = { - root: {}; -} | { - count: {}; -} | { - check_point: {}; -} | { - paused: {}; -} | { - nonce: {}; -}; -export interface MigrateMsg { -} -export interface CheckPointResponse { - count: number; - root: HexBinary; -} -export interface CountResponse { - count: number; -} -export interface NonceResponse { - nonce: number; -} -export interface PausedResponse { - paused: boolean; -} -export interface RootResponse { - root: HexBinary; -} -//# sourceMappingURL=Mailbox.types.d.ts.map \ No newline at end of file diff --git a/ts/sdk/types/contracts/Mailbox.types.d.ts.map b/ts/sdk/types/contracts/Mailbox.types.d.ts.map deleted file mode 100644 index ef1e024a..00000000 --- a/ts/sdk/types/contracts/Mailbox.types.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Mailbox.types.d.ts","sourceRoot":"","sources":["../../src/contracts/Mailbox.types.ts"],"names":[],"mappings":"AAAA;;;;EAIE;AAEF,MAAM,WAAW,cAAc;IAC7B,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;CACf;AACD,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,EAAE,EAAE,CAAC;CACX,GAAG;IACF,OAAO,EAAE,EAAE,CAAC;CACb,GAAG;IACF,iBAAiB,EAAE;QACjB,GAAG,EAAE,MAAM,CAAC;KACb,CAAC;CACH,GAAG;IACF,QAAQ,EAAE;QACR,WAAW,EAAE,MAAM,CAAC;QACpB,QAAQ,EAAE,SAAS,CAAC;QACpB,cAAc,EAAE,SAAS,CAAC;KAC3B,CAAC;CACH,GAAG;IACF,OAAO,EAAE;QACP,OAAO,EAAE,SAAS,CAAC;QACnB,QAAQ,EAAE,SAAS,CAAC;KACrB,CAAC;CACH,CAAC;AACF,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC;AAC/B,MAAM,MAAM,QAAQ,GAAG;IACrB,IAAI,EAAE,EAAE,CAAC;CACV,GAAG;IACF,KAAK,EAAE,EAAE,CAAC;CACX,GAAG;IACF,WAAW,EAAE,EAAE,CAAC;CACjB,GAAG;IACF,MAAM,EAAE,EAAE,CAAC;CACZ,GAAG;IACF,KAAK,EAAE,EAAE,CAAC;CACX,CAAC;AACF,MAAM,WAAW,UAAU;CAAG;AAC9B,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,SAAS,CAAC;CACjB;AACD,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAC;CACf;AACD,MAAM,WAAW,aAAa;IAC5B,KAAK,EAAE,MAAM,CAAC;CACf;AACD,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,OAAO,CAAC;CACjB;AACD,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,SAAS,CAAC;CACjB"} \ No newline at end of file diff --git a/ts/sdk/types/contracts/Multicall.client.d.ts b/ts/sdk/types/contracts/Multicall.client.d.ts deleted file mode 100644 index a40b2313..00000000 --- a/ts/sdk/types/contracts/Multicall.client.d.ts +++ /dev/null @@ -1,49 +0,0 @@ -/** -* This file was automatically generated by @cosmwasm/ts-codegen@0.16.5. -* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, -* and run the @cosmwasm/ts-codegen generate command to regenerate this file. -*/ -import { CosmWasmClient, SigningCosmWasmClient, ExecuteResult } from "@cosmjs/cosmwasm-stargate"; -import { StdFee } from "@cosmjs/amino"; -import { CosmosMsgForEmpty, HexBinary, Coin, StaticCall, AggregateResponse } from "./Multicall.types"; -export interface MulticallReadOnlyInterface { - contractAddress: string; - aggregateStatic: ({ req }: { - req: StaticCall[]; - }) => Promise; -} -export declare class MulticallQueryClient implements MulticallReadOnlyInterface { - client: CosmWasmClient; - contractAddress: string; - constructor(client: CosmWasmClient, contractAddress: string); - aggregateStatic: ({ req }: { - req: StaticCall[]; - }) => Promise; -} -export interface MulticallInterface extends MulticallReadOnlyInterface { - contractAddress: string; - sender: string; - aggregate: ({ req }: { - req: CosmosMsgForEmpty[]; - }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; - handle: ({ body, origin, sender }: { - body: HexBinary; - origin: number; - sender: HexBinary; - }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; -} -export declare class MulticallClient extends MulticallQueryClient implements MulticallInterface { - client: SigningCosmWasmClient; - sender: string; - contractAddress: string; - constructor(client: SigningCosmWasmClient, sender: string, contractAddress: string); - aggregate: ({ req }: { - req: CosmosMsgForEmpty[]; - }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; - handle: ({ body, origin, sender }: { - body: HexBinary; - origin: number; - sender: HexBinary; - }, fee?: number | StdFee | "auto", memo?: string, funds?: Coin[]) => Promise; -} -//# sourceMappingURL=Multicall.client.d.ts.map \ No newline at end of file diff --git a/ts/sdk/types/contracts/Multicall.client.d.ts.map b/ts/sdk/types/contracts/Multicall.client.d.ts.map deleted file mode 100644 index b75e6b78..00000000 --- a/ts/sdk/types/contracts/Multicall.client.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Multicall.client.d.ts","sourceRoot":"","sources":["../../src/contracts/Multicall.client.ts"],"names":[],"mappings":"AAAA;;;;EAIE;AAEF,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AACjG,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAA8B,iBAAiB,EAAiH,SAAS,EAAE,IAAI,EAA2D,UAAU,EAAc,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AACtT,MAAM,WAAW,0BAA0B;IACzC,eAAe,EAAE,MAAM,CAAC;IACxB,eAAe,EAAE,CAAC,EAChB,GAAG,EACJ,EAAE;QACD,GAAG,EAAE,UAAU,EAAE,CAAC;KACnB,KAAK,OAAO,CAAC,iBAAiB,CAAC,CAAC;CAClC;AACD,qBAAa,oBAAqB,YAAW,0BAA0B;IACrE,MAAM,EAAE,cAAc,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;gBAEZ,MAAM,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM;IAM3D,eAAe;aAGR,UAAU,EAAE;UACf,QAAQ,iBAAiB,CAAC,CAM5B;CACH;AACD,MAAM,WAAW,kBAAmB,SAAQ,0BAA0B;IACpE,eAAe,EAAE,MAAM,CAAC;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,CAAC,EACV,GAAG,EACJ,EAAE;QACD,GAAG,EAAE,iBAAiB,EAAE,CAAC;KAC1B,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,IAAI,EAAE,KAAK,OAAO,CAAC,aAAa,CAAC,CAAC;IAC5F,MAAM,EAAE,CAAC,EACP,IAAI,EACJ,MAAM,EACN,MAAM,EACP,EAAE;QACD,IAAI,EAAE,SAAS,CAAC;QAChB,MAAM,EAAE,MAAM,CAAC;QACf,MAAM,EAAE,SAAS,CAAC;KACnB,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,IAAI,EAAE,KAAK,OAAO,CAAC,aAAa,CAAC,CAAC;CAC7F;AACD,qBAAa,eAAgB,SAAQ,oBAAqB,YAAW,kBAAkB;IACrF,MAAM,EAAE,qBAAqB,CAAC;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,MAAM,CAAC;gBAEZ,MAAM,EAAE,qBAAqB,EAAE,MAAM,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM;IASlF,SAAS;aAGF,iBAAiB,EAAE;aAClB,MAAM,GAAG,MAAM,GAAG,MAAM,SAAkB,MAAM,UAAU,IAAI,EAAE,KAAG,QAAQ,aAAa,CAAC,CAM/F;IACF,MAAM;cAKE,SAAS;gBACP,MAAM;gBACN,SAAS;aACX,MAAM,GAAG,MAAM,GAAG,MAAM,SAAkB,MAAM,UAAU,IAAI,EAAE,KAAG,QAAQ,aAAa,CAAC,CAQ/F;CACH"} \ No newline at end of file diff --git a/ts/sdk/types/contracts/Multicall.message-composer.d.ts b/ts/sdk/types/contracts/Multicall.message-composer.d.ts deleted file mode 100644 index 148affa4..00000000 --- a/ts/sdk/types/contracts/Multicall.message-composer.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -/** -* This file was automatically generated by @cosmwasm/ts-codegen@0.16.5. -* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, -* and run the @cosmwasm/ts-codegen generate command to regenerate this file. -*/ -import { MsgExecuteContractEncodeObject } from "cosmwasm"; -import { CosmosMsgForEmpty, HexBinary, Coin } from "./Multicall.types"; -export interface MulticallMessage { - contractAddress: string; - sender: string; - aggregate: ({ req }: { - req: CosmosMsgForEmpty[]; - }, funds?: Coin[]) => MsgExecuteContractEncodeObject; - handle: ({ body, origin, sender }: { - body: HexBinary; - origin: number; - sender: HexBinary; - }, funds?: Coin[]) => MsgExecuteContractEncodeObject; -} -export declare class MulticallMessageComposer implements MulticallMessage { - sender: string; - contractAddress: string; - constructor(sender: string, contractAddress: string); - aggregate: ({ req }: { - req: CosmosMsgForEmpty[]; - }, funds?: Coin[]) => MsgExecuteContractEncodeObject; - handle: ({ body, origin, sender }: { - body: HexBinary; - origin: number; - sender: HexBinary; - }, funds?: Coin[]) => MsgExecuteContractEncodeObject; -} -//# sourceMappingURL=Multicall.message-composer.d.ts.map \ No newline at end of file diff --git a/ts/sdk/types/contracts/Multicall.message-composer.d.ts.map b/ts/sdk/types/contracts/Multicall.message-composer.d.ts.map deleted file mode 100644 index 5966e606..00000000 --- a/ts/sdk/types/contracts/Multicall.message-composer.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Multicall.message-composer.d.ts","sourceRoot":"","sources":["../../src/contracts/Multicall.message-composer.ts"],"names":[],"mappings":"AAAA;;;;EAIE;AAEF,OAAO,EAAE,8BAA8B,EAAE,MAAM,UAAU,CAAC;AAG1D,OAAO,EAA8B,iBAAiB,EAAiH,SAAS,EAAE,IAAI,EAAsG,MAAM,mBAAmB,CAAC;AACtT,MAAM,WAAW,gBAAgB;IAC/B,eAAe,EAAE,MAAM,CAAC;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,CAAC,EACV,GAAG,EACJ,EAAE;QACD,GAAG,EAAE,iBAAiB,EAAE,CAAC;KAC1B,EAAE,KAAK,CAAC,EAAE,IAAI,EAAE,KAAK,8BAA8B,CAAC;IACrD,MAAM,EAAE,CAAC,EACP,IAAI,EACJ,MAAM,EACN,MAAM,EACP,EAAE;QACD,IAAI,EAAE,SAAS,CAAC;QAChB,MAAM,EAAE,MAAM,CAAC;QACf,MAAM,EAAE,SAAS,CAAC;KACnB,EAAE,KAAK,CAAC,EAAE,IAAI,EAAE,KAAK,8BAA8B,CAAC;CACtD;AACD,qBAAa,wBAAyB,YAAW,gBAAgB;IAC/D,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,MAAM,CAAC;gBAEZ,MAAM,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM;IAOnD,SAAS;aAGF,iBAAiB,EAAE;eACf,IAAI,EAAE,KAAG,8BAA8B,CAchD;IACF,MAAM;cAKE,SAAS;gBACP,MAAM;gBACN,SAAS;eACR,IAAI,EAAE,KAAG,8BAA8B,CAgBhD;CACH"} \ No newline at end of file diff --git a/ts/sdk/types/contracts/Multicall.types.d.ts b/ts/sdk/types/contracts/Multicall.types.d.ts deleted file mode 100644 index 9074afae..00000000 --- a/ts/sdk/types/contracts/Multicall.types.d.ts +++ /dev/null @@ -1,187 +0,0 @@ -/** -* This file was automatically generated by @cosmwasm/ts-codegen@0.16.5. -* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, -* and run the @cosmwasm/ts-codegen generate command to regenerate this file. -*/ -export interface InstantiateMsg { - mailbox: string; - owner: string; -} -export type ExecuteMsg = { - aggregate: { - req: CosmosMsgForEmpty[]; - }; -} | { - handle: HandleMsg; -}; -export type CosmosMsgForEmpty = { - bank: BankMsg; -} | { - custom: Empty; -} | { - staking: StakingMsg; -} | { - distribution: DistributionMsg; -} | { - stargate: { - type_url: string; - value: Binary; - [k: string]: unknown; - }; -} | { - ibc: IbcMsg; -} | { - wasm: WasmMsg; -} | { - gov: GovMsg; -}; -export type BankMsg = { - send: { - amount: Coin[]; - to_address: string; - [k: string]: unknown; - }; -} | { - burn: { - amount: Coin[]; - [k: string]: unknown; - }; -}; -export type Uint128 = string; -export type StakingMsg = { - delegate: { - amount: Coin; - validator: string; - [k: string]: unknown; - }; -} | { - undelegate: { - amount: Coin; - validator: string; - [k: string]: unknown; - }; -} | { - redelegate: { - amount: Coin; - dst_validator: string; - src_validator: string; - [k: string]: unknown; - }; -}; -export type DistributionMsg = { - set_withdraw_address: { - address: string; - [k: string]: unknown; - }; -} | { - withdraw_delegator_reward: { - validator: string; - [k: string]: unknown; - }; -}; -export type Binary = string; -export type IbcMsg = { - transfer: { - amount: Coin; - channel_id: string; - timeout: IbcTimeout; - to_address: string; - [k: string]: unknown; - }; -} | { - send_packet: { - channel_id: string; - data: Binary; - timeout: IbcTimeout; - [k: string]: unknown; - }; -} | { - close_channel: { - channel_id: string; - [k: string]: unknown; - }; -}; -export type Timestamp = Uint64; -export type Uint64 = string; -export type WasmMsg = { - execute: { - contract_addr: string; - funds: Coin[]; - msg: Binary; - [k: string]: unknown; - }; -} | { - instantiate: { - admin?: string | null; - code_id: number; - funds: Coin[]; - label: string; - msg: Binary; - [k: string]: unknown; - }; -} | { - migrate: { - contract_addr: string; - msg: Binary; - new_code_id: number; - [k: string]: unknown; - }; -} | { - update_admin: { - admin: string; - contract_addr: string; - [k: string]: unknown; - }; -} | { - clear_admin: { - contract_addr: string; - [k: string]: unknown; - }; -}; -export type GovMsg = { - vote: { - proposal_id: number; - vote: VoteOption; - [k: string]: unknown; - }; -}; -export type VoteOption = "yes" | "no" | "abstain" | "no_with_veto"; -export type HexBinary = string; -export interface Coin { - amount: Uint128; - denom: string; - [k: string]: unknown; -} -export interface Empty { - [k: string]: unknown; -} -export interface IbcTimeout { - block?: IbcTimeoutBlock | null; - timestamp?: Timestamp | null; - [k: string]: unknown; -} -export interface IbcTimeoutBlock { - height: number; - revision: number; - [k: string]: unknown; -} -export interface HandleMsg { - body: HexBinary; - origin: number; - sender: HexBinary; -} -export type QueryMsg = { - aggregate_static: { - req: StaticCall[]; - }; -}; -export interface StaticCall { - data: Binary; - path: string; -} -export interface MigrateMsg { -} -export interface AggregateResponse { - resp: Binary[]; -} -//# sourceMappingURL=Multicall.types.d.ts.map \ No newline at end of file diff --git a/ts/sdk/types/contracts/Multicall.types.d.ts.map b/ts/sdk/types/contracts/Multicall.types.d.ts.map deleted file mode 100644 index 80d4217e..00000000 --- a/ts/sdk/types/contracts/Multicall.types.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"Multicall.types.d.ts","sourceRoot":"","sources":["../../src/contracts/Multicall.types.ts"],"names":[],"mappings":"AAAA;;;;EAIE;AAEF,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACf;AACD,MAAM,MAAM,UAAU,GAAG;IACvB,SAAS,EAAE;QACT,GAAG,EAAE,iBAAiB,EAAE,CAAC;KAC1B,CAAC;CACH,GAAG;IACF,MAAM,EAAE,SAAS,CAAC;CACnB,CAAC;AACF,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,OAAO,CAAC;CACf,GAAG;IACF,MAAM,EAAE,KAAK,CAAC;CACf,GAAG;IACF,OAAO,EAAE,UAAU,CAAC;CACrB,GAAG;IACF,YAAY,EAAE,eAAe,CAAC;CAC/B,GAAG;IACF,QAAQ,EAAE;QACR,QAAQ,EAAE,MAAM,CAAC;QACjB,KAAK,EAAE,MAAM,CAAC;QACd,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;KACtB,CAAC;CACH,GAAG;IACF,GAAG,EAAE,MAAM,CAAC;CACb,GAAG;IACF,IAAI,EAAE,OAAO,CAAC;CACf,GAAG;IACF,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AACF,MAAM,MAAM,OAAO,GAAG;IACpB,IAAI,EAAE;QACJ,MAAM,EAAE,IAAI,EAAE,CAAC;QACf,UAAU,EAAE,MAAM,CAAC;QACnB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;KACtB,CAAC;CACH,GAAG;IACF,IAAI,EAAE;QACJ,MAAM,EAAE,IAAI,EAAE,CAAC;QACf,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;KACtB,CAAC;CACH,CAAC;AACF,MAAM,MAAM,OAAO,GAAG,MAAM,CAAC;AAC7B,MAAM,MAAM,UAAU,GAAG;IACvB,Q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,CAAC;CACH,CAAC;AACF,MAAM,MAAM,UAAU,GAAG,KAAK,GAAG,IAAI,GAAG,SAAS,GAAG,cAAc,CAAC;AACnE,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC;AAC/B,MAAM,WAAW,IAAI;IACnB,MAAM,EAAE,OAAO,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACtB;AACD,MAAM,WAAW,KAAK;IACpB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACtB;AACD,MAAM,WAAW,UAAU;IACzB,KAAK,CAAC,EAAE,eAAe,GAAG,IAAI,CAAC;IAC/B,SAAS,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IAC7B,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACtB;AACD,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACtB;AACD,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,SAAS,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,SAAS,CAAC;CACnB;AACD,MAAM,MAAM,QAAQ,GAAG;IACrB,gBAAgB,EAAE;QAChB,GAAG,EAAE,UAAU,EAAE,CAAC;KACnB,CAAC;CACH,CAAC;AACF,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AACD,MAAM,WAAW,UAAU;CAAG;AAC9B,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,EAAE,CAAC;CAChB"} \ No newline at end of file diff --git a/ts/sdk/types/contracts/index.d.ts b/ts/sdk/types/contracts/index.d.ts deleted file mode 100644 index 936d728c..00000000 --- a/ts/sdk/types/contracts/index.d.ts +++ /dev/null @@ -1,36 +0,0 @@ -/** -* This file was automatically generated by @cosmwasm/ts-codegen@0.16.5. -* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, -* and run the @cosmwasm/ts-codegen generate command to regenerate this file. -*/ -import * as _1 from "./Hub.client"; -import * as _2 from "./Hub.message-composer"; -import * as _4 from "./IsmMultisig.client"; -import * as _5 from "./IsmMultisig.message-composer"; -import * as _7 from "./Mailbox.client"; -import * as _8 from "./Mailbox.message-composer"; -import * as _10 from "./Multicall.client"; -import * as _11 from "./Multicall.message-composer"; -export declare namespace contracts { - const Hub: { - HubMessageComposer: typeof _2.HubMessageComposer; - HubQueryClient: typeof _1.HubQueryClient; - HubClient: typeof _1.HubClient; - }; - const IsmMultisig: { - IsmMultisigMessageComposer: typeof _5.IsmMultisigMessageComposer; - IsmMultisigQueryClient: typeof _4.IsmMultisigQueryClient; - IsmMultisigClient: typeof _4.IsmMultisigClient; - }; - const Mailbox: { - MailboxMessageComposer: typeof _8.MailboxMessageComposer; - MailboxQueryClient: typeof _7.MailboxQueryClient; - MailboxClient: typeof _7.MailboxClient; - }; - const Multicall: { - MulticallMessageComposer: typeof _11.MulticallMessageComposer; - MulticallQueryClient: typeof _10.MulticallQueryClient; - MulticallClient: typeof _10.MulticallClient; - }; -} -//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/ts/sdk/types/contracts/index.d.ts.map b/ts/sdk/types/contracts/index.d.ts.map deleted file mode 100644 index a93dea97..00000000 --- a/ts/sdk/types/contracts/index.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/contracts/index.ts"],"names":[],"mappings":"AAAA;;;;EAIE;AAGF,OAAO,KAAK,EAAE,MAAM,cAAc,CAAC;AACnC,OAAO,KAAK,EAAE,MAAM,wBAAwB,CAAC;AAE7C,OAAO,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,KAAK,EAAE,MAAM,gCAAgC,CAAC;AAErD,OAAO,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACvC,OAAO,KAAK,EAAE,MAAM,4BAA4B,CAAC;AAEjD,OAAO,KAAK,GAAG,MAAM,oBAAoB,CAAC;AAC1C,OAAO,KAAK,GAAG,MAAM,8BAA8B,CAAC;AACpD,yBAAiB,SAAS,CAAC;IAClB,MAAM,GAAG;;;;KAGf,CAAC;IACK,MAAM,WAAW;;;;KAGvB,CAAC;IACK,MAAM,OAAO;;;;KAGnB,CAAC;IACK,MAAM,SAAS;;;;KAGrB,CAAC;CACH"} \ No newline at end of file diff --git a/ts/sdk/types/index.d.ts b/ts/sdk/types/index.d.ts deleted file mode 100644 index 14e3ba3d..00000000 --- a/ts/sdk/types/index.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { contracts } from "./contracts"; -export default contracts; -//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/ts/sdk/types/index.d.ts.map b/ts/sdk/types/index.d.ts.map deleted file mode 100644 index e157bfd4..00000000 --- a/ts/sdk/types/index.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,eAAe,SAAS,CAAC"} \ No newline at end of file