@velora-dex/sdk 9.3.4-dev.3 → 9.3.4
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/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/methods/delta/constants.d.ts +8 -0
- package/dist/methods/delta/constants.d.ts.map +1 -0
- package/dist/methods/delta/deltaTokenModule.d.ts +34 -0
- package/dist/methods/delta/deltaTokenModule.d.ts.map +1 -0
- package/dist/methods/delta/getDeltaPrice.d.ts +1 -8
- package/dist/methods/delta/getDeltaPrice.d.ts.map +1 -1
- package/dist/methods/delta/index.d.ts +2 -1
- package/dist/methods/delta/index.d.ts.map +1 -1
- package/dist/sdk/partial.d.ts +3 -1
- package/dist/sdk/partial.d.ts.map +1 -1
- package/dist/sdk.cjs.development.js +334 -1
- package/dist/sdk.cjs.development.js.map +1 -1
- package/dist/sdk.cjs.production.min.js +1 -1
- package/dist/sdk.cjs.production.min.js.map +1 -1
- package/dist/sdk.esm.js +334 -2
- package/dist/sdk.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +12 -0
- package/src/methods/delta/constants.ts +11 -0
- package/src/methods/delta/deltaTokenModule.ts +367 -0
- package/src/methods/delta/getDeltaPrice.ts +0 -14
- package/src/methods/delta/index.ts +9 -1
- package/src/sdk/partial.ts +3 -1
package/dist/sdk.esm.js
CHANGED
|
@@ -4576,6 +4576,337 @@ var constructCancelDeltaOrder = function constructCancelDeltaOrder(options) {
|
|
|
4576
4576
|
};
|
|
4577
4577
|
};
|
|
4578
4578
|
|
|
4579
|
+
// for same-chain Orders, all 0 params
|
|
4580
|
+
var DEFAULT_BRIDGE = {
|
|
4581
|
+
protocolSelector: '0x00000000',
|
|
4582
|
+
// 4 bytes
|
|
4583
|
+
destinationChainId: 0,
|
|
4584
|
+
outputToken: ZERO_ADDRESS,
|
|
4585
|
+
scalingFactor: 0,
|
|
4586
|
+
protocolData: '0x'
|
|
4587
|
+
};
|
|
4588
|
+
|
|
4589
|
+
var DeltaTokenModuleAbi = [{
|
|
4590
|
+
type: 'function',
|
|
4591
|
+
name: 'cancelAndWithdraw',
|
|
4592
|
+
inputs: [{
|
|
4593
|
+
name: 'orderWithSig',
|
|
4594
|
+
type: 'tuple',
|
|
4595
|
+
internalType: 'struct OrderWithSig',
|
|
4596
|
+
components: [{
|
|
4597
|
+
name: 'order',
|
|
4598
|
+
type: 'tuple',
|
|
4599
|
+
internalType: 'struct Order',
|
|
4600
|
+
components: [{
|
|
4601
|
+
name: 'owner',
|
|
4602
|
+
type: 'address',
|
|
4603
|
+
internalType: 'address'
|
|
4604
|
+
}, {
|
|
4605
|
+
name: 'beneficiary',
|
|
4606
|
+
type: 'address',
|
|
4607
|
+
internalType: 'address'
|
|
4608
|
+
}, {
|
|
4609
|
+
name: 'srcToken',
|
|
4610
|
+
type: 'address',
|
|
4611
|
+
internalType: 'address'
|
|
4612
|
+
}, {
|
|
4613
|
+
name: 'destToken',
|
|
4614
|
+
type: 'address',
|
|
4615
|
+
internalType: 'address'
|
|
4616
|
+
}, {
|
|
4617
|
+
name: 'srcAmount',
|
|
4618
|
+
type: 'uint256',
|
|
4619
|
+
internalType: 'uint256'
|
|
4620
|
+
}, {
|
|
4621
|
+
name: 'destAmount',
|
|
4622
|
+
type: 'uint256',
|
|
4623
|
+
internalType: 'uint256'
|
|
4624
|
+
}, {
|
|
4625
|
+
name: 'expectedAmount',
|
|
4626
|
+
type: 'uint256',
|
|
4627
|
+
internalType: 'uint256'
|
|
4628
|
+
}, {
|
|
4629
|
+
name: 'deadline',
|
|
4630
|
+
type: 'uint256',
|
|
4631
|
+
internalType: 'uint256'
|
|
4632
|
+
}, {
|
|
4633
|
+
name: 'kind',
|
|
4634
|
+
type: 'uint8',
|
|
4635
|
+
internalType: 'enum OrderKind'
|
|
4636
|
+
}, {
|
|
4637
|
+
name: 'nonce',
|
|
4638
|
+
type: 'uint256',
|
|
4639
|
+
internalType: 'uint256'
|
|
4640
|
+
}, {
|
|
4641
|
+
name: 'partnerAndFee',
|
|
4642
|
+
type: 'uint256',
|
|
4643
|
+
internalType: 'uint256'
|
|
4644
|
+
}, {
|
|
4645
|
+
name: 'permit',
|
|
4646
|
+
type: 'bytes',
|
|
4647
|
+
internalType: 'bytes'
|
|
4648
|
+
}, {
|
|
4649
|
+
name: 'metadata',
|
|
4650
|
+
type: 'bytes',
|
|
4651
|
+
internalType: 'bytes'
|
|
4652
|
+
}, {
|
|
4653
|
+
name: 'bridge',
|
|
4654
|
+
type: 'tuple',
|
|
4655
|
+
internalType: 'struct Bridge',
|
|
4656
|
+
components: [{
|
|
4657
|
+
name: 'protocolSelector',
|
|
4658
|
+
type: 'bytes4',
|
|
4659
|
+
internalType: 'bytes4'
|
|
4660
|
+
}, {
|
|
4661
|
+
name: 'destinationChainId',
|
|
4662
|
+
type: 'uint256',
|
|
4663
|
+
internalType: 'uint256'
|
|
4664
|
+
}, {
|
|
4665
|
+
name: 'outputToken',
|
|
4666
|
+
type: 'address',
|
|
4667
|
+
internalType: 'address'
|
|
4668
|
+
}, {
|
|
4669
|
+
name: 'scalingFactor',
|
|
4670
|
+
type: 'int8',
|
|
4671
|
+
internalType: 'int8'
|
|
4672
|
+
}, {
|
|
4673
|
+
name: 'protocolData',
|
|
4674
|
+
type: 'bytes',
|
|
4675
|
+
internalType: 'bytes'
|
|
4676
|
+
}]
|
|
4677
|
+
}]
|
|
4678
|
+
}, {
|
|
4679
|
+
name: 'signature',
|
|
4680
|
+
type: 'bytes',
|
|
4681
|
+
internalType: 'bytes'
|
|
4682
|
+
}, {
|
|
4683
|
+
name: 'bridgeOverride',
|
|
4684
|
+
type: 'tuple',
|
|
4685
|
+
internalType: 'struct BridgeOverride',
|
|
4686
|
+
components: [{
|
|
4687
|
+
name: 'protocolSelector',
|
|
4688
|
+
type: 'bytes4',
|
|
4689
|
+
internalType: 'bytes4'
|
|
4690
|
+
}, {
|
|
4691
|
+
name: 'protocolData',
|
|
4692
|
+
type: 'bytes',
|
|
4693
|
+
internalType: 'bytes'
|
|
4694
|
+
}]
|
|
4695
|
+
}, {
|
|
4696
|
+
name: 'cosignature',
|
|
4697
|
+
type: 'bytes',
|
|
4698
|
+
internalType: 'bytes'
|
|
4699
|
+
}]
|
|
4700
|
+
}, {
|
|
4701
|
+
name: 'isFillable',
|
|
4702
|
+
type: 'bool',
|
|
4703
|
+
internalType: 'bool'
|
|
4704
|
+
}],
|
|
4705
|
+
outputs: [],
|
|
4706
|
+
stateMutability: 'nonpayable'
|
|
4707
|
+
}, {
|
|
4708
|
+
type: 'function',
|
|
4709
|
+
name: 'withdrawNative',
|
|
4710
|
+
inputs: [{
|
|
4711
|
+
name: 'amount',
|
|
4712
|
+
type: 'uint256',
|
|
4713
|
+
internalType: 'uint256'
|
|
4714
|
+
}],
|
|
4715
|
+
outputs: [],
|
|
4716
|
+
stateMutability: 'nonpayable'
|
|
4717
|
+
}, {
|
|
4718
|
+
type: 'function',
|
|
4719
|
+
name: 'depositNativeAndPreSign',
|
|
4720
|
+
inputs: [{
|
|
4721
|
+
name: 'orderHash',
|
|
4722
|
+
type: 'bytes32',
|
|
4723
|
+
internalType: 'bytes32'
|
|
4724
|
+
}],
|
|
4725
|
+
outputs: [],
|
|
4726
|
+
stateMutability: 'payable'
|
|
4727
|
+
}];
|
|
4728
|
+
// returns whatever `contractCaller` returns
|
|
4729
|
+
// to allow for better versatility
|
|
4730
|
+
var constructDeltaTokenModule = function constructDeltaTokenModule(options) {
|
|
4731
|
+
// cached internally
|
|
4732
|
+
var _constructGetDeltaCon = constructGetDeltaContract(options),
|
|
4733
|
+
getDeltaContract = _constructGetDeltaCon.getDeltaContract;
|
|
4734
|
+
var cancelAndWithdrawDeltaOrder = /*#__PURE__*/function () {
|
|
4735
|
+
var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(_ref, overrides, requestParams) {
|
|
4736
|
+
var order, signature, _ref$isFillable, isFillable, ParaswapDelta, orderWithSig, res;
|
|
4737
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
4738
|
+
while (1) switch (_context.prev = _context.next) {
|
|
4739
|
+
case 0:
|
|
4740
|
+
order = _ref.order, signature = _ref.signature, _ref$isFillable = _ref.isFillable, isFillable = _ref$isFillable === void 0 ? false : _ref$isFillable;
|
|
4741
|
+
if (overrides === void 0) {
|
|
4742
|
+
overrides = {};
|
|
4743
|
+
}
|
|
4744
|
+
_context.next = 4;
|
|
4745
|
+
return getDeltaContract(requestParams);
|
|
4746
|
+
case 4:
|
|
4747
|
+
ParaswapDelta = _context.sent;
|
|
4748
|
+
if (ParaswapDelta) {
|
|
4749
|
+
_context.next = 7;
|
|
4750
|
+
break;
|
|
4751
|
+
}
|
|
4752
|
+
throw new Error("Delta is not available on chain " + options.chainId);
|
|
4753
|
+
case 7:
|
|
4754
|
+
orderWithSig = {
|
|
4755
|
+
order: order,
|
|
4756
|
+
signature: signature,
|
|
4757
|
+
// bridgeOverride and cosignature are not used by the contract,
|
|
4758
|
+
// can always provide defaults
|
|
4759
|
+
bridgeOverride: {
|
|
4760
|
+
protocolData: DEFAULT_BRIDGE.protocolData,
|
|
4761
|
+
protocolSelector: DEFAULT_BRIDGE.protocolSelector
|
|
4762
|
+
},
|
|
4763
|
+
cosignature: '0x'
|
|
4764
|
+
};
|
|
4765
|
+
_context.next = 10;
|
|
4766
|
+
return options.contractCaller.transactCall({
|
|
4767
|
+
address: ParaswapDelta,
|
|
4768
|
+
abi: DeltaTokenModuleAbi,
|
|
4769
|
+
contractMethod: 'cancelAndWithdraw',
|
|
4770
|
+
args: [orderWithSig, isFillable],
|
|
4771
|
+
overrides: overrides
|
|
4772
|
+
});
|
|
4773
|
+
case 10:
|
|
4774
|
+
res = _context.sent;
|
|
4775
|
+
return _context.abrupt("return", res);
|
|
4776
|
+
case 12:
|
|
4777
|
+
case "end":
|
|
4778
|
+
return _context.stop();
|
|
4779
|
+
}
|
|
4780
|
+
}, _callee);
|
|
4781
|
+
}));
|
|
4782
|
+
return function cancelAndWithdrawDeltaOrder(_x, _x2, _x3) {
|
|
4783
|
+
return _ref2.apply(this, arguments);
|
|
4784
|
+
};
|
|
4785
|
+
}();
|
|
4786
|
+
var withdrawDeltaNative = /*#__PURE__*/function () {
|
|
4787
|
+
var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(amount, overrides, requestParams) {
|
|
4788
|
+
var ParaswapDelta, res;
|
|
4789
|
+
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
4790
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
4791
|
+
case 0:
|
|
4792
|
+
if (overrides === void 0) {
|
|
4793
|
+
overrides = {};
|
|
4794
|
+
}
|
|
4795
|
+
_context2.next = 3;
|
|
4796
|
+
return getDeltaContract(requestParams);
|
|
4797
|
+
case 3:
|
|
4798
|
+
ParaswapDelta = _context2.sent;
|
|
4799
|
+
if (ParaswapDelta) {
|
|
4800
|
+
_context2.next = 6;
|
|
4801
|
+
break;
|
|
4802
|
+
}
|
|
4803
|
+
throw new Error("Delta is not available on chain " + options.chainId);
|
|
4804
|
+
case 6:
|
|
4805
|
+
_context2.next = 8;
|
|
4806
|
+
return options.contractCaller.transactCall({
|
|
4807
|
+
address: ParaswapDelta,
|
|
4808
|
+
abi: DeltaTokenModuleAbi,
|
|
4809
|
+
contractMethod: 'withdrawNative',
|
|
4810
|
+
args: [amount],
|
|
4811
|
+
overrides: overrides
|
|
4812
|
+
});
|
|
4813
|
+
case 8:
|
|
4814
|
+
res = _context2.sent;
|
|
4815
|
+
return _context2.abrupt("return", res);
|
|
4816
|
+
case 10:
|
|
4817
|
+
case "end":
|
|
4818
|
+
return _context2.stop();
|
|
4819
|
+
}
|
|
4820
|
+
}, _callee2);
|
|
4821
|
+
}));
|
|
4822
|
+
return function withdrawDeltaNative(_x4, _x5, _x6) {
|
|
4823
|
+
return _ref3.apply(this, arguments);
|
|
4824
|
+
};
|
|
4825
|
+
}();
|
|
4826
|
+
var depositNativeAndPreSign = /*#__PURE__*/function () {
|
|
4827
|
+
var _ref5 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref4, overrides, requestParams) {
|
|
4828
|
+
var orderHash, depositAmount, ParaswapDelta, res;
|
|
4829
|
+
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
4830
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
4831
|
+
case 0:
|
|
4832
|
+
orderHash = _ref4.orderHash, depositAmount = _ref4.depositAmount;
|
|
4833
|
+
if (overrides === void 0) {
|
|
4834
|
+
overrides = {};
|
|
4835
|
+
}
|
|
4836
|
+
_context3.next = 4;
|
|
4837
|
+
return getDeltaContract(requestParams);
|
|
4838
|
+
case 4:
|
|
4839
|
+
ParaswapDelta = _context3.sent;
|
|
4840
|
+
if (ParaswapDelta) {
|
|
4841
|
+
_context3.next = 7;
|
|
4842
|
+
break;
|
|
4843
|
+
}
|
|
4844
|
+
throw new Error("Delta is not available on chain " + options.chainId);
|
|
4845
|
+
case 7:
|
|
4846
|
+
_context3.next = 9;
|
|
4847
|
+
return options.contractCaller.transactCall({
|
|
4848
|
+
address: ParaswapDelta,
|
|
4849
|
+
abi: DeltaTokenModuleAbi,
|
|
4850
|
+
contractMethod: 'depositNativeAndPreSign',
|
|
4851
|
+
args: [orderHash],
|
|
4852
|
+
overrides: _extends({}, overrides, {
|
|
4853
|
+
value: depositAmount
|
|
4854
|
+
})
|
|
4855
|
+
});
|
|
4856
|
+
case 9:
|
|
4857
|
+
res = _context3.sent;
|
|
4858
|
+
return _context3.abrupt("return", res);
|
|
4859
|
+
case 11:
|
|
4860
|
+
case "end":
|
|
4861
|
+
return _context3.stop();
|
|
4862
|
+
}
|
|
4863
|
+
}, _callee3);
|
|
4864
|
+
}));
|
|
4865
|
+
return function depositNativeAndPreSign(_x7, _x8, _x9) {
|
|
4866
|
+
return _ref5.apply(this, arguments);
|
|
4867
|
+
};
|
|
4868
|
+
}();
|
|
4869
|
+
var depositNativeAndPreSignDeltaOrder = /*#__PURE__*/function () {
|
|
4870
|
+
var _ref7 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4(_ref6, overrides, requestParams) {
|
|
4871
|
+
var signableOrderData, depositAmount, typedDataOnly, orderHash, res;
|
|
4872
|
+
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
4873
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
4874
|
+
case 0:
|
|
4875
|
+
signableOrderData = _ref6.signableOrderData, depositAmount = _ref6.depositAmount;
|
|
4876
|
+
if (overrides === void 0) {
|
|
4877
|
+
overrides = {};
|
|
4878
|
+
}
|
|
4879
|
+
// types allow to pass OrderData & extra_stuff, but tx will break like that
|
|
4880
|
+
typedDataOnly = _extends({}, signableOrderData, {
|
|
4881
|
+
data: sanitizeDeltaOrderData(signableOrderData.data)
|
|
4882
|
+
});
|
|
4883
|
+
orderHash = produceDeltaOrderHash(typedDataOnly);
|
|
4884
|
+
_context4.next = 6;
|
|
4885
|
+
return depositNativeAndPreSign({
|
|
4886
|
+
orderHash: orderHash,
|
|
4887
|
+
depositAmount: depositAmount
|
|
4888
|
+
}, overrides, requestParams);
|
|
4889
|
+
case 6:
|
|
4890
|
+
res = _context4.sent;
|
|
4891
|
+
return _context4.abrupt("return", res);
|
|
4892
|
+
case 8:
|
|
4893
|
+
case "end":
|
|
4894
|
+
return _context4.stop();
|
|
4895
|
+
}
|
|
4896
|
+
}, _callee4);
|
|
4897
|
+
}));
|
|
4898
|
+
return function depositNativeAndPreSignDeltaOrder(_x10, _x11, _x12) {
|
|
4899
|
+
return _ref7.apply(this, arguments);
|
|
4900
|
+
};
|
|
4901
|
+
}();
|
|
4902
|
+
return {
|
|
4903
|
+
cancelAndWithdrawDeltaOrder: cancelAndWithdrawDeltaOrder,
|
|
4904
|
+
withdrawDeltaNative: withdrawDeltaNative,
|
|
4905
|
+
depositNativeAndPreSign: depositNativeAndPreSign,
|
|
4906
|
+
depositNativeAndPreSignDeltaOrder: depositNativeAndPreSignDeltaOrder
|
|
4907
|
+
};
|
|
4908
|
+
};
|
|
4909
|
+
|
|
4579
4910
|
/** @description construct composable SDK with methods you choose yourself */
|
|
4580
4911
|
var constructPartialSDK = function constructPartialSDK(config) {
|
|
4581
4912
|
var _config$apiURL, _config$version;
|
|
@@ -4778,7 +5109,8 @@ var constructAllDeltaOrdersHandlers = function constructAllDeltaOrdersHandlers(o
|
|
|
4778
5109
|
var deltaOrdersPreSign = constructPreSignDeltaOrder(options);
|
|
4779
5110
|
var deltaOrdersPost = constructPostDeltaOrder(options);
|
|
4780
5111
|
var deltaOrdersCancel = constructCancelDeltaOrder(options);
|
|
4781
|
-
|
|
5112
|
+
var deltaTokenModule = constructDeltaTokenModule(options);
|
|
5113
|
+
return _extends({}, deltaOrdersGetters, deltaOrdersContractGetter, deltaPrice, partnerFee, bridgeInfo, isTokenSupportedInDelta, approveTokenForDelta, deltaOrdersSubmit, deltaOrdersBuild, deltaOrdersSign, deltaOrdersPreSign, deltaOrdersPost, deltaOrdersCancel, deltaTokenModule);
|
|
4782
5114
|
};
|
|
4783
5115
|
|
|
4784
5116
|
var constructSubmitNFTOrder = function constructSubmitNFTOrder(options) {
|
|
@@ -5089,5 +5421,5 @@ function constructSimpleContractCaller(providerOptions) {
|
|
|
5089
5421
|
};
|
|
5090
5422
|
}
|
|
5091
5423
|
|
|
5092
|
-
export { API_URL, AssetType, DEFAULT_VERSION, constructAllDeltaOrdersHandlers, constructAllLimitOrdersHandlers, constructAllNFTOrdersHandlers, constructApproveToken, constructApproveTokenForDelta, constructApproveTokenForLimitOrder, constructApproveTokenForNFTOrder, constructFetcher$2 as constructAxiosFetcher, constructBuildDeltaOrder, constructBuildLimitOrder, constructBuildLimitOrderTx, constructBuildNFTOrder, constructBuildNFTOrderTx, constructBuildTx, constructCancelDeltaOrder, constructCancelLimitOrder, constructCancelNFTOrder, constructEthersV5ContractCaller as constructEthersContractCaller, constructEthersV5ContractCaller, constructContractCaller$2 as constructEthersV6ContractCaller, constructFetcher$1 as constructFetchFetcher, constructFillOrderDirectly, constructFullSDK, constructGetAdapters, constructGetBalances, constructGetBridgeInfo, constructGetDeltaContract, constructGetDeltaOrders, constructGetDeltaPrice, constructGetLimitOrders, constructGetLimitOrdersContract, constructGetNFTOrders, constructGetNFTOrdersContract, constructGetPartnerFee, constructGetQuote, constructGetRate, constructGetSpender, constructGetTokens, constructIsTokenSupportedInDelta, constructPartialSDK, constructPostDeltaOrder, constructPostLimitOrder, constructPostNFTOrder, constructPreSignDeltaOrder, constructSignDeltaOrder, constructSignLimitOrder, constructSignNFTOrder, constructSimpleSDK, constructSubmitDeltaOrder, constructSubmitLimitOrder, constructSubmitNFTOrder, constructSwapSDK, constructSwapTx, constructToken, constructContractCaller as constructViemContractCaller, constructContractCaller$1 as constructWeb3ContractCaller, isAllowance, isFetcherError, txParamsToViemTxParams };
|
|
5424
|
+
export { API_URL, AssetType, DEFAULT_VERSION, constructAllDeltaOrdersHandlers, constructAllLimitOrdersHandlers, constructAllNFTOrdersHandlers, constructApproveToken, constructApproveTokenForDelta, constructApproveTokenForLimitOrder, constructApproveTokenForNFTOrder, constructFetcher$2 as constructAxiosFetcher, constructBuildDeltaOrder, constructBuildLimitOrder, constructBuildLimitOrderTx, constructBuildNFTOrder, constructBuildNFTOrderTx, constructBuildTx, constructCancelDeltaOrder, constructCancelLimitOrder, constructCancelNFTOrder, constructDeltaTokenModule, constructEthersV5ContractCaller as constructEthersContractCaller, constructEthersV5ContractCaller, constructContractCaller$2 as constructEthersV6ContractCaller, constructFetcher$1 as constructFetchFetcher, constructFillOrderDirectly, constructFullSDK, constructGetAdapters, constructGetBalances, constructGetBridgeInfo, constructGetDeltaContract, constructGetDeltaOrders, constructGetDeltaPrice, constructGetLimitOrders, constructGetLimitOrdersContract, constructGetNFTOrders, constructGetNFTOrdersContract, constructGetPartnerFee, constructGetQuote, constructGetRate, constructGetSpender, constructGetTokens, constructIsTokenSupportedInDelta, constructPartialSDK, constructPostDeltaOrder, constructPostLimitOrder, constructPostNFTOrder, constructPreSignDeltaOrder, constructSignDeltaOrder, constructSignLimitOrder, constructSignNFTOrder, constructSimpleSDK, constructSubmitDeltaOrder, constructSubmitLimitOrder, constructSubmitNFTOrder, constructSwapSDK, constructSwapTx, constructToken, constructContractCaller as constructViemContractCaller, constructContractCaller$1 as constructWeb3ContractCaller, isAllowance, isFetcherError, txParamsToViemTxParams };
|
|
5093
5425
|
//# sourceMappingURL=sdk.esm.js.map
|