@pendle/core-v2 4.0.0 → 4.0.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 (56) hide show
  1. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  2. package/build/artifacts/contracts/interfaces/IPActionCallbackV3.sol/IPActionCallbackV3.dbg.json +1 -1
  3. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  4. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  5. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  6. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  7. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitOrderType.dbg.json +1 -1
  8. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.dbg.json +1 -1
  9. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouter.json +67 -0
  10. package/build/artifacts/contracts/interfaces/IPLimitRouter.sol/IPLimitRouterCallback.dbg.json +1 -1
  11. package/build/artifacts/contracts/interfaces/IPRouterHelper.sol/IPRouterHelper.dbg.json +1 -1
  12. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.dbg.json +1 -1
  13. package/build/artifacts/contracts/limit/LimitMathCore.sol/LimitMathCore.json +2 -2
  14. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.dbg.json +1 -1
  15. package/build/artifacts/contracts/limit/LimitRouterBase.sol/LimitRouterBase.json +67 -0
  16. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
  17. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +69 -2
  18. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelper.sol/LimitBackendHelper.dbg.json +1 -1
  19. package/build/artifacts/contracts/offchain-helpers/LimitBackendHelper.sol/LimitBackendHelper.json +2 -2
  20. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.dbg.json +1 -1
  21. package/build/artifacts/contracts/router/ActionAddRemoveLiqV3.sol/ActionAddRemoveLiqV3.json +2 -2
  22. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.dbg.json +1 -1
  23. package/build/artifacts/contracts/router/ActionCallbackV3.sol/ActionCallbackV3.json +2 -2
  24. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.dbg.json +1 -1
  25. package/build/artifacts/contracts/router/ActionMiscV3.sol/ActionMiscV3.json +2 -2
  26. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.dbg.json +1 -1
  27. package/build/artifacts/contracts/router/ActionSwapPTV3.sol/ActionSwapPTV3.json +2 -2
  28. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.dbg.json +1 -1
  29. package/build/artifacts/contracts/router/ActionSwapYTV3.sol/ActionSwapYTV3.json +2 -2
  30. package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.dbg.json +1 -1
  31. package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.json +2 -2
  32. package/build/artifacts/contracts/router/PendleRouterHelper.sol/RouterV2InterfaceForRouterHelper.dbg.json +1 -1
  33. package/build/artifacts/contracts/router/PendleRouterV3.sol/PendleRouterV3.dbg.json +1 -1
  34. package/build/artifacts/contracts/router/PendleRouterV3.sol/PendleRouterV3.json +2 -2
  35. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  36. package/contracts/interfaces/IPLimitRouter.sol +18 -2
  37. package/contracts/limit/LimitRouterBase.sol +4 -2
  38. package/deployments/merkle-distribution/2023-12-28.json +8225 -0
  39. package/package.json +1 -1
  40. package/typechain-types/IPLimitRouter.ts +56 -0
  41. package/typechain-types/LimitRouterBase.ts +56 -0
  42. package/typechain-types/PendleLimitRouter.ts +56 -0
  43. package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -1
  44. package/typechain-types/factories/ActionCallbackV3__factory.ts +1 -1
  45. package/typechain-types/factories/ActionMiscV3__factory.ts +1 -1
  46. package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
  47. package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
  48. package/typechain-types/factories/IPLimitRouter__factory.ts +67 -0
  49. package/typechain-types/factories/LimitBackendHelper__factory.ts +1 -1
  50. package/typechain-types/factories/LimitRouterBase__factory.ts +67 -0
  51. package/typechain-types/factories/PendleLimitRouter__factory.ts +68 -1
  52. package/typechain-types/factories/PendleRouterHelper__factory.ts +1 -1
  53. package/typechain-types/factories/PendleRouterV3__factory.ts +1 -1
  54. package/deployments/5000-core.json +0 -31
  55. package/deployments/5000-markets/WSTETH-MANTLE-MARCH2024.json +0 -10
  56. package/deployments/5000-offchain-helper.json +0 -4
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/0ecf98e2b42d900c7b99f8ddad842fa1.json"
3
+ "buildInfo": "../../../build-info/3da455d91939f6b4cfc49995b47642df.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/0ecf98e2b42d900c7b99f8ddad842fa1.json"
3
+ "buildInfo": "../../../build-info/3da455d91939f6b4cfc49995b47642df.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/0ecf98e2b42d900c7b99f8ddad842fa1.json"
3
+ "buildInfo": "../../../build-info/3da455d91939f6b4cfc49995b47642df.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/0ecf98e2b42d900c7b99f8ddad842fa1.json"
3
+ "buildInfo": "../../../build-info/3da455d91939f6b4cfc49995b47642df.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/0ecf98e2b42d900c7b99f8ddad842fa1.json"
3
+ "buildInfo": "../../../build-info/3da455d91939f6b4cfc49995b47642df.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/0ecf98e2b42d900c7b99f8ddad842fa1.json"
3
+ "buildInfo": "../../../build-info/3da455d91939f6b4cfc49995b47642df.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/0ecf98e2b42d900c7b99f8ddad842fa1.json"
3
+ "buildInfo": "../../../build-info/3da455d91939f6b4cfc49995b47642df.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/0ecf98e2b42d900c7b99f8ddad842fa1.json"
3
+ "buildInfo": "../../../build-info/3da455d91939f6b4cfc49995b47642df.json"
4
4
  }
@@ -77,6 +77,73 @@
77
77
  "name": "OrderFilled",
78
78
  "type": "event"
79
79
  },
