{"id":31562642,"url":"https://github.com/rybla/forohtoo-splitter-contract","last_synced_at":"2025-10-05T04:48:32.583Z","repository":{"id":310286440,"uuid":"1039331149","full_name":"rybla/forohtoo-splitter-contract","owner":"rybla","description":"A contract for the Forohtoo blogging framework that splits a transaction between two addresses.","archived":false,"fork":false,"pushed_at":"2025-08-17T03:31:17.000Z","size":25,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-17T03:31:25.889Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/rybla.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,"zenodo":null}},"created_at":"2025-08-17T01:30:12.000Z","updated_at":"2025-08-17T02:51:27.000Z","dependencies_parsed_at":"2025-08-17T03:31:41.214Z","dependency_job_id":"e6a8e375-631d-42e8-a2bb-e751e49a2abc","html_url":"https://github.com/rybla/forohtoo-splitter-contract","commit_stats":null,"previous_names":["rybla/forohtoo-splitter-contract"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/rybla/forohtoo-splitter-contract","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rybla%2Fforohtoo-splitter-contract","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rybla%2Fforohtoo-splitter-contract/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rybla%2Fforohtoo-splitter-contract/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rybla%2Fforohtoo-splitter-contract/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rybla","download_url":"https://codeload.github.com/rybla/forohtoo-splitter-contract/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rybla%2Fforohtoo-splitter-contract/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278411261,"owners_count":25982367,"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","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2025-10-05T04:48:29.223Z","updated_at":"2025-10-05T04:48:32.577Z","avatar_url":"https://github.com/rybla.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# forohtoo-splitter-contract\n\nThe basic idea of this contract is the following: Anyone can send USDC and an address to the contract; the contract keeps some of the USDC and sends the rest of it to the specified address.\n\nIn more details:\n\n- The contract specifies a fixed `payout_rate: uint` which corresponds to a percent from `0` to `100`.\n- The contract deployer can withdraw money from this contract at any time.\n- Anyone can send a transaction to this contract with an amount of USDC and an address.\n    - When this contract recieves an `amount` of USDC and an `address`, it computes `payout_amount = (payout_rate * amount) / 100`. Then the contract sends `payout_amount` to the `address`.\n\n## Contributing\n\nThe script `build.sh` must run without any warnings or errors before changes may be comitted.\n\n```sh\n./build.sh\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frybla%2Fforohtoo-splitter-contract","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frybla%2Fforohtoo-splitter-contract","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frybla%2Fforohtoo-splitter-contract/lists"}