Cubes are fundamental building blocks that Sunblock is built on. Each cube is responsible for handling shares, investments funds and reward distribution. Each cube can fund multiple vehicles.
The cube has the following responsibilities:
Manage vehicle queue
Collect rewards from vehicles
Distribute rewards to shareholders
I'm a visual learner
Overview flow chart
Each cube can only handle one currency. So if a cube has been set to handle USDT for example, then all shares and rewards must be exchanged with USDT. This is not due to some technical reason, purely to reduce cost from token swaps.
All vehicles linked to this cube must trade in the same currency. However, incoming rewards can be in a different denomination, however, it will not be counted as a reward unless swapped to the set currency.