@skalenetwork/upgrade-tools 3.0.0-develop.0 → 3.0.0-safe-mock.0
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.js +0 -13
- package/dist/typechain-types/index.d.ts +0 -22
- package/dist/typechain-types/index.js +1 -23
- package/package.json +4 -7
- package/dist/typechain-types/AccessControlEnumerableUpgradeable.d.ts +0 -183
- package/dist/typechain-types/AccessControlEnumerableUpgradeable.js +0 -2
- package/dist/typechain-types/AccessControlUpgradeable.d.ts +0 -167
- package/dist/typechain-types/AccessControlUpgradeable.js +0 -2
- package/dist/typechain-types/ContextUpgradeable.d.ts +0 -40
- package/dist/typechain-types/ContextUpgradeable.js +0 -2
- package/dist/typechain-types/ERC165Upgradeable.d.ts +0 -53
- package/dist/typechain-types/ERC165Upgradeable.js +0 -2
- package/dist/typechain-types/IAccessControlEnumerableUpgradeable.d.ts +0 -159
- package/dist/typechain-types/IAccessControlEnumerableUpgradeable.js +0 -2
- package/dist/typechain-types/IAccessControlUpgradeable.d.ts +0 -143
- package/dist/typechain-types/IAccessControlUpgradeable.js +0 -2
- package/dist/typechain-types/IERC165Upgradeable.d.ts +0 -43
- package/dist/typechain-types/IERC165Upgradeable.js +0 -2
- package/dist/typechain-types/ISafeMock.d.ts +0 -86
- package/dist/typechain-types/ISafeMock.js +0 -2
- package/dist/typechain-types/Initializable.d.ts +0 -40
- package/dist/typechain-types/Initializable.js +0 -2
- package/dist/typechain-types/OwnableUpgradeable.d.ts +0 -97
- package/dist/typechain-types/OwnableUpgradeable.js +0 -2
- package/dist/typechain-types/SafeMock.d.ts +0 -172
- package/dist/typechain-types/SafeMock.js +0 -2
- package/dist/typechain-types/factories/AccessControlEnumerableUpgradeable__factory.d.ts +0 -35
- package/dist/typechain-types/factories/AccessControlEnumerableUpgradeable__factory.js +0 -279
- package/dist/typechain-types/factories/AccessControlUpgradeable__factory.d.ts +0 -35
- package/dist/typechain-types/factories/AccessControlUpgradeable__factory.js +0 -236
- package/dist/typechain-types/factories/ContextUpgradeable__factory.d.ts +0 -18
- package/dist/typechain-types/factories/ContextUpgradeable__factory.js +0 -32
- package/dist/typechain-types/factories/ERC165Upgradeable__factory.d.ts +0 -35
- package/dist/typechain-types/factories/ERC165Upgradeable__factory.js +0 -51
- package/dist/typechain-types/factories/IAccessControlEnumerableUpgradeable__factory.d.ts +0 -35
- package/dist/typechain-types/factories/IAccessControlEnumerableUpgradeable__factory.js +0 -234
- package/dist/typechain-types/factories/IAccessControlUpgradeable__factory.d.ts +0 -35
- package/dist/typechain-types/factories/IAccessControlUpgradeable__factory.js +0 -191
- package/dist/typechain-types/factories/IERC165Upgradeable__factory.d.ts +0 -22
- package/dist/typechain-types/factories/IERC165Upgradeable__factory.js +0 -38
- package/dist/typechain-types/factories/ISafeMock__factory.d.ts +0 -22
- package/dist/typechain-types/factories/ISafeMock__factory.js +0 -114
- package/dist/typechain-types/factories/Initializable__factory.d.ts +0 -18
- package/dist/typechain-types/factories/Initializable__factory.js +0 -32
- package/dist/typechain-types/factories/OwnableUpgradeable__factory.d.ts +0 -42
- package/dist/typechain-types/factories/OwnableUpgradeable__factory.js +0 -84
- package/dist/typechain-types/factories/SafeMock__factory.d.ts +0 -56
- package/dist/typechain-types/factories/SafeMock__factory.js +0 -247
|
@@ -1,236 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* Autogenerated file. Do not edit manually. */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.AccessControlUpgradeable__factory = void 0;
|
|
7
|
-
const ethers_1 = require("ethers");
|
|
8
|
-
const _abi = [
|
|
9
|
-
{
|
|
10
|
-
anonymous: false,
|
|
11
|
-
inputs: [
|
|
12
|
-
{
|
|
13
|
-
indexed: false,
|
|
14
|
-
internalType: "uint8",
|
|
15
|
-
name: "version",
|
|
16
|
-
type: "uint8",
|
|
17
|
-
},
|
|
18
|
-
],
|
|
19
|
-
name: "Initialized",
|
|
20
|
-
type: "event",
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
anonymous: false,
|
|
24
|
-
inputs: [
|
|
25
|
-
{
|
|
26
|
-
indexed: true,
|
|
27
|
-
internalType: "bytes32",
|
|
28
|
-
name: "role",
|
|
29
|
-
type: "bytes32",
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
indexed: true,
|
|
33
|
-
internalType: "bytes32",
|
|
34
|
-
name: "previousAdminRole",
|
|
35
|
-
type: "bytes32",
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
indexed: true,
|
|
39
|
-
internalType: "bytes32",
|
|
40
|
-
name: "newAdminRole",
|
|
41
|
-
type: "bytes32",
|
|
42
|
-
},
|
|
43
|
-
],
|
|
44
|
-
name: "RoleAdminChanged",
|
|
45
|
-
type: "event",
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
anonymous: false,
|
|
49
|
-
inputs: [
|
|
50
|
-
{
|
|
51
|
-
indexed: true,
|
|
52
|
-
internalType: "bytes32",
|
|
53
|
-
name: "role",
|
|
54
|
-
type: "bytes32",
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
indexed: true,
|
|
58
|
-
internalType: "address",
|
|
59
|
-
name: "account",
|
|
60
|
-
type: "address",
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
indexed: true,
|
|
64
|
-
internalType: "address",
|
|
65
|
-
name: "sender",
|
|
66
|
-
type: "address",
|
|
67
|
-
},
|
|
68
|
-
],
|
|
69
|
-
name: "RoleGranted",
|
|
70
|
-
type: "event",
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
anonymous: false,
|
|
74
|
-
inputs: [
|
|
75
|
-
{
|
|
76
|
-
indexed: true,
|
|
77
|
-
internalType: "bytes32",
|
|
78
|
-
name: "role",
|
|
79
|
-
type: "bytes32",
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
indexed: true,
|
|
83
|
-
internalType: "address",
|
|
84
|
-
name: "account",
|
|
85
|
-
type: "address",
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
indexed: true,
|
|
89
|
-
internalType: "address",
|
|
90
|
-
name: "sender",
|
|
91
|
-
type: "address",
|
|
92
|
-
},
|
|
93
|
-
],
|
|
94
|
-
name: "RoleRevoked",
|
|
95
|
-
type: "event",
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
inputs: [],
|
|
99
|
-
name: "DEFAULT_ADMIN_ROLE",
|
|
100
|
-
outputs: [
|
|
101
|
-
{
|
|
102
|
-
internalType: "bytes32",
|
|
103
|
-
name: "",
|
|
104
|
-
type: "bytes32",
|
|
105
|
-
},
|
|
106
|
-
],
|
|
107
|
-
stateMutability: "view",
|
|
108
|
-
type: "function",
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
inputs: [
|
|
112
|
-
{
|
|
113
|
-
internalType: "bytes32",
|
|
114
|
-
name: "role",
|
|
115
|
-
type: "bytes32",
|
|
116
|
-
},
|
|
117
|
-
],
|
|
118
|
-
name: "getRoleAdmin",
|
|
119
|
-
outputs: [
|
|
120
|
-
{
|
|
121
|
-
internalType: "bytes32",
|
|
122
|
-
name: "",
|
|
123
|
-
type: "bytes32",
|
|
124
|
-
},
|
|
125
|
-
],
|
|
126
|
-
stateMutability: "view",
|
|
127
|
-
type: "function",
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
inputs: [
|
|
131
|
-
{
|
|
132
|
-
internalType: "bytes32",
|
|
133
|
-
name: "role",
|
|
134
|
-
type: "bytes32",
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
internalType: "address",
|
|
138
|
-
name: "account",
|
|
139
|
-
type: "address",
|
|
140
|
-
},
|
|
141
|
-
],
|
|
142
|
-
name: "grantRole",
|
|
143
|
-
outputs: [],
|
|
144
|
-
stateMutability: "nonpayable",
|
|
145
|
-
type: "function",
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
inputs: [
|
|
149
|
-
{
|
|
150
|
-
internalType: "bytes32",
|
|
151
|
-
name: "role",
|
|
152
|
-
type: "bytes32",
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
internalType: "address",
|
|
156
|
-
name: "account",
|
|
157
|
-
type: "address",
|
|
158
|
-
},
|
|
159
|
-
],
|
|
160
|
-
name: "hasRole",
|
|
161
|
-
outputs: [
|
|
162
|
-
{
|
|
163
|
-
internalType: "bool",
|
|
164
|
-
name: "",
|
|
165
|
-
type: "bool",
|
|
166
|
-
},
|
|
167
|
-
],
|
|
168
|
-
stateMutability: "view",
|
|
169
|
-
type: "function",
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
inputs: [
|
|
173
|
-
{
|
|
174
|
-
internalType: "bytes32",
|
|
175
|
-
name: "role",
|
|
176
|
-
type: "bytes32",
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
internalType: "address",
|
|
180
|
-
name: "account",
|
|
181
|
-
type: "address",
|
|
182
|
-
},
|
|
183
|
-
],
|
|
184
|
-
name: "renounceRole",
|
|
185
|
-
outputs: [],
|
|
186
|
-
stateMutability: "nonpayable",
|
|
187
|
-
type: "function",
|
|
188
|
-
},
|
|
189
|
-
{
|
|
190
|
-
inputs: [
|
|
191
|
-
{
|
|
192
|
-
internalType: "bytes32",
|
|
193
|
-
name: "role",
|
|
194
|
-
type: "bytes32",
|
|
195
|
-
},
|
|
196
|
-
{
|
|
197
|
-
internalType: "address",
|
|
198
|
-
name: "account",
|
|
199
|
-
type: "address",
|
|
200
|
-
},
|
|
201
|
-
],
|
|
202
|
-
name: "revokeRole",
|
|
203
|
-
outputs: [],
|
|
204
|
-
stateMutability: "nonpayable",
|
|
205
|
-
type: "function",
|
|
206
|
-
},
|
|
207
|
-
{
|
|
208
|
-
inputs: [
|
|
209
|
-
{
|
|
210
|
-
internalType: "bytes4",
|
|
211
|
-
name: "interfaceId",
|
|
212
|
-
type: "bytes4",
|
|
213
|
-
},
|
|
214
|
-
],
|
|
215
|
-
name: "supportsInterface",
|
|
216
|
-
outputs: [
|
|
217
|
-
{
|
|
218
|
-
internalType: "bool",
|
|
219
|
-
name: "",
|
|
220
|
-
type: "bool",
|
|
221
|
-
},
|
|
222
|
-
],
|
|
223
|
-
stateMutability: "view",
|
|
224
|
-
type: "function",
|
|
225
|
-
},
|
|
226
|
-
];
|
|
227
|
-
class AccessControlUpgradeable__factory {
|
|
228
|
-
static createInterface() {
|
|
229
|
-
return new ethers_1.utils.Interface(_abi);
|
|
230
|
-
}
|
|
231
|
-
static connect(address, signerOrProvider) {
|
|
232
|
-
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
exports.AccessControlUpgradeable__factory = AccessControlUpgradeable__factory;
|
|
236
|
-
AccessControlUpgradeable__factory.abi = _abi;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Signer } from "ethers";
|
|
2
|
-
import { Provider } from "@ethersproject/providers";
|
|
3
|
-
import type { ContextUpgradeable, ContextUpgradeableInterface } from "../ContextUpgradeable";
|
|
4
|
-
export declare class ContextUpgradeable__factory {
|
|
5
|
-
static readonly abi: {
|
|
6
|
-
anonymous: boolean;
|
|
7
|
-
inputs: {
|
|
8
|
-
indexed: boolean;
|
|
9
|
-
internalType: string;
|
|
10
|
-
name: string;
|
|
11
|
-
type: string;
|
|
12
|
-
}[];
|
|
13
|
-
name: string;
|
|
14
|
-
type: string;
|
|
15
|
-
}[];
|
|
16
|
-
static createInterface(): ContextUpgradeableInterface;
|
|
17
|
-
static connect(address: string, signerOrProvider: Signer | Provider): ContextUpgradeable;
|
|
18
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* Autogenerated file. Do not edit manually. */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.ContextUpgradeable__factory = void 0;
|
|
7
|
-
const ethers_1 = require("ethers");
|
|
8
|
-
const _abi = [
|
|
9
|
-
{
|
|
10
|
-
anonymous: false,
|
|
11
|
-
inputs: [
|
|
12
|
-
{
|
|
13
|
-
indexed: false,
|
|
14
|
-
internalType: "uint8",
|
|
15
|
-
name: "version",
|
|
16
|
-
type: "uint8",
|
|
17
|
-
},
|
|
18
|
-
],
|
|
19
|
-
name: "Initialized",
|
|
20
|
-
type: "event",
|
|
21
|
-
},
|
|
22
|
-
];
|
|
23
|
-
class ContextUpgradeable__factory {
|
|
24
|
-
static createInterface() {
|
|
25
|
-
return new ethers_1.utils.Interface(_abi);
|
|
26
|
-
}
|
|
27
|
-
static connect(address, signerOrProvider) {
|
|
28
|
-
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
exports.ContextUpgradeable__factory = ContextUpgradeable__factory;
|
|
32
|
-
ContextUpgradeable__factory.abi = _abi;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { Signer } from "ethers";
|
|
2
|
-
import { Provider } from "@ethersproject/providers";
|
|
3
|
-
import type { ERC165Upgradeable, ERC165UpgradeableInterface } from "../ERC165Upgradeable";
|
|
4
|
-
export declare class ERC165Upgradeable__factory {
|
|
5
|
-
static readonly abi: ({
|
|
6
|
-
anonymous: boolean;
|
|
7
|
-
inputs: {
|
|
8
|
-
indexed: boolean;
|
|
9
|
-
internalType: string;
|
|
10
|
-
name: string;
|
|
11
|
-
type: string;
|
|
12
|
-
}[];
|
|
13
|
-
name: string;
|
|
14
|
-
type: string;
|
|
15
|
-
outputs?: undefined;
|
|
16
|
-
stateMutability?: undefined;
|
|
17
|
-
} | {
|
|
18
|
-
inputs: {
|
|
19
|
-
internalType: string;
|
|
20
|
-
name: string;
|
|
21
|
-
type: string;
|
|
22
|
-
}[];
|
|
23
|
-
name: string;
|
|
24
|
-
outputs: {
|
|
25
|
-
internalType: string;
|
|
26
|
-
name: string;
|
|
27
|
-
type: string;
|
|
28
|
-
}[];
|
|
29
|
-
stateMutability: string;
|
|
30
|
-
type: string;
|
|
31
|
-
anonymous?: undefined;
|
|
32
|
-
})[];
|
|
33
|
-
static createInterface(): ERC165UpgradeableInterface;
|
|
34
|
-
static connect(address: string, signerOrProvider: Signer | Provider): ERC165Upgradeable;
|
|
35
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* Autogenerated file. Do not edit manually. */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.ERC165Upgradeable__factory = void 0;
|
|
7
|
-
const ethers_1 = require("ethers");
|
|
8
|
-
const _abi = [
|
|
9
|
-
{
|
|
10
|
-
anonymous: false,
|
|
11
|
-
inputs: [
|
|
12
|
-
{
|
|
13
|
-
indexed: false,
|
|
14
|
-
internalType: "uint8",
|
|
15
|
-
name: "version",
|
|
16
|
-
type: "uint8",
|
|
17
|
-
},
|
|
18
|
-
],
|
|
19
|
-
name: "Initialized",
|
|
20
|
-
type: "event",
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
inputs: [
|
|
24
|
-
{
|
|
25
|
-
internalType: "bytes4",
|
|
26
|
-
name: "interfaceId",
|
|
27
|
-
type: "bytes4",
|
|
28
|
-
},
|
|
29
|
-
],
|
|
30
|
-
name: "supportsInterface",
|
|
31
|
-
outputs: [
|
|
32
|
-
{
|
|
33
|
-
internalType: "bool",
|
|
34
|
-
name: "",
|
|
35
|
-
type: "bool",
|
|
36
|
-
},
|
|
37
|
-
],
|
|
38
|
-
stateMutability: "view",
|
|
39
|
-
type: "function",
|
|
40
|
-
},
|
|
41
|
-
];
|
|
42
|
-
class ERC165Upgradeable__factory {
|
|
43
|
-
static createInterface() {
|
|
44
|
-
return new ethers_1.utils.Interface(_abi);
|
|
45
|
-
}
|
|
46
|
-
static connect(address, signerOrProvider) {
|
|
47
|
-
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
exports.ERC165Upgradeable__factory = ERC165Upgradeable__factory;
|
|
51
|
-
ERC165Upgradeable__factory.abi = _abi;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { Signer } from "ethers";
|
|
2
|
-
import { Provider } from "@ethersproject/providers";
|
|
3
|
-
import type { IAccessControlEnumerableUpgradeable, IAccessControlEnumerableUpgradeableInterface } from "../IAccessControlEnumerableUpgradeable";
|
|
4
|
-
export declare class IAccessControlEnumerableUpgradeable__factory {
|
|
5
|
-
static readonly abi: ({
|
|
6
|
-
anonymous: boolean;
|
|
7
|
-
inputs: {
|
|
8
|
-
indexed: boolean;
|
|
9
|
-
internalType: string;
|
|
10
|
-
name: string;
|
|
11
|
-
type: string;
|
|
12
|
-
}[];
|
|
13
|
-
name: string;
|
|
14
|
-
type: string;
|
|
15
|
-
outputs?: undefined;
|
|
16
|
-
stateMutability?: undefined;
|
|
17
|
-
} | {
|
|
18
|
-
inputs: {
|
|
19
|
-
internalType: string;
|
|
20
|
-
name: string;
|
|
21
|
-
type: string;
|
|
22
|
-
}[];
|
|
23
|
-
name: string;
|
|
24
|
-
outputs: {
|
|
25
|
-
internalType: string;
|
|
26
|
-
name: string;
|
|
27
|
-
type: string;
|
|
28
|
-
}[];
|
|
29
|
-
stateMutability: string;
|
|
30
|
-
type: string;
|
|
31
|
-
anonymous?: undefined;
|
|
32
|
-
})[];
|
|
33
|
-
static createInterface(): IAccessControlEnumerableUpgradeableInterface;
|
|
34
|
-
static connect(address: string, signerOrProvider: Signer | Provider): IAccessControlEnumerableUpgradeable;
|
|
35
|
-
}
|
|
@@ -1,234 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* Autogenerated file. Do not edit manually. */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.IAccessControlEnumerableUpgradeable__factory = void 0;
|
|
7
|
-
const ethers_1 = require("ethers");
|
|
8
|
-
const _abi = [
|
|
9
|
-
{
|
|
10
|
-
anonymous: false,
|
|
11
|
-
inputs: [
|
|
12
|
-
{
|
|
13
|
-
indexed: true,
|
|
14
|
-
internalType: "bytes32",
|
|
15
|
-
name: "role",
|
|
16
|
-
type: "bytes32",
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
indexed: true,
|
|
20
|
-
internalType: "bytes32",
|
|
21
|
-
name: "previousAdminRole",
|
|
22
|
-
type: "bytes32",
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
indexed: true,
|
|
26
|
-
internalType: "bytes32",
|
|
27
|
-
name: "newAdminRole",
|
|
28
|
-
type: "bytes32",
|
|
29
|
-
},
|
|
30
|
-
],
|
|
31
|
-
name: "RoleAdminChanged",
|
|
32
|
-
type: "event",
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
anonymous: false,
|
|
36
|
-
inputs: [
|
|
37
|
-
{
|
|
38
|
-
indexed: true,
|
|
39
|
-
internalType: "bytes32",
|
|
40
|
-
name: "role",
|
|
41
|
-
type: "bytes32",
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
indexed: true,
|
|
45
|
-
internalType: "address",
|
|
46
|
-
name: "account",
|
|
47
|
-
type: "address",
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
indexed: true,
|
|
51
|
-
internalType: "address",
|
|
52
|
-
name: "sender",
|
|
53
|
-
type: "address",
|
|
54
|
-
},
|
|
55
|
-
],
|
|
56
|
-
name: "RoleGranted",
|
|
57
|
-
type: "event",
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
anonymous: false,
|
|
61
|
-
inputs: [
|
|
62
|
-
{
|
|
63
|
-
indexed: true,
|
|
64
|
-
internalType: "bytes32",
|
|
65
|
-
name: "role",
|
|
66
|
-
type: "bytes32",
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
indexed: true,
|
|
70
|
-
internalType: "address",
|
|
71
|
-
name: "account",
|
|
72
|
-
type: "address",
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
indexed: true,
|
|
76
|
-
internalType: "address",
|
|
77
|
-
name: "sender",
|
|
78
|
-
type: "address",
|
|
79
|
-
},
|
|
80
|
-
],
|
|
81
|
-
name: "RoleRevoked",
|
|
82
|
-
type: "event",
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
inputs: [
|
|
86
|
-
{
|
|
87
|
-
internalType: "bytes32",
|
|
88
|
-
name: "role",
|
|
89
|
-
type: "bytes32",
|
|
90
|
-
},
|
|
91
|
-
],
|
|
92
|
-
name: "getRoleAdmin",
|
|
93
|
-
outputs: [
|
|
94
|
-
{
|
|
95
|
-
internalType: "bytes32",
|
|
96
|
-
name: "",
|
|
97
|
-
type: "bytes32",
|
|
98
|
-
},
|
|
99
|
-
],
|
|
100
|
-
stateMutability: "view",
|
|
101
|
-
type: "function",
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
inputs: [
|
|
105
|
-
{
|
|
106
|
-
internalType: "bytes32",
|
|
107
|
-
name: "role",
|
|
108
|
-
type: "bytes32",
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
internalType: "uint256",
|
|
112
|
-
name: "index",
|
|
113
|
-
type: "uint256",
|
|
114
|
-
},
|
|
115
|
-
],
|
|
116
|
-
name: "getRoleMember",
|
|
117
|
-
outputs: [
|
|
118
|
-
{
|
|
119
|
-
internalType: "address",
|
|
120
|
-
name: "",
|
|
121
|
-
type: "address",
|
|
122
|
-
},
|
|
123
|
-
],
|
|
124
|
-
stateMutability: "view",
|
|
125
|
-
type: "function",
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
inputs: [
|
|
129
|
-
{
|
|
130
|
-
internalType: "bytes32",
|
|
131
|
-
name: "role",
|
|
132
|
-
type: "bytes32",
|
|
133
|
-
},
|
|
134
|
-
],
|
|
135
|
-
name: "getRoleMemberCount",
|
|
136
|
-
outputs: [
|
|
137
|
-
{
|
|
138
|
-
internalType: "uint256",
|
|
139
|
-
name: "",
|
|
140
|
-
type: "uint256",
|
|
141
|
-
},
|
|
142
|
-
],
|
|
143
|
-
stateMutability: "view",
|
|
144
|
-
type: "function",
|
|
145
|
-
},
|
|
146
|
-
{
|
|
147
|
-
inputs: [
|
|
148
|
-
{
|
|
149
|
-
internalType: "bytes32",
|
|
150
|
-
name: "role",
|
|
151
|
-
type: "bytes32",
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
internalType: "address",
|
|
155
|
-
name: "account",
|
|
156
|
-
type: "address",
|
|
157
|
-
},
|
|
158
|
-
],
|
|
159
|
-
name: "grantRole",
|
|
160
|
-
outputs: [],
|
|
161
|
-
stateMutability: "nonpayable",
|
|
162
|
-
type: "function",
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
inputs: [
|
|
166
|
-
{
|
|
167
|
-
internalType: "bytes32",
|
|
168
|
-
name: "role",
|
|
169
|
-
type: "bytes32",
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
internalType: "address",
|
|
173
|
-
name: "account",
|
|
174
|
-
type: "address",
|
|
175
|
-
},
|
|
176
|
-
],
|
|
177
|
-
name: "hasRole",
|
|
178
|
-
outputs: [
|
|
179
|
-
{
|
|
180
|
-
internalType: "bool",
|
|
181
|
-
name: "",
|
|
182
|
-
type: "bool",
|
|
183
|
-
},
|
|
184
|
-
],
|
|
185
|
-
stateMutability: "view",
|
|
186
|
-
type: "function",
|
|
187
|
-
},
|
|
188
|
-
{
|
|
189
|
-
inputs: [
|
|
190
|
-
{
|
|
191
|
-
internalType: "bytes32",
|
|
192
|
-
name: "role",
|
|
193
|
-
type: "bytes32",
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
internalType: "address",
|
|
197
|
-
name: "account",
|
|
198
|
-
type: "address",
|
|
199
|
-
},
|
|
200
|
-
],
|
|
201
|
-
name: "renounceRole",
|
|
202
|
-
outputs: [],
|
|
203
|
-
stateMutability: "nonpayable",
|
|
204
|
-
type: "function",
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
inputs: [
|
|
208
|
-
{
|
|
209
|
-
internalType: "bytes32",
|
|
210
|
-
name: "role",
|
|
211
|
-
type: "bytes32",
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
internalType: "address",
|
|
215
|
-
name: "account",
|
|
216
|
-
type: "address",
|
|
217
|
-
},
|
|
218
|
-
],
|
|
219
|
-
name: "revokeRole",
|
|
220
|
-
outputs: [],
|
|
221
|
-
stateMutability: "nonpayable",
|
|
222
|
-
type: "function",
|
|
223
|
-
},
|
|
224
|
-
];
|
|
225
|
-
class IAccessControlEnumerableUpgradeable__factory {
|
|
226
|
-
static createInterface() {
|
|
227
|
-
return new ethers_1.utils.Interface(_abi);
|
|
228
|
-
}
|
|
229
|
-
static connect(address, signerOrProvider) {
|
|
230
|
-
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
exports.IAccessControlEnumerableUpgradeable__factory = IAccessControlEnumerableUpgradeable__factory;
|
|
234
|
-
IAccessControlEnumerableUpgradeable__factory.abi = _abi;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { Signer } from "ethers";
|
|
2
|
-
import { Provider } from "@ethersproject/providers";
|
|
3
|
-
import type { IAccessControlUpgradeable, IAccessControlUpgradeableInterface } from "../IAccessControlUpgradeable";
|
|
4
|
-
export declare class IAccessControlUpgradeable__factory {
|
|
5
|
-
static readonly abi: ({
|
|
6
|
-
anonymous: boolean;
|
|
7
|
-
inputs: {
|
|
8
|
-
indexed: boolean;
|
|
9
|
-
internalType: string;
|
|
10
|
-
name: string;
|
|
11
|
-
type: string;
|
|
12
|
-
}[];
|
|
13
|
-
name: string;
|
|
14
|
-
type: string;
|
|
15
|
-
outputs?: undefined;
|
|
16
|
-
stateMutability?: undefined;
|
|
17
|
-
} | {
|
|
18
|
-
inputs: {
|
|
19
|
-
internalType: string;
|
|
20
|
-
name: string;
|
|
21
|
-
type: string;
|
|
22
|
-
}[];
|
|
23
|
-
name: string;
|
|
24
|
-
outputs: {
|
|
25
|
-
internalType: string;
|
|
26
|
-
name: string;
|
|
27
|
-
type: string;
|
|
28
|
-
}[];
|
|
29
|
-
stateMutability: string;
|
|
30
|
-
type: string;
|
|
31
|
-
anonymous?: undefined;
|
|
32
|
-
})[];
|
|
33
|
-
static createInterface(): IAccessControlUpgradeableInterface;
|
|
34
|
-
static connect(address: string, signerOrProvider: Signer | Provider): IAccessControlUpgradeable;
|
|
35
|
-
}
|