{"id":21221806,"url":"https://github.com/primitivefinance/portfolio-erc20-wrapper","last_synced_at":"2025-07-03T09:31:49.651Z","repository":{"id":188809560,"uuid":"673242404","full_name":"primitivefinance/portfolio-erc20-wrapper","owner":"primitivefinance","description":null,"archived":false,"fork":false,"pushed_at":"2023-08-16T13:59:44.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-15T01:14:52.312Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/primitivefinance.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-08-01T07:34:54.000Z","updated_at":"2023-08-16T22:32:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"b7db1094-e934-427d-b852-16bec1d99de8","html_url":"https://github.com/primitivefinance/portfolio-erc20-wrapper","commit_stats":null,"previous_names":["primitivefinance/portfolio-erc20-wrapper"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/primitivefinance/portfolio-erc20-wrapper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primitivefinance%2Fportfolio-erc20-wrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primitivefinance%2Fportfolio-erc20-wrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primitivefinance%2Fportfolio-erc20-wrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primitivefinance%2Fportfolio-erc20-wrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/primitivefinance","download_url":"https://codeload.github.com/primitivefinance/portfolio-erc20-wrapper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primitivefinance%2Fportfolio-erc20-wrapper/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263300323,"owners_count":23445216,"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-20T22:33:50.928Z","updated_at":"2025-07-03T09:31:49.628Z","avatar_url":"https://github.com/primitivefinance.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Portfolio ERC20 Wrapper\n\nWrap Portfolio liquidity pool tokens into ERC20!\n\n## Overview\n\nPortfolio positions are represented as ERC1155 tokens, this wrapper allows you to convert one or multiple of these tokens into a single ERC20 token.\n\n## How does it work?\n\nWrapped tokens are deployed by calling the `deploy()` function of the factory contract and passing the following parameters:\n\n| Parameter | Description |\n|---|---|\n| name | Name of the ERC20 token |\n| symbol | Symbol of the ERC20 token |\n| poolIds | Array of pool ids to wrap |\n\nPlease note that the factory contract is linked to a specific Portfolio contract, so the pool ids must exist in that specific contract. You can check the address of the Portfolio contract in the factory contract by calling `PORTFOLIO()`.\n\n## Current deployments\n\n| Network | Address |\n|---|---|\n| Sepolia | [0xDccA88Cd8eEA8d5ff81cC7a2382B865240668444](https://sepolia.etherscan.io/address/0xDccA88Cd8eEA8d5ff81cC7a2382B865240668444) |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprimitivefinance%2Fportfolio-erc20-wrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprimitivefinance%2Fportfolio-erc20-wrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprimitivefinance%2Fportfolio-erc20-wrapper/lists"}