Skip to content

Commit

Permalink
make ZkLinkSignature as struct in ffi(fix #14)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fred0327 committed Oct 10, 2023
1 parent ea84658 commit 157f28a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions bindings/sdk/src/ffi.udl
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ typedef string ZkLinkAddress;
typedef string TxHash;
[Custom]
typedef string TxLayer1Signature;
[Custom]
typedef string ZkLinkSignature;

// ============================ tx builder ============================
dictionary ChangePubKeyBuilder {
Expand Down Expand Up @@ -312,6 +310,12 @@ typedef string PackedSignature;
[Custom]
typedef string PubKeyHash;

dictionary ZkLinkSignature {
PackedPublicKey pub_key;
PackedSignature signature;
};


interface ZkLinkSigner {
[Throws=ZkSignerError]
constructor();
Expand Down

0 comments on commit 157f28a

Please sign in to comment.