ETH Price: $3,393.61 (+1.62%)

Token

Batailles (BTLLS)
 

Overview

Max Total Supply

84 BTLLS

Holders

32

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 BTLLS
0x63e0e8a3a9c59141843cc26e5433507b8a835999
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:
IconicNFT721a

Compiler Version
v0.8.22+commit.4fc1097e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 9 : IconicNFT721a.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.22;

import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/access/Ownable.sol';

contract IconicNFT721a is ERC721A, ReentrancyGuard, Ownable {
  uint16 public maxMintsPerAddress = 1;
  mapping(address => int16) public artPassMints;

  bool public artPassMintingActive = false;
  bool public allowListMintingActive = false;
  bool public mintingActive = false;
  bool public mintToEnabled = false;
  bool public burningActive = false;
  bool public claimsBurningEnabled = false;
  bytes32 public allowListMerkleRoot = '';
  bytes32 public artPassMerkleRoot = '';

  string public baseURI;
  bool public useEditionForURI = false;
  
  uint256 public mintPrice;
  address payable iconicAddress;
  address admin;
  address public secondaryAdmin;

  mapping(uint16 => uint16) public editionSupply; //how many available within that edition
  mapping(uint256 => uint16) public tokenToEdition; //token to edition
  mapping (uint16 => uint256) public seriesNumberToMintPrice; // series number to mint price
  
  mapping(uint256 => uint256) public tokenIdsToTokenHashes;
  mapping(uint256 => bool) public usedTokenHashes;
  mapping(uint256 => bool) public blindMints;

  string public renderer = "[email protected]";
  string public algorithm = "class Random{constructor(){function t(t){let s=parseInt(t.substring(0,8),16),i=parseInt(t.substring(8,16),16),h=parseInt(t.substring(16,24),16),R=parseInt(t.substring(24,32),16);return function(){s|=0,i|=0,h|=0;var t=(s+i|0)+(R|=0)|0;return R=R+1|0,s=i^i>>>9,i=h+(h<<3)|0,h=(h=h<<21|h>>>11)+t|0,(t>>>0)/4294967296}}this.t=!1,this.h=new t(tokenData.hash.substring(2,34)),this.i=new t(tokenData.hash.substring(34,66));for(let s=0;s<1e6;s+=2)this.h(),this.i()}R(){return this.t=!this.t,this.t?this.h():this.i()}S(t,s){var i;return t+s*Math.sqrt(-2*Math.log(this.R()))*Math.cos(2*Math.PI*this.R())}M(t,s){return t+(s-t)*this.R()}G(t,s){return Math.floor(this.M(t,s+1))}X(t){return this.R()<t}o(t){return t[this.G(0,t.length-1)]}C(t){return t[this.o(Object.keys(t))]}l(t){var s=this.R();return s<.6?t[1]:s<.9?t[0]:t[2]}P(){var t=this.R();return t<.7?3:t<.9?4:5}N(){var t=this.R();return t<.7?3:t<.9?2:1}T(){var t=this.R();return t<.3?0:t<.54?1:t<.72?2:t<.84?4:t<.94?5:3}}class Seed{constructor(t,s,i,h,R,e,$=CLBG){this.F=s,this.L=$,this.u=Array(2*i).fill(0);var S,_,r,G,l,o,n,X=[R*t.S(1,.15),e*R*t.S(1,.15)],M=t.M(0,RESX),P=t.M(0,RESY),s=t.M(0,Math.PI),C=Math.cos(s),F=Math.sin(s);for(let N=0;N<i;N++)S=Math.cos(2*N*Math.PI/i),_=Math.sin(2*N*Math.PI/i),this.u[2*N]=M+X[0]*S*C+X[1]*_*F,this.u[2*N+1]=P-X[0]*S*F+X[1]*_*C;for(let u=0;u<h;u++){r=this.u.length/2,G=Array(this.u.length);for(let T=0;T<r;T++)n=(T+1)%r,l=[this.u[2*n+1]-this.u[2*T+1],this.u[2*T]-this.u[2*n]],n=[(o=.2+.6*t.R())*this.u[2*T]+(1-o)*this.u[2*n],o*this.u[2*T+1]+(1-o)*this.u[2*n+1]],o=.15*t.R(),G[2*T]=n[0]+o*l[0],G[2*T+1]=n[1]+o*l[1];for(let a=0;a<r;a++)this.u.splice(2*(2*a+1),0,G[2*a]),this.u.splice(2*(2*a+1)+1,0,G[2*a+1])}}B(){this.F.fill(...this.L),this.F.noStroke(),this.F.beginShape();for(let t=0;t<this.u.length;t+=2)this.F.vertex(this.u[t],this.u[t+1]);this.F.endShape(CLOSE)}}class Motion{constructor(t){this.H=createVector(t.G(0,RESX),t.G(0,RESY)),this.path=createVector(0,0),this.p=1===MTNR||2===MTNR||5===MTNR?createVector(MTNP.x,MTNP.y):null,this.A=2===MTNR?this.Y:3===MTNR||5===MTNR?this.D:()=>{},this.m=4===MTNR?Math.min(Math.abs(p5.Vector.dot(this.H,createVector(Math.cos(MTNP),-Math.sin(MTNP))))/RESY,1):5===MTNR?MTNG?.015*p5.Vector.dist(this.H,this.p):.015*(RESX-.37*dist(.5*RESX,.5*RESY,this.H.x,this.H.y)-p5.Vector.dist(this.H,this.p)):null,this.I=3===MTNR?t.M(0,2*Math.PI):4===MTNR?MTNP+t.S(0,.77*this.m**3):null,this.O=3===MTNR?MTNP:5===MTNR?Math.max(15*SCAL,SCAL*Math.exp(this.m/SCAL)):null}init(){var t;this.V=.5*SCAL,this.v=0===BSHR?10*SCAL:LGDC?2.7*SCAL:1.7*SCAL,this._=0===BSHR?.995:LGDC?.999:null,this.g=0===MTNR?createVector(Math.cos(MTNP),-Math.sin(MTNP)):1===MTNR||2===MTNR||5===MTNR?((t=p5.Vector.sub(this.H,this.p)).normalize(),2===MTNR&&t.rotate(.5*Math.PI),t):createVector(Math.cos(this.I),-Math.sin(this.I)),this.path.x=this.H.x,this.path.y=this.H.y}Y(){this.g=p5.Vector.sub(this.path,this.p),this.g.normalize(),this.g.rotate(.5*Math.PI)}D(){this.g.rotate(Math.atan2(this.V,this.O))}}class Tool{constructor(t,s,i,h,R,e){this.F=s,this.L=i,this.U=e?R:1e4*R*SCAL,this.Z=e?h:Math.ceil(10*h*R),this.k=new Motion(t),this.B=0===e?this.W:this.j}W(t){var s,i=Array(this.Z).fill(null).map(()=>this.F.lerpColor(this.L.q,this.L.J,t.S(.5,.3)).levels),h=(this.k.init(),this.U/(this.Z-1));let R=0,e=0;for(this.F.stroke(0);this.k.v>2*SCAL;){this.F.strokeWeight(this.k.v),R=-.5*this.U;for(let $=0;$<this.Z;$++)this.F.stroke(i[$]),s=.01*t.R(),this.F.line(this.k.path.x-e*R*this.k.g.y,this.k.path.y+e*R*this.k.g.x,this.k.path.x-s*R*this.k.g.y+this.k.V*this.k.g.x,this.k.path.y+s*R*this.k.g.x+this.k.V*this.k.g.y),R+=h,e=s;this.k.path.add(p5.Vector.mult(this.k.g,this.k.V)),this.k.v*=this.k._,this.k.A()}}j(t){this.k.init();var s=Array(this.U).fill(null).map(()=>t.S(0,2*this.k.V));let i=t.G(0,7777777);var h=Array(this.Z).fill(null).map((t,s)=>167+70*(noise(.25*s+i)-.5)),R=Array(this.Z).fill(null).map((t,s)=>7*SCAL*(noise(.5*s)-.5));this.F.strokeWeight(this.k.v+SCAL);for(let e=0;e<this.Z;e++){this.k.init();for(let $=0;$<this.U-1;$++)this.F.stroke(h[e]-35*Math.cos(.1*Math.PI*$/this.U)+t.S(0,5)),this.F.line(this.k.H.x-(this.k.v*(e-.5*this.Z)+s[$])*this.k.g.y+(R[e]+this.k.V*$)*this.k.g.x,this.k.H.y+(this.k.v*(e-.5*this.Z)+s[$])*this.k.g.x+(R[e]+this.k.V*$)*this.k.g.y,this.k.H.x-(this.k.v*(e-.5*this.Z)+s[$+1])*this.k.g.y+(R[e]+this.k.V*($+1))*this.k.g.x,this.k.H.y+(this.k.v*(e-.5*this.Z)+s[$+1])*this.k.g.x+(R[e]+this.k.V*($+1))*this.k.g.y),this.k.path.add(p5.Vector.mult(this.k.g,this.k.V)),LGDC&&(this.k.v*=this.k._),this.k.A()}}}class Color{K={$:{q:[255,128,11],J:[130,13,11]},tt:{q:[204,201,197],J:[94,94,94]},st:{q:[154,52,92],J:[52,18,31]},ht:{q:[255,211,33],J:[186,108,4]},red:{q:[215,32,6],J:[89,14,2]},green:{q:[7,113,103],J:[11,36,18]},blue:{q:[31,66,208],J:[13,27,83]},it:{q:[160,195,221],J:[44,81,100]},Rt:{q:[77,77,77],J:[7,7,7]}};constructor(t,s){t=t.C(this.K),this.L={q:s.color(t.q),J:s.color(t.J)}}}let DFLT=1e3,RESX,RESY,SCAL,MRGN,NMRG,MDMG,MRGX,MRGY,MTNR,MTNP,MTNG,BSHR,LGDC,CURV,SCPR,SHCT,SHSZ,ECNT,NDIV,ANIS,BPRM,TOOL,SHAP,COLR,BGFX,CGFX,PGFX,Rb,RDII=[[10,20],[100,120],[300,340]],SHPR=[[7,50],[250,10],[1e3,5]],CLBG=[247,246,242],GCNT=0,SCNT=0,TTCL=0;function setup(){windowHeight>=1.5*windowWidth?(RESX=windowWidth,RESY=Math.floor(1.5*windowWidth)):(RESY=windowHeight,RESX=Math.floor(windowHeight/1.5)),MRGN=37*(SCAL=RESX/DFLT),NMRG=100,MDMG=1.35*SCAL,MRGX=RESX/(NMRG-1),MRGY=RESY/(1.5*NMRG-1),createCanvas(RESX,RESY),CGFX=createGraphics(RESX,RESY),PGFX=createGraphics(RESX,RESY),BGFX=createGraphics(1,1),colorMode(RGB),CGFX.colorMode(RGB),PGFX.colorMode(RGB),CGFX.background(...CLBG),PGFX.background(...CLBG),noiseSeed((Rb=new Random).G(0,7777777)),BPRM=0==(BSHR=Rb.X(.5)?0:1)?[350,1,1]:[400,50,250],LGDC=1===BSHR?Rb.X(.5):null,MTNP=0===(MTNR=Rb.T())?Rb.M(-Math.PI,0):1===MTNR||2===MTNR||5===MTNR?createVector(Rb.G(0,RESX),Rb.G(0,RESY)):3===MTNR?(CURV=0===BSHR?0:Rb.G(0,2),Rb.M(RDII[CURV][0],RDII[CURV][1])*SCAL):4===MTNR?Rb.M(-2*Math.PI/3,-Math.PI/3):null,MTNG=5===MTNR?Rb.X(.5):null,SCPR=1+Rb.X(.05),[SHCT,SHSZ]=1===SCPR?Rb.l(SHPR):SHPR[0],ECNT=Rb.P(),NDIV=Rb.N(),ANIS=Rb.M(5,7),COLR=new Color(Rb,PGFX),BGFX.background(COLR.L.q),BGFX.blend(CGFX,0,0,1,1,0,0,1,1,HARD_LIGHT),TTCL=BPRM[0]+SHCT+(2===SCPR?777:0)}function draw(){if(GCNT++<BPRM[0]){if((TOOL=new Tool(Rb,0===BSHR?PGFX:CGFX,COLR.L,BPRM[1],BPRM[2],BSHR)).B(Rb),image(0===BSHR?PGFX:CGFX,0,0,RESX,RESY),1===BSHR&&GCNT===BPRM[0]){PGFX.background(COLR.L.q),PGFX.blend(CGFX,0,0,RESX,RESY,0,0,RESX,RESY,HARD_LIGHT),BGFX.loadPixels(),PGFX.loadPixels();for(let t=0;t<RESX;t++)for(let s=0;s<RESY;s++)id=4*(t+RESX*s),PGFX.pixels[id]===BGFX.pixels[0]&&PGFX.pixels[id+1]===BGFX.pixels[1]&&PGFX.pixels[id+2]===BGFX.pixels[2]&&(PGFX.pixels[id]=CLBG[0],PGFX.pixels[id+1]=CLBG[1],PGFX.pixels[id+2]=CLBG[2]);PGFX.updatePixels(),image(PGFX,0,0,RESX,RESY)}}else SCNT++<SHCT&&((SHAP=new Seed(Rb,PGFX,ECNT,NDIV,SHSZ*SCAL,ANIS)).B(),image(PGFX,0,0,RESX,RESY),2===SCPR)&&SCNT==SHCT&&(SCPR=1,SCNT=0,SHCT=777,SHSZ=5);if(GCNT===TTCL){noLoop(),PGFX.noStroke(),PGFX.fill(...CLBG),PGFX.beginShape(),PGFX.vertex(0,0);for(let i=0;i<1.5*NMRG;i++)PGFX.vertex(MRGN+Rb.S(0,MDMG),MRGY*i);PGFX.vertex(0,RESY),PGFX.endShape(CLOSE),PGFX.beginShape(),PGFX.vertex(0,0);for(let h=0;h<NMRG;h++)PGFX.vertex(MRGX*h,MRGN+Rb.S(0,MDMG));PGFX.vertex(RESX,0),PGFX.endShape(CLOSE),PGFX.beginShape(),PGFX.vertex(0,RESY);for(let R=0;R<NMRG;R++)PGFX.vertex(MRGX*R,RESY-MRGN+Rb.S(0,MDMG));PGFX.vertex(RESX,RESY),PGFX.endShape(CLOSE),PGFX.beginShape(),PGFX.vertex(RESX,0);for(let e=0;e<1.5*NMRG;e++)PGFX.vertex(RESX-MRGN+Rb.S(0,MDMG),MRGY*e);PGFX.vertex(RESX,RESY),PGFX.endShape(CLOSE),image(PGFX,0,0,RESX,RESY)}}p5.disableFriendlyErrors=!0;";

  constructor(string memory name_,
    string memory symbol_,
    string memory baseURI_,
    bytes32 artPassMerkleRoot_,
    bytes32 allowListMerkleRoot_,
    address iconicAddress_,
    uint256 mintPrice_,
    uint16 editionSupply_)
    ERC721A(name_, symbol_) {
    require(_msgSenderERC721A() != iconicAddress_, "Error");
    admin = _msgSenderERC721A();

    baseURI = baseURI_;
    artPassMerkleRoot = artPassMerkleRoot_;
    allowListMerkleRoot = allowListMerkleRoot_;
    iconicAddress = payable(iconicAddress_);
    mintPrice = mintPrice_;

    uint16[] memory editions = new uint16[](1);
    uint16[] memory supplies = new uint16[](1);
    editions[0] = 1;
    supplies[0] = editionSupply_;
    setEditionSupply(editions, supplies);
  }

  function enableArtPassMinting() public requiresAdmin {
    artPassMintingActive = true;
  }

  function disableArtPassMinting() public requiresAdmin {
    artPassMintingActive = false;
  }

  function enableAllowListMinting() public requiresAdmin {
    allowListMintingActive = true;
  }

  function disableAllowListMinting() public requiresAdmin {
    allowListMintingActive = false;
  }

  function enableMinting() public requiresAdmin {
    mintingActive = true;
  }

  function disableMinting() public requiresAdmin {
    mintingActive = false;
  }

  function enableMintTo() public requiresAdmin {
    mintToEnabled = true;
  }

  function disableMintTo() public requiresAdmin {
    mintToEnabled = false;
  }

  function enableTokenBurning() public requiresAdmin {
    burningActive = true;
  }

  function disableTokenBurning() public requiresAdmin {
    burningActive = false;
  }

  function enableClaimsBurning() public requiresAdmin {
    claimsBurningEnabled = true;
  }

  function disableClaimsBurning() public requiresAdmin {
    claimsBurningEnabled = false;
  }

  function enableUseEditionForURI() public requiresAdmin {
    useEditionForURI = true;
  }

  function disableUseEditionForURI() public requiresAdmin {
    useEditionForURI = false;
  }

  function setBaseTokenURI(string memory baseURI_) public requiresAdmin {
    baseURI = baseURI_;
  }

  function setMintPrice(uint256 mintPrice_) public requiresAdmin {
    mintPrice = mintPrice_;
  }

  function setMaxMintsPerAddress(uint16 maxMintsPerAddress_) public requiresAdmin {
    maxMintsPerAddress = maxMintsPerAddress_;
  }

  function setArtPassMerkleRoot(bytes32 merkleRoot_) public requiresAdmin {
    artPassMerkleRoot = merkleRoot_;
  }

  function setAllowListMerkleRoot(bytes32 merkleRoot_) public requiresAdmin {
    allowListMerkleRoot = merkleRoot_;
  }

  function setAdditionalArtPassMints(address[] memory artPassHolders, int16[] memory extras) public requiresAdmin {
    //remember to zero out old addresses
    require(artPassHolders.length == extras.length, "incorrect list");

    for(uint16 i = 0; i < artPassHolders.length; i++) {
      artPassMints[artPassHolders[i]] = extras[i];
    }
  }

  function setEditionMintPrices(uint256[] memory mintPrices, uint16[] memory seriesNumbers) public requiresAdmin {
    require(mintPrices.length == seriesNumbers.length, "incorrect list");

    for(uint16 i = 0; i < seriesNumbers.length; i++) {
      seriesNumberToMintPrice[seriesNumbers[i]] = mintPrices[i];
    }
  }

  function setEditionSupply(uint16[] memory editions, uint16[] memory supplies) public requiresAdmin {
    require(editions.length == supplies.length, "incorrect list");

    for(uint16 i = 0; i < editions.length; i++) {
      editionSupply[editions[i]] = supplies[i];
    }
  }

  function getAvailableArtPassMintCount(address artPassHolder) public view returns (uint16) {
    int16 availableMints = 1 + artPassMints[artPassHolder];
    return uint16(availableMints);
  }

  function artPassMint(bytes32[] calldata merkleProof, uint16 amount, uint16 editionIndex, uint256[] memory tokenHashes, bool isBlindMint) external payable nonReentrant() {
    require(artPassMintingActive, "Art Pass minting not enabled");
    require(msg.value == getMintPrice(editionIndex) * amount, "Incorrect amount of ether sent");
    require(amount > 0, "Must mint positive amount");
    require(editionSupply[editionIndex] >= amount, "Mint exceeds collection size");
    require(amount == tokenHashes.length, "Incorrect amount of token hashes sent");
    require(_noDuplicateHashes(tokenHashes), "Duplicate token hash");

    require(getAvailableArtPassMintCount(_msgSenderERC721A())>= amount, "Exceeds Art Pass holder mint limit");

    require(
        MerkleProof.verify(
            merkleProof,
            artPassMerkleRoot,
            keccak256(abi.encodePacked(_msgSenderERC721A()))
        ),
        "Not an Art Pass holder"
    );

    iconicAddress.transfer(msg.value);
    _mint(_msgSenderERC721A(), amount);
    _editionUpdate(amount, editionIndex);
     _genArtUpdate(amount, tokenHashes, isBlindMint);
    artPassMints[_msgSenderERC721A()] = artPassMints[_msgSenderERC721A()] - int16(amount);
  }

  function allowlistMint(bytes32[] calldata merkleProof, uint16 amount, uint16 editionIndex, uint256[] memory tokenHashes, bool isBlindMint) external payable nonReentrant() {
    require(allowListMintingActive, "Allow list minting not enabled");
    require(msg.value == getMintPrice(editionIndex) * amount, "Incorrect amount of ether sent");
    require(amount > 0, "Must mint positive amount");
    require(editionSupply[editionIndex] >= amount, "Mint exceeds collection size");
    require(amount == tokenHashes.length, "Incorrect amount of token hashes sent");
    require(_noDuplicateHashes(tokenHashes), "Duplicate token hash");

    uint64 mintCountBySender = _getAux(_msgSenderERC721A()) + amount;
    require(mintCountBySender <= maxMintsPerAddress, "Exceeds per address mint limit");

    require(
        MerkleProof.verify(
            merkleProof,
            allowListMerkleRoot,
            keccak256(abi.encodePacked(_msgSenderERC721A()))
        ),
        "Address not in allowlist"
    );

    iconicAddress.transfer(msg.value);
    _mint(_msgSenderERC721A(), amount);
    _editionUpdate(amount, editionIndex);
    _genArtUpdate(amount, tokenHashes, isBlindMint);
    _setAux(_msgSenderERC721A(), mintCountBySender);
  }

  function setSecondaryAdmin(address _secondaryAdmin) public requiresAdmin {
    secondaryAdmin = _secondaryAdmin;
  }

  // function mintTo(uint16 amount, uint16 editionIndex, address recipientAddress) external
  //   requiresSecondaryAdmin
  //   nonReentrant {
  //   require(mintToEnabled, "MintTo not enabled");
  //   require(amount > 0, "Must mint positive amount");
  //   require(editionSupply[editionIndex] >= amount, "Mint exceeds collection size");

  //   _mint(recipientAddress, amount);
  //   _editionUpdate(amount, editionIndex);
  // }

  function mint(uint16 amount, uint16 editionIndex, uint256[] memory tokenHashes, bool isBlindMint) external payable nonReentrant() {
    require(mintingActive, "Minting not enabled");
    require(msg.value == getMintPrice(editionIndex) * amount, "Incorrect amount of ether sent");
    require(amount > 0, "Must mint positive amount");
    require(editionSupply[editionIndex] >= amount, "Mint exceeds collection size");
    require(amount == tokenHashes.length, "Incorrect amount of token hashes sent");
    require(_noDuplicateHashes(tokenHashes), "Duplicate token hash");

    uint64 mintCountBySender = _getAux(_msgSenderERC721A()) + amount;
    require(mintCountBySender <= maxMintsPerAddress, "Exceeds per address mint limit");

    iconicAddress.transfer(msg.value);
    _mint(_msgSenderERC721A(), amount);
    _editionUpdate(amount, editionIndex);
    _genArtUpdate(amount, tokenHashes, isBlindMint);
    _setAux(_msgSenderERC721A(), mintCountBySender);
  }

  function burn(uint256 tokenId) public {
    require(burningActive, "Token burning is not enabled");
    _burn(tokenId, true);
  }

  function burnClaims(uint256[] calldata tokenIds) public payable nonReentrant(){
    require(claimsBurningEnabled, "Claims burning is not enabled");
    for(uint256 i = 0; i < tokenIds.length; i++) {
      uint256 tokenId = tokenIds[i];
      _burn(tokenId, true);
    }

    iconicAddress.transfer(msg.value);
  }

  function getMintPrice(uint16 seriesNumber) public view returns (uint256) {
    if(seriesNumberToMintPrice[seriesNumber] == 0) {
      return mintPrice;
    }

    return seriesNumberToMintPrice[seriesNumber];
  }

  function _editionUpdate(uint16 amount, uint16 editionIndex) internal {
    editionSupply[editionIndex] = editionSupply[editionIndex] - amount;

    //this function takes place post mint, so the tokenIds have already been incremented to match the amount
    for(uint tokenId=_nextTokenId() - amount; tokenId < _nextTokenId(); tokenId++) {
      tokenToEdition[tokenId] = editionIndex;
    }
  }

  function _noDuplicateHashes(uint256[] memory tokenHashes) internal view returns(bool) {
    for(uint8 idx=0; idx<tokenHashes.length; idx++) {
      uint256 tokenHash = tokenHashes[idx];
      if(usedTokenHashes[tokenHash]) {
        return false;
      }
    }
    return true;
  }

  function _genArtUpdate(uint16 amount, uint256[] memory tokenHashes, bool isBlindMint) internal {
    //this function takes place post mint, so the tokenIds have already been incremented to match the amount
    uint8 tokenHashIndex = 0;
    for(uint tokenId=_nextTokenId() - amount; tokenId < _nextTokenId(); tokenId++) {
      uint256 tokenHash = tokenHashes[tokenHashIndex];
      tokenIdsToTokenHashes[tokenId] = tokenHash;
      usedTokenHashes[tokenHash] = true;
      
      if(isBlindMint) {
        blindMints[tokenId] = isBlindMint;
      }

      tokenHashIndex++;
    }
  }

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

  function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
    require(_exists(tokenId), "Token does not exist");
    uint uriIndex = useEditionForURI ? tokenToEdition[tokenId] : tokenId;
    return string(abi.encodePacked(baseURI, Strings.toString(uriIndex)));
  }

  modifier requiresAdmin() {
    require(_msgSenderERC721A() == admin, "Not Authorized");
   _;
  }

  modifier requiresSecondaryAdmin() {
    require(_msgSenderERC721A() == secondaryAdmin, "Not Authorized");
   _;
  }
}

