@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./typechain-types";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import type * as interfaces from "./interfaces";
|
|
5
|
+
export type { interfaces };
|
|
6
|
+
import type * as proxy from "./proxy";
|
|
7
|
+
export type { proxy };
|
|
8
|
+
import type * as token from "./token";
|
|
9
|
+
export type { token };
|
|
10
|
+
import type * as utils from "./utils";
|
|
11
|
+
export type { utils };
|
|
@@ -0,0 +1,412 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import type {
|
|
5
|
+
BaseContract,
|
|
6
|
+
BigNumberish,
|
|
7
|
+
BytesLike,
|
|
8
|
+
FunctionFragment,
|
|
9
|
+
Result,
|
|
10
|
+
Interface,
|
|
11
|
+
EventFragment,
|
|
12
|
+
AddressLike,
|
|
13
|
+
ContractRunner,
|
|
14
|
+
ContractMethod,
|
|
15
|
+
Listener,
|
|
16
|
+
} from "ethers";
|
|
17
|
+
import type {
|
|
18
|
+
TypedContractEvent,
|
|
19
|
+
TypedDeferredTopicFilter,
|
|
20
|
+
TypedEventLog,
|
|
21
|
+
TypedLogDescription,
|
|
22
|
+
TypedListener,
|
|
23
|
+
TypedContractMethod,
|
|
24
|
+
} from "../../../common";
|
|
25
|
+
|
|
26
|
+
export interface IERC1363Interface extends Interface {
|
|
27
|
+
getFunction(
|
|
28
|
+
nameOrSignature:
|
|
29
|
+
| "allowance"
|
|
30
|
+
| "approve"
|
|
31
|
+
| "approveAndCall(address,uint256)"
|
|
32
|
+
| "approveAndCall(address,uint256,bytes)"
|
|
33
|
+
| "balanceOf"
|
|
34
|
+
| "supportsInterface"
|
|
35
|
+
| "totalSupply"
|
|
36
|
+
| "transfer"
|
|
37
|
+
| "transferAndCall(address,uint256)"
|
|
38
|
+
| "transferAndCall(address,uint256,bytes)"
|
|
39
|
+
| "transferFrom"
|
|
40
|
+
| "transferFromAndCall(address,address,uint256,bytes)"
|
|
41
|
+
| "transferFromAndCall(address,address,uint256)"
|
|
42
|
+
): FunctionFragment;
|
|
43
|
+
|
|
44
|
+
getEvent(nameOrSignatureOrTopic: "Approval" | "Transfer"): EventFragment;
|
|
45
|
+
|
|
46
|
+
encodeFunctionData(
|
|
47
|
+
functionFragment: "allowance",
|
|
48
|
+
values: [AddressLike, AddressLike]
|
|
49
|
+
): string;
|
|
50
|
+
encodeFunctionData(
|
|
51
|
+
functionFragment: "approve",
|
|
52
|
+
values: [AddressLike, BigNumberish]
|
|
53
|
+
): string;
|
|
54
|
+
encodeFunctionData(
|
|
55
|
+
functionFragment: "approveAndCall(address,uint256)",
|
|
56
|
+
values: [AddressLike, BigNumberish]
|
|
57
|
+
): string;
|
|
58
|
+
encodeFunctionData(
|
|
59
|
+
functionFragment: "approveAndCall(address,uint256,bytes)",
|
|
60
|
+
values: [AddressLike, BigNumberish, BytesLike]
|
|
61
|
+
): string;
|
|
62
|
+
encodeFunctionData(
|
|
63
|
+
functionFragment: "balanceOf",
|
|
64
|
+
values: [AddressLike]
|
|
65
|
+
): string;
|
|
66
|
+
encodeFunctionData(
|
|
67
|
+
functionFragment: "supportsInterface",
|
|
68
|
+
values: [BytesLike]
|
|
69
|
+
): string;
|
|
70
|
+
encodeFunctionData(
|
|
71
|
+
functionFragment: "totalSupply",
|
|
72
|
+
values?: undefined
|
|
73
|
+
): string;
|
|
74
|
+
encodeFunctionData(
|
|
75
|
+
functionFragment: "transfer",
|
|
76
|
+
values: [AddressLike, BigNumberish]
|
|
77
|
+
): string;
|
|
78
|
+
encodeFunctionData(
|
|
79
|
+
functionFragment: "transferAndCall(address,uint256)",
|
|
80
|
+
values: [AddressLike, BigNumberish]
|
|
81
|
+
): string;
|
|
82
|
+
encodeFunctionData(
|
|
83
|
+
functionFragment: "transferAndCall(address,uint256,bytes)",
|
|
84
|
+
values: [AddressLike, BigNumberish, BytesLike]
|
|
85
|
+
): string;
|
|
86
|
+
encodeFunctionData(
|
|
87
|
+
functionFragment: "transferFrom",
|
|
88
|
+
values: [AddressLike, AddressLike, BigNumberish]
|
|
89
|
+
): string;
|
|
90
|
+
encodeFunctionData(
|
|
91
|
+
functionFragment: "transferFromAndCall(address,address,uint256,bytes)",
|
|
92
|
+
values: [AddressLike, AddressLike, BigNumberish, BytesLike]
|
|
93
|
+
): string;
|
|
94
|
+
encodeFunctionData(
|
|
95
|
+
functionFragment: "transferFromAndCall(address,address,uint256)",
|
|
96
|
+
values: [AddressLike, AddressLike, BigNumberish]
|
|
97
|
+
): string;
|
|
98
|
+
|
|
99
|
+
decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result;
|
|
100
|
+
decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;
|
|
101
|
+
decodeFunctionResult(
|
|
102
|
+
functionFragment: "approveAndCall(address,uint256)",
|
|
103
|
+
data: BytesLike
|
|
104
|
+
): Result;
|
|
105
|
+
decodeFunctionResult(
|
|
106
|
+
functionFragment: "approveAndCall(address,uint256,bytes)",
|
|
107
|
+
data: BytesLike
|
|
108
|
+
): Result;
|
|
109
|
+
decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
|
|
110
|
+
decodeFunctionResult(
|
|
111
|
+
functionFragment: "supportsInterface",
|
|
112
|
+
data: BytesLike
|
|
113
|
+
): Result;
|
|
114
|
+
decodeFunctionResult(
|
|
115
|
+
functionFragment: "totalSupply",
|
|
116
|
+
data: BytesLike
|
|
117
|
+
): Result;
|
|
118
|
+
decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result;
|
|
119
|
+
decodeFunctionResult(
|
|
120
|
+
functionFragment: "transferAndCall(address,uint256)",
|
|
121
|
+
data: BytesLike
|
|
122
|
+
): Result;
|
|
123
|
+
decodeFunctionResult(
|
|
124
|
+
functionFragment: "transferAndCall(address,uint256,bytes)",
|
|
125
|
+
data: BytesLike
|
|
126
|
+
): Result;
|
|
127
|
+
decodeFunctionResult(
|
|
128
|
+
functionFragment: "transferFrom",
|
|
129
|
+
data: BytesLike
|
|
130
|
+
): Result;
|
|
131
|
+
decodeFunctionResult(
|
|
132
|
+
functionFragment: "transferFromAndCall(address,address,uint256,bytes)",
|
|
133
|
+
data: BytesLike
|
|
134
|
+
): Result;
|
|
135
|
+
decodeFunctionResult(
|
|
136
|
+
functionFragment: "transferFromAndCall(address,address,uint256)",
|
|
137
|
+
data: BytesLike
|
|
138
|
+
): Result;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
export namespace ApprovalEvent {
|
|
142
|
+
export type InputTuple = [
|
|
143
|
+
owner: AddressLike,
|
|
144
|
+
spender: AddressLike,
|
|
145
|
+
value: BigNumberish
|
|
146
|
+
];
|
|
147
|
+
export type OutputTuple = [owner: string, spender: string, value: bigint];
|
|
148
|
+
export interface OutputObject {
|
|
149
|
+
owner: string;
|
|
150
|
+
spender: string;
|
|
151
|
+
value: bigint;
|
|
152
|
+
}
|
|
153
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
154
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
155
|
+
export type Log = TypedEventLog<Event>;
|
|
156
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
export namespace TransferEvent {
|
|
160
|
+
export type InputTuple = [
|
|
161
|
+
from: AddressLike,
|
|
162
|
+
to: AddressLike,
|
|
163
|
+
value: BigNumberish
|
|
164
|
+
];
|
|
165
|
+
export type OutputTuple = [from: string, to: string, value: bigint];
|
|
166
|
+
export interface OutputObject {
|
|
167
|
+
from: string;
|
|
168
|
+
to: string;
|
|
169
|
+
value: bigint;
|
|
170
|
+
}
|
|
171
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
172
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
173
|
+
export type Log = TypedEventLog<Event>;
|
|
174
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
export interface IERC1363 extends BaseContract {
|
|
178
|
+
connect(runner?: ContractRunner | null): IERC1363;
|
|
179
|
+
waitForDeployment(): Promise<this>;
|
|
180
|
+
|
|
181
|
+
interface: IERC1363Interface;
|
|
182
|
+
|
|
183
|
+
queryFilter<TCEvent extends TypedContractEvent>(
|
|
184
|
+
event: TCEvent,
|
|
185
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
186
|
+
toBlock?: string | number | undefined
|
|
187
|
+
): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
188
|
+
queryFilter<TCEvent extends TypedContractEvent>(
|
|
189
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
190
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
191
|
+
toBlock?: string | number | undefined
|
|
192
|
+
): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
193
|
+
|
|
194
|
+
on<TCEvent extends TypedContractEvent>(
|
|
195
|
+
event: TCEvent,
|
|
196
|
+
listener: TypedListener<TCEvent>
|
|
197
|
+
): Promise<this>;
|
|
198
|
+
on<TCEvent extends TypedContractEvent>(
|
|
199
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
200
|
+
listener: TypedListener<TCEvent>
|
|
201
|
+
): Promise<this>;
|
|
202
|
+
|
|
203
|
+
once<TCEvent extends TypedContractEvent>(
|
|
204
|
+
event: TCEvent,
|
|
205
|
+
listener: TypedListener<TCEvent>
|
|
206
|
+
): Promise<this>;
|
|
207
|
+
once<TCEvent extends TypedContractEvent>(
|
|
208
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
209
|
+
listener: TypedListener<TCEvent>
|
|
210
|
+
): Promise<this>;
|
|
211
|
+
|
|
212
|
+
listeners<TCEvent extends TypedContractEvent>(
|
|
213
|
+
event: TCEvent
|
|
214
|
+
): Promise<Array<TypedListener<TCEvent>>>;
|
|
215
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
216
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(
|
|
217
|
+
event?: TCEvent
|
|
218
|
+
): Promise<this>;
|
|
219
|
+
|
|
220
|
+
allowance: TypedContractMethod<
|
|
221
|
+
[owner: AddressLike, spender: AddressLike],
|
|
222
|
+
[bigint],
|
|
223
|
+
"view"
|
|
224
|
+
>;
|
|
225
|
+
|
|
226
|
+
approve: TypedContractMethod<
|
|
227
|
+
[spender: AddressLike, value: BigNumberish],
|
|
228
|
+
[boolean],
|
|
229
|
+
"nonpayable"
|
|
230
|
+
>;
|
|
231
|
+
|
|
232
|
+
"approveAndCall(address,uint256)": TypedContractMethod<
|
|
233
|
+
[spender: AddressLike, value: BigNumberish],
|
|
234
|
+
[boolean],
|
|
235
|
+
"nonpayable"
|
|
236
|
+
>;
|
|
237
|
+
|
|
238
|
+
"approveAndCall(address,uint256,bytes)": TypedContractMethod<
|
|
239
|
+
[spender: AddressLike, value: BigNumberish, data: BytesLike],
|
|
240
|
+
[boolean],
|
|
241
|
+
"nonpayable"
|
|
242
|
+
>;
|
|
243
|
+
|
|
244
|
+
balanceOf: TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
245
|
+
|
|
246
|
+
supportsInterface: TypedContractMethod<
|
|
247
|
+
[interfaceId: BytesLike],
|
|
248
|
+
[boolean],
|
|
249
|
+
"view"
|
|
250
|
+
>;
|
|
251
|
+
|
|
252
|
+
totalSupply: TypedContractMethod<[], [bigint], "view">;
|
|
253
|
+
|
|
254
|
+
transfer: TypedContractMethod<
|
|
255
|
+
[to: AddressLike, value: BigNumberish],
|
|
256
|
+
[boolean],
|
|
257
|
+
"nonpayable"
|
|
258
|
+
>;
|
|
259
|
+
|
|
260
|
+
"transferAndCall(address,uint256)": TypedContractMethod<
|
|
261
|
+
[to: AddressLike, value: BigNumberish],
|
|
262
|
+
[boolean],
|
|
263
|
+
"nonpayable"
|
|
264
|
+
>;
|
|
265
|
+
|
|
266
|
+
"transferAndCall(address,uint256,bytes)": TypedContractMethod<
|
|
267
|
+
[to: AddressLike, value: BigNumberish, data: BytesLike],
|
|
268
|
+
[boolean],
|
|
269
|
+
"nonpayable"
|
|
270
|
+
>;
|
|
271
|
+
|
|
272
|
+
transferFrom: TypedContractMethod<
|
|
273
|
+
[from: AddressLike, to: AddressLike, value: BigNumberish],
|
|
274
|
+
[boolean],
|
|
275
|
+
"nonpayable"
|
|
276
|
+
>;
|
|
277
|
+
|
|
278
|
+
"transferFromAndCall(address,address,uint256,bytes)": TypedContractMethod<
|
|
279
|
+
[from: AddressLike, to: AddressLike, value: BigNumberish, data: BytesLike],
|
|
280
|
+
[boolean],
|
|
281
|
+
"nonpayable"
|
|
282
|
+
>;
|
|
283
|
+
|
|
284
|
+
"transferFromAndCall(address,address,uint256)": TypedContractMethod<
|
|
285
|
+
[from: AddressLike, to: AddressLike, value: BigNumberish],
|
|
286
|
+
[boolean],
|
|
287
|
+
"nonpayable"
|
|
288
|
+
>;
|
|
289
|
+
|
|
290
|
+
getFunction<T extends ContractMethod = ContractMethod>(
|
|
291
|
+
key: string | FunctionFragment
|
|
292
|
+
): T;
|
|
293
|
+
|
|
294
|
+
getFunction(
|
|
295
|
+
nameOrSignature: "allowance"
|
|
296
|
+
): TypedContractMethod<
|
|
297
|
+
[owner: AddressLike, spender: AddressLike],
|
|
298
|
+
[bigint],
|
|
299
|
+
"view"
|
|
300
|
+
>;
|
|
301
|
+
getFunction(
|
|
302
|
+
nameOrSignature: "approve"
|
|
303
|
+
): TypedContractMethod<
|
|
304
|
+
[spender: AddressLike, value: BigNumberish],
|
|
305
|
+
[boolean],
|
|
306
|
+
"nonpayable"
|
|
307
|
+
>;
|
|
308
|
+
getFunction(
|
|
309
|
+
nameOrSignature: "approveAndCall(address,uint256)"
|
|
310
|
+
): TypedContractMethod<
|
|
311
|
+
[spender: AddressLike, value: BigNumberish],
|
|
312
|
+
[boolean],
|
|
313
|
+
"nonpayable"
|
|
314
|
+
>;
|
|
315
|
+
getFunction(
|
|
316
|
+
nameOrSignature: "approveAndCall(address,uint256,bytes)"
|
|
317
|
+
): TypedContractMethod<
|
|
318
|
+
[spender: AddressLike, value: BigNumberish, data: BytesLike],
|
|
319
|
+
[boolean],
|
|
320
|
+
"nonpayable"
|
|
321
|
+
>;
|
|
322
|
+
getFunction(
|
|
323
|
+
nameOrSignature: "balanceOf"
|
|
324
|
+
): TypedContractMethod<[account: AddressLike], [bigint], "view">;
|
|
325
|
+
getFunction(
|
|
326
|
+
nameOrSignature: "supportsInterface"
|
|
327
|
+
): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
|
|
328
|
+
getFunction(
|
|
329
|
+
nameOrSignature: "totalSupply"
|
|
330
|
+
): TypedContractMethod<[], [bigint], "view">;
|
|
331
|
+
getFunction(
|
|
332
|
+
nameOrSignature: "transfer"
|
|
333
|
+
): TypedContractMethod<
|
|
334
|
+
[to: AddressLike, value: BigNumberish],
|
|
335
|
+
[boolean],
|
|
336
|
+
"nonpayable"
|
|
337
|
+
>;
|
|
338
|
+
getFunction(
|
|
339
|
+
nameOrSignature: "transferAndCall(address,uint256)"
|
|
340
|
+
): TypedContractMethod<
|
|
341
|
+
[to: AddressLike, value: BigNumberish],
|
|
342
|
+
[boolean],
|
|
343
|
+
"nonpayable"
|
|
344
|
+
>;
|
|
345
|
+
getFunction(
|
|
346
|
+
nameOrSignature: "transferAndCall(address,uint256,bytes)"
|
|
347
|
+
): TypedContractMethod<
|
|
348
|
+
[to: AddressLike, value: BigNumberish, data: BytesLike],
|
|
349
|
+
[boolean],
|
|
350
|
+
"nonpayable"
|
|
351
|
+
>;
|
|
352
|
+
getFunction(
|
|
353
|
+
nameOrSignature: "transferFrom"
|
|
354
|
+
): TypedContractMethod<
|
|
355
|
+
[from: AddressLike, to: AddressLike, value: BigNumberish],
|
|
356
|
+
[boolean],
|
|
357
|
+
"nonpayable"
|
|
358
|
+
>;
|
|
359
|
+
getFunction(
|
|
360
|
+
nameOrSignature: "transferFromAndCall(address,address,uint256,bytes)"
|
|
361
|
+
): TypedContractMethod<
|
|
362
|
+
[from: AddressLike, to: AddressLike, value: BigNumberish, data: BytesLike],
|
|
363
|
+
[boolean],
|
|
364
|
+
"nonpayable"
|
|
365
|
+
>;
|
|
366
|
+
getFunction(
|
|
367
|
+
nameOrSignature: "transferFromAndCall(address,address,uint256)"
|
|
368
|
+
): TypedContractMethod<
|
|
369
|
+
[from: AddressLike, to: AddressLike, value: BigNumberish],
|
|
370
|
+
[boolean],
|
|
371
|
+
"nonpayable"
|
|
372
|
+
>;
|
|
373
|
+
|
|
374
|
+
getEvent(
|
|
375
|
+
key: "Approval"
|
|
376
|
+
): TypedContractEvent<
|
|
377
|
+
ApprovalEvent.InputTuple,
|
|
378
|
+
ApprovalEvent.OutputTuple,
|
|
379
|
+
ApprovalEvent.OutputObject
|
|
380
|
+
>;
|
|
381
|
+
getEvent(
|
|
382
|
+
key: "Transfer"
|
|
383
|
+
): TypedContractEvent<
|
|
384
|
+
TransferEvent.InputTuple,
|
|
385
|
+
TransferEvent.OutputTuple,
|
|
386
|
+
TransferEvent.OutputObject
|
|
387
|
+
>;
|
|
388
|
+
|
|
389
|
+
filters: {
|
|
390
|
+
"Approval(address,address,uint256)": TypedContractEvent<
|
|
391
|
+
ApprovalEvent.InputTuple,
|
|
392
|
+
ApprovalEvent.OutputTuple,
|
|
393
|
+
ApprovalEvent.OutputObject
|
|
394
|
+
>;
|
|
395
|
+
Approval: TypedContractEvent<
|
|
396
|
+
ApprovalEvent.InputTuple,
|
|
397
|
+
ApprovalEvent.OutputTuple,
|
|
398
|
+
ApprovalEvent.OutputObject
|
|
399
|
+
>;
|
|
400
|
+
|
|
401
|
+
"Transfer(address,address,uint256)": TypedContractEvent<
|
|
402
|
+
TransferEvent.InputTuple,
|
|
403
|
+
TransferEvent.OutputTuple,
|
|
404
|
+
TransferEvent.OutputObject
|
|
405
|
+
>;
|
|
406
|
+
Transfer: TypedContractEvent<
|
|
407
|
+
TransferEvent.InputTuple,
|
|
408
|
+
TransferEvent.OutputTuple,
|
|
409
|
+
TransferEvent.OutputObject
|
|
410
|
+
>;
|
|
411
|
+
};
|
|
412
|
+
}
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import type {
|
|
5
|
+
BaseContract,
|
|
6
|
+
FunctionFragment,
|
|
7
|
+
Interface,
|
|
8
|
+
EventFragment,
|
|
9
|
+
AddressLike,
|
|
10
|
+
ContractRunner,
|
|
11
|
+
ContractMethod,
|
|
12
|
+
Listener,
|
|
13
|
+
} from "ethers";
|
|
14
|
+
import type {
|
|
15
|
+
TypedContractEvent,
|
|
16
|
+
TypedDeferredTopicFilter,
|
|
17
|
+
TypedEventLog,
|
|
18
|
+
TypedLogDescription,
|
|
19
|
+
TypedListener,
|
|
20
|
+
} from "../../../common";
|
|
21
|
+
|
|
22
|
+
export interface IERC1967Interface extends Interface {
|
|
23
|
+
getEvent(
|
|
24
|
+
nameOrSignatureOrTopic: "AdminChanged" | "BeaconUpgraded" | "Upgraded"
|
|
25
|
+
): EventFragment;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export namespace AdminChangedEvent {
|
|
29
|
+
export type InputTuple = [previousAdmin: AddressLike, newAdmin: AddressLike];
|
|
30
|
+
export type OutputTuple = [previousAdmin: string, newAdmin: string];
|
|
31
|
+
export interface OutputObject {
|
|
32
|
+
previousAdmin: string;
|
|
33
|
+
newAdmin: string;
|
|
34
|
+
}
|
|
35
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
36
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
37
|
+
export type Log = TypedEventLog<Event>;
|
|
38
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export namespace BeaconUpgradedEvent {
|
|
42
|
+
export type InputTuple = [beacon: AddressLike];
|
|
43
|
+
export type OutputTuple = [beacon: string];
|
|
44
|
+
export interface OutputObject {
|
|
45
|
+
beacon: string;
|
|
46
|
+
}
|
|
47
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
48
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
49
|
+
export type Log = TypedEventLog<Event>;
|
|
50
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export namespace UpgradedEvent {
|
|
54
|
+
export type InputTuple = [implementation: AddressLike];
|
|
55
|
+
export type OutputTuple = [implementation: string];
|
|
56
|
+
export interface OutputObject {
|
|
57
|
+
implementation: string;
|
|
58
|
+
}
|
|
59
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
60
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
61
|
+
export type Log = TypedEventLog<Event>;
|
|
62
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export interface IERC1967 extends BaseContract {
|
|
66
|
+
connect(runner?: ContractRunner | null): IERC1967;
|
|
67
|
+
waitForDeployment(): Promise<this>;
|
|
68
|
+
|
|
69
|
+
interface: IERC1967Interface;
|
|
70
|
+
|
|
71
|
+
queryFilter<TCEvent extends TypedContractEvent>(
|
|
72
|
+
event: TCEvent,
|
|
73
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
74
|
+
toBlock?: string | number | undefined
|
|
75
|
+
): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
76
|
+
queryFilter<TCEvent extends TypedContractEvent>(
|
|
77
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
78
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
79
|
+
toBlock?: string | number | undefined
|
|
80
|
+
): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
81
|
+
|
|
82
|
+
on<TCEvent extends TypedContractEvent>(
|
|
83
|
+
event: TCEvent,
|
|
84
|
+
listener: TypedListener<TCEvent>
|
|
85
|
+
): Promise<this>;
|
|
86
|
+
on<TCEvent extends TypedContractEvent>(
|
|
87
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
88
|
+
listener: TypedListener<TCEvent>
|
|
89
|
+
): Promise<this>;
|
|
90
|
+
|
|
91
|
+
once<TCEvent extends TypedContractEvent>(
|
|
92
|
+
event: TCEvent,
|
|
93
|
+
listener: TypedListener<TCEvent>
|
|
94
|
+
): Promise<this>;
|
|
95
|
+
once<TCEvent extends TypedContractEvent>(
|
|
96
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
97
|
+
listener: TypedListener<TCEvent>
|
|
98
|
+
): Promise<this>;
|
|
99
|
+
|
|
100
|
+
listeners<TCEvent extends TypedContractEvent>(
|
|
101
|
+
event: TCEvent
|
|
102
|
+
): Promise<Array<TypedListener<TCEvent>>>;
|
|
103
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
104
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(
|
|
105
|
+
event?: TCEvent
|
|
106
|
+
): Promise<this>;
|
|
107
|
+
|
|
108
|
+
getFunction<T extends ContractMethod = ContractMethod>(
|
|
109
|
+
key: string | FunctionFragment
|
|
110
|
+
): T;
|
|
111
|
+
|
|
112
|
+
getEvent(
|
|
113
|
+
key: "AdminChanged"
|
|
114
|
+
): TypedContractEvent<
|
|
115
|
+
AdminChangedEvent.InputTuple,
|
|
116
|
+
AdminChangedEvent.OutputTuple,
|
|
117
|
+
AdminChangedEvent.OutputObject
|
|
118
|
+
>;
|
|
119
|
+
getEvent(
|
|
120
|
+
key: "BeaconUpgraded"
|
|
121
|
+
): TypedContractEvent<
|
|
122
|
+
BeaconUpgradedEvent.InputTuple,
|
|
123
|
+
BeaconUpgradedEvent.OutputTuple,
|
|
124
|
+
BeaconUpgradedEvent.OutputObject
|
|
125
|
+
>;
|
|
126
|
+
getEvent(
|
|
127
|
+
key: "Upgraded"
|
|
128
|
+
): TypedContractEvent<
|
|
129
|
+
UpgradedEvent.InputTuple,
|
|
130
|
+
UpgradedEvent.OutputTuple,
|
|
131
|
+
UpgradedEvent.OutputObject
|
|
132
|
+
>;
|
|
133
|
+
|
|
134
|
+
filters: {
|
|
135
|
+
"AdminChanged(address,address)": TypedContractEvent<
|
|
136
|
+
AdminChangedEvent.InputTuple,
|
|
137
|
+
AdminChangedEvent.OutputTuple,
|
|
138
|
+
AdminChangedEvent.OutputObject
|
|
139
|
+
>;
|
|
140
|
+
AdminChanged: TypedContractEvent<
|
|
141
|
+
AdminChangedEvent.InputTuple,
|
|
142
|
+
AdminChangedEvent.OutputTuple,
|
|
143
|
+
AdminChangedEvent.OutputObject
|
|
144
|
+
>;
|
|
145
|
+
|
|
146
|
+
"BeaconUpgraded(address)": TypedContractEvent<
|
|
147
|
+
BeaconUpgradedEvent.InputTuple,
|
|
148
|
+
BeaconUpgradedEvent.OutputTuple,
|
|
149
|
+
BeaconUpgradedEvent.OutputObject
|
|
150
|
+
>;
|
|
151
|
+
BeaconUpgraded: TypedContractEvent<
|
|
152
|
+
BeaconUpgradedEvent.InputTuple,
|
|
153
|
+
BeaconUpgradedEvent.OutputTuple,
|
|
154
|
+
BeaconUpgradedEvent.OutputObject
|
|
155
|
+
>;
|
|
156
|
+
|
|
157
|
+
"Upgraded(address)": TypedContractEvent<
|
|
158
|
+
UpgradedEvent.InputTuple,
|
|
159
|
+
UpgradedEvent.OutputTuple,
|
|
160
|
+
UpgradedEvent.OutputObject
|
|
161
|
+
>;
|
|
162
|
+
Upgraded: TypedContractEvent<
|
|
163
|
+
UpgradedEvent.InputTuple,
|
|
164
|
+
UpgradedEvent.OutputTuple,
|
|
165
|
+
UpgradedEvent.OutputObject
|
|
166
|
+
>;
|
|
167
|
+
};
|
|
168
|
+
}
|