80
+ {
81
+ "anonymous": false,
82
+ "inputs": [
83
+ {
84
+ "indexed": true,
85
+ "internalType": "bytes32",
86
+ "name": "orderHash",
87
+ "type": "bytes32"
88
+ },
89
+ {
90
+ "indexed": true,
91
+ "internalType": "enum IPLimitOrderType.OrderType",
92
+ "name": "orderType",
93
+ "type": "uint8"
94
+ },
95
+ {
96
+ "indexed": true,
97
+ "internalType": "address",
98
+ "name": "YT",
99
+ "type": "address"
100
+ },
101
+ {
102
+ "indexed": false,
103
+ "internalType": "address",
104
+ "name": "token",
105
+ "type": "address"
106
+ },
107
+ {
108
+ "indexed": false,
109
+ "internalType": "uint256",
110
+ "name": "netInputFromMaker",
111
+ "type": "uint256"
112
+ },
113
+ {
114
+ "indexed": false,
115
+ "internalType": "uint256",
116
+ "name": "netOutputToMaker",
117
+ "type": "uint256"
118
+ },
119
+ {
120
+ "indexed": false,
121
+ "internalType": "uint256",
122
+ "name": "feeAmount",
123
+ "type": "uint256"
124
+ },
125
+ {
126
+ "indexed": false,
127
+ "internalType": "uint256",
128
+ "name": "notionalVolume",
129
+ "type": "uint256"
130
+ },
131
+ {
132
+ "indexed": false,
133
+ "internalType": "address",
134
+ "name": "maker",
135
+ "type": "address"
136
+ },
137
+ {
138
+ "indexed": false,
139
+ "internalType": "address",
140
+ "name": "taker",
141
+ "type": "address"
142
+ }
143
+ ],
144
+ "name": "OrderFilledV2",
145
+ "type": "event"
146
+ },
80
147
  {
81
148
  "inputs": [],
82
149
  "name": "DOMAIN_SEPARATOR",
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/0ecf98e2b42d900c7b99f8ddad842fa1.json"
3
+ "buildInfo": "../../../build-info/3da455d91939f6b4cfc49995b47642df.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/0ecf98e2b42d900c7b99f8ddad842fa1.json"
3
+ "buildInfo": "../../../build-info/3da455d91939f6b4cfc49995b47642df.json"
4
4
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/0ecf98e2b42d900c7b99f8ddad842fa1.json"
3
+ "buildInfo": "../../../build-info/3da455d91939f6b4cfc49995b47642df.json"
4
4
  }
@@ -3,8 +3,8 @@
3
3
  "contractName": "LimitMathCore",
4
4
  "sourceName": "contracts/limit/LimitMathCore.sol",
5
5
  "abi": [],
6
- "bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122034feb3d05e87b1c44d421e06a4dd6bbbb491c0b617b4beaa524a02f89bfbdbcc64736f6c63430008170033",
7
- "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122034feb3d05e87b1c44d421e06a4dd6bbbb491c0b617b4beaa524a02f89bfbdbcc64736f6c63430008170033",
6
+ "bytecode": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220d3c08652575215eb2db2091f77c2b253c0def037693d236f8b092f752b12344664736f6c63430008170033",
7
+ "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220d3c08652575215eb2db2091f77c2b253c0def037693d236f8b092f752b12344664736f6c63430008170033",
8
8
  "linkReferences": {},
9
9
  "deployedLinkReferences": {}
10
10
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/957bfe76b92c550d61887d820faf8c13.json"
3
+ "buildInfo": "../../../build-info/3da455d91939f6b4cfc49995b47642df.json"
4
4
  }
@@ -121,6 +121,73 @@
121
121
  "name": "OrderFilled",
122
122
  "type": "event"
123
123
  },
124
+ {
125
+ "anonymous": false,
126
+ "inputs": [
127
+ {
128
+ "indexed": true,
129
+ "internalType": "bytes32",
130
+ "name": "orderHash",
131
+ "type": "bytes32"
132
+ },
133
+ {
134
+ "indexed": true,
135
+ "internalType": "enum IPLimitOrderType.OrderType",
136
+ "name": "orderType",
137
+ "type": "uint8"
138
+ },
139
+ {
140
+ "indexed": true,
141
+ "internalType": "address",
142
+ "name": "YT",
143
+ "type": "address"
144
+ },
145
+ {
146
+ "indexed": false,
147
+ "internalType": "address",
148
+ "name": "token",
149
+ "type": "address"
150
+ },
151
+ {
152
+ "indexed": false,
153
+ "internalType": "uint256",
154
+ "name": "netInputFromMaker",
155
+ "type": "uint256"
156
+ },
157
+ {
158
+ "indexed": false,
159
+ "internalType": "uint256",
160
+ "name": "netOutputToMaker",
161
+ "type": "uint256"
162
+ },
163
+ {
164
+ "indexed": false,
165
+ "internalType": "uint256",
166
+ "name": "feeAmount",
167
+ "type": "uint256"
168
+ },
169
+ {
170
+ "indexed": false,
171
+ "internalType": "uint256",
172
+ "name": "notionalVolume",
173
+ "type": "uint256"
174
+ },
175
+ {
176
+ "indexed": false,
177
+ "internalType": "address",
178
+ "name": "maker",
179
+ "type": "address"
180
+ },
181
+ {
182
+ "indexed": false,
183
+ "internalType": "address",
184
+ "name": "taker",
185
+ "type": "address"
186
+ }
187
+ ],
188
+ "name": "OrderFilledV2",
189
+ "type": "event"
190
+ },
124
191
  {
125
192
  "anonymous": false,
126
193
  "inputs": [
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/957bfe76b92c550d61887d820faf8c13.json"
3
+ "buildInfo": "../../../build-info/275da512b4d0709643e42f50606acdd0.json"
4
4
  }