// ĠVer i Block ĠNode Core ĠCLI Ċ // ĠCopyright Ġ 2 0 1 7 - 2 0 2 1 ĠX en ios ĠSE ZC Ċ // ĠAll Ġrights Ġreserved . Ċ // Ġhttps :// www . ver ib lock . org Ċ // ĠDistributed Ġunder Ġthe ĠMIT Ġsoftware Ġlicense , Ġsee Ġthe Ġaccompanying Ċ // Ġfile ĠLICENSE Ġor Ġhttp :// www . opensource . org / licenses / mit - license . php . Ċ package Ġnode core . cli . serialization Ċ Ċ import Ġnode core . api . grpc . Rpc Address Balance Ċ import Ġnode core . api . grpc . utilities . extensions . to Pro per Address Type Ċ import Ġorg . ver ib lock . core . utilities . extensions . format Atomic Long With Decimal Ċ Ċ class ĠAddress Balance Info ( ĊĠĠĠ Ġaddress Balance : ĠRpc Address Balance Ċ ) Ġ{ ĊĠĠĠ Ġval Ġaddress Ġ= Ġaddress Balance . address . to Pro per Address Type () ĊĊĠĠĠ Ġval Ġtotal Amount Ġ= Ġaddress Balance . total Amount . format Atomic Long With Decimal () ĊĊĠĠĠ Ġval Ġun locked Amount Ġ= Ġaddress Balance . unlocked Amount . format Atomic Long With Decimal () ĊĊĠĠĠ Ġval Ġlocked Amount Ġ= Ġaddress Balance . locked Amount . format Atomic Long With Decimal () ĊĊĠĠĠ Ġoverride Ġfun ĠtoString (): ĠString Ġ= Ġ" address ='$ address '; Ġun locked _ amount ='$ unlocked Amount '; Ġlocked _ amount ='$ locked Amount '" Ċ } Ċ