@paraswap/dex-lib 3.8.25 → 3.8.26-aave-gsm.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.
Files changed (234) hide show
  1. package/build/abi/Aave_GSM.json +751 -0
  2. package/build/abi/inception/inception-ineth-pool.json +1062 -0
  3. package/build/abi/inception/inception-ineth.json +609 -0
  4. package/build/abi/inception/inception-ratio-feed.json +93 -0
  5. package/build/abi/inception/inception-vault.json +991 -0
  6. package/build/abi/{integral/pool.json → usual-bond/usd0pp.abi.json} +389 -563
  7. package/build/dex/aave-gsm/aave-gsm.d.ts +33 -0
  8. package/build/dex/aave-gsm/aave-gsm.js +283 -0
  9. package/build/dex/aave-gsm/aave-gsm.js.map +1 -0
  10. package/build/dex/aave-gsm/config.d.ts +3 -0
  11. package/build/dex/aave-gsm/config.js +17 -0
  12. package/build/dex/aave-gsm/config.js.map +1 -0
  13. package/build/dex/aave-gsm/types.d.ts +11 -0
  14. package/build/dex/aave-gsm/types.js +3 -0
  15. package/build/dex/aave-gsm/types.js.map +1 -0
  16. package/build/dex/aave-v1/aave-v1.d.ts +2 -1
  17. package/build/dex/aave-v1/aave-v1.js +22 -0
  18. package/build/dex/aave-v1/aave-v1.js.map +1 -1
  19. package/build/dex/generic-rfq/rate-fetcher.js +1 -1
  20. package/build/dex/generic-rfq/rate-fetcher.js.map +1 -1
  21. package/build/dex/idle-dao/idle-dao-pool.d.ts +56 -0
  22. package/build/dex/idle-dao/idle-dao-pool.js +176 -0
  23. package/build/dex/idle-dao/idle-dao-pool.js.map +1 -0
  24. package/build/dex/idle-dao/idle-dao-pooling-pool.d.ts +16 -0
  25. package/build/dex/idle-dao/idle-dao-pooling-pool.js +57 -0
  26. package/build/dex/idle-dao/idle-dao-pooling-pool.js.map +1 -0
  27. package/build/dex/idle-dao/scripts.d.ts +9 -0
  28. package/build/dex/idle-dao/scripts.js +552 -0
  29. package/build/dex/idle-dao/scripts.js.map +1 -0
  30. package/build/dex/inception/config.d.ts +5 -0
  31. package/build/dex/inception/config.js +112 -0
  32. package/build/dex/inception/config.js.map +1 -0
  33. package/build/dex/inception/inception-event-pool.d.ts +25 -0
  34. package/build/dex/inception/inception-event-pool.js +57 -0
  35. package/build/dex/inception/inception-event-pool.js.map +1 -0
  36. package/build/dex/{integral/integral.d.ts → inception/inception-native.d.ts} +21 -19
  37. package/build/dex/inception/inception-native.js +131 -0
  38. package/build/dex/inception/inception-native.js.map +1 -0
  39. package/build/dex/inception/inception-pool.d.ts +18 -0
  40. package/build/dex/inception/inception-pool.js +32 -0
  41. package/build/dex/inception/inception-pool.js.map +1 -0
  42. package/build/dex/inception/inception-price-feed.d.ts +19 -0
  43. package/build/dex/inception/inception-price-feed.js +51 -0
  44. package/build/dex/inception/inception-price-feed.js.map +1 -0
  45. package/build/dex/inception/inception.d.ts +44 -0
  46. package/build/dex/inception/inception.js +177 -0
  47. package/build/dex/inception/inception.js.map +1 -0
  48. package/build/dex/inception/tokens.d.ts +9 -0
  49. package/build/dex/inception/tokens.js +28 -0
  50. package/build/dex/inception/tokens.js.map +1 -0
  51. package/build/dex/inception/types.d.ts +22 -0
  52. package/build/dex/inception/types.js +3 -0
  53. package/build/dex/inception/types.js.map +1 -0
  54. package/build/dex/inception/utils.d.ts +7 -0
  55. package/build/dex/inception/utils.js +58 -0
  56. package/build/dex/inception/utils.js.map +1 -0
  57. package/build/dex/index.js +2 -0
  58. package/build/dex/index.js.map +1 -1
  59. package/build/dex/platypus/platypus.d.ts +2 -1
  60. package/build/dex/platypus/platypus.js +31 -0
  61. package/build/dex/platypus/platypus.js.map +1 -1
  62. package/build/dex/swaap-v1/swaap-v1.d.ts +2 -1
  63. package/build/dex/swaap-v1/swaap-v1.js +10 -0
  64. package/build/dex/swaap-v1/swaap-v1.js.map +1 -1
  65. package/build/dex/usual-bond/config.d.ts +3 -0
  66. package/build/dex/usual-bond/config.js +13 -0
  67. package/build/dex/usual-bond/config.js.map +1 -0
  68. package/build/dex/usual-bond/types.d.ts +7 -0
  69. package/build/dex/usual-bond/types.js +3 -0
  70. package/build/dex/usual-bond/types.js.map +1 -0
  71. package/build/dex/usual-bond/usual-bond.d.ts +35 -0
  72. package/build/dex/usual-bond/usual-bond.js +162 -0
  73. package/build/dex/usual-bond/usual-bond.js.map +1 -0
  74. package/package.json +1 -1
  75. package/src/abi/Aave_GSM.json +751 -0
  76. package/src/dex/aave-gsm/aave-gsm-e2e.test.ts +109 -0
  77. package/src/dex/aave-gsm/aave-gsm-integration.test.ts +318 -0
  78. package/src/dex/aave-gsm/aave-gsm.ts +369 -0
  79. package/src/dex/aave-gsm/config.ts +16 -0
  80. package/src/dex/aave-gsm/types.ts +15 -0
  81. package/src/dex/generic-rfq/rate-fetcher.ts +6 -5
  82. package/src/dex/index.ts +2 -0
  83. package/.vscode/launch.json +0 -16
  84. package/.vscode/settings.json +0 -3
  85. package/build/abi/Uncompressor.json +0 -250
  86. package/build/abi/integral/factory.json +0 -333
  87. package/build/abi/integral/oracle.json +0 -501
  88. package/build/abi/integral/relayer.json +0 -1536
  89. package/build/dex/bProtocol.d.ts +0 -18
  90. package/build/dex/bProtocol.js +0 -39
  91. package/build/dex/bProtocol.js.map +0 -1
  92. package/build/dex/bancor.d.ts +0 -26
  93. package/build/dex/bancor.js +0 -58
  94. package/build/dex/bancor.js.map +0 -1
  95. package/build/dex/compound.d.ts +0 -18
  96. package/build/dex/compound.js +0 -46
  97. package/build/dex/compound.js.map +0 -1
  98. package/build/dex/curve-v2.d.ts +0 -58
  99. package/build/dex/curve-v2.js +0 -180
  100. package/build/dex/curve-v2.js.map +0 -1
  101. package/build/dex/dodo-v1.d.ts +0 -33
  102. package/build/dex/dodo-v1.js +0 -63
  103. package/build/dex/dodo-v1.js.map +0 -1
  104. package/build/dex/etherfi/etherfi.d.ts +0 -26
  105. package/build/dex/etherfi/etherfi.js +0 -96
  106. package/build/dex/etherfi/etherfi.js.map +0 -1
  107. package/build/dex/integral/config.d.ts +0 -4
  108. package/build/dex/integral/config.js +0 -20
  109. package/build/dex/integral/config.js.map +0 -1
  110. package/build/dex/integral/context.d.ts +0 -40
  111. package/build/dex/integral/context.js +0 -158
  112. package/build/dex/integral/context.js.map +0 -1
  113. package/build/dex/integral/helpers.d.ts +0 -17
  114. package/build/dex/integral/helpers.js +0 -157
  115. package/build/dex/integral/helpers.js.map +0 -1
  116. package/build/dex/integral/integral-factory.d.ts +0 -24
  117. package/build/dex/integral/integral-factory.js +0 -95
  118. package/build/dex/integral/integral-factory.js.map +0 -1
  119. package/build/dex/integral/integral-pool.d.ts +0 -50
  120. package/build/dex/integral/integral-pool.js +0 -149
  121. package/build/dex/integral/integral-pool.js.map +0 -1
  122. package/build/dex/integral/integral-pricing.d.ts +0 -18
  123. package/build/dex/integral/integral-pricing.js +0 -114
  124. package/build/dex/integral/integral-pricing.js.map +0 -1
  125. package/build/dex/integral/integral-relayer.d.ts +0 -42
  126. package/build/dex/integral/integral-relayer.js +0 -192
  127. package/build/dex/integral/integral-relayer.js.map +0 -1
  128. package/build/dex/integral/integral-token.d.ts +0 -27
  129. package/build/dex/integral/integral-token.js +0 -59
  130. package/build/dex/integral/integral-token.js.map +0 -1
  131. package/build/dex/integral/integral.js +0 -376
  132. package/build/dex/integral/integral.js.map +0 -1
  133. package/build/dex/integral/types.d.ts +0 -85
  134. package/build/dex/integral/types.js +0 -9
  135. package/build/dex/integral/types.js.map +0 -1
  136. package/build/dex/integral/utils-e2e.d.ts +0 -9
  137. package/build/dex/integral/utils-e2e.js +0 -131
  138. package/build/dex/integral/utils-e2e.js.map +0 -1
  139. package/build/dex/integral/utils.d.ts +0 -17
  140. package/build/dex/integral/utils.js +0 -94
  141. package/build/dex/integral/utils.js.map +0 -1
  142. package/build/dex/lido.d.ts +0 -19
  143. package/build/dex/lido.js +0 -42
  144. package/build/dex/lido.js.map +0 -1
  145. package/build/dex/onebit.d.ts +0 -25
  146. package/build/dex/onebit.js +0 -42
  147. package/build/dex/onebit.js.map +0 -1
  148. package/build/dex/sdai/config.d.ts +0 -11
  149. package/build/dex/sdai/config.js +0 -21
  150. package/build/dex/sdai/config.js.map +0 -1
  151. package/build/dex/sdai/constants.d.ts +0 -2
  152. package/build/dex/sdai/constants.js +0 -6
  153. package/build/dex/sdai/constants.js.map +0 -1
  154. package/build/dex/sdai/scripts/validate-state.d.ts +0 -1
  155. package/build/dex/sdai/scripts/validate-state.js +0 -102
  156. package/build/dex/sdai/scripts/validate-state.js.map +0 -1
  157. package/build/dex/sdai/sdai-pool.d.ts +0 -16
  158. package/build/dex/sdai/sdai-pool.js +0 -85
  159. package/build/dex/sdai/sdai-pool.js.map +0 -1
  160. package/build/dex/sdai/sdai.d.ts +0 -51
  161. package/build/dex/sdai/sdai.js +0 -172
  162. package/build/dex/sdai/sdai.js.map +0 -1
  163. package/build/dex/sdai/types.d.ts +0 -21
  164. package/build/dex/sdai/types.js +0 -11
  165. package/build/dex/sdai/types.js.map +0 -1
  166. package/build/dex/sdai/utils.d.ts +0 -4
  167. package/build/dex/sdai/utils.js +0 -39
  168. package/build/dex/sdai/utils.js.map +0 -1
  169. package/build/dex/smoothy.d.ts +0 -26
  170. package/build/dex/smoothy.js +0 -48
  171. package/build/dex/smoothy.js.map +0 -1
  172. package/build/dex/stable-pool.d.ts +0 -28
  173. package/build/dex/stable-pool.js +0 -62
  174. package/build/dex/stable-pool.js.map +0 -1
  175. package/build/dex/trader-joe-v2.1/optimizer.d.ts +0 -2
  176. package/build/dex/trader-joe-v2.1/optimizer.js +0 -44
  177. package/build/dex/trader-joe-v2.1/optimizer.js.map +0 -1
  178. package/build/dex/trader-joe-v2.1.d.ts +0 -43
  179. package/build/dex/trader-joe-v2.1.js +0 -79
  180. package/build/dex/trader-joe-v2.1.js.map +0 -1
  181. package/build/executor/compressor/Compressor.d.ts +0 -23
  182. package/build/executor/compressor/Compressor.js +0 -144
  183. package/build/executor/compressor/Compressor.js.map +0 -1
  184. package/build/executor/compressor/compress.d.ts +0 -17
  185. package/build/executor/compressor/compress.js +0 -187
  186. package/build/executor/compressor/compress.js.map +0 -1
  187. package/build/executor/compressor/compress_functions/addressSubstitution.d.ts +0 -6
  188. package/build/executor/compressor/compress_functions/addressSubstitution.js +0 -29
  189. package/build/executor/compressor/compress_functions/addressSubstitution.js.map +0 -1
  190. package/build/executor/compressor/compress_functions/addressSubstitutionFromObject.d.ts +0 -10
  191. package/build/executor/compressor/compress_functions/addressSubstitutionFromObject.js +0 -40
  192. package/build/executor/compressor/compress_functions/addressSubstitutionFromObject.js.map +0 -1
  193. package/build/executor/compressor/compress_functions/byteSubstitution.d.ts +0 -11
  194. package/build/executor/compressor/compress_functions/byteSubstitution.js +0 -64
  195. package/build/executor/compressor/compress_functions/byteSubstitution.js.map +0 -1
  196. package/build/executor/compressor/compress_functions/ffSubstitution.d.ts +0 -7
  197. package/build/executor/compressor/compress_functions/ffSubstitution.js +0 -54
  198. package/build/executor/compressor/compress_functions/ffSubstitution.js.map +0 -1
  199. package/build/executor/compressor/compress_functions/findLongestAndSubstitute.d.ts +0 -8
  200. package/build/executor/compressor/compress_functions/findLongestAndSubstitute.js +0 -67
  201. package/build/executor/compressor/compress_functions/findLongestAndSubstitute.js.map +0 -1
  202. package/build/executor/compressor/compress_functions/findLongestAndSubstitute_old.d.ts +0 -8
  203. package/build/executor/compressor/compress_functions/findLongestAndSubstitute_old.js +0 -61
  204. package/build/executor/compressor/compress_functions/findLongestAndSubstitute_old.js.map +0 -1
  205. package/build/executor/compressor/compress_functions/reverseAddressSubstitution.d.ts +0 -6
  206. package/build/executor/compressor/compress_functions/reverseAddressSubstitution.js +0 -37
  207. package/build/executor/compressor/compress_functions/reverseAddressSubstitution.js.map +0 -1
  208. package/build/executor/compressor/compress_functions/searchUnusedBytes.d.ts +0 -9
  209. package/build/executor/compressor/compress_functions/searchUnusedBytes.js +0 -33
  210. package/build/executor/compressor/compress_functions/searchUnusedBytes.js.map +0 -1
  211. package/build/executor/compressor/fetchSaved.d.ts +0 -0
  212. package/build/executor/compressor/fetchSaved.js +0 -17
  213. package/build/executor/compressor/fetchSaved.js.map +0 -1
  214. package/build/executor/compressor/utils/computeCostL2.d.ts +0 -2
  215. package/build/executor/compressor/utils/computeCostL2.js +0 -14
  216. package/build/executor/compressor/utils/computeCostL2.js.map +0 -1
  217. package/build/executor/compressor/utils/findLongestDuplicatedString.d.ts +0 -2
  218. package/build/executor/compressor/utils/findLongestDuplicatedString.js +0 -30
  219. package/build/executor/compressor/utils/findLongestDuplicatedString.js.map +0 -1
  220. package/build/executor/compressor/utils/getAllIndexes.d.ts +0 -2
  221. package/build/executor/compressor/utils/getAllIndexes.js +0 -12
  222. package/build/executor/compressor/utils/getAllIndexes.js.map +0 -1
  223. package/build/executor/compressor/utils/getByteForAddress.d.ts +0 -2
  224. package/build/executor/compressor/utils/getByteForAddress.js +0 -14
  225. package/build/executor/compressor/utils/getByteForAddress.js.map +0 -1
  226. package/build/executor/compressor/utils/intTo2Bytes.d.ts +0 -2
  227. package/build/executor/compressor/utils/intTo2Bytes.js +0 -14
  228. package/build/executor/compressor/utils/intTo2Bytes.js.map +0 -1
  229. package/build/executor/compressor/utils/intTo3Bytes.d.ts +0 -2
  230. package/build/executor/compressor/utils/intTo3Bytes.js +0 -18
  231. package/build/executor/compressor/utils/intTo3Bytes.js.map +0 -1
  232. package/build/executor/compressor/utils/intToByte.d.ts +0 -2
  233. package/build/executor/compressor/utils/intToByte.js +0 -10
  234. package/build/executor/compressor/utils/intToByte.js.map +0 -1
