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

Track investments/redemptions in onchain cash asset #163

Closed
hieronx opened this issue May 27, 2024 · 0 comments · Fixed by #188 · May be fixed by #189
Closed

Track investments/redemptions in onchain cash asset #163

hieronx opened this issue May 27, 2024 · 0 comments · Fixed by #188 · May be fixed by #189
Assignees
Labels
Story Issue covering a requirement as user story

Comments

@hieronx
Copy link
Contributor

hieronx commented May 27, 2024

When an epoch is executed, this should create

  • If total investments > 0, an AssetTransaction with type=DepositFromInvestments for asset ID = 0 (onchain cash)
  • If total redemptions > 0, an AssetTransaction with type=WithdrawalForRedemptions for asset ID = 0 (onchain cash)
  • If total fees paid > 0, an AssetTransaction with type=WithdrawalForFees for asset ID = 0 (onchain cash)
@filo87 filo87 added the Story Issue covering a requirement as user story label Jun 3, 2024
@filo87 filo87 self-assigned this Jun 3, 2024
hieronx pushed a commit that referenced this issue Jun 4, 2024
* chore: rename .env.example

* chore: update schema

* feat: track investments/redemptions in onchain cash asset
Fixes #163
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Story Issue covering a requirement as user story
Projects
None yet
2 participants