monerium / smart-contracts

ERC20 compatible e-money deployed on Ethereum
https://monerium.com
Apache License 2.0
35 stars 21 forks source link

Remove circular dependency #1

Closed gislik closed 6 years ago

gislik commented 6 years ago

Truffle manages circular dependencies for the developer. When compiling directly with solc the following circular dependency becomes a problem:

SmartController -> MintableController -> StandardToken -> TokenFrontend -> SmartController

The solution is to remove the dependency between StandardToken -> TokenFrontend and relying on the address only.