01
Inside a basket
A basket is an ERC-20 token. Its contract stores a list of stock tokens and the amount of each one that backs a single share. The creator sets the amounts once. Nobody can change them later.
The contract holds the stock tokens itself. Anyone can read what backs a share and compare it with the contract's balances.