MOC Integration Conversion

In order to do the converion of DLLR into rBTC via Money-on-Chain protocol (MOC), we implemented an integrator: the MocIntergration contract.

Conversion of DLLR into rBTC via Money on Chain Integrator

Redeeming DLLR into rBTC via Money on Chain Integrator Contract

The redemption of DLLR asset into native asset in RSK, is intrincate, but mainly implies the DLLR.burn of meta-asset token, and then the conversion of available DOC tokens into rBTC using MOC protocol in favour of Masset contract and then sending these rBTC to the user.

function getDocFromDllrAndRedeemRbtcWithPermit2(
        ISignatureTransfer.PermitTransferFrom memory permit,
        bytes memory signature
    ) external 

Arguments

Name
Type
Description

permit

PermitTransferFrom struct

data containing the specifications of the conversion

signature

permit standard struct data

the signature that authorizes the conversion

Last updated