Joystream / Joystream/joystream

Add recipient for TX fees from AMM

Open
#4,837 2 comments 0 reactions 1 assignee Claimed by @dobertRowneySr View on GitHub
crt-v2 project_token runtime
Dominant language
Rust
Stars
1.4k
Forks
116
PR merge metrics
No merged PRs in 30d

Description

### Background
Currently in the PR outstanding #4750
The transaction fees are deposited into an account internal to the `project_token` pallet using an address for each `token_id`:
``` rust
let amm_treasury_account = ::ModuleId::get().into_sub_account_truncating(&("AMM", token_id))
```

Nothing much is possible to do with these funds and they are burned on amm deactivation (any amount exceeding existential deposit is burned to be correct)

### Proposal
We want to redirect these funds to other recipient that can make use of them candidates:
- council budget account
- creator channel internal account

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.