cw-token-swap

Crates.iocw-token-swap
lib.rscw-token-swap
version2.6.0
sourcesrc
created_at2023-07-03 15:50:50.655242
updated_at2024-11-07 23:53:14.128005
descriptionA CosmWasm contract for swapping native and cw20 assets.
homepage
repositoryhttps://github.com/DA0-DA0/dao-contracts
max_upload_size
id907145
size76,893
publishers (github:da0-da0:publishers)

documentation

README

cw-token-swap

cw-token-swap on crates.io docs.rs

This is an escrow token swap contract for swapping between native and cw20 tokens. The contract is instantiated with two counterparties and their promised funds. Promised funds may either be native tokens or cw20 tokens. Upon both counterparties providing the promised funds the transaction is completed and both sides receive their tokens.

At any time before the other counterparty has provided funds a counterparty may withdraw their funds.

Commit count: 879

cargo fmt