{"id":18704987,"url":"https://github.com/aave/gho-aip","last_synced_at":"2025-04-12T10:07:03.579Z","repository":{"id":180249779,"uuid":"607745634","full_name":"aave/gho-aip","owner":"aave","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-18T05:46:40.000Z","size":417,"stargazers_count":11,"open_issues_count":0,"forks_count":0,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-04-12T10:04:23.653Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aave.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":"audits/05-06-2023_SigmaPrime.pdf","citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-02-28T15:40:42.000Z","updated_at":"2025-04-07T10:34:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"60b9ef9d-a10b-43a5-a21a-f6922b906872","html_url":"https://github.com/aave/gho-aip","commit_stats":null,"previous_names":["aave/gho-aip"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aave%2Fgho-aip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aave%2Fgho-aip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aave%2Fgho-aip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aave%2Fgho-aip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aave","download_url":"https://codeload.github.com/aave/gho-aip/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248550634,"owners_count":21122933,"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-07T12:09:21.556Z","updated_at":"2025-04-12T10:07:03.574Z","avatar_url":"https://github.com/aave.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Aave GHO AIP\n\n## Setup\n\n```sh\ncp .env.example .env\nforge install\n```\n\n```sh\nforge build\n```\n\n### Test\n\n```sh\nforge test -vvvv\n```\n\n\n## Development\n\nThis project uses [Foundry](https://getfoundry.sh). See the [book](https://book.getfoundry.sh/getting-started/installation.html) for detailed instructions on how to install and use Foundry.\nThe template ships with sensible default so you can use default `foundry` commands without resorting to `MakeFile`.\n\n\n## Advanced features\n\n### Diffing\n\nFor contracts upgrading implementations it's quite important to diff the implementation code to spot potential issues and ensure only the intended changes are included.\nTherefore the `Makefile` includes some commands to streamline the diffing process.\n\n#### Download\n\nYou can `download` the current contract code of a deployed contract via `make download chain=polygon address=0x00`. This will download the contract source for specified address to `src/etherscan/chain_address`. This command works for all chains with a etherscan compatible block explorer.\n\n#### Git diff\n\nYou can `git-diff` a downloaded contract against your src via `make git-diff before=./etherscan/chain_address after=./src out=filename`. This command will diff the two folders via git patience algorithm and write the output to `diffs/filename.md`.\n\n**Caveat**: If the onchain implementation was verified using flatten, for generating the diff you need to flatten the new contract via `forge flatten` and supply the flattened file instead fo the whole `./src` folder.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faave%2Fgho-aip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faave%2Fgho-aip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faave%2Fgho-aip/lists"}