Adding calcSize to view the contract size to avoid them being over 24kb
Force 8.12.0 node version
Rename BtcPriceProvider to PriceProvider as it's now used also for the MoC Token
Calculate comissions acording to payment method and function
Set the comission rates in MocInrate
Allow the user to pay in MoC or rBTC for mint and redeem of DOC, BPRO and BPROX
Add MocPrice and MocComision in the mint and redeem events of DOC, BPRO and BPROX
Add MocToken to MocState
Create structs to use less variable to avoid Stack too deep error on MocExhance.sol
A refactor of MoC.sol will be needed in the near future as it's getting close to 24 kb
Add test for all of the mentioned above
Don't bail on test failure, this allows to see exactly what is failing and get events information from the failing tests
Adding calcSize to view the contract size to avoid them being over 24kb Force 8.12.0 node version Rename BtcPriceProvider to PriceProvider as it's now used also for the MoC Token Calculate comissions acording to payment method and function Set the comission rates in MocInrate Allow the user to pay in MoC or rBTC for mint and redeem of DOC, BPRO and BPROX Add MocPrice and MocComision in the mint and redeem events of DOC, BPRO and BPROX Add MocToken to MocState Create structs to use less variable to avoid Stack too deep error on MocExhance.sol A refactor of MoC.sol will be needed in the near future as it's getting close to 24 kb Add test for all of the mentioned above Don't bail on test failure, this allows to see exactly what is failing and get events information from the failing tests