NEST-Protocol / NEST-Improvement-Proposals

NEST Improvement Proposals
2 stars 2 forks source link

About NEST oracle call charging rules #17

Open MLY0813 opened 3 years ago

MLY0813 commented 3 years ago

Payment method

Pay per time, call 0.01ETH once.

Charging destination

The call fee is entered into the DAO account of the corresponding quote pair for repurchase.

Activation

It needs to be activated before using the nest oracle machine, the purpose is to prevent the embezzlement of NEST data by contract. It takes 100,000 NEST and one day to wait before the contract can use the NEST oracle normally. In the initial stage, in order to facilitate the promotion and application of nest and reduce the use of gate biology, the activation fee and waiting time can be adjusted to 0 first, if there is a problem of embezzlement in the later stage, adjustments are made.

If activation requires consumption of NEST, NEST enters the DAO account.

NEST oracle machine external output data (contract call charge)

One interface outputs 3 data and charges one time (0.01ETH).

  1. Latest price
  2. Volatility
  3. Average price

NEST oracle machine's external output data (off-chain calling is free)

  1. Latest price
  2. Volatility
  3. Average price

Historical price (charge for contract call)

  1. The number of returned data can be customized
  2. Charge 0.01ETH
  3. Return the effective price of the specified quantity from the latest effective price to the data

Historical price (free for off-chain calls)

  1. The number of returned data can be customized
  2. Prohibit contract calls
  3. Return the effective price of the specified quantity from the latest effective price to the data

Average price

Calculated from the latest 50 prices, cannot be customized

Variable parameter

  1. The number of NESTs to be destroyed by the downstream defi to activate the use authority, the initial value is 0. Follow-up changes depending on the situation (see whether there is any embezzlement).
  2. The waiting time after the downstream defi is activated, the initial value is 0, and the subsequent changes depend on the situation (see whether there is any embezzlement).
  3. Normal single call fee, the initial value is 0.01ETH.
lemmaxs commented 3 years ago

This is clearer. Has the community mentioned that there is no monthly subscription method?

JohnChanx commented 3 years ago

This is clearer. Has the community mentioned that there is no monthly subscription method?

Monthly payment fits for centralized projects, not for blockchain.

lemmaxs commented 3 years ago

Why choose 50 prices as the basis for the average price?

gbabyz commented 3 years ago

Why would you charge a price denominated in ETH?

How comfortably did you miss the point that the price of ETH is trending up?

Once ETH hits $10,000, are you going to be charging $100 per price call?

Or are you going to just keep adjusting it how you see fit?

What a mess this has become.

MLY0813 commented 3 years ago

Why would you charge a price denominated in ETH?

How comfortably did you miss the point that the price of ETH is trending up?

Once ETH hits $10,000, are you going to be charging $100 per price call?

Or are you going to just keep adjusting it how you see fit?

What a mess this has become.

Because the dividend is ETH. ETH is a decentralized asset. If ETH rises to $10,000, all operations on Ethereum will be very uncomfortable.

MLY0813 commented 3 years ago

Why choose 50 prices as the basis for the average price? Volatility is calculated based on 50 price increments. To be consistent.