File 2 of 9 : 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 3 of 9 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (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() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

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

File 4 of 9 : 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 5 of 9 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The tree and the proofs can be generated using our
 * https://github.com/OpenZeppelin/merkle-tree[JavaScript library].
 * You will find a quickstart guide in the readme.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 * OpenZeppelin's JavaScript library generates merkle trees that are safe
 * against this attack out of the box.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction
     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another
     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false
     * respectively.
     *
     * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree
     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the
     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 6 of 9 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator,
        Rounding rounding
    ) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10**64) {
                value /= 10**64;
                result += 64;
            }
            if (value >= 10**32) {
                value /= 10**32;
                result += 32;
            }
            if (value >= 10**16) {
                value /= 10**16;
                result += 16;
            }
            if (value >= 10**8) {
                value /= 10**8;
                result += 8;
            }
            if (value >= 10**4) {
                value /= 10**4;
                result += 4;
            }
            if (value >= 10**2) {
                value /= 10**2;
                result += 2;
            }
            if (value >= 10**1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
        }
    }
}

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

pragma solidity ^0.8.0;

import "./math/Math.sol";

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _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) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @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] = _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 9 : 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 9 of 9 : 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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"string","name":"baseURI_","type":"string"},{"internalType":"bytes32","name":"artPassMerkleRoot_","type":"bytes32"},{"internalType":"bytes32","name":"allowListMerkleRoot_","type":"bytes32"},{"internalType":"address","name":"iconicAddress_","type":"address"},{"internalType":"uint256","name":"mintPrice_","type":"uint256"},{"internalType":"uint16","name":"editionSupply_","type":"uint16"}],"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":[],"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":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":"algorithm","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowListMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowListMintingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint16","name":"amount","type":"uint16"},{"internalType":"uint16","name":"editionIndex","type":"uint16"},{"internalType":"uint256[]","name":"tokenHashes","type":"uint256[]"},{"internalType":"bool","name":"isBlindMint","type":"bool"}],"name":"allowlistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"artPassMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint16","name":"amount","type":"uint16"},{"internalType":"uint16","name":"editionIndex","type":"uint16"},{"internalType":"uint256[]","name":"tokenHashes","type":"uint256[]"},{"internalType":"bool","name":"isBlindMint","type":"bool"}],"name":"artPassMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"artPassMintingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"artPassMints","outputs":[{"internalType":"int16","name":"","type":"int16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"blindMints","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"burnClaims","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"burningActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimsBurningEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disableAllowListMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"disableArtPassMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"disableClaimsBurning","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"disableMintTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"disableMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"disableTokenBurning","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"disableUseEditionForURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"editionSupply","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableAllowListMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableArtPassMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableClaimsBurning","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableMintTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTokenBurning","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableUseEditionForURI","outputs":[],"stateMutability":"nonpayable","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":"artPassHolder","type":"address"}],"name":"getAvailableArtPassMintCount","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"seriesNumber","type":"uint16"}],"name":"getMintPrice","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":[],"name":"maxMintsPerAddress","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"amount","type":"uint16"},{"internalType":"uint16","name":"editionIndex","type":"uint16"},{"internalType":"uint256[]","name":"tokenHashes","type":"uint256[]"},{"internalType":"bool","name":"isBlindMint","type":"bool"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintToEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"renderer","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","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":[],"name":"secondaryAdmin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"seriesNumberToMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"artPassHolders","type":"address[]"},{"internalType":"int16[]","name":"extras","type":"int16[]"}],"name":"setAdditionalArtPassMints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot_","type":"bytes32"}],"name":"setAllowListMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot_","type":"bytes32"}],"name":"setArtPassMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"mintPrices","type":"uint256[]"},{"internalType":"uint16[]","name":"seriesNumbers","type":"uint16[]"}],"name":"setEditionMintPrices","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16[]","name":"editions","type":"uint16[]"},{"internalType":"uint16[]","name":"supplies","type":"uint16[]"}],"name":"setEditionSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"maxMintsPerAddress_","type":"uint16"}],"name":"setMaxMintsPerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintPrice_","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_secondaryAdmin","type":"address"}],"name":"setSecondaryAdmin","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":"","type":"uint256"}],"name":"tokenIdsToTokenHashes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenToEdition","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"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":"useEditionForURI","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"usedTokenHashes","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

