Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/reserve-protocol/throttle-wallet
https://github.com/reserve-protocol/throttle-wallet
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/reserve-protocol/throttle-wallet
- Owner: reserve-protocol
- Created: 2023-05-23T15:16:51.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-23T19:47:24.000Z (10 months ago)
- Last Synced: 2024-08-08T20:33:10.717Z (5 months ago)
- Language: Solidity
- Size: 6.92 MB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Audit: audits/Reserve Throttle Wallet - Zellic Audit Report.pdf
Awesome Lists containing this project
README
# Reserve Throttle Wallet (SlowerWallet)
This contract is meant to hold funds and allow USER to withdraw them at a pre-specified maximum rate (1b / month).
## Deployment
- [Throttle Wallet (SlowerWallet)](https://etherscan.io/address/0x0774dF07205a5E9261771b19afa62B6e757f7eF8)
## Spec
### Settings
- Throttle period: 4 weeks
- Throttle limit: 1 billion tokens
- Timelock duration: 4 weeks### User Role
- User CAN initiate a withdrawal.
- User CAN complete a withdrawal.
- User CANNOT change the address of the User.
- User CANNOT change the address of the Admin.### Admin Role
- Admin CAN set the address of the User.
- Admin CAN give up its role as Admin (set Admin to 0x0).
- Admin CANNOT arbitrarily set a new Admin address.
- Admin CAN cancel a withdrawal.
- Admin CANNOT initiate a withdrawal.### Public
- Anyone can view the amount of funds that are available to withdraw within the current throttle bounds.
- Anyone can view:
- the status and amount of any initiated withdrawals
- the last time a withdrawal was initiated
- the last remaining throttle amount
- the total amount of funds that are pending the completion of a withdrawal
- the next withdrawal nonce
- the address of the current Admin
- the address of the current User