@@ -5,742 +5,485 @@
5
5
  "type": "constructor"
6
6
  },
7
7
  {
8
- "anonymous": false,
9
8
  "inputs": [
10
9
  {
11
- "indexed": true,
12
10
  "internalType": "address",
13
- "name": "owner",
11
+ "name": "target",
14
12
  "type": "address"
15
- },
16
- {
17
- "indexed": true,
18
- "internalType": "address",
19
- "name": "spender",
20
- "type": "address"
21
- },
22
- {
23
- "indexed": false,
24
- "internalType": "uint256",
25
- "name": "value",
26
- "type": "uint256"
27
13
  }
28
14
  ],
29
- "name": "Approval",
30
- "type": "event"
15
+ "name": "AddressEmptyCode",
16
+ "type": "error"
31
17
  },
32
18
  {
33
- "anonymous": false,
34
19
  "inputs": [
35
20
  {
36
- "indexed": true,
37
- "internalType": "address",
38
- "name": "sender",
39
- "type": "address"
40
- },
41
- {
42
- "indexed": false,
43
- "internalType": "uint256",
44
- "name": "amount0Out",
45
- "type": "uint256"
46
- },
47
- {
48
- "indexed": false,
49
- "internalType": "uint256",
50
- "name": "amount1Out",
51
- "type": "uint256"
52
- },
53
- {
54
- "indexed": false,
55
- "internalType": "uint256",
56
- "name": "liquidityIn",
57
- "type": "uint256"
58
- },
59
- {
60
- "indexed": true,
61
21
  "internalType": "address",
62
- "name": "to",
22
+ "name": "account",
63
23
  "type": "address"
64
24
  }
65
25
  ],
66
- "name": "Burn",
67
- "type": "event"
26
+ "name": "AddressInsufficientBalance",
27
+ "type": "error"
68
28
  },
