@@ -308,6 +308,7 @@ async def confirm_system_transfer(
308308 signer_path : list [int ],
309309 blockhash : bytes ,
310310 verified_payment_request : PaymentRequest | None ,
311+ chunkify : bool ,
311312) -> None :
312313 recipient_account = transfer_instruction .recipient_account
313314 if verified_payment_request :
@@ -330,6 +331,7 @@ async def confirm_system_transfer(
330331 recipient = base58 .encode (recipient_account [0 ]),
331332 title = TR .words__recipient ,
332333 items = [(TR .words__blockhash , base58 .encode (blockhash ), True )],
334+ chunkify = chunkify ,
333335 )
334336 else :
335337 await confirm_properties (
@@ -350,6 +352,7 @@ async def confirm_token_transfer(
350352 decimals : int ,
351353 fee : Fee ,
352354 blockhash : bytes ,
355+ chunkify : bool ,
353356) -> None :
354357 items : list [StrPropertyType ] = []
355358 if token_account != destination_account :
@@ -362,6 +365,7 @@ async def confirm_token_transfer(
362365 recipient = base58 .encode (destination_account ),
363366 title = TR .words__recipient ,
364367 items = items ,
368+ chunkify = chunkify ,
365369 )
366370
367371 if is_unknown :
@@ -373,6 +377,7 @@ async def confirm_token_transfer(
373377 subtitle = TR .solana__unknown_token ,
374378 address = base58 .encode (token .mint ),
375379 verb = TR .buttons__continue ,
380+ chunkify = chunkify ,
376381 br_name = "confirm_token_address" ,
377382 br_code = ButtonRequestType .ConfirmOutput ,
378383 )
@@ -416,7 +421,7 @@ async def confirm_custom_transaction(
416421 )
417422
418423
419- async def confirm_stake_withdrawer (withdrawer_account : bytes ) -> None :
424+ async def confirm_stake_withdrawer (withdrawer_account : bytes , chunkify : bool ) -> None :
420425 await show_danger (
421426 title = TR .words__important ,
422427 content = TR .solana__stake_withdrawal_warning ,
@@ -427,10 +432,11 @@ async def confirm_stake_withdrawer(withdrawer_account: bytes) -> None:
427432 title = TR .solana__stake_withdrawal_warning_title ,
428433 address = base58 .encode (withdrawer_account ),
429434 br_name = "confirm_stake_warning_address" ,
435+ chunkify = chunkify ,
430436 )
431437
432438
433- async def confirm_claim_recipient (recipient_account : bytes ) -> None :
439+ async def confirm_claim_recipient (recipient_account : bytes , chunkify : bool ) -> None :
434440 await show_warning (
435441 content = TR .solana__claim_recipient_warning ,
436442 br_name = "confirm_claim_warning" ,
@@ -439,6 +445,7 @@ async def confirm_claim_recipient(recipient_account: bytes) -> None:
439445 title = TR .address_details__title_receive_address ,
440446 address = base58 .encode (recipient_account ),
441447 br_name = "confirm_claim_warning_address" ,
448+ chunkify = chunkify ,
442449 )
443450
444451
@@ -448,6 +455,7 @@ async def confirm_stake_transaction(
448455 blockhash : bytes ,
449456 create : Instruction ,
450457 delegate : Instruction ,
458+ chunkify : bool ,
451459) -> None :
452460 from trezor .ui .layouts import confirm_solana_staking_tx
453461
@@ -484,13 +492,15 @@ async def confirm_stake_transaction(
484492 fee_item = (fee_title , fee_str , True ),
485493 fee_details = fee_items ,
486494 blockhash_item = (TR .words__blockhash , base58 .encode (blockhash ), True ),
495+ chunkify = chunkify ,
487496 )
488497
489498
490499async def confirm_unstake_transaction (
491500 fee : Fee ,
492501 signer_path : list [int ],
493502 blockhash : bytes ,
503+ chunkify : bool ,
494504) -> None :
495505 from trezor .ui .layouts import confirm_solana_staking_tx
496506
@@ -507,6 +517,7 @@ async def confirm_unstake_transaction(
507517 fee_item = (fee_title , fee_str , True ),
508518 fee_details = fee_items ,
509519 blockhash_item = (TR .words__blockhash , base58 .encode (blockhash ), True ),
520+ chunkify = chunkify ,
510521 )
511522
512523
@@ -515,6 +526,7 @@ async def confirm_claim_transaction(
515526 signer_path : list [int ],
516527 blockhash : bytes ,
517528 total_amount : int ,
529+ chunkify : bool ,
518530) -> None :
519531 from trezor .ui .layouts import confirm_solana_staking_tx
520532
@@ -534,6 +546,7 @@ async def confirm_claim_transaction(
534546 fee_item = (fee_title , fee_str , True ),
535547 fee_details = fee_items ,
536548 blockhash_item = (TR .words__blockhash , base58 .encode (blockhash ), True ),
549+ chunkify = chunkify ,
537550 )
538551
539552
0 commit comments