Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Adar
Jul 27, 2001
Sooooo ICX, the Korean ETH killing wondercoin with a current 800 million dollar market cap, has a small bug in their ERC20 (Ethereum chain (beta)) token that's been out for six months now. Here's the code. See if you can spot the problem:


function disableTokenTransfer()
external
onlyFromWallet {
tokenTransfer = false;
TokenTransfer();
}

modifier onlyFromWallet {
require(msg.sender != walletAddress);
_;
}

Their mainnet is ready and these tokens are due to be exchanged for version 1.0 in 3 days, so the part of the story where random trolls are currently busy enabling and disabling transfers every few seconds is merely very embarrassing rather than a total clusterfuck.

This brilliant piece of coding came to light because of a different ICO, Yggdrash, created by a guy formerly on the ICX team. He copy/pasted the ICX contract with the bug included, the tokens were released yesterday and the bug discovered as people were racing to try to buy/sell them on exchanges. As the bulk of Yggdrash buyers now want to sell them ASAP but can't because you or I or my cat can block transfers at will, the solution will require a hard fork. Stay tuned for how that impacts anyone who bought the coin (hint: poorly)

Adbot
ADBOT LOVES YOU

Adar
Jul 27, 2001

moana posted:

all you guys hating on ghostty zaurg when he's the best bfc poster in recent history

Adar
Jul 27, 2001

ghosTTy posted:

omg this is so boring, my portfolio has been at the same value for weeks. Is crypto no longer volatile? I guess it's good for adoption



number go (direction) soon imo

Adar
Jul 27, 2001

QuarkJets posted:

can we rename this thread to the CAARdanO Memorial Appreciation Station?

Adar
Jul 27, 2001

divabot posted:

it's quite clear that bitcoin going below 4000 is GOOD news for the altcoin market, and particularly ADA

is now a good time to post these PMs?







Adar
Jul 27, 2001
MKR/DAI is unironically awesome and the kind of tech that should be interesting no matter how pro or anti-crypto you are. A token that's worth $1 not because of probably phantom bank deposits but because of collateral that anyone can verify, and that holds up during a > 90% drop in the underlying collateral's value because the contracts auto-regulate themselves, is Cool and Good. It's the kind of thing that will eventually get used in fintech for decades.

So of course the devs are going to introduce multi-collateral and almost immediately gently caress this up because a bunch of the collateral will be shitcoins bad enough to have a risk of going to zero in a split second, destroying the utility of the whole thing.

The eth-only collateral version is really cool though!

Adbot
ADBOT LOVES YOU

Adar
Jul 27, 2001

wide stance posted:

Ah yeah that sounds about right. In a frictionless world one could just sell it to fiat then put it in an online savings account at 2% interest, netting 1.5%

selling it to fiat is a taxable event in most countries while getting a loan against the collateral is usually not, so this is a pretty clever trick as long as you don't do something retarded like use the DAI to buy more ETH to get more DAI to buy more ETH and on and on to go long on an asset during the deflation stage of a large bubble with very little room for err

oh

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply