@cryptonergy/smart-contracts-sdk 1.0.0-dev.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/types/index.d.ts +1 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/index.ts +11 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/IERC1363.ts +412 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/IERC1967.ts +168 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/IERC4626.ts +618 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable.ts +90 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.ts +4 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC1155Errors.ts +69 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC20Errors.ts +69 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC721Errors.ts +69 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/index.ts +6 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/index.ts +10 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.ts +105 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.ts +69 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/proxy/ERC1967/index.ts +5 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/proxy/Proxy.ts +69 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/proxy/beacon/IBeacon.ts +90 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/proxy/beacon/index.ts +4 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/proxy/index.ts +8 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC20/ERC20.ts +286 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC20/IERC20.ts +262 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.ts +286 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/index.ts +4 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC20/index.ts +9 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.ts +69 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC20/utils/index.ts +4 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/token/index.ts +5 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/Address.ts +69 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/Errors.ts +69 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/index.ts +9 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/introspection/IERC165.ts +94 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/introspection/index.ts +4 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/math/SafeCast.ts +69 -0
- package/dist/types/typechain-types/@openzeppelin/contracts/utils/math/index.ts +4 -0
- package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.ts +186 -0
- package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/access/index.ts +4 -0
- package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/index.ts +11 -0
- package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/proxy/index.ts +5 -0
- package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.ts +105 -0
- package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.ts +196 -0
- package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/proxy/utils/index.ts +5 -0
- package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.ts +318 -0
- package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC4626Upgradeable.ts +653 -0
- package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/index.ts +4 -0
- package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/token/ERC20/index.ts +6 -0
- package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/token/index.ts +5 -0
- package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.ts +105 -0
- package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/utils/ReentrancyGuardUpgradeable.ts +105 -0
- package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/utils/index.ts +5 -0
- package/dist/types/typechain-types/@openzeppelin/index.ts +7 -0
- package/dist/types/typechain-types/common.ts +131 -0
- package/dist/types/typechain-types/contracts/ManagementFeeUpgradeableV1.ts +285 -0
- package/dist/types/typechain-types/contracts/PerformanceFeeUpgradeableV1.ts +320 -0
- package/dist/types/typechain-types/contracts/VaultFactoryV1.ts +456 -0
- package/dist/types/typechain-types/contracts/VaultV1.ts +1383 -0
- package/dist/types/typechain-types/contracts/index.ts +13 -0
- package/dist/types/typechain-types/contracts/mocks/MockERC20.ts +305 -0
- package/dist/types/typechain-types/contracts/mocks/index.ts +4 -0
- package/dist/types/typechain-types/contracts/providers/AddressProviderV1.ts +342 -0
- package/dist/types/typechain-types/contracts/providers/index.ts +4 -0
- package/dist/types/typechain-types/contracts/registers/VaultRegistryV1.ts +558 -0
- package/dist/types/typechain-types/contracts/registers/index.ts +4 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/index.ts +7 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC1363__factory.ts +393 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC1967__factory.ts +67 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC4626__factory.ts +634 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable__factory.ts +38 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.ts +4 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC1155Errors__factory.ts +127 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC20Errors__factory.ts +111 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC721Errors__factory.ts +128 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/index.ts +6 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/index.ts +8 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.ts +144 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils__factory.ts +105 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/ERC1967/index.ts +5 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/Proxy__factory.ts +26 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/beacon/IBeacon__factory.ts +35 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/beacon/index.ts +4 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/index.ts +6 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/ERC20__factory.ts +330 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/IERC20__factory.ts +205 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory.ts +247 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/index.ts +4 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/index.ts +7 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory.ts +96 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/index.ts +4 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/index.ts +4 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/Address__factory.ts +75 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/Errors__factory.ts +101 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/index.ts +7 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/introspection/IERC165__factory.ts +41 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/introspection/index.ts +4 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/math/SafeCast__factory.ts +118 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/math/index.ts +4 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable__factory.ts +122 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/access/index.ts +4 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/index.ts +7 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/index.ts +4 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable__factory.ts +48 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable__factory.ts +153 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/index.ts +5 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable__factory.ts +356 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC4626Upgradeable__factory.ts +841 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/index.ts +4 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/token/ERC20/index.ts +5 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/token/index.ts +4 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable__factory.ts +48 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/utils/ReentrancyGuardUpgradeable__factory.ts +57 -0
- package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/utils/index.ts +5 -0
- package/dist/types/typechain-types/factories/@openzeppelin/index.ts +5 -0
- package/dist/types/typechain-types/factories/contracts/ManagementFeeUpgradeableV1__factory.ts +175 -0
- package/dist/types/typechain-types/factories/contracts/PerformanceFeeUpgradeableV1__factory.ts +194 -0
- package/dist/types/typechain-types/factories/contracts/VaultFactoryV1__factory.ts +449 -0
- package/dist/types/typechain-types/factories/contracts/VaultV1__factory.ts +1523 -0
- package/dist/types/typechain-types/factories/contracts/index.ts +10 -0
- package/dist/types/typechain-types/factories/contracts/mocks/MockERC20__factory.ts +412 -0
- package/dist/types/typechain-types/factories/contracts/mocks/index.ts +4 -0
- package/dist/types/typechain-types/factories/contracts/providers/AddressProviderV1__factory.ts +359 -0
- package/dist/types/typechain-types/factories/contracts/providers/index.ts +4 -0
- package/dist/types/typechain-types/factories/contracts/registers/VaultRegistryV1__factory.ts +554 -0
- package/dist/types/typechain-types/factories/contracts/registers/index.ts +4 -0
- package/dist/types/typechain-types/factories/index.ts +5 -0
- package/dist/types/typechain-types/hardhat.d.ts +639 -0
- package/dist/types/typechain-types/index.ts +74 -0
- package/package.json +23 -0
package/dist/types/typechain-types/factories/contracts/providers/AddressProviderV1__factory.ts
ADDED
|
@@ -0,0 +1,359 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import {
|
|
5
|
+
Contract,
|
|
6
|
+
ContractFactory,
|
|
7
|
+
ContractTransactionResponse,
|
|
8
|
+
Interface,
|
|
9
|
+
} from "ethers";
|
|
10
|
+
import type { Signer, ContractDeployTransaction, ContractRunner } from "ethers";
|
|
11
|
+
import type { NonPayableOverrides } from "../../../common";
|
|
12
|
+
import type {
|
|
13
|
+
AddressProviderV1,
|
|
14
|
+
AddressProviderV1Interface,
|
|
15
|
+
} from "../../../contracts/providers/AddressProviderV1";
|
|
16
|
+
|
|
17
|
+
const _abi = [
|
|
18
|
+
{
|
|
19
|
+
inputs: [],
|
|
20
|
+
stateMutability: "nonpayable",
|
|
21
|
+
type: "constructor",
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
inputs: [
|
|
25
|
+
{
|
|
26
|
+
internalType: "address",
|
|
27
|
+
name: "target",
|
|
28
|
+
type: "address",
|
|
29
|
+
},
|
|
30
|
+
],
|
|
31
|
+
name: "AddressEmptyCode",
|
|
32
|
+
type: "error",
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
inputs: [
|
|
36
|
+
{
|
|
37
|
+
internalType: "bytes32",
|
|
38
|
+
name: "key",
|
|
39
|
+
type: "bytes32",
|
|
40
|
+
},
|
|
41
|
+
],
|
|
42
|
+
name: "AddressNotSet",
|
|
43
|
+
type: "error",
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
inputs: [
|
|
47
|
+
{
|
|
48
|
+
internalType: "address",
|
|
49
|
+
name: "implementation",
|
|
50
|
+
type: "address",
|
|
51
|
+
},
|
|
52
|
+
],
|
|
53
|
+
name: "ERC1967InvalidImplementation",
|
|
54
|
+
type: "error",
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
inputs: [],
|
|
58
|
+
name: "ERC1967NonPayable",
|
|
59
|
+
type: "error",
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
inputs: [],
|
|
63
|
+
name: "FailedCall",
|
|
64
|
+
type: "error",
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
inputs: [],
|
|
68
|
+
name: "InvalidInitialization",
|
|
69
|
+
type: "error",
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
inputs: [],
|
|
73
|
+
name: "NotInitializing",
|
|
74
|
+
type: "error",
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
inputs: [
|
|
78
|
+
{
|
|
79
|
+
internalType: "address",
|
|
80
|
+
name: "owner",
|
|
81
|
+
type: "address",
|
|
82
|
+
},
|
|
83
|
+
],
|
|
84
|
+
name: "OwnableInvalidOwner",
|
|
85
|
+
type: "error",
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
inputs: [
|
|
89
|
+
{
|
|
90
|
+
internalType: "address",
|
|
91
|
+
name: "account",
|
|
92
|
+
type: "address",
|
|
93
|
+
},
|
|
94
|
+
],
|
|
95
|
+
name: "OwnableUnauthorizedAccount",
|
|
96
|
+
type: "error",
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
inputs: [],
|
|
100
|
+
name: "UUPSUnauthorizedCallContext",
|
|
101
|
+
type: "error",
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
inputs: [
|
|
105
|
+
{
|
|
106
|
+
internalType: "bytes32",
|
|
107
|
+
name: "slot",
|
|
108
|
+
type: "bytes32",
|
|
109
|
+
},
|
|
110
|
+
],
|
|
111
|
+
name: "UUPSUnsupportedProxiableUUID",
|
|
112
|
+
type: "error",
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
inputs: [],
|
|
116
|
+
name: "ZeroAddress",
|
|
117
|
+
type: "error",
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
anonymous: false,
|
|
121
|
+
inputs: [
|
|
122
|
+
{
|
|
123
|
+
indexed: true,
|
|
124
|
+
internalType: "bytes32",
|
|
125
|
+
name: "key",
|
|
126
|
+
type: "bytes32",
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
indexed: true,
|
|
130
|
+
internalType: "address",
|
|
131
|
+
name: "value",
|
|
132
|
+
type: "address",
|
|
133
|
+
},
|
|
134
|
+
],
|
|
135
|
+
name: "AddressSet",
|
|
136
|
+
type: "event",
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
anonymous: false,
|
|
140
|
+
inputs: [
|
|
141
|
+
{
|
|
142
|
+
indexed: false,
|
|
143
|
+
internalType: "uint64",
|
|
144
|
+
name: "version",
|
|
145
|
+
type: "uint64",
|
|
146
|
+
},
|
|
147
|
+
],
|
|
148
|
+
name: "Initialized",
|
|
149
|
+
type: "event",
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
anonymous: false,
|
|
153
|
+
inputs: [
|
|
154
|
+
{
|
|
155
|
+
indexed: true,
|
|
156
|
+
internalType: "address",
|
|
157
|
+
name: "previousOwner",
|
|
158
|
+
type: "address",
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
indexed: true,
|
|
162
|
+
internalType: "address",
|
|
163
|
+
name: "newOwner",
|
|
164
|
+
type: "address",
|
|
165
|
+
},
|
|
166
|
+
],
|
|
167
|
+
name: "OwnershipTransferred",
|
|
168
|
+
type: "event",
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
anonymous: false,
|
|
172
|
+
inputs: [
|
|
173
|
+
{
|
|
174
|
+
indexed: true,
|
|
175
|
+
internalType: "address",
|
|
176
|
+
name: "implementation",
|
|
177
|
+
type: "address",
|
|
178
|
+
},
|
|
179
|
+
],
|
|
180
|
+
name: "Upgraded",
|
|
181
|
+
type: "event",
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
inputs: [],
|
|
185
|
+
name: "UPGRADE_INTERFACE_VERSION",
|
|
186
|
+
outputs: [
|
|
187
|
+
{
|
|
188
|
+
internalType: "string",
|
|
189
|
+
name: "",
|
|
190
|
+
type: "string",
|
|
191
|
+
},
|
|
192
|
+
],
|
|
193
|
+
stateMutability: "view",
|
|
194
|
+
type: "function",
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
inputs: [
|
|
198
|
+
{
|
|
199
|
+
internalType: "address",
|
|
200
|
+
name: "owner_",
|
|
201
|
+
type: "address",
|
|
202
|
+
},
|
|
203
|
+
],
|
|
204
|
+
name: "initialize",
|
|
205
|
+
outputs: [],
|
|
206
|
+
stateMutability: "nonpayable",
|
|
207
|
+
type: "function",
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
inputs: [],
|
|
211
|
+
name: "owner",
|
|
212
|
+
outputs: [
|
|
213
|
+
{
|
|
214
|
+
internalType: "address",
|
|
215
|
+
name: "",
|
|
216
|
+
type: "address",
|
|
217
|
+
},
|
|
218
|
+
],
|
|
219
|
+
stateMutability: "view",
|
|
220
|
+
type: "function",
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
inputs: [],
|
|
224
|
+
name: "proxiableUUID",
|
|
225
|
+
outputs: [
|
|
226
|
+
{
|
|
227
|
+
internalType: "bytes32",
|
|
228
|
+
name: "",
|
|
229
|
+
type: "bytes32",
|
|
230
|
+
},
|
|
231
|
+
],
|
|
232
|
+
stateMutability: "view",
|
|
233
|
+
type: "function",
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
inputs: [],
|
|
237
|
+
name: "renounceOwnership",
|
|
238
|
+
outputs: [],
|
|
239
|
+
stateMutability: "nonpayable",
|
|
240
|
+
type: "function",
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
inputs: [
|
|
244
|
+
{
|
|
245
|
+
internalType: "bytes32",
|
|
246
|
+
name: "key",
|
|
247
|
+
type: "bytes32",
|
|
248
|
+
},
|
|
249
|
+
],
|
|
250
|
+
name: "resolve",
|
|
251
|
+
outputs: [
|
|
252
|
+
{
|
|
253
|
+
internalType: "address",
|
|
254
|
+
name: "",
|
|
255
|
+
type: "address",
|
|
256
|
+
},
|
|
257
|
+
],
|
|
258
|
+
stateMutability: "view",
|
|
259
|
+
type: "function",
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
inputs: [
|
|
263
|
+
{
|
|
264
|
+
internalType: "bytes32",
|
|
265
|
+
name: "key",
|
|
266
|
+
type: "bytes32",
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
internalType: "address",
|
|
270
|
+
name: "value",
|
|
271
|
+
type: "address",
|
|
272
|
+
},
|
|
273
|
+
],
|
|
274
|
+
name: "setAddress",
|
|
275
|
+
outputs: [],
|
|
276
|
+
stateMutability: "nonpayable",
|
|
277
|
+
type: "function",
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
inputs: [
|
|
281
|
+
{
|
|
282
|
+
internalType: "address",
|
|
283
|
+
name: "newOwner",
|
|
284
|
+
type: "address",
|
|
285
|
+
},
|
|
286
|
+
],
|
|
287
|
+
name: "transferOwnership",
|
|
288
|
+
outputs: [],
|
|
289
|
+
stateMutability: "nonpayable",
|
|
290
|
+
type: "function",
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
inputs: [
|
|
294
|
+
{
|
|
295
|
+
internalType: "address",
|
|
296
|
+
name: "newImplementation",
|
|
297
|
+
type: "address",
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
internalType: "bytes",
|
|
301
|
+
name: "data",
|
|
302
|
+
type: "bytes",
|
|
303
|
+
},
|
|
304
|
+
],
|
|
305
|
+
name: "upgradeToAndCall",
|
|
306
|
+
outputs: [],
|
|
307
|
+
stateMutability: "payable",
|
|
308
|
+
type: "function",
|
|
309
|
+
},
|
|
310
|
+
] as const;
|
|
311
|
+
|
|
312
|
+
const _bytecode =
|
|
313
|
+
"0x60a06040523060805234801561001457600080fd5b5061001d610022565b6100d4565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff16156100725760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b03908116146100d15780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b608051610b706100fd600039600081816104590152818161048201526105c80152610b706000f3fe6080604052600436106100865760003560e01c80638da5cb5b116100595780638da5cb5b14610115578063ad3cb1cc14610152578063c4d66de814610190578063ca446dd9146101b0578063f2fde38b146101d057600080fd5b80634f1ef2861461008b57806352d1902d146100a05780635c23bdf5146100c8578063715018a614610100575b600080fd5b61009e610099366004610964565b6101f0565b005b3480156100ac57600080fd5b506100b561020f565b6040519081526020015b60405180910390f35b3480156100d457600080fd5b506100e86100e3366004610a2e565b61022c565b6040516001600160a01b0390911681526020016100bf565b34801561010c57600080fd5b5061009e610270565b34801561012157600080fd5b507f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300546001600160a01b03166100e8565b34801561015e57600080fd5b50610183604051806040016040528060058152602001640352e302e360dc1b81525081565b6040516100bf9190610a6b565b34801561019c57600080fd5b5061009e6101ab366004610a9e565b610284565b3480156101bc57600080fd5b5061009e6101cb366004610ab9565b610388565b3480156101dc57600080fd5b5061009e6101eb366004610a9e565b610410565b6101f861044e565b610201826104f3565b61020b82826104fb565b5050565b60006102196105bd565b50600080516020610b1b83398151915290565b6000818152602081905260408120546001600160a01b03168061026a57604051635466c5e760e11b8152600481018490526024015b60405180910390fd5b92915050565b610278610606565b6102826000610661565b565b600061028e6106d2565b805490915060ff600160401b820416159067ffffffffffffffff166000811580156102b65750825b905060008267ffffffffffffffff1660011480156102d35750303b155b9050811580156102e1575080155b156102ff5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff19166001178555831561032957845460ff60401b1916600160401b1785555b610332866106fb565b61033a61070c565b831561038057845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b610390610606565b6001600160a01b0381166103b75760405163d92e233d60e01b815260040160405180910390fd5b60008281526020819052604080822080546001600160a01b0319166001600160a01b0385169081179091559051909184917fb37614c7d254ea8d16eb81fa11dddaeb266aa8ba4917980859c7740aff30c6919190a35050565b610418610606565b6001600160a01b03811661044257604051631e4fbdf760e01b815260006004820152602401610261565b61044b81610661565b50565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614806104d557507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166104c9600080516020610b1b833981519152546001600160a01b031690565b6001600160a01b031614155b156102825760405163703e46dd60e11b815260040160405180910390fd5b61044b610606565b816001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015610555575060408051601f3d908101601f1916820190925261055291810190610ae5565b60015b61057d57604051634c9c8ce360e01b81526001600160a01b0383166004820152602401610261565b600080516020610b1b83398151915281146105ae57604051632a87526960e21b815260048101829052602401610261565b6105b88383610714565b505050565b306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146102825760405163703e46dd60e11b815260040160405180910390fd5b336106387f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300546001600160a01b031690565b6001600160a01b0316146102825760405163118cdaa760e01b8152336004820152602401610261565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930080546001600160a01b031981166001600160a01b03848116918217845560405192169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3505050565b6000807ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0061026a565b61070361076a565b61044b8161078f565b61028261076a565b61071d82610797565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a2805115610762576105b882826107fc565b61020b610872565b610772610891565b61028257604051631afcd79f60e31b815260040160405180910390fd5b61041861076a565b806001600160a01b03163b6000036107cd57604051634c9c8ce360e01b81526001600160a01b0382166004820152602401610261565b600080516020610b1b83398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b0316846040516108199190610afe565b600060405180830381855af49150503d8060008114610854576040519150601f19603f3d011682016040523d82523d6000602084013e610859565b606091505b50915091506108698583836108ab565b95945050505050565b34156102825760405163b398979f60e01b815260040160405180910390fd5b600061089b6106d2565b54600160401b900460ff16919050565b6060826108c0576108bb8261090a565b610903565b81511580156108d757506001600160a01b0384163b155b1561090057604051639996b31560e01b81526001600160a01b0385166004820152602401610261565b50805b9392505050565b80511561091957805160208201fd5b60405163d6bda27560e01b815260040160405180910390fd5b80356001600160a01b038116811461094957600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b6000806040838503121561097757600080fd5b61098083610932565b9150602083013567ffffffffffffffff81111561099c57600080fd5b8301601f810185136109ad57600080fd5b803567ffffffffffffffff8111156109c7576109c761094e565b604051601f8201601f19908116603f0116810167ffffffffffffffff811182821017156109f6576109f661094e565b604052818152828201602001871015610a0e57600080fd5b816020840160208301376000602083830101528093505050509250929050565b600060208284031215610a4057600080fd5b5035919050565b60005b83811015610a62578181015183820152602001610a4a565b50506000910152565b6020815260008251806020840152610a8a816040850160208701610a47565b601f01601f19169190910160400192915050565b600060208284031215610ab057600080fd5b61090382610932565b60008060408385031215610acc57600080fd5b82359150610adc60208401610932565b90509250929050565b600060208284031215610af757600080fd5b5051919050565b60008251610b10818460208701610a47565b919091019291505056fe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbca2646970667358221220b56c95793b8c470d8ccaf14d6efe665f139cc809cddcfa6d1a5fc3f0f50ceecf64736f6c634300081c0033";
|
|
314
|
+
|
|
315
|
+
type AddressProviderV1ConstructorParams =
|
|
316
|
+
| [signer?: Signer]
|
|
317
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
318
|
+
|
|
319
|
+
const isSuperArgs = (
|
|
320
|
+
xs: AddressProviderV1ConstructorParams
|
|
321
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
322
|
+
|
|
323
|
+
export class AddressProviderV1__factory extends ContractFactory {
|
|
324
|
+
constructor(...args: AddressProviderV1ConstructorParams) {
|
|
325
|
+
if (isSuperArgs(args)) {
|
|
326
|
+
super(...args);
|
|
327
|
+
} else {
|
|
328
|
+
super(_abi, _bytecode, args[0]);
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
override getDeployTransaction(
|
|
333
|
+
overrides?: NonPayableOverrides & { from?: string }
|
|
334
|
+
): Promise<ContractDeployTransaction> {
|
|
335
|
+
return super.getDeployTransaction(overrides || {});
|
|
336
|
+
}
|
|
337
|
+
override deploy(overrides?: NonPayableOverrides & { from?: string }) {
|
|
338
|
+
return super.deploy(overrides || {}) as Promise<
|
|
339
|
+
AddressProviderV1 & {
|
|
340
|
+
deploymentTransaction(): ContractTransactionResponse;
|
|
341
|
+
}
|
|
342
|
+
>;
|
|
343
|
+
}
|
|
344
|
+
override connect(runner: ContractRunner | null): AddressProviderV1__factory {
|
|
345
|
+
return super.connect(runner) as AddressProviderV1__factory;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
static readonly bytecode = _bytecode;
|
|
349
|
+
static readonly abi = _abi;
|
|
350
|
+
static createInterface(): AddressProviderV1Interface {
|
|
351
|
+
return new Interface(_abi) as AddressProviderV1Interface;
|
|
352
|
+
}
|
|
353
|
+
static connect(
|
|
354
|
+
address: string,
|
|
355
|
+
runner?: ContractRunner | null
|
|
356
|
+
): AddressProviderV1 {
|
|
357
|
+
return new Contract(address, _abi, runner) as unknown as AddressProviderV1;
|
|
358
|
+
}
|
|
359
|
+
}
|