@across-protocol/sdk 4.3.120-alpha.1 → 4.3.120-alpha.2

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.
@@ -1,5 +1,5 @@
1
1
  export * from "./test/utils/utils";
2
- export { amountToDeposit, amountToLp, depositRelayerFeePct, originChainId, destinationChainId, repaymentChainId, mockTreeRoot, refundProposalLiveness, totalBond, TokenRolesEnum, bondAmount, finalFee, finalFeeUsdc, finalFeeUsdt, identifier, CONFIG_STORE_VERSION, randomL1Token, randomOriginToken, randomDestinationToken, randomDestinationToken2, MAX_REFUNDS_PER_RELAYER_REFUND_LEAF, MAX_L1_TOKENS_PER_POOL_REBALANCE_LEAF, sampleRateModel, CHAIN_ID_TEST_LIST, } from "./test/constants";
2
+ export { TokenRolesEnum, destinationChainId, originChainId, repaymentChainId, maxUint256, MAX_UINT32, MAX_EXCLUSIVITY_OFFSET_SECONDS, amountToSeedWallets, amountToLp, amountToDeposit, amountToRelay, depositRelayerFeePct, modifiedRelayerFeePct, incorrectModifiedRelayerFeePct, realizedLpFeePct, oneHundredPct, totalPostFeesPct, totalPostModifiedFeesPct, amountToRelayPreFees, amountReceived, amountToRelayPreModifiedFees, amountToRelayPreLPFee, firstDepositId, bondAmount, finalFee, finalFeeUsdc, finalFeeUsdt, totalBond, refundProposalLiveness, zeroAddress, zeroBytes32, identifier, zeroRawValue, mockBundleEvaluationBlockNumbers, mockPoolRebalanceLeafCount, mockPoolRebalanceRoot, mockRelayerRefundRoot, mockSlowRelayRoot, mockTreeRoot, amountHeldByPool, amountToReturn, sampleL2Gas, sampleL2GasSendTokens, sampleL2MaxSubmissionCost, sampleL2GasPrice, maxRefundsPerRelayerRefundLeaf, maxL1TokensPerPoolRebalanceLeaf, l1TokenTransferThreshold, MAX_REFUNDS_PER_RELAYER_REFUND_LEAF, MAX_L1_TOKENS_PER_POOL_REBALANCE_LEAF, sampleRateModel, CONFIG_STORE_VERSION, randomAddress, randomL1Token, randomOriginToken, randomDestinationToken, randomDestinationToken2, CHAIN_ID_TEST_LIST, } from "./test/constants";
3
3
  export { deploySpokePool, spokePoolFixture } from "./test/fixtures/SpokePool.Fixture";
4
4
  export { deployHubPool, hubPoolFixture } from "./test/fixtures/HubPool.Fixture";
5
5
  export { buildPoolRebalanceLeafTree, buildPoolRebalanceLeaves, buildRelayerRefundTree, buildRelayerRefundLeaves, buildSlowRelayTree, buildV3SlowRelayTree, getParamType, } from "./test/utils/MerkleLib.utils";
@@ -1,32 +1,67 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getParamType = exports.buildV3SlowRelayTree = exports.buildSlowRelayTree = exports.buildRelayerRefundLeaves = exports.buildRelayerRefundTree = exports.buildPoolRebalanceLeaves = exports.buildPoolRebalanceLeafTree = exports.hubPoolFixture = exports.deployHubPool = exports.spokePoolFixture = exports.deploySpokePool = exports.CHAIN_ID_TEST_LIST = exports.sampleRateModel = exports.MAX_L1_TOKENS_PER_POOL_REBALANCE_LEAF = exports.MAX_REFUNDS_PER_RELAYER_REFUND_LEAF = exports.randomDestinationToken2 = exports.randomDestinationToken = exports.randomOriginToken = exports.randomL1Token = exports.CONFIG_STORE_VERSION = exports.identifier = exports.finalFeeUsdt = exports.finalFeeUsdc = exports.finalFee = exports.bondAmount = exports.TokenRolesEnum = exports.totalBond = exports.refundProposalLiveness = exports.mockTreeRoot = exports.repaymentChainId = exports.destinationChainId = exports.originChainId = exports.depositRelayerFeePct = exports.amountToLp = exports.amountToDeposit = void 0;
3
+ exports.MAX_L1_TOKENS_PER_POOL_REBALANCE_LEAF = exports.MAX_REFUNDS_PER_RELAYER_REFUND_LEAF = exports.l1TokenTransferThreshold = exports.maxL1TokensPerPoolRebalanceLeaf = exports.maxRefundsPerRelayerRefundLeaf = exports.sampleL2GasPrice = exports.sampleL2MaxSubmissionCost = exports.sampleL2GasSendTokens = exports.sampleL2Gas = exports.amountToReturn = exports.amountHeldByPool = exports.mockTreeRoot = exports.mockSlowRelayRoot = exports.mockRelayerRefundRoot = exports.mockPoolRebalanceRoot = exports.mockPoolRebalanceLeafCount = exports.mockBundleEvaluationBlockNumbers = exports.zeroRawValue = exports.identifier = exports.zeroBytes32 = exports.zeroAddress = exports.refundProposalLiveness = exports.totalBond = exports.finalFeeUsdt = exports.finalFeeUsdc = exports.finalFee = exports.bondAmount = exports.firstDepositId = exports.amountToRelayPreLPFee = exports.amountToRelayPreModifiedFees = exports.amountReceived = exports.amountToRelayPreFees = exports.totalPostModifiedFeesPct = exports.totalPostFeesPct = exports.oneHundredPct = exports.realizedLpFeePct = exports.incorrectModifiedRelayerFeePct = exports.modifiedRelayerFeePct = exports.depositRelayerFeePct = exports.amountToRelay = exports.amountToDeposit = exports.amountToLp = exports.amountToSeedWallets = exports.MAX_EXCLUSIVITY_OFFSET_SECONDS = exports.MAX_UINT32 = exports.maxUint256 = exports.repaymentChainId = exports.originChainId = exports.destinationChainId = exports.TokenRolesEnum = void 0;
4
+ exports.getParamType = exports.buildV3SlowRelayTree = exports.buildSlowRelayTree = exports.buildRelayerRefundLeaves = exports.buildRelayerRefundTree = exports.buildPoolRebalanceLeaves = exports.buildPoolRebalanceLeafTree = exports.hubPoolFixture = exports.deployHubPool = exports.spokePoolFixture = exports.deploySpokePool = exports.CHAIN_ID_TEST_LIST = exports.randomDestinationToken2 = exports.randomDestinationToken = exports.randomOriginToken = exports.randomL1Token = exports.randomAddress = exports.CONFIG_STORE_VERSION = exports.sampleRateModel = void 0;
4
5
  var tslib_1 = require("tslib");
