Skip to content

Instantly share code, notes, and snippets.

@adraffy
adraffy / cabure-attestation-ppv2-ceremony-transact_5x5-31.json
Created July 9, 2026 02:24
Caburé attestation — ppv2-ceremony / transact_5x5 #31
{
"ceremony": "ppv2-ceremony",
"circuit": "transact_5x5",
"index": 31,
"h_k": "0x500c84e9e49eb9bc2bda3083f161b12808b41a82d9ff83aabc567b7e6c578012e606d79c1fdb6dd09829d13ab0c0d8512d4c850f83cd5704c99a5342ff2ce55a"
}
@adraffy
adraffy / cabure-attestation-ppv2-ceremony-transact_3x3-35.json
Created July 9, 2026 02:24
Caburé attestation — ppv2-ceremony / transact_3x3 #35
{
"ceremony": "ppv2-ceremony",
"circuit": "transact_3x3",
"index": 35,
"h_k": "0xc9a99a5ba6973fa7947637ffd6897e6320a503eb5bdad781ca5f9ca6c56937a33cb1e0143ed44b6dc8162e64814722ebd092eed24ff3f475df45b0b18808bd78"
}
@adraffy
adraffy / cabure-attestation-ppv2-ceremony-transact_4x4-34.json
Created July 9, 2026 02:24
Caburé attestation — ppv2-ceremony / transact_4x4 #34
{
"ceremony": "ppv2-ceremony",
"circuit": "transact_4x4",
"index": 34,
"h_k": "0x1ec1142e8132246042ab95db26347aa76b266f45006435f27f1362dcd021907e0a3710df7ea126a83764e160a38dad5810a72184e52735e744a26a3e1ed57542"
}
LOG 2026-05-29T18:34:00.359218Z GameType: 621
LOG 2026-05-29T18:34:00.359251Z 0x1CE6756D0d1430620943dFD4a05A1B9A00480A44 GameStatus(0)
LOG 2026-05-29T18:34:00.359258Z 0x42f92DdB10C7ae6d21344c1123fe2C2A5fb8cFcC GameStatus(0)
LOG 2026-05-29T18:34:00.359263Z 0xbEFB222c95EA754B84Efa3E7B4F44B0007592575 GameStatus(0)
LOG 2026-05-29T18:34:00.359267Z 0x66b91DAd51602b82E2bA2Aec2186a343d8Df8179 GameStatus(0)
LOG 2026-05-29T18:34:00.359274Z 0x60Ba89f3517F9A36cfdD10b41f426331ddE394DD GameStatus(0)
LOG 2026-05-29T18:34:00.359278Z 0x3FC90BD3652670D46B8a475C9376574d4c2B1E0F GameStatus(0)
LOG 2026-05-29T18:34:00.359284Z 0xDa66eaeE2a8a9872d3899adfDFffdB284b1a339a GameStatus(0)
LOG 2026-05-29T18:34:00.359288Z 0x7b88796426AA68769c606fB081eAA808a097a3E0 GameStatus(0)
LOG 2026-05-29T18:34:00.359292Z 0x521E03E007fbA970c49D18eFC90AFeEd6cb21269 GameStatus(0)
import { Interface } from "@ethersproject/abi";
import { Logger } from "@ethersproject/logger";
import { BaseProvider } from "@ethersproject/providers";
type BatchGatewayList = string[];
const LOCAL_BATCH_GATEWAY_URL = "x-batch-gateway:true";
const LOGGER = new Logger("tunnel-patch");
const BATCH_GATEWAY_ABI = new Interface([
`function query((address, string[], bytes)[]) view returns (bool[], bytes[])`,
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.13;
import {NameCoder} from "@ens/contracts/utils/NameCoder.sol";
import {VerifiableFactory} from "@ensdomains/verifiable-factory/VerifiableFactory.sol";
import {EACBaseRolesLib} from "../access-control/libraries/EACBaseRolesLib.sol";
import {IPermissionedRegistry} from "./interfaces/IPermissionedRegistry.sol";
import {IRegistry} from "./interfaces/IRegistry.sol";
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
// https://docs.ens.domains/ensip/19/
function registrarFromChain(uint256 chainId) pure returns (address) {
if (isMainnetRollup(chainId)) {
return 0x0000000000D8e504002cC26E3Ec46D81971C1664;
} else if (isTestnetRollup(chainId)) {
return 0x00000BeEF055f7934784D6d81b6BC86665630dbA;
} else {
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import {GatewayRequest, GatewayOP, EvalFlag} from './GatewayRequest.sol';
import {IVerifierHooks, InvalidProof, NOT_A_CONTRACT} from './IVerifierHooks.sol';
import {Bytes} from '../lib/optimism/packages/contracts-bedrock/src/libraries/Bytes.sol'; // Bytes.slice
import 'forge-std/console.sol'; // DEBUG
struct ProofSequence {
raffy@pn50:/data/code/ens-normalize.js$ node derive/dump-emoji-new.js 17
[1F6D8] (🛘) LANDSLIDE [Emoji,Emoji_Presentation,Extended_Pictographic,Basic_Emoji]
[1FA8A] (🪊) TROMBONE [Emoji,Emoji_Presentation,Extended_Pictographic,Basic_Emoji]
[1FA8E] (🪎) TREASURE CHEST [Emoji,Emoji_Presentation,Extended_Pictographic,Basic_Emoji]
[1FAC8] (🫈) HAIRY CREATURE [Emoji,Emoji_Presentation,Extended_Pictographic,Basic_Emoji]
[1FACD] (🫍) ORCA [Emoji,Emoji_Presentation,Extended_Pictographic,Basic_Emoji]
[1FADD] (🫝) APPLE CORE [Emoji,Emoji_Presentation,Extended_Pictographic,Basic_Emoji]
[1FAEA] (🫪) DISTORTED FACE [Emoji,Emoji_Presentation,Extended_Pictographic,Basic_Emoji]
[1FAEF] (🫯) FIGHT CLOUD [Emoji,Emoji_Presentation,Extended_Pictographic,Basic_Emoji]
[1F46F 1F3FB] (👯🏻) people with bunny ears: light skin tone [RGI_Emoji_Modifier_Sequence]
{
"accountProof": {
"key": "0x176211869ca2b568f2a7d4ee941e073a821ee1ff",
"leafIndex": 307772,
"proof": {
"proofRelatedNodes": [
"0x000000000000000000000000000000000000000000000000000000000078ccee08f2ce51d121057280a9de3ee2d8b836f3ef79f249a2d509cb53e6d75e554b81",
"0x008a47a2a53dd5183a2dc127c399a004e2a6c7e60f73e104d7d79e6a2bd7e809008a47a2a53dd5183a2dc127c399a004e2a6c7e60f73e104d7d79e6a2bd7e809",
"0x060f08aed06ffb90efc9705dc38d37a7000da1add99cef1b8a84b9e72e7c8b7b060f08aed06ffb90efc9705dc38d37a7000da1add99cef1b8a84b9e72e7c8b7b",
"0x0a06dc31ae8e893bca0a076decb8c0caa9036b5f394abf79d7956411eef322550a06dc31ae8e893bca0a076decb8c0caa9036b5f394abf79d7956411eef32255",