ETH Price: $4,001.62 (+0.22%)

Token

Tomie (TOMIE)
 

Overview

Max Total Supply

2,222 TOMIE

Holders

1,062

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
cytoblastoma.eth
Balance
1 TOMIE
0xA3d83cA657170c10f50c81cf49B1E86A81f0E815
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Tomie

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 16 : Tomie.sol
// SPDX-License-Identifier: MIT
/*
M#..MMMMMp` .(+MM9!..gMMMM9"74T""MaggqHmo ?MN.d!dF.M<CdndNYGJ@^  ..J"1(+g#BMNHgggJgNNHHmJmJ..dHMMMMMMMMMMMMMMMMM\ ({{._.>.(YWMMN#9!(#MMMMt .(gMM@1aJJJ._ZMMN(mMMMN@?MMMaM#^.MMMNdMM]
[email protected].(MF! ..MM#9>! ..JdMMHMNe(TNg?TNa,MMM Mbd#J.NMB\d=.J!.kY1JMMM5(MMMMMM9YWQHMMNNMm+gMMNHHMNHMMMMMMMMMMM#~.(` (?jWa.!:?TMMNYHM# ._~ .,T"! .("TMMMM@^?MMMBYNe.gMMMMNxJMMYTMMM]
MM"""HMHMNdM) .+MM5~` ..W"!..JNMMMMMMMMMMMMMMMM&d#M#[email protected]#<d#QB'(QgMM8~.JMagNNMMMMMMMMMMaJ/TMNMNNMMNMMMMM%?(P(!-.   .TJ!.!Te  dM<~!`  ..(&J(J<7<<<_(Ng=! .,,MMMM#"= .dM\ .MMM]
MMggMMMN, ?9!.MM=!  .J"`..MMMMMMMMMMMMMMMMMMMMMMMNMMNMM#~dMEGM@(M5dhJHMMMHSkggMMMMTHMMakWMMNgVMMNm+,TNgMkM#MMMM@<1N ! .:    .4/ .(N!   ..JY"31-?!     ....?1-V"^   _""   .MMNg,.MMM]
T"=`  dMMr .MM=   .#= .dMMMMMMMMMMMMMMMMMMMMMMMMMMMMNjd#dHMuM#jMX8dSBv5J6yGYT5c(77zZG,7HMNJHMMNgTMNe?YJHMNMMMMNN&.d; -?.   `..?C  .mJY=<.JJ7<..gVY7<_   ..gB^    `  ..,?!   4JMNMMM%
   ..M@   .MD   ,d^.(MMMMMMMMMMYTMNNMMMMMMMMMMMMMMMMMMM#MS@#MH4HwdG.^?t /(I,(CTTu&-.?1Wx4WMN(MNJTNHMMN,Tv"MMMWMMb .N!>` ..?<!  ..d07WgkYn+HY"<-~!` .....J+ggg+-.JZC+.      (d#.W@dM]
MMM"M9.  (M^  .<Z~(MMMBuMMM9-(NgMMMMMMMMMMMMMMMMMMMMM#MNMgMHMn?kIjyk+&.JJHuJ0c(-~!(T-. 7w&TdMm7Nm.TNHMMe(& -HNHMN, Jb.>! .<-1dMB&dNYUNMB=-~+..J+NMMMMHQggQHHKVY"7?7""YSQJ.. 7Mm,.M7]
MMF .!  jB``.z(Y -MM"(MMMBJNMBmMMM94QgMMMMMMMMMMHBWHMMMNJKMMM2(:dH9+<!(Co.<UJ?<i~.?! ?& ?NdJ?SMmN?, TmH4BJo  TVHKTn.N-,?"<ugMNd#9&&MMMHHMMMMMMMMMMMMMMMMMMMMMMgHTYBQ+... _7T3(JHB'.]
MD ,`  (@` ,(zK.dM@-dMMMM#T6jMMBggMMMMMMMMMMMMMMMMMMMMMMNmd#$j>,y1uRI(>. +HJ\i(J?-    ?1.jJHX,?HHHgm.(MNJ+Tp  ?o(UZVXRydMmMMMMMMMMQQgMMMMMMMBYW#"7!~??7""WMMNNa.,?Ya, _7"YSaJ..-?=j]
N.!.NR.#` J.CJ (M5(MMMM@J<JWY(MMMMMMMMMMMMMMMMNgMMMMMMNHYV9zJI.ZO<vzmW1},UcugMmJ-,l  .i[(-7xTmk-I7mhJw~4o <,N&_JN@1zOHWQMB"^(dMNgMMMMMMMmaggNNNNNNNNNNggggggggMMMMNgv"Wk7!`.JNM#_??]
M:.MM#M!.2.C.%(MmMM5dMS=/+BQMMMMMMMMMMMMMMMMMMMMMMHB"4#D>uS<YndjXO<J<<YqaTd#!~(3  Tz.l(z.(,.4J4mZn,4VSw.?o.<(mWWBQYWMMMB~.gMMMMBWMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNms.?n.JMHWMN..]
N(MMMMt/((j>d`(MMM0dMV<<dNMMMMMM#dMMMWMM#NMMMMjkkQgYWM1mayC(1.d$z$+j<-_TQM#4...?d$-jmWed&,.> (6J8m+?T-?o(TmZjHM84gMMMMNVWMMM#9GgMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNgdMMMMMNgvzh..MMMt.]
MMMMFf/[email protected]#@(M#v(MMMMMMMMMMMBMNMMNMMMM#dNMMMNMN#kKjS^+CNKZj1j}(VJid@[.\(k|(JR(NjNM#NKJ1.  ?uHHQ,7y(T4MHW8WMMMMMY(dMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMqBTYMMMNmTMQx_    .]
MMMD(Z<v dWMRQM@XhMMKqMMMMMMMMMMM@MMDuMMMMMNMNMNMGG#M>JNNe,!z(SVhJ1(1!(.d@}I.l?SGJdNNMdMMMMMB,1,o.uWov9T=g#UX8dMNMMMQMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNkMMMMMMMMNg.. 7MMm,(THJ, .]
M#` (^.!.W#jNMWdWHMMnNMMNMMMMMMM@dM5uMHMMMMMNM\fjZWJMv(NdqF(Z+JH$jk(>_:_MP77?4,.TNNMM5%(_?_m2-1Q?C1Y7BzGMBW5+MMNMMMMMMMMMMMWMMMMMMMMMMMMMMMMMMMMNadTMMMMMMMNHMMMNMMMMMMN&dMMN,  .7T]
MF .D k .d@JM$JMMdNMNMMHMBMMMMMMdHMMM5dMMMMWMEJwXT#DMl!JdM2(~K1dHK?d[.!~M#&..l`TMNM$..+ ..,4NWk7rdp /.dM@d6dMMMMMMMMMMMMMNMMMMMMMMMMMMMMMMBMMMMMMNNMMMMMMMMMMNMMMMMMMMMMMMMMMMN,  .]
^ .%{.@ (M\(#wdMHdMM@MNM@dMMMM#HMQ#dNMMMNbMM#[email protected]/j?GJ4MM+1/TGJMM4< _1-  -jRnJT4M8-i(MNkkMMMMMMMNdMMMMMMHMMMMMMMMMMMMMHUwvz&-(<TMNMMMMMMMMMMMMMMMMMNJTMMMm,_7HMNa-]
  J }J# +M{MN[d]JMMMM@MM1MMMMMdd@MNMMMMMM#MMDd$S1rR,WPw>v;.XdNKkICjZ.>.?,M#7- -?MF.    1,.i(B--(j.WN(MNMMgMMMmMMNdMMMMMMMMMMMMMMMMMMMMMMMMMMNNMHHNJTNdMMmMMMMMMMMMMMMMNmMMMMN, (HMa]
J.! {ZN.dM(#M|d}.M#WMdMNJMMMMMSSW#JMMMMMS#WM+HkW(Zdr<Mhj><?odUJWMm-Zi/(>_?Np. _TWb.-'  ?VnjN, ...Gx7MMQMPMMM#qM#dMMMMMMMMMMMMMMBHggggJ.._7WNgNJHNgdMgHNVkHgMNMNMMMMMMMNMMMMMMMNa,(W]
5r  :>MIJMdNMNN[.MNMMMBMjMMM#M#dV#dMMMMM?NX#1MHm.(X4J?NvO[.jKzJ(zCdhJHu:~.dNNG?UMMl.  . .dMkSzo.y~LZMMVMPMMMNMMMMMMMMMMMMMMMMMMNNMM#6z+JTWMMMMNYMNMNmWkMMN?NdMMMNMMMMMMMmMMMMMMp75J[
,`  :ZM]zMM@MdMNvMMMNM(MdMMM6MbC%MMMMMMMpdZWdbdMy?,eTJTNsdQKbI(?(>1l~vdm:&4MMRW,1TN,1`: jK.?WM3,Ho[_dMyMbMMMMMMMMMMMMMMMMMMMMMMMHB01+.(dNHMNNMMMadMNMMNMMNMgMNMNMMMNMMMMMMsTMMMMN..]
b,  2jdb<MMbMMMM(MMMMMdNHMMMkdw<[JMMMMMMNXWNWiONWPWN+?4dTNMTH0z.>;Jt~_J4vZ} TWSqk?TMm.kYWJhZ3.wJ?mZo(M#M#HMMHMMMMMMMMMMMMMMMNHQkz-  .?WMMMMMMNMMRWMNMNKMMMNMMmMMMgMMMMMMMMMNsJWMMNg]
M#`.{.MN>MMbM#dMkMNMMMmNMMMM@dK_1,MMMNWNdMJKMJ(MW9c4#.+(MMMNHhJ1Jx?%.{.x?Ji ._<_71.?MMNNs5, ??(X?GHWkMMKMdMMMMMMMMMMMMMMMMMMWA&-..!??QNNNHMmdMMNNNMMMKMMMMMMMMMMMNNMMMMMMMMMMNe,4JH[
MF Z! WM<MMNd#4MNMMMMMMMMMMMNMb_Q,MMMM2MbdNWHd(NRjAJfJQk0??DCWWd&l`c`<(R:.<vzJ<?-.7c??/ (!<<jTWThJWNNdMMMNMMMMMMMMMMMMNmzOZ61-...?1XHgMMMMMMMNHNMNMMNMNWMMMMMm#MMMNMMMMMMMMMMNKY+ (]
#`.<_.~MbdMM#MdMMMMMMMMMMM#MMNNi,RMMMMNJWN?MMM(7M;Z~dN9O1l.YGwJWWNJ+.<<w.1??l-1J-_-??9>, .r.)-n.MMMMNNMMMMMMMMMMMMMMMMMMMMNKYUggdUZ3jMHMMNHHMMNWMMMNdMNMkWMNMMNdWNMMNTMMMMMNMMMN,_1]
\ /. . (N2MMNMKMMMMMMMMMMMNMM#M#bHdMMMMMpTNdMNR:zbjh{dWk>_~j?ddW0VXBTi.`1.i. (nJG_-<..4m-.<7WMMMMMSqMM4MMMMMMMNgMMQgxwAQWMMMMNg-7a76zJMMNMMNWMMMNHWVMmMMMNMdMMMMmMMMMNxVWNMMMNMMMp1]
:.!, . ,M].MMMNMMMMMMMMMMMMMMMMNddNdM#MNda?NJMNyOPJL1JdC_{ ><JC(o.....4Z><C.-<(11<-3._u2dI/qMMMq#ZdMNJMMMMMMMMMNggMMMMMHNNJ7YQTMNgJYQJ7QVMMNMNdMMMkWNdMMMMMMRdMMMNKMNMMKIWMN#MMmMMN]
 > < ...?N,dMMM2MMMMMMMMMMMNMMMM2MMMMMKMNJ8yMNTNm>,vJ1X&..+MM9TBTBWmXkMNNW,?"U1C+.1-1XM@akjMM#u#dMMMMMMMHMWMMMMMMNdMMadWNJ?HNx,7u7MMNHNhJWZMMMMNMMMNkHNMMdMMNe/MMMMNNTMMNsWMpMNMMmd]
,` } ._z_MN/HMMN?MMMMMMMMMMNMMMMNJNMMWMMMNnj6dNVMRO11kQMM=( <..((;`(.?WHHMHn..<G.J-,_-BH:-MM#8MVdMMMMMMH@MMNMMMVMMNHHMMMNJHm,TMN, 7J7NK#MkjWWMMMMMNdMNJMMMmJMNMNyMMMMNJdMM2dNxdN,WM]
{..{  2. ?MkZMMMNdMMMMMMMMMM#MMMMbdbHNWMMMMm/,WMmJWN=.#t_<.1.(1+Jd[1d, .TW3? ~.dZn,$OVjNMMMMOWMuMNMMMMMdbMMMNMMbqb4HJM#WHMe7Me TNX+ ?4dMQdTdHHMMNMMNdMMn?MMMJTMMMMHMMMN#MMNJ?MmdNe?]
dM:: ,3, (,MK?MMMpMMMMMMMMMMNdMMMMpMRMNW2MMMN,zdJB./Q#1,l1JGX+KMMMMNMMMMMMNNb. 1-TfnmdNRM#d#(M?jMMMMMM#dNNXMMWMHJM<VN(WZOXMNedN,.TNZ+ <TWHMJWKKWMMMMMQMmWxWMMb.#MMmdMMMNgMMMKMMNWMg]
.M[!.!.+ .-?NddMMMMMMMMMMMMMMKMMKMMKMNMNU2RWm#HmJJh.H= (W,(NMNMD?> %<~.  (Mn.o. .~dMNdNgM#M#M#.dMMMMMMKdN#OMM#d#WWbjJLj]<IOJNUrTm.(MNVe+ ?MdMpfWHdMMMMRMNX0dMMMmRTWMNJrWMMMMNWMMNJW]
(#`(:  t  1:?4RWMM#MMMMMMMMMMMNMNJMM#MNMNkWmdMNsYWRhdi..\1WMM#<>  '.u_.4`.N;.Hk?f1N#(MTNMDMNMN.WMMMMMfN(WN(WVNSMd8N.1X+I (vJo42-.H, 1TNW,(<OdhHmWHdMMNMNMNZeTMMMMNNM#TMgMMMMMMKN?hO]
MN.>~.J<- .+( ?eDHMNMMMMMMMMMMMMMMMMMMMMMMNMMMNHM,,4m~<?7WWMMMc?`    zS.jH^.1V(r JMmM8XMNSMMMb(NJMMMMbd[DW[41HPWMtvL.dHz   114dL  7m.(-TNHxcdhvxTkNNMMNMMgMgWYMNdNkWMN-/WMMMMMMMN.Tt
M@: .b.!..`1(  1W+WMNMMMMMMMMMMMMNMMMMMMMMMMMMMMNMbjJBe<_.(MMML??`  -..JHN,.y1O(JMMNMZdMW#(MMNdMJMMMMNJNd(N,l.N,MN-?xz#@e.  ??JJ<  .He.1.TNh2>?x3;TMNWMNHMNN#dl4?lMMNcfHMmMMM#NMMb.t
 .  WMR  .- G. ,rl(?NHMMMMMMMMMMMMNMMMMMMMMMMMMMMMMN(+VNmY7(MN#N&-(.uJy4 _1UTh>.uMMWMdM#dLmMM#MMvMMMMMJMNRdk(l(b(Hd+?mS$WX+- .-<G1, `?N,(-?MNh-?G<4(?NKMMmMMNbTgx,PMMN#(b#HMKNdMMNJ]
a(Jga(dNN, ~,L  t(,~{dMMMMMMMMMMMMMMMMMMMMMMMMMMMMMNZ6z-(mx  OH(HWNMM#4,>.XUCWuMMM#dMMOWMN#dMbMMrMMNMMNWXNRWd/l-zDh(lvHmJWI(+. ~ 7x1.  Tm.<+dWmx:?z?G/WSdMN#MNl+WcNdMdMNk#dM#MZNdM#]
MMMMWMMMMa..?;<.D 1{< ?MMMMMMMMMMMMMMMMY7?7TTT"MMMMMNS-??n?/<~~j>MJ/0Tp.1z.2?MMHMMNKMNzdMM#dM#dMbdMNMMNXL1MR/dxl.$(l(<zHHXmxw+ `~  ?+i. ,TNQWJ?Hm(2vAvhJc?dMNVMJ1.zMNh?MNNMMNd)W/MN[
MMMNMMM"JMM#`C~(y  %.   TMMMMMMMMMMMM@<<_-._,>>.JruTMMNs3.74p :_(JW2  (Wag(.dMNMMMMHWNZNMMNzMNvMMMMMMMMPW,IMp Tel(.._--1TdMHQA< dNgJ-?Gh,.?Tmd4x?TNgI7oJCSsWTHg7H&?dNI,MdMMMNM[dbJM[
MM$,MMo(MMMN.: ,ji <o_   ,MMMMMMMMMM@_4?!  _?"YBdmJJmkMmTaJW2-    ?N&~?<(T@(NM#qdMMDJMbWNMMsMMRdMMMMMVMM/X.JN{ ds/}   (.</mXHNBgJWMNMNm(YT--!7N,WGRJHa.vGcvTb<_Tak3dNj.#0MMNNMLKNJM[
e ..dMFHMM@!.``..~?;.t    (/BWMMMMMMF?!>._-.._. .w(_?MNdMhTS/?Wxh-.>SHJXUMgMMMNM#MMZwMNRdHMNMM#dMMMMM6dMNJh(dK, Nd(.   < ..4dI('   ?TMMMm7_.v+-.THfTo,.CTz6uHClkzV<wNxd#WMMMMM#tJbH[
71MMMMaMHP  ( .  ..1_<i.   1.1?NMMMMb~<t-..     ~w>)((NMWk0zGvd76?jWSQMMMMNMMMMMN(MHzWMN/MMMdMNdMMMMMSRdMN?hdNj`JN[1    -_  _1J.      ?MMNx(,.. JH2Yl/z1++>jvW(H4x.(MUM@MM@MMHDqNMX%
NM#: XMN(Nx : dNMM,_~o.(.` .(.(64M#ML..1/   ?_.  (tl,+TMNQWI11l7V1%.qNMMMMMMNMMMMRMNb1WMb.MMMMMdMMM#MR64dMLjNN  .MR 1  `j;  .=d         7MMNZ!`.,THo_~2(>v+Z~1dXZDZJMXMbM#(MN#DHM#M[
MMMMMMMB9?"<`  dMb.. _<, ?-. .-.?SUWM&.! .!!~_.._?F?<_ ,MWWk+<?OJ$jMMMMMHWSM#MMMMNMvMRvWMp(MMMMNMMMNMMNl<dMe1M_  MN. 1  (z  .?J[         JNVY^  `.MM+.>z+vj1<.XD$Pw3MMMdMF.MM]qMdNd[
....JWa....-....(""    .<. -~. <<.C-,p._!(.--.  ..+,.~`-cHkNb<iiXWMMMMMM##M#NdMMbMpNJMNdNN,4#MM#MNdMM:?RljHJNM[  JM}  ~. 1r_`..d,` `     JMHU!~`  JMr(.v11Z+C.ODIt9(dMM4M]dMM}J#JMN)
MMNNgJJ-..?"""MMMMMNNJ.,._.   !.-- ~ ?e.(7T,~-.  .,l<?- ??NhOr_GdHMMMRMMNbH@(dM#NZNyh,HN?M#,dsMNMMWdMp ?p1ONXWri ,Nt     .N.  -^&    `   MMK??~___jM>%+1v(z1>.j1zj><dMMdM%(MH!MDd#W)
""T"WMMMMMMMNgJ.._7TMMMMMNaa,   ._~.~.,N,,^(<~!!!~~~_  ~   ~ic.gM%dMM#HMMR(HJsdNdNXUkh.TNJHJZMMMkVWLTM[ X/1O/vMsl Mj.    `?Ho! .V<,   ` dMMf??!~` dM(<O1>Z<1:xV(ww(!dMMHMld#X(MIMXd\
          `?"WMMMMNJ,. ?TWMMMMN&,   _`  7Nc .;  _!~<j(,._   .wdMNMMMNMXdMM UwdKMLvHn(vN,?WmWJMNMbnjBoO#: N,1WzM/l J|3`     .Wn.: J3&...dMV9x~?!! (W8C(11(I>d1II(%2( MM##MkdXRd#jNMd[
 `~~-.           ?TMMMNg,.  ?TMMMMN,.     ?9a.,(  .=`  (, .dMNMMMMPMMJNRMM;(1OMHN,?Hh 1Wo WmrWM#MXwdcSVJ-,@.44.U,[ S.;       7HR.>.zFHMFZ???!`~ (Zz>:O>>z1+r(((P.[{.MMXWM#B>(M6dMMH\
       ?-. `         ?TMMMNg,  (TMMMMNa,     ?TG.J:    Z[ [email protected]<(Wh.(Nm.WNWdMK7cvI-?vs.z/JIh 1,,.;.,        7WMWgx((So...> _1zCv<(z(<CcJ>; v ((`,MMHfJNt.M#dMMMN)
          <.~.          -"WMMNx.  ?MMMMMNa,    .=kC  .7(~+MM8MMbMMMdMMNkL?M;?gNHMN_1.CH,.WsJMMZMN OcZJ.(0X.t.xJ<.!(.(.(,`     .JzidXUWXmwAeoJ&uw0Z+IJc(<<<>!`.>~yc /dMdNjM_MMhdMMMN}
    `      ` `  `  `        TMMMm,  (HMMMMMNJ.=  (T9B=.tdN#dqMMNMMNNMWMMk{?NJMNNHMl (-_O& WRqMbM#-,L(k( .4W(_`3\(, l   .i`  ` .XX$iz1zVwWW9Zdkd1wIZvG-u&(.<  ( (I!.LgM#W[TdMMrdMMMM)
 `     `              `      `(WMMN,  (MMMMMF`       .=JMMHFdMMM0MM#MpUMMJ,WNMMMMNN..J71(S,W#MNM@(.0.._:  ?k, .I. ~.-    1.  .=Jw$jUUUUXUXAkRJvQWsuJY"5UYTMNae!,% wNMMNNd}MMMOMMMMH)
?!  `   `      `        `       .TMMN,` ?MM#        J(dM#MMA#MMMNdMMJMpWMMN-MMMMMM#=/   D 7?MxMN@`~l1 ~.   .43.}_.  C     ?, ?~?=(<z1dUUuXU7`.d#6?` ` .  . ?HNmv .NMMMMN]uMMMrWUW0J)
-..      `  ` (~4e7<.     `        TMMm. .Wt     `.m-=XdNNMWMMMMMNMMNMMeWMNN,MNMM#`J    /  (,MdMM. ! >  `    1.1` _`,.  `  .<.`   _ ~<(X0:  .XM!  .<->.J-  .JzN).MMMMMMK#,MNMC?h?^,}
?i?+       `  j` .4, 7a.   `        .WMNe (`      dMMNbMMdNdMMMMMM#MMMMMRWMMNXMH#` G.  ,`    d?NR6.  .<.      <-   _ }`      -~     .?V7    1MF,=777T9WNX2_.l.XIgWMMMMMWNxM#=d^0n ,}
  ?l1,` `     ,,   (-  T,`    `       ?MMNt    `  dMMMMN#Z8WMMMMMMMMMNWMMNJMM#MM!   ?6.]   ` .L?W[ ` (dWQg,`   .-    >     `  `            .gM:?,      (MMN.(&gdM#MMMM#jMMMf(l (-n,}
    _V.     `  4.  `1   (n      `     `.H#`      .MMMMMMMNWMMM#WMMMNMMWMMMbMMNM>      .N+     O WW,  `?NMMM|`    _   _  `        ` `      `(MM)?k,      ,MMHNMHdWUMMMM4MM#j=,.` 4,d}
      (.  `     4, ..'   .h             .\       JMMMMMMMMMMMMEHdMMNMMkdMM#MHWt     `.DW#>    .;,w;    .NHXMN,             u..             !jdE.?N,   `.ddNMMMWkdXMMM%.MMN(Ng/    (}
       1         ?dD_      h         `  - .      fMMMMMMMMMMMMHMMMMMM#CJMMMMX=    `  dK,MZ;`   < z1.   .d#WU8Ne.        `.. dMN.      `  `   Od),CH&J(dNNgdMMMydX0MMm.,WMHGMMN,   ,}
       .[        `>.<   `  .[   `       j  I.  `.' HMMMMMMMMMMN#MMMMXN!(MHN=     .. (NR_(NJ.     .Ii    ?dRWWXMNe(.  ` .7?_.j.!`  `          ?XN+1~WgMMMMMMMM#RRMXMF1. _?TM9WMMn..,}
   `   `(.`  `    .-(`    ``j.    ` `  `v       (p.d(MMMMMMMMMMMMMMMM@ dMY    `    .MSW[ ?#)  `   (/>  ,C?MkHWW9Tmn.     -`.dMHg..            (?% .MMMMMMMMMMNHM#dMb (71(.N:     .?}
    `   .)      ` .2        .]          r       dMNP(MMMMMMMMMMMMMMMN\.#'         .fMkW]  Mb       1.: (v1MNkkn+QfTNUn..d_dY^  (7M3(;`  `       ~.MMMMMMMMMM#MMMMMMMN,            ,}
         1`       J%   `    .%      `   \      `dMMMMMNMMMMMMMMMMMMN#.=       ` .MN<dNKb  d#  `(A. ._.!dMhJMN#dT(,jf(TNm.(^     .!        `    .J!HMMMMMMMMMQMSMN?MMNr?Ng..   `   ,}
    `  ` ,   `  ` d        7j[  `    ` .!  `    HMMMMNMMMHMMMMMMMMMM#!  `  `  (MkMNkMMSb  JE     ?TUh...Dd>dMMK8QJ(6Z<x?H,   `              ` .=  JMMMMMMMNNMBMjM[?MMH-?MN/WMHdm7 ,}
 `    `  ._       d-        .S        `J        b.WMMMMMOdMMMMMMMMMM)  `    .MRMMM#HMMdF  jS   .Y177ZXHJxY=vqMMHWma--&J!1H    `        `     J!  .MMNMMMMMMMGMF,MN.?Y8r ?Mb.MNKN  ,}
,         [   `   ,F   `    `I     `  .t       .] .MMMMMMMM1?MMM#^  `      j#HdMjM#HMNWP  JK .Y .! .>  !7mdVdMMMM#SOCv1(K^       `  `    ``.C   `.MZMMMMM#MqM8].MMDJ!?7<(JM[(WMW[ ,)
SI.  `   `1        D      `  r        J`   `   .] ,DMMMMMMNy1uY^         .J8HSM@dMMMMMX%  z!.^ .k../     ?Nv0dWMMMNNgmYO    `             .^    .MMNdMMMMHW@M[b JMW)(.    ?F""7N#h,)
XwS.    ` ,_`      P  `      b  `    .:  `     .] ,<`?MMMMM#"`        `.JMMMmM#dM#dMMBd\  1J'   .lZ`     `7MYWYWM#7~!J`?      `      `  .Y    `.MMNdNMMNMNM(MNd.MdXN,."T&.d>     jW)
VkWv;      [   `  .b         z    `.J^  .:     .[ ,c .~?MMY       `   .MMMMMMNWMM6MMMNF> .Z`     (!   `      _TY"`  J`     `     `  ` .Y`     .MZMM#[email protected](](NMMMm,          `?}
?ONJN, `   j      .F   `  `  (_  `.Y    J    ` (o..b. i.Y          `.dMMMMMMMMMM$MMMSdHp J      (                       `         `.."       .MWbd6DdMMNdMMjMMLb MMWWw/TN&J.,. ,  .}
 ~(TNH)    .;   ` ,)        `.b` ,^  .(   `.  .#\?N..kD      ` `  `.HMMMMMMMMMMMM#q@ZOidd`   ` .!  `   ` `  `               ` ``..M\        .MMMNJrHkMMMKNJ#MMM#.Y(?W_  db.` ?M.  .}
& -THHg_.   3    `J!          (;J!  ,MB  ..!  J[  ?d#'            .kMMMMMMMMMMMMMMNf.T!        r           `           `    ..gMMMF         .MMMMk#dNMMNIMRMMMM#( ,- <, dE((h._b  .}
Q9,  ?TM[   (.   .F   `   `  `.F    .V}  _` . T\   =    `    `.`.dMMMMMMM#MMMMMMMMM"`    ` `  (U              `   ` `  ..(gMMMMMM#-.     `  dMMMMMNWMM##ZJW2MMM#j  4, ?&Z@dQH@ .b.,}
Ndh/`  .h,` .}`  .\         .J'     .<!  ` /       `  `    ` -(dMMMMMMMMMZMMMMMMM=          .Jt(   `  `  `  `  ` ..JNMMMMMMMMMMM#=        . MMMMMMMd#Mh#SJ-H,MMMd,  ?++%4m#=`   .b,}
7Wh?1-   ?.  (   v     ` `.J^     `,.`            `.Z`     .JdM#NeWMMMMMMKT""T""`       ` .7` I,`        ` ...gMMMMMMMMMMMMMMM#'        `.  dMMMMMMMNMdMRk.dnMMMNN,      (4-$ `  (m}
   ?4&(-     .! .\    ` .J^        .r            `.f   ` `.?!W$ .?MB""=`             ` ..4\    WJ,......gNMMMMMMMMMMMMMMMMMMMY        `   ` ,MMMMMMMMS7MhNXdWMMMHWMm.      .4,  .XH)
      .7+.<     P      ,^          z`          ``.Z'    _.. .\                      ...MMMb     M90dWXXNMMMMMMMMMMMMMMMMMMM#'      `       .78MMMMMWMh.MT9"=?7"TM#MMMJ,`     J;.?`,}
         T,  ` J`  `  /         ` .!  -   `     .?!  ` .>v`      !      `     ` ...(gMMMMM@`   `Jkkwv1zWWMMMMMMMMMMMMMMMMM@`   `                 ``` `     .??>   dX^     ` .d%   ,\
    `     (n  .\            `   `.\` ,     `  `/!`   .d%:           `     `..gMMMMMMMMM#=` `    v~!?TWpddMMMMMMMMMMMMMMMB!       `  `   `  .             ....`   `d'       .%    .J}
      `     ?&J_  `             .:     `      !     .8:       !         ..dMMMMMMMMMMD`        .%     .MkMMMMMMMMMMMMMB'    `            .!`  ` ..   .,!   ` ?.. ,`      `.\..JY=`,}
   `    `     d{`         `   ` !         `       .0'             ` (mJ7!`    ??77TB=       .JNc{      .bMMMMMMMMMMMM=        `    `   -v!      ..J.?`        jMMn       (MY^     .}
              (}   `   `          .             .v'  _ `        `..dY`                  ` .MMMMN}    +:.bdMMMMMMMMM@!                 _       `   `  .,!   .J=`        `,%        .}
    `  `      (`      `    `     .`  ` `   `  `.=     `  `  ``..jC(:       `            .dMMMMMMb  .dOzidgMMMMMMMM%    `   `  `  `  ` ...`  .... ..(Y`  ..=          ` ('       ` .}
      `   `  `j     `           .!          `.('           `.-> '       `   ....     ..gdHJMMMMMMb  (OzjMdMMMMMM#!           ._?!???!`         ?5i?"h(HV=           .-Y!      ` ..J\
   `       `  d    `      `   `.~       `   .>         ` ..J=        ..&W9MMMMMMM#YMMMMMMk(MMMMMMM<  j1zNdMMMMMF    `   `.J^                         `      `  ` .g#^  ` ...gWM#! ,}
      ` `     J~               J    `  `  `.\    `  ` `.__^       .dMMM8_M#MMXM#M#bjMMMMMMNMMWMMMMb   ?:XdMMMM#         (!                `  `           `   ` .WD!  .-T"!`..MM#  ,}
...           d`      `    `  .!          .1!                    .J5dMM+.dMMMkMMM#N(MNdMMMMMM#ZMMMM[    KMMMMM#    ` `.^      `  `     `        `            .+F   .dF  MMMMMMMF  ,}
I=====vIzC`  `d   `     `    .2   `   `  ``!   `   `         ` .Y<.,JMMr{,MMM#ddMNd_MN(#MMMMMb0>dMMM,   bMMMMM%      ,`            `       `  `    `   `  `  `...Jf!(Me ,"<JMMMF J,}
+;>+zzwsssAA0OL              +:                   `    `     .Y   } CMMN1 MMM#WndMN[d#(MMTMMMMN(.,MMN, .PMMMMM\              `           `             `...JW#TN,.NdMN?N,,MMMMN..MH}
 `  __<<?<<+z4F    `   `    .(   `   `   .                  ,t    (.(JMMr;.UMMpXl?RldM4NEjMWMMMMx! TMN..tMMMMM~   `        `     `    `         `  ` .(HTMMb1?mJN,.MMM| dMN,.TMMN%,}
          (1zw]           ` ({          /                ` J^      { 1dMNJ. 1dMp6;(NM\.Wn#!.MMMMMe  (Mb,jMMMMM`                            `     `..MMWMRMM#/G,HJMNdMMNJM!TMNggWM\,}
           ``(\  `  `   `  .l{  `    ` /       `  `  ` `  J!    `  .. >VMNx. ?XMcv<.Mz(X#: ?.(MMMMb  ,MddMMMMM,`      ` `   ` `  `  `   `   ` `..MMMMNdMMNMMJ/4.?HMM#WMMMNJJMMM(M|,}
      `  `   (`           `J`         /  `            ` .d!        `~  i?MMs. .WK<_v`.w2$  .{ 1WMMMN. d#dMM"  h   `                `     `  `.jMMM#hMMNHMM#MdHx7, ("N.,?MM= JMM;Mb,{
    `   `  ..y`   `   `    >       ` .`   `  `   ` `   .f`   `            4J>`  8<_ _-v_\   1  17MMMN,(MY!    ,m.  `    `  `               .+MMMMMMHNNdMRdM;(HMN,+,.MMMMMMNgJMF.M#(}
((i..JgmkVOwX@     `   `  .`  `  `  .`        `      `.K   `  ` `          (1.   ..    !     i  _?MMMNJF    .MMMN,  `       ` `  `  `    ` .MMMMdNJNMMb?MNTN, 4JWZTNR_  ?WMHMMhMMD,}
YCzOOv7TUQAXdF  `         ``        }   `  `     `  `.#AZz1+...   `  `                  `  `      .MMMMF  .MMMMMMN.   `                     WMMNMeTg6JMm,!TMT5.?gMm.(TMa,  JMMF .Nj}
-(JJc"7!`   J%        `           `-              ` .#zv11><?7771++-   `  `    ..XHHmaJ..           WMM].MMMMMM#^.N     `                    7MMMMR.Um,?Mn,(#+.MMMgMMF a,UxdMMh(Mb,{
            K     `             `      `         ` .@!<<+?<<<<-_~~<:;<<.`     .KwwwwvwOXXHMa,.       TM#MMMMMD`   ,b       `  `  `       `    /b?WMN,?Tn.W,?NMM9MMF`?! ?N.dMMMMMMMN:
   ``   .. .b   `  `   ` `  `             `  `  ` .F      `   !  ..__(,      `.NwZwwzwvuwzwOZHMa,.    7#MMM@`      ?x  `     `      `  `    `  (b   TK7aQ,Te,MN(MMp N,..?NMMMMNm,?j{
 . .` .``  J]                        `          .J$..                  `    `((JNkXzwzwwQQkWmQkwwWMa-, qMB^     ` ..d,                          ?b   .=.-17TNdMMeWMkMNJN.JMMMMm?MF,{
           .]                          `   `   .#`   `                      .+++zNRrwXXuXWWMMMMMMMNmkMMNkUSa...JHSZrZMx   `      `              `vL     ..>  ??T@   MMNMNNd#!(MMN,,{
        `   t      `  `  `  `  `  `  `    `   .#`     ` :..                ___!` ,KwwrzuuuXWMMMMMMMMMMMMN0vdNggNMMMMHrHe    `            `  `     Ue      ._ .. .W, (MMMMMMMg-dMM%,{
   `  `     j.`  `                           .X3          !             `        -SuXvzXuwXwXXwzuXWHWXMMMNNkMH9HW8XvvwwMp     `    `         `     Wo          _<(dh.TMMMMMMMMMMN-,}
    `    `  ,)        `   `          ` `   ` (d~  `  `     ~..`  `  `  . ` -.   `,RuQggNNgggmQmXXuuuXQMMMMQM#WHHNNNNmmuXM[`         `    `          Ux `  `        7B,JMMMMMMMMdMN,}
       `   `,b `  `    `   `  `  `      `   .d(--.     `          `   `    ?`  `  ?MMMMMMMMMMMMMMMNMMdMMNMMMNcz1+vMMMMMNkMx `  `  `   `    `  `      Ua..            .4MM#  .MMMMMz}
 `  `        N     `                `     `  X n...~.    `             `          ?=?"""TUYwUUTY"""TYT#MNMVMNMm/?~`.WMMMMMN,  `             `   `     VpOkHHUHHk&...   ?WY""dMMMN!,\
        `  ..M[         `   `        `      .f W-(z11.        `           ` ??!~`  ~.            ..v<.HMHdmdMMNMe.   .THWQXN.            `             ?b ?71aaeQXHMMm+  ?a,WMNMF ,}
     ` ..Y^   N.                  `      ` `?` dr~?<11(.             `         .             .>_-(+<`(HMKd#<JMMMRN,        .b                    `      ?k.        !?7!`   ?G,TMN,,}
    `.V!      ,b`  `  `                `       ,#(<+<TIue+(.`       `           j,.     .(?<<<-((>1+udHMRrN j<MMMNdN.       (b   `  `      `  `    `   ` (N.                 ?h,?=,}
    (D         d[         `                     MkY7<<_?C??i-.. `                  ?7i,`  ;<??!   ,C1MdNyOM_ (zNMMNZM,`      d;          `      `         .H,                  .4&,}
 `.dt  `  `     N.  `  `    `  `  ` `     `     d[.-+<jzz>O1zQszl.   ` ` ` `          .>...      .?+j#MMkwd)  _?MdMNwMm.`  `  N     `  `    `               Te.`   `  `  ` .-WHBTMM%
.JD`       `  ` J[                   `  `       J#zZ1+vC&ua&-?TV=76..          `            .`.  -<<jSMMNzd] `<(dNdMNmdN,    `([              `  `   `       -N,     ...vY=vRVwwVZ(}
=     `          H.   `  `                   `  .N<1zu+gkwUXe++vO(Jz+(--    `     `  `  `        <<+HQMNHwdb`.++&MRMMNmwMe     W, `     `  `       `   ` `   ` TMY""7!      ?NOu2`,}
       `  `  `   (L     `   `  `  `  `   `       dP<-++-xvOv77""TSV77=jauz&.          `   ` `    +?jBdMMHzrN    (?WkMMMNsMb    .N.   `    `     `               (N,     `    (N}  ,}
    `             W-                  `   `      ,NO<(J<?!~(-uO+.Jz&+(z1i(-?z-.`   `            .?vHwdMMHwOH.   `(-NZdMMNZWh.   ,b           `          `  `      7m.         .N, ,}
      `  `        ,b  `   `        `              drvY<uZXJJTz<uyTSQZTUa+VI(.(Jz-.      `     `.-_(8wdMMBXwW_    (+dNwVMMHXdN,..,J[              `                 ,N,   `      4,z}
    `      `  `    M,       `  `     `    `  `    ,N(Jy?T1++uaJv61JJ71J(OA(ukdT6--..  `  ` .....z>K0XdMHuzwd]`    CvWkwZMNKzVNswzvM.     `  `   `   `  `   ` `       Tp `   `    ?g}
        `          Jb  `          `     `        ` dmJgyTBYYTWT"YT9HBTMUMHa-.azGz&-(.`      .9771(8XuMNSzwwdF...J(+zdNuuwMRwzVNOOI?b  `                         `     (N,         (%
   `                N.     `                        W@z?OxVTXTTZ7TVY"TVYTW9TTS&+78V99I(.    (11> KvXzWHSzOwXb+UZw0dkwWKuzdSXzwdb1+-J[`     `  `   `     `   `          .W,`       ,}
    `  `      `     ?b  `      `     `    `   `  `  .N2"171Z3(-uSQXW#XNZXHxwWWOzOyw+-__-...   .OdSvvXHSwvvvd#wywZdHHWd#wZwwwvwzM[   M.          `    `       `          `?h.  `   .}
 `      `  `     `   N.     `     `   `              .N/777OksVGJXx+J+1(.JZOzVY4V9w&+(-...    (4HwvXw0ZOvuzd#wz1+yWMMkMkvOwwXOwwN,  ,b   `  `            `      `         .W,     .)
,     `              d]                 `  `    `     ,NJuk&J&J+jJJgzywz?T9Sv1(-<!!...-<`    ` J#rXvwwvXvwXX@GZzwd9UXkd#zwwzvzXwdN   q,        `  `        `       `        7L    .}
N.  `     `   `   `  .N   `        `             `   ` ,NYv31+Z0v?0Z1-(x&(+1+(xvTCu&WSC_   ` .(j#zXzuzwwwXXd8w&wSxQdMHWNZXzzzwwwrM[  .b              `  `   `        `  `    (N.` .}
-N.     `             M-     `  `    `  `  `   `   `    ,NCCv1J1(.Jux?TZUUWmmWWYz+Xev!      (1+(KzuwwXwuwXwWzRGdgWRzAdWMuuuzzzXzwdb   J<  ` `   `        `    `  `     `      .W, .}
 (b  `     `  `  `  ` d[                  `   `          ,N>..(+JdHUW9TY<OgkXUVz7!``     `,WSy&d0uzXXuzXXuXHUXWO6wZ4Y?1WOXwuXzrrzwW. .,b     `    `   `      `      `     `   ` 4e.\
  ?b   `              ,b  `       `   `          `   `    ,N,(C1uXU&OAZWW9YwXUXC` !-. `   _uxzOdXuwuzXzzXuX#6<!!~.-`   JwX0XwXXwuwdR1&(J|  `        `                            Ug\
   Xp   ` `  `    `    N.  `  `     `  `     `    `   `  ` ,Nx71+vUww0Ius0dKVW=..?`    ..17zOuzWXzXuXXXzwzd%~!`        ,kXkwzwwvzXdv11>.N.    ` `       `  `  ` `  `   `  `       T}
    N,          `      d|                 `                `,N&J?<(udYS+1zz7^`     ..!+xOu+(>_ WzuVzXuuwzXW             TNQQQmmmQQM0w1c1?b  `      `         `               `    .\
R   ,N.               `,b       `     `         `            ,NJ7V1/7(-7!      ..<-+zZTY7T7wdY=TmmkXXuuuXw$         .._`.(OUzz&OovIzz+1Jod|       `    `                `         .}
Mb   db`  `        `   .#   `      `      `      `  `  `      .N2--!        ...JQmQAOO77?` !` ?!~!?""YB""!  .....J(..xv6~7z1zuJi(oyuizJkwOH,  `          `  `    `    `   `       .)
M@.   W[`  `  `  `    ` N      `     `       `     `  `  ` `   ,N,       ...JOOz<<`                  .(++u+gXHMMGGXQWdXVTv4gD&kuww1+wdkH0OvN.  `    `   `    `  `   `       `  `  .\
MN.    M,               N        `     `  `    `                .N,    (<<!!`           `  `   <1+ZUWkvGd9TW95V0XdwdQxiJdWYkUVXVZwU6VVXVS1-?b`   `         `             `      ` .)
MMN,`  .N,   `  `  `    N   `       `            `    `          ,N.                      .JwAg&gkNHHXHHAHHWdkHH6X9Y1CvACJ7<?UWU0OZZjzYoz(: d|        `               `      `    .)
MMMMp  `,N.`        `   M.     `     `   `        `  `  `    `    (N.             ` ` .(zMNggkMWH99WMVXKM8dAkXX&SZ(+JzCjXwXZwzZwwXwzZC+T:... W.    `    `    `  `  `    `         .)
MMMMM_   (N.    `       d|        `       `  ` `          `    `   ?R` `  `   `...zOQHHB0wQWHWMmmdHWXWXYzTYZv1VviJJjwJ6ZV6XV6XTUUZ1+=+&zZ^`  ,b `        `  `            `  `   ` .)
MMMMM`    ?b  `   `   ` (]  `        `      `      `  `    `      ` Tp    `  jSJSwvOXkAwwX9UWMMHMWYWW44ZZCTTX97ZXGkwdXJd8UvCOTC1?+v1?!        ?[    `  `       `    `             .[
MMMM#  `  `?b           ,b             `                       `     Wo      ?"7?!`  ...(??=77V9UY7TwmkX2?J6>(<1VzUwWV4J1JZC1?~~` !          ` 4,                       `         .)
MMMMN       db          .@         `     `        `                  .N,                !~?~~---(-(((-vTCz--1JZ=+77! <_`.!                      N,       `  `              `  `   .[
MMMMM;  `    dp`   `  `  N            `                `              (b                    ~?????<<<u&&&zz11<~~                           `  ./?N,            `                ` .[
TMMMMM,      (dp         M     `           `    `  `      `  `  `      d[  `            `          `                        `           ` ..?<-~-,W, `  `    `          `         .[
.,MMMMMN,    .)7m        M_      `  `         `      `      `      `  ` N.`    `     `                                  `    `   ` ` ...1++<-<(!..,W,    `  `    `  `    `  `     .[
JNJMMMMMMN,  .\ ?R.`  `  d)          `    `           `                 Jb              `  `     `     `  `  `             .   ...JCwOvjZ1J+v^-<~-  Te`                         ` .r
MMMMMMMMMF`  J`  ?N.     J]   `    `  ` `    `  ` `    ` `     `  `  `   MzIO+..   `         `  ` .... ......-_~++((+zwuagAdXkWX87COzxY1w+v^.<<_-~ ` ?b      `        `  `   `    .]
#^~`?=JMM`  .]   `,N,  ` ,b `                      `                   ` J#Owz<1XWa...` `  `        ??<1u+Jv4oJJxwdTHH0SAmkGO(zvIJiJ=(yOc=v11!        ,N,`      `       `     `   .]
m.... ,MN-  (:     .H,  `.N     `   `     `          `  `  `  `  `  `    .NuZUX&&&vOO+?7Tu....`    `        ??7"THMMM#WmXXXSwXZ8AXYzI<-~,<<?`         ` 4,` `      `            ` .]
MMMMMMNMMb.`d_       Wp   M|           `       `  `                       dRXmXVTC1z&zC<+&&z&dMBY"TO+(.....`        ~`(((-T7Vl-Z<(I<JCJ=7!         `     ?L            `    `     .]
MD7MMMMMMMMN(]        7b. (b         `     `         `            `     ` (b  .._???zCVY"7<-(<++(<;+(((J-(+(7=1(..            ` !    `                    .N, `         `          ]
D7# TMMM@MMMFS.`` `   `?b. H.  ` ` `  `  `   `  ` ` `  `` `  ` ` `  ` `   .M `    ?!_~?!<?7"??7?T77C1+(+zz111+<<<<?!..  `                  ` ` `` `  `  `   Te  ` ` `  `  `  ` ``  ]
© J.I./Asahi Shimbun Publishing
© J.I./Asahi Shimbun Publishing and Junji Ito "Maniac" Production Committee
*/

