@skalenetwork/upgrade-tools 3.0.0-linter.4 → 3.0.0-linter.41
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/dist/hardhat.config.d.ts +2 -2
- package/dist/hardhat.config.js +5 -3
- package/dist/hardhat.config.js.map +1 -0
- package/dist/src/abi.d.ts +2 -2
- package/dist/src/abi.js +4 -3
- package/dist/src/abi.js.map +1 -0
- package/dist/src/contractFactory.d.ts +4 -0
- package/dist/src/contractFactory.js +84 -0
- package/dist/src/contractFactory.js.map +1 -0
- package/dist/src/deploy.d.ts +4 -4
- package/dist/src/deploy.js +56 -62
- package/dist/src/deploy.js.map +1 -0
- package/dist/src/exitCodes.d.ts +7 -0
- package/dist/src/exitCodes.js +12 -0
- package/dist/src/exitCodes.js.map +1 -0
- package/dist/src/gnosis-safe.d.ts +2 -2
- package/dist/src/gnosis-safe.js +113 -104
- package/dist/src/gnosis-safe.js.map +1 -0
- package/dist/src/index.d.ts +0 -1
- package/dist/src/index.js +1 -1
- package/dist/src/index.js.map +1 -0
- package/dist/src/nonceProvider.d.ts +10 -0
- package/dist/src/nonceProvider.js +34 -0
- package/dist/src/nonceProvider.js.map +1 -0
- package/dist/src/submitters/auto-submitter.d.ts +18 -5
- package/dist/src/submitters/auto-submitter.js +107 -95
- package/dist/src/submitters/auto-submitter.js.map +1 -0
- package/dist/src/submitters/eoa-submitter.d.ts +2 -2
- package/dist/src/submitters/eoa-submitter.js +15 -13
- package/dist/src/submitters/eoa-submitter.js.map +1 -0
- package/dist/src/submitters/index.js +1 -0
- package/dist/src/submitters/index.js.map +1 -0
- package/dist/src/submitters/safe-ima-legacy-marionette-submitter.d.ts +4 -3
- package/dist/src/submitters/safe-ima-legacy-marionette-submitter.js +14 -19
- package/dist/src/submitters/safe-ima-legacy-marionette-submitter.js.map +1 -0
- package/dist/src/submitters/safe-ima-marionette-submitter.d.ts +3 -3
- package/dist/src/submitters/safe-ima-marionette-submitter.js +12 -16
- package/dist/src/submitters/safe-ima-marionette-submitter.js.map +1 -0
- package/dist/src/submitters/safe-submitter.d.ts +4 -4
- package/dist/src/submitters/safe-submitter.js +3 -2
- package/dist/src/submitters/safe-submitter.js.map +1 -0
- package/dist/src/submitters/safe-to-ima-submitter.d.ts +11 -6
- package/dist/src/submitters/safe-to-ima-submitter.js +18 -13
- package/dist/src/submitters/safe-to-ima-submitter.js.map +1 -0
- package/dist/src/submitters/submitter.d.ts +3 -3
- package/dist/src/submitters/submitter.js +10 -6
- package/dist/src/submitters/submitter.js.map +1 -0
- package/dist/src/submitters/types/marionette.d.ts +6 -3
- package/dist/src/submitters/types/marionette.js +1 -0
- package/dist/src/submitters/types/marionette.js.map +1 -0
- package/dist/src/types/SkaleManifestData.js +1 -0
- package/dist/src/types/SkaleManifestData.js.map +1 -0
- package/dist/src/upgrader.d.ts +29 -5
- package/dist/src/upgrader.js +143 -101
- package/dist/src/upgrader.js.map +1 -0
- package/dist/src/verification.d.ts +2 -2
- package/dist/src/verification.js +53 -28
- package/dist/src/verification.js.map +1 -0
- package/dist/src/version.js +9 -6
- package/dist/src/version.js.map +1 -0
- package/dist/typechain-types/AdminUpgradeabilityProxy.d.ts +59 -54
- package/dist/typechain-types/AdminUpgradeabilityProxy.js +1 -0
- package/dist/typechain-types/AdminUpgradeabilityProxy.js.map +1 -0
- package/dist/typechain-types/ProxyAdmin.d.ts +94 -137
- package/dist/typechain-types/ProxyAdmin.js +1 -0
- package/dist/typechain-types/ProxyAdmin.js.map +1 -0
- package/dist/typechain-types/common.d.ts +40 -11
- package/dist/typechain-types/common.js +1 -0
- package/dist/typechain-types/common.js.map +1 -0
- package/dist/typechain-types/factories/AdminUpgradeabilityProxy__factory.d.ts +71 -41
- package/dist/typechain-types/factories/AdminUpgradeabilityProxy__factory.js +8 -11
- package/dist/typechain-types/factories/AdminUpgradeabilityProxy__factory.js.map +1 -0
- package/dist/typechain-types/factories/ProxyAdmin__factory.d.ts +129 -41
- package/dist/typechain-types/factories/ProxyAdmin__factory.js +8 -11
- package/dist/typechain-types/factories/ProxyAdmin__factory.js.map +1 -0
- package/dist/typechain-types/factories/index.d.ts +2 -0
- package/dist/typechain-types/factories/index.js +11 -0
- package/dist/typechain-types/factories/index.js.map +1 -0
- package/dist/typechain-types/index.d.ts +1 -0
- package/dist/typechain-types/index.js +26 -1
- package/dist/typechain-types/index.js.map +1 -0
- package/package.json +15 -14
- package/dist/src/multiSend.d.ts +0 -2
- package/dist/src/multiSend.js +0 -47
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":";;;;;;AAAA,2BAA8C;AAC9C,iDAAgD;AAChD,gDAAwB;AAGxB,MAAM,IAAI,GAAG,cAAI,CAAC,SAAS,CAAC,oBAAS,CAAC,CAAC;AAEvC,MAAM,eAAgB,SAAQ,KAAK;CAAG;AAEtC,MAAM,kBAAkB,GAAG,KAAK,EAAE,MAAe,EAAmB,EAAE;IAClE,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE;QAC/B,OAAO,kBAAkB,CAAC,CACtB,MAAM,IAAI,CAAC,+BAA+B,CAAC,CAC9C,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,CAAC;KACpB;IACD,MAAM,gBAAgB,GAAG,SAAS,CAAC;IACnC,MAAM,IAAI,GAAG,GAAG,MAAM,IAAI,gBAAgB,EAAE,CAAC;IAC7C,IAAI,IAAA,eAAU,EAAC,IAAI,CAAC,EAAE;QAClB,OAAO,IAAI,CAAC;KACf;IACD,KAAK,MAAM,KAAK,IAAI,MAAM,aAAE,CAAC,OAAO,CAChC,MAAM,EACN;QACI,WAAW,EAAE,IAAI;QACjB,eAAe,EAAE,IAAI;KACxB,CACJ,EAAE;QACC,IAAI,KAAK,CAAC,MAAM,EAAE,IAAI,KAAK,CAAC,IAAI,KAAK,gBAAgB,EAAE;YACnD,OAAO,GAAG,KAAK,CAAC,IAAI,IAAI,KAAK,CAAC,IAAI,EAAE,CAAC;SACxC;KACJ;IACD,MAAM,IAAI,eAAe,CAAC,yBAAyB,CAAC,CAAC;AACzD,CAAC,CAAC;AAEK,MAAM,UAAU,GAAG,KAAK,IAAI,EAAE;IACjC,IAAI,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE;QACrB,OAAO,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC;KAC9B;IACD,IAAI;QACA,MAAM,GAAG,GAAG,CAAC,MAAM,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;QAC9D,OAAO,GAAG,CAAC;KACd;IAAC,MAAM;QACJ,OAAO,CAAC,MAAM,aAAE,CAAC,QAAQ,CACrB,MAAM,kBAAkB,EAAE,EAC1B,OAAO,CACV,CAAC,CAAC,IAAI,EAAE,CAAC;KACb;AACL,CAAC,CAAC;AAbW,QAAA,UAAU,cAarB"}
|
|
@@ -1,60 +1,65 @@
|
|
|
1
|
-
import { BaseContract,
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import type { BaseContract, FunctionFragment, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener } from "./common";
|
|
3
|
+
export interface AdminUpgradeabilityProxyInterface extends Interface {
|
|
4
|
+
getEvent(nameOrSignatureOrTopic: "AdminChanged" | "BeaconUpgraded" | "Upgraded"): EventFragment;
|
|
5
|
+
}
|
|
6
|
+
export declare namespace AdminChangedEvent {
|
|
7
|
+
type InputTuple = [previousAdmin: AddressLike, newAdmin: AddressLike];
|
|
8
|
+
type OutputTuple = [previousAdmin: string, newAdmin: string];
|
|
9
|
+
interface OutputObject {
|
|
10
|
+
previousAdmin: string;
|
|
11
|
+
newAdmin: string;
|
|
12
|
+
}
|
|
13
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
14
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
15
|
+
type Log = TypedEventLog<Event>;
|
|
16
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
17
|
+
}
|
|
18
|
+
export declare namespace BeaconUpgradedEvent {
|
|
19
|
+
type InputTuple = [beacon: AddressLike];
|
|
20
|
+
type OutputTuple = [beacon: string];
|
|
21
|
+
interface OutputObject {
|
|
22
|
+
beacon: string;
|
|
23
|
+
}
|
|
24
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
25
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
26
|
+
type Log = TypedEventLog<Event>;
|
|
27
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
28
|
+
}
|
|
29
|
+
export declare namespace UpgradedEvent {
|
|
30
|
+
type InputTuple = [implementation: AddressLike];
|
|
31
|
+
type OutputTuple = [implementation: string];
|
|
32
|
+
interface OutputObject {
|
|
33
|
+
implementation: string;
|
|
34
|
+
}
|
|
35
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
36
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
37
|
+
type Log = TypedEventLog<Event>;
|
|
38
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
16
39
|
}
|
|
17
|
-
export type AdminChangedEvent = TypedEvent<[
|
|
18
|
-
string,
|
|
19
|
-
string
|
|
20
|
-
], {
|
|
21
|
-
previousAdmin: string;
|
|
22
|
-
newAdmin: string;
|
|
23
|
-
}>;
|
|
24
|
-
export type AdminChangedEventFilter = TypedEventFilter<AdminChangedEvent>;
|
|
25
|
-
export type BeaconUpgradedEvent = TypedEvent<[string], {
|
|
26
|
-
beacon: string;
|
|
27
|
-
}>;
|
|
28
|
-
export type BeaconUpgradedEventFilter = TypedEventFilter<BeaconUpgradedEvent>;
|
|
29
|
-
export type UpgradedEvent = TypedEvent<[string], {
|
|
30
|
-
implementation: string;
|
|
31
|
-
}>;
|
|
32
|
-
export type UpgradedEventFilter = TypedEventFilter<UpgradedEvent>;
|
|
33
40
|
export interface AdminUpgradeabilityProxy extends BaseContract {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
attach(addressOrName: string): this;
|
|
37
|
-
deployed(): Promise<this>;
|
|
41
|
+
connect(runner?: ContractRunner | null): AdminUpgradeabilityProxy;
|
|
42
|
+
waitForDeployment(): Promise<this>;
|
|
38
43
|
interface: AdminUpgradeabilityProxyInterface;
|
|
39
|
-
queryFilter<
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
44
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
45
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
46
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
47
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
48
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
49
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
50
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
51
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
52
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
53
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
54
|
+
getEvent(key: "AdminChanged"): TypedContractEvent<AdminChangedEvent.InputTuple, AdminChangedEvent.OutputTuple, AdminChangedEvent.OutputObject>;
|
|
55
|
+
getEvent(key: "BeaconUpgraded"): TypedContractEvent<BeaconUpgradedEvent.InputTuple, BeaconUpgradedEvent.OutputTuple, BeaconUpgradedEvent.OutputObject>;
|
|
56
|
+
getEvent(key: "Upgraded"): TypedContractEvent<UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject>;
|
|
50
57
|
filters: {
|
|
51
|
-
"AdminChanged(address,address)"
|
|
52
|
-
AdminChanged
|
|
53
|
-
"BeaconUpgraded(address)"
|
|
54
|
-
BeaconUpgraded
|
|
55
|
-
"Upgraded(address)"
|
|
56
|
-
Upgraded
|
|
58
|
+
"AdminChanged(address,address)": TypedContractEvent<AdminChangedEvent.InputTuple, AdminChangedEvent.OutputTuple, AdminChangedEvent.OutputObject>;
|
|
59
|
+
AdminChanged: TypedContractEvent<AdminChangedEvent.InputTuple, AdminChangedEvent.OutputTuple, AdminChangedEvent.OutputObject>;
|
|
60
|
+
"BeaconUpgraded(address)": TypedContractEvent<BeaconUpgradedEvent.InputTuple, BeaconUpgradedEvent.OutputTuple, BeaconUpgradedEvent.OutputObject>;
|
|
61
|
+
BeaconUpgraded: TypedContractEvent<BeaconUpgradedEvent.InputTuple, BeaconUpgradedEvent.OutputTuple, BeaconUpgradedEvent.OutputObject>;
|
|
62
|
+
"Upgraded(address)": TypedContractEvent<UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject>;
|
|
63
|
+
Upgraded: TypedContractEvent<UpgradedEvent.InputTuple, UpgradedEvent.OutputTuple, UpgradedEvent.OutputObject>;
|
|
57
64
|
};
|
|
58
|
-
estimateGas: {};
|
|
59
|
-
populateTransaction: {};
|
|
60
65
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AdminUpgradeabilityProxy.js","sourceRoot":"","sources":["../../typechain-types/AdminUpgradeabilityProxy.ts"],"names":[],"mappings":""}
|
|
@@ -1,27 +1,16 @@
|
|
|
1
|
-
import { BaseContract,
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
"getProxyAdmin(address)": FunctionFragment;
|
|
10
|
-
"getProxyImplementation(address)": FunctionFragment;
|
|
11
|
-
"owner()": FunctionFragment;
|
|
12
|
-
"renounceOwnership()": FunctionFragment;
|
|
13
|
-
"transferOwnership(address)": FunctionFragment;
|
|
14
|
-
"upgrade(address,address)": FunctionFragment;
|
|
15
|
-
"upgradeAndCall(address,address,bytes)": FunctionFragment;
|
|
16
|
-
};
|
|
17
|
-
encodeFunctionData(functionFragment: "changeProxyAdmin", values: [string, string]): string;
|
|
18
|
-
encodeFunctionData(functionFragment: "getProxyAdmin", values: [string]): string;
|
|
19
|
-
encodeFunctionData(functionFragment: "getProxyImplementation", values: [string]): string;
|
|
1
|
+
import type { BaseContract, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "./common";
|
|
3
|
+
export interface ProxyAdminInterface extends Interface {
|
|
4
|
+
getFunction(nameOrSignature: "changeProxyAdmin" | "getProxyAdmin" | "getProxyImplementation" | "owner" | "renounceOwnership" | "transferOwnership" | "upgrade" | "upgradeAndCall"): FunctionFragment;
|
|
5
|
+
getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment;
|
|
6
|
+
encodeFunctionData(functionFragment: "changeProxyAdmin", values: [AddressLike, AddressLike]): string;
|
|
7
|
+
encodeFunctionData(functionFragment: "getProxyAdmin", values: [AddressLike]): string;
|
|
8
|
+
encodeFunctionData(functionFragment: "getProxyImplementation", values: [AddressLike]): string;
|
|
20
9
|
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
|
|
21
10
|
encodeFunctionData(functionFragment: "renounceOwnership", values?: undefined): string;
|
|
22
|
-
encodeFunctionData(functionFragment: "transferOwnership", values: [
|
|
23
|
-
encodeFunctionData(functionFragment: "upgrade", values: [
|
|
24
|
-
encodeFunctionData(functionFragment: "upgradeAndCall", values: [
|
|
11
|
+
encodeFunctionData(functionFragment: "transferOwnership", values: [AddressLike]): string;
|
|
12
|
+
encodeFunctionData(functionFragment: "upgrade", values: [AddressLike, AddressLike]): string;
|
|
13
|
+
encodeFunctionData(functionFragment: "upgradeAndCall", values: [AddressLike, AddressLike, BytesLike]): string;
|
|
25
14
|
decodeFunctionResult(functionFragment: "changeProxyAdmin", data: BytesLike): Result;
|
|
26
15
|
decodeFunctionResult(functionFragment: "getProxyAdmin", data: BytesLike): Result;
|
|
27
16
|
decodeFunctionResult(functionFragment: "getProxyImplementation", data: BytesLike): Result;
|
|
@@ -30,124 +19,92 @@ export interface ProxyAdminInterface extends utils.Interface {
|
|
|
30
19
|
decodeFunctionResult(functionFragment: "transferOwnership", data: BytesLike): Result;
|
|
31
20
|
decodeFunctionResult(functionFragment: "upgrade", data: BytesLike): Result;
|
|
32
21
|
decodeFunctionResult(functionFragment: "upgradeAndCall", data: BytesLike): Result;
|
|
33
|
-
events: {
|
|
34
|
-
"OwnershipTransferred(address,address)": EventFragment;
|
|
35
|
-
};
|
|
36
|
-
getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment;
|
|
37
22
|
}
|
|
38
|
-
export
|
|
39
|
-
|
|
40
|
-
string
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
}
|
|
45
|
-
|
|
23
|
+
export declare namespace OwnershipTransferredEvent {
|
|
24
|
+
type InputTuple = [previousOwner: AddressLike, newOwner: AddressLike];
|
|
25
|
+
type OutputTuple = [previousOwner: string, newOwner: string];
|
|
26
|
+
interface OutputObject {
|
|
27
|
+
previousOwner: string;
|
|
28
|
+
newOwner: string;
|
|
29
|
+
}
|
|
30
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
31
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
32
|
+
type Log = TypedEventLog<Event>;
|
|
33
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
34
|
+
}
|
|
46
35
|
export interface ProxyAdmin extends BaseContract {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
attach(addressOrName: string): this;
|
|
50
|
-
deployed(): Promise<this>;
|
|
36
|
+
connect(runner?: ContractRunner | null): ProxyAdmin;
|
|
37
|
+
waitForDeployment(): Promise<this>;
|
|
51
38
|
interface: ProxyAdminInterface;
|
|
52
|
-
queryFilter<
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
39
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
40
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
41
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
42
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
43
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
44
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
45
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
46
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
47
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
48
|
+
changeProxyAdmin: TypedContractMethod<[
|
|
49
|
+
proxy: AddressLike,
|
|
50
|
+
newAdmin: AddressLike
|
|
51
|
+
], [
|
|
52
|
+
void
|
|
53
|
+
], "nonpayable">;
|
|
54
|
+
getProxyAdmin: TypedContractMethod<[proxy: AddressLike], [string], "view">;
|
|
55
|
+
getProxyImplementation: TypedContractMethod<[
|
|
56
|
+
proxy: AddressLike
|
|
57
|
+
], [
|
|
58
|
+
string
|
|
59
|
+
], "view">;
|
|
60
|
+
owner: TypedContractMethod<[], [string], "view">;
|
|
61
|
+
renounceOwnership: TypedContractMethod<[], [void], "nonpayable">;
|
|
62
|
+
transferOwnership: TypedContractMethod<[
|
|
63
|
+
newOwner: AddressLike
|
|
64
|
+
], [
|
|
65
|
+
void
|
|
66
|
+
], "nonpayable">;
|
|
67
|
+
upgrade: TypedContractMethod<[
|
|
68
|
+
proxy: AddressLike,
|
|
69
|
+
implementation: AddressLike
|
|
70
|
+
], [
|
|
71
|
+
void
|
|
72
|
+
], "nonpayable">;
|
|
73
|
+
upgradeAndCall: TypedContractMethod<[
|
|
74
|
+
proxy: AddressLike,
|
|
75
|
+
implementation: AddressLike,
|
|
76
|
+
data: BytesLike
|
|
77
|
+
], [
|
|
78
|
+
void
|
|
79
|
+
], "payable">;
|
|
80
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
81
|
+
getFunction(nameOrSignature: "changeProxyAdmin"): TypedContractMethod<[
|
|
82
|
+
proxy: AddressLike,
|
|
83
|
+
newAdmin: AddressLike
|
|
84
|
+
], [
|
|
85
|
+
void
|
|
86
|
+
], "nonpayable">;
|
|
87
|
+
getFunction(nameOrSignature: "getProxyAdmin"): TypedContractMethod<[proxy: AddressLike], [string], "view">;
|
|
88
|
+
getFunction(nameOrSignature: "getProxyImplementation"): TypedContractMethod<[proxy: AddressLike], [string], "view">;
|
|
89
|
+
getFunction(nameOrSignature: "owner"): TypedContractMethod<[], [string], "view">;
|
|
90
|
+
getFunction(nameOrSignature: "renounceOwnership"): TypedContractMethod<[], [void], "nonpayable">;
|
|
91
|
+
getFunction(nameOrSignature: "transferOwnership"): TypedContractMethod<[newOwner: AddressLike], [void], "nonpayable">;
|
|
92
|
+
getFunction(nameOrSignature: "upgrade"): TypedContractMethod<[
|
|
93
|
+
proxy: AddressLike,
|
|
94
|
+
implementation: AddressLike
|
|
95
|
+
], [
|
|
96
|
+
void
|
|
97
|
+
], "nonpayable">;
|
|
98
|
+
getFunction(nameOrSignature: "upgradeAndCall"): TypedContractMethod<[
|
|
99
|
+
proxy: AddressLike,
|
|
100
|
+
implementation: AddressLike,
|
|
101
|
+
data: BytesLike
|
|
102
|
+
], [
|
|
103
|
+
void
|
|
104
|
+
], "payable">;
|
|
105
|
+
getEvent(key: "OwnershipTransferred"): TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
|
109
106
|
filters: {
|
|
110
|
-
"OwnershipTransferred(address,address)"
|
|
111
|
-
OwnershipTransferred
|
|
112
|
-
};
|
|
113
|
-
estimateGas: {
|
|
114
|
-
changeProxyAdmin(proxy: string, newAdmin: string, overrides?: Overrides & {
|
|
115
|
-
from?: string | Promise<string>;
|
|
116
|
-
}): Promise<BigNumber>;
|
|
117
|
-
getProxyAdmin(proxy: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
118
|
-
getProxyImplementation(proxy: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
119
|
-
owner(overrides?: CallOverrides): Promise<BigNumber>;
|
|
120
|
-
renounceOwnership(overrides?: Overrides & {
|
|
121
|
-
from?: string | Promise<string>;
|
|
122
|
-
}): Promise<BigNumber>;
|
|
123
|
-
transferOwnership(newOwner: string, overrides?: Overrides & {
|
|
124
|
-
from?: string | Promise<string>;
|
|
125
|
-
}): Promise<BigNumber>;
|
|
126
|
-
upgrade(proxy: string, implementation: string, overrides?: Overrides & {
|
|
127
|
-
from?: string | Promise<string>;
|
|
128
|
-
}): Promise<BigNumber>;
|
|
129
|
-
upgradeAndCall(proxy: string, implementation: string, data: BytesLike, overrides?: PayableOverrides & {
|
|
130
|
-
from?: string | Promise<string>;
|
|
131
|
-
}): Promise<BigNumber>;
|
|
132
|
-
};
|
|
133
|
-
populateTransaction: {
|
|
134
|
-
changeProxyAdmin(proxy: string, newAdmin: string, overrides?: Overrides & {
|
|
135
|
-
from?: string | Promise<string>;
|
|
136
|
-
}): Promise<PopulatedTransaction>;
|
|
137
|
-
getProxyAdmin(proxy: string, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
138
|
-
getProxyImplementation(proxy: string, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
139
|
-
owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
140
|
-
renounceOwnership(overrides?: Overrides & {
|
|
141
|
-
from?: string | Promise<string>;
|
|
142
|
-
}): Promise<PopulatedTransaction>;
|
|
143
|
-
transferOwnership(newOwner: string, overrides?: Overrides & {
|
|
144
|
-
from?: string | Promise<string>;
|
|
145
|
-
}): Promise<PopulatedTransaction>;
|
|
146
|
-
upgrade(proxy: string, implementation: string, overrides?: Overrides & {
|
|
147
|
-
from?: string | Promise<string>;
|
|
148
|
-
}): Promise<PopulatedTransaction>;
|
|
149
|
-
upgradeAndCall(proxy: string, implementation: string, data: BytesLike, overrides?: PayableOverrides & {
|
|
150
|
-
from?: string | Promise<string>;
|
|
151
|
-
}): Promise<PopulatedTransaction>;
|
|
107
|
+
"OwnershipTransferred(address,address)": TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
|
108
|
+
OwnershipTransferred: TypedContractEvent<OwnershipTransferredEvent.InputTuple, OwnershipTransferredEvent.OutputTuple, OwnershipTransferredEvent.OutputObject>;
|
|
152
109
|
};
|
|
153
110
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProxyAdmin.js","sourceRoot":"","sources":["../../typechain-types/ProxyAdmin.ts"],"names":[],"mappings":""}
|
|
@@ -1,21 +1,50 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
export interface TypedEvent<TArgsArray extends Array<any> = any, TArgsObject = any> extends Event {
|
|
4
|
-
args: TArgsArray & TArgsObject;
|
|
1
|
+
import type { FunctionFragment, Typed, EventFragment, ContractTransaction, ContractTransactionResponse, DeferredTopicFilter, EventLog, TransactionRequest, LogDescription } from "ethers";
|
|
2
|
+
export interface TypedDeferredTopicFilter<_TCEvent extends TypedContractEvent> extends DeferredTopicFilter {
|
|
5
3
|
}
|
|
6
|
-
export interface
|
|
4
|
+
export interface TypedContractEvent<InputTuple extends Array<any> = any, OutputTuple extends Array<any> = any, OutputObject = any> {
|
|
5
|
+
(...args: Partial<InputTuple>): TypedDeferredTopicFilter<TypedContractEvent<InputTuple, OutputTuple, OutputObject>>;
|
|
6
|
+
name: string;
|
|
7
|
+
fragment: EventFragment;
|
|
8
|
+
getFragment(...args: Partial<InputTuple>): EventFragment;
|
|
7
9
|
}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
+
type __TypechainAOutputTuple<T> = T extends TypedContractEvent<infer _U, infer W> ? W : never;
|
|
11
|
+
type __TypechainOutputObject<T> = T extends TypedContractEvent<infer _U, infer _W, infer V> ? V : never;
|
|
12
|
+
export interface TypedEventLog<TCEvent extends TypedContractEvent> extends Omit<EventLog, "args"> {
|
|
13
|
+
args: __TypechainAOutputTuple<TCEvent> & __TypechainOutputObject<TCEvent>;
|
|
10
14
|
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
<TEvent extends TypedEvent>(eventFilter: TypedEventFilter<TEvent>, listener: TypedListener<TEvent>): TRes;
|
|
14
|
-
(eventName: string, listener: Listener): TRes;
|
|
15
|
+
export interface TypedLogDescription<TCEvent extends TypedContractEvent> extends Omit<LogDescription, "args"> {
|
|
16
|
+
args: __TypechainAOutputTuple<TCEvent> & __TypechainOutputObject<TCEvent>;
|
|
15
17
|
}
|
|
18
|
+
export type TypedListener<TCEvent extends TypedContractEvent> = (...listenerArg: [
|
|
19
|
+
...__TypechainAOutputTuple<TCEvent>,
|
|
20
|
+
TypedEventLog<TCEvent>,
|
|
21
|
+
...undefined[]
|
|
22
|
+
]) => void;
|
|
16
23
|
export type MinEthersFactory<C, ARGS> = {
|
|
17
24
|
deploy(...a: ARGS[]): Promise<C>;
|
|
18
25
|
};
|
|
19
26
|
export type GetContractTypeFromFactory<F> = F extends MinEthersFactory<infer C, any> ? C : never;
|
|
20
27
|
export type GetARGsTypeFromFactory<F> = F extends MinEthersFactory<any, any> ? Parameters<F["deploy"]> : never;
|
|
28
|
+
export type StateMutability = "nonpayable" | "payable" | "view";
|
|
29
|
+
export type BaseOverrides = Omit<TransactionRequest, "to" | "data">;
|
|
30
|
+
export type NonPayableOverrides = Omit<BaseOverrides, "value" | "blockTag" | "enableCcipRead">;
|
|
31
|
+
export type PayableOverrides = Omit<BaseOverrides, "blockTag" | "enableCcipRead">;
|
|
32
|
+
export type ViewOverrides = Omit<TransactionRequest, "to" | "data">;
|
|
33
|
+
export type Overrides<S extends StateMutability> = S extends "nonpayable" ? NonPayableOverrides : S extends "payable" ? PayableOverrides : ViewOverrides;
|
|
34
|
+
export type PostfixOverrides<A extends Array<any>, S extends StateMutability> = A | [...A, Overrides<S>];
|
|
35
|
+
export type ContractMethodArgs<A extends Array<any>, S extends StateMutability> = PostfixOverrides<{
|
|
36
|
+
[I in keyof A]-?: A[I] | Typed;
|
|
37
|
+
}, S>;
|
|
38
|
+
export type DefaultReturnType<R> = R extends Array<any> ? R[0] : R;
|
|
39
|
+
export interface TypedContractMethod<A extends Array<any> = Array<any>, R = any, S extends StateMutability = "payable"> {
|
|
40
|
+
(...args: ContractMethodArgs<A, S>): S extends "view" ? Promise<DefaultReturnType<R>> : Promise<ContractTransactionResponse>;
|
|
41
|
+
name: string;
|
|
42
|
+
fragment: FunctionFragment;
|
|
43
|
+
getFragment(...args: ContractMethodArgs<A, S>): FunctionFragment;
|
|
44
|
+
populateTransaction(...args: ContractMethodArgs<A, S>): Promise<ContractTransaction>;
|
|
45
|
+
staticCall(...args: ContractMethodArgs<A, "view">): Promise<DefaultReturnType<R>>;
|
|
46
|
+
send(...args: ContractMethodArgs<A, S>): Promise<ContractTransactionResponse>;
|
|
47
|
+
estimateGas(...args: ContractMethodArgs<A, S>): Promise<bigint>;
|
|
48
|
+
staticCallResult(...args: ContractMethodArgs<A, "view">): Promise<R>;
|
|
49
|
+
}
|
|
21
50
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../typechain-types/common.ts"],"names":[],"mappings":""}
|
|
@@ -1,49 +1,79 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { ContractFactory, ContractTransactionResponse } from "ethers";
|
|
2
|
+
import type { Signer, BytesLike, AddressLike, ContractDeployTransaction, ContractRunner } from "ethers";
|
|
3
|
+
import type { PayableOverrides } from "../common";
|
|
3
4
|
import type { AdminUpgradeabilityProxy, AdminUpgradeabilityProxyInterface } from "../AdminUpgradeabilityProxy";
|
|
4
5
|
type AdminUpgradeabilityProxyConstructorParams = [signer?: Signer] | ConstructorParameters<typeof ContractFactory>;
|
|
5
6
|
export declare class AdminUpgradeabilityProxy__factory extends ContractFactory {
|
|
6
7
|
constructor(...args: AdminUpgradeabilityProxyConstructorParams);
|
|
7
|
-
|
|
8
|
-
from?: string
|
|
9
|
-
}): Promise<
|
|
10
|
-
|
|
11
|
-
from?: string
|
|
12
|
-
}):
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
readonly contractName: "AdminUpgradeabilityProxy";
|
|
8
|
+
getDeployTransaction(logic: AddressLike, admin: AddressLike, data: BytesLike, overrides?: PayableOverrides & {
|
|
9
|
+
from?: string;
|
|
10
|
+
}): Promise<ContractDeployTransaction>;
|
|
11
|
+
deploy(logic: AddressLike, admin: AddressLike, data: BytesLike, overrides?: PayableOverrides & {
|
|
12
|
+
from?: string;
|
|
13
|
+
}): Promise<AdminUpgradeabilityProxy & {
|
|
14
|
+
deploymentTransaction(): ContractTransactionResponse;
|
|
15
|
+
}>;
|
|
16
|
+
connect(runner: ContractRunner | null): AdminUpgradeabilityProxy__factory;
|
|
17
17
|
static readonly bytecode = "0x608060405260405162000ee038038062000ee08339810160408190526200002691620004a3565b8282828281620000398282600062000053565b506200004790508262000090565b505050505050620005d6565b6200005e83620000eb565b6000825111806200006c5750805b156200008b576200008983836200012d60201b620001791760201c565b505b505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f620000bb6200015c565b604080516001600160a01b03928316815291841660208301520160405180910390a1620000e88162000195565b50565b620000f6816200024a565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b606062000155838360405180606001604052806027815260200162000eb960279139620002fe565b9392505050565b60006200018660008051602062000e9983398151915260001b6200037d60201b620001a51760201c565b546001600160a01b0316919050565b6001600160a01b038116620002005760405162461bcd60e51b815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b806200022960008051602062000e9983398151915260001b6200037d60201b620001a51760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b62000260816200038060201b620001a81760201c565b620002c45760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401620001f7565b80620002297f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b6200037d60201b620001a51760201c565b6060600080856001600160a01b0316856040516200031d919062000583565b600060405180830381855af49150503d80600081146200035a576040519150601f19603f3d011682016040523d82523d6000602084013e6200035f565b606091505b50909250905062000373868383876200038f565b9695505050505050565b90565b6001600160a01b03163b151590565b6060831562000400578251620003f8576001600160a01b0385163b620003f85760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401620001f7565b50816200040c565b6200040c838362000414565b949350505050565b815115620004255781518083602001fd5b8060405162461bcd60e51b8152600401620001f79190620005a1565b80516001600160a01b03811681146200045957600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b838110156200049157818101518382015260200162000477565b83811115620000895750506000910152565b600080600060608486031215620004b957600080fd5b620004c48462000441565b9250620004d46020850162000441565b60408501519092506001600160401b0380821115620004f257600080fd5b818601915086601f8301126200050757600080fd5b8151818111156200051c576200051c6200045e565b604051601f8201601f19908116603f011681019083821181831017156200054757620005476200045e565b816040528281528960208487010111156200056157600080fd5b6200057483602083016020880162000474565b80955050505050509250925092565b600082516200059781846020870162000474565b9190910192915050565b6020815260008251806020840152620005c281604085016020870162000474565b601f01601f19169190910160400192915050565b6108b380620005e66000396000f3fe60806040523661001357610011610017565b005b6100115b61001f6101b7565b6001600160a01b0316336001600160a01b0316141561016f5760606001600160e01b031960003516631b2ce7f360e11b8114156100655761005e6101ea565b9150610167565b6001600160e01b0319811663278f794360e11b14156100865761005e610241565b6001600160e01b031981166308f2839760e41b14156100a75761005e610287565b6001600160e01b031981166303e1469160e61b14156100c85761005e6102b8565b6001600160e01b03198116635c60da1b60e01b14156100e95761005e6102f8565b60405162461bcd60e51b815260206004820152604260248201527f5472616e73706172656e745570677261646561626c6550726f78793a2061646d60448201527f696e2063616e6e6f742066616c6c6261636b20746f2070726f78792074617267606482015261195d60f21b608482015260a4015b60405180910390fd5b815160208301f35b61017761030c565b565b606061019e83836040518060600160405280602781526020016108576027913961031c565b9392505050565b90565b6001600160a01b03163b151590565b60007fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035b546001600160a01b0316919050565b60606101f4610394565b600061020336600481846106a2565b81019061021091906106e8565b905061022d8160405180602001604052806000815250600061039f565b505060408051602081019091526000815290565b606060008061025336600481846106a2565b8101906102609190610719565b915091506102708282600161039f565b604051806020016040528060008152509250505090565b6060610291610394565b60006102a036600481846106a2565b8101906102ad91906106e8565b905061022d816103cb565b60606102c2610394565b60006102cc6101b7565b604080516001600160a01b03831660208201529192500160405160208183030381529060405291505090565b6060610302610394565b60006102cc610422565b610177610317610422565b610431565b6060600080856001600160a01b0316856040516103399190610807565b600060405180830381855af49150503d8060008114610374576040519150601f19603f3d011682016040523d82523d6000602084013e610379565b606091505b509150915061038a86838387610455565b9695505050505050565b341561017757600080fd5b6103a8836104d3565b6000825111806103b55750805b156103c6576103c48383610179565b505b505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6103f46101b7565b604080516001600160a01b03928316815291841660208301520160405180910390a161041f81610513565b50565b600061042c6105bc565b905090565b3660008037600080366000845af43d6000803e808015610450573d6000f35b3d6000fd5b606083156104c15782516104ba576001600160a01b0385163b6104ba5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161015e565b50816104cb565b6104cb83836105e4565b949350505050565b6104dc8161060e565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6001600160a01b0381166105785760405162461bcd60e51b815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201526564647265737360d01b606482015260840161015e565b807fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035b80546001600160a01b0319166001600160a01b039290921691909117905550565b60007f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc6101db565b8151156105f45781518083602001fd5b8060405162461bcd60e51b815260040161015e9190610823565b6001600160a01b0381163b61067b5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b606482015260840161015e565b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc61059b565b600080858511156106b257600080fd5b838611156106bf57600080fd5b5050820193919092039150565b80356001600160a01b03811681146106e357600080fd5b919050565b6000602082840312156106fa57600080fd5b61019e826106cc565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561072c57600080fd5b610735836106cc565b9150602083013567ffffffffffffffff8082111561075257600080fd5b818501915085601f83011261076657600080fd5b81358181111561077857610778610703565b604051601f8201601f19908116603f011681019083821181831017156107a0576107a0610703565b816040528281528860208487010111156107b957600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b60005b838110156107f65781810151838201526020016107de565b838111156103c45750506000910152565b600082516108198184602087016107db565b9190910192915050565b60208152600082518060208401526108428160408501602087016107db565b601f01601f1916919091016040019291505056fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220c305b1ecbe12f30c701a08768fe5424f3f90ab320940a940a3ef1f7469a68ab164736f6c63430008090033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564";
|
|
18
|
-
static readonly abi:
|
|
19
|
-
inputs: {
|
|
20
|
-
internalType:
|
|
21
|
-
name:
|
|
22
|
-
type:
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
18
|
+
static readonly abi: readonly [{
|
|
19
|
+
readonly inputs: readonly [{
|
|
20
|
+
readonly internalType: "address";
|
|
21
|
+
readonly name: "logic";
|
|
22
|
+
readonly type: "address";
|
|
23
|
+
}, {
|
|
24
|
+
readonly internalType: "address";
|
|
25
|
+
readonly name: "admin";
|
|
26
|
+
readonly type: "address";
|
|
27
|
+
}, {
|
|
28
|
+
readonly internalType: "bytes";
|
|
29
|
+
readonly name: "data";
|
|
30
|
+
readonly type: "bytes";
|
|
31
|
+
}];
|
|
32
|
+
readonly stateMutability: "payable";
|
|
33
|
+
readonly type: "constructor";
|
|
34
|
+
}, {
|
|
35
|
+
readonly anonymous: false;
|
|
36
|
+
readonly inputs: readonly [{
|
|
37
|
+
readonly indexed: false;
|
|
38
|
+
readonly internalType: "address";
|
|
39
|
+
readonly name: "previousAdmin";
|
|
40
|
+
readonly type: "address";
|
|
41
|
+
}, {
|
|
42
|
+
readonly indexed: false;
|
|
43
|
+
readonly internalType: "address";
|
|
44
|
+
readonly name: "newAdmin";
|
|
45
|
+
readonly type: "address";
|
|
46
|
+
}];
|
|
47
|
+
readonly name: "AdminChanged";
|
|
48
|
+
readonly type: "event";
|
|
49
|
+
}, {
|
|
50
|
+
readonly anonymous: false;
|
|
51
|
+
readonly inputs: readonly [{
|
|
52
|
+
readonly indexed: true;
|
|
53
|
+
readonly internalType: "address";
|
|
54
|
+
readonly name: "beacon";
|
|
55
|
+
readonly type: "address";
|
|
56
|
+
}];
|
|
57
|
+
readonly name: "BeaconUpgraded";
|
|
58
|
+
readonly type: "event";
|
|
59
|
+
}, {
|
|
60
|
+
readonly anonymous: false;
|
|
61
|
+
readonly inputs: readonly [{
|
|
62
|
+
readonly indexed: true;
|
|
63
|
+
readonly internalType: "address";
|
|
64
|
+
readonly name: "implementation";
|
|
65
|
+
readonly type: "address";
|
|
66
|
+
}];
|
|
67
|
+
readonly name: "Upgraded";
|
|
68
|
+
readonly type: "event";
|
|
69
|
+
}, {
|
|
70
|
+
readonly stateMutability: "payable";
|
|
71
|
+
readonly type: "fallback";
|
|
72
|
+
}, {
|
|
73
|
+
readonly stateMutability: "payable";
|
|
74
|
+
readonly type: "receive";
|
|
75
|
+
}];
|
|
46
76
|
static createInterface(): AdminUpgradeabilityProxyInterface;
|
|
47
|
-
static connect(address: string,
|
|
77
|
+
static connect(address: string, runner?: ContractRunner | null): AdminUpgradeabilityProxy;
|
|
48
78
|
}
|
|
49
79
|
export {};
|