{"id":18304594,"url":"https://github.com/numtel/solidity-ordered-address-set","last_synced_at":"2025-04-09T10:36:55.296Z","repository":{"id":150130991,"uuid":"543739388","full_name":"numtel/solidity-ordered-address-set","owner":"numtel","description":null,"archived":false,"fork":false,"pushed_at":"2022-09-30T18:38:33.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-15T04:42:34.646Z","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/numtel.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":"2022-09-30T18:35:01.000Z","updated_at":"2022-09-30T18:36:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"b142d53d-414a-426e-a3b8-a01c9eb6ef7d","html_url":"https://github.com/numtel/solidity-ordered-address-set","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/numtel%2Fsolidity-ordered-address-set","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numtel%2Fsolidity-ordered-address-set/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numtel%2Fsolidity-ordered-address-set/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/numtel%2Fsolidity-ordered-address-set/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/numtel","download_url":"https://codeload.github.com/numtel/solidity-ordered-address-set/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248021426,"owners_count":21034664,"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-05T15:29:29.400Z","updated_at":"2025-04-09T10:36:55.265Z","avatar_url":"https://github.com/numtel.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Solidity Ordered Address Set\n\nInspired by [Rob Hitchens' SetTypes](https://github.com/rob-Hitchens/SetTypes) and [OpenZeppelin EnumerableSet](https://docs.openzeppelin.com/contracts/3.x/api/utils#EnumerableSet), the `OrderedAddressSet` maintains the order of elements during item removal, and items can be inserted at any index.\n\nThe downside is that determining the index of a key requires scanning the list.\n\nIncludes `concat`, `slice`, and `toAddress` functions from [Gonçalo Sá's `BytesLib.sol`](https://github.com/GNSPS/solidity-bytes-utils/blob/master/contracts/BytesLib.sol).\n\n## Installation for Development\n\n```\n$ git clone https://github.com/numtel/solidity-ordered-address-set.git\n$ cd solidity-ordered-address-set\n$ npm install\n```\n\nDownload the `solc` compiler. This is used instead of `solc-js` because it is much faster. Binaries for other systems can be found in the [Ethereum foundation repository](https://github.com/ethereum/solc-bin/).\n```\n$ curl -o solc https://binaries.soliditylang.org/linux-amd64/solc-linux-amd64-v0.8.13+commit.abaa5c0e\n$ chmod +x solc\n```\n\n## Testing Contract\n\n```\n# Build contracts before running tests\n$ npm run build-dev\n\n$ npm test\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnumtel%2Fsolidity-ordered-address-set","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnumtel%2Fsolidity-ordered-address-set","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnumtel%2Fsolidity-ordered-address-set/lists"}