filswan/multi-chain-payment

Need unlock amount for each source file.

Opened this issue · 1 comments

Need unlock amount for each source file.

Total size in a Block is limited, so size of bytes for event logs is limited.

Since we don't have limitation size of cidList, it's better not to record all cidlist cost information as event log.

Call get amount before and after the unlock operation.

unlock amount = the amount before unlock - the amount after unlock.