Contract interface metadata parser for binary Stellar WASM
Project description
contract-wasm-interface-parser
Contract interface metadata parser for binary Stellar WASM
Installation
pip install contract-wasm-interface-parser
Usage
from contract_wasm_interface_parser import parse_contract_metadata
wasm = "AGFzbQEAAAABFQRgAn5+AX5gA35+fgF+YAABfmAAAAIZBAFsATAAAAFsATEAAAFsAV8AAQFsATgAAAMFBAIDAwMFAwEAEAYZA38BQYCAwAALfwBBgIDAAAt/AEGAgMAACwc1BQZtZW1vcnkCAAlpbmNyZW1lbnQABAFfAAcKX19kYXRhX2VuZAMBC19faGVhcF9iYXNlAwIKpwEEkgECAX8BfkEAIQACQAJAAkBCjrrQr4bUOUICEICAgIAAQgFSDQBCjrrQr4bUOUICEIGAgIAAIgFC/wGDQgRSDQEgAUIgiKchAAsgAEEBaiIARQ0BQo660K+G1DkgAK1CIIZCBIQiAUICEIKAgIAAGkKEgICAoAZChICAgMAMEIOAgIAAGiABDwsAAAsQhYCAgAAACwkAEIaAgIAAAAsEAAAACwIACwBzDmNvbnRyYWN0c3BlY3YwAAAAAAAAAEBJbmNyZW1lbnQgaW5jcmVtZW50cyBhbiBpbnRlcm5hbCBjb3VudGVyLCBhbmQgcmV0dXJucyB0aGUgdmFsdWUuAAAACWluY3JlbWVudAAAAAAAAAAAAAABAAAABAAeEWNvbnRyYWN0ZW52bWV0YXYwAAAAAAAAABQAAAAAAG8OY29udHJhY3RtZXRhdjAAAAAAAAAABXJzdmVyAAAAAAAABjEuNzguMAAAAAAAAAAAAAhyc3Nka3ZlcgAAAC8yMC4zLjEjYmEwNDVhNTdhZjk3MWZjODNlNDc1NzQ2YjU5YTUwM2I3ZWY0MTY0OQA="
metadata = parse_contract_metadata(wasm)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for contract_wasm_interface_parser-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8f34ecf7a252574fbb4f6454286072e65a6bdd4a5b751a2c636c2775d0d6324 |
|
MD5 | f23ba39cd41e7cdf6770ab9020041dee |
|
BLAKE2b-256 | 970ed9bc2a1962151ff4436e60f0d14393d544baa2aceccb69f4821868bb0dfb |
Close
Hashes for contract_wasm_interface_parser-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f499f159d6960bd4f33ddb6144e9fcfc36234d8525cfd4025657e3da59cefa0f |
|
MD5 | 03c8e92ffa8c714a813b8017a7f59c21 |
|
BLAKE2b-256 | cbe29874425fcf371e6a8a9213b3d75395f5e070b4478635c50c5ee4a0d58d57 |