@ckb-ccc/core 0.0.4-alpha.8 → 0.0.5-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/dist/ckb/transaction.d.ts +85 -2
- package/dist/ckb/transaction.d.ts.map +1 -1
- package/dist/ckb/transaction.js +152 -7
- package/dist/client/client.d.ts +8 -3
- package/dist/client/client.d.ts.map +1 -1
- package/dist/client/client.js +29 -2
- package/dist/client/clientPublicMainnet.advanced.d.ts.map +1 -1
- package/dist/client/clientPublicMainnet.advanced.js +4 -0
- package/dist/client/clientPublicTestnet.advanced.d.ts.map +1 -1
- package/dist/client/clientPublicTestnet.advanced.js +4 -0
- package/dist/client/clientTypes.d.ts +48 -1
- package/dist/client/clientTypes.d.ts.map +1 -1
- package/dist/client/clientTypes.js +27 -1
- package/dist/client/jsonRpc/index.d.ts +9 -1
- package/dist/client/jsonRpc/index.d.ts.map +1 -1
- package/dist/client/jsonRpc/index.js +15 -1
- package/dist/client/jsonRpc/transformers.d.ts +17 -3
- package/dist/client/jsonRpc/transformers.d.ts.map +1 -1
- package/dist/client/jsonRpc/transformers.js +37 -3
- package/dist/client/jsonRpc/types.d.ts +15 -0
- package/dist/client/jsonRpc/types.d.ts.map +1 -1
- package/dist/fixedPoint/index.d.ts.map +1 -1
- package/dist/fixedPoint/index.js +4 -1
- package/dist/fixedPoint/index.test.d.ts +2 -0
- package/dist/fixedPoint/index.test.d.ts.map +1 -0
- package/dist/fixedPoint/index.test.js +43 -0
- package/dist/signer/btc/signerBtc.d.ts.map +1 -1
- package/dist/signer/btc/signerBtc.js +2 -3
- package/dist/signer/btc/signerBtcPublicKeyReadonly.d.ts +12 -0
- package/dist/signer/btc/signerBtcPublicKeyReadonly.d.ts.map +1 -1
- package/dist/signer/btc/signerBtcPublicKeyReadonly.js +16 -0
- package/dist/signer/ckb/signerCkbScriptReadonly.d.ts +12 -0
- package/dist/signer/ckb/signerCkbScriptReadonly.d.ts.map +1 -1
- package/dist/signer/ckb/signerCkbScriptReadonly.js +16 -0
- package/dist/signer/evm/signerEvm.d.ts +5 -1
- package/dist/signer/evm/signerEvm.d.ts.map +1 -1
- package/dist/signer/evm/signerEvm.js +21 -8
- package/dist/signer/evm/signerEvmAddressReadonly.d.ts +13 -1
- package/dist/signer/evm/signerEvmAddressReadonly.d.ts.map +1 -1
- package/dist/signer/evm/signerEvmAddressReadonly.js +16 -0
- package/dist/signer/index.d.ts +0 -1
- package/dist/signer/index.d.ts.map +1 -1
- package/dist/signer/index.js +0 -1
- package/dist/signer/signer.d.ts +26 -6
- package/dist/signer/signer.d.ts.map +1 -1
- package/dist/signer/signer.js +14 -3
- package/dist.commonjs/address/address.advanced.d.ts +65 -0
- package/dist.commonjs/address/address.advanced.d.ts.map +1 -0
- package/dist.commonjs/address/address.advanced.js +149 -0
- package/dist.commonjs/address/advanced.d.ts +2 -0
- package/dist.commonjs/address/advanced.d.ts.map +1 -0
- package/dist.commonjs/address/advanced.js +17 -0
- package/dist.commonjs/address/index.d.ts +54 -0
- package/dist.commonjs/address/index.d.ts.map +1 -0
- package/dist.commonjs/address/index.js +84 -0
- package/dist.commonjs/advanced.d.ts +3 -0
- package/dist.commonjs/advanced.d.ts.map +1 -0
- package/dist.commonjs/advanced.js +31 -0
- package/dist.commonjs/advancedBarrel.d.ts +5 -0
- package/dist.commonjs/advancedBarrel.d.ts.map +1 -0
- package/dist.commonjs/advancedBarrel.js +20 -0
- package/dist.commonjs/barrel.d.ts +11 -0
- package/dist.commonjs/barrel.d.ts.map +1 -0
- package/dist.commonjs/barrel.js +26 -0
- package/dist.commonjs/bytes/advanced.d.ts +5 -0
- package/dist.commonjs/bytes/advanced.d.ts.map +1 -0
- package/dist.commonjs/bytes/advanced.js +2 -0
- package/dist.commonjs/bytes/index.d.ts +64 -0
- package/dist.commonjs/bytes/index.d.ts.map +1 -0
- package/dist.commonjs/bytes/index.js +97 -0
- package/dist.commonjs/ckb/advanced.d.ts +4 -0
- package/dist.commonjs/ckb/advanced.d.ts.map +1 -0
- package/dist.commonjs/ckb/advanced.js +32 -0
- package/dist.commonjs/ckb/index.d.ts +3 -0
- package/dist.commonjs/ckb/index.d.ts.map +1 -0
- package/dist.commonjs/ckb/index.js +18 -0
- package/dist.commonjs/ckb/molecule.advanced/generated.d.ts +355 -0
- package/dist.commonjs/ckb/molecule.advanced/generated.d.ts.map +1 -0
- package/dist.commonjs/ckb/molecule.advanced/generated.js +1536 -0
- package/dist.commonjs/ckb/molecule.advanced/index.d.ts +6 -0
- package/dist.commonjs/ckb/molecule.advanced/index.d.ts.map +1 -0
- package/dist.commonjs/ckb/molecule.advanced/index.js +25 -0
- package/dist.commonjs/ckb/script.advanced.d.ts +5 -0
- package/dist.commonjs/ckb/script.advanced.d.ts.map +1 -0
- package/dist.commonjs/ckb/script.advanced.js +16 -0
- package/dist.commonjs/ckb/script.d.ts +126 -0
- package/dist.commonjs/ckb/script.d.ts.map +1 -0
- package/dist.commonjs/ckb/script.js +188 -0
- package/dist.commonjs/ckb/transaction.advanced.d.ts +5 -0
- package/dist.commonjs/ckb/transaction.advanced.d.ts.map +1 -0
- package/dist.commonjs/ckb/transaction.advanced.js +12 -0
- package/dist.commonjs/ckb/transaction.d.ts +616 -0
- package/dist.commonjs/ckb/transaction.d.ts.map +1 -0
- package/dist.commonjs/ckb/transaction.js +810 -0
- package/dist.commonjs/client/advanced.d.ts +4 -0
- package/dist.commonjs/client/advanced.d.ts.map +1 -0
- package/dist.commonjs/client/advanced.js +19 -0
- package/dist.commonjs/client/client.d.ts +24 -0
- package/dist.commonjs/client/client.d.ts.map +1 -0
- package/dist.commonjs/client/client.js +57 -0
- package/dist.commonjs/client/clientPublicMainnet.advanced.d.ts +4 -0
- package/dist.commonjs/client/clientPublicMainnet.advanced.d.ts.map +1 -0
- package/dist.commonjs/client/clientPublicMainnet.advanced.js +30 -0
- package/dist.commonjs/client/clientPublicMainnet.d.ts +9 -0
- package/dist.commonjs/client/clientPublicMainnet.d.ts.map +1 -0
- package/dist.commonjs/client/clientPublicMainnet.js +17 -0
- package/dist.commonjs/client/clientPublicTestnet.advanced.d.ts +4 -0
- package/dist.commonjs/client/clientPublicTestnet.advanced.d.ts.map +1 -0
- package/dist.commonjs/client/clientPublicTestnet.advanced.js +30 -0
- package/dist.commonjs/client/clientPublicTestnet.d.ts +9 -0
- package/dist.commonjs/client/clientPublicTestnet.d.ts.map +1 -0
- package/dist.commonjs/client/clientPublicTestnet.js +17 -0
- package/dist.commonjs/client/clientTypes.d.ts +55 -0
- package/dist.commonjs/client/clientTypes.d.ts.map +1 -0
- package/dist.commonjs/client/clientTypes.js +31 -0
- package/dist.commonjs/client/index.d.ts +6 -0
- package/dist.commonjs/client/index.d.ts.map +1 -0
- package/dist.commonjs/client/index.js +21 -0
- package/dist.commonjs/client/jsonRpc/advanced.d.ts +3 -0
- package/dist.commonjs/client/jsonRpc/advanced.d.ts.map +1 -0
- package/dist.commonjs/client/jsonRpc/advanced.js +18 -0
- package/dist.commonjs/client/jsonRpc/index.d.ts +76 -0
- package/dist.commonjs/client/jsonRpc/index.d.ts.map +1 -0
- package/dist.commonjs/client/jsonRpc/index.js +142 -0
- package/dist.commonjs/client/jsonRpc/transformers.d.ts +42 -0
- package/dist.commonjs/client/jsonRpc/transformers.d.ts.map +1 -0
- package/dist.commonjs/client/jsonRpc/transformers.js +160 -0
- package/dist.commonjs/client/jsonRpc/types.d.ts +56 -0
- package/dist.commonjs/client/jsonRpc/types.d.ts.map +1 -0
- package/dist.commonjs/client/jsonRpc/types.js +2 -0
- package/dist.commonjs/fixedPoint/index.d.ts +49 -0
- package/dist.commonjs/fixedPoint/index.d.ts.map +1 -0
- package/dist.commonjs/fixedPoint/index.js +68 -0
- package/dist.commonjs/fixedPoint/index.test.d.ts +2 -0
- package/dist.commonjs/fixedPoint/index.test.d.ts.map +1 -0
- package/dist.commonjs/fixedPoint/index.test.js +45 -0
- package/dist.commonjs/hasher/advanced.d.ts +2 -0
- package/dist.commonjs/hasher/advanced.d.ts.map +1 -0
- package/dist.commonjs/hasher/advanced.js +4 -0
- package/dist.commonjs/hasher/index.d.ts +52 -0
- package/dist.commonjs/hasher/index.d.ts.map +1 -0
- package/dist.commonjs/hasher/index.js +68 -0
- package/dist.commonjs/hex/index.d.ts +24 -0
- package/dist.commonjs/hex/index.d.ts.map +1 -0
- package/dist.commonjs/hex/index.js +20 -0
- package/dist.commonjs/index.d.ts +3 -0
- package/dist.commonjs/index.d.ts.map +1 -0
- package/dist.commonjs/index.js +31 -0
- package/dist.commonjs/num/index.d.ts +112 -0
- package/dist.commonjs/num/index.d.ts.map +1 -0
- package/dist.commonjs/num/index.js +139 -0
- package/dist.commonjs/signer/btc/index.d.ts +3 -0
- package/dist.commonjs/signer/btc/index.d.ts.map +1 -0
- package/dist.commonjs/signer/btc/index.js +18 -0
- package/dist.commonjs/signer/btc/signerBtc.d.ts +50 -0
- package/dist.commonjs/signer/btc/signerBtc.d.ts.map +1 -0
- package/dist.commonjs/signer/btc/signerBtc.js +70 -0
- package/dist.commonjs/signer/btc/signerBtcPublicKeyReadonly.d.ts +60 -0
- package/dist.commonjs/signer/btc/signerBtcPublicKeyReadonly.d.ts.map +1 -0
- package/dist.commonjs/signer/btc/signerBtcPublicKeyReadonly.js +72 -0
- package/dist.commonjs/signer/ckb/index.d.ts +2 -0
- package/dist.commonjs/signer/ckb/index.d.ts.map +1 -0
- package/dist.commonjs/signer/ckb/index.js +17 -0
- package/dist.commonjs/signer/ckb/signerCkbScriptReadonly.d.ts +59 -0
- package/dist.commonjs/signer/ckb/signerCkbScriptReadonly.d.ts.map +1 -0
- package/dist.commonjs/signer/ckb/signerCkbScriptReadonly.js +71 -0
- package/dist.commonjs/signer/evm/index.d.ts +3 -0
- package/dist.commonjs/signer/evm/index.d.ts.map +1 -0
- package/dist.commonjs/signer/evm/index.js +18 -0
- package/dist.commonjs/signer/evm/signerEvm.d.ts +46 -0
- package/dist.commonjs/signer/evm/signerEvm.d.ts.map +1 -0
- package/dist.commonjs/signer/evm/signerEvm.js +82 -0
- package/dist.commonjs/signer/evm/signerEvmAddressReadonly.d.ts +52 -0
- package/dist.commonjs/signer/evm/signerEvmAddressReadonly.d.ts.map +1 -0
- package/dist.commonjs/signer/evm/signerEvmAddressReadonly.js +62 -0
- package/dist.commonjs/signer/index.d.ts +5 -0
- package/dist.commonjs/signer/index.d.ts.map +1 -0
- package/dist.commonjs/signer/index.js +20 -0
- package/dist.commonjs/signer/signer.d.ts +133 -0
- package/dist.commonjs/signer/signer.d.ts.map +1 -0
- package/dist.commonjs/signer/signer.js +117 -0
- package/dist.commonjs/tsconfig.commonjs.tsbuildinfo +1 -0
- package/dist.commonjs/utils/index.d.ts +7 -0
- package/dist.commonjs/utils/index.d.ts.map +1 -0
- package/dist.commonjs/utils/index.js +10 -0
- package/jest.config.js +5 -0
- package/package.json +24 -7
- package/src/ckb/transaction.ts +198 -3
- package/src/client/client.ts +64 -3
- package/src/client/clientPublicMainnet.advanced.ts +5 -0
- package/src/client/clientPublicTestnet.advanced.ts +5 -0
- package/src/client/clientTypes.ts +70 -1
- package/src/client/jsonRpc/index.ts +38 -2
- package/src/client/jsonRpc/transformers.ts +73 -4
- package/src/client/jsonRpc/types.ts +16 -0
- package/src/fixedPoint/index.test.ts +55 -0
- package/src/fixedPoint/index.ts +7 -1
- package/src/signer/btc/signerBtc.ts +6 -3
- package/src/signer/btc/signerBtcPublicKeyReadonly.ts +18 -0
- package/src/signer/ckb/signerCkbScriptReadonly.ts +18 -0
- package/src/signer/evm/signerEvm.ts +56 -14
- package/src/signer/evm/signerEvmAddressReadonly.ts +19 -1
- package/src/signer/index.ts +0 -1
- package/src/signer/signer.ts +29 -3
- package/dist/signer/helpers.d.ts +0 -40
- package/dist/signer/helpers.d.ts.map +0 -1
- package/dist/signer/helpers.js +0 -90
- package/src/signer/helpers.ts +0 -122
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"program":{"fileNames":["../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.dom.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2017.date.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../../node_modules/.pnpm/typescript@5.4.5/node_modules/typescript/lib/lib.es2020.full.d.ts","../../../node_modules/.pnpm/bech32@2.0.0/node_modules/bech32/dist/index.d.ts","../../../node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.d.ts","../src/bytes/advanced.ts","../src/bytes/index.ts","../src/hex/index.ts","../src/ckb/molecule.advanced/generated.d.ts","../src/ckb/molecule.advanced/index.ts","../src/ckb/script.advanced.ts","../src/ckb/script.ts","../../../node_modules/.pnpm/@ckb-lumos+base@0.22.2/node_modules/@ckb-lumos/base/lib/primitive.d.ts","../../../node_modules/.pnpm/@ckb-lumos+base@0.22.2/node_modules/@ckb-lumos/base/lib/api.d.ts","../../../node_modules/.pnpm/@ckb-lumos+base@0.22.2/node_modules/@ckb-lumos/base/lib/values.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/assert.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/assert/strict.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/header.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/readable.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/file.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/fetch.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/formdata.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/connector.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/client.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/errors.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/global-dispatcher.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/global-origin.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/pool-stats.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/pool.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/handlers.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/balanced-pool.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/agent.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/mock-interceptor.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/mock-agent.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/mock-client.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/mock-pool.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/mock-errors.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/proxy-agent.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/api.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/cookies.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/patch.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/filereader.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/diagnostics-channel.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/websocket.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/content-type.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/cache.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/interceptors.d.ts","../../../node_modules/.pnpm/undici-types@5.26.5/node_modules/undici-types/index.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/globals.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/async_hooks.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/buffer.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/child_process.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/cluster.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/console.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/constants.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/crypto.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/dgram.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/diagnostics_channel.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/dns.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/dns/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/domain.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/dom-events.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/events.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/fs.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/fs/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/http.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/http2.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/https.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/inspector.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/module.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/net.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/os.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/path.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/perf_hooks.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/process.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/punycode.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/querystring.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/readline.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/readline/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/repl.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/sea.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/stream.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/stream/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/stream/consumers.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/stream/web.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/string_decoder.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/test.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/timers.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/timers/promises.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/tls.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/trace_events.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/tty.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/url.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/util.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/v8.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/vm.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/wasi.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/worker_threads.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/zlib.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/globals.global.d.ts","../../../node_modules/.pnpm/@types+node@20.12.7/node_modules/@types/node/index.d.ts","../../../node_modules/.pnpm/@types+blake2b@2.1.3/node_modules/@types/blake2b/index.d.ts","../../../node_modules/.pnpm/@ckb-lumos+codec@0.22.2/node_modules/@ckb-lumos/codec/lib/base.d.ts","../../../node_modules/.pnpm/@ckb-lumos+codec@0.22.2/node_modules/@ckb-lumos/codec/lib/high-order/nested.d.ts","../../../node_modules/.pnpm/@ckb-lumos+codec@0.22.2/node_modules/@ckb-lumos/codec/lib/high-order/index.d.ts","../../../node_modules/.pnpm/@ckb-lumos+codec@0.22.2/node_modules/@ckb-lumos/codec/lib/bytes.d.ts","../../../node_modules/.pnpm/jsbi@4.3.0/node_modules/jsbi/jsbi.d.ts","../../../node_modules/.pnpm/@ckb-lumos+bi@0.22.2/node_modules/@ckb-lumos/bi/lib/index.d.ts","../../../node_modules/.pnpm/@ckb-lumos+codec@0.22.2/node_modules/@ckb-lumos/codec/lib/number/uint.d.ts","../../../node_modules/.pnpm/@ckb-lumos+codec@0.22.2/node_modules/@ckb-lumos/codec/lib/number/index.d.ts","../../../node_modules/.pnpm/@ckb-lumos+codec@0.22.2/node_modules/@ckb-lumos/codec/lib/molecule/helper.d.ts","../../../node_modules/.pnpm/@ckb-lumos+codec@0.22.2/node_modules/@ckb-lumos/codec/lib/molecule/layout.d.ts","../../../node_modules/.pnpm/@ckb-lumos+codec@0.22.2/node_modules/@ckb-lumos/codec/lib/molecule/index.d.ts","../../../node_modules/.pnpm/@ckb-lumos+codec@0.22.2/node_modules/@ckb-lumos/codec/lib/index.d.ts","../../../node_modules/.pnpm/@ckb-lumos+base@0.22.2/node_modules/@ckb-lumos/base/lib/utils.d.ts","../../../node_modules/.pnpm/@ckb-lumos+base@0.22.2/node_modules/@ckb-lumos/base/lib/since.d.ts","../../../node_modules/.pnpm/@ckb-lumos+base@0.22.2/node_modules/@ckb-lumos/base/lib/logger.d.ts","../../../node_modules/.pnpm/@ckb-lumos+base@0.22.2/node_modules/@ckb-lumos/base/lib/indexer.d.ts","../../../node_modules/.pnpm/@ckb-lumos+base@0.22.2/node_modules/@ckb-lumos/base/lib/helpers.d.ts","../../../node_modules/.pnpm/@ckb-lumos+base@0.22.2/node_modules/@ckb-lumos/base/lib/blockchain.d.ts","../../../node_modules/.pnpm/@ckb-lumos+base@0.22.2/node_modules/@ckb-lumos/base/lib/index.d.ts","../../../node_modules/.pnpm/immutable@4.3.5/node_modules/immutable/dist/immutable.d.ts","../../../node_modules/.pnpm/@ckb-lumos+config-manager@0.22.2_encoding@0.1.13/node_modules/@ckb-lumos/config-manager/lib/types.d.ts","../../../node_modules/.pnpm/@ckb-lumos+config-manager@0.22.2_encoding@0.1.13/node_modules/@ckb-lumos/config-manager/lib/manager.d.ts","../../../node_modules/.pnpm/@ckb-lumos+config-manager@0.22.2_encoding@0.1.13/node_modules/@ckb-lumos/config-manager/lib/helpers.d.ts","../../../node_modules/.pnpm/@ckb-lumos+config-manager@0.22.2_encoding@0.1.13/node_modules/@ckb-lumos/config-manager/lib/predefined.d.ts","../../../node_modules/.pnpm/@ckb-lumos+config-manager@0.22.2_encoding@0.1.13/node_modules/@ckb-lumos/config-manager/lib/genesis.d.ts","../../../node_modules/.pnpm/@ckb-lumos+config-manager@0.22.2_encoding@0.1.13/node_modules/@ckb-lumos/config-manager/lib/refresh.d.ts","../../../node_modules/.pnpm/@ckb-lumos+config-manager@0.22.2_encoding@0.1.13/node_modules/@ckb-lumos/config-manager/lib/index.d.ts","../../../node_modules/.pnpm/@ckb-lumos+helpers@0.22.2_encoding@0.1.13/node_modules/@ckb-lumos/helpers/lib/index.d.ts","../src/num/index.ts","../src/utils/index.ts","../src/client/clientTypes.ts","../src/client/client.ts","../src/client/clientPublicMainnet.advanced.ts","../../../node_modules/.pnpm/cross-fetch@4.0.0_encoding@0.1.13/node_modules/cross-fetch/index.d.ts","../src/client/jsonRpc/types.ts","../src/client/jsonRpc/transformers.ts","../src/client/jsonRpc/advanced.ts","../src/client/jsonRpc/index.ts","../src/client/clientPublicMainnet.ts","../src/client/clientPublicTestnet.advanced.ts","../src/client/clientPublicTestnet.ts","../src/client/index.ts","../src/hasher/advanced.ts","../src/hasher/index.ts","../src/ckb/transaction.advanced.ts","../src/ckb/transaction.ts","../src/ckb/index.ts","../src/address/index.ts","../src/address/address.advanced.ts","../src/address/advanced.ts","../src/ckb/advanced.ts","../src/client/advanced.ts","../src/advancedBarrel.ts","../src/advanced.ts","../src/fixedPoint/index.ts","../../../node_modules/.pnpm/@noble+hashes@1.4.0/node_modules/@noble/hashes/utils.d.ts","../../../node_modules/.pnpm/@noble+hashes@1.4.0/node_modules/@noble/hashes/_md.d.ts","../../../node_modules/.pnpm/@noble+hashes@1.4.0/node_modules/@noble/hashes/ripemd160.d.ts","../../../node_modules/.pnpm/@noble+hashes@1.4.0/node_modules/@noble/hashes/sha256.d.ts","../src/signer/signer.ts","../src/signer/btc/signerBtc.ts","../src/signer/btc/signerBtcPublicKeyReadonly.ts","../src/signer/btc/index.ts","../src/signer/ckb/signerCkbScriptReadonly.ts","../src/signer/ckb/index.ts","../src/signer/evm/signerEvm.ts","../src/signer/evm/signerEvmAddressReadonly.ts","../src/signer/evm/index.ts","../src/signer/index.ts","../src/barrel.ts","../src/index.ts","../src/ckb/molecule.advanced/generated.js","../src/fixedPoint/index.test.ts","../../../node_modules/.pnpm/@jest+expect-utils@29.7.0/node_modules/@jest/expect-utils/build/index.d.ts","../../../node_modules/.pnpm/chalk@4.1.2/node_modules/chalk/index.d.ts","../../../node_modules/.pnpm/@sinclair+typebox@0.27.8/node_modules/@sinclair/typebox/typebox.d.ts","../../../node_modules/.pnpm/@jest+schemas@29.6.3/node_modules/@jest/schemas/build/index.d.ts","../../../node_modules/.pnpm/pretty-format@29.7.0/node_modules/pretty-format/build/index.d.ts","../../../node_modules/.pnpm/jest-diff@29.7.0/node_modules/jest-diff/build/index.d.ts","../../../node_modules/.pnpm/jest-matcher-utils@29.7.0/node_modules/jest-matcher-utils/build/index.d.ts","../../../node_modules/.pnpm/expect@29.7.0/node_modules/expect/build/index.d.ts","../../../node_modules/.pnpm/@types+jest@29.5.12/node_modules/@types/jest/index.d.ts"],"fileInfos":[{"version":"824cb491a40f7e8fdeb56f1df5edf91b23f3e3ee6b4cde84d4a99be32338faee","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"87d693a4920d794a73384b3c779cadcb8548ac6945aa7a925832fe2418c9527a","affectsGlobalScope":true,"impliedFormat":1},{"version":"76f838d5d49b65de83bc345c04aa54c62a3cfdb72a477dc0c0fce89a30596c30","affectsGlobalScope":true,"impliedFormat":1},{"version":"73e370058f82add1fdbc78ef3d1aab110108f2d5d9c857cb55d3361982347ace","affectsGlobalScope":true,"impliedFormat":1},{"version":"80e18897e5884b6723488d4f5652167e7bb5024f946743134ecc4aa4ee731f89","affectsGlobalScope":true,"impliedFormat":1},{"version":"cd034f499c6cdca722b60c04b5b1b78e058487a7085a8e0d6fb50809947ee573","affectsGlobalScope":true,"impliedFormat":1},{"version":"138fb588d26538783b78d1e3b2c2cc12d55840b97bf5e08bca7f7a174fbe2f17","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true,"impliedFormat":1},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true,"impliedFormat":1},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true,"impliedFormat":1},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true,"impliedFormat":1},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true,"impliedFormat":1},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true,"impliedFormat":1},{"version":"b20fe0eca9a4e405f1a5ae24a2b3290b37cf7f21eba6cbe4fc3fab979237d4f3","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"49ed889be54031e1044af0ad2c603d627b8bda8b50c1a68435fe85583901d072","affectsGlobalScope":true,"impliedFormat":1},{"version":"e93d098658ce4f0c8a0779e6cab91d0259efb88a318137f686ad76f8410ca270","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true,"impliedFormat":1},{"version":"5e07ed3809d48205d5b985642a59f2eba47c402374a7cf8006b686f79efadcbd","affectsGlobalScope":true,"impliedFormat":1},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true,"impliedFormat":1},{"version":"8073890e29d2f46fdbc19b8d6d2eb9ea58db9a2052f8640af20baff9afbc8640","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"13f6e6380c78e15e140243dc4be2fa546c287c6d61f4729bc2dd7cf449605471","affectsGlobalScope":true,"impliedFormat":1},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"1305d1e76ca44e30fb8b2b8075fa522b83f60c0bcf5d4326a9d2cf79b53724f8","impliedFormat":1},{"version":"a7a74b55a74b69119990ec09675e3f7c484cea5e7fc21639d7aafe26225b118f","impliedFormat":1},{"version":"4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","impliedFormat":1},{"version":"14a335202093409ad69a06070f3f9e9f36e87cbd73cb1483772381d3ce4c1730","signature":"b8cd011077ef2ca350da8340ef88efe286716bfd6ce517c5f6036b50bc470779","impliedFormat":1},{"version":"d5e50b99d8f8dbc01dfd154104b5881ef8167111bb6451c096e620a2e9ce6831","signature":"1f030f114dff2be1599cd4134f32cf043da0f9f7dabaa0b70386dfc0e1b42552","impliedFormat":1},{"version":"eb04196adc469339406a74b5f55db0a83059b2c5eb08804eaa4ac867e4d93b6a","signature":"432299fcddf69c649b446459cbff21372ea1c369fc7224ab2ee6b3cf034c0636","impliedFormat":1},{"version":"3f27d24b329afb1a5c9d21c277cc32f350caa4d0695e365c69c5be84fd15dcbe","impliedFormat":1},{"version":"38edd1043c1e39430bc003d190ac35f6c00cf3e1aa92e1b4f1c2e753fbd2ae42","signature":"70090c52c2cea269083cb1ff3070c99afd1d8d61a84e847f6b59d58f58e68616","impliedFormat":1},{"version":"5b3e28d3f8dcd361b5312305e9f14ae62bb72294649a5f2e5f177fda038f72bf","signature":"e7d886333e0b5c9f684651eb14215ee23baf799bd1bdfdcdaad455e94c37fc7b","impliedFormat":1},{"version":"f81e67e2205497164fe3d9dd80d927fe505d16e1963132365c96038f26d9df26","signature":"bcf83785b85bb8a91e39e24fa6da606ceccd695e8895727d35b36361ebb05f9a","impliedFormat":1},{"version":"5e094db58a6c8d4c1241edaab3d623a73e55dbbcef00c206c4d117ee51f7bd00","impliedFormat":1},{"version":"9796e0606a486d097d7469b74620ba88de8e6a6c83e240a135ce9331641299d3","impliedFormat":1},{"version":"ad279e89ae74f5b32300f49ffa591d1dd0fa33cc941fb54198c841d428c4b13e","impliedFormat":1},{"version":"acdc9fb9638a235a69bd270003d8db4d6153ada2b7ccbea741ade36b295e431e","impliedFormat":1},{"version":"7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","impliedFormat":1},{"version":"5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","impliedFormat":1},{"version":"7180c03fd3cb6e22f911ce9ba0f8a7008b1a6ddbe88ccf16a9c8140ef9ac1686","impliedFormat":1},{"version":"25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","impliedFormat":1},{"version":"54cb85a47d760da1c13c00add10d26b5118280d44d58e6908d8e89abbd9d7725","impliedFormat":1},{"version":"3e4825171442666d31c845aeb47fcd34b62e14041bb353ae2b874285d78482aa","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"a967bfe3ad4e62243eb604bf956101e4c740f5921277c60debaf325c1320bf88","impliedFormat":1},{"version":"e9775e97ac4877aebf963a0289c81abe76d1ec9a2a7778dbe637e5151f25c5f3","impliedFormat":1},{"version":"471e1da5a78350bc55ef8cef24eb3aca6174143c281b8b214ca2beda51f5e04a","impliedFormat":1},{"version":"cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","impliedFormat":1},{"version":"385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","impliedFormat":1},{"version":"9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","impliedFormat":1},{"version":"db3435f3525cd785bf21ec6769bf8da7e8a776be1a99e2e7efb5f244a2ef5fee","impliedFormat":1},{"version":"c3b170c45fc031db31f782e612adf7314b167e60439d304b49e704010e7bafe5","impliedFormat":1},{"version":"40383ebef22b943d503c6ce2cb2e060282936b952a01bea5f9f493d5fb487cc7","impliedFormat":1},{"version":"4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","impliedFormat":1},{"version":"3a84b7cb891141824bd00ef8a50b6a44596aded4075da937f180c90e362fe5f6","impliedFormat":1},{"version":"13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","impliedFormat":1},{"version":"9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","impliedFormat":1},{"version":"4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","impliedFormat":1},{"version":"24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","impliedFormat":1},{"version":"33203609eba548914dc83ddf6cadbc0bcb6e8ef89f6d648ca0908ae887f9fcc5","impliedFormat":1},{"version":"0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","impliedFormat":1},{"version":"89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","impliedFormat":1},{"version":"e53a3c2a9f624d90f24bf4588aacd223e7bec1b9d0d479b68d2f4a9e6011147f","impliedFormat":1},{"version":"339dc5265ee5ed92e536a93a04c4ebbc2128f45eeec6ed29f379e0085283542c","impliedFormat":1},{"version":"9f0a92164925aa37d4a5d9dd3e0134cff8177208dba55fd2310cd74beea40ee2","impliedFormat":1},{"version":"8bfdb79bf1a9d435ec48d9372dc93291161f152c0865b81fc0b2694aedb4578d","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"d32275be3546f252e3ad33976caf8c5e842c09cb87d468cb40d5f4cf092d1acc","impliedFormat":1},{"version":"4a0c3504813a3289f7fb1115db13967c8e004aa8e4f8a9021b95285502221bd1","impliedFormat":1},{"version":"a14ed46fa3f5ffc7a8336b497cd07b45c2084213aaca933a22443fcb2eef0d07","affectsGlobalScope":true,"impliedFormat":1},{"version":"cce1f5f86974c1e916ec4a8cab6eec9aa8e31e8148845bf07fbaa8e1d97b1a2c","impliedFormat":1},{"version":"7fd7fcbf021a5845bdd9397d4649fcf2fe17152d2098140fc723099a215d19ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"df3389f71a71a38bc931aaf1ef97a65fada98f0a27f19dd12f8b8de2b0f4e461","impliedFormat":1},{"version":"d69a3298a197fe5d59edba0ec23b4abf2c8e7b8c6718eac97833633cd664e4c9","impliedFormat":1},{"version":"a9544f6f8af0d046565e8dde585502698ebc99eef28b715bad7c2bded62e4a32","affectsGlobalScope":true,"impliedFormat":1},{"version":"a40826e8476694e90da94aa008283a7de50d1dafd37beada623863f1901cb7fb","impliedFormat":1},{"version":"8b809082dfeffc8cc4f3b9c59f55c0ff52ba12f5ae0766cb5c35deee83b8552e","affectsGlobalScope":true,"impliedFormat":1},{"version":"bd3f5d05b6b5e4bfcea7739a45f3ffb4a7f4a3442ba7baf93e0200799285b8f1","impliedFormat":1},{"version":"4c775c2fccabf49483c03cd5e3673f87c1ffb6079d98e7b81089c3def79e29c6","impliedFormat":1},{"version":"d4f9d3ae2fe1ae199e1c832cca2c44f45e0b305dfa2808afdd51249b6f4a5163","impliedFormat":1},{"version":"7525257b4aa35efc7a1bbc00f205a9a96c4e4ab791da90db41b77938c4e0c18e","impliedFormat":1},{"version":"b7fe70be794e13d1b7940e318b8770cd1fb3eced7707805318a2e3aaac2c3e9e","impliedFormat":1},{"version":"ee1ee365d88c4c6c0c0a5a5701d66ebc27ccd0bcfcfaa482c6e2e7fe7b98edf7","affectsGlobalScope":true,"impliedFormat":1},{"version":"9c611eff81287837680c1f4496daf9e737d6f3a1ff17752207814b8f8e1265af","affectsGlobalScope":true,"impliedFormat":1},{"version":"fe1fd6afdfe77976d4c702f3746c05fb05a7e566845c890e0e970fe9376d6a90","impliedFormat":1},{"version":"b5d4e3e524f2eead4519c8e819eaf7fa44a27c22418eff1b7b2d0ebc5fdc510d","impliedFormat":1},{"version":"afb1701fd4be413a8a5a88df6befdd4510c30a31372c07a4138facf61594c66d","impliedFormat":1},{"version":"9bd8e5984676cf28ebffcc65620b4ab5cb38ab2ec0aac0825df8568856895653","impliedFormat":1},{"version":"396a8939b5e177542bdf9b5262b4eee85d29851b2d57681fa9d7eae30e225830","impliedFormat":1},{"version":"5e8dc64e7e68b2b3ea52ed685cf85239e0d5fb9df31aabc94370c6bc7e19077b","impliedFormat":1},{"version":"ea455cc68871b049bcecd9f56d4cf27b852d6dafd5e3b54468ca87cc11604e4d","affectsGlobalScope":true,"impliedFormat":1},{"version":"c07146dbbbd8b347241b5df250a51e48f2d7bef19b1e187b1a3f20c849988ff1","impliedFormat":1},{"version":"45b1053e691c5af9bfe85060a3e1542835f8d84a7e6e2e77ca305251eda0cb3c","impliedFormat":1},{"version":"0f05c06ff6196958d76b865ae17245b52d8fe01773626ac3c43214a2458ea7b7","impliedFormat":1},{"version":"ae5507fc333d637dec9f37c6b3f4d423105421ea2820a64818de55db85214d66","affectsGlobalScope":true,"impliedFormat":1},{"version":"46755a4afc53df75f0bfce72259fb971daac826b0cdd8c4eaccad2755a817403","affectsGlobalScope":true,"impliedFormat":1},{"version":"8abd0566d2854c4bd1c5e48e05df5c74927187f1541e6770001d9637ac41542e","impliedFormat":1},{"version":"54e854615c4eafbdd3fd7688bd02a3aafd0ccf0e87c98f79d3e9109f047ce6b8","impliedFormat":1},{"version":"d8dba11dc34d50cb4202de5effa9a1b296d7a2f4a029eec871f894bddfb6430d","impliedFormat":1},{"version":"8b71dd18e7e63b6f991b511a201fad7c3bf8d1e0dd98acb5e3d844f335a73634","impliedFormat":1},{"version":"01d8e1419c84affad359cc240b2b551fb9812b450b4d3d456b64cda8102d4f60","impliedFormat":1},{"version":"9eece5e586312581ccd106d4853e861aaaa1a39f8e3ea672b8c3847eedd12f6e","impliedFormat":1},{"version":"8221b00f271cf7f535a8eeec03b0f80f0929c7a16116e2d2df089b41066de69b","impliedFormat":1},{"version":"269929a24b2816343a178008ac9ae9248304d92a8ba8e233055e0ed6dbe6ef71","impliedFormat":1},{"version":"93452d394fdd1dc551ec62f5042366f011a00d342d36d50793b3529bfc9bd633","impliedFormat":1},{"version":"7fa32887f8a97909fca35ebba3740f8caf8df146618d8fff957a3f89f67a2f6a","impliedFormat":1},{"version":"9a9634296cca836c3308923ba7aa094fa6ed76bb1e366d8ddcf5c65888ab1024","impliedFormat":1},{"version":"bddce945d552a963c9733db106b17a25474eefcab7fc990157a2134ef55d4954","affectsGlobalScope":true,"impliedFormat":1},{"version":"7052b7b0c3829df3b4985bab2fd74531074b4835d5a7b263b75c82f0916ad62f","affectsGlobalScope":true,"impliedFormat":1},{"version":"aa34c3aa493d1c699601027c441b9664547c3024f9dbab1639df7701d63d18fa","impliedFormat":1},{"version":"4b55240c2a03b2c71e98a7fc528b16136faa762211c92e781a01c37821915ea6","impliedFormat":1},{"version":"7c651f8dce91a927ab62925e73f190763574c46098f2b11fb8ddc1b147a6709a","impliedFormat":1},{"version":"7440ab60f4cb031812940cc38166b8bb6fbf2540cfe599f87c41c08011f0c1df","impliedFormat":1},{"version":"94c086dff8dbc5998749326bc69b520e8e4273fb5b7b58b50e0210e0885dfcde","affectsGlobalScope":true,"impliedFormat":1},{"version":"f5b5dc128973498b75f52b1b8c2d5f8629869104899733ae485100c2309b4c12","affectsGlobalScope":true,"impliedFormat":1},{"version":"ebe5facd12fd7745cda5f4bc3319f91fb29dc1f96e57e9c6f8b260a7cc5b67ee","impliedFormat":1},{"version":"79bad8541d5779c85e82a9fb119c1fe06af77a71cc40f869d62ad379473d4b75","impliedFormat":1},{"version":"21c56c6e8eeacef15f63f373a29fab6a2b36e4705be7a528aae8c51469e2737b","impliedFormat":1},{"version":"629d20681ca284d9e38c0a019f647108f5fe02f9c59ac164d56f5694fc3faf4d","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7dbf5716d76846c7522e910896c5747b6df1abd538fee8f5291bdc843461795","impliedFormat":1},{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a42be67ed1ddaec743582f41fc219db96a1b69719fccac6d1464321178d610fc","impliedFormat":1},{"version":"560097e95531d6219a944593be6127b6efb955fdd3782b98918387f046d84ac2","impliedFormat":1},{"version":"60de25bb5c2a951373ceb39d30828c20509665541b725b396950901b1d08d82a","impliedFormat":1},{"version":"89398d9489e0137a655fdd895abf4e800395489931a3724d143bc892a81607b8","impliedFormat":1},{"version":"458674789a883765b35e28d3c67cc6c094fc7598b539fcefd842b2206d5faffb","impliedFormat":1},{"version":"a597995b9a79cd22dcd5d14c543effa8466632fcf2b4bdb9084c2cc0560984cc","impliedFormat":1},{"version":"57c8f2881edb838ed1dfd43e61f81b063f0f85c4f874ad62dbd2fb230ef76bf2","impliedFormat":1},{"version":"cb2f3846286d6bcccdee76c77977aa5a264065ab2daa5580785cee9a0d07d974","impliedFormat":1},{"version":"c589d5ff19fecf7c538836bc5bfdc9d83600a360d149b3083fe7f022f2da18fc","impliedFormat":1},{"version":"4b76dffd6b3573f1e1b62ccab910e5de0d4620a9efed4526118adcff820b3351","impliedFormat":1},{"version":"31e8bae91a819339c768e9f6a6c02b4bd8a64741d26359252aadd7d4061d6abb","impliedFormat":1},{"version":"c48412e56eca139fbb01d396c1ebfe72765007c4caadb779ecb13292614c1fcf","impliedFormat":1},{"version":"39a5231c2550e8dbd050f9f971fc3fdedaeb39ffdac342b656957035566fc6c6","impliedFormat":1},{"version":"7f4441883cd24d79018b5428a80ae1327f99205e33beeb67157b3073883faf37","impliedFormat":1},{"version":"f1b50b91d510f1908e7652a1de7d841cda1571a387a266ff46a377a7d001c29a","impliedFormat":1},{"version":"353c78b564d2571593bc42ec7c89e6d362d2a02daca53e5065346fbff25c98c4","impliedFormat":1},{"version":"5622fab7b96ae3dd2b7540be12939086fb07dd57d7f85944622309d3280c135b","impliedFormat":1},{"version":"6f1d6a13b9b7368295d9b3f0f9a8a880fe07b05001e77a6f70559397a70f631c","impliedFormat":1},{"version":"d93955e6909e631bd93e3a17b530cda6969960ef9cf5872411a5686393df8c38","impliedFormat":1},{"version":"596ef0bd9df7c5d458c0e0ae1dedb8e01195ee8df240c0f7557910854f96ca1b","impliedFormat":1},{"version":"0f1f8a47010c4f9a51749ec66c3eb021fdd8f1a56fe7a7acca0c456c55fc56a8","impliedFormat":1},{"version":"4ace083580c1b77eb8ddf4ea915cde605af1a96e426c4c04b897feef1acdb534","impliedFormat":1},{"version":"9cf9b1be3a35a8ddfdf9c0f007292486ec4c3de18e674686f2da2ad67d7c03b6","impliedFormat":1},{"version":"792c4c0a02de9d5249df7ccfb2dc259aeaff2a69874dbf484cb2d1ed6b6408d9","impliedFormat":1},{"version":"1c823a30bd59151d82e9d0f4fa4773283b19ef77c2799c680f443adbaf692ecd","impliedFormat":1},{"version":"17b28439eac2d807ee02fc8082a7c3139bfd430b03ab0ef9c3c094716174111e","impliedFormat":1},{"version":"ee6672b0bfd0d3b9c5cc0a2f33e10ba1cbc7796e5a47b987fb3f8e3908f8c22b","impliedFormat":1},{"version":"6a643fdf0482a553f64831650238d8e5ce4b8aaab08c979ef14ae063ff8b64f1","impliedFormat":1},{"version":"c06ac425384f716eb408b191228d363429aa019eee0c90c60903c0c779ca5f68","impliedFormat":1},{"version":"cc7c4997dd910953ae741902b0e635b659a4118efafa9b777391c257f5f711d8","impliedFormat":1},{"version":"61b450ef0d015a3d3221a6d21e3a7c37c5a0654d985e5a01408aa4c8c9a47691","signature":"682903342c5caa8cc4988b99cac8cd7d8a588a7ad4ee8a0be5a2bec7f07f8b57","impliedFormat":1},{"version":"a002041edada09d8d35ee7294c88c4bdeb2fa230bb6c869c2559f968226082b7","signature":"6d81955f4643e797518edf0347aa605ca9690eaf075119e38f542915c26dc976","impliedFormat":1},{"version":"6f067f53284b59ac673fb24ff67ac16b2d8cb6d8922ea514f1f248cc12fbb099","signature":"53e53b1bff565f0270271d2eb1e9726703873124cdbf9f41010bd33792595299","impliedFormat":1},{"version":"69c7eae541909e5f41d7443433d0c6a9da61ce7b626267876afaaac511efae11","signature":"4e9a5c15d7a525bbd08366619a37f54447cf62b6892e74e334ef0e514b5545b9","impliedFormat":1},{"version":"7ce0997bbf0351cbc365bf025ea1c630dcf3f9c759f056365b11f6a58435806d","signature":"00e079f48941675fc0a034cf004600b04269d2a009feff9e24908569d22266b7","impliedFormat":1},{"version":"409cf8770fbb9f099124e9ca744282ebfd85df2fd3650ae05c4ee3d03af66714","affectsGlobalScope":true,"impliedFormat":1},{"version":"7183b6280dea231d81e30e8f853c3363c85d3474e93031d8fce21b8d191cf046","signature":"2a81b077a1cd70c5b80f6bdafa4b031044bad1543f1c100d568f05bb4ce25448","impliedFormat":1},{"version":"84b1c9d0a607174da2eeeacd0489df60ca8c1c5108027d30da711af55b679913","signature":"dd203dff3cbf98e92522304d2aa257d9e2abf3affca82924a16882349abf7fd2","impliedFormat":1},{"version":"3ba21e0a6e4c9ee4cf0e6126fd500d26dec578d538718d119df0c354ef4d682b","impliedFormat":1},{"version":"615ca6c89d937b4dfd7ca7f79085066d739b513c15e845d3e4690ed339787996","signature":"bfd248fb9ef6fd002dd91b831b3404820628ed83e7686e8f230470b810c4de0c","impliedFormat":1},{"version":"bfb7b6de29e71a53354ec24f3df08c823db4d37c119172ba8b0ac33076e0183f","signature":"51fc4339fc6660d288c137f246693abdffc6a20746c2a50144e4f14b81882e27","impliedFormat":1},{"version":"8511e1d706a333017cc52f2066d11052308c6ae52be152b455ceaaa281ef0fa6","signature":"47fd358db9c6d93ae433f0bba53321b769fbba13c7e894553b400e8af75ff6d3","impliedFormat":1},{"version":"61a921ddb25a07f33e192b6ec961d2715384f0823d44ee5c2d1c0dc1aeb47782","signature":"b3659bffd0cd7d251e6445fa0a70b09fd3e88c7205e6141b0039497e452f6420","impliedFormat":1},{"version":"c557836ebf465720f265b1eba11fa43e3823d80f3b10018edbd358a3981d5662","impliedFormat":1},{"version":"4915d34f010f5c78e0e5b8134ace1410a0a4a7b8c10c8023b295b1be196dccb8","signature":"c93a2c9d1aeedf16e30d8bf7ae8cb2d466d56d4497751206472ae9ed135f7ade","impliedFormat":1},{"version":"ddbcd59a9b377ea7af3466fe02347ba3a5c580963bc0609b6a53840d69464806","signature":"ad878340ae2535f9e79bcecd6d3f8fb43ceb8508cd7e5c4b93450d0c1ca10554","impliedFormat":1},{"version":"cc1968a8b879af11aa87babc219fbc5ea9a57a380f9932604a3cfa8f56befbc9","signature":"161c40dce756bd8ad6824b15435e8e5883713768f0022faf476a705800672ffc","impliedFormat":1},{"version":"c62237d3f3cb681eb44d4345aec227d7aa9f6e6fc6691f082fafec217d03290f","signature":"587e19420954611cf22e0ad36cc2c3bc0e143d9fd3833ebda10871e10b10b836","impliedFormat":1},{"version":"2462215448be722b77ce02d2e13c579a78bfaefed5137ce52ff8be2744a82c93","impliedFormat":1},{"version":"ba59a53c90e32ef30c97943600b0672581e4cb4e272f3b8c06dcc007fed904cc","signature":"93268251555751f8ad610d5fb99c390b5eff98a5bb799c094ae2261f947408d5","impliedFormat":1},{"version":"31dba0524d8741ea81972993bd492f268425e4048b4549c233c96f1a70ea692b","signature":"22c29a13fad0076e7e7b76158ccf25b33bff1587e6a79b86d7b104dcbbf6b1cc","impliedFormat":1},{"version":"dc73264dd64dfa960feafd084b1dd71e35b8a10fbd35fd4d99d2b7c01dbbf2d9","impliedFormat":1},{"version":"df64bf0f1b83e9d32bc3074290aac14a416b8938dabb0818942f4221bdaf01ab","impliedFormat":1},{"version":"77f79c79a43f66c99bb1eb5c84cd73b8dbcea75951463d80862a404f58a0c587","impliedFormat":1},{"version":"e0d3fdea4896df17b043af15c6082f721d02c9b9f71765b6bf35681cdd8378a0","impliedFormat":1},{"version":"981676a3141c932b142fb7f6c23671bd23495dc679c7447c6ced80a71bb19661","impliedFormat":1},{"version":"14290db447cc6f1886fdfd21bce8858f8a3acac450622badc91da50839a7b1d8","signature":"6db5e61e1fc2e40e9f0f1edc432b252c5041a71b5052ebc61469fde3b23e6416","impliedFormat":1},{"version":"98f506ef1d9a5709fdd74c39e79d10922bde44e4ae6ff8827bf8a31f63833d18","impliedFormat":1},{"version":"d13f911809567104b1894ba115092ebe9ebe6a17b3c6de7e1bc8a2f21f9c67be","impliedFormat":1},{"version":"ff56f1fb083dc3f3403edbb73615301d3a05d3bde76cb509c2798c3c4f833a7a","impliedFormat":1},{"version":"e99df1f9d2c57d6af0d2fef0fff029830f182893f02dc5d3af9bb084a957efad","impliedFormat":1},{"version":"835bb74688670c1ebafa88bd3cf4e87b14811120a2303201e3be6ee90743b529","signature":"d70681123e3128744c7e9c93383813a4aa667ff2641bc1ae81a52c453d77bed5","impliedFormat":1},{"version":"15a9deaaf5d6dc34d280119b9082a8e271e4bdd17e3070b68783cfea31529b42","signature":"dffe22a37c904d452ab5767dcab3064b760f42a6111e694ee4e7c20ab8c24dd4","impliedFormat":1},{"version":"e08df9e2aa976378cab40ad191c87f1ba7aff538350e8cc09b5f193b455618d5","signature":"10518b5a6b299b03dcdfcbfdb936beda82830aed9e0c05983c91df6dc6e1553b","impliedFormat":1},{"version":"e0cc65d465c35cd33269eafbf9ae6e84d68befe1402bfd5c01c5aba123cea057","impliedFormat":1},{"version":"d87e5bee1e61a43414768da7ce286fcfb858a979de01c41d16a23e0568c0c37f","signature":"b060f3c867f7e19e240c1fcd508a938247d34b5de3e9de3f5419524d766eac4d","impliedFormat":1},{"version":"9b45c5f9610298e71f68e451754a1b1a7e99c8c1e732fbc4c037f951681a4352","impliedFormat":1},{"version":"a0149e996106c9be61760d56d9d185e76716ccca22b6d6fa5d01874ee2d01a0f","signature":"50adb4ece379fc5bef810aed33056452beb8baa25372cee2d10cf62963025ede","impliedFormat":1},{"version":"962437066d22ee8102fc5939768964a55e9556a070419b60f8b9774380473768","signature":"5b222229467e3b48069899588eb200ed47df56fe48ab1d68c89a6767c997f08a","impliedFormat":1},{"version":"8c1fcbfad5d602f54a2b0bdcfd4ce92376df80194b5cc94141cd1bd20327d919","impliedFormat":1},{"version":"b6ebf1556cb8c33f2499305ccb4053656df491a455f2ac6335e9a5f8a239da7c","impliedFormat":1},{"version":"bb4df76f550d13556ce124b70a073adaf65a8b0b5769454d541bbe3339c0a98b","impliedFormat":1},{"version":"7fc7486ca8b60e82c304c9221f3750e20b001e0f9f96735b19637f8baa053195","impliedFormat":1},{"version":"9c98139ce33ab465f43447f37361f9745ea12c050aa2c311e24c2d18d3931bf9","signature":"8bd8c5d82f256f7dad9ca645960b9fae85f096d35184d40893b3a14624c70c03","impliedFormat":1},{"version":"7b5983ffeb1dd681c72e14777984bc9025c48438933c107a9de740914915083c","signature":"8e609bb71c20b858c77f0e9f90bb1319db8477b13f9f965f1a1e18524bf50881","impliedFormat":1},{"version":"cdcc132f207d097d7d3aa75615ab9a2e71d6a478162dde8b67f88ea19f3e54de","impliedFormat":1},{"version":"0d14fa22c41fdc7277e6f71473b20ebc07f40f00e38875142335d5b63cdfc9d2","impliedFormat":1},{"version":"c085e9aa62d1ae1375794c1fb927a445fa105fed891a7e24edbb1c3300f7384a","impliedFormat":1},{"version":"f315e1e65a1f80992f0509e84e4ae2df15ecd9ef73df975f7c98813b71e4c8da","impliedFormat":1},{"version":"5b9586e9b0b6322e5bfbd2c29bd3b8e21ab9d871f82346cb71020e3d84bae73e","impliedFormat":1},{"version":"3e70a7e67c2cb16f8cd49097360c0309fe9d1e3210ff9222e9dac1f8df9d4fb6","impliedFormat":1},{"version":"ab68d2a3e3e8767c3fba8f80de099a1cfc18c0de79e42cb02ae66e22dfe14a66","impliedFormat":1},{"version":"d96cc6598148bf1a98fb2e8dcf01c63a4b3558bdaec6ef35e087fd0562eb40ec","impliedFormat":1},{"version":"5ab630d466ac55baa6d32820378098404fc18ba9da6f7bc5df30c5dbb1cffae8","affectsGlobalScope":true,"impliedFormat":1}],"root":[[54,60],[180,184],[186,206],[211,224]],"options":{"allowJs":true,"alwaysStrict":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"experimentalDecorators":true,"importHelpers":false,"module":199,"noFallthroughCasesInSwitch":true,"noImplicitAny":true,"outDir":"./","strict":true,"strictBindCallApply":true,"strictNullChecks":true,"target":7,"useDefineForClassFields":false},"fileIdsList":[[61],[62,152,163],[62,167],[61,62,63,164,165,166,167,168,169],[61,62,150,166],[61,157],[61,62,150,151,157,163],[61,62],[156],[152],[153],[152,154,155,159,162],[160,161],[158],[152,157],[170,172],[172,173,174,175,176,177],[172],[170],[157,170,171,178],[227],[207],[207,208],[229,232],[64],[99],[100,105,134],[101,112,113,120,131,142],[101,102,112,120],[103,143],[104,105,113,121],[105,131,139],[106,108,112,120],[99,107],[108,109],[112],[110,112],[99,112],[112,113,114,131,142],[112,113,114,127,131,134],[97,100,147],[108,112,115,120,131,142],[112,113,115,116,120,131,139,142],[115,117,131,139,142],[64,65,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149],[112,118],[119,142,147],[108,112,120,131],[121],[122],[99,123],[124,141,147],[125],[126],[112,127,128],[127,129,143,145],[100,112,131,132,133,134],[100,131,133],[131,132],[134],[135],[99,131],[112,137,138],[137,138],[105,120,131,139],[140],[120,141],[100,115,126,142],[105,143],[131,144],[119,145],[146],[100,105,112,114,123,131,142,145,147],[131,148],[225,231],[229],[226,230],[228],[74,78,142],[74,131,142],[69],[71,74,139,142],[120,139],[150],[69,150],[71,74,120,142],[66,67,70,73,100,112,131,142],[66,72],[70,74,100,134,142,150],[100,150],[90,100,150],[68,69,150],[74],[68,69,70,71,72,73,74,75,76,78,79,80,81,82,83,84,85,86,87,88,89,91,92,93,94,95,96],[74,81,82],[72,74,82,83],[73],[66,69,74],[74,78,82,83],[78],[72,74,77,142],[66,71,72,74,78,81],[100,131],[69,74,90,100,147,150],[52,56,193,198,199],[200],[52,55,56,193,198,200],[204],[194,201,202,203],[55,56,180,181,193,195,198,199,206,220],[53,54],[58,59,196],[60,197],[57],[60],[55,56,58,59],[197],[55,56,58,60,179,180,181,193,195,196],[184,188,191],[56,180,182,198],[183,198],[183,184,189,198],[183,189,191,198],[56,180,181,198],[182,183,189,190,192],[186,187],[56,180,182,183,185,188,198],[56,180,181,182,186,198],[56],[206],[55,56,151,194],[55],[221],[55,56],[212,213],[55,56,180,193,198,199,209,210,211],[56,193,212],[215],[193,198,199,211],[217,218],[55,56,180,193,198,199,211],[56,193,217],[211,214,216,219],[55,56,193,198,199],[193,199],[56,193,198],[54],[55,56,58],[55,56,58,60,179,180,193,195],[183,189,198],[56,180,198],[56,180,182,183,188,198],[56,180,182,186,198],[56,198,199,211],[55,198,199,211]],"referencedMap":[[62,1],[169,2],[168,3],[170,4],[167,5],[165,6],[164,7],[63,8],[157,9],[155,10],[154,11],[153,10],[163,12],[160,10],[162,13],[161,10],[159,14],[158,15],[176,16],[174,16],[178,17],[173,18],[175,18],[177,16],[172,19],[179,20],[228,21],[208,22],[209,23],[210,23],[233,24],[64,25],[65,25],[99,26],[100,27],[101,28],[102,29],[103,30],[104,31],[105,32],[106,33],[107,34],[108,35],[109,35],[111,36],[110,37],[112,38],[113,39],[114,40],[98,41],[115,42],[116,43],[117,44],[150,45],[118,46],[119,47],[120,48],[121,49],[122,50],[123,51],[124,52],[125,53],[126,54],[127,55],[128,55],[129,56],[131,57],[133,58],[132,59],[134,60],[135,61],[136,62],[137,63],[138,64],[139,65],[140,66],[141,67],[142,68],[143,69],[144,70],[145,71],[146,72],[147,73],[148,74],[232,75],[230,76],[231,77],[229,78],[81,79],[88,80],[80,79],[95,81],[72,82],[71,83],[94,84],[89,85],[92,86],[74,87],[73,88],[69,89],[68,90],[91,91],[70,92],[75,93],[79,93],[97,94],[96,93],[83,95],[84,96],[86,97],[82,98],[85,99],[90,84],[77,100],[78,101],[87,102],[67,103],[93,104],[200,105],[201,106],[199,107],[205,108],[204,109],[221,110],[55,111],[202,112],[198,113],[58,114],[59,115],[60,116],[196,117],[197,118],[203,119],[183,120],[184,121],[190,122],[191,121],[192,123],[182,124],[193,125],[188,126],[189,127],[187,128],[186,129],[224,130],[195,131],[56,132],[222,133],[180,134],[214,135],[212,136],[213,137],[216,138],[215,139],[219,140],[217,141],[218,142],[220,143],[211,144]],"exportedModulesMap":[[62,1],[169,2],[168,3],[170,4],[167,5],[165,6],[164,7],[63,8],[157,9],[155,10],[154,11],[153,10],[163,12],[160,10],[162,13],[161,10],[159,14],[158,15],[176,16],[174,16],[178,17],[173,18],[175,18],[177,16],[172,19],[179,20],[228,21],[208,22],[209,23],[210,23],[233,24],[64,25],[65,25],[99,26],[100,27],[101,28],[102,29],[103,30],[104,31],[105,32],[106,33],[107,34],[108,35],[109,35],[111,36],[110,37],[112,38],[113,39],[114,40],[98,41],[115,42],[116,43],[117,44],[150,45],[118,46],[119,47],[120,48],[121,49],[122,50],[123,51],[124,52],[125,53],[126,54],[127,55],[128,55],[129,56],[131,57],[133,58],[132,59],[134,60],[135,61],[136,62],[137,63],[138,64],[139,65],[140,66],[141,67],[142,68],[143,69],[144,70],[145,71],[146,72],[147,73],[148,74],[232,75],[230,76],[231,77],[229,78],[81,79],[88,80],[80,79],[95,81],[72,82],[71,83],[94,84],[89,85],[92,86],[74,87],[73,88],[69,89],[68,90],[91,91],[70,92],[75,93],[79,93],[97,94],[96,93],[83,95],[84,96],[86,97],[82,98],[85,99],[90,84],[77,100],[78,101],[87,102],[67,103],[93,104],[200,145],[201,106],[199,146],[205,108],[204,109],[221,110],[55,147],[202,112],[198,113],[58,114],[59,115],[60,148],[196,117],[197,149],[203,119],[183,120],[184,121],[190,150],[191,121],[192,150],[182,151],[193,125],[188,126],[189,152],[187,153],[186,129],[195,134],[56,132],[222,133],[180,134],[214,135],[212,154],[213,137],[216,138],[215,139],[219,140],[217,155],[218,142],[220,143],[211,144]],"semanticDiagnosticsPerFile":[62,169,168,170,167,166,61,165,164,63,157,152,155,154,153,163,160,162,161,159,158,176,174,178,173,175,177,172,179,225,228,208,209,210,207,227,151,233,64,65,99,100,101,102,103,104,105,106,107,108,109,111,110,112,113,114,98,149,115,116,117,150,118,119,120,121,122,123,124,125,126,127,128,129,130,131,133,132,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,52,53,226,185,232,171,230,231,156,229,49,50,10,8,9,14,13,2,15,16,17,18,19,20,21,22,3,23,4,24,28,25,26,27,29,30,31,5,32,33,34,35,6,39,36,37,38,40,7,41,51,46,47,42,43,44,45,1,48,12,11,81,88,80,95,72,71,94,89,92,74,73,69,68,91,70,75,76,79,66,97,96,83,84,86,82,85,90,77,78,87,67,93,200,201,199,205,204,221,54,55,202,198,57,223,58,59,60,196,197,203,183,184,190,191,192,182,193,188,189,187,186,224,206,194,195,56,222,180,214,212,213,216,215,219,217,218,220,211,181]},"version":"5.4.5"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare function apply<T, R>(transformer: (val: T) => R, value: undefined): undefined;
|
|
2
|
+
export declare function apply<T, R>(transformer: (val: T) => R, value: null): null;
|
|
3
|
+
export declare function apply<T, R>(transformer: (val: T) => R, value: T): R;
|
|
4
|
+
export declare function apply<T, R>(transformer: (val: T) => R, value: T | undefined): R | undefined;
|
|
5
|
+
export declare function apply<T, R>(transformer: (val: T) => R, value: T | null): R | null;
|
|
6
|
+
export declare function apply<T, R>(transformer: (val: T) => R, value: undefined | null): undefined | null;
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,wBAAgB,KAAK,CAAC,CAAC,EAAE,CAAC,EACxB,WAAW,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,EAC1B,KAAK,EAAE,SAAS,GACf,SAAS,CAAC;AACb,wBAAgB,KAAK,CAAC,CAAC,EAAE,CAAC,EAAE,WAAW,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,IAAI,GAAG,IAAI,CAAC;AAC3E,wBAAgB,KAAK,CAAC,CAAC,EAAE,CAAC,EAAE,WAAW,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,CAAC,CAAC;AACrE,wBAAgB,KAAK,CAAC,CAAC,EAAE,CAAC,EACxB,WAAW,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,EAC1B,KAAK,EAAE,CAAC,GAAG,SAAS,GACnB,CAAC,GAAG,SAAS,CAAC;AACjB,wBAAgB,KAAK,CAAC,CAAC,EAAE,CAAC,EACxB,WAAW,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,EAC1B,KAAK,EAAE,CAAC,GAAG,IAAI,GACd,CAAC,GAAG,IAAI,CAAC;AACZ,wBAAgB,KAAK,CAAC,CAAC,EAAE,CAAC,EACxB,WAAW,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,EAC1B,KAAK,EAAE,SAAS,GAAG,IAAI,GACtB,SAAS,GAAG,IAAI,CAAC"}
|
package/jest.config.js
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ckb-ccc/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.5-alpha.0",
|
|
4
4
|
"description": "Common Chains Connector Core",
|
|
5
5
|
"author": "Hanssen0 <hanssen0@hanssen0.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -11,27 +11,44 @@
|
|
|
11
11
|
"url": "git://github.com/ckb-ecofund/ccc.git"
|
|
12
12
|
},
|
|
13
13
|
"main": "dist/index.js",
|
|
14
|
+
"module": "dist.commonjs/index.js",
|
|
14
15
|
"exports": {
|
|
15
|
-
".":
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
".": {
|
|
17
|
+
"import": "./dist/index.js",
|
|
18
|
+
"default": "./dist.commonjs/index.js"
|
|
19
|
+
},
|
|
20
|
+
"./barrel": {
|
|
21
|
+
"import": "./dist/barrel.js",
|
|
22
|
+
"default": "./dist.commonjs/barrel.js"
|
|
23
|
+
},
|
|
24
|
+
"./advancedBarrel": {
|
|
25
|
+
"import": "./dist/advancedBarrel.js",
|
|
26
|
+
"default": "./dist.commonjs/advancedBarrel.js"
|
|
27
|
+
},
|
|
28
|
+
"./advanced": {
|
|
29
|
+
"import": "./dist/advanced.js",
|
|
30
|
+
"default": "./dist.commonjs/advanced.js"
|
|
31
|
+
}
|
|
19
32
|
},
|
|
20
33
|
"scripts": {
|
|
21
|
-
"
|
|
34
|
+
"test": "jest",
|
|
35
|
+
"build": "rimraf ./dist && rimraf ./dist.commonjs && tsc && tsc --project tsconfig.commonjs.json",
|
|
22
36
|
"lint": "eslint",
|
|
23
37
|
"format": "prettier --write . && eslint --fix"
|
|
24
38
|
},
|
|
25
39
|
"devDependencies": {
|
|
26
40
|
"@eslint/js": "^9.1.1",
|
|
27
41
|
"@types/blake2b": "^2.1.3",
|
|
42
|
+
"@types/jest": "^29.5.12",
|
|
28
43
|
"eslint": "^9.1.0",
|
|
29
44
|
"eslint-config-prettier": "^9.1.0",
|
|
30
45
|
"eslint-plugin-prettier": "^5.1.3",
|
|
46
|
+
"jest": "^29.7.0",
|
|
31
47
|
"prettier": "^3.2.5",
|
|
32
48
|
"prettier-plugin-organize-imports": "^3.2.4",
|
|
33
49
|
"rimraf": "^5.0.5",
|
|
34
50
|
"ts-essentials": "^9.4.2",
|
|
51
|
+
"ts-jest": "^29.1.4",
|
|
35
52
|
"typescript": "^5.4.5",
|
|
36
53
|
"typescript-eslint": "^7.7.0"
|
|
37
54
|
},
|
|
@@ -47,5 +64,5 @@
|
|
|
47
64
|
"buffer": "^6.0.3",
|
|
48
65
|
"cross-fetch": "^4.0.0"
|
|
49
66
|
},
|
|
50
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "8a927f901a8f2fe7dfe2f6bf78a44689d6503949"
|
|
51
68
|
}
|
package/src/ckb/transaction.ts
CHANGED
|
@@ -3,7 +3,14 @@ import { Bytes, BytesLike, bytesFrom } from "../bytes";
|
|
|
3
3
|
import { Client } from "../client";
|
|
4
4
|
import { Hasher, ckbHash } from "../hasher";
|
|
5
5
|
import { Hex, HexLike, hexFrom } from "../hex";
|
|
6
|
-
import {
|
|
6
|
+
import {
|
|
7
|
+
Num,
|
|
8
|
+
NumLike,
|
|
9
|
+
numFrom,
|
|
10
|
+
numFromBytes,
|
|
11
|
+
numToBytes,
|
|
12
|
+
numToHex,
|
|
13
|
+
} from "../num";
|
|
7
14
|
import { apply } from "../utils";
|
|
8
15
|
import * as mol from "./molecule.advanced";
|
|
9
16
|
import { Script, ScriptLike } from "./script";
|
|
@@ -272,20 +279,26 @@ export class CellOutput {
|
|
|
272
279
|
}
|
|
273
280
|
|
|
274
281
|
export type CellLike = {
|
|
282
|
+
outPoint: OutPointLike;
|
|
275
283
|
cellOutput: CellOutputLike;
|
|
276
284
|
outputData: HexLike;
|
|
285
|
+
blockNumber: NumLike;
|
|
277
286
|
};
|
|
278
287
|
export class Cell {
|
|
279
288
|
/**
|
|
280
289
|
* Creates an instance of Cell.
|
|
281
290
|
*
|
|
291
|
+
* @param outPoint - The output point of the cell.
|
|
282
292
|
* @param cellOutput - The cell output of the cell.
|
|
283
293
|
* @param outputData - The output data of the cell.
|
|
294
|
+
* @param blockNumber - The block number of the cell.
|
|
284
295
|
*/
|
|
285
296
|
|
|
286
297
|
constructor(
|
|
298
|
+
public outPoint: OutPoint,
|
|
287
299
|
public cellOutput: CellOutput,
|
|
288
300
|
public outputData: Hex,
|
|
301
|
+
public blockNumber: Num,
|
|
289
302
|
) {}
|
|
290
303
|
|
|
291
304
|
/**
|
|
@@ -300,7 +313,12 @@ export class Cell {
|
|
|
300
313
|
return cell;
|
|
301
314
|
}
|
|
302
315
|
|
|
303
|
-
return new Cell(
|
|
316
|
+
return new Cell(
|
|
317
|
+
OutPoint.from(cell.outPoint),
|
|
318
|
+
CellOutput.from(cell.cellOutput),
|
|
319
|
+
hexFrom(cell.outputData),
|
|
320
|
+
numFrom(cell.blockNumber),
|
|
321
|
+
);
|
|
304
322
|
}
|
|
305
323
|
}
|
|
306
324
|
|
|
@@ -309,6 +327,7 @@ export type CellInputLike = {
|
|
|
309
327
|
since: NumLike;
|
|
310
328
|
cellOutput?: CellOutputLike;
|
|
311
329
|
outputData?: HexLike;
|
|
330
|
+
blockNumber?: NumLike;
|
|
312
331
|
};
|
|
313
332
|
export class CellInput {
|
|
314
333
|
/**
|
|
@@ -318,6 +337,7 @@ export class CellInput {
|
|
|
318
337
|
* @param since - The since value of the cell input.
|
|
319
338
|
* @param cellOutput - The optional cell output associated with the cell input.
|
|
320
339
|
* @param outputData - The optional output data associated with the cell input.
|
|
340
|
+
* @param blockNumber - The optional block number associated with the cell input.
|
|
321
341
|
*/
|
|
322
342
|
|
|
323
343
|
constructor(
|
|
@@ -325,6 +345,7 @@ export class CellInput {
|
|
|
325
345
|
public since: Num,
|
|
326
346
|
public cellOutput?: CellOutput,
|
|
327
347
|
public outputData?: Hex,
|
|
348
|
+
public blockNumber?: Num,
|
|
328
349
|
) {}
|
|
329
350
|
|
|
330
351
|
/**
|
|
@@ -352,6 +373,7 @@ export class CellInput {
|
|
|
352
373
|
numFrom(cellInput.since),
|
|
353
374
|
apply(CellOutput.from, cellInput.cellOutput),
|
|
354
375
|
apply(hexFrom, cellInput.outputData),
|
|
376
|
+
apply(numFrom, cellInput.blockNumber),
|
|
355
377
|
);
|
|
356
378
|
}
|
|
357
379
|
|
|
@@ -369,7 +391,7 @@ export class CellInput {
|
|
|
369
391
|
*/
|
|
370
392
|
|
|
371
393
|
async completeExtraInfos(client: Client): Promise<CellInput> {
|
|
372
|
-
if (this.cellOutput && this.outputData) {
|
|
394
|
+
if (this.cellOutput && this.outputData && this.blockNumber) {
|
|
373
395
|
return this;
|
|
374
396
|
}
|
|
375
397
|
|
|
@@ -377,6 +399,7 @@ export class CellInput {
|
|
|
377
399
|
if (cell) {
|
|
378
400
|
this.cellOutput = cell.cellOutput;
|
|
379
401
|
this.outputData = cell.outputData;
|
|
402
|
+
this.blockNumber = cell.blockNumber;
|
|
380
403
|
}
|
|
381
404
|
return this;
|
|
382
405
|
}
|
|
@@ -751,6 +774,15 @@ export class Transaction {
|
|
|
751
774
|
});
|
|
752
775
|
}
|
|
753
776
|
|
|
777
|
+
stringify(): string {
|
|
778
|
+
return JSON.stringify(this, (_, value) => {
|
|
779
|
+
if (typeof value === "bigint") {
|
|
780
|
+
return numToHex(value);
|
|
781
|
+
}
|
|
782
|
+
return value;
|
|
783
|
+
});
|
|
784
|
+
}
|
|
785
|
+
|
|
754
786
|
/**
|
|
755
787
|
* Converts the raw transaction data to bytes.
|
|
756
788
|
*
|
|
@@ -807,4 +839,167 @@ export class Transaction {
|
|
|
807
839
|
hasher.update(numToBytes(raw.length, 8));
|
|
808
840
|
hasher.update(raw);
|
|
809
841
|
}
|
|
842
|
+
|
|
843
|
+
/**
|
|
844
|
+
* Computes the signing hash information for a given script.
|
|
845
|
+
*
|
|
846
|
+
* @param scriptLike - The script associated with the transaction, represented as a ScriptLike object.
|
|
847
|
+
* @param client - The client for complete extra infos in the transaction.
|
|
848
|
+
* @returns A promise that resolves to an object containing the signing message and the witness position,
|
|
849
|
+
* or undefined if no matching input is found.
|
|
850
|
+
*
|
|
851
|
+
* @example
|
|
852
|
+
* ```typescript
|
|
853
|
+
* const signHashInfo = await tx.getSignHashInfo(scriptLike, client);
|
|
854
|
+
* if (signHashInfo) {
|
|
855
|
+
* console.log(signHashInfo.message); // Outputs the signing message
|
|
856
|
+
* console.log(signHashInfo.position); // Outputs the witness position
|
|
857
|
+
* }
|
|
858
|
+
* ```
|
|
859
|
+
*/
|
|
860
|
+
async getSignHashInfo(
|
|
861
|
+
scriptLike: ScriptLike,
|
|
862
|
+
client: Client,
|
|
863
|
+
): Promise<{ message: Hex; position: number } | undefined> {
|
|
864
|
+
const script = Script.from(scriptLike);
|
|
865
|
+
let position = -1;
|
|
866
|
+
const hasher = new Hasher();
|
|
867
|
+
hasher.update(this.hash());
|
|
868
|
+
|
|
869
|
+
for (let i = 0; i < this.witnesses.length; i += 1) {
|
|
870
|
+
if (this.inputs[i]) {
|
|
871
|
+
const input = await this.inputs[i].completeExtraInfos(client);
|
|
872
|
+
|
|
873
|
+
if (!input.cellOutput) {
|
|
874
|
+
throw Error("Unable to resolve inputs info");
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
if (!script.eq(input.cellOutput.lock)) {
|
|
878
|
+
continue;
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
if (position === -1) {
|
|
882
|
+
position = i;
|
|
883
|
+
}
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
if (position === -1) {
|
|
887
|
+
return undefined;
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
Transaction.hashWitnessToHasher(this.witnesses[i], hasher);
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
if (position === -1) {
|
|
894
|
+
return undefined;
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
return {
|
|
898
|
+
message: hasher.digest(),
|
|
899
|
+
position,
|
|
900
|
+
};
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
/**
|
|
904
|
+
* Find the first occurrence of a input with the specified lock
|
|
905
|
+
*
|
|
906
|
+
* @param scriptLike - The script associated with the transaction, represented as a ScriptLike object.
|
|
907
|
+
* @param client - The client for complete extra infos in the transaction.
|
|
908
|
+
* @returns A promise that resolves to the prepared transaction
|
|
909
|
+
*
|
|
910
|
+
* @example
|
|
911
|
+
* ```typescript
|
|
912
|
+
* const index = await tx.findInputIndexByLock(scriptLike, client);
|
|
913
|
+
* ```
|
|
914
|
+
*/
|
|
915
|
+
async findInputIndexByLock(
|
|
916
|
+
scriptLike: ScriptLike,
|
|
917
|
+
client: Client,
|
|
918
|
+
): Promise<number | undefined> {
|
|
919
|
+
const script = Script.from(scriptLike);
|
|
920
|
+
|
|
921
|
+
for (let i = 0; i < this.inputs.length; i += 1) {
|
|
922
|
+
const input = await this.inputs[i].completeExtraInfos(client);
|
|
923
|
+
|
|
924
|
+
if (!input.cellOutput) {
|
|
925
|
+
throw Error("Unable to resolve inputs info");
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
if (script.eq(input.cellOutput.lock)) {
|
|
929
|
+
return i;
|
|
930
|
+
}
|
|
931
|
+
}
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
/**
|
|
935
|
+
* Get witness at index as WitnessArgs
|
|
936
|
+
*
|
|
937
|
+
* @param index - The index of the witness.
|
|
938
|
+
* @returns The witness parsed as WitnessArgs.
|
|
939
|
+
*
|
|
940
|
+
* @example
|
|
941
|
+
* ```typescript
|
|
942
|
+
* const witnessArgs = await tx.getWitnessArgsAt(0);
|
|
943
|
+
* ```
|
|
944
|
+
*/
|
|
945
|
+
getWitnessArgsAt(index: number): WitnessArgs | undefined {
|
|
946
|
+
const rawWitness = this.witnesses[index];
|
|
947
|
+
return (rawWitness ?? "0x") !== "0x"
|
|
948
|
+
? WitnessArgs.fromBytes(rawWitness)
|
|
949
|
+
: undefined;
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
/**
|
|
953
|
+
* Set witness at index by WitnessArgs
|
|
954
|
+
*
|
|
955
|
+
* @param index - The index of the witness.
|
|
956
|
+
* @param witness - The WitnessArgs to set.
|
|
957
|
+
* @returns The transaction itself.
|
|
958
|
+
*
|
|
959
|
+
* @example
|
|
960
|
+
* ```typescript
|
|
961
|
+
* await tx.setWitnessArgsAt(0, witnessArgs);
|
|
962
|
+
* ```
|
|
963
|
+
*/
|
|
964
|
+
setWitnessArgsAt(index: number, witness: WitnessArgs): Transaction {
|
|
965
|
+
if (this.witnesses.length < index) {
|
|
966
|
+
this.witnesses.push(
|
|
967
|
+
...Array.from(
|
|
968
|
+
new Array(index - this.witnesses.length),
|
|
969
|
+
(): Hex => "0x",
|
|
970
|
+
),
|
|
971
|
+
);
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
this.witnesses[index] = hexFrom(witness.toBytes());
|
|
975
|
+
return this;
|
|
976
|
+
}
|
|
977
|
+
|
|
978
|
+
/**
|
|
979
|
+
* Prepare dummy witness for sighash all method
|
|
980
|
+
*
|
|
981
|
+
* @param scriptLike - The script associated with the transaction, represented as a ScriptLike object.
|
|
982
|
+
* @param lockLen - The length of dummy lock bytes.
|
|
983
|
+
* @param client - The client for complete extra infos in the transaction.
|
|
984
|
+
* @returns A promise that resolves to the prepared transaction
|
|
985
|
+
*
|
|
986
|
+
* @example
|
|
987
|
+
* ```typescript
|
|
988
|
+
* await tx.prepareSighashAllWitness(scriptLike, 85, client);
|
|
989
|
+
* ```
|
|
990
|
+
*/
|
|
991
|
+
async prepareSighashAllWitness(
|
|
992
|
+
scriptLike: ScriptLike,
|
|
993
|
+
lockLen: number,
|
|
994
|
+
client: Client,
|
|
995
|
+
): Promise<Transaction> {
|
|
996
|
+
const position = await this.findInputIndexByLock(scriptLike, client);
|
|
997
|
+
if (position === undefined) {
|
|
998
|
+
return this;
|
|
999
|
+
}
|
|
1000
|
+
|
|
1001
|
+
const witness = this.getWitnessArgsAt(position) ?? WitnessArgs.from({});
|
|
1002
|
+
witness.lock = hexFrom(Array.from(new Array(lockLen), () => 0));
|
|
1003
|
+
return this.setWitnessArgsAt(position, witness);
|
|
1004
|
+
}
|
|
810
1005
|
}
|
package/src/client/client.ts
CHANGED
|
@@ -1,13 +1,25 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
Cell,
|
|
3
|
+
OutPointLike,
|
|
4
|
+
Script,
|
|
5
|
+
ScriptLike,
|
|
6
|
+
TransactionLike,
|
|
7
|
+
} from "../ckb";
|
|
2
8
|
import { Hex, HexLike } from "../hex";
|
|
3
|
-
import { numFrom } from "../num";
|
|
4
|
-
import {
|
|
9
|
+
import { NumLike, numFrom } from "../num";
|
|
10
|
+
import {
|
|
11
|
+
ClientFindCellsResponse,
|
|
12
|
+
ClientIndexerSearchKeyLike,
|
|
13
|
+
ClientTransactionResponse,
|
|
14
|
+
OutputsValidator,
|
|
15
|
+
} from "./clientTypes";
|
|
5
16
|
|
|
6
17
|
export enum KnownScript {
|
|
7
18
|
Secp256k1Blake160,
|
|
8
19
|
Secp256k1Multisig,
|
|
9
20
|
AnyoneCanPay,
|
|
10
21
|
JoyId,
|
|
22
|
+
COTA,
|
|
11
23
|
OmniLock,
|
|
12
24
|
}
|
|
13
25
|
|
|
@@ -39,8 +51,57 @@ export abstract class Client {
|
|
|
39
51
|
}
|
|
40
52
|
|
|
41
53
|
return Cell.from({
|
|
54
|
+
outPoint,
|
|
42
55
|
cellOutput: transaction.transaction.outputs[index],
|
|
43
56
|
outputData: transaction.transaction.outputsData[index] ?? "0x",
|
|
57
|
+
blockNumber: transaction.blockNumber,
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
abstract findCellsPaged(
|
|
62
|
+
key: ClientIndexerSearchKeyLike,
|
|
63
|
+
order?: "asc" | "desc",
|
|
64
|
+
limit?: NumLike,
|
|
65
|
+
after?: string,
|
|
66
|
+
): Promise<ClientFindCellsResponse>;
|
|
67
|
+
|
|
68
|
+
async *findCells(
|
|
69
|
+
key: ClientIndexerSearchKeyLike,
|
|
70
|
+
order?: "asc" | "desc",
|
|
71
|
+
limit = 10,
|
|
72
|
+
): AsyncGenerator<Cell> {
|
|
73
|
+
let last: string | undefined = undefined;
|
|
74
|
+
|
|
75
|
+
while (true) {
|
|
76
|
+
const { cells, lastCursor } = await this.findCellsPaged(
|
|
77
|
+
key,
|
|
78
|
+
order,
|
|
79
|
+
limit,
|
|
80
|
+
last,
|
|
81
|
+
);
|
|
82
|
+
for (const cell of cells) {
|
|
83
|
+
yield cell;
|
|
84
|
+
}
|
|
85
|
+
if (cells.length === 0 || cells.length < limit) {
|
|
86
|
+
return;
|
|
87
|
+
}
|
|
88
|
+
last = lastCursor;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
findCellsByLockAndType(
|
|
93
|
+
lock: ScriptLike,
|
|
94
|
+
type: ScriptLike,
|
|
95
|
+
withData = true,
|
|
96
|
+
): AsyncGenerator<Cell> {
|
|
97
|
+
return this.findCells({
|
|
98
|
+
script: lock,
|
|
99
|
+
scriptType: "lock",
|
|
100
|
+
scriptSearchMode: "exact",
|
|
101
|
+
filter: {
|
|
102
|
+
script: type,
|
|
103
|
+
},
|
|
104
|
+
withData,
|
|
44
105
|
});
|
|
45
106
|
}
|
|
46
107
|
}
|
|
@@ -25,6 +25,11 @@ export const MAINNET_SCRIPTS: Record<
|
|
|
25
25
|
"0xd00c84f0ec8fd441c38bc3f87a371f547190f2fcff88e642bc5bf54b9e318323",
|
|
26
26
|
hashType: "type",
|
|
27
27
|
},
|
|
28
|
+
[KnownScript.COTA]: {
|
|
29
|
+
codeHash:
|
|
30
|
+
"0x1122a4fb54697cf2e6e3a96c9d80fd398a936559b90954c6e88eb7ba0cf652df",
|
|
31
|
+
hashType: "type",
|
|
32
|
+
},
|
|
28
33
|
[KnownScript.OmniLock]: {
|
|
29
34
|
codeHash:
|
|
30
35
|
"0x9b819793a64463aed77c615d6cb226eea5487ccfc0783043a587254cda2b6f26",
|
|
@@ -25,6 +25,11 @@ export const TESTNET_SCRIPTS: Record<
|
|
|
25
25
|
"0xd23761b364210735c19c60561d213fb3beae2fd6172743719eff6920e020baac",
|
|
26
26
|
hashType: "type",
|
|
27
27
|
},
|
|
28
|
+
[KnownScript.COTA]: {
|
|
29
|
+
codeHash:
|
|
30
|
+
"0x89cd8003a0eaf8e65e0c31525b7d1d5c1becefd2ea75bb4cff87810ae37764d8",
|
|
31
|
+
hashType: "type",
|
|
32
|
+
},
|
|
28
33
|
[KnownScript.OmniLock]: {
|
|
29
34
|
codeHash:
|
|
30
35
|
"0xf329effd1c475a2978453c8600e1eaf0bc2087ee093c3ee64cc96ec6847752cb",
|