{"id":22111086,"url":"https://github.com/volumefi/offramp-eure-bot","last_synced_at":"2026-02-08T14:03:18.690Z","repository":{"id":207433851,"uuid":"705590658","full_name":"VolumeFi/offramp-eure-bot","owner":"VolumeFi","description":null,"archived":false,"fork":false,"pushed_at":"2024-08-29T20:32:39.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-07-27T20:03:39.053Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Vyper","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/VolumeFi.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":"2023-10-16T10:06:15.000Z","updated_at":"2024-08-29T20:32:40.000Z","dependencies_parsed_at":"2023-12-22T15:46:32.212Z","dependency_job_id":"b27ce96d-a1e7-415f-9d22-bea0b2003a9c","html_url":"https://github.com/VolumeFi/offramp-eure-bot","commit_stats":null,"previous_names":["volumefi/offramp-eure-bot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/VolumeFi/offramp-eure-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VolumeFi%2Fofframp-eure-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VolumeFi%2Fofframp-eure-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VolumeFi%2Fofframp-eure-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VolumeFi%2Fofframp-eure-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VolumeFi","download_url":"https://codeload.github.com/VolumeFi/offramp-eure-bot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VolumeFi%2Fofframp-eure-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29232802,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T13:49:52.259Z","status":"ssl_error","status_checked_at":"2026-02-08T13:49:18.683Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-12-01T10:33:09.198Z","updated_at":"2026-02-08T14:03:18.650Z","avatar_url":"https://github.com/VolumeFi.png","language":"Vyper","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Offramp EURe bot Vyper smart contract\n\n## offramp_bot_eth.vy\n\n### deposit\n\nThis function deploys a bot contract using blueprint and create a loan.\n\n| Key        | Type       | Description                             |\n| ---------- | ---------- | --------------------------------------- |\n| swap_infos | SwapInfo[] | swap info array to swap tokens on Curve |\n\n### SwapInfo (struct)\n\nThis struct is to define swap information using Curve swap router.\n\n| Key         | Type          | Description                                                                                              |\n| ----------- | ------------- | -------------------------------------------------------------------------------------------------------- |\n| route       | address[11]   | Array of tokens, pool or zap addresses that Curve swap router uses for exchange into DAI                 |\n| swap_params | uint256[5][5] | Multidimensional array of [i, j, swap type, pool_type, n_coins] that Curve swap router uses for exchange |\n| amount      | uint256       | The amount of input token (`route[0]`) to be sent                                                        |\n| expected    | uint256       | The minimum DAI amount received after the final swap                                                     |\n| pools       | address[5]    | Array of pools for swaps via zap contracts. This parameter is only needed for swap_type = 3.             |\n\n## offramp_bot_eth.vy\n\n### swap\n\nThis function swaps xDAI into EURe and sends to the depositor. Compass-EVM can run this function.\n\n| Key        | Type    | Description                                                                              |\n| ---------- | ------- | ---------------------------------------------------------------------------------------- |\n| receiver   | address | Array of tokens, pool or zap addresses that Curve swap router uses for exchange into DAI |\n| amount     | uint256 | The amount of DAI                                                                        |\n| expected   | uint256 | The minimum EURe amount received after the final swap                                    |\n| deposit_id | uint256 | Deposit id on the ETH Vyper contract                                                     |\n| **return** | uint256 | EURe amount that the user receives                                                       |\n\n### get_expected\n\nThis view function returns EURe amount from Curve exchange by DAI amount.\n\n| Key        | Type    | Description                                 |\n| ---------- | ------- | ------------------------------------------- |\n| amount     | uint256 | Input DAI amount                            |\n| **return** | uint256 | Expected EURe amount that the user receives |\n\n### update_compass\n\nUpdate Compass-EVM address.  This is run by Compass-EVM only.\n\n| Key         | Type    | Description             |\n| ----------- | ------- | ----------------------- |\n| new_compass | address | New compass-evm address |\n\n### update_refund_wallet\n\nUpdate gas refund wallet address.  This is run by Compass-EVM only.\n\n| Key               | Type    | Description               |\n| ----------------- | ------- | ------------------------- |\n| new_refund_wallet | address | New refund wallet address |\n\n### update_fee\n\nUpdate gas fee amount to pay.  This is run by Compass-EVM only.\n\n| Key     | Type    | Description    |\n| ------- | ------- | -------------- |\n| new_fee | uint256 | New fee amount |\n\n### set_paloma\n\nSet Paloma CW address in bytes32.  This is run by Compass-EVM only and after setting paloma, the bot can start working.\n\n### update_service_fee_collector\n\nUpdate service fee collector address.  This is run by the original fee collector address. The address receives service fee from swapping.\n\n| Key                       | Type    | Description                       |\n| ------------------------- | ------- | --------------------------------- |\n| new_service_fee_collector | address | New service fee collector address |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvolumefi%2Fofframp-eure-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvolumefi%2Fofframp-eure-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvolumefi%2Fofframp-eure-bot/lists"}