pragma solidity ^0.8.7;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/Base64.sol";
import "erc721a/contracts/ERC721A.sol";

import "@openzeppelin/contracts/utils/Strings.sol";

import {DefaultOperatorFilterer} from "./lib/OpenSea/DefaultOperatorFilterer.sol";

contract Tomie is ERC721A, ERC2981, ReentrancyGuard, Ownable, DefaultOperatorFilterer {
    event Killed(address killer, uint256 killedTokenId, uint256 birthTokenId, uint256 totalKill);

    uint256 firstBorn = 2222;
    uint256 lastPhase = 4;
    string baseName = "Tomie ";
    string lv0_description =
        unicode'Regenerating TOMIE has been airdropped to \\"TOMIE by Junji Ito\\" holders.  \\nYou can enjoy the KILL gimmick at the following website  \\nhttps://nft.ji-anime.com/kill  \\n※Please note that the kill system is subject to terminate without notice.  \\n  \\n© JI Inc./Asahi Shimbun Publications Inc.  \\n© JI/Asahi Shimbun Publications, Junji Ito Maniac Production Committee';
    string description =
        unicode'This is the NFT of Tomie, who has been murdered once but regenerates and grows again and again.  \\nRegenerating Tomie can be killed again at the following website.  \\nhttps://nft.ji-anime.com/kill  \\nThis NFT is a benefit for the holders of \\"TOMIE by Junji Ito\\".  \\n※Please note that the kill system is subject to terminate without notice.  \\n  \\n© JI Inc./Asahi Shimbun Publications Inc.  \\n© JI/Asahi Shimbun Publications, Junji Ito Maniac Production Committee';

    mapping(uint256 => string[]) private imageURIs;
    mapping(uint256 => string[]) private titles;
    mapping(uint256 => string[]) private colors;

    uint256 private regenerateTime = 2 days;
    mapping(uint256 => uint256) private birthTimes;
    mapping(uint256 => uint256) private killTimes;

    uint256 public killCost = 0.01 ether;
    uint256 public freeKill = 1;

    mapping(address => uint256[]) public killedTokenIds;

    address public royaltyAddress;
    uint96 public royaltyFee = 1000;

    constructor() ERC721A("Tomie", "TOMIE") {
        _setDefaultRoyalty(msg.sender, royaltyFee);
    }

    function _startTokenId() internal pure override returns (uint256) {
        return 1;
    }

    function beginning(address[] memory _enchantedPeople, uint256[] memory numOfTomie)
        external
        onlyOwner
    {
        require(_enchantedPeople.length == numOfTomie.length, "No match Arguments");

        for (uint256 i = 0; i < _enchantedPeople.length; i++) {
            uint256 startTokenid = _nextTokenId();
            require(totalSupply() + numOfTomie[i] <= firstBorn, "No more births.");

            _safeMint(_enchantedPeople[i], numOfTomie[i]);

            for (uint256 j = 0; j < numOfTomie[i]; j++) {
                birthTimes[startTokenid + j] = 1;
            }
        }
    }

    function setMetadata(
        uint256 phase,
        string[] memory newImageURIs,
        string[] memory newTitles,
        string[] memory newColors
    ) external onlyOwner {
        require(
            newImageURIs.length == newTitles.length && newImageURIs.length == newColors.length,
            "Array size mismatch."
        );
        setImageURIs(phase, newImageURIs);
        setTitles(phase, newTitles);
        setColors(phase, newColors);
    }

    function setImageURIs(uint256 phase, string[] memory newImageURIs) public onlyOwner {
        imageURIs[phase] = newImageURIs;
    }

    function setTitles(uint256 phase, string[] memory newTitles) public onlyOwner {
        titles[phase] = newTitles;
    }

    function setColors(uint256 phase, string[] memory newColors) public onlyOwner {
        colors[phase] = newColors;
    }

    function setBaseName(string memory newBaseName) external onlyOwner {
        baseName = newBaseName;
    }

    function setLv0Description(string memory newDescription) external onlyOwner {
        lv0_description = newDescription;
    }

    function setDescription(string memory newDescription) external onlyOwner {
        description = newDescription;
    }

    function setRegenerateTime(uint256 newRegenerateTime) external onlyOwner {
        regenerateTime = newRegenerateTime;
    }

    function setFreeKill(uint256 newFreeKill) external onlyOwner {
        freeKill = newFreeKill;
    }

    function setKillCost(uint256 newKillCost) external onlyOwner {
        killCost = newKillCost;
    }

    // Kill her. But rebirth.
    function kill(uint256 tokenId) external payable nonReentrant {
        require(ownerOf(tokenId) == msg.sender, "I'm not your Tomie, boy.");

        require(
            killedTokenIds[msg.sender].length < freeKill || msg.value == killCost,
            "You need to pay the killing fee."
        );

        // kill
        _burn(tokenId);
        killTimes[tokenId] = block.timestamp;

        killedTokenIds[msg.sender].push(tokenId);
        birthTimes[_nextTokenId()] = block.timestamp;
        _safeMint(msg.sender, 1);

        emit Killed(msg.sender, tokenId, _nextTokenId() - 1, killedTokenIds[msg.sender].length);
    }

    function getOwnTokenIds(address owner) external view returns (uint256[] memory) {
        unchecked {
            uint256 tokenIdsIdx;
            address currOwnershipAddr;
            uint256 tokenIdsLength = balanceOf(owner);
            uint256[] memory tokenIds = new uint256[](tokenIdsLength);
            TokenOwnership memory ownership;
            for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            return tokenIds;
        }
    }

    function getKilledTokenIds(address walletAddress) external view returns (uint256[] memory) {
        return killedTokenIds[walletAddress];
    }

    function isBorned(uint256 tokenId) private view returns (bool) {
        return _startTokenId() <= tokenId && tokenId < _nextTokenId();
    }

    function getRegenerateLevel(uint256 tokenId) public view returns (uint256) {
        require(isBorned(tokenId), "Not yet Birthed.");

        if (birthTimes[tokenId] == 1) {
            return 0;
        }

        uint256 n = 0;
        if (killTimes[tokenId] == 0) {
            n = (block.timestamp - birthTimes[tokenId]) / regenerateTime + 1;
        } else {
            n = (killTimes[tokenId] - birthTimes[tokenId]) / regenerateTime + 1;
        }

        if (n > lastPhase) n = lastPhase;
        return n;
    }

    function _getImageIndex(uint256 tokenId) private view returns (uint256) {
        uint256 regenerateLevel = getRegenerateLevel(tokenId);
        uint256 imageNum = imageURIs[regenerateLevel].length;
        uint256 random = uint256(
            keccak256(abi.encodePacked(tokenId, birthTimes[tokenId], regenerateLevel))
        );
        uint256 imageIndex = random % imageNum;
        return imageIndex;
    }

    function getDescription(uint256 level) private view returns (string memory) {
        if (level == 0) {
            return lv0_description;
        } else {
            return description;
        }
    }

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override(ERC721A)
        returns (string memory)
    {
        require(isBorned(tokenId), "Not yet Birthed.");

        uint256 level = getRegenerateLevel(tokenId);
        uint256 index = _getImageIndex(tokenId);

        bytes memory attrs = abi.encodePacked(
            '"attributes":[{"trait_type":"regenerateLevel","value":"L',
            Strings.toString(level),
            '"},{"trait_type":"Title","value":"',
            titles[level][index],
            '"},{"trait_type":"Color","value":"',
            colors[level][index],
            '"}]'
        );

        return
            string(
                abi.encodePacked(
                    "data:application/json;base64,",
                    Base64.encode(
                        abi.encodePacked(
                            '{"name":"',
                            baseName,
                            "#",
                            Strings.toString(tokenId),
                            '","description":"',
                            getDescription(level),
                            '","image":"',
                            imageURIs[level][index],
                            '",',
                            attrs,
                            "}"
                        )
                    )
                )
            );
    }

    //other function
    function setDefaultRoyalty(address receiver, uint96 feeNumerator) external onlyOwner {
        _setDefaultRoyalty(receiver, feeNumerator);
    }

    function withdraw() external onlyOwner {
        require(payable(msg.sender).send(address(this).balance));
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        override(ERC721A, ERC2981)
        returns (bool)
    {
        return ERC721A.supportsInterface(interfaceId) || ERC2981.supportsInterface(interfaceId);
    }

    // DefaultOperatorFilterer
    function setApprovalForAll(address operator, bool approved)
        public
        override
        onlyAllowedOperatorApproval(operator)
    {
        super.setApprovalForAll(operator, approved);
    }

    function approve(address operator, uint256 tokenId)
        public
        payable
        override
        onlyAllowedOperatorApproval(operator)
    {
        super.approve(operator, tokenId);
    }

    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable override onlyAllowedOperator(from) {
        super.transferFrom(from, to, tokenId);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable override onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory data
    ) public payable override onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId, data);
    }
}