5
6
  tslib_1.__exportStar(require("./test/utils/utils"), exports);
6
7
  var constants_1 = require("./test/constants");
7
- Object.defineProperty(exports, "amountToDeposit", { enumerable: true, get: function () { return constants_1.amountToDeposit; } });
8
- Object.defineProperty(exports, "amountToLp", { enumerable: true, get: function () { return constants_1.amountToLp; } });
9
- Object.defineProperty(exports, "depositRelayerFeePct", { enumerable: true, get: function () { return constants_1.depositRelayerFeePct; } });
10
- Object.defineProperty(exports, "originChainId", { enumerable: true, get: function () { return constants_1.originChainId; } });
8
+ Object.defineProperty(exports, "TokenRolesEnum", { enumerable: true, get: function () { return constants_1.TokenRolesEnum; } });
11
9
  Object.defineProperty(exports, "destinationChainId", { enumerable: true, get: function () { return constants_1.destinationChainId; } });
10
+ Object.defineProperty(exports, "originChainId", { enumerable: true, get: function () { return constants_1.originChainId; } });
12
11
  Object.defineProperty(exports, "repaymentChainId", { enumerable: true, get: function () { return constants_1.repaymentChainId; } });
13
- Object.defineProperty(exports, "mockTreeRoot", { enumerable: true, get: function () { return constants_1.mockTreeRoot; } });
14
- Object.defineProperty(exports, "refundProposalLiveness", { enumerable: true, get: function () { return constants_1.refundProposalLiveness; } });
15
- Object.defineProperty(exports, "totalBond", { enumerable: true, get: function () { return constants_1.totalBond; } });
16
- Object.defineProperty(exports, "TokenRolesEnum", { enumerable: true, get: function () { return constants_1.TokenRolesEnum; } });
12
+ Object.defineProperty(exports, "maxUint256", { enumerable: true, get: function () { return constants_1.maxUint256; } });
13
+ Object.defineProperty(exports, "MAX_UINT32", { enumerable: true, get: function () { return constants_1.MAX_UINT32; } });
14
+ Object.defineProperty(exports, "MAX_EXCLUSIVITY_OFFSET_SECONDS", { enumerable: true, get: function () { return constants_1.MAX_EXCLUSIVITY_OFFSET_SECONDS; } });
15
+ Object.defineProperty(exports, "amountToSeedWallets", { enumerable: true, get: function () { return constants_1.amountToSeedWallets; } });
16
+ Object.defineProperty(exports, "amountToLp", { enumerable: true, get: function () { return constants_1.amountToLp; } });
17
+ Object.defineProperty(exports, "amountToDeposit", { enumerable: true, get: function () { return constants_1.amountToDeposit; } });
18
+ Object.defineProperty(exports, "amountToRelay", { enumerable: true, get: function () { return constants_1.amountToRelay; } });
19
+ Object.defineProperty(exports, "depositRelayerFeePct", { enumerable: true, get: function () { return constants_1.depositRelayerFeePct; } });
20
+ Object.defineProperty(exports, "modifiedRelayerFeePct", { enumerable: true, get: function () { return constants_1.modifiedRelayerFeePct; } });
21
+ Object.defineProperty(exports, "incorrectModifiedRelayerFeePct", { enumerable: true, get: function () { return constants_1.incorrectModifiedRelayerFeePct; } });
22
+ Object.defineProperty(exports, "realizedLpFeePct", { enumerable: true, get: function () { return constants_1.realizedLpFeePct; } });
23
+ Object.defineProperty(exports, "oneHundredPct", { enumerable: true, get: function () { return constants_1.oneHundredPct; } });
24
+ Object.defineProperty(exports, "totalPostFeesPct", { enumerable: true, get: function () { return constants_1.totalPostFeesPct; } });
25
+ Object.defineProperty(exports, "totalPostModifiedFeesPct", { enumerable: true, get: function () { return constants_1.totalPostModifiedFeesPct; } });
26
+ Object.defineProperty(exports, "amountToRelayPreFees", { enumerable: true, get: function () { return constants_1.amountToRelayPreFees; } });
27
+ Object.defineProperty(exports, "amountReceived", { enumerable: true, get: function () { return constants_1.amountReceived; } });
28
+ Object.defineProperty(exports, "amountToRelayPreModifiedFees", { enumerable: true, get: function () { return constants_1.amountToRelayPreModifiedFees; } });
29
+ Object.defineProperty(exports, "amountToRelayPreLPFee", { enumerable: true, get: function () { return constants_1.amountToRelayPreLPFee; } });
30
+ Object.defineProperty(exports, "firstDepositId", { enumerable: true, get: function () { return constants_1.firstDepositId; } });
17
31
  Object.defineProperty(exports, "bondAmount", { enumerable: true, get: function () { return constants_1.bondAmount; } });
