Skip to content

Commit

Permalink
ICS100 Atomic Swap (#867)
Browse files Browse the repository at this point in the history
* create a clean copy to for PR

* Update spec/app/ics-100-atomic-swap/README.md

Co-authored-by: Marius Poke <[email protected]>

* Update spec/app/ics-100-atomic-swap/README.md

Co-authored-by: Marius Poke <[email protected]>

* Update spec/app/ics-100-atomic-swap/README.md

Co-authored-by: Marius Poke <[email protected]>

* Update spec/app/ics-100-atomic-swap/README.md

Co-authored-by: Marius Poke <[email protected]>

* Update spec/app/ics-100-atomic-swap/README.md

Co-authored-by: Marius Poke <[email protected]>

* incorporate feedbacks

* incorporate feedbacks

* remove cancel functions

* re-organize the flow and code

* save taker to the order when it is filled

* polish language

* change order status when refund

* improve the cancel flow

* polish text

* add source_port and source_channel

* fix incorrect comment in OnReceive and OnAcknowledgement

* Update spec/app/ics-100-atomic-swap/README.md

Co-authored-by: Carlos Rodriguez <[email protected]>

* Update spec/app/ics-100-atomic-swap/README.md

Co-authored-by: Carlos Rodriguez <[email protected]>

* Update spec/app/ics-100-atomic-swap/README.md

Co-authored-by: Carlos Rodriguez <[email protected]>

* Update spec/app/ics-100-atomic-swap/README.md

Co-authored-by: Carlos Rodriguez <[email protected]>

* Update spec/app/ics-100-atomic-swap/README.md

Co-authored-by: Carlos Rodriguez <[email protected]>

* Update spec/app/ics-100-atomic-swap/README.md

Co-authored-by: Carlos Rodriguez <[email protected]>

* Update spec/app/ics-100-atomic-swap/README.md

Co-authored-by: Carlos Rodriguez <[email protected]>

* Update spec/app/ics-100-atomic-swap/README.md

Co-authored-by: Carlos Rodriguez <[email protected]>

* Update spec/app/ics-100-atomic-swap/README.md

Co-authored-by: Carlos Rodriguez <[email protected]>

* Update spec/app/ics-100-atomic-swap/README.md

Co-authored-by: Carlos Rodriguez <[email protected]>

* Update spec/app/ics-100-atomic-swap/README.md

Co-authored-by: Carlos Rodriguez <[email protected]>

* Update spec/app/ics-100-atomic-swap/README.md

Co-authored-by: Carlos Rodriguez <[email protected]>

* Apply suggestions from code review

Co-authored-by: Carlos Rodriguez <[email protected]>

* improve spec

* fix typo

* Update spec/app/ics-100-atomic-swap/README.md

Co-authored-by: Aditya <[email protected]>

* modify destination reference

* return ack on receivePacket(), use channelId + orderId as store key for orders

* add nonce in Maker Msg in order to make the order id unique

* add channel in messages

* refactor the channel name

* additional info on cancels and timeouts

* additional info on cancels and timeouts

* additional info on cancels and timeouts

* additional info on cancels and timeouts

* formatting style and consistency fixes

* fix alignment

* more style fixes

* fixed portId issue on takeMsg

* use both portId and channelId field in the order

* refund if orderId is not empty

* fix typo

* change order expiration to message expiration.

* change typo

* improve the refund

* Clarify regarding timeout window

* changed timestamp types to unit64 + fixed some nits

* replaced []byte with bytes

* Update spec/app/ics-100-atomic-swap/README.md

Co-authored-by: Manuel Bravo <[email protected]>

* Update spec/app/ics-100-atomic-swap/README.md

Co-authored-by: Manuel Bravo <[email protected]>

* Update spec/app/ics-100-atomic-swap/README.md

Co-authored-by: Manuel Bravo <[email protected]>

* replace > with >=

* use token.amount and denom in sendCoin

* change store to privateStore, ICS24

* update get balance

* added more regarding atomicity

* added more regarding atomicity

* Update spec/app/ics-100-atomic-swap/README.md

Co-authored-by: Aditya <[email protected]>

* fixed wrong argument

* add ibc path to Order. and change algo for order id.

* write ack error instead of abort execution

* write ack error instead of abort execution

* remove unused code

* fixed escrow address error

* use packet to generate order id

* update diagram

* add lock / unlock order

* update diagram

* disable status check for now

* update diagram

* add token state changing

* use Cancel Request instead of Cancel Order

* add status checker back on receive taker Msg

* Update CODEOWNERS

* Update CODEOWNERS

* add banner message at the top of spec

* Update CODEOWNERS

---------

Co-authored-by: Marius Poke <[email protected]>
Co-authored-by: EddyG <[email protected]>
Co-authored-by: Edward Gunawan <[email protected]>
Co-authored-by: Carlos Rodriguez <[email protected]>
Co-authored-by: Aditya <[email protected]>
Co-authored-by: Manuel Bravo <[email protected]>
  • Loading branch information
7 people authored Mar 6, 2023
1 parent c0b325a commit 3535456
Show file tree
Hide file tree
Showing 2 changed files with 657 additions and 0 deletions.
Loading

0 comments on commit 3535456

Please sign in to comment.