{"id":22210590,"url":"https://github.com/web3batman/solidity-vault-contract","last_synced_at":"2026-03-09T18:38:27.426Z","repository":{"id":241535402,"uuid":"798157032","full_name":"web3batman/solidity-vault-contract","owner":"web3batman","description":"Solidity Vault smart contract designed to securely manage the deposits and withdrawals of ERC-20 tokens of a user","archived":false,"fork":false,"pushed_at":"2024-05-26T15:14:10.000Z","size":8,"stargazers_count":10,"open_issues_count":0,"forks_count":4,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-03T14:48:34.489Z","etag":null,"topics":["solidity"],"latest_commit_sha":null,"homepage":"","language":"Solidity","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/web3batman.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":"2024-05-09T07:53:05.000Z","updated_at":"2024-08-02T08:12:05.000Z","dependencies_parsed_at":"2024-05-29T00:44:31.728Z","dependency_job_id":null,"html_url":"https://github.com/web3batman/solidity-vault-contract","commit_stats":null,"previous_names":["echooferen/solidity-vault-contract","web3batman/solidity-vault-contract"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/web3batman/solidity-vault-contract","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web3batman%2Fsolidity-vault-contract","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web3batman%2Fsolidity-vault-contract/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web3batman%2Fsolidity-vault-contract/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web3batman%2Fsolidity-vault-contract/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/web3batman","download_url":"https://codeload.github.com/web3batman/solidity-vault-contract/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web3batman%2Fsolidity-vault-contract/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30307548,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T17:35:44.120Z","status":"ssl_error","status_checked_at":"2026-03-09T17:35:43.707Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["solidity"],"created_at":"2024-12-02T20:13:52.756Z","updated_at":"2026-03-09T18:38:27.396Z","avatar_url":"https://github.com/web3batman.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Vault Contract\n\n## Overview\n\nThe Vault contract is a Solidity smart contract designed to securely manage the deposits and withdrawals of ERC-20 tokens of a user. It includes features like whitelisting of tokens, pausing and unpausing of deposit/withdrawal functions, and access control for administrative functions.\n\n## Features\n\n- **Deposit and Withdrawal**: Users can deposit and withdraw whitelisted ERC-20 tokens deposited by them.\n- **Token Whitelisting**: Admin can whitelist tokens that are allowed for deposit.\n- **Pause/Unpause**: Admin can pause or unpause the contract, restricting or allowing deposits and withdrawals.\n- **Access Control**: Only admin can pause/unpause the contract and whitelist tokens.\n\n## Requirements\n\n- [Solidity](https://soliditylang.org/)\n- [Foundry](https://getfoundry.sh/)\n\n## Setup\n\n1. **Clone the repository**:\n   ```bash\n   git clone [REPOSITORY_URL]\n   cd [REPOSITORY_DIRECTORY]\n   ```\n\n2. **Compile the contract**:\n   ```bash\n   forge build\n   ```\n\n## Running Tests\n\nTo run the test suite:\n\n```bash\nforge test\n```\n\nThis command will execute the test cases defined in the `test/Vault.t.sol` file, ensuring the contract functions as expected.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweb3batman%2Fsolidity-vault-contract","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweb3batman%2Fsolidity-vault-contract","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweb3batman%2Fsolidity-vault-contract/lists"}