Skip to content

xclbrio/DLL

Repository files navigation

Decentralized Liquidity Layer

Excalibur_ solidity smart contracts for DLL

GitHub GitHub GitHub release Gitter

Description

The protocol of an exchange is implemented through the use of smart contracts on the Ethereum blockchain- an open source, which does not charge any additional fees, with the exception of gas cost on the Ethereum network. Smart contracts are written in Solidity language.

DLL Algorithm

DLL is a concept like the Ethereum and Bitcoin networks. In DLL there is also a stream of objects that need to be calculated for a reward. In this concept, each DEX is a subpool with Takers, users who can execute orders entering the subpool, for which DEX receives an award in the form of commission and may, at its discretion, share this reward with its users.

Each product that uses Excalibur_ protocol for exchange and wants to connect to DLL must add the address of the admin wallet to the smart protocol contract. This address will identify the product in the global pool. Further, each DEX that participates in the global pool will sign each order created on this DEX using the address that was previously registered in the contract. Thus, when executing an order, you can always track which DEX it was created from and limit the use of the global pool to DEX which are registered in it.

If the product is not registered in the global pool, it is still able to connect to the general flow of orders, but is not able to execute them, as the smart contract of protocol verifies the address of the order creator’s exchange and the address of the executor each time an exchange is done.

The commission that the global pool charges with DEX is calculated by using the following formula where: MakerFee – a commission rate applied by the EXC protocol for Makers operations TakerFee - the commission rate applied by the EXC protocol for Takers operations dexAMakerVolume –liquidity Maker type operations done by / DEX A application during the estimated period dexATakerVolume –liquidity Taker type operations done by / DEX A application during the estimated period PoolMakerVolume - total amount of operations of liquidity Maker type processed by EXC protocol PoolTakerVolume – total amount of operations of liquidity Taker type processed by EXC protocol dexATotalVolume – total amount of all transactions done by the / DEX A application during the estimated period poolTotalVolume – total amount of all transactions processed by EXC protocol during the estimated period

Communication channels

Email: support@xclbr.io

Gitter chat: https://gitter.im/xclbrio/Lobby

Issues

Issues page for reports

License

Apache v2.0 © 2018 ExcaliburAlpha OÜ

About

Decentralized Liquidity Layer Prototype

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published