Skip to main content

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


Download files

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

Source Distribution

contract_wasm_interface_parser-0.2.0.tar.gz (6.7 kB view hashes)

Uploaded Source

Built Distribution

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