@gooddollar/goodcollective-contracts 1.0.0 → 1.0.2
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/contracts/DirectPayments/DirectPaymentsPool.sol +12 -2
- package/contracts/GoodCollective/GoodCollectiveSuperApp.sol +264 -0
- package/contracts/GoodCollective/SuperAppBaseFlow.sol +204 -0
- package/contracts/utils/SwapRouterMock.sol +32 -0
- package/package.json +7 -2
- package/releases/deployment.json +7984 -2746
- package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/AggregatorV3Interface.ts +199 -0
- package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/CERC20.ts +630 -0
- package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/ERC20.ts +450 -0
- package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/IAaveIncentivesController.ts +161 -0
- package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/IAdminWallet.ts +189 -0
- package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/IDonationStaking.ts +98 -0
- package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/IERC2917.ts +750 -0
- package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/IFirstClaimPool.ts +144 -0
- package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/IGoodDollar.ts +1033 -0
- package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/IGoodStaking.ts +281 -0
- package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/IHasRouter.ts +81 -0
- package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/IIdentity.ts +598 -0
- package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/IIdentityV2.ts +689 -0
- package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/ILendingPool.ts +257 -0
- package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/IMultichainRouter.ts +179 -0
- package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/INameService.ts +100 -0
- package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/IUBIScheme.ts +137 -0
- package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/ProxyAdmin.ts +278 -0
- package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/Reserve.ts +117 -0
- package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/Staking.ts +175 -0
- package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/Uniswap.ts +464 -0
- package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/UniswapFactory.ts +105 -0
- package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/UniswapPair.ts +209 -0
- package/typechain-types/@gooddollar/goodprotocol/contracts/Interfaces.sol/index.ts +26 -0
- package/typechain-types/@gooddollar/goodprotocol/contracts/index.ts +7 -0
- package/typechain-types/@gooddollar/goodprotocol/contracts/token/FeesFormula.sol/IFeesFormula.ts +115 -0
- package/typechain-types/@gooddollar/goodprotocol/contracts/token/FeesFormula.sol/index.ts +4 -0
- package/typechain-types/@gooddollar/goodprotocol/contracts/token/index.ts +7 -0
- package/typechain-types/@gooddollar/goodprotocol/contracts/token/superfluid/ISuperGoodDollar.sol/IGoodDollarCustom.ts +726 -0
- package/typechain-types/@gooddollar/goodprotocol/contracts/token/superfluid/ISuperGoodDollar.sol/ISuperGoodDollar.ts +3662 -0
- package/typechain-types/@gooddollar/goodprotocol/contracts/token/superfluid/ISuperGoodDollar.sol/index.ts +5 -0
- package/typechain-types/@gooddollar/goodprotocol/contracts/token/superfluid/index.ts +5 -0
- package/typechain-types/@gooddollar/goodprotocol/index.ts +5 -0
- package/typechain-types/@gooddollar/index.ts +5 -0
- package/typechain-types/@openzeppelin/contracts/index.ts +4 -0
- package/typechain-types/@openzeppelin/contracts/token/ERC20/IERC20.ts +342 -0
- package/typechain-types/@openzeppelin/contracts/token/ERC20/index.ts +4 -0
- package/typechain-types/@openzeppelin/contracts/token/ERC721/IERC721.ts +559 -0
- package/typechain-types/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.ts +619 -0
- package/typechain-types/@openzeppelin/contracts/token/ERC721/extensions/index.ts +4 -0
- package/typechain-types/@openzeppelin/contracts/token/ERC721/index.ts +6 -0
- package/typechain-types/@openzeppelin/contracts/token/ERC777/IERC777.ts +650 -0
- package/typechain-types/@openzeppelin/contracts/token/ERC777/index.ts +4 -0
- package/typechain-types/@openzeppelin/contracts/token/index.ts +9 -0
- package/typechain-types/@openzeppelin/contracts/utils/index.ts +5 -0
- package/typechain-types/@openzeppelin/contracts/utils/introspection/IERC165.ts +103 -0
- package/typechain-types/@openzeppelin/contracts/utils/introspection/index.ts +4 -0
- package/typechain-types/@superfluid-finance/ethereum-contracts/contracts/index.ts +5 -0
- package/typechain-types/@superfluid-finance/ethereum-contracts/contracts/interfaces/agreements/IConstantFlowAgreementV1.ts +1390 -0
- package/typechain-types/@superfluid-finance/ethereum-contracts/contracts/interfaces/agreements/IInstantDistributionAgreementV1.ts +1280 -0
- package/typechain-types/@superfluid-finance/ethereum-contracts/contracts/interfaces/agreements/index.ts +5 -0
- package/typechain-types/@superfluid-finance/ethereum-contracts/contracts/interfaces/index.ts +9 -0
- package/typechain-types/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/IConstantInflowNFT.ts +876 -0
- package/typechain-types/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/IConstantOutflowNFT.ts +945 -0
- package/typechain-types/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/IFlowNFTBase.ts +807 -0
- package/typechain-types/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperAgreement.ts +157 -0
- package/typechain-types/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperApp.ts +457 -0
- package/typechain-types/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperToken.ts +2806 -0
- package/typechain-types/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperTokenFactory.ts +465 -0
- package/typechain-types/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperfluid.ts +1727 -0
- package/typechain-types/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperfluidGovernance.ts +506 -0
- package/typechain-types/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperfluidToken.ts +1010 -0
- package/typechain-types/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/index.ts +13 -0
- package/typechain-types/@superfluid-finance/ethereum-contracts/contracts/interfaces/tokens/ERC20WithTokenInfo.ts +384 -0
- package/typechain-types/@superfluid-finance/ethereum-contracts/contracts/interfaces/tokens/TokenInfo.ts +109 -0
- package/typechain-types/@superfluid-finance/ethereum-contracts/contracts/interfaces/tokens/index.ts +5 -0
- package/typechain-types/@superfluid-finance/ethereum-contracts/index.ts +5 -0
- package/typechain-types/@superfluid-finance/index.ts +5 -0
- package/typechain-types/@uniswap/index.ts +7 -0
- package/typechain-types/@uniswap/v3-core/contracts/index.ts +5 -0
- package/typechain-types/@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback.ts +122 -0
- package/typechain-types/@uniswap/v3-core/contracts/interfaces/callback/index.ts +4 -0
- package/typechain-types/@uniswap/v3-core/contracts/interfaces/index.ts +5 -0
- package/typechain-types/@uniswap/v3-core/index.ts +5 -0
- package/typechain-types/@uniswap/v3-periphery/contracts/index.ts +5 -0
- package/typechain-types/@uniswap/v3-periphery/contracts/interfaces/ISwapRouter.ts +369 -0
- package/typechain-types/@uniswap/v3-periphery/contracts/interfaces/index.ts +4 -0
- package/typechain-types/@uniswap/v3-periphery/index.ts +5 -0
- package/typechain-types/contracts/DirectPayments/DirectPaymentsPool.sol/DirectPaymentsPool.ts +763 -0
- package/typechain-types/contracts/GoodCollective/GoodCollectiveSuperApp.ts +843 -0
- package/typechain-types/contracts/GoodCollective/SuperAppBaseFlow.ts +523 -0
- package/typechain-types/contracts/GoodCollective/index.ts +5 -0
- package/typechain-types/contracts/index.ts +4 -1
- package/typechain-types/contracts/utils/SwapRouterMock.ts +194 -0
- package/typechain-types/contracts/utils/index.ts +4 -0
- package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/AggregatorV3Interface__factory.ts +121 -0
- package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/CERC20__factory.ts +384 -0
- package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/ERC20__factory.ts +288 -0
- package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/IAaveIncentivesController__factory.ts +83 -0
- package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/IAdminWallet__factory.ts +78 -0
- package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/IDonationStaking__factory.ts +33 -0
- package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/IERC2917__factory.ts +496 -0
- package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/IFirstClaimPool__factory.ts +65 -0
- package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/IGoodDollar__factory.ts +598 -0
- package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/IGoodStaking__factory.ts +178 -0
- package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/IHasRouter__factory.ts +39 -0
- package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/IIdentityV2__factory.ts +334 -0
- package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/IIdentity__factory.ts +287 -0
- package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/ILendingPool__factory.ts +171 -0
- package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/IMultichainRouter__factory.ts +82 -0
- package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/INameService__factory.ts +45 -0
- package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/IUBIScheme__factory.ts +71 -0
- package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/ProxyAdmin__factory.ts +131 -0
- package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/Reserve__factory.ts +55 -0
- package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/Staking__factory.ts +77 -0
- package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/UniswapFactory__factory.ts +50 -0
- package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/UniswapPair__factory.ts +120 -0
- package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/Uniswap__factory.ts +275 -0
- package/typechain-types/factories/@gooddollar/goodprotocol/contracts/Interfaces.sol/index.ts +26 -0
- package/typechain-types/factories/@gooddollar/goodprotocol/contracts/index.ts +5 -0
- package/typechain-types/factories/@gooddollar/goodprotocol/contracts/token/FeesFormula.sol/IFeesFormula__factory.ts +60 -0
- package/typechain-types/factories/@gooddollar/goodprotocol/contracts/token/FeesFormula.sol/index.ts +4 -0
- package/typechain-types/factories/@gooddollar/goodprotocol/contracts/token/index.ts +5 -0
- package/typechain-types/factories/@gooddollar/goodprotocol/contracts/token/superfluid/ISuperGoodDollar.sol/IGoodDollarCustom__factory.ts +370 -0
- package/typechain-types/factories/@gooddollar/goodprotocol/contracts/token/superfluid/ISuperGoodDollar.sol/ISuperGoodDollar__factory.ts +2301 -0
- package/typechain-types/factories/@gooddollar/goodprotocol/contracts/token/superfluid/ISuperGoodDollar.sol/index.ts +5 -0
- package/typechain-types/factories/@gooddollar/goodprotocol/contracts/token/superfluid/index.ts +4 -0
- package/typechain-types/factories/@gooddollar/goodprotocol/index.ts +4 -0
- package/typechain-types/factories/@gooddollar/index.ts +4 -0
- package/typechain-types/factories/@openzeppelin/contracts/index.ts +2 -0
- package/typechain-types/factories/@openzeppelin/contracts/token/ERC20/IERC20__factory.ts +206 -0
- package/typechain-types/factories/@openzeppelin/contracts/token/ERC20/index.ts +4 -0
- package/typechain-types/factories/@openzeppelin/contracts/token/ERC721/IERC721__factory.ts +311 -0
- package/typechain-types/factories/@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata__factory.ts +356 -0
- package/typechain-types/factories/@openzeppelin/contracts/token/ERC721/extensions/index.ts +4 -0
- package/typechain-types/factories/@openzeppelin/contracts/token/ERC721/index.ts +5 -0
- package/typechain-types/factories/@openzeppelin/contracts/token/ERC777/IERC777__factory.ts +417 -0
- package/typechain-types/factories/@openzeppelin/contracts/token/ERC777/index.ts +4 -0
- package/typechain-types/factories/@openzeppelin/contracts/token/index.ts +6 -0
- package/typechain-types/factories/@openzeppelin/contracts/utils/index.ts +4 -0
- package/typechain-types/factories/@openzeppelin/contracts/utils/introspection/IERC165__factory.ts +45 -0
- package/typechain-types/factories/@openzeppelin/contracts/utils/introspection/index.ts +4 -0
- package/typechain-types/factories/@superfluid-finance/ethereum-contracts/contracts/index.ts +4 -0
- package/typechain-types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/agreements/IConstantFlowAgreementV1__factory.ts +986 -0
- package/typechain-types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/agreements/IInstantDistributionAgreementV1__factory.ts +1015 -0
- package/typechain-types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/agreements/index.ts +5 -0
- package/typechain-types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/index.ts +6 -0
- package/typechain-types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/IConstantInflowNFT__factory.ts +551 -0
- package/typechain-types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/IConstantOutflowNFT__factory.ts +614 -0
- package/typechain-types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/IFlowNFTBase__factory.ts +515 -0
- package/typechain-types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperAgreement__factory.ts +78 -0
- package/typechain-types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperApp__factory.ts +275 -0
- package/typechain-types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperTokenFactory__factory.ts +276 -0
- package/typechain-types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperToken__factory.ts +1839 -0
- package/typechain-types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperfluidGovernance__factory.ts +264 -0
- package/typechain-types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperfluidToken__factory.ts +697 -0
- package/typechain-types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/ISuperfluid__factory.ts +1151 -0
- package/typechain-types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/superfluid/index.ts +13 -0
- package/typechain-types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/tokens/ERC20WithTokenInfo__factory.ts +248 -0
- package/typechain-types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/tokens/TokenInfo__factory.ts +65 -0
- package/typechain-types/factories/@superfluid-finance/ethereum-contracts/contracts/interfaces/tokens/index.ts +5 -0
- package/typechain-types/factories/@superfluid-finance/ethereum-contracts/index.ts +4 -0
- package/typechain-types/factories/@superfluid-finance/index.ts +4 -0
- package/typechain-types/factories/@uniswap/index.ts +5 -0
- package/typechain-types/factories/@uniswap/v3-core/contracts/index.ts +4 -0
- package/typechain-types/factories/@uniswap/v3-core/contracts/interfaces/callback/IUniswapV3SwapCallback__factory.ts +53 -0
- package/typechain-types/factories/@uniswap/v3-core/contracts/interfaces/callback/index.ts +4 -0
- package/typechain-types/factories/@uniswap/v3-core/contracts/interfaces/index.ts +4 -0
- package/typechain-types/factories/@uniswap/v3-core/index.ts +4 -0
- package/typechain-types/factories/@uniswap/v3-periphery/contracts/index.ts +4 -0
- package/typechain-types/factories/@uniswap/v3-periphery/contracts/interfaces/ISwapRouter__factory.ts +263 -0
- package/typechain-types/factories/@uniswap/v3-periphery/contracts/interfaces/index.ts +4 -0
- package/typechain-types/factories/@uniswap/v3-periphery/index.ts +4 -0
- package/typechain-types/factories/contracts/DirectPayments/DirectPaymentsFactory__factory.ts +1 -1
- package/typechain-types/factories/contracts/DirectPayments/DirectPaymentsPool.sol/DirectPaymentsPool__factory.ts +581 -3
- package/typechain-types/factories/contracts/GoodCollective/GoodCollectiveSuperApp__factory.ts +584 -0
- package/typechain-types/factories/contracts/GoodCollective/SuperAppBaseFlow__factory.ts +335 -0
- package/typechain-types/factories/contracts/GoodCollective/index.ts +5 -0
- package/typechain-types/factories/contracts/index.ts +2 -1
- package/typechain-types/factories/contracts/utils/SwapRouterMock__factory.ts +183 -0
- package/typechain-types/factories/contracts/utils/index.ts +4 -0
- package/typechain-types/factories/index.ts +3 -0
- package/typechain-types/hardhat.d.ts +445 -4
- package/typechain-types/index.ts +106 -4
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import type {
|
|
5
|
+
BaseContract,
|
|
6
|
+
BigNumber,
|
|
7
|
+
BytesLike,
|
|
8
|
+
CallOverrides,
|
|
9
|
+
ContractTransaction,
|
|
10
|
+
Overrides,
|
|
11
|
+
PopulatedTransaction,
|
|
12
|
+
Signer,
|
|
13
|
+
utils,
|
|
14
|
+
} from "ethers";
|
|
15
|
+
import type { FunctionFragment, Result } from "@ethersproject/abi";
|
|
16
|
+
import type { Listener, Provider } from "@ethersproject/providers";
|
|
17
|
+
import type {
|
|
18
|
+
TypedEventFilter,
|
|
19
|
+
TypedEvent,
|
|
20
|
+
TypedListener,
|
|
21
|
+
OnEvent,
|
|
22
|
+
PromiseOrValue,
|
|
23
|
+
} from "../../../../common";
|
|
24
|
+
|
|
25
|
+
export interface IFirstClaimPoolInterface extends utils.Interface {
|
|
26
|
+
functions: {
|
|
27
|
+
"awardUser(address)": FunctionFragment;
|
|
28
|
+
"claimAmount()": FunctionFragment;
|
|
29
|
+
"end()": FunctionFragment;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
getFunction(
|
|
33
|
+
nameOrSignatureOrTopic: "awardUser" | "claimAmount" | "end"
|
|
34
|
+
): FunctionFragment;
|
|
35
|
+
|
|
36
|
+
encodeFunctionData(
|
|
37
|
+
functionFragment: "awardUser",
|
|
38
|
+
values: [PromiseOrValue<string>]
|
|
39
|
+
): string;
|
|
40
|
+
encodeFunctionData(
|
|
41
|
+
functionFragment: "claimAmount",
|
|
42
|
+
values?: undefined
|
|
43
|
+
): string;
|
|
44
|
+
encodeFunctionData(functionFragment: "end", values?: undefined): string;
|
|
45
|
+
|
|
46
|
+
decodeFunctionResult(functionFragment: "awardUser", data: BytesLike): Result;
|
|
47
|
+
decodeFunctionResult(
|
|
48
|
+
functionFragment: "claimAmount",
|
|
49
|
+
data: BytesLike
|
|
50
|
+
): Result;
|
|
51
|
+
decodeFunctionResult(functionFragment: "end", data: BytesLike): Result;
|
|
52
|
+
|
|
53
|
+
events: {};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export interface IFirstClaimPool extends BaseContract {
|
|
57
|
+
connect(signerOrProvider: Signer | Provider | string): this;
|
|
58
|
+
attach(addressOrName: string): this;
|
|
59
|
+
deployed(): Promise<this>;
|
|
60
|
+
|
|
61
|
+
interface: IFirstClaimPoolInterface;
|
|
62
|
+
|
|
63
|
+
queryFilter<TEvent extends TypedEvent>(
|
|
64
|
+
event: TypedEventFilter<TEvent>,
|
|
65
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
66
|
+
toBlock?: string | number | undefined
|
|
67
|
+
): Promise<Array<TEvent>>;
|
|
68
|
+
|
|
69
|
+
listeners<TEvent extends TypedEvent>(
|
|
70
|
+
eventFilter?: TypedEventFilter<TEvent>
|
|
71
|
+
): Array<TypedListener<TEvent>>;
|
|
72
|
+
listeners(eventName?: string): Array<Listener>;
|
|
73
|
+
removeAllListeners<TEvent extends TypedEvent>(
|
|
74
|
+
eventFilter: TypedEventFilter<TEvent>
|
|
75
|
+
): this;
|
|
76
|
+
removeAllListeners(eventName?: string): this;
|
|
77
|
+
off: OnEvent<this>;
|
|
78
|
+
on: OnEvent<this>;
|
|
79
|
+
once: OnEvent<this>;
|
|
80
|
+
removeListener: OnEvent<this>;
|
|
81
|
+
|
|
82
|
+
functions: {
|
|
83
|
+
awardUser(
|
|
84
|
+
user: PromiseOrValue<string>,
|
|
85
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
86
|
+
): Promise<ContractTransaction>;
|
|
87
|
+
|
|
88
|
+
claimAmount(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
89
|
+
|
|
90
|
+
end(
|
|
91
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
92
|
+
): Promise<ContractTransaction>;
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
awardUser(
|
|
96
|
+
user: PromiseOrValue<string>,
|
|
97
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
98
|
+
): Promise<ContractTransaction>;
|
|
99
|
+
|
|
100
|
+
claimAmount(overrides?: CallOverrides): Promise<BigNumber>;
|
|
101
|
+
|
|
102
|
+
end(
|
|
103
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
104
|
+
): Promise<ContractTransaction>;
|
|
105
|
+
|
|
106
|
+
callStatic: {
|
|
107
|
+
awardUser(
|
|
108
|
+
user: PromiseOrValue<string>,
|
|
109
|
+
overrides?: CallOverrides
|
|
110
|
+
): Promise<BigNumber>;
|
|
111
|
+
|
|
112
|
+
claimAmount(overrides?: CallOverrides): Promise<BigNumber>;
|
|
113
|
+
|
|
114
|
+
end(overrides?: CallOverrides): Promise<void>;
|
|
115
|
+
};
|
|
116
|
+
|
|
117
|
+
filters: {};
|
|
118
|
+
|
|
119
|
+
estimateGas: {
|
|
120
|
+
awardUser(
|
|
121
|
+
user: PromiseOrValue<string>,
|
|
122
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
123
|
+
): Promise<BigNumber>;
|
|
124
|
+
|
|
125
|
+
claimAmount(overrides?: CallOverrides): Promise<BigNumber>;
|
|
126
|
+
|
|
127
|
+
end(
|
|
128
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
129
|
+
): Promise<BigNumber>;
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
populateTransaction: {
|
|
133
|
+
awardUser(
|
|
134
|
+
user: PromiseOrValue<string>,
|
|
135
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
136
|
+
): Promise<PopulatedTransaction>;
|
|
137
|
+
|
|
138
|
+
claimAmount(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
139
|
+
|
|
140
|
+
end(
|
|
141
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
142
|
+
): Promise<PopulatedTransaction>;
|
|
143
|
+
};
|
|
144
|
+
}
|