Important Update of Delegation Service!

in #witness-categorylast year (edited)

Updates: Voting Power Considered in Voting Schema

The existing voting service has been running for months and as the steem price is falling, the number of delegators have been increasing - and the voting power seems not quite enough...

Thus, making a more flexible voting algorithm...

First, now, the 1000 USD = 2787.371 STEEM

You can get this number (updatedly hourly) at https://steemyy.com

image.png

Alternatively, you can visit the API: https://steemyy.com/api/steemit/1000usd.php

{
  "USD_TO_STEEM": 2.7879304913169904,
  "1000_USD_TO_STEEM": 2787.9304913169904
}

OK, below is the new algorithm

function getScore(user, totalDelegated, curVP, bonus, reputation, bodyLen, userSelfSp) {
    const sp = user['sp'];
    const vests = user['vests'];
    
    const delegateAtLeast_1000usd = (sp >= getspt(minRewardSP)) || (vests >= sp2vests(minRewardSP));
    const delegateAtLeast_5000usd = (sp >= getspt(minRewardSP*5)) || (vests >= sp2vests(minRewardSP*5)); 
    const delegateAtLeast_1 = (sp >= getspt(1)) || (vests >= sp2vests(1));
    const delegateAtLeast_100 = (sp >= getspt(100)) || (vests >= sp2vests(100));
    const delegateAtLeast_1000 = (sp >= getspt(1000)) || (vests >= sp2vests(1000));
    const delegateAtLeast_2000 = (sp >= getspt(2000)) || (vests >= sp2vests(2000));
    const delegateAtLeast_3000 = (sp >= getspt(3000)) || (vests >= sp2vests(3000));
    const delegateAtLeast_4000 = (sp >= getspt(4000)) || (vests >= sp2vests(4000)); 
    const delegateAtLeast_5000 = (sp >= getspt(5000)) || (vests >= sp2vests(5000));
    const delegateAtLeast_6000 = (sp >= getspt(6000)) || (vests >= sp2vests(6000));
    const delegateAtLeast_7000 = (sp >= getspt(7000)) || (vests >= sp2vests(7000));
    const delegateAtLeast_8000 = (sp >= getspt(8000)) || (vests >= sp2vests(8000));
    const delegateAtLeast_9000 = (sp >= getspt(9000)) || (vests >= sp2vests(9000));
    const delegateAtLeast_10000 = (sp >= getspt(10000)) || (vests >= sp2vests(10000));
    const delegateAtLeast_20000 = (sp >= getspt(20000)) || (vests >= sp2vests(20000));
    const delegateAtLeast_30000 = (sp >= getspt(30000)) || (vests >= sp2vests(30000));
    const delegateAtLeast_40000 = (sp >= getspt(40000)) || (vests >= sp2vests(40000));
    const delegateAtLeast_50000 = (sp >= getspt(50000)) || (vests >= sp2vests(50000));
    const delegateAtLeast_60000 = (sp >= getspt(60000)) || (vests >= sp2vests(60000));
    const delegateAtLeast_70000 = (sp >= getspt(70000)) || (vests >= sp2vests(70000));
    const delegateAtLeast_80000 = (sp >= getspt(80000)) || (vests >= sp2vests(80000));
    const delegateAtLeast_90000 = (sp >= getspt(90000)) || (vests >= sp2vests(90000));
    const delegateAtLeast_100000 = (sp >= getspt(100000)) || (vests >= sp2vests(100000));
    
    // basic linear score - 1 SP 0.001%,  10000 SP 1%
    let score = sp * 0.001;
    if (delegateAtLeast_1000usd) {        
        score += bonus;
    }
    
    if (delegateAtLeast_1000) {
        score += 1;
    }
    
    if (delegateAtLeast_5000) {
        score += 1;
    }

    // need to vote proxy or witness vote and deleagte at least 1000
    if (bonus > 0) {
      if (delegateAtLeast_1000usd) {
        // more text, more weight
        if (bodyLen > 0) {
            score += Math.min(3, bodyLen / 1000);
        }    
            
        // if you have 100 SP, and you delegate 100 SP, you will get 3% more
        if (userSelfSp > 0) {
            score += 0.5 * sp / userSelfSp; 
        }
        
        // if you delegate more than 5000, you have unlocked extra addition rewards
        // for example, delegate 6000, you will have addition 0.4%
        // delegate 7000, you will have additonal 0.8% 
        // and so on... 
        if (delegateAtLeast_5000usd) {
            score += (sp - 5000) / 2500;
        }
      } else {
        score += sp * 0.001;
      }
    }
    
    score = Math.min(score, config.max_value);
    score = Math.max(score, config.min_value);
    return score;
  1. Base fixed voting weight: 0.001 % for every 1 SP delegated.
  2. If you delegate at least 1000 SP - you get 1% bonus
  3. If you delegate at least 5000 SP - get get another 1 % bonus
  4. If you delegate at least 1000 USD (currently 2791 SP) - and if you vote me as witness 1% bonus, and if you set me a witness proxy - 5% bonus
  5. if you vote witness or set proxy - if you delegate at least 1000 SP - you can get bonous for more text and percentage of your SP that you delegate in your account (see above code).
  6. if you delegate at least 5000 USD - you can unlock additional linear fixed weight
  7. if you delegated leass than 1000 USD worth of SP, you will get additional 0.001 SP if you vote or set proxy.

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Thank you for reading ^^^^^^^^^^^^^^^

NEW! Following my Trail (Upvote or/and Downvote)

Follow me for topics of Algorithms, Blockchain and Cloud.
I am @justyy - a Steem Witness
https://steemyy.com

My contributions

Delegation Service

Important Update of Delegation Service!

  • Delegate 1000 to justyy: Link
  • Delegate 5000 to justyy: Link
  • Delegate 10000 to justyy: Link

Support me

If you like my work, please:

  1. Delegate SP: https://steemyy.com/sp-delegate-form/?delegatee=justyy
  2. Vote @justyy as Witness: https://steemyy.com/witness-voting/?witness=justyy&action=approve
  3. Set @justyy as Proxy: https://steemyy.com/witness-voting/?witness=justyy&action=proxy
    Alternatively, you can vote witness or set proxy here: https://steemit.com/~witnesses

Sort:  
Loading...

Waoo great pump. Thanks for sharing

I am thinking to delegate 1k in SP to your account...
For 1k SP delegated what it will be as an average the vote in $ and as well i would like to know if you are sending TRX rewards for the delegators...
PS: I have voted you very long time ago as a Witness, so good to know for 1k delegated is there any additional for the Witness vote!

Hello @justyy
I am @walad form Indonesia

I suggest that you restore your Voting Power first so that your voting power is stable again.
Thanks You

If you delegate at least 1000 USD (currently 2791 SP) - and if you vote me as witness 1% bonus, and if you set me a witness proxy - 5% bonus

I've done all this.

Coin Marketplace

STEEM 0.23
TRX 0.07
JST 0.030
BTC 21415.88
ETH 1229.10
USDT 1.00
SBD 3.30