18
32
  Object.defineProperty(exports, "finalFee", { enumerable: true, get: function () { return constants_1.finalFee; } });
19
33
  Object.defineProperty(exports, "finalFeeUsdc", { enumerable: true, get: function () { return constants_1.finalFeeUsdc; } });
20
34
  Object.defineProperty(exports, "finalFeeUsdt", { enumerable: true, get: function () { return constants_1.finalFeeUsdt; } });
35
+ Object.defineProperty(exports, "totalBond", { enumerable: true, get: function () { return constants_1.totalBond; } });
36
+ Object.defineProperty(exports, "refundProposalLiveness", { enumerable: true, get: function () { return constants_1.refundProposalLiveness; } });
37
+ Object.defineProperty(exports, "zeroAddress", { enumerable: true, get: function () { return constants_1.zeroAddress; } });
38
+ Object.defineProperty(exports, "zeroBytes32", { enumerable: true, get: function () { return constants_1.zeroBytes32; } });
21
39
  Object.defineProperty(exports, "identifier", { enumerable: true, get: function () { return constants_1.identifier; } });
40
+ Object.defineProperty(exports, "zeroRawValue", { enumerable: true, get: function () { return constants_1.zeroRawValue; } });
41
+ Object.defineProperty(exports, "mockBundleEvaluationBlockNumbers", { enumerable: true, get: function () { return constants_1.mockBundleEvaluationBlockNumbers; } });
42
+ Object.defineProperty(exports, "mockPoolRebalanceLeafCount", { enumerable: true, get: function () { return constants_1.mockPoolRebalanceLeafCount; } });
43
+ Object.defineProperty(exports, "mockPoolRebalanceRoot", { enumerable: true, get: function () { return constants_1.mockPoolRebalanceRoot; } });
44
+ Object.defineProperty(exports, "mockRelayerRefundRoot", { enumerable: true, get: function () { return constants_1.mockRelayerRefundRoot; } });
45
+ Object.defineProperty(exports, "mockSlowRelayRoot", { enumerable: true, get: function () { return constants_1.mockSlowRelayRoot; } });
46
+ Object.defineProperty(exports, "mockTreeRoot", { enumerable: true, get: function () { return constants_1.mockTreeRoot; } });
47
+ Object.defineProperty(exports, "amountHeldByPool", { enumerable: true, get: function () { return constants_1.amountHeldByPool; } });
48
+ Object.defineProperty(exports, "amountToReturn", { enumerable: true, get: function () { return constants_1.amountToReturn; } });
49
+ Object.defineProperty(exports, "sampleL2Gas", { enumerable: true, get: function () { return constants_1.sampleL2Gas; } });
50
+ Object.defineProperty(exports, "sampleL2GasSendTokens", { enumerable: true, get: function () { return constants_1.sampleL2GasSendTokens; } });
51
+ Object.defineProperty(exports, "sampleL2MaxSubmissionCost", { enumerable: true, get: function () { return constants_1.sampleL2MaxSubmissionCost; } });
52
+ Object.defineProperty(exports, "sampleL2GasPrice", { enumerable: true, get: function () { return constants_1.sampleL2GasPrice; } });
53
+ Object.defineProperty(exports, "maxRefundsPerRelayerRefundLeaf", { enumerable: true, get: function () { return constants_1.maxRefundsPerRelayerRefundLeaf; } });
54
+ Object.defineProperty(exports, "maxL1TokensPerPoolRebalanceLeaf", { enumerable: true, get: function () { return constants_1.maxL1TokensPerPoolRebalanceLeaf; } });
55
+ Object.defineProperty(exports, "l1TokenTransferThreshold", { enumerable: true, get: function () { return constants_1.l1TokenTransferThreshold; } });
56
+ Object.defineProperty(exports, "MAX_REFUNDS_PER_RELAYER_REFUND_LEAF", { enumerable: true, get: function () { return constants_1.MAX_REFUNDS_PER_RELAYER_REFUND_LEAF; } });
57
+ Object.defineProperty(exports, "MAX_L1_TOKENS_PER_POOL_REBALANCE_LEAF", { enumerable: true, get: function () { return constants_1.MAX_L1_TOKENS_PER_POOL_REBALANCE_LEAF; } });
58
+ Object.defineProperty(exports, "sampleRateModel", { enumerable: true, get: function () { return constants_1.sampleRateModel; } });
22
59
  Object.defineProperty(exports, "CONFIG_STORE_VERSION", { enumerable: true, get: function () { return constants_1.CONFIG_STORE_VERSION; } });
