Skip to content

Commit

Permalink
add getter
Browse files Browse the repository at this point in the history
  • Loading branch information
0x3bfc committed Jun 11, 2020
1 parent af4d7ba commit 67fc5ba
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions contracts/Factory.sol
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,12 @@ contract Factory is Deployer, Converter {

currentTokenCount += 1;
}

function getCurrentTokenIndex()
external
view
returns (uint256)
{
return currentTokenCount;
}
}

0 comments on commit 67fc5ba

Please sign in to comment.