Gateways should not be considered T4 as we can lose them with exchange insolvency. I feel strongly about this and will draft it as a motion if necessary.
I think I agree with both statements.
1 more signer needed.
Last week I held 174.8 BTC. 32 BTC was spent at NuLagoon Tube this week, making my new total 142.8 BTC.
Nushare buyback calculation v0.4:
update Jordan Lee’s T4 BTC holdings; comment out gateways; add NuSafe
Please check.
output
As of Sat Feb 13 06:38:12 UTC 2016
"blocks" : 743672,
Total NBT = 1273086.9845
FSRT multisig
Balance of BhCnQrYrA5LZm871dtMQEXeU93gmqbhdrC is 0 NBT
FSRT singlesig
Balance of BFTnCyMX1nsTNp6X7Bcm1qVocvShdbwtMi is 151500 NBT
JordanLee singlesig
Balance of B5Zi5XJ1sgS6mWGu7bWJqGVnuXwiMXi7qj is 150000 NBT
FLOT 3-of-5 multisig
Balance of BqyRzFtWXDmjxrYpyJD42MLE5xc8FrB4js is 175714.0616 NBT
Total NBT in circulation is 795872.922900 NBT.
Required 15% reserve is 119380.938435 NBT
Tier 4 BTC
Tier 4 buy side funds controlled by FLOT
FLOT 5-of-8 multisig old
Balance of 3QDWJ2yqJ5iTUg6cSpAwxx95ba3NG97hzG is 0 BTC
FLOT 5-of-8 multisig new
Balance of 3HikFkS2Zinab1TJq7dqp6wSPyLu7i7bhe is 158.49818542 BTC
Tier 4 buy side funds controlled by JordanLee 142.8 BTC
NuSafe has $30000 for T4
bitfinex mid price is 389.14 USD
Tier 4 buy side funds total 301.298185 BTC and $30000.000000, valued $147247.175874 (378.391262 BTC)
119380.938435 NBT excluded from the share buyback calculation equals 306.781463 BTC.
378.391262 - 306.781463 = 71.609800 BTC sits in the share buyback pool.
10 percent of this 7.160980 BTC will be used for share buyback next week.
That is equivalent to approximately $2786.623744.
code
bash script (working in cygwin on windows)
# Nushare buyback calculation v0.4 # mhps 2016 # change log # v0.4 update Jordan Lee's T4 BTC holdings; comment out gateways; add NuSafe # v0.3 https://discuss.nubits.com/t/nsr-buyback-calculations/3347/56 # relace this to how nud is run locally NUD=./daemon/nd echo As of `date --utc` $NUD --unit=B getinfo | grep 'blocks' totalNBT=`$NUD --unit=B getinfo | awk '$1 ~ /moneysupply/{print $3}' | tr -d ,` echo Total NBT = $totalNBT echo $totalNBT > templist echo function nbtBalance { tempval=`curl -s http://blockexplorer.nu/api/addressInfo/$1 | awk 'BEGIN{RS=",\"";FS=":"}{print $1,$2}' | grep totalBalanceInt | awk '{print $2}'`;echo Balance of $1 is $tempval NBT; } function btcBalance { tempval=`curl -s http://btc.blockr.io/api/v1/address/info/$1 | awk 'BEGIN{RS=",\"";FS=":"}{print $1,$2}' | grep balance\" | awk '{print $2}'`;echo Balance of $1 is $tempval BTC; } function btcPrice { tempval=`curl -s https://api.bitfinex.com/v1/pubticker/btcusd | awk 'BEGIN{RS=",\"";FS=":"}{print $1,$2}' | grep mid | awk '{print $2}'| tr -d \"`;echo bitfinex mid price is $tempval USD; } echo FSRT multisig nbtBalance BhCnQrYrA5LZm871dtMQEXeU93gmqbhdrC echo $tempval >> templist echo FSRT singlesig nbtBalance BFTnCyMX1nsTNp6X7Bcm1qVocvShdbwtMi echo $tempval >> templist echo JordanLee singlesig nbtBalance B5Zi5XJ1sgS6mWGu7bWJqGVnuXwiMXi7qj echo $tempval >> templist echo FLOT 3-of-5 multisig nbtBalance BqyRzFtWXDmjxrYpyJD42MLE5xc8FrB4js echo $tempval >> templist #cat templist # calc the first line minus rest of the lines circNBT=`awk '{if(n) c-=$1; else {c=$1;n=1}}END{printf "%f",c;printf "%f",c*0.15 > "reserve"}' templist` echo echo Total NBT in circulation is $circNBT NBT. echo Required 15% reserve is `cat reserve` NBT echo echo **Tier 4 BTC** echo echo Tier 4 buy side funds controlled by FLOT echo FLOT 5-of-8 multisig old btcBalance 3QDWJ2yqJ5iTUg6cSpAwxx95ba3NG97hzG echo $tempval > templist echo FLOT 5-of-8 multisig new btcBalance 3HikFkS2Zinab1TJq7dqp6wSPyLu7i7bhe echo $tempval >> templist jltbc=142.8 echo Tier 4 buy side funds controlled by JordanLee [$jltbc BTC]\(https://discuss.nubits.com/t/nsr-buyback-calculations/3347/62\) echo $jltbc >> templist nuSafe=30000 echo NuSafe has [\$$nuSafe]\(https://discuss.nubits.com/t/flot-operations-buy-side-btc-related/3117/317\) for T4 # echo # echo status of sell side gateway: # $NUD getliquidityinfo B | grep BETwD8nSjtj9ADSvej2na34xmsMYwPRymv -A 2 # echo status of buy side gateway: # $NUD getliquidityinfo B | grep BFGMPykfKxXZ1otrCZcsbnTwJjKHPP9dsP -A 2 echo btcPrice bp=$tempval awk '{c+=$1}END{\ printf "Tier 4 buy side funds total %f BTC and $%f, valued $%f (%f BTC)\n\n",c,NS,c*BTCP+NS,c+NS/BTCP;\ printf "%f NBT excluded from the share buyback calculation equals %f BTC.\n",RES,RES/BTCP;\ pool=c+NS/BTCP-RES/BTCP;\ printf "%f - %f = %f BTC sits in the share buyback pool.\n",c+NS/BTCP,RES/BTCP,pool;\ printf "10 percent of this **%f BTC will be used for share buyback next week.**\n",pool*0.1;\ printf "That is equivalent to approximately $%f.\n",pool*0.1*BTCP;\ }' RES=`cat reserve` NS=$nuSafe BTCP=$bp templist
As a reminder, i dont do buybacks if the value is less than $2,500. (It’s a clause in the ppc motion)
show the link here please
You could argue that it doesn’t take effect till April 1st, but I really don’t think it’s sensible to do for example a $400 buyback. It’s just a lot of work from a volunteer (me) for very minimal effect on the market (or our outstanding shares).
a lot of work ? or we can cancel all this buyback action
It’s not a cancellation, it just puts it on hold while we have a dip in NBT demand. It’s really just a practical limit, i haven’t done a complete analysis but I think the theoretical implications are minimal. When we have a spike in NBT demand, we get a lot of BTC, which we convert to NSR to store and minimize risk in another blockchain. If a hundred thousand NBT get sold tomorrow I’d be happy to keep doing buybacks.
This week is $2786 > $2500 so I will certainly do buybacks this week.
i see , thanks for you work !
Please be aware (I don’t want it to look like I’m hiding anything) that PPC has a lower threshold when it activates in April. This means that when we are just above the 15% BTC threshold we will be buying PPC and not NSR. This is again practical because PPC buybacks are going to be much easier than NSR buybacks, however it does have theoretical implications. It means that we will give something of a higher priority to filling the PPC pool over NSR buybacks when we are at the 15% BTC threshold. I’m calling this a feature rather than a bug.
there are no NSR buyback at April. and I right?
It’s complicated. By current motion, i will keep buying back at half the velocity (5% instead of 10%) and Nu will pay me $175 for april. This probably won’t happen, most likely either another executor will be found or buybacks will be ceased.
Nushare buyback calculation change log
v0.4.1 update Jordan Lee’s T4 BTC holdings
output
As of Sat Feb 20 06:14:52 UTC 2016
"blocks" : 753232,
Total NBT = 1273084.8945
FSRT multisig
Balance of BhCnQrYrA5LZm871dtMQEXeU93gmqbhdrC is 0 NBT
FSRT singlesig
Balance of BFTnCyMX1nsTNp6X7Bcm1qVocvShdbwtMi is 151500 NBT
JordanLee singlesig
Balance of B5Zi5XJ1sgS6mWGu7bWJqGVnuXwiMXi7qj is 150000 NBT
FLOT 3-of-5 multisig
Balance of BqyRzFtWXDmjxrYpyJD42MLE5xc8FrB4js is 181924.4616 NBT
Total NBT in circulation is 789660.432900 NBT.
Required 15% reserve is 118449.064935 NBT
Tier 4 BTC
Tier 4 buy side funds controlled by FLOT
FLOT 5-of-8 multisig old
Balance of 3QDWJ2yqJ5iTUg6cSpAwxx95ba3NG97hzG is 0 BTC
FLOT 5-of-8 multisig new
Balance of 3HikFkS2Zinab1TJq7dqp6wSPyLu7i7bhe is 145.28660542 BTC
Tier 4 buy side funds controlled by JordanLee 113.8 BTC
NuSafe has $30000 for T4
bitfinex mid price is 422.365 USD
Tier 4 buy side funds total 259.086605 BTC and $30000.000000, valued $139429.114098 (330.115218 BTC)
118449.064935 NBT excluded from the share buyback calculation equals 280.442425 BTC.
330.115218 - 280.442425 = 49.672793 BTC sits in the share buyback pool.
10 percent of this 4.967279 BTC will be used for share buyback next week.
That is equivalent to approximately $2098.004916.
Looking at these numbers and recent NBT volume I prefer to pause buybacks for now. Nagalim won’t do buybacks below 2.5k. I also think that setting up another NuSafe or using this on PPC is a good alternative at this point.
so what we can do next week? nothing ? or buy PPC?
Nothing, we do nothing. We dont have enough btc to be buying other stuff right now.
Oh, execpt feel free to refill my T3 address, it needs about $2.2k.