@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
package/typechain-types/contracts/DirectPayments/DirectPaymentsPool.sol/DirectPaymentsPool.ts
CHANGED
|
@@ -113,33 +113,73 @@ export declare namespace ProvableNFT {
|
|
|
113
113
|
};
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
+
export declare namespace GoodCollectiveSuperApp {
|
|
117
|
+
export type SwapDataStruct = {
|
|
118
|
+
swapFrom: PromiseOrValue<string>;
|
|
119
|
+
amount: PromiseOrValue<BigNumberish>;
|
|
120
|
+
minReturn: PromiseOrValue<BigNumberish>;
|
|
121
|
+
timestamp: PromiseOrValue<BigNumberish>;
|
|
122
|
+
path: PromiseOrValue<BytesLike>;
|
|
123
|
+
};
|
|
124
|
+
|
|
125
|
+
export type SwapDataStructOutput = [
|
|
126
|
+
string,
|
|
127
|
+
BigNumber,
|
|
128
|
+
BigNumber,
|
|
129
|
+
BigNumber,
|
|
130
|
+
string
|
|
131
|
+
] & {
|
|
132
|
+
swapFrom: string;
|
|
133
|
+
amount: BigNumber;
|
|
134
|
+
minReturn: BigNumber;
|
|
135
|
+
timestamp: BigNumber;
|
|
136
|
+
path: string;
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
|
|
116
140
|
export interface DirectPaymentsPoolInterface extends utils.Interface {
|
|
117
141
|
functions: {
|
|
142
|
+
"CFAV1_TYPE()": FunctionFragment;
|
|
118
143
|
"DEFAULT_ADMIN_ROLE()": FunctionFragment;
|
|
119
144
|
"MANAGER_ROLE()": FunctionFragment;
|
|
120
145
|
"MINTER_ROLE()": FunctionFragment;
|
|
121
146
|
"addMember(address,bytes)": FunctionFragment;
|
|
147
|
+
"afterAgreementCreated(address,address,bytes32,bytes,bytes,bytes)": FunctionFragment;
|
|
148
|
+
"afterAgreementTerminated(address,address,bytes32,bytes,bytes,bytes)": FunctionFragment;
|
|
149
|
+
"afterAgreementUpdated(address,address,bytes32,bytes,bytes,bytes)": FunctionFragment;
|
|
150
|
+
"beforeAgreementCreated(address,address,bytes32,bytes,bytes)": FunctionFragment;
|
|
151
|
+
"beforeAgreementTerminated(address,address,bytes32,bytes,bytes)": FunctionFragment;
|
|
152
|
+
"beforeAgreementUpdated(address,address,bytes32,bytes,bytes)": FunctionFragment;
|
|
122
153
|
"claim(uint256)": FunctionFragment;
|
|
123
154
|
"claim(uint256,(uint32,uint16,string,(uint16,uint32,uint256,string,address[])[]))": FunctionFragment;
|
|
124
155
|
"claimedNfts(uint256)": FunctionFragment;
|
|
125
156
|
"createdBy()": FunctionFragment;
|
|
157
|
+
"getRealtimeContribution(address)": FunctionFragment;
|
|
126
158
|
"getRoleAdmin(bytes32)": FunctionFragment;
|
|
127
159
|
"globalLimits()": FunctionFragment;
|
|
128
160
|
"grantRole(bytes32,address)": FunctionFragment;
|
|
161
|
+
"handleSwap((address,uint256,uint256,uint256,bytes),address,bytes)": FunctionFragment;
|
|
129
162
|
"hasRole(bytes32,address)": FunctionFragment;
|
|
163
|
+
"host()": FunctionFragment;
|
|
130
164
|
"initialize(address,(uint32,uint16[],uint128[],address,address,address,address),(uint256,uint256,uint256))": FunctionFragment;
|
|
165
|
+
"isAcceptedSuperToken(address)": FunctionFragment;
|
|
131
166
|
"limits()": FunctionFragment;
|
|
132
167
|
"memberLimits(address)": FunctionFragment;
|
|
133
168
|
"members(address)": FunctionFragment;
|
|
134
169
|
"mintNFT(address,(uint32,uint16,string,(uint16,uint32,uint256,string,address[])[]),bool)": FunctionFragment;
|
|
135
170
|
"nft()": FunctionFragment;
|
|
136
171
|
"onERC721Received(address,address,uint256,bytes)": FunctionFragment;
|
|
172
|
+
"onTokenTransfer(address,uint256,bytes)": FunctionFragment;
|
|
137
173
|
"proxiableUUID()": FunctionFragment;
|
|
138
174
|
"removeMember(address)": FunctionFragment;
|
|
139
175
|
"renounceRole(bytes32,address)": FunctionFragment;
|
|
140
176
|
"revokeRole(bytes32,address)": FunctionFragment;
|
|
141
177
|
"settings()": FunctionFragment;
|
|
178
|
+
"superToken()": FunctionFragment;
|
|
179
|
+
"support(address,uint256,bytes)": FunctionFragment;
|
|
180
|
+
"supporters(address)": FunctionFragment;
|
|
142
181
|
"supportsInterface(bytes4)": FunctionFragment;
|
|
182
|
+
"swapRouter()": FunctionFragment;
|
|
143
183
|
"upgradeTo(address)": FunctionFragment;
|
|
144
184
|
"upgradeToAndCall(address,bytes)": FunctionFragment;
|
|
145
185
|
"upgradeToLatest(bytes)": FunctionFragment;
|
|
@@ -147,36 +187,56 @@ export interface DirectPaymentsPoolInterface extends utils.Interface {
|
|
|
147
187
|
|
|
148
188
|
getFunction(
|
|
149
189
|
nameOrSignatureOrTopic:
|
|
190
|
+
| "CFAV1_TYPE"
|
|
150
191
|
| "DEFAULT_ADMIN_ROLE"
|
|
151
192
|
| "MANAGER_ROLE"
|
|
152
193
|
| "MINTER_ROLE"
|
|
153
194
|
| "addMember"
|
|
195
|
+
| "afterAgreementCreated"
|
|
196
|
+
| "afterAgreementTerminated"
|
|
197
|
+
| "afterAgreementUpdated"
|
|
198
|
+
| "beforeAgreementCreated"
|
|
199
|
+
| "beforeAgreementTerminated"
|
|
200
|
+
| "beforeAgreementUpdated"
|
|
154
201
|
| "claim(uint256)"
|
|
155
202
|
| "claim(uint256,(uint32,uint16,string,(uint16,uint32,uint256,string,address[])[]))"
|
|
156
203
|
| "claimedNfts"
|
|
157
204
|
| "createdBy"
|
|
205
|
+
| "getRealtimeContribution"
|
|
158
206
|
| "getRoleAdmin"
|
|
159
207
|
| "globalLimits"
|
|
160
208
|
| "grantRole"
|
|
209
|
+
| "handleSwap"
|
|
161
210
|
| "hasRole"
|
|
211
|
+
| "host"
|
|
162
212
|
| "initialize"
|
|
213
|
+
| "isAcceptedSuperToken"
|
|
163
214
|
| "limits"
|
|
164
215
|
| "memberLimits"
|
|
165
216
|
| "members"
|
|
166
217
|
| "mintNFT"
|
|
167
218
|
| "nft"
|
|
168
219
|
| "onERC721Received"
|
|
220
|
+
| "onTokenTransfer"
|
|
169
221
|
| "proxiableUUID"
|
|
170
222
|
| "removeMember"
|
|
171
223
|
| "renounceRole"
|
|
172
224
|
| "revokeRole"
|
|
173
225
|
| "settings"
|
|
226
|
+
| "superToken"
|
|
227
|
+
| "support"
|
|
228
|
+
| "supporters"
|
|
174
229
|
| "supportsInterface"
|
|
230
|
+
| "swapRouter"
|
|
175
231
|
| "upgradeTo"
|
|
176
232
|
| "upgradeToAndCall"
|
|
177
233
|
| "upgradeToLatest"
|
|
178
234
|
): FunctionFragment;
|
|
179
235
|
|
|
236
|
+
encodeFunctionData(
|
|
237
|
+
functionFragment: "CFAV1_TYPE",
|
|
238
|
+
values?: undefined
|
|
239
|
+
): string;
|
|
180
240
|
encodeFunctionData(
|
|
181
241
|
functionFragment: "DEFAULT_ADMIN_ROLE",
|
|
182
242
|
values?: undefined
|
|
@@ -193,6 +253,69 @@ export interface DirectPaymentsPoolInterface extends utils.Interface {
|
|
|
193
253
|
functionFragment: "addMember",
|
|
194
254
|
values: [PromiseOrValue<string>, PromiseOrValue<BytesLike>]
|
|
195
255
|
): string;
|
|
256
|
+
encodeFunctionData(
|
|
257
|
+
functionFragment: "afterAgreementCreated",
|
|
258
|
+
values: [
|
|
259
|
+
PromiseOrValue<string>,
|
|
260
|
+
PromiseOrValue<string>,
|
|
261
|
+
PromiseOrValue<BytesLike>,
|
|
262
|
+
PromiseOrValue<BytesLike>,
|
|
263
|
+
PromiseOrValue<BytesLike>,
|
|
264
|
+
PromiseOrValue<BytesLike>
|
|
265
|
+
]
|
|
266
|
+
): string;
|
|
267
|
+
encodeFunctionData(
|
|
268
|
+
functionFragment: "afterAgreementTerminated",
|
|
269
|
+
values: [
|
|
270
|
+
PromiseOrValue<string>,
|
|
271
|
+
PromiseOrValue<string>,
|
|
272
|
+
PromiseOrValue<BytesLike>,
|
|
273
|
+
PromiseOrValue<BytesLike>,
|
|
274
|
+
PromiseOrValue<BytesLike>,
|
|
275
|
+
PromiseOrValue<BytesLike>
|
|
276
|
+
]
|
|
277
|
+
): string;
|
|
278
|
+
encodeFunctionData(
|
|
279
|
+
functionFragment: "afterAgreementUpdated",
|
|
280
|
+
values: [
|
|
281
|
+
PromiseOrValue<string>,
|
|
282
|
+
PromiseOrValue<string>,
|
|
283
|
+
PromiseOrValue<BytesLike>,
|
|
284
|
+
PromiseOrValue<BytesLike>,
|
|
285
|
+
PromiseOrValue<BytesLike>,
|
|
286
|
+
PromiseOrValue<BytesLike>
|
|
287
|
+
]
|
|
288
|
+
): string;
|
|
289
|
+
encodeFunctionData(
|
|
290
|
+
functionFragment: "beforeAgreementCreated",
|
|
291
|
+
values: [
|
|
292
|
+
PromiseOrValue<string>,
|
|
293
|
+
PromiseOrValue<string>,
|
|
294
|
+
PromiseOrValue<BytesLike>,
|
|
295
|
+
PromiseOrValue<BytesLike>,
|
|
296
|
+
PromiseOrValue<BytesLike>
|
|
297
|
+
]
|
|
298
|
+
): string;
|
|
299
|
+
encodeFunctionData(
|
|
300
|
+
functionFragment: "beforeAgreementTerminated",
|
|
301
|
+
values: [
|
|
302
|
+
PromiseOrValue<string>,
|
|
303
|
+
PromiseOrValue<string>,
|
|
304
|
+
PromiseOrValue<BytesLike>,
|
|
305
|
+
PromiseOrValue<BytesLike>,
|
|
306
|
+
PromiseOrValue<BytesLike>
|
|
307
|
+
]
|
|
308
|
+
): string;
|
|
309
|
+
encodeFunctionData(
|
|
310
|
+
functionFragment: "beforeAgreementUpdated",
|
|
311
|
+
values: [
|
|
312
|
+
PromiseOrValue<string>,
|
|
313
|
+
PromiseOrValue<string>,
|
|
314
|
+
PromiseOrValue<BytesLike>,
|
|
315
|
+
PromiseOrValue<BytesLike>,
|
|
316
|
+
PromiseOrValue<BytesLike>
|
|
317
|
+
]
|
|
318
|
+
): string;
|
|
196
319
|
encodeFunctionData(
|
|
197
320
|
functionFragment: "claim(uint256)",
|
|
198
321
|
values: [PromiseOrValue<BigNumberish>]
|
|
@@ -206,6 +329,10 @@ export interface DirectPaymentsPoolInterface extends utils.Interface {
|
|
|
206
329
|
values: [PromiseOrValue<BigNumberish>]
|
|
207
330
|
): string;
|
|
208
331
|
encodeFunctionData(functionFragment: "createdBy", values?: undefined): string;
|
|
332
|
+
encodeFunctionData(
|
|
333
|
+
functionFragment: "getRealtimeContribution",
|
|
334
|
+
values: [PromiseOrValue<string>]
|
|
335
|
+
): string;
|
|
209
336
|
encodeFunctionData(
|
|
210
337
|
functionFragment: "getRoleAdmin",
|
|
211
338
|
values: [PromiseOrValue<BytesLike>]
|
|
@@ -218,10 +345,19 @@ export interface DirectPaymentsPoolInterface extends utils.Interface {
|
|
|
218
345
|
functionFragment: "grantRole",
|
|
219
346
|
values: [PromiseOrValue<BytesLike>, PromiseOrValue<string>]
|
|
220
347
|
): string;
|
|
348
|
+
encodeFunctionData(
|
|
349
|
+
functionFragment: "handleSwap",
|
|
350
|
+
values: [
|
|
351
|
+
GoodCollectiveSuperApp.SwapDataStruct,
|
|
352
|
+
PromiseOrValue<string>,
|
|
353
|
+
PromiseOrValue<BytesLike>
|
|
354
|
+
]
|
|
355
|
+
): string;
|
|
221
356
|
encodeFunctionData(
|
|
222
357
|
functionFragment: "hasRole",
|
|
223
358
|
values: [PromiseOrValue<BytesLike>, PromiseOrValue<string>]
|
|
224
359
|
): string;
|
|
360
|
+
encodeFunctionData(functionFragment: "host", values?: undefined): string;
|
|
225
361
|
encodeFunctionData(
|
|
226
362
|
functionFragment: "initialize",
|
|
227
363
|
values: [
|
|
@@ -230,6 +366,10 @@ export interface DirectPaymentsPoolInterface extends utils.Interface {
|
|
|
230
366
|
DirectPaymentsPool.SafetyLimitsStruct
|
|
231
367
|
]
|
|
232
368
|
): string;
|
|
369
|
+
encodeFunctionData(
|
|
370
|
+
functionFragment: "isAcceptedSuperToken",
|
|
371
|
+
values: [PromiseOrValue<string>]
|
|
372
|
+
): string;
|
|
233
373
|
encodeFunctionData(functionFragment: "limits", values?: undefined): string;
|
|
234
374
|
encodeFunctionData(
|
|
235
375
|
functionFragment: "memberLimits",
|
|
@@ -257,6 +397,14 @@ export interface DirectPaymentsPoolInterface extends utils.Interface {
|
|
|
257
397
|
PromiseOrValue<BytesLike>
|
|
258
398
|
]
|
|
259
399
|
): string;
|
|
400
|
+
encodeFunctionData(
|
|
401
|
+
functionFragment: "onTokenTransfer",
|
|
402
|
+
values: [
|
|
403
|
+
PromiseOrValue<string>,
|
|
404
|
+
PromiseOrValue<BigNumberish>,
|
|
405
|
+
PromiseOrValue<BytesLike>
|
|
406
|
+
]
|
|
407
|
+
): string;
|
|
260
408
|
encodeFunctionData(
|
|
261
409
|
functionFragment: "proxiableUUID",
|
|
262
410
|
values?: undefined
|
|
@@ -274,10 +422,30 @@ export interface DirectPaymentsPoolInterface extends utils.Interface {
|
|
|
274
422
|
values: [PromiseOrValue<BytesLike>, PromiseOrValue<string>]
|
|
275
423
|
): string;
|
|
276
424
|
encodeFunctionData(functionFragment: "settings", values?: undefined): string;
|
|
425
|
+
encodeFunctionData(
|
|
426
|
+
functionFragment: "superToken",
|
|
427
|
+
values?: undefined
|
|
428
|
+
): string;
|
|
429
|
+
encodeFunctionData(
|
|
430
|
+
functionFragment: "support",
|
|
431
|
+
values: [
|
|
432
|
+
PromiseOrValue<string>,
|
|
433
|
+
PromiseOrValue<BigNumberish>,
|
|
434
|
+
PromiseOrValue<BytesLike>
|
|
435
|
+
]
|
|
436
|
+
): string;
|
|
437
|
+
encodeFunctionData(
|
|
438
|
+
functionFragment: "supporters",
|
|
439
|
+
values: [PromiseOrValue<string>]
|
|
440
|
+
): string;
|
|
277
441
|
encodeFunctionData(
|
|
278
442
|
functionFragment: "supportsInterface",
|
|
279
443
|
values: [PromiseOrValue<BytesLike>]
|
|
280
444
|
): string;
|
|
445
|
+
encodeFunctionData(
|
|
446
|
+
functionFragment: "swapRouter",
|
|
447
|
+
values?: undefined
|
|
448
|
+
): string;
|
|
281
449
|
encodeFunctionData(
|
|
282
450
|
functionFragment: "upgradeTo",
|
|
283
451
|
values: [PromiseOrValue<string>]
|
|
@@ -291,6 +459,7 @@ export interface DirectPaymentsPoolInterface extends utils.Interface {
|
|
|
291
459
|
values: [PromiseOrValue<BytesLike>]
|
|
292
460
|
): string;
|
|
293
461
|
|
|
462
|
+
decodeFunctionResult(functionFragment: "CFAV1_TYPE", data: BytesLike): Result;
|
|
294
463
|
decodeFunctionResult(
|
|
295
464
|
functionFragment: "DEFAULT_ADMIN_ROLE",
|
|
296
465
|
data: BytesLike
|
|
@@ -304,6 +473,30 @@ export interface DirectPaymentsPoolInterface extends utils.Interface {
|
|
|
304
473
|
data: BytesLike
|
|
305
474
|
): Result;
|
|
306
475
|
decodeFunctionResult(functionFragment: "addMember", data: BytesLike): Result;
|
|
476
|
+
decodeFunctionResult(
|
|
477
|
+
functionFragment: "afterAgreementCreated",
|
|
478
|
+
data: BytesLike
|
|
479
|
+
): Result;
|
|
480
|
+
decodeFunctionResult(
|
|
481
|
+
functionFragment: "afterAgreementTerminated",
|
|
482
|
+
data: BytesLike
|
|
483
|
+
): Result;
|
|
484
|
+
decodeFunctionResult(
|
|
485
|
+
functionFragment: "afterAgreementUpdated",
|
|
486
|
+
data: BytesLike
|
|
487
|
+
): Result;
|
|
488
|
+
decodeFunctionResult(
|
|
489
|
+
functionFragment: "beforeAgreementCreated",
|
|
490
|
+
data: BytesLike
|
|
491
|
+
): Result;
|
|
492
|
+
decodeFunctionResult(
|
|
493
|
+
functionFragment: "beforeAgreementTerminated",
|
|
494
|
+
data: BytesLike
|
|
495
|
+
): Result;
|
|
496
|
+
decodeFunctionResult(
|
|
497
|
+
functionFragment: "beforeAgreementUpdated",
|
|
498
|
+
data: BytesLike
|
|
499
|
+
): Result;
|
|
307
500
|
decodeFunctionResult(
|
|
308
501
|
functionFragment: "claim(uint256)",
|
|
309
502
|
data: BytesLike
|
|
@@ -317,6 +510,10 @@ export interface DirectPaymentsPoolInterface extends utils.Interface {
|
|
|
317
510
|
data: BytesLike
|
|
318
511
|
): Result;
|
|
319
512
|
decodeFunctionResult(functionFragment: "createdBy", data: BytesLike): Result;
|
|
513
|
+
decodeFunctionResult(
|
|
514
|
+
functionFragment: "getRealtimeContribution",
|
|
515
|
+
data: BytesLike
|
|
516
|
+
): Result;
|
|
320
517
|
decodeFunctionResult(
|
|
321
518
|
functionFragment: "getRoleAdmin",
|
|
322
519
|
data: BytesLike
|
|
@@ -326,8 +523,14 @@ export interface DirectPaymentsPoolInterface extends utils.Interface {
|
|
|
326
523
|
data: BytesLike
|
|
327
524
|
): Result;
|
|
328
525
|
decodeFunctionResult(functionFragment: "grantRole", data: BytesLike): Result;
|
|
526
|
+
decodeFunctionResult(functionFragment: "handleSwap", data: BytesLike): Result;
|
|
329
527
|
decodeFunctionResult(functionFragment: "hasRole", data: BytesLike): Result;
|
|
528
|
+
decodeFunctionResult(functionFragment: "host", data: BytesLike): Result;
|
|
330
529
|
decodeFunctionResult(functionFragment: "initialize", data: BytesLike): Result;
|
|
530
|
+
decodeFunctionResult(
|
|
531
|
+
functionFragment: "isAcceptedSuperToken",
|
|
532
|
+
data: BytesLike
|
|
533
|
+
): Result;
|
|
331
534
|
decodeFunctionResult(functionFragment: "limits", data: BytesLike): Result;
|
|
332
535
|
decodeFunctionResult(
|
|
333
536
|
functionFragment: "memberLimits",
|
|
@@ -340,6 +543,10 @@ export interface DirectPaymentsPoolInterface extends utils.Interface {
|
|
|
340
543
|
functionFragment: "onERC721Received",
|
|
341
544
|
data: BytesLike
|
|
342
545
|
): Result;
|
|
546
|
+
decodeFunctionResult(
|
|
547
|
+
functionFragment: "onTokenTransfer",
|
|
548
|
+
data: BytesLike
|
|
549
|
+
): Result;
|
|
343
550
|
decodeFunctionResult(
|
|
344
551
|
functionFragment: "proxiableUUID",
|
|
345
552
|
data: BytesLike
|
|
@@ -354,10 +561,14 @@ export interface DirectPaymentsPoolInterface extends utils.Interface {
|
|
|
354
561
|
): Result;
|
|
355
562
|
decodeFunctionResult(functionFragment: "revokeRole", data: BytesLike): Result;
|
|
356
563
|
decodeFunctionResult(functionFragment: "settings", data: BytesLike): Result;
|
|
564
|
+
decodeFunctionResult(functionFragment: "superToken", data: BytesLike): Result;
|
|
565
|
+
decodeFunctionResult(functionFragment: "support", data: BytesLike): Result;
|
|
566
|
+
decodeFunctionResult(functionFragment: "supporters", data: BytesLike): Result;
|
|
357
567
|
decodeFunctionResult(
|
|
358
568
|
functionFragment: "supportsInterface",
|
|
359
569
|
data: BytesLike
|
|
360
570
|
): Result;
|
|
571
|
+
decodeFunctionResult(functionFragment: "swapRouter", data: BytesLike): Result;
|
|
361
572
|
decodeFunctionResult(functionFragment: "upgradeTo", data: BytesLike): Result;
|
|
362
573
|
decodeFunctionResult(
|
|
363
574
|
functionFragment: "upgradeToAndCall",
|
|
@@ -380,6 +591,7 @@ export interface DirectPaymentsPoolInterface extends utils.Interface {
|
|
|
380
591
|
"RoleAdminChanged(bytes32,bytes32,bytes32)": EventFragment;
|
|
381
592
|
"RoleGranted(bytes32,address,address)": EventFragment;
|
|
382
593
|
"RoleRevoked(bytes32,address,address)": EventFragment;
|
|
594
|
+
"SupporterUpdated(address,uint256,int96,uint256)": EventFragment;
|
|
383
595
|
"Upgraded(address)": EventFragment;
|
|
384
596
|
};
|
|
385
597
|
|
|
@@ -394,6 +606,7 @@ export interface DirectPaymentsPoolInterface extends utils.Interface {
|
|
|
394
606
|
getEvent(nameOrSignatureOrTopic: "RoleAdminChanged"): EventFragment;
|
|
395
607
|
getEvent(nameOrSignatureOrTopic: "RoleGranted"): EventFragment;
|
|
396
608
|
getEvent(nameOrSignatureOrTopic: "RoleRevoked"): EventFragment;
|
|
609
|
+
getEvent(nameOrSignatureOrTopic: "SupporterUpdated"): EventFragment;
|
|
397
610
|
getEvent(nameOrSignatureOrTopic: "Upgraded"): EventFragment;
|
|
398
611
|
}
|
|
399
612
|
|
|
@@ -509,6 +722,20 @@ export type RoleRevokedEvent = TypedEvent<
|
|
|
509
722
|
|
|
510
723
|
export type RoleRevokedEventFilter = TypedEventFilter<RoleRevokedEvent>;
|
|
511
724
|
|
|
725
|
+
export interface SupporterUpdatedEventObject {
|
|
726
|
+
supporter: string;
|
|
727
|
+
contribution: BigNumber;
|
|
728
|
+
flowRate: BigNumber;
|
|
729
|
+
lastUpdated: BigNumber;
|
|
730
|
+
}
|
|
731
|
+
export type SupporterUpdatedEvent = TypedEvent<
|
|
732
|
+
[string, BigNumber, BigNumber, BigNumber],
|
|
733
|
+
SupporterUpdatedEventObject
|
|
734
|
+
>;
|
|
735
|
+
|
|
736
|
+
export type SupporterUpdatedEventFilter =
|
|
737
|
+
TypedEventFilter<SupporterUpdatedEvent>;
|
|
738
|
+
|
|
512
739
|
export interface UpgradedEventObject {
|
|
513
740
|
implementation: string;
|
|
514
741
|
}
|
|
@@ -543,6 +770,8 @@ export interface DirectPaymentsPool extends BaseContract {
|
|
|
543
770
|
removeListener: OnEvent<this>;
|
|
544
771
|
|
|
545
772
|
functions: {
|
|
773
|
+
CFAV1_TYPE(overrides?: CallOverrides): Promise<[string]>;
|
|
774
|
+
|
|
546
775
|
DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise<[string]>;
|
|
547
776
|
|
|
548
777
|
MANAGER_ROLE(overrides?: CallOverrides): Promise<[string]>;
|
|
@@ -555,6 +784,63 @@ export interface DirectPaymentsPool extends BaseContract {
|
|
|
555
784
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
556
785
|
): Promise<ContractTransaction>;
|
|
557
786
|
|
|
787
|
+
afterAgreementCreated(
|
|
788
|
+
superToken: PromiseOrValue<string>,
|
|
789
|
+
arg1: PromiseOrValue<string>,
|
|
790
|
+
arg2: PromiseOrValue<BytesLike>,
|
|
791
|
+
agreementData: PromiseOrValue<BytesLike>,
|
|
792
|
+
arg4: PromiseOrValue<BytesLike>,
|
|
793
|
+
ctx: PromiseOrValue<BytesLike>,
|
|
794
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
795
|
+
): Promise<ContractTransaction>;
|
|
796
|
+
|
|
797
|
+
afterAgreementTerminated(
|
|
798
|
+
superToken: PromiseOrValue<string>,
|
|
799
|
+
agreementClass: PromiseOrValue<string>,
|
|
800
|
+
arg2: PromiseOrValue<BytesLike>,
|
|
801
|
+
agreementData: PromiseOrValue<BytesLike>,
|
|
802
|
+
cbdata: PromiseOrValue<BytesLike>,
|
|
803
|
+
ctx: PromiseOrValue<BytesLike>,
|
|
804
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
805
|
+
): Promise<ContractTransaction>;
|
|
806
|
+
|
|
807
|
+
afterAgreementUpdated(
|
|
808
|
+
superToken: PromiseOrValue<string>,
|
|
809
|
+
arg1: PromiseOrValue<string>,
|
|
810
|
+
arg2: PromiseOrValue<BytesLike>,
|
|
811
|
+
agreementData: PromiseOrValue<BytesLike>,
|
|
812
|
+
cbdata: PromiseOrValue<BytesLike>,
|
|
813
|
+
ctx: PromiseOrValue<BytesLike>,
|
|
814
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
815
|
+
): Promise<ContractTransaction>;
|
|
816
|
+
|
|
817
|
+
beforeAgreementCreated(
|
|
818
|
+
superToken: PromiseOrValue<string>,
|
|
819
|
+
agreementClass: PromiseOrValue<string>,
|
|
820
|
+
arg2: PromiseOrValue<BytesLike>,
|
|
821
|
+
arg3: PromiseOrValue<BytesLike>,
|
|
822
|
+
arg4: PromiseOrValue<BytesLike>,
|
|
823
|
+
overrides?: CallOverrides
|
|
824
|
+
): Promise<[string]>;
|
|
825
|
+
|
|
826
|
+
beforeAgreementTerminated(
|
|
827
|
+
superToken: PromiseOrValue<string>,
|
|
828
|
+
agreementClass: PromiseOrValue<string>,
|
|
829
|
+
arg2: PromiseOrValue<BytesLike>,
|
|
830
|
+
agreementData: PromiseOrValue<BytesLike>,
|
|
831
|
+
arg4: PromiseOrValue<BytesLike>,
|
|
832
|
+
overrides?: CallOverrides
|
|
833
|
+
): Promise<[string]>;
|
|
834
|
+
|
|
835
|
+
beforeAgreementUpdated(
|
|
836
|
+
superToken: PromiseOrValue<string>,
|
|
837
|
+
agreementClass: PromiseOrValue<string>,
|
|
838
|
+
arg2: PromiseOrValue<BytesLike>,
|
|
839
|
+
agreementData: PromiseOrValue<BytesLike>,
|
|
840
|
+
arg4: PromiseOrValue<BytesLike>,
|
|
841
|
+
overrides?: CallOverrides
|
|
842
|
+
): Promise<[string]>;
|
|
843
|
+
|
|
558
844
|
"claim(uint256)"(
|
|
559
845
|
_nftId: PromiseOrValue<BigNumberish>,
|
|
560
846
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
@@ -573,6 +859,11 @@ export interface DirectPaymentsPool extends BaseContract {
|
|
|
573
859
|
|
|
574
860
|
createdBy(overrides?: CallOverrides): Promise<[string]>;
|
|
575
861
|
|
|
862
|
+
getRealtimeContribution(
|
|
863
|
+
_user: PromiseOrValue<string>,
|
|
864
|
+
overrides?: CallOverrides
|
|
865
|
+
): Promise<[BigNumber]>;
|
|
866
|
+
|
|
576
867
|
getRoleAdmin(
|
|
577
868
|
role: PromiseOrValue<BytesLike>,
|
|
578
869
|
overrides?: CallOverrides
|
|
@@ -596,12 +887,21 @@ export interface DirectPaymentsPool extends BaseContract {
|
|
|
596
887
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
597
888
|
): Promise<ContractTransaction>;
|
|
598
889
|
|
|
890
|
+
handleSwap(
|
|
891
|
+
_customData: GoodCollectiveSuperApp.SwapDataStruct,
|
|
892
|
+
_sender: PromiseOrValue<string>,
|
|
893
|
+
_ctx: PromiseOrValue<BytesLike>,
|
|
894
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
895
|
+
): Promise<ContractTransaction>;
|
|
896
|
+
|
|
599
897
|
hasRole(
|
|
600
898
|
role: PromiseOrValue<BytesLike>,
|
|
601
899
|
account: PromiseOrValue<string>,
|
|
602
900
|
overrides?: CallOverrides
|
|
603
901
|
): Promise<[boolean]>;
|
|
604
902
|
|
|
903
|
+
host(overrides?: CallOverrides): Promise<[string]>;
|
|
904
|
+
|
|
605
905
|
initialize(
|
|
606
906
|
_nft: PromiseOrValue<string>,
|
|
607
907
|
_settings: DirectPaymentsPool.PoolSettingsStruct,
|
|
@@ -609,6 +909,11 @@ export interface DirectPaymentsPool extends BaseContract {
|
|
|
609
909
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
610
910
|
): Promise<ContractTransaction>;
|
|
611
911
|
|
|
912
|
+
isAcceptedSuperToken(
|
|
913
|
+
_superToken: PromiseOrValue<string>,
|
|
914
|
+
overrides?: CallOverrides
|
|
915
|
+
): Promise<[boolean]>;
|
|
916
|
+
|
|
612
917
|
limits(
|
|
613
918
|
overrides?: CallOverrides
|
|
614
919
|
): Promise<
|
|
@@ -654,6 +959,13 @@ export interface DirectPaymentsPool extends BaseContract {
|
|
|
654
959
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
655
960
|
): Promise<ContractTransaction>;
|
|
656
961
|
|
|
962
|
+
onTokenTransfer(
|
|
963
|
+
_sender: PromiseOrValue<string>,
|
|
964
|
+
_amount: PromiseOrValue<BigNumberish>,
|
|
965
|
+
arg2: PromiseOrValue<BytesLike>,
|
|
966
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
967
|
+
): Promise<ContractTransaction>;
|
|
968
|
+
|
|
657
969
|
proxiableUUID(overrides?: CallOverrides): Promise<[string]>;
|
|
658
970
|
|
|
659
971
|
removeMember(
|
|
@@ -685,11 +997,33 @@ export interface DirectPaymentsPool extends BaseContract {
|
|
|
685
997
|
}
|
|
686
998
|
>;
|
|
687
999
|
|
|
1000
|
+
superToken(overrides?: CallOverrides): Promise<[string]>;
|
|
1001
|
+
|
|
1002
|
+
support(
|
|
1003
|
+
_sender: PromiseOrValue<string>,
|
|
1004
|
+
_amount: PromiseOrValue<BigNumberish>,
|
|
1005
|
+
_ctx: PromiseOrValue<BytesLike>,
|
|
1006
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
1007
|
+
): Promise<ContractTransaction>;
|
|
1008
|
+
|
|
1009
|
+
supporters(
|
|
1010
|
+
arg0: PromiseOrValue<string>,
|
|
1011
|
+
overrides?: CallOverrides
|
|
1012
|
+
): Promise<
|
|
1013
|
+
[BigNumber, BigNumber, BigNumber] & {
|
|
1014
|
+
contribution: BigNumber;
|
|
1015
|
+
flowRate: BigNumber;
|
|
1016
|
+
lastUpdated: BigNumber;
|
|
1017
|
+
}
|
|
1018
|
+
>;
|
|
1019
|
+
|
|
688
1020
|
supportsInterface(
|
|
689
1021
|
interfaceId: PromiseOrValue<BytesLike>,
|
|
690
1022
|
overrides?: CallOverrides
|
|
691
1023
|
): Promise<[boolean]>;
|
|
692
1024
|
|
|
1025
|
+
swapRouter(overrides?: CallOverrides): Promise<[string]>;
|
|
1026
|
+
|
|
693
1027
|
upgradeTo(
|
|
694
1028
|
newImplementation: PromiseOrValue<string>,
|
|
695
1029
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
@@ -707,6 +1041,8 @@ export interface DirectPaymentsPool extends BaseContract {
|
|
|
707
1041
|
): Promise<ContractTransaction>;
|
|
708
1042
|
};
|
|
709
1043
|
|
|
1044
|
+
CFAV1_TYPE(overrides?: CallOverrides): Promise<string>;
|
|
1045
|
+
|
|
710
1046
|
DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise<string>;
|
|
711
1047
|
|
|
712
1048
|
MANAGER_ROLE(overrides?: CallOverrides): Promise<string>;
|
|
@@ -719,6 +1055,63 @@ export interface DirectPaymentsPool extends BaseContract {
|
|
|
719
1055
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
720
1056
|
): Promise<ContractTransaction>;
|
|
721
1057
|
|
|
1058
|
+
afterAgreementCreated(
|
|
1059
|
+
superToken: PromiseOrValue<string>,
|
|
1060
|
+
arg1: PromiseOrValue<string>,
|
|
1061
|
+
arg2: PromiseOrValue<BytesLike>,
|
|
1062
|
+
agreementData: PromiseOrValue<BytesLike>,
|
|
1063
|
+
arg4: PromiseOrValue<BytesLike>,
|
|
1064
|
+
ctx: PromiseOrValue<BytesLike>,
|
|
1065
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
1066
|
+
): Promise<ContractTransaction>;
|
|
1067
|
+
|
|
1068
|
+
afterAgreementTerminated(
|
|
1069
|
+
superToken: PromiseOrValue<string>,
|
|
1070
|
+
agreementClass: PromiseOrValue<string>,
|
|
1071
|
+
arg2: PromiseOrValue<BytesLike>,
|
|
1072
|
+
agreementData: PromiseOrValue<BytesLike>,
|
|
1073
|
+
cbdata: PromiseOrValue<BytesLike>,
|
|
1074
|
+
ctx: PromiseOrValue<BytesLike>,
|
|
1075
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
1076
|
+
): Promise<ContractTransaction>;
|
|
1077
|
+
|
|
1078
|
+
afterAgreementUpdated(
|
|
1079
|
+
superToken: PromiseOrValue<string>,
|
|
1080
|
+
arg1: PromiseOrValue<string>,
|
|
1081
|
+
arg2: PromiseOrValue<BytesLike>,
|
|
1082
|
+
agreementData: PromiseOrValue<BytesLike>,
|
|
1083
|
+
cbdata: PromiseOrValue<BytesLike>,
|
|
1084
|
+
ctx: PromiseOrValue<BytesLike>,
|
|
1085
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
1086
|
+
): Promise<ContractTransaction>;
|
|
1087
|
+
|
|
1088
|
+
beforeAgreementCreated(
|
|
1089
|
+
superToken: PromiseOrValue<string>,
|
|
1090
|
+
agreementClass: PromiseOrValue<string>,
|
|
1091
|
+
arg2: PromiseOrValue<BytesLike>,
|
|
1092
|
+
arg3: PromiseOrValue<BytesLike>,
|
|
1093
|
+
arg4: PromiseOrValue<BytesLike>,
|
|
1094
|
+
overrides?: CallOverrides
|
|
1095
|
+
): Promise<string>;
|
|
1096
|
+
|
|
1097
|
+
beforeAgreementTerminated(
|
|
1098
|
+
superToken: PromiseOrValue<string>,
|
|
1099
|
+
agreementClass: PromiseOrValue<string>,
|
|
1100
|
+
arg2: PromiseOrValue<BytesLike>,
|
|
1101
|
+
agreementData: PromiseOrValue<BytesLike>,
|
|
1102
|
+
arg4: PromiseOrValue<BytesLike>,
|
|
1103
|
+
overrides?: CallOverrides
|
|
1104
|
+
): Promise<string>;
|
|
1105
|
+
|
|
1106
|
+
beforeAgreementUpdated(
|
|
1107
|
+
superToken: PromiseOrValue<string>,
|
|
1108
|
+
agreementClass: PromiseOrValue<string>,
|
|
1109
|
+
arg2: PromiseOrValue<BytesLike>,
|
|
1110
|
+
agreementData: PromiseOrValue<BytesLike>,
|
|
1111
|
+
arg4: PromiseOrValue<BytesLike>,
|
|
1112
|
+
overrides?: CallOverrides
|
|
1113
|
+
): Promise<string>;
|
|
1114
|
+
|
|
722
1115
|
"claim(uint256)"(
|
|
723
1116
|
_nftId: PromiseOrValue<BigNumberish>,
|
|
724
1117
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
@@ -737,6 +1130,11 @@ export interface DirectPaymentsPool extends BaseContract {
|
|
|
737
1130
|
|
|
738
1131
|
createdBy(overrides?: CallOverrides): Promise<string>;
|
|
739
1132
|
|
|
1133
|
+
getRealtimeContribution(
|
|
1134
|
+
_user: PromiseOrValue<string>,
|
|
1135
|
+
overrides?: CallOverrides
|
|
1136
|
+
): Promise<BigNumber>;
|
|
1137
|
+
|
|
740
1138
|
getRoleAdmin(
|
|
741
1139
|
role: PromiseOrValue<BytesLike>,
|
|
742
1140
|
overrides?: CallOverrides
|
|
@@ -760,12 +1158,21 @@ export interface DirectPaymentsPool extends BaseContract {
|
|
|
760
1158
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
761
1159
|
): Promise<ContractTransaction>;
|
|
762
1160
|
|
|
1161
|
+
handleSwap(
|
|
1162
|
+
_customData: GoodCollectiveSuperApp.SwapDataStruct,
|
|
1163
|
+
_sender: PromiseOrValue<string>,
|
|
1164
|
+
_ctx: PromiseOrValue<BytesLike>,
|
|
1165
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
1166
|
+
): Promise<ContractTransaction>;
|
|
1167
|
+
|
|
763
1168
|
hasRole(
|
|
764
1169
|
role: PromiseOrValue<BytesLike>,
|
|
765
1170
|
account: PromiseOrValue<string>,
|
|
766
1171
|
overrides?: CallOverrides
|
|
767
1172
|
): Promise<boolean>;
|
|
768
1173
|
|
|
1174
|
+
host(overrides?: CallOverrides): Promise<string>;
|
|
1175
|
+
|
|
769
1176
|
initialize(
|
|
770
1177
|
_nft: PromiseOrValue<string>,
|
|
771
1178
|
_settings: DirectPaymentsPool.PoolSettingsStruct,
|
|
@@ -773,6 +1180,11 @@ export interface DirectPaymentsPool extends BaseContract {
|
|
|
773
1180
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
774
1181
|
): Promise<ContractTransaction>;
|
|
775
1182
|
|
|
1183
|
+
isAcceptedSuperToken(
|
|
1184
|
+
_superToken: PromiseOrValue<string>,
|
|
1185
|
+
overrides?: CallOverrides
|
|
1186
|
+
): Promise<boolean>;
|
|
1187
|
+
|
|
776
1188
|
limits(
|
|
777
1189
|
overrides?: CallOverrides
|
|
778
1190
|
): Promise<
|
|
@@ -818,6 +1230,13 @@ export interface DirectPaymentsPool extends BaseContract {
|
|
|
818
1230
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
819
1231
|
): Promise<ContractTransaction>;
|
|
820
1232
|
|
|
1233
|
+
onTokenTransfer(
|
|
1234
|
+
_sender: PromiseOrValue<string>,
|
|
1235
|
+
_amount: PromiseOrValue<BigNumberish>,
|
|
1236
|
+
arg2: PromiseOrValue<BytesLike>,
|
|
1237
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
1238
|
+
): Promise<ContractTransaction>;
|
|
1239
|
+
|
|
821
1240
|
proxiableUUID(overrides?: CallOverrides): Promise<string>;
|
|
822
1241
|
|
|
823
1242
|
removeMember(
|
|
@@ -849,11 +1268,33 @@ export interface DirectPaymentsPool extends BaseContract {
|
|
|
849
1268
|
}
|
|
850
1269
|
>;
|
|
851
1270
|
|
|
1271
|
+
superToken(overrides?: CallOverrides): Promise<string>;
|
|
1272
|
+
|
|
1273
|
+
support(
|
|
1274
|
+
_sender: PromiseOrValue<string>,
|
|
1275
|
+
_amount: PromiseOrValue<BigNumberish>,
|
|
1276
|
+
_ctx: PromiseOrValue<BytesLike>,
|
|
1277
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
1278
|
+
): Promise<ContractTransaction>;
|
|
1279
|
+
|
|
1280
|
+
supporters(
|
|
1281
|
+
arg0: PromiseOrValue<string>,
|
|
1282
|
+
overrides?: CallOverrides
|
|
1283
|
+
): Promise<
|
|
1284
|
+
[BigNumber, BigNumber, BigNumber] & {
|
|
1285
|
+
contribution: BigNumber;
|
|
1286
|
+
flowRate: BigNumber;
|
|
1287
|
+
lastUpdated: BigNumber;
|
|
1288
|
+
}
|
|
1289
|
+
>;
|
|
1290
|
+
|
|
852
1291
|
supportsInterface(
|
|
853
1292
|
interfaceId: PromiseOrValue<BytesLike>,
|
|
854
1293
|
overrides?: CallOverrides
|
|
855
1294
|
): Promise<boolean>;
|
|
856
1295
|
|
|
1296
|
+
swapRouter(overrides?: CallOverrides): Promise<string>;
|
|
1297
|
+
|
|
857
1298
|
upgradeTo(
|
|
858
1299
|
newImplementation: PromiseOrValue<string>,
|
|
859
1300
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
@@ -871,6 +1312,8 @@ export interface DirectPaymentsPool extends BaseContract {
|
|
|
871
1312
|
): Promise<ContractTransaction>;
|
|
872
1313
|
|
|
873
1314
|
callStatic: {
|
|
1315
|
+
CFAV1_TYPE(overrides?: CallOverrides): Promise<string>;
|
|
1316
|
+
|
|
874
1317
|
DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise<string>;
|
|
875
1318
|
|
|
876
1319
|
MANAGER_ROLE(overrides?: CallOverrides): Promise<string>;
|
|
@@ -883,6 +1326,63 @@ export interface DirectPaymentsPool extends BaseContract {
|
|
|
883
1326
|
overrides?: CallOverrides
|
|
884
1327
|
): Promise<void>;
|
|
885
1328
|
|
|
1329
|
+
afterAgreementCreated(
|
|
1330
|
+
superToken: PromiseOrValue<string>,
|
|
1331
|
+
arg1: PromiseOrValue<string>,
|
|
1332
|
+
arg2: PromiseOrValue<BytesLike>,
|
|
1333
|
+
agreementData: PromiseOrValue<BytesLike>,
|
|
1334
|
+
arg4: PromiseOrValue<BytesLike>,
|
|
1335
|
+
ctx: PromiseOrValue<BytesLike>,
|
|
1336
|
+
overrides?: CallOverrides
|
|
1337
|
+
): Promise<string>;
|
|
1338
|
+
|
|
1339
|
+
afterAgreementTerminated(
|
|
1340
|
+
superToken: PromiseOrValue<string>,
|
|
1341
|
+
agreementClass: PromiseOrValue<string>,
|
|
1342
|
+
arg2: PromiseOrValue<BytesLike>,
|
|
1343
|
+
agreementData: PromiseOrValue<BytesLike>,
|
|
1344
|
+
cbdata: PromiseOrValue<BytesLike>,
|
|
1345
|
+
ctx: PromiseOrValue<BytesLike>,
|
|
1346
|
+
overrides?: CallOverrides
|
|
1347
|
+
): Promise<string>;
|
|
1348
|
+
|
|
1349
|
+
afterAgreementUpdated(
|
|
1350
|
+
superToken: PromiseOrValue<string>,
|
|
1351
|
+
arg1: PromiseOrValue<string>,
|
|
1352
|
+
arg2: PromiseOrValue<BytesLike>,
|
|
1353
|
+
agreementData: PromiseOrValue<BytesLike>,
|
|
1354
|
+
cbdata: PromiseOrValue<BytesLike>,
|
|
1355
|
+
ctx: PromiseOrValue<BytesLike>,
|
|
1356
|
+
overrides?: CallOverrides
|
|
1357
|
+
): Promise<string>;
|
|
1358
|
+
|
|
1359
|
+
beforeAgreementCreated(
|
|
1360
|
+
superToken: PromiseOrValue<string>,
|
|
1361
|
+
agreementClass: PromiseOrValue<string>,
|
|
1362
|
+
arg2: PromiseOrValue<BytesLike>,
|
|
1363
|
+
arg3: PromiseOrValue<BytesLike>,
|
|
1364
|
+
arg4: PromiseOrValue<BytesLike>,
|
|
1365
|
+
overrides?: CallOverrides
|
|
1366
|
+
): Promise<string>;
|
|
1367
|
+
|
|
1368
|
+
beforeAgreementTerminated(
|
|
1369
|
+
superToken: PromiseOrValue<string>,
|
|
1370
|
+
agreementClass: PromiseOrValue<string>,
|
|
1371
|
+
arg2: PromiseOrValue<BytesLike>,
|
|
1372
|
+
agreementData: PromiseOrValue<BytesLike>,
|
|
1373
|
+
arg4: PromiseOrValue<BytesLike>,
|
|
1374
|
+
overrides?: CallOverrides
|
|
1375
|
+
): Promise<string>;
|
|
1376
|
+
|
|
1377
|
+
beforeAgreementUpdated(
|
|
1378
|
+
superToken: PromiseOrValue<string>,
|
|
1379
|
+
agreementClass: PromiseOrValue<string>,
|
|
1380
|
+
arg2: PromiseOrValue<BytesLike>,
|
|
1381
|
+
agreementData: PromiseOrValue<BytesLike>,
|
|
1382
|
+
arg4: PromiseOrValue<BytesLike>,
|
|
1383
|
+
overrides?: CallOverrides
|
|
1384
|
+
): Promise<string>;
|
|
1385
|
+
|
|
886
1386
|
"claim(uint256)"(
|
|
887
1387
|
_nftId: PromiseOrValue<BigNumberish>,
|
|
888
1388
|
overrides?: CallOverrides
|
|
@@ -901,6 +1401,11 @@ export interface DirectPaymentsPool extends BaseContract {
|
|
|
901
1401
|
|
|
902
1402
|
createdBy(overrides?: CallOverrides): Promise<string>;
|
|
903
1403
|
|
|
1404
|
+
getRealtimeContribution(
|
|
1405
|
+
_user: PromiseOrValue<string>,
|
|
1406
|
+
overrides?: CallOverrides
|
|
1407
|
+
): Promise<BigNumber>;
|
|
1408
|
+
|
|
904
1409
|
getRoleAdmin(
|
|
905
1410
|
role: PromiseOrValue<BytesLike>,
|
|
906
1411
|
overrides?: CallOverrides
|
|
@@ -924,12 +1429,21 @@ export interface DirectPaymentsPool extends BaseContract {
|
|
|
924
1429
|
overrides?: CallOverrides
|
|
925
1430
|
): Promise<void>;
|
|
926
1431
|
|
|
1432
|
+
handleSwap(
|
|
1433
|
+
_customData: GoodCollectiveSuperApp.SwapDataStruct,
|
|
1434
|
+
_sender: PromiseOrValue<string>,
|
|
1435
|
+
_ctx: PromiseOrValue<BytesLike>,
|
|
1436
|
+
overrides?: CallOverrides
|
|
1437
|
+
): Promise<string>;
|
|
1438
|
+
|
|
927
1439
|
hasRole(
|
|
928
1440
|
role: PromiseOrValue<BytesLike>,
|
|
929
1441
|
account: PromiseOrValue<string>,
|
|
930
1442
|
overrides?: CallOverrides
|
|
931
1443
|
): Promise<boolean>;
|
|
932
1444
|
|
|
1445
|
+
host(overrides?: CallOverrides): Promise<string>;
|
|
1446
|
+
|
|
933
1447
|
initialize(
|
|
934
1448
|
_nft: PromiseOrValue<string>,
|
|
935
1449
|
_settings: DirectPaymentsPool.PoolSettingsStruct,
|
|
@@ -937,6 +1451,11 @@ export interface DirectPaymentsPool extends BaseContract {
|
|
|
937
1451
|
overrides?: CallOverrides
|
|
938
1452
|
): Promise<void>;
|
|
939
1453
|
|
|
1454
|
+
isAcceptedSuperToken(
|
|
1455
|
+
_superToken: PromiseOrValue<string>,
|
|
1456
|
+
overrides?: CallOverrides
|
|
1457
|
+
): Promise<boolean>;
|
|
1458
|
+
|
|
940
1459
|
limits(
|
|
941
1460
|
overrides?: CallOverrides
|
|
942
1461
|
): Promise<
|
|
@@ -982,6 +1501,13 @@ export interface DirectPaymentsPool extends BaseContract {
|
|
|
982
1501
|
overrides?: CallOverrides
|
|
983
1502
|
): Promise<string>;
|
|
984
1503
|
|
|
1504
|
+
onTokenTransfer(
|
|
1505
|
+
_sender: PromiseOrValue<string>,
|
|
1506
|
+
_amount: PromiseOrValue<BigNumberish>,
|
|
1507
|
+
arg2: PromiseOrValue<BytesLike>,
|
|
1508
|
+
overrides?: CallOverrides
|
|
1509
|
+
): Promise<boolean>;
|
|
1510
|
+
|
|
985
1511
|
proxiableUUID(overrides?: CallOverrides): Promise<string>;
|
|
986
1512
|
|
|
987
1513
|
removeMember(
|
|
@@ -1013,11 +1539,33 @@ export interface DirectPaymentsPool extends BaseContract {
|
|
|
1013
1539
|
}
|
|
1014
1540
|
>;
|
|
1015
1541
|
|
|
1542
|
+
superToken(overrides?: CallOverrides): Promise<string>;
|
|
1543
|
+
|
|
1544
|
+
support(
|
|
1545
|
+
_sender: PromiseOrValue<string>,
|
|
1546
|
+
_amount: PromiseOrValue<BigNumberish>,
|
|
1547
|
+
_ctx: PromiseOrValue<BytesLike>,
|
|
1548
|
+
overrides?: CallOverrides
|
|
1549
|
+
): Promise<string>;
|
|
1550
|
+
|
|
1551
|
+
supporters(
|
|
1552
|
+
arg0: PromiseOrValue<string>,
|
|
1553
|
+
overrides?: CallOverrides
|
|
1554
|
+
): Promise<
|
|
1555
|
+
[BigNumber, BigNumber, BigNumber] & {
|
|
1556
|
+
contribution: BigNumber;
|
|
1557
|
+
flowRate: BigNumber;
|
|
1558
|
+
lastUpdated: BigNumber;
|
|
1559
|
+
}
|
|
1560
|
+
>;
|
|
1561
|
+
|
|
1016
1562
|
supportsInterface(
|
|
1017
1563
|
interfaceId: PromiseOrValue<BytesLike>,
|
|
1018
1564
|
overrides?: CallOverrides
|
|
1019
1565
|
): Promise<boolean>;
|
|
1020
1566
|
|
|
1567
|
+
swapRouter(overrides?: CallOverrides): Promise<string>;
|
|
1568
|
+
|
|
1021
1569
|
upgradeTo(
|
|
1022
1570
|
newImplementation: PromiseOrValue<string>,
|
|
1023
1571
|
overrides?: CallOverrides
|
|
@@ -1111,6 +1659,19 @@ export interface DirectPaymentsPool extends BaseContract {
|
|
|
1111
1659
|
sender?: PromiseOrValue<string> | null
|
|
1112
1660
|
): RoleRevokedEventFilter;
|
|
1113
1661
|
|
|
1662
|
+
"SupporterUpdated(address,uint256,int96,uint256)"(
|
|
1663
|
+
supporter?: PromiseOrValue<string> | null,
|
|
1664
|
+
contribution?: null,
|
|
1665
|
+
flowRate?: null,
|
|
1666
|
+
lastUpdated?: null
|
|
1667
|
+
): SupporterUpdatedEventFilter;
|
|
1668
|
+
SupporterUpdated(
|
|
1669
|
+
supporter?: PromiseOrValue<string> | null,
|
|
1670
|
+
contribution?: null,
|
|
1671
|
+
flowRate?: null,
|
|
1672
|
+
lastUpdated?: null
|
|
1673
|
+
): SupporterUpdatedEventFilter;
|
|
1674
|
+
|
|
1114
1675
|
"Upgraded(address)"(
|
|
1115
1676
|
implementation?: PromiseOrValue<string> | null
|
|
1116
1677
|
): UpgradedEventFilter;
|
|
@@ -1120,6 +1681,8 @@ export interface DirectPaymentsPool extends BaseContract {
|
|
|
1120
1681
|
};
|
|
1121
1682
|
|
|
1122
1683
|
estimateGas: {
|
|
1684
|
+
CFAV1_TYPE(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1685
|
+
|
|
1123
1686
|
DEFAULT_ADMIN_ROLE(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1124
1687
|
|
|
1125
1688
|
MANAGER_ROLE(overrides?: CallOverrides): Promise<BigNumber>;
|
|
@@ -1132,6 +1695,63 @@ export interface DirectPaymentsPool extends BaseContract {
|
|
|
1132
1695
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
1133
1696
|
): Promise<BigNumber>;
|
|
1134
1697
|
|
|
1698
|
+
afterAgreementCreated(
|
|
1699
|
+
superToken: PromiseOrValue<string>,
|
|
1700
|
+
arg1: PromiseOrValue<string>,
|
|
1701
|
+
arg2: PromiseOrValue<BytesLike>,
|
|
1702
|
+
agreementData: PromiseOrValue<BytesLike>,
|
|
1703
|
+
arg4: PromiseOrValue<BytesLike>,
|
|
1704
|
+
ctx: PromiseOrValue<BytesLike>,
|
|
1705
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
1706
|
+
): Promise<BigNumber>;
|
|
1707
|
+
|
|
1708
|
+
afterAgreementTerminated(
|
|
1709
|
+
superToken: PromiseOrValue<string>,
|
|
1710
|
+
agreementClass: PromiseOrValue<string>,
|
|
1711
|
+
arg2: PromiseOrValue<BytesLike>,
|
|
1712
|
+
agreementData: PromiseOrValue<BytesLike>,
|
|
1713
|
+
cbdata: PromiseOrValue<BytesLike>,
|
|
1714
|
+
ctx: PromiseOrValue<BytesLike>,
|
|
1715
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
1716
|
+
): Promise<BigNumber>;
|
|
1717
|
+
|
|
1718
|
+
afterAgreementUpdated(
|
|
1719
|
+
superToken: PromiseOrValue<string>,
|
|
1720
|
+
arg1: PromiseOrValue<string>,
|
|
1721
|
+
arg2: PromiseOrValue<BytesLike>,
|
|
1722
|
+
agreementData: PromiseOrValue<BytesLike>,
|
|
1723
|
+
cbdata: PromiseOrValue<BytesLike>,
|
|
1724
|
+
ctx: PromiseOrValue<BytesLike>,
|
|
1725
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
1726
|
+
): Promise<BigNumber>;
|
|
1727
|
+
|
|
1728
|
+
beforeAgreementCreated(
|
|
1729
|
+
superToken: PromiseOrValue<string>,
|
|
1730
|
+
agreementClass: PromiseOrValue<string>,
|
|
1731
|
+
arg2: PromiseOrValue<BytesLike>,
|
|
1732
|
+
arg3: PromiseOrValue<BytesLike>,
|
|
1733
|
+
arg4: PromiseOrValue<BytesLike>,
|
|
1734
|
+
overrides?: CallOverrides
|
|
1735
|
+
): Promise<BigNumber>;
|
|
1736
|
+
|
|
1737
|
+
beforeAgreementTerminated(
|
|
1738
|
+
superToken: PromiseOrValue<string>,
|
|
1739
|
+
agreementClass: PromiseOrValue<string>,
|
|
1740
|
+
arg2: PromiseOrValue<BytesLike>,
|
|
1741
|
+
agreementData: PromiseOrValue<BytesLike>,
|
|
1742
|
+
arg4: PromiseOrValue<BytesLike>,
|
|
1743
|
+
overrides?: CallOverrides
|
|
1744
|
+
): Promise<BigNumber>;
|
|
1745
|
+
|
|
1746
|
+
beforeAgreementUpdated(
|
|
1747
|
+
superToken: PromiseOrValue<string>,
|
|
1748
|
+
agreementClass: PromiseOrValue<string>,
|
|
1749
|
+
arg2: PromiseOrValue<BytesLike>,
|
|
1750
|
+
agreementData: PromiseOrValue<BytesLike>,
|
|
1751
|
+
arg4: PromiseOrValue<BytesLike>,
|
|
1752
|
+
overrides?: CallOverrides
|
|
1753
|
+
): Promise<BigNumber>;
|
|
1754
|
+
|
|
1135
1755
|
"claim(uint256)"(
|
|
1136
1756
|
_nftId: PromiseOrValue<BigNumberish>,
|
|
1137
1757
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
@@ -1150,6 +1770,11 @@ export interface DirectPaymentsPool extends BaseContract {
|
|
|
1150
1770
|
|
|
1151
1771
|
createdBy(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1152
1772
|
|
|
1773
|
+
getRealtimeContribution(
|
|
1774
|
+
_user: PromiseOrValue<string>,
|
|
1775
|
+
overrides?: CallOverrides
|
|
1776
|
+
): Promise<BigNumber>;
|
|
1777
|
+
|
|
1153
1778
|
getRoleAdmin(
|
|
1154
1779
|
role: PromiseOrValue<BytesLike>,
|
|
1155
1780
|
overrides?: CallOverrides
|
|
@@ -1163,12 +1788,21 @@ export interface DirectPaymentsPool extends BaseContract {
|
|
|
1163
1788
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
1164
1789
|
): Promise<BigNumber>;
|
|
1165
1790
|
|
|
1791
|
+
handleSwap(
|
|
1792
|
+
_customData: GoodCollectiveSuperApp.SwapDataStruct,
|
|
1793
|
+
_sender: PromiseOrValue<string>,
|
|
1794
|
+
_ctx: PromiseOrValue<BytesLike>,
|
|
1795
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
1796
|
+
): Promise<BigNumber>;
|
|
1797
|
+
|
|
1166
1798
|
hasRole(
|
|
1167
1799
|
role: PromiseOrValue<BytesLike>,
|
|
1168
1800
|
account: PromiseOrValue<string>,
|
|
1169
1801
|
overrides?: CallOverrides
|
|
1170
1802
|
): Promise<BigNumber>;
|
|
1171
1803
|
|
|
1804
|
+
host(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1805
|
+
|
|
1172
1806
|
initialize(
|
|
1173
1807
|
_nft: PromiseOrValue<string>,
|
|
1174
1808
|
_settings: DirectPaymentsPool.PoolSettingsStruct,
|
|
@@ -1176,6 +1810,11 @@ export interface DirectPaymentsPool extends BaseContract {
|
|
|
1176
1810
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
1177
1811
|
): Promise<BigNumber>;
|
|
1178
1812
|
|
|
1813
|
+
isAcceptedSuperToken(
|
|
1814
|
+
_superToken: PromiseOrValue<string>,
|
|
1815
|
+
overrides?: CallOverrides
|
|
1816
|
+
): Promise<BigNumber>;
|
|
1817
|
+
|
|
1179
1818
|
limits(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1180
1819
|
|
|
1181
1820
|
memberLimits(
|
|
@@ -1205,6 +1844,13 @@ export interface DirectPaymentsPool extends BaseContract {
|
|
|
1205
1844
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
1206
1845
|
): Promise<BigNumber>;
|
|
1207
1846
|
|
|
1847
|
+
onTokenTransfer(
|
|
1848
|
+
_sender: PromiseOrValue<string>,
|
|
1849
|
+
_amount: PromiseOrValue<BigNumberish>,
|
|
1850
|
+
arg2: PromiseOrValue<BytesLike>,
|
|
1851
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
1852
|
+
): Promise<BigNumber>;
|
|
1853
|
+
|
|
1208
1854
|
proxiableUUID(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1209
1855
|
|
|
1210
1856
|
removeMember(
|
|
@@ -1226,11 +1872,27 @@ export interface DirectPaymentsPool extends BaseContract {
|
|
|
1226
1872
|
|
|
1227
1873
|
settings(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1228
1874
|
|
|
1875
|
+
superToken(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1876
|
+
|
|
1877
|
+
support(
|
|
1878
|
+
_sender: PromiseOrValue<string>,
|
|
1879
|
+
_amount: PromiseOrValue<BigNumberish>,
|
|
1880
|
+
_ctx: PromiseOrValue<BytesLike>,
|
|
1881
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
1882
|
+
): Promise<BigNumber>;
|
|
1883
|
+
|
|
1884
|
+
supporters(
|
|
1885
|
+
arg0: PromiseOrValue<string>,
|
|
1886
|
+
overrides?: CallOverrides
|
|
1887
|
+
): Promise<BigNumber>;
|
|
1888
|
+
|
|
1229
1889
|
supportsInterface(
|
|
1230
1890
|
interfaceId: PromiseOrValue<BytesLike>,
|
|
1231
1891
|
overrides?: CallOverrides
|
|
1232
1892
|
): Promise<BigNumber>;
|
|
1233
1893
|
|
|
1894
|
+
swapRouter(overrides?: CallOverrides): Promise<BigNumber>;
|
|
1895
|
+
|
|
1234
1896
|
upgradeTo(
|
|
1235
1897
|
newImplementation: PromiseOrValue<string>,
|
|
1236
1898
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
@@ -1249,6 +1911,8 @@ export interface DirectPaymentsPool extends BaseContract {
|
|
|
1249
1911
|
};
|
|
1250
1912
|
|
|
1251
1913
|
populateTransaction: {
|
|
1914
|
+
CFAV1_TYPE(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
1915
|
+
|
|
1252
1916
|
DEFAULT_ADMIN_ROLE(
|
|
1253
1917
|
overrides?: CallOverrides
|
|
1254
1918
|
): Promise<PopulatedTransaction>;
|
|
@@ -1263,6 +1927,63 @@ export interface DirectPaymentsPool extends BaseContract {
|
|
|
1263
1927
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
1264
1928
|
): Promise<PopulatedTransaction>;
|
|
1265
1929
|
|
|
1930
|
+
afterAgreementCreated(
|
|
1931
|
+
superToken: PromiseOrValue<string>,
|
|
1932
|
+
arg1: PromiseOrValue<string>,
|
|
1933
|
+
arg2: PromiseOrValue<BytesLike>,
|
|
1934
|
+
agreementData: PromiseOrValue<BytesLike>,
|
|
1935
|
+
arg4: PromiseOrValue<BytesLike>,
|
|
1936
|
+
ctx: PromiseOrValue<BytesLike>,
|
|
1937
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
1938
|
+
): Promise<PopulatedTransaction>;
|
|
1939
|
+
|
|
1940
|
+
afterAgreementTerminated(
|
|
1941
|
+
superToken: PromiseOrValue<string>,
|
|
1942
|
+
agreementClass: PromiseOrValue<string>,
|
|
1943
|
+
arg2: PromiseOrValue<BytesLike>,
|
|
1944
|
+
agreementData: PromiseOrValue<BytesLike>,
|
|
1945
|
+
cbdata: PromiseOrValue<BytesLike>,
|
|
1946
|
+
ctx: PromiseOrValue<BytesLike>,
|
|
1947
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
1948
|
+
): Promise<PopulatedTransaction>;
|
|
1949
|
+
|
|
1950
|
+
afterAgreementUpdated(
|
|
1951
|
+
superToken: PromiseOrValue<string>,
|
|
1952
|
+
arg1: PromiseOrValue<string>,
|
|
1953
|
+
arg2: PromiseOrValue<BytesLike>,
|
|
1954
|
+
agreementData: PromiseOrValue<BytesLike>,
|
|
1955
|
+
cbdata: PromiseOrValue<BytesLike>,
|
|
1956
|
+
ctx: PromiseOrValue<BytesLike>,
|
|
1957
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
1958
|
+
): Promise<PopulatedTransaction>;
|
|
1959
|
+
|
|
1960
|
+
beforeAgreementCreated(
|
|
1961
|
+
superToken: PromiseOrValue<string>,
|
|
1962
|
+
agreementClass: PromiseOrValue<string>,
|
|
1963
|
+
arg2: PromiseOrValue<BytesLike>,
|
|
1964
|
+
arg3: PromiseOrValue<BytesLike>,
|
|
1965
|
+
arg4: PromiseOrValue<BytesLike>,
|
|
1966
|
+
overrides?: CallOverrides
|
|
1967
|
+
): Promise<PopulatedTransaction>;
|
|
1968
|
+
|
|
1969
|
+
beforeAgreementTerminated(
|
|
1970
|
+
superToken: PromiseOrValue<string>,
|
|
1971
|
+
agreementClass: PromiseOrValue<string>,
|
|
1972
|
+
arg2: PromiseOrValue<BytesLike>,
|
|
1973
|
+
agreementData: PromiseOrValue<BytesLike>,
|
|
1974
|
+
arg4: PromiseOrValue<BytesLike>,
|
|
1975
|
+
overrides?: CallOverrides
|
|
1976
|
+
): Promise<PopulatedTransaction>;
|
|
1977
|
+
|
|
1978
|
+
beforeAgreementUpdated(
|
|
1979
|
+
superToken: PromiseOrValue<string>,
|
|
1980
|
+
agreementClass: PromiseOrValue<string>,
|
|
1981
|
+
arg2: PromiseOrValue<BytesLike>,
|
|
1982
|
+
agreementData: PromiseOrValue<BytesLike>,
|
|
1983
|
+
arg4: PromiseOrValue<BytesLike>,
|
|
1984
|
+
overrides?: CallOverrides
|
|
1985
|
+
): Promise<PopulatedTransaction>;
|
|
1986
|
+
|
|
1266
1987
|
"claim(uint256)"(
|
|
1267
1988
|
_nftId: PromiseOrValue<BigNumberish>,
|
|
1268
1989
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
@@ -1281,6 +2002,11 @@ export interface DirectPaymentsPool extends BaseContract {
|
|
|
1281
2002
|
|
|
1282
2003
|
createdBy(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
1283
2004
|
|
|
2005
|
+
getRealtimeContribution(
|
|
2006
|
+
_user: PromiseOrValue<string>,
|
|
2007
|
+
overrides?: CallOverrides
|
|
2008
|
+
): Promise<PopulatedTransaction>;
|
|
2009
|
+
|
|
1284
2010
|
getRoleAdmin(
|
|
1285
2011
|
role: PromiseOrValue<BytesLike>,
|
|
1286
2012
|
overrides?: CallOverrides
|
|
@@ -1294,12 +2020,21 @@ export interface DirectPaymentsPool extends BaseContract {
|
|
|
1294
2020
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
1295
2021
|
): Promise<PopulatedTransaction>;
|
|
1296
2022
|
|
|
2023
|
+
handleSwap(
|
|
2024
|
+
_customData: GoodCollectiveSuperApp.SwapDataStruct,
|
|
2025
|
+
_sender: PromiseOrValue<string>,
|
|
2026
|
+
_ctx: PromiseOrValue<BytesLike>,
|
|
2027
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
2028
|
+
): Promise<PopulatedTransaction>;
|
|
2029
|
+
|
|
1297
2030
|
hasRole(
|
|
1298
2031
|
role: PromiseOrValue<BytesLike>,
|
|
1299
2032
|
account: PromiseOrValue<string>,
|
|
1300
2033
|
overrides?: CallOverrides
|
|
1301
2034
|
): Promise<PopulatedTransaction>;
|
|
1302
2035
|
|
|
2036
|
+
host(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
2037
|
+
|
|
1303
2038
|
initialize(
|
|
1304
2039
|
_nft: PromiseOrValue<string>,
|
|
1305
2040
|
_settings: DirectPaymentsPool.PoolSettingsStruct,
|
|
@@ -1307,6 +2042,11 @@ export interface DirectPaymentsPool extends BaseContract {
|
|
|
1307
2042
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
1308
2043
|
): Promise<PopulatedTransaction>;
|
|
1309
2044
|
|
|
2045
|
+
isAcceptedSuperToken(
|
|
2046
|
+
_superToken: PromiseOrValue<string>,
|
|
2047
|
+
overrides?: CallOverrides
|
|
2048
|
+
): Promise<PopulatedTransaction>;
|
|
2049
|
+
|
|
1310
2050
|
limits(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
1311
2051
|
|
|
1312
2052
|
memberLimits(
|
|
@@ -1336,6 +2076,13 @@ export interface DirectPaymentsPool extends BaseContract {
|
|
|
1336
2076
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
1337
2077
|
): Promise<PopulatedTransaction>;
|
|
1338
2078
|
|
|
2079
|
+
onTokenTransfer(
|
|
2080
|
+
_sender: PromiseOrValue<string>,
|
|
2081
|
+
_amount: PromiseOrValue<BigNumberish>,
|
|
2082
|
+
arg2: PromiseOrValue<BytesLike>,
|
|
2083
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
2084
|
+
): Promise<PopulatedTransaction>;
|
|
2085
|
+
|
|
1339
2086
|
proxiableUUID(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
1340
2087
|
|
|
1341
2088
|
removeMember(
|
|
@@ -1357,11 +2104,27 @@ export interface DirectPaymentsPool extends BaseContract {
|
|
|
1357
2104
|
|
|
1358
2105
|
settings(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
1359
2106
|
|
|
2107
|
+
superToken(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
2108
|
+
|
|
2109
|
+
support(
|
|
2110
|
+
_sender: PromiseOrValue<string>,
|
|
2111
|
+
_amount: PromiseOrValue<BigNumberish>,
|
|
2112
|
+
_ctx: PromiseOrValue<BytesLike>,
|
|
2113
|
+
overrides?: Overrides & { from?: PromiseOrValue<string> }
|
|
2114
|
+
): Promise<PopulatedTransaction>;
|
|
2115
|
+
|
|
2116
|
+
supporters(
|
|
2117
|
+
arg0: PromiseOrValue<string>,
|
|
2118
|
+
overrides?: CallOverrides
|
|
2119
|
+
): Promise<PopulatedTransaction>;
|
|
2120
|
+
|
|
1360
2121
|
supportsInterface(
|
|
1361
2122
|
interfaceId: PromiseOrValue<BytesLike>,
|
|
1362
2123
|
overrides?: CallOverrides
|
|
1363
2124
|
): Promise<PopulatedTransaction>;
|
|
1364
2125
|
|
|
2126
|
+
swapRouter(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
2127
|
+
|
|
1365
2128
|
upgradeTo(
|
|
1366
2129
|
newImplementation: PromiseOrValue<string>,
|
|
1367
2130
|
overrides?: Overrides & { from?: PromiseOrValue<string> }
|