0g-chain/x/bep3/spec
Denali Marsh 6c68e41758
[R4R] bep3 module audit revisions (#505)
* most audit revisions

* remove expected income

* update begin block spec

* filter queryAtomicSwaps, add queryAssetSupplies

* update old address

* update test

* Remove legacy method

* remove legacy comment

* address PR comments

* IsValid for SwapDirection, SwapStatus

* fix rng logging

* query asset supplies

* return [64]byte from rng

* remove cross chain field from MsgCreateAtomicSwap

* move swap filtering to querier

* rename Limit field to SupplyLimit
2020-05-12 13:15:38 -07:00
..
diagrams [R4R] BEP3 module spec and clean up (#450) 2020-04-23 13:57:25 -07:00
01_concepts.md [R4R] BEP3 module spec and clean up (#450) 2020-04-23 13:57:25 -07:00
02_state.md [R4R] bep3 module audit revisions (#505) 2020-05-12 13:15:38 -07:00
03_messages.md [R4R] bep3 module audit revisions (#505) 2020-05-12 13:15:38 -07:00
04_events.md [R4R] bep3 module audit revisions (#505) 2020-05-12 13:15:38 -07:00
05_params.md [R4R] BEP3 module spec and clean up (#450) 2020-04-23 13:57:25 -07:00
06_begin_block.md [R4R] bep3 module audit revisions (#505) 2020-05-12 13:15:38 -07:00
README.md [R4R] BEP3 module spec and clean up (#450) 2020-04-23 13:57:25 -07:00

bep3 module specification

  1. Concepts
  2. State
  3. Messages
  4. Events
  5. Params
  6. BeginBlock

Abstract

x/bep3 is an implementation of a Cosmos SDK Module that handles cross-chain Atomic Swaps between Kava and blockchains that implement the BEP3 protocol. Atomic Swaps are created, then either claimed before their expiration block or refunded after they've expired.