@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/@openzeppelin/contracts/utils/math/SafeCast__factory.ts
ADDED
|
@@ -0,0 +1,118 @@
|
|
|
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
|
+
SafeCast,
|
|
14
|
+
SafeCastInterface,
|
|
15
|
+
} from "../../../../../@openzeppelin/contracts/utils/math/SafeCast";
|
|
16
|
+
|
|
17
|
+
const _abi = [
|
|
18
|
+
{
|
|
19
|
+
inputs: [
|
|
20
|
+
{
|
|
21
|
+
internalType: "uint8",
|
|
22
|
+
name: "bits",
|
|
23
|
+
type: "uint8",
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
internalType: "int256",
|
|
27
|
+
name: "value",
|
|
28
|
+
type: "int256",
|
|
29
|
+
},
|
|
30
|
+
],
|
|
31
|
+
name: "SafeCastOverflowedIntDowncast",
|
|
32
|
+
type: "error",
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
inputs: [
|
|
36
|
+
{
|
|
37
|
+
internalType: "int256",
|
|
38
|
+
name: "value",
|
|
39
|
+
type: "int256",
|
|
40
|
+
},
|
|
41
|
+
],
|
|
42
|
+
name: "SafeCastOverflowedIntToUint",
|
|
43
|
+
type: "error",
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
inputs: [
|
|
47
|
+
{
|
|
48
|
+
internalType: "uint8",
|
|
49
|
+
name: "bits",
|
|
50
|
+
type: "uint8",
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
internalType: "uint256",
|
|
54
|
+
name: "value",
|
|
55
|
+
type: "uint256",
|
|
56
|
+
},
|
|
57
|
+
],
|
|
58
|
+
name: "SafeCastOverflowedUintDowncast",
|
|
59
|
+
type: "error",
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
inputs: [
|
|
63
|
+
{
|
|
64
|
+
internalType: "uint256",
|
|
65
|
+
name: "value",
|
|
66
|
+
type: "uint256",
|
|
67
|
+
},
|
|
68
|
+
],
|
|
69
|
+
name: "SafeCastOverflowedUintToInt",
|
|
70
|
+
type: "error",
|
|
71
|
+
},
|
|
72
|
+
] as const;
|
|
73
|
+
|
|
74
|
+
const _bytecode =
|
|
75
|
+
"0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220f339f8e25e68a389c2a927bb23c6cb93c79c9384ea0005062ee031ef0df1d28e64736f6c634300081c0033";
|
|
76
|
+
|
|
77
|
+
type SafeCastConstructorParams =
|
|
78
|
+
| [signer?: Signer]
|
|
79
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
80
|
+
|
|
81
|
+
const isSuperArgs = (
|
|
82
|
+
xs: SafeCastConstructorParams
|
|
83
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
84
|
+
|
|
85
|
+
export class SafeCast__factory extends ContractFactory {
|
|
86
|
+
constructor(...args: SafeCastConstructorParams) {
|
|
87
|
+
if (isSuperArgs(args)) {
|
|
88
|
+
super(...args);
|
|
89
|
+
} else {
|
|
90
|
+
super(_abi, _bytecode, args[0]);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
override getDeployTransaction(
|
|
95
|
+
overrides?: NonPayableOverrides & { from?: string }
|
|
96
|
+
): Promise<ContractDeployTransaction> {
|
|
97
|
+
return super.getDeployTransaction(overrides || {});
|
|
98
|
+
}
|
|
99
|
+
override deploy(overrides?: NonPayableOverrides & { from?: string }) {
|
|
100
|
+
return super.deploy(overrides || {}) as Promise<
|
|
101
|
+
SafeCast & {
|
|
102
|
+
deploymentTransaction(): ContractTransactionResponse;
|
|
103
|
+
}
|
|
104
|
+
>;
|
|
105
|
+
}
|
|
106
|
+
override connect(runner: ContractRunner | null): SafeCast__factory {
|
|
107
|
+
return super.connect(runner) as SafeCast__factory;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
static readonly bytecode = _bytecode;
|
|
111
|
+
static readonly abi = _abi;
|
|
112
|
+
static createInterface(): SafeCastInterface {
|
|
113
|
+
return new Interface(_abi) as SafeCastInterface;
|
|
114
|
+
}
|
|
115
|
+
static connect(address: string, runner?: ContractRunner | null): SafeCast {
|
|
116
|
+
return new Contract(address, _abi, runner) as unknown as SafeCast;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Interface, type ContractRunner } from "ethers";
|
|
6
|
+
import type {
|
|
7
|
+
OwnableUpgradeable,
|
|
8
|
+
OwnableUpgradeableInterface,
|
|
9
|
+
} from "../../../../@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable";
|
|
10
|
+
|
|
11
|
+
const _abi = [
|
|
12
|
+
{
|
|
13
|
+
inputs: [],
|
|
14
|
+
name: "InvalidInitialization",
|
|
15
|
+
type: "error",
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
inputs: [],
|
|
19
|
+
name: "NotInitializing",
|
|
20
|
+
type: "error",
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
inputs: [
|
|
24
|
+
{
|
|
25
|
+
internalType: "address",
|
|
26
|
+
name: "owner",
|
|
27
|
+
type: "address",
|
|
28
|
+
},
|
|
29
|
+
],
|
|
30
|
+
name: "OwnableInvalidOwner",
|
|
31
|
+
type: "error",
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
inputs: [
|
|
35
|
+
{
|
|
36
|
+
internalType: "address",
|
|
37
|
+
name: "account",
|
|
38
|
+
type: "address",
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
name: "OwnableUnauthorizedAccount",
|
|
42
|
+
type: "error",
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
anonymous: false,
|
|
46
|
+
inputs: [
|
|
47
|
+
{
|
|
48
|
+
indexed: false,
|
|
49
|
+
internalType: "uint64",
|
|
50
|
+
name: "version",
|
|
51
|
+
type: "uint64",
|
|
52
|
+
},
|
|
53
|
+
],
|
|
54
|
+
name: "Initialized",
|
|
55
|
+
type: "event",
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
anonymous: false,
|
|
59
|
+
inputs: [
|
|
60
|
+
{
|
|
61
|
+
indexed: true,
|
|
62
|
+
internalType: "address",
|
|
63
|
+
name: "previousOwner",
|
|
64
|
+
type: "address",
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
indexed: true,
|
|
68
|
+
internalType: "address",
|
|
69
|
+
name: "newOwner",
|
|
70
|
+
type: "address",
|
|
71
|
+
},
|
|
72
|
+
],
|
|
73
|
+
name: "OwnershipTransferred",
|
|
74
|
+
type: "event",
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
inputs: [],
|
|
78
|
+
name: "owner",
|
|
79
|
+
outputs: [
|
|
80
|
+
{
|
|
81
|
+
internalType: "address",
|
|
82
|
+
name: "",
|
|
83
|
+
type: "address",
|
|
84
|
+
},
|
|
85
|
+
],
|
|
86
|
+
stateMutability: "view",
|
|
87
|
+
type: "function",
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
inputs: [],
|
|
91
|
+
name: "renounceOwnership",
|
|
92
|
+
outputs: [],
|
|
93
|
+
stateMutability: "nonpayable",
|
|
94
|
+
type: "function",
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
inputs: [
|
|
98
|
+
{
|
|
99
|
+
internalType: "address",
|
|
100
|
+
name: "newOwner",
|
|
101
|
+
type: "address",
|
|
102
|
+
},
|
|
103
|
+
],
|
|
104
|
+
name: "transferOwnership",
|
|
105
|
+
outputs: [],
|
|
106
|
+
stateMutability: "nonpayable",
|
|
107
|
+
type: "function",
|
|
108
|
+
},
|
|
109
|
+
] as const;
|
|
110
|
+
|
|
111
|
+
export class OwnableUpgradeable__factory {
|
|
112
|
+
static readonly abi = _abi;
|
|
113
|
+
static createInterface(): OwnableUpgradeableInterface {
|
|
114
|
+
return new Interface(_abi) as OwnableUpgradeableInterface;
|
|
115
|
+
}
|
|
116
|
+
static connect(
|
|
117
|
+
address: string,
|
|
118
|
+
runner?: ContractRunner | null
|
|
119
|
+
): OwnableUpgradeable {
|
|
120
|
+
return new Contract(address, _abi, runner) as unknown as OwnableUpgradeable;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Interface, type ContractRunner } from "ethers";
|
|
6
|
+
import type {
|
|
7
|
+
Initializable,
|
|
8
|
+
InitializableInterface,
|
|
9
|
+
} from "../../../../../@openzeppelin/contracts-upgradeable/proxy/utils/Initializable";
|
|
10
|
+
|
|
11
|
+
const _abi = [
|
|
12
|
+
{
|
|
13
|
+
inputs: [],
|
|
14
|
+
name: "InvalidInitialization",
|
|
15
|
+
type: "error",
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
inputs: [],
|
|
19
|
+
name: "NotInitializing",
|
|
20
|
+
type: "error",
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
anonymous: false,
|
|
24
|
+
inputs: [
|
|
25
|
+
{
|
|
26
|
+
indexed: false,
|
|
27
|
+
internalType: "uint64",
|
|
28
|
+
name: "version",
|
|
29
|
+
type: "uint64",
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
name: "Initialized",
|
|
33
|
+
type: "event",
|
|
34
|
+
},
|
|
35
|
+
] as const;
|
|
36
|
+
|
|
37
|
+
export class Initializable__factory {
|
|
38
|
+
static readonly abi = _abi;
|
|
39
|
+
static createInterface(): InitializableInterface {
|
|
40
|
+
return new Interface(_abi) as InitializableInterface;
|
|
41
|
+
}
|
|
42
|
+
static connect(
|
|
43
|
+
address: string,
|
|
44
|
+
runner?: ContractRunner | null
|
|
45
|
+
): Initializable {
|
|
46
|
+
return new Contract(address, _abi, runner) as unknown as Initializable;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Interface, type ContractRunner } from "ethers";
|
|
6
|
+
import type {
|
|
7
|
+
UUPSUpgradeable,
|
|
8
|
+
UUPSUpgradeableInterface,
|
|
9
|
+
} from "../../../../../@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable";
|
|
10
|
+
|
|
11
|
+
const _abi = [
|
|
12
|
+
{
|
|
13
|
+
inputs: [
|
|
14
|
+
{
|
|
15
|
+
internalType: "address",
|
|
16
|
+
name: "target",
|
|
17
|
+
type: "address",
|
|
18
|
+
},
|
|
19
|
+
],
|
|
20
|
+
name: "AddressEmptyCode",
|
|
21
|
+
type: "error",
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
inputs: [
|
|
25
|
+
{
|
|
26
|
+
internalType: "address",
|
|
27
|
+
name: "implementation",
|
|
28
|
+
type: "address",
|
|
29
|
+
},
|
|
30
|
+
],
|
|
31
|
+
name: "ERC1967InvalidImplementation",
|
|
32
|
+
type: "error",
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
inputs: [],
|
|
36
|
+
name: "ERC1967NonPayable",
|
|
37
|
+
type: "error",
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
inputs: [],
|
|
41
|
+
name: "FailedCall",
|
|
42
|
+
type: "error",
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
inputs: [],
|
|
46
|
+
name: "InvalidInitialization",
|
|
47
|
+
type: "error",
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
inputs: [],
|
|
51
|
+
name: "NotInitializing",
|
|
52
|
+
type: "error",
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
inputs: [],
|
|
56
|
+
name: "UUPSUnauthorizedCallContext",
|
|
57
|
+
type: "error",
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
inputs: [
|
|
61
|
+
{
|
|
62
|
+
internalType: "bytes32",
|
|
63
|
+
name: "slot",
|
|
64
|
+
type: "bytes32",
|
|
65
|
+
},
|
|
66
|
+
],
|
|
67
|
+
name: "UUPSUnsupportedProxiableUUID",
|
|
68
|
+
type: "error",
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
anonymous: false,
|
|
72
|
+
inputs: [
|
|
73
|
+
{
|
|
74
|
+
indexed: false,
|
|
75
|
+
internalType: "uint64",
|
|
76
|
+
name: "version",
|
|
77
|
+
type: "uint64",
|
|
78
|
+
},
|
|
79
|
+
],
|
|
80
|
+
name: "Initialized",
|
|
81
|
+
type: "event",
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
anonymous: false,
|
|
85
|
+
inputs: [
|
|
86
|
+
{
|
|
87
|
+
indexed: true,
|
|
88
|
+
internalType: "address",
|
|
89
|
+
name: "implementation",
|
|
90
|
+
type: "address",
|
|
91
|
+
},
|
|
92
|
+
],
|
|
93
|
+
name: "Upgraded",
|
|
94
|
+
type: "event",
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
inputs: [],
|
|
98
|
+
name: "UPGRADE_INTERFACE_VERSION",
|
|
99
|
+
outputs: [
|
|
100
|
+
{
|
|
101
|
+
internalType: "string",
|
|
102
|
+
name: "",
|
|
103
|
+
type: "string",
|
|
104
|
+
},
|
|
105
|
+
],
|
|
106
|
+
stateMutability: "view",
|
|
107
|
+
type: "function",
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
inputs: [],
|
|
111
|
+
name: "proxiableUUID",
|
|
112
|
+
outputs: [
|
|
113
|
+
{
|
|
114
|
+
internalType: "bytes32",
|
|
115
|
+
name: "",
|
|
116
|
+
type: "bytes32",
|
|
117
|
+
},
|
|
118
|
+
],
|
|
119
|
+
stateMutability: "view",
|
|
120
|
+
type: "function",
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
inputs: [
|
|
124
|
+
{
|
|
125
|
+
internalType: "address",
|
|
126
|
+
name: "newImplementation",
|
|
127
|
+
type: "address",
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
internalType: "bytes",
|
|
131
|
+
name: "data",
|
|
132
|
+
type: "bytes",
|
|
133
|
+
},
|
|
134
|
+
],
|
|
135
|
+
name: "upgradeToAndCall",
|
|
136
|
+
outputs: [],
|
|
137
|
+
stateMutability: "payable",
|
|
138
|
+
type: "function",
|
|
139
|
+
},
|
|
140
|
+
] as const;
|
|
141
|
+
|
|
142
|
+
export class UUPSUpgradeable__factory {
|
|
143
|
+
static readonly abi = _abi;
|
|
144
|
+
static createInterface(): UUPSUpgradeableInterface {
|
|
145
|
+
return new Interface(_abi) as UUPSUpgradeableInterface;
|
|
146
|
+
}
|
|
147
|
+
static connect(
|
|
148
|
+
address: string,
|
|
149
|
+
runner?: ContractRunner | null
|
|
150
|
+
): UUPSUpgradeable {
|
|
151
|
+
return new Contract(address, _abi, runner) as unknown as UUPSUpgradeable;
|
|
152
|
+
}
|
|
153
|
+
}
|