From 00548152c9459a49d3913df00be717dea451be8e Mon Sep 17 00:00:00 2001 From: Vaibhav Sethia Date: Tue, 31 Dec 2024 03:09:57 +0530 Subject: [PATCH 1/2] add solana receiver addr para for token txn --- proto/solana/sign_txn.proto | 2 ++ 1 file changed, 2 insertions(+) diff --git a/proto/solana/sign_txn.proto b/proto/solana/sign_txn.proto index 701aeda..b038caf 100644 --- a/proto/solana/sign_txn.proto +++ b/proto/solana/sign_txn.proto @@ -38,6 +38,8 @@ message SignTxnInitiateRequest { bytes walletId = 1; repeated uint32 derivationPath = 2; uint32 transaction_size = 3; + bool is_token_transfer_txn = 4; + bytes reciever_address = 5; } message SignTxnConfirmationResponse { From 2d635d251d71aec29a5f8681cdc987f9cee88c04 Mon Sep 17 00:00:00 2001 From: Vaibhav Sethia Date: Wed, 1 Jan 2025 18:19:22 +0530 Subject: [PATCH 2/2] update solana token structs --- proto/solana/sign_txn.proto | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/proto/solana/sign_txn.proto b/proto/solana/sign_txn.proto index b038caf..9c7f7b7 100644 --- a/proto/solana/sign_txn.proto +++ b/proto/solana/sign_txn.proto @@ -33,13 +33,16 @@ enum SignTxnStatus { SIGN_TXN_STATUS_VERIFY = 2; SIGN_TXN_STATUS_SEED_GENERATED = 3; } +message SignTxnInitiateTokenData { + bytes recipient_address = 1; + bytes mint_address = 2; +} message SignTxnInitiateRequest { bytes walletId = 1; repeated uint32 derivationPath = 2; uint32 transaction_size = 3; - bool is_token_transfer_txn = 4; - bytes reciever_address = 5; + SignTxnInitiateTokenData token_data = 4; } message SignTxnConfirmationResponse {