eips
eips copied to clipboard
EIP-0023 Oracle pool 2.0
Main features in v2.0
- Single pool address (only one type of box). This version of the pool will have only one address, the pool address.
- Data-point boxes will be considered as inputs rather than data-inputs. These inputs will be spent, and a copy of the box with the reward will be created.
- Reward in tokens not Ergs. The posting reward will be in the form of tokens, which can be redeemed separately.
- Reward accumulated in data point boxes to prevent dust. We will not be creating a new box for rewarding each posting. Instead, the rewards will be accumulated in data-point boxes.
- When creating a data-point box, the pool box is not needed as data input. Creating a data-point will be decoupled from the pool, and will not require the bool box as data-input.
- Update mechanism as before. We will have the same update mechanism as in v1.0
- Transferable participant tokens. Participant tokens are free to be transferred between public keys
- Longer epoch period (1 hour or 30 blocks).
- No separate funding box. The pool box emits only reward tokens and won't be handing out Ergs. Thus, there won't be a separate funding process required.
- Reward mechanism separate from pool. The process of redeeming the reward tokens is not part of the protocol.
https://github.com/ergoplatform/eips/blob/eip23/eip-0023.md#reward-mechanism
Document mentions "We also give a sample token exchange contract", which seems to be missing. Either add the contract or remove the sentence
@scalahub Could you please merge https://github.com/ergoplatform/eips/pull/78 into this PR?