区块链海外项目"LENDROID"白皮书第三部分:拍卖

我有小广播,你要听我说:小姐姐辛苦翻译分享,心疼小姐姐的转载总可以注明来路吧!!如遇币豪们,文章下面有小姐姐的打赏地址,收基于ERC-20的各种币,一个都不嫌弃哦!

    三 THE LENDROID AUCTION

The concept of a market order or limit order  is inefficient in conventional exchanges and improbable on the blockchain. It requires intractable trust in the centralized exchange. When the collateral and positions of a Margin Account need to be repurposed, they are taken over by one or more Wranglers following a competitive bid. To be clear, this is not a winner-take-all auction. Every Wrangler chooses to repay a small portion of the total outstanding loan and his bid will be proportionately considered. In other words, the Wrangler takes over the account, but only the corresponding percentage of the loan that he repays.

3.1. WHO IT HELPS

The auction’s primary aim is to repay the Lender’s loan with interest. The auction is complete only if this basic criterion is met. To exercise their right on the collateral and the positions, the Wranglers repay the lender funds proportionate to the percentage they won in the auction. Because thecompetition prompts Wranglers to bid progressively lower for the collateral, the Margin Trader stands a chance to salvage some of his collateral at the end of the exercise, instead of having to lose it all. The Wrangler who identified the account is paid the bounty, and every Wrangler who bid successfully gets to win a portion of the assets. In short, the Wranglers get to further their assets at a potentially discounted price, the Margin Trader is not impacted beyond repair, and the Lender’s interests are protected.

3.2. HOW IT HAPPENS

Multiple Wranglers can monitor the margin account at the same time. The Wrangler who first identifies the terminal account triggers the startAuction function in the Auction Smart Contract. The Smart Contract triggers an Oracle call and subsequently checks the account’s margin level. The oracle, in this case, serves as an anti-spam feature. If the margin level is below the liquidation level, then the auction starts. Once the auction commences, it remains open for a total of 3 minutes allowing various Wranglers to submit their bids. Say the total amount owed by the trader is 100 ETH. If Wrangler1 pays 10 ETH and Wrangler2 pays 30 ETH, they receive 10% and 30% of the Margin Account respectively. In addition to receiving trade positions, they can also request a portion of the collateral. The collateral requested is transferred to compensate for losses in the trade positions taken over by them. Both the LSTs and the collateral are distributed based on % of the position closed by the Wranglers. The only exception being。


the first Wrangler to detect the unhealthy Margin Account who is guaranteed  25% of the LSTs staked as a reward for hisvigilance. The remaining 75% is then distributed among the rest. To summarize, the % of the position closed will determine how much of the LST and collateral each Wrangler receives, while the % of collateral requested will determine the order in which the Wranglers repay the loan.

Scenario:

Total margin account loans: 100 ETH

Total interest accrued: 1.5 ETH

Total owed to lenders: 101.5 ETH

Wranglers start bidding for a portion or the whole Margin Account, and how

much collateral they require in addition to portion of the open positions they

have rights over.


Once 3 minutes have passed, the smart contract proceeds to process the bids and allocates the positions, collateral and LSTs accordingly.


The bids are ordered by collateral % requested:

Lendroid will subsequently introduce two types of scripts. One for monitoring Margin Accounts and defaulting loans, and the other to bid auctions that Wranglers can put to use. These scripts are designed to minimize effort in monitoring and bidding.


                三 LENDROID  拍卖

市场订单或限价订单的概念在传统交易中是低效的,在区块链上是不可能的。 它要求中心化交易所的绝对信任。当保证金账户的抵押品和头寸需要重新调整用途时,他们会在竞标后被一个或多个牧马人接管。 要清楚的是,这不是一个赢家通吃拍卖。

每个牧马人选择偿还贷款总额的一小部分,他的出价是将按比例考虑的。 换句话说,牧马人接管了账户,但仅占他所偿还贷款的相应百分比。

3.1. WHO IT HELPS 拍卖中过程中参与者

拍卖的主要目的是偿还贷款人的贷款和利息。 只有满足这个基本标准,拍卖才能完成。 为了行使抵押权和头寸的权利,牧马人按照他们在拍卖中获得的比例偿还贷款人的资金。

由于竞争促使牧马人对抵押品的出价逐步降低,因此保证金交易者有机会在结束时挽救一些抵押品,而不是全部损失。对账户进行验证的牧马人获得了赏金,而每一个出价成功的牧马人都会赢得一部分资产。 简而言之,牧马人获得了可能打折折扣价格的更多的资产,而且保证金交易者不会受到无法修复的影响,贷款人的利益也受到保护。

3.2.HOW IT HAPPENS 拍卖是如何触发的

多个牧马人可以同时监控保证金账户。首先识别终端账户的牧马人在拍卖智能合约中触发智能合约功能。智能合约会触发一个Oracle请求,随后检查账户的保证金水平。Oracle, 在这种情况下,用作反垃圾邮件过滤功能。

如果保证金水平低于清算水平,则拍卖开始。一旦拍卖开始,它将持续3分钟,允许各种牧马人提交出价。

假设交易者所欠的总金额是100 ETH。如果Wrangler1支付10个ETH,Wrangler2支付30个ETH,则分别获得10%和30%的保证金账户。除了获得交易头寸之外,他们还可以申请一部分抵押品。所要求的抵押品被转移来弥补他们接管的贸易头寸的损失。 LST和抵押品都是根据牧马人关闭的头寸的百分比分配的。

唯一的例外是第一个发现不健康的保证金帐户的牧马人获得25%的LSTs作为奖励,其余的75%分配给其余的。

总而言之,关闭头寸的百分比将决定每个牧马人接收的LST和抵押品的数量,而要求的抵押品的百分比将决定牧马人偿还贷款的顺序。

场景:

总保证金账户贷款:100 ETH

累计利息:1.5 ETH

欠贷方总额:101.5 ETH

牧马人开始为部分或全部保证金账户进行竞标,除了他们有权利的分得的部分外,他们还要求多少抵押品。


一旦3分钟过去了,智能合约就会进行处理,并相应地分配头寸,抵押品和LST


出价按所要求的抵押品百分比排序

Lendroid将随后引入两种类型的脚本。 一个用于监控保证金账户和违约贷款,另一个用来投标牧马人可以投入使用的拍卖。这些脚本旨在尽量减少监视和出价的工作量。


Lola

区块链研习社精英群成员

2018.02.04 今日立春 

祝福一切重生的,迭代的,归零的,新纪元开始了,我看到了你们与我一起,都在路上.......

--------------------------------------------------------------------------------

小姐姐的打赏地址:(imToKen)

0x9a91F261dDA8619fC8E022886D293e0f64FA9e8c

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 214,504评论 6 496
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 91,434评论 3 389
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 160,089评论 0 349
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 57,378评论 1 288
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 66,472评论 6 386
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 50,506评论 1 292
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 39,519评论 3 413
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 38,292评论 0 270
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 44,738评论 1 307
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 37,022评论 2 329
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 39,194评论 1 342
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 34,873评论 5 338
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 40,536评论 3 322
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 31,162评论 0 21
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 32,413评论 1 268
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 47,075评论 2 365
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 44,080评论 2 352

推荐阅读更多精彩内容