Dentons advises lender on gold-mining project