@chainflip/sdk 0.1.14 → 0.1.15

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.
@@ -2047,6 +2047,26 @@ __name(Vault__factory, "Vault__factory");
2047
2047
  __publicField(Vault__factory, "abi", _abi3);
2048
2048
 
2049
2049
  // ../shared/src/consts.ts
2050
+ var MINIMUM_DEPOSIT_AMOUNTS = {
2051
+ [ChainflipNetworks.partnernet]: {
2052
+ [Assets.ETH]: "0",
2053
+ [Assets.FLIP]: "0",
2054
+ [Assets.USDC]: "0",
2055
+ [Assets.BTC]: "0",
2056
+ [Assets.DOT]: "0"
2057
+ }
2058
+ };
2059
+ var getMinimumDepositAmount = /* @__PURE__ */ __name((network, asset) => MINIMUM_DEPOSIT_AMOUNTS[network]?.[asset] ?? "0", "getMinimumDepositAmount");
2060
+ var MINIMUM_SWAP_AMOUNTS = {
2061
+ [ChainflipNetworks.partnernet]: {
2062
+ [Assets.ETH]: "580000000000000",
2063
+ [Assets.FLIP]: "1000000000000000000",
2064
+ [Assets.USDC]: "1000000",
2065
+ [Assets.BTC]: "390000",
2066
+ [Assets.DOT]: "2000000000"
2067
+ }
2068
+ };
2069
+ var getMinimumSwapAmount = /* @__PURE__ */ __name((network, asset) => MINIMUM_SWAP_AMOUNTS[network]?.[asset] ?? "0", "getMinimumSwapAmount");
2050
2070
  var ADDRESSES = {
2051
2071
  [ChainflipNetworks.sisyphos]: {
2052
2072
  FLIP_CONTRACT_ADDRESS: "0x2FD78122663A07672e9ac63486573A99EB00125d",
@@ -2125,4 +2145,4 @@ var getFlipBalance = /* @__PURE__ */ __name(async (network, signer) => {
2125
2145
  return balance.toBigInt();
2126
2146
  }, "getFlipBalance");
2127
2147
 
2128
- export { Assets, ChainflipNetworks, Chains, StateChainGateway__factory, Vault__factory, __name, __publicField, approve, assert, assetChains, assetContractIds, assetDecimals, chainAssets, chainContractIds, checkAllowance, getFlipBalance, getStateChainGatewayContractAddress, getTokenContractAddress, getVaultManagerContractAddress, isString, isTestnet, isTokenCall, isTokenSwap };
2148
+ export { Assets, ChainflipNetworks, Chains, StateChainGateway__factory, Vault__factory, __name, __publicField, approve, assert, assetChains, assetContractIds, assetDecimals, chainAssets, chainContractIds, checkAllowance, getFlipBalance, getMinimumDepositAmount, getMinimumSwapAmount, getStateChainGatewayContractAddress, getTokenContractAddress, getVaultManagerContractAddress, isString, isTestnet, isTokenCall, isTokenSwap };
package/dist/funding.js CHANGED
@@ -825,6 +825,24 @@ var ChainflipNetworks = arrayToMap([
825
825
  });
826
826
 
827
827
  // ../shared/src/consts.ts
828
+ ({
829
+ [ChainflipNetworks.partnernet]: {
830
+ [Assets.ETH]: "0",
831
+ [Assets.FLIP]: "0",
832
+ [Assets.USDC]: "0",
833
+ [Assets.BTC]: "0",
834
+ [Assets.DOT]: "0"
835
+ }
836
+ });
837
+ ({
838
+ [ChainflipNetworks.partnernet]: {
839
+ [Assets.ETH]: "580000000000000",
840
+ [Assets.FLIP]: "1000000000000000000",
841
+ [Assets.USDC]: "1000000",
842
+ [Assets.BTC]: "390000",
843
+ [Assets.DOT]: "2000000000"
844
+ }
845
+ });
828
846
  var ADDRESSES = {
829
847
  [ChainflipNetworks.sisyphos]: {
830
848
  FLIP_CONTRACT_ADDRESS: "0x2FD78122663A07672e9ac63486573A99EB00125d",
package/dist/funding.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { __name, __publicField, ChainflipNetworks, getFlipBalance, getStateChainGatewayContractAddress, approve, getTokenContractAddress, Assets, checkAllowance, assert, StateChainGateway__factory } from './chunk-7N46BL6F.mjs';
1
+ import { __name, __publicField, ChainflipNetworks, getFlipBalance, getStateChainGatewayContractAddress, approve, getTokenContractAddress, Assets, checkAllowance, assert, StateChainGateway__factory } from './chunk-SBTGTMCG.mjs';
2
2
 
3
3
  // ../shared/src/stateChainGateway/utils.ts
4
4
  var getStateChainGateway = /* @__PURE__ */ __name((options) => {
package/dist/swap.d.ts CHANGED
@@ -420,6 +420,8 @@ type AssetData = {
420
420
  name: string;
421
421
  symbol: string;
422
422
  isMainnet: boolean;
423
+ minimumDepositAmount: string;
424
+ minimumSwapAmount: string;
423
425
  };
424
426
  }[keyof typeof chainAssets];
425
427
  interface ChainsAndAssets {