Commit Graph

105 Commits (876ed401db7a436185ce0c31228e8a53bba67266)

Author SHA1 Message Date
Joost Jager 6a0a9556a0
loopdb: add loop in
This commit adds the required code to persist loop in swaps. It also
introduces the file loop.go to which shared code is moved.

Sharing of contract serialization/deserialization code has been
reverted. The prepay fields do not apply to loop in, but were part of
the shared contract struct. Without also adding a migration, it wouldn't
be possible to keep the shared code.

In general it is probably more flexible to keep the contract
serialization code separated between in and out swaps.
6 years ago
Joost Jager e81298ce3e
loopdb: move code to shared code file 6 years ago
Joost Jager 9a1b60b4be
multi: always supply chain params when decoding addresses 6 years ago
Olaoluwa Osuntokun 94f347e673
multi: finalize rename from uncharge to loop out 6 years ago
Olaoluwa Osuntokun cdcb9f8345 loopdb: make new loopdb package to house persistent storage 6 years ago