This GitHub repository contains the smart contract implementation of the Drex Central Bank Digital Currency (CBDC) using Solidity. The contract provides functionalities for managing the digital currency, including minting, transferring, burning, freezing, and checking balances.
This PR implements
SwapTwoSteps
exactly as defined in the Bacen documentation.Assumptions and inner workings:
RealTokenizado
and inRealDigital
This branch is built on top of the SwapOneStep branch. Merge PR https://github.com/ioralabs/realdigital_smartcontracts/pull/14 before reviewing this one.