Clarify functions which retrieve pubkey sources and balance
get_amount_from_pubkey() return the lists of sources inputs and pubkey’s balance.
dataclassor clarify its usage in comments, inside this two f() and in f() around them.
pubkey_balancesecond returns argument
- Split f(), one to retrieve sources, one to calculate from those sources, pubkey’s balance.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information