File 2 of 16 : DefaultOperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {OperatorFilterer} from "./OperatorFilterer.sol";

/**
 * @title  DefaultOperatorFilterer
 * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription.
 */
abstract contract DefaultOperatorFilterer is OperatorFilterer {
    address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6);

    constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {}
}

File 3 of 16 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';

/**
 * @dev Interface of ERC721 token receiver.
 */
interface ERC721A__IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

/**
 * @title ERC721A
 *
 * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
 * Non-Fungible Token Standard, including the Metadata extension.
 * Optimized for lower gas during batch mints.
 *
 * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
 * starting from `_startTokenId()`.
 *
 * Assumptions:
 *
 * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364).
    struct TokenApprovalRef {
        address value;
    }

    // =============================================================
    //                           CONSTANTS
    // =============================================================

    // Mask of an entry in packed address data.
    uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

    // The bit position of `numberMinted` in packed address data.
    uint256 private constant _BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 private constant _BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 private constant _BITPOS_AUX = 192;

    // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // The bit position of `startTimestamp` in packed ownership.
    uint256 private constant _BITPOS_START_TIMESTAMP = 160;

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant _BITMASK_BURNED = 1 << 224;

    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITPOS_NEXT_INITIALIZED = 225;

    // The bit mask of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225;

    // The bit position of `extraData` in packed ownership.
    uint256 private constant _BITPOS_EXTRA_DATA = 232;

    // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`.
    uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1;

    // The mask of the lower 160 bits for addresses.
    uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1;

    // The maximum `quantity` that can be minted with {_mintERC2309}.
    // This limit is to prevent overflows on the address data entries.
    // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309}
    // is required to cause an overflow, which is unrealistic.
    uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000;

    // The `Transfer` event signature is given by:
    // `keccak256(bytes("Transfer(address,address,uint256)"))`.
    bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
        0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;

    // =============================================================
    //                            STORAGE
    // =============================================================

    // The next token ID to be minted.
    uint256 private _currentIndex;

    // The number of tokens burned.
    uint256 private _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned.
    // See {_packedOwnershipOf} implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    // - [232..255] `extraData`
    mapping(uint256 => uint256) private _packedOwnerships;

    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) private _packedAddressData;

    // Mapping from token ID to approved address.
    mapping(uint256 => TokenApprovalRef) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    // =============================================================
    //                          CONSTRUCTOR
    // =============================================================

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

    // =============================================================
    //                   TOKEN COUNTING OPERATIONS
    // =============================================================

    /**
     * @dev Returns the starting token ID.
     * To change the starting token ID, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view virtual returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * @dev Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view virtual returns (uint256) {
        // Counter underflow is impossible as `_currentIndex` does not decrement,
        // and it is initialized to `_startTokenId()`.
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @dev Returns the total number of tokens burned.
     */
    function _totalBurned() internal view virtual returns (uint256) {
        return _burnCounter;
    }

    // =============================================================
    //                    ADDRESS DATA OPERATIONS
    // =============================================================

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return uint64(_packedAddressData[owner] >> _BITPOS_AUX);
    }

    /**
     * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal virtual {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        // Cast `aux` with assembly to avoid redundant masking.
        assembly {
            auxCasted := aux
        }
        packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes
        // of the XOR of all function selectors in the interface.
        // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165)
        // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`)
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

    /**
     * @dev Returns the token collection name.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

        string memory baseURI = _baseURI();
        return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : '';
    }

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, it can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

    // =============================================================
    //                     OWNERSHIPS OPERATIONS
    // =============================================================

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

    /**
     * @dev Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around over time.
     */
    function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct at `index`.
     */
    function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnerships[index]);
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal virtual {
        if (_packedOwnerships[index] == 0) {
            _packedOwnerships[index] = _packedOwnershipOf(index);
        }
    }

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & _BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an initialized ownership slot
                        // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                        // before an unintialized ownership slot
                        // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                        // Hence, `curr` will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed will be zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP);
        ownership.burned = packed & _BITMASK_BURNED != 0;
        ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA);
    }

    /**
     * @dev Packs ownership data into a single uint256.
     */
    function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`.
            result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags))
        }
    }

    /**
     * @dev Returns the `nextInitialized` flag set if `quantity` equals 1.
     */
    function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) {
        // For branchless setting of the `nextInitialized` flag.
        assembly {
            // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`.
            result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1))
        }
    }

    // =============================================================
    //                      APPROVAL OPERATIONS
    // =============================================================

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the
     * zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) public payable virtual override {
        address owner = ownerOf(tokenId);

        if (_msgSenderERC721A() != owner)
            if (!isApprovedForAll(owner, _msgSenderERC721A())) {
                revert ApprovalCallerNotOwnerNorApproved();
            }

        _tokenApprovals[tokenId].value = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom}
     * for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
    }

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted. See {_mint}.
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
    }

    /**
     * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`.
     */
    function _isSenderApprovedOrOwner(
        address approvedAddress,
        address owner,
        address msgSender
    ) private pure returns (bool result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean.
            msgSender := and(msgSender, _BITMASK_ADDRESS)
            // `msgSender == owner || msgSender == approvedAddress`.
            result := or(eq(msgSender, owner), eq(msgSender, approvedAddress))
        }
    }

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedSlotAndAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId];
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`.
        assembly {
            approvedAddressSlot := tokenApproval.slot
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    // =============================================================
    //                      TRANSFER OPERATIONS
    // =============================================================

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner();

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
            if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();

        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // We can directly increment and decrement the balances.
            --_packedAddressData[from]; // Updates: `balance -= 1`.
            ++_packedAddressData[to]; // Updates: `balance += 1`.

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                to,
                _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {
        safeTransferFrom(from, to, tokenId, '');
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public payable virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token IDs
     * are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * `startTokenId` - the first token ID to be transferred.
     * `quantity` - the amount to be transferred.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token IDs
     * have been transferred. This includes minting.
     * And also called after one token has been burned.
     *
     * `startTokenId` - the first token ID to be transferred.
     * `quantity` - the amount to be transferred.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * `from` - Previous owner of the given token ID.
     * `to` - Target address that will receive the token.
     * `tokenId` - Token ID to be transferred.
     * `_data` - Optional data to send along with the call.
     *
     * Returns whether the call correctly returned the expected magic value.
     */
    function _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
            bytes4 retval
        ) {
            return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    // =============================================================
    //                        MINT OPERATIONS
    // =============================================================

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _mint(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // `balance` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

            // Use assembly to loop and emit the `Transfer` event for gas savings.
            // The duplicated `log4` removes an extra check and reduces stack juggling.
            // The assembly, together with the surrounding Solidity code, have been
            // delicately arranged to nudge the compiler into producing optimized opcodes.
            assembly {
                // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
                toMasked := and(to, _BITMASK_ADDRESS)
                // Emit the `Transfer` event.
                log4(
                    0, // Start of data (0, since no data).
                    0, // End of data (0, since no data).
                    _TRANSFER_EVENT_SIGNATURE, // Signature.
                    0, // `address(0)`.
                    toMasked, // `to`.
                    startTokenId // `tokenId`.
                )

                // The `iszero(eq(,))` check ensures that large values of `quantity`
                // that overflows uint256 will make the loop run out of gas.
                // The compiler will optimize the `iszero` away for performance.
                for {
                    let tokenId := add(startTokenId, 1)
                } iszero(eq(tokenId, end)) {
                    tokenId := add(tokenId, 1)
                } {
                    // Emit the `Transfer` event. Similar to above.
                    log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
                }
            }
            if (toMasked == 0) revert MintToZeroAddress();

            _currentIndex = end;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * This function is intended for efficient minting only during contract creation.
     *
     * It emits only one {ConsecutiveTransfer} as defined in
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309),
     * instead of a sequence of {Transfer} event(s).
     *
     * Calling this function outside of contract creation WILL make your contract
     * non-compliant with the ERC721 standard.
     * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309
     * {ConsecutiveTransfer} event is only permissible during contract creation.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {ConsecutiveTransfer} event.
     */
    function _mintERC2309(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();
        if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are unrealistic due to the above check for `quantity` to be below the limit.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to);

            _currentIndex = startTokenId + quantity;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * See {_mint}.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal virtual {
        _mint(to, quantity);

        unchecked {
            if (to.code.length != 0) {
                uint256 end = _currentIndex;
                uint256 index = end - quantity;
                do {
                    if (!_checkContractOnERC721Received(address(0), to, index++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (index < end);
                // Reentrancy protection.
                if (_currentIndex != end) revert();
            }
        }
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal virtual {
        _safeMint(to, quantity, '');
    }

    // =============================================================
    //                        BURN OPERATIONS
    // =============================================================

    /**
     * @dev Equivalent to `_burn(tokenId, false)`.
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId, bool approvalCheck) internal virtual {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        address from = address(uint160(prevOwnershipPacked));

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
                if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256.
        unchecked {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                from,
                (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

    // =============================================================
    //                     EXTRA DATA OPERATIONS
    // =============================================================

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual {
        uint256 packed = _packedOwnerships[index];
        if (packed == 0) revert OwnershipNotInitializedForExtraData();
        uint256 extraDataCasted;
        // Cast `extraData` with assembly to avoid redundant masking.
        assembly {
            extraDataCasted := extraData
        }
        packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA);
        _packedOwnerships[index] = packed;
    }

    /**
     * @dev Called during each token transfer to set the 24bit `extraData` field.
     * Intended to be overridden by the cosumer contract.
     *
     * `previousExtraData` - the value of `extraData` before transfer.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _extraData(
        address from,
        address to,
        uint24 previousExtraData
    ) internal view virtual returns (uint24) {}

    /**
     * @dev Returns the next extra data for the packed ownership data.
     * The returned result is shifted into position.
     */
    function _nextExtraData(
        address from,
        address to,
        uint256 prevOwnershipPacked
    ) private view returns (uint256) {
        uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA);
        return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA;
    }

    // =============================================================
    //                       OTHER OPERATIONS
    // =============================================================

    /**
     * @dev Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

    /**
     * @dev Converts a uint256 to its ASCII string decimal representation.
     */
    function _toString(uint256 value) internal pure virtual returns (string memory str) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), but
            // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned.
            // We will need 1 word for the trailing zeros padding, 1 word for the length,
            // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0.
            let m := add(mload(0x40), 0xa0)
            // Update the free memory pointer to allocate.
            mstore(0x40, m)
            // Assign the `str` to the end.
            str := sub(m, 0x20)
            // Zeroize the slot after the string.
            mstore(str, 0)

            // Cache the end of the memory to calculate the length later.
            let end := str

            // We write the string from rightmost digit to leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // prettier-ignore
            for { let temp := value } 1 {} {
                str := sub(str, 1)
                // Write the character to the pointer.
                // The ASCII index of the '0' character is 48.
                mstore8(str, add(48, mod(temp, 10)))
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
                // prettier-ignore
                if iszero(temp) { break }
            }

            let length := sub(end, str)
            // Move the pointer 32 bytes leftwards to make room for the length.
            str := sub(str, 0x20)
            // Store the length.
            mstore(str, length)
        }
    }
}

File 4 of 16 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 5 of 16 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

File 6 of 16 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 7 of 16 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 8 of 16 : Base64.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Base64.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides a set of functions to operate with Base64 strings.
 *
 * _Available since v4.5._
 */
library Base64 {
    /**
     * @dev Base64 Encoding/Decoding Table
     */
    string internal constant _TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /**
     * @dev Converts a `bytes` to its Bytes64 `string` representation.
     */
    function encode(bytes memory data) internal pure returns (string memory) {
        /**
         * Inspired by Brecht Devos (Brechtpd) implementation - MIT licence
         * https://github.com/Brechtpd/base64/blob/e78d9fd951e7b0977ddca77d92dc85183770daf4/base64.sol
         */
        if (data.length == 0) return "";

        // Loads the table into memory
        string memory table = _TABLE;

        // Encoding takes 3 bytes chunks of binary data from `bytes` data parameter
        // and split into 4 numbers of 6 bits.
        // The final Base64 length should be `bytes` data length multiplied by 4/3 rounded up
        // - `data.length + 2`  -> Round up
        // - `/ 3`              -> Number of 3-bytes chunks
        // - `4 *`              -> 4 characters for each chunk
        string memory result = new string(4 * ((data.length + 2) / 3));

        /// @solidity memory-safe-assembly
        assembly {
            // Prepare the lookup table (skip the first "length" byte)
            let tablePtr := add(table, 1)

            // Prepare result pointer, jump over length
            let resultPtr := add(result, 32)

            // Run over the input, 3 bytes at a time
            for {
                let dataPtr := data
                let endPtr := add(data, mload(data))
            } lt(dataPtr, endPtr) {

            } {
                // Advance 3 bytes
                dataPtr := add(dataPtr, 3)
                let input := mload(dataPtr)

                // To write each character, shift the 3 bytes (18 bits) chunk
                // 4 times in blocks of 6 bits for each character (18, 12, 6, 0)
                // and apply logical AND with 0x3F which is the number of
                // the previous character in the ASCII table prior to the Base64 Table
                // The result is then added to the table to get the character to write,
                // and finally write it in the result pointer but with a left shift
                // of 256 (1 byte) - 8 (1 ASCII char) = 248 bits

                mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(shr(6, input), 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance

                mstore8(resultPtr, mload(add(tablePtr, and(input, 0x3F))))
                resultPtr := add(resultPtr, 1) // Advance
            }

            // When data `bytes` is not exactly 3 bytes long
            // it is padded with `=` characters at the end
            switch mod(mload(data), 3)
            case 1 {
                mstore8(sub(resultPtr, 1), 0x3d)
                mstore8(sub(resultPtr, 2), 0x3d)
            }
            case 2 {
                mstore8(sub(resultPtr, 1), 0x3d)
            }
        }

        return result;
    }
}

File 9 of 16 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

import "../../interfaces/IERC2981.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) {
        return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

File 10 of 16 : OperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol";

/**
 * @title  OperatorFilterer
 * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another
 *         registrant's entries in the OperatorFilterRegistry.
 * @dev    This smart contract is meant to be inherited by token contracts so they can use the following:
 *         - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods.
 *         - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods.
 */
abstract contract OperatorFilterer {
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E);

    constructor(address subscriptionOrRegistrantToCopy, bool subscribe) {
        // If an inheriting token contract is deployed to a network without the registry deployed, the modifier
        // will not revert, but the contract will need to be registered with the registry once it is deployed in
        // order for the modifier to filter addresses.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (subscribe) {
                OPERATOR_FILTER_REGISTRY.registerAndSubscribe(
                    address(this),
                    subscriptionOrRegistrantToCopy
                );
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(
                        address(this),
                        subscriptionOrRegistrantToCopy
                    );
                } else {
                    OPERATOR_FILTER_REGISTRY.register(address(this));
                }
            }
        }
    }

    modifier onlyAllowedOperator(address from) virtual {
        // Allow spending tokens from addresses with balance
        // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
        // from an EOA.
        if (from != msg.sender) {
            _checkFilterOperator(msg.sender);
        }
        _;
    }

    modifier onlyAllowedOperatorApproval(address operator) virtual {
        _checkFilterOperator(operator);
        _;
    }

    function _checkFilterOperator(address operator) internal view virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) {
                revert OperatorNotAllowed(operator);
            }
        }
    }
}

File 11 of 16 : IOperatorFilterRegistry.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

interface IOperatorFilterRegistry {
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);

    function register(address registrant) external;

    function registerAndSubscribe(address registrant, address subscription) external;

    function registerAndCopyEntries(address registrant, address registrantToCopy) external;

    function unregister(address addr) external;

    function updateOperator(
        address registrant,
        address operator,
        bool filtered
    ) external;

    function updateOperators(
        address registrant,
        address[] calldata operators,
        bool filtered
    ) external;

    function updateCodeHash(
        address registrant,
        bytes32 codehash,
        bool filtered
    ) external;

    function updateCodeHashes(
        address registrant,
        bytes32[] calldata codeHashes,
        bool filtered
    ) external;

    function subscribe(address registrant, address registrantToSubscribe) external;

    function unsubscribe(address registrant, bool copyExistingEntries) external;

    function subscriptionOf(address addr) external returns (address registrant);

    function subscribers(address registrant) external returns (address[] memory);

    function subscriberAt(address registrant, uint256 index) external returns (address);

    function copyEntriesOf(address registrant, address registrantToCopy) external;

    function isOperatorFiltered(address registrant, address operator) external returns (bool);

    function isCodeHashOfFiltered(address registrant, address operatorWithCode)
        external
        returns (bool);

    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);

    function filteredOperators(address addr) external returns (address[] memory);

    function filteredCodeHashes(address addr) external returns (bytes32[] memory);

    function filteredOperatorAt(address registrant, uint256 index) external returns (address);

    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);

    function isRegistered(address addr) external returns (bool);

    function codeHashOf(address addr) external returns (bytes32);
}

File 12 of 16 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of ERC721A.
 */
interface IERC721A {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

    /**
     * The token does not exist.
     */
    error OwnerQueryForNonexistentToken();

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the
     * ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

    /**
     * The token does not exist.
     */
    error URIQueryForNonexistentToken();

    /**
     * The `quantity` minted with ERC2309 exceeds the safety limit.
     */
    error MintERC2309QuantityExceedsLimit();

    /**
     * The `extraData` cannot be set on an unintialized ownership slot.
     */
    error OwnershipNotInitializedForExtraData();

    // =============================================================
    //                            STRUCTS
    // =============================================================

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Stores the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
        // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}.
        uint24 extraData;
    }

    // =============================================================
    //                         TOKEN COUNTERS
    // =============================================================

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() external view returns (uint256);

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);

    // =============================================================
    //                            IERC721
    // =============================================================

    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables
     * (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`,
     * checking first that contract recipients are aware of the ERC721 protocol
     * to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move
     * this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement
     * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external payable;

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external payable;

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom}
     * whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token
     * by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external payable;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the
     * zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external payable;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom}
     * for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);

    // =============================================================
    //                           IERC2309
    // =============================================================

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId`
     * (inclusive) is transferred from `from` to `to`, as defined in the
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard.
     *
     * See {_mintERC2309} for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

File 13 of 16 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 14 of 16 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

import "../utils/introspection/IERC165.sol";

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 15 of 16 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 16 of 16 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"killer","type":"address"},{"indexed":false,"internalType":"uint256","name":"killedTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"birthTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalKill","type":"uint256"}],"name":"Killed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_enchantedPeople","type":"address[]"},{"internalType":"uint256[]","name":"numOfTomie","type":"uint256[]"}],"name":"beginning","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freeKill","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"walletAddress","type":"address"}],"name":"getKilledTokenIds","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"getOwnTokenIds","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getRegenerateLevel","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"kill","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"killCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"killedTokenIds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"royaltyAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyFee","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseName","type":"string"}],"name":"setBaseName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"phase","type":"uint256"},{"internalType":"string[]","name":"newColors","type":"string[]"}],"name":"setColors","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newDescription","type":"string"}],"name":"setDescription","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newFreeKill","type":"uint256"}],"name":"setFreeKill","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"phase","type":"uint256"},{"internalType":"string[]","name":"newImageURIs","type":"string[]"}],"name":"setImageURIs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newKillCost","type":"uint256"}],"name":"setKillCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newDescription","type":"string"}],"name":"setLv0Description","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"phase","type":"uint256"},{"internalType":"string[]","name":"newImageURIs","type":"string[]"},{"internalType":"string[]","name":"newTitles","type":"string[]"},{"internalType":"string[]","name":"newColors","type":"string[]"}],"name":"setMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newRegenerateTime","type":"uint256"}],"name":"setRegenerateTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"phase","type":"uint256"},{"internalType":"string[]","name":"newTitles","type":"string[]"}],"name":"setTitles","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526108ae600c556004600d556040518060400160405280600681526020017f546f6d6965200000000000000000000000000000000000000000000000000000815250600e90805190602001906200005c929190620006c1565b50604051806101a00160405280610171815260200162005ed66101719139600f908051906020019062000091929190620006c1565b506040518061020001604052806101d4815260200162005d026101d4913960109080519060200190620000c6929190620006c1565b506202a300601455662386f26fc1000060175560016018556103e8601a60146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055503480156200011e57600080fd5b50733cc6cdda760b79bafa08df41ecfa224f810dceb660016040518060400160405280600581526020017f546f6d69650000000000000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f544f4d49450000000000000000000000000000000000000000000000000000008152508160029080519060200190620001ba929190620006c1565b508060039080519060200190620001d3929190620006c1565b50620001e46200043d60201b60201c565b60008190555050506001600a8190555062000214620002086200044660201b60201c565b6200044e60201b60201c565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b111562000409578015620002cf576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b815260040162000295929190620007b6565b600060405180830381600087803b158015620002b057600080fd5b505af1158015620002c5573d6000803e3d6000fd5b5050505062000408565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161462000389576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b81526004016200034f929190620007b6565b600060405180830381600087803b1580156200036a57600080fd5b505af11580156200037f573d6000803e3d6000fd5b5050505062000407565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b8152600401620003d29190620007e3565b600060405180830381600087803b158015620003ed57600080fd5b505af115801562000402573d6000803e3d6000fd5b505050505b5b5b50506200043733601a60149054906101000a90046bffffffffffffffffffffffff166200051460201b60201c565b6200097f565b60006001905090565b600033905090565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b62000524620006b760201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff16111562000585576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200057c9062000887565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620005f7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005ee90620008f9565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600860008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6000612710905090565b828054620006cf906200094a565b90600052602060002090601f016020900481019282620006f357600085556200073f565b82601f106200070e57805160ff19168380011785556200073f565b828001600101855582156200073f579182015b828111156200073e57825182559160200191906001019062000721565b5b5090506200074e919062000752565b5090565b5b808211156200076d57600081600090555060010162000753565b5090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200079e8262000771565b9050919050565b620007b08162000791565b82525050565b6000604082019050620007cd6000830185620007a5565b620007dc6020830184620007a5565b9392505050565b6000602082019050620007fa6000830184620007a5565b92915050565b600082825260208201905092915050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b60006200086f602a8362000800565b91506200087c8262000811565b604082019050919050565b60006020820190508181036000830152620008a28162000860565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000620008e160198362000800565b9150620008ee82620008a9565b602082019050919050565b600060208201905081810360008301526200091481620008d2565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200096357607f821691505b6020821081036200097957620009786200091b565b5b50919050565b615373806200098f6000396000f3fe6080604052600436106102465760003560e01c8063715018a611610139578063b88d4fde116100b6578063d29a00251161007a578063d29a002514610867578063e81c2ffa14610883578063e985e9c5146108ac578063ec611dbe146108e9578063f2fde38b14610914578063f80a0c8c1461093d57610246565b8063b88d4fde14610791578063b8997a97146107ad578063c50e536b146107d8578063c7570d2514610801578063c87b56dd1461082a57610246565b806395d89b41116100fd57806395d89b41146106aa578063a22cb465146106d5578063a91fa7be146106fe578063ad2f852a1461073b578063ae4e679b1461076657610246565b8063715018a6146105d957806386157308146105f05780638da5cb5b1461062d57806390c3f38f1461065857806393d190fe1461068157610246565b80632c173be6116101c757806345a385a01161018b57806345a385a0146104d05780636352211e146104f95780636761083e14610536578063680317741461057357806370a082311461059c57610246565b80632c173be61461040c5780633ccfd60b1461043557806341f434341461044c57806342842e0e1461047757806343bf3e241461049357610246565b806318160ddd1161020e57806318160ddd146103355780631b2121aa146103605780631dc101ac1461038957806323b872dd146103b25780632a55205a146103ce57610246565b806301ffc9a71461024b57806304634d8d1461028857806306fdde03146102b1578063081812fc146102dc578063095ea7b314610319575b600080fd5b34801561025757600080fd5b50610272600480360381019061026d9190613726565b610966565b60405161027f919061376e565b60405180910390f35b34801561029457600080fd5b506102af60048036038101906102aa919061382b565b610988565b005b3480156102bd57600080fd5b506102c661099e565b6040516102d39190613904565b60405180910390f35b3480156102e857600080fd5b5061030360048036038101906102fe919061395c565b610a30565b6040516103109190613998565b60405180910390f35b610333600480360381019061032e91906139b3565b610aaf565b005b34801561034157600080fd5b5061034a610ac8565b6040516103579190613a02565b60405180910390f35b34801561036c57600080fd5b5061038760048036038101906103829190613b52565b610adf565b005b34801561039557600080fd5b506103b060048036038101906103ab919061395c565b610b01565b005b6103cc60048036038101906103c79190613b9b565b610b13565b005b3480156103da57600080fd5b506103f560048036038101906103f09190613bee565b610b62565b604051610403929190613c2e565b60405180910390f35b34801561041857600080fd5b50610433600480360381019061042e9190613b52565b610d4c565b005b34801561044157600080fd5b5061044a610d6e565b005b34801561045857600080fd5b50610461610db6565b60405161046e9190613cb6565b60405180910390f35b610491600480360381019061048c9190613b9b565b610dc8565b005b34801561049f57600080fd5b506104ba60048036038101906104b5919061395c565b610e17565b6040516104c79190613a02565b60405180910390f35b3480156104dc57600080fd5b506104f760048036038101906104f29190613db7565b610f48565b005b34801561050557600080fd5b50610520600480360381019061051b919061395c565b610fc5565b60405161052d9190613998565b60405180910390f35b34801561054257600080fd5b5061055d600480360381019061055891906139b3565b610fd7565b60405161056a9190613a02565b60405180910390f35b34801561057f57600080fd5b5061059a60048036038101906105959190613e72565b611008565b005b3480156105a857600080fd5b506105c360048036038101906105be9190613ece565b61103c565b6040516105d09190613a02565b60405180910390f35b3480156105e557600080fd5b506105ee6110f4565b005b3480156105fc57600080fd5b5061061760048036038101906106129190613ece565b611108565b6040516106249190613fb9565b60405180910390f35b34801561063957600080fd5b5061064261119f565b60405161064f9190613998565b60405180910390f35b34801561066457600080fd5b5061067f600480360381019061067a9190613b52565b6111c9565b005b34801561068d57600080fd5b506106a860048036038101906106a3919061395c565b6111eb565b005b3480156106b657600080fd5b506106bf6111fd565b6040516106cc9190613904565b60405180910390f35b3480156106e157600080fd5b506106fc60048036038101906106f79190614007565b61128f565b005b34801561070a57600080fd5b5061072560048036038101906107209190613ece565b6112a8565b6040516107329190613fb9565b60405180910390f35b34801561074757600080fd5b506107506113eb565b60405161075d9190613998565b60405180910390f35b34801561077257600080fd5b5061077b611411565b6040516107889190613a02565b60405180910390f35b6107ab60048036038101906107a691906140e8565b611417565b005b3480156107b957600080fd5b506107c2611468565b6040516107cf919061417a565b60405180910390f35b3480156107e457600080fd5b506107ff60048036038101906107fa9190613e72565b611486565b005b34801561080d57600080fd5b506108286004803603810190610823919061395c565b6114ba565b005b34801561083657600080fd5b50610851600480360381019061084c919061395c565b6114cc565b60405161085e9190613904565b60405180910390f35b610881600480360381019061087c919061395c565b611654565b005b34801561088f57600080fd5b506108aa60048036038101906108a59190613e72565b6118f7565b005b3480156108b857600080fd5b506108d360048036038101906108ce9190614195565b61192b565b6040516108e0919061376e565b60405180910390f35b3480156108f557600080fd5b506108fe6119bf565b60405161090b9190613a02565b60405180910390f35b34801561092057600080fd5b5061093b60048036038101906109369190613ece565b6119c5565b005b34801561094957600080fd5b50610964600480360381019061095f919061435b565b611a48565b005b600061097182611bd1565b80610981575061098082611c63565b5b9050919050565b610990611cdd565b61099a8282611d5b565b5050565b6060600280546109ad90614402565b80601f01602080910402602001604051908101604052809291908181526020018280546109d990614402565b8015610a265780601f106109fb57610100808354040283529160200191610a26565b820191906000526020600020905b815481529060010190602001808311610a0957829003601f168201915b5050505050905090565b6000610a3b82611ef0565b610a71576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81610ab981611f4f565b610ac3838361204c565b505050565b6000610ad2612190565b6001546000540303905090565b610ae7611cdd565b80600e9080519060200190610afd929190613504565b5050565b610b09611cdd565b8060188190555050565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610b5157610b5033611f4f565b5b610b5c848484612199565b50505050565b6000806000600960008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610cf75760086040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610d016124bb565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610d2d9190614462565b610d3791906144eb565b90508160000151819350935050509250929050565b610d54611cdd565b80600f9080519060200190610d6a929190613504565b5050565b610d76611cdd565b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050610db457600080fd5b565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610e0657610e0533611f4f565b5b610e118484846124c5565b50505050565b6000610e22826124e5565b610e61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5890614568565b60405180910390fd5b6001601560008481526020019081526020016000205403610e855760009050610f43565b600080601660008581526020019081526020016000205403610ee0576001601454601560008681526020019081526020016000205442610ec59190614588565b610ecf91906144eb565b610ed991906145bc565b9050610f2e565b600160145460156000868152602001908152602001600020546016600087815260200190815260200160002054610f179190614588565b610f2191906144eb565b610f2b91906145bc565b90505b600d54811115610f3e57600d5490505b809150505b919050565b610f50611cdd565b81518351148015610f62575080518351145b610fa1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f989061465e565b60405180910390fd5b610fab8484611008565b610fb58483611486565b610fbf84826118f7565b50505050565b6000610fd08261250b565b9050919050565b60196020528160005260406000208181548110610ff357600080fd5b90600052602060002001600091509150505481565b611010611cdd565b8060116000848152602001908152602001600020908051906020019061103792919061358a565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036110a3576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6110fc611cdd565b61110660006125d7565b565b6060601960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080548060200260200160405190810160405280929190818152602001828054801561119357602002820191906000526020600020905b81548152602001906001019080831161117f575b50505050509050919050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6111d1611cdd565b80601090805190602001906111e7929190613504565b5050565b6111f3611cdd565b8060148190555050565b60606003805461120c90614402565b80601f016020809104026020016040519081016040528092919081815260200182805461123890614402565b80156112855780601f1061125a57610100808354040283529160200191611285565b820191906000526020600020905b81548152906001019060200180831161126857829003601f168201915b5050505050905090565b8161129981611f4f565b6112a3838361269d565b505050565b606060008060006112b88561103c565b905060008167ffffffffffffffff8111156112d6576112d5613a27565b5b6040519080825280602002602001820160405280156113045781602001602082028036833780820191505090505b50905061130f6135ea565b6000611319612190565b90505b8386146113dd5761132c816127a8565b915081604001516113d257600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461137757816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036113d157808387806001019850815181106113c4576113c361467e565b5b6020026020010181815250505b5b80600101905061131c565b508195505050505050919050565b601a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60175481565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146114555761145433611f4f565b5b611461858585856127d3565b5050505050565b601a60149054906101000a90046bffffffffffffffffffffffff1681565b61148e611cdd565b806012600084815260200190815260200160002090805190602001906114b592919061358a565b505050565b6114c2611cdd565b8060178190555050565b60606114d7826124e5565b611516576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150d90614568565b60405180910390fd5b600061152183610e17565b9050600061152e84612846565b9050600061153b836128d0565b6012600085815260200190815260200160002083815481106115605761155f61467e565b5b9060005260206000200160136000868152602001908152602001600020848154811061158f5761158e61467e565b5b906000526020600020016040516020016115ab9392919061491f565b604051602081830303815290604052905061162b600e6115ca876128d0565b6115d386612a30565b6011600088815260200190815260200160002086815481106115f8576115f761467e565b5b9060005260206000200185604051602001611617959493929190614b8b565b604051602081830303815290604052612b5f565b60405160200161163b9190614c64565b6040516020818303038152906040529350505050919050565b6002600a5403611699576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169090614cd2565b60405180910390fd5b6002600a819055503373ffffffffffffffffffffffffffffffffffffffff166116c182610fc5565b73ffffffffffffffffffffffffffffffffffffffff1614611717576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170e90614d3e565b60405180910390fd5b601854601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050108061176a575060175434145b6117a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a090614daa565b60405180910390fd5b6117b281612cc2565b426016600083815260200190815260200160002081905550601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819080600181540180825580915050600190039060005260206000200160009091909190915055426015600061183d612cd0565b81526020019081526020016000208190555061185a336001612cd9565b7f984de5debbabfd0caf8c80251750ca6f411bff43fa53c31cd00cf3938961462433826001611887612cd0565b6118919190614588565b601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506040516118e49493929190614dca565b60405180910390a16001600a8190555050565b6118ff611cdd565b8060136000848152602001908152602001600020908051906020019061192692919061358a565b505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60185481565b6119cd611cdd565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611a3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3390614e81565b60405180910390fd5b611a45816125d7565b50565b611a50611cdd565b8051825114611a94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8b90614eed565b60405180910390fd5b60005b8251811015611bcc576000611aaa612cd0565b9050600c54838381518110611ac257611ac161467e565b5b6020026020010151611ad2610ac8565b611adc91906145bc565b1115611b1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1490614f59565b60405180910390fd5b611b5b848381518110611b3357611b3261467e565b5b6020026020010151848481518110611b4e57611b4d61467e565b5b6020026020010151612cd9565b60005b838381518110611b7157611b7061467e565b5b6020026020010151811015611bb7576001601560008385611b9291906145bc565b8152602001908152602001600020819055508080611baf90614f79565b915050611b5e565b50508080611bc490614f79565b915050611a97565b505050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611c2c57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611c5c5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611cd65750611cd582612cf7565b5b9050919050565b611ce5612d61565b73ffffffffffffffffffffffffffffffffffffffff16611d0361119f565b73ffffffffffffffffffffffffffffffffffffffff1614611d59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d509061500d565b60405180910390fd5b565b611d636124bb565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115611dc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db89061509f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611e30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e279061510b565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600860008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b600081611efb612190565b11158015611f0a575060005482105b8015611f48575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115612049576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611fc692919061512b565b602060405180830381865afa158015611fe3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120079190615169565b61204857806040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161203f9190613998565b60405180910390fd5b5b50565b600061205782610fc5565b90508073ffffffffffffffffffffffffffffffffffffffff16612078612d69565b73ffffffffffffffffffffffffffffffffffffffff16146120db576120a48161209f612d69565b61192b565b6120da576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b60006121a48261250b565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461220b576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061221784612d71565b9150915061222d8187612228612d69565b612d98565b612279576122428661223d612d69565b61192b565b612278576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036122df576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6122ec8686866001612ddc565b80156122f757600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506123c5856123a1888887612de2565b7c020000000000000000000000000000000000000000000000000000000017612e0a565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084160361244b5760006001850190506000600460008381526020019081526020016000205403612449576000548114612448578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46124b38686866001612e35565b505050505050565b6000612710905090565b6124e083838360405180602001604052806000815250611417565b505050565b6000816124f0612190565b111580156125045750612501612cd0565b82105b9050919050565b6000808290508061251a612190565b116125a05760005481101561259f5760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082160361259d575b60008103612593576004600083600190039350838152602001908152602001600020549050612569565b80925050506125d2565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b80600760006126aa612d69565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612757612d69565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161279c919061376e565b60405180910390a35050565b6127b06135ea565b6127cc6004600084815260200190815260200160002054612e3b565b9050919050565b6127de848484610b13565b60008373ffffffffffffffffffffffffffffffffffffffff163b146128405761280984848484612ef1565b61283f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60008061285283610e17565b9050600060116000838152602001908152602001600020805490509050600084601560008781526020019081526020016000205484604051602001612899939291906151b7565b6040516020818303038152906040528051906020012060001c9050600082826128c291906151f4565b905080945050505050919050565b606060008203612917576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612a2b565b600082905060005b6000821461294957808061293290614f79565b915050600a8261294291906144eb565b915061291f565b60008167ffffffffffffffff81111561296557612964613a27565b5b6040519080825280601f01601f1916602001820160405280156129975781602001600182028036833780820191505090505b5090505b60008514612a24576001826129b09190614588565b9150600a856129bf91906151f4565b60306129cb91906145bc565b60f81b8183815181106129e1576129e061467e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612a1d91906144eb565b945061299b565b8093505050505b919050565b606060008203612acc57600f8054612a4790614402565b80601f0160208091040260200160405190810160405280929190818152602001828054612a7390614402565b8015612ac05780601f10612a9557610100808354040283529160200191612ac0565b820191906000526020600020905b815481529060010190602001808311612aa357829003601f168201915b50505050509050612b5a565b60108054612ad990614402565b80601f0160208091040260200160405190810160405280929190818152602001828054612b0590614402565b8015612b525780601f10612b2757610100808354040283529160200191612b52565b820191906000526020600020905b815481529060010190602001808311612b3557829003601f168201915b505050505090505b919050565b60606000825103612b8157604051806020016040528060008152509050612cbd565b60006040518060600160405280604081526020016152fe6040913990506000600360028551612bb091906145bc565b612bba91906144eb565b6004612bc69190614462565b67ffffffffffffffff811115612bdf57612bde613a27565b5b6040519080825280601f01601f191660200182016040528015612c115781602001600182028036833780820191505090505b509050600182016020820185865187015b80821015612c7d576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f8116850151845360018401935050612c22565b5050600386510660018114612c995760028114612cac57612cb4565b603d6001830353603d6002830353612cb4565b603d60018303535b50505080925050505b919050565b612ccd816000613041565b50565b60008054905090565b612cf3828260405180602001604052806000815250613293565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600033905090565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612df9868684613330565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b612e436135ea565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f17612d69565b8786866040518563ffffffff1660e01b8152600401612f39949392919061526f565b6020604051808303816000875af1925050508015612f7557506040513d601f19601f82011682018060405250810190612f7291906152d0565b60015b612fee573d8060008114612fa5576040519150601f19603f3d011682016040523d82523d6000602084013e612faa565b606091505b506000815103612fe6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600061304c8361250b565b9050600081905060008061305f86612d71565b9150915084156130c85761307b8184613076612d69565b612d98565b6130c7576130908361308b612d69565b61192b565b6130c6576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b6130d6836000886001612ddc565b80156130e157600082555b600160806001901b03600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506131898361314685600088612de2565b7c02000000000000000000000000000000000000000000000000000000007c01000000000000000000000000000000000000000000000000000000001717612e0a565b600460008881526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000085160361320f576000600187019050600060046000838152602001908152602001600020540361320d57600054811461320c578460046000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613279836000886001612e35565b600160008154809291906001019190505550505050505050565b61329d8383613339565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461332b57600080549050600083820390505b6132dd6000868380600101945086612ef1565b613313576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106132ca57816000541461332857600080fd5b50505b505050565b60009392505050565b60008054905060008203613379576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6133866000848385612ddc565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506133fd836133ee6000866000612de2565b6133f7856134f4565b17612e0a565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461349e57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050613463565b50600082036134d9576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506134ef6000848385612e35565b505050565b60006001821460e11b9050919050565b82805461351090614402565b90600052602060002090601f0160209004810192826135325760008555613579565b82601f1061354b57805160ff1916838001178555613579565b82800160010185558215613579579182015b8281111561357857825182559160200191906001019061355d565b5b5090506135869190613639565b5090565b8280548282559060005260206000209081019282156135d9579160200282015b828111156135d85782518290805190602001906135c8929190613504565b50916020019190600101906135aa565b5b5090506135e69190613656565b5090565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b5b8082111561365257600081600090555060010161363a565b5090565b5b80821115613676576000818161366d919061367a565b50600101613657565b5090565b50805461368690614402565b6000825580601f1061369857506136b7565b601f0160209004906000526020600020908101906136b69190613639565b5b50565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613703816136ce565b811461370e57600080fd5b50565b600081359050613720816136fa565b92915050565b60006020828403121561373c5761373b6136c4565b5b600061374a84828501613711565b91505092915050565b60008115159050919050565b61376881613753565b82525050565b6000602082019050613783600083018461375f565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006137b482613789565b9050919050565b6137c4816137a9565b81146137cf57600080fd5b50565b6000813590506137e1816137bb565b92915050565b60006bffffffffffffffffffffffff82169050919050565b613808816137e7565b811461381357600080fd5b50565b600081359050613825816137ff565b92915050565b60008060408385031215613842576138416136c4565b5b6000613850858286016137d2565b925050602061386185828601613816565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b838110156138a557808201518184015260208101905061388a565b838111156138b4576000848401525b50505050565b6000601f19601f8301169050919050565b60006138d68261386b565b6138e08185613876565b93506138f0818560208601613887565b6138f9816138ba565b840191505092915050565b6000602082019050818103600083015261391e81846138cb565b905092915050565b6000819050919050565b61393981613926565b811461394457600080fd5b50565b60008135905061395681613930565b92915050565b600060208284031215613972576139716136c4565b5b600061398084828501613947565b91505092915050565b613992816137a9565b82525050565b60006020820190506139ad6000830184613989565b92915050565b600080604083850312156139ca576139c96136c4565b5b60006139d8858286016137d2565b92505060206139e985828601613947565b9150509250929050565b6139fc81613926565b82525050565b6000602082019050613a1760008301846139f3565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613a5f826138ba565b810181811067ffffffffffffffff82111715613a7e57613a7d613a27565b5b80604052505050565b6000613a916136ba565b9050613a9d8282613a56565b919050565b600067ffffffffffffffff821115613abd57613abc613a27565b5b613ac6826138ba565b9050602081019050919050565b82818337600083830152505050565b6000613af5613af084613aa2565b613a87565b905082815260208101848484011115613b1157613b10613a22565b5b613b1c848285613ad3565b509392505050565b600082601f830112613b3957613b38613a1d565b5b8135613b49848260208601613ae2565b91505092915050565b600060208284031215613b6857613b676136c4565b5b600082013567ffffffffffffffff811115613b8657613b856136c9565b5b613b9284828501613b24565b91505092915050565b600080600060608486031215613bb457613bb36136c4565b5b6000613bc2868287016137d2565b9350506020613bd3868287016137d2565b9250506040613be486828701613947565b9150509250925092565b60008060408385031215613c0557613c046136c4565b5b6000613c1385828601613947565b9250506020613c2485828601613947565b9150509250929050565b6000604082019050613c436000830185613989565b613c5060208301846139f3565b9392505050565b6000819050919050565b6000613c7c613c77613c7284613789565b613c57565b613789565b9050919050565b6000613c8e82613c61565b9050919050565b6000613ca082613c83565b9050919050565b613cb081613c95565b82525050565b6000602082019050613ccb6000830184613ca7565b92915050565b600067ffffffffffffffff821115613cec57613ceb613a27565b5b602082029050602081019050919050565b600080fd5b6000613d15613d1084613cd1565b613a87565b90508083825260208201905060208402830185811115613d3857613d37613cfd565b5b835b81811015613d7f57803567ffffffffffffffff811115613d5d57613d5c613a1d565b5b808601613d6a8982613b24565b85526020850194505050602081019050613d3a565b5050509392505050565b600082601f830112613d9e57613d9d613a1d565b5b8135613dae848260208601613d02565b91505092915050565b60008060008060808587031215613dd157613dd06136c4565b5b6000613ddf87828801613947565b945050602085013567ffffffffffffffff811115613e0057613dff6136c9565b5b613e0c87828801613d89565b935050604085013567ffffffffffffffff811115613e2d57613e2c6136c9565b5b613e3987828801613d89565b925050606085013567ffffffffffffffff811115613e5a57613e596136c9565b5b613e6687828801613d89565b91505092959194509250565b60008060408385031215613e8957613e886136c4565b5b6000613e9785828601613947565b925050602083013567ffffffffffffffff811115613eb857613eb76136c9565b5b613ec485828601613d89565b9150509250929050565b600060208284031215613ee457613ee36136c4565b5b6000613ef2848285016137d2565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613f3081613926565b82525050565b6000613f428383613f27565b60208301905092915050565b6000602082019050919050565b6000613f6682613efb565b613f708185613f06565b9350613f7b83613f17565b8060005b83811015613fac578151613f938882613f36565b9750613f9e83613f4e565b925050600181019050613f7f565b5085935050505092915050565b60006020820190508181036000830152613fd38184613f5b565b905092915050565b613fe481613753565b8114613fef57600080fd5b50565b60008135905061400181613fdb565b92915050565b6000806040838503121561401e5761401d6136c4565b5b600061402c858286016137d2565b925050602061403d85828601613ff2565b9150509250929050565b600067ffffffffffffffff82111561406257614061613a27565b5b61406b826138ba565b9050602081019050919050565b600061408b61408684614047565b613a87565b9050828152602081018484840111156140a7576140a6613a22565b5b6140b2848285613ad3565b509392505050565b600082601f8301126140cf576140ce613a1d565b5b81356140df848260208601614078565b91505092915050565b60008060008060808587031215614102576141016136c4565b5b6000614110878288016137d2565b9450506020614121878288016137d2565b935050604061413287828801613947565b925050606085013567ffffffffffffffff811115614153576141526136c9565b5b61415f878288016140ba565b91505092959194509250565b614174816137e7565b82525050565b600060208201905061418f600083018461416b565b92915050565b600080604083850312156141ac576141ab6136c4565b5b60006141ba858286016137d2565b92505060206141cb858286016137d2565b9150509250929050565b600067ffffffffffffffff8211156141f0576141ef613a27565b5b602082029050602081019050919050565b600061421461420f846141d5565b613a87565b9050808382526020820190506020840283018581111561423757614236613cfd565b5b835b81811015614260578061424c88826137d2565b845260208401935050602081019050614239565b5050509392505050565b600082601f83011261427f5761427e613a1d565b5b813561428f848260208601614201565b91505092915050565b600067ffffffffffffffff8211156142b3576142b2613a27565b5b602082029050602081019050919050565b60006142d76142d284614298565b613a87565b905080838252602082019050602084028301858111156142fa576142f9613cfd565b5b835b81811015614323578061430f8882613947565b8452602084019350506020810190506142fc565b5050509392505050565b600082601f83011261434257614341613a1d565b5b81356143528482602086016142c4565b91505092915050565b60008060408385031215614372576143716136c4565b5b600083013567ffffffffffffffff8111156143905761438f6136c9565b5b61439c8582860161426a565b925050602083013567ffffffffffffffff8111156143bd576143bc6136c9565b5b6143c98582860161432d565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061441a57607f821691505b60208210810361442d5761442c6143d3565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061446d82613926565b915061447883613926565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156144b1576144b0614433565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006144f682613926565b915061450183613926565b925082614511576145106144bc565b5b828204905092915050565b7f4e6f742079657420426972746865642e00000000000000000000000000000000600082015250565b6000614552601083613876565b915061455d8261451c565b602082019050919050565b6000602082019050818103600083015261458181614545565b9050919050565b600061459382613926565b915061459e83613926565b9250828210156145b1576145b0614433565b5b828203905092915050565b60006145c782613926565b91506145d283613926565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561460757614606614433565b5b828201905092915050565b7f41727261792073697a65206d69736d617463682e000000000000000000000000600082015250565b6000614648601483613876565b915061465382614612565b602082019050919050565b600060208201905081810360008301526146778161463b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081905092915050565b7f2261747472696275746573223a5b7b2274726169745f74797065223a2272656760008201527f656e65726174654c6576656c222c2276616c7565223a224c0000000000000000602082015250565b60006147146038836146ad565b915061471f826146b8565b603882019050919050565b60006147358261386b565b61473f81856146ad565b935061474f818560208601613887565b80840191505092915050565b7f227d2c7b2274726169745f74797065223a225469746c65222c2276616c75652260008201527f3a22000000000000000000000000000000000000000000000000000000000000602082015250565b60006147b76022836146ad565b91506147c28261475b565b602282019050919050565b60008190508160005260206000209050919050565b600081546147ef81614402565b6147f981866146ad565b94506001821660008114614814576001811461482557614858565b60ff19831686528186019350614858565b61482e856147cd565b60005b8381101561485057815481890152600182019150602081019050614831565b838801955050505b50505092915050565b7f227d2c7b2274726169745f74797065223a22436f6c6f72222c2276616c75652260008201527f3a22000000000000000000000000000000000000000000000000000000000000602082015250565b60006148bd6022836146ad565b91506148c882614861565b602282019050919050565b7f227d5d0000000000000000000000000000000000000000000000000000000000600082015250565b60006149096003836146ad565b9150614914826148d3565b600382019050919050565b600061492a82614707565b9150614936828661472a565b9150614941826147aa565b915061494d82856147e2565b9150614958826148b0565b915061496482846147e2565b915061496f826148fc565b9150819050949350505050565b7f7b226e616d65223a220000000000000000000000000000000000000000000000600082015250565b60006149b26009836146ad565b91506149bd8261497c565b600982019050919050565b7f2300000000000000000000000000000000000000000000000000000000000000600082015250565b60006149fe6001836146ad565b9150614a09826149c8565b600182019050919050565b7f222c226465736372697074696f6e223a22000000000000000000000000000000600082015250565b6000614a4a6011836146ad565b9150614a5582614a14565b601182019050919050565b7f222c22696d616765223a22000000000000000000000000000000000000000000600082015250565b6000614a96600b836146ad565b9150614aa182614a60565b600b82019050919050565b7f222c000000000000000000000000000000000000000000000000000000000000600082015250565b6000614ae26002836146ad565b9150614aed82614aac565b600282019050919050565b600081519050919050565b600081905092915050565b6000614b1982614af8565b614b238185614b03565b9350614b33818560208601613887565b80840191505092915050565b7f7d00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614b756001836146ad565b9150614b8082614b3f565b600182019050919050565b6000614b96826149a5565b9150614ba282886147e2565b9150614bad826149f1565b9150614bb9828761472a565b9150614bc482614a3d565b9150614bd0828661472a565b9150614bdb82614a89565b9150614be782856147e2565b9150614bf282614ad5565b9150614bfe8284614b0e565b9150614c0982614b68565b91508190509695505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b6000614c4e601d836146ad565b9150614c5982614c18565b601d82019050919050565b6000614c6f82614c41565b9150614c7b828461472a565b915081905092915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614cbc601f83613876565b9150614cc782614c86565b602082019050919050565b60006020820190508181036000830152614ceb81614caf565b9050919050565b7f49276d206e6f7420796f757220546f6d69652c20626f792e0000000000000000600082015250565b6000614d28601883613876565b9150614d3382614cf2565b602082019050919050565b60006020820190508181036000830152614d5781614d1b565b9050919050565b7f596f75206e65656420746f2070617920746865206b696c6c696e67206665652e600082015250565b6000614d94602083613876565b9150614d9f82614d5e565b602082019050919050565b60006020820190508181036000830152614dc381614d87565b9050919050565b6000608082019050614ddf6000830187613989565b614dec60208301866139f3565b614df960408301856139f3565b614e0660608301846139f3565b95945050505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614e6b602683613876565b9150614e7682614e0f565b604082019050919050565b60006020820190508181036000830152614e9a81614e5e565b9050919050565b7f4e6f206d6174636820417267756d656e74730000000000000000000000000000600082015250565b6000614ed7601283613876565b9150614ee282614ea1565b602082019050919050565b60006020820190508181036000830152614f0681614eca565b9050919050565b7f4e6f206d6f7265206269727468732e0000000000000000000000000000000000600082015250565b6000614f43600f83613876565b9150614f4e82614f0d565b602082019050919050565b60006020820190508181036000830152614f7281614f36565b9050919050565b6000614f8482613926565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614fb657614fb5614433565b5b600182019050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614ff7602083613876565b915061500282614fc1565b602082019050919050565b6000602082019050818103600083015261502681614fea565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000615089602a83613876565b91506150948261502d565b604082019050919050565b600060208201905081810360008301526150b88161507c565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b60006150f5601983613876565b9150615100826150bf565b602082019050919050565b60006020820190508181036000830152615124816150e8565b9050919050565b60006040820190506151406000830185613989565b61514d6020830184613989565b9392505050565b60008151905061516381613fdb565b92915050565b60006020828403121561517f5761517e6136c4565b5b600061518d84828501615154565b91505092915050565b6000819050919050565b6151b16151ac82613926565b615196565b82525050565b60006151c382866151a0565b6020820191506151d382856151a0565b6020820191506151e382846151a0565b602082019150819050949350505050565b60006151ff82613926565b915061520a83613926565b92508261521a576152196144bc565b5b828206905092915050565b600082825260208201905092915050565b600061524182614af8565b61524b8185615225565b935061525b818560208601613887565b615264816138ba565b840191505092915050565b60006080820190506152846000830187613989565b6152916020830186613989565b61529e60408301856139f3565b81810360608301526152b08184615236565b905095945050505050565b6000815190506152ca816136fa565b92915050565b6000602082840312156152e6576152e56136c4565b5b60006152f4848285016152bb565b9150509291505056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220931ec88eb54523b56642c91a23df54bfe7e58a1278666eeeafa9cfa14963bbfc64736f6c634300080d00335468697320697320746865204e4654206f6620546f6d69652c2077686f20686173206265656e206d75726465726564206f6e63652062757420726567656e65726174657320616e642067726f777320616761696e20616e6420616761696e2e20205c6e526567656e65726174696e6720546f6d69652063616e206265206b696c6c656420616761696e2061742074686520666f6c6c6f77696e6720776562736974652e20205c6e68747470733a2f2f6e66742e6a692d616e696d652e636f6d2f6b696c6c20205c6e54686973204e465420697320612062656e6566697420666f722074686520686f6c64657273206f66205c22544f4d4945206279204a756e6a692049746f5c222e20205c6ee280bb506c65617365206e6f7465207468617420746865206b696c6c2073797374656d206973207375626a65637420746f207465726d696e61746520776974686f7574206e6f746963652e20205c6e20205c6ec2a9204a4920496e632e2f4173616869205368696d62756e205075626c69636174696f6e7320496e632e20205c6ec2a9204a492f4173616869205368696d62756e205075626c69636174696f6e732c204a756e6a692049746f204d616e6961632050726f64756374696f6e20436f6d6d6974746565526567656e65726174696e6720544f4d494520686173206265656e2061697264726f7070656420746f205c22544f4d4945206279204a756e6a692049746f5c2220686f6c646572732e20205c6e596f752063616e20656e6a6f7920746865204b494c4c2067696d6d69636b2061742074686520666f6c6c6f77696e67207765627369746520205c6e68747470733a2f2f6e66742e6a692d616e696d652e636f6d2f6b696c6c20205c6ee280bb506c65617365206e6f7465207468617420746865206b696c6c2073797374656d206973207375626a65637420746f207465726d696e61746520776974686f7574206e6f746963652e20205c6e20205c6ec2a9204a4920496e632e2f4173616869205368696d62756e205075626c69636174696f6e7320496e632e20205c6ec2a9204a492f4173616869205368696d62756e205075626c69636174696f6e732c204a756e6a692049746f204d616e6961632050726f64756374696f6e20436f6d6d6974746565

Deployed Bytecode

0x6080604052600436106102465760003560e01c8063715018a611610139578063b88d4fde116100b6578063d29a00251161007a578063d29a002514610867578063e81c2ffa14610883578063e985e9c5146108ac578063ec611dbe146108e9578063f2fde38b14610914578063f80a0c8c1461093d57610246565b8063b88d4fde14610791578063b8997a97146107ad578063c50e536b146107d8578063c7570d2514610801578063c87b56dd1461082a57610246565b806395d89b41116100fd57806395d89b41146106aa578063a22cb465146106d5578063a91fa7be146106fe578063ad2f852a1461073b578063ae4e679b1461076657610246565b8063715018a6146105d957806386157308146105f05780638da5cb5b1461062d57806390c3f38f1461065857806393d190fe1461068157610246565b80632c173be6116101c757806345a385a01161018b57806345a385a0146104d05780636352211e146104f95780636761083e14610536578063680317741461057357806370a082311461059c57610246565b80632c173be61461040c5780633ccfd60b1461043557806341f434341461044c57806342842e0e1461047757806343bf3e241461049357610246565b806318160ddd1161020e57806318160ddd146103355780631b2121aa146103605780631dc101ac1461038957806323b872dd146103b25780632a55205a146103ce57610246565b806301ffc9a71461024b57806304634d8d1461028857806306fdde03146102b1578063081812fc146102dc578063095ea7b314610319575b600080fd5b34801561025757600080fd5b50610272600480360381019061026d9190613726565b610966565b60405161027f919061376e565b60405180910390f35b34801561029457600080fd5b506102af60048036038101906102aa919061382b565b610988565b005b3480156102bd57600080fd5b506102c661099e565b6040516102d39190613904565b60405180910390f35b3480156102e857600080fd5b5061030360048036038101906102fe919061395c565b610a30565b6040516103109190613998565b60405180910390f35b610333600480360381019061032e91906139b3565b610aaf565b005b34801561034157600080fd5b5061034a610ac8565b6040516103579190613a02565b60405180910390f35b34801561036c57600080fd5b5061038760048036038101906103829190613b52565b610adf565b005b34801561039557600080fd5b506103b060048036038101906103ab919061395c565b610b01565b005b6103cc60048036038101906103c79190613b9b565b610b13565b005b3480156103da57600080fd5b506103f560048036038101906103f09190613bee565b610b62565b604051610403929190613c2e565b60405180910390f35b34801561041857600080fd5b50610433600480360381019061042e9190613b52565b610d4c565b005b34801561044157600080fd5b5061044a610d6e565b005b34801561045857600080fd5b50610461610db6565b60405161046e9190613cb6565b60405180910390f35b610491600480360381019061048c9190613b9b565b610dc8565b005b34801561049f57600080fd5b506104ba60048036038101906104b5919061395c565b610e17565b6040516104c79190613a02565b60405180910390f35b3480156104dc57600080fd5b506104f760048036038101906104f29190613db7565b610f48565b005b34801561050557600080fd5b50610520600480360381019061051b919061395c565b610fc5565b60405161052d9190613998565b60405180910390f35b34801561054257600080fd5b5061055d600480360381019061055891906139b3565b610fd7565b60405161056a9190613a02565b60405180910390f35b34801561057f57600080fd5b5061059a60048036038101906105959190613e72565b611008565b005b3480156105a857600080fd5b506105c360048036038101906105be9190613ece565b61103c565b6040516105d09190613a02565b60405180910390f35b3480156105e557600080fd5b506105ee6110f4565b005b3480156105fc57600080fd5b5061061760048036038101906106129190613ece565b611108565b6040516106249190613fb9565b60405180910390f35b34801561063957600080fd5b5061064261119f565b60405161064f9190613998565b60405180910390f35b34801561066457600080fd5b5061067f600480360381019061067a9190613b52565b6111c9565b005b34801561068d57600080fd5b506106a860048036038101906106a3919061395c565b6111eb565b005b3480156106b657600080fd5b506106bf6111fd565b6040516106cc9190613904565b60405180910390f35b3480156106e157600080fd5b506106fc60048036038101906106f79190614007565b61128f565b005b34801561070a57600080fd5b5061072560048036038101906107209190613ece565b6112a8565b6040516107329190613fb9565b60405180910390f35b34801561074757600080fd5b506107506113eb565b60405161075d9190613998565b60405180910390f35b34801561077257600080fd5b5061077b611411565b6040516107889190613a02565b60405180910390f35b6107ab60048036038101906107a691906140e8565b611417565b005b3480156107b957600080fd5b506107c2611468565b6040516107cf919061417a565b60405180910390f35b3480156107e457600080fd5b506107ff60048036038101906107fa9190613e72565b611486565b005b34801561080d57600080fd5b506108286004803603810190610823919061395c565b6114ba565b005b34801561083657600080fd5b50610851600480360381019061084c919061395c565b6114cc565b60405161085e9190613904565b60405180910390f35b610881600480360381019061087c919061395c565b611654565b005b34801561088f57600080fd5b506108aa60048036038101906108a59190613e72565b6118f7565b005b3480156108b857600080fd5b506108d360048036038101906108ce9190614195565b61192b565b6040516108e0919061376e565b60405180910390f35b3480156108f557600080fd5b506108fe6119bf565b60405161090b9190613a02565b60405180910390f35b34801561092057600080fd5b5061093b60048036038101906109369190613ece565b6119c5565b005b34801561094957600080fd5b50610964600480360381019061095f919061435b565b611a48565b005b600061097182611bd1565b80610981575061098082611c63565b5b9050919050565b610990611cdd565b61099a8282611d5b565b5050565b6060600280546109ad90614402565b80601f01602080910402602001604051908101604052809291908181526020018280546109d990614402565b8015610a265780601f106109fb57610100808354040283529160200191610a26565b820191906000526020600020905b815481529060010190602001808311610a0957829003601f168201915b5050505050905090565b6000610a3b82611ef0565b610a71576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81610ab981611f4f565b610ac3838361204c565b505050565b6000610ad2612190565b6001546000540303905090565b610ae7611cdd565b80600e9080519060200190610afd929190613504565b5050565b610b09611cdd565b8060188190555050565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610b5157610b5033611f4f565b5b610b5c848484612199565b50505050565b6000806000600960008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610cf75760086040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610d016124bb565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610d2d9190614462565b610d3791906144eb565b90508160000151819350935050509250929050565b610d54611cdd565b80600f9080519060200190610d6a929190613504565b5050565b610d76611cdd565b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050610db457600080fd5b565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610e0657610e0533611f4f565b5b610e118484846124c5565b50505050565b6000610e22826124e5565b610e61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5890614568565b60405180910390fd5b6001601560008481526020019081526020016000205403610e855760009050610f43565b600080601660008581526020019081526020016000205403610ee0576001601454601560008681526020019081526020016000205442610ec59190614588565b610ecf91906144eb565b610ed991906145bc565b9050610f2e565b600160145460156000868152602001908152602001600020546016600087815260200190815260200160002054610f179190614588565b610f2191906144eb565b610f2b91906145bc565b90505b600d54811115610f3e57600d5490505b809150505b919050565b610f50611cdd565b81518351148015610f62575080518351145b610fa1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f989061465e565b60405180910390fd5b610fab8484611008565b610fb58483611486565b610fbf84826118f7565b50505050565b6000610fd08261250b565b9050919050565b60196020528160005260406000208181548110610ff357600080fd5b90600052602060002001600091509150505481565b611010611cdd565b8060116000848152602001908152602001600020908051906020019061103792919061358a565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036110a3576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6110fc611cdd565b61110660006125d7565b565b6060601960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080548060200260200160405190810160405280929190818152602001828054801561119357602002820191906000526020600020905b81548152602001906001019080831161117f575b50505050509050919050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6111d1611cdd565b80601090805190602001906111e7929190613504565b5050565b6111f3611cdd565b8060148190555050565b60606003805461120c90614402565b80601f016020809104026020016040519081016040528092919081815260200182805461123890614402565b80156112855780601f1061125a57610100808354040283529160200191611285565b820191906000526020600020905b81548152906001019060200180831161126857829003601f168201915b5050505050905090565b8161129981611f4f565b6112a3838361269d565b505050565b606060008060006112b88561103c565b905060008167ffffffffffffffff8111156112d6576112d5613a27565b5b6040519080825280602002602001820160405280156113045781602001602082028036833780820191505090505b50905061130f6135ea565b6000611319612190565b90505b8386146113dd5761132c816127a8565b915081604001516113d257600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461137757816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036113d157808387806001019850815181106113c4576113c361467e565b5b6020026020010181815250505b5b80600101905061131c565b508195505050505050919050565b601a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60175481565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146114555761145433611f4f565b5b611461858585856127d3565b5050505050565b601a60149054906101000a90046bffffffffffffffffffffffff1681565b61148e611cdd565b806012600084815260200190815260200160002090805190602001906114b592919061358a565b505050565b6114c2611cdd565b8060178190555050565b60606114d7826124e5565b611516576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150d90614568565b60405180910390fd5b600061152183610e17565b9050600061152e84612846565b9050600061153b836128d0565b6012600085815260200190815260200160002083815481106115605761155f61467e565b5b9060005260206000200160136000868152602001908152602001600020848154811061158f5761158e61467e565b5b906000526020600020016040516020016115ab9392919061491f565b604051602081830303815290604052905061162b600e6115ca876128d0565b6115d386612a30565b6011600088815260200190815260200160002086815481106115f8576115f761467e565b5b9060005260206000200185604051602001611617959493929190614b8b565b604051602081830303815290604052612b5f565b60405160200161163b9190614c64565b6040516020818303038152906040529350505050919050565b6002600a5403611699576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169090614cd2565b60405180910390fd5b6002600a819055503373ffffffffffffffffffffffffffffffffffffffff166116c182610fc5565b73ffffffffffffffffffffffffffffffffffffffff1614611717576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170e90614d3e565b60405180910390fd5b601854601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080549050108061176a575060175434145b6117a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a090614daa565b60405180910390fd5b6117b281612cc2565b426016600083815260200190815260200160002081905550601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819080600181540180825580915050600190039060005260206000200160009091909190915055426015600061183d612cd0565b81526020019081526020016000208190555061185a336001612cd9565b7f984de5debbabfd0caf8c80251750ca6f411bff43fa53c31cd00cf3938961462433826001611887612cd0565b6118919190614588565b601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020805490506040516118e49493929190614dca565b60405180910390a16001600a8190555050565b6118ff611cdd565b8060136000848152602001908152602001600020908051906020019061192692919061358a565b505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60185481565b6119cd611cdd565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611a3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3390614e81565b60405180910390fd5b611a45816125d7565b50565b611a50611cdd565b8051825114611a94576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8b90614eed565b60405180910390fd5b60005b8251811015611bcc576000611aaa612cd0565b9050600c54838381518110611ac257611ac161467e565b5b6020026020010151611ad2610ac8565b611adc91906145bc565b1115611b1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1490614f59565b60405180910390fd5b611b5b848381518110611b3357611b3261467e565b5b6020026020010151848481518110611b4e57611b4d61467e565b5b6020026020010151612cd9565b60005b838381518110611b7157611b7061467e565b5b6020026020010151811015611bb7576001601560008385611b9291906145bc565b8152602001908152602001600020819055508080611baf90614f79565b915050611b5e565b50508080611bc490614f79565b915050611a97565b505050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611c2c57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611c5c5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611cd65750611cd582612cf7565b5b9050919050565b611ce5612d61565b73ffffffffffffffffffffffffffffffffffffffff16611d0361119f565b73ffffffffffffffffffffffffffffffffffffffff1614611d59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d509061500d565b60405180910390fd5b565b611d636124bb565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115611dc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611db89061509f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611e30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e279061510b565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600860008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b600081611efb612190565b11158015611f0a575060005482105b8015611f48575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115612049576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611fc692919061512b565b602060405180830381865afa158015611fe3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120079190615169565b61204857806040517fede71dcc00000000000000000000000000000000000000000000000000000000815260040161203f9190613998565b60405180910390fd5b5b50565b600061205782610fc5565b90508073ffffffffffffffffffffffffffffffffffffffff16612078612d69565b73ffffffffffffffffffffffffffffffffffffffff16146120db576120a48161209f612d69565b61192b565b6120da576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b60006121a48261250b565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461220b576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061221784612d71565b9150915061222d8187612228612d69565b612d98565b612279576122428661223d612d69565b61192b565b612278576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036122df576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6122ec8686866001612ddc565b80156122f757600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506123c5856123a1888887612de2565b7c020000000000000000000000000000000000000000000000000000000017612e0a565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084160361244b5760006001850190506000600460008381526020019081526020016000205403612449576000548114612448578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46124b38686866001612e35565b505050505050565b6000612710905090565b6124e083838360405180602001604052806000815250611417565b505050565b6000816124f0612190565b111580156125045750612501612cd0565b82105b9050919050565b6000808290508061251a612190565b116125a05760005481101561259f5760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082160361259d575b60008103612593576004600083600190039350838152602001908152602001600020549050612569565b80925050506125d2565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b80600760006126aa612d69565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612757612d69565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161279c919061376e565b60405180910390a35050565b6127b06135ea565b6127cc6004600084815260200190815260200160002054612e3b565b9050919050565b6127de848484610b13565b60008373ffffffffffffffffffffffffffffffffffffffff163b146128405761280984848484612ef1565b61283f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60008061285283610e17565b9050600060116000838152602001908152602001600020805490509050600084601560008781526020019081526020016000205484604051602001612899939291906151b7565b6040516020818303038152906040528051906020012060001c9050600082826128c291906151f4565b905080945050505050919050565b606060008203612917576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612a2b565b600082905060005b6000821461294957808061293290614f79565b915050600a8261294291906144eb565b915061291f565b60008167ffffffffffffffff81111561296557612964613a27565b5b6040519080825280601f01601f1916602001820160405280156129975781602001600182028036833780820191505090505b5090505b60008514612a24576001826129b09190614588565b9150600a856129bf91906151f4565b60306129cb91906145bc565b60f81b8183815181106129e1576129e061467e565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612a1d91906144eb565b945061299b565b8093505050505b919050565b606060008203612acc57600f8054612a4790614402565b80601f0160208091040260200160405190810160405280929190818152602001828054612a7390614402565b8015612ac05780601f10612a9557610100808354040283529160200191612ac0565b820191906000526020600020905b815481529060010190602001808311612aa357829003601f168201915b50505050509050612b5a565b60108054612ad990614402565b80601f0160208091040260200160405190810160405280929190818152602001828054612b0590614402565b8015612b525780601f10612b2757610100808354040283529160200191612b52565b820191906000526020600020905b815481529060010190602001808311612b3557829003601f168201915b505050505090505b919050565b60606000825103612b8157604051806020016040528060008152509050612cbd565b60006040518060600160405280604081526020016152fe6040913990506000600360028551612bb091906145bc565b612bba91906144eb565b6004612bc69190614462565b67ffffffffffffffff811115612bdf57612bde613a27565b5b6040519080825280601f01601f191660200182016040528015612c115781602001600182028036833780820191505090505b509050600182016020820185865187015b80821015612c7d576003820191508151603f8160121c168501518453600184019350603f81600c1c168501518453600184019350603f8160061c168501518453600184019350603f8116850151845360018401935050612c22565b5050600386510660018114612c995760028114612cac57612cb4565b603d6001830353603d6002830353612cb4565b603d60018303535b50505080925050505b919050565b612ccd816000613041565b50565b60008054905090565b612cf3828260405180602001604052806000815250613293565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600033905090565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612df9868684613330565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b612e436135ea565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f17612d69565b8786866040518563ffffffff1660e01b8152600401612f39949392919061526f565b6020604051808303816000875af1925050508015612f7557506040513d601f19601f82011682018060405250810190612f7291906152d0565b60015b612fee573d8060008114612fa5576040519150601f19603f3d011682016040523d82523d6000602084013e612faa565b606091505b506000815103612fe6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600061304c8361250b565b9050600081905060008061305f86612d71565b9150915084156130c85761307b8184613076612d69565b612d98565b6130c7576130908361308b612d69565b61192b565b6130c6576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b6130d6836000886001612ddc565b80156130e157600082555b600160806001901b03600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506131898361314685600088612de2565b7c02000000000000000000000000000000000000000000000000000000007c01000000000000000000000000000000000000000000000000000000001717612e0a565b600460008881526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000085160361320f576000600187019050600060046000838152602001908152602001600020540361320d57600054811461320c578460046000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613279836000886001612e35565b600160008154809291906001019190505550505050505050565b61329d8383613339565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461332b57600080549050600083820390505b6132dd6000868380600101945086612ef1565b613313576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106132ca57816000541461332857600080fd5b50505b505050565b60009392505050565b60008054905060008203613379576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6133866000848385612ddc565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506133fd836133ee6000866000612de2565b6133f7856134f4565b17612e0a565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b81811461349e57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050613463565b50600082036134d9576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506134ef6000848385612e35565b505050565b60006001821460e11b9050919050565b82805461351090614402565b90600052602060002090601f0160209004810192826135325760008555613579565b82601f1061354b57805160ff1916838001178555613579565b82800160010185558215613579579182015b8281111561357857825182559160200191906001019061355d565b5b5090506135869190613639565b5090565b8280548282559060005260206000209081019282156135d9579160200282015b828111156135d85782518290805190602001906135c8929190613504565b50916020019190600101906135aa565b5b5090506135e69190613656565b5090565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b5b8082111561365257600081600090555060010161363a565b5090565b5b80821115613676576000818161366d919061367a565b50600101613657565b5090565b50805461368690614402565b6000825580601f1061369857506136b7565b601f0160209004906000526020600020908101906136b69190613639565b5b50565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613703816136ce565b811461370e57600080fd5b50565b600081359050613720816136fa565b92915050565b60006020828403121561373c5761373b6136c4565b5b600061374a84828501613711565b91505092915050565b60008115159050919050565b61376881613753565b82525050565b6000602082019050613783600083018461375f565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006137b482613789565b9050919050565b6137c4816137a9565b81146137cf57600080fd5b50565b6000813590506137e1816137bb565b92915050565b60006bffffffffffffffffffffffff82169050919050565b613808816137e7565b811461381357600080fd5b50565b600081359050613825816137ff565b92915050565b60008060408385031215613842576138416136c4565b5b6000613850858286016137d2565b925050602061386185828601613816565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b838110156138a557808201518184015260208101905061388a565b838111156138b4576000848401525b50505050565b6000601f19601f8301169050919050565b60006138d68261386b565b6138e08185613876565b93506138f0818560208601613887565b6138f9816138ba565b840191505092915050565b6000602082019050818103600083015261391e81846138cb565b905092915050565b6000819050919050565b61393981613926565b811461394457600080fd5b50565b60008135905061395681613930565b92915050565b600060208284031215613972576139716136c4565b5b600061398084828501613947565b91505092915050565b613992816137a9565b82525050565b60006020820190506139ad6000830184613989565b92915050565b600080604083850312156139ca576139c96136c4565b5b60006139d8858286016137d2565b92505060206139e985828601613947565b9150509250929050565b6139fc81613926565b82525050565b6000602082019050613a1760008301846139f3565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613a5f826138ba565b810181811067ffffffffffffffff82111715613a7e57613a7d613a27565b5b80604052505050565b6000613a916136ba565b9050613a9d8282613a56565b919050565b600067ffffffffffffffff821115613abd57613abc613a27565b5b613ac6826138ba565b9050602081019050919050565b82818337600083830152505050565b6000613af5613af084613aa2565b613a87565b905082815260208101848484011115613b1157613b10613a22565b5b613b1c848285613ad3565b509392505050565b600082601f830112613b3957613b38613a1d565b5b8135613b49848260208601613ae2565b91505092915050565b600060208284031215613b6857613b676136c4565b5b600082013567ffffffffffffffff811115613b8657613b856136c9565b5b613b9284828501613b24565b91505092915050565b600080600060608486031215613bb457613bb36136c4565b5b6000613bc2868287016137d2565b9350506020613bd3868287016137d2565b9250506040613be486828701613947565b9150509250925092565b60008060408385031215613c0557613c046136c4565b5b6000613c1385828601613947565b9250506020613c2485828601613947565b9150509250929050565b6000604082019050613c436000830185613989565b613c5060208301846139f3565b9392505050565b6000819050919050565b6000613c7c613c77613c7284613789565b613c57565b613789565b9050919050565b6000613c8e82613c61565b9050919050565b6000613ca082613c83565b9050919050565b613cb081613c95565b82525050565b6000602082019050613ccb6000830184613ca7565b92915050565b600067ffffffffffffffff821115613cec57613ceb613a27565b5b602082029050602081019050919050565b600080fd5b6000613d15613d1084613cd1565b613a87565b90508083825260208201905060208402830185811115613d3857613d37613cfd565b5b835b81811015613d7f57803567ffffffffffffffff811115613d5d57613d5c613a1d565b5b808601613d6a8982613b24565b85526020850194505050602081019050613d3a565b5050509392505050565b600082601f830112613d9e57613d9d613a1d565b5b8135613dae848260208601613d02565b91505092915050565b60008060008060808587031215613dd157613dd06136c4565b5b6000613ddf87828801613947565b945050602085013567ffffffffffffffff811115613e0057613dff6136c9565b5b613e0c87828801613d89565b935050604085013567ffffffffffffffff811115613e2d57613e2c6136c9565b5b613e3987828801613d89565b925050606085013567ffffffffffffffff811115613e5a57613e596136c9565b5b613e6687828801613d89565b91505092959194509250565b60008060408385031215613e8957613e886136c4565b5b6000613e9785828601613947565b925050602083013567ffffffffffffffff811115613eb857613eb76136c9565b5b613ec485828601613d89565b9150509250929050565b600060208284031215613ee457613ee36136c4565b5b6000613ef2848285016137d2565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613f3081613926565b82525050565b6000613f428383613f27565b60208301905092915050565b6000602082019050919050565b6000613f6682613efb565b613f708185613f06565b9350613f7b83613f17565b8060005b83811015613fac578151613f938882613f36565b9750613f9e83613f4e565b925050600181019050613f7f565b5085935050505092915050565b60006020820190508181036000830152613fd38184613f5b565b905092915050565b613fe481613753565b8114613fef57600080fd5b50565b60008135905061400181613fdb565b92915050565b6000806040838503121561401e5761401d6136c4565b5b600061402c858286016137d2565b925050602061403d85828601613ff2565b9150509250929050565b600067ffffffffffffffff82111561406257614061613a27565b5b61406b826138ba565b9050602081019050919050565b600061408b61408684614047565b613a87565b9050828152602081018484840111156140a7576140a6613a22565b5b6140b2848285613ad3565b509392505050565b600082601f8301126140cf576140ce613a1d565b5b81356140df848260208601614078565b91505092915050565b60008060008060808587031215614102576141016136c4565b5b6000614110878288016137d2565b9450506020614121878288016137d2565b935050604061413287828801613947565b925050606085013567ffffffffffffffff811115614153576141526136c9565b5b61415f878288016140ba565b91505092959194509250565b614174816137e7565b82525050565b600060208201905061418f600083018461416b565b92915050565b600080604083850312156141ac576141ab6136c4565b5b60006141ba858286016137d2565b92505060206141cb858286016137d2565b9150509250929050565b600067ffffffffffffffff8211156141f0576141ef613a27565b5b602082029050602081019050919050565b600061421461420f846141d5565b613a87565b9050808382526020820190506020840283018581111561423757614236613cfd565b5b835b81811015614260578061424c88826137d2565b845260208401935050602081019050614239565b5050509392505050565b600082601f83011261427f5761427e613a1d565b5b813561428f848260208601614201565b91505092915050565b600067ffffffffffffffff8211156142b3576142b2613a27565b5b602082029050602081019050919050565b60006142d76142d284614298565b613a87565b905080838252602082019050602084028301858111156142fa576142f9613cfd565b5b835b81811015614323578061430f8882613947565b8452602084019350506020810190506142fc565b5050509392505050565b600082601f83011261434257614341613a1d565b5b81356143528482602086016142c4565b91505092915050565b60008060408385031215614372576143716136c4565b5b600083013567ffffffffffffffff8111156143905761438f6136c9565b5b61439c8582860161426a565b925050602083013567ffffffffffffffff8111156143bd576143bc6136c9565b5b6143c98582860161432d565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061441a57607f821691505b60208210810361442d5761442c6143d3565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061446d82613926565b915061447883613926565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156144b1576144b0614433565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006144f682613926565b915061450183613926565b925082614511576145106144bc565b5b828204905092915050565b7f4e6f742079657420426972746865642e00000000000000000000000000000000600082015250565b6000614552601083613876565b915061455d8261451c565b602082019050919050565b6000602082019050818103600083015261458181614545565b9050919050565b600061459382613926565b915061459e83613926565b9250828210156145b1576145b0614433565b5b828203905092915050565b60006145c782613926565b91506145d283613926565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561460757614606614433565b5b828201905092915050565b7f41727261792073697a65206d69736d617463682e000000000000000000000000600082015250565b6000614648601483613876565b915061465382614612565b602082019050919050565b600060208201905081810360008301526146778161463b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081905092915050565b7f2261747472696275746573223a5b7b2274726169745f74797065223a2272656760008201527f656e65726174654c6576656c222c2276616c7565223a224c0000000000000000602082015250565b60006147146038836146ad565b915061471f826146b8565b603882019050919050565b60006147358261386b565b61473f81856146ad565b935061474f818560208601613887565b80840191505092915050565b7f227d2c7b2274726169745f74797065223a225469746c65222c2276616c75652260008201527f3a22000000000000000000000000000000000000000000000000000000000000602082015250565b60006147b76022836146ad565b91506147c28261475b565b602282019050919050565b60008190508160005260206000209050919050565b600081546147ef81614402565b6147f981866146ad565b94506001821660008114614814576001811461482557614858565b60ff19831686528186019350614858565b61482e856147cd565b60005b8381101561485057815481890152600182019150602081019050614831565b838801955050505b50505092915050565b7f227d2c7b2274726169745f74797065223a22436f6c6f72222c2276616c75652260008201527f3a22000000000000000000000000000000000000000000000000000000000000602082015250565b60006148bd6022836146ad565b91506148c882614861565b602282019050919050565b7f227d5d0000000000000000000000000000000000000000000000000000000000600082015250565b60006149096003836146ad565b9150614914826148d3565b600382019050919050565b600061492a82614707565b9150614936828661472a565b9150614941826147aa565b915061494d82856147e2565b9150614958826148b0565b915061496482846147e2565b915061496f826148fc565b9150819050949350505050565b7f7b226e616d65223a220000000000000000000000000000000000000000000000600082015250565b60006149b26009836146ad565b91506149bd8261497c565b600982019050919050565b7f2300000000000000000000000000000000000000000000000000000000000000600082015250565b60006149fe6001836146ad565b9150614a09826149c8565b600182019050919050565b7f222c226465736372697074696f6e223a22000000000000000000000000000000600082015250565b6000614a4a6011836146ad565b9150614a5582614a14565b601182019050919050565b7f222c22696d616765223a22000000000000000000000000000000000000000000600082015250565b6000614a96600b836146ad565b9150614aa182614a60565b600b82019050919050565b7f222c000000000000000000000000000000000000000000000000000000000000600082015250565b6000614ae26002836146ad565b9150614aed82614aac565b600282019050919050565b600081519050919050565b600081905092915050565b6000614b1982614af8565b614b238185614b03565b9350614b33818560208601613887565b80840191505092915050565b7f7d00000000000000000000000000000000000000000000000000000000000000600082015250565b6000614b756001836146ad565b9150614b8082614b3f565b600182019050919050565b6000614b96826149a5565b9150614ba282886147e2565b9150614bad826149f1565b9150614bb9828761472a565b9150614bc482614a3d565b9150614bd0828661472a565b9150614bdb82614a89565b9150614be782856147e2565b9150614bf282614ad5565b9150614bfe8284614b0e565b9150614c0982614b68565b91508190509695505050505050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b6000614c4e601d836146ad565b9150614c5982614c18565b601d82019050919050565b6000614c6f82614c41565b9150614c7b828461472a565b915081905092915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614cbc601f83613876565b9150614cc782614c86565b602082019050919050565b60006020820190508181036000830152614ceb81614caf565b9050919050565b7f49276d206e6f7420796f757220546f6d69652c20626f792e0000000000000000600082015250565b6000614d28601883613876565b9150614d3382614cf2565b602082019050919050565b60006020820190508181036000830152614d5781614d1b565b9050919050565b7f596f75206e65656420746f2070617920746865206b696c6c696e67206665652e600082015250565b6000614d94602083613876565b9150614d9f82614d5e565b602082019050919050565b60006020820190508181036000830152614dc381614d87565b9050919050565b6000608082019050614ddf6000830187613989565b614dec60208301866139f3565b614df960408301856139f3565b614e0660608301846139f3565b95945050505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614e6b602683613876565b9150614e7682614e0f565b604082019050919050565b60006020820190508181036000830152614e9a81614e5e565b9050919050565b7f4e6f206d6174636820417267756d656e74730000000000000000000000000000600082015250565b6000614ed7601283613876565b9150614ee282614ea1565b602082019050919050565b60006020820190508181036000830152614f0681614eca565b9050919050565b7f4e6f206d6f7265206269727468732e0000000000000000000000000000000000600082015250565b6000614f43600f83613876565b9150614f4e82614f0d565b602082019050919050565b60006020820190508181036000830152614f7281614f36565b9050919050565b6000614f8482613926565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614fb657614fb5614433565b5b600182019050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614ff7602083613876565b915061500282614fc1565b602082019050919050565b6000602082019050818103600083015261502681614fea565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000615089602a83613876565b91506150948261502d565b604082019050919050565b600060208201905081810360008301526150b88161507c565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b60006150f5601983613876565b9150615100826150bf565b602082019050919050565b60006020820190508181036000830152615124816150e8565b9050919050565b60006040820190506151406000830185613989565b61514d6020830184613989565b9392505050565b60008151905061516381613fdb565b92915050565b60006020828403121561517f5761517e6136c4565b5b600061518d84828501615154565b91505092915050565b6000819050919050565b6151b16151ac82613926565b615196565b82525050565b60006151c382866151a0565b6020820191506151d382856151a0565b6020820191506151e382846151a0565b602082019150819050949350505050565b60006151ff82613926565b915061520a83613926565b92508261521a576152196144bc565b5b828206905092915050565b600082825260208201905092915050565b600061524182614af8565b61524b8185615225565b935061525b818560208601613887565b615264816138ba565b840191505092915050565b60006080820190506152846000830187613989565b6152916020830186613989565b61529e60408301856139f3565b81810360608301526152b08184615236565b905095945050505050565b6000815190506152ca816136fa565b92915050565b6000602082840312156152e6576152e56136c4565b5b60006152f4848285016152bb565b9150509291505056fe4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220931ec88eb54523b56642c91a23df54bfe7e58a1278666eeeafa9cfa14963bbfc64736f6c634300080d0033

Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.