{"id":30802226,"url":"https://github.com/cybervoid0/explore-tropycus-kdoc","last_synced_at":"2025-09-05T21:48:38.012Z","repository":{"id":78162282,"uuid":"416902192","full_name":"cybervoid0/explore-tropycus-kdoc","owner":"cybervoid0","description":"Exploring MINT events on Tropykus KDOC","archived":false,"fork":false,"pushed_at":"2021-10-13T21:25:21.000Z","size":135,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-22T23:05:57.084Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cybervoid0.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":"2021-10-13T21:24:56.000Z","updated_at":"2021-10-13T21:25:24.000Z","dependencies_parsed_at":"2023-03-13T20:14:08.811Z","dependency_job_id":null,"html_url":"https://github.com/cybervoid0/explore-tropycus-kdoc","commit_stats":null,"previous_names":["cybervoid0/explore-tropycus-kdoc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cybervoid0/explore-tropycus-kdoc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cybervoid0%2Fexplore-tropycus-kdoc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cybervoid0%2Fexplore-tropycus-kdoc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cybervoid0%2Fexplore-tropycus-kdoc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cybervoid0%2Fexplore-tropycus-kdoc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cybervoid0","download_url":"https://codeload.github.com/cybervoid0/explore-tropycus-kdoc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cybervoid0%2Fexplore-tropycus-kdoc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273827101,"owners_count":25175235,"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-09-05T02:00:09.113Z","response_time":402,"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-09-05T21:48:27.833Z","updated_at":"2025-09-05T21:48:38.003Z","avatar_url":"https://github.com/cybervoid0.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wallet Quest 3\n\n![Secret Room](https://uploads-ssl.webflow.com/605df6240893c6c5b2c7388e/606b66baf025e991e3fa2687_9Z_2102.w015.n001.334B.p15.334.jpg)\n\n[French](../French/index.html), [Spanish](../Spanish/index.html), [Tagalog](../Tagalog/index.html), [Vietnamese](../Vietnamese/index.html)\n\n# Exploring `MINT` events on Tropykus\n\nThe Tropykus KDOC contract is a token that users of Tropykus.finance hold on to after depositing DOC on the app to earn interests.\n\nIn this quest, we will find the total amount that has been spent in `gas-quote` since the deployment of the `Tropykus DOC` contract. `gas-quote` is the amount spent in `quote-currency` on gas. Where the default `quote-currency` is USD.\n\n\u0026nbsp;\n## Setup:\n\n- Ensure your Covalent API key, set up during the #OneMillionWallets registration process, is activated in the [Covalent API reference](https://www.covalenthq.com/docs/api) so you can make API calls directly in the Chrome browser.\n\n\u0026nbsp;\n## Your Secret Weapons\n\n1. [Get transactions](https://www.covalenthq.com/docs/api/#get-/v1/{chain_id}/address/{address}/transactions_v2/)\n\n2. [Get Log events by contract address](https://www.covalenthq.com/docs/api/#get-/v1/{chain_id}/events/address/{address}/)\n\n3. [RSK Network Explorer](https://explorer.rsk.co//)\n\n### Step 1:\n\nUsing the RSK Explorer, find the Tropykus KDOC contract address.\n0x1558a2DC243bA682ffFD6676A7daDfe04DaBF913\n\n### Step 2:\n\nFind the TOTAL number of `MINT` events. Take a note of the `Block Height` of the first `MINT` event.\nfirst block with mint event: 3656201\nnumber of mint events: 23 \n\n### Step 3:\n\nFind the Log Event with param: `amount0` for every `MINT` event.\n\n### Step 4:\n\nSUM the total `gas-quote` of ALL `MINT` events `amount0` activity. Convert the result to Hexadecimal.\n\n### Step 5:\n\nAccess your secret room for the next task at the URL:\n\n`www.onemillionwallets.com/rsk-{Block Height from Step 2}-{Last 6 characters after the decimal of the Hex number from Step 4}`\n\nThen complete the task in the secret room.\n\n\u0026nbsp;\n## Submission\nComplete the instructions in `Submission.md` and then submit your repl.\n\n**Note: If you are submitting in one of the non-English supported regional languages, please delete all other `README-*.md` and `Submission-*.md` files which are not applicable for your submission.**","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcybervoid0%2Fexplore-tropycus-kdoc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcybervoid0%2Fexplore-tropycus-kdoc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcybervoid0%2Fexplore-tropycus-kdoc/lists"}