script

Contract variable

within
Slot
0x0000000000000000000000000000000000000000000000000000000000000014
Offset
0
Type
string
Value
let t=tokenData.hashes.length,s=[];for(let e=0;e<t;e++)for(let t=0;t<32;t++)s.push(tokenData.hashes[e].slice(2+2*t,4+2*t));let e=s.map((t=>parseInt(t,16))),i=parseInt(tokenData.hashes[0].slice(0,16),16);var o=[];let h,r,a=[0,1,2,3,4],n={"#6B0F1A":["#F6AA1C","#FFB997","#419773","#C19AB7"],"#2B2D42":["#FCBA04","#FAC9B8","#7f85dd","#B23A48"],"#F3EFE0":["#065143","#6e5bb2","#C84630","#5f9faa"],"#506C64":["#A7CDBD","#FFEEF2","#E8C2CA","#f27e8f"],"#000000":["#FFFFFF","#00FA0E","RAINBOW","#916cea"]},l=0!=U(0,1,[9900,100]),c=["#6B0F1A","#2B2D42","#F3EFE0","#506C64","#000000"][U(0,5,[2400,2400,2400,2400,200])],p=U(0,4,[3e3,3e3,3e3,1e3]),u=n[c][p],d=(!!l||17*e[15]%100<25)&&"#000000"!=c?{"#6B0F1A":["#FFB997","#BFDBF7","#F3EFE0","#F6AA1C"],"#2B2D42":["#FAC9B8","#B4ADEA","#9bbdd3","#FCBA04"],"#F3EFE0":["#89adaf","#c497cc","#e5a235","#79b293"],"#506C64":["#60a884","#FFEEF2","#CDC2E8","#FFEEF2"],"#000000":["#FFFFFF","#00FA0E","RAINBOW","#916cea"]}[c][p]:n[c][p],F="RAINBOW"==u;F&&(u="#FFFFFF",d="#FFFFFF");let g,f=[.11,.12,.5,0,2,3,4,5,.6,7],b=f[U(0,f.length,[500,1800,100,100,4e3,3e3,200,500,400,200])],_=0;.11==b?_=1:.12==b&&(_=2);let w=a[U(0,a.length,[5700,2500,1e3,250,650])],v=[.0104,.03125,.046875,.0833333,.125],C=v[U(0,v.length,[500,1500,5e3,2e3,1e3])],m=U(0,4,[1200,4500,2900,1200,200]);m>=3&&.11==b&&(m-=2);let B=[8,14,18,22,27][m];var E=[2,3,5][U(0,2,[2400,7300,300])];let A=15>13*e[31]%100?-1:1,D=b>=2?1.5/b:1;b<0&&(D=1/b),.11==b&&(D=1/3),.12==b&&(D=3/4);let k=[.22,.3,.5,.65,.83][U(0,4,[500,2e3,5e3,2e3,500])];base_top_speed=[.018,.024,.032,.036][U(0,3,[600,4600,4200,600])];let S=base_top_speed*D,W=base_top_speed*k*D,y=(S-W)/B,I=0!=U(0,1,[9900,100]),P=U(1,4,[2e3,6800,1e3,200]);B<20&&1==P&&(P=2),b>0&&b%2!=0&&P%2!=0&&(P+=1),P>=2&&B>=22&&(B-=3),.11==b&&(P=2);var O=!1;3!=w&&B<60&&(O=0!=U(0,1,[7500,2500]));var x=0!=U(0,1,[7500,2500]),Y=1;x&&(Y=0!=U(0,1,[7e3,3e3])?-1:1);var T=0!=U(0,1,[9800,200]);let L=6;var M,R=100;function setup(){createCanvas(windowWidth>windowHeight?windowHeight:windowWidth,windowWidth>windowHeight?windowHeight:windowWidth,WEBGL),h=color(c),r=color(u),grad_color=color(d),F&&(h=color(0)),background(h),C*=width,L=6*width/1e3,E=E*width/1e3;var t=width/2,s=height/2,i=L*B+C;R=s-i/2-i/6;var a=0;g=b>.25?PI/4*(17*e[17]%10):0;for(var n=0;n<P;n++)a=map(n,0,P,0,2*PI),o.push(new Z(t,s,R,W,y,B,r,grad_color,a,w,C,E,b,A,_,g,I,F));M=createCamera()}var X=0,G=0,z=!0;function draw(){!mouseIsPressed&&z&&M._orbit(.005,0,0),orbitControl(1.5,1.5,.04),translate(-width/2,-height/2,0),x&&(translate(width/2,height/2),rotateZ(X),X+=.015*Y,translate(-width/2,-height/2)),T&&(G+=.006),colorMode(RGB),smooth(),background(red(h),green(h),blue(h));for(var t=0;t<o.length;t++){var s=o[t];s.r=R*cos(G)/2+R/2,s.update(),s.display()}}var H=!0;class Z{constructor(t,s,e,i,o,h,r,a,n,l,c,p,u,d,F,g,f,b){this.numPoints=h,this.points=[],this.angles=[],this.angleSpeed=i,this.speedMultiplier=o,this.cx=t,this.cy=s,this.r=e,this.c=r,this.gradient_c=a,this.k=u,this.direction=0==d?-1:d;for(var _=0;_<h;_++)this.points.push(N(this,n)),this.angles.push(n);this.shapeType=l,this.shapeSize=c,this.functionOffset=g,this.functionType=F,this.weight=p,this.pulsating=f,this.pulsating_t=0,this.rainbow=b,this.rainbow&&(this.c=color(255,0,0)),this.rot=0}update(){for(var t=0;t<this.numPoints;t++)this.angles[t]=this.angles[t]+this.direction*(this.angleSpeed+this.speedMultiplier*t),this.points[t]=N(this,this.angles[t]);this.pulsating&&(this.pulsating_t=this.pulsating_t+.01),this.rainbow&&(colorMode(HSB),this.c=color((hue(this.c)+1)%255,saturation(this.c),brightness(this.c))),H&&(this.rot+=.03)}display(){smooth();for(var t=0;t<this.numPoints;t++){noFill();var s=lerpColor(this.c,color(this.gradient_c),t/this.numPoints);this.rainbow&&(colorMode(HSB),s=color((hue(this.c)+6*t)%255,saturation(this.c),brightness(this.c))),stroke(s),strokeWeight(this.weight);var e=L*cos(this.pulsating_t);switch(O&&(colorMode(RGB),fill(red(s),green(s),blue(s),5)),this.shapeType){case 0:var i=this.shapeSize+e*t;noStroke(),fill(s),push(),translate(this.points[t][0],this.points[t][1],0),rotateY(this.rot),rotateX(.79*th
Size
32 bytes
Last txn
0x94a15f9e9c8488b930d7d26efd0d83aa29f97c1b1d6c69f02a5b17d2f4e12cc1
13375121
-- to --