{"id":25268368,"url":"https://github.com/symbioticfi/collateral","last_synced_at":"2025-10-27T06:31:40.134Z","repository":{"id":242081620,"uuid":"787923159","full_name":"symbioticfi/collateral","owner":"symbioticfi","description":"Symbiotic Collateral smart contracts","archived":false,"fork":false,"pushed_at":"2025-01-28T07:55:10.000Z","size":1366,"stargazers_count":39,"open_issues_count":0,"forks_count":12,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-01-28T08:30:55.304Z","etag":null,"topics":["collateral","smart-contracts"],"latest_commit_sha":null,"homepage":"https://symbiotic.fi/","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/symbioticfi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":"audits/ChainSecurity_DefaultCollateral.pdf","citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-17T12:47:24.000Z","updated_at":"2025-01-28T07:55:15.000Z","dependencies_parsed_at":"2024-05-31T15:14:55.684Z","dependency_job_id":"75f9be77-b809-4e0f-a997-f6c77563a123","html_url":"https://github.com/symbioticfi/collateral","commit_stats":null,"previous_names":["symbioticfi/collateral"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/symbioticfi%2Fcollateral","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/symbioticfi%2Fcollateral/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/symbioticfi%2Fcollateral/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/symbioticfi%2Fcollateral/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/symbioticfi","download_url":"https://codeload.github.com/symbioticfi/collateral/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238454722,"owners_count":19475298,"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":["collateral","smart-contracts"],"created_at":"2025-02-12T10:29:34.571Z","updated_at":"2025-10-27T06:31:34.825Z","avatar_url":"https://github.com/symbioticfi.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"**[Symbiotic Protocol](https://symbiotic.fi) is an extremely flexible and permissionless shared security system.**\n\nThis repository contains a Default Symbiotic Collateral implementation.\n\n## Collateral\n\n**Collateral** - a concept introduced by Symbiotic that brings capital efficiency and scale by allowing assets used to secure Symbiotic networks to be held outside the Symbiotic protocol itself, such as in DeFi positions on networks other than Ethereum.\n\nSymbiotic achieves this by separating the ability to slash assets from the underlying asset, similar to how liquid staking tokens create tokenized representations of underlying staked positions. Technically, collateral positions in Symbiotic are ERC-20 tokens with extended functionality to handle slashing incidents if applicable. In other words, if the collateral token supports slashing, it should be possible to create a `Burner` responsible for properly burning the asset.\n\n## Default Collateral\n\nDefault Collateral is a simple implementation of the collateral token. Technically, it's a wrapper over any ERC-20 token with additional slashing history functionality. This functionality is optional and not required in most cases.\n\nThe implementation can be found [here](./src/contracts/defaultCollateral).\n\n## Security\n\nSecurity audits can be found [here](./audits).\n\n## Usage\n\n### Env\n\nCreate `.env` file using a template:\n\n```\nETH_RPC_URL=\nETH_RPC_URL_HOLESKY=\nETHERSCAN_API_KEY=\n```\n\n\\* ETH_RPC_URL_HOLESKY is optional.\u003cbr/\u003e\\* ETHERSCAN_API_KEY is optional.\n\n### Build\n\n```shell\nforge build\n```\n\n### Test\n\n```shell\nforge test\n```\n\n### Format\n\n```shell\nforge fmt\n```\n\n### Gas Snapshots\n\n```shell\nforge snapshot\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsymbioticfi%2Fcollateral","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsymbioticfi%2Fcollateral","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsymbioticfi%2Fcollateral/lists"}