pedrosgmagalhaes / drex_smartcontracts

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.
Other
49 stars 15 forks source link

[DO NOT MERGE] Swap two steps #15

Closed krzysztof-cywinski closed 1 year ago

krzysztof-cywinski commented 1 year ago

This PR implements SwapTwoSteps exactly as defined in the Bacen documentation.

Assumptions and inner workings:

This branch is built on top of the SwapOneStep branch. Merge PR https://github.com/ioralabs/realdigital_smartcontracts/pull/14 before reviewing this one.