We’ve made available an implementation of financial options called ohmydai: https://ohmydai.io/

The github URL is: https://github.com/ohmydai/ohmydai-contracts/

We leveraged the tooling provided by OpenZeppelin SDK, the contract itself uses the ERC20 base implementation of OpenZeppelin, and the final product is available for reuse as an Ethereum package on npm: https://www.npmjs.com/package/@ohmydai/contracts