@1stdex/first-sdk 1.0.22 → 1.0.24

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.
Files changed (73) hide show
  1. package/dist/cjs/calls/market/cancel.js +0 -1
  2. package/dist/cjs/calls/market/cancel.js.map +1 -1
  3. package/dist/cjs/calls/market/claim.js +0 -1
  4. package/dist/cjs/calls/market/claim.js.map +1 -1
  5. package/dist/cjs/calls/market/limit.js +1 -4
  6. package/dist/cjs/calls/market/limit.js.map +1 -1
  7. package/dist/cjs/calls/market/make.js +0 -6
  8. package/dist/cjs/calls/market/make.js.map +1 -1
  9. package/dist/cjs/calls/market/market.js +5 -10
  10. package/dist/cjs/calls/market/market.js.map +1 -1
  11. package/dist/cjs/constants/abis/core/book-manager-abi.js +12 -7
  12. package/dist/cjs/constants/abis/core/book-manager-abi.js.map +1 -1
  13. package/dist/cjs/constants/abis/core/book-viewer-abi.js +141 -199
  14. package/dist/cjs/constants/abis/core/book-viewer-abi.js.map +1 -1
  15. package/dist/cjs/constants/abis/core/claimable-dex-vault.js +46 -0
  16. package/dist/cjs/constants/abis/core/claimable-dex-vault.js.map +1 -1
  17. package/dist/cjs/constants/abis/core/controller-abi.js +94 -101
  18. package/dist/cjs/constants/abis/core/controller-abi.js.map +1 -1
  19. package/dist/cjs/constants/abis/core/dex-vault-abi.js +1 -1
  20. package/dist/cjs/constants/abis/core/dex-vault-abi.js.map +1 -1
  21. package/dist/cjs/constants/abis/core/mirror-token-abi.js +901 -6
  22. package/dist/cjs/constants/abis/core/mirror-token-abi.js.map +1 -1
  23. package/dist/cjs/constants/abis/core/params-abi.js +11 -38
  24. package/dist/cjs/constants/abis/core/params-abi.js.map +1 -1
  25. package/dist/cjs/constants/chain-configs/addresses.js +3 -3
  26. package/dist/cjs/constants/chain-configs/currency.js +1 -1
  27. package/dist/esm/calls/market/cancel.js +0 -1
  28. package/dist/esm/calls/market/cancel.js.map +1 -1
  29. package/dist/esm/calls/market/claim.js +0 -1
  30. package/dist/esm/calls/market/claim.js.map +1 -1
  31. package/dist/esm/calls/market/limit.js +1 -5
  32. package/dist/esm/calls/market/limit.js.map +1 -1
  33. package/dist/esm/calls/market/make.js +0 -6
  34. package/dist/esm/calls/market/make.js.map +1 -1
  35. package/dist/esm/calls/market/market.js +6 -12
  36. package/dist/esm/calls/market/market.js.map +1 -1
  37. package/dist/esm/constants/abis/core/book-manager-abi.js +12 -7
  38. package/dist/esm/constants/abis/core/book-manager-abi.js.map +1 -1
  39. package/dist/esm/constants/abis/core/book-viewer-abi.js +141 -199
  40. package/dist/esm/constants/abis/core/book-viewer-abi.js.map +1 -1
  41. package/dist/esm/constants/abis/core/claimable-dex-vault.js +46 -0
  42. package/dist/esm/constants/abis/core/claimable-dex-vault.js.map +1 -1
  43. package/dist/esm/constants/abis/core/controller-abi.js +94 -101
  44. package/dist/esm/constants/abis/core/controller-abi.js.map +1 -1
  45. package/dist/esm/constants/abis/core/dex-vault-abi.js +1 -1
  46. package/dist/esm/constants/abis/core/dex-vault-abi.js.map +1 -1
  47. package/dist/esm/constants/abis/core/mirror-token-abi.js +901 -6
  48. package/dist/esm/constants/abis/core/mirror-token-abi.js.map +1 -1
  49. package/dist/esm/constants/abis/core/params-abi.js +11 -38
  50. package/dist/esm/constants/abis/core/params-abi.js.map +1 -1
  51. package/dist/esm/constants/chain-configs/addresses.js +3 -3
  52. package/dist/esm/constants/chain-configs/currency.js +1 -1
  53. package/dist/tsconfig.build.tsbuildinfo +1 -1
  54. package/dist/types/calls/market/cancel.d.ts.map +1 -1
  55. package/dist/types/calls/market/claim.d.ts.map +1 -1
  56. package/dist/types/calls/market/limit.d.ts +1 -3
  57. package/dist/types/calls/market/limit.d.ts.map +1 -1
  58. package/dist/types/calls/market/make.d.ts.map +1 -1
  59. package/dist/types/calls/market/market.d.ts +2 -4
  60. package/dist/types/calls/market/market.d.ts.map +1 -1
  61. package/dist/types/constants/abis/core/book-manager-abi.d.ts +32 -15
  62. package/dist/types/constants/abis/core/book-manager-abi.d.ts.map +1 -1
  63. package/dist/types/constants/abis/core/book-viewer-abi.d.ts +170 -68
  64. package/dist/types/constants/abis/core/book-viewer-abi.d.ts.map +1 -1
  65. package/dist/types/constants/abis/core/claimable-dex-vault.d.ts +83 -0
  66. package/dist/types/constants/abis/core/claimable-dex-vault.d.ts.map +1 -1
  67. package/dist/types/constants/abis/core/controller-abi.d.ts +130 -164
  68. package/dist/types/constants/abis/core/controller-abi.d.ts.map +1 -1
  69. package/dist/types/constants/abis/core/dex-vault-abi.d.ts +1 -1
  70. package/dist/types/constants/abis/core/mirror-token-abi.d.ts +1252 -16
  71. package/dist/types/constants/abis/core/mirror-token-abi.d.ts.map +1 -1
  72. package/dist/types/constants/abis/core/params-abi.d.ts.map +1 -1
  73. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"cancel.d.ts","sourceRoot":"","sources":["../../../../src/calls/market/cancel.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAa,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EACL,YAAY,EACZ,2BAA2B,EAE3B,WAAW,EACZ,MAAM,aAAa,CAAC;AAYrB;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,WAAW,2CAKrB;IACD,OAAO,EAAE,SAAS,CAAC;IACnB,WAAW,EAAE,KAAK,MAAM,EAAE,CAAC;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,CAAC,EAAE,2BAA2B,GAAG;QACtC,WAAW,CAAC,EAAE,OAAO,CAAC;KACvB,CAAC;CACH,KAAG,QAAQ;IAAE,WAAW,EAAE,WAAW,CAAC;IAAC,MAAM,EAAE,YAAY,CAAA;CAAE,CAW7D,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,YAAY,4CAKtB;IACD,OAAO,EAAE,SAAS,CAAC;IACnB,WAAW,EAAE,KAAK,MAAM,EAAE,CAAC;IAC3B,GAAG,EAAE,MAAM,EAAE,CAAC;IACd,OAAO,CAAC,EAAE,2BAA2B,GAAG;QACtC,WAAW,CAAC,EAAE,OAAO,CAAC;KACvB,CAAC;CACH,KAAG,QAAQ;IAAE,WAAW,EAAE,WAAW,CAAC;IAAC,MAAM,EAAE,YAAY,EAAE,CAAA;CAAE,CA4D/D,CAAC"}
