Joystream / Joystream/joystream

Question: Cashout limit limits

Open
#4,278 0 comments 0 reactions 0 assignees View on GitHub
content-pallet post-mainnet question runtime
Dominant language
Rust
Stars
1.4k
Forks
116
PR merge metrics
No merged PRs in 30d

Description

We have limits on the limits the lead can set, so spefically

```Rust
pub const MinimumCashoutAllowedLimit
pub const MaximumCashoutAllowedLimit
```

constrain what lead can do in `update_channel_payouts` to update the _actual limts_ in storage

```Rust
pub MaxCashoutAllowed get(fn max_cashout_allowed) config(): BalanceOf;
pub MinCashoutAllowed get(fn min_cashout_allowed) config(): BalanceOf;
```

do we really need this? This was perhaps even an audit finding, not sure :D

┆Issue is synchronized with this [Asana task](https://app.asana.com/0/1201958687417145/1202956815666552) by [Unito](https://www.unito.io)

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.