{"id":37777606,"url":"https://github.com/crypto-com/cro-staking","last_synced_at":"2026-01-16T15:01:21.514Z","repository":{"id":37111450,"uuid":"292227926","full_name":"crypto-com/cro-staking","owner":"crypto-com","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-24T03:47:16.000Z","size":669,"stargazers_count":9,"open_issues_count":21,"forks_count":18,"subscribers_count":4,"default_branch":"develop","last_synced_at":"2023-03-03T19:48:41.505Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/crypto-com.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":"CODEOWNERS","security":null,"support":null}},"created_at":"2020-09-02T08:43:01.000Z","updated_at":"2022-06-28T10:43:55.000Z","dependencies_parsed_at":"2023-02-13T16:16:38.552Z","dependency_job_id":null,"html_url":"https://github.com/crypto-com/cro-staking","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/crypto-com/cro-staking","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crypto-com%2Fcro-staking","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crypto-com%2Fcro-staking/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crypto-com%2Fcro-staking/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crypto-com%2Fcro-staking/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crypto-com","download_url":"https://codeload.github.com/crypto-com/cro-staking/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crypto-com%2Fcro-staking/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28479406,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: 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":[],"created_at":"2026-01-16T15:01:11.781Z","updated_at":"2026-01-16T15:01:21.197Z","avatar_url":"https://github.com/crypto-com.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DeFi Swap | ERC 900 Contracts\n[![Build Status](https://github.com/crypto-com/cro-staking/actions/runs/237971754)](https://github.com/crypto-com/cro-staking/actions/runs/237971754)\n\n*Inspired by [Codex Protocol | ERC 900 Contracts](https://github.com/codex-protocol/contract.erc-900)*\n\n## Background\nFor background on ERC-900 itself, view the issue in the EIP repo here: https://github.com/ethereum/EIPs/issues/900\n\n## Contracts\n- ERC900.sol - ERC-900 interface\n- ERC900BasicStakeContract.sol and BasicStakingContract.sol- A basic implementation of the ERC-900 interface that allows staking of specified ERC20 token.\n\n## Code coverage\n\n```\n-------------------------------|----------|----------|----------|----------|----------------|\nFile                           |  % Stmts | % Branch |  % Funcs |  % Lines |Uncovered Lines |\n-------------------------------|----------|----------|----------|----------|----------------|\n ERC900/                       |      100 |    83.33 |      100 |      100 |                |\n  BasicStakingContract.sol     |      100 |      100 |      100 |      100 |                |\n  ERC900.sol                   |      100 |      100 |      100 |      100 |                |\n  ERC900BasicStakeContract.sol |      100 |    83.33 |      100 |      100 |                |\n library/                      |      100 |      100 |      100 |      100 |                |\n  Debuggable.sol               |      100 |      100 |      100 |      100 |                |\n-------------------------------|----------|----------|----------|----------|----------------|\nAll files                      |      100 |    83.33 |      100 |      100 |                |\n-------------------------------|----------|----------|----------|----------|----------------|\n\n```\n\n## Deploy contracts\n1. uncomment relevant network sessions in truffle-config.js\n2. Populate .env with INFURA_API_KEY and MNEMONIC\n3. \n- 3.1. if you are deploying from the start, run ```yarn deploy-on-ropsten``` ; \n- 3.2. or if you are only deploying delta, add files under our/cro-staking/migrations/* with next sequence number, \n  and run ```./node_modules/.bin/truffle migrate --network $network_name```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrypto-com%2Fcro-staking","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrypto-com%2Fcro-staking","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrypto-com%2Fcro-staking/lists"}