69
29
  {
70
- "anonymous": false,
71
- "inputs": [
72
- {
73
- "indexed": true,
74
- "internalType": "address",
75
- "name": "sender",
76
- "type": "address"
77
- },
78
- {
79
- "indexed": false,
80
- "internalType": "uint256",
81
- "name": "amount0In",
82
- "type": "uint256"
83
- },
84
- {
85
- "indexed": false,
86
- "internalType": "uint256",
87
- "name": "amount1In",
88
- "type": "uint256"
89
- },
90
- {
91
- "indexed": false,
92
- "internalType": "uint256",
93
- "name": "liquidityOut",
94
- "type": "uint256"
95
- },
96
- {
97
- "indexed": true,
98
- "internalType": "address",
99
- "name": "to",
100
- "type": "address"
101
- }
102
- ],
103
- "name": "Mint",
104
- "type": "event"
30
+ "inputs": [],
31
+ "name": "AmountIsZero",
32
+ "type": "error"
105
33
  },
106
34
  {
107
- "anonymous": false,
108
- "inputs": [
109
- {
110
- "indexed": false,
111
- "internalType": "uint256",
112
- "name": "fee",
113
- "type": "uint256"
114
- }
115
- ],
116
- "name": "SetBurnFee",
117
- "type": "event"
35
+ "inputs": [],
36
+ "name": "BeginInPast",
37
+ "type": "error"
118
38
  },
119
39
  {
120
- "anonymous": false,
121
- "inputs": [
122
- {
123
- "indexed": false,
124
- "internalType": "uint256",
125
- "name": "fee",
126
- "type": "uint256"
127
- }
128
- ],
129
- "name": "SetMintFee",
130
- "type": "event"
40
+ "inputs": [],
41
+ "name": "Blacklisted",
42
+ "type": "error"
131
43
  },
