@gooddollar/goodprotocol 1.0.24 → 1.0.26
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/abis/FuseFaucet.min.json +1 -0
- package/artifacts/abis/FuseStakingV3.min.json +1 -0
- package/artifacts/abis/IConsensus.min.json +1 -0
- package/artifacts/abis/InvitesV1.min.json +1 -0
- package/artifacts/abis/PegSwap.min.json +1 -0
- package/artifacts/contracts/DAOStackInterfaces.sol/Avatar.dbg.json +1 -1
- package/artifacts/contracts/DAOStackInterfaces.sol/Controller.dbg.json +1 -1
- package/artifacts/contracts/DAOStackInterfaces.sol/GlobalConstraintInterface.dbg.json +1 -1
- package/artifacts/contracts/DAOStackInterfaces.sol/IntVoteInterface.dbg.json +1 -1
- package/artifacts/contracts/DAOStackInterfaces.sol/ReputationInterface.dbg.json +1 -1
- package/artifacts/contracts/DAOStackInterfaces.sol/SchemeRegistrar.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/AggregatorV3Interface.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/ERC20.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IAaveIncentivesController.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IAdminWallet.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IDonationStaking.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IERC2917.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IFirstClaimPool.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IGoodDollar.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IGoodStaking.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IHasRouter.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IIdentity.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/ILendingPool.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/INameService.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IUBIScheme.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/ProxyAdmin.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/Reserve.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/Staking.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/Uniswap.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/UniswapFactory.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/UniswapPair.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/cERC20.dbg.json +1 -1
- package/artifacts/contracts/fuseFaucet/FuseFaucet.sol/FuseFaucet.dbg.json +4 -0
- package/artifacts/contracts/fuseFaucet/FuseFaucet.sol/FuseFaucet.json +325 -0
- package/artifacts/contracts/governance/ClaimersDistribution.sol/ClaimersDistribution.dbg.json +1 -1
- package/artifacts/contracts/governance/CompoundVotingMachine.sol/CompoundVotingMachine.dbg.json +1 -1
- package/artifacts/contracts/governance/GReputation.sol/GReputation.dbg.json +1 -1
- package/artifacts/contracts/governance/GovernanceStaking.sol/GovernanceStaking.dbg.json +1 -1
- package/artifacts/contracts/governance/MultiBaseGovernanceShareField.sol/MultiBaseGovernanceShareField.dbg.json +1 -1
- package/artifacts/contracts/governance/Reputation.sol/Reputation.dbg.json +1 -1
- package/artifacts/contracts/governance/StakersDistribution.sol/StakersDistribution.dbg.json +1 -1
- package/artifacts/contracts/invite/InvitesV1.sol/InvitesV1.dbg.json +4 -0
- package/artifacts/contracts/invite/InvitesV1.sol/InvitesV1.json +492 -0
- package/artifacts/contracts/mocks/AaveMock.sol/AaveMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/DAIMock.sol/DAIMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/DecimalsMock.sol/DecimalsMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/GoodCompoundStakingTest.sol/GoodCompoundStakingTest.dbg.json +1 -1
- package/artifacts/contracts/mocks/GoodFundManagerTest.sol/GoodFundManagerTest.dbg.json +1 -1
- package/artifacts/contracts/mocks/IncentiveControllerMock.sol/IncentiveControllerMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/LendingPoolMock.sol/LendingPoolMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/OverMintTester.sol/OverMintTester.dbg.json +1 -1
- package/artifacts/contracts/mocks/OverMintTesterRegularStake.sol/OverMintTesterRegularStake.dbg.json +1 -1
- package/artifacts/contracts/mocks/SixteenDecimalsTokenMock.sol/SixteenDecimalsTokenMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/SwapHelperTest.sol/SwapHelperTest.dbg.json +1 -1
- package/artifacts/contracts/mocks/TwentyDecimalsTokenMock.sol/TwentyDecimalsTokenMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock2.dbg.json +1 -1
- package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock3.dbg.json +1 -1
- package/artifacts/contracts/mocks/UpgradableMocks.sol/UpgradableMock4.dbg.json +1 -1
- package/artifacts/contracts/mocks/UsdcMock.sol/USDCMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cBATMock.sol/cBATMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cDAILowWorthMock.sol/cDAILowWorthMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cDAIMock.sol/cDAIMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cDAINonMintableMock.sol/cDAINonMintableMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cDecimalsMock.sol/cDecimalsMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cSDTMock.sol/cSDTMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/cUSDCMock.sol/cUSDCMock.dbg.json +1 -1
- package/artifacts/contracts/reserve/ExchangeHelper.sol/ExchangeHelper.dbg.json +1 -1
- package/artifacts/contracts/reserve/GoodMarketMaker.sol/GoodMarketMaker.dbg.json +1 -1
- package/artifacts/contracts/reserve/GoodReserveCDai.sol/ContributionCalc.dbg.json +1 -1
- package/artifacts/contracts/reserve/GoodReserveCDai.sol/GoodReserveCDai.dbg.json +1 -1
- package/artifacts/contracts/staking/BaseShareField.sol/BaseShareField.dbg.json +1 -1
- package/artifacts/contracts/staking/BaseShareFieldV2.sol/BaseShareFieldV2.dbg.json +1 -1
- package/artifacts/contracts/staking/DonationsStaking.sol/DonationsStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/FuseStakingV3.sol/FuseStakingV3.dbg.json +4 -0
- package/artifacts/contracts/staking/FuseStakingV3.sol/FuseStakingV3.json +733 -0
- package/artifacts/contracts/staking/FuseStakingV3.sol/IConsensus.dbg.json +4 -0
- package/artifacts/contracts/staking/FuseStakingV3.sol/IConsensus.json +104 -0
- package/artifacts/contracts/staking/FuseStakingV3.sol/PegSwap.dbg.json +4 -0
- package/artifacts/contracts/staking/FuseStakingV3.sol/PegSwap.json +34 -0
- package/artifacts/contracts/staking/GoodFundManager.sol/GoodFundManager.dbg.json +1 -1
- package/artifacts/contracts/staking/SimpleStaking.sol/SimpleStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/SimpleStakingV2.sol/SimpleStakingV2.dbg.json +1 -1
- package/artifacts/contracts/staking/UniswapV2SwapHelper.sol/UniswapV2SwapHelper.dbg.json +1 -1
- package/artifacts/contracts/staking/aave/AaveStakingFactory.sol/AaveStakingFactory.dbg.json +1 -1
- package/artifacts/contracts/staking/aave/GoodAaveStaking.sol/GoodAaveStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/aave/GoodAaveStakingV2.sol/GoodAaveStakingV2.dbg.json +1 -1
- package/artifacts/contracts/staking/compound/CompoundStakingFactory.sol/CompoundStakingFactory.dbg.json +1 -1
- package/artifacts/contracts/staking/compound/GoodCompoundStaking.sol/GoodCompoundStaking.dbg.json +1 -1
- package/artifacts/contracts/staking/compound/GoodCompoundStakingV2.sol/GoodCompoundStakingV2.dbg.json +1 -1
- package/artifacts/contracts/ubi/UBIScheme.sol/UBIScheme.dbg.json +1 -1
- package/artifacts/contracts/utils/BancorFormula.sol/BancorFormula.dbg.json +1 -1
- package/artifacts/contracts/utils/BulkProof.sol/BulkProof.dbg.json +1 -1
- package/artifacts/contracts/utils/DAOContract.sol/DAOContract.dbg.json +1 -1
- package/artifacts/contracts/utils/DAOUpgradeableContract.sol/DAOUpgradeableContract.dbg.json +1 -1
- package/artifacts/contracts/utils/DSMath.sol/DSMath.dbg.json +1 -1
- package/artifacts/contracts/utils/DataTypes.sol/DataTypes.dbg.json +1 -1
- package/artifacts/contracts/utils/NameService.sol/NameService.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtocolUpgrade.sol/OldMarketMaker.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtocolUpgrade.sol/ProtocolUpgrade.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtocolUpgradeFuse.sol/ProtocolUpgradeFuse.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtocolUpgradeFuseRecover.sol/ProtocolUpgradeFuseRecover.dbg.json +1 -1
- package/artifacts/contracts/utils/ProtocolUpgradeRecover.sol/ProtocolUpgradeRecover.dbg.json +1 -1
- package/artifacts/contracts/utils/ReputationTestHelper.sol/ReputationTestHelper.dbg.json +1 -1
- package/contracts/fuseFaucet/FuseFaucet.sol +172 -0
- package/contracts/invite/InvitesV1.sol +316 -0
- package/contracts/staking/FuseStakingV3.sol +641 -0
- package/hardhat.config.ts +7 -0
- package/package.json +5 -5
- package/scripts/misc/faucetStats.ts +103 -0
- package/scripts/upgradeToV2/upgradeToV2.ts +22 -7
- package/test/FuseFaucet.test.ts +168 -0
- package/test/InvitesV1.test.ts +354 -0
- package/test/staking/FuseStaking.test.ts +152 -0
- package/types/FuseFaucet.ts +498 -0
- package/types/FuseStakingV3.ts +1234 -0
- package/types/IConsensus.ts +225 -0
- package/types/InvitesV1.ts +797 -0
- package/types/OwnableUpgradeable.ts +166 -0
- package/types/PegSwap.ts +112 -0
- package/types/factories/FuseFaucet__factory.ts +373 -0
- package/types/factories/FuseStakingV3__factory.ts +781 -0
- package/types/factories/IConsensus__factory.ts +116 -0
- package/types/factories/InvitesV1__factory.ts +540 -0
- package/types/factories/OwnableUpgradeable__factory.ts +78 -0
- package/types/factories/PegSwap__factory.ts +46 -0
- package/types/hardhat.d.ts +54 -0
- package/types/index.ts +12 -0
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
7
|
+
import type {
|
|
8
|
+
OwnableUpgradeable,
|
|
9
|
+
OwnableUpgradeableInterface,
|
|
10
|
+
} from "../OwnableUpgradeable";
|
|
11
|
+
|
|
12
|
+
const _abi = [
|
|
13
|
+
{
|
|
14
|
+
anonymous: false,
|
|
15
|
+
inputs: [
|
|
16
|
+
{
|
|
17
|
+
indexed: true,
|
|
18
|
+
internalType: "address",
|
|
19
|
+
name: "previousOwner",
|
|
20
|
+
type: "address",
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
indexed: true,
|
|
24
|
+
internalType: "address",
|
|
25
|
+
name: "newOwner",
|
|
26
|
+
type: "address",
|
|
27
|
+
},
|
|
28
|
+
],
|
|
29
|
+
name: "OwnershipTransferred",
|
|
30
|
+
type: "event",
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
inputs: [],
|
|
34
|
+
name: "owner",
|
|
35
|
+
outputs: [
|
|
36
|
+
{
|
|
37
|
+
internalType: "address",
|
|
38
|
+
name: "",
|
|
39
|
+
type: "address",
|
|
40
|
+
},
|
|
41
|
+
],
|
|
42
|
+
stateMutability: "view",
|
|
43
|
+
type: "function",
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
inputs: [],
|
|
47
|
+
name: "renounceOwnership",
|
|
48
|
+
outputs: [],
|
|
49
|
+
stateMutability: "nonpayable",
|
|
50
|
+
type: "function",
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
inputs: [
|
|
54
|
+
{
|
|
55
|
+
internalType: "address",
|
|
56
|
+
name: "newOwner",
|
|
57
|
+
type: "address",
|
|
58
|
+
},
|
|
59
|
+
],
|
|
60
|
+
name: "transferOwnership",
|
|
61
|
+
outputs: [],
|
|
62
|
+
stateMutability: "nonpayable",
|
|
63
|
+
type: "function",
|
|
64
|
+
},
|
|
65
|
+
];
|
|
66
|
+
|
|
67
|
+
export class OwnableUpgradeable__factory {
|
|
68
|
+
static readonly abi = _abi;
|
|
69
|
+
static createInterface(): OwnableUpgradeableInterface {
|
|
70
|
+
return new utils.Interface(_abi) as OwnableUpgradeableInterface;
|
|
71
|
+
}
|
|
72
|
+
static connect(
|
|
73
|
+
address: string,
|
|
74
|
+
signerOrProvider: Signer | Provider
|
|
75
|
+
): OwnableUpgradeable {
|
|
76
|
+
return new Contract(address, _abi, signerOrProvider) as OwnableUpgradeable;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
7
|
+
import type { PegSwap, PegSwapInterface } from "../PegSwap";
|
|
8
|
+
|
|
9
|
+
const _abi = [
|
|
10
|
+
{
|
|
11
|
+
inputs: [
|
|
12
|
+
{
|
|
13
|
+
internalType: "uint256",
|
|
14
|
+
name: "sourceAmount",
|
|
15
|
+
type: "uint256",
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
internalType: "address",
|
|
19
|
+
name: "source",
|
|
20
|
+
type: "address",
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
internalType: "address",
|
|
24
|
+
name: "target",
|
|
25
|
+
type: "address",
|
|
26
|
+
},
|
|
27
|
+
],
|
|
28
|
+
name: "swap",
|
|
29
|
+
outputs: [],
|
|
30
|
+
stateMutability: "nonpayable",
|
|
31
|
+
type: "function",
|
|
32
|
+
},
|
|
33
|
+
];
|
|
34
|
+
|
|
35
|
+
export class PegSwap__factory {
|
|
36
|
+
static readonly abi = _abi;
|
|
37
|
+
static createInterface(): PegSwapInterface {
|
|
38
|
+
return new utils.Interface(_abi) as PegSwapInterface;
|
|
39
|
+
}
|
|
40
|
+
static connect(
|
|
41
|
+
address: string,
|
|
42
|
+
signerOrProvider: Signer | Provider
|
|
43
|
+
): PegSwap {
|
|
44
|
+
return new Contract(address, _abi, signerOrProvider) as PegSwap;
|
|
45
|
+
}
|
|
46
|
+
}
|
package/types/hardhat.d.ts
CHANGED
|
@@ -28,6 +28,10 @@ declare module "hardhat/types/runtime" {
|
|
|
28
28
|
name: "IAccessControlUpgradeable",
|
|
29
29
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
30
30
|
): Promise<Contracts.IAccessControlUpgradeable__factory>;
|
|
31
|
+
getContractFactory(
|
|
32
|
+
name: "OwnableUpgradeable",
|
|
33
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
34
|
+
): Promise<Contracts.OwnableUpgradeable__factory>;
|
|
31
35
|
getContractFactory(
|
|
32
36
|
name: "IBeaconUpgradeable",
|
|
33
37
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -116,6 +120,10 @@ declare module "hardhat/types/runtime" {
|
|
|
116
120
|
name: "SchemeRegistrar",
|
|
117
121
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
118
122
|
): Promise<Contracts.SchemeRegistrar__factory>;
|
|
123
|
+
getContractFactory(
|
|
124
|
+
name: "FuseFaucet",
|
|
125
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
126
|
+
): Promise<Contracts.FuseFaucet__factory>;
|
|
119
127
|
getContractFactory(
|
|
120
128
|
name: "ClaimersDistribution",
|
|
121
129
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -228,6 +236,10 @@ declare module "hardhat/types/runtime" {
|
|
|
228
236
|
name: "UniswapPair",
|
|
229
237
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
230
238
|
): Promise<Contracts.UniswapPair__factory>;
|
|
239
|
+
getContractFactory(
|
|
240
|
+
name: "InvitesV1",
|
|
241
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
242
|
+
): Promise<Contracts.InvitesV1__factory>;
|
|
231
243
|
getContractFactory(
|
|
232
244
|
name: "AaveMock",
|
|
233
245
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -400,6 +412,18 @@ declare module "hardhat/types/runtime" {
|
|
|
400
412
|
name: "DonationsStaking",
|
|
401
413
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
402
414
|
): Promise<Contracts.DonationsStaking__factory>;
|
|
415
|
+
getContractFactory(
|
|
416
|
+
name: "FuseStakingV3",
|
|
417
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
418
|
+
): Promise<Contracts.FuseStakingV3__factory>;
|
|
419
|
+
getContractFactory(
|
|
420
|
+
name: "IConsensus",
|
|
421
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
422
|
+
): Promise<Contracts.IConsensus__factory>;
|
|
423
|
+
getContractFactory(
|
|
424
|
+
name: "PegSwap",
|
|
425
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
426
|
+
): Promise<Contracts.PegSwap__factory>;
|
|
403
427
|
getContractFactory(
|
|
404
428
|
name: "GoodFundManager",
|
|
405
429
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -497,6 +521,11 @@ declare module "hardhat/types/runtime" {
|
|
|
497
521
|
address: string,
|
|
498
522
|
signer?: ethers.Signer
|
|
499
523
|
): Promise<Contracts.IAccessControlUpgradeable>;
|
|
524
|
+
getContractAt(
|
|
525
|
+
name: "OwnableUpgradeable",
|
|
526
|
+
address: string,
|
|
527
|
+
signer?: ethers.Signer
|
|
528
|
+
): Promise<Contracts.OwnableUpgradeable>;
|
|
500
529
|
getContractAt(
|
|
501
530
|
name: "IBeaconUpgradeable",
|
|
502
531
|
address: string,
|
|
@@ -607,6 +636,11 @@ declare module "hardhat/types/runtime" {
|
|
|
607
636
|
address: string,
|
|
608
637
|
signer?: ethers.Signer
|
|
609
638
|
): Promise<Contracts.SchemeRegistrar>;
|
|
639
|
+
getContractAt(
|
|
640
|
+
name: "FuseFaucet",
|
|
641
|
+
address: string,
|
|
642
|
+
signer?: ethers.Signer
|
|
643
|
+
): Promise<Contracts.FuseFaucet>;
|
|
610
644
|
getContractAt(
|
|
611
645
|
name: "ClaimersDistribution",
|
|
612
646
|
address: string,
|
|
@@ -747,6 +781,11 @@ declare module "hardhat/types/runtime" {
|
|
|
747
781
|
address: string,
|
|
748
782
|
signer?: ethers.Signer
|
|
749
783
|
): Promise<Contracts.UniswapPair>;
|
|
784
|
+
getContractAt(
|
|
785
|
+
name: "InvitesV1",
|
|
786
|
+
address: string,
|
|
787
|
+
signer?: ethers.Signer
|
|
788
|
+
): Promise<Contracts.InvitesV1>;
|
|
750
789
|
getContractAt(
|
|
751
790
|
name: "AaveMock",
|
|
752
791
|
address: string,
|
|
@@ -962,6 +1001,21 @@ declare module "hardhat/types/runtime" {
|
|
|
962
1001
|
address: string,
|
|
963
1002
|
signer?: ethers.Signer
|
|
964
1003
|
): Promise<Contracts.DonationsStaking>;
|
|
1004
|
+
getContractAt(
|
|
1005
|
+
name: "FuseStakingV3",
|
|
1006
|
+
address: string,
|
|
1007
|
+
signer?: ethers.Signer
|
|
1008
|
+
): Promise<Contracts.FuseStakingV3>;
|
|
1009
|
+
getContractAt(
|
|
1010
|
+
name: "IConsensus",
|
|
1011
|
+
address: string,
|
|
1012
|
+
signer?: ethers.Signer
|
|
1013
|
+
): Promise<Contracts.IConsensus>;
|
|
1014
|
+
getContractAt(
|
|
1015
|
+
name: "PegSwap",
|
|
1016
|
+
address: string,
|
|
1017
|
+
signer?: ethers.Signer
|
|
1018
|
+
): Promise<Contracts.PegSwap>;
|
|
965
1019
|
getContractAt(
|
|
966
1020
|
name: "GoodFundManager",
|
|
967
1021
|
address: string,
|
package/types/index.ts
CHANGED
|
@@ -5,6 +5,7 @@ export type { AccessControlEnumerableUpgradeable } from "./AccessControlEnumerab
|
|
|
5
5
|
export type { AccessControlUpgradeable } from "./AccessControlUpgradeable";
|
|
6
6
|
export type { IAccessControlEnumerableUpgradeable } from "./IAccessControlEnumerableUpgradeable";
|
|
7
7
|
export type { IAccessControlUpgradeable } from "./IAccessControlUpgradeable";
|
|
8
|
+
export type { OwnableUpgradeable } from "./OwnableUpgradeable";
|
|
8
9
|
export type { IBeaconUpgradeable } from "./IBeaconUpgradeable";
|
|
9
10
|
export type { ERC1967UpgradeUpgradeable } from "./ERC1967UpgradeUpgradeable";
|
|
10
11
|
export type { UUPSUpgradeable } from "./UUPSUpgradeable";
|
|
@@ -27,6 +28,7 @@ export type { GlobalConstraintInterface } from "./GlobalConstraintInterface";
|
|
|
27
28
|
export type { IntVoteInterface } from "./IntVoteInterface";
|
|
28
29
|
export type { ReputationInterface } from "./ReputationInterface";
|
|
29
30
|
export type { SchemeRegistrar } from "./SchemeRegistrar";
|
|
31
|
+
export type { FuseFaucet } from "./FuseFaucet";
|
|
30
32
|
export type { ClaimersDistribution } from "./ClaimersDistribution";
|
|
31
33
|
export type { CompoundVotingMachine } from "./CompoundVotingMachine";
|
|
32
34
|
export type { GovernanceStaking } from "./GovernanceStaking";
|
|
@@ -55,6 +57,7 @@ export type { Staking } from "./Staking";
|
|
|
55
57
|
export type { Uniswap } from "./Uniswap";
|
|
56
58
|
export type { UniswapFactory } from "./UniswapFactory";
|
|
57
59
|
export type { UniswapPair } from "./UniswapPair";
|
|
60
|
+
export type { InvitesV1 } from "./InvitesV1";
|
|
58
61
|
export type { AaveMock } from "./AaveMock";
|
|
59
62
|
export type { AaveUSDMockOracle } from "./AaveUSDMockOracle";
|
|
60
63
|
export type { BatUSDMockOracle } from "./BatUSDMockOracle";
|
|
@@ -98,6 +101,9 @@ export type { CompoundStakingFactory } from "./CompoundStakingFactory";
|
|
|
98
101
|
export type { GoodCompoundStaking } from "./GoodCompoundStaking";
|
|
99
102
|
export type { GoodCompoundStakingV2 } from "./GoodCompoundStakingV2";
|
|
100
103
|
export type { DonationsStaking } from "./DonationsStaking";
|
|
104
|
+
export type { FuseStakingV3 } from "./FuseStakingV3";
|
|
105
|
+
export type { IConsensus } from "./IConsensus";
|
|
106
|
+
export type { PegSwap } from "./PegSwap";
|
|
101
107
|
export type { GoodFundManager } from "./GoodFundManager";
|
|
102
108
|
export type { SimpleStaking } from "./SimpleStaking";
|
|
103
109
|
export type { SimpleStakingV2 } from "./SimpleStakingV2";
|
|
@@ -122,6 +128,7 @@ export { AccessControlEnumerableUpgradeable__factory } from "./factories/AccessC
|
|
|
122
128
|
export { AccessControlUpgradeable__factory } from "./factories/AccessControlUpgradeable__factory";
|
|
123
129
|
export { IAccessControlEnumerableUpgradeable__factory } from "./factories/IAccessControlEnumerableUpgradeable__factory";
|
|
124
130
|
export { IAccessControlUpgradeable__factory } from "./factories/IAccessControlUpgradeable__factory";
|
|
131
|
+
export { OwnableUpgradeable__factory } from "./factories/OwnableUpgradeable__factory";
|
|
125
132
|
export { IBeaconUpgradeable__factory } from "./factories/IBeaconUpgradeable__factory";
|
|
126
133
|
export { ERC1967UpgradeUpgradeable__factory } from "./factories/ERC1967UpgradeUpgradeable__factory";
|
|
127
134
|
export { UUPSUpgradeable__factory } from "./factories/UUPSUpgradeable__factory";
|
|
@@ -144,6 +151,7 @@ export { GlobalConstraintInterface__factory } from "./factories/GlobalConstraint
|
|
|
144
151
|
export { IntVoteInterface__factory } from "./factories/IntVoteInterface__factory";
|
|
145
152
|
export { ReputationInterface__factory } from "./factories/ReputationInterface__factory";
|
|
146
153
|
export { SchemeRegistrar__factory } from "./factories/SchemeRegistrar__factory";
|
|
154
|
+
export { FuseFaucet__factory } from "./factories/FuseFaucet__factory";
|
|
147
155
|
export { ClaimersDistribution__factory } from "./factories/ClaimersDistribution__factory";
|
|
148
156
|
export { CompoundVotingMachine__factory } from "./factories/CompoundVotingMachine__factory";
|
|
149
157
|
export { GovernanceStaking__factory } from "./factories/GovernanceStaking__factory";
|
|
@@ -172,6 +180,7 @@ export { Staking__factory } from "./factories/Staking__factory";
|
|
|
172
180
|
export { Uniswap__factory } from "./factories/Uniswap__factory";
|
|
173
181
|
export { UniswapFactory__factory } from "./factories/UniswapFactory__factory";
|
|
174
182
|
export { UniswapPair__factory } from "./factories/UniswapPair__factory";
|
|
183
|
+
export { InvitesV1__factory } from "./factories/InvitesV1__factory";
|
|
175
184
|
export { AaveMock__factory } from "./factories/AaveMock__factory";
|
|
176
185
|
export { AaveUSDMockOracle__factory } from "./factories/AaveUSDMockOracle__factory";
|
|
177
186
|
export { BatUSDMockOracle__factory } from "./factories/BatUSDMockOracle__factory";
|
|
@@ -215,6 +224,9 @@ export { CompoundStakingFactory__factory } from "./factories/CompoundStakingFact
|
|
|
215
224
|
export { GoodCompoundStaking__factory } from "./factories/GoodCompoundStaking__factory";
|
|
216
225
|
export { GoodCompoundStakingV2__factory } from "./factories/GoodCompoundStakingV2__factory";
|
|
217
226
|
export { DonationsStaking__factory } from "./factories/DonationsStaking__factory";
|
|
227
|
+
export { FuseStakingV3__factory } from "./factories/FuseStakingV3__factory";
|
|
228
|
+
export { IConsensus__factory } from "./factories/IConsensus__factory";
|
|
229
|
+
export { PegSwap__factory } from "./factories/PegSwap__factory";
|
|
218
230
|
export { GoodFundManager__factory } from "./factories/GoodFundManager__factory";
|
|
219
231
|
export { SimpleStaking__factory } from "./factories/SimpleStaking__factory";
|
|
220
232
|
export { SimpleStakingV2__factory } from "./factories/SimpleStakingV2__factory";
|