Smart Contract Code Structure
Here's the structure of all the relevant contracts to the protocol.
Users interact with the supplier-contract in the bitcoin directory to interact with Bitcoin in the protocol.
The pool contracts control loans for funding loans, sending funds and withdrawing funds.
The tokens available are minted for the purposes of accounting rewards and fund sent to the protocol. Can be transferred to allow others to claim rewards.
Copy link