132
44
  {
133
- "anonymous": false,
134
- "inputs": [
135
- {
136
- "indexed": false,
137
- "internalType": "address",
138
- "name": "account",
139
- "type": "address"
140
- }
141
- ],
142
- "name": "SetOracle",
143
- "type": "event"
45
+ "inputs": [],
46
+ "name": "BondFinished",
47
+ "type": "error"
48
+ },
49
+ {
50
+ "inputs": [],
51
+ "name": "BondNotFinished",
52
+ "type": "error"
53
+ },
54
+ {
55
+ "inputs": [],
56
+ "name": "BondNotStarted",
57
+ "type": "error"
58
+ },
59
+ {
60
+ "inputs": [],
61
+ "name": "ECDSAInvalidSignature",
62
+ "type": "error"
144
63
  },
145
64
  {
146
- "anonymous": false,
147
65
  "inputs": [
148
66
  {
149
- "indexed": false,
150
67
  "internalType": "uint256",
151
- "name": "fee",
68
+ "name": "length",
152
69
  "type": "uint256"
153
70
  }
154
71
  ],
155
- "name": "SetSwapFee",
156
- "type": "event"
72
+ "name": "ECDSAInvalidSignatureLength",
73
+ "type": "error"
157
74
  },
158
75
  {
159
- "anonymous": false,
160
76
  "inputs": [
161
77
  {
162
- "indexed": false,
163
- "internalType": "address",
164
- "name": "trader",
165
- "type": "address"
78
+ "internalType": "bytes32",
79
+ "name": "s",
80
+ "type": "bytes32"
166
81
  }
167
82
  ],
168
- "name": "SetTrader",
169
- "type": "event"
83
+ "name": "ECDSAInvalidSignatureS",
84
+ "type": "error"
170
85
  },
171
86
  {
172
- "anonymous": false,
173
87
  "inputs": [
174
88
  {
175
- "indexed": true,
176
89
  "internalType": "address",
177
- "name": "sender",
90
+ "name": "spender",
178
91
  "type": "address"
179
92
  },
180
93
  {
181
- "indexed": false,
182
- "internalType": "uint256",
183
- "name": "amount0In",
184
- "type": "uint256"
185
- },
186
- {
187
- "indexed": false,
188
- "internalType": "uint256",
189
- "name": "amount1In",
190
- "type": "uint256"
191
- },
192
- {
193
- "indexed": false,
194
94
  "internalType": "uint256",
195
- "name": "amount0Out",
95
+ "name": "allowance",
196
96
  "type": "uint256"
197
97
  },
198
98
  {
199
- "indexed": false,
200
99
  "internalType": "uint256",
201
- "name": "amount1Out",
100
+ "name": "needed",
202
101
  "type": "uint256"
203
- },
204
- {
205
- "indexed": true,
206
- "internalType": "address",
207
- "name": "to",
208
- "type": "address"
209
102
  }
210
103
  ],
211
- "name": "Swap",
212
- "type": "event"
104
+ "name": "ERC20InsufficientAllowance",
105
+ "type": "error"
213
106
  },
214
107
  {
215
- "anonymous": false,
216
108
  "inputs": [
217
109
  {
218
- "indexed": true,
219
- "internalType": "address",
220
- "name": "from",
221
- "type": "address"
222
- },
223
- {
224
- "indexed": true,
225
110
  "internalType": "address",
226
- "name": "to",
111
+ "name": "sender",
227
112
  "type": "address"
228
113
  },
229
114
  {
230
- "indexed": false,
231
115
  "internalType": "uint256",
232
- "name": "value",
116
+ "name": "balance",
233
117
  "type": "uint256"
234
- }
235
- ],
236
- "name": "Transfer",
237
- "type": "event"
238
- },
239
- {
240
- "inputs": [],
241
- "name": "DOMAIN_TYPEHASH",
242
- "outputs": [
243
- {
244
- "internalType": "bytes32",
245
- "name": "",
246
- "type": "bytes32"
247
- }
248
- ],
249
- "stateMutability": "view",
250
- "type": "function"
251
- },
252
- {
253
- "inputs": [],
254
- "name": "MINIMUM_LIQUIDITY",
255
- "outputs": [
118
+ },
256
119
  {
257
120
  "internalType": "uint256",
258
- "name": "",
121
+ "name": "needed",
259
122
  "type": "uint256"
260
123
  }
261
124
  ],
262
- "stateMutability": "view",
263
- "type": "function"
125
+ "name": "ERC20InsufficientBalance",
126
+ "type": "error"
264
127
  },
