@midnight-ntwrk/compact-runtime v0.7.0 • Readme | API
@midnight-ntwrk/compact-runtime v0.7.0 / decodeZswapLocalState
Function: decodeZswapLocalState()
decodeZswapLocalState(state): ZswapLocalState
Converts an EncodedZswapLocalState to a ZswapLocalState. Used when we need to use data from contract execution to construct transactions.
Parameters
• state: EncodedZswapLocalState
The encoded Zswap local state.