generated from proofoftom/buidler-waffle-typechain-quasar
-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
code cleanup and update e2e testing with maci v1 api
- Loading branch information
Showing
60 changed files
with
3,051 additions
and
1,940 deletions.
There are no files selected for viewing
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
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
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 |
---|---|---|
|
@@ -7,5 +7,5 @@ proofs.json | |
tally.json | ||
.env | ||
.DS_Store | ||
tasks/addresses.txt | ||
addresses.txt | ||
proof_output |
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
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
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
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,30 @@ | ||
// SPDX-License-Identifier: GPL-3.0 | ||
|
||
pragma solidity ^0.8.10; | ||
|
||
import {FundingRound} from './FundingRound.sol'; | ||
import {ERC20} from '@openzeppelin/contracts/token/ERC20/ERC20.sol'; | ||
import {IUserRegistry} from './userRegistry/IUserRegistry.sol'; | ||
import {IRecipientRegistry} from './recipientRegistry/IRecipientRegistry.sol'; | ||
|
||
contract FundingRoundFactory { | ||
function deploy( | ||
ERC20 _nativeToken, | ||
IUserRegistry _userRegistry, | ||
IRecipientRegistry _recipientRegistry, | ||
address _coordinator, | ||
address _owner | ||
) | ||
external | ||
returns (FundingRound newRound) | ||
{ | ||
newRound = new FundingRound( | ||
_nativeToken, | ||
_userRegistry, | ||
_recipientRegistry, | ||
_coordinator | ||
); | ||
|
||
newRound.transferOwnership(_owner); | ||
} | ||
} |
Oops, something went wrong.