{"id":20640524,"url":"https://github.com/kovart/challenge-1","last_synced_at":"2025-06-11T17:02:35.637Z","repository":{"id":97651942,"uuid":"421409457","full_name":"kovart/challenge-1","owner":"kovart","description":"Agent for a well-known security protocol 🤫","archived":false,"fork":false,"pushed_at":"2021-10-26T15:20:07.000Z","size":172,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-16T11:45:42.871Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kovart.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-26T12:09:11.000Z","updated_at":"2021-10-26T15:20:09.000Z","dependencies_parsed_at":"2023-06-26T02:09:50.025Z","dependency_job_id":null,"html_url":"https://github.com/kovart/challenge-1","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kovart/challenge-1","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kovart%2Fchallenge-1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kovart%2Fchallenge-1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kovart%2Fchallenge-1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kovart%2Fchallenge-1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kovart","download_url":"https://codeload.github.com/kovart/challenge-1/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kovart%2Fchallenge-1/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259301676,"owners_count":22836975,"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-16T15:29:47.234Z","updated_at":"2025-06-11T17:02:35.620Z","avatar_url":"https://github.com/kovart.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Compound cToken Exchange Rate Agent\n\n## Description\n\nThis agent monitors Ethereum network and alert if cToken exchange rate has changed.\n\n## Compound Configs\n\nTo make the agent more testable, all Compound configs are parsed\nfrom the [compound-finance/compound-config](https://github.com/compound-finance/compound-config)\nofficial repository and used depending on the `network` property provided in the block event.\n\n## Variables\n\n#### ALERT_DROP_RATE: `number`\n- Describes the minimum change needed to trigger the alert.\n- Can be positive or negative\n\nExamples:\n```javascript\nconst ALERT_DROP_RATE = 0.2; // alert if dropped by 20% or more\n\nconst ALERT_DROP_RATE = -2.5; // alert if increased by 250% or more\n```\n\n\n## Supported Chains\n\n- Ethereum\n\n## Alerts\n\n- COMP-CTOKEN-RATE-0\n  - Fired when cToken exchange rate has changed by `ALERT_DROP_RATE` or more\n  - Severity is always set to \"medium\"\n  - Type is set to \"high\" if the rate decreased, and \"info\" if it increased\n  - `Metadata` \n    - `currentRate` Current exchange rate\n    - `previousRate` Previous exchange rate\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkovart%2Fchallenge-1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkovart%2Fchallenge-1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkovart%2Fchallenge-1/lists"}