Skip to content

Commit

Permalink
typo & integrated factory to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dovgopoly committed Oct 17, 2023
1 parent 3c9a08d commit d3ace74
Show file tree
Hide file tree
Showing 4 changed files with 100 additions and 96 deletions.
2 changes: 1 addition & 1 deletion contracts/factory/PoolFactory.sol
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ contract PoolFactory is IPoolFactory, AbstractPoolFactory {
GovPool(payable(poolProxy)).__GovPool_init(
govPoolDeps,
parameters.verifier,
parameters.onlyBABHolders,
parameters.onlyBABTHolders,
babtId,
parameters.descriptionURL,
parameters.name
Expand Down
4 changes: 2 additions & 2 deletions contracts/interfaces/factory/IPoolFactory.sol
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ interface IPoolFactory {
/// @param tokenSaleParams the token sale proposal parameters
/// @param votePowerParams vote power parameters
/// @param verifier the address of the verifier
/// @param onlyBABHolders if true, only KYCed users will be allowed to interact with the pool
/// @param onlyBABTHolders if true, only KYCed users will be allowed to interact with the pool
/// @param descriptionURL the description of the pool
/// @param name the name of the pool
struct GovPoolDeployParams {
Expand All @@ -93,7 +93,7 @@ interface IPoolFactory {
TokenSaleProposalDeployParams tokenSaleParams;
VotePowerDeployParams votePowerParams;
address verifier;
bool onlyBABHolders;
bool onlyBABTHolders;
string descriptionURL;
string name;
}
Expand Down
4 changes: 2 additions & 2 deletions docs/factory/IPoolFactory.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ struct GovPoolDeployParams {
IPoolFactory.TokenSaleProposalDeployParams tokenSaleParams;
IPoolFactory.VotePowerDeployParams votePowerParams;
address verifier;
bool onlyBABHolders;
bool onlyBABTHolders;
string descriptionURL;
string name;
}
Expand All @@ -176,7 +176,7 @@ Parameters:
| tokenSaleParams | struct IPoolFactory.TokenSaleProposalDeployParams | the token sale proposal parameters |
| votePowerParams | struct IPoolFactory.VotePowerDeployParams | vote power parameters |
| verifier | address | the address of the verifier |
| onlyBABHolders | bool | if true, only KYCed users will be allowed to interact with the pool |
| onlyBABTHolders | bool | if true, only KYCed users will be allowed to interact with the pool |
| descriptionURL | string | the description of the pool |
| name | string | the name of the pool |

Expand Down
Loading

0 comments on commit d3ace74

Please sign in to comment.