Truffle configured project to work in yearn contracts
npm install
npm run compile
After deploying a contract you can run in this project the following command:
truffle run verify contract_file_name@deployed_address --network infuraMainnet --license MIT