Premined contract functions.