Let's say I want to represent bank notes. Let's say that there are 50 billions bills in circulation. Each bill has a unique serial number, starting from 1 and increasing by 1. Each note has some characteristics such as the denomination and series. Bank notes can be transferred between accounts and each account can hold as many bills as issued. Each account must be able to list the serial numbers it holds.
Q: is there an existing smart contract that represents the above?
I believe that the large number of bills makes it difficult from a practical standpoint. Maybe representing ranges of serial numbers sharing the same attributes ( so 1-1000 -> (100 USD, 2014) 1001-2000 (50 USD, 2002), ...) is a possibility, although with time fragmentation will occur and will need to be dealt with.
Any idea on how to deal with this?