package Ġio . horizontal systems . bank wallet . entities . transaction records . bin ance chain Ċ Ċ import Ġio . horizontal systems . bank wallet . entities . Transaction Value Ċ import Ġio . horizontal systems . bank wallet . modules . transactions . Transaction Source Ċ import Ġio . horizontal systems . bin ance chain kit . models . Transaction Info Ċ import Ġio . horizontal systems . market kit . models . Platform Coin Ċ Ċ class ĠBin ance Chain Outgoing Transaction Record ( ĊĠĠĠ Ġtransaction : ĠTransaction Info , ĊĠĠĠ Ġfee Coin : ĠPlatform Coin , ĊĠĠĠ Ġcoin : ĠPlatform Coin , ĊĠĠĠ Ġval Ġsent To Self : ĠBoolean , ĊĠĠĠ Ġsource : ĠTransaction Source Ċ ) Ġ: ĠBin ance Chain Transaction Record ( transaction , Ġfee Coin , Ġsource ) Ġ{ ĊĠĠĠ Ġval Ġvalue Ġ= ĠTransaction Value . Coin Value ( coin , Ġtransaction . amount . to BigDecimal (). neg ate ()) ĊĠĠĠ Ġval Ġto Ġ= Ġtransaction . to ĊĊĠĠĠ Ġoverride Ġval Ġmain Value Ġ= Ġvalue Ċ Ċ } Ċ