From 7aaf0d05fac97b3f5ba264962f2a121da81d20f9 Mon Sep 17 00:00:00 2001 From: Alexandre Paillier Date: Tue, 18 Feb 2025 14:50:21 +0100 Subject: [PATCH] Updated APDU documentation --- doc/ethapp.adoc | 50 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/doc/ethapp.adoc b/doc/ethapp.adoc index 058b89cf3..17cbb10e3 100644 --- a/doc/ethapp.adoc +++ b/doc/ethapp.adoc @@ -1117,6 +1117,9 @@ None ### TRANSACTION INFO +#### Description +#### Coding + _Command_ [width="80%"] @@ -1154,6 +1157,9 @@ None ### TRANSACTION FIELD DESCRIPTION +#### Description +#### Coding + _Command_ [width="80%"] @@ -1189,6 +1195,50 @@ _Output data_ None +### PROVIDE PROXY INFO + +#### Description + +This command provides the app with the knowledge that a contract address is a proxy to another contract on a specific chain. +This can also (optionally) be restricted to a specific function within the contract. + +#### Coding + +_Command_ + +[width="80%"] +|============================================================== +| *CLA* | *INS* | *P1* | *P2* | *LC* +| E0 | 2A | 01 : first chunk + + 00 : following chunk + | 00 | 00 +|============================================================== + +_Input data_ + +##### If P1 == first chunk + +[width="80%"] +|========================================== +| *Description* | *Length (byte)* +| Payload length | 2 +| TLV payload | variable +|========================================== + +##### If P1 == following chunk + +[width="80%"] +|========================================== +| *Description* | *Length (byte)* +| TLV payload | variable +|========================================== + +_Output data_ + +None + + ### PROVIDE NETWORK CONFIGURATION #### Description