Update README and naming
Signed-off-by: AlienTornadosaurusHex <>
This commit is contained in:
parent
c8507739d2
commit
7b7063e1d2
@ -7,6 +7,10 @@ The contracts can be currently found here:
|
|||||||
|
|
||||||
Inlined version of the `RelayerRegistry` and `TornadoStakingRewards` are also used. Check the `diffs` folder to see how much they deviate from the `relayer-registry` repository reconstruction. VSC will possibly show red as "added".
|
Inlined version of the `RelayerRegistry` and `TornadoStakingRewards` are also used. Check the `diffs` folder to see how much they deviate from the `relayer-registry` repository reconstruction. VSC will possibly show red as "added".
|
||||||
|
|
||||||
|
For testing resistance against metamorphic contracts, we use the contracts provided by: https://github.com/0age/metamorphic.git
|
||||||
|
|
||||||
|
The rest of the Tornado Governance README follows below.
|
||||||
|
|
||||||
# Tornado governance [![build status](https://github.com/tornadocash/tornado-governance/actions/workflows/build.yml/badge.svg)](https://github.com/tornadocash/tornado-governance/actions/workflows/build.yml) [![Coverage Status](https://coveralls.io/repos/github/tornadocash/tornado-governance/badge.svg?branch=master)](https://coveralls.io/github/tornadocash/tornado-governance?branch=master)
|
# Tornado governance [![build status](https://github.com/tornadocash/tornado-governance/actions/workflows/build.yml/badge.svg)](https://github.com/tornadocash/tornado-governance/actions/workflows/build.yml) [![Coverage Status](https://coveralls.io/repos/github/tornadocash/tornado-governance/badge.svg?branch=master)](https://coveralls.io/github/tornadocash/tornado-governance?branch=master)
|
||||||
|
|
||||||
## Description
|
## Description
|
||||||
|
@ -48,10 +48,10 @@ contract PatchProposal {
|
|||||||
|
|
||||||
IERC20 public constant TORN = IERC20(0x77777FeDdddFfC19Ff86DB637967013e6C6A116C);
|
IERC20 public constant TORN = IERC20(0x77777FeDdddFfC19Ff86DB637967013e6C6A116C);
|
||||||
|
|
||||||
ProposalContractsFactory public immutable proposalContractFactory;
|
ProposalContractsFactory public immutable proposalContractsFactory;
|
||||||
|
|
||||||
constructor(address _proposalContractFactory) public {
|
constructor(address _proposalContractsFactory) public {
|
||||||
proposalContractFactory = ProposalContractsFactory(_proposalContractFactory);
|
proposalContractsFactory = ProposalContractsFactory(_proposalContractsFactory);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Aight lets do this sirs
|
// Aight lets do this sirs
|
||||||
@ -71,11 +71,11 @@ contract PatchProposal {
|
|||||||
|
|
||||||
// And create a new staking contract
|
// And create a new staking contract
|
||||||
TornadoStakingRewards newStaking = TornadoStakingRewards(
|
TornadoStakingRewards newStaking = TornadoStakingRewards(
|
||||||
proposalContractFactory.createStakingRewards(address(governance), address(TORN), registry)
|
proposalContractsFactory.createStakingRewards(address(governance), address(TORN), registry)
|
||||||
);
|
);
|
||||||
|
|
||||||
// And a new registry
|
// And a new registry
|
||||||
address newRegistryAddress = proposalContractFactory.createRegistryContract(
|
address newRegistryAddress = proposalContractsFactory.createRegistryContract(
|
||||||
address(TORN),
|
address(TORN),
|
||||||
address(governance),
|
address(governance),
|
||||||
ensAddress,
|
ensAddress,
|
||||||
|
Loading…
Reference in New Issue
Block a user