├── .chglog ├── CHANGELOG.tpl.md └── config.yml ├── .editorconfig ├── .env.staging ├── .eslintignore ├── .eslintrc.json ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── dependabot.yml └── workflows │ ├── docs.yaml │ ├── integration-tests.yml │ ├── npm.yml │ └── projects.yml ├── .gitignore ├── .husky ├── _ │ └── husky.sh └── pre-commit ├── .npmignore ├── .nvmrc ├── .prettierignore ├── .prettierrc ├── .yarnrc.yml ├── LICENSE ├── README.md ├── create-build-package-json.sh ├── docker-compose.yml ├── docker ├── oracle-config.json ├── vault_1-keyfile.json ├── vault_2-keyfile.json └── vault_3-keyfile.json ├── generate_docs ├── package.json ├── scripts ├── 2022-08-08-vault-migration.ts ├── analyze-xcm-transfers.ts ├── circulating-supply.ts ├── create-proposal.ts ├── democracy.ts ├── get-undercollateralized-borrowers.ts ├── hrmp-setup.ts ├── load-test-faucet.ts ├── locked-dot-vdot.ts ├── raw-storage-write.ts ├── runtime-upgrade.ts ├── setup-parachain-docker.ts ├── util.ts ├── verify-vault-capacity.ts ├── verify-vaults.ts ├── xcm-cross-chain-transfer.ts └── xcm-return-unknown-tokens.ts ├── src ├── clients │ ├── client.ts │ ├── faucet.ts │ └── index.ts ├── external │ ├── electrs.ts │ └── index.ts ├── factory.ts ├── index.ts ├── interbtc-api.ts ├── interfaces │ ├── default │ │ └── .keep │ ├── definitions.ts │ └── interbtc-types.ts ├── json │ └── parachain.json ├── parachain │ ├── amm.ts │ ├── amm │ │ ├── encoding.ts │ │ ├── index.ts │ │ ├── liquidity-pool │ │ │ ├── calculator.ts │ │ │ ├── index.ts │ │ │ ├── stable-meta.ts │ │ │ ├── stable.ts │ │ │ ├── standard.ts │ │ │ ├── types.ts │ │ │ └── utils.ts │ │ ├── trade │ │ │ ├── index.ts │ │ │ ├── trade.ts │ │ │ ├── types.ts │ │ │ └── utils.ts │ │ ├── types.ts │ │ └── utils.ts │ ├── asset-registry.ts │ ├── btc-relay.ts │ ├── constants.ts │ ├── escrow.ts │ ├── fee.ts │ ├── index.ts │ ├── issue.ts │ ├── loans.ts │ ├── nomination.ts │ ├── oracle.ts │ ├── redeem.ts │ ├── replace.ts │ ├── rewards.ts │ ├── system.ts │ ├── tokens.ts │ ├── transaction.ts │ └── vaults.ts ├── types │ ├── bitcoin.ts │ ├── currency.ts │ ├── encoding.ts │ ├── extrinsic.ts │ ├── index.ts │ ├── loans.ts │ ├── oracleTypes.ts │ ├── requestTypes.ts │ └── vault.ts └── utils │ ├── bitcoin.ts │ ├── constants.ts │ ├── currency.ts │ ├── encoding.ts │ ├── index.ts │ ├── issueRedeem.ts │ ├── loans.ts │ ├── rewards.ts │ └── storage.ts ├── test ├── config.ts ├── integration │ ├── external │ │ └── staging │ │ │ └── electrs.test.ts │ └── parachain │ │ └── staging │ │ ├── btc-relay.test.ts │ │ ├── constants.test.ts │ │ ├── fee.test.ts │ │ ├── interbtc-api.test.ts │ │ ├── sequential │ │ ├── amm.partial.ts │ │ ├── asset-registry.partial.ts │ │ ├── escrow.partial.ts │ │ ├── index.test.ts │ │ ├── issue.partial.ts │ │ ├── loans.partial.ts │ │ ├── nomination.partial.ts │ │ ├── oracle.partial.ts │ │ ├── redeem.partial.ts │ │ ├── replace.partial.ts │ │ └── vaults.partial.ts │ │ ├── setup │ │ └── initialize.test.ts │ │ ├── system.test.ts │ │ ├── tokens.test.ts │ │ └── utils.test.ts ├── unit │ ├── factory.test.ts │ ├── mocks │ │ └── vaultsTestMocks.ts │ ├── parachain │ │ ├── asset-registry.test.ts │ │ ├── loans.test.ts │ │ ├── redeem.test.ts │ │ └── vaults.test.ts │ └── utils │ │ ├── bitcoin.test.ts │ │ └── encoding.test.ts └── utils │ ├── SingleAccountSigner.ts │ ├── bitcoin-core-client.ts │ ├── bitcoin-utils.ts │ ├── helpers.ts │ ├── issue-redeem.ts │ └── jestSetupFileAfterEnv.ts ├── tsconfig-base.json ├── tsconfig-cjs.json ├── tsconfig-types.json ├── tsconfig.json └── typedoc.json /.chglog/CHANGELOG.tpl.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/.chglog/CHANGELOG.tpl.md -------------------------------------------------------------------------------- /.chglog/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/.chglog/config.yml -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/.editorconfig -------------------------------------------------------------------------------- /.env.staging: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/.env.staging -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/docs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/.github/workflows/docs.yaml -------------------------------------------------------------------------------- /.github/workflows/integration-tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/.github/workflows/integration-tests.yml -------------------------------------------------------------------------------- /.github/workflows/npm.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/.github/workflows/npm.yml -------------------------------------------------------------------------------- /.github/workflows/projects.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/.github/workflows/projects.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/_/husky.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/.husky/_/husky.sh -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/.husky/pre-commit -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/.npmignore -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | lts/iron -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "printWidth": 140 3 | } 4 | -------------------------------------------------------------------------------- /.yarnrc.yml: -------------------------------------------------------------------------------- 1 | nodeLinker: "node-modules" -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/README.md -------------------------------------------------------------------------------- /create-build-package-json.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/create-build-package-json.sh -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /docker/oracle-config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/docker/oracle-config.json -------------------------------------------------------------------------------- /docker/vault_1-keyfile.json: -------------------------------------------------------------------------------- 1 | { 2 | "vault_1": "//Charlie//stash" 3 | } -------------------------------------------------------------------------------- /docker/vault_2-keyfile.json: -------------------------------------------------------------------------------- 1 | { 2 | "vault_2": "//Dave//stash" 3 | } -------------------------------------------------------------------------------- /docker/vault_3-keyfile.json: -------------------------------------------------------------------------------- 1 | { 2 | "vault_3": "//Eve//stash" 3 | } -------------------------------------------------------------------------------- /generate_docs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/generate_docs -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/package.json -------------------------------------------------------------------------------- /scripts/2022-08-08-vault-migration.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/scripts/2022-08-08-vault-migration.ts -------------------------------------------------------------------------------- /scripts/analyze-xcm-transfers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/scripts/analyze-xcm-transfers.ts -------------------------------------------------------------------------------- /scripts/circulating-supply.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/scripts/circulating-supply.ts -------------------------------------------------------------------------------- /scripts/create-proposal.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/scripts/create-proposal.ts -------------------------------------------------------------------------------- /scripts/democracy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/scripts/democracy.ts -------------------------------------------------------------------------------- /scripts/get-undercollateralized-borrowers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/scripts/get-undercollateralized-borrowers.ts -------------------------------------------------------------------------------- /scripts/hrmp-setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/scripts/hrmp-setup.ts -------------------------------------------------------------------------------- /scripts/load-test-faucet.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/scripts/load-test-faucet.ts -------------------------------------------------------------------------------- /scripts/locked-dot-vdot.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/scripts/locked-dot-vdot.ts -------------------------------------------------------------------------------- /scripts/raw-storage-write.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/scripts/raw-storage-write.ts -------------------------------------------------------------------------------- /scripts/runtime-upgrade.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/scripts/runtime-upgrade.ts -------------------------------------------------------------------------------- /scripts/setup-parachain-docker.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/scripts/setup-parachain-docker.ts -------------------------------------------------------------------------------- /scripts/util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/scripts/util.ts -------------------------------------------------------------------------------- /scripts/verify-vault-capacity.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/scripts/verify-vault-capacity.ts -------------------------------------------------------------------------------- /scripts/verify-vaults.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/scripts/verify-vaults.ts -------------------------------------------------------------------------------- /scripts/xcm-cross-chain-transfer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/scripts/xcm-cross-chain-transfer.ts -------------------------------------------------------------------------------- /scripts/xcm-return-unknown-tokens.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/scripts/xcm-return-unknown-tokens.ts -------------------------------------------------------------------------------- /src/clients/client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/clients/client.ts -------------------------------------------------------------------------------- /src/clients/faucet.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/clients/faucet.ts -------------------------------------------------------------------------------- /src/clients/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/clients/index.ts -------------------------------------------------------------------------------- /src/external/electrs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/external/electrs.ts -------------------------------------------------------------------------------- /src/external/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/external/index.ts -------------------------------------------------------------------------------- /src/factory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/factory.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/interbtc-api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/interbtc-api.ts -------------------------------------------------------------------------------- /src/interfaces/default/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/interfaces/definitions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/interfaces/definitions.ts -------------------------------------------------------------------------------- /src/interfaces/interbtc-types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/interfaces/interbtc-types.ts -------------------------------------------------------------------------------- /src/json/parachain.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/json/parachain.json -------------------------------------------------------------------------------- /src/parachain/amm.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/parachain/amm.ts -------------------------------------------------------------------------------- /src/parachain/amm/encoding.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/parachain/amm/encoding.ts -------------------------------------------------------------------------------- /src/parachain/amm/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/parachain/amm/index.ts -------------------------------------------------------------------------------- /src/parachain/amm/liquidity-pool/calculator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/parachain/amm/liquidity-pool/calculator.ts -------------------------------------------------------------------------------- /src/parachain/amm/liquidity-pool/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/parachain/amm/liquidity-pool/index.ts -------------------------------------------------------------------------------- /src/parachain/amm/liquidity-pool/stable-meta.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/parachain/amm/liquidity-pool/stable-meta.ts -------------------------------------------------------------------------------- /src/parachain/amm/liquidity-pool/stable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/parachain/amm/liquidity-pool/stable.ts -------------------------------------------------------------------------------- /src/parachain/amm/liquidity-pool/standard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/parachain/amm/liquidity-pool/standard.ts -------------------------------------------------------------------------------- /src/parachain/amm/liquidity-pool/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/parachain/amm/liquidity-pool/types.ts -------------------------------------------------------------------------------- /src/parachain/amm/liquidity-pool/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/parachain/amm/liquidity-pool/utils.ts -------------------------------------------------------------------------------- /src/parachain/amm/trade/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/parachain/amm/trade/index.ts -------------------------------------------------------------------------------- /src/parachain/amm/trade/trade.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/parachain/amm/trade/trade.ts -------------------------------------------------------------------------------- /src/parachain/amm/trade/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/parachain/amm/trade/types.ts -------------------------------------------------------------------------------- /src/parachain/amm/trade/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/parachain/amm/trade/utils.ts -------------------------------------------------------------------------------- /src/parachain/amm/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/parachain/amm/types.ts -------------------------------------------------------------------------------- /src/parachain/amm/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/parachain/amm/utils.ts -------------------------------------------------------------------------------- /src/parachain/asset-registry.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/parachain/asset-registry.ts -------------------------------------------------------------------------------- /src/parachain/btc-relay.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/parachain/btc-relay.ts -------------------------------------------------------------------------------- /src/parachain/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/parachain/constants.ts -------------------------------------------------------------------------------- /src/parachain/escrow.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/parachain/escrow.ts -------------------------------------------------------------------------------- /src/parachain/fee.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/parachain/fee.ts -------------------------------------------------------------------------------- /src/parachain/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/parachain/index.ts -------------------------------------------------------------------------------- /src/parachain/issue.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/parachain/issue.ts -------------------------------------------------------------------------------- /src/parachain/loans.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/parachain/loans.ts -------------------------------------------------------------------------------- /src/parachain/nomination.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/parachain/nomination.ts -------------------------------------------------------------------------------- /src/parachain/oracle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/parachain/oracle.ts -------------------------------------------------------------------------------- /src/parachain/redeem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/parachain/redeem.ts -------------------------------------------------------------------------------- /src/parachain/replace.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/parachain/replace.ts -------------------------------------------------------------------------------- /src/parachain/rewards.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/parachain/rewards.ts -------------------------------------------------------------------------------- /src/parachain/system.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/parachain/system.ts -------------------------------------------------------------------------------- /src/parachain/tokens.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/parachain/tokens.ts -------------------------------------------------------------------------------- /src/parachain/transaction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/parachain/transaction.ts -------------------------------------------------------------------------------- /src/parachain/vaults.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/parachain/vaults.ts -------------------------------------------------------------------------------- /src/types/bitcoin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/types/bitcoin.ts -------------------------------------------------------------------------------- /src/types/currency.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/types/currency.ts -------------------------------------------------------------------------------- /src/types/encoding.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/types/encoding.ts -------------------------------------------------------------------------------- /src/types/extrinsic.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/types/extrinsic.ts -------------------------------------------------------------------------------- /src/types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/types/index.ts -------------------------------------------------------------------------------- /src/types/loans.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/types/loans.ts -------------------------------------------------------------------------------- /src/types/oracleTypes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/types/oracleTypes.ts -------------------------------------------------------------------------------- /src/types/requestTypes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/types/requestTypes.ts -------------------------------------------------------------------------------- /src/types/vault.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/types/vault.ts -------------------------------------------------------------------------------- /src/utils/bitcoin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/utils/bitcoin.ts -------------------------------------------------------------------------------- /src/utils/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/utils/constants.ts -------------------------------------------------------------------------------- /src/utils/currency.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/utils/currency.ts -------------------------------------------------------------------------------- /src/utils/encoding.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/utils/encoding.ts -------------------------------------------------------------------------------- /src/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/utils/index.ts -------------------------------------------------------------------------------- /src/utils/issueRedeem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/utils/issueRedeem.ts -------------------------------------------------------------------------------- /src/utils/loans.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/utils/loans.ts -------------------------------------------------------------------------------- /src/utils/rewards.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/utils/rewards.ts -------------------------------------------------------------------------------- /src/utils/storage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/src/utils/storage.ts -------------------------------------------------------------------------------- /test/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/test/config.ts -------------------------------------------------------------------------------- /test/integration/external/staging/electrs.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/test/integration/external/staging/electrs.test.ts -------------------------------------------------------------------------------- /test/integration/parachain/staging/btc-relay.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/test/integration/parachain/staging/btc-relay.test.ts -------------------------------------------------------------------------------- /test/integration/parachain/staging/constants.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/test/integration/parachain/staging/constants.test.ts -------------------------------------------------------------------------------- /test/integration/parachain/staging/fee.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/test/integration/parachain/staging/fee.test.ts -------------------------------------------------------------------------------- /test/integration/parachain/staging/interbtc-api.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/test/integration/parachain/staging/interbtc-api.test.ts -------------------------------------------------------------------------------- /test/integration/parachain/staging/sequential/amm.partial.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/test/integration/parachain/staging/sequential/amm.partial.ts -------------------------------------------------------------------------------- /test/integration/parachain/staging/sequential/asset-registry.partial.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/test/integration/parachain/staging/sequential/asset-registry.partial.ts -------------------------------------------------------------------------------- /test/integration/parachain/staging/sequential/escrow.partial.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/test/integration/parachain/staging/sequential/escrow.partial.ts -------------------------------------------------------------------------------- /test/integration/parachain/staging/sequential/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/test/integration/parachain/staging/sequential/index.test.ts -------------------------------------------------------------------------------- /test/integration/parachain/staging/sequential/issue.partial.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/test/integration/parachain/staging/sequential/issue.partial.ts -------------------------------------------------------------------------------- /test/integration/parachain/staging/sequential/loans.partial.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/test/integration/parachain/staging/sequential/loans.partial.ts -------------------------------------------------------------------------------- /test/integration/parachain/staging/sequential/nomination.partial.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/test/integration/parachain/staging/sequential/nomination.partial.ts -------------------------------------------------------------------------------- /test/integration/parachain/staging/sequential/oracle.partial.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/test/integration/parachain/staging/sequential/oracle.partial.ts -------------------------------------------------------------------------------- /test/integration/parachain/staging/sequential/redeem.partial.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/test/integration/parachain/staging/sequential/redeem.partial.ts -------------------------------------------------------------------------------- /test/integration/parachain/staging/sequential/replace.partial.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/test/integration/parachain/staging/sequential/replace.partial.ts -------------------------------------------------------------------------------- /test/integration/parachain/staging/sequential/vaults.partial.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/test/integration/parachain/staging/sequential/vaults.partial.ts -------------------------------------------------------------------------------- /test/integration/parachain/staging/setup/initialize.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/test/integration/parachain/staging/setup/initialize.test.ts -------------------------------------------------------------------------------- /test/integration/parachain/staging/system.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/test/integration/parachain/staging/system.test.ts -------------------------------------------------------------------------------- /test/integration/parachain/staging/tokens.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/test/integration/parachain/staging/tokens.test.ts -------------------------------------------------------------------------------- /test/integration/parachain/staging/utils.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/test/integration/parachain/staging/utils.test.ts -------------------------------------------------------------------------------- /test/unit/factory.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/test/unit/factory.test.ts -------------------------------------------------------------------------------- /test/unit/mocks/vaultsTestMocks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/test/unit/mocks/vaultsTestMocks.ts -------------------------------------------------------------------------------- /test/unit/parachain/asset-registry.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/test/unit/parachain/asset-registry.test.ts -------------------------------------------------------------------------------- /test/unit/parachain/loans.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/test/unit/parachain/loans.test.ts -------------------------------------------------------------------------------- /test/unit/parachain/redeem.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/test/unit/parachain/redeem.test.ts -------------------------------------------------------------------------------- /test/unit/parachain/vaults.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/test/unit/parachain/vaults.test.ts -------------------------------------------------------------------------------- /test/unit/utils/bitcoin.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/test/unit/utils/bitcoin.test.ts -------------------------------------------------------------------------------- /test/unit/utils/encoding.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/test/unit/utils/encoding.test.ts -------------------------------------------------------------------------------- /test/utils/SingleAccountSigner.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/test/utils/SingleAccountSigner.ts -------------------------------------------------------------------------------- /test/utils/bitcoin-core-client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/test/utils/bitcoin-core-client.ts -------------------------------------------------------------------------------- /test/utils/bitcoin-utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/test/utils/bitcoin-utils.ts -------------------------------------------------------------------------------- /test/utils/helpers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/test/utils/helpers.ts -------------------------------------------------------------------------------- /test/utils/issue-redeem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/test/utils/issue-redeem.ts -------------------------------------------------------------------------------- /test/utils/jestSetupFileAfterEnv.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/test/utils/jestSetupFileAfterEnv.ts -------------------------------------------------------------------------------- /tsconfig-base.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/tsconfig-base.json -------------------------------------------------------------------------------- /tsconfig-cjs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/tsconfig-cjs.json -------------------------------------------------------------------------------- /tsconfig-types.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/tsconfig-types.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/tsconfig.json -------------------------------------------------------------------------------- /typedoc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/interlay/interbtc-api/HEAD/typedoc.json --------------------------------------------------------------------------------