@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.
Files changed (72) hide show
  1. package/build/artifacts/contracts/interfaces/IPActionAddRemoveLiqV3.sol/IPActionAddRemoveLiqV3.dbg.json +1 -1
  2. package/build/artifacts/contracts/interfaces/IPActionMarketAuxStatic.sol/IPActionMarketAuxStatic.dbg.json +1 -1
  3. package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
  4. package/build/artifacts/contracts/interfaces/IPActionSimple.sol/IPActionSimple.dbg.json +1 -1
  5. package/build/artifacts/contracts/interfaces/IPActionStorageStatic.sol/IPActionStorageStatic.dbg.json +1 -1
  6. package/build/artifacts/contracts/interfaces/IPActionStorageV4.sol/IPActionStorageV4.dbg.json +1 -1
  7. package/build/artifacts/contracts/interfaces/IPActionSwapPTV3.sol/IPActionSwapPTV3.dbg.json +1 -1
  8. package/build/artifacts/contracts/interfaces/IPActionSwapYTV3.sol/IPActionSwapYTV3.dbg.json +1 -1
  9. package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
  10. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionAddRemoveLiqV3Events.dbg.json +1 -1
  11. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionMiscV3Events.dbg.json +1 -1
  12. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionStorageEvents.dbg.json +1 -1
  13. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapPTV3Events.dbg.json +1 -1
  14. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPActionSwapYTV3Events.dbg.json +1 -1
  15. package/build/artifacts/contracts/interfaces/IPAllEventsV3.sol/IPAllEventsV3.dbg.json +1 -1
  16. package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.dbg.json +1 -1
  17. package/build/artifacts/contracts/interfaces/IPCommonSYFactory.sol/IPCommonSYFactory.json +34 -0
  18. package/build/artifacts/contracts/interfaces/IPRouterStatic.sol/IPRouterStatic.dbg.json +1 -1
  19. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.dbg.json +1 -1
  20. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol/PendleCommonPoolDeployHelperV2.json +320 -2
  21. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.dbg.json +1 -1
  22. package/build/artifacts/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol/PendleCommonSYFactory.json +75 -3
  23. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
  24. package/build/artifacts/contracts/offchain-helpers/deploy/PendlePoolDeployHelperV2.sol/PendlePoolDeployHelperV2.dbg.json +1 -1
  25. package/build/artifacts/contracts/offchain-helpers/router-static/PendleRouterStatic.sol/PendleRouterStatic.dbg.json +1 -1
  26. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionInfoStatic.sol/ActionInfoStatic.dbg.json +1 -1
  27. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
  28. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketCoreStatic.sol/ActionMarketCoreStatic.dbg.json +1 -1
  29. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMintRedeemStatic.sol/ActionMintRedeemStatic.dbg.json +1 -1
  30. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionStorageStatic.sol/ActionStorageStatic.dbg.json +1 -1
  31. package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionVePendleStatic.sol/ActionVePendleStatic.dbg.json +1 -1
  32. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtInLibV1.dbg.json +1 -1
  33. package/build/artifacts/contracts/offchain-helpers/router-static/base/MarketApproxLibV1.sol/MarketApproxPtOutLibV1.dbg.json +1 -1
  34. package/build/artifacts/contracts/offchain-helpers/router-static/base/StorageLayout.sol/StorageLayout.dbg.json +1 -1
  35. package/build/artifacts/contracts/router/ActionStorageV4.sol/ActionStorageV4.dbg.json +1 -1
  36. package/build/artifacts/contracts/router/PendleRouterV4.sol/PendleRouterV4.dbg.json +1 -1
  37. package/build/artifacts/contracts/router/Reflector.sol/Reflector.dbg.json +1 -1
  38. package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
  39. package/build/artifacts/contracts/router/base/ActionDelegateBase.sol/ActionDelegateBase.dbg.json +1 -1
  40. package/build/artifacts/contracts/router/math/ApproxStateLib.sol/ApproxStateLib.dbg.json +1 -1
  41. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtInLibOnchain.dbg.json +1 -1
  42. package/build/artifacts/contracts/router/math/MarketApproxLibOnchain.sol/MarketApproxPtOutLibOnchain.dbg.json +1 -1
  43. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtInLibV2.dbg.json +1 -1
  44. package/build/artifacts/contracts/router/math/MarketApproxLibV2.sol/MarketApproxPtOutLibV2.dbg.json +1 -1
  45. package/build/artifacts/contracts/router/swap-aggregator/IPSwapAggregator.sol/IPSwapAggregator.dbg.json +1 -1
  46. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/IOKXDexRouter.dbg.json +1 -1
  47. package/build/artifacts/contracts/router/swap-aggregator/OKXScaleHelper.sol/OKXScaleHelper.dbg.json +1 -1
  48. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/IAugustusV6.dbg.json +1 -1
  49. package/build/artifacts/contracts/router/swap-aggregator/ParaswapScaleHelper.sol/ParaswapScaleHelper.dbg.json +1 -1
  50. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IKyberScalingHelper.dbg.json +1 -1
  51. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/IOdosRouterV2.dbg.json +1 -1
  52. package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
  53. package/contracts/interfaces/IPCommonSYFactory.sol +7 -0
  54. package/contracts/offchain-helpers/deploy/PendleCommonPoolDeployHelperV2.sol +55 -0
  55. package/contracts/offchain-helpers/deploy/PendleCommonSYFactory.sol +36 -1
  56. package/package.json +1 -1
  57. package/typechain-types/ERC1967Proxy.ts +97 -0
  58. package/typechain-types/IPCommonSYFactory.ts +49 -0
  59. package/typechain-types/ITransparentUpgradeableProxy.ts +235 -0
  60. package/typechain-types/MarketSwapNSeed.ts +222 -0
  61. package/typechain-types/PendleCommonPoolDeployHelperV2.ts +267 -0
  62. package/typechain-types/PendleCommonSYFactory.ts +96 -0
  63. package/typechain-types/TransparentUpgradeableProxy.ts +97 -0
  64. package/typechain-types/factories/ERC1967Proxy__factory.ts +145 -0
  65. package/typechain-types/factories/IPCommonSYFactory__factory.ts +34 -0
  66. package/typechain-types/factories/ITransparentUpgradeableProxy__factory.ts +145 -0
  67. package/typechain-types/factories/MarketSwapNSeed__factory.ts +287 -0
  68. package/typechain-types/factories/PendleCommonPoolDeployHelperV2__factory.ts +319 -1
  69. package/typechain-types/factories/PendleCommonSYFactory__factory.ts +81 -4
  70. package/typechain-types/factories/TransparentUpgradeableProxy__factory.ts +160 -0
  71. package/typechain-types/hardhat.d.ts +45 -0
  72. package/typechain-types/index.ts +10 -0
