You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Related Github tickets
- ClosesVolumeFi#1711
# Background
Add a limit to the amount of tokens transferred out from paloma within a
specified window, per token. This is defined by a new governance vote.
- Add governance vote. Can define token, window size, token limit and
list of exempt addresses.
- Keep a counter of the number of tokens transferred and the block
height at the start of the limiting window.
- Before accepting a transfer, update the counters and check the limits.
- Transfers are refused if over the transfer limit.
# Testing completed
- [x] test coverage exists or has been added/updated
- [x] tested in a private testnet
# Breaking changes
- [x] I have checked my code for breaking changes
- [x] If there are breaking changes, there is a supporting migration.
Short: "Sets the bridge transfer limit, and optionally exempt addresses",
169
+
Long: `Set the bridge transfer limit for the specified token.
170
+
[limit-period] must be one of: NONE, DAILY, WEEKLY, MONTHLY, YEARLY. Setting it to NONE effectively disables the limit.
171
+
[limit-period] will be converted to a block window. At most, [limit] tokens can be transferred within each block window. After that transfers will fail.`,
0 commit comments