@pendle/core-v2 5.8.2 → 5.8.3
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/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.json +34 -0
- package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.json +320 -2
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.json +75 -3
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.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/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
- package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
- package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
- package/contracts/interfaces/IPCommonSYFactory.sol +7 -0
- package/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol +55 -0
- package/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol +36 -1
- package/package.json +1 -1
- package/typechain-types/ERC1967Proxy.ts +97 -0
- package/typechain-types/IPCommonSYFactory.ts +49 -0
- package/typechain-types/ITransparentUpgradeableProxy.ts +235 -0
- package/typechain-types/MarketSwapNSeed.ts +222 -0
- package/typechain-types/PendleCommonPoolDeployHelperV2.ts +267 -0
- package/typechain-types/PendleCommonSYFactory.ts +96 -0
- package/typechain-types/TransparentUpgradeableProxy.ts +97 -0
- package/typechain-types/factories/ERC1967Proxy__factory.ts +145 -0
- package/typechain-types/factories/IPCommonSYFactory__factory.ts +34 -0
- package/typechain-types/factories/ITransparentUpgradeableProxy__factory.ts +145 -0
- package/typechain-types/factories/MarketSwapNSeed__factory.ts +287 -0
- package/typechain-types/factories/PendleCommonPoolDeployHelperV2__factory.ts +319 -1
- package/typechain-types/factories/PendleCommonSYFactory__factory.ts +81 -4
- package/typechain-types/factories/TransparentUpgradeableProxy__factory.ts +160 -0
- package/typechain-types/hardhat.d.ts +45 -0
- package/typechain-types/index.ts +10 -0
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import {
|
|
5
|
+
Signer,
|
|
6
|
+
utils,
|
|
7
|
+
Contract,
|
|
8
|
+
ContractFactory,
|
|
9
|
+
PayableOverrides,
|
|
10
|
+
BytesLike,
|
|
11
|
+
} from "ethers";
|
|
12
|
+
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
13
|
+
import type {
|
|
14
|
+
TransparentUpgradeableProxy,
|
|
15
|
+
TransparentUpgradeableProxyInterface,
|
|
16
|
+
} from "../TransparentUpgradeableProxy";
|
|
17
|
+
|
|
18
|
+
const _abi = [
|
|
19
|
+
{
|
|
20
|
+
inputs: [
|
|
21
|
+
{
|
|
22
|
+
internalType: "address",
|
|
23
|
+
name: "_logic",
|
|
24
|
+
type: "address",
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
internalType: "address",
|
|
28
|
+
name: "admin_",
|
|
29
|
+
type: "address",
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
internalType: "bytes",
|
|
33
|
+
name: "_data",
|
|
34
|
+
type: "bytes",
|
|
35
|
+
},
|
|
36
|
+
],
|
|
37
|
+
stateMutability: "payable",
|
|
38
|
+
type: "constructor",
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
anonymous: false,
|
|
42
|
+
inputs: [
|
|
43
|
+
{
|
|
44
|
+
indexed: false,
|
|
45
|
+
internalType: "address",
|
|
46
|
+
name: "previousAdmin",
|
|
47
|
+
type: "address",
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
indexed: false,
|
|
51
|
+
internalType: "address",
|
|
52
|
+
name: "newAdmin",
|
|
53
|
+
type: "address",
|
|
54
|
+
},
|
|
55
|
+
],
|
|
56
|
+
name: "AdminChanged",
|
|
57
|
+
type: "event",
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
anonymous: false,
|
|
61
|
+
inputs: [
|
|
62
|
+
{
|
|
63
|
+
indexed: true,
|
|
64
|
+
internalType: "address",
|
|
65
|
+
name: "beacon",
|
|
66
|
+
type: "address",
|
|
67
|
+
},
|
|
68
|
+
],
|
|
69
|
+
name: "BeaconUpgraded",
|
|
70
|
+
type: "event",
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
anonymous: false,
|
|
74
|
+
inputs: [
|
|
75
|
+
{
|
|
76
|
+
indexed: true,
|
|
77
|
+
internalType: "address",
|
|
78
|
+
name: "implementation",
|
|
79
|
+
type: "address",
|
|
80
|
+
},
|
|
81
|
+
],
|
|
82
|
+
name: "Upgraded",
|
|
83
|
+
type: "event",
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
stateMutability: "payable",
|
|
87
|
+
type: "fallback",
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
stateMutability: "payable",
|
|
91
|
+
type: "receive",
|
|
92
|
+
},
|
|
93
|
+
];
|
|
94
|
+
|
|
95
|
+
const _bytecode =
|
|
96
|
+
"0x608060405260405162000e4b38038062000e4b833981016040819052620000269162000433565b828162000036828260006200004d565b50620000449050826200007f565b50505062000566565b6200005883620000f1565b600082511180620000665750805b156200007a5762000078838362000133565b505b505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f620000c160008051602062000e04833981519152546001600160a01b031690565b604080516001600160a01b03928316815291841660208301520160405180910390a1620000ee8162000162565b50565b620000fc8162000200565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606200015b838360405180606001604052806027815260200162000e246027913962000297565b9392505050565b6001600160a01b038116620001cd5760405162461bcd60e51b815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b8060008051602062000e048339815191525b80546001600160a01b0319166001600160a01b039290921691909117905550565b6200020b8162000316565b6200026f5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401620001c4565b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc620001df565b6060600080856001600160a01b031685604051620002b6919062000513565b600060405180830381855af49150503d8060008114620002f3576040519150601f19603f3d011682016040523d82523d6000602084013e620002f8565b606091505b5090925090506200030c8683838762000325565b9695505050505050565b6001600160a01b03163b151590565b60608315620003995782516000036200039157620003438562000316565b620003915760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401620001c4565b5081620003a5565b620003a58383620003ad565b949350505050565b815115620003be5781518083602001fd5b8060405162461bcd60e51b8152600401620001c4919062000531565b80516001600160a01b0381168114620003f257600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b838110156200042a57818101518382015260200162000410565b50506000910152565b6000806000606084860312156200044957600080fd5b6200045484620003da565b92506200046460208501620003da565b60408501519092506001600160401b03808211156200048257600080fd5b818601915086601f8301126200049757600080fd5b815181811115620004ac57620004ac620003f7565b604051601f8201601f19908116603f01168101908382118183101715620004d757620004d7620003f7565b81604052828152896020848701011115620004f157600080fd5b620005048360208301602088016200040d565b80955050505050509250925092565b60008251620005278184602087016200040d565b9190910192915050565b6020815260008251806020840152620005528160408501602087016200040d565b601f01601f19169190910160400192915050565b61088e80620005766000396000f3fe60806040523661001357610011610017565b005b6100115b61001f610169565b6001600160a01b0316330361015f5760606001600160e01b0319600035166364d3180d60e11b810161005a5761005361018a565b9150610157565b63587086bd60e11b6001600160e01b031982160161007a576100536101e1565b63070d7c6960e41b6001600160e01b031982160161009a57610053610227565b621eb96f60e61b6001600160e01b03198216016100b957610053610258565b63a39f25e560e01b6001600160e01b03198216016100d957610053610298565b60405162461bcd60e51b815260206004820152604260248201527f5472616e73706172656e745570677261646561626c6550726f78793a2061646d60448201527f696e2063616e6e6f742066616c6c6261636b20746f2070726f78792074617267606482015261195d60f21b608482015260a4015b60405180910390fd5b815160208301f35b6101676102ac565b565b60006000805160206107f28339815191525b546001600160a01b0316919050565b60606101946102bc565b60006101a33660048184610646565b8101906101b0919061068c565b90506101cd816040518060200160405280600081525060006102c7565b505060408051602081019091526000815290565b60606000806101f33660048184610646565b81019061020091906106bd565b91509150610210828260016102c7565b604051806020016040528060008152509250505090565b60606102316102bc565b60006102403660048184610646565b81019061024d919061068c565b90506101cd816102f3565b60606102626102bc565b600061026c610169565b604080516001600160a01b03831660208201529192500160405160208183030381529060405291505090565b60606102a26102bc565b600061026c61034a565b6101676102b761034a565b610359565b341561016757600080fd5b6102d08361037d565b6000825111806102dd5750805b156102ee576102ec83836103bd565b505b505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f61031c610169565b604080516001600160a01b03928316815291841660208301520160405180910390a1610347816103e9565b50565b6000610354610480565b905090565b3660008037600080366000845af43d6000803e808015610378573d6000f35b3d6000fd5b61038681610496565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606103e2838360405180606001604052806027815260200161083260279139610516565b9392505050565b6001600160a01b03811661044e5760405162461bcd60e51b815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201526564647265737360d01b606482015260840161014e565b806000805160206107f28339815191525b80546001600160a01b0319166001600160a01b039290921691909117905550565b600060008051602061081283398151915261017b565b61049f8161058e565b6105015760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b606482015260840161014e565b8060008051602061081283398151915261045f565b6060600080856001600160a01b03168560405161053391906107a2565b600060405180830381855af49150503d806000811461056e576040519150601f19603f3d011682016040523d82523d6000602084013e610573565b606091505b50915091506105848683838761059d565b9695505050505050565b6001600160a01b03163b151590565b6060831561060a578251600003610603576105b78561058e565b6106035760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161014e565b5081610614565b610614838361061c565b949350505050565b81511561062c5781518083602001fd5b8060405162461bcd60e51b815260040161014e91906107be565b6000808585111561065657600080fd5b8386111561066357600080fd5b5050820193919092039150565b80356001600160a01b038116811461068757600080fd5b919050565b60006020828403121561069e57600080fd5b6103e282610670565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156106d057600080fd5b6106d983610670565b915060208301356001600160401b03808211156106f557600080fd5b818501915085601f83011261070957600080fd5b81358181111561071b5761071b6106a7565b604051601f8201601f19908116603f01168101908382118183101715610743576107436106a7565b8160405282815288602084870101111561075c57600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b60005b83811015610799578181015183820152602001610781565b50506000910152565b600082516107b481846020870161077e565b9190910192915050565b60208152600082518060208401526107dd81604085016020870161077e565b601f01601f1916919091016040019291505056feb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212209be0e30e344d3a108dfd392f23df9e6c6c828538613d6f2b0f6fb65e2259d9d364736f6c63430008170033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564";
|
|
97
|
+
|
|
98
|
+
type TransparentUpgradeableProxyConstructorParams =
|
|
99
|
+
| [signer?: Signer]
|
|
100
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
101
|
+
|
|
102
|
+
const isSuperArgs = (
|
|
103
|
+
xs: TransparentUpgradeableProxyConstructorParams
|
|
104
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
105
|
+
|
|
106
|
+
export class TransparentUpgradeableProxy__factory extends ContractFactory {
|
|
107
|
+
constructor(...args: TransparentUpgradeableProxyConstructorParams) {
|
|
108
|
+
if (isSuperArgs(args)) {
|
|
109
|
+
super(...args);
|
|
110
|
+
} else {
|
|
111
|
+
super(_abi, _bytecode, args[0]);
|
|
112
|
+
}
|
|
113
|
+
this.contractName = "TransparentUpgradeableProxy";
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
deploy(
|
|
117
|
+
_logic: string,
|
|
118
|
+
admin_: string,
|
|
119
|
+
_data: BytesLike,
|
|
120
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
121
|
+
): Promise<TransparentUpgradeableProxy> {
|
|
122
|
+
return super.deploy(
|
|
123
|
+
_logic,
|
|
124
|
+
admin_,
|
|
125
|
+
_data,
|
|
126
|
+
overrides || {}
|
|
127
|
+
) as Promise<TransparentUpgradeableProxy>;
|
|
128
|
+
}
|
|
129
|
+
getDeployTransaction(
|
|
130
|
+
_logic: string,
|
|
131
|
+
admin_: string,
|
|
132
|
+
_data: BytesLike,
|
|
133
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
134
|
+
): TransactionRequest {
|
|
135
|
+
return super.getDeployTransaction(_logic, admin_, _data, overrides || {});
|
|
136
|
+
}
|
|
137
|
+
attach(address: string): TransparentUpgradeableProxy {
|
|
138
|
+
return super.attach(address) as TransparentUpgradeableProxy;
|
|
139
|
+
}
|
|
140
|
+
connect(signer: Signer): TransparentUpgradeableProxy__factory {
|
|
141
|
+
return super.connect(signer) as TransparentUpgradeableProxy__factory;
|
|
142
|
+
}
|
|
143
|
+
static readonly contractName: "TransparentUpgradeableProxy";
|
|
144
|
+
public readonly contractName: "TransparentUpgradeableProxy";
|
|
145
|
+
static readonly bytecode = _bytecode;
|
|
146
|
+
static readonly abi = _abi;
|
|
147
|
+
static createInterface(): TransparentUpgradeableProxyInterface {
|
|
148
|
+
return new utils.Interface(_abi) as TransparentUpgradeableProxyInterface;
|
|
149
|
+
}
|
|
150
|
+
static connect(
|
|
151
|
+
address: string,
|
|
152
|
+
signerOrProvider: Signer | Provider
|
|
153
|
+
): TransparentUpgradeableProxy {
|
|
154
|
+
return new Contract(
|
|
155
|
+
address,
|
|
156
|
+
_abi,
|
|
157
|
+
signerOrProvider
|
|
158
|
+
) as TransparentUpgradeableProxy;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
@@ -76,6 +76,10 @@ declare module "hardhat/types/runtime" {
|
|
|
76
76
|
name: "IBeacon",
|
|
77
77
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
78
78
|
): Promise<Contracts.IBeacon__factory>;
|
|
79
|
+
getContractFactory(
|
|
80
|
+
name: "ERC1967Proxy",
|
|
81
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
82
|
+
): Promise<Contracts.ERC1967Proxy__factory>;
|
|
79
83
|
getContractFactory(
|
|
80
84
|
name: "ERC1967Upgrade",
|
|
81
85
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -84,6 +88,14 @@ declare module "hardhat/types/runtime" {
|
|
|
84
88
|
name: "Proxy",
|
|
85
89
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
86
90
|
): Promise<Contracts.Proxy__factory>;
|
|
91
|
+
getContractFactory(
|
|
92
|
+
name: "ITransparentUpgradeableProxy",
|
|
93
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
94
|
+
): Promise<Contracts.ITransparentUpgradeableProxy__factory>;
|
|
95
|
+
getContractFactory(
|
|
96
|
+
name: "TransparentUpgradeableProxy",
|
|
97
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
98
|
+
): Promise<Contracts.TransparentUpgradeableProxy__factory>;
|
|
87
99
|
getContractFactory(
|
|
88
100
|
name: "UUPSUpgradeable",
|
|
89
101
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -688,6 +700,10 @@ declare module "hardhat/types/runtime" {
|
|
|
688
700
|
name: "SupplyCapReader",
|
|
689
701
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
690
702
|
): Promise<Contracts.SupplyCapReader__factory>;
|
|
703
|
+
getContractFactory(
|
|
704
|
+
name: "MarketSwapNSeed",
|
|
705
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
706
|
+
): Promise<Contracts.MarketSwapNSeed__factory>;
|
|
691
707
|
getContractFactory(
|
|
692
708
|
name: "PendleBoringOneracle",
|
|
693
709
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -780,6 +796,10 @@ declare module "hardhat/types/runtime" {
|
|
|
780
796
|
name: "IOKXDexRouter",
|
|
781
797
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
782
798
|
): Promise<Contracts.IOKXDexRouter__factory>;
|
|
799
|
+
getContractFactory(
|
|
800
|
+
name: "I1inchAggregationRouterV6",
|
|
801
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
802
|
+
): Promise<Contracts.I1inchAggregationRouterV6__factory>;
|
|
783
803
|
getContractFactory(
|
|
784
804
|
name: "IAugustusV6",
|
|
785
805
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -877,6 +897,11 @@ declare module "hardhat/types/runtime" {
|
|
|
877
897
|
address: string,
|
|
878
898
|
signer?: ethers.Signer
|
|
879
899
|
): Promise<Contracts.IBeacon>;
|
|
900
|
+
getContractAt(
|
|
901
|
+
name: "ERC1967Proxy",
|
|
902
|
+
address: string,
|
|
903
|
+
signer?: ethers.Signer
|
|
904
|
+
): Promise<Contracts.ERC1967Proxy>;
|
|
880
905
|
getContractAt(
|
|
881
906
|
name: "ERC1967Upgrade",
|
|
882
907
|
address: string,
|
|
@@ -887,6 +912,16 @@ declare module "hardhat/types/runtime" {
|
|
|
887
912
|
address: string,
|
|
888
913
|
signer?: ethers.Signer
|
|
889
914
|
): Promise<Contracts.Proxy>;
|
|
915
|
+
getContractAt(
|
|
916
|
+
name: "ITransparentUpgradeableProxy",
|
|
917
|
+
address: string,
|
|
918
|
+
signer?: ethers.Signer
|
|
919
|
+
): Promise<Contracts.ITransparentUpgradeableProxy>;
|
|
920
|
+
getContractAt(
|
|
921
|
+
name: "TransparentUpgradeableProxy",
|
|
922
|
+
address: string,
|
|
923
|
+
signer?: ethers.Signer
|
|
924
|
+
): Promise<Contracts.TransparentUpgradeableProxy>;
|
|
890
925
|
getContractAt(
|
|
891
926
|
name: "UUPSUpgradeable",
|
|
892
927
|
address: string,
|
|
@@ -1642,6 +1677,11 @@ declare module "hardhat/types/runtime" {
|
|
|
1642
1677
|
address: string,
|
|
1643
1678
|
signer?: ethers.Signer
|
|
1644
1679
|
): Promise<Contracts.SupplyCapReader>;
|
|
1680
|
+
getContractAt(
|
|
1681
|
+
name: "MarketSwapNSeed",
|
|
1682
|
+
address: string,
|
|
1683
|
+
signer?: ethers.Signer
|
|
1684
|
+
): Promise<Contracts.MarketSwapNSeed>;
|
|
1645
1685
|
getContractAt(
|
|
1646
1686
|
name: "PendleBoringOneracle",
|
|
1647
1687
|
address: string,
|
|
@@ -1757,6 +1797,11 @@ declare module "hardhat/types/runtime" {
|
|
|
1757
1797
|
address: string,
|
|
1758
1798
|
signer?: ethers.Signer
|
|
1759
1799
|
): Promise<Contracts.IOKXDexRouter>;
|
|
1800
|
+
getContractAt(
|
|
1801
|
+
name: "I1inchAggregationRouterV6",
|
|
1802
|
+
address: string,
|
|
1803
|
+
signer?: ethers.Signer
|
|
1804
|
+
): Promise<Contracts.I1inchAggregationRouterV6>;
|
|
1760
1805
|
getContractAt(
|
|
1761
1806
|
name: "IAugustusV6",
|
|
1762
1807
|
address: string,
|
package/typechain-types/index.ts
CHANGED
|
@@ -17,8 +17,11 @@ export type { IERC1271 } from "./IERC1271";
|
|
|
17
17
|
export type { IERC1967 } from "./IERC1967";
|
|
18
18
|
export type { IERC5267 } from "./IERC5267";
|
|
19
19
|
export type { IBeacon } from "./IBeacon";
|
|
20
|
+
export type { ERC1967Proxy } from "./ERC1967Proxy";
|
|
20
21
|
export type { ERC1967Upgrade } from "./ERC1967Upgrade";
|
|
21
22
|
export type { Proxy } from "./Proxy";
|
|
23
|
+
export type { ITransparentUpgradeableProxy } from "./ITransparentUpgradeableProxy";
|
|
24
|
+
export type { TransparentUpgradeableProxy } from "./TransparentUpgradeableProxy";
|
|
22
25
|
export type { UUPSUpgradeable } from "./UUPSUpgradeable";
|
|
23
26
|
export type { ERC20 } from "./ERC20";
|
|
24
27
|
export type { ERC20Permit } from "./ERC20Permit";
|
|
@@ -170,6 +173,7 @@ export type { PendleRouterStatic } from "./PendleRouterStatic";
|
|
|
170
173
|
export type { SimulateHelper } from "./SimulateHelper";
|
|
171
174
|
export type { IPossibleSupplyCapInterface } from "./IPossibleSupplyCapInterface";
|
|
172
175
|
export type { SupplyCapReader } from "./SupplyCapReader";
|
|
176
|
+
export type { MarketSwapNSeed } from "./MarketSwapNSeed";
|
|
173
177
|
export type { PendleBoringOneracle } from "./PendleBoringOneracle";
|
|
174
178
|
export type { PendleBoringSolvBTCOneracle } from "./PendleBoringSolvBTCOneracle";
|
|
175
179
|
export type { PendleRedStoneRateOracleAdapter } from "./PendleRedStoneRateOracleAdapter";
|
|
@@ -193,6 +197,7 @@ export type { PendleRouterV4 } from "./PendleRouterV4";
|
|
|
193
197
|
export type { Reflector } from "./Reflector";
|
|
194
198
|
export type { IPSwapAggregator } from "./IPSwapAggregator";
|
|
195
199
|
export type { IOKXDexRouter } from "./IOKXDexRouter";
|
|
200
|
+
export type { I1inchAggregationRouterV6 } from "./I1inchAggregationRouterV6";
|
|
196
201
|
export type { IAugustusV6 } from "./IAugustusV6";
|
|
197
202
|
export type { IKyberScalingHelper } from "./IKyberScalingHelper";
|
|
198
203
|
export type { IOdosRouterV2 } from "./IOdosRouterV2";
|
|
@@ -214,8 +219,11 @@ export { IERC1271__factory } from "./factories/IERC1271__factory";
|
|
|
214
219
|
export { IERC1967__factory } from "./factories/IERC1967__factory";
|
|
215
220
|
export { IERC5267__factory } from "./factories/IERC5267__factory";
|
|
216
221
|
export { IBeacon__factory } from "./factories/IBeacon__factory";
|
|
222
|
+
export { ERC1967Proxy__factory } from "./factories/ERC1967Proxy__factory";
|
|
217
223
|
export { ERC1967Upgrade__factory } from "./factories/ERC1967Upgrade__factory";
|
|
218
224
|
export { Proxy__factory } from "./factories/Proxy__factory";
|
|
225
|
+
export { ITransparentUpgradeableProxy__factory } from "./factories/ITransparentUpgradeableProxy__factory";
|
|
226
|
+
export { TransparentUpgradeableProxy__factory } from "./factories/TransparentUpgradeableProxy__factory";
|
|
219
227
|
export { UUPSUpgradeable__factory } from "./factories/UUPSUpgradeable__factory";
|
|
220
228
|
export { ERC20__factory } from "./factories/ERC20__factory";
|
|
221
229
|
export { ERC20Permit__factory } from "./factories/ERC20Permit__factory";
|
|
@@ -367,6 +375,7 @@ export { PendleRouterStatic__factory } from "./factories/PendleRouterStatic__fac
|
|
|
367
375
|
export { SimulateHelper__factory } from "./factories/SimulateHelper__factory";
|
|
368
376
|
export { IPossibleSupplyCapInterface__factory } from "./factories/IPossibleSupplyCapInterface__factory";
|
|
369
377
|
export { SupplyCapReader__factory } from "./factories/SupplyCapReader__factory";
|
|
378
|
+
export { MarketSwapNSeed__factory } from "./factories/MarketSwapNSeed__factory";
|
|
370
379
|
export { PendleBoringOneracle__factory } from "./factories/PendleBoringOneracle__factory";
|
|
371
380
|
export { PendleBoringSolvBTCOneracle__factory } from "./factories/PendleBoringSolvBTCOneracle__factory";
|
|
372
381
|
export { PendleRedStoneRateOracleAdapter__factory } from "./factories/PendleRedStoneRateOracleAdapter__factory";
|
|
@@ -390,6 +399,7 @@ export { PendleRouterV4__factory } from "./factories/PendleRouterV4__factory";
|
|
|
390
399
|
export { Reflector__factory } from "./factories/Reflector__factory";
|
|
391
400
|
export { IPSwapAggregator__factory } from "./factories/IPSwapAggregator__factory";
|
|
392
401
|
export { IOKXDexRouter__factory } from "./factories/IOKXDexRouter__factory";
|
|
402
|
+
export { I1inchAggregationRouterV6__factory } from "./factories/I1inchAggregationRouterV6__factory";
|
|
393
403
|
export { IAugustusV6__factory } from "./factories/IAugustusV6__factory";
|
|
394
404
|
export { IKyberScalingHelper__factory } from "./factories/IKyberScalingHelper__factory";
|
|
395
405
|
export { IOdosRouterV2__factory } from "./factories/IOdosRouterV2__factory";
|