1.2 KiB
1.2 KiB
Proposal 39 - Project expenses one year reimbursement
Description
- Send reimbursement amount in TORN tokens to developer and immediately convert it in any stablecoin
Requirements
- Rust (Need only for Windows)
- Foundryup (Windows, Linux)
- Node 16 or higher (Windows, Linux)
Installation
git clone --recurse-submodules https://git.tornado.ws/Theo/proposal-39-one-year-reimbursement
cd proposal-39-one-year-reimbursement
npm install
Testing
npm run test:windows
or
npm run test:linux
Test with gas
npm run test:gas:windows
or
npm run test:gas:linux
Verification
Amount of tokens is calculated in this script using Binance 7-day average price
Test yourself:
npm run calculateReimbursementAmount
Contract
Proposal deployed contract code: