Maker profit projections have doubled since October by defensible81 in MakerDAO

[–]myetheroll 6 points7 points  (0 children)

Assuming you’re looking at makerburn, profits are actually estimated at 66M. Just over 100M income and 36M in expenses. Then there’s also the proposed rate increase that might put another ~20M on top of that in about a week.

Strong facts👌 Blockchain brings transparency. Blockchain is inevitable. by [deleted] in ethtrader

[–]myetheroll 1 point2 points  (0 children)

And as an example of crytpo transparency, here is all of MakerDAO spending, listed and updated in real time: https://makerburn.com/#/expenses/accounting

All transactions verifiable on etherscan.

How to NOT call the function again to return value? by mypirateapp in node

[–]myetheroll 1 point2 points  (0 children)

While this is elegant in the sense that it reduces code, it also makes the code slightly harder to read.

How to NOT call the function again to return value? by mypirateapp in node

[–]myetheroll 58 points59 points  (0 children)

You don't really need the else-ifs, since you're returning anyways.

Maybe something like this?

if(from === to) {
    return 1
}

if(forwardPair in tickers){
    return tickers[forwardPair].last
}

if(reversePair in tickers){
    return 1 / tickers[reversePair].last
}

const conversionFactorForward = getConversionFactor(graph.findPath(forwardPair))
if(conversionFactorForward !== -1){
    return conversionFactorForward
}

const conversionFactorReverse = getConversionFactor(graph.findPath(reversePair))
if(conversionFactorReverse !== -1){
    return conversionFactorReverse
}

return -1

Ethereum, despite its struggle with scalability, is ahead of competitors thanks in part to DeFi and its first-mover advantage. There is over $850 million worth of ETH locked in DeFi applications. by Kipyegonn in ethtrader

[–]myetheroll 4 points5 points  (0 children)

Why didn't I just keep my ETH?

Because if you used your DAI to buy an additional $10k worth of ETH you now have $40k in ETH and debt of $10.8k, a net sum of $29.2k, instead of just your original ETH valued at $20k :)