@@ -0,0 +1,97 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import { BaseContract, Signer, utils } from "ethers";
5
+ import { EventFragment } from "@ethersproject/abi";
6
+ import { Listener, Provider } from "@ethersproject/providers";
7
+ import type {
8
+ TypedEventFilter,
9
+ TypedEvent,
10
+ TypedListener,
11
+ OnEvent,
12
+ } from "./common";
13
+
14
+ export interface TransparentUpgradeableProxyInterface extends utils.Interface {
15
+ contractName: "TransparentUpgradeableProxy";
16
+ functions: {};
17
+
18
+ events: {
19
+ "AdminChanged(address,address)": EventFragment;
20
+ "BeaconUpgraded(address)": EventFragment;
21
+ "Upgraded(address)": EventFragment;
22
+ };
23
+
24
+ getEvent(nameOrSignatureOrTopic: "AdminChanged"): EventFragment;
25
+ getEvent(nameOrSignatureOrTopic: "BeaconUpgraded"): EventFragment;
26
+ getEvent(nameOrSignatureOrTopic: "Upgraded"): EventFragment;
27
+ }
28
+
29
+ export type AdminChangedEvent = TypedEvent<
30
+ [string, string],
31
+ { previousAdmin: string; newAdmin: string }
32
+ >;
33
+
34
+ export type AdminChangedEventFilter = TypedEventFilter<AdminChangedEvent>;
35
+
36
+ export type BeaconUpgradedEvent = TypedEvent<[string], { beacon: string }>;
37
+
38
+ export type BeaconUpgradedEventFilter = TypedEventFilter<BeaconUpgradedEvent>;
39
+
40
+ export type UpgradedEvent = TypedEvent<[string], { implementation: string }>;
41
+
42
+ export type UpgradedEventFilter = TypedEventFilter<UpgradedEvent>;
43
+
44
+ export interface TransparentUpgradeableProxy extends BaseContract {
45
+ contractName: "TransparentUpgradeableProxy";
46
+ connect(signerOrProvider: Signer | Provider | string): this;
47
+ attach(addressOrName: string): this;
48
+ deployed(): Promise<this>;
49
+
50
+ interface: TransparentUpgradeableProxyInterface;
51
+
52
+ queryFilter<TEvent extends TypedEvent>(
53
+ event: TypedEventFilter<TEvent>,
54
+ fromBlockOrBlockhash?: string | number | undefined,
55
+ toBlock?: string | number | undefined
56
+ ): Promise<Array<TEvent>>;
57
+
58
+ listeners<TEvent extends TypedEvent>(
59
+ eventFilter?: TypedEventFilter<TEvent>
60
+ ): Array<TypedListener<TEvent>>;
61
+ listeners(eventName?: string): Array<Listener>;
62
+ removeAllListeners<TEvent extends TypedEvent>(
63
+ eventFilter: TypedEventFilter<TEvent>
64
+ ): this;
65
+ removeAllListeners(eventName?: string): this;
66
+ off: OnEvent<this>;
67
+ on: OnEvent<this>;
68
+ once: OnEvent<this>;
69
+ removeListener: OnEvent<this>;
70
+
71
+ functions: {};
72
+
73
+ callStatic: {};
74
+
75
+ filters: {
76
+ "AdminChanged(address,address)"(
77
+ previousAdmin?: null,
78
+ newAdmin?: null
79
+ ): AdminChangedEventFilter;
80
+ AdminChanged(
81
+ previousAdmin?: null,
82
+ newAdmin?: null
83
+ ): AdminChangedEventFilter;
84
+
85
+ "BeaconUpgraded(address)"(
86
+ beacon?: string | null
87
+ ): BeaconUpgradedEventFilter;
88
+ BeaconUpgraded(beacon?: string | null): BeaconUpgradedEventFilter;
89
+
90
+ "Upgraded(address)"(implementation?: string | null): UpgradedEventFilter;
91
+ Upgraded(implementation?: string | null): UpgradedEventFilter;
92
+ };
93
+
94
+ estimateGas: {};
95
+
96
+ populateTransaction: {};
97
+ }
@@ -0,0 +1,145 @@
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 { ERC1967Proxy, ERC1967ProxyInterface } from "../ERC1967Proxy";
14
+
15
+ const _abi = [
16
+ {
17
+ inputs: [
18
+ {
19
+ internalType: "address",
20
+ name: "_logic",
21
+ type: "address",
22
+ },
23
+ {
24
+ internalType: "bytes",
25
+ name: "_data",
26
+ type: "bytes",
27
+ },
28
+ ],
29
+ stateMutability: "payable",
30
+ type: "constructor",
31
+ },
32
+ {
33
+ anonymous: false,
34
+ inputs: [
35
+ {
36
+ indexed: false,
37
+ internalType: "address",
38
+ name: "previousAdmin",
39
+ type: "address",
40
+ },
41
+ {
42
+ indexed: false,
43
+ internalType: "address",
44
+ name: "newAdmin",
45
+ type: "address",
46
+ },
47
+ ],
48
+ name: "AdminChanged",
49
+ type: "event",
50
+ },
51
+ {
52
+ anonymous: false,
53
+ inputs: [
54
+ {
55
+ indexed: true,
56
+ internalType: "address",
57
+ name: "beacon",
58
+ type: "address",
59
+ },
60
+ ],
61
+ name: "BeaconUpgraded",
62
+ type: "event",
63
+ },
64
+ {
65
+ anonymous: false,
66
+ inputs: [
67
+ {
68
+ indexed: true,
69
+ internalType: "address",
70
+ name: "implementation",
71
+ type: "address",
72
+ },
73
+ ],
74
+ name: "Upgraded",
75
+ type: "event",
76
+ },
77
+ {
78
+ stateMutability: "payable",
79
+ type: "fallback",
80
+ },
81
+ {
82
+ stateMutability: "payable",
83
+ type: "receive",
84
+ },
85
+ ];
86
+
87
+ const _bytecode =
88
+ "0x60806040526040516104ec3803806104ec833981016040819052610022916102e9565b61002e82826000610035565b5050610406565b61003e83610061565b60008251118061004b5750805b1561005c5761005a83836100a1565b505b505050565b61006a816100cd565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606100c683836040518060600160405280602781526020016104c56027913961017e565b9392505050565b6100d6816101f7565b61013d5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080856001600160a01b03168560405161019b91906103b7565b600060405180830381855af49150503d80600081146101d6576040519150601f19603f3d011682016040523d82523d6000602084013e6101db565b606091505b5090925090506101ed86838387610206565b9695505050505050565b6001600160a01b03163b151590565b6060831561027357825160000361026c57610220856101f7565b61026c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610134565b508161027d565b61027d8383610285565b949350505050565b8151156102955781518083602001fd5b8060405162461bcd60e51b815260040161013491906103d3565b634e487b7160e01b600052604160045260246000fd5b60005b838110156102e05781810151838201526020016102c8565b50506000910152565b600080604083850312156102fc57600080fd5b82516001600160a01b038116811461031357600080fd5b60208401519092506001600160401b038082111561033057600080fd5b818501915085601f83011261034457600080fd5b815181811115610356576103566102af565b604051601f8201601f19908116603f0116810190838211818310171561037e5761037e6102af565b8160405282815288602084870101111561039757600080fd5b6103a88360208301602088016102c5565b80955050505050509250929050565b600082516103c98184602087016102c5565b9190910192915050565b60208152600082518060208401526103f28160408501602087016102c5565b601f01601f19169190910160400192915050565b60b1806104146000396000f3fe608060405236601057600e6013565b005b600e5b601f601b6021565b6058565b565b600060537f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b905090565b3660008037600080366000845af43d6000803e8080156076573d6000f35b3d6000fdfea26469706673582212204ae8f30122f3db6e8487c5c9bf734812e2f2128ccef71245295d3c247cf77a5764736f6c63430008170033416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564";
89
+
90
+ type ERC1967ProxyConstructorParams =
91
+ | [signer?: Signer]
92
+ | ConstructorParameters<typeof ContractFactory>;
93
+
94
+ const isSuperArgs = (
95
+ xs: ERC1967ProxyConstructorParams
96
+ ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
97
+
98
+ export class ERC1967Proxy__factory extends ContractFactory {
99
+ constructor(...args: ERC1967ProxyConstructorParams) {
100
+ if (isSuperArgs(args)) {
101
+ super(...args);
102
+ } else {
103
+ super(_abi, _bytecode, args[0]);
104
+ }
105
+ this.contractName = "ERC1967Proxy";
106
+ }
107
+
108
+ deploy(
109
+ _logic: string,
110
+ _data: BytesLike,
111
+ overrides?: PayableOverrides & { from?: string | Promise<string> }
112
+ ): Promise<ERC1967Proxy> {
113
+ return super.deploy(
114
+ _logic,
115
+ _data,
116
+ overrides || {}
117
+ ) as Promise<ERC1967Proxy>;
118
+ }
119
+ getDeployTransaction(
120
+ _logic: string,
121
+ _data: BytesLike,
122
+ overrides?: PayableOverrides & { from?: string | Promise<string> }
123
+ ): TransactionRequest {
124
+ return super.getDeployTransaction(_logic, _data, overrides || {});
125
+ }
126
+ attach(address: string): ERC1967Proxy {
127
+ return super.attach(address) as ERC1967Proxy;
128
+ }
129
+ connect(signer: Signer): ERC1967Proxy__factory {
130
+ return super.connect(signer) as ERC1967Proxy__factory;
131
+ }
132
+ static readonly contractName: "ERC1967Proxy";
133
+ public readonly contractName: "ERC1967Proxy";
134
+ static readonly bytecode = _bytecode;
135
+ static readonly abi = _abi;
136
+ static createInterface(): ERC1967ProxyInterface {
137
+ return new utils.Interface(_abi) as ERC1967ProxyInterface;
138
+ }
139
+ static connect(
140
+ address: string,
141
+ signerOrProvider: Signer | Provider
142
+ ): ERC1967Proxy {
143
+ return new Contract(address, _abi, signerOrProvider) as ERC1967Proxy;
144
+ }
145
+ }
@@ -39,6 +39,40 @@ const _abi = [
39
39
  stateMutability: "nonpayable",
40
40
  type: "function",
41
41
  },
42
+ {
43
+ inputs: [
44
+ {
45
+ internalType: "bytes32",
46
+ name: "id",
47
+ type: "bytes32",
48
+ },
49
+ {
50
+ internalType: "bytes",
51
+ name: "constructorParams",
52
+ type: "bytes",
53
+ },
54
+ {
55
+ internalType: "bytes",
56
+ name: "initData",
57
+ type: "bytes",
58
+ },
59
+ {
60
+ internalType: "address",
61
+ name: "syOwner",
62
+ type: "address",
63
+ },
64
+ ],
65
+ name: "deployUpgradableSY",
66
+ outputs: [
67
+ {
68
+ internalType: "address",
69
+ name: "SY",
70
+ type: "address",
71
+ },
72
+ ],
73
+ stateMutability: "nonpayable",
74
+ type: "function",
75
+ },
42
76
  ];
