/donkey-protocol

The Donkey On-Chain protocol

Primary LanguageSolidityBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Donkey Lending

Description

Donkey Protocol is a multi-chain (Ethereum, Klaytn) smart contract for supplying or borrowing assets. Through the dToken contracts, accounts on the blockchain supply capital (Ether or ERC-20 tokens on Ethereum, Klay or KIP-7 tokens on Klaytn) to receive dTokens or borrow assets from the protocol (holding other assets as collateral). The dToken contracts track these balances and algorithmically set interest rates for borrowers.

Donkey Staking

Description

Donkey Staking Contract allows users to stake their DON tokens for a predetermined term(lockupTerm) after which users can claim their principal with interest.

Donkey Governance

Description

VDON StakingContract allows users to stake their DON tokens for a predetermined term in exchange for VDON tokens and interest (in the form of DON and ecoCNG tokens). As of Friday (11/04 KST), ownership of VDON tokens will grant users exclusive rights including but not limited to voting/submitting governance proposals and claiming a certain portion of Donkey Protocols' revenue. In future updates, as part of an effort to promote Donkey Protocol's token economy and incentivize users to hold on to their VDON tokens, the team will be extending VDON tokens' utilities so that VDON holders can enjoy a more varied form of exclusive benefits.

Discussion

For all discussions concerning the protocol, please visit our Discord channel

If you have security concerns, please send an email to info@donkeylabs.io

Guide

Attribution

Some of this codebase is modified from existing works, including:

Compound
OpenZepplin

refers to Donkey License

License

BSD 3-Clause "New" or "Revised" License

A permissive license similar to the BSD 2-Clause License, but with a 3rd clause that prohibits others from using the name of the project or its contributors to promote derived products without written consent.

Copyright 2021 Donkey

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

© Copyright 2021, Donkey Labs