@gooddollar/goodprotocol 2.0.10 → 2.0.12
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/BuyGDClone.min.json +1 -1
- package/artifacts/abis/BuyGDCloneFactory.min.json +1 -1
- package/artifacts/abis/FuseStakingV3.min.json +1 -1
- 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/IIdentityV2.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/ILendingPool.dbg.json +1 -1
- package/artifacts/contracts/Interfaces.sol/IMultichainRouter.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/Faucet.sol/Faucet.dbg.json +1 -1
- package/artifacts/contracts/fuseFaucet/FuseFaucet.sol/FuseFaucet.dbg.json +1 -1
- package/artifacts/contracts/fuseFaucet/FuseFaucetV2.sol/FuseFaucetV2.dbg.json +1 -1
- 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/GoodDollarStaking.sol/GoodDollarStaking.dbg.json +1 -1
- package/artifacts/contracts/governance/GoodDollarStaking.sol/IGovernanceStaking.dbg.json +1 -1
- package/artifacts/contracts/governance/GoodDollarStaking.sol/IStakingUpgrade.dbg.json +1 -1
- package/artifacts/contracts/governance/GoodDollarStaking.sol/RewardsMinter.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/identity/IdentityV2.sol/IdentityV2.dbg.json +1 -1
- package/artifacts/contracts/invite/InvitesFuseV2.sol/InvitesFuseV2.dbg.json +1 -1
- package/artifacts/contracts/invite/InvitesV1.sol/InvitesV1.dbg.json +1 -1
- package/artifacts/contracts/invite/InvitesV2.sol/InvitesV2.dbg.json +1 -1
- package/artifacts/contracts/mocks/AaveMock.sol/AaveMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/AaveUSDMockOracle.sol/AaveUSDMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/BatUSDMockOracle.sol/BatUSDMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/CompUsdMockOracle.sol/CompUSDMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/DAIMock.sol/DAIMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/DaiEthPriceMockOracle.sol/DaiEthPriceMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/DecimalsMock.sol/DecimalsMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/DistributionBridgeMock.sol/DistributionBridgeMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/DistributionHelperTest.sol/DistributionHelperTest.dbg.json +1 -1
- package/artifacts/contracts/mocks/DistributionHelperTest.sol/DistributionHelperTestHelper.dbg.json +1 -1
- package/artifacts/contracts/mocks/EthUSDMockOracle.sol/EthUSDMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/FeesFormularMock.sol/FeesFormulaMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/GasPriceMockOracle.sol/GasPriceMockOracle.dbg.json +1 -1
- package/artifacts/contracts/mocks/GoodCompoundStakingTest.sol/GoodCompoundStakingTest.dbg.json +1 -1
- package/artifacts/contracts/mocks/GoodDollarStakingMock.sol/GoodDollarStakingMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/GoodFundManagerTest.sol/GoodFundManagerTest.dbg.json +1 -1
- package/artifacts/contracts/mocks/IdentityMock.sol/IdentityMock.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/MultichainRouterMock.sol/IWrapper.dbg.json +1 -1
- package/artifacts/contracts/mocks/MultichainRouterMock.sol/MultichainRouterMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/OverMintTester.sol/IGoodDollarStakingTest.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/PayableMock.sol/PayableMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/SixteenDecimalsTokenMock.sol/SixteenDecimalsTokenMock.dbg.json +1 -1
- package/artifacts/contracts/mocks/StakingMockFixedAPY.sol/StakingMockFixedAPY.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/DistributionHelper.sol/DistributionHelper.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 +1 -1
- package/artifacts/contracts/staking/FuseStakingV3.sol/FuseStakingV3.json +66 -2
- package/artifacts/contracts/staking/FuseStakingV3.sol/IConsensus.dbg.json +1 -1
- package/artifacts/contracts/staking/FuseStakingV3.sol/PegSwap.dbg.json +1 -1
- 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/staking/utils/Math64X64.sol/Math64x64.dbg.json +1 -1
- package/artifacts/contracts/staking/utils/StakingRewardsFixedAPY.sol/StakingRewardsFixedAPY.dbg.json +1 -1
- package/artifacts/contracts/token/ERC20PresetMinterPauserUpgradeable.sol/ERC20PresetMinterPauserUpgradeable.dbg.json +1 -1
- package/artifacts/contracts/token/ERC677.sol/ERC677.dbg.json +1 -1
- package/artifacts/contracts/token/ERC677.sol/ERC677Receiver.dbg.json +1 -1
- package/artifacts/contracts/token/FeesFormula.sol/IFeesFormula.dbg.json +1 -1
- package/artifacts/contracts/token/GoodDollar.sol/GoodDollar.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/ERC20Permit.sol/ERC20Permit.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/ERC20Permit.sol/SelfApprove.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/ISuperGoodDollar.sol/IGoodDollarCustom.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/ISuperGoodDollar.sol/ISuperGoodDollar.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/SuperGoodDollar.sol/SuperGoodDollar.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/SuperToken.sol/SuperToken.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/SuperfluidToken.sol/SuperfluidToken.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/UUPSProxiable.sol/UUPSProxiable.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/UUPSProxy.sol/Proxy.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/UUPSProxy.sol/UUPSProxy.dbg.json +1 -1
- package/artifacts/contracts/token/superfluid/UUPSProxy.sol/UUPSUtils.dbg.json +1 -1
- package/artifacts/contracts/ubi/UBIScheme.sol/UBIScheme.dbg.json +1 -1
- package/artifacts/contracts/ubi/UBISchemeV2.sol/UBISchemeV2.dbg.json +1 -1
- package/artifacts/contracts/utils/AdminWallet.sol/AdminWallet.dbg.json +1 -1
- package/artifacts/contracts/utils/AdminWalletFuse.sol/AdminWalletFuse.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/BuyAndBridgeHelper.sol/BuyAndBridgeHelper.dbg.json +1 -1
- package/artifacts/contracts/utils/BuyGDClone.sol/BuyGDClone.dbg.json +1 -1
- package/artifacts/contracts/utils/BuyGDClone.sol/BuyGDClone.json +27 -2
- package/artifacts/contracts/utils/BuyGDClone.sol/BuyGDCloneFactory.dbg.json +1 -1
- package/artifacts/contracts/utils/BuyGDClone.sol/BuyGDCloneFactory.json +52 -2
- package/artifacts/contracts/utils/BuyGDClone.sol/ISwapRouter.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/GDFaucet.sol/GDFaucet.dbg.json +1 -1
- package/artifacts/contracts/utils/GoodDollarMintBurnWrapper.sol/GoodDollarMintBurnWrapper.dbg.json +1 -1
- package/artifacts/contracts/utils/GoodDollarMintBurnWrapper.sol/IRouter.dbg.json +1 -1
- package/artifacts/contracts/utils/GoodDollarMintBurnWrapper.sol/PausableControl.dbg.json +1 -1
- package/artifacts/contracts/utils/GoodDollarMintBurnWrapper.sol/TokenOperation.dbg.json +1 -1
- package/artifacts/contracts/utils/IdentityFix.sol/IdentityFix.dbg.json +1 -1
- package/artifacts/contracts/utils/MultiCall.sol/Multicall.dbg.json +1 -1
- package/artifacts/contracts/utils/MultichainBridgeHelper.sol/MultichainBridgeHelper.dbg.json +1 -1
- package/artifacts/contracts/utils/NameService.sol/NameService.dbg.json +1 -1
- package/artifacts/contracts/utils/OneTimePayments.sol/OneTimePayments.dbg.json +1 -1
- package/artifacts/contracts/utils/OneTimePaymentsV2.sol/OneTimePaymentsV2.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/ProxyFactory1967.sol/ERC1967Proxy.dbg.json +1 -1
- package/artifacts/contracts/utils/ProxyFactory1967.sol/ProxyFactory1967.dbg.json +1 -1
- package/artifacts/contracts/utils/ReputationTestHelper.sol/ReputationTestHelper.dbg.json +1 -1
- package/contracts/staking/FuseStakingV3.sol +79 -67
- package/contracts/utils/BuyGDClone.sol +59 -58
- package/package.json +3 -1
- package/releases/deployment.json +3 -1
- package/types/BuyGDClone.ts +42 -12
- package/types/BuyGDCloneFactory.ts +68 -0
- package/types/FuseStakingV3.ts +111 -0
- package/types/IStaticOracle.ts +507 -0
- package/types/IUniswapV3Factory.ts +333 -0
- package/types/factories/BuyGDCloneFactory__factory.ts +51 -1
- package/types/factories/BuyGDClone__factory.ts +26 -1
- package/types/factories/FuseStakingV3__factory.ts +65 -1
- package/types/factories/IStaticOracle__factory.ts +316 -0
- package/types/factories/IUniswapV3Factory__factory.ts +222 -0
- package/types/hardhat.d.ts +18 -9
- package/types/index.ts +4 -2
- package/yarn.lock +116 -2
- package/artifacts/abis/IStaticOracle.min.json +0 -1
- package/artifacts/contracts/utils/BuyGDClone.sol/IStaticOracle.dbg.json +0 -4
- package/artifacts/contracts/utils/BuyGDClone.sol/IStaticOracle.json +0 -79
|
@@ -0,0 +1,222 @@
|
|
|
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
|
+
IUniswapV3Factory,
|
|
9
|
+
IUniswapV3FactoryInterface,
|
|
10
|
+
} from "../IUniswapV3Factory";
|
|
11
|
+
|
|
12
|
+
const _abi = [
|
|
13
|
+
{
|
|
14
|
+
anonymous: false,
|
|
15
|
+
inputs: [
|
|
16
|
+
{
|
|
17
|
+
indexed: true,
|
|
18
|
+
internalType: "uint24",
|
|
19
|
+
name: "fee",
|
|
20
|
+
type: "uint24",
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
indexed: true,
|
|
24
|
+
internalType: "int24",
|
|
25
|
+
name: "tickSpacing",
|
|
26
|
+
type: "int24",
|
|
27
|
+
},
|
|
28
|
+
],
|
|
29
|
+
name: "FeeAmountEnabled",
|
|
30
|
+
type: "event",
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
anonymous: false,
|
|
34
|
+
inputs: [
|
|
35
|
+
{
|
|
36
|
+
indexed: true,
|
|
37
|
+
internalType: "address",
|
|
38
|
+
name: "oldOwner",
|
|
39
|
+
type: "address",
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
indexed: true,
|
|
43
|
+
internalType: "address",
|
|
44
|
+
name: "newOwner",
|
|
45
|
+
type: "address",
|
|
46
|
+
},
|
|
47
|
+
],
|
|
48
|
+
name: "OwnerChanged",
|
|
49
|
+
type: "event",
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
anonymous: false,
|
|
53
|
+
inputs: [
|
|
54
|
+
{
|
|
55
|
+
indexed: true,
|
|
56
|
+
internalType: "address",
|
|
57
|
+
name: "token0",
|
|
58
|
+
type: "address",
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
indexed: true,
|
|
62
|
+
internalType: "address",
|
|
63
|
+
name: "token1",
|
|
64
|
+
type: "address",
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
indexed: true,
|
|
68
|
+
internalType: "uint24",
|
|
69
|
+
name: "fee",
|
|
70
|
+
type: "uint24",
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
indexed: false,
|
|
74
|
+
internalType: "int24",
|
|
75
|
+
name: "tickSpacing",
|
|
76
|
+
type: "int24",
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
indexed: false,
|
|
80
|
+
internalType: "address",
|
|
81
|
+
name: "pool",
|
|
82
|
+
type: "address",
|
|
83
|
+
},
|
|
84
|
+
],
|
|
85
|
+
name: "PoolCreated",
|
|
86
|
+
type: "event",
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
inputs: [
|
|
90
|
+
{
|
|
91
|
+
internalType: "address",
|
|
92
|
+
name: "tokenA",
|
|
93
|
+
type: "address",
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
internalType: "address",
|
|
97
|
+
name: "tokenB",
|
|
98
|
+
type: "address",
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
internalType: "uint24",
|
|
102
|
+
name: "fee",
|
|
103
|
+
type: "uint24",
|
|
104
|
+
},
|
|
105
|
+
],
|
|
106
|
+
name: "createPool",
|
|
107
|
+
outputs: [
|
|
108
|
+
{
|
|
109
|
+
internalType: "address",
|
|
110
|
+
name: "pool",
|
|
111
|
+
type: "address",
|
|
112
|
+
},
|
|
113
|
+
],
|
|
114
|
+
stateMutability: "nonpayable",
|
|
115
|
+
type: "function",
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
inputs: [
|
|
119
|
+
{
|
|
120
|
+
internalType: "uint24",
|
|
121
|
+
name: "fee",
|
|
122
|
+
type: "uint24",
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
internalType: "int24",
|
|
126
|
+
name: "tickSpacing",
|
|
127
|
+
type: "int24",
|
|
128
|
+
},
|
|
129
|
+
],
|
|
130
|
+
name: "enableFeeAmount",
|
|
131
|
+
outputs: [],
|
|
132
|
+
stateMutability: "nonpayable",
|
|
133
|
+
type: "function",
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
inputs: [
|
|
137
|
+
{
|
|
138
|
+
internalType: "uint24",
|
|
139
|
+
name: "fee",
|
|
140
|
+
type: "uint24",
|
|
141
|
+
},
|
|
142
|
+
],
|
|
143
|
+
name: "feeAmountTickSpacing",
|
|
144
|
+
outputs: [
|
|
145
|
+
{
|
|
146
|
+
internalType: "int24",
|
|
147
|
+
name: "",
|
|
148
|
+
type: "int24",
|
|
149
|
+
},
|
|
150
|
+
],
|
|
151
|
+
stateMutability: "view",
|
|
152
|
+
type: "function",
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
inputs: [
|
|
156
|
+
{
|
|
157
|
+
internalType: "address",
|
|
158
|
+
name: "tokenA",
|
|
159
|
+
type: "address",
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
internalType: "address",
|
|
163
|
+
name: "tokenB",
|
|
164
|
+
type: "address",
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
internalType: "uint24",
|
|
168
|
+
name: "fee",
|
|
169
|
+
type: "uint24",
|
|
170
|
+
},
|
|
171
|
+
],
|
|
172
|
+
name: "getPool",
|
|
173
|
+
outputs: [
|
|
174
|
+
{
|
|
175
|
+
internalType: "address",
|
|
176
|
+
name: "pool",
|
|
177
|
+
type: "address",
|
|
178
|
+
},
|
|
179
|
+
],
|
|
180
|
+
stateMutability: "view",
|
|
181
|
+
type: "function",
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
inputs: [],
|
|
185
|
+
name: "owner",
|
|
186
|
+
outputs: [
|
|
187
|
+
{
|
|
188
|
+
internalType: "address",
|
|
189
|
+
name: "",
|
|
190
|
+
type: "address",
|
|
191
|
+
},
|
|
192
|
+
],
|
|
193
|
+
stateMutability: "view",
|
|
194
|
+
type: "function",
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
inputs: [
|
|
198
|
+
{
|
|
199
|
+
internalType: "address",
|
|
200
|
+
name: "_owner",
|
|
201
|
+
type: "address",
|
|
202
|
+
},
|
|
203
|
+
],
|
|
204
|
+
name: "setOwner",
|
|
205
|
+
outputs: [],
|
|
206
|
+
stateMutability: "nonpayable",
|
|
207
|
+
type: "function",
|
|
208
|
+
},
|
|
209
|
+
];
|
|
210
|
+
|
|
211
|
+
export class IUniswapV3Factory__factory {
|
|
212
|
+
static readonly abi = _abi;
|
|
213
|
+
static createInterface(): IUniswapV3FactoryInterface {
|
|
214
|
+
return new utils.Interface(_abi) as IUniswapV3FactoryInterface;
|
|
215
|
+
}
|
|
216
|
+
static connect(
|
|
217
|
+
address: string,
|
|
218
|
+
signerOrProvider: Signer | Provider
|
|
219
|
+
): IUniswapV3Factory {
|
|
220
|
+
return new Contract(address, _abi, signerOrProvider) as IUniswapV3Factory;
|
|
221
|
+
}
|
|
222
|
+
}
|
package/types/hardhat.d.ts
CHANGED
|
@@ -12,6 +12,10 @@ import * as Contracts from ".";
|
|
|
12
12
|
|
|
13
13
|
declare module "hardhat/types/runtime" {
|
|
14
14
|
interface HardhatEthersHelpers extends HardhatEthersHelpersBase {
|
|
15
|
+
getContractFactory(
|
|
16
|
+
name: "IStaticOracle",
|
|
17
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
18
|
+
): Promise<Contracts.IStaticOracle__factory>;
|
|
15
19
|
getContractFactory(
|
|
16
20
|
name: "AccessControlEnumerableUpgradeable",
|
|
17
21
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -220,6 +224,10 @@ declare module "hardhat/types/runtime" {
|
|
|
220
224
|
name: "EventsEmitter",
|
|
221
225
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
222
226
|
): Promise<Contracts.EventsEmitter__factory>;
|
|
227
|
+
getContractFactory(
|
|
228
|
+
name: "IUniswapV3Factory",
|
|
229
|
+
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
230
|
+
): Promise<Contracts.IUniswapV3Factory__factory>;
|
|
223
231
|
getContractFactory(
|
|
224
232
|
name: "Avatar",
|
|
225
233
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -752,10 +760,6 @@ declare module "hardhat/types/runtime" {
|
|
|
752
760
|
name: "BuyGDCloneFactory",
|
|
753
761
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
754
762
|
): Promise<Contracts.BuyGDCloneFactory__factory>;
|
|
755
|
-
getContractFactory(
|
|
756
|
-
name: "IStaticOracle",
|
|
757
|
-
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
758
|
-
): Promise<Contracts.IStaticOracle__factory>;
|
|
759
763
|
getContractFactory(
|
|
760
764
|
name: "ISwapRouter",
|
|
761
765
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
@@ -841,6 +845,11 @@ declare module "hardhat/types/runtime" {
|
|
|
841
845
|
signerOrOptions?: ethers.Signer | FactoryOptions
|
|
842
846
|
): Promise<Contracts.ReputationTestHelper__factory>;
|
|
843
847
|
|
|
848
|
+
getContractAt(
|
|
849
|
+
name: "IStaticOracle",
|
|
850
|
+
address: string,
|
|
851
|
+
signer?: ethers.Signer
|
|
852
|
+
): Promise<Contracts.IStaticOracle>;
|
|
844
853
|
getContractAt(
|
|
845
854
|
name: "AccessControlEnumerableUpgradeable",
|
|
846
855
|
address: string,
|
|
@@ -1101,6 +1110,11 @@ declare module "hardhat/types/runtime" {
|
|
|
1101
1110
|
address: string,
|
|
1102
1111
|
signer?: ethers.Signer
|
|
1103
1112
|
): Promise<Contracts.EventsEmitter>;
|
|
1113
|
+
getContractAt(
|
|
1114
|
+
name: "IUniswapV3Factory",
|
|
1115
|
+
address: string,
|
|
1116
|
+
signer?: ethers.Signer
|
|
1117
|
+
): Promise<Contracts.IUniswapV3Factory>;
|
|
1104
1118
|
getContractAt(
|
|
1105
1119
|
name: "Avatar",
|
|
1106
1120
|
address: string,
|
|
@@ -1766,11 +1780,6 @@ declare module "hardhat/types/runtime" {
|
|
|
1766
1780
|
address: string,
|
|
1767
1781
|
signer?: ethers.Signer
|
|
1768
1782
|
): Promise<Contracts.BuyGDCloneFactory>;
|
|
1769
|
-
getContractAt(
|
|
1770
|
-
name: "IStaticOracle",
|
|
1771
|
-
address: string,
|
|
1772
|
-
signer?: ethers.Signer
|
|
1773
|
-
): Promise<Contracts.IStaticOracle>;
|
|
1774
1783
|
getContractAt(
|
|
1775
1784
|
name: "ISwapRouter",
|
|
1776
1785
|
address: string,
|
package/types/index.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/* Autogenerated file. Do not edit manually. */
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
|
+
export type { IStaticOracle } from "./IStaticOracle";
|
|
4
5
|
export type { AccessControlEnumerableUpgradeable } from "./AccessControlEnumerableUpgradeable";
|
|
5
6
|
export type { AccessControlUpgradeable } from "./AccessControlUpgradeable";
|
|
6
7
|
export type { IAccessControlEnumerableUpgradeable } from "./IAccessControlEnumerableUpgradeable";
|
|
@@ -53,6 +54,7 @@ export type { ISuperTokenFactory } from "./ISuperTokenFactory";
|
|
|
53
54
|
export type { ERC20WithTokenInfo } from "./ERC20WithTokenInfo";
|
|
54
55
|
export type { TokenInfo } from "./TokenInfo";
|
|
55
56
|
export type { EventsEmitter } from "./EventsEmitter";
|
|
57
|
+
export type { IUniswapV3Factory } from "./IUniswapV3Factory";
|
|
56
58
|
export type { Avatar } from "./Avatar";
|
|
57
59
|
export type { Controller } from "./Controller";
|
|
58
60
|
export type { GlobalConstraintInterface } from "./GlobalConstraintInterface";
|
|
@@ -183,7 +185,6 @@ export type { BancorFormula } from "./BancorFormula";
|
|
|
183
185
|
export type { BuyAndBridgeHelper } from "./BuyAndBridgeHelper";
|
|
184
186
|
export type { BuyGDClone } from "./BuyGDClone";
|
|
185
187
|
export type { BuyGDCloneFactory } from "./BuyGDCloneFactory";
|
|
186
|
-
export type { IStaticOracle } from "./IStaticOracle";
|
|
187
188
|
export type { ISwapRouter } from "./ISwapRouter";
|
|
188
189
|
export type { DAOContract } from "./DAOContract";
|
|
189
190
|
export type { DAOUpgradeableContract } from "./DAOUpgradeableContract";
|
|
@@ -206,6 +207,7 @@ export type { ERC1967Proxy } from "./ERC1967Proxy";
|
|
|
206
207
|
export type { ProxyFactory1967 } from "./ProxyFactory1967";
|
|
207
208
|
export type { ReputationTestHelper } from "./ReputationTestHelper";
|
|
208
209
|
|
|
210
|
+
export { IStaticOracle__factory } from "./factories/IStaticOracle__factory";
|
|
209
211
|
export { AccessControlEnumerableUpgradeable__factory } from "./factories/AccessControlEnumerableUpgradeable__factory";
|
|
210
212
|
export { AccessControlUpgradeable__factory } from "./factories/AccessControlUpgradeable__factory";
|
|
211
213
|
export { IAccessControlEnumerableUpgradeable__factory } from "./factories/IAccessControlEnumerableUpgradeable__factory";
|
|
@@ -258,6 +260,7 @@ export { ISuperTokenFactory__factory } from "./factories/ISuperTokenFactory__fac
|
|
|
258
260
|
export { ERC20WithTokenInfo__factory } from "./factories/ERC20WithTokenInfo__factory";
|
|
259
261
|
export { TokenInfo__factory } from "./factories/TokenInfo__factory";
|
|
260
262
|
export { EventsEmitter__factory } from "./factories/EventsEmitter__factory";
|
|
263
|
+
export { IUniswapV3Factory__factory } from "./factories/IUniswapV3Factory__factory";
|
|
261
264
|
export { Avatar__factory } from "./factories/Avatar__factory";
|
|
262
265
|
export { Controller__factory } from "./factories/Controller__factory";
|
|
263
266
|
export { GlobalConstraintInterface__factory } from "./factories/GlobalConstraintInterface__factory";
|
|
@@ -388,7 +391,6 @@ export { BancorFormula__factory } from "./factories/BancorFormula__factory";
|
|
|
388
391
|
export { BuyAndBridgeHelper__factory } from "./factories/BuyAndBridgeHelper__factory";
|
|
389
392
|
export { BuyGDClone__factory } from "./factories/BuyGDClone__factory";
|
|
390
393
|
export { BuyGDCloneFactory__factory } from "./factories/BuyGDCloneFactory__factory";
|
|
391
|
-
export { IStaticOracle__factory } from "./factories/IStaticOracle__factory";
|
|
392
394
|
export { ISwapRouter__factory } from "./factories/ISwapRouter__factory";
|
|
393
395
|
export { DAOContract__factory } from "./factories/DAOContract__factory";
|
|
394
396
|
export { DAOUpgradeableContract__factory } from "./factories/DAOUpgradeableContract__factory";
|
package/yarn.lock
CHANGED
|
@@ -1418,6 +1418,15 @@ __metadata:
|
|
|
1418
1418
|
languageName: node
|
|
1419
1419
|
linkType: hard
|
|
1420
1420
|
|
|
1421
|
+
"@celo-tools/celo-ethers-wrapper@npm:^0.4.0":
|
|
1422
|
+
version: 0.4.0
|
|
1423
|
+
resolution: "@celo-tools/celo-ethers-wrapper@npm:0.4.0"
|
|
1424
|
+
peerDependencies:
|
|
1425
|
+
ethers: ^5
|
|
1426
|
+
checksum: 36021ae2c6448993985faaa0619ef919fe5209f3cdff45c329c65ed014a501abb0a375fa086c77076b2d193675cd55acd8c5b763aa865e34b23193a3e825ba6b
|
|
1427
|
+
languageName: node
|
|
1428
|
+
linkType: hard
|
|
1429
|
+
|
|
1421
1430
|
"@colors/colors@npm:1.5.0":
|
|
1422
1431
|
version: 1.5.0
|
|
1423
1432
|
resolution: "@colors/colors@npm:1.5.0"
|
|
@@ -2324,12 +2333,14 @@ __metadata:
|
|
|
2324
2333
|
"@babel/polyfill": "*"
|
|
2325
2334
|
"@babel/preset-env": "*"
|
|
2326
2335
|
"@babel/register": "*"
|
|
2336
|
+
"@celo-tools/celo-ethers-wrapper": ^0.4.0
|
|
2327
2337
|
"@gnosis.pm/safe-core-sdk": ^3.2.0
|
|
2328
2338
|
"@gnosis.pm/safe-core-sdk-types": ^1.7.0
|
|
2329
2339
|
"@gnosis.pm/safe-ethers-lib": ^1.7.0
|
|
2330
2340
|
"@gnosis.pm/safe-service-client": ^1.4.0
|
|
2331
2341
|
"@gooddollar/goodcontracts": ^2.6.6
|
|
2332
2342
|
"@jsier/retrier": ^1.2.4
|
|
2343
|
+
"@mean-finance/uniswap-v3-oracle": ^1.0.3
|
|
2333
2344
|
"@nomicfoundation/hardhat-network-helpers": ^1.0.8
|
|
2334
2345
|
"@nomiclabs/hardhat-ethers": ^2.2.1
|
|
2335
2346
|
"@nomiclabs/hardhat-etherscan": ^3.1.0
|
|
@@ -2571,6 +2582,28 @@ __metadata:
|
|
|
2571
2582
|
languageName: node
|
|
2572
2583
|
linkType: hard
|
|
2573
2584
|
|
|
2585
|
+
"@mean-finance/deterministic-factory@npm:1.4.3":
|
|
2586
|
+
version: 1.4.3
|
|
2587
|
+
resolution: "@mean-finance/deterministic-factory@npm:1.4.3"
|
|
2588
|
+
dependencies:
|
|
2589
|
+
"@openzeppelin/contracts": 4.6.0
|
|
2590
|
+
"@rari-capital/solmate": 6.2.0
|
|
2591
|
+
checksum: d931aba603633d5b6f34c1b05afb3248da4b57bada79e40eae2c7df2cd1016c8953707d15e8b993acd48840b083dffa906986a4dabfcd92b2ff7a9b273318ef8
|
|
2592
|
+
languageName: node
|
|
2593
|
+
linkType: hard
|
|
2594
|
+
|
|
2595
|
+
"@mean-finance/uniswap-v3-oracle@npm:^1.0.3":
|
|
2596
|
+
version: 1.0.3
|
|
2597
|
+
resolution: "@mean-finance/uniswap-v3-oracle@npm:1.0.3"
|
|
2598
|
+
dependencies:
|
|
2599
|
+
"@mean-finance/deterministic-factory": 1.4.3
|
|
2600
|
+
"@openzeppelin/contracts": 3.4.0
|
|
2601
|
+
"@uniswap/v3-core": 1.0.1
|
|
2602
|
+
"@uniswap/v3-periphery": 1.4.1
|
|
2603
|
+
checksum: 19a0fc0d49362b333cd608ee5650d44e3aadca952aba1dd78f2c3d879a0ddbdf87ded47295dfeb0614dbcaf16d1dfa85e57fe95b504eea016b7d7874833b0ee4
|
|
2604
|
+
languageName: node
|
|
2605
|
+
linkType: hard
|
|
2606
|
+
|
|
2574
2607
|
"@metamask/eth-sig-util@npm:^4.0.0":
|
|
2575
2608
|
version: 4.0.0
|
|
2576
2609
|
resolution: "@metamask/eth-sig-util@npm:4.0.0"
|
|
@@ -2973,6 +3006,27 @@ __metadata:
|
|
|
2973
3006
|
languageName: node
|
|
2974
3007
|
linkType: hard
|
|
2975
3008
|
|
|
3009
|
+
"@openzeppelin/contracts@npm:3.4.0":
|
|
3010
|
+
version: 3.4.0
|
|
3011
|
+
resolution: "@openzeppelin/contracts@npm:3.4.0"
|
|
3012
|
+
checksum: 8c9d9b7f5207944c256b127c41fb7e47f3e4bb808e3a75096a77d217870c0d218c64706c9f9304d36e388d451a1eeed5ffdbbbad71a40973aceae349f305f382
|
|
3013
|
+
languageName: node
|
|
3014
|
+
linkType: hard
|
|
3015
|
+
|
|
3016
|
+
"@openzeppelin/contracts@npm:3.4.2-solc-0.7":
|
|
3017
|
+
version: 3.4.2-solc-0.7
|
|
3018
|
+
resolution: "@openzeppelin/contracts@npm:3.4.2-solc-0.7"
|
|
3019
|
+
checksum: 1a6048f31ed560c34429a05e534102c51124ecaf113aca7ebeb7897cfaaf61007cdd7952374c282adaeb79b04ee86ee80b16eed28b62fc6d60e3ffcd7a696895
|
|
3020
|
+
languageName: node
|
|
3021
|
+
linkType: hard
|
|
3022
|
+
|
|
3023
|
+
"@openzeppelin/contracts@npm:4.6.0":
|
|
3024
|
+
version: 4.6.0
|
|
3025
|
+
resolution: "@openzeppelin/contracts@npm:4.6.0"
|
|
3026
|
+
checksum: 1de06211b279d7aef2bb9abbdd58eb80c71256f7e888a10855ea23bb06ef8723b22fb550d06af60247dfbd7f0f23de9821732012d7541a823339070a8442d1db
|
|
3027
|
+
languageName: node
|
|
3028
|
+
linkType: hard
|
|
3029
|
+
|
|
2976
3030
|
"@openzeppelin/contracts@npm:4.7.3":
|
|
2977
3031
|
version: 4.7.3
|
|
2978
3032
|
resolution: "@openzeppelin/contracts@npm:4.7.3"
|
|
@@ -3097,6 +3151,13 @@ __metadata:
|
|
|
3097
3151
|
languageName: node
|
|
3098
3152
|
linkType: hard
|
|
3099
3153
|
|
|
3154
|
+
"@rari-capital/solmate@npm:6.2.0":
|
|
3155
|
+
version: 6.2.0
|
|
3156
|
+
resolution: "@rari-capital/solmate@npm:6.2.0"
|
|
3157
|
+
checksum: a120cbb7d2828e35b5fd7d620871fd7f746c68a94f79be79fc153c665e6117e82ca3f22167e2143a84d7c5876784f9ad173efc51ace075e1332726d552c5e23e
|
|
3158
|
+
languageName: node
|
|
3159
|
+
linkType: hard
|
|
3160
|
+
|
|
3100
3161
|
"@redux-saga/core@npm:^1.0.0":
|
|
3101
3162
|
version: 1.1.3
|
|
3102
3163
|
resolution: "@redux-saga/core@npm:1.1.3"
|
|
@@ -4515,7 +4576,14 @@ __metadata:
|
|
|
4515
4576
|
languageName: node
|
|
4516
4577
|
linkType: hard
|
|
4517
4578
|
|
|
4518
|
-
"@uniswap/
|
|
4579
|
+
"@uniswap/lib@npm:^4.0.1-alpha":
|
|
4580
|
+
version: 4.0.1-alpha
|
|
4581
|
+
resolution: "@uniswap/lib@npm:4.0.1-alpha"
|
|
4582
|
+
checksum: d7bbacccef40966af16c7e215ab085f575686d316b2802c9e1cfd03f7ad351970e547535670a28b2279c3cfcc4fb02888614c46f94efe2987af2309f3ec86127
|
|
4583
|
+
languageName: node
|
|
4584
|
+
linkType: hard
|
|
4585
|
+
|
|
4586
|
+
"@uniswap/v2-core@npm:*, @uniswap/v2-core@npm:1.0.1":
|
|
4519
4587
|
version: 1.0.1
|
|
4520
4588
|
resolution: "@uniswap/v2-core@npm:1.0.1"
|
|
4521
4589
|
checksum: eaa118fe45eac2e80b7468547ce2cde12bd3c8157555d2e40e0462a788c9506c6295247b511382da85e44a89ad92aff7bb3433b23bfbd2eeea23942ecd46e979
|
|
@@ -4539,6 +4607,34 @@ __metadata:
|
|
|
4539
4607
|
languageName: node
|
|
4540
4608
|
linkType: hard
|
|
4541
4609
|
|
|
4610
|
+
"@uniswap/v3-core@npm:1.0.0":
|
|
4611
|
+
version: 1.0.0
|
|
4612
|
+
resolution: "@uniswap/v3-core@npm:1.0.0"
|
|
4613
|
+
checksum: 0e7654cfbf9885f1ca94446c3b220aeddb039af7892bc4ae94669512570ceefdf1ce6c2b0703396927d5a203d7c6c5ccaf8bd61426e52372aafb6ada64141055
|
|
4614
|
+
languageName: node
|
|
4615
|
+
linkType: hard
|
|
4616
|
+
|
|
4617
|
+
"@uniswap/v3-core@npm:1.0.1":
|
|
4618
|
+
version: 1.0.1
|
|
4619
|
+
resolution: "@uniswap/v3-core@npm:1.0.1"
|
|
4620
|
+
checksum: 4bfd8b218391a3d9efde44e0f984cfec3bc25889cd4d1386766828521006e71b210a3583ee32b52f3c81d384af9e8c39f471f2229e9af4d50da6801446ecb3e4
|
|
4621
|
+
languageName: node
|
|
4622
|
+
linkType: hard
|
|
4623
|
+
|
|
4624
|
+
"@uniswap/v3-periphery@npm:1.4.1":
|
|
4625
|
+
version: 1.4.1
|
|
4626
|
+
resolution: "@uniswap/v3-periphery@npm:1.4.1"
|
|
4627
|
+
dependencies:
|
|
4628
|
+
"@openzeppelin/contracts": 3.4.2-solc-0.7
|
|
4629
|
+
"@uniswap/lib": ^4.0.1-alpha
|
|
4630
|
+
"@uniswap/v2-core": 1.0.1
|
|
4631
|
+
"@uniswap/v3-core": 1.0.0
|
|
4632
|
+
base64-sol: 1.0.1
|
|
4633
|
+
hardhat-watcher: ^2.1.1
|
|
4634
|
+
checksum: a171332f1f1b89cde24d9962bdfc9742d9e6b102ea16815fa6997e0c812aa93a120752a6f497a5d5ab709f5c91ec7f18c2957fa5a8b9af57db3ff202ac8b7dc7
|
|
4635
|
+
languageName: node
|
|
4636
|
+
linkType: hard
|
|
4637
|
+
|
|
4542
4638
|
"@yarnpkg/lockfile@npm:^1.1.0":
|
|
4543
4639
|
version: 1.1.0
|
|
4544
4640
|
resolution: "@yarnpkg/lockfile@npm:1.1.0"
|
|
@@ -6202,6 +6298,13 @@ __metadata:
|
|
|
6202
6298
|
languageName: node
|
|
6203
6299
|
linkType: hard
|
|
6204
6300
|
|
|
6301
|
+
"base64-sol@npm:1.0.1":
|
|
6302
|
+
version: 1.0.1
|
|
6303
|
+
resolution: "base64-sol@npm:1.0.1"
|
|
6304
|
+
checksum: be0f9e8cf3c744256913223fbae8187773f530cc096e98a77f49ef0bd6cedeb294d15a784e439419f7cb99f07bf85b08999169feafafa1a9e29c3affc0bc6d0a
|
|
6305
|
+
languageName: node
|
|
6306
|
+
linkType: hard
|
|
6307
|
+
|
|
6205
6308
|
"base@npm:^0.11.1":
|
|
6206
6309
|
version: 0.11.2
|
|
6207
6310
|
resolution: "base@npm:0.11.2"
|
|
@@ -7331,7 +7434,7 @@ __metadata:
|
|
|
7331
7434
|
languageName: node
|
|
7332
7435
|
linkType: hard
|
|
7333
7436
|
|
|
7334
|
-
"chokidar@npm:3.5.3":
|
|
7437
|
+
"chokidar@npm:3.5.3, chokidar@npm:^3.5.3":
|
|
7335
7438
|
version: 3.5.3
|
|
7336
7439
|
resolution: "chokidar@npm:3.5.3"
|
|
7337
7440
|
dependencies:
|
|
@@ -11612,6 +11715,17 @@ __metadata:
|
|
|
11612
11715
|
languageName: node
|
|
11613
11716
|
linkType: hard
|
|
11614
11717
|
|
|
11718
|
+
"hardhat-watcher@npm:^2.1.1":
|
|
11719
|
+
version: 2.5.0
|
|
11720
|
+
resolution: "hardhat-watcher@npm:2.5.0"
|
|
11721
|
+
dependencies:
|
|
11722
|
+
chokidar: ^3.5.3
|
|
11723
|
+
peerDependencies:
|
|
11724
|
+
hardhat: ^2.0.0
|
|
11725
|
+
checksum: e6c0d52865529653733b3fed6887b41a676fc5185eb835909b360e8cc24223a2fc4c398e3874b234fa918ec59be9de86d7fe92963022139c05cf07f027377cbb
|
|
11726
|
+
languageName: node
|
|
11727
|
+
linkType: hard
|
|
11728
|
+
|
|
11615
11729
|
"hardhat@npm:^2.13.0":
|
|
11616
11730
|
version: 2.13.0
|
|
11617
11731
|
resolution: "hardhat@npm:2.13.0"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"_format":"hh-sol-artifact-1","contractName":"IStaticOracle","sourceName":"contracts/utils/BuyGDClone.sol","abi":[{"inputs":[{"internalType":"address","name":"tokenA","type":"address"},{"internalType":"address","name":"tokenB","type":"address"},{"internalType":"uint16","name":"cardinality","type":"uint16"}],"name":"prepareAllAvailablePoolsWithCardinality","outputs":[{"internalType":"address[]","name":"preparedPools","type":"address[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint128","name":"baseAmount","type":"uint128"},{"internalType":"address","name":"baseToken","type":"address"},{"internalType":"address","name":"quoteToken","type":"address"},{"internalType":"uint32","name":"period","type":"uint32"}],"name":"quoteAllAvailablePoolsWithTimePeriod","outputs":[{"internalType":"uint256","name":"quoteAmount","type":"uint256"},{"internalType":"address[]","name":"queriedPools","type":"address[]"}],"stateMutability":"view","type":"function"}],"linkReferences":{},"deployedLinkReferences":{}}
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"_format": "hh-sol-artifact-1",
|
|
3
|
-
"contractName": "IStaticOracle",
|
|
4
|
-
"sourceName": "contracts/utils/BuyGDClone.sol",
|
|
5
|
-
"abi": [
|
|
6
|
-
{
|
|
7
|
-
"inputs": [
|
|
8
|
-
{
|
|
9
|
-
"internalType": "address",
|
|
10
|
-
"name": "tokenA",
|
|
11
|
-
"type": "address"
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"internalType": "address",
|
|
15
|
-
"name": "tokenB",
|
|
16
|
-
"type": "address"
|
|
17
|
-
},
|
|
18
|
-
{
|
|
19
|
-
"internalType": "uint16",
|
|
20
|
-
"name": "cardinality",
|
|
21
|
-
"type": "uint16"
|
|
22
|
-
}
|
|
23
|
-
],
|
|
24
|
-
"name": "prepareAllAvailablePoolsWithCardinality",
|
|
25
|
-
"outputs": [
|
|
26
|
-
{
|
|
27
|
-
"internalType": "address[]",
|
|
28
|
-
"name": "preparedPools",
|
|
29
|
-
"type": "address[]"
|
|
30
|
-
}
|
|
31
|
-
],
|
|
32
|
-
"stateMutability": "nonpayable",
|
|
33
|
-
"type": "function"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"inputs": [
|
|
37
|
-
{
|
|
38
|
-
"internalType": "uint128",
|
|
39
|
-
"name": "baseAmount",
|
|
40
|
-
"type": "uint128"
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"internalType": "address",
|
|
44
|
-
"name": "baseToken",
|
|
45
|
-
"type": "address"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"internalType": "address",
|
|
49
|
-
"name": "quoteToken",
|
|
50
|
-
"type": "address"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
"internalType": "uint32",
|
|
54
|
-
"name": "period",
|
|
55
|
-
"type": "uint32"
|
|
56
|
-
}
|
|
57
|
-
],
|
|
58
|
-
"name": "quoteAllAvailablePoolsWithTimePeriod",
|
|
59
|
-
"outputs": [
|
|
60
|
-
{
|
|
61
|
-
"internalType": "uint256",
|
|
62
|
-
"name": "quoteAmount",
|
|
63
|
-
"type": "uint256"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"internalType": "address[]",
|
|
67
|
-
"name": "queriedPools",
|
|
68
|
-
"type": "address[]"
|
|
69
|
-
}
|
|
70
|
-
],
|
|
71
|
-
"stateMutability": "view",
|
|
72
|
-
"type": "function"
|
|
73
|
-
}
|
|
74
|
-
],
|
|
75
|
-
"bytecode": "0x",
|
|
76
|
-
"deployedBytecode": "0x",
|
|
77
|
-
"linkReferences": {},
|
|
78
|
-
"deployedLinkReferences": {}
|
|
79
|
-
}
|