OP Sepolia Testnet

Contract

0x97bc1D08465F70039dda8Fe22bdEdF110D2bd8A5

Overview

ETH Balance

0 ETH

Multichain Info

N/A
Transaction Hash
Method
Block
From
To

There are no matching entries

Please try again later

Advanced mode:
Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PlonkVerifier

Compiler Version
v0.8.23+commit.f704f362

Optimization Enabled:
No with 200 runs

Other Settings:
paris EvmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 1 : commit-1-100_verifier.sol
// SPDX-License-Identifier: GPL-3.0
/*
    Copyright 2021 0KIMS association.

    This file is generated with [snarkJS](https://github.com/iden3/snarkjs).

    snarkJS is a free software: you can redistribute it and/or modify it
    under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    snarkJS is distributed in the hope that it will be useful, but WITHOUT
    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
    or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
    License for more details.

    You should have received a copy of the GNU General Public License
    along with snarkJS. If not, see <https://www.gnu.org/licenses/>.
*/

pragma solidity >=0.7.0 <0.9.0;

contract PlonkVerifier {
  // Omega
  uint256 constant w1 =
    1120550406532664055539694724667294622065367841900378087843176726913374367458;
  // Scalar field size
  uint256 constant q =
    21888242871839275222246405745257275088548364400416034343698204186575808495617;
  // Base field size
  uint256 constant qf =
    21888242871839275222246405745257275088696311157297823662689037894645226208583;

  // [1]_1
  uint256 constant G1x = 1;
  uint256 constant G1y = 2;
  // [1]_2
  uint256 constant G2x1 =
    10857046999023057135944570762232829481370756359578518086990519993285655852781;
  uint256 constant G2x2 =
    11559732032986387107991004021392285783925812861821192530917403151452391805634;
  uint256 constant G2y1 =
    8495653923123431417604973247489272438418190587263600148770280649306958101930;
  uint256 constant G2y2 =
    4082367875863433681332203403145435568316851327593401208105741076214120093531;

  // Verification Key data
  uint32 constant n = 2048;
  uint16 constant nPublic = 2;
  uint16 constant nLagrange = 2;

  uint256 constant Qmx =
    18174845305899674264808563612736751381095122812823221529679107745372109753190;
  uint256 constant Qmy =
    2363560275888184782353962091413040834620047274363883606565411010197555255151;
  uint256 constant Qlx =
    2019135932372107758157071751365905687440663097427286510622895981741271653330;
  uint256 constant Qly =
    7936755528711506850790284681086150187244128164441987080568836045600696966341;
  uint256 constant Qrx =
    14767332542003888116194564304530088204945661346099518856853743789002954398756;
  uint256 constant Qry =
    7136531790982979629178315617967897510075435394344527291797013362416937712041;
  uint256 constant Qox =
    7693861698579877375281135392485216591839084303386409300813119037324734252054;
  uint256 constant Qoy =
    12907947245195741385393620879916110341983335756679584740486195887459400562258;
  uint256 constant Qcx =
    10961226748895581670967668446613846913831447040069491396210297840666296751006;
  uint256 constant Qcy =
    10479205239079437565776283911835365064094654638174861969219422091347741919562;
  uint256 constant S1x =
    16240353105915804515812142187623985853816518525659411967883926130850572853519;
  uint256 constant S1y =
    14005210222754298028798884414711062120111674462238429195917937173611651189052;
  uint256 constant S2x =
    9332304627503192819371272166251519355601272268932680524281222933133851388897;
  uint256 constant S2y =
    14655522732937715552109358105581731689759771492764923804637756266910516513630;
  uint256 constant S3x =
    9378800594808390168473564377612273942338609899310991388097161680551011193554;
  uint256 constant S3y =
    984075965013980043210990708702913407425756947223984972830086590242655255482;
  uint256 constant k1 = 2;
  uint256 constant k2 = 3;
  uint256 constant X2x1 =
    21831381940315734285607113342023901060522397560371972897001948545212302161822;
  uint256 constant X2x2 =
    17231025384763736816414546592865244497437017442647097510447326538965263639101;
  uint256 constant X2y1 =
    2388026358213174446665280700919698872609886601280537296205114254867301080648;
  uint256 constant X2y2 =
    11507326595632554467052522095592665270651932854513688777769618397986436103170;

  // Proof calldata
  // Byte offset of every parameter of the calldata
  // Polynomial commitments
  uint16 constant pA = 4 + 0;
  uint16 constant pB = 4 + 64;
  uint16 constant pC = 4 + 128;
  uint16 constant pZ = 4 + 192;
  uint16 constant pT1 = 4 + 256;
  uint16 constant pT2 = 4 + 320;
  uint16 constant pT3 = 4 + 384;
  uint16 constant pWxi = 4 + 448;
  uint16 constant pWxiw = 4 + 512;
  // Opening evaluations
  uint16 constant pEval_a = 4 + 576;
  uint16 constant pEval_b = 4 + 608;
  uint16 constant pEval_c = 4 + 640;
  uint16 constant pEval_s1 = 4 + 672;
  uint16 constant pEval_s2 = 4 + 704;
  uint16 constant pEval_zw = 4 + 736;

  // Memory data
  // Challenges
  uint16 constant pAlpha = 0;
  uint16 constant pBeta = 32;
  uint16 constant pGamma = 64;
  uint16 constant pXi = 96;
  uint16 constant pXin = 128;
  uint16 constant pBetaXi = 160;
  uint16 constant pV1 = 192;
  uint16 constant pV2 = 224;
  uint16 constant pV3 = 256;
  uint16 constant pV4 = 288;
  uint16 constant pV5 = 320;
  uint16 constant pU = 352;

  uint16 constant pPI = 384;
  uint16 constant pEval_r0 = 416;
  uint16 constant pD = 448;
  uint16 constant pF = 512;
  uint16 constant pE = 576;
  uint16 constant pTmp = 640;
  uint16 constant pAlpha2 = 704;
  uint16 constant pZh = 736;
  uint16 constant pZhInv = 768;

  uint16 constant pEval_l1 = 800;

  uint16 constant pEval_l2 = 832;

  uint16 constant lastMem = 864;

  function verifyProof(
    uint256[24] calldata _proof,
    uint256[2] calldata _pubSignals
  ) public view returns (bool) {
    assembly {
      /////////
      // Computes the inverse using the extended euclidean algorithm
      /////////
      function inverse(a, q) -> inv {
        let t := 0
        let newt := 1
        let r := q
        let newr := a
        let quotient
        let aux

        for {} newr {} {
          quotient := sdiv(r, newr)
          aux := sub(t, mul(quotient, newt))
          t := newt
          newt := aux

          aux := sub(r, mul(quotient, newr))
          r := newr
          newr := aux
        }

        if gt(r, 1) {
          revert(0, 0)
        }
        if slt(t, 0) {
          t := add(t, q)
        }

        inv := t
      }

      ///////
      // Computes the inverse of an array of values
      // See https://vitalik.ca/general/2018/07/21/starks_part_3.html in section where explain fields operations
      //////
      function inverseArray(pVals, n) {
        let pAux := mload(0x40) // Point to the next free position
        let pIn := pVals
        let lastPIn := add(pVals, mul(n, 32)) // Read n elemnts
        let acc := mload(pIn) // Read the first element
        pIn := add(pIn, 32) // Point to the second element
        let inv

        for {} lt(pIn, lastPIn) {
          pAux := add(pAux, 32)
          pIn := add(pIn, 32)
        } {
          mstore(pAux, acc)
          acc := mulmod(acc, mload(pIn), q)
        }
        acc := inverse(acc, q)

        // At this point pAux pint to the next free position we substract 1 to point to the last used
        pAux := sub(pAux, 32)
        // pIn points to the n+1 element, we substract to point to n
        pIn := sub(pIn, 32)
        lastPIn := pVals // We don't process the first element
        for {} gt(pIn, lastPIn) {
          pAux := sub(pAux, 32)
          pIn := sub(pIn, 32)
        } {
          inv := mulmod(acc, mload(pAux), q)
          acc := mulmod(acc, mload(pIn), q)
          mstore(pIn, inv)
        }
        // pIn points to first element, we just set it.
        mstore(pIn, acc)
      }

      function checkField(v) {
        if iszero(lt(v, q)) {
          mstore(0, 0)
          return(0, 0x20)
        }
      }

      function checkInput() {
        checkField(calldataload(pEval_a))
        checkField(calldataload(pEval_b))
        checkField(calldataload(pEval_c))
        checkField(calldataload(pEval_s1))
        checkField(calldataload(pEval_s2))
        checkField(calldataload(pEval_zw))
      }

      function calculateChallenges(pMem, pPublic) {
        let beta
        let aux

        let mIn := mload(0x40) // Pointer to the next free memory position

        // Compute challenge.beta & challenge.gamma
        mstore(mIn, Qmx)
        mstore(add(mIn, 32), Qmy)
        mstore(add(mIn, 64), Qlx)
        mstore(add(mIn, 96), Qly)
        mstore(add(mIn, 128), Qrx)
        mstore(add(mIn, 160), Qry)
        mstore(add(mIn, 192), Qox)
        mstore(add(mIn, 224), Qoy)
        mstore(add(mIn, 256), Qcx)
        mstore(add(mIn, 288), Qcy)
        mstore(add(mIn, 320), S1x)
        mstore(add(mIn, 352), S1y)
        mstore(add(mIn, 384), S2x)
        mstore(add(mIn, 416), S2y)
        mstore(add(mIn, 448), S3x)
        mstore(add(mIn, 480), S3y)

        mstore(add(mIn, 512), calldataload(add(pPublic, 0)))

        mstore(add(mIn, 544), calldataload(add(pPublic, 32)))

        mstore(add(mIn, 576), calldataload(pA))
        mstore(add(mIn, 608), calldataload(add(pA, 32)))
        mstore(add(mIn, 640), calldataload(pB))
        mstore(add(mIn, 672), calldataload(add(pB, 32)))
        mstore(add(mIn, 704), calldataload(pC))
        mstore(add(mIn, 736), calldataload(add(pC, 32)))

        beta := mod(keccak256(mIn, 768), q)
        mstore(add(pMem, pBeta), beta)

        // challenges.gamma
        mstore(add(pMem, pGamma), mod(keccak256(add(pMem, pBeta), 32), q))

        // challenges.alpha
        mstore(mIn, mload(add(pMem, pBeta)))
        mstore(add(mIn, 32), mload(add(pMem, pGamma)))
        mstore(add(mIn, 64), calldataload(pZ))
        mstore(add(mIn, 96), calldataload(add(pZ, 32)))

        aux := mod(keccak256(mIn, 128), q)
        mstore(add(pMem, pAlpha), aux)
        mstore(add(pMem, pAlpha2), mulmod(aux, aux, q))

        // challenges.xi
        mstore(mIn, aux)
        mstore(add(mIn, 32), calldataload(pT1))
        mstore(add(mIn, 64), calldataload(add(pT1, 32)))
        mstore(add(mIn, 96), calldataload(pT2))
        mstore(add(mIn, 128), calldataload(add(pT2, 32)))
        mstore(add(mIn, 160), calldataload(pT3))
        mstore(add(mIn, 192), calldataload(add(pT3, 32)))

        aux := mod(keccak256(mIn, 224), q)
        mstore(add(pMem, pXi), aux)

        // challenges.v
        mstore(mIn, aux)
        mstore(add(mIn, 32), calldataload(pEval_a))
        mstore(add(mIn, 64), calldataload(pEval_b))
        mstore(add(mIn, 96), calldataload(pEval_c))
        mstore(add(mIn, 128), calldataload(pEval_s1))
        mstore(add(mIn, 160), calldataload(pEval_s2))
        mstore(add(mIn, 192), calldataload(pEval_zw))

        let v1 := mod(keccak256(mIn, 224), q)
        mstore(add(pMem, pV1), v1)

        // challenges.beta * challenges.xi
        mstore(add(pMem, pBetaXi), mulmod(beta, aux, q))

        // challenges.xi^n

        aux := mulmod(aux, aux, q)

        aux := mulmod(aux, aux, q)

        aux := mulmod(aux, aux, q)

        aux := mulmod(aux, aux, q)

        aux := mulmod(aux, aux, q)

        aux := mulmod(aux, aux, q)

        aux := mulmod(aux, aux, q)

        aux := mulmod(aux, aux, q)

        aux := mulmod(aux, aux, q)

        aux := mulmod(aux, aux, q)

        aux := mulmod(aux, aux, q)

        mstore(add(pMem, pXin), aux)

        // Zh
        aux := mod(add(sub(aux, 1), q), q)
        mstore(add(pMem, pZh), aux)
        mstore(add(pMem, pZhInv), aux) // We will invert later together with lagrange pols

        // challenges.v^2, challenges.v^3, challenges.v^4, challenges.v^5
        aux := mulmod(v1, v1, q)
        mstore(add(pMem, pV2), aux)
        aux := mulmod(aux, v1, q)
        mstore(add(pMem, pV3), aux)
        aux := mulmod(aux, v1, q)
        mstore(add(pMem, pV4), aux)
        aux := mulmod(aux, v1, q)
        mstore(add(pMem, pV5), aux)

        // challenges.u
        mstore(mIn, calldataload(pWxi))
        mstore(add(mIn, 32), calldataload(add(pWxi, 32)))
        mstore(add(mIn, 64), calldataload(pWxiw))
        mstore(add(mIn, 96), calldataload(add(pWxiw, 32)))

        mstore(add(pMem, pU), mod(keccak256(mIn, 128), q))
      }

      function calculateLagrange(pMem) {
        let w := 1

        mstore(add(pMem, pEval_l1), mulmod(n, mod(add(sub(mload(add(pMem, pXi)), w), q), q), q))

        w := mulmod(w, w1, q)

        mstore(add(pMem, pEval_l2), mulmod(n, mod(add(sub(mload(add(pMem, pXi)), w), q), q), q))

        inverseArray(add(pMem, pZhInv), 3)

        let zh := mload(add(pMem, pZh))
        w := 1

        mstore(add(pMem, pEval_l1), mulmod(mload(add(pMem, pEval_l1)), zh, q))

        w := mulmod(w, w1, q)

        mstore(add(pMem, pEval_l2), mulmod(w, mulmod(mload(add(pMem, pEval_l2)), zh, q), q))
      }

      function calculatePI(pMem, pPub) {
        let pl := 0

        pl := mod(
          add(sub(pl, mulmod(mload(add(pMem, pEval_l1)), calldataload(add(pPub, 0)), q)), q),
          q
        )

        pl := mod(
          add(sub(pl, mulmod(mload(add(pMem, pEval_l2)), calldataload(add(pPub, 32)), q)), q),
          q
        )

        mstore(add(pMem, pPI), pl)
      }

      function calculateR0(pMem) {
        let e1 := mload(add(pMem, pPI))

        let e2 := mulmod(mload(add(pMem, pEval_l1)), mload(add(pMem, pAlpha2)), q)

        let e3a := addmod(
          calldataload(pEval_a),
          mulmod(mload(add(pMem, pBeta)), calldataload(pEval_s1), q),
          q
        )
        e3a := addmod(e3a, mload(add(pMem, pGamma)), q)

        let e3b := addmod(
          calldataload(pEval_b),
          mulmod(mload(add(pMem, pBeta)), calldataload(pEval_s2), q),
          q
        )
        e3b := addmod(e3b, mload(add(pMem, pGamma)), q)

        let e3c := addmod(calldataload(pEval_c), mload(add(pMem, pGamma)), q)

        let e3 := mulmod(mulmod(e3a, e3b, q), e3c, q)
        e3 := mulmod(e3, calldataload(pEval_zw), q)
        e3 := mulmod(e3, mload(add(pMem, pAlpha)), q)

        let r0 := addmod(e1, mod(sub(q, e2), q), q)
        r0 := addmod(r0, mod(sub(q, e3), q), q)

        mstore(add(pMem, pEval_r0), r0)
      }

      function g1_set(pR, pP) {
        mstore(pR, mload(pP))
        mstore(add(pR, 32), mload(add(pP, 32)))
      }

      function g1_setC(pR, x, y) {
        mstore(pR, x)
        mstore(add(pR, 32), y)
      }

      function g1_calldataSet(pR, pP) {
        mstore(pR, calldataload(pP))
        mstore(add(pR, 32), calldataload(add(pP, 32)))
      }

      function g1_acc(pR, pP) {
        let mIn := mload(0x40)
        mstore(mIn, mload(pR))
        mstore(add(mIn, 32), mload(add(pR, 32)))
        mstore(add(mIn, 64), mload(pP))
        mstore(add(mIn, 96), mload(add(pP, 32)))

        let success := staticcall(sub(gas(), 2000), 6, mIn, 128, pR, 64)

        if iszero(success) {
          mstore(0, 0)
          return(0, 0x20)
        }
      }

      function g1_mulAcc(pR, pP, s) {
        let success
        let mIn := mload(0x40)
        mstore(mIn, mload(pP))
        mstore(add(mIn, 32), mload(add(pP, 32)))
        mstore(add(mIn, 64), s)

        success := staticcall(sub(gas(), 2000), 7, mIn, 96, mIn, 64)

        if iszero(success) {
          mstore(0, 0)
          return(0, 0x20)
        }

        mstore(add(mIn, 64), mload(pR))
        mstore(add(mIn, 96), mload(add(pR, 32)))

        success := staticcall(sub(gas(), 2000), 6, mIn, 128, pR, 64)

        if iszero(success) {
          mstore(0, 0)
          return(0, 0x20)
        }
      }

      function g1_mulAccC(pR, x, y, s) {
        let success
        let mIn := mload(0x40)
        mstore(mIn, x)
        mstore(add(mIn, 32), y)
        mstore(add(mIn, 64), s)

        success := staticcall(sub(gas(), 2000), 7, mIn, 96, mIn, 64)

        if iszero(success) {
          mstore(0, 0)
          return(0, 0x20)
        }

        mstore(add(mIn, 64), mload(pR))
        mstore(add(mIn, 96), mload(add(pR, 32)))

        success := staticcall(sub(gas(), 2000), 6, mIn, 128, pR, 64)

        if iszero(success) {
          mstore(0, 0)
          return(0, 0x20)
        }
      }

      function g1_mulSetC(pR, x, y, s) {
        let success
        let mIn := mload(0x40)
        mstore(mIn, x)
        mstore(add(mIn, 32), y)
        mstore(add(mIn, 64), s)

        success := staticcall(sub(gas(), 2000), 7, mIn, 96, pR, 64)

        if iszero(success) {
          mstore(0, 0)
          return(0, 0x20)
        }
      }

      function g1_mulSet(pR, pP, s) {
        g1_mulSetC(pR, mload(pP), mload(add(pP, 32)), s)
      }

      function calculateD(pMem) {
        let _pD := add(pMem, pD)
        let gamma := mload(add(pMem, pGamma))
        let mIn := mload(0x40)
        mstore(0x40, add(mIn, 256)) // d1, d2, d3 & d4 (4*64 bytes)

        g1_setC(_pD, Qcx, Qcy)
        g1_mulAccC(_pD, Qmx, Qmy, mulmod(calldataload(pEval_a), calldataload(pEval_b), q))
        g1_mulAccC(_pD, Qlx, Qly, calldataload(pEval_a))
        g1_mulAccC(_pD, Qrx, Qry, calldataload(pEval_b))
        g1_mulAccC(_pD, Qox, Qoy, calldataload(pEval_c))

        let betaxi := mload(add(pMem, pBetaXi))
        let val1 := addmod(addmod(calldataload(pEval_a), betaxi, q), gamma, q)

        let val2 := addmod(addmod(calldataload(pEval_b), mulmod(betaxi, k1, q), q), gamma, q)

        let val3 := addmod(addmod(calldataload(pEval_c), mulmod(betaxi, k2, q), q), gamma, q)

        let d2a := mulmod(mulmod(mulmod(val1, val2, q), val3, q), mload(add(pMem, pAlpha)), q)

        let d2b := mulmod(mload(add(pMem, pEval_l1)), mload(add(pMem, pAlpha2)), q)

        // We'll use mIn to save d2
        g1_calldataSet(add(mIn, 192), pZ)
        g1_mulSet(mIn, add(mIn, 192), addmod(addmod(d2a, d2b, q), mload(add(pMem, pU)), q))

        val1 := addmod(
          addmod(
            calldataload(pEval_a),
            mulmod(mload(add(pMem, pBeta)), calldataload(pEval_s1), q),
            q
          ),
          gamma,
          q
        )

        val2 := addmod(
          addmod(
            calldataload(pEval_b),
            mulmod(mload(add(pMem, pBeta)), calldataload(pEval_s2), q),
            q
          ),
          gamma,
          q
        )

        val3 := mulmod(
          mulmod(mload(add(pMem, pAlpha)), mload(add(pMem, pBeta)), q),
          calldataload(pEval_zw),
          q
        )

        // We'll use mIn + 64 to save d3
        g1_mulSetC(add(mIn, 64), S3x, S3y, mulmod(mulmod(val1, val2, q), val3, q))

        // We'll use mIn + 128 to save d4
        g1_calldataSet(add(mIn, 128), pT1)

        g1_mulAccC(
          add(mIn, 128),
          calldataload(pT2),
          calldataload(add(pT2, 32)),
          mload(add(pMem, pXin))
        )
        let xin2 := mulmod(mload(add(pMem, pXin)), mload(add(pMem, pXin)), q)
        g1_mulAccC(add(mIn, 128), calldataload(pT3), calldataload(add(pT3, 32)), xin2)

        g1_mulSetC(add(mIn, 128), mload(add(mIn, 128)), mload(add(mIn, 160)), mload(add(pMem, pZh)))

        mstore(add(add(mIn, 64), 32), mod(sub(qf, mload(add(add(mIn, 64), 32))), qf))
        mstore(add(mIn, 160), mod(sub(qf, mload(add(mIn, 160))), qf))
        g1_acc(_pD, mIn)
        g1_acc(_pD, add(mIn, 64))
        g1_acc(_pD, add(mIn, 128))
      }

      function calculateF(pMem) {
        let p := add(pMem, pF)

        g1_set(p, add(pMem, pD))
        g1_mulAccC(p, calldataload(pA), calldataload(add(pA, 32)), mload(add(pMem, pV1)))
        g1_mulAccC(p, calldataload(pB), calldataload(add(pB, 32)), mload(add(pMem, pV2)))
        g1_mulAccC(p, calldataload(pC), calldataload(add(pC, 32)), mload(add(pMem, pV3)))
        g1_mulAccC(p, S1x, S1y, mload(add(pMem, pV4)))
        g1_mulAccC(p, S2x, S2y, mload(add(pMem, pV5)))
      }

      function calculateE(pMem) {
        let s := mod(sub(q, mload(add(pMem, pEval_r0))), q)

        s := addmod(s, mulmod(calldataload(pEval_a), mload(add(pMem, pV1)), q), q)
        s := addmod(s, mulmod(calldataload(pEval_b), mload(add(pMem, pV2)), q), q)
        s := addmod(s, mulmod(calldataload(pEval_c), mload(add(pMem, pV3)), q), q)
        s := addmod(s, mulmod(calldataload(pEval_s1), mload(add(pMem, pV4)), q), q)
        s := addmod(s, mulmod(calldataload(pEval_s2), mload(add(pMem, pV5)), q), q)
        s := addmod(s, mulmod(calldataload(pEval_zw), mload(add(pMem, pU)), q), q)

        g1_mulSetC(add(pMem, pE), G1x, G1y, s)
      }

      function checkPairing(pMem) -> isOk {
        let mIn := mload(0x40)
        mstore(0x40, add(mIn, 576)) // [0..383] = pairing data, [384..447] = pWxi, [448..512] = pWxiw

        let _pWxi := add(mIn, 384)
        let _pWxiw := add(mIn, 448)
        let _aux := add(mIn, 512)

        g1_calldataSet(_pWxi, pWxi)
        g1_calldataSet(_pWxiw, pWxiw)

        // A1
        g1_mulSet(mIn, _pWxiw, mload(add(pMem, pU)))
        g1_acc(mIn, _pWxi)
        mstore(add(mIn, 32), mod(sub(qf, mload(add(mIn, 32))), qf))

        // [X]_2
        mstore(add(mIn, 64), X2x2)
        mstore(add(mIn, 96), X2x1)
        mstore(add(mIn, 128), X2y2)
        mstore(add(mIn, 160), X2y1)

        // B1
        g1_mulSet(add(mIn, 192), _pWxi, mload(add(pMem, pXi)))

        let s := mulmod(mload(add(pMem, pU)), mload(add(pMem, pXi)), q)
        s := mulmod(s, w1, q)
        g1_mulSet(_aux, _pWxiw, s)
        g1_acc(add(mIn, 192), _aux)
        g1_acc(add(mIn, 192), add(pMem, pF))
        mstore(add(pMem, add(pE, 32)), mod(sub(qf, mload(add(pMem, add(pE, 32)))), qf))
        g1_acc(add(mIn, 192), add(pMem, pE))

        // [1]_2
        mstore(add(mIn, 256), G2x2)
        mstore(add(mIn, 288), G2x1)
        mstore(add(mIn, 320), G2y2)
        mstore(add(mIn, 352), G2y1)

        let success := staticcall(sub(gas(), 2000), 8, mIn, 384, mIn, 0x20)

        isOk := and(success, mload(mIn))
      }

      let pMem := mload(0x40)
      mstore(0x40, add(pMem, lastMem))

      checkInput()
      calculateChallenges(pMem, _pubSignals)
      calculateLagrange(pMem)
      calculatePI(pMem, _pubSignals)
      calculateR0(pMem)
      calculateD(pMem)
      calculateF(pMem)
      calculateE(pMem)
      let isValid := checkPairing(pMem)

      mstore(0x40, sub(pMem, lastMem))
      mstore(0, isValid)
      return(0, 0x20)
    }
  }
}

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

