CKBytes in UDT transfer
UDT is stored in cells, that require its owner to also holds some CKBytes. UDT holders are also CKBytes holders by design. Before a transfer Alice has Z UDTs and X CKBytes in which those UDTs are stored. After the transfer Bob will own Z UDTs and Y CKBytes in which those UDTs are stored. The storage utility of CKBytes solves the state explosion problem but also makes UDT transfer more complicated. Here I describe several design patterns with different pros/cons in the hope to raise the awarenes...
Nervos Talk