{"id":18357267,"url":"https://github.com/nethermindeth/forta-staking-vault","last_synced_at":"2025-06-30T06:07:34.895Z","repository":{"id":218821860,"uuid":"741442437","full_name":"NethermindEth/forta-staking-vault","owner":"NethermindEth","description":"Forta Vault for FORT holders to get access to FORT staking rewards abstracting the complexity of tracking scanning pools performance","archived":false,"fork":false,"pushed_at":"2025-06-20T09:52:35.000Z","size":177,"stargazers_count":2,"open_issues_count":3,"forks_count":4,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-06-20T10:45:50.184Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NethermindEth.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-10T12:06:11.000Z","updated_at":"2025-01-02T15:33:42.000Z","dependencies_parsed_at":"2024-03-24T22:26:44.604Z","dependency_job_id":"3f369606-c8b1-4bc8-9a24-8d3a5b0eca26","html_url":"https://github.com/NethermindEth/forta-staking-vault","commit_stats":null,"previous_names":["nethermindeth/forta-staking-vault"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NethermindEth/forta-staking-vault","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NethermindEth%2Fforta-staking-vault","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NethermindEth%2Fforta-staking-vault/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NethermindEth%2Fforta-staking-vault/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NethermindEth%2Fforta-staking-vault/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NethermindEth","download_url":"https://codeload.github.com/NethermindEth/forta-staking-vault/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NethermindEth%2Fforta-staking-vault/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262720641,"owners_count":23353450,"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-05T22:13:18.178Z","updated_at":"2025-06-30T06:07:34.863Z","avatar_url":"https://github.com/NethermindEth.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Forta Staking Vault\n\nForta Staking enable users to get rewards by staking their FORT tokens. Users need to analyze multiple pools and plan strategies to increase their rewards. Forta Vault introduces a deposit and forget way for user to participate in the staking pools delegating the responsability of increasing rewards to a operator.\n\n## Deployed Contracts\n\n| Contract                           | Polygon                                                                                                                       |\n|:-----------------------------------|:------------------------------------------------------------------------------------------------------------------------------|\n| FortaStakingVault (Proxy)          | [0xF22F690A41d22496496d4959acFFf0f3baCC24F1](https://polygonscan.com/address/0xf22f690a41d22496496d4959acfff0f3bacc24f1#code) |\n| FortaStakingVault (Implementation) | [0x35Bb253BF0802EAC46E42E46B9fA697a250aBA01](https://polygonscan.com/address/0x35bb253bf0802eac46e42e46b9fa697a250aba01#code) |\n| RedemptionReceiver                 | [0xcEcD2A3248863461c7E50930551E78CBea3098F1](https://polygonscan.com/address/0xcecd2a3248863461c7e50930551e78cbea3098f1#code) |\n| InactiveSharesDistributor          | [0x39B13e83dC24A8eC3Ecf48979e22860C1921ce69](https://polygonscan.com/address/0x39b13e83dc24a8ec3ecf48979e22860c1921ce69#code) |\n\n## Dependencies\n\nThis projects was developed with [foundry](https://book.getfoundry.sh/). Install it by executing\n\n```bash\ncurl -L https://foundry.paradigm.xyz | bash\n```\n\nor check other installation options [here](https://book.getfoundry.sh/getting-started/installation)\n\n## Deployment\n\n1.  Set deployer private key in the `.env` file\n    ```bash\n    PRIVATE_KEY=\n    ```\n    Make sure it starts with `0x` if it is in hexadecimal\n2.  Run the deployment script\n\n    ```bash\n    forge script Deploy --rpc-url \"your-rpc-url\" --broadcast\n    ```\n\n    1.  In order to verify the contracts deployed you can add the `--verify` flag if the api key of the explorer of the network used is set in the `.env`\n        ```bash\n        ETHERSCAN_API_KEY=\n        ```\n        \u003e Note that you can set any api key in that var, not necesarly from etherscan. e.g polygonscan api key can be a valid value if you use Polygon Mainnet or Mumbai RPCs.\n    2.  Some parameters can be set in the enviroment for custom deployments\n\n        ```bash\n        FORT_TOKEN=            # 0x9ff62d1FC52A907B6DCbA8077c2DDCA6E6a9d3e1 if omitted\n        FORTA_STAKING=         # 0xd2863157539b1D11F39ce23fC4834B62082F6874 if ommitted\n        VAULT_FEE=             # 0 if omitted\n        TREASURY_ADDRESS=      # Deployer if omitted\n        REWARDS_DISTRIBUTOR=   # 0xf7239f26b79145297737166b0C66F4919af9c507 if omitted\n        ```\n\n        Default values use addresses of Forta deployed contracts on Polygon\n\n\u003e Deploment script deploys a [TransparentUpgradeableProxy](https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/proxy/transparent/TransparentUpgradeableProxy.sol) to manage upgrades in the Forta vault.\n\n## Running Tests\n\nActual test suite depens on polygon mainnet to run, then, you need to configure a polygon rpc url in your `.env` file.\n\n```bash\nPOLYGON_RPC=https://polygon-rpc.com\n```\n\n\u003e The provided one in the example above is the public polygon rpc\n\nWith the rpc in place run\n\n```bash\n$ forge test\n```\n\nFor checking coverage run\n\n```bash\n$ forge coverage\n```\n\n## Documentation\n\nDocumentation for the smart contracts is inlined in the code using [natspec format](https://docs.soliditylang.org/en/latest/natspec-format.html). To generate a web page with documentation run:\n\n```bash\n$ forge doc -s\n```\n\nThen open the local documentation provided in the server.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnethermindeth%2Fforta-staking-vault","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnethermindeth%2Fforta-staking-vault","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnethermindeth%2Fforta-staking-vault/lists"}