0x5982790680ca991cdc56bc3adc56f17e599d701809e98cf0bd21323327edec37
Transaction
Balance changes
Address | Token(s) swapped | Balance | Price | Value change | |
---|---|---|---|---|---|
| ETH | +$21.62 | |||
Ether | +0.006925341 | | +$21.62 | ||
| ETH | -$172.62 | |||
Ether | -0.055297246 | | -$172.62 |
Invocation flow
Full trace
- 0DEPLOYMENTNeuralAutomataEngine 0x608060405234801561001057600080fd5b50600436106100675760003560e01c806365e433b91161005057806365e433b9146100925780637ba4965b146100a5…
- 1
- 2SSTOREfileStore 0x0000000000000000000000000000000000000000 to 0x9746fd0a77829e12f8a9dbe70d7a322412325b91
- 3SLOAD(baseScript[data], baseScript[length]) ("", 0)
- 4SHA30x00000000000000000000000000000000000000000000000000000000000000010xb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6
- 5SSTOREbaseScript[0] " " to "let n = 100;let board;let next;l"
- 6SSTOREbaseScript[1] " " to "et state = 0;let paused = 0;func"
- 7SSTOREbaseScript[2] " " to "tion setup() {board = new Array("
- 8SSTOREbaseScript[3] " " to "n);for (let i = 0; i < n; i++) {"
- 9SSTOREbaseScript[4] " " to "board[i] = new Array(n);}next = "
- 10SSTOREbaseScript[5] " " to "new Array(n);for (i = 0; i < n; "
- 11SSTOREbaseScript[6] " " to "i++) {next[i] = new Array(n);}fr"
- 12SSTOREbaseScript[7] " " to "ameRate(20);createCanvas(500, 50"
- 13SSTOREbaseScript[8] " " to "0);initalize();}function draw() "
- 14SSTOREbaseScript[9] " " to "{background(bg);generate();for ("
- 15SSTOREbaseScript[10] " " to "let i = 0; i < n; i++) {for (let"
- 16SSTOREbaseScript[11] " " to " j = 0; j < n; j++) {if(board[i]"
- 17SSTOREbaseScript[12] " " to "[j] == 0){fill(bg);stroke(bg);} "
- 18SSTOREbaseScript[13] " " to "else {let c = lerpColor(color(fg"
- 19SSTOREbaseScript[14] " " to "1), color(fg2), board[i][j]);fil"
- 20SSTOREbaseScript[15] " " to "l(c);stroke(c);}rect(i * 5, j * "
- 21SSTOREbaseScript[16] " " to "5, 5, 5);}}}function initalize()"
- 22SSTOREbaseScript[17] " " to " {randomSeed(seed);for (let i = "
- 23SSTOREbaseScript[18] " " to "0; i < n; i++) {for (let j = 0; "
- 24SSTOREbaseScript[19] " " to "j < n; j++) {board[i][j] = rand("
- 25SSTOREbaseScript[20] " " to ");next[i][j] = 0;}}}function mou"
- 26SSTOREbaseScript[21] " " to "seDragged() {noLoop();if(state ="
- 27SSTOREbaseScript[22] " " to "= 1){board[floor(mouseX / 5)][fl"
- 28SSTOREbaseScript[23] " " to "oor(mouseY / 5)] = 1;fill(fg2);s"
- 29SSTOREbaseScript[24] " " to "troke(bg);rect(floor(mouseX / 5)"
- 30SSTOREbaseScript[25] " " to " * 5, floor(mouseY / 5) * 5, 5, "
- 31SSTOREbaseScript[26] " " to "5);}}function mouseReleased() {i"
- 32SSTOREbaseScript[27] " " to "f(!paused){loop();}}function mou"
- 33SSTOREbaseScript[28] " " to "sePressed() {if(state == 0){seed"
- 34SSTOREbaseScript[29] " " to "++;initalize();}}function keyPre"
- 35SSTOREbaseScript[30] " " to "ssed() {if (keyCode === 32) {if("
- 36SSTOREbaseScript[31] " " to "state == 1){state = 0;initalize("
- 37SSTOREbaseScript[32] " " to ");loop();paused = 0;} else {stat"
- 38SSTOREbaseScript[33] " " to "e = 1;for (let i = 0; i < n; i++"
- 39SSTOREbaseScript[34] " " to ") {for (let j = 0; j < n; j++) {"
- 40SSTOREbaseScript[35] " " to "board[i][j] = 0;}}loop();paused "
- 41SSTOREbaseScript[36] " " to "= 0;}} else if (keyCode == 90) {"
- 42SSTOREbaseScript[37] " " to "if(paused){loop();} else {noLoop"
- 43SSTOREbaseScript[38] " " to "();}paused = !paused;}}function "
- 44SSTOREbaseScript[39] " " to "generate() {for (let i = 0; i < "
- 45SSTOREbaseScript[40] " " to "n; i++) {for (let j = 0; j < n; "
- 46SSTOREbaseScript[41] " " to "j++) {next[i][j] = convolution(i"
- 47SSTOREbaseScript[42] " " to ", j);}}let temp = board;board = "
- 48SSTOREbaseScript[43] " " to "next;next = temp;}function convo"
- 49SSTOREbaseScript[44] " " to "lution(x, y) {let sum = 0;for (l"
- 50SSTOREbaseScript[45] " " to "et i = -1; i <= 1; i++) {for (le"
- 51SSTOREbaseScript[46] " " to "t j = -1; j <= 1; j++) {sum += b"
- 52SSTOREbaseScript[47] " " to "oard[wrap(x+i)][wrap(y+j)] * mat"
- 53SSTOREbaseScript[48] " " to "rix[i+1][j+1];}}sum = activation"
- 54SSTOREbaseScript[49] " " to "(sum);if(sum > 1){return 1;} els"
- 55SSTOREbaseScript[50] " " to "e if (sum < 0) {return 0;} else "
- 56SSTOREbaseScript[51] " " to "{return sum;}}function wrap(x) {"
- 57SSTOREbaseScript[52] " " to "if(x == n){return 0;} else if (x"
- 58SSTOREbaseScript[53] " " to " == -1){return n-1;} else {retur"
- 59SSTOREbaseScript[54] " " to "n x;}} "
- 60SSTOREbaseScript[length] 0 to 70
-