Skip to content

Commit 68cdabe

Browse files
Disputable: Remove agreement activation from RegistryApp (#610)
1 parent 6ba3801 commit 68cdabe

File tree

1 file changed

+3
-20
lines changed

1 file changed

+3
-20
lines changed

examples/apps/disputable/RegistryApp.sol

+3-20
Original file line numberDiff line numberDiff line change
@@ -35,27 +35,10 @@ contract RegistryApp is DisputableAragonApp {
3535
mapping (bytes32 => Entry) private entries;
3636

3737
/**
38-
* @notice Initialize Registry app linked to the Agreement `_agreement` with the following requirements:
39-
* @notice - `@tokenAmount(_collateralToken, _actionCollateral)` collateral for submitting actions
40-
* @notice - `@tokenAmount(_collateralToken, _challengeCollateral)` collateral for challenging actions
41-
* @notice - `@transformTime(_challengeDuration)` for the challenge duration
42-
* @param _agreement Agreement instance to be linked
43-
* @param _collateralToken Address of the ERC20 token to be used for collateral
44-
* @param _actionCollateral Amount of collateral tokens that will be locked every time an action is submitted
45-
* @param _challengeCollateral Amount of collateral tokens that will be locked every time an action is challenged
46-
* @param _challengeDuration Duration in seconds of the challenge, during this time window the submitter can answer the challenge
47-
*/
48-
function initialize(
49-
IAgreement _agreement,
50-
ERC20 _collateralToken,
51-
uint256 _actionCollateral,
52-
uint256 _challengeCollateral,
53-
uint64 _challengeDuration
54-
)
55-
external
56-
{
38+
* @notice Initialize Registry app
39+
*/
40+
function initialize() external {
5741
initialized();
58-
_agreement.activate(IDisputable(this), _collateralToken, _actionCollateral, _challengeCollateral, _challengeDuration);
5942
}
6043

6144
/**

0 commit comments

Comments
 (0)