Project expenses reimbursement for next year (until December 2024)
Go to file
Theo 583de2f5a6 Add verified contractlink in README 2023-11-23 20:29:28 -08:00
data Recalculate exact TORN amount 2023-11-23 19:54:52 -08:00
lib Add reimbursement amount calculation, proposal code and tests 2023-11-22 16:13:01 -08:00
scripts Recalculate exact TORN amount 2023-11-23 19:54:52 -08:00
src Recalculate exact TORN amount 2023-11-23 19:54:52 -08:00
test Recalculate exact TORN amount 2023-11-23 19:54:52 -08:00
.env.bat.example Initial commit 2023-11-22 23:43:23 +01:00
.env.example Initial commit 2023-11-22 23:43:23 +01:00
.gitignore Initial commit 2023-11-22 23:43:23 +01:00
.gitmodules Initial commit 2023-11-22 23:43:23 +01:00
README.md Add verified contractlink in README 2023-11-23 20:29:28 -08:00
foundry.toml Initial commit 2023-11-22 23:43:23 +01:00
package.json Add actual info about proposal in README 2023-11-22 16:20:15 -08:00
remappings.txt Initial commit 2023-11-22 23:43:23 +01:00
tsconfig.json Initial commit 2023-11-22 23:43:23 +01:00

Proposal 39 - Project expenses one year reimbursement

Description

  • Send reimbursement amount in TORN tokens to developer and immediately convert it in any stablecoin

Requirements

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: 0x585a4f4e377BA553ed2631626eA203DfbFEe37a5