{"id":19096811,"url":"https://github.com/makerdao/keg","last_synced_at":"2025-04-18T16:31:11.582Z","repository":{"id":51262753,"uuid":"229838973","full_name":"makerdao/keg","owner":"makerdao","description":null,"archived":true,"fork":false,"pushed_at":"2021-05-18T15:39:40.000Z","size":87,"stargazers_count":8,"open_issues_count":1,"forks_count":6,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-11T19:49:46.154Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Solidity","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/makerdao.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-12-23T23:50:10.000Z","updated_at":"2024-12-21T17:30:27.000Z","dependencies_parsed_at":"2022-09-04T05:23:19.168Z","dependency_job_id":null,"html_url":"https://github.com/makerdao/keg","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makerdao%2Fkeg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makerdao%2Fkeg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makerdao%2Fkeg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makerdao%2Fkeg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/makerdao","download_url":"https://codeload.github.com/makerdao/keg/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249517935,"owners_count":21284861,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T03:37:51.975Z","updated_at":"2025-04-18T16:31:11.356Z","avatar_url":"https://github.com/makerdao.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MCD Keg\n\nStreaming payment system for MakerDAO. Payment sources are defined as `Taps` and streamed into the `Keg` for pass-through distribution to the end target(s). Tokens are never at rest inside any of these contracts.\n\nThe Keg has pre-defined `Flights` which map human-level strings to distribution targets allocated by percentage.\n\n`seat()` creates a new `flight` distribution.\n\n`revoke()` deletes a distribution.\n\n## Tap Sources\n\n### Tap\n\nThe `Tap` is the most common type of payment source. It is fixed rate that `pump()` can be called on it anytime to send any outstanding funds along. The funds are pulled from the surplus buffer (`vow`) via `vat.suck()`. Be aware that `rate` is unbounded and could potentially result in system flop auctions.\n\n### FlapTap\n\nThe `FlapTap` is a singleton Tap which forwards a fixed percentage that would otherwise be headed for flap auctions (MKR burner). This can be used to allocate a % of profit to be redirected towards other contracts.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakerdao%2Fkeg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmakerdao%2Fkeg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakerdao%2Fkeg/lists"}