@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.
Files changed (126) hide show
  1. package/dist/types/index.d.ts +1 -0
  2. package/dist/types/typechain-types/@openzeppelin/contracts/index.ts +11 -0
  3. package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/IERC1363.ts +412 -0
  4. package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/IERC1967.ts +168 -0
  5. package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/IERC4626.ts +618 -0
  6. package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable.ts +90 -0
  7. package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.ts +4 -0
  8. package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC1155Errors.ts +69 -0
  9. package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC20Errors.ts +69 -0
  10. package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC721Errors.ts +69 -0
  11. package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/index.ts +6 -0
  12. package/dist/types/typechain-types/@openzeppelin/contracts/interfaces/index.ts +10 -0
  13. package/dist/types/typechain-types/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.ts +105 -0
  14. package/dist/types/typechain-types/@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.ts +69 -0
  15. package/dist/types/typechain-types/@openzeppelin/contracts/proxy/ERC1967/index.ts +5 -0
  16. package/dist/types/typechain-types/@openzeppelin/contracts/proxy/Proxy.ts +69 -0
  17. package/dist/types/typechain-types/@openzeppelin/contracts/proxy/beacon/IBeacon.ts +90 -0
  18. package/dist/types/typechain-types/@openzeppelin/contracts/proxy/beacon/index.ts +4 -0
  19. package/dist/types/typechain-types/@openzeppelin/contracts/proxy/index.ts +8 -0
  20. package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC20/ERC20.ts +286 -0
  21. package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC20/IERC20.ts +262 -0
  22. package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.ts +286 -0
  23. package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC20/extensions/index.ts +4 -0
  24. package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC20/index.ts +9 -0
  25. package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC20/utils/SafeERC20.ts +69 -0
  26. package/dist/types/typechain-types/@openzeppelin/contracts/token/ERC20/utils/index.ts +4 -0
  27. package/dist/types/typechain-types/@openzeppelin/contracts/token/index.ts +5 -0
  28. package/dist/types/typechain-types/@openzeppelin/contracts/utils/Address.ts +69 -0
  29. package/dist/types/typechain-types/@openzeppelin/contracts/utils/Errors.ts +69 -0
  30. package/dist/types/typechain-types/@openzeppelin/contracts/utils/index.ts +9 -0
  31. package/dist/types/typechain-types/@openzeppelin/contracts/utils/introspection/IERC165.ts +94 -0
  32. package/dist/types/typechain-types/@openzeppelin/contracts/utils/introspection/index.ts +4 -0
  33. package/dist/types/typechain-types/@openzeppelin/contracts/utils/math/SafeCast.ts +69 -0
  34. package/dist/types/typechain-types/@openzeppelin/contracts/utils/math/index.ts +4 -0
  35. package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.ts +186 -0
  36. package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/access/index.ts +4 -0
  37. package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/index.ts +11 -0
  38. package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/proxy/index.ts +5 -0
  39. package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.ts +105 -0
  40. package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.ts +196 -0
  41. package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/proxy/utils/index.ts +5 -0
  42. package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.ts +318 -0
  43. package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC4626Upgradeable.ts +653 -0
  44. package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/index.ts +4 -0
  45. package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/token/ERC20/index.ts +6 -0
  46. package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/token/index.ts +5 -0
  47. package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.ts +105 -0
  48. package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/utils/ReentrancyGuardUpgradeable.ts +105 -0
  49. package/dist/types/typechain-types/@openzeppelin/contracts-upgradeable/utils/index.ts +5 -0
  50. package/dist/types/typechain-types/@openzeppelin/index.ts +7 -0
  51. package/dist/types/typechain-types/common.ts +131 -0
  52. package/dist/types/typechain-types/contracts/ManagementFeeUpgradeableV1.ts +285 -0
  53. package/dist/types/typechain-types/contracts/PerformanceFeeUpgradeableV1.ts +320 -0
  54. package/dist/types/typechain-types/contracts/VaultFactoryV1.ts +456 -0
  55. package/dist/types/typechain-types/contracts/VaultV1.ts +1383 -0
  56. package/dist/types/typechain-types/contracts/index.ts +13 -0
  57. package/dist/types/typechain-types/contracts/mocks/MockERC20.ts +305 -0
  58. package/dist/types/typechain-types/contracts/mocks/index.ts +4 -0
  59. package/dist/types/typechain-types/contracts/providers/AddressProviderV1.ts +342 -0
  60. package/dist/types/typechain-types/contracts/providers/index.ts +4 -0
  61. package/dist/types/typechain-types/contracts/registers/VaultRegistryV1.ts +558 -0
  62. package/dist/types/typechain-types/contracts/registers/index.ts +4 -0
  63. package/dist/types/typechain-types/factories/@openzeppelin/contracts/index.ts +7 -0
  64. package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC1363__factory.ts +393 -0
  65. package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC1967__factory.ts +67 -0
  66. package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/IERC4626__factory.ts +634 -0
  67. package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/IERC1822Proxiable__factory.ts +38 -0
  68. package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC1822.sol/index.ts +4 -0
  69. package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC1155Errors__factory.ts +127 -0
  70. package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC20Errors__factory.ts +111 -0
  71. package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC721Errors__factory.ts +128 -0
  72. package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/draft-IERC6093.sol/index.ts +6 -0
  73. package/dist/types/typechain-types/factories/@openzeppelin/contracts/interfaces/index.ts +8 -0
  74. package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy__factory.ts +144 -0
  75. package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils__factory.ts +105 -0
  76. package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/ERC1967/index.ts +5 -0
  77. package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/Proxy__factory.ts +26 -0
  78. package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/beacon/IBeacon__factory.ts +35 -0
  79. package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/beacon/index.ts +4 -0
  80. package/dist/types/typechain-types/factories/@openzeppelin/contracts/proxy/index.ts +6 -0
  81. package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/ERC20__factory.ts +330 -0
  82. package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/IERC20__factory.ts +205 -0
  83. package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory.ts +247 -0
  84. package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/extensions/index.ts +4 -0
  85. package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/index.ts +7 -0
  86. package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/SafeERC20__factory.ts +96 -0
  87. package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/ERC20/utils/index.ts +4 -0
  88. package/dist/types/typechain-types/factories/@openzeppelin/contracts/token/index.ts +4 -0
  89. package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/Address__factory.ts +75 -0
  90. package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/Errors__factory.ts +101 -0
  91. package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/index.ts +7 -0
  92. package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/introspection/IERC165__factory.ts +41 -0
  93. package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/introspection/index.ts +4 -0
  94. package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/math/SafeCast__factory.ts +118 -0
  95. package/dist/types/typechain-types/factories/@openzeppelin/contracts/utils/math/index.ts +4 -0
  96. package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable__factory.ts +122 -0
  97. package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/access/index.ts +4 -0
  98. package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/index.ts +7 -0
  99. package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/index.ts +4 -0
  100. package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable__factory.ts +48 -0
  101. package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable__factory.ts +153 -0
  102. package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/proxy/utils/index.ts +5 -0
  103. package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable__factory.ts +356 -0
  104. package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC4626Upgradeable__factory.ts +841 -0
  105. package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/index.ts +4 -0
  106. package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/token/ERC20/index.ts +5 -0
  107. package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/token/index.ts +4 -0
  108. package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable__factory.ts +48 -0
  109. package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/utils/ReentrancyGuardUpgradeable__factory.ts +57 -0
  110. package/dist/types/typechain-types/factories/@openzeppelin/contracts-upgradeable/utils/index.ts +5 -0
  111. package/dist/types/typechain-types/factories/@openzeppelin/index.ts +5 -0
  112. package/dist/types/typechain-types/factories/contracts/ManagementFeeUpgradeableV1__factory.ts +175 -0
  113. package/dist/types/typechain-types/factories/contracts/PerformanceFeeUpgradeableV1__factory.ts +194 -0
  114. package/dist/types/typechain-types/factories/contracts/VaultFactoryV1__factory.ts +449 -0
  115. package/dist/types/typechain-types/factories/contracts/VaultV1__factory.ts +1523 -0
  116. package/dist/types/typechain-types/factories/contracts/index.ts +10 -0
  117. package/dist/types/typechain-types/factories/contracts/mocks/MockERC20__factory.ts +412 -0
  118. package/dist/types/typechain-types/factories/contracts/mocks/index.ts +4 -0
  119. package/dist/types/typechain-types/factories/contracts/providers/AddressProviderV1__factory.ts +359 -0
  120. package/dist/types/typechain-types/factories/contracts/providers/index.ts +4 -0
  121. package/dist/types/typechain-types/factories/contracts/registers/VaultRegistryV1__factory.ts +554 -0
  122. package/dist/types/typechain-types/factories/contracts/registers/index.ts +4 -0
  123. package/dist/types/typechain-types/factories/index.ts +5 -0
  124. package/dist/types/typechain-types/hardhat.d.ts +639 -0
  125. package/dist/types/typechain-types/index.ts +74 -0
  126. package/package.json +23 -0
