File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,8 @@ contract AllocationExchange is Governed {
39
39
IStaking private immutable staking;
40
40
IGraphToken private immutable graphToken;
41
41
address public authority;
42
+
43
+ // Tracks redeemed allocationIDs. An allocation can only be redeemed once.
42
44
mapping (address => bool ) public allocationsRedeemed;
43
45
44
46
// -- Events
@@ -49,6 +51,13 @@ contract AllocationExchange is Governed {
49
51
50
52
// -- Functions
51
53
54
+ /**
55
+ * @notice Contract constructor.
56
+ * @param _graphToken Address of the GRT token
57
+ * @param _staking Address of the protocol Staking contract
58
+ * @param _governor Account capable of withdrawing funds and setting the authority
59
+ * @param _authority Account that can sign the vouchers that this contract will redeem
60
+ */
52
61
constructor (
53
62
IGraphToken _graphToken ,
54
63
IStaking _staking ,
You can’t perform that action at this time.
0 commit comments