{"id":15632596,"url":"https://github.com/jamiew/solidity-hashblunt","last_synced_at":"2025-10-17T15:36:39.715Z","repository":{"id":66289754,"uuid":"409701810","full_name":"jamiew/solidity-hashblunt","owner":"jamiew","description":null,"archived":false,"fork":false,"pushed_at":"2021-09-23T18:59:05.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-19T03:48:23.277Z","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/jamiew.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-09-23T18:25:22.000Z","updated_at":"2021-09-23T18:59:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"f10fb0e1-c98e-48ad-8f76-706fa648f1d4","html_url":"https://github.com/jamiew/solidity-hashblunt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jamiew/solidity-hashblunt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamiew%2Fsolidity-hashblunt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamiew%2Fsolidity-hashblunt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamiew%2Fsolidity-hashblunt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamiew%2Fsolidity-hashblunt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jamiew","download_url":"https://codeload.github.com/jamiew/solidity-hashblunt/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jamiew%2Fsolidity-hashblunt/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260942157,"owners_count":23086352,"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-10-03T10:44:41.519Z","updated_at":"2025-10-17T15:36:39.631Z","avatar_url":"https://github.com/jamiew.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"this one's for @jstn\n\nhttps://etherscan.io/address/0xEa90CFad1b8e030B8Fd3E63D22074E0AEb8E0DCD#readProxyContract\n\nhttps://github.com/rarible/protocol-contracts/blob/master/royalties-registry/contracts/RoyaltiesRegistry.sol\n\nreproducing the following solidity code:\n\n```\nkeccak256(abi.encode(token, tokenId))\n```\n\nRun with:\n\n```\nyarn hash\n```\n\nExample output:\n\n```javascript\n{\n  token: '0xe03e4721c75188de6dd9ccf4fc0eb7c81399e305',\n  tokenId: 10033,\n  abiTypes: [ 'address', 'uint' ],\n  abiValues: [ '0xe03e4721c75188de6dd9ccf4fc0eb7c81399e305', 10033 ],\n  abiEncoded: '0x000000000000000000000000e03e4721c75188de6dd9ccf4fc0eb7c81399e3050000000000000000000000000000000000000000000000000000000000002731',\n  keccakDigest: '0x36fd4556f65e74b998d9cc53adea60b9e06f8cccbd64480025caf402c5280dc7'\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamiew%2Fsolidity-hashblunt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjamiew%2Fsolidity-hashblunt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjamiew%2Fsolidity-hashblunt/lists"}