@@ -0,0 +1,127 @@
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
+ IERC1155Errors,
8
+ IERC1155ErrorsInterface,
9
+ } from "../../../../../@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC1155Errors";
10
+
11
+ const _abi = [
12
+ {
13
+ inputs: [
14
+ {
15
+ internalType: "address",
16
+ name: "sender",
17
+ type: "address",
18
+ },
19
+ {
20
+ internalType: "uint256",
21
+ name: "balance",
22
+ type: "uint256",
23
+ },
24
+ {
25
+ internalType: "uint256",
26
+ name: "needed",
27
+ type: "uint256",
28
+ },
29
+ {
30
+ internalType: "uint256",
31
+ name: "tokenId",
32
+ type: "uint256",
33
+ },
34
+ ],
35
+ name: "ERC1155InsufficientBalance",
36
+ type: "error",
37
+ },
38
+ {
39
+ inputs: [
40
+ {
41
+ internalType: "address",
42
+ name: "approver",
43
+ type: "address",
44
+ },
45
+ ],
46
+ name: "ERC1155InvalidApprover",
47
+ type: "error",
48
+ },
49
+ {
50
+ inputs: [
51
+ {
52
+ internalType: "uint256",
53
+ name: "idsLength",
54
+ type: "uint256",
55
+ },
56
+ {
57
+ internalType: "uint256",
58
+ name: "valuesLength",
59
+ type: "uint256",
60
+ },
61
+ ],
62
+ name: "ERC1155InvalidArrayLength",
63
+ type: "error",
64
+ },
65
+ {
66
+ inputs: [
67
+ {
68
+ internalType: "address",
69
+ name: "operator",
70
+ type: "address",
71
+ },
72
+ ],
73
+ name: "ERC1155InvalidOperator",
74
+ type: "error",
75
+ },
76
+ {
77
+ inputs: [
78
+ {
79
+ internalType: "address",
80
+ name: "receiver",
81
+ type: "address",
82
+ },
83
+ ],
84
+ name: "ERC1155InvalidReceiver",
85
+ type: "error",
86
+ },
87
+ {
88
+ inputs: [
89
+ {
90
+ internalType: "address",
91
+ name: "sender",
92
+ type: "address",
93
+ },
94
+ ],
95
+ name: "ERC1155InvalidSender",
96
+ type: "error",
97
+ },
98
+ {
99
+ inputs: [
100
+ {
101
+ internalType: "address",
102
+ name: "operator",
103
+ type: "address",
104
+ },
105
+ {
106
+ internalType: "address",
107
+ name: "owner",
108
+ type: "address",
109
+ },
110
+ ],
111
+ name: "ERC1155MissingApprovalForAll",
112
+ type: "error",
113
+ },
114
+ ] as const;
115
+
116
+ export class IERC1155Errors__factory {
117
+ static readonly abi = _abi;
118
+ static createInterface(): IERC1155ErrorsInterface {
119
+ return new Interface(_abi) as IERC1155ErrorsInterface;
120
+ }
121
+ static connect(
122
+ address: string,
123
+ runner?: ContractRunner | null
124
+ ): IERC1155Errors {
125
+ return new Contract(address, _abi, runner) as unknown as IERC1155Errors;
126
+ }
127
+ }
@@ -0,0 +1,111 @@
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
+ IERC20Errors,
8
+ IERC20ErrorsInterface,
9
+ } from "../../../../../@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC20Errors";
10
+
11
+ const _abi = [
12
+ {
13
+ inputs: [
14
+ {
15
+ internalType: "address",
16
+ name: "spender",
17
+ type: "address",
18
+ },
19
+ {
20
+ internalType: "uint256",
21
+ name: "allowance",
22
+ type: "uint256",
23
+ },
24
+ {
25
+ internalType: "uint256",
26
+ name: "needed",
27
+ type: "uint256",
28
+ },
29
+ ],
30
+ name: "ERC20InsufficientAllowance",
31
+ type: "error",
32
+ },
33
+ {
34
+ inputs: [
35
+ {
36
+ internalType: "address",
37
+ name: "sender",
38
+ type: "address",
39
+ },
40
+ {
41
+ internalType: "uint256",
42
+ name: "balance",
43
+ type: "uint256",
44
+ },
45
+ {
46
+ internalType: "uint256",
47
+ name: "needed",
48
+ type: "uint256",
49
+ },
50
+ ],
51
+ name: "ERC20InsufficientBalance",
52
+ type: "error",
53
+ },
54
+ {
55
+ inputs: [
56
+ {
57
+ internalType: "address",
58
+ name: "approver",
59
+ type: "address",
60
+ },
61
+ ],
62
+ name: "ERC20InvalidApprover",
63
+ type: "error",
64
+ },
65
+ {
66
+ inputs: [
67
+ {
68
+ internalType: "address",
69
+ name: "receiver",
70
+ type: "address",
71
+ },
72
+ ],
73
+ name: "ERC20InvalidReceiver",
74
+ type: "error",
75
+ },
76
+ {
77
+ inputs: [
78
+ {
79
+ internalType: "address",
80
+ name: "sender",
81
+ type: "address",
82
+ },
83
+ ],
84
+ name: "ERC20InvalidSender",
85
+ type: "error",
86
+ },
87
+ {
88
+ inputs: [
89
+ {
90
+ internalType: "address",
91
+ name: "spender",
92
+ type: "address",
93
+ },
94
+ ],
95
+ name: "ERC20InvalidSpender",
96
+ type: "error",
97
+ },
98
+ ] as const;
99
+
100
+ export class IERC20Errors__factory {
101
+ static readonly abi = _abi;
102
+ static createInterface(): IERC20ErrorsInterface {
103
+ return new Interface(_abi) as IERC20ErrorsInterface;
104
+ }
105
+ static connect(
106
+ address: string,
107
+ runner?: ContractRunner | null
108
+ ): IERC20Errors {
109
+ return new Contract(address, _abi, runner) as unknown as IERC20Errors;
110
+ }
111
+ }
@@ -0,0 +1,128 @@
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
+ IERC721Errors,
8
+ IERC721ErrorsInterface,
9
+ } from "../../../../../@openzeppelin/contracts/interfaces/draft-IERC6093.sol/IERC721Errors";
10
+
11
+ const _abi = [
12
+ {
13
+ inputs: [
14
+ {
15
+ internalType: "address",
16
+ name: "sender",
17
+ type: "address",
18
+ },
19
+ {
20
+ internalType: "uint256",
21
+ name: "tokenId",
22
+ type: "uint256",
23
+ },
24
+ {
25
+ internalType: "address",
26
+ name: "owner",
27
+ type: "address",
28
+ },
29
+ ],
30
+ name: "ERC721IncorrectOwner",
31
+ type: "error",
32
+ },
33
+ {
34
+ inputs: [
35
+ {
36
+ internalType: "address",
37
+ name: "operator",
38
+ type: "address",
39
+ },
40
+ {
41
+ internalType: "uint256",
42
+ name: "tokenId",
43
+ type: "uint256",
44
+ },
45
+ ],
46
+ name: "ERC721InsufficientApproval",
47
+ type: "error",
48
+ },
49
+ {
50
+ inputs: [
51
+ {
52
+ internalType: "address",
53
+ name: "approver",
54
+ type: "address",
55
+ },
56
+ ],
57
+ name: "ERC721InvalidApprover",
58
+ type: "error",
59
+ },
60
+ {
61
+ inputs: [
62
+ {
63
+ internalType: "address",
64
+ name: "operator",
65
+ type: "address",
66
+ },
67
+ ],
68
+ name: "ERC721InvalidOperator",
69
+ type: "error",
70
+ },
71
+ {
72
+ inputs: [
73
+ {
74
+ internalType: "address",
75
+ name: "owner",
76
+ type: "address",
77
+ },
78
+ ],
79
+ name: "ERC721InvalidOwner",
80
+ type: "error",
81
+ },
82
+ {
83
+ inputs: [
84
+ {
85
+ internalType: "address",
86
+ name: "receiver",
87
+ type: "address",
88
+ },
89
+ ],
90
+ name: "ERC721InvalidReceiver",
91
+ type: "error",
92
+ },
93
+ {
94
+ inputs: [
95
+ {
96
+ internalType: "address",
97
+ name: "sender",
98
+ type: "address",
99
+ },
100
+ ],
101
+ name: "ERC721InvalidSender",
102
+ type: "error",
103
+ },
104
+ {
105
+ inputs: [
106
+ {
107
+ internalType: "uint256",
108
+ name: "tokenId",
109
+ type: "uint256",
110
+ },
111
+ ],
112
+ name: "ERC721NonexistentToken",
113
+ type: "error",
114
+ },
115
+ ] as const;
116
+
117
+ export class IERC721Errors__factory {
118
+ static readonly abi = _abi;
119
+ static createInterface(): IERC721ErrorsInterface {
120
+ return new Interface(_abi) as IERC721ErrorsInterface;
121
+ }
122
+ static connect(
123
+ address: string,
124
+ runner?: ContractRunner | null
125
+ ): IERC721Errors {
126
+ return new Contract(address, _abi, runner) as unknown as IERC721Errors;
127
+ }
128
+ }
@@ -0,0 +1,6 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ export { IERC1155Errors__factory } from "./IERC1155Errors__factory";
5
+ export { IERC20Errors__factory } from "./IERC20Errors__factory";
6
+ export { IERC721Errors__factory } from "./IERC721Errors__factory";
@@ -0,0 +1,8 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ export * as draftIerc1822Sol from "./draft-IERC1822.sol";
5
+ export * as draftIerc6093Sol from "./draft-IERC6093.sol";
6
+ export { IERC1363__factory } from "./IERC1363__factory";
7
+ export { IERC1967__factory } from "./IERC1967__factory";
8
+ export { IERC4626__factory } from "./IERC4626__factory";
@@ -0,0 +1,144 @@
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 {
11
+ Signer,
12
+ BytesLike,
13
+ AddressLike,
14
+ ContractDeployTransaction,
15
+ ContractRunner,
16
+ } from "ethers";
17
+ import type { PayableOverrides } from "../../../../../common";
18
+ import type {
19
+ ERC1967Proxy,
20
+ ERC1967ProxyInterface,
21
+ } from "../../../../../@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy";
22
+
23
+ const _abi = [
24
+ {
25
+ inputs: [
26
+ {
27
+ internalType: "address",
28
+ name: "implementation",
29
+ type: "address",
30
+ },
31
+ {
32
+ internalType: "bytes",
33
+ name: "_data",
34
+ type: "bytes",
35
+ },
36
+ ],
37
+ stateMutability: "payable",
38
+ type: "constructor",
39
+ },
40
+ {
41
+ inputs: [
42
+ {
43
+ internalType: "address",
44
+ name: "target",
45
+ type: "address",
46
+ },
47
+ ],
48
+ name: "AddressEmptyCode",
49
+ type: "error",
50
+ },
51
+ {
52
+ inputs: [
53
+ {
54
+ internalType: "address",
55
+ name: "implementation",
56
+ type: "address",
57
+ },
58
+ ],
59
+ name: "ERC1967InvalidImplementation",
60
+ type: "error",
61
+ },
62
+ {
63
+ inputs: [],
64
+ name: "ERC1967NonPayable",
65
+ type: "error",
66
+ },
67
+ {
68
+ inputs: [],
69
+ name: "FailedCall",
70
+ type: "error",
71
+ },
72
+ {
73
+ anonymous: false,
74
+ inputs: [
75
+ {
76
+ indexed: true,
77
+ internalType: "address",
78
+ name: "implementation",
79
+ type: "address",
80
+ },
81
+ ],
82
+ name: "Upgraded",
83
+ type: "event",
84
+ },
85
+ {
86
+ stateMutability: "payable",
87
+ type: "fallback",
88
+ },
89
+ ] as const;
90
+
91
+ const _bytecode =
92
+ "0x608060405260405161040f38038061040f83398101604081905261002291610267565b61002c8282610033565b5050610357565b61003c82610092565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a280511561008657610081828261010e565b505050565b61008e610185565b5050565b806001600160a01b03163b6000036100cd57604051634c9c8ce360e01b81526001600160a01b03821660048201526024015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc80546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080846001600160a01b03168460405161012b919061033b565b600060405180830381855af49150503d8060008114610166576040519150601f19603f3d011682016040523d82523d6000602084013e61016b565b606091505b50909250905061017c8583836101a6565b95945050505050565b34156101a45760405163b398979f60e01b815260040160405180910390fd5b565b6060826101bb576101b682610205565b6101fe565b81511580156101d257506001600160a01b0384163b155b156101fb57604051639996b31560e01b81526001600160a01b03851660048201526024016100c4565b50805b9392505050565b80511561021457805160208201fd5b60405163d6bda27560e01b815260040160405180910390fd5b634e487b7160e01b600052604160045260246000fd5b60005b8381101561025e578181015183820152602001610246565b50506000910152565b6000806040838503121561027a57600080fd5b82516001600160a01b038116811461029157600080fd5b60208401519092506001600160401b038111156102ad57600080fd5b8301601f810185136102be57600080fd5b80516001600160401b038111156102d7576102d761022d565b604051601f8201601f19908116603f011681016001600160401b03811182821017156103055761030561022d565b60405281815282820160200187101561031d57600080fd5b61032e826020830160208601610243565b8093505050509250929050565b6000825161034d818460208701610243565b9190910192915050565b60aa806103656000396000f3fe6080604052600a600c565b005b60186014601a565b6051565b565b6000604c7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc546001600160a01b031690565b905090565b3660008037600080366000845af43d6000803e808015606f573d6000f35b3d6000fdfea26469706673582212203f9c7d903f9c926ce2e43b59e7f452c26284ff50fedd2261d2623cebe5ede48464736f6c634300081c0033";
93
+
94
+ type ERC1967ProxyConstructorParams =
95
+ | [signer?: Signer]
96
+ | ConstructorParameters<typeof ContractFactory>;
97
+
98
+ const isSuperArgs = (
99
+ xs: ERC1967ProxyConstructorParams
100
+ ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
101
+
102
+ export class ERC1967Proxy__factory extends ContractFactory {
103
+ constructor(...args: ERC1967ProxyConstructorParams) {
104
+ if (isSuperArgs(args)) {
105
+ super(...args);
106
+ } else {
107
+ super(_abi, _bytecode, args[0]);
108
+ }
109
+ }
110
+
111
+ override getDeployTransaction(
112
+ implementation: AddressLike,
113
+ _data: BytesLike,
114
+ overrides?: PayableOverrides & { from?: string }
115
+ ): Promise<ContractDeployTransaction> {
116
+ return super.getDeployTransaction(implementation, _data, overrides || {});
117
+ }
118
+ override deploy(
119
+ implementation: AddressLike,
120
+ _data: BytesLike,
121
+ overrides?: PayableOverrides & { from?: string }
122
+ ) {
123
+ return super.deploy(implementation, _data, overrides || {}) as Promise<
124
+ ERC1967Proxy & {
125
+ deploymentTransaction(): ContractTransactionResponse;
126
+ }
127
+ >;
128
+ }
129
+ override connect(runner: ContractRunner | null): ERC1967Proxy__factory {
130
+ return super.connect(runner) as ERC1967Proxy__factory;
131
+ }
132
+
133
+ static readonly bytecode = _bytecode;
134
+ static readonly abi = _abi;
135
+ static createInterface(): ERC1967ProxyInterface {
136
+ return new Interface(_abi) as ERC1967ProxyInterface;
137
+ }
138
+ static connect(
139
+ address: string,
140
+ runner?: ContractRunner | null
141
+ ): ERC1967Proxy {
142
+ return new Contract(address, _abi, runner) as unknown as ERC1967Proxy;
143
+ }
144
+ }
@@ -0,0 +1,105 @@
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
+ ERC1967Utils,
14
+ ERC1967UtilsInterface,
15
+ } from "../../../../../@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils";
16
+
17
+ const _abi = [
18
+ {
19
+ inputs: [
20
+ {
21
+ internalType: "address",
22
+ name: "admin",
23
+ type: "address",
24
+ },
25
+ ],
26
+ name: "ERC1967InvalidAdmin",
27
+ type: "error",
28
+ },
29
+ {
30
+ inputs: [
31
+ {
32
+ internalType: "address",
33
+ name: "beacon",
34
+ type: "address",
35
+ },
36
+ ],
37
+ name: "ERC1967InvalidBeacon",
38
+ type: "error",
39
+ },
40
+ {
41
+ inputs: [
42
+ {
43
+ internalType: "address",
44
+ name: "implementation",
45
+ type: "address",
46
+ },
47
+ ],
48
+ name: "ERC1967InvalidImplementation",
49
+ type: "error",
50
+ },
51
+ {
52
+ inputs: [],
53
+ name: "ERC1967NonPayable",
54
+ type: "error",
55
+ },
56
+ ] as const;
57
+
58
+ const _bytecode =
59
+ "0x60566037600b82828239805160001a607314602a57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220131074af32bdf3064c99c3459e0e7e0021da5fdc5873408cc55335e371ce0ac964736f6c634300081c0033";
60
+
61
+ type ERC1967UtilsConstructorParams =
62
+ | [signer?: Signer]
63
+ | ConstructorParameters<typeof ContractFactory>;
64
+
65
+ const isSuperArgs = (
66
+ xs: ERC1967UtilsConstructorParams
67
+ ): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
68
+
69
+ export class ERC1967Utils__factory extends ContractFactory {
70
+ constructor(...args: ERC1967UtilsConstructorParams) {
71
+ if (isSuperArgs(args)) {
72
+ super(...args);
73
+ } else {
74
+ super(_abi, _bytecode, args[0]);
75
+ }
76
+ }
77
+
78
+ override getDeployTransaction(
79
+ overrides?: NonPayableOverrides & { from?: string }
80
+ ): Promise<ContractDeployTransaction> {
81
+ return super.getDeployTransaction(overrides || {});
82
+ }
83
+ override deploy(overrides?: NonPayableOverrides & { from?: string }) {
84
+ return super.deploy(overrides || {}) as Promise<
85
+ ERC1967Utils & {
86
+ deploymentTransaction(): ContractTransactionResponse;
87
+ }
88
+ >;
89
+ }
90
+ override connect(runner: ContractRunner | null): ERC1967Utils__factory {
91
+ return super.connect(runner) as ERC1967Utils__factory;
92
+ }
93
+
94
+ static readonly bytecode = _bytecode;
95
+ static readonly abi = _abi;
96
+ static createInterface(): ERC1967UtilsInterface {
97
+ return new Interface(_abi) as ERC1967UtilsInterface;
98
+ }
99
+ static connect(
100
+ address: string,
101
+ runner?: ContractRunner | null
102
+ ): ERC1967Utils {
103
+ return new Contract(address, _abi, runner) as unknown as ERC1967Utils;
104
+ }
105
+ }
@@ -0,0 +1,5 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ export { ERC1967Proxy__factory } from "./ERC1967Proxy__factory";
5
+ export { ERC1967Utils__factory } from "./ERC1967Utils__factory";
@@ -0,0 +1,26 @@
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
+ Proxy,
8
+ ProxyInterface,
9
+ } from "../../../../@openzeppelin/contracts/proxy/Proxy";
10
+
11
+ const _abi = [
12
+ {
13
+ stateMutability: "payable",
14
+ type: "fallback",
15
+ },
16
+ ] as const;
17
+
18
+ export class Proxy__factory {
19
+ static readonly abi = _abi;
20
+ static createInterface(): ProxyInterface {
21
+ return new Interface(_abi) as ProxyInterface;
22
+ }
23
+ static connect(address: string, runner?: ContractRunner | null): Proxy {
24
+ return new Contract(address, _abi, runner) as unknown as Proxy;
25
+ }
26
+ }
@@ -0,0 +1,35 @@
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
+ IBeacon,
8
+ IBeaconInterface,
9
+ } from "../../../../../@openzeppelin/contracts/proxy/beacon/IBeacon";
10
+
11
+ const _abi = [
12
+ {
13
+ inputs: [],
14
+ name: "implementation",
15
+ outputs: [
16
+ {
17
+ internalType: "address",
18
+ name: "",
19
+ type: "address",
20
+ },
21
+ ],
22
+ stateMutability: "view",
23
+ type: "function",
24
+ },
25
+ ] as const;
26
+
27
+ export class IBeacon__factory {
28
+ static readonly abi = _abi;
29
+ static createInterface(): IBeaconInterface {
30
+ return new Interface(_abi) as IBeaconInterface;
31
+ }
32
+ static connect(address: string, runner?: ContractRunner | null): IBeacon {
33
+ return new Contract(address, _abi, runner) as unknown as IBeacon;
34
+ }
35
+ }