60
+ Object.defineProperty(exports, "randomAddress", { enumerable: true, get: function () { return constants_1.randomAddress; } });
23
61
  Object.defineProperty(exports, "randomL1Token", { enumerable: true, get: function () { return constants_1.randomL1Token; } });
24
62
  Object.defineProperty(exports, "randomOriginToken", { enumerable: true, get: function () { return constants_1.randomOriginToken; } });
25
63
  Object.defineProperty(exports, "randomDestinationToken", { enumerable: true, get: function () { return constants_1.randomDestinationToken; } });
26
64
  Object.defineProperty(exports, "randomDestinationToken2", { enumerable: true, get: function () { return constants_1.randomDestinationToken2; } });
27
- Object.defineProperty(exports, "MAX_REFUNDS_PER_RELAYER_REFUND_LEAF", { enumerable: true, get: function () { return constants_1.MAX_REFUNDS_PER_RELAYER_REFUND_LEAF; } });
28
- Object.defineProperty(exports, "MAX_L1_TOKENS_PER_POOL_REBALANCE_LEAF", { enumerable: true, get: function () { return constants_1.MAX_L1_TOKENS_PER_POOL_REBALANCE_LEAF; } });
29
- Object.defineProperty(exports, "sampleRateModel", { enumerable: true, get: function () { return constants_1.sampleRateModel; } });
30
65
  Object.defineProperty(exports, "CHAIN_ID_TEST_LIST", { enumerable: true, get: function () { return constants_1.CHAIN_ID_TEST_LIST; } });
31
66
  var SpokePool_Fixture_1 = require("./test/fixtures/SpokePool.Fixture");
32
67
  Object.defineProperty(exports, "deploySpokePool", { enumerable: true, get: function () { return SpokePool_Fixture_1.deploySpokePool; } });
