@venusprotocol/protocol-reserve 1.0.0-dev.6 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/artifacts/@openzeppelin/contracts/access/IAccessControl.sol/IAccessControl.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/token/ERC20/ERC20.sol/ERC20.json +2 -2
- package/artifacts/@openzeppelin/contracts/token/ERC20/IERC20.sol/IERC20.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol/IERC20Metadata.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts/utils/Context.sol/Context.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.sol/Ownable2StepUpgradeable.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol/OwnableUpgradeable.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol/Initializable.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol/ReentrancyGuardUpgradeable.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol/IERC20Upgradeable.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/IERC20PermitUpgradeable.sol/IERC20PermitUpgradeable.dbg.json +4 -0
- package/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/{draft-IERC20PermitUpgradeable.sol → IERC20PermitUpgradeable.sol}/IERC20PermitUpgradeable.json +1 -1
- package/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/utils/SafeERC20Upgradeable.sol/SafeERC20Upgradeable.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/utils/SafeERC20Upgradeable.sol/SafeERC20Upgradeable.json +2 -2
- package/artifacts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.dbg.json +1 -1
- package/artifacts/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol/AddressUpgradeable.json +2 -2
- package/artifacts/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol/ContextUpgradeable.dbg.json +1 -1
- package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/AccessControlledV8.sol/AccessControlledV8.dbg.json +1 -1
- package/artifacts/@venusprotocol/governance-contracts/contracts/Governance/IAccessControlManagerV8.sol/IAccessControlManagerV8.dbg.json +1 -1
- package/artifacts/@venusprotocol/isolated-pools/contracts/MaxLoopsLimitHelper.sol/MaxLoopsLimitHelper.dbg.json +1 -1
- package/artifacts/build-info/5e0d0fa03533470b2e430f8020bc271c.json +1 -0
- package/artifacts/contracts/Interfaces/ComptrollerInterface.sol/ComptrollerInterface.dbg.json +1 -1
- package/artifacts/contracts/Interfaces/IIncomeDestination.sol/IIncomeDestination.dbg.json +1 -1
- package/artifacts/contracts/Interfaces/IProtocolShareReserve.sol/IProtocolShareReserve.dbg.json +1 -1
- package/artifacts/contracts/Interfaces/IVToken.sol/IVToken.dbg.json +1 -1
- package/artifacts/contracts/Interfaces/PoolRegistryInterface.sol/PoolRegistryInterface.dbg.json +1 -1
- package/artifacts/contracts/ProtocolReserve/ProtocolShareReserve.sol/ProtocolShareReserve.dbg.json +1 -1
- package/artifacts/contracts/ProtocolReserve/ProtocolShareReserve.sol/ProtocolShareReserve.json +67 -56
- package/artifacts/contracts/Test/Mocks/MockToken.sol/MockToken.dbg.json +1 -1
- package/artifacts/contracts/Test/Mocks/MockToken.sol/MockToken.json +2 -2
- package/contracts/Interfaces/IProtocolShareReserve.sol +5 -1
- package/contracts/ProtocolReserve/ProtocolShareReserve.sol +70 -86
- package/contracts/Test/Mocks/MockToken.sol +5 -1
- package/deploy/1-deploy.ts +64 -0
- package/deployments/bscmainnet/.chainId +1 -0
- package/deployments/bscmainnet/DefaultProxyAdmin.json +257 -0
- package/deployments/bscmainnet/ProtocolShareReserve.json +1054 -0
- package/deployments/bscmainnet/ProtocolShareReserve_Implementation.json +1264 -0
- package/deployments/bscmainnet/ProtocolShareReserve_Proxy.json +277 -0
- package/deployments/bscmainnet/solcInputs/0e89febeebc7444140de8e67c9067d2c.json +78 -0
- package/deployments/bscmainnet/solcInputs/45a7e25696ff2229490239636d073de0.json +90 -0
- package/deployments/bscmainnet/solcInputs/c87a4970e440c0598abee31750358915.json +90 -0
- package/deployments/bscmainnet/solcInputs/f7c7133e4506082d7aa8242a8f52a4c9.json +87 -0
- package/deployments/bsctestnet/.chainId +1 -0
- package/deployments/bsctestnet/DefaultProxyAdmin.json +257 -0
- package/deployments/bsctestnet/ProtocolShareReserve.json +1054 -0
- package/deployments/bsctestnet/ProtocolShareReserve_Implementation.json +1264 -0
- package/deployments/bsctestnet/ProtocolShareReserve_Proxy.json +277 -0
- package/deployments/bsctestnet/solcInputs/0e89febeebc7444140de8e67c9067d2c.json +78 -0
- package/deployments/bsctestnet/solcInputs/45a7e25696ff2229490239636d073de0.json +90 -0
- package/deployments/bsctestnet/solcInputs/c87a4970e440c0598abee31750358915.json +90 -0
- package/deployments/bsctestnet/solcInputs/f7c7133e4506082d7aa8242a8f52a4c9.json +87 -0
- package/package.json +56 -61
- package/typechain/{@venusprotocol/governance-contracts/contracts/Governance/AccessControlledV8.ts → AccessControlledV8.d.ts} +125 -128
- package/typechain/ComptrollerInterface.d.ts +101 -0
- package/typechain/ContextUpgradeable.d.ts +92 -0
- package/typechain/ERC20.d.ts +441 -0
- package/typechain/IAccessControl.d.ts +333 -0
- package/typechain/IAccessControlManagerV8.d.ts +504 -0
- package/typechain/IERC20.d.ts +324 -0
- package/typechain/{@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.ts → IERC20Metadata.d.ts} +146 -169
- package/typechain/IERC20PermitUpgradeable.d.ts +187 -0
- package/typechain/IERC20Upgradeable.d.ts +324 -0
- package/typechain/IIncomeDestination.d.ts +122 -0
- package/typechain/IProtocolShareReserve.d.ts +127 -0
- package/typechain/IVToken.d.ts +98 -0
- package/typechain/Initializable.d.ts +92 -0
- package/typechain/MaxLoopsLimitHelper.d.ts +128 -0
- package/typechain/MockToken.d.ts +469 -0
- package/typechain/{@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable.ts → Ownable2StepUpgradeable.d.ts} +102 -105
- package/typechain/OwnableUpgradeable.d.ts +193 -0
- package/typechain/PoolRegistryInterface.d.ts +121 -0
- package/typechain/{contracts/ProtocolReserve/ProtocolShareReserve.ts → ProtocolShareReserve.d.ts} +538 -486
- package/typechain/ReentrancyGuardUpgradeable.d.ts +92 -0
- package/typechain/common.d.ts +35 -0
- package/typechain/factories/{@venusprotocol/governance-contracts/contracts/Governance/AccessControlledV8__factory.ts → AccessControlledV8__factory.ts} +5 -6
- package/typechain/factories/{contracts/Interfaces/ComptrollerInterface__factory.ts → ComptrollerInterface__factory.ts} +5 -6
- package/typechain/factories/{@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable__factory.ts → ContextUpgradeable__factory.ts} +5 -6
- package/typechain/factories/{@openzeppelin/contracts/token/ERC20/ERC20__factory.ts → ERC20__factory.ts} +21 -33
- package/typechain/factories/{@venusprotocol/governance-contracts/contracts/Governance/IAccessControlManagerV8__factory.ts → IAccessControlManagerV8__factory.ts} +5 -6
- package/typechain/factories/{@openzeppelin/contracts/access/IAccessControl__factory.ts → IAccessControl__factory.ts} +5 -6
- package/typechain/factories/{@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory.ts → IERC20Metadata__factory.ts} +5 -6
- package/typechain/factories/{@openzeppelin/contracts-upgradeable/token/ERC20/extensions/draft-IERC20PermitUpgradeable.sol/IERC20PermitUpgradeable__factory.ts → IERC20PermitUpgradeable__factory.ts} +5 -6
- package/typechain/factories/{@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable__factory.ts → IERC20Upgradeable__factory.ts} +5 -6
- package/typechain/factories/{@openzeppelin/contracts/token/ERC20/IERC20__factory.ts → IERC20__factory.ts} +4 -8
- package/typechain/factories/{contracts/Interfaces/IIncomeDestination__factory.ts → IIncomeDestination__factory.ts} +5 -6
- package/typechain/factories/{contracts/Interfaces/IProtocolShareReserve__factory.ts → IProtocolShareReserve__factory.ts} +5 -6
- package/typechain/factories/{contracts/Interfaces/IVToken__factory.ts → IVToken__factory.ts} +4 -8
- package/typechain/factories/{@openzeppelin/contracts-upgradeable/proxy/utils/Initializable__factory.ts → Initializable__factory.ts} +4 -8
- package/typechain/factories/{@venusprotocol/isolated-pools/contracts/MaxLoopsLimitHelper__factory.ts → MaxLoopsLimitHelper__factory.ts} +5 -6
- package/typechain/factories/{contracts/Test/Mocks/MockToken__factory.ts → MockToken__factory.ts} +24 -36
- package/typechain/factories/{@openzeppelin/contracts-upgradeable/access/Ownable2StepUpgradeable__factory.ts → Ownable2StepUpgradeable__factory.ts} +5 -6
- package/typechain/factories/{@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable__factory.ts → OwnableUpgradeable__factory.ts} +5 -6
- package/typechain/factories/{contracts/Interfaces/PoolRegistryInterface__factory.ts → PoolRegistryInterface__factory.ts} +5 -6
- package/typechain/factories/ProtocolShareReserve__factory.ts +869 -0
- package/typechain/factories/{@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable__factory.ts → ReentrancyGuardUpgradeable__factory.ts} +5 -6
- package/typechain/index.ts +42 -55
- package/artifacts/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/draft-IERC20PermitUpgradeable.sol/IERC20PermitUpgradeable.dbg.json +0 -4
- package/artifacts/build-info/1b4d833fe9f0ac50f7e6ab5ae3115468.json +0 -1
- package/artifacts/contracts/Interfaces/IPrime.sol/IPrime.dbg.json +0 -4
- package/artifacts/contracts/Interfaces/IPrime.sol/IPrime.json +0 -74
- package/contracts/Interfaces/IPrime.sol +0 -12
- package/contracts/interfaces/IProtocolShareReserve.sol +0 -12
- package/contracts/test/Mocks/MockToken.sol +0 -22
- package/typechain/@openzeppelin/contracts/access/IAccessControl.ts +0 -343
- package/typechain/@openzeppelin/contracts/access/index.ts +0 -4
- package/typechain/@openzeppelin/contracts/index.ts +0 -11
- package/typechain/@openzeppelin/contracts/token/ERC20/ERC20.ts +0 -466
- package/typechain/@openzeppelin/contracts/token/ERC20/IERC20.ts +0 -344
- package/typechain/@openzeppelin/contracts/token/ERC20/extensions/index.ts +0 -4
- package/typechain/@openzeppelin/contracts/token/ERC20/index.ts +0 -10
- package/typechain/@openzeppelin/contracts/token/index.ts +0 -8
- package/typechain/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.ts +0 -190
- package/typechain/@openzeppelin/contracts-upgradeable/access/index.ts +0 -5
- package/typechain/@openzeppelin/contracts-upgradeable/index.ts +0 -20
- package/typechain/@openzeppelin/contracts-upgradeable/proxy/index.ts +0 -8
- package/typechain/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.ts +0 -72
- package/typechain/@openzeppelin/contracts-upgradeable/proxy/utils/index.ts +0 -4
- package/typechain/@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.ts +0 -72
- package/typechain/@openzeppelin/contracts-upgradeable/security/index.ts +0 -4
- package/typechain/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.ts +0 -344
- package/typechain/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/draft-IERC20PermitUpgradeable.sol/IERC20PermitUpgradeable.ts +0 -195
- package/typechain/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/draft-IERC20PermitUpgradeable.sol/index.ts +0 -4
- package/typechain/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/index.ts +0 -8
- package/typechain/@openzeppelin/contracts-upgradeable/token/ERC20/index.ts +0 -9
- package/typechain/@openzeppelin/contracts-upgradeable/token/index.ts +0 -8
- package/typechain/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.ts +0 -72
- package/typechain/@openzeppelin/contracts-upgradeable/utils/index.ts +0 -4
- package/typechain/@openzeppelin/index.ts +0 -11
- package/typechain/@venusprotocol/governance-contracts/contracts/Governance/IAccessControlManagerV8.ts +0 -530
- package/typechain/@venusprotocol/governance-contracts/contracts/Governance/index.ts +0 -5
- package/typechain/@venusprotocol/governance-contracts/contracts/index.ts +0 -8
- package/typechain/@venusprotocol/governance-contracts/index.ts +0 -8
- package/typechain/@venusprotocol/index.ts +0 -11
- package/typechain/@venusprotocol/isolated-pools/contracts/MaxLoopsLimitHelper.ts +0 -119
- package/typechain/@venusprotocol/isolated-pools/contracts/index.ts +0 -4
- package/typechain/@venusprotocol/isolated-pools/index.ts +0 -8
- package/typechain/common.ts +0 -48
- package/typechain/contracts/Interfaces/ComptrollerInterface.ts +0 -90
- package/typechain/contracts/Interfaces/IIncomeDestination.ts +0 -112
- package/typechain/contracts/Interfaces/IPrime.ts +0 -205
- package/typechain/contracts/Interfaces/IProtocolShareReserve.ts +0 -122
- package/typechain/contracts/Interfaces/IVToken.ts +0 -87
- package/typechain/contracts/Interfaces/PoolRegistryInterface.ts +0 -110
- package/typechain/contracts/Interfaces/index.ts +0 -9
- package/typechain/contracts/ProtocolReserve/index.ts +0 -4
- package/typechain/contracts/Test/Mocks/MockToken.ts +0 -498
- package/typechain/contracts/Test/Mocks/index.ts +0 -4
- package/typechain/contracts/Test/index.ts +0 -8
- package/typechain/contracts/index.ts +0 -14
- package/typechain/factories/@openzeppelin/contracts/access/index.ts +0 -4
- package/typechain/factories/@openzeppelin/contracts/index.ts +0 -5
- package/typechain/factories/@openzeppelin/contracts/token/ERC20/extensions/index.ts +0 -4
- package/typechain/factories/@openzeppelin/contracts/token/ERC20/index.ts +0 -6
- package/typechain/factories/@openzeppelin/contracts/token/index.ts +0 -4
- package/typechain/factories/@openzeppelin/contracts-upgradeable/access/index.ts +0 -5
- package/typechain/factories/@openzeppelin/contracts-upgradeable/index.ts +0 -8
- package/typechain/factories/@openzeppelin/contracts-upgradeable/proxy/index.ts +0 -4
- package/typechain/factories/@openzeppelin/contracts-upgradeable/proxy/utils/index.ts +0 -4
- package/typechain/factories/@openzeppelin/contracts-upgradeable/security/index.ts +0 -4
- package/typechain/factories/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/draft-IERC20PermitUpgradeable.sol/index.ts +0 -4
- package/typechain/factories/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/index.ts +0 -4
- package/typechain/factories/@openzeppelin/contracts-upgradeable/token/ERC20/index.ts +0 -5
- package/typechain/factories/@openzeppelin/contracts-upgradeable/token/index.ts +0 -4
- package/typechain/factories/@openzeppelin/contracts-upgradeable/utils/index.ts +0 -4
- package/typechain/factories/@openzeppelin/index.ts +0 -5
- package/typechain/factories/@venusprotocol/governance-contracts/contracts/Governance/index.ts +0 -5
- package/typechain/factories/@venusprotocol/governance-contracts/contracts/index.ts +0 -4
- package/typechain/factories/@venusprotocol/governance-contracts/index.ts +0 -4
- package/typechain/factories/@venusprotocol/index.ts +0 -5
- package/typechain/factories/@venusprotocol/isolated-pools/contracts/index.ts +0 -4
- package/typechain/factories/@venusprotocol/isolated-pools/index.ts +0 -4
- package/typechain/factories/contracts/Interfaces/IPrime__factory.ts +0 -87
- package/typechain/factories/contracts/Interfaces/index.ts +0 -9
- package/typechain/factories/contracts/ProtocolReserve/ProtocolShareReserve__factory.ts +0 -867
- package/typechain/factories/contracts/ProtocolReserve/index.ts +0 -4
- package/typechain/factories/contracts/Test/Mocks/index.ts +0 -4
- package/typechain/factories/contracts/Test/index.ts +0 -4
- package/typechain/factories/contracts/index.ts +0 -6
- package/typechain/factories/index.ts +0 -6
- package/typechain/hardhat.d.ts +0 -231
|
@@ -1,344 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
|
|
5
|
-
/* eslint-disable */
|
|
6
|
-
import type {
|
|
7
|
-
TypedEventFilter,
|
|
8
|
-
TypedEvent,
|
|
9
|
-
TypedListener,
|
|
10
|
-
OnEvent,
|
|
11
|
-
PromiseOrValue,
|
|
12
|
-
} from "../../../../common";
|
|
13
|
-
import type {
|
|
14
|
-
FunctionFragment,
|
|
15
|
-
Result,
|
|
16
|
-
EventFragment,
|
|
17
|
-
} from "@ethersproject/abi";
|
|
18
|
-
import type { Listener, Provider } from "@ethersproject/providers";
|
|
19
|
-
import type {
|
|
20
|
-
BaseContract,
|
|
21
|
-
BigNumber,
|
|
22
|
-
BigNumberish,
|
|
23
|
-
BytesLike,
|
|
24
|
-
CallOverrides,
|
|
25
|
-
ContractTransaction,
|
|
26
|
-
Overrides,
|
|
27
|
-
PopulatedTransaction,
|
|
28
|
-
Signer,
|
|
29
|
-
utils,
|
|
30
|
-
} from "ethers";
|
|
31
|
-
|
|
32
|
-
export interface IERC20Interface extends utils.Interface {
|
|
33
|
-
functions: {
|
|
34
|
-
"allowance(address,address)": FunctionFragment;
|
|
35
|
-
"approve(address,uint256)": FunctionFragment;
|
|
36
|
-
"balanceOf(address)": FunctionFragment;
|
|
37
|
-
"totalSupply()": FunctionFragment;
|
|
38
|
-
"transfer(address,uint256)": FunctionFragment;
|
|
39
|
-
"transferFrom(address,address,uint256)": FunctionFragment;
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
getFunction(
|
|
43
|
-
nameOrSignatureOrTopic:
|
|
44
|
-
| "allowance"
|
|
45
|
-
| "approve"
|
|
46
|
-
| "balanceOf"
|
|
47
|
-
| "totalSupply"
|
|
48
|
-
| "transfer"
|
|
49
|
-
| "transferFrom"
|
|
50
|
-
): FunctionFragment;
|
|
51
|
-
|
|
52
|
-
encodeFunctionData(
|
|
53
|
-
functionFragment: "allowance",
|
|
54
|
-
values: [PromiseOrValue<string>, PromiseOrValue<string>]
|
|
55
|
-
): string;
|
|
56
|
-
encodeFunctionData(
|
|
57
|
-
functionFragment: "approve",
|
|
58
|
-
values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]
|
|
59
|
-
): string;
|
|
60
|
-
encodeFunctionData(
|
|
61
|
-
functionFragment: "balanceOf",
|
|
62
|
-
values: [PromiseOrValue<string>]
|
|
63
|
-
): string;
|
|
64
|
-
encodeFunctionData(
|
|
65
|
-
functionFragment: "totalSupply",
|
|
66
|
-
values?: undefined
|
|
67
|
-
): string;
|
|
68
|
-
encodeFunctionData(
|
|
69
|
-
functionFragment: "transfer",
|
|
70
|
-
values: [PromiseOrValue<string>, PromiseOrValue<BigNumberish>]
|
|
71
|
-
): string;
|
|
72
|
-
encodeFunctionData(
|
|
73
|
-
functionFragment: "transferFrom",
|
|
74
|
-
values: [
|
|
75
|
-
PromiseOrValue<string>,
|
|
76
|
-
PromiseOrValue<string>,
|
|
77
|
-
PromiseOrValue<BigNumberish>
|
|
78
|
-
]
|
|
79
|
-
): string;
|
|
80
|
-
|
|
81
|
-
decodeFunctionResult(functionFragment: "allowance", data: BytesLike): Result;
|
|
82
|
-
decodeFunctionResult(functionFragment: "approve", data: BytesLike): Result;
|
|
83
|
-
decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result;
|
|
84
|
-
decodeFunctionResult(
|
|
85
|
-
functionFragment: "totalSupply",
|
|
86
|
-
data: BytesLike
|
|
87
|
-
): Result;
|
|
88
|
-
decodeFunctionResult(functionFragment: "transfer", data: BytesLike): Result;
|
|
89
|
-
decodeFunctionResult(
|
|
90
|
-
functionFragment: "transferFrom",
|
|
91
|
-
data: BytesLike
|
|
92
|
-
): Result;
|
|
93
|
-
|
|
94
|
-
events: {
|
|
95
|
-
"Approval(address,address,uint256)": EventFragment;
|
|
96
|
-
"Transfer(address,address,uint256)": EventFragment;
|
|
97
|
-
};
|
|
98
|
-
|
|
99
|
-
getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment;
|
|
100
|
-
getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
export interface ApprovalEventObject {
|
|
104
|
-
owner: string;
|
|
105
|
-
spender: string;
|
|
106
|
-
value: BigNumber;
|
|
107
|
-
}
|
|
108
|
-
export type ApprovalEvent = TypedEvent<
|
|
109
|
-
[string, string, BigNumber],
|
|
110
|
-
ApprovalEventObject
|
|
111
|
-
>;
|
|
112
|
-
|
|
113
|
-
export type ApprovalEventFilter = TypedEventFilter<ApprovalEvent>;
|
|
114
|
-
|
|
115
|
-
export interface TransferEventObject {
|
|
116
|
-
from: string;
|
|
117
|
-
to: string;
|
|
118
|
-
value: BigNumber;
|
|
119
|
-
}
|
|
120
|
-
export type TransferEvent = TypedEvent<
|
|
121
|
-
[string, string, BigNumber],
|
|
122
|
-
TransferEventObject
|
|
123
|
-
>;
|
|
124
|
-
|
|
125
|
-
export type TransferEventFilter = TypedEventFilter<TransferEvent>;
|
|
126
|
-
|
|
127
|
-
export interface IERC20 extends BaseContract {
|
|
128
|
-
connect(signerOrProvider: Signer | Provider | string): this;
|
|
129
|
-
attach(addressOrName: string): this;
|
|
130
|
-
deployed(): Promise<this>;
|
|
131
|
-
|
|
132
|
-
interface: IERC20Interface;
|
|
133
|
-
|
|
134
|
-
queryFilter<TEvent extends TypedEvent>(
|
|
135
|
-
event: TypedEventFilter<TEvent>,
|
|
136
|
-
fromBlockOrBlockhash?: string | number | undefined,
|
|
137
|
-
toBlock?: string | number | undefined
|
|
138
|
-
): Promise<Array<TEvent>>;
|
|
139
|
-
|
|
140
|
-
listeners<TEvent extends TypedEvent>(
|
|
141
|
-
eventFilter?: TypedEventFilter<TEvent>
|
|
142
|
-
): Array<TypedListener<TEvent>>;
|
|
143
|
-
listeners(eventName?: string): Array<Listener>;
|
|
144
|
-
removeAllListeners<TEvent extends TypedEvent>(
|
|
145
|
-
eventFilter: TypedEventFilter<TEvent>
|
|
146
|
-
): this;
|
|
147
|
-
removeAllListeners(eventName?: string): this;
|
|
148
|
-
off: OnEvent<this>;
|
|
149
|
-
on: OnEvent<this>;
|
|
150
|
-
once: OnEvent<this>;
|
|
151
|
-
removeListener: OnEvent<this>;
|
|
152
|
-
|
|
153
|
-
functions: {
|
|
154
|
-
allowance(
|
|
155
|
-
owner: PromiseOrValue<string>,
|
|
156
|
-
spender: PromiseOrValue<string>,
|
|
157
|
-
overrides?: CallOverrides
|
|
158
|
-
): Promise<[BigNumber]>;
|
|
159
|
-
|
|
160
|
-
approve(
|
|
161
|
-
spender: PromiseOrValue<string>,
|
|
162
|
-
amount: PromiseOrValue<BigNumberish>,
|
|
163
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
164
|
-
): Promise<ContractTransaction>;
|
|
165
|
-
|
|
166
|
-
balanceOf(
|
|
167
|
-
account: PromiseOrValue<string>,
|
|
168
|
-
overrides?: CallOverrides
|
|
169
|
-
): Promise<[BigNumber]>;
|
|
170
|
-
|
|
171
|
-
totalSupply(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
172
|
-
|
|
173
|
-
transfer(
|
|
174
|
-
to: PromiseOrValue<string>,
|
|
175
|
-
amount: PromiseOrValue<BigNumberish>,
|
|
176
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
177
|
-
): Promise<ContractTransaction>;
|
|
178
|
-
|
|
179
|
-
transferFrom(
|
|
180
|
-
from: PromiseOrValue<string>,
|
|
181
|
-
to: PromiseOrValue<string>,
|
|
182
|
-
amount: PromiseOrValue<BigNumberish>,
|
|
183
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
184
|
-
): Promise<ContractTransaction>;
|
|
185
|
-
};
|
|
186
|
-
|
|
187
|
-
allowance(
|
|
188
|
-
owner: PromiseOrValue<string>,
|
|
189
|
-
spender: PromiseOrValue<string>,
|
|
190
|
-
overrides?: CallOverrides
|
|
191
|
-
): Promise<BigNumber>;
|
|
192
|
-
|
|
193
|
-
approve(
|
|
194
|
-
spender: PromiseOrValue<string>,
|
|
195
|
-
amount: PromiseOrValue<BigNumberish>,
|
|
196
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
197
|
-
): Promise<ContractTransaction>;
|
|
198
|
-
|
|
199
|
-
balanceOf(
|
|
200
|
-
account: PromiseOrValue<string>,
|
|
201
|
-
overrides?: CallOverrides
|
|
202
|
-
): Promise<BigNumber>;
|
|
203
|
-
|
|
204
|
-
totalSupply(overrides?: CallOverrides): Promise<BigNumber>;
|
|
205
|
-
|
|
206
|
-
transfer(
|
|
207
|
-
to: PromiseOrValue<string>,
|
|
208
|
-
amount: PromiseOrValue<BigNumberish>,
|
|
209
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
210
|
-
): Promise<ContractTransaction>;
|
|
211
|
-
|
|
212
|
-
transferFrom(
|
|
213
|
-
from: PromiseOrValue<string>,
|
|
214
|
-
to: PromiseOrValue<string>,
|
|
215
|
-
amount: PromiseOrValue<BigNumberish>,
|
|
216
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
217
|
-
): Promise<ContractTransaction>;
|
|
218
|
-
|
|
219
|
-
callStatic: {
|
|
220
|
-
allowance(
|
|
221
|
-
owner: PromiseOrValue<string>,
|
|
222
|
-
spender: PromiseOrValue<string>,
|
|
223
|
-
overrides?: CallOverrides
|
|
224
|
-
): Promise<BigNumber>;
|
|
225
|
-
|
|
226
|
-
approve(
|
|
227
|
-
spender: PromiseOrValue<string>,
|
|
228
|
-
amount: PromiseOrValue<BigNumberish>,
|
|
229
|
-
overrides?: CallOverrides
|
|
230
|
-
): Promise<boolean>;
|
|
231
|
-
|
|
232
|
-
balanceOf(
|
|
233
|
-
account: PromiseOrValue<string>,
|
|
234
|
-
overrides?: CallOverrides
|
|
235
|
-
): Promise<BigNumber>;
|
|
236
|
-
|
|
237
|
-
totalSupply(overrides?: CallOverrides): Promise<BigNumber>;
|
|
238
|
-
|
|
239
|
-
transfer(
|
|
240
|
-
to: PromiseOrValue<string>,
|
|
241
|
-
amount: PromiseOrValue<BigNumberish>,
|
|
242
|
-
overrides?: CallOverrides
|
|
243
|
-
): Promise<boolean>;
|
|
244
|
-
|
|
245
|
-
transferFrom(
|
|
246
|
-
from: PromiseOrValue<string>,
|
|
247
|
-
to: PromiseOrValue<string>,
|
|
248
|
-
amount: PromiseOrValue<BigNumberish>,
|
|
249
|
-
overrides?: CallOverrides
|
|
250
|
-
): Promise<boolean>;
|
|
251
|
-
};
|
|
252
|
-
|
|
253
|
-
filters: {
|
|
254
|
-
"Approval(address,address,uint256)"(
|
|
255
|
-
owner?: PromiseOrValue<string> | null,
|
|
256
|
-
spender?: PromiseOrValue<string> | null,
|
|
257
|
-
value?: null
|
|
258
|
-
): ApprovalEventFilter;
|
|
259
|
-
Approval(
|
|
260
|
-
owner?: PromiseOrValue<string> | null,
|
|
261
|
-
spender?: PromiseOrValue<string> | null,
|
|
262
|
-
value?: null
|
|
263
|
-
): ApprovalEventFilter;
|
|
264
|
-
|
|
265
|
-
"Transfer(address,address,uint256)"(
|
|
266
|
-
from?: PromiseOrValue<string> | null,
|
|
267
|
-
to?: PromiseOrValue<string> | null,
|
|
268
|
-
value?: null
|
|
269
|
-
): TransferEventFilter;
|
|
270
|
-
Transfer(
|
|
271
|
-
from?: PromiseOrValue<string> | null,
|
|
272
|
-
to?: PromiseOrValue<string> | null,
|
|
273
|
-
value?: null
|
|
274
|
-
): TransferEventFilter;
|
|
275
|
-
};
|
|
276
|
-
|
|
277
|
-
estimateGas: {
|
|
278
|
-
allowance(
|
|
279
|
-
owner: PromiseOrValue<string>,
|
|
280
|
-
spender: PromiseOrValue<string>,
|
|
281
|
-
overrides?: CallOverrides
|
|
282
|
-
): Promise<BigNumber>;
|
|
283
|
-
|
|
284
|
-
approve(
|
|
285
|
-
spender: PromiseOrValue<string>,
|
|
286
|
-
amount: PromiseOrValue<BigNumberish>,
|
|
287
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
288
|
-
): Promise<BigNumber>;
|
|
289
|
-
|
|
290
|
-
balanceOf(
|
|
291
|
-
account: PromiseOrValue<string>,
|
|
292
|
-
overrides?: CallOverrides
|
|
293
|
-
): Promise<BigNumber>;
|
|
294
|
-
|
|
295
|
-
totalSupply(overrides?: CallOverrides): Promise<BigNumber>;
|
|
296
|
-
|
|
297
|
-
transfer(
|
|
298
|
-
to: PromiseOrValue<string>,
|
|
299
|
-
amount: PromiseOrValue<BigNumberish>,
|
|
300
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
301
|
-
): Promise<BigNumber>;
|
|
302
|
-
|
|
303
|
-
transferFrom(
|
|
304
|
-
from: PromiseOrValue<string>,
|
|
305
|
-
to: PromiseOrValue<string>,
|
|
306
|
-
amount: PromiseOrValue<BigNumberish>,
|
|
307
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
308
|
-
): Promise<BigNumber>;
|
|
309
|
-
};
|
|
310
|
-
|
|
311
|
-
populateTransaction: {
|
|
312
|
-
allowance(
|
|
313
|
-
owner: PromiseOrValue<string>,
|
|
314
|
-
spender: PromiseOrValue<string>,
|
|
315
|
-
overrides?: CallOverrides
|
|
316
|
-
): Promise<PopulatedTransaction>;
|
|
317
|
-
|
|
318
|
-
approve(
|
|
319
|
-
spender: PromiseOrValue<string>,
|
|
320
|
-
amount: PromiseOrValue<BigNumberish>,
|
|
321
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
322
|
-
): Promise<PopulatedTransaction>;
|
|
323
|
-
|
|
324
|
-
balanceOf(
|
|
325
|
-
account: PromiseOrValue<string>,
|
|
326
|
-
overrides?: CallOverrides
|
|
327
|
-
): Promise<PopulatedTransaction>;
|
|
328
|
-
|
|
329
|
-
totalSupply(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
330
|
-
|
|
331
|
-
transfer(
|
|
332
|
-
to: PromiseOrValue<string>,
|
|
333
|
-
amount: PromiseOrValue<BigNumberish>,
|
|
334
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
335
|
-
): Promise<PopulatedTransaction>;
|
|
336
|
-
|
|
337
|
-
transferFrom(
|
|
338
|
-
from: PromiseOrValue<string>,
|
|
339
|
-
to: PromiseOrValue<string>,
|
|
340
|
-
amount: PromiseOrValue<BigNumberish>,
|
|
341
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
342
|
-
): Promise<PopulatedTransaction>;
|
|
343
|
-
};
|
|
344
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
|
|
5
|
-
/* eslint-disable */
|
|
6
|
-
import type * as extensions from "./extensions";
|
|
7
|
-
|
|
8
|
-
export type { extensions };
|
|
9
|
-
export type { ERC20 } from "./ERC20";
|
|
10
|
-
export type { IERC20 } from "./IERC20";
|
|
@@ -1,190 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
|
|
5
|
-
/* eslint-disable */
|
|
6
|
-
import type {
|
|
7
|
-
TypedEventFilter,
|
|
8
|
-
TypedEvent,
|
|
9
|
-
TypedListener,
|
|
10
|
-
OnEvent,
|
|
11
|
-
PromiseOrValue,
|
|
12
|
-
} from "../../../common";
|
|
13
|
-
import type {
|
|
14
|
-
FunctionFragment,
|
|
15
|
-
Result,
|
|
16
|
-
EventFragment,
|
|
17
|
-
} from "@ethersproject/abi";
|
|
18
|
-
import type { Listener, Provider } from "@ethersproject/providers";
|
|
19
|
-
import type {
|
|
20
|
-
BaseContract,
|
|
21
|
-
BigNumber,
|
|
22
|
-
BytesLike,
|
|
23
|
-
CallOverrides,
|
|
24
|
-
ContractTransaction,
|
|
25
|
-
Overrides,
|
|
26
|
-
PopulatedTransaction,
|
|
27
|
-
Signer,
|
|
28
|
-
utils,
|
|
29
|
-
} from "ethers";
|
|
30
|
-
|
|
31
|
-
export interface OwnableUpgradeableInterface extends utils.Interface {
|
|
32
|
-
functions: {
|
|
33
|
-
"owner()": FunctionFragment;
|
|
34
|
-
"renounceOwnership()": FunctionFragment;
|
|
35
|
-
"transferOwnership(address)": FunctionFragment;
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
getFunction(
|
|
39
|
-
nameOrSignatureOrTopic: "owner" | "renounceOwnership" | "transferOwnership"
|
|
40
|
-
): FunctionFragment;
|
|
41
|
-
|
|
42
|
-
encodeFunctionData(functionFragment: "owner", values?: undefined): string;
|
|
43
|
-
encodeFunctionData(
|
|
44
|
-
functionFragment: "renounceOwnership",
|
|
45
|
-
values?: undefined
|
|
46
|
-
): string;
|
|
47
|
-
encodeFunctionData(
|
|
48
|
-
functionFragment: "transferOwnership",
|
|
49
|
-
values: [PromiseOrValue<string>]
|
|
50
|
-
): string;
|
|
51
|
-
|
|
52
|
-
decodeFunctionResult(functionFragment: "owner", data: BytesLike): Result;
|
|
53
|
-
decodeFunctionResult(
|
|
54
|
-
functionFragment: "renounceOwnership",
|
|
55
|
-
data: BytesLike
|
|
56
|
-
): Result;
|
|
57
|
-
decodeFunctionResult(
|
|
58
|
-
functionFragment: "transferOwnership",
|
|
59
|
-
data: BytesLike
|
|
60
|
-
): Result;
|
|
61
|
-
|
|
62
|
-
events: {
|
|
63
|
-
"Initialized(uint8)": EventFragment;
|
|
64
|
-
"OwnershipTransferred(address,address)": EventFragment;
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
getEvent(nameOrSignatureOrTopic: "Initialized"): EventFragment;
|
|
68
|
-
getEvent(nameOrSignatureOrTopic: "OwnershipTransferred"): EventFragment;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
export interface InitializedEventObject {
|
|
72
|
-
version: number;
|
|
73
|
-
}
|
|
74
|
-
export type InitializedEvent = TypedEvent<[number], InitializedEventObject>;
|
|
75
|
-
|
|
76
|
-
export type InitializedEventFilter = TypedEventFilter<InitializedEvent>;
|
|
77
|
-
|
|
78
|
-
export interface OwnershipTransferredEventObject {
|
|
79
|
-
previousOwner: string;
|
|
80
|
-
newOwner: string;
|
|
81
|
-
}
|
|
82
|
-
export type OwnershipTransferredEvent = TypedEvent<
|
|
83
|
-
[string, string],
|
|
84
|
-
OwnershipTransferredEventObject
|
|
85
|
-
>;
|
|
86
|
-
|
|
87
|
-
export type OwnershipTransferredEventFilter =
|
|
88
|
-
TypedEventFilter<OwnershipTransferredEvent>;
|
|
89
|
-
|
|
90
|
-
export interface OwnableUpgradeable extends BaseContract {
|
|
91
|
-
connect(signerOrProvider: Signer | Provider | string): this;
|
|
92
|
-
attach(addressOrName: string): this;
|
|
93
|
-
deployed(): Promise<this>;
|
|
94
|
-
|
|
95
|
-
interface: OwnableUpgradeableInterface;
|
|
96
|
-
|
|
97
|
-
queryFilter<TEvent extends TypedEvent>(
|
|
98
|
-
event: TypedEventFilter<TEvent>,
|
|
99
|
-
fromBlockOrBlockhash?: string | number | undefined,
|
|
100
|
-
toBlock?: string | number | undefined
|
|
101
|
-
): Promise<Array<TEvent>>;
|
|
102
|
-
|
|
103
|
-
listeners<TEvent extends TypedEvent>(
|
|
104
|
-
eventFilter?: TypedEventFilter<TEvent>
|
|
105
|
-
): Array<TypedListener<TEvent>>;
|
|
106
|
-
listeners(eventName?: string): Array<Listener>;
|
|
107
|
-
removeAllListeners<TEvent extends TypedEvent>(
|
|
108
|
-
eventFilter: TypedEventFilter<TEvent>
|
|
109
|
-
): this;
|
|
110
|
-
removeAllListeners(eventName?: string): this;
|
|
111
|
-
off: OnEvent<this>;
|
|
112
|
-
on: OnEvent<this>;
|
|
113
|
-
once: OnEvent<this>;
|
|
114
|
-
removeListener: OnEvent<this>;
|
|
115
|
-
|
|
116
|
-
functions: {
|
|
117
|
-
owner(overrides?: CallOverrides): Promise<[string]>;
|
|
118
|
-
|
|
119
|
-
renounceOwnership(
|
|
120
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
121
|
-
): Promise<ContractTransaction>;
|
|
122
|
-
|
|
123
|
-
transferOwnership(
|
|
124
|
-
newOwner: PromiseOrValue<string>,
|
|
125
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
126
|
-
): Promise<ContractTransaction>;
|
|
127
|
-
};
|
|
128
|
-
|
|
129
|
-
owner(overrides?: CallOverrides): Promise<string>;
|
|
130
|
-
|
|
131
|
-
renounceOwnership(
|
|
132
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
133
|
-
): Promise<ContractTransaction>;
|
|
134
|
-
|
|
135
|
-
transferOwnership(
|
|
136
|
-
newOwner: PromiseOrValue<string>,
|
|
137
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
138
|
-
): Promise<ContractTransaction>;
|
|
139
|
-
|
|
140
|
-
callStatic: {
|
|
141
|
-
owner(overrides?: CallOverrides): Promise<string>;
|
|
142
|
-
|
|
143
|
-
renounceOwnership(overrides?: CallOverrides): Promise<void>;
|
|
144
|
-
|
|
145
|
-
transferOwnership(
|
|
146
|
-
newOwner: PromiseOrValue<string>,
|
|
147
|
-
overrides?: CallOverrides
|
|
148
|
-
): Promise<void>;
|
|
149
|
-
};
|
|
150
|
-
|
|
151
|
-
filters: {
|
|
152
|
-
"Initialized(uint8)"(version?: null): InitializedEventFilter;
|
|
153
|
-
Initialized(version?: null): InitializedEventFilter;
|
|
154
|
-
|
|
155
|
-
"OwnershipTransferred(address,address)"(
|
|
156
|
-
previousOwner?: PromiseOrValue<string> | null,
|
|
157
|
-
newOwner?: PromiseOrValue<string> | null
|
|
158
|
-
): OwnershipTransferredEventFilter;
|
|
159
|
-
OwnershipTransferred(
|
|
160
|
-
previousOwner?: PromiseOrValue<string> | null,
|
|
161
|
-
newOwner?: PromiseOrValue<string> | null
|
|
162
|
-
): OwnershipTransferredEventFilter;
|
|
163
|
-
};
|
|
164
|
-
|
|
165
|
-
estimateGas: {
|
|
166
|
-
owner(overrides?: CallOverrides): Promise<BigNumber>;
|
|
167
|
-
|
|
168
|
-
renounceOwnership(
|
|
169
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
170
|
-
): Promise<BigNumber>;
|
|
171
|
-
|
|
172
|
-
transferOwnership(
|
|
173
|
-
newOwner: PromiseOrValue<string>,
|
|
174
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
175
|
-
): Promise<BigNumber>;
|
|
176
|
-
};
|
|
177
|
-
|
|
178
|
-
populateTransaction: {
|
|
179
|
-
owner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
180
|
-
|
|
181
|
-
renounceOwnership(
|
|
182
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
183
|
-
): Promise<PopulatedTransaction>;
|
|
184
|
-
|
|
185
|
-
transferOwnership(
|
|
186
|
-
newOwner: PromiseOrValue<string>,
|
|
187
|
-
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
188
|
-
): Promise<PopulatedTransaction>;
|
|
189
|
-
};
|
|
190
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
|
|
5
|
-
/* eslint-disable */
|
|
6
|
-
import type * as access from "./access";
|
|
7
|
-
import type * as proxy from "./proxy";
|
|
8
|
-
import type * as security from "./security";
|
|
9
|
-
import type * as token from "./token";
|
|
10
|
-
import type * as utils from "./utils";
|
|
11
|
-
|
|
12
|
-
export type { access };
|
|
13
|
-
|
|
14
|
-
export type { proxy };
|
|
15
|
-
|
|
16
|
-
export type { security };
|
|
17
|
-
|
|
18
|
-
export type { token };
|
|
19
|
-
|
|
20
|
-
export type { utils };
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
|
|
5
|
-
/* eslint-disable */
|
|
6
|
-
import type {
|
|
7
|
-
TypedEventFilter,
|
|
8
|
-
TypedEvent,
|
|
9
|
-
TypedListener,
|
|
10
|
-
OnEvent,
|
|
11
|
-
PromiseOrValue,
|
|
12
|
-
} from "../../../../common";
|
|
13
|
-
import type { EventFragment } from "@ethersproject/abi";
|
|
14
|
-
import type { Listener, Provider } from "@ethersproject/providers";
|
|
15
|
-
import type { BaseContract, Signer, utils } from "ethers";
|
|
16
|
-
|
|
17
|
-
export interface InitializableInterface extends utils.Interface {
|
|
18
|
-
functions: {};
|
|
19
|
-
|
|
20
|
-
events: {
|
|
21
|
-
"Initialized(uint8)": EventFragment;
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
getEvent(nameOrSignatureOrTopic: "Initialized"): EventFragment;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export interface InitializedEventObject {
|
|
28
|
-
version: number;
|
|
29
|
-
}
|
|
30
|
-
export type InitializedEvent = TypedEvent<[number], InitializedEventObject>;
|
|
31
|
-
|
|
32
|
-
export type InitializedEventFilter = TypedEventFilter<InitializedEvent>;
|
|
33
|
-
|
|
34
|
-
export interface Initializable extends BaseContract {
|
|
35
|
-
connect(signerOrProvider: Signer | Provider | string): this;
|
|
36
|
-
attach(addressOrName: string): this;
|
|
37
|
-
deployed(): Promise<this>;
|
|
38
|
-
|
|
39
|
-
interface: InitializableInterface;
|
|
40
|
-
|
|
41
|
-
queryFilter<TEvent extends TypedEvent>(
|
|
42
|
-
event: TypedEventFilter<TEvent>,
|
|
43
|
-
fromBlockOrBlockhash?: string | number | undefined,
|
|
44
|
-
toBlock?: string | number | undefined
|
|
45
|
-
): Promise<Array<TEvent>>;
|
|
46
|
-
|
|
47
|
-
listeners<TEvent extends TypedEvent>(
|
|
48
|
-
eventFilter?: TypedEventFilter<TEvent>
|
|
49
|
-
): Array<TypedListener<TEvent>>;
|
|
50
|
-
listeners(eventName?: string): Array<Listener>;
|
|
51
|
-
removeAllListeners<TEvent extends TypedEvent>(
|
|
52
|
-
eventFilter: TypedEventFilter<TEvent>
|
|
53
|
-
): this;
|
|
54
|
-
removeAllListeners(eventName?: string): this;
|
|
55
|
-
off: OnEvent<this>;
|
|
56
|
-
on: OnEvent<this>;
|
|
57
|
-
once: OnEvent<this>;
|
|
58
|
-
removeListener: OnEvent<this>;
|
|
59
|
-
|
|
60
|
-
functions: {};
|
|
61
|
-
|
|
62
|
-
callStatic: {};
|
|
63
|
-
|
|
64
|
-
filters: {
|
|
65
|
-
"Initialized(uint8)"(version?: null): InitializedEventFilter;
|
|
66
|
-
Initialized(version?: null): InitializedEventFilter;
|
|
67
|
-
};
|
|
68
|
-
|
|
69
|
-
estimateGas: {};
|
|
70
|
-
|
|
71
|
-
populateTransaction: {};
|
|
72
|
-
}
|