@@ -311,6 +311,7 @@ async def confirm_system_transfer(
311311 signer_path : list [int ],
312312 blockhash : bytes ,
313313 verified_payment_request : PaymentRequest | None ,
314+ chunkify : bool ,
314315) -> None :
315316 if verified_payment_request :
316317 await confirm_payment_request (
@@ -327,6 +328,7 @@ async def confirm_system_transfer(
327328 recipient = base58 .encode (transfer_instruction .recipient_account [0 ]),
328329 title = TR .words__recipient ,
329330 items = [(TR .words__blockhash , base58 .encode (blockhash ), True )],
331+ chunkify = chunkify ,
330332 )
331333
332334 await confirm_custom_transaction (transfer_instruction .lamports , 9 , "SOL" , fee )
@@ -341,6 +343,7 @@ async def confirm_token_transfer(
341343 decimals : int ,
342344 fee : Fee ,
343345 blockhash : bytes ,
346+ chunkify : bool ,
344347) -> None :
345348 items : list [StrPropertyType ] = []
346349 if token_account != destination_account :
@@ -353,6 +356,7 @@ async def confirm_token_transfer(
353356 recipient = base58 .encode (destination_account ),
354357 title = TR .words__recipient ,
355358 items = items ,
359+ chunkify = chunkify ,
356360 )
357361
358362 if is_unknown :
@@ -364,6 +368,7 @@ async def confirm_token_transfer(
364368 subtitle = TR .solana__unknown_token ,
365369 address = base58 .encode (token .mint ),
366370 verb = TR .buttons__continue ,
371+ chunkify = chunkify ,
367372 br_name = "confirm_token_address" ,
368373 br_code = ButtonRequestType .ConfirmOutput ,
369374 )
@@ -407,7 +412,7 @@ async def confirm_custom_transaction(
407412 )
408413
409414
410- async def confirm_stake_withdrawer (withdrawer_account : bytes ) -> None :
415+ async def confirm_stake_withdrawer (withdrawer_account : bytes , chunkify : bool ) -> None :
411416 await show_danger (
412417 title = TR .words__important ,
413418 content = TR .solana__stake_withdrawal_warning ,
@@ -418,10 +423,11 @@ async def confirm_stake_withdrawer(withdrawer_account: bytes) -> None:
418423 title = TR .solana__stake_withdrawal_warning_title ,
419424 address = base58 .encode (withdrawer_account ),
420425 br_name = "confirm_stake_warning_address" ,
426+ chunkify = chunkify ,
421427 )
422428
423429
424- async def confirm_claim_recipient (recipient_account : bytes ) -> None :
430+ async def confirm_claim_recipient (recipient_account : bytes , chunkify : bool ) -> None :
425431 await show_warning (
426432 content = TR .solana__claim_recipient_warning ,
427433 br_name = "confirm_claim_warning" ,
@@ -430,6 +436,7 @@ async def confirm_claim_recipient(recipient_account: bytes) -> None:
430436 title = TR .address_details__title_receive_address ,
431437 address = base58 .encode (recipient_account ),
432438 br_name = "confirm_claim_warning_address" ,
439+ chunkify = chunkify ,
433440 )
434441
435442
@@ -439,6 +446,7 @@ async def confirm_stake_transaction(
439446 blockhash : bytes ,
440447 create : Instruction ,
441448 delegate : Instruction ,
449+ chunkify : bool ,
442450) -> None :
443451 from trezor .ui .layouts import confirm_solana_staking_tx
444452
@@ -475,13 +483,15 @@ async def confirm_stake_transaction(
475483 fee_item = (fee_title , fee_str , True ),
476484 fee_details = fee_items ,
477485 blockhash_item = (TR .words__blockhash , base58 .encode (blockhash ), True ),
486+ chunkify = chunkify ,
478487 )
479488
480489
481490async def confirm_unstake_transaction (
482491 fee : Fee ,
483492 signer_path : list [int ],
484493 blockhash : bytes ,
494+ chunkify : bool ,
485495) -> None :
486496 from trezor .ui .layouts import confirm_solana_staking_tx
487497
@@ -498,6 +508,7 @@ async def confirm_unstake_transaction(
498508 fee_item = (fee_title , fee_str , True ),
499509 fee_details = fee_items ,
500510 blockhash_item = (TR .words__blockhash , base58 .encode (blockhash ), True ),
511+ chunkify = chunkify ,
501512 )
502513
503514
@@ -506,6 +517,7 @@ async def confirm_claim_transaction(
506517 signer_path : list [int ],
507518 blockhash : bytes ,
508519 total_amount : int ,
520+ chunkify : bool ,
509521) -> None :
510522 from trezor .ui .layouts import confirm_solana_staking_tx
511523
@@ -525,6 +537,7 @@ async def confirm_claim_transaction(
525537 fee_item = (fee_title , fee_str , True ),
526538 fee_details = fee_items ,
527539 blockhash_item = (TR .words__blockhash , base58 .encode (blockhash ), True ),
540+ chunkify = chunkify ,
528541 )
529542
530543
0 commit comments