Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Commit

Permalink
scheme indexed in logs
Browse files Browse the repository at this point in the history
  • Loading branch information
clbrge committed Oct 13, 2019
1 parent cafc3dc commit 4fa720b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion contracts/RougeFactory.sol
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import "./RougeRegistry.sol";

contract RougeFactory is RougeRegistry {

string public version = '0.17.0';
string public version = '0.18';

// The Rouge Token contract address
RGETokenInterface public rge;
Expand Down
6 changes: 3 additions & 3 deletions contracts/SimpleRougeCampaign.sol
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ library RougeCampaign {

contract SimpleRougeCampaign {

string public version = '0.17.0';
string public version = '0.18';

// The Rouge Token contract address
RGETokenInterface public rge;
Expand All @@ -42,7 +42,7 @@ contract SimpleRougeCampaign {
RougeFactoryInterface public factory;
uint256 public tare;

address public issuer; // XXX todo ? owner != initial issuer
address public issuer; // TODO owner != initial issuer

enum Authorization { All, Role, Attachment, Issuance, Acquisition, Redemption, Kill }

Expand Down Expand Up @@ -165,7 +165,7 @@ contract SimpleRougeCampaign {
bool public campaignIssued;
uint public campaignExpiration;

event Issuance(bytes4 scheme, string name, uint campaignExpiration);
event Issuance(bytes4 indexed scheme, string name, uint campaignExpiration);

function issue(bytes4 _scheme, string _name, uint _campaignExpiration) isAttestor(Authorization.Issuance) public {
require(!campaignIssued);
Expand Down

0 comments on commit 4fa720b

Please sign in to comment.