@venusprotocol/protocol-reserve 1.0.0-dev.6 → 1.0.0-dev.7
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
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import {
|
|
6
|
+
ethers,
|
|
7
|
+
EventFilter,
|
|
8
|
+
Signer,
|
|
9
|
+
BigNumber,
|
|
10
|
+
BigNumberish,
|
|
11
|
+
PopulatedTransaction,
|
|
12
|
+
BaseContract,
|
|
13
|
+
ContractTransaction,
|
|
14
|
+
} from "ethers";
|
|
15
|
+
import { BytesLike } from "@ethersproject/bytes";
|
|
16
|
+
import { Listener, Provider } from "@ethersproject/providers";
|
|
17
|
+
import { FunctionFragment, EventFragment, Result } from "@ethersproject/abi";
|
|
18
|
+
import type { TypedEventFilter, TypedEvent, TypedListener } from "./common";
|
|
19
|
+
|
|
20
|
+
interface ReentrancyGuardUpgradeableInterface extends ethers.utils.Interface {
|
|
21
|
+
functions: {};
|
|
22
|
+
|
|
23
|
+
events: {
|
|
24
|
+
"Initialized(uint8)": EventFragment;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
getEvent(nameOrSignatureOrTopic: "Initialized"): EventFragment;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export type InitializedEvent = TypedEvent<[number] & { version: number }>;
|
|
31
|
+
|
|
32
|
+
export class ReentrancyGuardUpgradeable extends BaseContract {
|
|
33
|
+
connect(signerOrProvider: Signer | Provider | string): this;
|
|
34
|
+
attach(addressOrName: string): this;
|
|
35
|
+
deployed(): Promise<this>;
|
|
36
|
+
|
|
37
|
+
listeners<EventArgsArray extends Array<any>, EventArgsObject>(
|
|
38
|
+
eventFilter?: TypedEventFilter<EventArgsArray, EventArgsObject>
|
|
39
|
+
): Array<TypedListener<EventArgsArray, EventArgsObject>>;
|
|
40
|
+
off<EventArgsArray extends Array<any>, EventArgsObject>(
|
|
41
|
+
eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>,
|
|
42
|
+
listener: TypedListener<EventArgsArray, EventArgsObject>
|
|
43
|
+
): this;
|
|
44
|
+
on<EventArgsArray extends Array<any>, EventArgsObject>(
|
|
45
|
+
eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>,
|
|
46
|
+
listener: TypedListener<EventArgsArray, EventArgsObject>
|
|
47
|
+
): this;
|
|
48
|
+
once<EventArgsArray extends Array<any>, EventArgsObject>(
|
|
49
|
+
eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>,
|
|
50
|
+
listener: TypedListener<EventArgsArray, EventArgsObject>
|
|
51
|
+
): this;
|
|
52
|
+
removeListener<EventArgsArray extends Array<any>, EventArgsObject>(
|
|
53
|
+
eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>,
|
|
54
|
+
listener: TypedListener<EventArgsArray, EventArgsObject>
|
|
55
|
+
): this;
|
|
56
|
+
removeAllListeners<EventArgsArray extends Array<any>, EventArgsObject>(
|
|
57
|
+
eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>
|
|
58
|
+
): this;
|
|
59
|
+
|
|
60
|
+
listeners(eventName?: string): Array<Listener>;
|
|
61
|
+
off(eventName: string, listener: Listener): this;
|
|
62
|
+
on(eventName: string, listener: Listener): this;
|
|
63
|
+
once(eventName: string, listener: Listener): this;
|
|
64
|
+
removeListener(eventName: string, listener: Listener): this;
|
|
65
|
+
removeAllListeners(eventName?: string): this;
|
|
66
|
+
|
|
67
|
+
queryFilter<EventArgsArray extends Array<any>, EventArgsObject>(
|
|
68
|
+
event: TypedEventFilter<EventArgsArray, EventArgsObject>,
|
|
69
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
70
|
+
toBlock?: string | number | undefined
|
|
71
|
+
): Promise<Array<TypedEvent<EventArgsArray & EventArgsObject>>>;
|
|
72
|
+
|
|
73
|
+
interface: ReentrancyGuardUpgradeableInterface;
|
|
74
|
+
|
|
75
|
+
functions: {};
|
|
76
|
+
|
|
77
|
+
callStatic: {};
|
|
78
|
+
|
|
79
|
+
filters: {
|
|
80
|
+
"Initialized(uint8)"(
|
|
81
|
+
version?: null
|
|
82
|
+
): TypedEventFilter<[number], { version: number }>;
|
|
83
|
+
|
|
84
|
+
Initialized(
|
|
85
|
+
version?: null
|
|
86
|
+
): TypedEventFilter<[number], { version: number }>;
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
estimateGas: {};
|
|
90
|
+
|
|
91
|
+
populateTransaction: {};
|
|
92
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { EventFilter, Event } from "ethers";
|
|
5
|
+
import { Result } from "@ethersproject/abi";
|
|
6
|
+
|
|
7
|
+
export interface TypedEventFilter<_EventArgsArray, _EventArgsObject>
|
|
8
|
+
extends EventFilter {}
|
|
9
|
+
|
|
10
|
+
export interface TypedEvent<EventArgs extends Result> extends Event {
|
|
11
|
+
args: EventArgs;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export type TypedListener<
|
|
15
|
+
EventArgsArray extends Array<any>,
|
|
16
|
+
EventArgsObject
|
|
17
|
+
> = (
|
|
18
|
+
...listenerArg: [
|
|
19
|
+
...EventArgsArray,
|
|
20
|
+
TypedEvent<EventArgsArray & EventArgsObject>
|
|
21
|
+
]
|
|
22
|
+
) => void;
|
|
23
|
+
|
|
24
|
+
export type MinEthersFactory<C, ARGS> = {
|
|
25
|
+
deploy(...a: ARGS[]): Promise<C>;
|
|
26
|
+
};
|
|
27
|
+
export type GetContractTypeFromFactory<F> = F extends MinEthersFactory<
|
|
28
|
+
infer C,
|
|
29
|
+
any
|
|
30
|
+
>
|
|
31
|
+
? C
|
|
32
|
+
: never;
|
|
33
|
+
export type GetARGsTypeFromFactory<F> = F extends MinEthersFactory<any, any>
|
|
34
|
+
? Parameters<F["deploy"]>
|
|
35
|
+
: never;
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
|
|
3
2
|
/* tslint:disable */
|
|
4
|
-
|
|
5
3
|
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
6
7
|
import type {
|
|
7
8
|
AccessControlledV8,
|
|
8
9
|
AccessControlledV8Interface,
|
|
9
|
-
} from "
|
|
10
|
-
import type { Provider } from "@ethersproject/providers";
|
|
11
|
-
import { Contract, Signer, utils } from "ethers";
|
|
10
|
+
} from "../AccessControlledV8";
|
|
12
11
|
|
|
13
12
|
const _abi = [
|
|
14
13
|
{
|
|
@@ -181,7 +180,7 @@ const _abi = [
|
|
|
181
180
|
stateMutability: "nonpayable",
|
|
182
181
|
type: "function",
|
|
183
182
|
},
|
|
184
|
-
]
|
|
183
|
+
];
|
|
185
184
|
|
|
186
185
|
export class AccessControlledV8__factory {
|
|
187
186
|
static readonly abi = _abi;
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
|
|
3
2
|
/* tslint:disable */
|
|
4
|
-
|
|
5
3
|
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
6
7
|
import type {
|
|
7
8
|
ComptrollerInterface,
|
|
8
9
|
ComptrollerInterfaceInterface,
|
|
9
|
-
} from "
|
|
10
|
-
import type { Provider } from "@ethersproject/providers";
|
|
11
|
-
import { Contract, Signer, utils } from "ethers";
|
|
10
|
+
} from "../ComptrollerInterface";
|
|
12
11
|
|
|
13
12
|
const _abi = [
|
|
14
13
|
{
|
|
@@ -24,7 +23,7 @@ const _abi = [
|
|
|
24
23
|
stateMutability: "view",
|
|
25
24
|
type: "function",
|
|
26
25
|
},
|
|
27
|
-
]
|
|
26
|
+
];
|
|
28
27
|
|
|
29
28
|
export class ComptrollerInterface__factory {
|
|
30
29
|
static readonly abi = _abi;
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
|
|
3
2
|
/* tslint:disable */
|
|
4
|
-
|
|
5
3
|
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
6
7
|
import type {
|
|
7
8
|
ContextUpgradeable,
|
|
8
9
|
ContextUpgradeableInterface,
|
|
9
|
-
} from "
|
|
10
|
-
import type { Provider } from "@ethersproject/providers";
|
|
11
|
-
import { Contract, Signer, utils } from "ethers";
|
|
10
|
+
} from "../ContextUpgradeable";
|
|
12
11
|
|
|
13
12
|
const _abi = [
|
|
14
13
|
{
|
|
@@ -24,7 +23,7 @@ const _abi = [
|
|
|
24
23
|
name: "Initialized",
|
|
25
24
|
type: "event",
|
|
26
25
|
},
|
|
27
|
-
]
|
|
26
|
+
];
|
|
28
27
|
|
|
29
28
|
export class ContextUpgradeable__factory {
|
|
30
29
|
static readonly abi = _abi;
|
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
|
|
3
2
|
/* tslint:disable */
|
|
4
|
-
|
|
5
3
|
/* eslint-disable */
|
|
6
|
-
|
|
7
|
-
ERC20,
|
|
8
|
-
ERC20Interface,
|
|
9
|
-
} from "../../../../../@openzeppelin/contracts/token/ERC20/ERC20";
|
|
10
|
-
import type { PromiseOrValue } from "../../../../../common";
|
|
11
|
-
import type { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
4
|
+
|
|
12
5
|
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
|
|
6
|
+
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
7
|
+
import type { ERC20, ERC20Interface } from "../ERC20";
|
|
13
8
|
|
|
14
9
|
const _abi = [
|
|
15
10
|
{
|
|
@@ -298,49 +293,42 @@ const _abi = [
|
|
|
298
293
|
stateMutability: "nonpayable",
|
|
299
294
|
type: "function",
|
|
300
295
|
},
|
|
301
|
-
]
|
|
296
|
+
];
|
|
302
297
|
|
|
303
298
|
const _bytecode =
|
|
304
|
-
"
|
|
305
|
-
|
|
306
|
-
type ERC20ConstructorParams =
|
|
307
|
-
| [signer?: Signer]
|
|
308
|
-
| ConstructorParameters<typeof ContractFactory>;
|
|
309
|
-
|
|
310
|
-
const isSuperArgs = (
|
|
311
|
-
xs: ERC20ConstructorParams
|
|
312
|
-
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
299
|
+
"0x60806040523480156200001157600080fd5b5060405162000db638038062000db68339810160408190526200003491620001db565b81516200004990600390602085019062000068565b5080516200005f90600490602084019062000068565b50505062000281565b828054620000769062000245565b90600052602060002090601f0160209004810192826200009a5760008555620000e5565b82601f10620000b557805160ff1916838001178555620000e5565b82800160010185558215620000e5579182015b82811115620000e5578251825591602001919060010190620000c8565b50620000f3929150620000f7565b5090565b5b80821115620000f35760008155600101620000f8565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200013657600080fd5b81516001600160401b03808211156200015357620001536200010e565b604051601f8301601f19908116603f011681019082821181831017156200017e576200017e6200010e565b816040528381526020925086838588010111156200019b57600080fd5b600091505b83821015620001bf5785820183015181830184015290820190620001a0565b83821115620001d15760008385830101525b9695505050505050565b60008060408385031215620001ef57600080fd5b82516001600160401b03808211156200020757600080fd5b620002158683870162000124565b935060208501519150808211156200022c57600080fd5b506200023b8582860162000124565b9150509250929050565b600181811c908216806200025a57607f821691505b6020821081036200027b57634e487b7160e01b600052602260045260246000fd5b50919050565b610b2580620002916000396000f3fe608060405234801561001057600080fd5b50600436106100c95760003560e01c80633950935111610081578063a457c2d71161005b578063a457c2d714610194578063a9059cbb146101a7578063dd62ed3e146101ba57600080fd5b8063395093511461014357806370a082311461015657806395d89b411461018c57600080fd5b806318160ddd116100b257806318160ddd1461010f57806323b872dd14610121578063313ce5671461013457600080fd5b806306fdde03146100ce578063095ea7b3146100ec575b600080fd5b6100d6610200565b6040516100e39190610906565b60405180910390f35b6100ff6100fa3660046109a2565b610292565b60405190151581526020016100e3565b6002545b6040519081526020016100e3565b6100ff61012f3660046109cc565b6102aa565b604051601281526020016100e3565b6100ff6101513660046109a2565b6102ce565b610113610164366004610a08565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b6100d661031a565b6100ff6101a23660046109a2565b610329565b6100ff6101b53660046109a2565b6103ff565b6101136101c8366004610a2a565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b60606003805461020f90610a5d565b80601f016020809104026020016040519081016040528092919081815260200182805461023b90610a5d565b80156102885780601f1061025d57610100808354040283529160200191610288565b820191906000526020600020905b81548152906001019060200180831161026b57829003601f168201915b5050505050905090565b6000336102a081858561040d565b5060019392505050565b6000336102b88582856105c0565b6102c3858585610697565b506001949350505050565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091906102a09082908690610315908790610ab0565b61040d565b60606004805461020f90610a5d565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168452909152812054909190838110156103f2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760448201527f207a65726f00000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6102c3828686840361040d565b6000336102a0818585610697565b73ffffffffffffffffffffffffffffffffffffffff83166104af576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016103e9565b73ffffffffffffffffffffffffffffffffffffffff8216610552576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016103e9565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600160209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146106915781811015610684576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103e9565b610691848484840361040d565b50505050565b73ffffffffffffffffffffffffffffffffffffffff831661073a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016103e9565b73ffffffffffffffffffffffffffffffffffffffff82166107dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016103e9565b73ffffffffffffffffffffffffffffffffffffffff831660009081526020819052604090205481811015610893576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016103e9565b73ffffffffffffffffffffffffffffffffffffffff848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610691565b600060208083528351808285015260005b8181101561093357858101830151858201604001528201610917565b81811115610945576000604083870101525b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016929092016040019392505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461099d57600080fd5b919050565b600080604083850312156109b557600080fd5b6109be83610979565b946020939093013593505050565b6000806000606084860312156109e157600080fd5b6109ea84610979565b92506109f860208501610979565b9150604084013590509250925092565b600060208284031215610a1a57600080fd5b610a2382610979565b9392505050565b60008060408385031215610a3d57600080fd5b610a4683610979565b9150610a5460208401610979565b90509250929050565b600181811c90821680610a7157607f821691505b602082108103610aaa577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60008219821115610aea577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b50019056fea26469706673582212203922d3ab57b4d7b198e37b06d3f2bf829bb7efc7d76a26cd66142c16aa6740d464736f6c634300080d0033";
|
|
313
300
|
|
|
314
301
|
export class ERC20__factory extends ContractFactory {
|
|
315
|
-
constructor(
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
302
|
+
constructor(
|
|
303
|
+
...args: [signer: Signer] | ConstructorParameters<typeof ContractFactory>
|
|
304
|
+
) {
|
|
305
|
+
if (args.length === 1) {
|
|
319
306
|
super(_abi, _bytecode, args[0]);
|
|
307
|
+
} else {
|
|
308
|
+
super(...args);
|
|
320
309
|
}
|
|
321
310
|
}
|
|
322
311
|
|
|
323
|
-
|
|
324
|
-
name_:
|
|
325
|
-
symbol_:
|
|
326
|
-
overrides?: Overrides & { from?:
|
|
312
|
+
deploy(
|
|
313
|
+
name_: string,
|
|
314
|
+
symbol_: string,
|
|
315
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
327
316
|
): Promise<ERC20> {
|
|
328
317
|
return super.deploy(name_, symbol_, overrides || {}) as Promise<ERC20>;
|
|
329
318
|
}
|
|
330
|
-
|
|
331
|
-
name_:
|
|
332
|
-
symbol_:
|
|
333
|
-
overrides?: Overrides & { from?:
|
|
319
|
+
getDeployTransaction(
|
|
320
|
+
name_: string,
|
|
321
|
+
symbol_: string,
|
|
322
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
334
323
|
): TransactionRequest {
|
|
335
324
|
return super.getDeployTransaction(name_, symbol_, overrides || {});
|
|
336
325
|
}
|
|
337
|
-
|
|
326
|
+
attach(address: string): ERC20 {
|
|
338
327
|
return super.attach(address) as ERC20;
|
|
339
328
|
}
|
|
340
|
-
|
|
329
|
+
connect(signer: Signer): ERC20__factory {
|
|
341
330
|
return super.connect(signer) as ERC20__factory;
|
|
342
331
|
}
|
|
343
|
-
|
|
344
332
|
static readonly bytecode = _bytecode;
|
|
345
333
|
static readonly abi = _abi;
|
|
346
334
|
static createInterface(): ERC20Interface {
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
|
|
3
2
|
/* tslint:disable */
|
|
4
|
-
|
|
5
3
|
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
6
7
|
import type {
|
|
7
8
|
IAccessControlManagerV8,
|
|
8
9
|
IAccessControlManagerV8Interface,
|
|
9
|
-
} from "
|
|
10
|
-
import type { Provider } from "@ethersproject/providers";
|
|
11
|
-
import { Contract, Signer, utils } from "ethers";
|
|
10
|
+
} from "../IAccessControlManagerV8";
|
|
12
11
|
|
|
13
12
|
const _abi = [
|
|
14
13
|
{
|
|
@@ -282,7 +281,7 @@ const _abi = [
|
|
|
282
281
|
stateMutability: "nonpayable",
|
|
283
282
|
type: "function",
|
|
284
283
|
},
|
|
285
|
-
]
|
|
284
|
+
];
|
|
286
285
|
|
|
287
286
|
export class IAccessControlManagerV8__factory {
|
|
288
287
|
static readonly abi = _abi;
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
|
|
3
2
|
/* tslint:disable */
|
|
4
|
-
|
|
5
3
|
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
6
7
|
import type {
|
|
7
8
|
IAccessControl,
|
|
8
9
|
IAccessControlInterface,
|
|
9
|
-
} from "
|
|
10
|
-
import type { Provider } from "@ethersproject/providers";
|
|
11
|
-
import { Contract, Signer, utils } from "ethers";
|
|
10
|
+
} from "../IAccessControl";
|
|
12
11
|
|
|
13
12
|
const _abi = [
|
|
14
13
|
{
|
|
@@ -183,7 +182,7 @@ const _abi = [
|
|
|
183
182
|
stateMutability: "nonpayable",
|
|
184
183
|
type: "function",
|
|
185
184
|
},
|
|
186
|
-
]
|
|
185
|
+
];
|
|
187
186
|
|
|
188
187
|
export class IAccessControl__factory {
|
|
189
188
|
static readonly abi = _abi;
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
|
|
3
2
|
/* tslint:disable */
|
|
4
|
-
|
|
5
3
|
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
6
7
|
import type {
|
|
7
8
|
IERC20Metadata,
|
|
8
9
|
IERC20MetadataInterface,
|
|
9
|
-
} from "
|
|
10
|
-
import type { Provider } from "@ethersproject/providers";
|
|
11
|
-
import { Contract, Signer, utils } from "ethers";
|
|
10
|
+
} from "../IERC20Metadata";
|
|
12
11
|
|
|
13
12
|
const _abi = [
|
|
14
13
|
{
|
|
@@ -233,7 +232,7 @@ const _abi = [
|
|
|
233
232
|
stateMutability: "nonpayable",
|
|
234
233
|
type: "function",
|
|
235
234
|
},
|
|
236
|
-
]
|
|
235
|
+
];
|
|
237
236
|
|
|
238
237
|
export class IERC20Metadata__factory {
|
|
239
238
|
static readonly abi = _abi;
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
|
|
3
2
|
/* tslint:disable */
|
|
4
|
-
|
|
5
3
|
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
6
7
|
import type {
|
|
7
8
|
IERC20PermitUpgradeable,
|
|
8
9
|
IERC20PermitUpgradeableInterface,
|
|
9
|
-
} from "
|
|
10
|
-
import type { Provider } from "@ethersproject/providers";
|
|
11
|
-
import { Contract, Signer, utils } from "ethers";
|
|
10
|
+
} from "../IERC20PermitUpgradeable";
|
|
12
11
|
|
|
13
12
|
const _abi = [
|
|
14
13
|
{
|
|
@@ -86,7 +85,7 @@ const _abi = [
|
|
|
86
85
|
stateMutability: "nonpayable",
|
|
87
86
|
type: "function",
|
|
88
87
|
},
|
|
89
|
-
]
|
|
88
|
+
];
|
|
90
89
|
|
|
91
90
|
export class IERC20PermitUpgradeable__factory {
|
|
92
91
|
static readonly abi = _abi;
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
|
|
3
2
|
/* tslint:disable */
|
|
4
|
-
|
|
5
3
|
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
6
7
|
import type {
|
|
7
8
|
IERC20Upgradeable,
|
|
8
9
|
IERC20UpgradeableInterface,
|
|
9
|
-
} from "
|
|
10
|
-
import type { Provider } from "@ethersproject/providers";
|
|
11
|
-
import { Contract, Signer, utils } from "ethers";
|
|
10
|
+
} from "../IERC20Upgradeable";
|
|
12
11
|
|
|
13
12
|
const _abi = [
|
|
14
13
|
{
|
|
@@ -194,7 +193,7 @@ const _abi = [
|
|
|
194
193
|
stateMutability: "nonpayable",
|
|
195
194
|
type: "function",
|
|
196
195
|
},
|
|
197
|
-
]
|
|
196
|
+
];
|
|
198
197
|
|
|
199
198
|
export class IERC20Upgradeable__factory {
|
|
200
199
|
static readonly abi = _abi;
|
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
|
|
3
2
|
/* tslint:disable */
|
|
4
|
-
|
|
5
3
|
/* eslint-disable */
|
|
6
|
-
|
|
7
|
-
IERC20,
|
|
8
|
-
IERC20Interface,
|
|
9
|
-
} from "../../../../../@openzeppelin/contracts/token/ERC20/IERC20";
|
|
10
|
-
import type { Provider } from "@ethersproject/providers";
|
|
4
|
+
|
|
11
5
|
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
7
|
+
import type { IERC20, IERC20Interface } from "../IERC20";
|
|
12
8
|
|
|
13
9
|
const _abi = [
|
|
14
10
|
{
|
|
@@ -194,7 +190,7 @@ const _abi = [
|
|
|
194
190
|
stateMutability: "nonpayable",
|
|
195
191
|
type: "function",
|
|
196
192
|
},
|
|
197
|
-
]
|
|
193
|
+
];
|
|
198
194
|
|
|
199
195
|
export class IERC20__factory {
|
|
200
196
|
static readonly abi = _abi;
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
|
|
3
2
|
/* tslint:disable */
|
|
4
|
-
|
|
5
3
|
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
6
7
|
import type {
|
|
7
8
|
IIncomeDestination,
|
|
8
9
|
IIncomeDestinationInterface,
|
|
9
|
-
} from "
|
|
10
|
-
import type { Provider } from "@ethersproject/providers";
|
|
11
|
-
import { Contract, Signer, utils } from "ethers";
|
|
10
|
+
} from "../IIncomeDestination";
|
|
12
11
|
|
|
13
12
|
const _abi = [
|
|
14
13
|
{
|
|
@@ -29,7 +28,7 @@ const _abi = [
|
|
|
29
28
|
stateMutability: "nonpayable",
|
|
30
29
|
type: "function",
|
|
31
30
|
},
|
|
32
|
-
]
|
|
31
|
+
];
|
|
33
32
|
|
|
34
33
|
export class IIncomeDestination__factory {
|
|
35
34
|
static readonly abi = _abi;
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
|
|
3
2
|
/* tslint:disable */
|
|
4
|
-
|
|
5
3
|
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
6
7
|
import type {
|
|
7
8
|
IProtocolShareReserve,
|
|
8
9
|
IProtocolShareReserveInterface,
|
|
9
|
-
} from "
|
|
10
|
-
import type { Provider } from "@ethersproject/providers";
|
|
11
|
-
import { Contract, Signer, utils } from "ethers";
|
|
10
|
+
} from "../IProtocolShareReserve";
|
|
12
11
|
|
|
13
12
|
const _abi = [
|
|
14
13
|
{
|
|
@@ -34,7 +33,7 @@ const _abi = [
|
|
|
34
33
|
stateMutability: "nonpayable",
|
|
35
34
|
type: "function",
|
|
36
35
|
},
|
|
37
|
-
]
|
|
36
|
+
];
|
|
38
37
|
|
|
39
38
|
export class IProtocolShareReserve__factory {
|
|
40
39
|
static readonly abi = _abi;
|
package/typechain/factories/{contracts/Interfaces/IVToken__factory.ts → IVToken__factory.ts}
RENAMED
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
|
|
3
2
|
/* tslint:disable */
|
|
4
|
-
|
|
5
3
|
/* eslint-disable */
|
|
6
|
-
|
|
7
|
-
IVToken,
|
|
8
|
-
IVTokenInterface,
|
|
9
|
-
} from "../../../contracts/Interfaces/IVToken";
|
|
10
|
-
import type { Provider } from "@ethersproject/providers";
|
|
4
|
+
|
|
11
5
|
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
7
|
+
import type { IVToken, IVTokenInterface } from "../IVToken";
|
|
12
8
|
|
|
13
9
|
const _abi = [
|
|
14
10
|
{
|
|
@@ -24,7 +20,7 @@ const _abi = [
|
|
|
24
20
|
stateMutability: "view",
|
|
25
21
|
type: "function",
|
|
26
22
|
},
|
|
27
|
-
]
|
|
23
|
+
];
|
|
28
24
|
|
|
29
25
|
export class IVToken__factory {
|
|
30
26
|
static readonly abi = _abi;
|
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
|
|
3
2
|
/* tslint:disable */
|
|
4
|
-
|
|
5
3
|
/* eslint-disable */
|
|
6
|
-
|
|
7
|
-
Initializable,
|
|
8
|
-
InitializableInterface,
|
|
9
|
-
} from "../../../../../@openzeppelin/contracts-upgradeable/proxy/utils/Initializable";
|
|
10
|
-
import type { Provider } from "@ethersproject/providers";
|
|
4
|
+
|
|
11
5
|
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
7
|
+
import type { Initializable, InitializableInterface } from "../Initializable";
|
|
12
8
|
|
|
13
9
|
const _abi = [
|
|
14
10
|
{
|
|
@@ -24,7 +20,7 @@ const _abi = [
|
|
|
24
20
|
name: "Initialized",
|
|
25
21
|
type: "event",
|
|
26
22
|
},
|
|
27
|
-
]
|
|
23
|
+
];
|
|
28
24
|
|
|
29
25
|
export class Initializable__factory {
|
|
30
26
|
static readonly abi = _abi;
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
|
|
3
2
|
/* tslint:disable */
|
|
4
|
-
|
|
5
3
|
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
6
7
|
import type {
|
|
7
8
|
MaxLoopsLimitHelper,
|
|
8
9
|
MaxLoopsLimitHelperInterface,
|
|
9
|
-
} from "
|
|
10
|
-
import type { Provider } from "@ethersproject/providers";
|
|
11
|
-
import { Contract, Signer, utils } from "ethers";
|
|
10
|
+
} from "../MaxLoopsLimitHelper";
|
|
12
11
|
|
|
13
12
|
const _abi = [
|
|
14
13
|
{
|
|
@@ -59,7 +58,7 @@ const _abi = [
|
|
|
59
58
|
stateMutability: "view",
|
|
60
59
|
type: "function",
|
|
61
60
|
},
|
|
62
|
-
]
|
|
61
|
+
];
|
|
63
62
|
|
|
64
63
|
export class MaxLoopsLimitHelper__factory {
|
|
65
64
|
static readonly abi = _abi;
|