beta 5
This commit is contained in:
parent
6b1867734b
commit
eaee93e1ff
|
@ -8,8 +8,8 @@
|
|||
#domain=http://dlux-token.herokuapp.com
|
||||
# Your API port (defaults to 3001)
|
||||
#PORT=3001
|
||||
# Your bidRate (defaults to 2500)
|
||||
#BIDRATE=2500
|
||||
# Your bidRate : dex fee vote: 500 = 0.500%
|
||||
#BIDRATE=500
|
||||
# Your History based HIVE node for startup purposes
|
||||
#STARTURL=<HIVE_RPC_Node_with_History>
|
||||
# Your blockbased HIVE node for getting blocks and broadcasting transactions
|
||||
|
|
|
@ -31,7 +31,7 @@ const ipfshost = ENV.ipfshost || 'ipfs.infura.io' //IPFS upload/download provide
|
|||
const ipfsport = ENV.ipfsport || '5001' //IPFS upload/download provider provider
|
||||
const ipfsprotocol = ENV.ipfsprotocol || 'https' //IPFS upload/download protocol
|
||||
//node market config > 2500 is 25% inflation to node operators, this is currently not used
|
||||
const bidRate = ENV.BIDRATE || 2500 //
|
||||
const bidRate = ENV.BIDRATE || 500 // your vote for the dex fee 500 = 0.500% Max 1000
|
||||
|
||||
//HIVE CONFIGS
|
||||
var startURL = ENV.STARTURL || "https://api.deathwing.me/"
|
||||
|
|
4
dao.js
4
dao.js
|
@ -8,7 +8,7 @@ const stringify = require('json-stable-stringify');
|
|||
//the daily post, the inflation point for tokennomics
|
||||
function dao(num) {
|
||||
return new Promise((resolve, reject) => {
|
||||
let post = `## ${config.TOKEN} DAO REPORT\n`,
|
||||
let post = `## SPK Claim Chain REPORT\n`,
|
||||
news = '',
|
||||
daops = [],
|
||||
Pnews = new Promise(function(resolve, reject) {
|
||||
|
@ -114,7 +114,7 @@ function dao(num) {
|
|||
}
|
||||
stats.marketingRate = parseInt(b / i);
|
||||
stats.nodeRate = parseInt(j / i);
|
||||
post = `![${config.TOKEN} Advert](${config.adverts[num.toString().split('').reduce((a, c) => parseInt(a) + c, 0) % config.adverts.length]})\n#### Daily Accounting\n`;
|
||||
post = `![${config.TOKEN} Advert](https://files.peakd.com/file/peakd-hive/spknetwork/23t7kxv6nPpoJwgyaDY3Xrekipa9vSyCNj6qm9oQuPDby7sk81ukLAAE8VJ55Kbp116bW.png)\n#### Daily Accounting\n`;
|
||||
post = post + `Total Supply: ${parseFloat(parseInt(stats.tokenSupply) / 1000).toFixed(3)} ${config.TOKEN}\n* ${parseFloat(parseInt(stats.tokenSupply - powBal - (bals.ra + bals.rc + bals.rd + bals.ri + bals.rn + bals.rm)) / 1000).toFixed(3)} ${config.TOKEN} liquid\n`;
|
||||
post = post + `* ${parseFloat(parseInt(powBal) / 1000).toFixed(3)} ${config.TOKEN} Locked to Govern\n`;
|
||||
post = post + `* ${parseFloat(parseInt(bals.ra + bals.rc + bals.rd + bals.ri + bals.rn + bals.rm) / 1000).toFixed(3)} ${config.TOKEN} in distribution accounts\n`;
|
||||
|
|
Loading…
Reference in New Issue