I can't figure out what the brackets are for in this line of code, initializing the SingularDTVFund:

SingularDTVFund constant singularDTVFund = SingularDTVFund({{SingularDTVFund}});

1 Answer 1


Solidity compiler won't take it, as is. Without delving into their code, looks like handlebars to be interpolated by javascript before compiling and deploying.

{{SingularDTVFund}} probably going to be replaced by a deployed contract address in the migration process. So, it's saying SingularDTVFund(AtSomeAddress). More flexible than hardcoding 0x123...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.