Skip to content

Dexaran/DecentralizedEXchange

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DecentralizedEXchange

Exchange consists of 3 contracts and SafeMath library.

Master-contract

Is throwing events and contains orders mapping and supported tokens mapping. Places new BID or ASK contracts when executed.

Bid

A single BID contract. BID contract is holding Ether and is buying tokens. Trade is triggered when token transaction to BID contract occurs. Only owner (BID placer) or master (an exchange contract) can send more Ether intor BID contract.

Ask

A single ASK contract. ASK contract is holding tokens and is selling them instantly when Ether transaction to ASK contract occurs. Only owner (ASK placer) or master (an exchange contract) can transfer tokens (only tokens that are traded on ASK contract market) to ASK contract.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages