See the following PR in the DIVA Protocol repo for reference: https://github.com/divaprotocol/diva-protocol-v1/pull/52