Contract ABI

[{"inputs":[{"internalType":"uint256[24]","name":"_proof","type":"uint256[24]"},{"internalType":"uint256[2]","name":"_pubSignals","type":"uint256[2]"}],"name":"verifyProof","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

60806040523461001f57610011610024565b611567610030823961156790f35b61002a565b60405190565b600080fdfe60806040526004361015610013575b6100b7565b61001e60003561002d565b63c0e9d81c0361000e5761009c565b60e01c90565b600080fd5b600080fd5b600080fd5b9190602060180283011161005257565b61003d565b9190602060020283011161006757565b61003d565b919061034083820312610097578061008a6100949260008601610042565b9361030001610057565b90565b610038565b346100b2576100ac36600461006c565b906114b9565b610033565b600080fd5b600090565b9060009160018291805b6100f15750506001106100ec57600082126100e5575b5090565b01386100e1565b600080fd5b918280829693960592868402900392029003908190916100cb565b90604051916020819202810191602081519101925b8084106101a5575060206101567f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f000000182936100c1565b9403920390915b82821161016a5750905052565b6020817f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f000000180839451880996855190099584520391039061015d565b9192939060207f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001828293855287519009920194019291610121565b7f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001111561020957565b6000805260206000f35b61021f610244356101e0565b61022b610264356101e0565b610237610284356101e0565b6102436102a4356101e0565b61024f6102c4356101e0565b61025b6102e4356101e0565b565b90604051907f282e990ff6dff4d96bea785c3a26ef0371e5ae07b441bfeb675c48632ea74b668252602082017f0539ba4b20e20ae5c48d2c6ffd1d4be6f937d051c497b622ae0599cc11cc176f9052604082017f0476ca5a31bcbac25765490821eee5eafd8726dd02cbd2d765ebb010d3739bd29052606082017f118c0b603c69eb0bdc87dd02c73fedbf9563c63dd737fcf3f678fa64b0721cc59052608082017f20a60396f0c2dc96edd0e64fa1c7f19e91a4f9295af938fbf61ae24372245c24905260a082017f0fc72244230c21d32c326c074a9eb1adc285ed947cc4ee43545e0a83041db9a9905260c082017f11029247595f2d2181650e398fe3b9ad44eb3ffffa6727865d9b7e3234e04416905260e082017f1c89a3a525732185b61a0e6ca8de847e0b09b52fbf2eef12e398e8102fde3652905261010082017f183bd5a0c2c5bdb68ed61fcbf648a0d28598b485e5b6b9344662fca40cd0939e905261012082017f172b051d456659cec89f1311acd18a1c63c8aebadac568f65b938153b818494a905261014082017f23e7b6d04c48b998fba09a7f9255284138173bd4e8aaeabefc07f89c4b38e10f905261016082017f1ef6ab06ffc5680771874d1f9bbc2f8931ba257c4c8edd1b9a031d88616ac93c905261018082017f14a1e5b13e863400815f5bfc4c301779a71a189b6a3a934a62f2bd92c0246be190526101a082017f2066bb5ea02203aefdb50bf524758b67de8347a97eb57d4f5f03bdff1a0c0b5e90526101c082017f14bc368885f9b186b0e120b745e504a38880e7cb9a84a27753a699be888092d290526101e082017f022cf79e38c3a26b1be9bee6253d5a275c8ee305688ec51095b89bb39c333bba90526000810135610200830152602001356102208201526004356102408201526020600401356102608201526044356102808201526020604401356102a08201526084356102c08201526020608401356102e082015261030081207f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001900680602084015260208301602090207f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f000000190066040840152602083015182526040830151602083015260c4356040830152602060c401356060830152608082207f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f000000190068060008501527f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000018180096102c085015282526101043560208301526020610104013560408301526101443560608301526020610144013560808301526101843560a08301526020610184013560c083015260e082207f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f000000190068060608501528083526102443560208401526102643560408401526102843560608401526102a43560808401526102c43560a08401526102e43560c084015260e083207f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001900691818360c08701527f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001910960a0850152807f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000019109807f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000019109807f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000019109807f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000019109807f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000019109807f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000019109807f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000019109807f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000019109807f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000019109807f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000019109807f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000019109806080850152600190037f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001017f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000019006806102e08501526103008401527f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001818009818160e08601527f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001910981816101008601527f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001910990816101208501527f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f000000191096101408301526101c435815260206101c401356020820152610204356040820152602061020401356060820152608090207f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000019006906101600152565b7f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000018080807f027a358499c5042bb4027fd7a5355d71b8c12c177494f0cad00a58f9769a2ee260018280808360608b01510301066108000961032088015209606085015103010661080009610340820152610a686003610300830161010c565b6103407f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000016102e083015181807f027a358499c5042bb4027fd7a5355d71b8c12c177494f0cad00a58f9769a2ee2600182856103208a015109610320890152099184860151099009910152565b907f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000018061018092816020818060008160008701356103208c015109900301069201356103408701510990030106910152565b6101a07f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000016101808301518180806102c08701516103208801510992818080808080808d60206102a43591015109610244350860408d01519008818c8160408180806102c435602087015109610264350882850151900892015161028435089209096102e435900960008a01519009948103069008918103069008910152565b9060208091805184520151910152565b60209181520152565b9060208091803584520135910152565b608060409260208451918451835281850151828401528051868401520151606082015260066107d05a03fa15610c2057565b6000805260206000f35b919290926040519384526020840152604083015260408260608160076107d05a03fa15610c7f5760806040928251848201526020830151606082015260066107d05a03fa15610c7557565b6000805260206000f35b6000805260206000f35b9190604093606092855192835260208301528482015260076107d05a03fa15610cae57565b6000805260206000f35b90610ccb92916020820151915190610c89565b565b6110959060806101c08201916110156102e0604083015192610f9a7f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001604051956101008701604052610d607f172b051d456659cec89f1311acd18a1c63c8aebadac568f65b938153b818494a7f183bd5a0c2c5bdb68ed61fcbf648a0d28598b485e5b6b9344662fca40cd0939e8b610bd5565b610db5826102643561024435097f0539ba4b20e20ae5c48d2c6ffd1d4be6f937d051c497b622ae0599cc11cc176f7f282e990ff6dff4d96bea785c3a26ef0371e5ae07b441bfeb675c48632ea74b668c610c2a565b610e04610244357f118c0b603c69eb0bdc87dd02c73fedbf9563c63dd737fcf3f678fa64b0721cc57f0476ca5a31bcbac25765490821eee5eafd8726dd02cbd2d765ebb010d3739bd28c610c2a565b610e53610264357f0fc72244230c21d32c326c074a9eb1adc285ed947cc4ee43545e0a83041db9a97f20a60396f0c2dc96edd0e64fa1c7f19e91a4f9295af938fbf61ae24372245c248c610c2a565b610ea2610284357f1c89a3a525732185b61a0e6ca8de847e0b09b52fbf2eef12e398e8102fde36527f11029247595f2d2181650e398fe3b9ad44eb3ffffa6727865d9b7e3234e044168c610c2a565b610f11828060a0870151818086818461024435080891818088818060038184818060028b0961026435080896096102843508089160008c015194090909818a610efe60c460c0848c6103206102c0820151910151099301610bde565b61016089015192080860c0890189610cb8565b8180808381806102a43560208b0151096102443508089281806102c43560208a015109610264350808816102e43581602089015160008a015109099209097f022cf79e38c3a26b1be9bee6253d5a275c8ee305688ec51095b89bb39c333bba7f14bc368885f9b186b0e120b745e504a38880e7cb9a84a27753a699be888092d260408801610c89565b610fa8610104868601610bde565b610fc2858201516020610144013561014435888801610c2a565b6110027f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000018683015187840151096020610184013561018435888801610c2a565b015160a083015184840151858501610c89565b7f30644e72e131a029b85045b68181585d97816a916871ca8d3c208c16d87cfd47602060408301015181030660206040830101527f30644e72e131a029b85045b68181585d97816a916871ca8d3c208c16d87cfd4760a082015181030660a08201526110818184610bee565b61108e6040820184610bee565b0190610bee565b565b611193907f2066bb5ea02203aefdb50bf524758b67de8347a97eb57d4f5f03bdff1a0c0b5e7f14a1e5b13e863400815f5bfc4c301779a71a189b6a3a934a62f2bd92c0246be16101406102008401936110f46101c0820186610bc5565b61110b60c082015160206004013560043588610c2a565b61112260e082015160206044013560443588610c2a565b61113a61010082015160206084013560843588610c2a565b61118b6101208201517f1ef6ab06ffc5680771874d1f9bbc2f8931ba257c4c8edd1b9a031d88616ac93c7f23e7b6d04c48b998fba09a7f9255284138173bd4e8aaeabefc07f89c4b38e10f88610c2a565b015192610c2a565b565b61122990600260016102407f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000018080808080806101a08b01518103068160c08c0151610244350990088160e08b015161026435099008816101008a015161028435099008816101208901516102a435099008816101408801516102c435099008816101608701516102e4350990089301610c89565b565b611408610240604051928184016040526113bb61018085016113b26101c0870161135b6102008901936112606101c482610bde565b61126c61020484610bde565b61127c610160880151848c610cb8565b611286818b610bee565b7f30644e72e131a029b85045b68181585d97816a916871ca8d3c208c16d87cfd4760208b015181030660208b01527f26186a2d65ee4d2f9c9a5b91f86597d35f192cd120caf7e935d8443d1938e23d60408b01527f30441fd1b5d3370482c42152a8899027716989a6996c2535bc9f7fee8aaef79e60608b01527f1970ea81dd6992adfbc571effb03503adbbb6a857f578403c6c40e22d65b3c0260808b01527f054793348f12c0cf5622c340573cb277586319de359ab9389778f689786b1e4860a08b015260608701519060c08b01610cb8565b7f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000017f027a358499c5042bb4027fd7a5355d71b8c12c177494f0cad00a58f9769a2ee281606088015161016089015109099083610cb8565b60c08601610bee565b6113cc610200820160c08601610bee565b7f30644e72e131a029b85045b68181585d97816a916871ca8d3c208c16d87cfd4760208301820151810306602083018201520160c08301610bee565b7f198e9393920d483a7260bfb731fb5d25f1aa493335a9e71297e485b7aef312c26101008201527f1800deef121f1e76426a00665e5c4479674322d4f75edadd46debd5cd992f6ed6101208201527f090689d0585ff075ec9e99ad690c3395bc4b313370b38ef355acdadcd122975b6101408201527f12c85ea5db8c6deb4aab71808dcb408fe3d1e7690c43d37b4ce6cc0166fa7daa6101608201526020816101808160086107d05a03fa90511690565b506114c26100bc565b506114f36040519161036083016040526114da610213565b6114e4818461025d565b6114ed836109e9565b82610ad4565b6114fc81610b26565b61150581610ccd565b61150e81611097565b61151781611195565b6103606115238261122b565b910360405260005260206000f3fea26469706673582212204dbbf8173e06420e59e339bcea88107efc225bb077fc205625a4467c6406f8f964736f6c63430008170033

Deployed Bytecode

0x60806040526004361015610013575b6100b7565b61001e60003561002d565b63c0e9d81c0361000e5761009c565b60e01c90565b600080fd5b600080fd5b600080fd5b9190602060180283011161005257565b61003d565b9190602060020283011161006757565b61003d565b919061034083820312610097578061008a6100949260008601610042565b9361030001610057565b90565b610038565b346100b2576100ac36600461006c565b906114b9565b610033565b600080fd5b600090565b9060009160018291805b6100f15750506001106100ec57600082126100e5575b5090565b01386100e1565b600080fd5b918280829693960592868402900392029003908190916100cb565b90604051916020819202810191602081519101925b8084106101a5575060206101567f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f000000182936100c1565b9403920390915b82821161016a5750905052565b6020817f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f000000180839451880996855190099584520391039061015d565b9192939060207f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001828293855287519009920194019291610121565b7f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001111561020957565b6000805260206000f35b61021f610244356101e0565b61022b610264356101e0565b610237610284356101e0565b6102436102a4356101e0565b61024f6102c4356101e0565b61025b6102e4356101e0565b565b90604051907f282e990ff6dff4d96bea785c3a26ef0371e5ae07b441bfeb675c48632ea74b668252602082017f0539ba4b20e20ae5c48d2c6ffd1d4be6f937d051c497b622ae0599cc11cc176f9052604082017f0476ca5a31bcbac25765490821eee5eafd8726dd02cbd2d765ebb010d3739bd29052606082017f118c0b603c69eb0bdc87dd02c73fedbf9563c63dd737fcf3f678fa64b0721cc59052608082017f20a60396f0c2dc96edd0e64fa1c7f19e91a4f9295af938fbf61ae24372245c24905260a082017f0fc72244230c21d32c326c074a9eb1adc285ed947cc4ee43545e0a83041db9a9905260c082017f11029247595f2d2181650e398fe3b9ad44eb3ffffa6727865d9b7e3234e04416905260e082017f1c89a3a525732185b61a0e6ca8de847e0b09b52fbf2eef12e398e8102fde3652905261010082017f183bd5a0c2c5bdb68ed61fcbf648a0d28598b485e5b6b9344662fca40cd0939e905261012082017f172b051d456659cec89f1311acd18a1c63c8aebadac568f65b938153b818494a905261014082017f23e7b6d04c48b998fba09a7f9255284138173bd4e8aaeabefc07f89c4b38e10f905261016082017f1ef6ab06ffc5680771874d1f9bbc2f8931ba257c4c8edd1b9a031d88616ac93c905261018082017f14a1e5b13e863400815f5bfc4c301779a71a189b6a3a934a62f2bd92c0246be190526101a082017f2066bb5ea02203aefdb50bf524758b67de8347a97eb57d4f5f03bdff1a0c0b5e90526101c082017f14bc368885f9b186b0e120b745e504a38880e7cb9a84a27753a699be888092d290526101e082017f022cf79e38c3a26b1be9bee6253d5a275c8ee305688ec51095b89bb39c333bba90526000810135610200830152602001356102208201526004356102408201526020600401356102608201526044356102808201526020604401356102a08201526084356102c08201526020608401356102e082015261030081207f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001900680602084015260208301602090207f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f000000190066040840152602083015182526040830151602083015260c4356040830152602060c401356060830152608082207f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f000000190068060008501527f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000018180096102c085015282526101043560208301526020610104013560408301526101443560608301526020610144013560808301526101843560a08301526020610184013560c083015260e082207f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f000000190068060608501528083526102443560208401526102643560408401526102843560608401526102a43560808401526102c43560a08401526102e43560c084015260e083207f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001900691818360c08701527f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001910960a0850152807f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000019109807f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000019109807f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000019109807f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000019109807f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000019109807f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000019109807f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000019109807f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000019109807f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000019109807f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000019109807f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000019109806080850152600190037f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001017f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000019006806102e08501526103008401527f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001818009818160e08601527f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001910981816101008601527f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001910990816101208501527f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f000000191096101408301526101c435815260206101c401356020820152610204356040820152602061020401356060820152608090207f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000019006906101600152565b7f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000018080807f027a358499c5042bb4027fd7a5355d71b8c12c177494f0cad00a58f9769a2ee260018280808360608b01510301066108000961032088015209606085015103010661080009610340820152610a686003610300830161010c565b6103407f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000016102e083015181807f027a358499c5042bb4027fd7a5355d71b8c12c177494f0cad00a58f9769a2ee2600182856103208a015109610320890152099184860151099009910152565b907f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000018061018092816020818060008160008701356103208c015109900301069201356103408701510990030106910152565b6101a07f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000016101808301518180806102c08701516103208801510992818080808080808d60206102a43591015109610244350860408d01519008818c8160408180806102c435602087015109610264350882850151900892015161028435089209096102e435900960008a01519009948103069008918103069008910152565b9060208091805184520151910152565b60209181520152565b9060208091803584520135910152565b608060409260208451918451835281850151828401528051868401520151606082015260066107d05a03fa15610c2057565b6000805260206000f35b919290926040519384526020840152604083015260408260608160076107d05a03fa15610c7f5760806040928251848201526020830151606082015260066107d05a03fa15610c7557565b6000805260206000f35b6000805260206000f35b9190604093606092855192835260208301528482015260076107d05a03fa15610cae57565b6000805260206000f35b90610ccb92916020820151915190610c89565b565b6110959060806101c08201916110156102e0604083015192610f9a7f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001604051956101008701604052610d607f172b051d456659cec89f1311acd18a1c63c8aebadac568f65b938153b818494a7f183bd5a0c2c5bdb68ed61fcbf648a0d28598b485e5b6b9344662fca40cd0939e8b610bd5565b610db5826102643561024435097f0539ba4b20e20ae5c48d2c6ffd1d4be6f937d051c497b622ae0599cc11cc176f7f282e990ff6dff4d96bea785c3a26ef0371e5ae07b441bfeb675c48632ea74b668c610c2a565b610e04610244357f118c0b603c69eb0bdc87dd02c73fedbf9563c63dd737fcf3f678fa64b0721cc57f0476ca5a31bcbac25765490821eee5eafd8726dd02cbd2d765ebb010d3739bd28c610c2a565b610e53610264357f0fc72244230c21d32c326c074a9eb1adc285ed947cc4ee43545e0a83041db9a97f20a60396f0c2dc96edd0e64fa1c7f19e91a4f9295af938fbf61ae24372245c248c610c2a565b610ea2610284357f1c89a3a525732185b61a0e6ca8de847e0b09b52fbf2eef12e398e8102fde36527f11029247595f2d2181650e398fe3b9ad44eb3ffffa6727865d9b7e3234e044168c610c2a565b610f11828060a0870151818086818461024435080891818088818060038184818060028b0961026435080896096102843508089160008c015194090909818a610efe60c460c0848c6103206102c0820151910151099301610bde565b61016089015192080860c0890189610cb8565b8180808381806102a43560208b0151096102443508089281806102c43560208a015109610264350808816102e43581602089015160008a015109099209097f022cf79e38c3a26b1be9bee6253d5a275c8ee305688ec51095b89bb39c333bba7f14bc368885f9b186b0e120b745e504a38880e7cb9a84a27753a699be888092d260408801610c89565b610fa8610104868601610bde565b610fc2858201516020610144013561014435888801610c2a565b6110027f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000018683015187840151096020610184013561018435888801610c2a565b015160a083015184840151858501610c89565b7f30644e72e131a029b85045b68181585d97816a916871ca8d3c208c16d87cfd47602060408301015181030660206040830101527f30644e72e131a029b85045b68181585d97816a916871ca8d3c208c16d87cfd4760a082015181030660a08201526110818184610bee565b61108e6040820184610bee565b0190610bee565b565b611193907f2066bb5ea02203aefdb50bf524758b67de8347a97eb57d4f5f03bdff1a0c0b5e7f14a1e5b13e863400815f5bfc4c301779a71a189b6a3a934a62f2bd92c0246be16101406102008401936110f46101c0820186610bc5565b61110b60c082015160206004013560043588610c2a565b61112260e082015160206044013560443588610c2a565b61113a61010082015160206084013560843588610c2a565b61118b6101208201517f1ef6ab06ffc5680771874d1f9bbc2f8931ba257c4c8edd1b9a031d88616ac93c7f23e7b6d04c48b998fba09a7f9255284138173bd4e8aaeabefc07f89c4b38e10f88610c2a565b015192610c2a565b565b61122990600260016102407f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000018080808080806101a08b01518103068160c08c0151610244350990088160e08b015161026435099008816101008a015161028435099008816101208901516102a435099008816101408801516102c435099008816101608701516102e4350990089301610c89565b565b611408610240604051928184016040526113bb61018085016113b26101c0870161135b6102008901936112606101c482610bde565b61126c61020484610bde565b61127c610160880151848c610cb8565b611286818b610bee565b7f30644e72e131a029b85045b68181585d97816a916871ca8d3c208c16d87cfd4760208b015181030660208b01527f26186a2d65ee4d2f9c9a5b91f86597d35f192cd120caf7e935d8443d1938e23d60408b01527f30441fd1b5d3370482c42152a8899027716989a6996c2535bc9f7fee8aaef79e60608b01527f1970ea81dd6992adfbc571effb03503adbbb6a857f578403c6c40e22d65b3c0260808b01527f054793348f12c0cf5622c340573cb277586319de359ab9389778f689786b1e4860a08b015260608701519060c08b01610cb8565b7f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f00000017f027a358499c5042bb4027fd7a5355d71b8c12c177494f0cad00a58f9769a2ee281606088015161016089015109099083610cb8565b60c08601610bee565b6113cc610200820160c08601610bee565b7f30644e72e131a029b85045b68181585d97816a916871ca8d3c208c16d87cfd4760208301820151810306602083018201520160c08301610bee565b7f198e9393920d483a7260bfb731fb5d25f1aa493335a9e71297e485b7aef312c26101008201527f1800deef121f1e76426a00665e5c4479674322d4f75edadd46debd5cd992f6ed6101208201527f090689d0585ff075ec9e99ad690c3395bc4b313370b38ef355acdadcd122975b6101408201527f12c85ea5db8c6deb4aab71808dcb408fe3d1e7690c43d37b4ce6cc0166fa7daa6101608201526020816101808160086107d05a03fa90511690565b506114c26100bc565b506114f36040519161036083016040526114da610213565b6114e4818461025d565b6114ed836109e9565b82610ad4565b6114fc81610b26565b61150581610ccd565b61150e81611097565b61151781611195565b6103606115238261122b565b910360405260005260206000f3fea26469706673582212204dbbf8173e06420e59e339bcea88107efc225bb077fc205625a4467c6406f8f964736f6c63430008170033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.