265
128
  {
266
- "inputs": [],
267
- "name": "PERMIT_TYPEHASH",
268
- "outputs": [
129
+ "inputs": [
269
130
  {
270
- "internalType": "bytes32",
271
- "name": "",
272
- "type": "bytes32"
131
+ "internalType": "address",
132
+ "name": "approver",
133
+ "type": "address"
273
134
  }
274
135
  ],
275
- "stateMutability": "view",
276
- "type": "function"
136
+ "name": "ERC20InvalidApprover",
137
+ "type": "error"
277
138
  },
278
139
  {
279
140
  "inputs": [
280
141
  {
281
142
  "internalType": "address",
282
- "name": "",
283
- "type": "address"
284
- },
285
- {
286
- "internalType": "address",
287
- "name": "",
143
+ "name": "receiver",
288
144
  "type": "address"
289
145
  }
290
146
  ],
291
- "name": "allowance",
292
- "outputs": [
293
- {
294
- "internalType": "uint256",
295
- "name": "",
296
- "type": "uint256"
297
- }
298
- ],
299
- "stateMutability": "view",
300
- "type": "function"
147
+ "name": "ERC20InvalidReceiver",
148
+ "type": "error"
301
149
  },
302
150
  {
303
151
  "inputs": [
304
152
  {
305
153
  "internalType": "address",
306
- "name": "spender",
154
+ "name": "sender",
307
155
  "type": "address"
308
- },
309
- {
310
- "internalType": "uint256",
311
- "name": "value",
312
- "type": "uint256"
313
156
  }
314
157
  ],
315
- "name": "approve",
316
- "outputs": [
317
- {
318
- "internalType": "bool",
319
- "name": "",
320
- "type": "bool"
321
- }
322
- ],
323
- "stateMutability": "nonpayable",
324
- "type": "function"
158
+ "name": "ERC20InvalidSender",
159
+ "type": "error"
325
160
  },
326
161
  {
327
162
  "inputs": [
328
163
  {
329
164
  "internalType": "address",
330
- "name": "",
165
+ "name": "spender",
331
166
  "type": "address"
332
167
  }
333
168
  ],
334
- "name": "balanceOf",
335
- "outputs": [
169
+ "name": "ERC20InvalidSpender",
170
+ "type": "error"
171
+ },
172
+ {
173
+ "inputs": [
336
174
  {
337
175
  "internalType": "uint256",
338
- "name": "",
176
+ "name": "deadline",
339
177
  "type": "uint256"
340
178
  }
341
179
  ],
342
- "stateMutability": "view",
343
- "type": "function"
180
+ "name": "ERC2612ExpiredSignature",
181
+ "type": "error"
344
182
  },
345
183
  {
346
184
  "inputs": [
347
185
  {
348
186
  "internalType": "address",
349
- "name": "to",
187
+ "name": "signer",
350
188
  "type": "address"
351
- }
352
- ],
353
- "name": "burn",
354
- "outputs": [
355
- {
356
- "internalType": "uint256",
357
- "name": "amount0Out",
358
- "type": "uint256"
359
189
  },
360
190
  {
361
- "internalType": "uint256",
362
- "name": "amount1Out",
363
- "type": "uint256"
191
+ "internalType": "address",
192
+ "name": "owner",
193
+ "type": "address"
364
194
  }
365
195
  ],
366
- "stateMutability": "nonpayable",
367
- "type": "function"
196
+ "name": "ERC2612InvalidSigner",
197
+ "type": "error"
368
198
  },
369
199
  {
370
200
  "inputs": [],
371
- "name": "burnFee",
372
- "outputs": [
373
- {
374
- "internalType": "uint256",
375
- "name": "",
376
- "type": "uint256"
377
- }
378
- ],
379
- "stateMutability": "view",
380
- "type": "function"
201
+ "name": "EnforcedPause",
202
+ "type": "error"
381
203
  },
382
204
  {
383
- "inputs": [
384
- {
385
- "internalType": "address",
386
- "name": "to",
387
- "type": "address"
388
- }
389
- ],
390
- "name": "collect",
391
- "outputs": [],
392
- "stateMutability": "nonpayable",
393
- "type": "function"
205
+ "inputs": [],
206
+ "name": "ExpectedPause",
207
+ "type": "error"
394
208
  },
395
209
  {
396
210
  "inputs": [],
397
- "name": "decimals",
398
- "outputs": [
399
- {
400
- "internalType": "uint8",
401
- "name": "",
402
- "type": "uint8"
403
- }
404
- ],
405
- "stateMutability": "view",
406
- "type": "function"
211
+ "name": "FailedInnerCall",
212
+ "type": "error"
407
213
  },
408
214
  {
409
215
  "inputs": [
410
216
  {
411
217
  "internalType": "address",
412
- "name": "spender",
218
+ "name": "account",
413
219
  "type": "address"
414
220
  },
415
221
  {
416
222
  "internalType": "uint256",
417
- "name": "subtractedValue",
223
+ "name": "currentNonce",
418
224
  "type": "uint256"
419
225
  }
420
226
  ],
421
- "name": "decreaseAllowance",
422
- "outputs": [
423
- {
424
- "internalType": "bool",
425
- "name": "",
426
- "type": "bool"
427
- }
428
- ],
429
- "stateMutability": "nonpayable",
430
- "type": "function"
227
+ "name": "InvalidAccountNonce",
228
+ "type": "error"
431
229
  },
432
230
  {
433
231
  "inputs": [],
434
- "name": "factory",
435
- "outputs": [
436
- {
437
- "internalType": "address",
438
- "name": "",
439
- "type": "address"
440
- }
441
- ],
442
- "stateMutability": "view",
443
- "type": "function"
232
+ "name": "InvalidInitialization",
233
+ "type": "error"
234
+ },
235
+ {
236
+ "inputs": [],
237
+ "name": "InvalidName",
238
+ "type": "error"
239
+ },
240
+ {
241
+ "inputs": [],
242
+ "name": "InvalidSymbol",
243
+ "type": "error"
244
+ },
245
+ {
246
+ "inputs": [],
247
+ "name": "NotAuthorized",
248
+ "type": "error"
249
+ },
250
+ {
251
+ "inputs": [],
252
+ "name": "NotInitializing",
253
+ "type": "error"
254
+ },
255
+ {
256
+ "inputs": [],
257
+ "name": "ReentrancyGuardReentrantCall",
258
+ "type": "error"
444
259
  },
445
260
  {
446
261
  "inputs": [
447
262
  {
448
- "internalType": "uint256",
449
- "name": "amount0",
450
- "type": "uint256"
451
- },
452
- {
453
- "internalType": "bytes",
454
- "name": "data",
455
- "type": "bytes"
456
- }
457
- ],
458
- "name": "getDepositAmount0In",
459
- "outputs": [
460
- {
461
- "internalType": "uint256",
462
- "name": "",
463
- "type": "uint256"
263
+ "internalType": "address",
264
+ "name": "token",
265
+ "type": "address"
464
266
  }
465
267
  ],
466
- "stateMutability": "view",
467
- "type": "function"
268
+ "name": "SafeERC20FailedOperation",
269
+ "type": "error"
468
270
  },
469
271
  {
272
+ "anonymous": false,
470
273
  "inputs": [
471
274
  {
472
- "internalType": "uint256",
473
- "name": "amount1",
474
- "type": "uint256"
275
+ "indexed": true,
276
+ "internalType": "address",
277
+ "name": "owner",
278
+ "type": "address"
475
279
  },
476
280
  {
477
- "internalType": "bytes",
478
- "name": "data",
479
- "type": "bytes"
480
- }
481
- ],
482
- "name": "getDepositAmount1In",
483
- "outputs": [
281
+ "indexed": true,
282
+ "internalType": "address",
283
+ "name": "spender",
284
+ "type": "address"
285
+ },
484
286
  {
287
+ "indexed": false,
485
288
  "internalType": "uint256",
486
- "name": "",
289
+ "name": "value",
487
290
  "type": "uint256"
488
291
  }
489
292
  ],
490
- "stateMutability": "view",
491
- "type": "function"
492
- },
493
- {
494
- "inputs": [],
495
- "name": "getDomainSeparator",
496
- "outputs": [
497
- {
498
- "internalType": "bytes32",
499
- "name": "",
500
- "type": "bytes32"
501
- }
502
- ],
503
- "stateMutability": "view",
504
- "type": "function"
293
+ "name": "Approval",
294
+ "type": "event"
505
295
  },
506
296
  {
507
- "inputs": [],
508
- "name": "getFees",
509
- "outputs": [
297
+ "anonymous": false,
298
+ "inputs": [
510
299
  {
511
- "internalType": "uint256",
512
- "name": "",
513
- "type": "uint256"
300
+ "indexed": true,
301
+ "internalType": "address",
302
+ "name": "user",
303
+ "type": "address"
514
304
  },
515
305
  {
306
+ "indexed": false,
516
307
  "internalType": "uint256",
517
- "name": "",
308
+ "name": "amount",
518
309
  "type": "uint256"
519
310
  }
520
311
  ],
521
- "stateMutability": "view",
522
- "type": "function"
312
+ "name": "BondUnwrapped",
313
+ "type": "event"
523
314
  },
524
315
  {
316
+ "anonymous": false,
525
317
  "inputs": [],
526
- "name": "getReserves",
527
- "outputs": [
528
- {
529
- "internalType": "uint112",
530
- "name": "",
531
- "type": "uint112"
532
- },
533
- {
534
- "internalType": "uint112",
535
- "name": "",
536
- "type": "uint112"
537
- }
538
- ],
539
- "stateMutability": "view",
540
- "type": "function"
318
+ "name": "EIP712DomainChanged",
319
+ "type": "event"
541
320
  },
542
321
  {
322
+ "anonymous": false,
543
323
  "inputs": [
544
324
  {
545
- "internalType": "uint256",
546
- "name": "amount1Out",
547
- "type": "uint256"
325
+ "indexed": true,
326
+ "internalType": "address",
327
+ "name": "account",
328
+ "type": "address"
548
329
  },
549
330
  {
550
- "internalType": "bytes",
551
- "name": "data",
552
- "type": "bytes"
553
- }
554
- ],
555
- "name": "getSwapAmount0In",
556
- "outputs": [
557
- {
331
+ "indexed": false,
558
332
  "internalType": "uint256",
559
- "name": "swapAmount0In",
333
+ "name": "balance",
560
334
  "type": "uint256"
561
335
  }
562
336
  ],
563
- "stateMutability": "view",
564
- "type": "function"
337
+ "name": "EmergencyWithdraw",
338
+ "type": "event"
565
339
  },
566
340
  {
341
+ "anonymous": false,
567
342
  "inputs": [
568
343
  {
569
- "internalType": "uint256",
570
- "name": "amount1In",
571
- "type": "uint256"
572
- },
573
- {
574
- "internalType": "bytes",
575
- "name": "data",
576
- "type": "bytes"
577
- }
578
- ],
579
- "name": "getSwapAmount0Out",
580
- "outputs": [
581
- {
582
- "internalType": "uint256",
583
- "name": "swapAmount0Out",
584
- "type": "uint256"
344
+ "indexed": false,
345
+ "internalType": "uint64",
346
+ "name": "version",
347
+ "type": "uint64"
585
348
  }
586
349
  ],
587
- "stateMutability": "view",
588
- "type": "function"
350
+ "name": "Initialized",
351
+ "type": "event"
589
352
  },
590
353
  {
354
+ "anonymous": false,
591
355
  "inputs": [
592
356
  {
593
- "internalType": "uint256",
594
- "name": "amount0Out",
595
- "type": "uint256"
596
- },
597
- {
598
- "internalType": "bytes",
599
- "name": "data",
600
- "type": "bytes"
601
- }
602
- ],
603
- "name": "getSwapAmount1In",
604
- "outputs": [
605
- {
606
- "internalType": "uint256",
607
- "name": "swapAmount1In",
608
- "type": "uint256"
357
+ "indexed": false,
358
+ "internalType": "address",
359
+ "name": "account",
360
+ "type": "address"
609
361
  }
610
362
  ],
611
- "stateMutability": "view",
612
- "type": "function"
363
+ "name": "Paused",
364
+ "type": "event"
613
365
  },
614
366
  {
367
+ "anonymous": false,
615
368
  "inputs": [
616
369
  {
617
- "internalType": "uint256",
618
- "name": "amount0In",
619
- "type": "uint256"
370
+ "indexed": true,
371
+ "internalType": "address",
372
+ "name": "from",
373
+ "type": "address"
620
374
  },
621
375
  {
622
- "internalType": "bytes",
623
- "name": "data",
624
- "type": "bytes"
625
- }
626
- ],
627
- "name": "getSwapAmount1Out",
628
- "outputs": [
376
+ "indexed": true,
377
+ "internalType": "address",
378
+ "name": "to",
379
+ "type": "address"
380
+ },
629
381
  {
382
+ "indexed": false,
630
383
  "internalType": "uint256",
631
- "name": "swapAmount1Out",
384
+ "name": "value",
632
385
  "type": "uint256"
633
386
  }
634
387
  ],
635
- "stateMutability": "view",
636
- "type": "function"
388
+ "name": "Transfer",
389
+ "type": "event"
637
390
  },
638
391
  {
392
+ "anonymous": false,
639
393
  "inputs": [
640
394
  {
395
+ "indexed": false,
641
396
  "internalType": "address",
642
- "name": "spender",
397
+ "name": "account",
643
398
  "type": "address"
644
- },
645
- {
646
- "internalType": "uint256",
647
- "name": "addedValue",
648
- "type": "uint256"
649
399
  }
650
400
  ],
651
- "name": "increaseAllowance",
401
+ "name": "Unpaused",
402
+ "type": "event"
403
+ },
404
+ {
405
+ "inputs": [],
406
+ "name": "DOMAIN_SEPARATOR",
652
407
  "outputs": [
653
408
  {
654
- "internalType": "bool",
409
+ "internalType": "bytes32",
655
410
  "name": "",
656
- "type": "bool"
411
+ "type": "bytes32"
657
412
  }
658
413
  ],
659
- "stateMutability": "nonpayable",
414
+ "stateMutability": "view",
660
415
  "type": "function"
661
416
  },
662
417
  {
663
- "inputs": [
664
- {
665
- "internalType": "address",
666
- "name": "_token0",
667
- "type": "address"
668
- },
669
- {
670
- "internalType": "address",
671
- "name": "_token1",
672
- "type": "address"
673
- },
674
- {
675
- "internalType": "address",
676
- "name": "_oracle",
677
- "type": "address"
678
- },
418
+ "inputs": [],
419
+ "name": "Usd0PPStorageV0Location",
420
+ "outputs": [
679
421
  {
680
- "internalType": "address",
681
- "name": "_trader",
682
- "type": "address"
422
+ "internalType": "bytes32",
423
+ "name": "",
424
+ "type": "bytes32"
683
425
  }
684
426
  ],
685
- "name": "initialize",
686
- "outputs": [],
687
- "stateMutability": "nonpayable",
427
+ "stateMutability": "view",
688
428
  "type": "function"
689
429
  },
690
430
  {
691
431
  "inputs": [
692
432
  {
693
433
  "internalType": "address",
694
- "name": "to",
434
+ "name": "owner",
435
+ "type": "address"
436
+ },
437
+ {
438
+ "internalType": "address",
439
+ "name": "spender",
695
440
  "type": "address"
696
441
  }
697
442
  ],
698
- "name": "mint",
443
+ "name": "allowance",
699
444
  "outputs": [
700
445
  {
701
446
  "internalType": "uint256",
702
- "name": "liquidityOut",
447
+ "name": "",
703
448
  "type": "uint256"
704
449
  }
705
450
  ],
706
- "stateMutability": "nonpayable",
451
+ "stateMutability": "view",
707
452
  "type": "function"
708
453
  },
709
454
  {
710
- "inputs": [],
711
- "name": "mintFee",
712
- "outputs": [
455
+ "inputs": [
456
+ {
457
+ "internalType": "address",
458
+ "name": "spender",
459
+ "type": "address"
460
+ },
713
461
  {
714
462
  "internalType": "uint256",
715
- "name": "",
463
+ "name": "value",
716
464
  "type": "uint256"
717
465
  }
718
466
  ],
719
- "stateMutability": "view",
720
- "type": "function"
721
- },
722
- {
723
- "inputs": [],
724
- "name": "name",
467
+ "name": "approve",
725
468
  "outputs": [
726
469
  {
727
- "internalType": "string",
470
+ "internalType": "bool",
728
471
  "name": "",
729
- "type": "string"
472
+ "type": "bool"
730
473
  }
731
474
  ],
732
- "stateMutability": "view",
475
+ "stateMutability": "nonpayable",
733
476
  "type": "function"
734
477
  },
735
478
  {
736
479
  "inputs": [
737
480
  {
738
481
  "internalType": "address",
739
- "name": "",
482
+ "name": "account",
740
483
  "type": "address"
741
484
  }
742
485
  ],
743
- "name": "nonces",
486
+ "name": "balanceOf",
744
487
  "outputs": [
745
488
  {
746
489
  "internalType": "uint256",
@@ -753,108 +496,123 @@
753
496
  },
754
497
  {
755
498
  "inputs": [],
756
- "name": "oracle",
499
+ "name": "decimals",
757
500
  "outputs": [
758
501
  {
759
- "internalType": "address",
502
+ "internalType": "uint8",
760
503
  "name": "",
761
- "type": "address"
504
+ "type": "uint8"
762
505
  }
763
506
  ],
764
507
  "stateMutability": "view",
765
508
  "type": "function"
766
509
  },
767
510
  {
768
- "inputs": [
511
+ "inputs": [],
512
+ "name": "eip712Domain",
513
+ "outputs": [
769
514
  {
770
- "internalType": "address",
771
- "name": "owner",
772
- "type": "address"
515
+ "internalType": "bytes1",
516
+ "name": "fields",
517
+ "type": "bytes1"
773
518
  },
774
519
  {
775
- "internalType": "address",
776
- "name": "spender",
777
- "type": "address"
520
+ "internalType": "string",
521
+ "name": "name",
522
+ "type": "string"
778
523
  },
779
524
  {
780
- "internalType": "uint256",
781
- "name": "value",
782
- "type": "uint256"
525
+ "internalType": "string",
526
+ "name": "version",
527
+ "type": "string"
783
528
  },
784
529
  {
785
530
  "internalType": "uint256",
786
- "name": "deadline",
531
+ "name": "chainId",
787
532
  "type": "uint256"
788
533
  },
789
534
  {
790
- "internalType": "uint8",
791
- "name": "v",
792
- "type": "uint8"
535
+ "internalType": "address",
536
+ "name": "verifyingContract",
537
+ "type": "address"
793
538
  },
794
539
  {
795
540
  "internalType": "bytes32",
796
- "name": "r",
541
+ "name": "salt",
797
542
  "type": "bytes32"
798
543
  },
799
544
  {
800
- "internalType": "bytes32",
801
- "name": "s",
802
- "type": "bytes32"
545
+ "internalType": "uint256[]",
546
+ "name": "extensions",
547
+ "type": "uint256[]"
803
548
  }
804
549
  ],
805
- "name": "permit",
806
- "outputs": [],
807
- "stateMutability": "nonpayable",
550
+ "stateMutability": "view",
808
551
  "type": "function"
809
552
  },
810
553
  {
811
554
  "inputs": [
812
555
  {
813
- "internalType": "uint256",
814
- "name": "fee",
815
- "type": "uint256"
556
+ "internalType": "address",
557
+ "name": "safeAccount",
558
+ "type": "address"
816
559
  }
817
560
  ],
818
- "name": "setBurnFee",
561
+ "name": "emergencyWithdraw",
819
562
  "outputs": [],
820
563
  "stateMutability": "nonpayable",
821
564
  "type": "function"
822
565
  },
823
566
  {
824
- "inputs": [
567
+ "inputs": [],
568
+ "name": "getEndTime",
569
+ "outputs": [
825
570
  {
826
571
  "internalType": "uint256",
827
- "name": "fee",
572
+ "name": "",
828
573
  "type": "uint256"
829
574
  }
830
575
  ],
831
- "name": "setMintFee",
832
- "outputs": [],
833
- "stateMutability": "nonpayable",
576
+ "stateMutability": "view",
834
577
  "type": "function"
835
578
  },
836
579
  {
837
- "inputs": [
580
+ "inputs": [],
581
+ "name": "getStartTime",
582
+ "outputs": [
838
583
  {
839
- "internalType": "address",
840
- "name": "_oracle",
841
- "type": "address"
584
+ "internalType": "uint256",
585
+ "name": "",
586
+ "type": "uint256"
842
587
  }
843
588
  ],
844
- "name": "setOracle",
845
- "outputs": [],
846
- "stateMutability": "nonpayable",
589
+ "stateMutability": "view",
847
590
  "type": "function"
848
591
  },
849
592
  {
850
593
  "inputs": [
594
+ {
595
+ "internalType": "address",
596
+ "name": "registryContract",
597
+ "type": "address"
598
+ },
599
+ {
600
+ "internalType": "string",
601
+ "name": "name_",
602
+ "type": "string"
603
+ },
604
+ {
605
+ "internalType": "string",
606
+ "name": "symbol_",
607
+ "type": "string"
608
+ },
851
609
  {
852
610
  "internalType": "uint256",
853
- "name": "fee",
611
+ "name": "startTime",
854
612
  "type": "uint256"
855
613
  }
856
614
  ],
857
- "name": "setSwapFee",
615
+ "name": "initialize",
858
616
  "outputs": [],
859
617
  "stateMutability": "nonpayable",
860
618
  "type": "function"
@@ -862,12 +620,12 @@
862
620
  {
863
621
  "inputs": [
864
622
  {
865
- "internalType": "address",
866
- "name": "_trader",
867
- "type": "address"
623
+ "internalType": "uint256",
624
+ "name": "amountUsd0",
625
+ "type": "uint256"
868
626
  }
869
627
  ],
870
- "name": "setTrader",
628
+ "name": "mint",
871
629
  "outputs": [],
872
630
  "stateMutability": "nonpayable",
873
631
  "type": "function"
@@ -876,51 +634,62 @@
876
634
  "inputs": [
877
635
  {
878
636
  "internalType": "uint256",
879
- "name": "amount0Out",
637
+ "name": "amountUsd0",
880
638
  "type": "uint256"
881
639
  },
882
640
  {
883
641
  "internalType": "uint256",
884
- "name": "amount1Out",
642
+ "name": "deadline",
885
643
  "type": "uint256"
886
644
  },
887
645
  {
888
- "internalType": "address",
889
- "name": "to",
890
- "type": "address"
646
+ "internalType": "uint8",
647
+ "name": "v",
648
+ "type": "uint8"
891
649
  },
892
650
  {
893
- "internalType": "bytes",
894
- "name": "data",
895
- "type": "bytes"
651
+ "internalType": "bytes32",
652
+ "name": "r",
653
+ "type": "bytes32"
654
+ },
655
+ {
656
+ "internalType": "bytes32",
657
+ "name": "s",
658
+ "type": "bytes32"
896
659
  }
897
660
  ],
898
- "name": "swap",
661
+ "name": "mintWithPermit",
899
662
  "outputs": [],
900
663
  "stateMutability": "nonpayable",
901
664
  "type": "function"
902
665
  },
903
666
  {
904
667
  "inputs": [],
905
- "name": "swapFee",
668
+ "name": "name",
906
669
  "outputs": [
907
670
  {
908
- "internalType": "uint256",
671
+ "internalType": "string",
909
672
  "name": "",
910
- "type": "uint256"
673
+ "type": "string"
911
674
  }
912
675
  ],
913
676
  "stateMutability": "view",
914
677
  "type": "function"
915
678
  },
916
679
  {
917
- "inputs": [],
918
- "name": "symbol",
680
+ "inputs": [
681
+ {
682
+ "internalType": "address",
683
+ "name": "owner",
684
+ "type": "address"
685
+ }
686
+ ],
687
+ "name": "nonces",
919
688
  "outputs": [
920
689
  {
921
- "internalType": "string",
690
+ "internalType": "uint256",
922
691
  "name": "",
923
- "type": "string"
692
+ "type": "uint256"
924
693
  }
925
694
  ],
926
695
  "stateMutability": "view",
@@ -928,32 +697,75 @@
928
697
  },
929
698
  {
930
699
  "inputs": [],
931
- "name": "sync",
700
+ "name": "pause",
932
701
  "outputs": [],
933
702
  "stateMutability": "nonpayable",
934
703
  "type": "function"
935
704
  },
936
705
  {
937
706
  "inputs": [],
938
- "name": "token0",
707
+ "name": "paused",
939
708
  "outputs": [
940
709
  {
941
- "internalType": "address",
710
+ "internalType": "bool",
942
711
  "name": "",
943
- "type": "address"
712
+ "type": "bool"
944
713
  }
945
714
  ],
946
715
  "stateMutability": "view",
947
716
  "type": "function"
948
717
  },
718
+ {
719
+ "inputs": [
720
+ {
721
+ "internalType": "address",
722
+ "name": "owner",
723
+ "type": "address"
724
+ },
725
+ {
726
+ "internalType": "address",
727
+ "name": "spender",
728
+ "type": "address"
729
+ },
730
+ {
731
+ "internalType": "uint256",
732
+ "name": "value",
733
+ "type": "uint256"
734
+ },
735
+ {
736
+ "internalType": "uint256",
737
+ "name": "deadline",
738
+ "type": "uint256"
739
+ },
740
+ {
741
+ "internalType": "uint8",
742
+ "name": "v",
743
+ "type": "uint8"
744
+ },
745
+ {
746
+ "internalType": "bytes32",
747
+ "name": "r",
748
+ "type": "bytes32"
749
+ },
750
+ {
751
+ "internalType": "bytes32",
752
+ "name": "s",
753
+ "type": "bytes32"
754
+ }
755
+ ],
756
+ "name": "permit",
757
+ "outputs": [],
758
+ "stateMutability": "nonpayable",
759
+ "type": "function"
760
+ },
949
761
  {
950
762
  "inputs": [],
951
- "name": "token1",
763
+ "name": "symbol",
952
764
  "outputs": [
953
765
  {
954
- "internalType": "address",
766
+ "internalType": "string",
955
767
  "name": "",
956
- "type": "address"
768
+ "type": "string"
957
769
  }
958
770
  ],
959
771
  "stateMutability": "view",
@@ -961,7 +773,7 @@
961
773
  },
962
774
  {
963
775
  "inputs": [],
964
- "name": "totalSupply",
776
+ "name": "totalBondTimes",
965
777
  "outputs": [
966
778
  {
967
779
  "internalType": "uint256",
@@ -969,17 +781,17 @@
969
781
  "type": "uint256"
970
782
  }
971
783
  ],
972
- "stateMutability": "view",
784
+ "stateMutability": "pure",
973
785
  "type": "function"
974
786
  },
975
787
  {
976
788
  "inputs": [],
977
- "name": "trader",
789
+ "name": "totalSupply",
978
790
  "outputs": [
979
791
  {
980
- "internalType": "address",
792
+ "internalType": "uint256",
981
793
  "name": "",
982
- "type": "address"
794
+ "type": "uint256"
983
795
  }
984
796
  ],
985
797
  "stateMutability": "view",
@@ -989,12 +801,12 @@
989
801
  "inputs": [
990
802
  {
991
803
  "internalType": "address",
992
- "name": "to",
804
+ "name": "recipient",
993
805
  "type": "address"
994
806
  },
995
807
  {
996
808
  "internalType": "uint256",
997
- "name": "value",
809
+ "name": "amount",
998
810
  "type": "uint256"
999
811
  }
1000
812
  ],
@@ -1013,17 +825,17 @@
1013
825
  "inputs": [
1014
826
  {
1015
827
  "internalType": "address",
1016
- "name": "from",
828
+ "name": "sender",
1017
829
  "type": "address"
1018
830
  },
1019
831
  {
1020
832
  "internalType": "address",
1021
- "name": "to",
833
+ "name": "recipient",
1022
834
  "type": "address"
1023
835
  },
1024
836
  {
1025
837
  "internalType": "uint256",
1026
- "name": "value",
838
+ "name": "amount",
1027
839
  "type": "uint256"
1028
840
  }
1029
841
  ],
@@ -1037,5 +849,19 @@
1037
849
  ],
1038
850
  "stateMutability": "nonpayable",
1039
851
  "type": "function"
852
+ },
853
+ {
854
+ "inputs": [],
855
+ "name": "unpause",
856
+ "outputs": [],
857
+ "stateMutability": "nonpayable",
858
+ "type": "function"
859
+ },
860
+ {
861
+ "inputs": [],
862
+ "name": "unwrap",
863
+ "outputs": [],
864
+ "stateMutability": "nonpayable",
865
+ "type": "function"
1040
866
  }
1041
867
  ]