Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tree salary expansion #83

Open
wants to merge 17 commits into
base: multichain
Choose a base branch
from
Open

Tree salary expansion #83

wants to merge 17 commits into from

Conversation

c0rv0s
Copy link
Contributor

@c0rv0s c0rv0s commented Apr 15, 2021

Contributor Logger contract functions as a database for salary entries:

  • payment entries held on chain in a mapping
  • scripts/actions/salary/salaries.py reads on chain data and generates json file of payments for the current period then writes a checkpoint on chain for the time period processed
  • tests added at tests/rewards_tree/test_salaries.py
  • cli tool added in scripts/actions/salary/convert_time.py that converts salary rates to a per second amount, i.e. 1000 tokens/month converted to x wei/second

@c0rv0s c0rv0s requested a review from dapp-whisperer April 27, 2021 03:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant