telosnetwork / teloscan

Telos EVM block explorer for viewing blocks, transactions, contracts, staking, and more
https://teloscan.io
Apache License 2.0
22 stars 25 forks source link

Hotfix - interacting with non verified contracts #832

Closed Viterbo closed 3 months ago

Viterbo commented 3 months ago

Fixes (no issue number)

Description

This PR includes several hotfixes:

1 - The ContractManager had a bug when getting the correct provider. That was fixed. 2 - The ABI JSON format was expecting always the "abi" property to be directly the list of functions. However, there is another kind of metadata (with a different format) that has the same information but is placed somewhere else. Now both formats are accepted. 3 - Only in the case of non-verified contracts it was required to be logged in order to query read functions. That was fixed. 4 - The function response viewer was not supporting some possible types like tuple[]. Now it does.

image

netlify[bot] commented 3 months ago

Deploy Preview for dev-mainnet-teloscan ready!

Name Link
Latest commit b4af6af70c821d8d8cd55df15e1e45f82e154110
Latest deploy log https://app.netlify.com/sites/dev-mainnet-teloscan/deploys/66c0d3c78fe6cd000802c5dc
Deploy Preview https://deploy-preview-832--dev-mainnet-teloscan.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] commented 3 months ago

Deploy Preview for testnet-teloscan ready!

Name Link
Latest commit b4af6af70c821d8d8cd55df15e1e45f82e154110
Latest deploy log https://app.netlify.com/sites/testnet-teloscan/deploys/66c0d3c7017fe90008bccf66
Deploy Preview https://deploy-preview-832--testnet-teloscan.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] commented 3 months ago

Deploy Preview for teloscan-stage ready!

Name Link
Latest commit b4af6af70c821d8d8cd55df15e1e45f82e154110
Latest deploy log https://app.netlify.com/sites/teloscan-stage/deploys/66c0d3c72325cc00086185df
Deploy Preview https://deploy-preview-832--teloscan-stage.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.