@pendle/core-v2 4.5.1 → 4.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/artifacts/contracts/core/StandardizedYield/implementations/PendleERC20WithSupplyCapSY.sol/PendleERC20WithSupplyCapSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwellRswETHStakingSY.sol/PendleSwellRswETHStakingSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwellRswETHStakingSY.sol/PendleSwellRswETHStakingSY.json +2 -2
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwellStakingERC20SY.sol/PendleSwellStakingERC20SY.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPActionMiscV3.sol/IPActionMiscV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPAllActionV3.sol/IPAllActionV3.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPGovernanceProxy.sol/IPGovernanceProxy.json +60 -0
- package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/IPPausingInterface.sol/IPPausingInterface.json +25 -0
- package/build/artifacts/contracts/interfaces/IPPtLpOracle.sol/IPPtLpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Swell/ISwellSimpleStakingERC20.sol/ISwellSimpleStakingERC20.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/PendleGovernanceProxy.sol/PendleGovernanceProxy.json +401 -0
- package/build/artifacts/contracts/offchain-helpers/PendlePoolDeployHelper.sol/PendlePoolDeployHelper.dbg.json +1 -1
- package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/IPossibleSupplyCapInterface.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/IPossibleSupplyCapInterface.json +63 -0
- package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.dbg.json +4 -0
- package/build/artifacts/contracts/offchain-helpers/SupplyCapReader.sol/SupplyCapReader.json +35 -0
- package/build/artifacts/contracts/offchain-helpers/router-static/base/ActionMarketAuxStatic.sol/ActionMarketAuxStatic.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendlePtLpOracle.sol/PendlePtLpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/BoringLpGlpOracle.sol/BoringLpGlpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/BoringPtUsdChainlinkOracle.sol/BoringPtUsdChainlinkOracle.dbg.json +1 -1
- package/build/artifacts/contracts/router/base/ActionBase.sol/ActionBase.dbg.json +1 -1
- package/contracts/core/StandardizedYield/implementations/Swell/PendleSwellRswETHStakingSY.sol +0 -1
- package/contracts/interfaces/IPGovernanceProxy.sol +14 -0
- package/contracts/interfaces/IPPausingInterface.sol +8 -0
- package/contracts/offchain-helpers/PendleGovernanceProxy.sol +84 -0
- package/contracts/offchain-helpers/SupplyCapReader.sol +25 -0
- package/deployments/1-markets/PUFETH-MAINNET-SEP2024.json +11 -0
- package/deployments/1-markets/RSETH-MAINNET-SEP2024.json +11 -0
- package/deployments/1-markets/SUSDE-MAINNET-SEP2024.json +13 -0
- package/deployments/1-markets/UNIETH-MAINNET-SEP2024.json +13 -0
- package/deployments/1-offchain-helper.json +2 -1
- package/deployments/10-offchain-helper.json +2 -1
- package/deployments/42161-markets/RSETH-ARBITRUM-SEP2024.json +11 -0
- package/deployments/42161-offchain-helper.json +2 -1
- package/deployments/5000-offchain-helper.json +2 -1
- package/deployments/56-offchain-helper.json +2 -1
- package/package.json +1 -1
- package/typechain-types/BoringPYUsdChainlinkAssetOracle.ts +244 -0
- package/typechain-types/BoringPYUsdChainlinkSYOracle.ts +243 -0
- package/typechain-types/IPGovernanceProxy.ts +142 -0
- package/typechain-types/IPPYLpOracle.ts +379 -0
- package/typechain-types/IPPausingInterface.ts +112 -0
- package/typechain-types/IPossibleSupplyCapInterface.ts +142 -0
- package/typechain-types/PendleGovernanceProxy.ts +603 -0
- package/typechain-types/PendlePYLpOracle.ts +612 -0
- package/typechain-types/SupplyCapReader.ts +105 -0
- package/typechain-types/factories/BoringPYUsdChainlinkAssetOracle__factory.ts +269 -0
- package/typechain-types/factories/BoringPYUsdChainlinkSYOracle__factory.ts +267 -0
- package/typechain-types/factories/IPGovernanceProxy__factory.ts +75 -0
- package/typechain-types/factories/IPPYLpOracle__factory.ts +214 -0
- package/typechain-types/factories/IPPausingInterface__factory.ts +40 -0
- package/typechain-types/factories/IPossibleSupplyCapInterface__factory.ts +82 -0
- package/typechain-types/factories/PendleGovernanceProxy__factory.ts +458 -0
- package/typechain-types/factories/PendlePYLpOracle__factory.ts +487 -0
- package/typechain-types/factories/PendleSwellRswETHStakingSY__factory.ts +1 -1
- package/typechain-types/factories/SupplyCapReader__factory.ts +88 -0
- package/typechain-types/hardhat.d.ts +81 -0
- package/typechain-types/index.ts +18 -0
|
@@ -0,0 +1,603 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import {
|
|
5
|
+
BaseContract,
|
|
6
|
+
BigNumber,
|
|
7
|
+
BigNumberish,
|
|
8
|
+
BytesLike,
|
|
9
|
+
CallOverrides,
|
|
10
|
+
ContractTransaction,
|
|
11
|
+
Overrides,
|
|
12
|
+
PayableOverrides,
|
|
13
|
+
PopulatedTransaction,
|
|
14
|
+
Signer,
|
|
15
|
+
utils,
|
|
16
|
+
} from "ethers";
|
|
17
|
+
import { FunctionFragment, Result, EventFragment } from "@ethersproject/abi";
|
|
18
|
+
import { Listener, Provider } from "@ethersproject/providers";
|
|
19
|
+
import type {
|
|
20
|
+
TypedEventFilter,
|
|
21
|
+
TypedEvent,
|
|
22
|
+
TypedListener,
|
|
23
|
+
OnEvent,
|
|
24
|
+
} from "./common";
|
|
25
|
+
|
|
26
|
+
export declare namespace IPGovernanceProxy {
|
|
27
|
+
export type CallStruct = {
|
|
28
|
+
target: string;
|
|
29
|
+
value: BigNumberish;
|
|
30
|
+
callData: BytesLike;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
export type CallStructOutput = [string, BigNumber, string] & {
|
|
34
|
+
target: string;
|
|
35
|
+
value: BigNumber;
|
|
36
|
+
callData: string;
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export interface PendleGovernanceProxyInterface extends utils.Interface {
|
|
41
|
+
contractName: "PendleGovernanceProxy";
|
|
42
|
+
functions: {
|
|
43
|
+
"DEFAULT_ADMIN_ROLE()": FunctionFragment;
|
|
44
|
+
"GUARDIAN()": FunctionFragment;
|
|
45
|
+
"aggregate((address,uint256,bytes)[])": FunctionFragment;
|
|
46
|
+
"getRoleAdmin(bytes32)": FunctionFragment;
|
|
47
|
+
"grantRole(bytes32,address)": FunctionFragment;
|
|
48
|
+
"hasRole(bytes32,address)": FunctionFragment;
|
|
49
|
+
"initialize(address)": FunctionFragment;
|
|
50
|
+
"pause(address[])": FunctionFragment;
|
|
51
|
+
"proxiableUUID()": FunctionFragment;
|
|
52
|
+
"renounceRole(bytes32,address)": FunctionFragment;
|
|
53
|
+
"revokeRole(bytes32,address)": FunctionFragment;
|
|
54
|
+
"supportsInterface(bytes4)": FunctionFragment;
|
|
55
|
+
"upgradeTo(address)": FunctionFragment;
|
|
56
|
+
"upgradeToAndCall(address,bytes)": FunctionFragment;
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
encodeFunctionData(
|
|
60
|
+
functionFragment: "DEFAULT_ADMIN_ROLE",
|
|
61
|
+
values?: undefined
|
|
62
|
+
): string;
|
|
63
|
+
encodeFunctionData(functionFragment: "GUARDIAN", values?: undefined): string;
|
|
64
|
+
encodeFunctionData(
|
|
65
|
+
functionFragment: "aggregate",
|
|
66
|
+
values: [IPGovernanceProxy.CallStruct[]]
|
|
67
|
+
): string;
|
|
68
|
+
encodeFunctionData(
|
|
69
|
+
functionFragment: "getRoleAdmin",
|
|
70
|
+
values: [BytesLike]
|
|
71
|
+
): string;
|
|
72
|
+
encodeFunctionData(
|
|
73
|
+
functionFragment: "grantRole",
|
|
74
|
+
values: [BytesLike, string]
|
|
75
|
+
): string;
|
|
76
|
+
encodeFunctionData(
|
|
77
|
+
functionFragment: "hasRole",
|
|
78
|
+
values: [BytesLike, string]
|
|
79
|
+
): string;
|
|
80
|
+
encodeFunctionData(functionFragment: "initialize", values: [string]): string;
|
|
81
|
+
encodeFunctionData(functionFragment: "pause", values: [string[]]): string;
|
|
82
|
+
encodeFunctionData(
|
|
83
|
+
functionFragment: "proxiableUUID",
|
|
84
|
+
values?: undefined
|
|
85
|
+
): string;
|
|
86
|
+
encodeFunctionData(
|
|
87
|
+
functionFragment: "renounceRole",
|
|
88
|
+
values: [BytesLike, string]
|
|
89
|
+
): string;
|
|
90
|
+
encodeFunctionData(
|
|
91
|
+
functionFragment: "revokeRole",
|
|
92
|
+
values: [BytesLike, string]
|
|
93
|
+
): string;
|
|
94
|
+
encodeFunctionData(
|
|
95
|
+
functionFragment: "supportsInterface",
|
|
96
|
+
values: [BytesLike]
|
|
97
|
+
): string;
|
|
98
|
+
encodeFunctionData(functionFragment: "upgradeTo", values: [string]): string;
|
|
99
|
+
encodeFunctionData(
|
|
100
|
+
functionFragment: "upgradeToAndCall",
|
|
101
|
+
values: [string, BytesLike]
|
|
102
|
+
): string;
|
|
103
|
+
|
|
104
|
+
decodeFunctionResult(
|
|
105
|
+
functionFragment: "DEFAULT_ADMIN_ROLE",
|
|
106
|
+
data: BytesLike
|
|
107
|
+
): Result;
|
|
108
|
+
decodeFunctionResult(functionFragment: "GUARDIAN", data: BytesLike): Result;
|
|
109
|
+
decodeFunctionResult(functionFragment: "aggregate", data: BytesLike): Result;
|
|
110
|
+
decodeFunctionResult(
|
|
111
|
+
functionFragment: "getRoleAdmin",
|
|
112
|
+
data: BytesLike
|
|
113
|
+
): Result;
|
|
114
|
+
decodeFunctionResult(functionFragment: "grantRole", data: BytesLike): Result;
|
|
115
|
+
decodeFunctionResult(functionFragment: "hasRole", data: BytesLike): Result;
|
|
116
|
+
decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
|
|
117
|
+
decodeFunctionResult(functionFragment: "pause", data: BytesLike): Result;
|
|
118
|
+
decodeFunctionResult(
|
|
119
|
+
functionFragment: "proxiableUUID",
|
|
120
|
+
data: BytesLike
|
|
121
|
+
): Result;
|
|
122
|
+
decodeFunctionResult(
|
|
123
|
+
functionFragment: "renounceRole",
|
|
124
|
+
data: BytesLike
|
|
125
|
+
): Result;
|
|
126
|
+
decodeFunctionResult(functionFragment: "revokeRole", data: BytesLike): Result;
|
|
127
|
+
decodeFunctionResult(
|
|
128
|
+
functionFragment: "supportsInterface",
|
|
129
|
+
data: BytesLike
|
|
130
|
+
): Result;
|
|
131
|
+
decodeFunctionResult(functionFragment: "upgradeTo", data: BytesLike): Result;
|
|
132
|
+
decodeFunctionResult(
|
|
133
|
+
functionFragment: "upgradeToAndCall",
|
|
134
|
+
data: BytesLike
|
|
135
|
+
): Result;
|
|
136
|
+
|
|
137
|
+
events: {
|
|
138
|
+
"AdminChanged(address,address)": EventFragment;
|
|
139
|
+
"BeaconUpgraded(address)": EventFragment;
|
|
140
|
+
"Initialized(uint8)": EventFragment;
|
|
141
|
+
"RoleAdminChanged(bytes32,bytes32,bytes32)": EventFragment;
|
|
142
|
+
"RoleGranted(bytes32,address,address)": EventFragment;
|
|
143
|
+
"RoleRevoked(bytes32,address,address)": EventFragment;
|
|
144
|
+
"Upgraded(address)": EventFragment;
|
|
145
|
+
};
|
|
146
|
+
|
|
147
|
+
getEvent(nameOrSignatureOrTopic: "AdminChanged"): EventFragment;
|
|
148
|
+
getEvent(nameOrSignatureOrTopic: "BeaconUpgraded"): EventFragment;
|
|
149
|
+
getEvent(nameOrSignatureOrTopic: "Initialized"): EventFragment;
|
|
150
|
+
getEvent(nameOrSignatureOrTopic: "RoleAdminChanged"): EventFragment;
|
|
151
|
+
getEvent(nameOrSignatureOrTopic: "RoleGranted"): EventFragment;
|
|
152
|
+
getEvent(nameOrSignatureOrTopic: "RoleRevoked"): EventFragment;
|
|
153
|
+
getEvent(nameOrSignatureOrTopic: "Upgraded"): EventFragment;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
export type AdminChangedEvent = TypedEvent<
|
|
157
|
+
[string, string],
|
|
158
|
+
{ previousAdmin: string; newAdmin: string }
|
|
159
|
+
>;
|
|
160
|
+
|
|
161
|
+
export type AdminChangedEventFilter = TypedEventFilter<AdminChangedEvent>;
|
|
162
|
+
|
|
163
|
+
export type BeaconUpgradedEvent = TypedEvent<[string], { beacon: string }>;
|
|
164
|
+
|
|
165
|
+
export type BeaconUpgradedEventFilter = TypedEventFilter<BeaconUpgradedEvent>;
|
|
166
|
+
|
|
167
|
+
export type InitializedEvent = TypedEvent<[number], { version: number }>;
|
|
168
|
+
|
|
169
|
+
export type InitializedEventFilter = TypedEventFilter<InitializedEvent>;
|
|
170
|
+
|
|
171
|
+
export type RoleAdminChangedEvent = TypedEvent<
|
|
172
|
+
[string, string, string],
|
|
173
|
+
{ role: string; previousAdminRole: string; newAdminRole: string }
|
|
174
|
+
>;
|
|
175
|
+
|
|
176
|
+
export type RoleAdminChangedEventFilter =
|
|
177
|
+
TypedEventFilter<RoleAdminChangedEvent>;
|
|
178
|
+
|
|
179
|
+
export type RoleGrantedEvent = TypedEvent<
|
|
180
|
+
[string, string, string],
|
|
181
|
+
{ role: string; account: string; sender: string }
|
|
182
|
+
>;
|
|
183
|
+
|
|
184
|
+
export type RoleGrantedEventFilter = TypedEventFilter<RoleGrantedEvent>;
|
|
185
|
+
|
|
186
|
+
export type RoleRevokedEvent = TypedEvent<
|
|
187
|
+
[string, string, string],
|
|
188
|
+
{ role: string; account: string; sender: string }
|
|
189
|
+
>;
|
|
190
|
+
|
|
191
|
+
export type RoleRevokedEventFilter = TypedEventFilter<RoleRevokedEvent>;
|
|
192
|
+
|
|
193
|
+
export type UpgradedEvent = TypedEvent<[string], { implementation: string }>;
|
|
194
|
+
|
|
195
|
+
export type UpgradedEventFilter = TypedEventFilter<UpgradedEvent>;
|
|
196
|
+
|
|
197
|
+
export interface PendleGovernanceProxy extends BaseContract {
|
|
198
|
+
contractName: "PendleGovernanceProxy";
|
|
199
|
+
connect(signerOrProvider: Signer | Provider | string): this;
|
|
200
|
+
attach(addressOrName: string): this;
|
|
201
|
+
deployed(): Promise<this>;
|
|
202
|
+
|
|
203
|
+
interface: PendleGovernanceProxyInterface;
|
|
204
|
+
|
|
205
|
+
queryFilter<TEvent extends TypedEvent>(
|
|
206
|
+
event: TypedEventFilter<TEvent>,
|
|
207
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
208
|
+
toBlock?: string | number | undefined
|
|
209
|
+
): Promise<Array<TEvent>>;
|
|
210
|
+
|
|
211
|
+
listeners<TEvent extends TypedEvent>(
|
|
212
|
+
eventFilter?: TypedEventFilter<TEvent>
|
|
213
|
+
): Array<TypedListener<TEvent>>;
|
|
214
|
+
listeners(eventName?: string): Array<Listener>;
|
|
215
|
+
removeAllListeners<TEvent extends TypedEvent>(
|
|
216
|
+
eventFilter: TypedEventFilter<TEvent>
|
|
217
|
+
): this;
|
|
218
|
+
removeAllListeners(eventName?: string): this;
|
|
219
|
+
off: OnEvent<this>;
|
|
220
|
+
on: OnEvent<this>;
|
|
221
|
+
once: OnEvent<this>;
|
|
222
|
+
removeListener: OnEvent<this>;
|
|
223
|
+
|
|
224
|
+
functions: {
|
|
225
|
+
DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise<[string]>;
|
|
226
|
+
|
|
227
|
+
GUARDIAN(overrides?: CallOverrides): Promise<[string]>;
|
|
228
|
+
|
|
229
|
+
aggregate(
|
|
230
|
+
calls: IPGovernanceProxy.CallStruct[],
|
|
231
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
232
|
+
): Promise<ContractTransaction>;
|
|
233
|
+
|
|
234
|
+
getRoleAdmin(role: BytesLike, overrides?: CallOverrides): Promise<[string]>;
|
|
235
|
+
|
|
236
|
+
grantRole(
|
|
237
|
+
role: BytesLike,
|
|
238
|
+
account: string,
|
|
239
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
240
|
+
): Promise<ContractTransaction>;
|
|
241
|
+
|
|
242
|
+
hasRole(
|
|
243
|
+
role: BytesLike,
|
|
244
|
+
account: string,
|
|
245
|
+
overrides?: CallOverrides
|
|
246
|
+
): Promise<[boolean]>;
|
|
247
|
+
|
|
248
|
+
initialize(
|
|
249
|
+
governance: string,
|
|
250
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
251
|
+
): Promise<ContractTransaction>;
|
|
252
|
+
|
|
253
|
+
pause(
|
|
254
|
+
addrs: string[],
|
|
255
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
256
|
+
): Promise<ContractTransaction>;
|
|
257
|
+
|
|
258
|
+
proxiableUUID(overrides?: CallOverrides): Promise<[string]>;
|
|
259
|
+
|
|
260
|
+
renounceRole(
|
|
261
|
+
role: BytesLike,
|
|
262
|
+
account: string,
|
|
263
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
264
|
+
): Promise<ContractTransaction>;
|
|
265
|
+
|
|
266
|
+
revokeRole(
|
|
267
|
+
role: BytesLike,
|
|
268
|
+
account: string,
|
|
269
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
270
|
+
): Promise<ContractTransaction>;
|
|
271
|
+
|
|
272
|
+
supportsInterface(
|
|
273
|
+
interfaceId: BytesLike,
|
|
274
|
+
overrides?: CallOverrides
|
|
275
|
+
): Promise<[boolean]>;
|
|
276
|
+
|
|
277
|
+
upgradeTo(
|
|
278
|
+
newImplementation: string,
|
|
279
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
280
|
+
): Promise<ContractTransaction>;
|
|
281
|
+
|
|
282
|
+
upgradeToAndCall(
|
|
283
|
+
newImplementation: string,
|
|
284
|
+
data: BytesLike,
|
|
285
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
286
|
+
): Promise<ContractTransaction>;
|
|
287
|
+
};
|
|
288
|
+
|
|
289
|
+
DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise<string>;
|
|
290
|
+
|
|
291
|
+
GUARDIAN(overrides?: CallOverrides): Promise<string>;
|
|
292
|
+
|
|
293
|
+
aggregate(
|
|
294
|
+
calls: IPGovernanceProxy.CallStruct[],
|
|
295
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
296
|
+
): Promise<ContractTransaction>;
|
|
297
|
+
|
|
298
|
+
getRoleAdmin(role: BytesLike, overrides?: CallOverrides): Promise<string>;
|
|
299
|
+
|
|
300
|
+
grantRole(
|
|
301
|
+
role: BytesLike,
|
|
302
|
+
account: string,
|
|
303
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
304
|
+
): Promise<ContractTransaction>;
|
|
305
|
+
|
|
306
|
+
hasRole(
|
|
307
|
+
role: BytesLike,
|
|
308
|
+
account: string,
|
|
309
|
+
overrides?: CallOverrides
|
|
310
|
+
): Promise<boolean>;
|
|
311
|
+
|
|
312
|
+
initialize(
|
|
313
|
+
governance: string,
|
|
314
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
315
|
+
): Promise<ContractTransaction>;
|
|
316
|
+
|
|
317
|
+
pause(
|
|
318
|
+
addrs: string[],
|
|
319
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
320
|
+
): Promise<ContractTransaction>;
|
|
321
|
+
|
|
322
|
+
proxiableUUID(overrides?: CallOverrides): Promise<string>;
|
|
323
|
+
|
|
324
|
+
renounceRole(
|
|
325
|
+
role: BytesLike,
|
|
326
|
+
account: string,
|
|
327
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
328
|
+
): Promise<ContractTransaction>;
|
|
329
|
+
|
|
330
|
+
revokeRole(
|
|
331
|
+
role: BytesLike,
|
|
332
|
+
account: string,
|
|
333
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
334
|
+
): Promise<ContractTransaction>;
|
|
335
|
+
|
|
336
|
+
supportsInterface(
|
|
337
|
+
interfaceId: BytesLike,
|
|
338
|
+
overrides?: CallOverrides
|
|
339
|
+
): Promise<boolean>;
|
|
340
|
+
|
|
341
|
+
upgradeTo(
|
|
342
|
+
newImplementation: string,
|
|
343
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
344
|
+
): Promise<ContractTransaction>;
|
|
345
|
+
|
|
346
|
+
upgradeToAndCall(
|
|
347
|
+
newImplementation: string,
|
|
348
|
+
data: BytesLike,
|
|
349
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
350
|
+
): Promise<ContractTransaction>;
|
|
351
|
+
|
|
352
|
+
callStatic: {
|
|
353
|
+
DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise<string>;
|
|
354
|
+
|
|
355
|
+
GUARDIAN(overrides?: CallOverrides): Promise<string>;
|
|
356
|
+
|
|
357
|
+
aggregate(
|
|
358
|
+
calls: IPGovernanceProxy.CallStruct[],
|
|
359
|
+
overrides?: CallOverrides
|
|
360
|
+
): Promise<string[]>;
|
|
361
|
+
|
|
362
|
+
getRoleAdmin(role: BytesLike, overrides?: CallOverrides): Promise<string>;
|
|
363
|
+
|
|
364
|
+
grantRole(
|
|
365
|
+
role: BytesLike,
|
|
366
|
+
account: string,
|
|
367
|
+
overrides?: CallOverrides
|
|
368
|
+
): Promise<void>;
|
|
369
|
+
|
|
370
|
+
hasRole(
|
|
371
|
+
role: BytesLike,
|
|
372
|
+
account: string,
|
|
373
|
+
overrides?: CallOverrides
|
|
374
|
+
): Promise<boolean>;
|
|
375
|
+
|
|
376
|
+
initialize(governance: string, overrides?: CallOverrides): Promise<void>;
|
|
377
|
+
|
|
378
|
+
pause(addrs: string[], overrides?: CallOverrides): Promise<void>;
|
|
379
|
+
|
|
380
|
+
proxiableUUID(overrides?: CallOverrides): Promise<string>;
|
|
381
|
+
|
|
382
|
+
renounceRole(
|
|
383
|
+
role: BytesLike,
|
|
384
|
+
account: string,
|
|
385
|
+
overrides?: CallOverrides
|
|
386
|
+
): Promise<void>;
|
|
387
|
+
|
|
388
|
+
revokeRole(
|
|
389
|
+
role: BytesLike,
|
|
390
|
+
account: string,
|
|
391
|
+
overrides?: CallOverrides
|
|
392
|
+
): Promise<void>;
|
|
393
|
+
|
|
394
|
+
supportsInterface(
|
|
395
|
+
interfaceId: BytesLike,
|
|
396
|
+
overrides?: CallOverrides
|
|
397
|
+
): Promise<boolean>;
|
|
398
|
+
|
|
399
|
+
upgradeTo(
|
|
400
|
+
newImplementation: string,
|
|
401
|
+
overrides?: CallOverrides
|
|
402
|
+
): Promise<void>;
|
|
403
|
+
|
|
404
|
+
upgradeToAndCall(
|
|
405
|
+
newImplementation: string,
|
|
406
|
+
data: BytesLike,
|
|
407
|
+
overrides?: CallOverrides
|
|
408
|
+
): Promise<void>;
|
|
409
|
+
};
|
|
410
|
+
|
|
411
|
+
filters: {
|
|
412
|
+
"AdminChanged(address,address)"(
|
|
413
|
+
previousAdmin?: null,
|
|
414
|
+
newAdmin?: null
|
|
415
|
+
): AdminChangedEventFilter;
|
|
416
|
+
AdminChanged(
|
|
417
|
+
previousAdmin?: null,
|
|
418
|
+
newAdmin?: null
|
|
419
|
+
): AdminChangedEventFilter;
|
|
420
|
+
|
|
421
|
+
"BeaconUpgraded(address)"(
|
|
422
|
+
beacon?: string | null
|
|
423
|
+
): BeaconUpgradedEventFilter;
|
|
424
|
+
BeaconUpgraded(beacon?: string | null): BeaconUpgradedEventFilter;
|
|
425
|
+
|
|
426
|
+
"Initialized(uint8)"(version?: null): InitializedEventFilter;
|
|
427
|
+
Initialized(version?: null): InitializedEventFilter;
|
|
428
|
+
|
|
429
|
+
"RoleAdminChanged(bytes32,bytes32,bytes32)"(
|
|
430
|
+
role?: BytesLike | null,
|
|
431
|
+
previousAdminRole?: BytesLike | null,
|
|
432
|
+
newAdminRole?: BytesLike | null
|
|
433
|
+
): RoleAdminChangedEventFilter;
|
|
434
|
+
RoleAdminChanged(
|
|
435
|
+
role?: BytesLike | null,
|
|
436
|
+
previousAdminRole?: BytesLike | null,
|
|
437
|
+
newAdminRole?: BytesLike | null
|
|
438
|
+
): RoleAdminChangedEventFilter;
|
|
439
|
+
|
|
440
|
+
"RoleGranted(bytes32,address,address)"(
|
|
441
|
+
role?: BytesLike | null,
|
|
442
|
+
account?: string | null,
|
|
443
|
+
sender?: string | null
|
|
444
|
+
): RoleGrantedEventFilter;
|
|
445
|
+
RoleGranted(
|
|
446
|
+
role?: BytesLike | null,
|
|
447
|
+
account?: string | null,
|
|
448
|
+
sender?: string | null
|
|
449
|
+
): RoleGrantedEventFilter;
|
|
450
|
+
|
|
451
|
+
"RoleRevoked(bytes32,address,address)"(
|
|
452
|
+
role?: BytesLike | null,
|
|
453
|
+
account?: string | null,
|
|
454
|
+
sender?: string | null
|
|
455
|
+
): RoleRevokedEventFilter;
|
|
456
|
+
RoleRevoked(
|
|
457
|
+
role?: BytesLike | null,
|
|
458
|
+
account?: string | null,
|
|
459
|
+
sender?: string | null
|
|
460
|
+
): RoleRevokedEventFilter;
|
|
461
|
+
|
|
462
|
+
"Upgraded(address)"(implementation?: string | null): UpgradedEventFilter;
|
|
463
|
+
Upgraded(implementation?: string | null): UpgradedEventFilter;
|
|
464
|
+
};
|
|
465
|
+
|
|
466
|
+
estimateGas: {
|
|
467
|
+
DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise<BigNumber>;
|
|
468
|
+
|
|
469
|
+
GUARDIAN(overrides?: CallOverrides): Promise<BigNumber>;
|
|
470
|
+
|
|
471
|
+
aggregate(
|
|
472
|
+
calls: IPGovernanceProxy.CallStruct[],
|
|
473
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
474
|
+
): Promise<BigNumber>;
|
|
475
|
+
|
|
476
|
+
getRoleAdmin(
|
|
477
|
+
role: BytesLike,
|
|
478
|
+
overrides?: CallOverrides
|
|
479
|
+
): Promise<BigNumber>;
|
|
480
|
+
|
|
481
|
+
grantRole(
|
|
482
|
+
role: BytesLike,
|
|
483
|
+
account: string,
|
|
484
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
485
|
+
): Promise<BigNumber>;
|
|
486
|
+
|
|
487
|
+
hasRole(
|
|
488
|
+
role: BytesLike,
|
|
489
|
+
account: string,
|
|
490
|
+
overrides?: CallOverrides
|
|
491
|
+
): Promise<BigNumber>;
|
|
492
|
+
|
|
493
|
+
initialize(
|
|
494
|
+
governance: string,
|
|
495
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
496
|
+
): Promise<BigNumber>;
|
|
497
|
+
|
|
498
|
+
pause(
|
|
499
|
+
addrs: string[],
|
|
500
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
501
|
+
): Promise<BigNumber>;
|
|
502
|
+
|
|
503
|
+
proxiableUUID(overrides?: CallOverrides): Promise<BigNumber>;
|
|
504
|
+
|
|
505
|
+
renounceRole(
|
|
506
|
+
role: BytesLike,
|
|
507
|
+
account: string,
|
|
508
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
509
|
+
): Promise<BigNumber>;
|
|
510
|
+
|
|
511
|
+
revokeRole(
|
|
512
|
+
role: BytesLike,
|
|
513
|
+
account: string,
|
|
514
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
515
|
+
): Promise<BigNumber>;
|
|
516
|
+
|
|
517
|
+
supportsInterface(
|
|
518
|
+
interfaceId: BytesLike,
|
|
519
|
+
overrides?: CallOverrides
|
|
520
|
+
): Promise<BigNumber>;
|
|
521
|
+
|
|
522
|
+
upgradeTo(
|
|
523
|
+
newImplementation: string,
|
|
524
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
525
|
+
): Promise<BigNumber>;
|
|
526
|
+
|
|
527
|
+
upgradeToAndCall(
|
|
528
|
+
newImplementation: string,
|
|
529
|
+
data: BytesLike,
|
|
530
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
531
|
+
): Promise<BigNumber>;
|
|
532
|
+
};
|
|
533
|
+
|
|
534
|
+
populateTransaction: {
|
|
535
|
+
DEFAULT_ADMIN_ROLE(
|
|
536
|
+
overrides?: CallOverrides
|
|
537
|
+
): Promise<PopulatedTransaction>;
|
|
538
|
+
|
|
539
|
+
GUARDIAN(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
540
|
+
|
|
541
|
+
aggregate(
|
|
542
|
+
calls: IPGovernanceProxy.CallStruct[],
|
|
543
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
544
|
+
): Promise<PopulatedTransaction>;
|
|
545
|
+
|
|
546
|
+
getRoleAdmin(
|
|
547
|
+
role: BytesLike,
|
|
548
|
+
overrides?: CallOverrides
|
|
549
|
+
): Promise<PopulatedTransaction>;
|
|
550
|
+
|
|
551
|
+
grantRole(
|
|
552
|
+
role: BytesLike,
|
|
553
|
+
account: string,
|
|
554
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
555
|
+
): Promise<PopulatedTransaction>;
|
|
556
|
+
|
|
557
|
+
hasRole(
|
|
558
|
+
role: BytesLike,
|
|
559
|
+
account: string,
|
|
560
|
+
overrides?: CallOverrides
|
|
561
|
+
): Promise<PopulatedTransaction>;
|
|
562
|
+
|
|
563
|
+
initialize(
|
|
564
|
+
governance: string,
|
|
565
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
566
|
+
): Promise<PopulatedTransaction>;
|
|
567
|
+
|
|
568
|
+
pause(
|
|
569
|
+
addrs: string[],
|
|
570
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
571
|
+
): Promise<PopulatedTransaction>;
|
|
572
|
+
|
|
573
|
+
proxiableUUID(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
574
|
+
|
|
575
|
+
renounceRole(
|
|
576
|
+
role: BytesLike,
|
|
577
|
+
account: string,
|
|
578
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
579
|
+
): Promise<PopulatedTransaction>;
|
|
580
|
+
|
|
581
|
+
revokeRole(
|
|
582
|
+
role: BytesLike,
|
|
583
|
+
account: string,
|
|
584
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
585
|
+
): Promise<PopulatedTransaction>;
|
|
586
|
+
|
|
587
|
+
supportsInterface(
|
|
588
|
+
interfaceId: BytesLike,
|
|
589
|
+
overrides?: CallOverrides
|
|
590
|
+
): Promise<PopulatedTransaction>;
|
|
591
|
+
|
|
592
|
+
upgradeTo(
|
|
593
|
+
newImplementation: string,
|
|
594
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
595
|
+
): Promise<PopulatedTransaction>;
|
|
596
|
+
|
|
597
|
+
upgradeToAndCall(
|
|
598
|
+
newImplementation: string,
|
|
599
|
+
data: BytesLike,
|
|
600
|
+
overrides?: PayableOverrides & { from?: string | Promise<string> }
|
|
601
|
+
): Promise<PopulatedTransaction>;
|
|
602
|
+
};
|
|
603
|
+
}
|