From b9411453372cb1156c88b2754c9a9178e714de41 Mon Sep 17 00:00:00 2001 From: Coline Date: Tue, 28 Jun 2022 13:17:21 +0200 Subject: [PATCH] docs: some description in plugin class --- tests/speculos/ethereum_client/plugin.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/speculos/ethereum_client/plugin.py b/tests/speculos/ethereum_client/plugin.py index 17a82f4..2c4f4e2 100644 --- a/tests/speculos/ethereum_client/plugin.py +++ b/tests/speculos/ethereum_client/plugin.py @@ -4,6 +4,14 @@ from ethereum_client.utils import (read, read_uint, read_varint, write_varint, UINT64_MAX) class Plugin: + """Plugin class + Allows to generate an apdu of the SET_PLUGIN command or PROVIDE_NFT_INFORMATION + + PROVIDE_NFT_INFORMATION + ---- + do not define a selector + + """ def __init__(self, type: int, version: int, name: str, addr: Union[str, bytes], selector: int = -1, chainID: int = 1, keyID: int = 0, algorithm: int = 1, sign: bytes = b'') -> None: self.type: int = type self.version: int = version