@pendle/core-v2 4.0.1 → 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 (51) 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 +55 -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 +55 -0
  16. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.dbg.json +1 -1
  17. package/build/artifacts/contracts/limit/PendleLimitRouter.sol/PendleLimitRouter.json +57 -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 +14 -0
  37. package/package.json +1 -1
  38. package/typechain-types/IPLimitRouter.ts +39 -0
  39. package/typechain-types/LimitRouterBase.ts +39 -0
  40. package/typechain-types/PendleLimitRouter.ts +39 -0
  41. package/typechain-types/factories/ActionAddRemoveLiqV3__factory.ts +1 -1
  42. package/typechain-types/factories/ActionCallbackV3__factory.ts +1 -1
  43. package/typechain-types/factories/ActionMiscV3__factory.ts +1 -1
  44. package/typechain-types/factories/ActionSwapPTV3__factory.ts +1 -1
  45. package/typechain-types/factories/ActionSwapYTV3__factory.ts +1 -1
  46. package/typechain-types/factories/IPLimitRouter__factory.ts +55 -0
  47. package/typechain-types/factories/LimitBackendHelper__factory.ts +1 -1
  48. package/typechain-types/factories/LimitRouterBase__factory.ts +55 -0
  49. package/typechain-types/factories/PendleLimitRouter__factory.ts +56 -1
  50. package/typechain-types/factories/PendleRouterHelper__factory.ts +1 -1
  51. package/typechain-types/factories/PendleRouterV3__factory.ts +1 -1
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/0fec878e0d29fa8ec1fbf4965de6fd46.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/0fec878e0d29fa8ec1fbf4965de6fd46.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/0fec878e0d29fa8ec1fbf4965de6fd46.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/0fec878e0d29fa8ec1fbf4965de6fd46.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/0fec878e0d29fa8ec1fbf4965de6fd46.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/0fec878e0d29fa8ec1fbf4965de6fd46.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/0fec878e0d29fa8ec1fbf4965de6fd46.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/0fec878e0d29fa8ec1fbf4965de6fd46.json"
3
+ "buildInfo": "../../../build-info/3da455d91939f6b4cfc49995b47642df.json"
4
4
  }
@@ -22,6 +22,61 @@
22
22
  "name": "OrderCanceled",
23
23
  "type": "event"
24
24
  },
25
+ {
26
+ "anonymous": false,
27
+ "inputs": [
28
+ {
29
+ "indexed": true,
30
+ "internalType": "bytes32",
31
+ "name": "orderHash",
32
+ "type": "bytes32"
33
+ },
34
+ {
35
+ "indexed": true,
36
+ "internalType": "enum IPLimitOrderType.OrderType",
37
+ "name": "orderType",
38
+ "type": "uint8"
39
+ },
40
+ {
41
+ "indexed": true,
42
+ "internalType": "address",
43
+ "name": "YT",
44
+ "type": "address"
45
+ },
46
+ {
47
+ "indexed": false,
48
+ "internalType": "address",
49
+ "name": "token",
50
+ "type": "address"
51
+ },
52
+ {
53
+ "indexed": false,
54
+ "internalType": "uint256",
55
+ "name": "netInputFromMaker",
56
+ "type": "uint256"
57
+ },
58
+ {
59
+ "indexed": false,
60
+ "internalType": "uint256",
61
+ "name": "netOutputToMaker",
62
+ "type": "uint256"
63
+ },
64
+ {
65
+ "indexed": false,
66
+ "internalType": "uint256",
67
+ "name": "feeAmount",
68
+ "type": "uint256"
69
+ },
70
+ {
71
+ "indexed": false,
72
+ "internalType": "uint256",
73
+ "name": "notionalVolume",
74
+ "type": "uint256"
75
+ }
76
+ ],
77
+ "name": "OrderFilled",
78
+ "type": "event"
79
+ },
25
80
  {
26
81
  "anonymous": false,
27
82
  "inputs": [
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/0fec878e0d29fa8ec1fbf4965de6fd46.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/0fec878e0d29fa8ec1fbf4965de6fd46.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/0fec878e0d29fa8ec1fbf4965de6fd46.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": "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122067765ae83d5d58a7b51ece5482a26aa6b4e2ac90f02d8f750525734eb097050264736f6c63430008170033",
7
- "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122067765ae83d5d58a7b51ece5482a26aa6b4e2ac90f02d8f750525734eb097050264736f6c63430008170033",
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/0fec878e0d29fa8ec1fbf4965de6fd46.json"
3
+ "buildInfo": "../../../build-info/3da455d91939f6b4cfc49995b47642df.json"
4
4
  }
@@ -66,6 +66,61 @@
66
66
  "name": "OrderCanceled",
67
67
  "type": "event"
68
68
  },
69
+ {
70
+ "anonymous": false,
71
+ "inputs": [
72
+ {
73
+ "indexed": true,
74
+ "internalType": "bytes32",
75
+ "name": "orderHash",
76
+ "type": "bytes32"
77
+ },
78
+ {
79
+ "indexed": true,
80
+ "internalType": "enum IPLimitOrderType.OrderType",
81
+ "name": "orderType",
82
+ "type": "uint8"
83
+ },
84
+ {
85
+ "indexed": true,
86
+ "internalType": "address",
87
+ "name": "YT",
88
+ "type": "address"
89
+ },
90
+ {
91
+ "indexed": false,
92
+ "internalType": "address",
93
+ "name": "token",
94
+ "type": "address"
95
+ },
96
+ {
97
+ "indexed": false,
98
+ "internalType": "uint256",
99
+ "name": "netInputFromMaker",
100
+ "type": "uint256"
101
+ },
102
+ {
103
+ "indexed": false,
104
+ "internalType": "uint256",
105
+ "name": "netOutputToMaker",
106
+ "type": "uint256"
107
+ },
108
+ {
109
+ "indexed": false,
110
+ "internalType": "uint256",
111
+ "name": "feeAmount",
112
+ "type": "uint256"
113
+ },
114
+ {
115
+ "indexed": false,
116
+ "internalType": "uint256",
117
+ "name": "notionalVolume",
118
+ "type": "uint256"
119
+ }
120
+ ],
121
+ "name": "OrderFilled",
122
+ "type": "event"
123
+ },
69
124
  {
70
125
  "anonymous": false,
71
126
  "inputs": [
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "_format": "hh-sol-dbg-1",
3
- "buildInfo": "../../../build-info/7b244f62ccc9fc396bc068fc0adae0a8.json"
3
+ "buildInfo": "../../../build-info/275da512b4d0709643e42f50606acdd0.json"
4
4
  }