@chainflip/sdk 1.3.0-alpha.0 → 1.3.0-alpha.1
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/dist/{broker-3HK7CWWD.mjs → broker-SV76BAIC.mjs} +2 -2
- package/dist/{chunk-ND4SZMWQ.mjs → chunk-CLGHWM7E.mjs} +1 -1
- package/dist/{chunk-S4BQHRQA.mjs → chunk-ME7POX3G.mjs} +1 -1
- package/dist/{chunk-P2PZAB5Y.mjs → chunk-R2AO5MXU.mjs} +1 -1
- package/dist/funding.js +1 -1
- package/dist/funding.mjs +2 -2
- package/dist/swap.js +1 -1
- package/dist/swap.mjs +5 -5
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ccmMetadataSchema } from './chunk-
|
|
2
|
-
import { z, __name, Chains, assetAndChain, numericString, hexString, btcAddress, hexStringFromNumber, dotAddress, unsignedInteger } from './chunk-
|
|
1
|
+
import { ccmMetadataSchema } from './chunk-CLGHWM7E.mjs';
|
|
2
|
+
import { z, __name, Chains, assetAndChain, numericString, hexString, btcAddress, hexStringFromNumber, dotAddress, unsignedInteger } from './chunk-ME7POX3G.mjs';
|
|
3
3
|
import { u8aToHex } from '@polkadot/util';
|
|
4
4
|
import { decodeAddress } from '@polkadot/util-crypto';
|
|
5
5
|
import axios from 'axios';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { z, ChainflipNetworks, hexString, __name, __publicField, InternalAssets } from './chunk-
|
|
1
|
+
import { z, ChainflipNetworks, hexString, __name, __publicField, InternalAssets } from './chunk-ME7POX3G.mjs';
|
|
2
2
|
import axios from 'axios';
|
|
3
3
|
import { Interface, Contract } from 'ethers';
|
|
4
4
|
|
package/dist/funding.js
CHANGED
package/dist/funding.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { getFlipBalance, getFundingEnvironment, getStateChainGatewayContractAddress, approve, getTokenContractAddress, checkAllowance, extractOverrides, StateChainGateway__factory } from './chunk-
|
|
2
|
-
import { __name, __publicField, ChainflipNetworks, InternalAssets, assert } from './chunk-
|
|
1
|
+
import { getFlipBalance, getFundingEnvironment, getStateChainGatewayContractAddress, approve, getTokenContractAddress, checkAllowance, extractOverrides, StateChainGateway__factory } from './chunk-R2AO5MXU.mjs';
|
|
2
|
+
import { __name, __publicField, ChainflipNetworks, InternalAssets, assert } from './chunk-ME7POX3G.mjs';
|
|
3
3
|
|
|
4
4
|
// ../shared/src/stateChainGateway/utils.ts
|
|
5
5
|
var getStateChainGateway = /* @__PURE__ */ __name((networkOpts) => {
|
package/dist/swap.js
CHANGED
package/dist/swap.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { getTokenContractAddress, getEnvironment, getVaultManagerContractAddress, approve, checkAllowance, Vault__factory, extractOverrides } from './chunk-
|
|
2
|
-
import { ccmMetadataSchema } from './chunk-
|
|
3
|
-
import { __name, z, numericString, Chains, Assets, ethereumAddress, dotAddress, ChainflipNetworks, assetConstants, isTestnet, readChainAssetValue, isNotNullish, __publicField, assert, isTokenCall, isTokenSwap, getInternalAsset, chainConstants, btcAddress } from './chunk-
|
|
4
|
-
export { Assets, InternalAssets as ChainflipIds, ChainflipNetworks, Chains, getInternalAsset as getChainflipId } from './chunk-
|
|
1
|
+
import { getTokenContractAddress, getEnvironment, getVaultManagerContractAddress, approve, checkAllowance, Vault__factory, extractOverrides } from './chunk-R2AO5MXU.mjs';
|
|
2
|
+
import { ccmMetadataSchema } from './chunk-CLGHWM7E.mjs';
|
|
3
|
+
import { __name, z, numericString, Chains, Assets, ethereumAddress, dotAddress, ChainflipNetworks, assetConstants, isTestnet, readChainAssetValue, isNotNullish, __publicField, assert, isTokenCall, isTokenSwap, getInternalAsset, chainConstants, btcAddress } from './chunk-ME7POX3G.mjs';
|
|
4
|
+
export { Assets, InternalAssets as ChainflipIds, ChainflipNetworks, Chains, getInternalAsset as getChainflipId } from './chunk-ME7POX3G.mjs';
|
|
5
5
|
import { decodeAddress } from '@polkadot/util-crypto';
|
|
6
6
|
import axios from 'axios';
|
|
7
7
|
|
|
@@ -2601,7 +2601,7 @@ var _SwapSDK = class _SwapSDK {
|
|
|
2601
2601
|
}, BigInt(amount));
|
|
2602
2602
|
let response;
|
|
2603
2603
|
if (this.brokerConfig !== void 0) {
|
|
2604
|
-
const { requestSwapDepositAddress } = await import('./broker-
|
|
2604
|
+
const { requestSwapDepositAddress } = await import('./broker-SV76BAIC.mjs');
|
|
2605
2605
|
const result = await requestSwapDepositAddress(depositAddressRequest, this.brokerConfig, this.network);
|
|
2606
2606
|
response = {
|
|
2607
2607
|
id: `${result.issuedBlock}-${depositAddressRequest.srcChain}-${result.channelId}`,
|