can anyone tell me what is wrong with this swap function? function swapBackSpecial() internal swapping{ uint256 v = _swapVal; uint256 amountTo...
got an error in remix that I've never seen before and hope someone can help CompilerError: Stack too deep when compiling inline assembly: Variable value1 is 1 slot(s) too dee...
While we're on topic. Keccak random does only produce numbers right? Never tried with anything else but is there any way to convert to say a randomly generated address or bool...
kinda obscure question but has anyone found a quick way to return variable data types? i.e. "if(condition){return address} else {return uint}" type deals? only way i found inv...
You're trying to work with flash loans and you can't even import a library? Let me guess you got the contracts from a link on youtube?
but wouldn't it still need to be decoded by type to be human readable? or could i just try decode with all types and return whichever one is valid?
what solidity version are you using btw? just noticed for loop doesn't have "{ }"