43
77
 
44
78
  export class IPCommonSYFactory__factory {
@@ -0,0 +1,145 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ import { Contract, Signer, utils } from "ethers";
6
+ import { Provider } from "@ethersproject/providers";
7
+ import type {
8
+ ITransparentUpgradeableProxy,
9
+ ITransparentUpgradeableProxyInterface,
10
+ } from "../ITransparentUpgradeableProxy";
11
+
12
+ const _abi = [
13
+ {
14
+ anonymous: false,
15
+ inputs: [
16
+ {
17
+ indexed: false,
18
+ internalType: "address",
19
+ name: "previousAdmin",
20
+ type: "address",
21
+ },
22
+ {
23
+ indexed: false,
24
+ internalType: "address",
25
+ name: "newAdmin",
26
+ type: "address",
27
+ },
28
+ ],
29
+ name: "AdminChanged",
30
+ type: "event",
31
+ },
32
+ {
33
+ anonymous: false,
34
+ inputs: [
35
+ {
36
+ indexed: true,
37
+ internalType: "address",
38
+ name: "beacon",
39
+ type: "address",
40
+ },
41
+ ],
42
+ name: "BeaconUpgraded",
43
+ type: "event",
44
+ },
45
+ {
46
+ anonymous: false,
47
+ inputs: [
48
+ {
49
+ indexed: true,
50
+ internalType: "address",
51
+ name: "implementation",
52
+ type: "address",
53
+ },
54
+ ],
55
+ name: "Upgraded",
56
+ type: "event",
57
+ },
58
+ {
59
+ inputs: [],
60
+ name: "admin",
61
+ outputs: [
62
+ {
63
+ internalType: "address",
64
+ name: "",
65
+ type: "address",
66
+ },
67
+ ],
68
+ stateMutability: "view",
69
+ type: "function",
70
+ },
71
+ {
72
+ inputs: [
73
+ {
74
+ internalType: "address",
75
+ name: "",
76
+ type: "address",
77
+ },
78
+ ],
79
+ name: "changeAdmin",
80
+ outputs: [],
81
+ stateMutability: "nonpayable",
82
+ type: "function",
83
+ },
84
+ {
85
+ inputs: [],
86
+ name: "implementation",
87
+ outputs: [
88
+ {
89
+ internalType: "address",
90
+ name: "",
91
+ type: "address",
92
+ },
93
+ ],
94
+ stateMutability: "view",
95
+ type: "function",
96
+ },
97
+ {
98
+ inputs: [
99
+ {
100
+ internalType: "address",
101
+ name: "",
102
+ type: "address",
103
+ },
104
+ ],
105
+ name: "upgradeTo",
106
+ outputs: [],
107
+ stateMutability: "nonpayable",
108
+ type: "function",
109
+ },
110
+ {
111
+ inputs: [
112
+ {
113
+ internalType: "address",
114
+ name: "",
115
+ type: "address",
116
+ },
117
+ {
118
+ internalType: "bytes",
119
+ name: "",
120
+ type: "bytes",
121
+ },
122
+ ],
123
+ name: "upgradeToAndCall",
124
+ outputs: [],
125
+ stateMutability: "payable",
126
+ type: "function",
127
+ },
128
+ ];
129
+
130
+ export class ITransparentUpgradeableProxy__factory {
131
+ static readonly abi = _abi;
132
+ static createInterface(): ITransparentUpgradeableProxyInterface {
133
+ return new utils.Interface(_abi) as ITransparentUpgradeableProxyInterface;
134
+ }
135
+ static connect(
136
+ address: string,
137
+ signerOrProvider: Signer | Provider
138
+ ): ITransparentUpgradeableProxy {
139
+ return new Contract(
140
+ address,
141
+ _abi,
142
+ signerOrProvider
143
+ ) as ITransparentUpgradeableProxy;
144
+ }
145
+ }