Basis of Rollup for compute
RollupState
base class that can be extended to create a custom rollup.
StateVariable
and StateTransport
types to the
RollupState
class which you defined previously.RollupState
class and implement 4 methods:
constructor
StateVariable
type for it to be able to use the defined state
createTransport
getState
createTransport
and is used to extract the state from a transport object.
calculateRoot