1
+ {"version":3,"file":"cancel.d.ts","sourceRoot":"","sources":["../../../../src/calls/market/cancel.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAAa,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EACL,YAAY,EACZ,2BAA2B,EAE3B,WAAW,EACZ,MAAM,aAAa,CAAC;AAYrB;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,WAAW,2CAKrB;IACD,OAAO,EAAE,SAAS,CAAC;IACnB,WAAW,EAAE,KAAK,MAAM,EAAE,CAAC;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,CAAC,EAAE,2BAA2B,GAAG;QACtC,WAAW,CAAC,EAAE,OAAO,CAAC;KACvB,CAAC;CACH,KAAG,QAAQ;IAAE,WAAW,EAAE,WAAW,CAAC;IAAC,MAAM,EAAE,YAAY,CAAA;CAAE,CAW7D,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,YAAY,4CAKtB;IACD,OAAO,EAAE,SAAS,CAAC;IACnB,WAAW,EAAE,KAAK,MAAM,EAAE,CAAC;IAC3B,GAAG,EAAE,MAAM,EAAE,CAAC;IACd,OAAO,CAAC,EAAE,2BAA2B,GAAG;QACtC,WAAW,CAAC,EAAE,OAAO,CAAC;KACvB,CAAC;CACH,KAAG,QAAQ;IAAE,WAAW,EAAE,WAAW,CAAC;IAAC,MAAM,EAAE,YAAY,EAAE,CAAA;CAAE,CA2D/D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"claim.d.ts","sourceRoot":"","sources":["../../../../src/calls/market/claim.ts"],"names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MAAM,CAAC;IACX,OAAO,CAAC,EAAE,2BAA2B,GAAG;QACtC,WAAW,CAAC,EAAE,OAAO,CAAC;KACvB,CAAC;CACH,KAAG,QAAQ;IAAE,WAAW,EAAE,WAAW,CAAC;IAAC,MAAM,EAAE,YAAY,CAAA;CAAE,CAW7D,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,eAAO,MAAM,WAAW,4CAKrB;IACD,OAAO,EAAE,SAAS,CAAC;IACnB,WAAW,EAAE,KAAK,MAAM,EAAE,CAAC;IAC3B,GAAG,EAAE,MAAM,EAAE,CAAC;IACd,OAAO,CAAC,EAAE,2BAA2B,GAAG;QACtC,WAAW,CAAC,EAAE,OAAO,CAAC;KACvB,CAAC;CACH,KAAG,QAAQ;IAAE,WAAW,EAAE,WAAW,CAAC;IAAC,MAAM,EAAE,YAAY,EAAE,CAAA;CAAE,CA0D/D,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { CHAIN_IDS } from '../../constants/chain-configs/chain';
2
- import { CurrencyFlow, DefaultWriteContractOptions, ERC20PermitParam, Transaction } from '../../types';
2
+ import { CurrencyFlow, DefaultWriteContractOptions, Transaction } from '../../types';
3
3
  /**
4
4
  * Places a limit order on the specified chain for trading tokens.
5
5
  *
@@ -10,7 +10,6 @@ import { CurrencyFlow, DefaultWriteContractOptions, ERC20PermitParam, Transactio
10
10
  * @param {string} amount The amount of input tokens for the order.
11
11
  * @param {string} price The price at which the order should be executed.
12
12
  * @param options {@link DefaultWriteContractOptions} options.
13
- * @param {erc20PermitParam} [options.erc20PermitParam] The permit signature for token approval.
14
13
  * @param {boolean} [options.postOnly] A boolean indicating whether the order is only to be made not taken.
15
14
  * @param {bigint} [options.makeTick] The tick for the make order.
16
15
  * @param {bigint} [options.takeLimitTick] The tick for the take order.
@@ -53,7 +52,6 @@ export declare const limitOrder: ({ chainId, userAddress, inputToken, outputToke
53
52
  amount: string;
54
53
  price: string;
55
54
  options?: {
56
- erc20PermitParam?: ERC20PermitParam;
57
55
  postOnly?: boolean;
58
56
  makeTick?: bigint;
59
57
  takeLimitTick?: bigint;
@@ -1 +1 @@
1
- {"version":3,"file":"limit.d.ts","sourceRoot":"","sources":["../../../../src/calls/market/limit.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,SAAS,EAAa,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EACL,YAAY,EACZ,2BAA2B,EAC3B,gBAAgB,EAChB,WAAW,EACZ,MAAM,aAAa,CAAC;AAWrB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,eAAO,MAAM,UAAU,+EAQpB;IACD,OAAO,EAAE,SAAS,CAAC;IACnB,WAAW,EAAE,KAAK,MAAM,EAAE,CAAC;IAC3B,UAAU,EAAE,KAAK,MAAM,EAAE,CAAC;IAC1B,WAAW,EAAE,KAAK,MAAM,EAAE,CAAC;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE;QACR,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;QACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,iBAAiB,CAAC,EAAE,OAAO,CAAC;QAC5B,mBAAmB,CAAC,EAAE,OAAO,CAAC;QAC9B,oBAAoB,CAAC,EAAE,OAAO,CAAC;QAC/B,kBAAkB,CAAC,EAAE,OAAO,CAAC;QAC7B,WAAW,CAAC,EAAE,OAAO,CAAC;QACtB,YAAY,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;QAC7B,YAAY,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;QAC7B,YAAY,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;QAC7B,YAAY,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;QAC7B,iBAAiB,CAAC,EAAE,OAAO,CAAC;KAC7B,GAAG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,WAAW,EAAE,KAAK,MAAM,EAAE,CAAC;IAC3B,SAAS,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC/C,SAAS,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC/C,SAAS,EAAE,KAAK,MAAM,EAAE,CAAC;IACzB,UAAU,EAAE,KAAK,MAAM,EAAE,CAAC;IAC1B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,OAAO,CAAC,EAAE;QACR,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,iBAAiB,CAAC,EAAE,OAAO,CAAC;QAC5B,mBAAmB,CAAC,EAAE,OAAO,CAAC;QAC9B,WAAW,CAAC,EAAE,OAAO,CAAC;QACtB,WAAW,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;QAC5B,YAAY,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;QAC7B,QAAQ,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;QACzB,eAAe,EAAE,MAAM,EAAE,CAAC;QAC1B,gBAAgB,EAAE,MAAM,EAAE,CAAC;KAC5B,GAAG,2BAA2B,CAAC;CACjC,KAAG,QAAQ,WAAW,CAkLtB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { CHAIN_IDS } from '../../constants/chain-configs/chain';
2
- import { CurrencyFlow, DefaultWriteContractOptions, ERC20PermitParam, Transaction } from '../../types';
2
+ import { CurrencyFlow, DefaultWriteContractOptions, Transaction } from '../../types';
3
3
  /**
4
4
  * Executes a market order on the specified chain for trading tokens.
5
5
  * If only `amountIn` is provided, spend the specified amount of input tokens.
@@ -12,7 +12,6 @@ import { CurrencyFlow, DefaultWriteContractOptions, ERC20PermitParam, Transactio
12
12
  * @param {string} amountIn The amount of input tokens for the order to spend.
13
13
  * @param {string} amountOut The amount of output tokens for the order to take.
14
14
  * @param options {@link DefaultWriteContractOptions} options.
15
- * @param {erc20PermitParam} [options.erc20PermitParam] The permit signature for token approval.
16
15
  * @param {number} [options.slippage] The maximum slippage percentage allowed for the order.
17
16
  * @param {boolean} [options.roundingDownTakenBid] A boolean indicating whether to round down the taken bid.
18
17
  * @param {boolean} [options.roundingUpTakenAsk] A boolean indicating whether to round up the taken ask.
@@ -29,7 +28,7 @@ import { CurrencyFlow, DefaultWriteContractOptions, ERC20PermitParam, Transactio
29
28
  * inputToken: '0x00bfd44e79fb7f6dd5887a9426c8ef85a0cd23e0',
30
29
  * outputToken: '0x0000000000000000000000000000000000000000',
31
30
  * amount: '100.123', // 100.123 USDC
32
- * options: { erc20PermitParam }
31
+ * options: { }
33
32
  * })
34
33
  *
35
34
  */
@@ -43,7 +42,6 @@ export declare const marketOrder: ({ chainId, userAddress, inputToken, outputTok
43
42
  options?: {
44
43
  provider?: `0x${string}`;
45
44
  referrer?: `0x${string}`;
46
- erc20PermitParam?: ERC20PermitParam;
47
45
  slippage?: number;
48
46
  roundingDownTakenBid?: boolean;
49
47
  roundingUpTakenAsk?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"market.d.ts","sourceRoot":"","sources":["../../../../src/calls/market/market.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,SAAS,EAAa,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EACL,YAAY,EACZ,2BAA2B,EAC3B,gBAAgB,EAChB,WAAW,EACZ,MAAM,aAAa,CAAC;AASrB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,eAAO,MAAM,WAAW,qFAQrB;IACD,OAAO,EAAE,SAAS,CAAC;IACnB,WAAW,EAAE,KAAK,MAAM,EAAE,CAAC;IAC3B,UAAU,EAAE,KAAK,MAAM,EAAE,CAAC;IAC1B,WAAW,EAAE,KAAK,MAAM,EAAE,CAAC;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAA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S,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE;QACR,QAAQ,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;QACzB,QAAQ,CAAC,EAAE,KAAK,MAAM,EAAE,CAAC;QACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,oBAAoB,CAAC,EAAE,OAAO,CAAC;QAC/B,kBAAkB,CAAC,EAAE,OAAO,CAAC;QAC7B,WAAW,CAAC,EAAE,OAAO,CAAC;QACtB,iBAAiB,CAAC,EAAE,OAAO,CAAC;KAC7B,GAAG,2BAA2B,CAAC;CACjC,KAAG,QAAQ;IACV,WAAW,EAAE,WAAW,CAAC;IACzB,MAAM,EAAE;QACN,KAAK,EAAE,YAAY,GAAG;YAAE,MAAM,EAAE;gBAAE,KAAK,EAAE,MAAM,CAAC;gBAAC,MAAM,EAAE,MAAM,CAAA;aAAE,EAAE,CAAA;SAAE,CAAC;QACtE,KAAK,EAAE,YAAY,GAAG;YAAE,MAAM,EAAE;gBAAE,KAAK,EAAE,MAAM,CAAC;gBAAC,MAAM,EAAE,MAAM,CAAA;aAAE,EAAE,CAAA;SAAE,CAAC;KACvE,CAAC;CACH,CAgLA,CAAC"}
@@ -1,9 +1,5 @@
1
1
  export declare const BOOK_MANAGER_ABI: readonly [{
2
2
  readonly inputs: readonly [{
3
- readonly internalType: "address";
4
- readonly name: "_owner";
5
- readonly type: "address";
6
- }, {
7
3
  readonly internalType: "address";
8
4
  readonly name: "_defaultReferrer";
9
5
  readonly type: "address";
@@ -42,6 +38,10 @@ export declare const BOOK_MANAGER_ABI: readonly [{
42
38
  readonly inputs: readonly [];
43
39
  readonly name: "BookPausedError";
44
40
  readonly type: "error";
41
+ }, {
42
+ readonly inputs: readonly [];
43
+ readonly name: "CallerMustBeLocker";
44
+ readonly type: "error";
45
45
  }, {
46
46
  readonly inputs: readonly [];
47
47
  readonly name: "CurrencyNotSettled";
@@ -90,6 +90,10 @@ export declare const BOOK_MANAGER_ABI: readonly [{
90
90
  }];
91
91
  readonly name: "LockedBy";
92
92
  readonly type: "error";
93
+ }, {
94
+ readonly inputs: readonly [];
95
+ readonly name: "LockerNotAuthorized";
96
+ readonly type: "error";
93
97
  }, {
94
98
  readonly inputs: readonly [{
95
99
  readonly internalType: "OrderId";
@@ -118,6 +122,10 @@ export declare const BOOK_MANAGER_ABI: readonly [{
118
122
  }];
119
123
  readonly name: "OrderNotAuthorized";
120
124
  readonly type: "error";
125
+ }, {
126
+ readonly inputs: readonly [];
127
+ readonly name: "OrderNotFoundAtIndex";
128
+ readonly type: "error";
121
129
  }, {
122
130
  readonly inputs: readonly [{
123
131
  readonly internalType: "address";
@@ -138,6 +146,22 @@ export declare const BOOK_MANAGER_ABI: readonly [{
138
146
  readonly inputs: readonly [];
139
147
  readonly name: "OwnerCannotBeZero";
140
148
  readonly type: "error";
149
+ }, {
150
+ readonly inputs: readonly [];
151
+ readonly name: "ProviderAlreadyWhitelisted";
152
+ readonly type: "error";
153
+ }, {
154
+ readonly inputs: readonly [];
155
+ readonly name: "ProviderNotWhitelisted";
156
+ readonly type: "error";
157
+ }, {
158
+ readonly inputs: readonly [{
159
+ readonly internalType: "address";
160
+ readonly name: "token";
161
+ readonly type: "address";
162
+ }];
163
+ readonly name: "SafeERC20FailedOperation";
164
+ readonly type: "error";
141
165
  }, {
142
166
  readonly inputs: readonly [];
143
167
  readonly name: "Unauthorized";
@@ -170,6 +194,10 @@ export declare const BOOK_MANAGER_ABI: readonly [{
170
194
  readonly inputs: readonly [];
171
195
  readonly name: "VaultCannotBeZero";
172
196
  readonly type: "error";
197
+ }, {
198
+ readonly inputs: readonly [];
199
+ readonly name: "VaultDoesNotExist";
200
+ readonly type: "error";
173
201
  }, {
174
202
  readonly anonymous: false;
175
203
  readonly inputs: readonly [{
@@ -691,10 +719,6 @@ export declare const BOOK_MANAGER_ABI: readonly [{
691
719
  readonly internalType: "uint64";
692
720
  readonly name: "toUnit";
693
721
  readonly type: "uint64";
694
- }, {
695
- readonly internalType: "address";
696
- readonly name: "owner";
697
- readonly type: "address";
698
722
  }];
699
723
  readonly internalType: "struct IBookManager.CancelParams";
700
724
  readonly name: "params";
@@ -714,10 +738,6 @@ export declare const BOOK_MANAGER_ABI: readonly [{
714
738
  readonly internalType: "OrderId";
715
739
  readonly name: "id";
716
740
  readonly type: "uint256";
717
- }, {
718
- readonly internalType: "address";
719
- readonly name: "owner";
720
- readonly type: "address";
721
741
  }];
722
742
  readonly internalType: "struct IBookManager.ClaimParams";
723
743
  readonly name: "params";
@@ -1681,8 +1701,5 @@ export declare const BOOK_MANAGER_ABI: readonly [{
1681
1701
  readonly outputs: readonly [];
1682
1702
  readonly stateMutability: "nonpayable";
1683
1703
  readonly type: "function";
1684
- }, {
1685
- readonly stateMutability: "payable";
1686
- readonly type: "receive";
1687
1704
  }];
1688
1705
  //# sourceMappingURL=book-manager-abi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"book-manager-abi.d.ts","sourceRoot":"","sources":["../../../../../src/constants/abis/core/book-manager-abi.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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@@
1
1
  export declare const BOOK_VIEWER_ABI: readonly [{
2
+ readonly inputs: readonly [{
3
+ readonly internalType: "contract IBookManager";
4
+ readonly name: "bookManager_";
5
+ readonly type: "address";
6
+ }];
7
+ readonly stateMutability: "nonpayable";
8
+ readonly type: "constructor";
9
+ }, {
10
+ readonly inputs: readonly [{
11
+ readonly internalType: "address";
12
+ readonly name: "target";
13
+ readonly type: "address";
14
+ }];
15
+ readonly name: "AddressEmptyCode";
16
+ readonly type: "error";
17
+ }, {
18
+ readonly inputs: readonly [{
19
+ readonly internalType: "address";
20
+ readonly name: "implementation";
21
+ readonly type: "address";
22
+ }];
23
+ readonly name: "ERC1967InvalidImplementation";
24
+ readonly type: "error";
25
+ }, {
26
+ readonly inputs: readonly [];
27
+ readonly name: "ERC1967NonPayable";
28
+ readonly type: "error";
29
+ }, {
30
+ readonly inputs: readonly [];
31
+ readonly name: "FailedCall";
32
+ readonly type: "error";
33
+ }, {
34
+ readonly inputs: readonly [];
35
+ readonly name: "InvalidInitialization";
36
+ readonly type: "error";
37
+ }, {
38
+ readonly inputs: readonly [];
39
+ readonly name: "InvalidTick";
40
+ readonly type: "error";
41
+ }, {
42
+ readonly inputs: readonly [];
43
+ readonly name: "NotInitializing";
44
+ readonly type: "error";
45
+ }, {
46
+ readonly inputs: readonly [{
47
+ readonly internalType: "address";
48
+ readonly name: "owner";
49
+ readonly type: "address";
50
+ }];
51
+ readonly name: "OwnableInvalidOwner";
52
+ readonly type: "error";
53
+ }, {
54
+ readonly inputs: readonly [{
55
+ readonly internalType: "address";
56
+ readonly name: "account";
57
+ readonly type: "address";
58
+ }];
59
+ readonly name: "OwnableUnauthorizedAccount";
60
+ readonly type: "error";
61
+ }, {
62
+ readonly inputs: readonly [{
63
+ readonly internalType: "uint256";
64
+ readonly name: "value";
65
+ readonly type: "uint256";
66
+ }];
67
+ readonly name: "SafeCastOverflowedUintToInt";
68
+ readonly type: "error";
69
+ }, {
70
+ readonly inputs: readonly [];
71
+ readonly name: "UUPSUnauthorizedCallContext";
72
+ readonly type: "error";
73
+ }, {
74
+ readonly inputs: readonly [{
75
+ readonly internalType: "bytes32";
76
+ readonly name: "slot";
77
+ readonly type: "bytes32";
78
+ }];
79
+ readonly name: "UUPSUnsupportedProxiableUUID";
80
+ readonly type: "error";
81
+ }, {
82
+ readonly anonymous: false;
83
+ readonly inputs: readonly [{
84
+ readonly indexed: false;
85
+ readonly internalType: "uint64";
86
+ readonly name: "version";
87
+ readonly type: "uint64";
88
+ }];
89
+ readonly name: "Initialized";
90
+ readonly type: "event";
91
+ }, {
2
92
  readonly anonymous: false;
3
93
  readonly inputs: readonly [{
4
94
  readonly indexed: true;
@@ -11,99 +101,59 @@ export declare const BOOK_VIEWER_ABI: readonly [{
11
101
  readonly name: "newOwner";
12
102
  readonly type: "address";
13
103
  }];
14
- readonly name: "OwnershipTransferred";
104
+ readonly name: "OwnershipTransferStarted";
15
105
  readonly type: "event";
16
106
  }, {
17
107
  readonly anonymous: false;
18
108
  readonly inputs: readonly [{
19
109
  readonly indexed: true;
20
110
  readonly internalType: "address";
21
- readonly name: "previousImplementation";
111
+ readonly name: "previousOwner";
22
112
  readonly type: "address";
23
113
  }, {
24
114
  readonly indexed: true;
25
115
  readonly internalType: "address";
26
- readonly name: "newImplementation";
116
+ readonly name: "newOwner";
27
117
  readonly type: "address";
28
118
  }];
29
- readonly name: "ProxyImplementationUpdated";
119
+ readonly name: "OwnershipTransferred";
30
120
  readonly type: "event";
31
121
  }, {
32
- readonly stateMutability: "payable";
33
- readonly type: "fallback";
34
- }, {
35
- readonly inputs: readonly [];
36
- readonly name: "owner";
37
- readonly outputs: readonly [{
122
+ readonly anonymous: false;
123
+ readonly inputs: readonly [{
124
+ readonly indexed: true;
38
125
  readonly internalType: "address";
39
- readonly name: "";
126
+ readonly name: "implementation";
40
127
  readonly type: "address";
41
128
  }];
42
- readonly stateMutability: "view";
43
- readonly type: "function";
129
+ readonly name: "Upgraded";
130
+ readonly type: "event";
44
131
  }, {
45
- readonly inputs: readonly [{
46
- readonly internalType: "bytes4";
47
- readonly name: "id";
48
- readonly type: "bytes4";
49
- }];
50
- readonly name: "supportsInterface";
132
+ readonly inputs: readonly [];
133
+ readonly name: "UPGRADE_INTERFACE_VERSION";
51
134
  readonly outputs: readonly [{
52
- readonly internalType: "bool";
135
+ readonly internalType: "string";
53
136
  readonly name: "";
54
- readonly type: "bool";
137
+ readonly type: "string";
55
138
  }];
56
139
  readonly stateMutability: "view";
57
140
  readonly type: "function";
58
141
  }, {
59
142
  readonly inputs: readonly [{
60
143
  readonly internalType: "address";
61
- readonly name: "newOwner";
144
+ readonly name: "owner";
62
145
  readonly type: "address";
63
146
  }];
64
- readonly name: "transferOwnership";
147
+ readonly name: "__BookViewer_init";
65
148
  readonly outputs: readonly [];
66
149
  readonly stateMutability: "nonpayable";
67
150
  readonly type: "function";
68
151
  }, {
69
- readonly inputs: readonly [{
70
- readonly internalType: "address";
71
- readonly name: "newImplementation";
72
- readonly type: "address";
73
- }];
74
- readonly name: "upgradeTo";
152
+ readonly inputs: readonly [];
153
+ readonly name: "acceptOwnership";
75
154
  readonly outputs: readonly [];
76
155
  readonly stateMutability: "nonpayable";
77
156
  readonly type: "function";
78
- }, {
79
- readonly inputs: readonly [{
80
- readonly internalType: "address";
81
- readonly name: "newImplementation";
82
- readonly type: "address";
83
- }, {
84
- readonly internalType: "bytes";
85
- readonly name: "data";
86
- readonly type: "bytes";
87
- }];
88
- readonly name: "upgradeToAndCall";
89
- readonly outputs: readonly [];
90
- readonly stateMutability: "payable";
91
- readonly type: "function";
92
- }, {
93
- readonly stateMutability: "payable";
94
- readonly type: "receive";
95
- }, {
96
- readonly inputs: readonly [];
97
- readonly name: "InvalidTick";
98
- readonly type: "error";
99
- }, {
100
- readonly inputs: readonly [{
101
- readonly internalType: "uint256";
102
- readonly name: "value";
103
- readonly type: "uint256";
104
- }];
105
- readonly name: "SafeCastOverflowedUintToInt";
106
- readonly type: "error";
107
157
  }, {
108
158
  readonly inputs: readonly [];
109
159
  readonly name: "bookManager";
@@ -133,9 +183,13 @@ export declare const BOOK_VIEWER_ABI: readonly [{
133
183
  readonly name: "maxBaseAmount";
134
184
  readonly type: "uint256";
135
185
  }, {
136
- readonly internalType: "bytes";
137
- readonly name: "hookData";
138
- readonly type: "bytes";
186
+ readonly internalType: "address";
187
+ readonly name: "provider";
188
+ readonly type: "address";
189
+ }, {
190
+ readonly internalType: "address";
191
+ readonly name: "referrer";
192
+ readonly type: "address";
139
193
  }];
140
194
  readonly internalType: "struct IController.TakeOrderParams";
141
195
  readonly name: "params";
@@ -172,9 +226,13 @@ export declare const BOOK_VIEWER_ABI: readonly [{
172
226
  readonly name: "minQuoteAmount";
173
227
  readonly type: "uint256";
174
228
  }, {
175
- readonly internalType: "bytes";
176
- readonly name: "hookData";
177
- readonly type: "bytes";
229
+ readonly internalType: "address";
230
+ readonly name: "provider";
231
+ readonly type: "address";
232
+ }, {
233
+ readonly internalType: "address";
234
+ readonly name: "referrer";
235
+ readonly type: "address";
178
236
  }];
179
237
  readonly internalType: "struct IController.SpendOrderParams";
180
238
  readonly name: "params";
@@ -223,21 +281,65 @@ export declare const BOOK_VIEWER_ABI: readonly [{
223
281
  }];
224
282
  readonly stateMutability: "view";
225
283
  readonly type: "function";
284
+ }, {
285
+ readonly inputs: readonly [];
286
+ readonly name: "owner";
287
+ readonly outputs: readonly [{
288
+ readonly internalType: "address";
289
+ readonly name: "";
290
+ readonly type: "address";
291
+ }];
292
+ readonly stateMutability: "view";
293
+ readonly type: "function";
294
+ }, {
295
+ readonly inputs: readonly [];
296
+ readonly name: "pendingOwner";
297
+ readonly outputs: readonly [{
298
+ readonly internalType: "address";
299
+ readonly name: "";
300
+ readonly type: "address";
301
+ }];
302
+ readonly stateMutability: "view";
303
+ readonly type: "function";
304
+ }, {
305
+ readonly inputs: readonly [];
306
+ readonly name: "proxiableUUID";
307
+ readonly outputs: readonly [{
308
+ readonly internalType: "bytes32";
309
+ readonly name: "";
310
+ readonly type: "bytes32";
311
+ }];
312
+ readonly stateMutability: "view";
313
+ readonly type: "function";
314
+ }, {
315
+ readonly inputs: readonly [];
316
+ readonly name: "renounceOwnership";
317
+ readonly outputs: readonly [];
318
+ readonly stateMutability: "nonpayable";
319
+ readonly type: "function";
226
320
  }, {
227
321
  readonly inputs: readonly [{
228
322
  readonly internalType: "address";
229
- readonly name: "implementationAddress";
323
+ readonly name: "newOwner";
230
324
  readonly type: "address";
231
- }, {
325
+ }];
326
+ readonly name: "transferOwnership";
327
+ readonly outputs: readonly [];
328
+ readonly stateMutability: "nonpayable";
329
+ readonly type: "function";
330
+ }, {
331
+ readonly inputs: readonly [{
232
332
  readonly internalType: "address";
233
- readonly name: "ownerAddress";
333
+ readonly name: "newImplementation";
234
334
  readonly type: "address";
235
335
  }, {
236
336
  readonly internalType: "bytes";
237
337
  readonly name: "data";
238
338
  readonly type: "bytes";
239
339
  }];
340
+ readonly name: "upgradeToAndCall";
341
+ readonly outputs: readonly [];
240
342
  readonly stateMutability: "payable";
241
- readonly type: "constructor";
343
+ readonly type: "function";
242
344
  }];
243
345
  //# sourceMappingURL=book-viewer-abi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"book-viewer-abi.d.ts","sourceRoot":"","sources":["../../../../../src/constants/abis/core/book-viewer-abi.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4TlB,CAAC"}
1
+ {"version":3,"file":"book-viewer-abi.d.ts","sourceRoot":"","sources":["../../../../../src/constants/abis/core/book-viewer-abi.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkQlB,CAAC"}
@@ -186,6 +186,22 @@ export declare const CLAIMABLE_DEX_VAULT_ABI: readonly [{
186
186
  }];
187
187
  readonly name: "ERC4626ExceededMaxWithdraw";
188
188
  readonly type: "error";
189
+ }, {
190
+ readonly inputs: readonly [];
191
+ readonly name: "InsufficientAvailableBalance";
192
+ readonly type: "error";
193
+ }, {
194
+ readonly inputs: readonly [];
195
+ readonly name: "InsufficientBalance";
196
+ readonly type: "error";
197
+ }, {
198
+ readonly inputs: readonly [];
199
+ readonly name: "InsufficientLockedBalance";
200
+ readonly type: "error";
201
+ }, {
202
+ readonly inputs: readonly [];
203
+ readonly name: "InsufficientTotalLocked";
204
+ readonly type: "error";
189
205
  }, {
190
206
  readonly inputs: readonly [{
191
207
  readonly internalType: "address";
@@ -198,10 +214,38 @@ export declare const CLAIMABLE_DEX_VAULT_ABI: readonly [{
198
214
  }];
199
215
  readonly name: "InvalidAccountNonce";
200
216
  readonly type: "error";
217
+ }, {
218
+ readonly inputs: readonly [];
219
+ readonly name: "InvalidAmount";
220
+ readonly type: "error";
221
+ }, {
222
+ readonly inputs: readonly [];
223
+ readonly name: "InvalidAssets";
224
+ readonly type: "error";
225
+ }, {
226
+ readonly inputs: readonly [];
227
+ readonly name: "InvalidShares";
228
+ readonly type: "error";
201
229
  }, {
202
230
  readonly inputs: readonly [];
203
231
  readonly name: "InvalidShortString";
204
232
  readonly type: "error";
233
+ }, {
234
+ readonly inputs: readonly [];
235
+ readonly name: "NestedDeflationaryTokenAlreadySet";
236
+ readonly type: "error";
237
+ }, {
238
+ readonly inputs: readonly [];
239
+ readonly name: "NotEnoughClaimable";
240
+ readonly type: "error";
241
+ }, {
242
+ readonly inputs: readonly [];
243
+ readonly name: "NothingToClaim";
244
+ readonly type: "error";
245
+ }, {
246
+ readonly inputs: readonly [];
247
+ readonly name: "OnlyBookManager";
248
+ readonly type: "error";
205
249
  }, {
206
250
  readonly inputs: readonly [{
207
251
  readonly internalType: "address";
@@ -238,6 +282,10 @@ export declare const CLAIMABLE_DEX_VAULT_ABI: readonly [{
238
282
  }];
239
283
  readonly name: "StringTooLong";
240
284
  readonly type: "error";
285
+ }, {
286
+ readonly inputs: readonly [];
287
+ readonly name: "TakenExtraDeficit";
288
+ readonly type: "error";
241
289
  }, {
242
290
  readonly inputs: readonly [{
243
291
  readonly internalType: "address";
@@ -246,6 +294,10 @@ export declare const CLAIMABLE_DEX_VAULT_ABI: readonly [{
246
294
  }];
247
295
  readonly name: "UnauthorizedDeflator";
248
296
  readonly type: "error";
297
+ }, {
298
+ readonly inputs: readonly [];
299
+ readonly name: "VaultBalanceLessThanLocked";
300
+ readonly type: "error";
249
301
  }, {
250
302
  readonly anonymous: false;
251
303
  readonly inputs: readonly [{
@@ -456,6 +508,21 @@ export declare const CLAIMABLE_DEX_VAULT_ABI: readonly [{
456
508
  }];
457
509
  readonly name: "NestedDeflationaryTokenSet";
458
510
  readonly type: "event";
511
+ }, {
512
+ readonly anonymous: false;
513
+ readonly inputs: readonly [{
514
+ readonly indexed: true;
515
+ readonly internalType: "address";
516
+ readonly name: "previousOwner";
517
+ readonly type: "address";
518
+ }, {
519
+ readonly indexed: true;
520
+ readonly internalType: "address";
521
+ readonly name: "newOwner";
522
+ readonly type: "address";
523
+ }];
524
+ readonly name: "OwnershipTransferStarted";
525
+ readonly type: "event";
459
526
  }, {
460
527
  readonly anonymous: false;
461
528
  readonly inputs: readonly [{
@@ -601,6 +668,12 @@ export declare const CLAIMABLE_DEX_VAULT_ABI: readonly [{
601
668
  }];
602
669
  readonly stateMutability: "view";
603
670
  readonly type: "function";
671
+ }, {
672
+ readonly inputs: readonly [];
673
+ readonly name: "acceptOwnership";
674
+ readonly outputs: readonly [];
675
+ readonly stateMutability: "nonpayable";
676
+ readonly type: "function";
604
677
  }, {
605
678
  readonly inputs: readonly [{
606
679
  readonly internalType: "address";
@@ -1181,6 +1254,16 @@ export declare const CLAIMABLE_DEX_VAULT_ABI: readonly [{
1181
1254
  }];
1182
1255
  readonly stateMutability: "view";
1183
1256
  readonly type: "function";
1257
+ }, {
1258
+ readonly inputs: readonly [];
1259
+ readonly name: "pendingOwner";
1260
+ readonly outputs: readonly [{
1261
+ readonly internalType: "address";
1262
+ readonly name: "";
1263
+ readonly type: "address";
1264
+ }];
1265
+ readonly stateMutability: "view";
1266
+ readonly type: "function";
1184
1267
  }, {
1185
1268
  readonly inputs: readonly [{
1186
1269
  readonly internalType: "address";