@pendle/core-v2 2.5.1-mainnet → 2.6.0-mainnet
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiq.sol/IPActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMintRedeem.sol/IPActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPT.sol/IPActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYT.sol/IPActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllAction.sol/IPAllAction.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterHelper.sol/IPRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPRouterHelper.sol/IPRouterHelper.json +141 -0
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionAddRemoveLiq.sol/ActionAddRemoveLiq.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionMintRedeem.sol/ActionMintRedeem.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapPT.sol/ActionSwapPT.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionSwapYT.sol/ActionSwapYT.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouter.sol/PendleRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouterHelper.sol/PendleRouterHelper.json +143 -2
- package/build/artifacts/contracts/router/base/ActionBaseCallback.sol/ActionBaseCallback.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionBaseMintRedeem.sol/ActionBaseMintRedeem.dbg.json +1 -1
- package/contracts/interfaces/IPRouterHelper.sol +8 -0
- package/contracts/router/PendleRouterHelper.sol +9 -8
- package/deployments/1-core.json +1 -1
- package/deployments/42161-core.json +1 -1
- package/package.json +1 -1
- package/typechain-types/AggregatorInterface.ts +233 -0
- package/typechain-types/AggregatorV2V3Interface.ts +385 -0
- package/typechain-types/AggregatorV3Interface.ts +221 -0
- package/typechain-types/IPRouterHelper.ts +84 -12
- package/typechain-types/PendlePtAssetOracle.ts +167 -0
- package/typechain-types/PendlePtChainlinkOracle.ts +215 -0
- package/typechain-types/PendlePtSingleAssetOracle.ts +167 -0
- package/typechain-types/PendlePtUSDOracle.ts +215 -0
- package/typechain-types/PendleRouterHelper.ts +84 -12
- package/typechain-types/factories/AggregatorInterface__factory.ts +153 -0
- package/typechain-types/factories/AggregatorV2V3Interface__factory.ts +268 -0
- package/typechain-types/factories/AggregatorV3Interface__factory.ts +141 -0
- package/typechain-types/factories/IPRouterHelper__factory.ts +141 -0
- package/typechain-types/factories/PendlePtAssetOracle__factory.ts +199 -0
- package/typechain-types/factories/PendlePtChainlinkOracle__factory.ts +251 -0
- package/typechain-types/factories/PendlePtSingleAssetOracle__factory.ts +203 -0
- package/typechain-types/factories/PendlePtUSDOracle__factory.ts +247 -0
- package/typechain-types/factories/PendleRouterHelper__factory.ts +142 -1
- package/typechain-types/hardhat.d.ts +45 -0
- package/typechain-types/index.ts +10 -0
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import {
|
|
5
|
+
Signer,
|
|
6
|
+
utils,
|
|
7
|
+
Contract,
|
|
8
|
+
ContractFactory,
|
|
9
|
+
Overrides,
|
|
10
|
+
BigNumberish,
|
|
11
|
+
} from "ethers";
|
|
12
|
+
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
13
|
+
import type {
|
|
14
|
+
PendlePtUSDOracle,
|
|
15
|
+
PendlePtUSDOracleInterface,
|
|
16
|
+
} from "../PendlePtUSDOracle";
|
|
17
|
+
|
|
18
|
+
const _abi = [
|
|
19
|
+
{
|
|
20
|
+
inputs: [
|
|
21
|
+
{
|
|
22
|
+
internalType: "address",
|
|
23
|
+
name: "_market",
|
|
24
|
+
type: "address",
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
internalType: "uint32",
|
|
28
|
+
name: "_twapDuration",
|
|
29
|
+
type: "uint32",
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
internalType: "uint16",
|
|
33
|
+
name: "_numSlotRequired",
|
|
34
|
+
type: "uint16",
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
internalType: "address",
|
|
38
|
+
name: "_feed",
|
|
39
|
+
type: "address",
|
|
40
|
+
},
|
|
41
|
+
],
|
|
42
|
+
stateMutability: "nonpayable",
|
|
43
|
+
type: "constructor",
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
inputs: [],
|
|
47
|
+
name: "PT",
|
|
48
|
+
outputs: [
|
|
49
|
+
{
|
|
50
|
+
internalType: "contract IPPrincipalToken",
|
|
51
|
+
name: "",
|
|
52
|
+
type: "address",
|
|
53
|
+
},
|
|
54
|
+
],
|
|
55
|
+
stateMutability: "view",
|
|
56
|
+
type: "function",
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
inputs: [],
|
|
60
|
+
name: "SY",
|
|
61
|
+
outputs: [
|
|
62
|
+
{
|
|
63
|
+
internalType: "contract IStandardizedYield",
|
|
64
|
+
name: "",
|
|
65
|
+
type: "address",
|
|
66
|
+
},
|
|
67
|
+
],
|
|
68
|
+
stateMutability: "view",
|
|
69
|
+
type: "function",
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
inputs: [],
|
|
73
|
+
name: "asset",
|
|
74
|
+
outputs: [
|
|
75
|
+
{
|
|
76
|
+
internalType: "address",
|
|
77
|
+
name: "",
|
|
78
|
+
type: "address",
|
|
79
|
+
},
|
|
80
|
+
],
|
|
81
|
+
stateMutability: "view",
|
|
82
|
+
type: "function",
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
inputs: [],
|
|
86
|
+
name: "decimals",
|
|
87
|
+
outputs: [
|
|
88
|
+
{
|
|
89
|
+
internalType: "uint8",
|
|
90
|
+
name: "",
|
|
91
|
+
type: "uint8",
|
|
92
|
+
},
|
|
93
|
+
],
|
|
94
|
+
stateMutability: "pure",
|
|
95
|
+
type: "function",
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
inputs: [],
|
|
99
|
+
name: "feed",
|
|
100
|
+
outputs: [
|
|
101
|
+
{
|
|
102
|
+
internalType: "address",
|
|
103
|
+
name: "",
|
|
104
|
+
type: "address",
|
|
105
|
+
},
|
|
106
|
+
],
|
|
107
|
+
stateMutability: "view",
|
|
108
|
+
type: "function",
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
inputs: [],
|
|
112
|
+
name: "feedDecimals",
|
|
113
|
+
outputs: [
|
|
114
|
+
{
|
|
115
|
+
internalType: "uint8",
|
|
116
|
+
name: "",
|
|
117
|
+
type: "uint8",
|
|
118
|
+
},
|
|
119
|
+
],
|
|
120
|
+
stateMutability: "view",
|
|
121
|
+
type: "function",
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
inputs: [],
|
|
125
|
+
name: "getPtPrice",
|
|
126
|
+
outputs: [
|
|
127
|
+
{
|
|
128
|
+
internalType: "uint256",
|
|
129
|
+
name: "",
|
|
130
|
+
type: "uint256",
|
|
131
|
+
},
|
|
132
|
+
],
|
|
133
|
+
stateMutability: "view",
|
|
134
|
+
type: "function",
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
inputs: [],
|
|
138
|
+
name: "getPtRate",
|
|
139
|
+
outputs: [
|
|
140
|
+
{
|
|
141
|
+
internalType: "uint256",
|
|
142
|
+
name: "rate",
|
|
143
|
+
type: "uint256",
|
|
144
|
+
},
|
|
145
|
+
],
|
|
146
|
+
stateMutability: "view",
|
|
147
|
+
type: "function",
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
inputs: [],
|
|
151
|
+
name: "market",
|
|
152
|
+
outputs: [
|
|
153
|
+
{
|
|
154
|
+
internalType: "address",
|
|
155
|
+
name: "",
|
|
156
|
+
type: "address",
|
|
157
|
+
},
|
|
158
|
+
],
|
|
159
|
+
stateMutability: "view",
|
|
160
|
+
type: "function",
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
inputs: [],
|
|
164
|
+
name: "twapDuration",
|
|
165
|
+
outputs: [
|
|
166
|
+
{
|
|
167
|
+
internalType: "uint32",
|
|
168
|
+
name: "",
|
|
169
|
+
type: "uint32",
|
|
170
|
+
},
|
|
171
|
+
],
|
|
172
|
+
stateMutability: "view",
|
|
173
|
+
type: "function",
|
|
174
|
+
},
|
|
175
|
+
];
|
|
176
|
+
|
|
177
|
+
const _bytecode =
|
|
178
|
+
"0x6101606040523480156200001257600080fd5b506040516200121538038062001215833981016040819052620000359162000230565b6001600160a01b03841660a081905263ffffffff8416608052604051631bea2f1d60e11b815261ffff84166004820152859185918591906337d45e3a90602401600060405180830381600087803b1580156200009057600080fd5b505af1158015620000a5573d6000803e3d6000fd5b5050505060a0516001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa158015620000ea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001109190620002a6565b506001600160a01b0390811660c0521660e081905260408051630a40bee560e41b8152905163a40bee50916004808201926060929091908290030181865afa15801562000161573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000187919062000311565b506001600160a01b039081166101005285166101208190526040805163313ce56760e01b8152905191955063313ce56794506004808201945060209350908290030181865afa158015620001df573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000205919062000363565b60ff1661014052506200038892505050565b6001600160a01b03811681146200022d57600080fd5b50565b600080600080608085870312156200024757600080fd5b8451620002548162000217565b602086015190945063ffffffff811681146200026f57600080fd5b604086015190935061ffff811681146200028857600080fd5b60608601519092506200029b8162000217565b939692955090935050565b600080600060608486031215620002bc57600080fd5b8351620002c98162000217565b6020850151909350620002dc8162000217565b6040850151909250620002ef8162000217565b809150509250925092565b805160ff811681146200030c57600080fd5b919050565b6000806000606084860312156200032757600080fd5b8351600281106200033757600080fd5b60208501519093506200034a8162000217565b91506200035a60408501620002fa565b90509250925092565b6000602082840312156200037657600080fd5b6200038182620002fa565b9392505050565b60805160a05160c05160e051610100516101205161014051610dfc62000419600039600081816101c0015281816105a8015281816105d6015261061901526000818160ee01526105220152600061012d01526000610191015260006101e701526000818161016a0152818161020e01526103ae01526000818160980152818161034d015261042c0152610dfc6000f3fe608060405234801561001057600080fd5b506004361061008e5760003560e01c806326d8954514610093578063313ce567146100d457806337a7b7d8146100e957806338d52e0f146101285780635d77d43a1461014f57806380f5560514610165578063afd27bf51461018c578063bc3ff1dc146101b3578063c23953d0146101bb578063d94073d4146101e2575b600080fd5b6100ba7f000000000000000000000000000000000000000000000000000000000000000081565b60405163ffffffff90911681526020015b60405180910390f35b60125b60405160ff90911681526020016100cb565b6101107f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016100cb565b6101107f000000000000000000000000000000000000000000000000000000000000000081565b610157610209565b6040519081526020016100cb565b6101107f000000000000000000000000000000000000000000000000000000000000000081565b6101107f000000000000000000000000000000000000000000000000000000000000000081565b6101576102e9565b6100d77f000000000000000000000000000000000000000000000000000000000000000081565b6101107f000000000000000000000000000000000000000000000000000000000000000081565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663e184c9be6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561026a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061028e9190610a8d565b90504281106102a657670de0b6b3a764000091505090565b60006102b0610326565b905060006102be4284610abc565b905060006102cc83836104ab565b90506102e0670de0b6b3a7640000826104ec565b94505050505090565b6000806102f4610209565b9050600061030061051d565b9050670de0b6b3a76400006103158383610acf565b61031f9190610afc565b9250505090565b604080516002808252606082018352600092839291906020830190803683370190505090507f00000000000000000000000000000000000000000000000000000000000000008160008151811061037f5761037f610b26565b63ffffffff9092166020928302919091019091015260405163883bdbfd60e01b81526000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063883bdbfd906103e3908590600401610b3c565b600060405180830381865afa158015610400573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526104289190810190610ba2565b90507f000000000000000000000000000000000000000000000000000000000000000063ffffffff168160008151811061046457610464610b26565b60200260200101518260018151811061047f5761047f610b26565b60200260200101516104919190610c66565b61049b9190610c8d565b6001600160d81b03169250505090565b6000806104bd6201518061016d610acf565b6104c78486610acf565b6104d19190610afc565b90506104e46104df8261065a565b610674565b949350505050565b600080610501670de0b6b3a764000085610acf565b905082818161051257610512610ae6565b049150505b92915050565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166350d25bcd6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561057e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105a29190610a8d565b905060127f000000000000000000000000000000000000000000000000000000000000000060ff1610610614576105fa60127f0000000000000000000000000000000000000000000000000000000000000000610cb3565b61060590600a610db0565b61060f9082610afc565b610654565b61063f7f00000000000000000000000000000000000000000000000000000000000000006012610cb3565b61064a90600a610db0565b6106549082610acf565b91505090565b60006001600160ff1b0382111561067057600080fd5b5090565b6000680238fd42c5cf03ffff198212158015610699575068070c1cc73b00c800008213155b6106dc5760405162461bcd60e51b815260206004820152601060248201526f125b9d985b1a5908195e1c1bdb995b9d60821b604482015260640160405180910390fd5b6000821215610714576106f182600003610674565b6a0c097ce7bc90715b34b9f160241b8161070d5761070d610ae6565b0592915050565b60006806f05b59d3b2000000831261075257506806f05b59d3b1ffffff199091019072195e54c5dd42177f53a27172fa9ec63026282760241b610788565b6803782dace9d9000000831261078457506803782dace9d8ffffff19909101906b1425982cf597cd205cef7380610788565b5060015b6064929092029168056bc75e2d6310000068ad78ebc5ac6200000084126107d85768ad78ebc5ac61ffffff199093019268056bc75e2d631000006e01855144814a7ff805980ff008400082020590505b6856bc75e2d6310000008412610814576856bc75e2d630ffffff199093019268056bc75e2d631000006b02df0ab5a80a22c61ab5a70082020590505b682b5e3af16b18800000841261084e57682b5e3af16b187fffff199093019268056bc75e2d63100000693f1fce3da636ea5cf85082020590505b6815af1d78b58c4000008412610888576815af1d78b58c3fffff199093019268056bc75e2d63100000690127fa27722cc06cc5e282020590505b680ad78ebc5ac620000084126108c157680ad78ebc5ac61fffff199093019268056bc75e2d6310000068280e60114edb805d0382020590505b68056bc75e2d6310000084126108fa5768056bc75e2d630fffff199093019268056bc75e2d63100000680ebc5fb4174612111082020590505b6802b5e3af16b18800008412610933576802b5e3af16b187ffff199093019268056bc75e2d631000006808f00f760a4b2db55d82020590505b68015af1d78b58c40000841261096c5768015af1d78b58c3ffff199093019268056bc75e2d631000006806f5f177578893793782020590505b68056bc75e2d631000008481019085906002908280020505918201919050600368056bc75e2d631000008783020505918201919050600468056bc75e2d631000008783020505918201919050600568056bc75e2d631000008783020505918201919050600668056bc75e2d631000008783020505918201919050600768056bc75e2d631000008783020505918201919050600868056bc75e2d631000008783020505918201919050600968056bc75e2d631000008783020505918201919050600a68056bc75e2d631000008783020505918201919050600b68056bc75e2d631000008783020505918201919050600c68056bc75e2d631000008783020505918201919050606468056bc75e2d63100000848402058502059695505050505050565b600060208284031215610a9f57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561051757610517610aa6565b808202811582820484141761051757610517610aa6565b634e487b7160e01b600052601260045260246000fd5b600082610b0b57610b0b610ae6565b500490565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6020808252825182820181905260009190848201906040850190845b81811015610b7a57835163ffffffff1683529284019291840191600101610b58565b50909695505050505050565b80516001600160d81b0381168114610b9d57600080fd5b919050565b60006020808385031215610bb557600080fd5b82516001600160401b0380821115610bcc57600080fd5b818501915085601f830112610be057600080fd5b815181811115610bf257610bf2610b10565b8060051b604051601f19603f83011681018181108582111715610c1757610c17610b10565b604052918252848201925083810185019188831115610c3557600080fd5b938501935b82851015610c5a57610c4b85610b86565b84529385019392850192610c3a565b98975050505050505050565b6001600160d81b03828116828216039080821115610c8657610c86610aa6565b5092915050565b60006001600160d81b0383811680610ca757610ca7610ae6565b92169190910492915050565b60ff828116828216039081111561051757610517610aa6565b600181815b80851115610d07578160001904821115610ced57610ced610aa6565b80851615610cfa57918102915b93841c9390800290610cd1565b509250929050565b600082610d1e57506001610517565b81610d2b57506000610517565b8160018114610d415760028114610d4b57610d67565b6001915050610517565b60ff841115610d5c57610d5c610aa6565b50506001821b610517565b5060208310610133831016604e8410600b8410161715610d8a575081810a610517565b610d948383610ccc565b8060001904821115610da857610da8610aa6565b029392505050565b6000610dbf60ff841683610d0f565b939250505056fea2646970667358221220ee2d2412cf0ca56ab4dbbbd4102449ba8ee5bfa984beac442f01ef3964bf9f7e64736f6c63430008110033";
|
|
179
|
+
|
|
180
|
+
type PendlePtUSDOracleConstructorParams =
|
|
181
|
+
| [signer?: Signer]
|
|
182
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
183
|
+
|
|
184
|
+
const isSuperArgs = (
|
|
185
|
+
xs: PendlePtUSDOracleConstructorParams
|
|
186
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
187
|
+
|
|
188
|
+
export class PendlePtUSDOracle__factory extends ContractFactory {
|
|
189
|
+
constructor(...args: PendlePtUSDOracleConstructorParams) {
|
|
190
|
+
if (isSuperArgs(args)) {
|
|
191
|
+
super(...args);
|
|
192
|
+
} else {
|
|
193
|
+
super(_abi, _bytecode, args[0]);
|
|
194
|
+
}
|
|
195
|
+
this.contractName = "PendlePtUSDOracle";
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
deploy(
|
|
199
|
+
_market: string,
|
|
200
|
+
_twapDuration: BigNumberish,
|
|
201
|
+
_numSlotRequired: BigNumberish,
|
|
202
|
+
_feed: string,
|
|
203
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
204
|
+
): Promise<PendlePtUSDOracle> {
|
|
205
|
+
return super.deploy(
|
|
206
|
+
_market,
|
|
207
|
+
_twapDuration,
|
|
208
|
+
_numSlotRequired,
|
|
209
|
+
_feed,
|
|
210
|
+
overrides || {}
|
|
211
|
+
) as Promise<PendlePtUSDOracle>;
|
|
212
|
+
}
|
|
213
|
+
getDeployTransaction(
|
|
214
|
+
_market: string,
|
|
215
|
+
_twapDuration: BigNumberish,
|
|
216
|
+
_numSlotRequired: BigNumberish,
|
|
217
|
+
_feed: string,
|
|
218
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
219
|
+
): TransactionRequest {
|
|
220
|
+
return super.getDeployTransaction(
|
|
221
|
+
_market,
|
|
222
|
+
_twapDuration,
|
|
223
|
+
_numSlotRequired,
|
|
224
|
+
_feed,
|
|
225
|
+
overrides || {}
|
|
226
|
+
);
|
|
227
|
+
}
|
|
228
|
+
attach(address: string): PendlePtUSDOracle {
|
|
229
|
+
return super.attach(address) as PendlePtUSDOracle;
|
|
230
|
+
}
|
|
231
|
+
connect(signer: Signer): PendlePtUSDOracle__factory {
|
|
232
|
+
return super.connect(signer) as PendlePtUSDOracle__factory;
|
|
233
|
+
}
|
|
234
|
+
static readonly contractName: "PendlePtUSDOracle";
|
|
235
|
+
public readonly contractName: "PendlePtUSDOracle";
|
|
236
|
+
static readonly bytecode = _bytecode;
|
|
237
|
+
static readonly abi = _abi;
|
|
238
|
+
static createInterface(): PendlePtUSDOracleInterface {
|
|
239
|
+
return new utils.Interface(_abi) as PendlePtUSDOracleInterface;
|
|
240
|
+
}
|
|
241
|
+
static connect(
|
|
242
|
+
address: string,
|
|
243
|
+
signerOrProvider: Signer | Provider
|
|
244
|
+
): PendlePtUSDOracle {
|
|
245
|
+
return new Contract(address, _abi, signerOrProvider) as PendlePtUSDOracle;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
@@ -401,6 +401,147 @@ const _abi = [
|
|
|
401
401
|
stateMutability: "payable",
|
|
402
402
|
type: "function",
|
|
403
403
|
},
|
|
404
|
+
{
|
|
405
|
+
inputs: [
|
|
406
|
+
{
|
|
407
|
+
components: [
|
|
408
|
+
{
|
|
409
|
+
internalType: "address",
|
|
410
|
+
name: "market",
|
|
411
|
+
type: "address",
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
internalType: "uint256",
|
|
415
|
+
name: "netLpToRemove",
|
|
416
|
+
type: "uint256",
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
internalType: "bool",
|
|
420
|
+
name: "doRedeemRewards",
|
|
421
|
+
type: "bool",
|
|
422
|
+
},
|
|
423
|
+
],
|
|
424
|
+
internalType: "struct IPRouterHelper.RemoveLiquiditySingleSyStruct",
|
|
425
|
+
name: "fromMarket",
|
|
426
|
+
type: "tuple",
|
|
427
|
+
},
|
|
428
|
+
],
|
|
429
|
+
name: "removeLiquiditySingleSy",
|
|
430
|
+
outputs: [
|
|
431
|
+
{
|
|
432
|
+
internalType: "uint256",
|
|
433
|
+
name: "netSyOut",
|
|
434
|
+
type: "uint256",
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
internalType: "uint256",
|
|
438
|
+
name: "netSyFee",
|
|
439
|
+
type: "uint256",
|
|
440
|
+
},
|
|
441
|
+
],
|
|
442
|
+
stateMutability: "nonpayable",
|
|
443
|
+
type: "function",
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
inputs: [
|
|
447
|
+
{
|
|
448
|
+
components: [
|
|
449
|
+
{
|
|
450
|
+
internalType: "address",
|
|
451
|
+
name: "market",
|
|
452
|
+
type: "address",
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
internalType: "uint256",
|
|
456
|
+
name: "netLpToRemove",
|
|
457
|
+
type: "uint256",
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
internalType: "bool",
|
|
461
|
+
name: "doRedeemRewards",
|
|
462
|
+
type: "bool",
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
components: [
|
|
466
|
+
{
|
|
467
|
+
internalType: "address",
|
|
468
|
+
name: "tokenOut",
|
|
469
|
+
type: "address",
|
|
470
|
+
},
|
|
471
|
+
{
|
|
472
|
+
internalType: "uint256",
|
|
473
|
+
name: "minTokenOut",
|
|
474
|
+
type: "uint256",
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
internalType: "address",
|
|
478
|
+
name: "tokenRedeemSy",
|
|
479
|
+
type: "address",
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
internalType: "address",
|
|
483
|
+
name: "bulk",
|
|
484
|
+
type: "address",
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
internalType: "address",
|
|
488
|
+
name: "pendleSwap",
|
|
489
|
+
type: "address",
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
components: [
|
|
493
|
+
{
|
|
494
|
+
internalType: "enum SwapType",
|
|
495
|
+
name: "swapType",
|
|
496
|
+
type: "uint8",
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
internalType: "address",
|
|
500
|
+
name: "extRouter",
|
|
501
|
+
type: "address",
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
internalType: "bytes",
|
|
505
|
+
name: "extCalldata",
|
|
506
|
+
type: "bytes",
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
internalType: "bool",
|
|
510
|
+
name: "needScale",
|
|
511
|
+
type: "bool",
|
|
512
|
+
},
|
|
513
|
+
],
|
|
514
|
+
internalType: "struct SwapData",
|
|
515
|
+
name: "swapData",
|
|
516
|
+
type: "tuple",
|
|
517
|
+
},
|
|
518
|
+
],
|
|
519
|
+
internalType: "struct TokenOutput",
|
|
520
|
+
name: "output",
|
|
521
|
+
type: "tuple",
|
|
522
|
+
},
|
|
523
|
+
],
|
|
524
|
+
internalType: "struct IPRouterHelper.RemoveLiquiditySingleTokenStruct",
|
|
525
|
+
name: "fromMarket",
|
|
526
|
+
type: "tuple",
|
|
527
|
+
},
|
|
528
|
+
],
|
|
529
|
+
name: "removeLiquiditySingleToken",
|
|
530
|
+
outputs: [
|
|
531
|
+
{
|
|
532
|
+
internalType: "uint256",
|
|
533
|
+
name: "netTokenOut",
|
|
534
|
+
type: "uint256",
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
internalType: "uint256",
|
|
538
|
+
name: "netSyFee",
|
|
539
|
+
type: "uint256",
|
|
540
|
+
},
|
|
541
|
+
],
|
|
542
|
+
stateMutability: "nonpayable",
|
|
543
|
+
type: "function",
|
|
544
|
+
},
|
|
404
545
|
{
|
|
405
546
|
inputs: [
|
|
406
547
|
{
|
|
@@ -893,7 +1034,7 @@ const _abi = [
|
|
|
893
1034
|
];
|
|
894
1035
|
|
|
895
1036
|
const _bytecode =
|
|
896
|
-
"0x60c06040523480156200001157600080fd5b5060405162002180380380620021808339810160408190526200003491620000f2565b6001600160a01b0382166080526200004e81600162000063565b6001600160a01b031660a05250620001519050565b604051634a83e9cd60e11b8152600481018290526000906001600160a01b03841690639507d39a90602401602060405180830381865afa158015620000ac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000d2919062000131565b9392505050565b6001600160a01b0381168114620000ef57600080fd5b50565b600080604083850312156200010657600080fd5b82516200011381620000d9565b60208401519092506200012681620000d9565b809150509250929050565b6000602082840312156200014457600080fd5b8151620000d281620000d9565b60805160a051611f9a620001e66000396000818161010c0152818161020a015281816102610152818161062d01526106550152600081816082015281816102a1015281816104230152818161045101528181610680015281816106ae0152818161093001528181610b5a01528181610b8801528181610cc001528181610cee01528181610ea30152610ed10152611f9a6000f3fe6080604052600436106100645760003560e01c806332fe7b261461007057806365debe5f146100ba578063ad5c4648146100fa578063af0b53311461012e578063b558229a14610156578063b8a3339c14610176578063c7f363711461019657600080fd5b3661006b57005b600080fd5b34801561007c57600080fd5b506100a47f000000000000000000000000000000000000000000000000000000000000000081565b6040516100b1919061162d565b60405180910390f35b3480156100c657600080fd5b506100da6100d5366004611659565b6101b6565b6040805194855260208501939093529183015260608201526080016100b1565b34801561010657600080fd5b506100a47f000000000000000000000000000000000000000000000000000000000000000081565b61014161013c3660046116bf565b6101fd565b604080519283526020830191909152016100b1565b34801561016257600080fd5b506100da61017136600461174d565b61036f565b34801561018257600080fd5b506100da61019136600461178f565b61039b565b3480156101a257600080fd5b506100da6101b13660046117ea565b6103d4565b6000806000806101c5866103f2565b90925090506101ef856101db6060890189611816565b6101e9906020810190611836565b8461061a565b909790965091945092509050565b6000806001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166102376020850185611836565b6001600160a01b03161461024a57600080fd5b61025a60003385602001356107cc565b61028a60007f0000000000000000000000000000000000000000000000000000000000000000856020013561083d565b604051636fde40a760e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063dfbc814e906102de908a908a908a908a908a90600401611a00565b60408051808303816000875af11580156102fc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103209190611a3a565b60405191935091506000906001600160a01b038816903390600080516020611f458339815191529061035d90839060208a01359089908990611a5e565b60405180910390a49550959350505050565b60008060008061037e86610903565b909350915061038d8584610ade565b909793965091945090925050565b6000806000806103aa866103f2565b909350915061038d856103c06060890189611816565b6103ce906020810190611836565b85610ca5565b6000806000806103e386610903565b90925090506101ef8583610e27565b6000806104116104056020850185611836565b33308660200135610ff0565b6104476104216020850185611836565b7f0000000000000000000000000000000000000000000000000000000000000000611011565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663690807ad306104846020870187611836565b60208701356104966060890189611816565b6040518563ffffffff1660e01b81526004016104b59493929190611a84565b60408051808303816000875af11580156104d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104f79190611a3a565b909250905061050c6060840160408501611ac1565b156105925761051e6020840184611836565b6001600160a01b0316639262187b336040518263ffffffff1660e01b8152600401610549919061162d565b6000604051808303816000875af1158015610568573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526105909190810190611b24565b505b61059f6060840184611816565b6105ad906020810190611836565b6001600160a01b03166105c36020850185611836565b6001600160a01b0316336001600160a01b03167f3fff08e8137afe866dce7ced13ddc12d684db61b80b0ac5cb9e54961c9dd8a213387602001358760405161060d93929190611bc9565b60405180910390a4915091565b6000806001600160a01b03841661067a577f0000000000000000000000000000000000000000000000000000000000000000935061067a60007f00000000000000000000000000000000000000000000000000000000000000008561083d565b6106a4847f0000000000000000000000000000000000000000000000000000000000000000611011565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663dfbc814e336106e16020890189611836565b886020013589604001356107088a8a8d60600160208101906107039190611836565b6110d5565b6040518663ffffffff1660e01b8152600401610728959493929190611cd4565b60408051808303816000875af1158015610746573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061076a9190611a3a565b90925090506001600160a01b0384166107866020870187611836565b6001600160a01b0316336001600160a01b0316600080516020611f45833981519152338787876040516107bc9493929190611a5e565b60405180910390a4935093915050565b6001600160a01b0383166108225780341461081d5760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b60448201526064015b60405180910390fd5b505050565b801561081d5761081d6001600160a01b038416833084611152565b6001600160a01b0383166108a457816001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b15801561088657600080fd5b505af115801561089a573d6000803e3d6000fd5b5050505050505050565b604051632e1a7d4d60e01b8152600481018290526001600160a01b03841690632e1a7d4d90602401600060405180830381600087803b1580156108e657600080fd5b505af11580156108fa573d6000803e3d6000fd5b50505050505050565b6000806109166104056020850185611836565b6109266104216020850185611836565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663178d29d3306109636020870187611836565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152602086013560448201526000606482015260840160408051808303816000875af11580156109c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e49190611a3a565b90925090506109f96060840160408501611ac1565b15610a7f57610a0b6020840184611836565b6001600160a01b0316639262187b336040518263ffffffff1660e01b8152600401610a36919061162d565b6000604051808303816000875af1158015610a55573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a7d9190810190611b24565b505b33610a8d6020850185611836565b6001600160a01b0316336001600160a01b03167fd31f02c44717b409d13b92ec9d2eaf1427fb4e63f85f4777f1458fb8d938776186602001358660405161060d929190918252602082015260400190565b60008080610aef6020860186611836565b6001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610b2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b509190611d0e565b50509050610b7e817f0000000000000000000000000000000000000000000000000000000000000000611011565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663409c7a8933610bbb6020890189611836565b878960200135610bd38b6060018c604001358c6111ac565b6040518663ffffffff1660e01b8152600401610bf3959493929190611d8b565b60408051808303816000875af1158015610c11573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c359190611a3a565b909350915033610c486020870187611836565b6001600160a01b0316336001600160a01b03167fb51950711c9b21dc7888d41f68a19540231ffb5f0d19d8f75cbccaf90ffa7fa58787604051610c95929190918252602082015260400190565b60405180910390a4509250929050565b600080806001600160a01b038516610cba5750825b610ce4857f0000000000000000000000000000000000000000000000000000000000000000611011565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663015491d18233610d2260208b018b611836565b8a60200135610d398c6060018d604001358c6111ac565b610d528c8c8f6101000160208101906107039190611836565b6040518763ffffffff1660e01b8152600401610d72959493929190611dbf565b604080518083038185885af1158015610d8f573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610db49190611a3a565b90935091506001600160a01b038516610dd06020880188611836565b6001600160a01b0316336001600160a01b03167ff83776e5b667a2b471f92ddfd482749c61b5328b832d375097638c2c08818f3b338888604051610e1693929190611bc9565b60405180910390a450935093915050565b60008080610e386020860186611836565b6001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610e75573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e999190611d0e565b50509050610ec7817f0000000000000000000000000000000000000000000000000000000000000000611011565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663844384aa33610f046020890189611836565b604080516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820188905260208901356064830152880135608482015260a40160408051808303816000875af1158015610f6c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f909190611a3a565b909350915033610fa36020870187611836565b60408051878152602081018790529081018590526001600160a01b03919091169033907fc8437d84f52d1e20cc82487e336feadb2d39ede00af7711b6a58abf39392328f90606001610c95565b801561100b5761100b6001600160a01b038516848484611152565b50505050565b6001600160a01b038216611023575050565b61103560026001600160601b03611e15565b604051636eb1769f60e11b81523060048201526001600160a01b0383811660248301526001600160601b03929092169184169063dd62ed3e90604401602060405180830381865afa15801561108e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110b29190611e3b565b10156110d1576110c4828260006112d0565b6110d182826000196112d0565b5050565b6111286040805160c081018252600080825260208083018290528284018290526060808401839052608080850184905285519081018652838152918201839052938101849052928301529060a082015290565b6001600160a01b0380851660408301819052825260208201849052821660608201525b9392505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261100b9085906113da565b6111de6040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b83604001356000036112505783351580156111fe57506000198460200135145b61123a5760405162461bcd60e51b815260206004820152600d60248201526c696e76616c696420677565737360981b6044820152606401610814565b61124936859003850185611e54565b905061114b565b6040805160a081019091528084611268858835611ec3565b6112729190611eee565b8152602001848487602001356112889190611ec3565b6112929190611eee565b8152602001846112a6856040890135611ec3565b6112b09190611eee565b815260200185606001358152602001856080013581525090509392505050565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663095ea7b360e01b179052915160009283929087169161132c9190611f02565b6000604051808303816000865af19150503d8060008114611369576040519150601f19603f3d011682016040523d82523d6000602084013e61136e565b606091505b50915091508180156113985750805115806113985750808060200190518101906113989190611f14565b6113d35760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b6044820152606401610814565b5050505050565b600061142f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166114ac9092919063ffffffff16565b80519091501561081d578080602001905181019061144d9190611f14565b61081d5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610814565b60606114bb84846000856114c3565b949350505050565b6060824710156115245760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610814565b6001600160a01b0385163b61157b5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610814565b600080866001600160a01b031685876040516115979190611f02565b60006040518083038185875af1925050503d80600081146115d4576040519150601f19603f3d011682016040523d82523d6000602084013e6115d9565b606091505b50915091506115e98282866115f4565b979650505050505050565b6060831561160357508161114b565b8251156116135782518084602001fd5b8160405162461bcd60e51b81526004016108149190611f31565b6001600160a01b0391909116815260200190565b60006080828403121561165357600080fd5b50919050565b60008060a0838503121561166c57600080fd5b82356001600160401b0381111561168257600080fd5b61168e85828601611641565b92505061169e8460208501611641565b90509250929050565b6001600160a01b03811681146116bc57600080fd5b50565b600080600080600060a086880312156116d757600080fd5b85356116e2816116a7565b945060208601356116f2816116a7565b9350604086013592506060860135915060808601356001600160401b0381111561171b57600080fd5b860160c0818903121561172d57600080fd5b809150509295509295909350565b60006060828403121561165357600080fd5b60008082840361016081121561176257600080fd5b61176c858561173b565b9250610100605f198201121561178157600080fd5b506060830190509250929050565b6000808284036101408112156117a457600080fd5b83356001600160401b038111156117ba57600080fd5b6117c686828701611641565b935050610120601f19820112156117dc57600080fd5b506020830190509250929050565b60008060c083850312156117fd57600080fd5b611807848461173b565b915061169e846060850161173b565b6000823560be1983360301811261182c57600080fd5b9190910192915050565b60006020828403121561184857600080fd5b813561114b816116a7565b6004811061187157634e487b7160e01b600052602160045260246000fd5b9052565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b80151581146116bc57600080fd5b80356118b78161189e565b919050565b60008135600481106118cd57600080fd5b6118d78482611853565b5060208201356118e6816116a7565b6001600160a01b03166020840152604082013536839003601e1901811261190c57600080fd5b82016020810190356001600160401b0381111561192857600080fd5b80360382131561193757600080fd5b6080604086015261194c608086018284611875565b91505061195b606084016118ac565b8015156060860152509392505050565b60008135611978816116a7565b6001600160a01b0390811684526020838101359085015260408301359061199e826116a7565b90811660408501526060830135906119b5826116a7565b90811660608501526080830135906119cc826116a7565b16608084015260a082013536839003607e190181126119ea57600080fd5b60c060a08501526114bb60c085018483016118bc565b6001600160a01b03868116825285166020820152604081018490526060810183905260a0608082018190526000906115e99083018461196b565b60008060408385031215611a4d57600080fd5b505080516020909101519092909150565b6001600160a01b0394909416845260208401929092526040830152606082015260800190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611ab79083018461196b565b9695505050505050565b600060208284031215611ad357600080fd5b813561114b8161189e565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715611b1c57611b1c611ade565b604052919050565b60006020808385031215611b3757600080fd5b82516001600160401b0380821115611b4e57600080fd5b818501915085601f830112611b6257600080fd5b815181811115611b7457611b74611ade565b8060051b9150611b85848301611af4565b8181529183018401918481019088841115611b9f57600080fd5b938501935b83851015611bbd57845182529385019390850190611ba4565b98975050505050505050565b6001600160a01b039390931683526020830191909152604082015260600190565b60005b83811015611c05578181015183820152602001611bed565b50506000910152565b60008151808452611c26816020860160208601611bea565b601f01601f19169290920160200192915050565b600060018060a01b038083511684526020830151602085015280604084015116604085015280606084015116606085015280608084015116608085015260a083015160c060a0860152611c9160c086018251611853565b8160208201511660e0860152604081015191506080610100860152611cba610140860183611c0e565b915060608101511515610120860152508091505092915050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a0608082018190526000906115e990830184611c3a565b600080600060608486031215611d2357600080fd5b8351611d2e816116a7565b6020850151909350611d3f816116a7565b6040850151909250611d50816116a7565b809150509250925092565b80518252602081015160208301526040810151604083015260608101516060830152608081015160808301525050565b6001600160a01b0386811682528516602082015260408101849052606081018390526101208101611ab76080830184611d5b565b6001600160a01b03868116825285166020820152604081018490526000610120611dec6060840186611d5b565b80610100840152611bbd81840185611c3a565b634e487b7160e01b600052601260045260246000fd5b60006001600160601b0383811680611e2f57611e2f611dff565b92169190910492915050565b600060208284031215611e4d57600080fd5b5051919050565b600060a08284031215611e6657600080fd5b60405160a081016001600160401b0381118282101715611e8857611e88611ade565b806040525082358152602083013560208201526040830135604082015260608301356060820152608083013560808201528091505092915050565b8082028115828204841417611ee857634e487b7160e01b600052601160045260246000fd5b92915050565b600082611efd57611efd611dff565b500490565b6000825161182c818460208701611bea565b600060208284031215611f2657600080fd5b815161114b8161189e565b60208152600061114b6020830184611c0e56fe43eb84d5f21c53e2b7be07b8fc06cbbb55af094a111c91c7ddc6513fed4d0352a26469706673582212204096af66e7ff17114e3866384451ec0df8d603ba9cb6aae64072c97c536f892664736f6c63430008110033";
|
|
1037
|
+
"0x60c06040523480156200001157600080fd5b50604051620024c0380380620024c08339810160408190526200003491620002e8565b6001600160a01b0382166080526200004e81600162000073565b6001600160a01b031660a08190526080516200006b9190620000e9565b5050620003eb565b604051634a83e9cd60e11b8152600481018290526000906001600160a01b03841690639507d39a90602401602060405180830381865afa158015620000bc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000e2919062000327565b9392505050565b6001600160a01b038216620000fc575050565b6200011060026001600160601b0362000347565b604051636eb1769f60e11b81523060048201526001600160a01b0383811660248301526001600160601b03929092169184169063dd62ed3e90604401602060405180830381865afa1580156200016a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200019091906200037c565b1015620001b457620001a582826000620001b8565b620001b48282600019620001b8565b5050565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663095ea7b360e01b179052915160009283929087169162000216919062000396565b6000604051808303816000865af19150503d806000811462000255576040519150601f19603f3d011682016040523d82523d6000602084013e6200025a565b606091505b50915091508180156200028857508051158062000288575080806020019051810190620002889190620003c7565b620002c85760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b604482015260640160405180910390fd5b5050505050565b6001600160a01b0381168114620002e557600080fd5b50565b60008060408385031215620002fc57600080fd5b82516200030981620002cf565b60208401519092506200031c81620002cf565b809150509250929050565b6000602082840312156200033a57600080fd5b8151620000e281620002cf565b60006001600160601b03838116806200037057634e487b7160e01b600052601260045260246000fd5b92169190910492915050565b6000602082840312156200038f57600080fd5b5051919050565b6000825160005b81811015620003b957602081860181015185830152016200039d565b506000920191825250919050565b600060208284031215620003da57600080fd5b81518015158114620000e257600080fd5b60805160a051612040620004806000396000818161012201528181610260015281816102b70152818161085e01526108860152600081816098015281816102f701528181610479015281816104a70152818161068f015281816108b1015281816108df01528181610bb001528181610bde01528181610d1601528181610d4401528181610ef90152610f2701526120406000f3fe60806040526004361061007a5760003560e01c806332fe7b261461008657806365debe5f146100d0578063ad5c464814610110578063af0b533114610144578063b558229a1461016c578063b8a3339c1461018c578063c7f36371146101ac578063d64bccb3146101cc578063dcdcc4c2146101ec57600080fd5b3661008157005b600080fd5b34801561009257600080fd5b506100ba7f000000000000000000000000000000000000000000000000000000000000000081565b6040516100c79190611683565b60405180910390f35b3480156100dc57600080fd5b506100f06100eb3660046116af565b61020c565b6040805194855260208501939093529183015260608201526080016100c7565b34801561011c57600080fd5b506100ba7f000000000000000000000000000000000000000000000000000000000000000081565b610157610152366004611715565b610253565b604080519283526020830191909152016100c7565b34801561017857600080fd5b506100f06101873660046117a3565b6103c5565b34801561019857600080fd5b506100f06101a73660046117e5565b6103f1565b3480156101b857600080fd5b506100f06101c7366004611840565b61042a565b3480156101d857600080fd5b506101576101e736600461186c565b610448565b3480156101f857600080fd5b50610157610207366004611888565b610662565b60008060008061021b86610662565b90925090506102458561023160608901896118bc565b61023f9060208101906118dc565b8461084b565b909790965091945092509050565b6000806001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001661028d60208501856118dc565b6001600160a01b0316146102a057600080fd5b6102b060003385602001356109fd565b6102e060007f00000000000000000000000000000000000000000000000000000000000000008560200135610a6e565b604051636fde40a760e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063dfbc814e90610334908a908a908a908a908a90600401611aa6565b60408051808303816000875af1158015610352573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103769190611ae0565b60405191935091506000906001600160a01b038816903390600080516020611feb833981519152906103b390839060208a01359089908990611b04565b60405180910390a49550959350505050565b6000806000806103d486610448565b90935091506103e38584610b34565b909793965091945090925050565b60008060008061040086610662565b90935091506103e38561041660608901896118bc565b6104249060208101906118dc565b85610cfb565b60008060008061043986610448565b90925090506102458583610e7d565b60008061046761045b60208501856118dc565b33308660200135611046565b61049d61047760208501856118dc565b7f0000000000000000000000000000000000000000000000000000000000000000611067565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663178d29d3306104da60208701876118dc565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152602086013560448201526000606482015260840160408051808303816000875af1158015610537573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061055b9190611ae0565b90925090506105706060840160408501611b2a565b156105f65761058260208401846118dc565b6001600160a01b0316639262187b336040518263ffffffff1660e01b81526004016105ad9190611683565b6000604051808303816000875af11580156105cc573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526105f49190810190611b8d565b505b3361060460208501856118dc565b6001600160a01b0316336001600160a01b03167fd31f02c44717b409d13b92ec9d2eaf1427fb4e63f85f4777f1458fb8d9387761866020013586604051610655929190918252602082015260400190565b60405180910390a4915091565b60008061067561045b60208501856118dc565b61068561047760208501856118dc565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663690807ad306106c260208701876118dc565b60208701356106d460608901896118bc565b6040518563ffffffff1660e01b81526004016106f39493929190611c32565b60408051808303816000875af1158015610711573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107359190611ae0565b909250905061074a6060840160408501611b2a565b156107d05761075c60208401846118dc565b6001600160a01b0316639262187b336040518263ffffffff1660e01b81526004016107879190611683565b6000604051808303816000875af11580156107a6573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526107ce9190810190611b8d565b505b6107dd60608401846118bc565b6107eb9060208101906118dc565b6001600160a01b031661080160208501856118dc565b6001600160a01b0316336001600160a01b03167f3fff08e8137afe866dce7ced13ddc12d684db61b80b0ac5cb9e54961c9dd8a213387602001358760405161065593929190611c6f565b6000806001600160a01b0384166108ab577f000000000000000000000000000000000000000000000000000000000000000093506108ab60007f000000000000000000000000000000000000000000000000000000000000000085610a6e565b6108d5847f0000000000000000000000000000000000000000000000000000000000000000611067565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663dfbc814e3361091260208901896118dc565b886020013589604001356109398a8a8d606001602081019061093491906118dc565b61112b565b6040518663ffffffff1660e01b8152600401610959959493929190611d7a565b60408051808303816000875af1158015610977573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061099b9190611ae0565b90925090506001600160a01b0384166109b760208701876118dc565b6001600160a01b0316336001600160a01b0316600080516020611feb833981519152338787876040516109ed9493929190611b04565b60405180910390a4935093915050565b6001600160a01b038316610a5357803414610a4e5760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b60448201526064015b60405180910390fd5b505050565b8015610a4e57610a4e6001600160a01b0384168330846111a8565b6001600160a01b038316610ad557816001600160a01b031663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b158015610ab757600080fd5b505af1158015610acb573d6000803e3d6000fd5b5050505050505050565b604051632e1a7d4d60e01b8152600481018290526001600160a01b03841690632e1a7d4d90602401600060405180830381600087803b158015610b1757600080fd5b505af1158015610b2b573d6000803e3d6000fd5b50505050505050565b60008080610b4560208601866118dc565b6001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610b82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ba69190611db4565b50509050610bd4817f0000000000000000000000000000000000000000000000000000000000000000611067565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663409c7a8933610c1160208901896118dc565b878960200135610c298b6060018c604001358c611202565b6040518663ffffffff1660e01b8152600401610c49959493929190611e31565b60408051808303816000875af1158015610c67573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c8b9190611ae0565b909350915033610c9e60208701876118dc565b6001600160a01b0316336001600160a01b03167fb51950711c9b21dc7888d41f68a19540231ffb5f0d19d8f75cbccaf90ffa7fa58787604051610ceb929190918252602082015260400190565b60405180910390a4509250929050565b600080806001600160a01b038516610d105750825b610d3a857f0000000000000000000000000000000000000000000000000000000000000000611067565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663015491d18233610d7860208b018b6118dc565b8a60200135610d8f8c6060018d604001358c611202565b610da88c8c8f61010001602081019061093491906118dc565b6040518763ffffffff1660e01b8152600401610dc8959493929190611e65565b604080518083038185885af1158015610de5573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610e0a9190611ae0565b90935091506001600160a01b038516610e2660208801886118dc565b6001600160a01b0316336001600160a01b03167ff83776e5b667a2b471f92ddfd482749c61b5328b832d375097638c2c08818f3b338888604051610e6c93929190611c6f565b60405180910390a450935093915050565b60008080610e8e60208601866118dc565b6001600160a01b0316632c8ce6bc6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610ecb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eef9190611db4565b50509050610f1d817f0000000000000000000000000000000000000000000000000000000000000000611067565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663844384aa33610f5a60208901896118dc565b604080516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301526044820188905260208901356064830152880135608482015260a40160408051808303816000875af1158015610fc2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fe69190611ae0565b909350915033610ff960208701876118dc565b60408051878152602081018790529081018590526001600160a01b03919091169033907fc8437d84f52d1e20cc82487e336feadb2d39ede00af7711b6a58abf39392328f90606001610ceb565b8015611061576110616001600160a01b0385168484846111a8565b50505050565b6001600160a01b038216611079575050565b61108b60026001600160601b03611ebb565b604051636eb1769f60e11b81523060048201526001600160a01b0383811660248301526001600160601b03929092169184169063dd62ed3e90604401602060405180830381865afa1580156110e4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111089190611ee1565b10156111275761111a82826000611326565b6111278282600019611326565b5050565b61117e6040805160c081018252600080825260208083018290528284018290526060808401839052608080850184905285519081018652838152918201839052938101849052928301529060a082015290565b6001600160a01b0380851660408301819052825260208201849052821660608201525b9392505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052611061908590611430565b6112346040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b83604001356000036112a657833515801561125457506000198460200135145b6112905760405162461bcd60e51b815260206004820152600d60248201526c696e76616c696420677565737360981b6044820152606401610a45565b61129f36859003850185611efa565b90506111a1565b6040805160a0810190915280846112be858835611f69565b6112c89190611f94565b8152602001848487602001356112de9190611f69565b6112e89190611f94565b8152602001846112fc856040890135611f69565b6113069190611f94565b815260200185606001358152602001856080013581525090509392505050565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663095ea7b360e01b17905291516000928392908716916113829190611fa8565b6000604051808303816000865af19150503d80600081146113bf576040519150601f19603f3d011682016040523d82523d6000602084013e6113c4565b606091505b50915091508180156113ee5750805115806113ee5750808060200190518101906113ee9190611fba565b6114295760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b6044820152606401610a45565b5050505050565b6000611485826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166115029092919063ffffffff16565b805190915015610a4e57808060200190518101906114a39190611fba565b610a4e5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610a45565b60606115118484600085611519565b949350505050565b60608247101561157a5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610a45565b6001600160a01b0385163b6115d15760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610a45565b600080866001600160a01b031685876040516115ed9190611fa8565b60006040518083038185875af1925050503d806000811461162a576040519150601f19603f3d011682016040523d82523d6000602084013e61162f565b606091505b509150915061163f82828661164a565b979650505050505050565b606083156116595750816111a1565b8251156116695782518084602001fd5b8160405162461bcd60e51b8152600401610a459190611fd7565b6001600160a01b0391909116815260200190565b6000608082840312156116a957600080fd5b50919050565b60008060a083850312156116c257600080fd5b82356001600160401b038111156116d857600080fd5b6116e485828601611697565b9250506116f48460208501611697565b90509250929050565b6001600160a01b038116811461171257600080fd5b50565b600080600080600060a0868803121561172d57600080fd5b8535611738816116fd565b94506020860135611748816116fd565b9350604086013592506060860135915060808601356001600160401b0381111561177157600080fd5b860160c0818903121561178357600080fd5b809150509295509295909350565b6000606082840312156116a957600080fd5b6000808284036101608112156117b857600080fd5b6117c28585611791565b9250610100605f19820112156117d757600080fd5b506060830190509250929050565b6000808284036101408112156117fa57600080fd5b83356001600160401b0381111561181057600080fd5b61181c86828701611697565b935050610120601f198201121561183257600080fd5b506020830190509250929050565b60008060c0838503121561185357600080fd5b61185d8484611791565b91506116f48460608501611791565b60006060828403121561187e57600080fd5b6111a18383611791565b60006020828403121561189a57600080fd5b81356001600160401b038111156118b057600080fd5b61151184828501611697565b6000823560be198336030181126118d257600080fd5b9190910192915050565b6000602082840312156118ee57600080fd5b81356111a1816116fd565b6004811061191757634e487b7160e01b600052602160045260246000fd5b9052565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b801515811461171257600080fd5b803561195d81611944565b919050565b600081356004811061197357600080fd5b61197d84826118f9565b50602082013561198c816116fd565b6001600160a01b03166020840152604082013536839003601e190181126119b257600080fd5b82016020810190356001600160401b038111156119ce57600080fd5b8036038213156119dd57600080fd5b608060408601526119f260808601828461191b565b915050611a0160608401611952565b8015156060860152509392505050565b60008135611a1e816116fd565b6001600160a01b03908116845260208381013590850152604083013590611a44826116fd565b9081166040850152606083013590611a5b826116fd565b9081166060850152608083013590611a72826116fd565b16608084015260a082013536839003607e19018112611a9057600080fd5b60c060a085015261151160c08501848301611962565b6001600160a01b03868116825285166020820152604081018490526060810183905260a06080820181905260009061163f90830184611a11565b60008060408385031215611af357600080fd5b505080516020909101519092909150565b6001600160a01b0394909416845260208401929092526040830152606082015260800190565b600060208284031215611b3c57600080fd5b81356111a181611944565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715611b8557611b85611b47565b604052919050565b60006020808385031215611ba057600080fd5b82516001600160401b0380821115611bb757600080fd5b818501915085601f830112611bcb57600080fd5b815181811115611bdd57611bdd611b47565b8060051b9150611bee848301611b5d565b8181529183018401918481019088841115611c0857600080fd5b938501935b83851015611c2657845182529385019390850190611c0d565b98975050505050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c6590830184611a11565b9695505050505050565b6001600160a01b039390931683526020830191909152604082015260600190565b60005b83811015611cab578181015183820152602001611c93565b50506000910152565b60008151808452611ccc816020860160208601611c90565b601f01601f19169290920160200192915050565b600060018060a01b038083511684526020830151602085015280604084015116604085015280606084015116606085015280608084015116608085015260a083015160c060a0860152611d3760c0860182516118f9565b8160208201511660e0860152604081015191506080610100860152611d60610140860183611cb4565b915060608101511515610120860152508091505092915050565b6001600160a01b03868116825285166020820152604081018490526060810183905260a06080820181905260009061163f90830184611ce0565b600080600060608486031215611dc957600080fd5b8351611dd4816116fd565b6020850151909350611de5816116fd565b6040850151909250611df6816116fd565b809150509250925092565b80518252602081015160208301526040810151604083015260608101516060830152608081015160808301525050565b6001600160a01b0386811682528516602082015260408101849052606081018390526101208101611c656080830184611e01565b6001600160a01b03868116825285166020820152604081018490526000610120611e926060840186611e01565b80610100840152611c2681840185611ce0565b634e487b7160e01b600052601260045260246000fd5b60006001600160601b0383811680611ed557611ed5611ea5565b92169190910492915050565b600060208284031215611ef357600080fd5b5051919050565b600060a08284031215611f0c57600080fd5b60405160a081016001600160401b0381118282101715611f2e57611f2e611b47565b806040525082358152602083013560208201526040830135604082015260608301356060820152608083013560808201528091505092915050565b8082028115828204841417611f8e57634e487b7160e01b600052601160045260246000fd5b92915050565b600082611fa357611fa3611ea5565b500490565b600082516118d2818460208701611c90565b600060208284031215611fcc57600080fd5b81516111a181611944565b6020815260006111a16020830184611cb456fe43eb84d5f21c53e2b7be07b8fc06cbbb55af094a111c91c7ddc6513fed4d0352a264697066735822122052a5d892b8ac9a4926770f745b844f5ff8238a0c9a565373c7e2162248cd898a64736f6c63430008110033";
|
|
897
1038
|
|
|
898
1039
|
type PendleRouterHelperConstructorParams =
|
|
899
1040
|
| [signer?: Signer]
|
|
@@ -12,6 +12,18 @@ import * as Contracts from ".";
|
|
|
12
12
|
|
|
13
13
|
declare module "hardhat/types/runtime" {
|
|
14
14
|
interface HardhatEthersHelpers extends HardhatEthersHelpersBase {
|
|
15
|
+
getContractFactory(
|
|
16
|
+
name: "AggregatorInterface",
|
|
17
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
18
|
+
): Promise<Contracts.AggregatorInterface__factory>;
|
|
19
|
+
getContractFactory(
|
|
20
|
+
name: "AggregatorV2V3Interface",
|
|
21
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
22
|
+
): Promise<Contracts.AggregatorV2V3Interface__factory>;
|
|
23
|
+
getContractFactory(
|
|
24
|
+
name: "AggregatorV3Interface",
|
|
25
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
26
|
+
): Promise<Contracts.AggregatorV3Interface__factory>;
|
|
15
27
|
getContractFactory(
|
|
16
28
|
name: "AccessControlUpgradeable",
|
|
17
29
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -656,6 +668,14 @@ declare module "hardhat/types/runtime" {
|
|
|
656
668
|
name: "Multicall2",
|
|
657
669
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
658
670
|
): Promise<Contracts.Multicall2__factory>;
|
|
671
|
+
getContractFactory(
|
|
672
|
+
name: "PendlePtAssetOracle",
|
|
673
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
674
|
+
): Promise<Contracts.PendlePtAssetOracle__factory>;
|
|
675
|
+
getContractFactory(
|
|
676
|
+
name: "PendlePtUSDOracle",
|
|
677
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
678
|
+
): Promise<Contracts.PendlePtUSDOracle__factory>;
|
|
659
679
|
getContractFactory(
|
|
660
680
|
name: "PendleMulticall",
|
|
661
681
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -773,6 +793,21 @@ declare module "hardhat/types/runtime" {
|
|
|
773
793
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
774
794
|
): Promise<Contracts.PendleSwapEthereum__factory>;
|
|
775
795
|
|
|
796
|
+
getContractAt(
|
|
797
|
+
name: "AggregatorInterface",
|
|
798
|
+
address: string,
|
|
799
|
+
signer?: ethers.Signer
|
|
800
|
+
): Promise<Contracts.AggregatorInterface>;
|
|
801
|
+
getContractAt(
|
|
802
|
+
name: "AggregatorV2V3Interface",
|
|
803
|
+
address: string,
|
|
804
|
+
signer?: ethers.Signer
|
|
805
|
+
): Promise<Contracts.AggregatorV2V3Interface>;
|
|
806
|
+
getContractAt(
|
|
807
|
+
name: "AggregatorV3Interface",
|
|
808
|
+
address: string,
|
|
809
|
+
signer?: ethers.Signer
|
|
810
|
+
): Promise<Contracts.AggregatorV3Interface>;
|
|
776
811
|
getContractAt(
|
|
777
812
|
name: "AccessControlUpgradeable",
|
|
778
813
|
address: string,
|
|
@@ -1578,6 +1613,16 @@ declare module "hardhat/types/runtime" {
|
|
|
1578
1613
|
address: string,
|
|
1579
1614
|
signer?: ethers.Signer
|
|
1580
1615
|
): Promise<Contracts.Multicall2>;
|
|
1616
|
+
getContractAt(
|
|
1617
|
+
name: "PendlePtAssetOracle",
|
|
1618
|
+
address: string,
|
|
1619
|
+
signer?: ethers.Signer
|
|
1620
|
+
): Promise<Contracts.PendlePtAssetOracle>;
|
|
1621
|
+
getContractAt(
|
|
1622
|
+
name: "PendlePtUSDOracle",
|
|
1623
|
+
address: string,
|
|
1624
|
+
signer?: ethers.Signer
|
|
1625
|
+
): Promise<Contracts.PendlePtUSDOracle>;
|
|
1581
1626
|
getContractAt(
|
|
1582
1627
|
name: "PendleMulticall",
|
|
1583
1628
|
address: string,
|
package/typechain-types/index.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
/* Autogenerated file. Do not edit manually. */
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
|
+
export type { AggregatorInterface } from "./AggregatorInterface";
|
|
5
|
+
export type { AggregatorV2V3Interface } from "./AggregatorV2V3Interface";
|
|
6
|
+
export type { AggregatorV3Interface } from "./AggregatorV3Interface";
|
|
4
7
|
export type { AccessControlUpgradeable } from "./AccessControlUpgradeable";
|
|
5
8
|
export type { IAccessControlUpgradeable } from "./IAccessControlUpgradeable";
|
|
6
9
|
export type { Initializable } from "./Initializable";
|
|
@@ -161,6 +164,8 @@ export type { BaseSplitCodeFactoryContract } from "./BaseSplitCodeFactoryContrac
|
|
|
161
164
|
export type { Broadcaster } from "./Broadcaster";
|
|
162
165
|
export type { BulkSellerOffchain } from "./BulkSellerOffchain";
|
|
163
166
|
export type { Multicall2 } from "./Multicall2";
|
|
167
|
+
export type { PendlePtAssetOracle } from "./PendlePtAssetOracle";
|
|
168
|
+
export type { PendlePtUSDOracle } from "./PendlePtUSDOracle";
|
|
164
169
|
export type { PendleMulticall } from "./PendleMulticall";
|
|
165
170
|
export type { ActionInfoStatic } from "./ActionInfoStatic";
|
|
166
171
|
export type { ActionMarketAuxStatic } from "./ActionMarketAuxStatic";
|
|
@@ -188,6 +193,9 @@ export type { IExecutorHelperEthereum1 } from "./IExecutorHelperEthereum1";
|
|
|
188
193
|
export type { PendleSwapArbitrum } from "./PendleSwapArbitrum";
|
|
189
194
|
export type { PendleSwapEthereum } from "./PendleSwapEthereum";
|
|
190
195
|
|
|
196
|
+
export { AggregatorInterface__factory } from "./factories/AggregatorInterface__factory";
|
|
197
|
+
export { AggregatorV2V3Interface__factory } from "./factories/AggregatorV2V3Interface__factory";
|
|
198
|
+
export { AggregatorV3Interface__factory } from "./factories/AggregatorV3Interface__factory";
|
|
191
199
|
export { AccessControlUpgradeable__factory } from "./factories/AccessControlUpgradeable__factory";
|
|
192
200
|
export { IAccessControlUpgradeable__factory } from "./factories/IAccessControlUpgradeable__factory";
|
|
193
201
|
export { Initializable__factory } from "./factories/Initializable__factory";
|
|
@@ -348,6 +356,8 @@ export { BaseSplitCodeFactoryContract__factory } from "./factories/BaseSplitCode
|
|
|
348
356
|
export { Broadcaster__factory } from "./factories/Broadcaster__factory";
|
|
349
357
|
export { BulkSellerOffchain__factory } from "./factories/BulkSellerOffchain__factory";
|
|
350
358
|
export { Multicall2__factory } from "./factories/Multicall2__factory";
|
|
359
|
+
export { PendlePtAssetOracle__factory } from "./factories/PendlePtAssetOracle__factory";
|
|
360
|
+
export { PendlePtUSDOracle__factory } from "./factories/PendlePtUSDOracle__factory";
|
|
351
361
|
export { PendleMulticall__factory } from "./factories/PendleMulticall__factory";
|
|
352
362
|
export { ActionInfoStatic__factory } from "./factories/ActionInfoStatic__factory";
|
|
353
363
|
export { ActionMarketAuxStatic__factory } from "./factories/ActionMarketAuxStatic__factory";
|