Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
170 additions
and
77 deletions.
There are no files selected for viewing
47 changes: 0 additions & 47 deletions
47
...ds/InitializableRewardsDistributionRecipient.sol~6d935eb8c8797e240a7e9fde7603c90d730608ce
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// SPDX-License-Identifier: GPL-3.0-or-later | ||
pragma solidity 0.8.0; | ||
pragma abicoder v2; | ||
|
||
abstract contract ConfigurableRightsPool { | ||
|
||
function createPool(uint initialSupply) | ||
external | ||
virtual; | ||
|
||
function whitelistLiquidityProvider(address provider) | ||
external | ||
virtual; | ||
|
||
function setController(address newOwner) external virtual; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// SPDX-License-Identifier: GPL-3.0-or-later | ||
pragma solidity 0.8.0; | ||
pragma abicoder v2; | ||
|
||
|
||
abstract contract CRPFactory { | ||
|
||
struct Rights { | ||
bool canPauseSwapping; | ||
bool canChangeSwapFee; | ||
bool canChangeWeights; | ||
bool canAddRemoveTokens; | ||
bool canWhitelistLPs; | ||
bool canChangeCap; | ||
} | ||
|
||
struct PoolParams { | ||
string poolTokenSymbol; | ||
string poolTokenName; | ||
address[] constituentTokens; | ||
uint[] tokenBalances; | ||
uint[] tokenWeights; | ||
uint swapFee; | ||
} | ||
|
||
function newCrp( | ||
address factoryAddress, | ||
PoolParams calldata poolParams, | ||
Rights calldata rights | ||
) | ||
external | ||
virtual | ||
returns (address); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters