{"id":15654240,"url":"https://github.com/banteg/lido-vault","last_synced_at":"2025-04-30T22:49:02.271Z","repository":{"id":44845301,"uuid":"322811262","full_name":"banteg/lido-vault","owner":"banteg","description":"Yearn Vault wrapper for Lido St. Ether","archived":false,"fork":false,"pushed_at":"2020-12-25T09:32:58.000Z","size":19,"stargazers_count":27,"open_issues_count":1,"forks_count":6,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-30T22:48:52.014Z","etag":null,"topics":["eth2","lido","vyper","yearn"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/banteg.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":"2020-12-19T09:29:12.000Z","updated_at":"2023-12-30T23:28:42.000Z","dependencies_parsed_at":"2022-09-24T19:52:07.149Z","dependency_job_id":null,"html_url":"https://github.com/banteg/lido-vault","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/banteg%2Flido-vault","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/banteg%2Flido-vault/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/banteg%2Flido-vault/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/banteg%2Flido-vault/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/banteg","download_url":"https://codeload.github.com/banteg/lido-vault/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251795386,"owners_count":21645019,"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":["eth2","lido","vyper","yearn"],"created_at":"2024-10-03T12:50:13.513Z","updated_at":"2025-04-30T22:49:02.244Z","avatar_url":"https://github.com/banteg.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Yearn Lido St. Ether Vault\n\nA wrapper for Lido stETH which uses underlying shares instead of balances which can change outside transfers.\n\nThe contract follows Yearn Vault conventions.\n\nMainnet deployment: [0x15a2B3CfaFd696e1C783FE99eed168b78a3A371e](https://etherscan.io/address/0x15a2b3cfafd696e1c783fe99eed168b78a3a371e)\n\n## Interface\n\nThe contract implements ERC20, as well as `permit`. It's all standard and not documented here.\n\nOnly the non-standard functionality is outlined below.\n\n### `__default__()`\nA shortcut to submit ether to Lido and deposit the received stETH into the Vault.\n\n### `deposit()`, `deposit(uint256)`, `deposit(uint256,address)`\nDeposit stETH tokens into the Vault\n\nParameters:\n- `tokens` The amount of stETH tokens to deposit (default: `balanceOf(msg.sender)`)\n- `recipient` The account to credit with the minted shares (default: `msg.sender`)\n\nReturns: The amount of minted shares\n\n### `withdraw()`, `withdraw(uint256)`, `withdraw(uint256,address)`\nWithdraw stETH tokens from the Vault.\n\nParameters:\n- `shares` The amount of shares to burn for stETH (default: `balanceOf(msg.sender)`)\n- `recipient` The account to credit with stETH (default: `msg.sender`)\n\nReturns: The amount of withdrawn stETH\n\n### `pricePerShare()`\nGet the vault share to stETH ratio.\n\nReturns: The value of a single share\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbanteg%2Flido-vault","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbanteg%2Flido-vault","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbanteg%2Flido-vault/lists"}