0x4fef4c96da90d82cd64fc91bbcf8ad5429f3f56a7b4bde5e15a586fd2fa003d7
Transaction
Balance changes
Address | Token(s) swapped | Balance | Price | Value change | |
---|---|---|---|---|---|
| ETH | +$4.97 | |||
Ether | +0.0019835218 | | +$4.97 | ||
| ETH | -$977.29 | |||
Ether | -0.38974511 | | -$977.29 |
Invocation flow
Full trace
- 0DEPLOYMENTArboFireworks 0x60806040526004361061023a5760003560e01c80635196e0601161012e5780638da5cb5b116100ab578063c87b56dd1161006f578063c87b56dd146106855780…
- 1SSTORE_maxSupply 0 to 333
- 2SLOAD(_isBurningEnabled, _isMintingEnabled, _isClaimingEnabled, _abar) (false, false, false, 0x0000000000000000000000000000000000000000)
- 3SSTORE(_isBurningEnabled, _isMintingEnabled, _isClaimingEnabled, _abar) (false, false, false, 0x0000000000000000000000000000000000000000 to 0x96f10441b25f56afe30fdb03c6853f0fec70f389)
- 4SLOAD(_baseURI_[data], _baseURI_[length]) ("", 0)
- 5SHA30x000000000000000000000000000000000000000000000000000000000000000e0xbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd
- 6SSTORE_baseURI_[length] 0 to 33
- 7SSTORE_baseURI_[0] " " to "http://localhost:3001/api/tokens"
- 8SSTORE_baseURI_[1] " " to "/ "
- 9SLOAD(_script[data], _script[length]) ("", 0)
- 10SHA30x00000000000000000000000000000000000000000000000000000000000000100x1b6847dc741a1b0cd08d278845f9d819d87b734759afb55fe2de5cb82a9ae672
- 11SSTORE_script[length] 0 to 25
- 12SSTORE_script[0] " " to "let pg,seed=parseInt(tokenData.h"
- 13SSTORE_script[1] " " to "ash.slice(0,16),16);const firewo"
- 14SSTORE_script[2] " " to "rk=[],colors=['#c33f3f','#ffe63f"
- 15SSTORE_script[3] " " to "','#609f65','#ff893f','#ad4dd0',"
- 16SSTORE_script[4] " " to "'#00c0f8','#636363','#FFFFFF','#"
- 17SSTORE_script[5] " " to "2e40a9','#222222'],ccA=['#F085F2"
- 18SSTORE_script[6] " " to "','#C55CF2','#7732D9','#F27E63',"
- 19SSTORE_script[7] " " to "'#F25252'],ccB=['#C33A32','#006E"
- 20SSTORE_script[8] " " to "46','#F6B221','#880D53','#1E428A"
- 21SSTORE_script[9] " " to "'];let gravity,rdn,count,frame,p"
- 22SSTORE_script[10] " " to "osX=[],num=[],type=[],dis=[],hh="
- 23SSTORE_script[11] " " to "[];const ss=150;let bg,pg2,pg3,c"
- 24SSTORE_script[12] " " to "olorId,frameStyle,branch,branchI"
- 25SSTORE_script[13] " " to "dx,doBranch,step=0,fireColor=0;c"
- 26SSTORE_script[14] " " to "onst json={},snap=isToSnap;funct"
- 27SSTORE_script[15] " " to "ion preload(){compose()}function"
- 28SSTORE_script[16] " " to " setup(){createCanvas(600,600,WE"
- 29SSTORE_script[17] " " to "BGL),noSmooth(),pg=createGraphic"
- 30SSTORE_script[18] " " to "s(ss,ss,WEBGL),pg2=createGraphic"
- 31SSTORE_script[19] " " to "s(600,600),pg3=createGraphics(60"
- 32SSTORE_script[20] " " to "0,600),canvas.imageSmoothingEnab"
- 33SSTORE_script[21] " " to "led=!1,this._renderer.getTexture"
- 34SSTORE_script[22] " " to "(pg).setInterpolation(NEAREST,NE"
- 35SSTORE_script[23] " " to "AREST),pg.angleMode(DEGREES),pg."
- 36SSTORE_script[24] " " to "noSmooth(),pg.clear(),pg.backgro"
- 37SSTORE_script[25] " " to "und(0),pg2.clear(),pg2.image(bg,"
- 38SSTORE_script[26] " " to "0,0),pg3.clear(),pg3.image(tree,"
- 39SSTORE_script[27] " " to "0,0),gravity=createVector(0,.004"
- 40SSTORE_script[28] " " to ")}function echo(){const e=color("
- 41SSTORE_script[29] " " to "colors[colorId]),o=red(e),t=red("
- 42SSTORE_script[30] " " to "e),r=red(e);pg.fill(o,t,r,10),pg"
- 43SSTORE_script[31] " " to ".noStroke(),pg.rectMode(CENTER),"
- 44SSTORE_script[32] " " to "pg.rect(0,0,ss,ss)}function noEc"
- 45SSTORE_script[33] " " to "ho(){background(0),pg.clear()}fu"
- 46SSTORE_script[34] " " to "nction doFire(e){if(null!=num[e]"
- 47SSTORE_script[35] " " to ")for(let o=0;o<num[e];o++)firewo"
- 48SSTORE_script[36] " " to "rk.push(new Ball(o,pos(posX[e]),"
- 49SSTORE_script[37] " " to "type[e],num[e],dis[e],hh[e]))}fu"
- 50SSTORE_script[38] " " to "nction draw(){if(150==++step)pg2"
- 51SSTORE_script[39] " " to ".clear(),pg2.image(bg,0,0),pg3.c"
- 52SSTORE_script[40] " " to "lear(),pg3.image(tree,0,0),doBra"
- 53SSTORE_script[41] " " to "nch<5&&pg3.image(branch,0,0);els"
- 54SSTORE_script[42] " " to "e if(step>160){if(echo(),5==(cou"
- 55SSTORE_script[43] " " to "nt=frameCount%500)?(doFire(0),do"
- 56SSTORE_script[44] " " to "Fire(10)):20==count?(doFire(1),d"
- 57SSTORE_script[45] " " to "oFire(11)):40==count?(doFire(2),"
- 58SSTORE_script[46] " " to "doFire(12)):60==count?(doFire(3)"
- 59SSTORE_script[47] " " to ",doFire(13)):80==count?(doFire(4"
- 60SSTORE_script[48] " " to "),doFire(14)):100==count?(doFire"
- 61SSTORE_script[49] " " to "(5),doFire(15)):120==count?(doFi"
- 62SSTORE_script[50] " " to "re(6),doFire(16)):140==count?(do"
- 63SSTORE_script[51] " " to "Fire(7),doFire(17)):160==count?("
- 64SSTORE_script[52] " " to "doFire(8),doFire(18)):180==count"
- 65SSTORE_script[53] " " to "&&(doFire(9),doFire(19)),firewor"
- 66SSTORE_script[54] " " to "k.length>0)for(let e=0;e<firewor"
- 67SSTORE_script[55] " " to "k.length;e++)firework[e].show(),"
- 68SSTORE_script[56] " " to "firework[e].move(),firework[e].a"
- 69SSTORE_script[57] " " to "pplyForce(gravity),firework[e].v"
- 70SSTORE_script[58] " " to "el.y>0&&firework[e].boom(),firew"
- 71SSTORE_script[59] " " to "ork[e].isDead()&&firework.splice"
- 72SSTORE_script[60] " " to "(e,1);imageMode(CENTER),image(pg"
- 73SSTORE_script[61] " " to "2,0,0,500,500),image(pg,0,0,500,"
- 74SSTORE_script[62] " " to "500),blendMode(BLEND),image(pg3,"
- 75SSTORE_script[63] " " to "0,0,500,500),noFill(),image(fram"
- 76SSTORE_script[64] " " to "e,0,0)}800==step&&snap&&(save(`$"
- 77SSTORE_script[65] " " to "{tokenData.tokenId}.png`),saveJS"
- 78SSTORE_script[66] " " to "ON(json,`${tokenData.tokenId}.js"
- 79SSTORE_script[67] " " to "on`),window.emitMetadataDownload"
- 80SSTORE_script[68] " " to "ed&&setTimeout(()=>{window.emitM"
- 81SSTORE_script[69] " " to "etadataDownloaded()},1e4))}class"
- 82SSTORE_script[70] " " to " Ball{constructor(e,o,t,r,i,n){t"
- 83SSTORE_script[71] " " to "his.pos=createVector(o,88),this."
- 84SSTORE_script[72] " " to "vel=createVector(0,-.01),this.ac"
- 85SSTORE_script[73] " " to "el=createVector(0,-1),this.s=1,t"
- 86SSTORE_script[74] " " to "his.t=t,this.aux=!0,this.a=255,t"
- 87SSTORE_script[75] " " to "his.life=random(3,10),this.id=e,"
- 88SSTORE_script[76] " " to "this.num=r,this.c=null,this.dis="
- 89SSTORE_script[77] " " to "i,this.hh=n}show(){pg.noStroke()"
- 90SSTORE_script[78] " " to ",fireColor>1?(this.c=colors[colo"
- 91SSTORE_script[79] " " to "rId],pg.fill(this.c)):(this.cc=c"
- 92SSTORE_script[80] " " to "cB[this.id%ccB.length],this.c=co"
- 93SSTORE_script[81] " " to "lor(this.cc),pg.fill(this.c)),pg"
- 94SSTORE_script[82] " " to ".ellipse(this.pos.x,this.pos.y,t"
- 95SSTORE_script[83] " " to "his.s,this.s),this.aux||(this.a-"
- 96SSTORE_script[84] " " to "=random(2,this.life))}move(){thi"
- 97SSTORE_script[85] " " to "s.vel.add(this.acel),this.vel.li"
- 98SSTORE_script[86] " " to "mit(this.hh),this.pos.add(this.v"
- 99SSTORE_script[87] " " to "el),this.acel.mult(0)}applyForce"
- 100SSTORE_script[88] " " to "(e){this.acel.add(e)}boom(){0==t"
- 101SSTORE_script[89] " " to "his.t?this.aux&&(this.x=cos(this"
- 102SSTORE_script[90] " " to ".id/this.num*6.28),this.y=sin(th"
- 103SSTORE_script[91] " " to "is.id/this.num*6.28),this.acel=c"
- 104SSTORE_script[92] " " to "reateVector(this.x,this.y),this."
- 105SSTORE_script[93] " " to "acel.normalize(),this.acel.mult("
- 106SSTORE_script[94] " " to "this.dis),this.aux=!1):1==this.t"
- 107SSTORE_script[95] " " to "?this.aux&&(this.acel=p5.Vector."
- 108SSTORE_script[96] " " to "random2D(),this.acel.normalize()"
- 109SSTORE_script[97] " " to ",this.acel.mult(random(this.dis)"
- 110SSTORE_script[98] " " to "),this.aux=!1):2==this.t&&(this."
- 111SSTORE_script[99] " " to "acel=p5.Vector.random2D(),this.a"
- 112SSTORE_script[100] " " to "cel.normalize(),this.acel.mult(t"
- 113SSTORE_script[101] " " to "his.dis),this.aux=!1)}isDead(){r"
- 114SSTORE_script[102] " " to "eturn this.a<10}}function compos"
- 115SSTORE_script[103] " " to "e(){step=0,(rdn=new Random(seed)"
- 116SSTORE_script[104] " " to ").random_dec(),colorId=rdn.rando"
- 117SSTORE_script[105] " " to "m_int(0,10);const e=rdn.random_i"
- 118SSTORE_script[106] " " to "nt(0,10);let o;o=!((fireColor=rd"
- 119SSTORE_script[107] " " to "n.random_int(0,10))>1),branchIdx"
- 120SSTORE_script[108] " " to "=0;let t,r,i,n,s=!1,a=!1;n=color"
- 121SSTORE_script[109] " " to "s[colorId];const d=rdn.random_nu"
- 122SSTORE_script[110] " " to "m(0,1);if(frameStyle=d>.95?5:d>."
- 123SSTORE_script[111] " " to "9?4:d>.8?3:d>.66?2:d>.33?1:0,fra"
- 124SSTORE_script[112] " " to "me=loadImage(`${imgBaseUrl}/fram"
- 125SSTORE_script[113] " " to "e_${frameStyle}.png`),e<7){s=!1;"
- 126SSTORE_script[114] " " to "const e=rdn.random_int(0,9);t=e;"
- 127SSTORE_script[115] " " to "const o=rdn.random_int(0,9);r=o,"
- 128SSTORE_script[116] " " to "i=branchIdx=rdn.random_int(0,9),"
- 129SSTORE_script[117] " " to "bg=loadImage(`${imgBaseUrl}/moon"
- 130SSTORE_script[118] " " to "_${e}.png`),tree=loadImage(`${im"
- 131SSTORE_script[119] " " to "gBaseUrl}/tree_${o}.png`)}else s"
- 132SSTORE_script[120] " " to "=!0,bg=loadImage(`${imgBaseUrl}/"
- 133SSTORE_script[121] " " to "moon_${colorId}.png`),tree=loadI"
- 134SSTORE_script[122] " " to "mage(`${imgBaseUrl}/tree_${color"
- 135SSTORE_script[123] " " to "Id}.png`),branchIdx=colorId,t=co"
- 136SSTORE_script[124] " " to "lorId,r=colorId,i=colorId;(doBra"
- 137SSTORE_script[125] " " to "nch=rdn.random_int(0,10))<5?(bra"
- 138SSTORE_script[126] " " to "nch=loadImage(`${imgBaseUrl}/t_$"
- 139SSTORE_script[127] " " to "{branchIdx}.png`),a=!0):i=null;c"
- 140SSTORE_script[128] " " to "onst c=rdn.random_int(6,20);for("
- 141SSTORE_script[129] " " to "let e=0;e<c;e++)posX[e]=rdn.rand"
- 142SSTORE_script[130] " " to "om_int(1,6),num[e]=rdn.random_in"
- 143SSTORE_script[131] " " to "t(5,30),type[e]=rdn.random_int(0"
- 144SSTORE_script[132] " " to ",2),dis[e]=rdn.random_num(.4,.6)"
- 145SSTORE_script[133] " " to ",hh[e]=rdn.random_num(2,3);if(de"
- 146SSTORE_script[134] " " to "bug){const e=[`FrameStyle:${fram"
- 147SSTORE_script[135] " " to "eStyle}`,`SameColor:${s}`,`Branc"
- 148SSTORE_script[136] " " to "h:${a}`,`BgImg:${t}`,`TreeImg:${"
- 149SSTORE_script[137] " " to "r}`,`BranchImg:${i}`,`FireworkCo"
- 150SSTORE_script[138] " " to "lor:${n}`,`Shot:${c}`,`SpecialFi"
- 151SSTORE_script[139] " " to "rework:${o}`];console.log(e)}jso"
- 152SSTORE_script[140] " " to "n['Frame Style']=frameStyle,json"
- 153SSTORE_script[141] " " to "['Same Color']=s,json.Branch=a,j"
- 154SSTORE_script[142] " " to "son['Background Image']=t,json['"
- 155SSTORE_script[143] " " to "Tree Image']=r,json['Branch Imag"
- 156SSTORE_script[144] " " to "e']=i,json['Firework Color']=n,j"
- 157SSTORE_script[145] " " to "son.Shot=c,json['Special Firewor"
- 158SSTORE_script[146] " " to "k']=o}function anchor(){push(),n"
- 159SSTORE_script[147] " " to "oFill(),stroke(255);for(let e=0;"
- 160SSTORE_script[148] " " to "e<7;e++){const o=average(600,7,e"
- 161SSTORE_script[149] " " to ")-300;ellipse(o,250,20,20)}pop()"
- 162SSTORE_script[150] " " to "}function mousePressed(){debug&&"
- 163SSTORE_script[151] " " to "(seed=int(random(1e4)),posX=[],c"
- 164SSTORE_script[152] " " to "olorg=[],num=[],type=[],dis=[],h"
- 165SSTORE_script[153] " " to "h=[],compose())}function touchSt"
- 166SSTORE_script[154] " " to "arted(){debug&&(seed=int(random("
- 167SSTORE_script[155] " " to "1e4)),posX=[],colorg=[],num=[],t"
- 168SSTORE_script[156] " " to "ype=[],dis=[],hh=[],compose())}c"
- 169SSTORE_script[157] " " to "lass Random{constructor(e){this."
- 170SSTORE_script[158] " " to "seed=e}random_dec(){return this."
- 171SSTORE_script[159] " " to "seed^=this.seed<<13,this.seed^=t"
- 172SSTORE_script[160] " " to "his.seed>>17,this.seed^=this.see"
- 173SSTORE_script[161] " " to "d<<5,(this.seed<0?1+~this.seed:t"
- 174SSTORE_script[162] " " to "his.seed)%1e3/1e3}random_num(e,o"
- 175SSTORE_script[163] " " to "){return e+(o-e)*this.random_dec"
- 176SSTORE_script[164] " " to "()}random_int(e,o){return Math.f"
- 177SSTORE_script[165] " " to "loor(this.random_num(e,o))}}func"
- 178SSTORE_script[166] " " to "tion average(e,o,t){return e/(o+"
- 179SSTORE_script[167] " " to "1)*(t+1)}function pos(e){const o"
- 180SSTORE_script[168] " " to "=average(600,7,e);return map(o,0"
- 181SSTORE_script[169] " " to ",600,-ss/2,ss/2)}function applyF"
- 182SSTORE_script[170] " " to "eedbackTo(e){const o=e.get(1,1,e"
- 183SSTORE_script[171] " " to ".width-2,e.height-2);e.image(o,-"
- 184SSTORE_script[172] " " to "50,-50,e.width,e.height)} "
- 185SLOAD(_name[data], _name[length]) ("", 0)
- 186SHA30x00000000000000000000000000000000000000000000000000000000000000000x290decd9548b62a8d60345a988386fc84ba6bc95484008f6362f93160ef3e563
- 187SSTORE(_name[data], _name[length]) ("" to "ARBOFIRE", 0 to 8)
- 188SLOAD(_symbol[data], _symbol[length]) ("", 0)
- 189SHA30x00000000000000000000000000000000000000000000000000000000000000010xb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6
- 190SSTORE(_symbol[data], _symbol[length]) ("" to "arfw", 0 to 4)
- 191SLOAD_owner 0x0000000000000000000000000000000000000000
- 192SSTORE_owner 0x0000000000000000000000000000000000000000 to 0x9624585a386ae2d01aeac61fc6653b5b3591132d
- 194SLOAD_arfes 0x0000000000000000000000000000000000000000
- 195SSTORE_arfes 0x0000000000000000000000000000000000000000 to 0x9ecc667b19f36c712e99f600b8909f6b82dd3773
-