Giter Site home page Giter Site logo

Tokens destination about retriev HOT 17 OPEN

irenegia avatar irenegia commented on June 15, 2024
Tokens destination

from retriev.

Comments (17)

anorth avatar anorth commented on June 15, 2024 2

the collateral goes into the smart contract account and the contract's owner can manage it

That sounds much better

from retriev.

anorth avatar anorth commented on June 15, 2024 1

Burning tokens except for protocol governance tokens makes no sense. In a competitive market of such protocols, one that paid some collateral to clients would be far preferred by them, one that paid auditors would be preferred by them, and one that retained collateral in treasury would be preferred by owner (and would be able to fund itself), and its better business prospects should make it preferred by clients and auditors. Probably the sweet spot is a mix of the above.

Lighting money on fire is no more rational for a decentralised entity than a real-world one.

(Gov tokens are an exception because that amounts to a share buyback).

Paying people for things introduces incentives, and we'll then need mechanisms to ensure those incentives don't lead to uncontrolled bad behaviour.

As an aside, the built-in storage market does burn collateral. (1) I don't think this is the best design, and (2) FIL is the equity token for Filecoin network, so for a network built-in actor, it's similar to the case of burning governance tokens, where the so-called protocol revenue accrues to FIL holders.

from retriev.

nicola avatar nicola commented on June 15, 2024 1

hey @irenegia I think it's ok to mark it as a future, but if you close it it will be very tricky to find it. I suggest we re-open it but we take it off the board.

from retriev.

irenegia avatar irenegia commented on June 15, 2024

cc @lucaniz @Kubuxu @anorth

from retriev.

irenegia avatar irenegia commented on June 15, 2024

@anorth thanks for your feedback!!

But let me explain what I mean with we burn (I think i used the wrong words there and indeed I just updated the fist message in this issue): the collateral goes into the smart contract account and the contract's owner can manage it (ie, withdraw the tokens).
So I believe we are in the scenario "protocol that retains collateral in treasury and that is preferred by owner".

The question now if this is the best approach for the market fit or when want to use part of the collateral to pay the referees (note that they can the the contract owner and they already get the appeal fee).

cc @nicola

from retriev.

0xjona avatar 0xjona commented on June 15, 2024

It is not very expensive (both in terms of @turinglabsorg effort and gas) to upgrade the dynamics of transfer of value

from retriev.

nicola avatar nicola commented on June 15, 2024

What are the risks in giving collateral money to the user?

from retriev.

irenegia avatar irenegia commented on June 15, 2024

What are the risks in giving collateral money to the user?

It is an incentive to user to misbehave (eg, client appeals while a provider is down/dossed on porpuse)

from retriev.

nicola avatar nicola commented on June 15, 2024

Well, invoking the committee has a cost (we can play with that)

Plus, if a single client can break/doss the storage provider for cheap, then it means that it's not a good storage provider.
Plus, there if user is an ETH token holder they already benefit from the slashed ETH collateral (in a very small way, but they do)

from retriev.

irenegia avatar irenegia commented on June 15, 2024

Well, invoking the committee has a cost (we can play with that)

We already use this to say that is not rational for a malicious client to create false appeals in the current version of the protocol (ie, with no collateral given to client).
If we give the collateral (even just part of it to clients), then we have to increase the appeal and I believe this is (1) unfair for good clients, (2) not appealing for the product.

Moreover, in filecoin, when we slash for missing a windowPoSt, there is no payment for the clients, why do we want something different here?

from retriev.

irenegia avatar irenegia commented on June 15, 2024

Plus, there if user is an ETH token holder they already benefit from the slashed ETH collateral (in a very small way, but they do)

what do you mean?

from retriev.

0xjona avatar 0xjona commented on June 15, 2024

While we are still on testnet this is not an issue related to development; but we must consider any relevant change to be included in the smart contract before audition! I’ll ping everybody in a couple of weeks

from retriev.

nicola avatar nicola commented on June 15, 2024

@irenegia if you are an ETH holdler, and you know that there is a protocol, where there are miners that could loose data and when they do, they loose ETH, what you do, you attack them, so that they loose ETH, so that the number of ETH around decreases (hence the value of your ETH increases).

In other words, if we end up having $B of ETH locked, we will be a worse target than some users earning the miner collateral.

from retriev.

nicola avatar nicola commented on June 15, 2024

Moreover, in filecoin, when we slash for missing a windowPoSt, there is no payment for the clients, why do we want something different here?

When people make mistakes, the network "earns" for the same reason that I described above.

from retriev.

irenegia avatar irenegia commented on June 15, 2024

For the alpha version, we can leave things are they are (see description in the first message), and we can discuss this again in the future for a future upgrade.

from retriev.

irenegia avatar irenegia commented on June 15, 2024

Closing this issue for now, but adding the label "future" since we may want to re-open this for an upgrade after launch

from retriev.

0xjona avatar 0xjona commented on June 15, 2024

at the moment we have

  • total refund policy if provider is slashed
  • whole collateral goes into smartcontract vault if provider is slashed
  • referees network get payed 0.2*deal_value per appeal, and max appeal number is 5

these are parameters that each referee networks can set once joining the protocol, playing with terms of agreement
we are exploring multi-referee networks in next release (can't quote an issue now) @irenegia

from retriev.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.