@@ -1 +1 @@
1
- {"version":3,"file":"test-utils.js","sourceRoot":"","sources":["../../test-utils.ts"],"names":[],"mappings":";;;;AAOA,6DAAmC;AAGnC,8CAyB0B;AAxBxB,4GAAA,eAAe,OAAA;AACf,uGAAA,UAAU,OAAA;AACV,iHAAA,oBAAoB,OAAA;AACpB,0GAAA,aAAa,OAAA;AACb,+GAAA,kBAAkB,OAAA;AAClB,6GAAA,gBAAgB,OAAA;AAChB,yGAAA,YAAY,OAAA;AACZ,mHAAA,sBAAsB,OAAA;AACtB,sGAAA,SAAS,OAAA;AACT,2GAAA,cAAc,OAAA;AACd,uGAAA,UAAU,OAAA;AACV,qGAAA,QAAQ,OAAA;AACR,yGAAA,YAAY,OAAA;AACZ,yGAAA,YAAY,OAAA;AACZ,uGAAA,UAAU,OAAA;AACV,iHAAA,oBAAoB,OAAA;AACpB,0GAAA,aAAa,OAAA;AACb,8GAAA,iBAAiB,OAAA;AACjB,mHAAA,sBAAsB,OAAA;AACtB,oHAAA,uBAAuB,OAAA;AACvB,gIAAA,mCAAmC,OAAA;AACnC,kIAAA,qCAAqC,OAAA;AACrC,4GAAA,eAAe,OAAA;AACf,+GAAA,kBAAkB,OAAA;AAIpB,uEAAsF;AAA7E,oHAAA,eAAe,OAAA;AAAE,qHAAA,gBAAgB,OAAA;AAC1C,mEAAgF;AAAvE,gHAAA,aAAa,OAAA;AAAE,iHAAA,cAAc,OAAA;AAGtC,gEAQsC;AAPpC,6HAAA,0BAA0B,OAAA;AAC1B,2HAAA,wBAAwB,OAAA;AACxB,yHAAA,sBAAsB,OAAA;AACtB,2HAAA,wBAAwB,OAAA;AACxB,qHAAA,kBAAkB,OAAA;AAClB,uHAAA,oBAAoB,OAAA;AACpB,+GAAA,YAAY,OAAA;AAId,uDAA6B"}
1
+ {"version":3,"file":"test-utils.js","sourceRoot":"","sources":["../../test-utils.ts"],"names":[],"mappings":";;;;;AAOA,6DAAmC;AAGnC,8CA2D0B;AA1DxB,2GAAA,cAAc,OAAA;AACd,+GAAA,kBAAkB,OAAA;AAClB,0GAAA,aAAa,OAAA;AACb,6GAAA,gBAAgB,OAAA;AAChB,uGAAA,UAAU,OAAA;AACV,uGAAA,UAAU,OAAA;AACV,2HAAA,8BAA8B,OAAA;AAC9B,gHAAA,mBAAmB,OAAA;AACnB,uGAAA,UAAU,OAAA;AACV,4GAAA,eAAe,OAAA;AACf,0GAAA,aAAa,OAAA;AACb,iHAAA,oBAAoB,OAAA;AACpB,kHAAA,qBAAqB,OAAA;AACrB,2HAAA,8BAA8B,OAAA;AAC9B,6GAAA,gBAAgB,OAAA;AAChB,0GAAA,aAAa,OAAA;AACb,6GAAA,gBAAgB,OAAA;AAChB,qHAAA,wBAAwB,OAAA;AACxB,iHAAA,oBAAoB,OAAA;AACpB,2GAAA,cAAc,OAAA;AACd,yHAAA,4BAA4B,OAAA;AAC5B,kHAAA,qBAAqB,OAAA;AACrB,2GAAA,cAAc,OAAA;AACd,uGAAA,UAAU,OAAA;AACV,qGAAA,QAAQ,OAAA;AACR,yGAAA,YAAY,OAAA;AACZ,yGAAA,YAAY,OAAA;AACZ,sGAAA,SAAS,OAAA;AACT,mHAAA,sBAAsB,OAAA;AACtB,wGAAA,WAAW,OAAA;AACX,wGAAA,WAAW,OAAA;AACX,uGAAA,UAAU,OAAA;AACV,yGAAA,YAAY,OAAA;AACZ,6HAAA,gCAAgC,OAAA;AAChC,uHAAA,0BAA0B,OAAA;AAC1B,kHAAA,qBAAqB,OAAA;AACrB,kHAAA,qBAAqB,OAAA;AACrB,8GAAA,iBAAiB,OAAA;AACjB,yGAAA,YAAY,OAAA;AACZ,6GAAA,gBAAgB,OAAA;AAChB,2GAAA,cAAc,OAAA;AACd,wGAAA,WAAW,OAAA;AACX,kHAAA,qBAAqB,OAAA;AACrB,sHAAA,yBAAyB,OAAA;AACzB,6GAAA,gBAAgB,OAAA;AAChB,2HAAA,8BAA8B,OAAA;AAC9B,4HAAA,+BAA+B,OAAA;AAC/B,qHAAA,wBAAwB,OAAA;AACxB,gIAAA,mCAAmC,OAAA;AACnC,kIAAA,qCAAqC,OAAA;AACrC,4GAAA,eAAe,OAAA;AACf,iHAAA,oBAAoB,OAAA;AACpB,0GAAA,aAAa,OAAA;AACb,0GAAA,aAAa,OAAA;AACb,8GAAA,iBAAiB,OAAA;AACjB,mHAAA,sBAAsB,OAAA;AACtB,oHAAA,uBAAuB,OAAA;AACvB,+GAAA,kBAAkB,OAAA;AAIpB,uEAAsF;AAA7E,oHAAA,eAAe,OAAA;AAAE,qHAAA,gBAAgB,OAAA;AAC1C,mEAAgF;AAAvE,gHAAA,aAAa,OAAA;AAAE,iHAAA,cAAc,OAAA;AAGtC,gEAQsC;AAPpC,6HAAA,0BAA0B,OAAA;AAC1B,2HAAA,wBAAwB,OAAA;AACxB,yHAAA,sBAAsB,OAAA;AACtB,2HAAA,wBAAwB,OAAA;AACxB,qHAAA,kBAAkB,OAAA;AAClB,uHAAA,oBAAoB,OAAA;AACpB,+GAAA,YAAY,OAAA;AAId,uDAA6B"}
@@ -1,5 +1,5 @@
1
1
  export * from "./test/utils/utils";
