Arkadiy Kukarkin
prev. CTO Mediachain (acquired 2017)
prev. prev. Hype Machine
@arkadiy in #creator-s4labels
OP_DUP OP_HASH160 20 0xecae7d092947b7ee4998e254aa48900d26d2ce1d
OP_EQUALVERIFY OP_CHECKSIG
OP_RETURN 14 0x68656c6c6f20776f726c64212121
NOT Turing Complete
NOT Very Fun
LLL
Serpent (Python-like)
Solidity (JS-like, kinda)
contract mathFun {
// (2**256 - 1) + 1 = 0
function overflow() returns (uint256 _overflow) {
uint256 max = 2**256 - 1;
return max + 1;
}
// 0 - 1 = 2**256 - 1
function underflow() returns (uint256 _underflow) {
uint256 min = 0;
return min - 1;
}
}
contract mathFun2 {
// 1 / 0 = 0
function divideByZero() returns (uint256 _zero) {
uint256 num = 1;
return num / 0;
}
// 17 / 3 = 5
function underflow() returns (uint256 _fraction) {
uint256 prime = 17;
return prime / 3;
}
}
[! TRUFFLE SOLIDITY ERROR] Error: VM Exception while processing transaction:
out of gas
Failed to compile.
First practical trustless, global computer