├── .github ├── ISSUE_TEMPLATE │ ├── bug.md │ ├── feature.md │ └── work-item.md ├── PULL_REQUEST_TEMPLATE.md ├── release-drafter.yml └── workflows │ ├── codeql.yml │ ├── commit.yaml │ ├── docs.yaml │ ├── draft.yaml │ ├── prtitle.yaml │ ├── publish.yaml │ ├── stale-prs.yml │ └── test.yaml ├── .gitignore ├── .pre-commit-config.yaml ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── ape-config.yaml ├── ape_etherscan ├── __init__.py ├── client.py ├── config.py ├── dependency.py ├── exceptions.py ├── explorer.py ├── py.typed ├── query.py ├── types.py ├── utils.py └── verify.py ├── docs ├── conf.py ├── index.rst ├── methoddocs │ ├── dependency.md │ ├── exceptions.md │ ├── explorer.md │ └── verify.md └── userguides │ └── quickstart.md ├── pyproject.toml ├── setup.cfg ├── setup.py └── tests ├── __init__.py ├── _utils.py ├── conftest.py ├── contracts └── subcontracts │ └── foo.sol ├── dependency └── contracts │ └── bar.sol ├── mock_responses ├── get_account_transactions.json ├── get_account_transactions_with_ctor_args.json ├── get_contract_response_flattened.json ├── get_contract_response_json.json ├── get_contract_response_json_source_code.json ├── get_contract_response_not_verified.json ├── get_proxy_contract_response.json └── get_vyper_contract_response.json ├── test_client.py ├── test_config.py ├── test_dependency.py ├── test_etherscan.py ├── test_query.py └── test_types.py /.github/ISSUE_TEMPLATE/bug.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/.github/ISSUE_TEMPLATE/bug.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/.github/ISSUE_TEMPLATE/feature.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/work-item.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/.github/ISSUE_TEMPLATE/work-item.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/release-drafter.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/.github/release-drafter.yml -------------------------------------------------------------------------------- /.github/workflows/codeql.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/.github/workflows/codeql.yml -------------------------------------------------------------------------------- /.github/workflows/commit.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/.github/workflows/commit.yaml -------------------------------------------------------------------------------- /.github/workflows/docs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/.github/workflows/docs.yaml -------------------------------------------------------------------------------- /.github/workflows/draft.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/.github/workflows/draft.yaml -------------------------------------------------------------------------------- /.github/workflows/prtitle.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/.github/workflows/prtitle.yaml -------------------------------------------------------------------------------- /.github/workflows/publish.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/.github/workflows/publish.yaml -------------------------------------------------------------------------------- /.github/workflows/stale-prs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/.github/workflows/stale-prs.yml -------------------------------------------------------------------------------- /.github/workflows/test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/.github/workflows/test.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/README.md -------------------------------------------------------------------------------- /ape-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/ape-config.yaml -------------------------------------------------------------------------------- /ape_etherscan/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/ape_etherscan/__init__.py -------------------------------------------------------------------------------- /ape_etherscan/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/ape_etherscan/client.py -------------------------------------------------------------------------------- /ape_etherscan/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/ape_etherscan/config.py -------------------------------------------------------------------------------- /ape_etherscan/dependency.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/ape_etherscan/dependency.py -------------------------------------------------------------------------------- /ape_etherscan/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/ape_etherscan/exceptions.py -------------------------------------------------------------------------------- /ape_etherscan/explorer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/ape_etherscan/explorer.py -------------------------------------------------------------------------------- /ape_etherscan/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ape_etherscan/query.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/ape_etherscan/query.py -------------------------------------------------------------------------------- /ape_etherscan/types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/ape_etherscan/types.py -------------------------------------------------------------------------------- /ape_etherscan/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/ape_etherscan/utils.py -------------------------------------------------------------------------------- /ape_etherscan/verify.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/ape_etherscan/verify.py -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- 1 | extensions = ["sphinx_ape"] 2 | -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- 1 | .. dynamic-toc-tree:: 2 | -------------------------------------------------------------------------------- /docs/methoddocs/dependency.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/docs/methoddocs/dependency.md -------------------------------------------------------------------------------- /docs/methoddocs/exceptions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/docs/methoddocs/exceptions.md -------------------------------------------------------------------------------- /docs/methoddocs/explorer.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/docs/methoddocs/explorer.md -------------------------------------------------------------------------------- /docs/methoddocs/verify.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/docs/methoddocs/verify.md -------------------------------------------------------------------------------- /docs/userguides/quickstart.md: -------------------------------------------------------------------------------- 1 | ```{include} ../../README.md 2 | ``` 3 | -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/pyproject.toml -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/setup.cfg -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/setup.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/tests/_utils.py -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/contracts/subcontracts/foo.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/tests/contracts/subcontracts/foo.sol -------------------------------------------------------------------------------- /tests/dependency/contracts/bar.sol: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: AGPL-3.0 2 | pragma solidity ^0.8.20; 3 | 4 | contract bar { 5 | } 6 | -------------------------------------------------------------------------------- /tests/mock_responses/get_account_transactions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/tests/mock_responses/get_account_transactions.json -------------------------------------------------------------------------------- /tests/mock_responses/get_account_transactions_with_ctor_args.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/tests/mock_responses/get_account_transactions_with_ctor_args.json -------------------------------------------------------------------------------- /tests/mock_responses/get_contract_response_flattened.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/tests/mock_responses/get_contract_response_flattened.json -------------------------------------------------------------------------------- /tests/mock_responses/get_contract_response_json.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/tests/mock_responses/get_contract_response_json.json -------------------------------------------------------------------------------- /tests/mock_responses/get_contract_response_json_source_code.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/tests/mock_responses/get_contract_response_json_source_code.json -------------------------------------------------------------------------------- /tests/mock_responses/get_contract_response_not_verified.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/tests/mock_responses/get_contract_response_not_verified.json -------------------------------------------------------------------------------- /tests/mock_responses/get_proxy_contract_response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/tests/mock_responses/get_proxy_contract_response.json -------------------------------------------------------------------------------- /tests/mock_responses/get_vyper_contract_response.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/tests/mock_responses/get_vyper_contract_response.json -------------------------------------------------------------------------------- /tests/test_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/tests/test_client.py -------------------------------------------------------------------------------- /tests/test_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/tests/test_config.py -------------------------------------------------------------------------------- /tests/test_dependency.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/tests/test_dependency.py -------------------------------------------------------------------------------- /tests/test_etherscan.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/tests/test_etherscan.py -------------------------------------------------------------------------------- /tests/test_query.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/tests/test_query.py -------------------------------------------------------------------------------- /tests/test_types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ApeWorX/ape-etherscan/HEAD/tests/test_types.py --------------------------------------------------------------------------------