@galacticcouncil/xc-cfg 0.1.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 +17 -0
- package/build/index.cjs +1 -0
- package/build/index.mjs +1 -0
- package/build/types/assets.d.ts +72 -0
- package/build/types/builders/AssetMinBuilder.d.ts +13 -0
- package/build/types/builders/BalanceBuilder.d.ts +10 -0
- package/build/types/builders/ContractBuilder.d.ts +14 -0
- package/build/types/builders/ExtrinsicBuilder.d.ts +64 -0
- package/build/types/builders/FeeAmountBuilder.d.ts +19 -0
- package/build/types/builders/FeeAssetBuilder.d.ts +8 -0
- package/build/types/builders/MoveBuilder.d.ts +4 -0
- package/build/types/builders/ProgramBuilder.d.ts +4 -0
- package/build/types/builders/balance/evm.d.ts +8 -0
- package/build/types/builders/balance/solana.d.ts +8 -0
- package/build/types/builders/balance/substrate.d.ts +24 -0
- package/build/types/builders/balance/sui.d.ts +6 -0
- package/build/types/builders/contracts/Batch.d.ts +4 -0
- package/build/types/builders/contracts/Erc20.d.ts +4 -0
- package/build/types/builders/contracts/Snowbridge.d.ts +4 -0
- package/build/types/builders/contracts/Wormhole/TokenBridge.d.ts +15 -0
- package/build/types/builders/contracts/Wormhole/TokenBridge.spec.d.ts +1 -0
- package/build/types/builders/contracts/Wormhole/TokenRelayer.d.ts +4 -0
- package/build/types/builders/contracts/Wormhole/index.d.ts +19 -0
- package/build/types/builders/contracts/Xtokens.d.ts +5 -0
- package/build/types/builders/contracts/Xtokens.utils.d.ts +45 -0
- package/build/types/builders/extrinsics/assetConversion.d.ts +8 -0
- package/build/types/builders/extrinsics/assets.d.ts +4 -0
- package/build/types/builders/extrinsics/balances.d.ts +4 -0
- package/build/types/builders/extrinsics/router.d.ts +8 -0
- package/build/types/builders/extrinsics/utility.d.ts +6 -0
- package/build/types/builders/extrinsics/xcm/builder/buildERC20TransferFromPara.d.ts +132 -0
- package/build/types/builders/extrinsics/xcm/builder/buildParaERC20Received.d.ts +77 -0
- package/build/types/builders/extrinsics/xcm/builder/const.d.ts +13 -0
- package/build/types/builders/extrinsics/xcm/builder/index.d.ts +3 -0
- package/build/types/builders/extrinsics/xcm/ethereumXcm.d.ts +4 -0
- package/build/types/builders/extrinsics/xcm/index.d.ts +7 -0
- package/build/types/builders/extrinsics/xcm/polkadotXcm.d.ts +20 -0
- package/build/types/builders/extrinsics/xcm/polkadotXcm.utils.d.ts +322 -0
- package/build/types/builders/extrinsics/xcm/types.d.ts +18 -0
- package/build/types/builders/extrinsics/xcm/utils/account.d.ts +14 -0
- package/build/types/builders/extrinsics/xcm/utils/fee.d.ts +1 -0
- package/build/types/builders/extrinsics/xcm/utils/guard.d.ts +4 -0
- package/build/types/builders/extrinsics/xcm/utils/index.d.ts +5 -0
- package/build/types/builders/extrinsics/xcm/utils/instructions.d.ts +65 -0
- package/build/types/builders/extrinsics/xcm/utils/location.d.ts +12 -0
- package/build/types/builders/extrinsics/xcm/xTokens.d.ts +7 -0
- package/build/types/builders/extrinsics/xcm/xTokens.utils.d.ts +23 -0
- package/build/types/builders/extrinsics/xcm/xTransfer.d.ts +4 -0
- package/build/types/builders/extrinsics/xcm/xTransfer.utils.d.ts +13 -0
- package/build/types/builders/extrinsics/xcm/xcmPallet.d.ts +11 -0
- package/build/types/builders/extrinsics/xcm/xcmPallet.utils.d.ts +24 -0
- package/build/types/builders/index.d.ts +9 -0
- package/build/types/builders/moves/Wormhole/TokenBridge.d.ts +10 -0
- package/build/types/builders/moves/Wormhole/index.d.ts +9 -0
- package/build/types/builders/programs/Wormhole/TokenBridge.d.ts +13 -0
- package/build/types/builders/programs/Wormhole/index.d.ts +14 -0
- package/build/types/builders/utils/amount.d.ts +1 -0
- package/build/types/builders/utils/asset.d.ts +2 -0
- package/build/types/builders/utils/index.d.ts +2 -0
- package/build/types/chains/chains.spec.d.ts +1 -0
- package/build/types/chains/evm/index.d.ts +4 -0
- package/build/types/chains/evm/mainnet.d.ts +2 -0
- package/build/types/chains/index.d.ts +8 -0
- package/build/types/chains/kusama/assethub.d.ts +2 -0
- package/build/types/chains/kusama/basilisk.d.ts +2 -0
- package/build/types/chains/kusama/index.d.ts +10 -0
- package/build/types/chains/kusama/integritee.d.ts +2 -0
- package/build/types/chains/kusama/karura.d.ts +2 -0
- package/build/types/chains/kusama/kusama.d.ts +2 -0
- package/build/types/chains/kusama/robonomics.d.ts +2 -0
- package/build/types/chains/kusama/tinkernet.d.ts +2 -0
- package/build/types/chains/polkadot/acala.d.ts +2 -0
- package/build/types/chains/polkadot/ajuna.d.ts +2 -0
- package/build/types/chains/polkadot/assethub.d.ts +3 -0
- package/build/types/chains/polkadot/astar.d.ts +2 -0
- package/build/types/chains/polkadot/bifrost.d.ts +2 -0
- package/build/types/chains/polkadot/centrifuge.d.ts +2 -0
- package/build/types/chains/polkadot/crust.d.ts +2 -0
- package/build/types/chains/polkadot/darwinia.d.ts +2 -0
- package/build/types/chains/polkadot/energywebx.d.ts +2 -0
- package/build/types/chains/polkadot/hydration.d.ts +2 -0
- package/build/types/chains/polkadot/index.d.ts +25 -0
- package/build/types/chains/polkadot/interlay.d.ts +2 -0
- package/build/types/chains/polkadot/kilt.d.ts +2 -0
- package/build/types/chains/polkadot/laos.d.ts +2 -0
- package/build/types/chains/polkadot/moonbeam.d.ts +2 -0
- package/build/types/chains/polkadot/mythos.d.ts +2 -0
- package/build/types/chains/polkadot/neuroweb.d.ts +2 -0
- package/build/types/chains/polkadot/nodle.d.ts +2 -0
- package/build/types/chains/polkadot/pendulum.d.ts +2 -0
- package/build/types/chains/polkadot/phala.d.ts +2 -0
- package/build/types/chains/polkadot/polkadot.d.ts +3 -0
- package/build/types/chains/polkadot/unique.d.ts +2 -0
- package/build/types/chains/polkadot/zeitgeist.d.ts +2 -0
- package/build/types/chains/solana/index.d.ts +4 -0
- package/build/types/chains/solana/mainnet.d.ts +2 -0
- package/build/types/chains/sui/index.d.ts +4 -0
- package/build/types/chains/sui/mainnet.d.ts +2 -0
- package/build/types/clients/base.d.ts +8 -0
- package/build/types/clients/chain/assethub.d.ts +13 -0
- package/build/types/clients/chain/hydration.d.ts +8 -0
- package/build/types/clients/chain/index.d.ts +2 -0
- package/build/types/clients/index.d.ts +2 -0
- package/build/types/configs/HydrationConfigService.d.ts +5 -0
- package/build/types/configs/HydrationConfigService.utils.d.ts +5 -0
- package/build/types/configs/evm/ethereum/index.d.ts +2 -0
- package/build/types/configs/evm/ethereum/templates.d.ts +3 -0
- package/build/types/configs/evm/index.d.ts +2 -0
- package/build/types/configs/index.d.ts +3 -0
- package/build/types/configs/kusama/assethub/index.d.ts +2 -0
- package/build/types/configs/kusama/assethub/templates.d.ts +3 -0
- package/build/types/configs/kusama/basilisk/configs.d.ts +3 -0
- package/build/types/configs/kusama/basilisk/index.d.ts +2 -0
- package/build/types/configs/kusama/basilisk/templates.d.ts +2 -0
- package/build/types/configs/kusama/index.d.ts +2 -0
- package/build/types/configs/kusama/integritee.d.ts +2 -0
- package/build/types/configs/kusama/karura.d.ts +2 -0
- package/build/types/configs/kusama/robonomics.d.ts +2 -0
- package/build/types/configs/kusama/tinkernet.d.ts +2 -0
- package/build/types/configs/polkadot/acala.d.ts +2 -0
- package/build/types/configs/polkadot/ajuna.d.ts +2 -0
- package/build/types/configs/polkadot/assethub/index.d.ts +3 -0
- package/build/types/configs/polkadot/assethub/templates.d.ts +6 -0
- package/build/types/configs/polkadot/astar.d.ts +2 -0
- package/build/types/configs/polkadot/bifrost.d.ts +2 -0
- package/build/types/configs/polkadot/centrifuge.d.ts +2 -0
- package/build/types/configs/polkadot/crust.d.ts +2 -0
- package/build/types/configs/polkadot/darwinia.d.ts +2 -0
- package/build/types/configs/polkadot/energywebx.d.ts +2 -0
- package/build/types/configs/polkadot/hydration/configs.d.ts +3 -0
- package/build/types/configs/polkadot/hydration/index.d.ts +2 -0
- package/build/types/configs/polkadot/hydration/templates.d.ts +13 -0
- package/build/types/configs/polkadot/index.d.ts +2 -0
- package/build/types/configs/polkadot/interlay.d.ts +2 -0
- package/build/types/configs/polkadot/kilt.d.ts +2 -0
- package/build/types/configs/polkadot/laos.d.ts +2 -0
- package/build/types/configs/polkadot/moonbeam/index.d.ts +2 -0
- package/build/types/configs/polkadot/moonbeam/templates.d.ts +3 -0
- package/build/types/configs/polkadot/mythos.d.ts +2 -0
- package/build/types/configs/polkadot/neuroweb.d.ts +2 -0
- package/build/types/configs/polkadot/nodle.d.ts +2 -0
- package/build/types/configs/polkadot/pendulum.d.ts +2 -0
- package/build/types/configs/polkadot/phala.d.ts +2 -0
- package/build/types/configs/polkadot/unique.d.ts +2 -0
- package/build/types/configs/polkadot/zeitgeist.d.ts +2 -0
- package/build/types/configs/solana/index.d.ts +2 -0
- package/build/types/configs/solana/solana.d.ts +2 -0
- package/build/types/configs/sui/index.d.ts +2 -0
- package/build/types/configs/sui/sui.d.ts +2 -0
- package/build/types/dex/assethub.d.ts +9 -0
- package/build/types/dex/hydration.d.ts +16 -0
- package/build/types/dex/index.d.ts +2 -0
- package/build/types/index.d.ts +9 -0
- package/build/types/resolvers/acala.d.ts +6 -0
- package/build/types/resolvers/hydration.d.ts +4 -0
- package/build/types/resolvers/index.d.ts +2 -0
- package/build/types/tags.d.ts +6 -0
- package/build/types/utils/papi.d.ts +17 -0
- package/build/types/utils/xcm-encoder.d.ts +86 -0
- package/build/types/validations/base.d.ts +9 -0
- package/build/types/validations/chain/assethub.d.ts +8 -0
- package/build/types/validations/chain/hydration.d.ts +9 -0
- package/build/types/validations/chain/index.d.ts +2 -0
- package/build/types/validations/index.d.ts +2 -0
- package/package.json +39 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { TransferCtx, TransferValidation } from '@galacticcouncil/xc-core';
|
|
2
|
+
export declare class HydrationEdValidation extends TransferValidation {
|
|
3
|
+
protected skipFor(ctx: TransferCtx): Promise<boolean>;
|
|
4
|
+
validate(ctx: TransferCtx): Promise<void>;
|
|
5
|
+
}
|
|
6
|
+
export declare class HydrationMrlFeeValidation extends TransferValidation {
|
|
7
|
+
protected skipFor(ctx: TransferCtx): Promise<boolean>;
|
|
8
|
+
validate(ctx: TransferCtx): Promise<void>;
|
|
9
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@galacticcouncil/xc-cfg",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Cross-chain hydradx & basilisk dapp configuration",
|
|
5
|
+
"author": "GalacticCouncil",
|
|
6
|
+
"repository": {
|
|
7
|
+
"directory": "packages/xc-cfg",
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/galacticcouncil/sdk.git"
|
|
10
|
+
},
|
|
11
|
+
"keywords": [
|
|
12
|
+
"hydration",
|
|
13
|
+
"basilisk",
|
|
14
|
+
"xcm"
|
|
15
|
+
],
|
|
16
|
+
"bugs": {
|
|
17
|
+
"url": "https://github.com/galacticcouncil/sdk/issues"
|
|
18
|
+
},
|
|
19
|
+
"files": [
|
|
20
|
+
"build"
|
|
21
|
+
],
|
|
22
|
+
"main": "./build/index.cjs",
|
|
23
|
+
"module": "./build/index.mjs",
|
|
24
|
+
"types": "./build/types/index.d.ts",
|
|
25
|
+
"scripts": {
|
|
26
|
+
"build": "npm run clean && node ./esbuild.dist.mjs",
|
|
27
|
+
"build:watch": "node ./esbuild.dev.mjs",
|
|
28
|
+
"postbuild": "tsc --emitDeclarationOnly --outDir build/types",
|
|
29
|
+
"clean": "rimraf build",
|
|
30
|
+
"link": "npm ln",
|
|
31
|
+
"test": "NODE_NO_WARNINGS=1 NODE_OPTIONS=--experimental-vm-modules jest --silent"
|
|
32
|
+
},
|
|
33
|
+
"dependencies": {
|
|
34
|
+
"@galacticcouncil/xc-core": "^0.1.0"
|
|
35
|
+
},
|
|
36
|
+
"peerDependencies": {
|
|
37
|
+
"@galacticcouncil/sdk-next": "^0.16.0"
|
|
38
|
+
}
|
|
39
|
+
}
|