In-depth documentation on Oms Cascade and how it integrates with the rest of the Oms Platform is available at Oms.Finance
npm install
truffle compile --config truffle_config_v5.js
truffle compile --config truffle_config_v6.js
truffle test
truffle-flattener contracts/v5/Cascade.sol > scratch/Cascade.sol
truffle-flattener contracts/v6/OmsShare.sol > scratch/OmsShare.sol
Use the following if you want to flatten the contract and also process only one SPDX licence identifier.
truffle-flattener contracts/v5/Cascade.sol | awk '/SPDX-License-Identifier/&&c++>0 {next} 1' > scratch/Cascade.sol
truffle-flattener contracts/v6/OmsShare.sol | awk '/SPDX-License-Identifier/&&c++>0 {next} 1' > scratch/OmsShare.sol
npm run run95
Open Eth95 in a browser by going to http://localhost:3000/