/** Ċ * ĠCopyright ĠS or am its u ĠCo ., ĠLtd . ĠAll ĠRights ĠReserved . Ċ * ĠSPDX - License - Identifier : ĠGPL - 3 . 0 Ċ */ Ċ Ċ package Ġjp . co . sor am its u . feature _ wallet _ impl . presentation . util Ċ Ċ import Ġjp . co . sor am its u . common . domain . Asset Ċ import Ġjp . co . sor am its u . common . domain . Asset Holder Ċ import Ġjp . co . sor am its u . common . presentation . view . asset select bottom sheet . adapter . Asset ListItem Model Ċ import Ġjp . co . sor am its u . common . util . Numbers Formatter Ċ Ċ fun ĠAsset . map Asset To Asset Model ( numbers Formatter : ĠNumbers Formatter ): ĠAsset ListItem Model Ġ{ ĊĠĠĠ Ġreturn ĠAsset ListItem Model ( ĊĠĠĠĠĠĠĠ Ġtoken . icon , ĊĠĠĠĠĠĠĠ Ġtoken . name , ĊĠĠĠĠĠĠĠ Ġnumbers Formatter . format BigDecimal ( balance . transfer able , ĠAsset Holder . ROUND ING ), ĊĠĠĠĠĠĠĠ Ġtoken . symbol , ĊĠĠĠĠĠĠĠ Ġposition , ĊĠĠĠĠĠĠĠ Ġtoken . id ĊĠĠĠ Ġ) Ċ } Ċ