2
- export { amountToDeposit, amountToLp, depositRelayerFeePct, originChainId, destinationChainId, repaymentChainId, mockTreeRoot, refundProposalLiveness, totalBond, TokenRolesEnum, bondAmount, finalFee, finalFeeUsdc, finalFeeUsdt, identifier, CONFIG_STORE_VERSION, randomL1Token, randomOriginToken, randomDestinationToken, randomDestinationToken2, MAX_REFUNDS_PER_RELAYER_REFUND_LEAF, MAX_L1_TOKENS_PER_POOL_REBALANCE_LEAF, sampleRateModel, CHAIN_ID_TEST_LIST, } from "./test/constants";
2
+ export { TokenRolesEnum, destinationChainId, originChainId, repaymentChainId, maxUint256, MAX_UINT32, MAX_EXCLUSIVITY_OFFSET_SECONDS, amountToSeedWallets, amountToLp, amountToDeposit, amountToRelay, depositRelayerFeePct, modifiedRelayerFeePct, incorrectModifiedRelayerFeePct, realizedLpFeePct, oneHundredPct, totalPostFeesPct, totalPostModifiedFeesPct, amountToRelayPreFees, amountReceived, amountToRelayPreModifiedFees, amountToRelayPreLPFee, firstDepositId, bondAmount, finalFee, finalFeeUsdc, finalFeeUsdt, totalBond, refundProposalLiveness, zeroAddress, zeroBytes32, identifier, zeroRawValue, mockBundleEvaluationBlockNumbers, mockPoolRebalanceLeafCount, mockPoolRebalanceRoot, mockRelayerRefundRoot, mockSlowRelayRoot, mockTreeRoot, amountHeldByPool, amountToReturn, sampleL2Gas, sampleL2GasSendTokens, sampleL2MaxSubmissionCost, sampleL2GasPrice, maxRefundsPerRelayerRefundLeaf, maxL1TokensPerPoolRebalanceLeaf, l1TokenTransferThreshold, MAX_REFUNDS_PER_RELAYER_REFUND_LEAF, MAX_L1_TOKENS_PER_POOL_REBALANCE_LEAF, sampleRateModel, CONFIG_STORE_VERSION, randomAddress, randomL1Token, randomOriginToken, randomDestinationToken, randomDestinationToken2, CHAIN_ID_TEST_LIST, } from "./test/constants";
3
3
  export { deploySpokePool, spokePoolFixture } from "./test/fixtures/SpokePool.Fixture";
4
4
  export { deployHubPool, hubPoolFixture } from "./test/fixtures/HubPool.Fixture";
5
5
  export { buildPoolRebalanceLeafTree, buildPoolRebalanceLeaves, buildRelayerRefundTree, buildRelayerRefundLeaves, buildSlowRelayTree, buildV3SlowRelayTree, getParamType, } from "./test/utils/MerkleLib.utils";
@@ -6,7 +6,7 @@
6
6
  // Export from utils first (primary source for randomAddress, zeroAddress)
7
7
  export * from "./test/utils/utils";
8
8
  // Export from constants, excluding duplicates that come from utils
9
- export { amountToDeposit, amountToLp, depositRelayerFeePct, originChainId, destinationChainId, repaymentChainId, mockTreeRoot, refundProposalLiveness, totalBond, TokenRolesEnum, bondAmount, finalFee, finalFeeUsdc, finalFeeUsdt, identifier, CONFIG_STORE_VERSION, randomL1Token, randomOriginToken, randomDestinationToken, randomDestinationToken2, MAX_REFUNDS_PER_RELAYER_REFUND_LEAF, MAX_L1_TOKENS_PER_POOL_REBALANCE_LEAF, sampleRateModel, CHAIN_ID_TEST_LIST, } from "./test/constants";
9
+ export { TokenRolesEnum, destinationChainId, originChainId, repaymentChainId, maxUint256, MAX_UINT32, MAX_EXCLUSIVITY_OFFSET_SECONDS, amountToSeedWallets, amountToLp, amountToDeposit, amountToRelay, depositRelayerFeePct, modifiedRelayerFeePct, incorrectModifiedRelayerFeePct, realizedLpFeePct, oneHundredPct, totalPostFeesPct, totalPostModifiedFeesPct, amountToRelayPreFees, amountReceived, amountToRelayPreModifiedFees, amountToRelayPreLPFee, firstDepositId, bondAmount, finalFee, finalFeeUsdc, finalFeeUsdt, totalBond, refundProposalLiveness, zeroAddress, zeroBytes32, identifier, zeroRawValue, mockBundleEvaluationBlockNumbers, mockPoolRebalanceLeafCount, mockPoolRebalanceRoot, mockRelayerRefundRoot, mockSlowRelayRoot, mockTreeRoot, amountHeldByPool, amountToReturn, sampleL2Gas, sampleL2GasSendTokens, sampleL2MaxSubmissionCost, sampleL2GasPrice, maxRefundsPerRelayerRefundLeaf, maxL1TokensPerPoolRebalanceLeaf, l1TokenTransferThreshold, MAX_REFUNDS_PER_RELAYER_REFUND_LEAF, MAX_L1_TOKENS_PER_POOL_REBALANCE_LEAF, sampleRateModel, CONFIG_STORE_VERSION, randomAddress, randomL1Token, randomOriginToken, randomDestinationToken, randomDestinationToken2, CHAIN_ID_TEST_LIST, } from "./test/constants";
10
10
  // Export from fixtures, excluding zeroAddress which is already exported from utils
11
11
  export { deploySpokePool, spokePoolFixture } from "./test/fixtures/SpokePool.Fixture";
12
12
  export { deployHubPool, hubPoolFixture } from "./test/fixtures/HubPool.Fixture";