6009805461ffff60a01b1916600160a01b179055600b805465ffffffffffff191690555f600c819055600d55600f805460ff1916905560c060405260086080908152670703540312e362e360c41b60a052601a906200005f90826200045d565b5060405180611e200160405280611deb815260200162003f1e611deb9139601b906200008c90826200045d565b5034801562000099575f80fd5b5060405162005d0938038062005d09833981016040819052620000bc9162000604565b87876002620000cc83826200045d565b506003620000db82826200045d565b505f805550506001600855620000f13362000237565b6001600160a01b0383163303620001375760405162461bcd60e51b815260206004820152600560248201526422b93937b960d91b60448201526064015b60405180910390fd5b601280546001600160a01b03191633179055600e6200015787826200045d565b50600d859055600c849055601180546001600160a01b0319166001600160a01b03851617905560108290556040805160018082528183019092525f916020808301908036833750506040805160018082528183019092529293505f929150602080830190803683370190505090506001825f81518110620001dc57620001dc620006d0565b602002602001019061ffff16908161ffff168152505082815f81518110620002085762000208620006d0565b61ffff9092166020928302919091019091015262000227828262000288565b5050505050505050505062000711565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6012546001600160a01b0316336001600160a01b031614620002de5760405162461bcd60e51b815260206004820152600e60248201526d139bdd08105d5d1a1bdc9a5e995960921b60448201526064016200012e565b8051825114620003225760405162461bcd60e51b815260206004820152600e60248201526d1a5b98dbdc9c9958dd081b1a5cdd60921b60448201526064016200012e565b5f5b82518161ffff161015620003bb57818161ffff16815181106200034b576200034b620006d0565b602002602001015160145f858461ffff16815181106200036f576200036f620006d0565b602002602001015161ffff1661ffff1681526020019081526020015f205f6101000a81548161ffff021916908361ffff1602179055508080620003b290620006e4565b91505062000324565b505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680620003e957607f821691505b6020821081036200040857634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115620003bb57805f5260205f20601f840160051c81016020851015620004355750805b601f840160051c820191505b8181101562000456575f815560010162000441565b5050505050565b81516001600160401b03811115620004795762000479620003c0565b62000491816200048a8454620003d4565b846200040e565b602080601f831160018114620004c7575f8415620004af5750858301515b5f19600386901b1c1916600185901b17855562000521565b5f85815260208120601f198616915b82811015620004f757888601518255948401946001909101908401620004d6565b50858210156200051557878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b5f82601f83011262000539575f80fd5b81516001600160401b0380821115620005565762000556620003c0565b604051601f8301601f19908116603f01168101908282118183101715620005815762000581620003c0565b81604052838152602092508660208588010111156200059e575f80fd5b5f91505b83821015620005c15785820183015181830184015290820190620005a2565b5f602085830101528094505050505092915050565b80516001600160a01b0381168114620005ed575f80fd5b919050565b805161ffff81168114620005ed575f80fd5b5f805f805f805f80610100898b0312156200061d575f80fd5b88516001600160401b038082111562000634575f80fd5b620006428c838d0162000529565b995060208b015191508082111562000658575f80fd5b620006668c838d0162000529565b985060408b01519150808211156200067c575f80fd5b506200068b8b828c0162000529565b9650506060890151945060808901519350620006aa60a08a01620005d6565b925060c08901519150620006c160e08a01620005f2565b90509295985092959890939650565b634e487b7160e01b5f52603260045260245ffd5b5f61ffff8083168181036200070757634e487b7160e01b5f52601160045260245ffd5b6001019392505050565b6137ff806200071f5f395ff3fe6080604052600436106103e9575f3560e01c806370a082311161020a578063b88d4fde1161011e578063e6c32c92116100a8578063ecfb36ad11610078578063ecfb36ad14610b20578063f2fde38b14610b4e578063f4a0a52814610b6d578063f8362e2614610b8c578063fc42e28214610ba0575f80fd5b8063e6c32c9214610aba578063e797ec1b14610ace578063e985e9c514610ae2578063ea7a42e414610b01575f80fd5b8063c87b56dd116100ee578063c87b56dd14610a2a578063da5ce9a814610a49578063db40c44214610a74578063df33ac9c14610a88578063e551cbb614610aa7575f80fd5b8063b88d4fde146109c2578063bd486f15146109d5578063c5681a90146109f7578063c761c72d14610a16575f80fd5b8063979e8b721161019f578063a22cb4651161016f578063a22cb46514610936578063aa5ebe8714610955578063ae6a80d514610974578063b1acaacc14610995578063b2ff9200146109ae575f80fd5b8063979e8b72146108d65780639a14536c146108f55780639bb906e014610908578063a09271f51461091d575f80fd5b80638ada6b0f116101da5780638ada6b0f146108725780638be06b56146108865780638da5cb5b146108a557806395d89b41146108c2575f80fd5b806370a0823114610817578063715018a6146108365780637e5cd5c11461084a57806389190f221461085e575f80fd5b806331f9c91911610301578063539ea4f011610296578063602787ed11610266578063602787ed1461078d5780636352211e146107bc5780636817c76c146107db57806368f12768146107f05780636c0360eb14610803575f80fd5b8063539ea4f01461071657806358ec4a18146107365780635bbdac29146107495780635e0cb3a21461075e575f80fd5b806342966c68116102d157806342966c681461065657806346e58f671461067557806353014998146106a757806353314b2c146106e8575f80fd5b806331f9c919146105f1578063338cff2b1461061057806336ab76621461062457806342842e0e14610643575f80fd5b806318160ddd116103825780632919ac57116103525780632919ac57146105775780632a2d87231461058b5780632cc0d1ee146105aa5780632e58ca46146105be57806330176e13146105d2575f80fd5b806318160ddd1461050d5780631c7c25981461052457806323b872dd146105455780632691ee8b14610558575f80fd5b8063081d955f116103bd578063081d955f1461048f578063095ea7b3146104c85780630a1dca0e146104db578063170f580a146104f9575f80fd5b806267b63e146103ed57806301ffc9a71461040357806306fdde0314610437578063081812fc14610458575b5f80fd5b3480156103f8575f80fd5b50610401610bb4565b005b34801561040e575f80fd5b5061042261041d366004612bed565b610bff565b60405190151581526020015b60405180910390f35b348015610442575f80fd5b5061044b610c50565b60405161042e9190612c55565b348015610463575f80fd5b50610477610472366004612c67565b610ce0565b6040516001600160a01b03909116815260200161042e565b34801561049a575f80fd5b506104ba6104a9366004612c94565b60166020525f908152604090205481565b60405190815260200161042e565b6104016104d6366004612cc3565b610d22565b3480156104e6575f80fd5b50600b5461042290610100900460ff1681565b348015610504575f80fd5b50610401610dc0565b348015610518575f80fd5b506001545f54036104ba565b34801561052f575f80fd5b50600b5461042290640100000000900460ff1681565b610401610553366004612ceb565b610e02565b348015610563575f80fd5b50610401610572366004612d24565b610f89565b348015610582575f80fd5b50610401610fde565b348015610596575f80fd5b506104016105a5366004612e1d565b611020565b3480156105b5575f80fd5b50610401611107565b3480156105c9575f80fd5b5061044b611153565b3480156105dd575f80fd5b506104016105ec366004612f2a565b6111df565b3480156105fc575f80fd5b50600b546104229062010000900460ff1681565b34801561061b575f80fd5b50610401611222565b34801561062f575f80fd5b5061040161063e366004612c94565b611261565b610401610651366004612ceb565b6112b6565b348015610661575f80fd5b50610401610670366004612c67565b6112d0565b348015610680575f80fd5b5061069461068f366004612d24565b611338565b60405161ffff909116815260200161042e565b3480156106b2575f80fd5b506106d56106c1366004612d24565b600a6020525f908152604090205460010b81565b60405160019190910b815260200161042e565b3480156106f3575f80fd5b50610422610702366004612c67565b60196020525f908152604090205460ff1681565b348015610721575f80fd5b50600b54610422906301000000900460ff1681565b610401610744366004613020565b611368565b348015610754575f80fd5b506104ba600d5481565b348015610769575f80fd5b50610694610778366004612c94565b60146020525f908152604090205461ffff1681565b348015610798575f80fd5b506106946107a7366004612c67565b60156020525f908152604090205461ffff1681565b3480156107c7575f80fd5b506104776107d6366004612c67565b61169c565b3480156107e6575f80fd5b506104ba60105481565b6104016107fe3660046130b6565b6116a6565b34801561080e575f80fd5b5061044b611785565b348015610822575f80fd5b506104ba610831366004612d24565b611792565b348015610841575f80fd5b506104016117de565b348015610855575f80fd5b506104016117f1565b348015610869575f80fd5b50610401611832565b34801561087d575f80fd5b5061044b611876565b348015610891575f80fd5b506104016108a0366004613157565b611883565b3480156108b0575f80fd5b506009546001600160a01b0316610477565b3480156108cd575f80fd5b5061044b611966565b3480156108e1575f80fd5b506104ba6108f0366004612c94565b611975565b610401610903366004613020565b6119ac565b348015610913575f80fd5b506104ba600c5481565b348015610928575f80fd5b50600b546104229060ff1681565b348015610941575f80fd5b506104016109503660046131ac565b611c72565b348015610960575f80fd5b50601354610477906001600160a01b031681565b34801561097f575f80fd5b5060095461069490600160a01b900461ffff1681565b3480156109a0575f80fd5b50600f546104229060ff1681565b3480156109b9575f80fd5b50610401611cdd565b6104016109d03660046131dd565b611d20565b3480156109e0575f80fd5b50600b546104229065010000000000900460ff1681565b348015610a02575f80fd5b50610401610a11366004613253565b611d6a565b348015610a21575f80fd5b50610401611e38565b348015610a35575f80fd5b5061044b610a44366004612c67565b611e82565b348015610a54575f80fd5b506104ba610a63366004612c67565b60176020525f908152604090205481565b348015610a7f575f80fd5b50610401611f2a565b348015610a93575f80fd5b50610401610aa2366004612c67565b611f72565b610401610ab5366004613286565b611faa565b348015610ac5575f80fd5b506104016121c4565b348015610ad9575f80fd5b50610401612208565b348015610aed575f80fd5b50610422610afc3660046132f0565b61224e565b348015610b0c575f80fd5b50610401610b1b366004612c67565b61227b565b348015610b2b575f80fd5b50610422610b3a366004612c67565b60186020525f908152604090205460ff1681565b348015610b59575f80fd5b50610401610b68366004612d24565b6122b3565b348015610b78575f80fd5b50610401610b87366004612c67565b612329565b348015610b97575f80fd5b50610401612361565b348015610bab575f80fd5b506104016123a1565b6012546001600160a01b0316336001600160a01b031614610bf05760405162461bcd60e51b8152600401610be790613318565b60405180910390fd5b600f805460ff19166001179055565b5f6301ffc9a760e01b6001600160e01b031983161480610c2f57506380ac58cd60e01b6001600160e01b03198316145b80610c4a5750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610c5f90613340565b80601f0160208091040260200160405190810160405280929190818152602001828054610c8b90613340565b8015610cd65780601f10610cad57610100808354040283529160200191610cd6565b820191905f5260205f20905b815481529060010190602001808311610cb957829003601f168201915b5050505050905090565b5f610cea826123e0565b610d07576040516333d1c03960e21b815260040160405180910390fd5b505f908152600660205260409020546001600160a01b031690565b5f610d2c8261169c565b9050336001600160a01b03821614610d6557610d48813361224e565b610d65576040516367d9dca160e11b815260040160405180910390fd5b5f8281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6012546001600160a01b0316336001600160a01b031614610df35760405162461bcd60e51b8152600401610be790613318565b600b805463ff00000019169055565b5f610e0c82612405565b9050836001600160a01b0316816001600160a01b031614610e3f5760405162a1148160e81b815260040160405180910390fd5b5f8281526006602052604090208054610e6a8187335b6001600160a01b039081169116811491141790565b610e9557610e78863361224e565b610e9557604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610ebc57604051633a954ecd60e21b815260040160405180910390fd5b8015610ec6575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b84169003610f5257600184015f818152600460205260408120549003610f50575f548114610f50575f8181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03165f805160206137aa83398151915260405160405180910390a45b505050505050565b6012546001600160a01b0316336001600160a01b031614610fbc5760405162461bcd60e51b8152600401610be790613318565b601380546001600160a01b0319166001600160a01b0392909216919091179055565b6012546001600160a01b0316336001600160a01b0316146110115760405162461bcd60e51b8152600401610be790613318565b600b805460ff19166001179055565b6012546001600160a01b0316336001600160a01b0316146110535760405162461bcd60e51b8152600401610be790613318565b80518251146110745760405162461bcd60e51b8152600401610be790613378565b5f5b82518161ffff16101561110257818161ffff1681518110611099576110996133a0565b6020026020010151600a5f858461ffff16815181106110ba576110ba6133a0565b6020908102919091018101516001600160a01b031682528101919091526040015f20805461ffff191661ffff92909216919091179055806110fa816133c8565b915050611076565b505050565b6012546001600160a01b0316336001600160a01b03161461113a5760405162461bcd60e51b8152600401610be790613318565b600b805465ff0000000000191665010000000000179055565b601b805461116090613340565b80601f016020809104026020016040519081016040528092919081815260200182805461118c90613340565b80156111d75780601f106111ae576101008083540402835291602001916111d7565b820191905f5260205f20905b8154815290600101906020018083116111ba57829003601f168201915b505050505081565b6012546001600160a01b0316336001600160a01b0316146112125760405162461bcd60e51b8152600401610be790613318565b600e61121e828261342c565b5050565b6012546001600160a01b0316336001600160a01b0316146112555760405162461bcd60e51b8152600401610be790613318565b600f805460ff19169055565b6012546001600160a01b0316336001600160a01b0316146112945760405162461bcd60e51b8152600401610be790613318565b6009805461ffff909216600160a01b0261ffff60a01b19909216919091179055565b61110283838360405180602001604052805f815250611d20565b600b54640100000000900460ff1661132a5760405162461bcd60e51b815260206004820152601c60248201527f546f6b656e206275726e696e67206973206e6f7420656e61626c6564000000006044820152606401610be7565b611335816001612466565b50565b6001600160a01b0381165f908152600a6020526040812054819061136190600190810b906134e7565b9392505050565b611370612593565b600b54610100900460ff166113c75760405162461bcd60e51b815260206004820152601e60248201527f416c6c6f77206c697374206d696e74696e67206e6f7420656e61626c656400006044820152606401610be7565b8361ffff166113d584611975565b6113df919061350a565b34146113fd5760405162461bcd60e51b8152600401610be790613521565b5f8461ffff16116114205760405162461bcd60e51b8152600401610be790613558565b61ffff8381165f90815260146020526040902054818616911610156114575760405162461bcd60e51b8152600401610be79061358f565b81518461ffff161461147b5760405162461bcd60e51b8152600401610be7906135c6565b611484826125ec565b6114a05760405162461bcd60e51b8152600401610be79061360b565b5f61ffff85166114c8335b6001600160a01b03165f9081526005602052604090205460c01c90565b6114d29190613639565b600954909150600160a01b900461ffff166001600160401b038216111561153b5760405162461bcd60e51b815260206004820152601e60248201527f45786365656473207065722061646472657373206d696e74206c696d697400006044820152606401610be7565b6115ba8787808060200260200160405190810160405280939291908181526020018383602002808284375f9201919091525050600c5491503390505b60405160200161159f919060609190911b6bffffffffffffffffffffffff1916815260140190565b6040516020818303038152906040528051906020012061265c565b6116065760405162461bcd60e51b815260206004820152601860248201527f41646472657373206e6f7420696e20616c6c6f776c69737400000000000000006044820152606401610be7565b6011546040516001600160a01b03909116903480156108fc02915f818181858888f1935050505015801561163c573d5f803e3d5ffd5b5061164c335b8661ffff16612671565b6116568585612743565b6116618584846127c7565b611691335b6001600160a01b03165f90815260056020526040902080546001600160c01b031660c084901b179055565b50610f816001600855565b5f610c4a82612405565b6116ae612593565b600b5465010000000000900460ff166117095760405162461bcd60e51b815260206004820152601d60248201527f436c61696d73206275726e696e67206973206e6f7420656e61626c65640000006044820152606401610be7565b5f5b81811015611743575f838383818110611726576117266133a0565b90506020020135905061173a816001612466565b5060010161170b565b506011546040516001600160a01b03909116903480156108fc02915f818181858888f1935050505015801561177a573d5f803e3d5ffd5b5061121e6001600855565b600e805461116090613340565b5f6001600160a01b0382166117ba576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f908152600560205260409020546001600160401b031690565b6117e6612874565b6117ef5f6128ce565b565b6012546001600160a01b0316336001600160a01b0316146118245760405162461bcd60e51b8152600401610be790613318565b600b805462ff000019169055565b6012546001600160a01b0316336001600160a01b0316146118655760405162461bcd60e51b8152600401610be790613318565b600b805461ff001916610100179055565b601a805461116090613340565b6012546001600160a01b0316336001600160a01b0316146118b65760405162461bcd60e51b8152600401610be790613318565b80518251146118d75760405162461bcd60e51b8152600401610be790613378565b5f5b82518161ffff16101561110257818161ffff16815181106118fc576118fc6133a0565b602002602001015160145f858461ffff168151811061191d5761191d6133a0565b602002602001015161ffff1661ffff1681526020019081526020015f205f6101000a81548161ffff021916908361ffff160217905550808061195e906133c8565b9150506118d9565b606060038054610c5f90613340565b61ffff81165f90815260166020526040812054810361199657505060105490565b5061ffff165f9081526016602052604090205490565b6119b4612593565b600b5460ff16611a065760405162461bcd60e51b815260206004820152601c60248201527f4172742050617373206d696e74696e67206e6f7420656e61626c6564000000006044820152606401610be7565b8361ffff16611a1484611975565b611a1e919061350a565b3414611a3c5760405162461bcd60e51b8152600401610be790613521565b5f8461ffff1611611a5f5760405162461bcd60e51b8152600401610be790613558565b61ffff8381165f9081526014602052604090205481861691161015611a965760405162461bcd60e51b8152600401610be79061358f565b81518461ffff1614611aba5760405162461bcd60e51b8152600401610be7906135c6565b611ac3826125ec565b611adf5760405162461bcd60e51b8152600401610be79061360b565b61ffff8416611aed33611338565b61ffff161015611b4a5760405162461bcd60e51b815260206004820152602260248201527f4578636565647320417274205061737320686f6c646572206d696e74206c696d6044820152611a5d60f21b6064820152608401610be7565b611b8a8686808060200260200160405190810160405280939291908181526020018383602002808284375f9201919091525050600d549150339050611577565b611bcf5760405162461bcd60e51b81526020600482015260166024820152752737ba1030b71020b93a102830b9b9903437b63232b960511b6044820152606401610be7565b6011546040516001600160a01b03909116903480156108fc02915f818181858888f19350505050158015611c05573d5f803e3d5ffd5b50611c14338561ffff16612671565b611c1e8484612743565b611c298483836127c7565b335f908152600a6020526040902054611c4690859060010b613660565b335f908152600a60205260409020805461ffff191661ffff929092169190911790556001600855610f81565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6012546001600160a01b0316336001600160a01b031614611d105760405162461bcd60e51b8152600401610be790613318565b600b805464ff0000000019169055565b611d2b848484610e02565b6001600160a01b0383163b15611d6457611d478484848461291f565b611d64576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6012546001600160a01b0316336001600160a01b031614611d9d5760405162461bcd60e51b8152600401610be790613318565b8051825114611dbe5760405162461bcd60e51b8152600401610be790613378565b5f5b81518161ffff16101561110257828161ffff1681518110611de357611de36133a0565b602002602001015160165f848461ffff1681518110611e0457611e046133a0565b602002602001015161ffff1661ffff1681526020019081526020015f20819055508080611e30906133c8565b915050611dc0565b6012546001600160a01b0316336001600160a01b031614611e6b5760405162461bcd60e51b8152600401610be790613318565b600b805464ff000000001916640100000000179055565b6060611e8d826123e0565b611ed05760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88191bd95cc81b9bdd08195e1a5cdd60621b6044820152606401610be7565b600f545f9060ff16611ee25782611ef5565b5f8381526015602052604090205461ffff165b9050600e611f0282612a07565b604051602001611f13929190613683565b604051602081830303815290604052915050919050565b6012546001600160a01b0316336001600160a01b031614611f5d5760405162461bcd60e51b8152600401610be790613318565b600b805463ff00000019166301000000179055565b6012546001600160a01b0316336001600160a01b031614611fa55760405162461bcd60e51b8152600401610be790613318565b600d55565b611fb2612593565b600b5462010000900460ff166120005760405162461bcd60e51b8152602060048201526013602482015272135a5b9d1a5b99c81b9bdd08195b98589b1959606a1b6044820152606401610be7565b8361ffff1661200e84611975565b612018919061350a565b34146120365760405162461bcd60e51b8152600401610be790613521565b5f8461ffff16116120595760405162461bcd60e51b8152600401610be790613558565b61ffff8381165f90815260146020526040902054818616911610156120905760405162461bcd60e51b8152600401610be79061358f565b81518461ffff16146120b45760405162461bcd60e51b8152600401610be7906135c6565b6120bd826125ec565b6120d95760405162461bcd60e51b8152600401610be79061360b565b5f61ffff85166120e8336114ab565b6120f29190613639565b600954909150600160a01b900461ffff166001600160401b038216111561215b5760405162461bcd60e51b815260206004820152601e60248201527f45786365656473207065722061646472657373206d696e74206c696d697400006044820152606401610be7565b6011546040516001600160a01b03909116903480156108fc02915f818181858888f19350505050158015612191573d5f803e3d5ffd5b5061219b33611642565b6121a58585612743565b6121b08584846127c7565b6121b933611666565b50611d646001600855565b6012546001600160a01b0316336001600160a01b0316146121f75760405162461bcd60e51b8152600401610be790613318565b600b805465ff000000000019169055565b6012546001600160a01b0316336001600160a01b03161461223b5760405162461bcd60e51b8152600401610be790613318565b600b805462ff0000191662010000179055565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b6012546001600160a01b0316336001600160a01b0316146122ae5760405162461bcd60e51b8152600401610be790613318565b600c55565b6122bb612874565b6001600160a01b0381166123205760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610be7565b611335816128ce565b6012546001600160a01b0316336001600160a01b03161461235c5760405162461bcd60e51b8152600401610be790613318565b601055565b6012546001600160a01b0316336001600160a01b0316146123945760405162461bcd60e51b8152600401610be790613318565b600b805461ff0019169055565b6012546001600160a01b0316336001600160a01b0316146123d45760405162461bcd60e51b8152600401610be790613318565b600b805460ff19169055565b5f805482108015610c4a5750505f90815260046020526040902054600160e01b161590565b5f815f5481101561244d575f8181526004602052604081205490600160e01b8216900361244b575b805f0361136157505f19015f8181526004602052604090205461242d565b505b604051636f96cda160e11b815260040160405180910390fd5b5f61247083612405565b9050805f8061248c865f90815260066020526040902080549091565b9150915084156124cc576124a1818433610e55565b6124cc576124af833361224e565b6124cc57604051632ce44b5f60e11b815260040160405180910390fd5b80156124d6575f82555b6001600160a01b0383165f81815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b175f87815260046020526040812091909155600160e11b8516900361255f57600186015f81815260046020526040812054900361255d575f54811461255d575f8181526004602052604090208590555b505b60405186905f906001600160a01b038616905f805160206137aa833981519152908390a45050600180548101905550505050565b6002600854036125e55760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610be7565b6002600855565b5f805b82518160ff161015612653575f838260ff1681518110612611576126116133a0565b6020908102919091018101515f818152601890925260409091205490915060ff161561264057505f9392505050565b508061264b81613706565b9150506125ef565b50600192915050565b5f826126688584612a96565b14949350505050565b5f8054908290036126955760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f8181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083905f805160206137aa8339815191528180a4600183015b81811461271b5780835f5f805160206137aa8339815191525f80a46001016126f8565b50815f0361273b57604051622e076360e81b815260040160405180910390fd5b5f5550505050565b61ffff8082165f9081526014602052604090205461276391849116613724565b61ffff8281165f908152601460205260408120805461ffff191693831693909317909255815490841690612797919061373f565b90505b5f54811015611102575f818152601560205260409020805461ffff191661ffff841617905560010161279a565b5f808461ffff166127d65f5490565b6127e0919061373f565b90505b5f5481101561286d575f848360ff1681518110612802576128026133a0565b6020908102919091018101515f848152601783526040808220839055828252601890935291909120805460ff1916600117905590508315612857575f828152601960205260409020805460ff19168515151790555b8261286181613706565b935050506001016127e3565b5050505050565b6009546001600160a01b031633146117ef5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610be7565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a0290612953903390899088908890600401613752565b6020604051808303815f875af192505050801561298d575060408051601f3d908101601f1916820190925261298a9181019061378e565b60015b6129e9573d8080156129ba576040519150601f19603f3d011682016040523d82523d5f602084013e6129bf565b606091505b5080515f036129e1576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60605f612a1383612ad8565b60010190505f816001600160401b03811115612a3157612a31612d3d565b6040519080825280601f01601f191660200182016040528015612a5b576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084612a6557509392505050565b5f81815b8451811015612ad057612ac682868381518110612ab957612ab96133a0565b6020026020010151612baf565b9150600101612a9a565b509392505050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310612b165772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612b42576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310612b6057662386f26fc10000830492506010015b6305f5e1008310612b78576305f5e100830492506008015b6127108310612b8c57612710830492506004015b60648310612b9e576064830492506002015b600a8310610c4a5760010192915050565b5f818310612bc9575f828152602084905260409020611361565b505f9182526020526040902090565b6001600160e01b031981168114611335575f80fd5b5f60208284031215612bfd575f80fd5b813561136181612bd8565b5f5b83811015612c22578181015183820152602001612c0a565b50505f910152565b5f8151808452612c41816020860160208601612c08565b601f01601f19169290920160200192915050565b602081525f6113616020830184612c2a565b5f60208284031215612c77575f80fd5b5035919050565b803561ffff81168114612c8f575f80fd5b919050565b5f60208284031215612ca4575f80fd5b61136182612c7e565b80356001600160a01b0381168114612c8f575f80fd5b5f8060408385031215612cd4575f80fd5b612cdd83612cad565b946020939093013593505050565b5f805f60608486031215612cfd575f80fd5b612d0684612cad565b9250612d1460208501612cad565b9150604084013590509250925092565b5f60208284031215612d34575f80fd5b61136182612cad565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f191681016001600160401b0381118282101715612d7957612d79612d3d565b604052919050565b5f6001600160401b03821115612d9957612d99612d3d565b5060051b60200190565b5f82601f830112612db2575f80fd5b81356020612dc7612dc283612d81565b612d51565b8083825260208201915060208460051b870101935086841115612de8575f80fd5b602086015b84811015612e125780358060010b8114612e05575f80fd5b8352918301918301612ded565b509695505050505050565b5f8060408385031215612e2e575f80fd5b82356001600160401b0380821115612e44575f80fd5b818501915085601f830112612e57575f80fd5b81356020612e67612dc283612d81565b82815260059290921b84018101918181019089841115612e85575f80fd5b948201945b83861015612eaa57612e9b86612cad565b82529482019490820190612e8a565b96505086013592505080821115612ebf575f80fd5b50612ecc85828601612da3565b9150509250929050565b5f6001600160401b03831115612eee57612eee612d3d565b612f01601f8401601f1916602001612d51565b9050828152838383011115612f14575f80fd5b828260208301375f602084830101529392505050565b5f60208284031215612f3a575f80fd5b81356001600160401b03811115612f4f575f80fd5b8201601f81018413612f5f575f80fd5b6129ff84823560208401612ed6565b5f8083601f840112612f7e575f80fd5b5081356001600160401b03811115612f94575f80fd5b6020830191508360208260051b8501011115612fae575f80fd5b9250929050565b5f82601f830112612fc4575f80fd5b81356020612fd4612dc283612d81565b8083825260208201915060208460051b870101935086841115612ff5575f80fd5b602086015b84811015612e125780358352918301918301612ffa565b80358015158114612c8f575f80fd5b5f805f805f8060a08789031215613035575f80fd5b86356001600160401b038082111561304b575f80fd5b6130578a838b01612f6e565b909850965086915061306b60208a01612c7e565b955061307960408a01612c7e565b9450606089013591508082111561308e575f80fd5b5061309b89828a01612fb5565b9250506130aa60808801613011565b90509295509295509295565b5f80602083850312156130c7575f80fd5b82356001600160401b038111156130dc575f80fd5b6130e885828601612f6e565b90969095509350505050565b5f82601f830112613103575f80fd5b81356020613113612dc283612d81565b8083825260208201915060208460051b870101935086841115613134575f80fd5b602086015b84811015612e125761314a81612c7e565b8352918301918301613139565b5f8060408385031215613168575f80fd5b82356001600160401b038082111561317e575f80fd5b61318a868387016130f4565b9350602085013591508082111561319f575f80fd5b50612ecc858286016130f4565b5f80604083850312156131bd575f80fd5b6131c683612cad565b91506131d460208401613011565b90509250929050565b5f805f80608085870312156131f0575f80fd5b6131f985612cad565b935061320760208601612cad565b92506040850135915060608501356001600160401b03811115613228575f80fd5b8501601f81018713613238575f80fd5b61324787823560208401612ed6565b91505092959194509250565b5f8060408385031215613264575f80fd5b82356001600160401b038082111561327a575f80fd5b61318a86838701612fb5565b5f805f8060808587031215613299575f80fd5b6132a285612c7e565b93506132b060208601612c7e565b925060408501356001600160401b038111156132ca575f80fd5b6132d687828801612fb5565b9250506132e560608601613011565b905092959194509250565b5f8060408385031215613301575f80fd5b61330a83612cad565b91506131d460208401612cad565b6020808252600e908201526d139bdd08105d5d1a1bdc9a5e995960921b604082015260600190565b600181811c9082168061335457607f821691505b60208210810361337257634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252600e908201526d1a5b98dbdc9c9958dd081b1a5cdd60921b604082015260600190565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b5f61ffff8083168181036133de576133de6133b4565b6001019392505050565b601f82111561110257805f5260205f20601f840160051c8101602085101561340d5750805b601f840160051c820191505b8181101561286d575f8155600101613419565b81516001600160401b0381111561344557613445612d3d565b613459816134538454613340565b846133e8565b602080601f83116001811461348c575f84156134755750858301515b5f19600386901b1c1916600185901b178555610f81565b5f85815260208120601f198616915b828110156134ba5788860151825594840194600190910190840161349b565b50858210156134d757878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b600181810b9083900b01617fff8113617fff1982121715610c4a57610c4a6133b4565b8082028115828204841417610c4a57610c4a6133b4565b6020808252601e908201527f496e636f727265637420616d6f756e74206f662065746865722073656e740000604082015260600190565b60208082526019908201527f4d757374206d696e7420706f73697469766520616d6f756e7400000000000000604082015260600190565b6020808252601c908201527f4d696e74206578636565647320636f6c6c656374696f6e2073697a6500000000604082015260600190565b60208082526025908201527f496e636f727265637420616d6f756e74206f6620746f6b656e20686173686573604082015264081cd95b9d60da1b606082015260800190565b602080825260149082015273088eae0d8d2c6c2e8ca40e8ded6cadc40d0c2e6d60631b604082015260600190565b6001600160401b03818116838216019080821115613659576136596133b4565b5092915050565b600182810b9082900b03617fff198112617fff82131715610c4a57610c4a6133b4565b5f80845461369081613340565b600182811680156136a857600181146136bd576136e9565b60ff19841687528215158302870194506136e9565b885f526020805f205f5b858110156136e05781548a8201529084019082016136c7565b50505082870194505b5050505083516136fd818360208801612c08565b01949350505050565b5f60ff821660ff810361371b5761371b6133b4565b60010192915050565b61ffff828116828216039080821115613659576136596133b4565b81810381811115610c4a57610c4a6133b4565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f9061378490830184612c2a565b9695505050505050565b5f6020828403121561379e575f80fd5b815161136181612bd856feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220fbe5a88ecc60f398746341ea7ceaff84c219f6d12b7363557644eef02b1d315964736f6c63430008160033636c6173732052616e646f6d7b636f6e7374727563746f7228297b66756e6374696f6e20742874297b6c657420733d7061727365496e7428742e737562737472696e6728302c38292c3136292c693d7061727365496e7428742e737562737472696e6728382c3136292c3136292c683d7061727365496e7428742e737562737472696e672831362c3234292c3136292c523d7061727365496e7428742e737562737472696e672832342c3332292c3136293b72657475726e2066756e6374696f6e28297b737c3d302c697c3d302c687c3d303b76617220743d28732b697c30292b28527c3d30297c303b72657475726e20523d522b317c302c733d695e693e3e3e392c693d682b28683c3c33297c302c683d28683d683c3c32317c683e3e3e3131292b747c302c28743e3e3e30292f343239343936373239367d7d746869732e743d21312c746869732e683d6e6577207428746f6b656e446174612e686173682e737562737472696e6728322c333429292c746869732e693d6e6577207428746f6b656e446174612e686173682e737562737472696e672833342c363629293b666f72286c657420733d303b733c3165363b732b3d3229746869732e6828292c746869732e6928297d5228297b72657475726e20746869732e743d21746869732e742c746869732e743f746869732e6828293a746869732e6928297d5328742c73297b76617220693b72657475726e20742b732a4d6174682e73717274282d322a4d6174682e6c6f6728746869732e52282929292a4d6174682e636f7328322a4d6174682e50492a746869732e522829297d4d28742c73297b72657475726e20742b28732d74292a746869732e5228297d4728742c73297b72657475726e204d6174682e666c6f6f7228746869732e4d28742c732b3129297d582874297b72657475726e20746869732e5228293c747d6f2874297b72657475726e20745b746869732e4728302c742e6c656e6774682d31295d7d432874297b72657475726e20745b746869732e6f284f626a6563742e6b657973287429295d7d6c2874297b76617220733d746869732e5228293b72657475726e20733c2e363f745b315d3a733c2e393f745b305d3a745b325d7d5028297b76617220743d746869732e5228293b72657475726e20743c2e373f333a743c2e393f343a357d4e28297b76617220743d746869732e5228293b72657475726e20743c2e373f333a743c2e393f323a317d5428297b76617220743d746869732e5228293b72657475726e20743c2e333f303a743c2e35343f313a743c2e37323f323a743c2e38343f343a743c2e39343f353a337d7d636c61737320536565647b636f6e7374727563746f7228742c732c692c682c522c652c243d434c4247297b746869732e463d732c746869732e4c3d242c746869732e753d417272617928322a69292e66696c6c2830293b76617220532c5f2c722c472c6c2c6f2c6e2c583d5b522a742e5328312c2e3135292c652a522a742e5328312c2e3135295d2c4d3d742e4d28302c52455358292c503d742e4d28302c52455359292c733d742e4d28302c4d6174682e5049292c433d4d6174682e636f732873292c463d4d6174682e73696e2873293b666f72286c6574204e3d303b4e3c693b4e2b2b29533d4d6174682e636f7328322a4e2a4d6174682e50492f69292c5f3d4d6174682e73696e28322a4e2a4d6174682e50492f69292c746869732e755b322a4e5d3d4d2b585b305d2a532a432b585b315d2a5f2a462c746869732e755b322a4e2b315d3d502d585b305d2a532a462b585b315d2a5f2a433b666f72286c657420753d303b753c683b752b2b297b723d746869732e752e6c656e6774682f322c473d417272617928746869732e752e6c656e677468293b666f72286c657420543d303b543c723b542b2b296e3d28542b312925722c6c3d5b746869732e755b322a6e2b315d2d746869732e755b322a542b315d2c746869732e755b322a545d2d746869732e755b322a6e5d5d2c6e3d5b286f3d2e322b2e362a742e522829292a746869732e755b322a545d2b28312d6f292a746869732e755b322a6e5d2c6f2a746869732e755b322a542b315d2b28312d6f292a746869732e755b322a6e2b315d5d2c6f3d2e31352a742e5228292c475b322a545d3d6e5b305d2b6f2a6c5b305d2c475b322a542b315d3d6e5b315d2b6f2a6c5b315d3b666f72286c657420613d303b613c723b612b2b29746869732e752e73706c69636528322a28322a612b31292c302c475b322a615d292c746869732e752e73706c69636528322a28322a612b31292b312c302c475b322a612b315d297d7d4228297b746869732e462e66696c6c282e2e2e746869732e4c292c746869732e462e6e6f5374726f6b6528292c746869732e462e626567696e536861706528293b666f72286c657420743d303b743c746869732e752e6c656e6774683b742b3d3229746869732e462e76657274657828746869732e755b745d2c746869732e755b742b315d293b746869732e462e656e64536861706528434c4f5345297d7d636c617373204d6f74696f6e7b636f6e7374727563746f722874297b746869732e483d637265617465566563746f7228742e4728302c52455358292c742e4728302c5245535929292c746869732e706174683d637265617465566563746f7228302c30292c746869732e703d313d3d3d4d544e527c7c323d3d3d4d544e527c7c353d3d3d4d544e523f637265617465566563746f72284d544e502e782c4d544e502e79293a6e756c6c2c746869732e413d323d3d3d4d544e523f746869732e593a333d3d3d4d544e527c7c353d3d3d4d544e523f746869732e443a28293d3e7b7d2c746869732e6d3d343d3d3d4d544e523f4d6174682e6d696e284d6174682e6162732870352e566563746f722e646f7428746869732e482c637265617465566563746f72284d6174682e636f73284d544e50292c2d4d6174682e73696e284d544e50292929292f524553592c31293a353d3d3d4d544e523f4d544e473f2e3031352a70352e566563746f722e6469737428746869732e482c746869732e70293a2e3031352a28524553582d2e33372a64697374282e352a524553582c2e352a524553592c746869732e482e782c746869732e482e79292d70352e566563746f722e6469737428746869732e482c746869732e7029293a6e756c6c2c746869732e493d333d3d3d4d544e523f742e4d28302c322a4d6174682e5049293a343d3d3d4d544e523f4d544e502b742e5328302c2e37372a746869732e6d2a2a33293a6e756c6c2c746869732e4f3d333d3d3d4d544e523f4d544e503a353d3d3d4d544e523f4d6174682e6d61782831352a5343414c2c5343414c2a4d6174682e65787028746869732e6d2f5343414c29293a6e756c6c7d696e697428297b76617220743b746869732e563d2e352a5343414c2c746869732e763d303d3d3d425348523f31302a5343414c3a4c4744433f322e372a5343414c3a312e372a5343414c2c746869732e5f3d303d3d3d425348523f2e3939353a4c4744433f2e3939393a6e756c6c2c746869732e673d303d3d3d4d544e523f637265617465566563746f72284d6174682e636f73284d544e50292c2d4d6174682e73696e284d544e5029293a313d3d3d4d544e527c7c323d3d3d4d544e527c7c353d3d3d4d544e523f2828743d70352e566563746f722e73756228746869732e482c746869732e7029292e6e6f726d616c697a6528292c323d3d3d4d544e522626742e726f74617465282e352a4d6174682e5049292c74293a637265617465566563746f72284d6174682e636f7328746869732e49292c2d4d6174682e73696e28746869732e4929292c746869732e706174682e783d746869732e482e782c746869732e706174682e793d746869732e482e797d5928297b746869732e673d70352e566563746f722e73756228746869732e706174682c746869732e70292c746869732e672e6e6f726d616c697a6528292c746869732e672e726f74617465282e352a4d6174682e5049297d4428297b746869732e672e726f74617465284d6174682e6174616e3228746869732e562c746869732e4f29297d7d636c61737320546f6f6c7b636f6e7374727563746f7228742c732c692c682c522c65297b746869732e463d732c746869732e4c3d692c746869732e553d653f523a3165342a522a5343414c2c746869732e5a3d653f683a4d6174682e6365696c2831302a682a52292c746869732e6b3d6e6577204d6f74696f6e2874292c746869732e423d303d3d3d653f746869732e573a746869732e6a7d572874297b76617220732c693d417272617928746869732e5a292e66696c6c286e756c6c292e6d61702828293d3e746869732e462e6c657270436f6c6f7228746869732e4c2e712c746869732e4c2e4a2c742e53282e352c2e3329292e6c6576656c73292c683d28746869732e6b2e696e697428292c746869732e552f28746869732e5a2d3129293b6c657420523d302c653d303b666f7228746869732e462e7374726f6b652830293b746869732e6b2e763e322a5343414c3b297b746869732e462e7374726f6b6557656967687428746869732e6b2e76292c523d2d2e352a746869732e553b666f72286c657420243d303b243c746869732e5a3b242b2b29746869732e462e7374726f6b6528695b245d292c733d2e30312a742e5228292c746869732e462e6c696e6528746869732e6b2e706174682e782d652a522a746869732e6b2e672e792c746869732e6b2e706174682e792b652a522a746869732e6b2e672e782c746869732e6b2e706174682e782d732a522a746869732e6b2e672e792b746869732e6b2e562a746869732e6b2e672e782c746869732e6b2e706174682e792b732a522a746869732e6b2e672e782b746869732e6b2e562a746869732e6b2e672e79292c522b3d682c653d733b746869732e6b2e706174682e6164642870352e566563746f722e6d756c7428746869732e6b2e672c746869732e6b2e5629292c746869732e6b2e762a3d746869732e6b2e5f2c746869732e6b2e4128297d7d6a2874297b746869732e6b2e696e697428293b76617220733d417272617928746869732e55292e66696c6c286e756c6c292e6d61702828293d3e742e5328302c322a746869732e6b2e5629293b6c657420693d742e4728302c37373737373737293b76617220683d417272617928746869732e5a292e66696c6c286e756c6c292e6d61702828742c73293d3e3136372b37302a286e6f697365282e32352a732b69292d2e3529292c523d417272617928746869732e5a292e66696c6c286e756c6c292e6d61702828742c73293d3e372a5343414c2a286e6f697365282e352a73292d2e3529293b746869732e462e7374726f6b6557656967687428746869732e6b2e762b5343414c293b666f72286c657420653d303b653c746869732e5a3b652b2b297b746869732e6b2e696e697428293b666f72286c657420243d303b243c746869732e552d313b242b2b29746869732e462e7374726f6b6528685b655d2d33352a4d6174682e636f73282e312a4d6174682e50492a242f746869732e55292b742e5328302c3529292c746869732e462e6c696e6528746869732e6b2e482e782d28746869732e6b2e762a28652d2e352a746869732e5a292b735b245d292a746869732e6b2e672e792b28525b655d2b746869732e6b2e562a24292a746869732e6b2e672e782c746869732e6b2e482e792b28746869732e6b2e762a28652d2e352a746869732e5a292b735b245d292a746869732e6b2e672e782b28525b655d2b746869732e6b2e562a24292a746869732e6b2e672e792c746869732e6b2e482e782d28746869732e6b2e762a28652d2e352a746869732e5a292b735b242b315d292a746869732e6b2e672e792b28525b655d2b746869732e6b2e562a28242b3129292a746869732e6b2e672e782c746869732e6b2e482e792b28746869732e6b2e762a28652d2e352a746869732e5a292b735b242b315d292a746869732e6b2e672e782b28525b655d2b746869732e6b2e562a28242b3129292a746869732e6b2e672e79292c746869732e6b2e706174682e6164642870352e566563746f722e6d756c7428746869732e6b2e672c746869732e6b2e5629292c4c474443262628746869732e6b2e762a3d746869732e6b2e5f292c746869732e6b2e4128297d7d7d636c61737320436f6c6f727b4b3d7b243a7b713a5b3235352c3132382c31315d2c4a3a5b3133302c31332c31315d7d2c74743a7b713a5b3230342c3230312c3139375d2c4a3a5b39342c39342c39345d7d2c73743a7b713a5b3135342c35322c39325d2c4a3a5b35322c31382c33315d7d2c68743a7b713a5b3235352c3231312c33335d2c4a3a5b3138362c3130382c345d7d2c7265643a7b713a5b3231352c33322c365d2c4a3a5b38392c31342c325d7d2c677265656e3a7b713a5b372c3131332c3130335d2c4a3a5b31312c33362c31385d7d2c626c75653a7b713a5b33312c36362c3230385d2c4a3a5b31332c32372c38335d7d2c69743a7b713a5b3136302c3139352c3232315d2c4a3a5b34342c38312c3130305d7d2c52743a7b713a5b37372c37372c37375d2c4a3a5b372c372c375d7d7d3b636f6e7374727563746f7228742c73297b743d742e4328746869732e4b292c746869732e4c3d7b713a732e636f6c6f7228742e71292c4a3a732e636f6c6f7228742e4a297d7d7d6c65742044464c543d3165332c524553582c524553592c5343414c2c4d52474e2c4e4d52472c4d444d472c4d5247582c4d5247592c4d544e522c4d544e502c4d544e472c425348522c4c4744432c435552562c534350522c534843542c5348535a2c45434e542c4e4449562c414e49532c4250524d2c544f4f4c2c534841502c434f4c522c424746582c434746582c504746582c52622c524449493d5b5b31302c32305d2c5b3130302c3132305d2c5b3330302c3334305d5d2c534850523d5b5b372c35305d2c5b3235302c31305d2c5b3165332c355d5d2c434c42473d5b3234372c3234362c3234325d2c47434e543d302c53434e543d302c5454434c3d303b66756e6374696f6e20736574757028297b77696e646f774865696768743e3d312e352a77696e646f7757696474683f28524553583d77696e646f7757696474682c524553593d4d6174682e666c6f6f7228312e352a77696e646f77576964746829293a28524553593d77696e646f774865696768742c524553583d4d6174682e666c6f6f722877696e646f774865696768742f312e3529292c4d52474e3d33372a285343414c3d524553582f44464c54292c4e4d52473d3130302c4d444d473d312e33352a5343414c2c4d5247583d524553582f284e4d52472d31292c4d5247593d524553592f28312e352a4e4d52472d31292c63726561746543616e76617328524553582c52455359292c434746583d637265617465477261706869637328524553582c52455359292c504746583d637265617465477261706869637328524553582c52455359292c424746583d637265617465477261706869637328312c31292c636f6c6f724d6f646528524742292c434746582e636f6c6f724d6f646528524742292c504746582e636f6c6f724d6f646528524742292c434746582e6261636b67726f756e64282e2e2e434c4247292c504746582e6261636b67726f756e64282e2e2e434c4247292c6e6f69736553656564282852623d6e65772052616e646f6d292e4728302c3737373737373729292c4250524d3d303d3d28425348523d52622e58282e35293f303a31293f5b3335302c312c315d3a5b3430302c35302c3235305d2c4c4744433d313d3d3d425348523f52622e58282e35293a6e756c6c2c4d544e503d303d3d3d284d544e523d52622e542829293f52622e4d282d4d6174682e50492c30293a313d3d3d4d544e527c7c323d3d3d4d544e527c7c353d3d3d4d544e523f637265617465566563746f722852622e4728302c52455358292c52622e4728302c5245535929293a333d3d3d4d544e523f28435552563d303d3d3d425348523f303a52622e4728302c32292c52622e4d28524449495b435552565d5b305d2c524449495b435552565d5b315d292a5343414c293a343d3d3d4d544e523f52622e4d282d322a4d6174682e50492f332c2d4d6174682e50492f33293a6e756c6c2c4d544e473d353d3d3d4d544e523f52622e58282e35293a6e756c6c2c534350523d312b52622e58282e3035292c5b534843542c5348535a5d3d313d3d3d534350523f52622e6c2853485052293a534850525b305d2c45434e543d52622e5028292c4e4449563d52622e4e28292c414e49533d52622e4d28352c37292c434f4c523d6e657720436f6c6f722852622c50474658292c424746582e6261636b67726f756e6428434f4c522e4c2e71292c424746582e626c656e6428434746582c302c302c312c312c302c302c312c312c484152445f4c49474854292c5454434c3d4250524d5b305d2b534843542b28323d3d3d534350523f3737373a30297d66756e6374696f6e206472617728297b69662847434e542b2b3c4250524d5b305d297b69662828544f4f4c3d6e657720546f6f6c2852622c303d3d3d425348523f504746583a434746582c434f4c522e4c2c4250524d5b315d2c4250524d5b325d2c4253485229292e42285262292c696d61676528303d3d3d425348523f504746583a434746582c302c302c524553582c52455359292c313d3d3d42534852262647434e543d3d3d4250524d5b305d297b504746582e6261636b67726f756e6428434f4c522e4c2e71292c504746582e626c656e6428434746582c302c302c524553582c524553592c302c302c524553582c524553592c484152445f4c49474854292c424746582e6c6f6164506978656c7328292c504746582e6c6f6164506978656c7328293b666f72286c657420743d303b743c524553583b742b2b29666f72286c657420733d303b733c524553593b732b2b2969643d342a28742b524553582a73292c504746582e706978656c735b69645d3d3d3d424746582e706978656c735b305d2626504746582e706978656c735b69642b315d3d3d3d424746582e706978656c735b315d2626504746582e706978656c735b69642b325d3d3d3d424746582e706978656c735b325d262628504746582e706978656c735b69645d3d434c42475b305d2c504746582e706978656c735b69642b315d3d434c42475b315d2c504746582e706978656c735b69642b325d3d434c42475b325d293b504746582e757064617465506978656c7328292c696d61676528504746582c302c302c524553582c52455359297d7d656c73652053434e542b2b3c5348435426262828534841503d6e657720536565642852622c504746582c45434e542c4e4449562c5348535a2a5343414c2c414e495329292e4228292c696d61676528504746582c302c302c524553582c52455359292c323d3d3d5343505229262653434e543d3d53484354262628534350523d312c53434e543d302c534843543d3737372c5348535a3d35293b69662847434e543d3d3d5454434c297b6e6f4c6f6f7028292c504746582e6e6f5374726f6b6528292c504746582e66696c6c282e2e2e434c4247292c504746582e626567696e536861706528292c504746582e76657274657828302c30293b666f72286c657420693d303b693c312e352a4e4d52473b692b2b29504746582e766572746578284d52474e2b52622e5328302c4d444d47292c4d5247592a69293b504746582e76657274657828302c52455359292c504746582e656e64536861706528434c4f5345292c504746582e626567696e536861706528292c504746582e76657274657828302c30293b666f72286c657420683d303b683c4e4d52473b682b2b29504746582e766572746578284d5247582a682c4d52474e2b52622e5328302c4d444d4729293b504746582e76657274657828524553582c30292c504746582e656e64536861706528434c4f5345292c504746582e626567696e536861706528292c504746582e76657274657828302c52455359293b666f72286c657420523d303b523c4e4d52473b522b2b29504746582e766572746578284d5247582a522c524553592d4d52474e2b52622e5328302c4d444d4729293b504746582e76657274657828524553582c52455359292c504746582e656e64536861706528434c4f5345292c504746582e626567696e536861706528292c504746582e76657274657828524553582c30293b666f72286c657420653d303b653c312e352a4e4d52473b652b2b29504746582e76657274657828524553582d4d52474e2b52622e5328302c4d444d47292c4d5247592a65293b504746582e76657274657828524553582c52455359292c504746582e656e64536861706528434c4f5345292c696d61676528504746582c302c302c524553582c52455359297d7d70352e64697361626c65467269656e646c794572726f72733d21303b000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000180c8ecbc578b93457f9b36d948445f85ff9114818662505a3f33f017339f803428c8ecbc578b93457f9b36d948445f85ff9114818662505a3f33f017339f8034280000000000000000000000003ff67a5cfaddcb7445de2e31071e45fcc0adda77000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fa000000000000000000000000000000000000000000000000000000000000000942617461696c6c65730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000542544c4c530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006697066733a2f0000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106103e9575f3560e01c806370a082311161020a578063b88d4fde1161011e578063e6c32c92116100a8578063ecfb36ad11610078578063ecfb36ad14610b20578063f2fde38b14610b4e578063f4a0a52814610b6d578063f8362e2614610b8c578063fc42e28214610ba0575f80fd5b8063e6c32c9214610aba578063e797ec1b14610ace578063e985e9c514610ae2578063ea7a42e414610b01575f80fd5b8063c87b56dd116100ee578063c87b56dd14610a2a578063da5ce9a814610a49578063db40c44214610a74578063df33ac9c14610a88578063e551cbb614610aa7575f80fd5b8063b88d4fde146109c2578063bd486f15146109d5578063c5681a90146109f7578063c761c72d14610a16575f80fd5b8063979e8b721161019f578063a22cb4651161016f578063a22cb46514610936578063aa5ebe8714610955578063ae6a80d514610974578063b1acaacc14610995578063b2ff9200146109ae575f80fd5b8063979e8b72146108d65780639a14536c146108f55780639bb906e014610908578063a09271f51461091d575f80fd5b80638ada6b0f116101da5780638ada6b0f146108725780638be06b56146108865780638da5cb5b146108a557806395d89b41146108c2575f80fd5b806370a0823114610817578063715018a6146108365780637e5cd5c11461084a57806389190f221461085e575f80fd5b806331f9c91911610301578063539ea4f011610296578063602787ed11610266578063602787ed1461078d5780636352211e146107bc5780636817c76c146107db57806368f12768146107f05780636c0360eb14610803575f80fd5b8063539ea4f01461071657806358ec4a18146107365780635bbdac29146107495780635e0cb3a21461075e575f80fd5b806342966c68116102d157806342966c681461065657806346e58f671461067557806353014998146106a757806353314b2c146106e8575f80fd5b806331f9c919146105f1578063338cff2b1461061057806336ab76621461062457806342842e0e14610643575f80fd5b806318160ddd116103825780632919ac57116103525780632919ac57146105775780632a2d87231461058b5780632cc0d1ee146105aa5780632e58ca46146105be57806330176e13146105d2575f80fd5b806318160ddd1461050d5780631c7c25981461052457806323b872dd146105455780632691ee8b14610558575f80fd5b8063081d955f116103bd578063081d955f1461048f578063095ea7b3146104c85780630a1dca0e146104db578063170f580a146104f9575f80fd5b806267b63e146103ed57806301ffc9a71461040357806306fdde0314610437578063081812fc14610458575b5f80fd5b3480156103f8575f80fd5b50610401610bb4565b005b34801561040e575f80fd5b5061042261041d366004612bed565b610bff565b60405190151581526020015b60405180910390f35b348015610442575f80fd5b5061044b610c50565b60405161042e9190612c55565b348015610463575f80fd5b50610477610472366004612c67565b610ce0565b6040516001600160a01b03909116815260200161042e565b34801561049a575f80fd5b506104ba6104a9366004612c94565b60166020525f908152604090205481565b60405190815260200161042e565b6104016104d6366004612cc3565b610d22565b3480156104e6575f80fd5b50600b5461042290610100900460ff1681565b348015610504575f80fd5b50610401610dc0565b348015610518575f80fd5b506001545f54036104ba565b34801561052f575f80fd5b50600b5461042290640100000000900460ff1681565b610401610553366004612ceb565b610e02565b348015610563575f80fd5b50610401610572366004612d24565b610f89565b348015610582575f80fd5b50610401610fde565b348015610596575f80fd5b506104016105a5366004612e1d565b611020565b3480156105b5575f80fd5b50610401611107565b3480156105c9575f80fd5b5061044b611153565b3480156105dd575f80fd5b506104016105ec366004612f2a565b6111df565b3480156105fc575f80fd5b50600b546104229062010000900460ff1681565b34801561061b575f80fd5b50610401611222565b34801561062f575f80fd5b5061040161063e366004612c94565b611261565b610401610651366004612ceb565b6112b6565b348015610661575f80fd5b50610401610670366004612c67565b6112d0565b348015610680575f80fd5b5061069461068f366004612d24565b611338565b60405161ffff909116815260200161042e565b3480156106b2575f80fd5b506106d56106c1366004612d24565b600a6020525f908152604090205460010b81565b60405160019190910b815260200161042e565b3480156106f3575f80fd5b50610422610702366004612c67565b60196020525f908152604090205460ff1681565b348015610721575f80fd5b50600b54610422906301000000900460ff1681565b610401610744366004613020565b611368565b348015610754575f80fd5b506104ba600d5481565b348015610769575f80fd5b50610694610778366004612c94565b60146020525f908152604090205461ffff1681565b348015610798575f80fd5b506106946107a7366004612c67565b60156020525f908152604090205461ffff1681565b3480156107c7575f80fd5b506104776107d6366004612c67565b61169c565b3480156107e6575f80fd5b506104ba60105481565b6104016107fe3660046130b6565b6116a6565b34801561080e575f80fd5b5061044b611785565b348015610822575f80fd5b506104ba610831366004612d24565b611792565b348015610841575f80fd5b506104016117de565b348015610855575f80fd5b506104016117f1565b348015610869575f80fd5b50610401611832565b34801561087d575f80fd5b5061044b611876565b348015610891575f80fd5b506104016108a0366004613157565b611883565b3480156108b0575f80fd5b506009546001600160a01b0316610477565b3480156108cd575f80fd5b5061044b611966565b3480156108e1575f80fd5b506104ba6108f0366004612c94565b611975565b610401610903366004613020565b6119ac565b348015610913575f80fd5b506104ba600c5481565b348015610928575f80fd5b50600b546104229060ff1681565b348015610941575f80fd5b506104016109503660046131ac565b611c72565b348015610960575f80fd5b50601354610477906001600160a01b031681565b34801561097f575f80fd5b5060095461069490600160a01b900461ffff1681565b3480156109a0575f80fd5b50600f546104229060ff1681565b3480156109b9575f80fd5b50610401611cdd565b6104016109d03660046131dd565b611d20565b3480156109e0575f80fd5b50600b546104229065010000000000900460ff1681565b348015610a02575f80fd5b50610401610a11366004613253565b611d6a565b348015610a21575f80fd5b50610401611e38565b348015610a35575f80fd5b5061044b610a44366004612c67565b611e82565b348015610a54575f80fd5b506104ba610a63366004612c67565b60176020525f908152604090205481565b348015610a7f575f80fd5b50610401611f2a565b348015610a93575f80fd5b50610401610aa2366004612c67565b611f72565b610401610ab5366004613286565b611faa565b348015610ac5575f80fd5b506104016121c4565b348015610ad9575f80fd5b50610401612208565b348015610aed575f80fd5b50610422610afc3660046132f0565b61224e565b348015610b0c575f80fd5b50610401610b1b366004612c67565b61227b565b348015610b2b575f80fd5b50610422610b3a366004612c67565b60186020525f908152604090205460ff1681565b348015610b59575f80fd5b50610401610b68366004612d24565b6122b3565b348015610b78575f80fd5b50610401610b87366004612c67565b612329565b348015610b97575f80fd5b50610401612361565b348015610bab575f80fd5b506104016123a1565b6012546001600160a01b0316336001600160a01b031614610bf05760405162461bcd60e51b8152600401610be790613318565b60405180910390fd5b600f805460ff19166001179055565b5f6301ffc9a760e01b6001600160e01b031983161480610c2f57506380ac58cd60e01b6001600160e01b03198316145b80610c4a5750635b5e139f60e01b6001600160e01b03198316145b92915050565b606060028054610c5f90613340565b80601f0160208091040260200160405190810160405280929190818152602001828054610c8b90613340565b8015610cd65780601f10610cad57610100808354040283529160200191610cd6565b820191905f5260205f20905b815481529060010190602001808311610cb957829003601f168201915b5050505050905090565b5f610cea826123e0565b610d07576040516333d1c03960e21b815260040160405180910390fd5b505f908152600660205260409020546001600160a01b031690565b5f610d2c8261169c565b9050336001600160a01b03821614610d6557610d48813361224e565b610d65576040516367d9dca160e11b815260040160405180910390fd5b5f8281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6012546001600160a01b0316336001600160a01b031614610df35760405162461bcd60e51b8152600401610be790613318565b600b805463ff00000019169055565b5f610e0c82612405565b9050836001600160a01b0316816001600160a01b031614610e3f5760405162a1148160e81b815260040160405180910390fd5b5f8281526006602052604090208054610e6a8187335b6001600160a01b039081169116811491141790565b610e9557610e78863361224e565b610e9557604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610ebc57604051633a954ecd60e21b815260040160405180910390fd5b8015610ec6575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b84169003610f5257600184015f818152600460205260408120549003610f50575f548114610f50575f8181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03165f805160206137aa83398151915260405160405180910390a45b505050505050565b6012546001600160a01b0316336001600160a01b031614610fbc5760405162461bcd60e51b8152600401610be790613318565b601380546001600160a01b0319166001600160a01b0392909216919091179055565b6012546001600160a01b0316336001600160a01b0316146110115760405162461bcd60e51b8152600401610be790613318565b600b805460ff19166001179055565b6012546001600160a01b0316336001600160a01b0316146110535760405162461bcd60e51b8152600401610be790613318565b80518251146110745760405162461bcd60e51b8152600401610be790613378565b5f5b82518161ffff16101561110257818161ffff1681518110611099576110996133a0565b6020026020010151600a5f858461ffff16815181106110ba576110ba6133a0565b6020908102919091018101516001600160a01b031682528101919091526040015f20805461ffff191661ffff92909216919091179055806110fa816133c8565b915050611076565b505050565b6012546001600160a01b0316336001600160a01b03161461113a5760405162461bcd60e51b8152600401610be790613318565b600b805465ff0000000000191665010000000000179055565b601b805461116090613340565b80601f016020809104026020016040519081016040528092919081815260200182805461118c90613340565b80156111d75780601f106111ae576101008083540402835291602001916111d7565b820191905f5260205f20905b8154815290600101906020018083116111ba57829003601f168201915b505050505081565b6012546001600160a01b0316336001600160a01b0316146112125760405162461bcd60e51b8152600401610be790613318565b600e61121e828261342c565b5050565b6012546001600160a01b0316336001600160a01b0316146112555760405162461bcd60e51b8152600401610be790613318565b600f805460ff19169055565b6012546001600160a01b0316336001600160a01b0316146112945760405162461bcd60e51b8152600401610be790613318565b6009805461ffff909216600160a01b0261ffff60a01b19909216919091179055565b61110283838360405180602001604052805f815250611d20565b600b54640100000000900460ff1661132a5760405162461bcd60e51b815260206004820152601c60248201527f546f6b656e206275726e696e67206973206e6f7420656e61626c6564000000006044820152606401610be7565b611335816001612466565b50565b6001600160a01b0381165f908152600a6020526040812054819061136190600190810b906134e7565b9392505050565b611370612593565b600b54610100900460ff166113c75760405162461bcd60e51b815260206004820152601e60248201527f416c6c6f77206c697374206d696e74696e67206e6f7420656e61626c656400006044820152606401610be7565b8361ffff166113d584611975565b6113df919061350a565b34146113fd5760405162461bcd60e51b8152600401610be790613521565b5f8461ffff16116114205760405162461bcd60e51b8152600401610be790613558565b61ffff8381165f90815260146020526040902054818616911610156114575760405162461bcd60e51b8152600401610be79061358f565b81518461ffff161461147b5760405162461bcd60e51b8152600401610be7906135c6565b611484826125ec565b6114a05760405162461bcd60e51b8152600401610be79061360b565b5f61ffff85166114c8335b6001600160a01b03165f9081526005602052604090205460c01c90565b6114d29190613639565b600954909150600160a01b900461ffff166001600160401b038216111561153b5760405162461bcd60e51b815260206004820152601e60248201527f45786365656473207065722061646472657373206d696e74206c696d697400006044820152606401610be7565b6115ba8787808060200260200160405190810160405280939291908181526020018383602002808284375f9201919091525050600c5491503390505b60405160200161159f919060609190911b6bffffffffffffffffffffffff1916815260140190565b6040516020818303038152906040528051906020012061265c565b6116065760405162461bcd60e51b815260206004820152601860248201527f41646472657373206e6f7420696e20616c6c6f776c69737400000000000000006044820152606401610be7565b6011546040516001600160a01b03909116903480156108fc02915f818181858888f1935050505015801561163c573d5f803e3d5ffd5b5061164c335b8661ffff16612671565b6116568585612743565b6116618584846127c7565b611691335b6001600160a01b03165f90815260056020526040902080546001600160c01b031660c084901b179055565b50610f816001600855565b5f610c4a82612405565b6116ae612593565b600b5465010000000000900460ff166117095760405162461bcd60e51b815260206004820152601d60248201527f436c61696d73206275726e696e67206973206e6f7420656e61626c65640000006044820152606401610be7565b5f5b81811015611743575f838383818110611726576117266133a0565b90506020020135905061173a816001612466565b5060010161170b565b506011546040516001600160a01b03909116903480156108fc02915f818181858888f1935050505015801561177a573d5f803e3d5ffd5b5061121e6001600855565b600e805461116090613340565b5f6001600160a01b0382166117ba576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03165f908152600560205260409020546001600160401b031690565b6117e6612874565b6117ef5f6128ce565b565b6012546001600160a01b0316336001600160a01b0316146118245760405162461bcd60e51b8152600401610be790613318565b600b805462ff000019169055565b6012546001600160a01b0316336001600160a01b0316146118655760405162461bcd60e51b8152600401610be790613318565b600b805461ff001916610100179055565b601a805461116090613340565b6012546001600160a01b0316336001600160a01b0316146118b65760405162461bcd60e51b8152600401610be790613318565b80518251146118d75760405162461bcd60e51b8152600401610be790613378565b5f5b82518161ffff16101561110257818161ffff16815181106118fc576118fc6133a0565b602002602001015160145f858461ffff168151811061191d5761191d6133a0565b602002602001015161ffff1661ffff1681526020019081526020015f205f6101000a81548161ffff021916908361ffff160217905550808061195e906133c8565b9150506118d9565b606060038054610c5f90613340565b61ffff81165f90815260166020526040812054810361199657505060105490565b5061ffff165f9081526016602052604090205490565b6119b4612593565b600b5460ff16611a065760405162461bcd60e51b815260206004820152601c60248201527f4172742050617373206d696e74696e67206e6f7420656e61626c6564000000006044820152606401610be7565b8361ffff16611a1484611975565b611a1e919061350a565b3414611a3c5760405162461bcd60e51b8152600401610be790613521565b5f8461ffff1611611a5f5760405162461bcd60e51b8152600401610be790613558565b61ffff8381165f9081526014602052604090205481861691161015611a965760405162461bcd60e51b8152600401610be79061358f565b81518461ffff1614611aba5760405162461bcd60e51b8152600401610be7906135c6565b611ac3826125ec565b611adf5760405162461bcd60e51b8152600401610be79061360b565b61ffff8416611aed33611338565b61ffff161015611b4a5760405162461bcd60e51b815260206004820152602260248201527f4578636565647320417274205061737320686f6c646572206d696e74206c696d6044820152611a5d60f21b6064820152608401610be7565b611b8a8686808060200260200160405190810160405280939291908181526020018383602002808284375f9201919091525050600d549150339050611577565b611bcf5760405162461bcd60e51b81526020600482015260166024820152752737ba1030b71020b93a102830b9b9903437b63232b960511b6044820152606401610be7565b6011546040516001600160a01b03909116903480156108fc02915f818181858888f19350505050158015611c05573d5f803e3d5ffd5b50611c14338561ffff16612671565b611c1e8484612743565b611c298483836127c7565b335f908152600a6020526040902054611c4690859060010b613660565b335f908152600a60205260409020805461ffff191661ffff929092169190911790556001600855610f81565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6012546001600160a01b0316336001600160a01b031614611d105760405162461bcd60e51b8152600401610be790613318565b600b805464ff0000000019169055565b611d2b848484610e02565b6001600160a01b0383163b15611d6457611d478484848461291f565b611d64576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6012546001600160a01b0316336001600160a01b031614611d9d5760405162461bcd60e51b8152600401610be790613318565b8051825114611dbe5760405162461bcd60e51b8152600401610be790613378565b5f5b81518161ffff16101561110257828161ffff1681518110611de357611de36133a0565b602002602001015160165f848461ffff1681518110611e0457611e046133a0565b602002602001015161ffff1661ffff1681526020019081526020015f20819055508080611e30906133c8565b915050611dc0565b6012546001600160a01b0316336001600160a01b031614611e6b5760405162461bcd60e51b8152600401610be790613318565b600b805464ff000000001916640100000000179055565b6060611e8d826123e0565b611ed05760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88191bd95cc81b9bdd08195e1a5cdd60621b6044820152606401610be7565b600f545f9060ff16611ee25782611ef5565b5f8381526015602052604090205461ffff165b9050600e611f0282612a07565b604051602001611f13929190613683565b604051602081830303815290604052915050919050565b6012546001600160a01b0316336001600160a01b031614611f5d5760405162461bcd60e51b8152600401610be790613318565b600b805463ff00000019166301000000179055565b6012546001600160a01b0316336001600160a01b031614611fa55760405162461bcd60e51b8152600401610be790613318565b600d55565b611fb2612593565b600b5462010000900460ff166120005760405162461bcd60e51b8152602060048201526013602482015272135a5b9d1a5b99c81b9bdd08195b98589b1959606a1b6044820152606401610be7565b8361ffff1661200e84611975565b612018919061350a565b34146120365760405162461bcd60e51b8152600401610be790613521565b5f8461ffff16116120595760405162461bcd60e51b8152600401610be790613558565b61ffff8381165f90815260146020526040902054818616911610156120905760405162461bcd60e51b8152600401610be79061358f565b81518461ffff16146120b45760405162461bcd60e51b8152600401610be7906135c6565b6120bd826125ec565b6120d95760405162461bcd60e51b8152600401610be79061360b565b5f61ffff85166120e8336114ab565b6120f29190613639565b600954909150600160a01b900461ffff166001600160401b038216111561215b5760405162461bcd60e51b815260206004820152601e60248201527f45786365656473207065722061646472657373206d696e74206c696d697400006044820152606401610be7565b6011546040516001600160a01b03909116903480156108fc02915f818181858888f19350505050158015612191573d5f803e3d5ffd5b5061219b33611642565b6121a58585612743565b6121b08584846127c7565b6121b933611666565b50611d646001600855565b6012546001600160a01b0316336001600160a01b0316146121f75760405162461bcd60e51b8152600401610be790613318565b600b805465ff000000000019169055565b6012546001600160a01b0316336001600160a01b03161461223b5760405162461bcd60e51b8152600401610be790613318565b600b805462ff0000191662010000179055565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b6012546001600160a01b0316336001600160a01b0316146122ae5760405162461bcd60e51b8152600401610be790613318565b600c55565b6122bb612874565b6001600160a01b0381166123205760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610be7565b611335816128ce565b6012546001600160a01b0316336001600160a01b03161461235c5760405162461bcd60e51b8152600401610be790613318565b601055565b6012546001600160a01b0316336001600160a01b0316146123945760405162461bcd60e51b8152600401610be790613318565b600b805461ff0019169055565b6012546001600160a01b0316336001600160a01b0316146123d45760405162461bcd60e51b8152600401610be790613318565b600b805460ff19169055565b5f805482108015610c4a5750505f90815260046020526040902054600160e01b161590565b5f815f5481101561244d575f8181526004602052604081205490600160e01b8216900361244b575b805f0361136157505f19015f8181526004602052604090205461242d565b505b604051636f96cda160e11b815260040160405180910390fd5b5f61247083612405565b9050805f8061248c865f90815260066020526040902080549091565b9150915084156124cc576124a1818433610e55565b6124cc576124af833361224e565b6124cc57604051632ce44b5f60e11b815260040160405180910390fd5b80156124d6575f82555b6001600160a01b0383165f81815260056020526040902080546fffffffffffffffffffffffffffffffff0190554260a01b17600360e01b175f87815260046020526040812091909155600160e11b8516900361255f57600186015f81815260046020526040812054900361255d575f54811461255d575f8181526004602052604090208590555b505b60405186905f906001600160a01b038616905f805160206137aa833981519152908390a45050600180548101905550505050565b6002600854036125e55760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610be7565b6002600855565b5f805b82518160ff161015612653575f838260ff1681518110612611576126116133a0565b6020908102919091018101515f818152601890925260409091205490915060ff161561264057505f9392505050565b508061264b81613706565b9150506125ef565b50600192915050565b5f826126688584612a96565b14949350505050565b5f8054908290036126955760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b0383165f8181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083905f805160206137aa8339815191528180a4600183015b81811461271b5780835f5f805160206137aa8339815191525f80a46001016126f8565b50815f0361273b57604051622e076360e81b815260040160405180910390fd5b5f5550505050565b61ffff8082165f9081526014602052604090205461276391849116613724565b61ffff8281165f908152601460205260408120805461ffff191693831693909317909255815490841690612797919061373f565b90505b5f54811015611102575f818152601560205260409020805461ffff191661ffff841617905560010161279a565b5f808461ffff166127d65f5490565b6127e0919061373f565b90505b5f5481101561286d575f848360ff1681518110612802576128026133a0565b6020908102919091018101515f848152601783526040808220839055828252601890935291909120805460ff1916600117905590508315612857575f828152601960205260409020805460ff19168515151790555b8261286181613706565b935050506001016127e3565b5050505050565b6009546001600160a01b031633146117ef5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610be7565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a0290612953903390899088908890600401613752565b6020604051808303815f875af192505050801561298d575060408051601f3d908101601f1916820190925261298a9181019061378e565b60015b6129e9573d8080156129ba576040519150601f19603f3d011682016040523d82523d5f602084013e6129bf565b606091505b5080515f036129e1576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b60605f612a1383612ad8565b60010190505f816001600160401b03811115612a3157612a31612d3d565b6040519080825280601f01601f191660200182016040528015612a5b576020820181803683370190505b5090508181016020015b5f19016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084612a6557509392505050565b5f81815b8451811015612ad057612ac682868381518110612ab957612ab96133a0565b6020026020010151612baf565b9150600101612a9a565b509392505050565b5f8072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310612b165772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310612b42576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310612b6057662386f26fc10000830492506010015b6305f5e1008310612b78576305f5e100830492506008015b6127108310612b8c57612710830492506004015b60648310612b9e576064830492506002015b600a8310610c4a5760010192915050565b5f818310612bc9575f828152602084905260409020611361565b505f9182526020526040902090565b6001600160e01b031981168114611335575f80fd5b5f60208284031215612bfd575f80fd5b813561136181612bd8565b5f5b83811015612c22578181015183820152602001612c0a565b50505f910152565b5f8151808452612c41816020860160208601612c08565b601f01601f19169290920160200192915050565b602081525f6113616020830184612c2a565b5f60208284031215612c77575f80fd5b5035919050565b803561ffff81168114612c8f575f80fd5b919050565b5f60208284031215612ca4575f80fd5b61136182612c7e565b80356001600160a01b0381168114612c8f575f80fd5b5f8060408385031215612cd4575f80fd5b612cdd83612cad565b946020939093013593505050565b5f805f60608486031215612cfd575f80fd5b612d0684612cad565b9250612d1460208501612cad565b9150604084013590509250925092565b5f60208284031215612d34575f80fd5b61136182612cad565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f191681016001600160401b0381118282101715612d7957612d79612d3d565b604052919050565b5f6001600160401b03821115612d9957612d99612d3d565b5060051b60200190565b5f82601f830112612db2575f80fd5b81356020612dc7612dc283612d81565b612d51565b8083825260208201915060208460051b870101935086841115612de8575f80fd5b602086015b84811015612e125780358060010b8114612e05575f80fd5b8352918301918301612ded565b509695505050505050565b5f8060408385031215612e2e575f80fd5b82356001600160401b0380821115612e44575f80fd5b818501915085601f830112612e57575f80fd5b81356020612e67612dc283612d81565b82815260059290921b84018101918181019089841115612e85575f80fd5b948201945b83861015612eaa57612e9b86612cad565b82529482019490820190612e8a565b96505086013592505080821115612ebf575f80fd5b50612ecc85828601612da3565b9150509250929050565b5f6001600160401b03831115612eee57612eee612d3d565b612f01601f8401601f1916602001612d51565b9050828152838383011115612f14575f80fd5b828260208301375f602084830101529392505050565b5f60208284031215612f3a575f80fd5b81356001600160401b03811115612f4f575f80fd5b8201601f81018413612f5f575f80fd5b6129ff84823560208401612ed6565b5f8083601f840112612f7e575f80fd5b5081356001600160401b03811115612f94575f80fd5b6020830191508360208260051b8501011115612fae575f80fd5b9250929050565b5f82601f830112612fc4575f80fd5b81356020612fd4612dc283612d81565b8083825260208201915060208460051b870101935086841115612ff5575f80fd5b602086015b84811015612e125780358352918301918301612ffa565b80358015158114612c8f575f80fd5b5f805f805f8060a08789031215613035575f80fd5b86356001600160401b038082111561304b575f80fd5b6130578a838b01612f6e565b909850965086915061306b60208a01612c7e565b955061307960408a01612c7e565b9450606089013591508082111561308e575f80fd5b5061309b89828a01612fb5565b9250506130aa60808801613011565b90509295509295509295565b5f80602083850312156130c7575f80fd5b82356001600160401b038111156130dc575f80fd5b6130e885828601612f6e565b90969095509350505050565b5f82601f830112613103575f80fd5b81356020613113612dc283612d81565b8083825260208201915060208460051b870101935086841115613134575f80fd5b602086015b84811015612e125761314a81612c7e565b8352918301918301613139565b5f8060408385031215613168575f80fd5b82356001600160401b038082111561317e575f80fd5b61318a868387016130f4565b9350602085013591508082111561319f575f80fd5b50612ecc858286016130f4565b5f80604083850312156131bd575f80fd5b6131c683612cad565b91506131d460208401613011565b90509250929050565b5f805f80608085870312156131f0575f80fd5b6131f985612cad565b935061320760208601612cad565b92506040850135915060608501356001600160401b03811115613228575f80fd5b8501601f81018713613238575f80fd5b61324787823560208401612ed6565b91505092959194509250565b5f8060408385031215613264575f80fd5b82356001600160401b038082111561327a575f80fd5b61318a86838701612fb5565b5f805f8060808587031215613299575f80fd5b6132a285612c7e565b93506132b060208601612c7e565b925060408501356001600160401b038111156132ca575f80fd5b6132d687828801612fb5565b9250506132e560608601613011565b905092959194509250565b5f8060408385031215613301575f80fd5b61330a83612cad565b91506131d460208401612cad565b6020808252600e908201526d139bdd08105d5d1a1bdc9a5e995960921b604082015260600190565b600181811c9082168061335457607f821691505b60208210810361337257634e487b7160e01b5f52602260045260245ffd5b50919050565b6020808252600e908201526d1a5b98dbdc9c9958dd081b1a5cdd60921b604082015260600190565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b5f61ffff8083168181036133de576133de6133b4565b6001019392505050565b601f82111561110257805f5260205f20601f840160051c8101602085101561340d5750805b601f840160051c820191505b8181101561286d575f8155600101613419565b81516001600160401b0381111561344557613445612d3d565b613459816134538454613340565b846133e8565b602080601f83116001811461348c575f84156134755750858301515b5f19600386901b1c1916600185901b178555610f81565b5f85815260208120601f198616915b828110156134ba5788860151825594840194600190910190840161349b565b50858210156134d757878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b600181810b9083900b01617fff8113617fff1982121715610c4a57610c4a6133b4565b8082028115828204841417610c4a57610c4a6133b4565b6020808252601e908201527f496e636f727265637420616d6f756e74206f662065746865722073656e740000604082015260600190565b60208082526019908201527f4d757374206d696e7420706f73697469766520616d6f756e7400000000000000604082015260600190565b6020808252601c908201527f4d696e74206578636565647320636f6c6c656374696f6e2073697a6500000000604082015260600190565b60208082526025908201527f496e636f727265637420616d6f756e74206f6620746f6b656e20686173686573604082015264081cd95b9d60da1b606082015260800190565b602080825260149082015273088eae0d8d2c6c2e8ca40e8ded6cadc40d0c2e6d60631b604082015260600190565b6001600160401b03818116838216019080821115613659576136596133b4565b5092915050565b600182810b9082900b03617fff198112617fff82131715610c4a57610c4a6133b4565b5f80845461369081613340565b600182811680156136a857600181146136bd576136e9565b60ff19841687528215158302870194506136e9565b885f526020805f205f5b858110156136e05781548a8201529084019082016136c7565b50505082870194505b5050505083516136fd818360208801612c08565b01949350505050565b5f60ff821660ff810361371b5761371b6133b4565b60010192915050565b61ffff828116828216039080821115613659576136596133b4565b81810381811115610c4a57610c4a6133b4565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f9061378490830184612c2a565b9695505050505050565b5f6020828403121561379e575f80fd5b815161136181612bd856feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220fbe5a88ecc60f398746341ea7ceaff84c219f6d12b7363557644eef02b1d315964736f6c63430008160033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000180c8ecbc578b93457f9b36d948445f85ff9114818662505a3f33f017339f803428c8ecbc578b93457f9b36d948445f85ff9114818662505a3f33f017339f8034280000000000000000000000003ff67a5cfaddcb7445de2e31071e45fcc0adda77000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fa000000000000000000000000000000000000000000000000000000000000000942617461696c6c65730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000542544c4c530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006697066733a2f0000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): Batailles
Arg [1] : symbol_ (string): BTLLS
Arg [2] : baseURI_ (string): ipfs:/
Arg [3] : artPassMerkleRoot_ (bytes32): 0xc8ecbc578b93457f9b36d948445f85ff9114818662505a3f33f017339f803428
Arg [4] : allowListMerkleRoot_ (bytes32): 0xc8ecbc578b93457f9b36d948445f85ff9114818662505a3f33f017339f803428
Arg [5] : iconicAddress_ (address): 0x3FF67A5CFaDdcb7445De2e31071e45Fcc0AdDA77
Arg [6] : mintPrice_ (uint256): 0
Arg [7] : editionSupply_ (uint16): 250

-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [3] : c8ecbc578b93457f9b36d948445f85ff9114818662505a3f33f017339f803428
Arg [4] : c8ecbc578b93457f9b36d948445f85ff9114818662505a3f33f017339f803428
Arg [5] : 0000000000000000000000003ff67a5cfaddcb7445de2e31071e45fcc0adda77
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [7] : 00000000000000000000000000000000000000000000000000000000000000fa
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [9] : 42617461696c6c65730000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [11] : 42544c4c53000000000000000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [13] : 697066733a2f0000000000000000000000000000000000000000000000000000


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.