Let's some code speak from myself: https://github.com/vladprotocol/alife-contracts/blob/master/contracts/NftFarmV2.sol https://github.com/vladprotocol/alife-contracts/blob/master/test/NftMinting.test.js (test-case is not complete yet).
Showing 1 Sol Experts profiles out of 1+ Subscribe to Talent List to access them all.