@@ -1 +1 @@
1
- {"version":3,"file":"test-utils.js","sourceRoot":"","sources":["../../test-utils.ts"],"names":[],"mappings":"AAAA,2FAA2F;AAC3F,6FAA6F;AAC7F,iGAAiG;AACjG,8DAA8D;AAC9D,8CAA8C;AAE9C,0EAA0E;AAC1E,cAAc,oBAAoB,CAAC;AAEnC,mEAAmE;AACnE,OAAO,EACL,eAAe,EACf,UAAU,EACV,oBAAoB,EACpB,aAAa,EACb,kBAAkB,EAClB,gBAAgB,EAChB,YAAY,EACZ,sBAAsB,EACtB,SAAS,EACT,cAAc,EACd,UAAU,EACV,QAAQ,EACR,YAAY,EACZ,YAAY,EACZ,UAAU,EACV,oBAAoB,EACpB,aAAa,EACb,iBAAiB,EACjB,sBAAsB,EACtB,uBAAuB,EACvB,mCAAmC,EACnC,qCAAqC,EACrC,eAAe,EACf,kBAAkB,GACnB,MAAM,kBAAkB,CAAC;AAE1B,mFAAmF;AACnF,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACtF,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAEhF,kFAAkF;AAClF,OAAO,EACL,0BAA0B,EAC1B,wBAAwB,EACxB,sBAAsB,EACtB,wBAAwB,EACxB,kBAAkB,EAClB,oBAAoB,EACpB,YAAY,GACb,MAAM,8BAA8B,CAAC;AAEtC,eAAe;AACf,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"test-utils.js","sourceRoot":"","sources":["../../test-utils.ts"],"names":[],"mappings":"AAAA,2FAA2F;AAC3F,6FAA6F;AAC7F,iGAAiG;AACjG,8DAA8D;AAC9D,8CAA8C;AAE9C,0EAA0E;AAC1E,cAAc,oBAAoB,CAAC;AAEnC,mEAAmE;AACnE,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,aAAa,EACb,gBAAgB,EAChB,UAAU,EACV,UAAU,EACV,8BAA8B,EAC9B,mBAAmB,EACnB,UAAU,EACV,eAAe,EACf,aAAa,EACb,oBAAoB,EACpB,qBAAqB,EACrB,8BAA8B,EAC9B,gBAAgB,EAChB,aAAa,EACb,gBAAgB,EAChB,wBAAwB,EACxB,oBAAoB,EACpB,cAAc,EACd,4BAA4B,EAC5B,qBAAqB,EACrB,cAAc,EACd,UAAU,EACV,QAAQ,EACR,YAAY,EACZ,YAAY,EACZ,SAAS,EACT,sBAAsB,EACtB,WAAW,EACX,WAAW,EACX,UAAU,EACV,YAAY,EACZ,gCAAgC,EAChC,0BAA0B,EAC1B,qBAAqB,EACrB,qBAAqB,EACrB,iBAAiB,EACjB,YAAY,EACZ,gBAAgB,EAChB,cAAc,EACd,WAAW,EACX,qBAAqB,EACrB,yBAAyB,EACzB,gBAAgB,EAChB,8BAA8B,EAC9B,+BAA+B,EAC/B,wBAAwB,EACxB,mCAAmC,EACnC,qCAAqC,EACrC,eAAe,EACf,oBAAoB,EACpB,aAAa,EACb,aAAa,EACb,iBAAiB,EACjB,sBAAsB,EACtB,uBAAuB,EACvB,kBAAkB,GACnB,MAAM,kBAAkB,CAAC;AAE1B,mFAAmF;AACnF,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACtF,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAEhF,kFAAkF;AAClF,OAAO,EACL,0BAA0B,EAC1B,wBAAwB,EACxB,sBAAsB,EACtB,wBAAwB,EACxB,kBAAkB,EAClB,oBAAoB,EACpB,YAAY,GACb,MAAM,8BAA8B,CAAC;AAEtC,eAAe;AACf,cAAc,cAAc,CAAC"}
@@ -1,5 +1,5 @@
1
1
  export * from "./test/utils/utils";
2
- export { amountToDeposit, amountToLp, depositRelayerFeePct, originChainId, destinationChainId, repaymentChainId, mockTreeRoot, refundProposalLiveness, totalBond, TokenRolesEnum, bondAmount, finalFee, finalFeeUsdc, finalFeeUsdt, identifier, CONFIG_STORE_VERSION, randomL1Token, randomOriginToken, randomDestinationToken, randomDestinationToken2, MAX_REFUNDS_PER_RELAYER_REFUND_LEAF, MAX_L1_TOKENS_PER_POOL_REBALANCE_LEAF, sampleRateModel, CHAIN_ID_TEST_LIST, } from "./test/constants";
2
+ export { TokenRolesEnum, destinationChainId, originChainId, repaymentChainId, maxUint256, MAX_UINT32, MAX_EXCLUSIVITY_OFFSET_SECONDS, amountToSeedWallets, amountToLp, amountToDeposit, amountToRelay, depositRelayerFeePct, modifiedRelayerFeePct, incorrectModifiedRelayerFeePct, realizedLpFeePct, oneHundredPct, totalPostFeesPct, totalPostModifiedFeesPct, amountToRelayPreFees, amountReceived, amountToRelayPreModifiedFees, amountToRelayPreLPFee, firstDepositId, bondAmount, finalFee, finalFeeUsdc, finalFeeUsdt, totalBond, refundProposalLiveness, zeroAddress, zeroBytes32, identifier, zeroRawValue, mockBundleEvaluationBlockNumbers, mockPoolRebalanceLeafCount, mockPoolRebalanceRoot, mockRelayerRefundRoot, mockSlowRelayRoot, mockTreeRoot, amountHeldByPool, amountToReturn, sampleL2Gas, sampleL2GasSendTokens, sampleL2MaxSubmissionCost, sampleL2GasPrice, maxRefundsPerRelayerRefundLeaf, maxL1TokensPerPoolRebalanceLeaf, l1TokenTransferThreshold, MAX_REFUNDS_PER_RELAYER_REFUND_LEAF, MAX_L1_TOKENS_PER_POOL_REBALANCE_LEAF, sampleRateModel, CONFIG_STORE_VERSION, randomAddress, randomL1Token, randomOriginToken, randomDestinationToken, randomDestinationToken2, CHAIN_ID_TEST_LIST, } from "./test/constants";
3
3
  export { deploySpokePool, spokePoolFixture } from "./test/fixtures/SpokePool.Fixture";
4
4
  export { deployHubPool, hubPoolFixture } from "./test/fixtures/HubPool.Fixture";
5
5
  export { buildPoolRebalanceLeafTree, buildPoolRebalanceLeaves, buildRelayerRefundTree, buildRelayerRefundLeaves, buildSlowRelayTree, buildV3SlowRelayTree, getParamType, } from "./test/utils/MerkleLib.utils";
@@ -1 +1 @@
1
- {"version":3,"file":"test-utils.d.ts","sourceRoot":"","sources":["../../test-utils.ts"],"names":[],"mappings":"AAOA,cAAc,oBAAoB,CAAC;AAGnC,OAAO,EACL,eAAe,EACf,UAAU,EACV,oBAAoB,EACpB,aAAa,EACb,kBAAkB,EAClB,gBAAgB,EAChB,YAAY,EACZ,sBAAsB,EACtB,SAAS,EACT,cAAc,EACd,UAAU,EACV,QAAQ,EACR,YAAY,EACZ,YAAY,EACZ,UAAU,EACV,oBAAoB,EACpB,aAAa,EACb,iBAAiB,EACjB,sBAAsB,EACtB,uBAAuB,EACvB,mCAAmC,EACnC,qCAAqC,EACrC,eAAe,EACf,kBAAkB,GACnB,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACtF,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAGhF,OAAO,EACL,0BAA0B,EAC1B,wBAAwB,EACxB,sBAAsB,EACtB,wBAAwB,EACxB,kBAAkB,EAClB,oBAAoB,EACpB,YAAY,GACb,MAAM,8BAA8B,CAAC;AAGtC,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"test-utils.d.ts","sourceRoot":"","sources":["../../test-utils.ts"],"names":[],"mappings":"AAOA,cAAc,oBAAoB,CAAC;AAGnC,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,aAAa,EACb,gBAAgB,EAChB,UAAU,EACV,UAAU,EACV,8BAA8B,EAC9B,mBAAmB,EACnB,UAAU,EACV,eAAe,EACf,aAAa,EACb,oBAAoB,EACpB,qBAAqB,EACrB,8BAA8B,EAC9B,gBAAgB,EAChB,aAAa,EACb,gBAAgB,EAChB,wBAAwB,EACxB,oBAAoB,EACpB,cAAc,EACd,4BAA4B,EAC5B,qBAAqB,EACrB,cAAc,EACd,UAAU,EACV,QAAQ,EACR,YAAY,EACZ,YAAY,EACZ,SAAS,EACT,sBAAsB,EACtB,WAAW,EACX,WAAW,EACX,UAAU,EACV,YAAY,EACZ,gCAAgC,EAChC,0BAA0B,EAC1B,qBAAqB,EACrB,qBAAqB,EACrB,iBAAiB,EACjB,YAAY,EACZ,gBAAgB,EAChB,cAAc,EACd,WAAW,EACX,qBAAqB,EACrB,yBAAyB,EACzB,gBAAgB,EAChB,8BAA8B,EAC9B,+BAA+B,EAC/B,wBAAwB,EACxB,mCAAmC,EACnC,qCAAqC,EACrC,eAAe,EACf,oBAAoB,EACpB,aAAa,EACb,aAAa,EACb,iBAAiB,EACjB,sBAAsB,EACtB,uBAAuB,EACvB,kBAAkB,GACnB,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACtF,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAGhF,OAAO,EACL,0BAA0B,EAC1B,wBAAwB,EACxB,sBAAsB,EACtB,wBAAwB,EACxB,kBAAkB,EAClB,oBAAoB,EACpB,YAAY,GACb,MAAM,8BAA8B,CAAC;AAGtC,cAAc,cAAc,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@across-protocol/sdk",
3
3
  "author": "UMA Team",
4
- "version": "4.3.120-alpha.1",
4
+ "version": "4.3.120-alpha.2",
5
5
  "license": "AGPL-3.0",
6
6
  "homepage": "https://docs.across.to/reference/sdk",
7
7
  "repository": {