CRYPTO NEWS

Bitcoin decides fate of $60K as weekly close keeps BTC traders on their toes

It could still go either way for bulls in the run-up to what could still turn out to be the highest weekly close on record.

What is the return of uint(keccak256(_str));?

I’m doing the chapter 1 of the crypto zombies course. uint id = zombies.push(Zombie(_name, _dna)) – 1; NewZombie(id, _name, _dna); } function _generateRandomDna(string _str) private view returns (uint) { uint rand = uint(keccak256(_str)); return rand % dnaModulus; } the return of this is supposed to be a number of 16 numbers. per exemple "8356281049284737". But::Listen

I’m doing the chapter 1 of the crypto zombies course.

        uint id = zombies.push(Zombie(_name, _dna)) - 1;         NewZombie(id, _name, _dna);     }      function _generateRandomDna(string _str) private view returns (uint) {         uint rand = uint(keccak256(_str));         return rand % dnaModulus;     } 

the return of this is supposed to be a number of 16 numbers. per exemple "8356281049284737". But for return rand % dnaModulus; . but i cant figure out what is the return of uint(keccak256(_str)).

Bitcoin decides fate of $60K as weekly close keeps BTC traders on their toes

Shopping cart
There are no products in the cart!
Continue shopping
0