We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
According to the design document, a new ContractScanner service class is needed to handle fetching contracts from the mirror node.
ContractScanner
Implement a ContractScanner service class under tools/erc-repository-indexer/src/services/contractScanner.ts. The class should include:
tools/erc-repository-indexer/src/services/contractScanner.ts
fetchContracts()
fetchContractByteCode()
contractId
The ContractScanner class should also be tested using the Jest testing framework.
The text was updated successfully, but these errors were encountered:
quiet-node
Successfully merging a pull request may close this issue.
Problem
According to the design document, a new
ContractScanner
service class is needed to handle fetching contracts from the mirror node.Solution
Implement a
ContractScanner
service class undertools/erc-repository-indexer/src/services/contractScanner.ts
. The class should include:fetchContracts()
method to retrieve all contracts from the mirror node.fetchContractByteCode()
method to fetch detailed contract objects usingcontractId
.The
ContractScanner
class should also be tested using the Jest testing framework.The text was updated successfully, but these errors were encountered: