Contract
0x3f5ab4ac5b4bf6c390cfa857de5e524d48da9c3b
7
Contract Overview
Balance:
0 AVAX
AVAX Value:
$0.00
My Name Tag:
Not Available, login to update
[ Download CSV Export ]
Latest 1 internal transaction
Parent Txn Hash | Block | From | To | Value | |||
---|---|---|---|---|---|---|---|
0x39522404883ab6930853c877ed7d87279e6d227617a6aca8c3a86cda5dcd07a2 | 27451506 | 12 days 5 hrs ago | 0x573ea815df3f95ff5c92136fc2a6b7c6bb813df1 | Contract Creation | 0 AVAX |
[ Download CSV Export ]
Contract Name:
LightClient
Compiler Version
v0.8.16+commit.07a7930e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity 0.8.16; struct BeaconBlockHeader { uint64 slot; uint64 proposerIndex; bytes32 parentRoot; bytes32 stateRoot; bytes32 bodyRoot; } library SSZ { uint256 internal constant HISTORICAL_ROOTS_LIMIT = 16777216; uint256 internal constant SLOTS_PER_HISTORICAL_ROOT = 8192; function toLittleEndian(uint256 v) internal pure returns (bytes32) { v = ((v & 0xFF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00) >> 8) | ((v & 0x00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF) << 8); v = ((v & 0xFFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000) >> 16) | ((v & 0x0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF) << 16); v = ((v & 0xFFFFFFFF00000000FFFFFFFF00000000FFFFFFFF00000000FFFFFFFF00000000) >> 32) | ((v & 0x00000000FFFFFFFF00000000FFFFFFFF00000000FFFFFFFF00000000FFFFFFFF) << 32); v = ((v & 0xFFFFFFFFFFFFFFFF0000000000000000FFFFFFFFFFFFFFFF0000000000000000) >> 64) | ((v & 0x0000000000000000FFFFFFFFFFFFFFFF0000000000000000FFFFFFFFFFFFFFFF) << 64); v = (v >> 128) | (v << 128); return bytes32(v); } function restoreMerkleRoot(bytes32 leaf, uint256 index, bytes32[] memory branch) internal pure returns (bytes32) { require(2 ** (branch.length + 1) > index); bytes32 value = leaf; uint256 i = 0; while (index != 1) { if (index % 2 == 1) { value = sha256(bytes.concat(branch[i], value)); } else { value = sha256(bytes.concat(value, branch[i])); } index /= 2; i++; } return value; } function isValidMerkleBranch(bytes32 leaf, uint256 index, bytes32[] memory branch, bytes32 root) internal pure returns (bool) { bytes32 restoredMerkleRoot = restoreMerkleRoot(leaf, index, branch); return root == restoredMerkleRoot; } function sszBeaconBlockHeader(BeaconBlockHeader memory header) internal pure returns (bytes32) { bytes32 left = sha256( bytes.concat( sha256( bytes.concat(toLittleEndian(header.slot), toLittleEndian(header.proposerIndex)) ), sha256(bytes.concat(header.parentRoot, header.stateRoot)) ) ); bytes32 right = sha256( bytes.concat( sha256(bytes.concat(header.bodyRoot, bytes32(0))), sha256(bytes.concat(bytes32(0), bytes32(0))) ) ); return sha256(bytes.concat(left, right)); } function computeDomain(bytes4 forkVersion, bytes32 genesisValidatorsRoot) internal pure returns (bytes32) { return bytes32(uint256(0x07 << 248)) | (sha256(abi.encode(forkVersion, genesisValidatorsRoot)) >> 32); } function verifyReceiptsRoot( bytes32 receiptsRoot, bytes32[] memory receiptsRootProof, bytes32 headerRoot, uint64 srcSlot, uint64 txSlot ) internal pure returns (bool) { uint256 index; if (srcSlot == txSlot) { index = 8 + 3; index = index * 2 ** 9 + 387; } else if (srcSlot - txSlot <= SLOTS_PER_HISTORICAL_ROOT) { index = 8 + 3; index = index * 2 ** 5 + 6; index = index * SLOTS_PER_HISTORICAL_ROOT + txSlot % SLOTS_PER_HISTORICAL_ROOT; index = index * 2 ** 9 + 387; } else if (txSlot < srcSlot) { index = 8 + 3; index = index * 2 ** 5 + 7; index = index * 2 + 0; index = index * HISTORICAL_ROOTS_LIMIT + txSlot / SLOTS_PER_HISTORICAL_ROOT; index = index * 2 + 1; index = index * SLOTS_PER_HISTORICAL_ROOT + txSlot % SLOTS_PER_HISTORICAL_ROOT; index = index * 2 ** 9 + 387; } else { revert("TrustlessAMB: invalid target slot"); } return isValidMerkleBranch(receiptsRoot, index, receiptsRootProof, headerRoot); } }
pragma solidity 0.8.16; import {SSZ} from "src/libraries/SimpleSerialize.sol"; import {ILightClient} from "src/lightclient/interfaces/ILightClient.sol"; import {StepVerifier} from "src/lightclient/StepVerifier.sol"; import {RotateVerifier} from "src/lightclient/RotateVerifier.sol"; struct Groth16Proof { uint256[2] a; uint256[2][2] b; uint256[2] c; } struct LightClientStep { uint256 attestedSlot; uint256 finalizedSlot; uint256 participation; bytes32 finalizedHeaderRoot; bytes32 executionStateRoot; Groth16Proof proof; } struct LightClientRotate { LightClientStep step; bytes32 syncCommitteeSSZ; bytes32 syncCommitteePoseidon; Groth16Proof proof; } /// @title Light Client /// @author Succinct Labs /// @notice Uses Ethereum 2's Sync Committee Protocol to keep up-to-date with block headers from a /// Beacon Chain. This is done in a gas-efficient manner using zero-knowledge proofs. contract LightClient is ILightClient, StepVerifier, RotateVerifier { bytes32 public immutable GENESIS_VALIDATORS_ROOT; uint256 public immutable GENESIS_TIME; uint256 public immutable SECONDS_PER_SLOT; uint256 public immutable SLOTS_PER_PERIOD; uint32 public immutable SOURCE_CHAIN_ID; uint16 public immutable FINALITY_THRESHOLD; uint256 internal constant MIN_SYNC_COMMITTEE_PARTICIPANTS = 10; uint256 internal constant SYNC_COMMITTEE_SIZE = 512; uint256 internal constant FINALIZED_ROOT_INDEX = 105; uint256 internal constant NEXT_SYNC_COMMITTEE_INDEX = 55; uint256 internal constant EXECUTION_STATE_ROOT_INDEX = 402; /// @notice Whether the light client has had conflicting variables for the same slot. bool public consistent = true; /// @notice The latest slot the light client has a finalized header for. uint256 public head = 0; /// @notice Maps from a slot to a beacon block header root. mapping(uint256 => bytes32) public headers; /// @notice Maps from a slot to the timestamp of when the headers mapping was updated with slot as a key mapping(uint256 => uint256) public timestamps; /// @notice Maps from a slot to the current finalized ethereum1 execution state root. mapping(uint256 => bytes32) public executionStateRoots; /// @notice Maps from a period to the poseidon commitment for the sync committee. mapping(uint256 => bytes32) public syncCommitteePoseidons; event HeadUpdate(uint256 indexed slot, bytes32 indexed root); event SyncCommitteeUpdate(uint256 indexed period, bytes32 indexed root); constructor( bytes32 genesisValidatorsRoot, uint256 genesisTime, uint256 secondsPerSlot, uint256 slotsPerPeriod, uint256 syncCommitteePeriod, bytes32 syncCommitteePoseidon, uint32 sourceChainId, uint16 finalityThreshold ) { GENESIS_VALIDATORS_ROOT = genesisValidatorsRoot; GENESIS_TIME = genesisTime; SECONDS_PER_SLOT = secondsPerSlot; SLOTS_PER_PERIOD = slotsPerPeriod; SOURCE_CHAIN_ID = sourceChainId; FINALITY_THRESHOLD = finalityThreshold; setSyncCommitteePoseidon(syncCommitteePeriod, syncCommitteePoseidon); } /// @notice Updates the head of the light client to the provided slot. /// @dev The conditions for updating the head of the light client involve checking: /// 1) Enough signatures from the current sync committee for n=512 /// 2) A valid finality proof /// 3) A valid execution state root proof function step(LightClientStep memory update) external { bool finalized = processStep(update); if (getCurrentSlot() < update.attestedSlot) { revert("Update slot is too far in the future"); } if (update.finalizedSlot < head) { revert("Update slot less than current head"); } if (finalized) { setSlotRoots( update.finalizedSlot, update.finalizedHeaderRoot, update.executionStateRoot ); } else { revert("Not enough participants"); } } /// @notice Sets the sync committee for the next sync committeee period. /// @dev A commitment to the the next sync committeee is signed by the current sync committee. function rotate(LightClientRotate memory update) external { LightClientStep memory stepUpdate = update.step; bool finalized = processStep(update.step); uint256 currentPeriod = getSyncCommitteePeriod(stepUpdate.finalizedSlot); uint256 nextPeriod = currentPeriod + 1; zkLightClientRotate(update); if (finalized) { setSyncCommitteePoseidon(nextPeriod, update.syncCommitteePoseidon); } } /// @notice Verifies that the header has enough signatures for finality. function processStep(LightClientStep memory update) internal view returns (bool) { uint256 currentPeriod = getSyncCommitteePeriod(update.attestedSlot); if (syncCommitteePoseidons[currentPeriod] == 0) { revert("Sync committee for current period is not initialized."); } else if (update.participation < MIN_SYNC_COMMITTEE_PARTICIPANTS) { revert("Less than MIN_SYNC_COMMITTEE_PARTICIPANTS signed."); } zkLightClientStep(update); return update.participation > FINALITY_THRESHOLD; } /// @notice Serializes the public inputs into a compressed form and verifies the step proof. function zkLightClientStep(LightClientStep memory update) internal view { bytes32 attestedSlotLE = SSZ.toLittleEndian(update.attestedSlot); bytes32 finalizedSlotLE = SSZ.toLittleEndian(update.finalizedSlot); bytes32 participationLE = SSZ.toLittleEndian(update.participation); uint256 currentPeriod = getSyncCommitteePeriod(update.attestedSlot); bytes32 syncCommitteePoseidon = syncCommitteePoseidons[currentPeriod]; bytes32 h; h = sha256(bytes.concat(attestedSlotLE, finalizedSlotLE)); h = sha256(bytes.concat(h, update.finalizedHeaderRoot)); h = sha256(bytes.concat(h, participationLE)); h = sha256(bytes.concat(h, update.executionStateRoot)); h = sha256(bytes.concat(h, syncCommitteePoseidon)); uint256 t = uint256(SSZ.toLittleEndian(uint256(h))); t = t & ((uint256(1) << 253) - 1); Groth16Proof memory proof = update.proof; uint256[1] memory inputs = [uint256(t)]; require(verifyProofStep(proof.a, proof.b, proof.c, inputs)); } /// @notice Serializes the public inputs and verifies the rotate proof. function zkLightClientRotate(LightClientRotate memory update) internal view { Groth16Proof memory proof = update.proof; uint256[65] memory inputs; uint256 syncCommitteeSSZNumeric = uint256(update.syncCommitteeSSZ); for (uint256 i = 0; i < 32; i++) { inputs[32 - 1 - i] = syncCommitteeSSZNumeric % 2 ** 8; syncCommitteeSSZNumeric = syncCommitteeSSZNumeric / 2 ** 8; } uint256 finalizedHeaderRootNumeric = uint256(update.step.finalizedHeaderRoot); for (uint256 i = 0; i < 32; i++) { inputs[64 - i] = finalizedHeaderRootNumeric % 2 ** 8; finalizedHeaderRootNumeric = finalizedHeaderRootNumeric / 2 ** 8; } inputs[32] = uint256(SSZ.toLittleEndian(uint256(update.syncCommitteePoseidon))); require(verifyProofRotate(proof.a, proof.b, proof.c, inputs)); } /// @notice Gets the sync committee period from a slot. function getSyncCommitteePeriod(uint256 slot) internal view returns (uint256) { return slot / SLOTS_PER_PERIOD; } /// @notice Gets the current slot for the chain the light client is reflecting. function getCurrentSlot() internal view returns (uint256) { return (block.timestamp - GENESIS_TIME) / SECONDS_PER_SLOT; } /// @notice Sets the current slot for the chain the light client is reflecting. /// @dev Checks if roots exists for the slot already. If there is, check for a conflict between /// the given roots and the existing roots. If there is an existing header but no /// conflict, do nothing. This avoids timestamp renewal DoS attacks. function setSlotRoots(uint256 slot, bytes32 finalizedHeaderRoot, bytes32 executionStateRoot) internal { if (headers[slot] != bytes32(0)) { if (headers[slot] != finalizedHeaderRoot) { consistent = false; } return; } if (executionStateRoots[slot] != bytes32(0)) { if (executionStateRoots[slot] != executionStateRoot) { consistent = false; } return; } head = slot; headers[slot] = finalizedHeaderRoot; executionStateRoots[slot] = executionStateRoot; timestamps[slot] = block.timestamp; emit HeadUpdate(slot, finalizedHeaderRoot); } /// @notice Sets the sync committee poseidon for a given period. function setSyncCommitteePoseidon(uint256 period, bytes32 poseidon) internal { if ( syncCommitteePoseidons[period] != bytes32(0) && syncCommitteePoseidons[period] != poseidon ) { consistent = false; return; } syncCommitteePoseidons[period] = poseidon; emit SyncCommitteeUpdate(period, poseidon); } }
// // Copyright 2017 Christian Reitwiessner // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: // The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // // 2019 OKIMS // ported to solidity 0.6 // fixed linter warnings // added requiere error messages // // // SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.14; library PairingRotate { struct G1Point { uint256 X; uint256 Y; } // Encoding of field elements is: X[0] * z + X[1] struct G2Point { uint256[2] X; uint256[2] Y; } /// @return the generator of G1 function P1() internal pure returns (G1Point memory) { return G1Point(1, 2); } /// @return the generator of G2 function P2() internal pure returns (G2Point memory) { // Original code point return G2Point( [ 11559732032986387107991004021392285783925812861821192530917403151452391805634, 10857046999023057135944570762232829481370756359578518086990519993285655852781 ], [ 4082367875863433681332203403145435568316851327593401208105741076214120093531, 8495653923123431417604973247489272438418190587263600148770280649306958101930 ] ); /* // Changed by Jordi point return G2Point( [10857046999023057135944570762232829481370756359578518086990519993285655852781, 11559732032986387107991004021392285783925812861821192530917403151452391805634], [8495653923123431417604973247489272438418190587263600148770280649306958101930, 4082367875863433681332203403145435568316851327593401208105741076214120093531] );*/ } /// @return r the negation of p, i.e. p.addition(p.negate()) should be zero. function negate(G1Point memory p) internal pure returns (G1Point memory r) { // The prime q in the base field F_q for G1 uint256 q = 21888242871839275222246405745257275088696311157297823662689037894645226208583; if (p.X == 0 && p.Y == 0) { return G1Point(0, 0); } return G1Point(p.X, q - (p.Y % q)); } /// @return r the sum of two points of G1 function addition(G1Point memory p1, G1Point memory p2) internal view returns (G1Point memory r) { uint256[4] memory input; input[0] = p1.X; input[1] = p1.Y; input[2] = p2.X; input[3] = p2.Y; bool success; // solium-disable-next-line security/no-inline-assembly assembly { success := staticcall(sub(gas(), 2000), 6, input, 0xc0, r, 0x60) // Use "invalid" to make gas estimation work switch success case 0 { invalid() } } require(success, "pairing-add-failed"); } /// @return r the product of a point on G1 and a scalar, i.e. /// p == p.scalar_mul(1) and p.addition(p) == p.scalar_mul(2) for all points p. function scalar_mul(G1Point memory p, uint256 s) internal view returns (G1Point memory r) { uint256[3] memory input; input[0] = p.X; input[1] = p.Y; input[2] = s; bool success; // solium-disable-next-line security/no-inline-assembly assembly { success := staticcall(sub(gas(), 2000), 7, input, 0x80, r, 0x60) // Use "invalid" to make gas estimation work switch success case 0 { invalid() } } require(success, "pairing-mul-failed"); } /// @return the result of computing the pairing check /// e(p1[0], p2[0]) * .... * e(p1[n], p2[n]) == 1 /// For example pairing([P1(), P1().negate()], [P2(), P2()]) should /// return true. function pairing(G1Point[] memory p1, G2Point[] memory p2) internal view returns (bool) { require(p1.length == p2.length, "pairing-lengths-failed"); uint256 elements = p1.length; uint256 inputSize = elements * 6; uint256[] memory input = new uint[](inputSize); for (uint256 i = 0; i < elements; i++) { input[i * 6 + 0] = p1[i].X; input[i * 6 + 1] = p1[i].Y; input[i * 6 + 2] = p2[i].X[0]; input[i * 6 + 3] = p2[i].X[1]; input[i * 6 + 4] = p2[i].Y[0]; input[i * 6 + 5] = p2[i].Y[1]; } uint256[1] memory out; bool success; // solium-disable-next-line security/no-inline-assembly assembly { success := staticcall(sub(gas(), 2000), 8, add(input, 0x20), mul(inputSize, 0x20), out, 0x20) // Use "invalid" to make gas estimation work switch success case 0 { invalid() } } require(success, "pairing-opcode-failed"); return out[0] != 0; } /// Convenience method for a pairing check for two pairs. function pairingProd2( G1Point memory a1, G2Point memory a2, G1Point memory b1, G2Point memory b2 ) internal view returns (bool) { G1Point[] memory p1 = new G1Point[](2); G2Point[] memory p2 = new G2Point[](2); p1[0] = a1; p1[1] = b1; p2[0] = a2; p2[1] = b2; return pairing(p1, p2); } /// Convenience method for a pairing check for three pairs. function pairingProd3( G1Point memory a1, G2Point memory a2, G1Point memory b1, G2Point memory b2, G1Point memory c1, G2Point memory c2 ) internal view returns (bool) { G1Point[] memory p1 = new G1Point[](3); G2Point[] memory p2 = new G2Point[](3); p1[0] = a1; p1[1] = b1; p1[2] = c1; p2[0] = a2; p2[1] = b2; p2[2] = c2; return pairing(p1, p2); } /// Convenience method for a pairing check for four pairs. function pairingProd4( G1Point memory a1, G2Point memory a2, G1Point memory b1, G2Point memory b2, G1Point memory c1, G2Point memory c2, G1Point memory d1, G2Point memory d2 ) internal view returns (bool) { G1Point[] memory p1 = new G1Point[](4); G2Point[] memory p2 = new G2Point[](4); p1[0] = a1; p1[1] = b1; p1[2] = c1; p1[3] = d1; p2[0] = a2; p2[1] = b2; p2[2] = c2; p2[3] = d2; return pairing(p1, p2); } } contract RotateVerifier { using PairingRotate for *; struct VerifyingKeyRotate { PairingRotate.G1Point alfa1; PairingRotate.G2Point beta2; PairingRotate.G2Point gamma2; PairingRotate.G2Point delta2; PairingRotate.G1Point[] IC; } struct ProofRotate { PairingRotate.G1Point A; PairingRotate.G2Point B; PairingRotate.G1Point C; } function verifyingKeyRotate() internal pure returns (VerifyingKeyRotate memory vk) { vk.alfa1 = PairingRotate.G1Point( 20491192805390485299153009773594534940189261866228447918068658471970481763042, 9383485363053290200918347156157836566562967994039712273449902621266178545958 ); vk.beta2 = PairingRotate.G2Point( [ 4252822878758300859123897981450591353533073413197771768651442665752259397132, 6375614351688725206403948262868962793625744043794305715222011528459656738731 ], [ 21847035105528745403288232691147584728191162732299865338377159692350059136679, 10505242626370262277552901082094356697409835680220590971873171140371331206856 ] ); vk.gamma2 = PairingRotate.G2Point( [ 11559732032986387107991004021392285783925812861821192530917403151452391805634, 10857046999023057135944570762232829481370756359578518086990519993285655852781 ], [ 4082367875863433681332203403145435568316851327593401208105741076214120093531, 8495653923123431417604973247489272438418190587263600148770280649306958101930 ] ); vk.delta2 = PairingRotate.G2Point( [ 3675012114472141823353431748838492474116965167545797868888004981062438761191, 10919016225287729772152561895455637785621917546560571464331102379931789733219 ], [ 102187551240741282923570240607013148086072939956192338710607906886896151404, 5367848349839033463131482183036431902292883341608111320084976497150816008676 ] ); vk.IC = new PairingRotate.G1Point[](66); vk.IC[0] = PairingRotate.G1Point( 5470815004869339708023881485772068204912771757179007890054204256558850581949, 4017097656779998741510710628117295954432749941107635696146110442372218605472 ); vk.IC[1] = PairingRotate.G1Point( 14277312075960031085375048071612101555372035286672331734392395085201225041149, 14239461345455039302866813666954330449685909886390271856241643488739478373512 ); vk.IC[2] = PairingRotate.G1Point( 10256748840775250798022727853625820196139372710211008731654522604490787003459, 20397352715193589290244696330476579119048823352961807809477137990763045264186 ); vk.IC[3] = PairingRotate.G1Point( 550075104891859430074462590592661684892297605480719920050615275015711508540, 9032201165211335469461508008237078579797938193755295864092980796424301990237 ); vk.IC[4] = PairingRotate.G1Point( 21713013256553006628611706827565089795369588919207450378979275353062640142109, 2661645625997626369569922372169772081437758044104248909618957550337440494139 ); vk.IC[5] = PairingRotate.G1Point( 13691767371801378227924059456388428035967164647023292694391180919564712627486, 756065770973511865243597601390091557217745613563990150676273724294507448431 ); vk.IC[6] = PairingRotate.G1Point( 17210984791838145359466867649558462207089918294097343317284442476101568076903, 16563042484294402555802035774580866281492939197308313773740452628469640810440 ); vk.IC[7] = PairingRotate.G1Point( 21652367622408977882130185948903917467398782152573572688460517452235184585130, 9456717250971867942266744925479122316030416863980640923048259745172637366725 ); vk.IC[8] = PairingRotate.G1Point( 12428061968345789072069730074981543994872620840107009832818380903947462784731, 9628665618463208783319788804477124615643602805991242396517345043087341128847 ); vk.IC[9] = PairingRotate.G1Point( 7591606751456480272207358723930527667946792703046687083257839541887230600513, 5066738728275003710178607972725262923032117471343419051299425541173384033812 ); vk.IC[10] = PairingRotate.G1Point( 14488917807089011281047272726099875150571238692019113219825028192575284509581, 3883496032433938548361294112846837895152012388047964931324198754228797877220 ); vk.IC[11] = PairingRotate.G1Point( 12645787598395228725171373471935087818337812765671916073026450852525761450287, 16769199208517164707037753561119296273327233703340885518231256382074870981084 ); vk.IC[12] = PairingRotate.G1Point( 8215460069747363365580846005818022489493268911061609705064972529404961966716, 6669659888215141314967540985998609102937810373447651153074209742694609294095 ); vk.IC[13] = PairingRotate.G1Point( 2844997831056636120836911709923266133367730601282518816015648606919944680684, 19610199208595789435810978810597614274285858402731872359124459788255937025996 ); vk.IC[14] = PairingRotate.G1Point( 7040110845525952900598881769658949052341010642995548224350638317552310576665, 1487161644887832968957801290134731353444352051595741879812259993583216090066 ); vk.IC[15] = PairingRotate.G1Point( 12405805793275046993325239811828128198882824151112347193213908986231709070096, 15492255937493657362746399833085165717154406677433505821519002161530391720647 ); vk.IC[16] = PairingRotate.G1Point( 13285062575679713300238666842781712613277259978595375037257266736470472693734, 17488882217616287673270345118177467195439036242880051293611907165945370393183 ); vk.IC[17] = PairingRotate.G1Point( 8603566731019335023634627293889179299668875390582323005277165715690663545281, 9408560403310074111063179066628126101341395210067416861794078835499868816389 ); vk.IC[18] = PairingRotate.G1Point( 1181542675746324377871278475651244460118791808050795628097423364071136531210, 16597581308801947899138241527753298624973308153461725212655837446361686781341 ); vk.IC[19] = PairingRotate.G1Point( 14408564907247179976621631573939251801623056626888588761518947695781661259431, 7271292981933539395227276416353020454175202289781663739615258142432056594341 ); vk.IC[20] = PairingRotate.G1Point( 17597295579129750685222005163149670289164331266400199650162523758546359081430, 242419869317119527452900448830763183657743377412973281248624953969503788017 ); vk.IC[21] = PairingRotate.G1Point( 20124047720139252459109468495559408458493639360052211576952318590325892917503, 14008316510305876208122551501589871272450059356861116352652762997086093688531 ); vk.IC[22] = PairingRotate.G1Point( 13429010226287571463999973230050502318483188103767219746698970525082092429630, 17607024931072105555190552501851311614700269454441117491038856897846484505559 ); vk.IC[23] = PairingRotate.G1Point( 627964571426933641572058300878809182262081368423265694511023550606724723852, 7373605622742653003693203193757662230639533270431368245427885795203201424820 ); vk.IC[24] = PairingRotate.G1Point( 12161353119779742822520962020173667675809269149216188936907052577149093111204, 6555344721078959891495725261309309757730705617249729308378872092562368473988 ); vk.IC[25] = PairingRotate.G1Point( 9942573813465654211107291217854629923255602950622362298703894692342235427207, 20021572331775129788719437837166754838257663222479115248088091028568806131147 ); vk.IC[26] = PairingRotate.G1Point( 17910544130511298533517349900760876063185744881593759677884881699548930171332, 7566195441873811040992078749824142377659424688172946587073369650740370382053 ); vk.IC[27] = PairingRotate.G1Point( 10294006571004095925349367164151343983622516668137117545981916220159082857404, 11051424065788213828967323053142067453752210885728523770440122057870479709783 ); vk.IC[28] = PairingRotate.G1Point( 17278283156969428338635046359226820440103033906261666777410408218807934373990, 12630385670559989967675890775741481340979991232084884378562333580112758868739 ); vk.IC[29] = PairingRotate.G1Point( 20719773367000423770103787495754469795737917431647832647547093626506779924857, 12241894457863621777618930601757821502077084227388402933846144913385339154274 ); vk.IC[30] = PairingRotate.G1Point( 7825569666207241575453093795025524306505131449824573801763077037005575843172, 11788956260734339141039890691640575434794809354675227814118671978630056270161 ); vk.IC[31] = PairingRotate.G1Point( 10256922205896585948010363832994059866678392695752778911179274200873680504486, 20710849495413331015027530557092065338191984434697780936325111489762998359394 ); vk.IC[32] = PairingRotate.G1Point( 7572217948185872545017456144279759157591242738079606265720395393961675644333, 6192765399438435590717647536649376957292802732415532034804257875057712415415 ); vk.IC[33] = PairingRotate.G1Point( 15391560451656587100602586684457458735941689200752320075626947497705342829876, 7469915732140427004149238203533591322565954801326586011976294165439258678171 ); vk.IC[34] = PairingRotate.G1Point( 2253212938086582304814193274897683117304874968223660198987155742236380011435, 3363542076064470851126434129047206220947052523506353352971821345125367070063 ); vk.IC[35] = PairingRotate.G1Point( 17987318395821359901152963133368311889165569699804937933016037339230070642262, 1022889512148181894044975791615851243035079161202273448049368472740702704664 ); vk.IC[36] = PairingRotate.G1Point( 2595191674370476748249132758864046203842783028970388255482808886766485458335, 15999872848065408374250027264594185256390522888165323431229975753580595435412 ); vk.IC[37] = PairingRotate.G1Point( 17310802424312407177327231604308398662368636546188087853824155787735954852657, 17492267087305379320377201137032057700653202094081338764785614411379003265135 ); vk.IC[38] = PairingRotate.G1Point( 19692305970501129432989117858162812421089112183797295270345301988227225701596, 13407066371238340125981115105014778822174694414863209614311286575950290183122 ); vk.IC[39] = PairingRotate.G1Point( 10280280821816150338698341999809174508877893892146508999367975655101013502337, 12873664672144000638692091121716563297523913813351462683381257837764257361266 ); vk.IC[40] = PairingRotate.G1Point( 15269942102931108304861180822000044831078625258211177465421373923889797003713, 315941659904404805162515697500885926641592106285202599044695865981944934148 ); vk.IC[41] = PairingRotate.G1Point( 18720117707393600985668734258470788963109345994486804125334415623779965685579, 17610066291159506858109565731510415537915008213026426702411450752803499563945 ); vk.IC[42] = PairingRotate.G1Point( 17473387575701915793165316810554838264284294799431693872192608671518586775589, 11046638250273238988420881477549685125663400537658322931163724522834081071681 ); vk.IC[43] = PairingRotate.G1Point( 1131444062811679831409684930556592770674157096923417994117545757895843843257, 14806880463376902602792568628979400757229760418808213797901706596473177402855 ); vk.IC[44] = PairingRotate.G1Point( 3333565255438508727133914474431341407114665924124016209746252498172716323458, 1349287382207655945922193622904780432125650897659617214713798793227947453335 ); vk.IC[45] = PairingRotate.G1Point( 13940028459121008532016253983362465702704402122643253107590554855038192214997, 3225433852783273107896062941479423211005648219618800554123220051023809342710 ); vk.IC[46] = PairingRotate.G1Point( 19717004403074439755349281295381478852157253003797216955970992000449301302719, 3186328678318977319722138906369583685190567800290840806157855829071842708219 ); vk.IC[47] = PairingRotate.G1Point( 16642147433186556950008995817628233060579719469362516887521909650865254862277, 17897379145764357424229771761211803103403399226293603355593766947402488749261 ); vk.IC[48] = PairingRotate.G1Point( 14166167796010346344607806834057017465158432711277897940882635412943787832957, 1466421523646102279306143855466046078434093416565439179577859342596077968495 ); vk.IC[49] = PairingRotate.G1Point( 9121323577197934089656479126834443288009296095992819343687934158311952648102, 20838803026465071526824216109672143097735131861681728912431346891805254673021 ); vk.IC[50] = PairingRotate.G1Point( 16527506110553414978978752440663074476403014249564253944322759266695960317283, 20784110511802989598239803900829001702846512565882851871209620824570342959741 ); vk.IC[51] = PairingRotate.G1Point( 21239710915708343421769893254944423412302146109622846670164778866011467089334, 21673205856698640090132731274991397146356957558897797067201376224645693508319 ); vk.IC[52] = PairingRotate.G1Point( 8077054060841997795055664844350639621813278263496855282589846327672529047441, 7836528458814616258001093258469921488745632058376319287462221490756158150755 ); vk.IC[53] = PairingRotate.G1Point( 14516329420235345440149324792936235254195325657174837822744049638896307191009, 20722856186071063267009035722206599642529515584360229343481151178919568667656 ); vk.IC[54] = PairingRotate.G1Point( 2669418772363680637663665025335332245703927178960036706320145551701239085099, 21877663481941323417151526405025523153611074545818563846226114918852433289787 ); vk.IC[55] = PairingRotate.G1Point( 5741991653539626114303961719014055119659011005869852659937084977252640589389, 18376104754519076330669694554115737208000577444106874582540891451657284147033 ); vk.IC[56] = PairingRotate.G1Point( 8028575798791411367183643439532739195517530885357926087717772517691790990720, 18883759566594356674404094589651421579134482900437360695545733243237480747440 ); vk.IC[57] = PairingRotate.G1Point( 16855740526826858784404294435476672051544769847039765832010554156813731500735, 659320399176788531847946680054100455785626824551846564053384763521994791623 ); vk.IC[58] = PairingRotate.G1Point( 19988225821830608710578630073688777389429278183733539199536068639850161003968, 13955046145626853781355698616181858322515747170102298011267491749553021068605 ); vk.IC[59] = PairingRotate.G1Point( 15410537293735377459773895058434203425750985393204437521319290173095968032576, 12169824789351460419228154813849731234386233054285207598923427959734874612330 ); vk.IC[60] = PairingRotate.G1Point( 2159062713955330031251957758273078405414148150460871899054446806500793547230, 5879182752663104625737625098296688013210189092653213235878521327556194561168 ); vk.IC[61] = PairingRotate.G1Point( 4174895122075502369038039999781532490288044058012153099254766261447417221242, 10002098427920629174530381032587014535008462144357498361035555806129992916818 ); vk.IC[62] = PairingRotate.G1Point( 15335284926841897062681527472356815727299146551895045501122685010036931177370, 15836442636274538856030584403981280347198833751029912415192018487311436469357 ); vk.IC[63] = PairingRotate.G1Point( 15162884727148196758524310643047361429630186986459976124858953592650939212470, 21420261991093949703915232730226827651029889087964456544705761681774879713164 ); vk.IC[64] = PairingRotate.G1Point( 11897567539623576790784466821129399882362071349295534039069611825756071290043, 13382525927073502847360453300076919468700768256030677349337425404866209364848 ); vk.IC[65] = PairingRotate.G1Point( 1770704955919074560139787492400225011230234734329412973959714160679435405051, 1103550123340193874347219466412240366118503028463942223452924232215815583842 ); } function verifyRotate(uint256[] memory input, ProofRotate memory proof) internal view returns (uint256) { uint256 snark_scalar_field = 21888242871839275222246405745257275088548364400416034343698204186575808495617; VerifyingKeyRotate memory vk = verifyingKeyRotate(); require(input.length + 1 == vk.IC.length, "verifier-bad-input"); // Compute the linear combination vk_x PairingRotate.G1Point memory vk_x = PairingRotate.G1Point(0, 0); for (uint256 i = 0; i < input.length; i++) { require(input[i] < snark_scalar_field, "verifier-gte-snark-scalar-field"); vk_x = PairingRotate.addition(vk_x, PairingRotate.scalar_mul(vk.IC[i + 1], input[i])); } vk_x = PairingRotate.addition(vk_x, vk.IC[0]); if ( !PairingRotate.pairingProd4( PairingRotate.negate(proof.A), proof.B, vk.alfa1, vk.beta2, vk_x, vk.gamma2, proof.C, vk.delta2 ) ) return 1; return 0; } /// @return r bool true if proof is valid function verifyProofRotate( uint256[2] memory a, uint256[2][2] memory b, uint256[2] memory c, uint256[65] memory input ) public view returns (bool r) { ProofRotate memory proof; proof.A = PairingRotate.G1Point(a[0], a[1]); proof.B = PairingRotate.G2Point([b[0][0], b[0][1]], [b[1][0], b[1][1]]); proof.C = PairingRotate.G1Point(c[0], c[1]); uint256[] memory inputValues = new uint[](input.length); for (uint256 i = 0; i < input.length; i++) { inputValues[i] = input[i]; } if (verifyRotate(inputValues, proof) == 0) { return true; } else { return false; } } }
// // Copyright 2017 Christian Reitwiessner // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: // The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // // 2019 OKIMS // ported to solidity 0.6 // fixed linter warnings // added requiere error messages // // // SPDX-License-Identifier: GPL-3.0 pragma solidity ^0.8.14; library PairingStep { struct G1Point { uint256 X; uint256 Y; } // Encoding of field elements is: X[0] * z + X[1] struct G2Point { uint256[2] X; uint256[2] Y; } /// @return the generator of G1 function P1() internal pure returns (G1Point memory) { return G1Point(1, 2); } /// @return the generator of G2 function P2() internal pure returns (G2Point memory) { // Original code point return G2Point( [ 11559732032986387107991004021392285783925812861821192530917403151452391805634, 10857046999023057135944570762232829481370756359578518086990519993285655852781 ], [ 4082367875863433681332203403145435568316851327593401208105741076214120093531, 8495653923123431417604973247489272438418190587263600148770280649306958101930 ] ); /* // Changed by Jordi point return G2Point( [10857046999023057135944570762232829481370756359578518086990519993285655852781, 11559732032986387107991004021392285783925812861821192530917403151452391805634], [8495653923123431417604973247489272438418190587263600148770280649306958101930, 4082367875863433681332203403145435568316851327593401208105741076214120093531] );*/ } /// @return r the negation of p, i.e. p.addition(p.negate()) should be zero. function negate(G1Point memory p) internal pure returns (G1Point memory r) { // The prime q in the base field F_q for G1 uint256 q = 21888242871839275222246405745257275088696311157297823662689037894645226208583; if (p.X == 0 && p.Y == 0) { return G1Point(0, 0); } return G1Point(p.X, q - (p.Y % q)); } /// @return r the sum of two points of G1 function addition(G1Point memory p1, G1Point memory p2) internal view returns (G1Point memory r) { uint256[4] memory input; input[0] = p1.X; input[1] = p1.Y; input[2] = p2.X; input[3] = p2.Y; bool success; // solium-disable-next-line security/no-inline-assembly assembly { success := staticcall(sub(gas(), 2000), 6, input, 0xc0, r, 0x60) // Use "invalid" to make gas estimation work switch success case 0 { invalid() } } require(success, "pairing-add-failed"); } /// @return r the product of a point on G1 and a scalar, i.e. /// p == p.scalar_mul(1) and p.addition(p) == p.scalar_mul(2) for all points p. function scalar_mul(G1Point memory p, uint256 s) internal view returns (G1Point memory r) { uint256[3] memory input; input[0] = p.X; input[1] = p.Y; input[2] = s; bool success; // solium-disable-next-line security/no-inline-assembly assembly { success := staticcall(sub(gas(), 2000), 7, input, 0x80, r, 0x60) // Use "invalid" to make gas estimation work switch success case 0 { invalid() } } require(success, "pairing-mul-failed"); } /// @return the result of computing the pairing check /// e(p1[0], p2[0]) * .... * e(p1[n], p2[n]) == 1 /// For example pairing([P1(), P1().negate()], [P2(), P2()]) should /// return true. function pairing(G1Point[] memory p1, G2Point[] memory p2) internal view returns (bool) { require(p1.length == p2.length, "pairing-lengths-failed"); uint256 elements = p1.length; uint256 inputSize = elements * 6; uint256[] memory input = new uint[](inputSize); for (uint256 i = 0; i < elements; i++) { input[i * 6 + 0] = p1[i].X; input[i * 6 + 1] = p1[i].Y; input[i * 6 + 2] = p2[i].X[0]; input[i * 6 + 3] = p2[i].X[1]; input[i * 6 + 4] = p2[i].Y[0]; input[i * 6 + 5] = p2[i].Y[1]; } uint256[1] memory out; bool success; // solium-disable-next-line security/no-inline-assembly assembly { success := staticcall(sub(gas(), 2000), 8, add(input, 0x20), mul(inputSize, 0x20), out, 0x20) // Use "invalid" to make gas estimation work switch success case 0 { invalid() } } require(success, "pairing-opcode-failed"); return out[0] != 0; } /// Convenience method for a pairing check for two pairs. function pairingProd2( G1Point memory a1, G2Point memory a2, G1Point memory b1, G2Point memory b2 ) internal view returns (bool) { G1Point[] memory p1 = new G1Point[](2); G2Point[] memory p2 = new G2Point[](2); p1[0] = a1; p1[1] = b1; p2[0] = a2; p2[1] = b2; return pairing(p1, p2); } /// Convenience method for a pairing check for three pairs. function pairingProd3( G1Point memory a1, G2Point memory a2, G1Point memory b1, G2Point memory b2, G1Point memory c1, G2Point memory c2 ) internal view returns (bool) { G1Point[] memory p1 = new G1Point[](3); G2Point[] memory p2 = new G2Point[](3); p1[0] = a1; p1[1] = b1; p1[2] = c1; p2[0] = a2; p2[1] = b2; p2[2] = c2; return pairing(p1, p2); } /// Convenience method for a pairing check for four pairs. function pairingProd4( G1Point memory a1, G2Point memory a2, G1Point memory b1, G2Point memory b2, G1Point memory c1, G2Point memory c2, G1Point memory d1, G2Point memory d2 ) internal view returns (bool) { G1Point[] memory p1 = new G1Point[](4); G2Point[] memory p2 = new G2Point[](4); p1[0] = a1; p1[1] = b1; p1[2] = c1; p1[3] = d1; p2[0] = a2; p2[1] = b2; p2[2] = c2; p2[3] = d2; return pairing(p1, p2); } } contract StepVerifier { using PairingStep for *; struct VerifyingKeyStep { PairingStep.G1Point alfa1; PairingStep.G2Point beta2; PairingStep.G2Point gamma2; PairingStep.G2Point delta2; PairingStep.G1Point[] IC; } struct ProofStep { PairingStep.G1Point A; PairingStep.G2Point B; PairingStep.G1Point C; } function verifyingKeyStep() internal pure returns (VerifyingKeyStep memory vk) { vk.alfa1 = PairingStep.G1Point( 20491192805390485299153009773594534940189261866228447918068658471970481763042, 9383485363053290200918347156157836566562967994039712273449902621266178545958 ); vk.beta2 = PairingStep.G2Point( [ 4252822878758300859123897981450591353533073413197771768651442665752259397132, 6375614351688725206403948262868962793625744043794305715222011528459656738731 ], [ 21847035105528745403288232691147584728191162732299865338377159692350059136679, 10505242626370262277552901082094356697409835680220590971873171140371331206856 ] ); vk.gamma2 = PairingStep.G2Point( [ 11559732032986387107991004021392285783925812861821192530917403151452391805634, 10857046999023057135944570762232829481370756359578518086990519993285655852781 ], [ 4082367875863433681332203403145435568316851327593401208105741076214120093531, 8495653923123431417604973247489272438418190587263600148770280649306958101930 ] ); vk.delta2 = PairingStep.G2Point( [ 9148034046527158989101020029579194033324545680690921079621927354300102378298, 10428510773771669101337698551840898995662926411592295461427040701160903222524 ], [ 2059005959130125518966387482690762396878640026867853728991912122619823366140, 8608655831713798153467395128429618873818784843644748205739399791673552717322 ] ); vk.IC = new PairingStep.G1Point[](2); vk.IC[0] = PairingStep.G1Point( 21097338684422677437460982984988891660959866360162656316176294386916372703826, 3398895913860087272363404566039149647887053857985313627926493221433540324753 ); vk.IC[1] = PairingStep.G1Point( 17453610618095138353005253409143141334272691316524473752585732650144486997453, 17395545982498249053105146333634640028536711052867181025149351332882425139542 ); } function verifyStep(uint256[] memory input, ProofStep memory proof) internal view returns (uint256) { uint256 snark_scalar_field = 21888242871839275222246405745257275088548364400416034343698204186575808495617; VerifyingKeyStep memory vk = verifyingKeyStep(); require(input.length + 1 == vk.IC.length, "verifier-bad-input"); // Compute the linear combination vk_x PairingStep.G1Point memory vk_x = PairingStep.G1Point(0, 0); for (uint256 i = 0; i < input.length; i++) { require(input[i] < snark_scalar_field, "verifier-gte-snark-scalar-field"); vk_x = PairingStep.addition(vk_x, PairingStep.scalar_mul(vk.IC[i + 1], input[i])); } vk_x = PairingStep.addition(vk_x, vk.IC[0]); if ( !PairingStep.pairingProd4( PairingStep.negate(proof.A), proof.B, vk.alfa1, vk.beta2, vk_x, vk.gamma2, proof.C, vk.delta2 ) ) return 1; return 0; } /// @return r bool true if proof is valid function verifyProofStep( uint256[2] memory a, uint256[2][2] memory b, uint256[2] memory c, uint256[1] memory input ) public view returns (bool r) { ProofStep memory proof; proof.A = PairingStep.G1Point(a[0], a[1]); proof.B = PairingStep.G2Point([b[0][0], b[0][1]], [b[1][0], b[1][1]]); proof.C = PairingStep.G1Point(c[0], c[1]); uint256[] memory inputValues = new uint[](input.length); for (uint256 i = 0; i < input.length; i++) { inputValues[i] = input[i]; } if (verifyStep(inputValues, proof) == 0) { return true; } else { return false; } } }
pragma solidity ^0.8.0; interface ILightClient { function consistent() external view returns (bool); function head() external view returns (uint256); function headers(uint256 slot) external view returns (bytes32); function executionStateRoots(uint256 slot) external view returns (bytes32); function timestamps(uint256 slot) external view returns (uint256); }
{ "remappings": [ "@optimism-bedrock/=lib/optimism-bedrock-contracts/", "@uniswap/=lib/", "Solidity-RLP/=lib/Solidity-RLP/contracts/", "curve-merkle-oracle/=lib/curve-merkle-oracle/contracts/", "ds-test/=lib/forge-std/lib/ds-test/src/", "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/", "forge-std/=lib/forge-std/src/", "openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/", "openzeppelin-contracts/=lib/openzeppelin-contracts/contracts/", "optimism-bedrock-contracts/=lib/optimism-bedrock-contracts/", "v3-core/=lib/v3-core/" ], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "bytecodeHash": "ipfs" }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "london", "libraries": {} }
[{"inputs":[{"internalType":"bytes32","name":"genesisValidatorsRoot","type":"bytes32"},{"internalType":"uint256","name":"genesisTime","type":"uint256"},{"internalType":"uint256","name":"secondsPerSlot","type":"uint256"},{"internalType":"uint256","name":"slotsPerPeriod","type":"uint256"},{"internalType":"uint256","name":"syncCommitteePeriod","type":"uint256"},{"internalType":"bytes32","name":"syncCommitteePoseidon","type":"bytes32"},{"internalType":"uint32","name":"sourceChainId","type":"uint32"},{"internalType":"uint16","name":"finalityThreshold","type":"uint16"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"slot","type":"uint256"},{"indexed":true,"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"HeadUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"period","type":"uint256"},{"indexed":true,"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"SyncCommitteeUpdate","type":"event"},{"inputs":[],"name":"FINALITY_THRESHOLD","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GENESIS_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GENESIS_VALIDATORS_ROOT","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SECONDS_PER_SLOT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SLOTS_PER_PERIOD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SOURCE_CHAIN_ID","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"consistent","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"executionStateRoots","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"head","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"headers","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"components":[{"internalType":"uint256","name":"attestedSlot","type":"uint256"},{"internalType":"uint256","name":"finalizedSlot","type":"uint256"},{"internalType":"uint256","name":"participation","type":"uint256"},{"internalType":"bytes32","name":"finalizedHeaderRoot","type":"bytes32"},{"internalType":"bytes32","name":"executionStateRoot","type":"bytes32"},{"components":[{"internalType":"uint256[2]","name":"a","type":"uint256[2]"},{"internalType":"uint256[2][2]","name":"b","type":"uint256[2][2]"},{"internalType":"uint256[2]","name":"c","type":"uint256[2]"}],"internalType":"struct Groth16Proof","name":"proof","type":"tuple"}],"internalType":"struct LightClientStep","name":"step","type":"tuple"},{"internalType":"bytes32","name":"syncCommitteeSSZ","type":"bytes32"},{"internalType":"bytes32","name":"syncCommitteePoseidon","type":"bytes32"},{"components":[{"internalType":"uint256[2]","name":"a","type":"uint256[2]"},{"internalType":"uint256[2][2]","name":"b","type":"uint256[2][2]"},{"internalType":"uint256[2]","name":"c","type":"uint256[2]"}],"internalType":"struct Groth16Proof","name":"proof","type":"tuple"}],"internalType":"struct LightClientRotate","name":"update","type":"tuple"}],"name":"rotate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"attestedSlot","type":"uint256"},{"internalType":"uint256","name":"finalizedSlot","type":"uint256"},{"internalType":"uint256","name":"participation","type":"uint256"},{"internalType":"bytes32","name":"finalizedHeaderRoot","type":"bytes32"},{"internalType":"bytes32","name":"executionStateRoot","type":"bytes32"},{"components":[{"internalType":"uint256[2]","name":"a","type":"uint256[2]"},{"internalType":"uint256[2][2]","name":"b","type":"uint256[2][2]"},{"internalType":"uint256[2]","name":"c","type":"uint256[2]"}],"internalType":"struct Groth16Proof","name":"proof","type":"tuple"}],"internalType":"struct LightClientStep","name":"update","type":"tuple"}],"name":"step","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"syncCommitteePoseidons","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"timestamps","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[2]","name":"a","type":"uint256[2]"},{"internalType":"uint256[2][2]","name":"b","type":"uint256[2][2]"},{"internalType":"uint256[2]","name":"c","type":"uint256[2]"},{"internalType":"uint256[65]","name":"input","type":"uint256[65]"}],"name":"verifyProofRotate","outputs":[{"internalType":"bool","name":"r","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[2]","name":"a","type":"uint256[2]"},{"internalType":"uint256[2][2]","name":"b","type":"uint256[2][2]"},{"internalType":"uint256[2]","name":"c","type":"uint256[2]"},{"internalType":"uint256[1]","name":"input","type":"uint256[1]"}],"name":"verifyProofStep","outputs":[{"internalType":"bool","name":"r","type":"bool"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
6101406040526000805460ff191660019081178255553480156200002257600080fd5b5060405162004b2338038062004b23833981016040819052620000459162000106565b608088905260a087905260c086905260e085905263ffffffff82166101005261ffff81166101205262000079848462000087565b50505050505050506200018d565b60008281526005602052604090205415801590620000b357506000828152600560205260409020548114155b15620000c75750506000805460ff19169055565b60008281526005602052604080822083905551829184917f783ee45e8820a8249b1456ff4a715f3bd483b1a59bdc7a49bbc316bbd67a4e2f9190a35050565b600080600080600080600080610100898b0312156200012457600080fd5b885197506020890151965060408901519550606089015194506080890151935060a0890151925060c089015163ffffffff811681146200016357600080fd5b60e08a015190925061ffff811681146200017c57600080fd5b809150509295985092959890939650565b60805160a05160c05160e051610100516101205161492a620001f9600039600081816102af01526107ce015260006101d001526000818161010a01526107f90152600081816101610152610b960152600081816102fc0152610bba01526000610255015261492a6000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c80638bc33af311610097578063cb97095211610066578063cb97095214610297578063da4b05e7146102aa578063e5b708fe146102e4578063f2882461146102f757600080fd5b80638bc33af3146102275780638f7dcfa314610247578063a8769acb14610250578063b34711ab1461027757600080fd5b806356f90d79116100d357806356f90d79146101985780637227d785146101b857806374be2150146101cb5780637623ee291461020757600080fd5b80632073ee70146101055780632bcccca51461013f578063304b90711461015c5780634b4e4dff14610183575b600080fd5b61012c7f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020015b60405180910390f35b60005461014c9060ff1681565b6040519015158152602001610136565b61012c7f000000000000000000000000000000000000000000000000000000000000000081565b6101966101913660046145c1565b61031e565b005b61012c6101a6366004614636565b60026020526000908152604090205481565b61014c6101c636600461464f565b610371565b6101f27f000000000000000000000000000000000000000000000000000000000000000081565b60405163ffffffff9091168152602001610136565b61012c610215366004614636565b60046020526000908152604090205481565b61012c610235366004614636565b60036020526000908152604090205481565b61012c60015481565b61012c7f000000000000000000000000000000000000000000000000000000000000000081565b61012c610285366004614636565b60056020526000908152604090205481565b6101966102a5366004614708565b610489565b6102d17f000000000000000000000000000000000000000000000000000000000000000081565b60405161ffff9091168152602001610136565b61014c6102f236600461472c565b6105ca565b61012c7f000000000000000000000000000000000000000000000000000000000000000081565b8051600061032b826106be565b9050600061033c83602001516107f2565b9050600061034b8260016147fa565b905061035685610824565b821561036a5761036a818660400151610925565b5050505050565b600061037b614294565b60408051808201825287518152602080890151818301529083528151608081018352875151818401908152885183015160608301528152825180840184528883018051518252518301518184015281830152838201528151808301835286518152868201518183015283830152815160418082526108408201909352600092909182016108208036833701905050905060005b604181101561045d578481604181106104295761042961480d565b60200201518282815181106104405761044061480d565b60209081029190910101528061045581614823565b91505061040e565b5061046881836109a2565b60000361047a57600192505050610481565b6000925050505b949350505050565b6000610494826106be565b82519091506104a1610b92565b10156105005760405162461bcd60e51b8152602060048201526024808201527f55706461746520736c6f7420697320746f6f2066617220696e207468652066756044820152637475726560e01b60648201526084015b60405180910390fd5b600154826020015110156105615760405162461bcd60e51b815260206004820152602260248201527f55706461746520736c6f74206c657373207468616e2063757272656e74206865604482015261185960f21b60648201526084016104f7565b80156105825761057e826020015183606001518460800151610bee565b5050565b60405162461bcd60e51b815260206004820152601760248201527f4e6f7420656e6f756768207061727469636970616e747300000000000000000060448201526064016104f7565b60006105d4614294565b60408051808201825287518152602080890151818301529083528151608081018352875151818401908152885183015160608301528152825180840184528883018051518252518301518184015281830152838201528151808301835286518152868201518183015283830152815160018082528184019093526000929091828101908036833701905050905060005b60018110156106b35784816001811061067f5761067f61480d565b60200201518282815181106106965761069661480d565b6020908102919091010152806106ab81614823565b915050610664565b506104688183610cbb565b6000806106ce83600001516107f2565b6000818152600560205260408120549192500361074b5760405162461bcd60e51b815260206004820152603560248201527f53796e6320636f6d6d697474656520666f722063757272656e7420706572696f604482015274321034b9903737ba1034b734ba34b0b634bd32b21760591b60648201526084016104f7565b600a836040015110156107ba5760405162461bcd60e51b815260206004820152603160248201527f4c657373207468616e204d494e5f53594e435f434f4d4d49545445455f5041526044820152702a24a1a4a820a72a299039b4b3b732b21760791b60648201526084016104f7565b6107c383610e46565b50506040015161ffff7f0000000000000000000000000000000000000000000000000000000000000000161090565b600061081e7f000000000000000000000000000000000000000000000000000000000000000083614852565b92915050565b60608101516108316142e5565b602083015160005b602081101561088f5761084e61010083614866565b8361085a83601f61487a565b6041811061086a5761086a61480d565b602002015261087b61010083614852565b91508061088781614823565b915050610839565b5083516060015160005b60208110156108ef576108ae61010083614866565b846108ba83604061487a565b604181106108ca576108ca61480d565b60200201526108db61010083614852565b9150806108e781614823565b915050610899565b5060408501516108fe9061115f565b61040084015283516020850151604086015161091c92919086610371565b61036a57600080fd5b6000828152600560205260409020541580159061095057506000828152600560205260409020548114155b156109635750506000805460ff19169055565b60008281526005602052604080822083905551829184917f783ee45e8820a8249b1456ff4a715f3bd483b1a59bdc7a49bbc316bbd67a4e2f9190a35050565b60007f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f0000001816109ce6112a7565b9050806080015151855160016109e491906147fa565b14610a265760405162461bcd60e51b81526020600482015260126024820152711d995c9a599a595c8b5898590b5a5b9c1d5d60721b60448201526064016104f7565b604080518082019091526000808252602082018190525b8651811015610b175783878281518110610a5957610a5961480d565b602002602001015110610aae5760405162461bcd60e51b815260206004820152601f60248201527f76657269666965722d6774652d736e61726b2d7363616c61722d6669656c640060448201526064016104f7565b610b0382610afe8560800151846001610ac791906147fa565b81518110610ad757610ad761480d565b60200260200101518a8581518110610af157610af161480d565b6020026020010151613400565b613496565b915080610b0f81614823565b915050610a3d565b50610b40818360800151600081518110610b3357610b3361480d565b6020026020010151613496565b9050610b76610b52866000015161352f565b8660200151846000015185602001518587604001518b6040015189606001516135ce565b610b86576001935050505061081e565b50600095945050505050565b60007f0000000000000000000000000000000000000000000000000000000000000000610bdf7f00000000000000000000000000000000000000000000000000000000000000004261487a565b610be99190614852565b905090565b60008381526002602052604090205415610c27576000838152600260205260409020548214610c22576000805460ff191690555b505050565b60008381526004602052604090205415610c5f576000838152600460205260409020548114610c22576000805460ff19169055505050565b6001839055600083815260026020908152604080832085905560048252808320849055600390915280822042905551839185917ffefccbcf6acd2cac524c1cb2d70450cabbec5bc95873e927c121d2d9b7924a029190a3505050565b60007f30644e72e131a029b85045b68181585d2833e84879b9709143e1f593f000000181610ce7613759565b905080608001515185516001610cfd91906147fa565b14610d3f5760405162461bcd60e51b81526020600482015260126024820152711d995c9a599a595c8b5898590b5a5b9c1d5d60721b60448201526064016104f7565b604080518082019091526000808252602082018190525b8651811015610df45783878281518110610d7257610d7261480d565b602002602001015110610dc75760405162461bcd60e51b815260206004820152601f60248201527f76657269666965722d6774652d736e61726b2d7363616c61722d6669656c640060448201526064016104f7565b610de082610afe8560800151846001610ac791906147fa565b915080610dec81614823565b915050610d56565b50610e10818360800151600081518110610b3357610b3361480d565b9050610b76610e22866000015161352f565b8660200151846000015185602001518587604001518b604001518960600151613ae4565b6000610e55826000015161115f565b90506000610e66836020015161115f565b90506000610e77846040015161115f565b90506000610e8885600001516107f2565b600081815260056020908152604080832054815192830189905290820187905292935060029060600160408051601f1981840301815290829052610ecb9161488d565b602060405180830381855afa158015610ee8573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190610f0b91906148bc565b90506002818860600151604051602001610f2f929190918252602082015260400190565b60408051601f1981840301815290829052610f499161488d565b602060405180830381855afa158015610f66573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190610f8991906148bc565b905060028185604051602001610fa9929190918252602082015260400190565b60408051601f1981840301815290829052610fc39161488d565b602060405180830381855afa158015610fe0573d6000803e3d6000fd5b5050506040513d601f19601f8201168201806040525081019061100391906148bc565b90506002818860800151604051602001611027929190918252602082015260400190565b60408051601f19818403018152908290526110419161488d565b602060405180830381855afa15801561105e573d6000803e3d6000fd5b5050506040513d601f19601f8201168201806040525081019061108191906148bc565b9050600281836040516020016110a1929190918252602082015260400190565b60408051601f19818403018152908290526110bb9161488d565b602060405180830381855afa1580156110d8573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906110fb91906148bc565b905060006111088261115f565b90506111196001600160fd1b61487a565b60a0890151604080516020808201835293909416808552825193830151918301519094929361114a929091846105ca565b61115357600080fd5b50505050505050505050565b60006008827eff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff16901b6008837fff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff00ff0016901c1791506010827dffff0000ffff0000ffff0000ffff0000ffff0000ffff0000ffff0000ffff16901b6010837fffff0000ffff0000ffff0000ffff0000ffff0000ffff0000ffff0000ffff000016901c1791506020827bffffffff00000000ffffffff00000000ffffffff00000000ffffffff16901b6020837fffffffff00000000ffffffff00000000ffffffff00000000ffffffff0000000016901c17915060408277ffffffffffffffff0000000000000000ffffffffffffffff16901b60408377ffffffffffffffff0000000000000000ffffffffffffffff1916901c179150608082901b608083901c1791508160001b9050919050565b6112af614304565b6040805180820182527f2d4d9aa7e302d9df41749d5507949d05dbea33fbb16c643b22f599a2be6df2e281527f14bedd503c37ceb061d8ec60209fe345ce89830a19230301f076caff004d19266020808301919091529083528151608080820184527f0967032fcbf776d1afc985f88877f182d38480a653f2decaa9794cbc3bf3060c8285019081527f0e187847ad4c798374d0d6732bf501847dd68bc0e071241e0213bc7fc13db7ab606080850191909152908352845180860186527f304cfbd1e08a704a99f5e847d93f8c3caafddec46b7a0d379da69a4d112346a781527f1739c1b1a457a8c7313123d24d2f9192f896b7c63eea05a9d57f06547ad0cec8818601528385015285840192909252835180820185527f198e9393920d483a7260bfb731fb5d25f1aa493335a9e71297e485b7aef312c28186019081527f1800deef121f1e76426a00665e5c4479674322d4f75edadd46debd5cd992f6ed828501528152845180860186527f090689d0585ff075ec9e99ad690c3395bc4b313370b38ef355acdadcd122975b81527f12c85ea5db8c6deb4aab71808dcb408fe3d1e7690c43d37b4ce6cc0166fa7daa818601528185015285850152835190810184527f081ffbaf63754bc1a145b484f7a27c6e799a84f3a3966c7e85f9328d57a432e78185019081527f1823f1b56c4523a2f3d587eae4c49d16ba84fd47e2cc15d28869daee75c0ad63828401528152835180850185527e39d60aef946b208811537ce2e0a395e756e68509683904e8581dadd08d6b6c81527f0bde183126dc8a61e2affdcc5a5d41b99ea3662cb8e4ae7692f84aba6a61b9e4818501528184015290840152815160428082526108608201909352919082015b604080518082019091526000808252602082015281526020019060019003908161152a57505060808201908152604080518082019091527f0c185f1ea7418bbc8948b534a1b2bb4b3c1e2392a66c321688abf6f237ad25bd81527f08e198c15d499483567f326e3b5734e00ac38359392f50b54830705de945cfa06020820152905180516000906115bd576115bd61480d565b602002602001018190525060405180604001604052807f1f90ac19aca208ad92bfb4bc6c69460b7711654d0b511fb531329443fde844fd81526020017f1f7b3fe00ce573d0a53bd980d7ecebc00f18260f242b76ed9c04a23cc0b6848881525081608001516001815181106116345761163461480d565b602002602001018190525060405180604001604052807f16ad1d36dcd31e0b6b872d6b76edf1243af076fa1a7985d18ad460820bba1c4381526020017f2d187e157d473ebafbbde67c7c648c6823dcf69281be41d826f43a61098d1b3a81525081608001516002815181106116ab576116ab61480d565b602002602001018190525060405180604001604052807f013754db9fc1af20cc4d28a2f570eb2ae2ecea653d44562f298c041a1e30483c81526020017f13f80b71299846ab483c0ec012e7b588006a2798ec9487b4069a5b89466e515d81525081608001516003815181106117225761172261480d565b602002602001018190525060405180604001604052807f30012147362dfe30f9d738a7bdb4779e739a20e4bbdf9d08185ceac30427471d81526020017f05e2702344dd9f21d642423976ec90d1a1cc6b2dbb002fd670e223e0333a323b81525081608001516004815181106117995761179961480d565b602002602001018190525060405180604001604052807f1e4544057e1fa2c3d9a7b98a35cd7e488170cc8d1dd7f358f9fc1f151f194d1e81526020017f01abeb06148772ba12b7910297b9f42b26a6d70742168b1bf17cb71e3852c86f81525081608001516005815181106118105761181061480d565b602002602001018190525060405180604001604052807f260d127a7e240607e6545c9b0ded8137ff05d56a7adbc39791d42b6605a09c6781526020017f249e598e9183e2a2946615bd00f95d5aa55844d27fc82e597e902cfd3b5b4fc881525081608001516006815181106118875761188761480d565b602002602001018190525060405180604001604052807f2fdece479eae335f3ed26fac523621e593143ed86f83f4b6e2b61bf11418b9aa81526020017f14e84ff1ed1947180cab465e94d036258f8f093f52671fbcb3a03cfd28cc39c581525081608001516007815181106118fe576118fe61480d565b602002602001018190525060405180604001604052807f1b7a08a6f0eda5d4d6c820b37a685ecb436d3801892512d23aa92569489836db81526020017f1549a1b15962b4b4f8fca7df25eb44db26ebc2304025d61e0007dbf913a00c8f81525081608001516008815181106119755761197561480d565b602002602001018190525060405180604001604052807f10c8b2788f9f5acb12814b6e9bfb5089283830b99af8b61597ee26e2b2b4e54181526020017f0b33ac288c666fff95c8e52e13b8435d6b2c3b19715aee6676259f484387b61481525081608001516009815181106119ec576119ec61480d565b602002602001018190525060405180604001604052807f20086fd677f58ec067de827ae677e976ddeb8188b50ed87dab74f7d5a046fb8d81526020017f0895fb19b25da8bf8f348ff6d170f6e9c55ef6cd883f492ec50b74655b8aabe48152508160800151600a81518110611a6357611a6361480d565b602002602001018190525060405180604001604052807f1bf5431b670d0e6a87965eb5032ccfc7499df7d5644f55a0fb009b58abe1512f81526020017f251307c8769dc821db058112627207b7a1d76c4add8fa375d51db5517b7261dc8152508160800151600b81518110611ada57611ada61480d565b602002602001018190525060405180604001604052807f1229c91e36dee04e6fadd8d0142a20cabc1bb5129f32b3811cc3c05c4d014a7c81526020017f0ebee4cacdb93de594742b856ae152aee821654e2fb0a820fa385e33c9f3930f8152508160800151600c81518110611b5157611b5161480d565b602002602001018190525060405180604001604052807f064a3632895685cac8bd44a85b851c3ef0f6236b0414f0ae47eebd9aa905b4ec81526020017f2b5afabb351106c7b3aa6012858fb3c6006b7057eb4abebb63f640ff39d5d7cc8152508160800151600d81518110611bc857611bc861480d565b602002602001018190525060405180604001604052807f0f908fc07f599881da8a14cdad7730eaa5c8c000427c8cd0529bccbf1216661981526020017f0349b42333ed910b2255a991b948d14a7622dc993ab641d5ab309a14a909dbd28152508160800151600e81518110611c3f57611c3f61480d565b602002602001018190525060405180604001604052807f1b6d6fef86c857cee40fd60d8c8694645e19cc1997856e741f1c0e0afe91731081526020017f22404e5e1d1ed9755cfb646ebb21d2684dc9cf0de6f6f4ee14b81df0170772c78152508160800151600f81518110611cb657611cb661480d565b602002602001018190525060405180604001604052807f1d5f14362e065e9967264221c54c1fe00484fb5ba4204771e246e9d8e2ae97e681526020017f26aa5b46e6fd4442a7a8a4aa32bc89c7df945ca81b9c5fafd9cc665c59ee3a5f8152508160800151601081518110611d2d57611d2d61480d565b602002602001018190525060405180604001604052807f1305723a5d8f2c2d7c068e782987afd7bd884559776e936de6bbac61770989c181526020017f14cd0e752bb435a203433c40301ed26ac1c596670d3b393f95dc1da7f1a704058152508160800151601181518110611da457611da461480d565b602002602001018190525060405180604001604052807f029cbabd9a0e36f737c34cc61d4f3f5fd00e0176cde2d6a8d02a33520725930a81526020017f24b1e5eac57c4895ab1831e13e125e2d530759e0554c94c47cdd060c0d24ad9d8152508160800151601281518110611e1b57611e1b61480d565b602002602001018190525060405180604001604052807f1fdaf56fc3f15e84e669028ab720f17c8a1a43131c93ac66ad2785855f0636a781526020017f101367ee8537bb6e40f68da7ecd22cc27bf3b039e273bfa4e0889a77644c4fa58152508160800151601381518110611e9257611e9261480d565b602002602001018190525060405180604001604052807f26e7b761f9c9349a820b6f265d207595a4c46eae94e381e0d34295adce56d9d681526020017e89346cb404d99fab5a38c0a1ffca937270d8cedffe7790e43f3b4f0cbe5bf18152508160800151601481518110611f0857611f0861480d565b602002602001018190525060405180604001604052807f2c7dceafcd7c3c8af9f845956614809595c756f7a229dbd97c93dbecda9928ff81526020017f1ef86d199ba7aa1e34b3a63c7ebe9d6321936824e0d3c5c063fd532353f5bed38152508160800151601581518110611f7f57611f7f61480d565b602002602001018190525060405180604001604052807f1db08ce94a36fa802f539a60ae73857b7c56da4c9fe59ee1db07886843a1e13e81526020017f26ed3913b246e4d62758e160a0b7025832e026a10ea8ebaed0e2246fb73993d78152508160800151601681518110611ff657611ff661480d565b602002602001018190525060405180604001604052807f01636a5481ebe538ee1c398f559a5a3ca25ca5374bc08b6361f5d510936e748c81526020017f104d50194944aac2f36c50d53c62bace5f55b55708ee996cf5307305197cddb4815250816080015160178151811061206d5761206d61480d565b602002602001018190525060405180604001604052807f1ae314f9ecf9cfe277f346e4ab84cad818e09692a41ab4e12077326abb4b65a481526020017f0e7e319197d06b350b8e891b46bd367b87a3fa3646473f4ba0b13f110263ab8481525081608001516018815181106120e4576120e461480d565b602002602001018190525060405180604001604052807f15fb4c1f6cfafff21dadf5ad7ee8ce1c4f4ca8f3510bc4ccdb072ede9610718781526020017f2c43cef065002f9e3e1bd5008ccc154abb61aa9a8998bc1c2037c240647a05cb815250816080015160198151811061215b5761215b61480d565b602002602001018190525060405180604001604052807f2799023c82b0c8ea13964f101c80d0bff8355eae4ace890bd80343993e0ae1c481526020017f10ba509ab3f8c5ceafd6a94f040eeb44838fc3bb09467dc5047fbf28d5209ce58152508160800151601a815181106121d2576121d261480d565b602002602001018190525060405180604001604052807f16c23384e2441341a98531c9363033ea2f397734b03ab157e2d3350a800383bc81526020017f186ee2652fcfeafd32fc1fc498a3a557b88ca9a8f7a079daad66901ac81bd6578152508160800151601b815181106122495761224961480d565b602002602001018190525060405180604001604052807f26332965976c772ec9519a330c8925c1ea579a7afaf34e0853b229307957d06681526020017f1bec8b8225e04ddbf4d81cd2292fb8869e1670189adba5183c373aa4a2e88b038152508160800151601c815181106122c0576122c061480d565b602002602001018190525060405180604001604052807f2dcef9e4232462945edfcf282c6d46622549c490699a09ea75e878c17f39997981526020017f1b10aaae3115dfb31e317e8742366bfc10e3545a6c58d8d29510b81183eeef628152508160800151601d815181106123375761233761480d565b602002602001018190525060405180604001604052807f114d1d8f62a23df07b405646e4bc22b1dbcb5c30a3d14fc6d1f0bfc56e946d6481526020017f1a105012b99a1ef69addd9a37ebd168f5e926f59652200dfd81bbb6df90059518152508160800151601e815181106123ae576123ae61480d565b602002602001018190525060405180604001604052807f16ad365555143dbbc6edd78746b22d1a8c36d570cf2c8dcec78ec3b7b92006a681526020017f2dc9ece757eeb3a9a5c73b0fa93bd6912f62d373190876973ce77a3d769015628152508160800151601f815181106124255761242561480d565b602002602001018190525060405180604001604052807f10bdb935e0a83f3288b74aec36586157d96c14be6fd7d892d88bac500ae2ddad81526020017f0db0fb2317f7040c086613e348884377e241a6fc1ff06950088892f29eb1c2b7815250816080015160208151811061249c5761249c61480d565b602002602001018190525060405180604001604052807f22075082f5a9939cde5fdbc5cc9d1b24c8a76919259413c4603c2c9ae3dd053481526020017f1083d28dc9a805506ee600a41ce7ab90245753a0850cfe5fbfba845f8855d39b81525081608001516021815181106125135761251361480d565b602002602001018190525060405180604001604052807f04fb45f8e3393f3f2bec33f016e066a8d9a4db0312338730e04feb84de409bab81526020017f076fb28590fbd6736d9e7a3c8bee92f8840335ca1933ea8b138e1a5e88ccbd6f815250816080015160228151811061258a5761258a61480d565b602002602001018190525060405180604001604052807f27c476204812bc91df24cc551597d8961d0554b9394db61bc2fc11e574ec165681526020017f0242ef58b307be956117d23453ef691016c3c24d5f82772360c8bf3a0623d41881525081608001516023815181106126015761260161480d565b602002602001018190525060405180604001604052807f05bcd391353777652504c324832c34fb149b5f47732b72266e4786d87b894d9f81526020017f235f9b6bc8590d671533b15e9e4d3f24cb913fd9b12ee93d7f9d85f26e88d79481525081608001516024815181106126785761267861480d565b602002602001018190525060405180604001604052807f2645912441857c00f18d20417b85f75262dfbeadf84f9de9f73c48a101f38b3181526020017f26ac45b6b26ec2e6d1ad7e5a2e4349f3bdb6da67b151881f7a0408090096906f81525081608001516025815181106126ef576126ef61480d565b602002602001018190525060405180604001604052807f2b897340451fa6942e1ccfb552aaeba95e3212272d2d352d2a73a6d543a74cdc81526020017f1da4217277fddccdb106aee8e1a879df237c0842817b9e38b9a889454d7363d281525081608001516026815181106127665761276661480d565b602002602001018190525060405180604001604052807f16ba6ec88cfd8fb3b567950de8cac6327f8303108524d5ff56bfc40aadf1298181526020017f1c763c69d689b8306bccc3670727c97caec78cb6e500f6ffca61b27f96f1ad7281525081608001516027815181106127dd576127dd61480d565b602002602001018190525060405180604001604052807f21c27b1fb03651bf3cb6f14a56c968b70c3ca2d59ead05e387556805a175f9c181526020017eb2d10f7b548000104bbdfebcc3818da8f268d2e6518179c80196c6f8ab2f0481525081608001516028815181106128535761285361480d565b602002602001018190525060405180604001604052807f2963360d6b274ee4009993e71e464d9b67d60bd5ebc8b77f93b002e6e1a74f4b81526020017f26eef1be0306ae60879a4bed63269d742086e7590047c9d294a666d450665ba981525081608001516029815181106128ca576128ca61480d565b602002602001018190525060405180604001604052807f26a1963eb0febfe0e9147228011c5f23d5228f98f7bd7b48abab636a7b43282581526020017f186c2cf96c5efba832d86919538cffad728b690a999ad7865b23630b139bc2418152508160800151602a815181106129415761294161480d565b602002602001018190525060405180604001604052807f02805fe8c4f74c7bd1af67fc004bdc572b0476ec747bd206a69f1315ce170cb981526020017f20bc65b8df5cd49f6198f46db813ecaed841980f0e87baa1200b8f01975c6de78152508160800151602b815181106129b8576129b861480d565b602002602001018190525060405180604001604052807f075ebb277ded6bebfb100ddc5e20f66094142e02c06c16897872e5440d39128281526020017f02fbab6a92406edb96006f595a537eea2ffb04dacfac469c2bc3217b390fab978152508160800151602c81518110612a2f57612a2f61480d565b602002602001018190525060405180604001604052807f1ed1c6c90367329960a42d1e58f4af970b2cf3321beb52e250c5eba0d7a063d581526020017f072187e6da92135040017d380376ca89ffd689f146134093d97212e6a5e9ecf68152508160800151602d81518110612aa657612aa661480d565b602002602001018190525060405180604001604052807f2b976dd40cd66beb72ac6345676ebeaec22aa170742a389eec790093bd69cdbf81526020017f070b65eb513c318176fa538eefe77c88f02b188695aeee638214db6f53b70afb8152508160800151602e81518110612b1d57612b1d61480d565b602002602001018190525060405180604001604052807f24cb1f2432bed8cb514e9f4438b61e767e49565737438b45b0e0a66050088dc581526020017f27918ec01627729289304c6d79c8fd9eb06aeb58f5c47f3b923094a618441ccd8152508160800151602f81518110612b9457612b9461480d565b602002602001018190525060405180604001604052807f1f51c44f34d12849869a0e2cf525f7410e78fe05be1a605dd6b03d98c330b67d81526020017f033df715599f32cbc5f2d6f558a425bd913b89129bf05a7f44eba925d4dadc6f8152508160800151603081518110612c0b57612c0b61480d565b602002602001018190525060405180604001604052807f142a7c772647727c2560066d774128c5988fa1c7b1188a88cd53b58f5ca687a681526020017f2e1258339657e9c87bb109506f8a4a72533f307b4c1381b34a1b8bd0770ee27d8152508160800151603181518110612c8257612c8261480d565b602002602001018190525060405180604001604052807f248a3ca935380fb7705a9231bf4e96d9bd56abb4f033aea4bdc201427d47cd6381526020017f2df363c1782f03bfc9c202b2cb1eb63a8b3df7f749847f48899615312d246a7d8152508160800151603281518110612cf957612cf961480d565b602002602001018190525060405180604001604052807f2ef54017ac766421771a10a316067e3f72dbb08f7a704d0a3cb18a0da5ef05b681526020017f2fea998cb0147927da4515b37a8ebde387e6adfd195188ad6774459ac0b30adf8152508160800151603381518110612d7057612d7061480d565b602002602001018190525060405180604001604052807f11db735a04e3b4c9d7ba8d6a37efdaa23994e4cf0327cc792daa8c5211014f9181526020017f11535163983fb260c197f52ac9aa89aaf355efb9dad3aad42d17f89adcaed8638152508160800151603481518110612de757612de761480d565b602002602001018190525060405180604001604052807f2017f387b59c5c6e47c9193c085f2b358e640b43c0efd014987cee2cd2cebce181526020017f2dd0b8904079adb505d93cce9300d000fccd80089133d03265d496df36aef4088152508160800151603581518110612e5e57612e5e61480d565b602002602001018190525060405180604001604052807f05e6d6654ac843c8e1169fe55b0b2037c8ed1fb82704e9b25dd028189f0f382b81526020017f305e51977fb583c5ace4f7ae07bdb49d253fdc762816ddc3d127d8127f50223b8152508160800151603681518110612ed557612ed561480d565b602002602001018190525060405180604001604052807f0cb1da2395c5d94afc442c5558674e100983462af3a9661123233e94cc85864d81526020017f28a081b7cfb6f1b3861c98c6493903a23a6b8e72c8a69ec1a9e0a1ad178ad7598152508160800151603781518110612f4c57612f4c61480d565b602002602001018190525060405180604001604052807f11c0034b576435411e464624c7e922b7557631f3c49c986faac124f90b5c1d8081526020017f29bfd443533c8556f867dfe367a9a779031aa1901adcc6382bdb5ddd204351b08152508160800151603881518110612fc357612fc361480d565b602002602001018190525060405180604001604052807f254402d45d6ef32c13748d57197cbbd5dea85e58f0b742d4b07974bce73c12bf81526020017f01752980cc8b6a27b8805b6b3f08e6ba24c55d7be7f4d04b1fad91e6013b1ac7815250816080015160398151811061303a5761303a61480d565b602002602001018190525060405180604001604052807f2c30ef5598bce54d4a2f92a7c667f5fbc280e3c3615474a24e4210e109085dc081526020017f1eda46b5f7010302261dadf6588c5b84db5a78cba5a6a786c7956b4b7273253d8152508160800151603a815181106130b1576130b161480d565b602002602001018190525060405180604001604052807f22120e152738deac0c9376a3369764bd6a078e207489515a5b75681752c8c74081526020017f1ae7e0719d5052e16e1c119efaed27ccf9503d8a9807df78e5e227a60dab226a8152508160800151603b815181106131285761312861480d565b602002602001018190525060405180604001604052807f04c5fc76fbb4f3e2155c61ba703f08b42f7514f251f2cdb48bd007406d1a79de81526020017f0cff7fe0459d763301c08ace9c2954c2475983538e56a9500f1434b5a9716c908152508160800151603c8151811061319f5761319f61480d565b602002602001018190525060405180604001604052807f093ae82aa71c2cc010adb2c5986a5e6b04154ad75415152163a74529c879507a81526020017f161cfcb21613f247fb648baad9c7c20215fb34517b8aeee327f756548a825f528152508160800151603d815181106132165761321661480d565b602002602001018190525060405180604001604052807f21e776b3bb5b389f63d39ecd8e20d4f15f0a9c75795d62963d24eda268a42b9a81526020017f23031be05095731766a38484e85bdb577f999841368d8ea5812ff1ada765d46d8152508160800151603e8151811061328d5761328d61480d565b602002602001018190525060405180604001604052807f2185e37cebc843c0449335273043e2920e141d0cf48f367fd8e857f5d64fa2b681526020017f2f5b704b445b34caf65e5fc214112d01e617a7fd40070c7673bf28091dfc278c8152508160800151603f815181106133045761330461480d565b602002602001018190525060405180604001604052807f1a4dc8daf63f9748338fac8123ca5b346ec8f2760bc5809eda591f760d6464bb81526020017f1d963dc2cde9d4bc001c4fa140fce8386e9fa42666aade490931ce469fe5bb70815250816080015160408151811061337b5761337b61480d565b602002602001018190525060405180604001604052807f03ea2ef922aea40b927e35e5f3f03e441cdefaeb5e2cc43467d016c6a40886fb81526020017f027096550d04b560e795485d370b6b415c872aab042cf487e04ca0113198f86281525081608001516041815181106133f2576133f261480d565b602002602001018190525090565b604080518082019091526000808252602082015261341c614355565b835181526020808501519082015260408101839052600060608360808460076107d05a03fa9050808061344b57fe5b508061348e5760405162461bcd60e51b81526020600482015260126024820152711c185a5c9a5b99cb5b5d5b0b59985a5b195960721b60448201526064016104f7565b505092915050565b60408051808201909152600080825260208201526134b2614373565b8351815260208085015181830152835160408301528301516060808301919091526000908360c08460066107d05a03fa905080806134ec57fe5b508061348e5760405162461bcd60e51b81526020600482015260126024820152711c185a5c9a5b99cb5859190b59985a5b195960721b60448201526064016104f7565b604080518082019091526000808252602082015281517f30644e72e131a029b85045b68181585d97816a916871ca8d3c208c16d87cfd479015801561357657506020830151155b156135965750506040805180820190915260008082526020820152919050565b6040518060400160405280846000015181526020018285602001516135bb9190614866565b6135c5908461487a565b90529392505050565b60408051600480825260a08201909252600091829190816020015b60408051808201909152600080825260208201528152602001906001900390816135e957505060408051600480825260a0820190925291925060009190602082015b613633614391565b81526020019060019003908161362b5790505090508a8260008151811061365c5761365c61480d565b6020026020010181905250888260018151811061367b5761367b61480d565b6020026020010181905250868260028151811061369a5761369a61480d565b602002602001018190525084826003815181106136b9576136b961480d565b602002602001018190525089816000815181106136d8576136d861480d565b602002602001018190525087816001815181106136f7576136f761480d565b602002602001018190525085816002815181106137165761371661480d565b602002602001018190525083816003815181106137355761373561480d565b602002602001018190525061374a8282613c60565b9b9a5050505050505050505050565b613761614304565b6040805180820182527f2d4d9aa7e302d9df41749d5507949d05dbea33fbb16c643b22f599a2be6df2e281527f14bedd503c37ceb061d8ec60209fe345ce89830a19230301f076caff004d19266020808301919091529083528151608080820184527f0967032fcbf776d1afc985f88877f182d38480a653f2decaa9794cbc3bf3060c8285019081527f0e187847ad4c798374d0d6732bf501847dd68bc0e071241e0213bc7fc13db7ab606080850191909152908352845180860186527f304cfbd1e08a704a99f5e847d93f8c3caafddec46b7a0d379da69a4d112346a781527f1739c1b1a457a8c7313123d24d2f9192f896b7c63eea05a9d57f06547ad0cec8818601528385015285840192909252835180820185527f198e9393920d483a7260bfb731fb5d25f1aa493335a9e71297e485b7aef312c28186019081527f1800deef121f1e76426a00665e5c4479674322d4f75edadd46debd5cd992f6ed828501528152845180860186527f090689d0585ff075ec9e99ad690c3395bc4b313370b38ef355acdadcd122975b81527f12c85ea5db8c6deb4aab71808dcb408fe3d1e7690c43d37b4ce6cc0166fa7daa818601528185015285850152835190810184527f14399a918550d748b6fd3ed36d60643cd690b024759f9f38bd5b3e04e07c833a8185019081527f170e53f30bbc1d546e7d4f6eddc734c9d2a51d6b697cc2ca69398b455e8124fc828401528152835180850185527f048d5b27add7de76d699d515632043c93fa82f3d37b7f22f052412906a479ffc81527f1308539799f7f1f53e9190d1fdafb18dc0f9269ac783b67c83244ca2f610c60a818501528184015281850152825160028082529181019093529082015b60408051808201909152600080825260208201528152602001906001900390816139da57505060808201908152604080518082019091527f2ea4aba81d2ca82fdbb6b7a71047b58a997df0d0b7e9c92cdb3ab6be7b2aea5281527f0783b4f84ad8390440cbf1f175ccb50fbc7aa73de097eed53dffd8d4545fad91602082015290518051600090613a6d57613a6d61480d565b602002602001018190525060405180604001604052807f269664be903c2510bbebdd1a0e8a27378f9a61012bad3624d3833412894d3dcd81526020017f267587b5874ab4dd5eeace61bd60bbdbe528206aa801b7e2207b9c6bdeb1515681525081608001516001815181106133f2576133f261480d565b60408051600480825260a08201909252600091829190816020015b6040805180820190915260008082526020820152815260200190600190039081613aff57505060408051600480825260a0820190925291925060009190602082015b613b49614391565b815260200190600190039081613b415790505090508a82600081518110613b7257613b7261480d565b60200260200101819052508882600181518110613b9157613b9161480d565b60200260200101819052508682600281518110613bb057613bb061480d565b60200260200101819052508482600381518110613bcf57613bcf61480d565b60200260200101819052508981600081518110613bee57613bee61480d565b60200260200101819052508781600181518110613c0d57613c0d61480d565b60200260200101819052508581600281518110613c2c57613c2c61480d565b60200260200101819052508381600381518110613c4b57613c4b61480d565b602002602001018190525061374a8282613fb8565b60008151835114613cac5760405162461bcd60e51b81526020600482015260166024820152751c185a5c9a5b99cb5b195b99dd1a1ccb59985a5b195960521b60448201526064016104f7565b82516000613cbb8260066148d5565b905060008167ffffffffffffffff811115613cd857613cd86143ed565b604051908082528060200260200182016040528015613d01578160200160208202803683370190505b50905060005b83811015613f3c57868181518110613d2157613d2161480d565b60200260200101516000015182826006613d3b91906148d5565b613d469060006147fa565b81518110613d5657613d5661480d565b602002602001018181525050868181518110613d7457613d7461480d565b60200260200101516020015182826006613d8e91906148d5565b613d999060016147fa565b81518110613da957613da961480d565b602002602001018181525050858181518110613dc757613dc761480d565b6020908102919091010151515182613de08360066148d5565b613deb9060026147fa565b81518110613dfb57613dfb61480d565b602002602001018181525050858181518110613e1957613e1961480d565b60209081029190910181015151015182613e348360066148d5565b613e3f9060036147fa565b81518110613e4f57613e4f61480d565b602002602001018181525050858181518110613e6d57613e6d61480d565b602002602001015160200151600060028110613e8b57613e8b61480d565b602002015182613e9c8360066148d5565b613ea79060046147fa565b81518110613eb757613eb761480d565b602002602001018181525050858181518110613ed557613ed561480d565b602002602001015160200151600160028110613ef357613ef361480d565b602002015182613f048360066148d5565b613f0f9060056147fa565b81518110613f1f57613f1f61480d565b602090810291909101015280613f3481614823565b915050613d07565b50613f456143b1565b6000602082602086026020860160086107d05a03fa90508080613f6457fe5b5080613faa5760405162461bcd60e51b81526020600482015260156024820152741c185a5c9a5b99cb5bdc18dbd9194b59985a5b1959605a1b60448201526064016104f7565b505115159695505050505050565b600081518351146140045760405162461bcd60e51b81526020600482015260166024820152751c185a5c9a5b99cb5b195b99dd1a1ccb59985a5b195960521b60448201526064016104f7565b825160006140138260066148d5565b905060008167ffffffffffffffff811115614030576140306143ed565b604051908082528060200260200182016040528015614059578160200160208202803683370190505b50905060005b83811015613f3c578681815181106140795761407961480d565b6020026020010151600001518282600661409391906148d5565b61409e9060006147fa565b815181106140ae576140ae61480d565b6020026020010181815250508681815181106140cc576140cc61480d565b602002602001015160200151828260066140e691906148d5565b6140f19060016147fa565b815181106141015761410161480d565b60200260200101818152505085818151811061411f5761411f61480d565b60209081029190910101515151826141388360066148d5565b6141439060026147fa565b815181106141535761415361480d565b6020026020010181815250508581815181106141715761417161480d565b6020908102919091018101515101518261418c8360066148d5565b6141979060036147fa565b815181106141a7576141a761480d565b6020026020010181815250508581815181106141c5576141c561480d565b6020026020010151602001516000600281106141e3576141e361480d565b6020020151826141f48360066148d5565b6141ff9060046147fa565b8151811061420f5761420f61480d565b60200260200101818152505085818151811061422d5761422d61480d565b60200260200101516020015160016002811061424b5761424b61480d565b60200201518261425c8360066148d5565b6142679060056147fa565b815181106142775761427761480d565b60209081029190910101528061428c81614823565b91505061405f565b6040805160a0810190915260006060820181815260808301919091528152602081016142be614391565b81526020016142e0604051806040016040528060008152602001600081525090565b905290565b6040518061082001604052806041906020820280368337509192915050565b6040805160e08101909152600060a0820181815260c083019190915281526020810161432e614391565b815260200161433b614391565b8152602001614348614391565b8152602001606081525090565b60405180606001604052806003906020820280368337509192915050565b60405180608001604052806004906020820280368337509192915050565b60405180604001604052806143a46143cf565b81526020016142e06143cf565b60405180602001604052806001906020820280368337509192915050565b60405180604001604052806002906020820280368337509192915050565b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff81118282101715614426576144266143ed565b60405290565b600082601f83011261443d57600080fd5b614445614403565b80604084018581111561445757600080fd5b845b81811015614471578035845260209384019301614459565b509095945050505050565b600082601f83011261448d57600080fd5b614495614403565b8060808401858111156144a757600080fd5b845b81811015614471576144bb878261442c565b84526020909301926040016144a9565b600061010082840312156144de57600080fd5b6040516060810181811067ffffffffffffffff82111715614501576145016143ed565b604052905080614511848461442c565b8152614520846040850161447c565b60208201526145328460c0850161442c565b60408201525092915050565b60006101a0828403121561455157600080fd5b60405160c0810181811067ffffffffffffffff82111715614574576145746143ed565b806040525080915082358152602083013560208201526040830135604082015260608301356060820152608083013560808201526145b58460a085016144cb565b60a08201525092915050565b60006102e082840312156145d457600080fd5b6040516080810181811067ffffffffffffffff821117156145f7576145f76143ed565b604052614604848461453e565b81526101a083013560208201526101c0830135604082015261462a846101e085016144cb565b60608201529392505050565b60006020828403121561464857600080fd5b5035919050565b60008060008061092080868803121561466757600080fd5b614671878761442c565b9450614680876040880161447c565b935061468f8760c0880161442c565b92508661011f8701126146a157600080fd5b604051610820810181811067ffffffffffffffff821117156146c5576146c56143ed565b6040529086019080888311156146da57600080fd5b61010088015b838110156146f85780358252602091820191016146e0565b5050809250505092959194509250565b60006101a0828403121561471b57600080fd5b614725838361453e565b9392505050565b60008060008061012080868803121561474457600080fd5b61474e878761442c565b945061475d876040880161447c565b935061476c8760c0880161442c565b92508661011f87011261477e57600080fd5b604051602080820182811067ffffffffffffffff821117156147a2576147a26143ed565b6040529187019181898411156147b757600080fd5b61010089015b848110156147d457803582529082019082016147bd565b5096999598509396509450505050565b634e487b7160e01b600052601160045260246000fd5b8082018082111561081e5761081e6147e4565b634e487b7160e01b600052603260045260246000fd5b600060018201614835576148356147e4565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826148615761486161483c565b500490565b6000826148755761487561483c565b500690565b8181038181111561081e5761081e6147e4565b6000825160005b818110156148ae5760208186018101518583015201614894565b506000920191825250919050565b6000602082840312156148ce57600080fd5b5051919050565b60008160001904831182151516156148ef576148ef6147e4565b50029056fea26469706673582212201e59f8679821e529da3d4fec8c2cbc8ef41b0db11363ac187531a3289e61ce2c64736f6c63430008100033f5dcb5564e829aab27264b9becd5dfaa017085611224cb3036f573368dbb9d470000000000000000000000000000000000000000000000000000000061b10dbc0000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000003ccaf702b25bad9916717ce93f0ecd1b6455f8f59061ae696e3ea18dbdb7ed9f20f00000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000171
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
f5dcb5564e829aab27264b9becd5dfaa017085611224cb3036f573368dbb9d470000000000000000000000000000000000000000000000000000000061b10dbc0000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000003ccaf702b25bad9916717ce93f0ecd1b6455f8f59061ae696e3ea18dbdb7ed9f20f00000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000171
-----Decoded View---------------
Arg [0] : genesisValidatorsRoot (bytes32): 0xf5dcb5564e829aab27264b9becd5dfaa017085611224cb3036f573368dbb9d47
Arg [1] : genesisTime (uint256): 1638993340
Arg [2] : secondsPerSlot (uint256): 5
Arg [3] : slotsPerPeriod (uint256): 8192
Arg [4] : syncCommitteePeriod (uint256): 972
Arg [5] : syncCommitteePoseidon (bytes32): 0xaf702b25bad9916717ce93f0ecd1b6455f8f59061ae696e3ea18dbdb7ed9f20f
Arg [6] : sourceChainId (uint32): 100
Arg [7] : finalityThreshold (uint16): 369
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : f5dcb5564e829aab27264b9becd5dfaa017085611224cb3036f573368dbb9d47
Arg [1] : 0000000000000000000000000000000000000000000000000000000061b10dbc
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [3] : 0000000000000000000000000000000000000000000000000000000000002000
Arg [4] : 00000000000000000000000000000000000000000000000000000000000003cc
Arg [5] : af702b25bad9916717ce93f0ecd1b6455f8f59061ae696e3ea18dbdb7ed9f20f
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000171
Age | Block | Fee Address | BC Fee Address | Voting Power | Jailed | Incoming |
---|
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.