Skip to content

Commit c17df6c

Browse files
committed
Update lib.rs
1 parent 1919cc2 commit c17df6c

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

5-DAO/xrdao/src/lib.rs

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,21 @@
4343
/// When there is ever a price difference above the fee that is being charged (.5%) there will be a profitable
4444
/// arbitration opportunity within the pool. Whether an arbitrage bot or a user makes it, fees are then
4545
/// generated from that trade and go back to buying more liquidity and rewarding each user based on reputation.
46+
/// Reputation is basically earning a share of xrd market volatility combined with platform fees.
4647
///
47-
/// The majority of my work here is to the xrdaouser and user components. Tokentax is a start of an attempt to
48+
/// The majority of my work here is to the xrdaouser and xrdao components. Tokentax is a start of an attempt to
4849
/// design a component that a token must pass through in order to extract taxes from dex transactions. My
49-
/// understanding is this feature doesnt current work at the resource level, but hopefully it will be in the
50-
/// future. xrdaoproposal is mostly still copy paste from the Liquidity Dao scrypto examples. Radiswap is instantiated
51-
/// to trade and provide liquidity for XRDao-XRD token.
50+
/// understanding is this feature doesnt current work at the resource level, but hopefully it will in the
51+
/// future. Radiswap is instantiated to trade and provide liquidity for XRDao-XRD token.
52+
///
53+
///
54+
/// XRDaoProposal is a copy paste from the Liquidity DAO scrypto examples that I am in process of modifying to fit
55+
/// my own purposes. This component is for creating voting proposals that must be funded and voted on. Vote weight is calculated by
56+
/// total xrdao tokens held on the platform and the curve associated with the user's Rank. Proposals can be challenge
57+
/// any proposal they deem harmful to the platform by voting with reputation instead of xrdao token balance.
58+
/// When voting with rep, you stake your rep tokens on the correct outcome of the proposal. Those on the losing side
59+
/// of the vote forfeit their tokens to the winning side. This way the voters with the most conviction on the best
60+
/// outcome will be willing to risk their earning power from the platform on the outcome.
5261
///
5362
/// written by Austin
5463
/// @aus877 on twitter

0 commit comments

Comments
 (0)