I'm trying to compile a code for a crowdsale contract (Timed and with allowance) from openzeppelin library that is based on a deployed token. However during compilation on remix i get a syntax error as below

browser/TestCrowdsale.sol:330:11: DeclarationError: Identifier not found or not unique.

using Address for address;


I tried with latest compiler 0.6.1 and with 0.5.0 still same result.

can someone advise whats the issue with the code

Also where should i pass the address of the deployed contract to the crowdsale contract?

Code: https://paste2.org/ULhxpLAv

  • Can you provide the code in a more usable format?
    – Steven V
    Jan 24, 2020 at 17:34

1 Answer 1


Looking into it quickly I noticed you did not import the library Address and this is probably why your using Address as address doesn't work. Hope this helps.

Your Answer

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

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