Skip to content

Tags: haxpor/evmscan

Tags

v0.6.0

Toggle v0.6.0's commit message

Verified

This tag was signed with the committer’s verified signature.
haxpor Wasin Thonkaew
Release 0.6.0

Changes
* migrate to be generic in support EVM-based chains i.e. BSC, Ethereum,
and Polygon
* crate name changed to evmscan
* Test cases are filled for all relevant chains in support
* Context added support in easier in creating a context, and ChainType
also added to differentiate between chain
* Inconsistency handled internally as noticed from upstream API platforms e.g.
inconsistency in field name, optional field not present in returned JSON
API data

v0.5.1

Toggle v0.5.1's commit message

Verified

This tag was signed with the committer’s verified signature.
haxpor Wasin Thonkaew
Release 0.5.1

Changes
- fix left-over uncleaned characters, and no newline taken into effect
for returned result from JSON-based smart contract code as returned from
API. Now it ensures that cleaning operations are taken in order
properly.

v0.5.0

Toggle v0.5.0's commit message

Verified

This tag was signed with the committer’s verified signature.
haxpor Wasin Thonkaew
Release version 0.5.0

Changes
* add support for querying code which is in JSON format as seen at
https://docs.soliditylang.org/en/v0.5.8/using-the-compiler.html#compiler-input-and-output-json-description
for API getting verified contract code. Test with
0x1befe6f3f0e8edd2d4d15cae97baee01e51ea4a4 which has mutiple files and
is in JSON format.

PS: Be careful and be vigilant not to interact with above contract
address as it is attacked due to
https://twitter.com/BlockSecTeam/status/1512832398643265537?s=20&t=n5hETJrbgTAANKTpiwiMeg.
Reason is that it's not that easy to find such smart contract that has
multiple files. We will change to safer contract address if we find
better one.

v0.4.0

Toggle v0.4.0's commit message

Verified

This tag was signed with the committer’s verified signature.
haxpor Wasin Thonkaew
Release 0.4.0

Changes
* add 2 APIs support
    * get verified source code from contract address
    * get contract ABI from contract address
* refactor and fulfill tests for newly added 2 APIs support

v0.3.3

Toggle v0.3.3's commit message

Verified

This tag was signed with the committer’s verified signature.
haxpor Wasin Thonkaew
Release version of 0.3.3

Changes
- include error text of 'result' field for API query for balance and
multi-balance i.e. NOTOK error message will now be more clear of what has happened
specifically.

v0.3.2

Toggle v0.3.2's commit message

Verified

This tag was signed with the committer’s verified signature.
haxpor Wasin Thonkaew
Release v0.3.2

Changes
- add optional error message for BscError::ErrorSendingHttpRequest. So
now error as shown would be more descriptive.

v0.3.1

Toggle v0.3.1's commit message

Verified

This tag was signed with the committer’s verified signature.
haxpor Wasin Thonkaew
Release v0.3.1

Changes
- refactor match-arm for returning Url's parsing in src/api/{stats.rs,
accounts.rs}
- explicitly set to use HTTP2 to make requests (also ensure checking for
response's HTTP version is HTTP2)

v0.3.0

Toggle v0.3.0's commit message

Verified

This tag was signed with the committer’s verified signature.
haxpor Wasin Thonkaew
Release 0.3.0

Changes
- correct Getting BNB balance for a single address by block number to be
maked with 'PRO API' in README.md
- refactor, improve and fix src/test.rs to properly use Mutex locking
(previously the lock immediately unlocks itself due to usage of `let _ =
...` which should be `let _guard = ...`)
- add Stats's Getting BNB last price API support

v0.2.1

Toggle v0.2.1's commit message

Verified

This tag was signed with the committer’s verified signature.
haxpor Wasin Thonkaew
Release v0.2.1

Hot fix for API - Getting BNB balance (multi) to properly deserialize
its 'balance' field which has type U256.

Before this, it will always be 0.

v0.2.0

Toggle v0.2.0's commit message

Verified

This tag was signed with the committer’s verified signature.
haxpor Wasin Thonkaew
Release v0.2.0

Changes
- add support of getting BNB balance for multiple addresses