KERNEL_ABI= [ { "inputs": [ { "internalType": "address", "name": "target", "type": "address" } ], "name": "AddressEmptyCode", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "implementation", "type": "address" } ], "name": "ERC1967InvalidImplementation", "type": "error" }, { "inputs": [], "name": "ERC1967NonPayable", "type": "error" }, { "inputs": [], "name": "FailedCall", "type": "error" }, { "inputs": [], "name": "InvalidInitialization", "type": "error" }, { "inputs": [], "name": "NotInitializing", "type": "error" }, { "inputs": [], "name": "UUPSUnauthorizedCallContext", "type": "error" }, { "inputs": [ { "internalType": "bytes32", "name": "slot", "type": "bytes32" } ], "name": "UUPSUnsupportedProxiableUUID", "type": "error" }, { "anonymous": False, "inputs": [ { "indexed": False, "internalType": "address", "name": "newImplementation", "type": "address" } ], "name": "AuthorizedKernelUpgrade", "type": "event" }, { "anonymous": False, "inputs": [ { "indexed": False, "internalType": "uint64", "name": "version", "type": "uint64" } ], "name": "Initialized", "type": "event" }, { "anonymous": False, "inputs": [ { "components": [ { "internalType": "bytes32", "name": "hashedRequest", "type": "bytes32" }, { "internalType": "bytes", "name": "signature", "type": "bytes" } ], "indexed": False, "internalType": "struct StargazerKernel.PASKATicket", "name": "ticket", "type": "tuple" } ], "name": "PASKATicketCreated", "type": "event" }, { "anonymous": False, "inputs": [ { "indexed": False, "internalType": "string", "name": "starName", "type": "string" }, { "indexed": False, "internalType": "uint256", "name": "sightingTimestamp", "type": "uint256" } ], "name": "StarSightingRecorded", "type": "event" }, { "anonymous": False, "inputs": [ { "indexed": True, "internalType": "address", "name": "implementation", "type": "address" } ], "name": "Upgraded", "type": "event" }, { "inputs": [], "name": "UPGRADE_INTERFACE_VERSION", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "_starName", "type": "string" } ], "name": "commitStarSighting", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes", "name": "_signature", "type": "bytes" } ], "name": "createPASKATicket", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "string", "name": "_starName", "type": "string" } ], "name": "getStarSightings", "outputs": [ { "internalType": "uint256[]", "name": "", "type": "uint256[]" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "string[]", "name": "_pastStarSightings", "type": "string[]" } ], "name": "initialize", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "proxiableUUID", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newImplementation", "type": "address" }, { "internalType": "bytes", "name": "data", "type": "bytes" } ], "name": "upgradeToAndCall", "outputs": [], "stateMutability": "payable", "type": "function" } ] SETUP_ABI = [ { "inputs": [ { "internalType": "bytes", "name": "signature", "type": "bytes" } ], "stateMutability": "payable", "type": "constructor" }, { "anonymous": False, "inputs": [ { "indexed": False, "internalType": "address", "name": "proxy", "type": "address" }, { "indexed": False, "internalType": "address", "name": "implementation", "type": "address" } ], "name": "DeployedTarget", "type": "event" }, { "inputs": [], "name": "TARGET_IMPL", "outputs": [ { "internalType": "contract StargazerKernel", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "TARGET_PROXY", "outputs": [ { "internalType": "contract Stargazer", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "isSolved", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" } ] STARGAZER_ABI = [ { "inputs": [ { "internalType": "address", "name": "_implementation", "type": "address" }, { "internalType": "bytes", "name": "_data", "type": "bytes" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [ { "internalType": "address", "name": "target", "type": "address" } ], "name": "AddressEmptyCode", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "implementation", "type": "address" } ], "name": "ERC1967InvalidImplementation", "type": "error" }, { "inputs": [], "name": "ERC1967NonPayable", "type": "error" }, { "inputs": [], "name": "FailedCall", "type": "error" }, { "anonymous": False, "inputs": [ { "indexed": True, "internalType": "address", "name": "implementation", "type": "address" } ], "name": "Upgraded", "type": "event" }, { "stateMutability": "payable", "type": "fallback" } ]