Skip to main content

All-in-one toolset for blockchain.

Project description

Install

pip install all-tools-on-blockchain

Useage

Read the data of the public view in the contract:

read -a 0xb916F7A2233C90f7ca7B09f4Ece6aF9feafB8E38

The result looks like this:

Contract Address: 0xb916F7A2233C90f7ca7B09f4Ece6aF9feafB8E38
Contract Name: TimedLockBox
+--------------------------------------------+------------------+---------------------------+--------------------------------------------------------------------+
|          ABI From Which Contract           |    Data Type     |       Variable Name       |                         Value|Input Type                          |
+--------------------------------------------+------------------+---------------------------+--------------------------------------------------------------------+
| 0xb916F7A2233C90f7ca7B09f4Ece6aF9feafB8E38 |  no params func  |           owner           |             0x1590a7dc3485cE3D32cDAA7cB60E9F2D68116003             |
| 0xb916F7A2233C90f7ca7B09f4Ece6aF9feafB8E38 |  no params func  |     penaltyPercentage     |                                 5                                  |
| 0xb916F7A2233C90f7ca7B09f4Ece6aF9feafB8E38 |  no params func  |         totalFees         |                                 0                                  |
| 0xb916F7A2233C90f7ca7B09f4Ece6aF9feafB8E38 |       slot       |        _ADMIN_SLOT        | 0x0000000000000000000000000000000000000000000000000000000000000000 |
| 0xb916F7A2233C90f7ca7B09f4Ece6aF9feafB8E38 |       slot       |        _BEACON_SLOT       | 0x0000000000000000000000000000000000000000000000000000000000000000 |
| 0xb916F7A2233C90f7ca7B09f4Ece6aF9feafB8E38 |       slot       |    _IMPLEMENTATION_SLOT   | 0x0000000000000000000000000000000000000000000000000000000000000000 |
| 0xb916F7A2233C90f7ca7B09f4Ece6aF9feafB8E38 |       slot       |       _ROLLBACK_SLOT      | 0x0000000000000000000000000000000000000000000000000000000000000000 |
| 0xb916F7A2233C90f7ca7B09f4Ece6aF9feafB8E38 | with params func | getUnlockTimeAndLockedEth |                              address                               |
| 0xb916F7A2233C90f7ca7B09f4Ece6aF9feafB8E38 | with params func |           locks           |                              address                               |
+--------------------------------------------+------------------+---------------------------+--------------------------------------------------------------------+

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

all_tools_on_blockchain-0.0.1.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

all_tools_on_blockchain-0.0.1-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file all_tools_on_blockchain-0.0.1.tar.gz.

File metadata

File hashes

Hashes for all_tools_on_blockchain-0.0.1.tar.gz
Algorithm Hash digest
SHA256 afb6445c5736aebceb57608ba1c7baea5988dccb6a77bc18039711f22f9c2550
MD5 6331b17dd8a415e372015699ae47231b
BLAKE2b-256 244f5e1f7ce102da40e31ec0c420b589863e5d174e5a0f0e604478ede787ac7d

See more details on using hashes here.

File details

Details for the file all_tools_on_blockchain-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for all_tools_on_blockchain-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 72ffbbae3f1571364e82b264ed919559f24448080c69c9b9ff51b1278881b367
MD5 751ee70d18290547639b6fffcd078243
BLAKE2b-256 631d2f6e05de70798dc527b36b4627128e6a39e2392ac2b4e4a16683a98d5dfd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page