diff --git a/artifacts/7887.json b/artifacts/7887.json index 7471ef75..18664da5 100644 --- a/artifacts/7887.json +++ b/artifacts/7887.json @@ -2515,6 +2515,32 @@ ], "stateMutability": "view" }, + { + "type": "function", + "name": "SELECTOR_EP_HANDLEO_AGGREGATED_OPS", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "SELECTOR_EP_HANDLE_AGGREGATED_OPS_V7", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "stateMutability": "view" + }, { "type": "function", "name": "SELECTOR_EP_HANDLE_OPS_V7", @@ -5736,614 +5762,470 @@ ], "address": "0x27926a991BB0193Bf5b679bdb6Cb3d3B6581084E" }, - "BundleBulker": { + "NioElection": { "abi": [ { "type": "constructor", "inputs": [ { - "name": "_entryPoint", + "name": "_kToken", "type": "address", - "internalType": "contract IEntryPoint" + "internalType": "contract BridgedKinto" + }, + { + "name": "_nioNFT", + "type": "address", + "internalType": "contract NioGuardians" + }, + { + "name": "_kintoID", + "type": "address", + "internalType": "contract IKintoID" } ], "stateMutability": "nonpayable" }, { - "type": "fallback", - "stateMutability": "nonpayable" + "type": "function", + "name": "CANDIDATE_SUBMISSION_DURATION", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" }, { "type": "function", - "name": "entryPoint", + "name": "CANDIDATE_VOTING_DURATION", "inputs": [], "outputs": [ { "name": "", - "type": "address", - "internalType": "contract IEntryPoint" + "type": "uint256", + "internalType": "uint256" } ], "stateMutability": "view" }, { "type": "function", - "name": "idToInflator", - "inputs": [ + "name": "COMPLIANCE_PROCESS_DURATION", + "inputs": [], + "outputs": [ { "name": "", - "type": "uint32", - "internalType": "uint32" + "type": "uint256", + "internalType": "uint256" } ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "ELECTION_DURATION", + "inputs": [], "outputs": [ { "name": "", - "type": "address", - "internalType": "contract IInflator" + "type": "uint256", + "internalType": "uint256" } ], "stateMutability": "view" }, { "type": "function", - "name": "inflate", - "inputs": [ + "name": "ELECTION_INTERVAL", + "inputs": [], + "outputs": [ { - "name": "compressed", - "type": "bytes", - "internalType": "bytes" + "name": "", + "type": "uint256", + "internalType": "uint256" } ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "MAX_NOMINEES", + "inputs": [], "outputs": [ { - "name": "ops", - "type": "tuple[]", - "internalType": "struct UserOperation[]", - "components": [ - { - "name": "sender", - "type": "address", - "internalType": "address" - }, - { - "name": "nonce", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "initCode", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "callData", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "callGasLimit", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "verificationGasLimit", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "preVerificationGas", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "maxFeePerGas", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "maxPriorityFeePerGas", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "paymasterAndData", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "signature", - "type": "bytes", - "internalType": "bytes" - } - ] - }, - { - "name": "beneficiary", - "type": "address", - "internalType": "address payable" + "name": "", + "type": "uint256", + "internalType": "uint256" } ], "stateMutability": "view" }, { "type": "function", - "name": "inflatorToID", - "inputs": [ + "name": "MIN_VOTE_PERCENTAGE", + "inputs": [], + "outputs": [ { "name": "", - "type": "address", - "internalType": "contract IInflator" + "type": "uint256", + "internalType": "uint256" } ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "UPGRADE_INTERFACE_VERSION", + "inputs": [], "outputs": [ { "name": "", - "type": "uint32", - "internalType": "uint32" + "type": "string", + "internalType": "string" } ], "stateMutability": "view" }, { "type": "function", - "name": "registerInflator", + "name": "electNios", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "elections", "inputs": [ { - "name": "inflatorId", - "type": "uint32", - "internalType": "uint32" + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "startTime", + "type": "uint256", + "internalType": "uint256" }, { - "name": "inflator", - "type": "address", - "internalType": "contract IInflator" + "name": "candidateSubmissionEndTime", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "candidateVotingEndTime", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "complianceProcessEndTime", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "nomineeVotingEndTime", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "electionEndTime", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "niosToElect", + "type": "uint256", + "internalType": "uint256" } ], - "outputs": [], - "stateMutability": "nonpayable" + "stateMutability": "view" }, { - "type": "event", - "name": "InflatorRegistered", + "type": "function", + "name": "getCandidateVotes", "inputs": [ { - "name": "id", - "type": "uint32", - "indexed": false, - "internalType": "uint32" + "name": "electionId", + "type": "uint256", + "internalType": "uint256" }, { - "name": "inflator", + "name": "candidate", "type": "address", - "indexed": false, - "internalType": "contract IInflator" + "internalType": "address" } ], - "anonymous": false - } - ], - "address": "0x8d2D899402ed84b6c0510bB1ad34ee436ADDD20d" - }, - "KintoInflator": { - "abi": [ - { - "type": "constructor", - "inputs": [], - "stateMutability": "nonpayable" + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" }, { "type": "function", - "name": "_inflate", + "name": "getCandidateVotes", "inputs": [ { - "name": "decompressed", - "type": "bytes", - "internalType": "bytes" + "name": "candidate", + "type": "address", + "internalType": "address" } ], "outputs": [ { - "name": "op", - "type": "tuple", - "internalType": "struct UserOperation", - "components": [ - { - "name": "sender", - "type": "address", - "internalType": "address" - }, - { - "name": "nonce", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "initCode", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "callData", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "callGasLimit", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "verificationGasLimit", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "preVerificationGas", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "maxFeePerGas", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "maxPriorityFeePerGas", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "paymasterAndData", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "signature", - "type": "bytes", - "internalType": "bytes" - } - ] + "name": "", + "type": "uint256", + "internalType": "uint256" } ], "stateMutability": "view" }, { "type": "function", - "name": "compress", + "name": "getCandidates", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getCandidates", "inputs": [ { - "name": "op", - "type": "tuple", - "internalType": "struct UserOperation", - "components": [ - { - "name": "sender", - "type": "address", - "internalType": "address" - }, - { - "name": "nonce", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "initCode", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "callData", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "callGasLimit", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "verificationGasLimit", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "preVerificationGas", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "maxFeePerGas", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "maxPriorityFeePerGas", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "paymasterAndData", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "signature", - "type": "bytes", - "internalType": "bytes" - } - ] + "name": "electionId", + "type": "uint256", + "internalType": "uint256" } ], "outputs": [ { - "name": "compressed", - "type": "bytes", - "internalType": "bytes" + "name": "", + "type": "address[]", + "internalType": "address[]" } ], "stateMutability": "view" }, { "type": "function", - "name": "compressSimple", - "inputs": [ + "name": "getCurrentElectionId", + "inputs": [], + "outputs": [ { - "name": "op", - "type": "tuple", - "internalType": "struct UserOperation", - "components": [ - { - "name": "sender", - "type": "address", - "internalType": "address" - }, - { - "name": "nonce", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "initCode", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "callData", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "callGasLimit", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "verificationGasLimit", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "preVerificationGas", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "maxFeePerGas", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "maxPriorityFeePerGas", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "paymasterAndData", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "signature", - "type": "bytes", - "internalType": "bytes" - } - ] + "name": "", + "type": "uint256", + "internalType": "uint256" } ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getCurrentPhase", + "inputs": [], "outputs": [ { - "name": "compressed", - "type": "bytes", - "internalType": "bytes" + "name": "", + "type": "uint8", + "internalType": "enum NioElection.ElectionPhase" } ], - "stateMutability": "pure" + "stateMutability": "view" }, { "type": "function", - "name": "inflate", + "name": "getElectedNios", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address[]", + "internalType": "address[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getElectedNios", "inputs": [ { - "name": "compressed", - "type": "bytes", - "internalType": "bytes" + "name": "electionId", + "type": "uint256", + "internalType": "uint256" } ], "outputs": [ { - "name": "op", - "type": "tuple", - "internalType": "struct UserOperation", - "components": [ - { - "name": "sender", - "type": "address", - "internalType": "address" - }, - { - "name": "nonce", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "initCode", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "callData", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "callGasLimit", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "verificationGasLimit", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "preVerificationGas", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "maxFeePerGas", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "maxPriorityFeePerGas", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "paymasterAndData", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "signature", - "type": "bytes", - "internalType": "bytes" - } - ] + "name": "", + "type": "address[]", + "internalType": "address[]" } ], "stateMutability": "view" }, { "type": "function", - "name": "inflateSimple", + "name": "getElectionCount", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getElectionDetails", + "inputs": [], + "outputs": [ + { + "name": "startTime", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "candidateSubmissionEndTime", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "candidateVotingEndTime", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "complianceProcessEndTime", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "nomineeVotingEndTime", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "electionEndTime", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "niosToElect", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getElectionDetails", "inputs": [ { - "name": "compressed", - "type": "bytes", - "internalType": "bytes" + "name": "electionId", + "type": "uint256", + "internalType": "uint256" } ], "outputs": [ { - "name": "op", - "type": "tuple", - "internalType": "struct UserOperation", - "components": [ - { - "name": "sender", - "type": "address", - "internalType": "address" - }, - { - "name": "nonce", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "initCode", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "callData", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "callGasLimit", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "verificationGasLimit", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "preVerificationGas", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "maxFeePerGas", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "maxPriorityFeePerGas", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "paymasterAndData", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "signature", - "type": "bytes", - "internalType": "bytes" - } - ] + "name": "startTime", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "candidateSubmissionEndTime", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "candidateVotingEndTime", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "complianceProcessEndTime", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "nomineeVotingEndTime", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "electionEndTime", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "niosToElect", + "type": "uint256", + "internalType": "uint256" } ], - "stateMutability": "pure" + "stateMutability": "view" }, { "type": "function", - "name": "initialize", + "name": "getNextElectionTime", "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" }, { "type": "function", - "name": "kintoContracts", + "name": "getNomineeVotes", "inputs": [ { - "name": "", - "type": "string", - "internalType": "string" + "name": "nominee", + "type": "address", + "internalType": "address" } ], "outputs": [ { "name": "", - "type": "address", - "internalType": "address" + "type": "uint256", + "internalType": "uint256" } ], "stateMutability": "view" }, { "type": "function", - "name": "kintoNames", + "name": "getNomineeVotes", "inputs": [ { - "name": "", + "name": "electionId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "nominee", "type": "address", "internalType": "address" } @@ -6351,632 +6233,796 @@ "outputs": [ { "name": "", - "type": "string", - "internalType": "string" + "type": "uint256", + "internalType": "uint256" } ], "stateMutability": "view" }, { "type": "function", - "name": "owner", - "inputs": [], + "name": "getNominees", + "inputs": [ + { + "name": "electionId", + "type": "uint256", + "internalType": "uint256" + } + ], "outputs": [ { "name": "", - "type": "address", - "internalType": "address" + "type": "address[]", + "internalType": "address[]" } ], "stateMutability": "view" }, { "type": "function", - "name": "proxiableUUID", + "name": "getNominees", "inputs": [], "outputs": [ { "name": "", - "type": "bytes32", - "internalType": "bytes32" + "type": "address[]", + "internalType": "address[]" } ], "stateMutability": "view" }, { "type": "function", - "name": "renounceOwnership", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "setKintoContract", + "name": "getUsedCandidateVotes", "inputs": [ { - "name": "name", - "type": "string", - "internalType": "string" - }, - { - "name": "target", + "name": "_voter", "type": "address", "internalType": "address" } ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "transferOwnership", - "inputs": [ + "outputs": [ { - "name": "newOwner", - "type": "address", - "internalType": "address" + "name": "", + "type": "uint256", + "internalType": "uint256" } ], - "outputs": [], - "stateMutability": "nonpayable" + "stateMutability": "view" }, { "type": "function", - "name": "upgradeTo", + "name": "getUsedCandidateVotes", "inputs": [ { - "name": "newImplementation", + "name": "electionId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_voter", "type": "address", "internalType": "address" } ], - "outputs": [], - "stateMutability": "nonpayable" + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" }, { "type": "function", - "name": "upgradeToAndCall", + "name": "getUsedNomineeVotes", "inputs": [ { - "name": "newImplementation", + "name": "_voter", "type": "address", "internalType": "address" - }, + } + ], + "outputs": [ { - "name": "data", - "type": "bytes", - "internalType": "bytes" + "name": "", + "type": "uint256", + "internalType": "uint256" } ], - "outputs": [], - "stateMutability": "payable" + "stateMutability": "view" }, { - "type": "event", - "name": "AdminChanged", + "type": "function", + "name": "getUsedNomineeVotes", "inputs": [ { - "name": "previousAdmin", - "type": "address", - "indexed": false, - "internalType": "address" + "name": "electionId", + "type": "uint256", + "internalType": "uint256" }, { - "name": "newAdmin", + "name": "_voter", "type": "address", - "indexed": false, "internalType": "address" } ], - "anonymous": false - }, - { - "type": "event", - "name": "BeaconUpgraded", - "inputs": [ + "outputs": [ { - "name": "beacon", - "type": "address", - "indexed": true, - "internalType": "address" + "name": "", + "type": "uint256", + "internalType": "uint256" } ], - "anonymous": false + "stateMutability": "view" }, { - "type": "event", - "name": "Initialized", + "type": "function", + "name": "initialize", "inputs": [ { - "name": "version", - "type": "uint8", - "indexed": false, - "internalType": "uint8" + "name": "owner", + "type": "address", + "internalType": "address" } ], - "anonymous": false + "outputs": [], + "stateMutability": "nonpayable" }, { - "type": "event", - "name": "KintoContractSet", + "type": "function", + "name": "isElectedNio", "inputs": [ { - "name": "name", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "target", + "name": "addr", "type": "address", - "indexed": false, "internalType": "address" } ], - "anonymous": false + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" }, { - "type": "event", - "name": "OwnershipTransferred", - "inputs": [ - { - "name": "previousOwner", - "type": "address", - "indexed": true, - "internalType": "address" - }, + "type": "function", + "name": "isElectionActive", + "inputs": [], + "outputs": [ { - "name": "newOwner", - "type": "address", - "indexed": true, - "internalType": "address" + "name": "", + "type": "bool", + "internalType": "bool" } ], - "anonymous": false + "stateMutability": "view" }, { - "type": "event", - "name": "Upgraded", + "type": "function", + "name": "isEligibleForElection", "inputs": [ { - "name": "implementation", + "name": "addr", "type": "address", - "indexed": true, "internalType": "address" } ], - "anonymous": false - } - ], - "address": "0x336a76a7A2a1e97CE20c420F39FC08c441234aa2" - }, - "RewardsDistributor": { - "abi": [ - { - "type": "constructor", - "inputs": [ - { - "name": "kinto_", - "type": "address", - "internalType": "contract IERC20" - }, - { - "name": "startTime_", - "type": "uint256", - "internalType": "uint256" - }, + "outputs": [ { - "name": "walletFactory_", - "type": "address", - "internalType": "address" + "name": "", + "type": "bool", + "internalType": "bool" } ], - "stateMutability": "nonpayable" + "stateMutability": "view" }, { "type": "function", - "name": "DEFAULT_ADMIN_ROLE", + "name": "kToken", "inputs": [], "outputs": [ { "name": "", - "type": "bytes32", - "internalType": "bytes32" + "type": "address", + "internalType": "contract BridgedKinto" } ], "stateMutability": "view" }, { "type": "function", - "name": "KINTO", + "name": "kintoID", "inputs": [], "outputs": [ { "name": "", "type": "address", - "internalType": "contract IERC20" + "internalType": "contract IKintoID" } ], "stateMutability": "view" }, { "type": "function", - "name": "NEW_USER_REWARD", + "name": "nioNFT", "inputs": [], "outputs": [ { "name": "", - "type": "uint256", - "internalType": "uint256" + "type": "address", + "internalType": "contract NioGuardians" } ], "stateMutability": "view" }, { "type": "function", - "name": "UPDATER_ROLE", + "name": "owner", "inputs": [], "outputs": [ { "name": "", - "type": "bytes32", - "internalType": "bytes32" + "type": "address", + "internalType": "address" } ], "stateMutability": "view" }, { "type": "function", - "name": "UPGRADE_INTERFACE_VERSION", + "name": "proxiableUUID", "inputs": [], "outputs": [ { "name": "", - "type": "string", - "internalType": "string" + "type": "bytes32", + "internalType": "bytes32" } ], "stateMutability": "view" }, { "type": "function", - "name": "bonusAmount", + "name": "renounceOwnership", "inputs": [], - "outputs": [ + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "startElection", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "submitCandidate", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "transferOwnership", + "inputs": [ { - "name": "", - "type": "uint256", - "internalType": "uint256" + "name": "newOwner", + "type": "address", + "internalType": "address" } ], - "stateMutability": "view" + "outputs": [], + "stateMutability": "nonpayable" }, { "type": "function", - "name": "claim", + "name": "upgradeToAndCall", "inputs": [ { - "name": "proof", - "type": "bytes32[]", - "internalType": "bytes32[]" - }, - { - "name": "user", + "name": "newImplementation", "type": "address", "internalType": "address" }, { - "name": "totalUserTokens", - "type": "uint256", - "internalType": "uint256" + "name": "data", + "type": "bytes", + "internalType": "bytes" } ], "outputs": [], - "stateMutability": "nonpayable" + "stateMutability": "payable" }, { "type": "function", - "name": "claimedByUser", + "name": "voteForCandidate", "inputs": [ { - "name": "", + "name": "candidate", "type": "address", "internalType": "address" - } - ], - "outputs": [ + }, { - "name": "", + "name": "votes", "type": "uint256", "internalType": "uint256" } ], - "stateMutability": "view" + "outputs": [], + "stateMutability": "nonpayable" }, { "type": "function", - "name": "claimedRoot", + "name": "voteForNominee", "inputs": [ { - "name": "", + "name": "nominee", "type": "address", "internalType": "address" - } - ], - "outputs": [ + }, { - "name": "", - "type": "bytes32", - "internalType": "bytes32" + "name": "votes", + "type": "uint256", + "internalType": "uint256" } ], - "stateMutability": "view" + "outputs": [], + "stateMutability": "nonpayable" }, { - "type": "function", - "name": "getRewards", + "type": "event", + "name": "CandidateSubmitted", "inputs": [ { - "name": "time", + "name": "electionId", "type": "uint256", + "indexed": false, "internalType": "uint256" - } - ], - "outputs": [ + }, { - "name": "", - "type": "uint256", - "internalType": "uint256" + "name": "candidate", + "type": "address", + "indexed": false, + "internalType": "address" } ], - "stateMutability": "view" + "anonymous": false }, { - "type": "function", - "name": "getRewards", + "type": "event", + "name": "CandidateVoteCast", "inputs": [ { - "name": "fromTime", + "name": "electionId", "type": "uint256", + "indexed": false, "internalType": "uint256" }, { - "name": "toTime", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ + "name": "voter", + "type": "address", + "indexed": false, + "internalType": "address" + }, { - "name": "", + "name": "candidate", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "votes", "type": "uint256", + "indexed": false, "internalType": "uint256" } ], - "stateMutability": "view" + "anonymous": false }, { - "type": "function", - "name": "getRoleAdmin", + "type": "event", + "name": "ElectionCompleted", "inputs": [ { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [ + "name": "electionId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, { - "name": "", - "type": "bytes32", - "internalType": "bytes32" + "name": "winners", + "type": "address[]", + "indexed": false, + "internalType": "address[]" } ], - "stateMutability": "view" + "anonymous": false }, { - "type": "function", - "name": "getTotalLimit", - "inputs": [], - "outputs": [ + "type": "event", + "name": "ElectionStarted", + "inputs": [ { - "name": "", + "name": "electionId", "type": "uint256", + "indexed": false, "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "getTotalLimit", - "inputs": [ + }, { - "name": "time", + "name": "startTime", "type": "uint256", + "indexed": false, "internalType": "uint256" - } - ], - "outputs": [ + }, { - "name": "", + "name": "niosToElect", "type": "uint256", + "indexed": false, "internalType": "uint256" } ], - "stateMutability": "view" + "anonymous": false }, { - "type": "function", - "name": "getUnclaimedLimit", - "inputs": [], - "outputs": [ + "type": "event", + "name": "Initialized", + "inputs": [ { - "name": "", - "type": "uint256", - "internalType": "uint256" + "name": "version", + "type": "uint64", + "indexed": false, + "internalType": "uint64" } ], - "stateMutability": "view" + "anonymous": false }, { - "type": "function", - "name": "grantRole", + "type": "event", + "name": "NomineeSelected", "inputs": [ { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" + "name": "electionId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" }, { - "name": "account", + "name": "nominee", "type": "address", + "indexed": false, "internalType": "address" + }, + { + "name": "votes", + "type": "uint256", + "indexed": false, + "internalType": "uint256" } ], - "outputs": [], - "stateMutability": "nonpayable" + "anonymous": false }, { - "type": "function", - "name": "hasRole", + "type": "event", + "name": "NomineeVoteCast", "inputs": [ { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" + "name": "electionId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" }, { - "name": "account", + "name": "voter", "type": "address", + "indexed": false, "internalType": "address" - } - ], - "outputs": [ + }, { - "name": "", - "type": "bool", - "internalType": "bool" + "name": "nominee", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "votes", + "type": "uint256", + "indexed": false, + "internalType": "uint256" } ], - "stateMutability": "view" + "anonymous": false }, { - "type": "function", - "name": "initialize", + "type": "event", + "name": "OwnershipTransferred", "inputs": [ { - "name": "root_", - "type": "bytes32", - "internalType": "bytes32" + "name": "previousOwner", + "type": "address", + "indexed": true, + "internalType": "address" }, { - "name": "bonusAmount_", - "type": "uint256", - "internalType": "uint256" + "name": "newOwner", + "type": "address", + "indexed": true, + "internalType": "address" } ], - "outputs": [], - "stateMutability": "nonpayable" + "anonymous": false }, { - "type": "function", - "name": "newUserClaim", + "type": "event", + "name": "Upgraded", "inputs": [ { - "name": "wallet", + "name": "implementation", "type": "address", + "indexed": true, "internalType": "address" } ], - "outputs": [], - "stateMutability": "nonpayable" + "anonymous": false }, { - "type": "function", - "name": "proxiableUUID", - "inputs": [], - "outputs": [ + "type": "error", + "name": "AddressEmptyCode", + "inputs": [ { - "name": "", - "type": "bytes32", - "internalType": "bytes32" + "name": "target", + "type": "address", + "internalType": "address" } - ], - "stateMutability": "view" + ] }, { - "type": "function", - "name": "quarters", - "inputs": [], - "outputs": [ + "type": "error", + "name": "AlreadyVoted", + "inputs": [ { - "name": "", - "type": "uint256", - "internalType": "uint256" + "name": "voter", + "type": "address", + "internalType": "address" } - ], - "stateMutability": "view" + ] }, { - "type": "function", - "name": "renounceRole", + "type": "error", + "name": "DuplicatedCandidate", "inputs": [ { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "callerConfirmation", + "name": "candidate", "type": "address", "internalType": "address" } - ], - "outputs": [], - "stateMutability": "nonpayable" + ] }, { - "type": "function", - "name": "revokeRole", + "type": "error", + "name": "ERC1967InvalidImplementation", "inputs": [ { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "account", + "name": "implementation", "type": "address", "internalType": "address" } - ], - "outputs": [], - "stateMutability": "nonpayable" + ] }, { - "type": "function", - "name": "rewardsPerQuarter", + "type": "error", + "name": "ERC1967NonPayable", + "inputs": [] + }, + { + "type": "error", + "name": "ElectedNioCannotBeCandidate", "inputs": [ { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ + "name": "nio", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "ElectionAlreadyActive", + "inputs": [ { - "name": "", + "name": "electionId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "startTime", + "type": "uint256", + "internalType": "uint256" + } + ] + }, + { + "type": "error", + "name": "FailedInnerCall", + "inputs": [] + }, + { + "type": "error", + "name": "InvalidCandidate", + "inputs": [ + { + "name": "candidate", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "InvalidElectionId", + "inputs": [ + { + "name": "electionId", + "type": "uint256", + "internalType": "uint256" + } + ] + }, + { + "type": "error", + "name": "InvalidElectionPhase", + "inputs": [ + { + "name": "electionId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "currentPhase", + "type": "uint8", + "internalType": "enum NioElection.ElectionPhase" + }, + { + "name": "requiredPhase", + "type": "uint8", + "internalType": "enum NioElection.ElectionPhase" + } + ] + }, + { + "type": "error", + "name": "InvalidInitialization", + "inputs": [] + }, + { + "type": "error", + "name": "InvalidNominee", + "inputs": [ + { + "name": "nominee", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "KYCRequired", + "inputs": [ + { + "name": "user", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "MaxNomineesReached", + "inputs": [] + }, + { + "type": "error", + "name": "NoVotingPower", + "inputs": [ + { + "name": "voter", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "NotInitializing", + "inputs": [] + }, + { + "type": "error", + "name": "OwnableInvalidOwner", + "inputs": [ + { + "name": "owner", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "OwnableUnauthorizedAccount", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "TooEarlyForNewElection", + "inputs": [ + { + "name": "currentTime", "type": "uint256", "internalType": "uint256" + }, + { + "name": "nextElectionTime", + "type": "uint256", + "internalType": "uint256" + } + ] + }, + { + "type": "error", + "name": "UUPSUnauthorizedCallContext", + "inputs": [] + }, + { + "type": "error", + "name": "UUPSUnsupportedProxiableUUID", + "inputs": [ + { + "name": "slot", + "type": "bytes32", + "internalType": "bytes32" + } + ] + } + ], + "address": "0x010E1e3A2026c37F56A80361c23041c9746ddaB5" + }, + "NioGovernor": { + "abi": [ + { + "type": "constructor", + "inputs": [ + { + "name": "token", + "type": "address", + "internalType": "contract IVotes" + }, + { + "name": "manager", + "type": "address", + "internalType": "address" } ], - "stateMutability": "view" + "stateMutability": "nonpayable" + }, + { + "type": "receive", + "stateMutability": "payable" }, { "type": "function", - "name": "root", + "name": "BALLOT_TYPEHASH", "inputs": [], "outputs": [ { @@ -6989,68 +7035,75 @@ }, { "type": "function", - "name": "startTime", + "name": "CLOCK_MODE", "inputs": [], "outputs": [ { "name": "", - "type": "uint256", - "internalType": "uint256" + "type": "string", + "internalType": "string" } ], "stateMutability": "view" }, { "type": "function", - "name": "supportsInterface", - "inputs": [ + "name": "COUNTING_MODE", + "inputs": [], + "outputs": [ { - "name": "interfaceId", - "type": "bytes4", - "internalType": "bytes4" + "name": "", + "type": "string", + "internalType": "string" } ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "EXTENDED_BALLOT_TYPEHASH", + "inputs": [], "outputs": [ { "name": "", - "type": "bool", - "internalType": "bool" + "type": "bytes32", + "internalType": "bytes32" } ], "stateMutability": "view" }, { "type": "function", - "name": "totalClaimed", + "name": "accessManager", "inputs": [], "outputs": [ { "name": "", - "type": "uint256", - "internalType": "uint256" + "type": "address", + "internalType": "contract IAccessManager" } ], "stateMutability": "view" }, { "type": "function", - "name": "totalTokens", + "name": "baseDelaySeconds", "inputs": [], "outputs": [ { "name": "", - "type": "uint256", - "internalType": "uint256" + "type": "uint32", + "internalType": "uint32" } ], "stateMutability": "view" }, { "type": "function", - "name": "updateBonusAmount", + "name": "cancel", "inputs": [ { - "name": "newBonusAmount", + "name": "proposalId", "type": "uint256", "internalType": "uint256" } @@ -7060,502 +7113,588 @@ }, { "type": "function", - "name": "updateRoot", + "name": "cancel", "inputs": [ { - "name": "newRoot", + "name": "targets", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "descriptionHash", "type": "bytes32", "internalType": "bytes32" } ], - "outputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], "stateMutability": "nonpayable" }, { "type": "function", - "name": "upgradeToAndCall", + "name": "castVote", "inputs": [ { - "name": "newImplementation", - "type": "address", - "internalType": "address" + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" }, { - "name": "data", - "type": "bytes", - "internalType": "bytes" + "name": "support", + "type": "uint8", + "internalType": "uint8" } ], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "walletFactory", - "inputs": [], "outputs": [ { "name": "", - "type": "address", - "internalType": "address" + "type": "uint256", + "internalType": "uint256" } ], - "stateMutability": "view" + "stateMutability": "nonpayable" }, { - "type": "event", - "name": "BonusAmountUpdated", + "type": "function", + "name": "castVoteBySig", "inputs": [ { - "name": "newBonusAmount", + "name": "proposalId", "type": "uint256", - "indexed": true, "internalType": "uint256" }, { - "name": "oldBonusAmount", - "type": "uint256", - "indexed": true, - "internalType": "uint256" + "name": "support", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "voter", + "type": "address", + "internalType": "address" + }, + { + "name": "signature", + "type": "bytes", + "internalType": "bytes" } ], - "anonymous": false - }, - { - "type": "event", - "name": "Initialized", - "inputs": [ + "outputs": [ { - "name": "version", - "type": "uint64", - "indexed": false, - "internalType": "uint64" + "name": "", + "type": "uint256", + "internalType": "uint256" } ], - "anonymous": false + "stateMutability": "nonpayable" }, { - "type": "event", - "name": "NewUserReward", + "type": "function", + "name": "castVoteWithReason", "inputs": [ { - "name": "user", - "type": "address", - "indexed": true, - "internalType": "address" + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" }, { - "name": "amount", + "name": "support", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "reason", + "type": "string", + "internalType": "string" + } + ], + "outputs": [ + { + "name": "", "type": "uint256", - "indexed": true, "internalType": "uint256" } ], - "anonymous": false + "stateMutability": "nonpayable" }, { - "type": "event", - "name": "RoleAdminChanged", + "type": "function", + "name": "castVoteWithReasonAndParams", "inputs": [ { - "name": "role", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" }, { - "name": "previousAdminRole", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" + "name": "support", + "type": "uint8", + "internalType": "uint8" }, { - "name": "newAdminRole", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" + "name": "reason", + "type": "string", + "internalType": "string" + }, + { + "name": "params", + "type": "bytes", + "internalType": "bytes" } ], - "anonymous": false + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" }, { - "type": "event", - "name": "RoleGranted", + "type": "function", + "name": "castVoteWithReasonAndParamsBySig", "inputs": [ { - "name": "role", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" }, { - "name": "account", - "type": "address", - "indexed": true, - "internalType": "address" + "name": "support", + "type": "uint8", + "internalType": "uint8" }, { - "name": "sender", + "name": "voter", "type": "address", - "indexed": true, "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "RoleRevoked", - "inputs": [ + }, { - "name": "role", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" + "name": "reason", + "type": "string", + "internalType": "string" }, { - "name": "account", - "type": "address", - "indexed": true, - "internalType": "address" + "name": "params", + "type": "bytes", + "internalType": "bytes" }, { - "name": "sender", - "type": "address", - "indexed": true, - "internalType": "address" + "name": "signature", + "type": "bytes", + "internalType": "bytes" } ], - "anonymous": false - }, - { - "type": "event", - "name": "RootUpdated", - "inputs": [ - { - "name": "newRoot", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - }, + "outputs": [ { - "name": "oldRoot", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" + "name": "", + "type": "uint256", + "internalType": "uint256" } ], - "anonymous": false + "stateMutability": "nonpayable" }, { - "type": "event", - "name": "Upgraded", - "inputs": [ + "type": "function", + "name": "clock", + "inputs": [], + "outputs": [ { - "name": "implementation", - "type": "address", - "indexed": true, - "internalType": "address" + "name": "", + "type": "uint48", + "internalType": "uint48" } ], - "anonymous": false + "stateMutability": "view" }, { - "type": "event", - "name": "UserClaimed", - "inputs": [ + "type": "function", + "name": "eip712Domain", + "inputs": [], + "outputs": [ { - "name": "user", - "type": "address", - "indexed": true, - "internalType": "address" + "name": "fields", + "type": "bytes1", + "internalType": "bytes1" }, { - "name": "amount", + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "version", + "type": "string", + "internalType": "string" + }, + { + "name": "chainId", "type": "uint256", - "indexed": true, "internalType": "uint256" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "UserEngenClaimed", - "inputs": [ + }, { - "name": "user", + "name": "verifyingContract", "type": "address", - "indexed": true, "internalType": "address" }, { - "name": "amount", - "type": "uint256", - "indexed": true, - "internalType": "uint256" + "name": "salt", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "extensions", + "type": "uint256[]", + "internalType": "uint256[]" } ], - "anonymous": false - }, - { - "type": "error", - "name": "AccessControlBadConfirmation", - "inputs": [] + "stateMutability": "view" }, { - "type": "error", - "name": "AccessControlUnauthorizedAccount", + "type": "function", + "name": "execute", "inputs": [ { - "name": "account", - "type": "address", - "internalType": "address" + "name": "targets", + "type": "address[]", + "internalType": "address[]" }, { - "name": "neededRole", + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "descriptionHash", "type": "bytes32", "internalType": "bytes32" } - ] + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "payable" }, { - "type": "error", - "name": "AddressEmptyCode", + "type": "function", + "name": "execute", "inputs": [ { - "name": "target", - "type": "address", - "internalType": "address" + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" } - ] + ], + "outputs": [], + "stateMutability": "payable" }, { - "type": "error", - "name": "AddressInsufficientBalance", + "type": "function", + "name": "getVotes", "inputs": [ { "name": "account", "type": "address", "internalType": "address" + }, + { + "name": "timepoint", + "type": "uint256", + "internalType": "uint256" } - ] - }, - { - "type": "error", - "name": "AlreadyClaimed", - "inputs": [ + ], + "outputs": [ { - "name": "user", - "type": "address", - "internalType": "address" + "name": "", + "type": "uint256", + "internalType": "uint256" } - ] + ], + "stateMutability": "view" }, { - "type": "error", - "name": "ERC1967InvalidImplementation", + "type": "function", + "name": "getVotesWithParams", "inputs": [ { - "name": "implementation", + "name": "account", "type": "address", "internalType": "address" + }, + { + "name": "timepoint", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "params", + "type": "bytes", + "internalType": "bytes" } - ] - }, - { - "type": "error", - "name": "ERC1967NonPayable", - "inputs": [] + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" }, { - "type": "error", - "name": "EngenAlreadyClaimed", + "type": "function", + "name": "hasVoted", "inputs": [ { - "name": "user", + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "account", "type": "address", "internalType": "address" } - ] - }, - { - "type": "error", - "name": "FailedInnerCall", - "inputs": [] - }, - { - "type": "error", - "name": "InvalidInitialization", - "inputs": [] + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" }, { - "type": "error", - "name": "InvalidProof", + "type": "function", + "name": "hashProposal", "inputs": [ { - "name": "proof", - "type": "bytes32[]", - "internalType": "bytes32[]" + "name": "targets", + "type": "address[]", + "internalType": "address[]" }, { - "name": "leaf", + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "descriptionHash", "type": "bytes32", "internalType": "bytes32" } - ] - }, - { - "type": "error", - "name": "MaxLimitReached", - "inputs": [ - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - }, + ], + "outputs": [ { - "name": "limit", + "name": "", "type": "uint256", "internalType": "uint256" } - ] - }, - { - "type": "error", - "name": "NotInitializing", - "inputs": [] + ], + "stateMutability": "pure" }, { - "type": "error", - "name": "OnlyWalletFactory", + "type": "function", + "name": "isAccessManagerIgnored", "inputs": [ { - "name": "caller", + "name": "target", "type": "address", "internalType": "address" + }, + { + "name": "selector", + "type": "bytes4", + "internalType": "bytes4" } - ] + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" }, { - "type": "error", - "name": "ReentrancyGuardReentrantCall", - "inputs": [] + "type": "function", + "name": "name", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" }, { - "type": "error", - "name": "RootAlreadyClaimed", + "type": "function", + "name": "nonces", "inputs": [ { - "name": "user", + "name": "owner", "type": "address", "internalType": "address" } - ] + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" }, { - "type": "error", - "name": "SafeERC20FailedOperation", + "type": "function", + "name": "onERC1155BatchReceived", "inputs": [ { - "name": "token", + "name": "", "type": "address", "internalType": "address" - } - ] - }, - { - "type": "error", - "name": "UUPSUnauthorizedCallContext", - "inputs": [] - }, - { - "type": "error", - "name": "UUPSUnsupportedProxiableUUID", - "inputs": [ + }, { - "name": "slot", - "type": "bytes32", - "internalType": "bytes32" - } - ] - } - ], - "address": "0xD157904639E89df05e89e0DabeEC99aE3d74F9AA" - }, - "SponsorPaymaster": { - "abi": [ - { - "type": "constructor", - "inputs": [ - { - "name": "__entryPoint", + "name": "", "type": "address", - "internalType": "contract IEntryPoint" + "internalType": "address" }, { - "name": "_walletFactory", - "type": "address", - "internalType": "contract IKintoWalletFactory" + "name": "", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes4", + "internalType": "bytes4" } ], "stateMutability": "nonpayable" }, { "type": "function", - "name": "COST_OF_POST", - "inputs": [], - "outputs": [ + "name": "onERC1155Received", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "address", + "internalType": "address" + }, { "name": "", "type": "uint256", "internalType": "uint256" + }, + { + "name": "", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "", + "type": "bytes", + "internalType": "bytes" } ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "MAX_COST_OF_PREVERIFICATION", - "inputs": [], "outputs": [ { "name": "", - "type": "uint256", - "internalType": "uint256" + "type": "bytes4", + "internalType": "bytes4" } ], - "stateMutability": "view" + "stateMutability": "nonpayable" }, { "type": "function", - "name": "MAX_COST_OF_VERIFICATION", - "inputs": [], - "outputs": [ + "name": "onERC721Received", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "address", + "internalType": "address" + }, { "name": "", "type": "uint256", "internalType": "uint256" + }, + { + "name": "", + "type": "bytes", + "internalType": "bytes" } ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "RATE_LIMIT_PERIOD", - "inputs": [], "outputs": [ { "name": "", - "type": "uint256", - "internalType": "uint256" + "type": "bytes4", + "internalType": "bytes4" } ], - "stateMutability": "view" + "stateMutability": "nonpayable" }, { "type": "function", - "name": "RATE_LIMIT_THRESHOLD_TOTAL", + "name": "proposalCount", "inputs": [], "outputs": [ { @@ -7568,90 +7707,65 @@ }, { "type": "function", - "name": "addDepositFor", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "addStake", + "name": "proposalDeadline", "inputs": [ { - "name": "unstakeDelaySec", - "type": "uint32", - "internalType": "uint32" + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" } ], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "appRegistry", - "inputs": [], "outputs": [ { "name": "", - "type": "address", - "internalType": "contract IKintoAppRegistry" + "type": "uint256", + "internalType": "uint256" } ], "stateMutability": "view" }, { "type": "function", - "name": "appUserLimit", + "name": "proposalDetails", "inputs": [ { - "name": "wallet", - "type": "address", - "internalType": "address" - }, - { - "name": "app", - "type": "address", - "internalType": "address" + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" } ], "outputs": [ { "name": "", - "type": "uint256", - "internalType": "uint256" + "type": "address[]", + "internalType": "address[]" }, { "name": "", - "type": "uint256", - "internalType": "uint256" + "type": "uint256[]", + "internalType": "uint256[]" }, { "name": "", - "type": "uint256", - "internalType": "uint256" + "type": "bytes[]", + "internalType": "bytes[]" }, { "name": "", - "type": "uint256", - "internalType": "uint256" + "type": "bytes32", + "internalType": "bytes32" } ], "stateMutability": "view" }, { "type": "function", - "name": "balances", + "name": "proposalDetailsAt", "inputs": [ { - "name": "", - "type": "address", - "internalType": "address" + "name": "index", + "type": "uint256", + "internalType": "uint256" } ], "outputs": [ @@ -7659,18 +7773,38 @@ "name": "", "type": "uint256", "internalType": "uint256" + }, + { + "name": "", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" } ], "stateMutability": "view" }, { "type": "function", - "name": "contractSpent", + "name": "proposalEta", "inputs": [ { - "name": "", - "type": "address", - "internalType": "address" + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" } ], "outputs": [ @@ -7684,78 +7818,93 @@ }, { "type": "function", - "name": "costLimit", + "name": "proposalExecutionPlan", "inputs": [ { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", - "type": "address", - "internalType": "address" + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" } ], "outputs": [ { - "name": "lastOperationTime", - "type": "uint256", - "internalType": "uint256" + "name": "delay", + "type": "uint32", + "internalType": "uint32" }, { - "name": "operationCount", - "type": "uint256", - "internalType": "uint256" + "name": "indirect", + "type": "bool[]", + "internalType": "bool[]" }, { - "name": "ethCostCount", - "type": "uint256", - "internalType": "uint256" + "name": "withDelay", + "type": "bool[]", + "internalType": "bool[]" } ], "stateMutability": "view" }, { "type": "function", - "name": "depositInfo", + "name": "proposalNeedsQueuing", "inputs": [ { - "name": "account", - "type": "address", - "internalType": "address" + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" } ], "outputs": [ { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "_unlockBlock", - "type": "uint256", - "internalType": "uint256" + "name": "", + "type": "bool", + "internalType": "bool" } ], "stateMutability": "view" }, { "type": "function", - "name": "entryPoint", - "inputs": [], - "outputs": [ + "name": "proposalProposer", + "inputs": [ { - "name": "", + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", "type": "address", - "internalType": "contract IEntryPoint" + "internalType": "address" } ], "stateMutability": "view" }, { "type": "function", - "name": "getDeposit", + "name": "proposalSnapshot", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "proposalThreshold", "inputs": [], "outputs": [ { @@ -7768,27 +7917,27 @@ }, { "type": "function", - "name": "globalRateLimit", + "name": "proposalVotes", "inputs": [ { - "name": "", - "type": "address", - "internalType": "address" + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" } ], "outputs": [ { - "name": "lastOperationTime", + "name": "againstVotes", "type": "uint256", "internalType": "uint256" }, { - "name": "operationCount", + "name": "forVotes", "type": "uint256", "internalType": "uint256" }, { - "name": "ethCostCount", + "name": "abstainVotes", "type": "uint256", "internalType": "uint256" } @@ -7797,76 +7946,78 @@ }, { "type": "function", - "name": "initialize", + "name": "propose", "inputs": [ { - "name": "_owner", - "type": "address", - "internalType": "address" + "name": "targets", + "type": "address[]", + "internalType": "address[]" }, { - "name": "_appRegistry", - "type": "address", - "internalType": "contract IKintoAppRegistry" + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" }, { - "name": "_kintoID", - "type": "address", - "internalType": "contract IKintoID" + "name": "calldatas", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "description", + "type": "string", + "internalType": "string" } ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "kintoID", - "inputs": [], "outputs": [ { "name": "", - "type": "address", - "internalType": "contract IKintoID" + "type": "uint256", + "internalType": "uint256" } ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "lockTokenDeposit", - "inputs": [], - "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", - "name": "owner", - "inputs": [], + "name": "queue", + "inputs": [ + { + "name": "targets", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "internalType": "bytes[]" + }, + { + "name": "descriptionHash", + "type": "bytes32", + "internalType": "bytes32" + } + ], "outputs": [ { "name": "", - "type": "address", - "internalType": "address" + "type": "uint256", + "internalType": "uint256" } ], - "stateMutability": "view" + "stateMutability": "nonpayable" }, { "type": "function", - "name": "postOp", + "name": "queue", "inputs": [ { - "name": "mode", - "type": "uint8", - "internalType": "enum IPaymaster.PostOpMode" - }, - { - "name": "context", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "actualGasCost", + "name": "proposalId", "type": "uint256", "internalType": "uint256" } @@ -7876,66 +8027,64 @@ }, { "type": "function", - "name": "proxiableUUID", - "inputs": [], + "name": "quorum", + "inputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], "outputs": [ { "name": "", - "type": "bytes32", - "internalType": "bytes32" + "type": "uint256", + "internalType": "uint256" } ], - "stateMutability": "view" + "stateMutability": "pure" }, { "type": "function", - "name": "rateLimit", + "name": "relay", "inputs": [ { - "name": "", - "type": "address", - "internalType": "address" - }, - { - "name": "", + "name": "target", "type": "address", "internalType": "address" - } - ], - "outputs": [ - { - "name": "lastOperationTime", - "type": "uint256", - "internalType": "uint256" }, { - "name": "operationCount", + "name": "value", "type": "uint256", "internalType": "uint256" }, { - "name": "ethCostCount", - "type": "uint256", - "internalType": "uint256" + "name": "data", + "type": "bytes", + "internalType": "bytes" } ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "renounceOwnership", - "inputs": [], "outputs": [], - "stateMutability": "nonpayable" + "stateMutability": "payable" }, { "type": "function", - "name": "setAppRegistry", + "name": "setAccessManagerIgnored", "inputs": [ { - "name": "_newRegistry", + "name": "target", "type": "address", "internalType": "address" + }, + { + "name": "selectors", + "type": "bytes4[]", + "internalType": "bytes4[]" + }, + { + "name": "ignored", + "type": "bool", + "internalType": "bool" } ], "outputs": [], @@ -7943,12 +8092,12 @@ }, { "type": "function", - "name": "setUserOpMaxCost", + "name": "setBaseDelaySeconds", "inputs": [ { - "name": "_newUserOpMaxCost", - "type": "uint256", - "internalType": "uint256" + "name": "newBaseDelay", + "type": "uint32", + "internalType": "uint32" } ], "outputs": [], @@ -7956,12 +8105,12 @@ }, { "type": "function", - "name": "transferOwnership", + "name": "setProposalThreshold", "inputs": [ { - "name": "newOwner", - "type": "address", - "internalType": "address" + "name": "newProposalThreshold", + "type": "uint256", + "internalType": "uint256" } ], "outputs": [], @@ -7969,45 +8118,25 @@ }, { "type": "function", - "name": "unlockBlock", + "name": "setVotingDelay", "inputs": [ { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" + "name": "newVotingDelay", + "type": "uint48", + "internalType": "uint48" } ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "unlockStake", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "unlockTokenDeposit", - "inputs": [], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", - "name": "upgradeTo", + "name": "setVotingPeriod", "inputs": [ { - "name": "newImplementation", - "type": "address", - "internalType": "address" + "name": "newVotingPeriod", + "type": "uint32", + "internalType": "uint32" } ], "outputs": [], @@ -8015,278 +8144,243 @@ }, { "type": "function", - "name": "upgradeToAndCall", + "name": "state", "inputs": [ { - "name": "newImplementation", - "type": "address", - "internalType": "address" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" } ], - "outputs": [], - "stateMutability": "payable" - }, - { - "type": "function", - "name": "userOpMaxCost", - "inputs": [], "outputs": [ { "name": "", - "type": "uint256", - "internalType": "uint256" + "type": "uint8", + "internalType": "enum IGovernor.ProposalState" } ], "stateMutability": "view" }, { "type": "function", - "name": "validatePaymasterUserOp", + "name": "supportsInterface", "inputs": [ { - "name": "userOp", - "type": "tuple", - "internalType": "struct UserOperation", - "components": [ - { - "name": "sender", - "type": "address", - "internalType": "address" - }, - { - "name": "nonce", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "initCode", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "callData", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "callGasLimit", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "verificationGasLimit", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "preVerificationGas", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "maxFeePerGas", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "maxPriorityFeePerGas", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "paymasterAndData", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "signature", - "type": "bytes", - "internalType": "bytes" - } - ] - }, - { - "name": "userOpHash", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "maxCost", - "type": "uint256", - "internalType": "uint256" + "name": "interfaceId", + "type": "bytes4", + "internalType": "bytes4" } ], "outputs": [ { - "name": "context", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "validationData", - "type": "uint256", - "internalType": "uint256" + "name": "", + "type": "bool", + "internalType": "bool" } ], - "stateMutability": "nonpayable" + "stateMutability": "view" }, { "type": "function", - "name": "walletFactory", + "name": "token", "inputs": [], "outputs": [ { "name": "", "type": "address", - "internalType": "contract IKintoWalletFactory" + "internalType": "contract IERC5805" } ], "stateMutability": "view" }, { "type": "function", - "name": "withdrawStake", - "inputs": [ + "name": "version", + "inputs": [], + "outputs": [ { - "name": "withdrawAddress", - "type": "address", - "internalType": "address payable" + "name": "", + "type": "string", + "internalType": "string" } ], - "outputs": [], - "stateMutability": "nonpayable" + "stateMutability": "view" }, { "type": "function", - "name": "withdrawTokensTo", - "inputs": [ + "name": "votingDelay", + "inputs": [], + "outputs": [ { - "name": "target", - "type": "address", - "internalType": "address" - }, + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "votingPeriod", + "inputs": [], + "outputs": [ { - "name": "amount", + "name": "", "type": "uint256", "internalType": "uint256" } ], - "outputs": [], - "stateMutability": "nonpayable" + "stateMutability": "view" }, { "type": "event", - "name": "AdminChanged", + "name": "AccessManagerIgnoredSet", "inputs": [ { - "name": "previousAdmin", + "name": "target", "type": "address", "indexed": false, "internalType": "address" }, { - "name": "newAdmin", - "type": "address", + "name": "selector", + "type": "bytes4", "indexed": false, - "internalType": "address" + "internalType": "bytes4" + }, + { + "name": "ignored", + "type": "bool", + "indexed": false, + "internalType": "bool" } ], "anonymous": false }, { "type": "event", - "name": "AppRegistrySet", + "name": "BaseDelaySet", "inputs": [ { - "name": "oldRegistry", - "type": "address", + "name": "oldBaseDelaySeconds", + "type": "uint32", "indexed": false, - "internalType": "address" + "internalType": "uint32" }, { - "name": "newRegistry", - "type": "address", + "name": "newBaseDelaySeconds", + "type": "uint32", "indexed": false, - "internalType": "address" + "internalType": "uint32" } ], "anonymous": false }, { "type": "event", - "name": "BeaconUpgraded", - "inputs": [ - { - "name": "beacon", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], + "name": "EIP712DomainChanged", + "inputs": [], "anonymous": false }, { "type": "event", - "name": "Initialized", + "name": "ProposalCanceled", "inputs": [ { - "name": "version", - "type": "uint8", + "name": "proposalId", + "type": "uint256", "indexed": false, - "internalType": "uint8" + "internalType": "uint256" } ], "anonymous": false }, { "type": "event", - "name": "OwnershipTransferred", + "name": "ProposalCreated", "inputs": [ { - "name": "previousOwner", - "type": "address", - "indexed": true, - "internalType": "address" + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" }, { - "name": "newOwner", + "name": "proposer", "type": "address", - "indexed": true, + "indexed": false, "internalType": "address" + }, + { + "name": "targets", + "type": "address[]", + "indexed": false, + "internalType": "address[]" + }, + { + "name": "values", + "type": "uint256[]", + "indexed": false, + "internalType": "uint256[]" + }, + { + "name": "signatures", + "type": "string[]", + "indexed": false, + "internalType": "string[]" + }, + { + "name": "calldatas", + "type": "bytes[]", + "indexed": false, + "internalType": "bytes[]" + }, + { + "name": "voteStart", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "voteEnd", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "description", + "type": "string", + "indexed": false, + "internalType": "string" } ], "anonymous": false }, { "type": "event", - "name": "Upgraded", + "name": "ProposalExecuted", "inputs": [ { - "name": "implementation", - "type": "address", - "indexed": true, - "internalType": "address" + "name": "proposalId", + "type": "uint256", + "indexed": false, + "internalType": "uint256" } ], "anonymous": false }, { "type": "event", - "name": "UserOpMaxCostSet", + "name": "ProposalQueued", "inputs": [ { - "name": "oldUserOpMaxCost", + "name": "proposalId", "type": "uint256", "indexed": false, "internalType": "uint256" }, { - "name": "newUserOpMaxCost", + "name": "etaSeconds", "type": "uint256", "indexed": false, "internalType": "uint256" @@ -8295,937 +8389,5055 @@ "anonymous": false }, { - "type": "error", - "name": "AccountKYCRequired", - "inputs": [] - }, - { - "type": "error", - "name": "AppGasLimitExceeded", - "inputs": [] - }, - { - "type": "error", - "name": "AppRateLimitExceeded", - "inputs": [] - }, - { - "type": "error", - "name": "DepositNotLocked", - "inputs": [] - }, - { - "type": "error", - "name": "DepositTooLow", - "inputs": [] - }, - { - "type": "error", - "name": "GasOutsideRangeForPostOp", - "inputs": [] - }, - { - "type": "error", - "name": "GasTooHighForUserOp", - "inputs": [] - }, - { - "type": "error", - "name": "GasTooHighForVerification", - "inputs": [] - }, - { - "type": "error", - "name": "InvalidAmount", - "inputs": [] - }, - { - "type": "error", - "name": "InvalidRegistry", - "inputs": [] - }, - { - "type": "error", - "name": "InvalidTarget", - "inputs": [] - }, - { - "type": "error", - "name": "KintoRateLimitExceeded", - "inputs": [] - }, - { - "type": "error", - "name": "OnlyOwner", - "inputs": [] - }, - { - "type": "error", - "name": "PaymasterAndDataLengthInvalid", - "inputs": [] - }, - { - "type": "error", - "name": "SenderKYCRequired", - "inputs": [] - }, - { - "type": "error", - "name": "TokenDepositLocked", - "inputs": [] - } - ], - "address": "0x1842a4EFf3eFd24c50B63c3CF89cECEe245Fc2bd" - }, - "Counter": { - "abi": [ - { - "type": "constructor", - "inputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "count", - "inputs": [], - "outputs": [ + "type": "event", + "name": "ProposalThresholdSet", + "inputs": [ { - "name": "", + "name": "oldProposalThreshold", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "newProposalThreshold", "type": "uint256", + "indexed": false, "internalType": "uint256" } ], - "stateMutability": "view" + "anonymous": false }, { - "type": "function", - "name": "increment", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - } - ], - "address": "0xdb791AF345A21588957E4e45596411b2Be2BD4cd" - }, - "IBridge": { - "abi": [ - { - "type": "function", - "name": "bridge", + "type": "event", + "name": "VoteCast", "inputs": [ { - "name": "receiver_", + "name": "voter", "type": "address", + "indexed": true, "internalType": "address" }, { - "name": "amount_", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "msgGasLimit_", + "name": "proposalId", "type": "uint256", + "indexed": false, "internalType": "uint256" }, { - "name": "connector_", - "type": "address", - "internalType": "address" + "name": "support", + "type": "uint8", + "indexed": false, + "internalType": "uint8" }, { - "name": "execPayload_", - "type": "bytes", - "internalType": "bytes" + "name": "weight", + "type": "uint256", + "indexed": false, + "internalType": "uint256" }, { - "name": "options_", - "type": "bytes", - "internalType": "bytes" + "name": "reason", + "type": "string", + "indexed": false, + "internalType": "string" } ], - "outputs": [], - "stateMutability": "payable" + "anonymous": false }, { - "type": "function", - "name": "getMinFees", + "type": "event", + "name": "VoteCastWithParams", "inputs": [ { - "name": "connector_", + "name": "voter", "type": "address", + "indexed": true, "internalType": "address" }, { - "name": "msgGasLimit_", + "name": "proposalId", "type": "uint256", + "indexed": false, "internalType": "uint256" }, { - "name": "payloadSize_", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ + "name": "support", + "type": "uint8", + "indexed": false, + "internalType": "uint8" + }, { - "name": "totalFees", + "name": "weight", "type": "uint256", + "indexed": false, "internalType": "uint256" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "receiveInbound", - "inputs": [ + }, { - "name": "siblingChainSlug_", - "type": "uint32", - "internalType": "uint32" + "name": "reason", + "type": "string", + "indexed": false, + "internalType": "string" }, { - "name": "payload_", + "name": "params", "type": "bytes", + "indexed": false, "internalType": "bytes" } ], - "outputs": [], - "stateMutability": "payable" + "anonymous": false }, { - "type": "function", - "name": "retry", + "type": "event", + "name": "VotingDelaySet", "inputs": [ { - "name": "connector_", - "type": "address", - "internalType": "address" + "name": "oldVotingDelay", + "type": "uint256", + "indexed": false, + "internalType": "uint256" }, { - "name": "messageId_", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - } - ] - }, - "IConnector": { - "abi": [ - { - "type": "function", - "name": "getMessageId", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" + "name": "newVotingDelay", + "type": "uint256", + "indexed": false, + "internalType": "uint256" } ], - "stateMutability": "view" + "anonymous": false }, { - "type": "function", - "name": "getMinFees", + "type": "event", + "name": "VotingPeriodSet", "inputs": [ { - "name": "msgGasLimit_", + "name": "oldVotingPeriod", "type": "uint256", + "indexed": false, "internalType": "uint256" }, { - "name": "payloadSize_", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "totalFees", + "name": "newVotingPeriod", "type": "uint256", + "indexed": false, "internalType": "uint256" } ], - "stateMutability": "view" + "anonymous": false }, { - "type": "function", - "name": "outbound", + "type": "error", + "name": "FailedInnerCall", + "inputs": [] + }, + { + "type": "error", + "name": "GovernorAlreadyCastVote", "inputs": [ { - "name": "msgGasLimit_", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "payload_", - "type": "bytes", - "internalType": "bytes" - }, + "name": "voter", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "GovernorAlreadyQueuedProposal", + "inputs": [ { - "name": "options_", - "type": "bytes", - "internalType": "bytes" + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" } - ], - "outputs": [ + ] + }, + { + "type": "error", + "name": "GovernorDisabledDeposit", + "inputs": [] + }, + { + "type": "error", + "name": "GovernorInsufficientProposerVotes", + "inputs": [ { - "name": "messageId_", - "type": "bytes32", - "internalType": "bytes32" + "name": "proposer", + "type": "address", + "internalType": "address" + }, + { + "name": "votes", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "threshold", + "type": "uint256", + "internalType": "uint256" } - ], - "stateMutability": "payable" + ] }, { - "type": "function", - "name": "siblingChainSlug", - "inputs": [], - "outputs": [ + "type": "error", + "name": "GovernorInvalidProposalLength", + "inputs": [ { - "name": "", - "type": "uint32", - "internalType": "uint32" + "name": "targets", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "calldatas", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "values", + "type": "uint256", + "internalType": "uint256" } - ], - "stateMutability": "view" - } - ] - }, - "IController": { - "abi": [ + ] + }, { - "type": "function", - "name": "connectorCache", + "type": "error", + "name": "GovernorInvalidSignature", "inputs": [ { - "name": "connector_", + "name": "voter", "type": "address", "internalType": "address" } - ], - "outputs": [ + ] + }, + { + "type": "error", + "name": "GovernorInvalidVoteType", + "inputs": [] + }, + { + "type": "error", + "name": "GovernorInvalidVotingPeriod", + "inputs": [ { - "name": "cache", - "type": "bytes", - "internalType": "bytes" + "name": "votingPeriod", + "type": "uint256", + "internalType": "uint256" } - ], - "stateMutability": "payable" + ] }, { - "type": "function", - "name": "identifierCache", + "type": "error", + "name": "GovernorLockedIgnore", + "inputs": [] + }, + { + "type": "error", + "name": "GovernorMismatchedNonce", "inputs": [ { - "name": "messageId_", - "type": "bytes32", - "internalType": "bytes32" + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "expectedNonce", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "actualNonce", + "type": "uint256", + "internalType": "uint256" } - ], - "outputs": [ + ] + }, + { + "type": "error", + "name": "GovernorNonexistentProposal", + "inputs": [ { - "name": "cache", - "type": "bytes", - "internalType": "bytes" + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" } - ], - "stateMutability": "payable" - } - ] - }, - "IHook": { - "abi": [ + ] + }, { - "type": "function", - "name": "dstPostHookCall", + "type": "error", + "name": "GovernorNotQueuedProposal", "inputs": [ { - "name": "params_", - "type": "tuple", - "internalType": "struct DstPostHookCallParams", - "components": [ - { - "name": "connector", - "type": "address", - "internalType": "address" - }, - { - "name": "messageId", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "connectorCache", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "postHookData", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "transferInfo", - "type": "tuple", - "internalType": "struct TransferInfo", - "components": [ - { - "name": "receiver", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ] - } - ] + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" } - ], - "outputs": [ + ] + }, + { + "type": "error", + "name": "GovernorOnlyExecutor", + "inputs": [ { - "name": "cacheData", - "type": "tuple", - "internalType": "struct CacheData", - "components": [ - { - "name": "identifierCache", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "connectorCache", - "type": "bytes", - "internalType": "bytes" - } - ] + "name": "account", + "type": "address", + "internalType": "address" } - ], - "stateMutability": "nonpayable" + ] }, { - "type": "function", - "name": "dstPreHookCall", + "type": "error", + "name": "GovernorOnlyProposer", "inputs": [ { - "name": "params_", - "type": "tuple", - "internalType": "struct DstPreHookCallParams", - "components": [ - { - "name": "connector", - "type": "address", - "internalType": "address" - }, - { - "name": "connectorCache", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "transferInfo", - "type": "tuple", - "internalType": "struct TransferInfo", - "components": [ - { - "name": "receiver", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ] - } - ] + "name": "account", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "GovernorQueueNotImplemented", + "inputs": [] + }, + { + "type": "error", + "name": "GovernorRestrictedProposer", + "inputs": [ + { + "name": "proposer", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "GovernorUnexpectedProposalState", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "current", + "type": "uint8", + "internalType": "enum IGovernor.ProposalState" + }, + { + "name": "expectedStates", + "type": "bytes32", + "internalType": "bytes32" + } + ] + }, + { + "type": "error", + "name": "GovernorUnmetDelay", + "inputs": [ + { + "name": "proposalId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "neededTimestamp", + "type": "uint256", + "internalType": "uint256" + } + ] + }, + { + "type": "error", + "name": "InvalidAccountNonce", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + }, + { + "name": "currentNonce", + "type": "uint256", + "internalType": "uint256" + } + ] + }, + { + "type": "error", + "name": "InvalidShortString", + "inputs": [] + }, + { + "type": "error", + "name": "QueueEmpty", + "inputs": [] + }, + { + "type": "error", + "name": "QueueFull", + "inputs": [] + }, + { + "type": "error", + "name": "SafeCastOverflowedUintDowncast", + "inputs": [ + { + "name": "bits", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + } + ] + }, + { + "type": "error", + "name": "StringTooLong", + "inputs": [ + { + "name": "str", + "type": "string", + "internalType": "string" + } + ] + } + ], + "address": "0x010600ff5f36C8eF3b6Aaf2A88C2DE85C798594a" + }, + "BundleBulker": { + "abi": [ + { + "type": "constructor", + "inputs": [ + { + "name": "_entryPoint", + "type": "address", + "internalType": "contract IEntryPoint" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "fallback", + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "entryPoint", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract IEntryPoint" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "idToInflator", + "inputs": [ + { + "name": "", + "type": "uint32", + "internalType": "uint32" } ], "outputs": [ { - "name": "postHookData", + "name": "", + "type": "address", + "internalType": "contract IInflator" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "inflate", + "inputs": [ + { + "name": "compressed", "type": "bytes", "internalType": "bytes" - }, + } + ], + "outputs": [ { - "name": "transferInfo", - "type": "tuple", - "internalType": "struct TransferInfo", + "name": "ops", + "type": "tuple[]", + "internalType": "struct UserOperation[]", "components": [ { - "name": "receiver", + "name": "sender", "type": "address", "internalType": "address" }, { - "name": "amount", + "name": "nonce", "type": "uint256", "internalType": "uint256" }, { - "name": "data", + "name": "initCode", "type": "bytes", "internalType": "bytes" - } - ] - } - ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "postRetryHook", - "inputs": [ - { - "name": "params_", - "type": "tuple", - "internalType": "struct PostRetryHookCallParams", - "components": [ + }, { - "name": "connector", - "type": "address", - "internalType": "address" + "name": "callData", + "type": "bytes", + "internalType": "bytes" }, { - "name": "messageId", - "type": "bytes32", - "internalType": "bytes32" + "name": "callGasLimit", + "type": "uint256", + "internalType": "uint256" }, { - "name": "postRetryHookData", + "name": "verificationGasLimit", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "preVerificationGas", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "maxFeePerGas", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "maxPriorityFeePerGas", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "paymasterAndData", "type": "bytes", "internalType": "bytes" }, { - "name": "cacheData", - "type": "tuple", - "internalType": "struct CacheData", - "components": [ - { - "name": "identifierCache", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "connectorCache", - "type": "bytes", - "internalType": "bytes" - } - ] + "name": "signature", + "type": "bytes", + "internalType": "bytes" } ] - } - ], - "outputs": [ + }, { - "name": "cacheData", - "type": "tuple", - "internalType": "struct CacheData", - "components": [ - { - "name": "identifierCache", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "connectorCache", - "type": "bytes", - "internalType": "bytes" - } - ] + "name": "beneficiary", + "type": "address", + "internalType": "address payable" } ], - "stateMutability": "nonpayable" + "stateMutability": "view" }, { "type": "function", - "name": "preRetryHook", + "name": "inflatorToID", "inputs": [ { - "name": "params_", - "type": "tuple", - "internalType": "struct PreRetryHookCallParams", - "components": [ - { - "name": "connector", - "type": "address", - "internalType": "address" - }, - { - "name": "cacheData", - "type": "tuple", - "internalType": "struct CacheData", - "components": [ - { - "name": "identifierCache", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "connectorCache", - "type": "bytes", - "internalType": "bytes" - } - ] - } - ] + "name": "", + "type": "address", + "internalType": "contract IInflator" } ], "outputs": [ { - "name": "postRetryHookData", + "name": "", + "type": "uint32", + "internalType": "uint32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "registerInflator", + "inputs": [ + { + "name": "inflatorId", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "inflator", + "type": "address", + "internalType": "contract IInflator" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "event", + "name": "InflatorRegistered", + "inputs": [ + { + "name": "id", + "type": "uint32", + "indexed": false, + "internalType": "uint32" + }, + { + "name": "inflator", + "type": "address", + "indexed": false, + "internalType": "contract IInflator" + } + ], + "anonymous": false + } + ], + "address": "0x8d2D899402ed84b6c0510bB1ad34ee436ADDD20d" + }, + "KintoInflator": { + "abi": [ + { + "type": "constructor", + "inputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "_inflate", + "inputs": [ + { + "name": "decompressed", "type": "bytes", "internalType": "bytes" - }, + } + ], + "outputs": [ { - "name": "transferInfo", + "name": "op", "type": "tuple", - "internalType": "struct TransferInfo", + "internalType": "struct UserOperation", "components": [ { - "name": "receiver", + "name": "sender", "type": "address", "internalType": "address" }, { - "name": "amount", + "name": "nonce", "type": "uint256", "internalType": "uint256" }, { - "name": "data", + "name": "initCode", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "callData", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "callGasLimit", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "verificationGasLimit", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "preVerificationGas", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "maxFeePerGas", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "maxPriorityFeePerGas", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "paymasterAndData", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "signature", "type": "bytes", "internalType": "bytes" } ] } ], - "stateMutability": "nonpayable" + "stateMutability": "view" }, { "type": "function", - "name": "srcPostHookCall", + "name": "compress", "inputs": [ { - "name": "params_", + "name": "op", "type": "tuple", - "internalType": "struct SrcPostHookCallParams", + "internalType": "struct UserOperation", "components": [ { - "name": "connector", + "name": "sender", "type": "address", "internalType": "address" }, { - "name": "options", + "name": "nonce", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "initCode", "type": "bytes", "internalType": "bytes" }, { - "name": "postSrcHookData", + "name": "callData", "type": "bytes", "internalType": "bytes" }, { - "name": "transferInfo", - "type": "tuple", - "internalType": "struct TransferInfo", - "components": [ - { - "name": "receiver", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ] - } - ] - } - ], - "outputs": [ - { - "name": "transferInfo", - "type": "tuple", - "internalType": "struct TransferInfo", - "components": [ + "name": "callGasLimit", + "type": "uint256", + "internalType": "uint256" + }, { - "name": "receiver", - "type": "address", - "internalType": "address" + "name": "verificationGasLimit", + "type": "uint256", + "internalType": "uint256" }, { - "name": "amount", + "name": "preVerificationGas", "type": "uint256", "internalType": "uint256" }, { - "name": "data", + "name": "maxFeePerGas", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "maxPriorityFeePerGas", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "paymasterAndData", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "signature", "type": "bytes", "internalType": "bytes" } ] } ], - "stateMutability": "nonpayable" + "outputs": [ + { + "name": "compressed", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "view" }, { "type": "function", - "name": "srcPreHookCall", + "name": "compressSimple", "inputs": [ { - "name": "params_", + "name": "op", "type": "tuple", - "internalType": "struct SrcPreHookCallParams", + "internalType": "struct UserOperation", "components": [ { - "name": "connector", + "name": "sender", "type": "address", "internalType": "address" }, { - "name": "msgSender", - "type": "address", - "internalType": "address" + "name": "nonce", + "type": "uint256", + "internalType": "uint256" }, { - "name": "transferInfo", - "type": "tuple", - "internalType": "struct TransferInfo", - "components": [ - { - "name": "receiver", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "data", - "type": "bytes", - "internalType": "bytes" - } - ] + "name": "initCode", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "callData", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "callGasLimit", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "verificationGasLimit", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "preVerificationGas", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "maxFeePerGas", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "maxPriorityFeePerGas", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "paymasterAndData", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "signature", + "type": "bytes", + "internalType": "bytes" } ] } ], "outputs": [ { - "name": "transferInfo", + "name": "compressed", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "inflate", + "inputs": [ + { + "name": "compressed", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "op", "type": "tuple", - "internalType": "struct TransferInfo", + "internalType": "struct UserOperation", "components": [ { - "name": "receiver", + "name": "sender", "type": "address", "internalType": "address" }, { - "name": "amount", + "name": "nonce", "type": "uint256", "internalType": "uint256" }, { - "name": "data", + "name": "initCode", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "callData", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "callGasLimit", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "verificationGasLimit", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "preVerificationGas", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "maxFeePerGas", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "maxPriorityFeePerGas", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "paymasterAndData", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "signature", "type": "bytes", "internalType": "bytes" } ] - }, + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "inflateSimple", + "inputs": [ { - "name": "postSrcHookData", + "name": "compressed", "type": "bytes", "internalType": "bytes" } ], - "stateMutability": "nonpayable" - } - ] - }, - "ISocket": { - "abi": [ + "outputs": [ + { + "name": "op", + "type": "tuple", + "internalType": "struct UserOperation", + "components": [ + { + "name": "sender", + "type": "address", + "internalType": "address" + }, + { + "name": "nonce", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "initCode", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "callData", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "callGasLimit", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "verificationGasLimit", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "preVerificationGas", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "maxFeePerGas", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "maxPriorityFeePerGas", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "paymasterAndData", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "signature", + "type": "bytes", + "internalType": "bytes" + } + ] + } + ], + "stateMutability": "pure" + }, { "type": "function", - "name": "chainSlug", + "name": "initialize", "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "kintoContracts", + "inputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], "outputs": [ { - "name": "chainSlug", - "type": "uint32", - "internalType": "uint32" + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "kintoNames", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "owner", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "proxiableUUID", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "renounceOwnership", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setKintoContract", + "inputs": [ + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "target", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "transferOwnership", + "inputs": [ + { + "name": "newOwner", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "upgradeTo", + "inputs": [ + { + "name": "newImplementation", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "upgradeToAndCall", + "inputs": [ + { + "name": "newImplementation", + "type": "address", + "internalType": "address" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "event", + "name": "AdminChanged", + "inputs": [ + { + "name": "previousAdmin", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "newAdmin", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "BeaconUpgraded", + "inputs": [ + { + "name": "beacon", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Initialized", + "inputs": [ + { + "name": "version", + "type": "uint8", + "indexed": false, + "internalType": "uint8" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "KintoContractSet", + "inputs": [ + { + "name": "name", + "type": "string", + "indexed": false, + "internalType": "string" + }, + { + "name": "target", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "OwnershipTransferred", + "inputs": [ + { + "name": "previousOwner", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "newOwner", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Upgraded", + "inputs": [ + { + "name": "implementation", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + } + ], + "address": "0x336a76a7A2a1e97CE20c420F39FC08c441234aa2" + }, + "RewardsDistributor": { + "abi": [ + { + "type": "constructor", + "inputs": [ + { + "name": "kinto_", + "type": "address", + "internalType": "contract IERC20" + }, + { + "name": "startTime_", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "walletFactory_", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "DEFAULT_ADMIN_ROLE", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "KINTO", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract IERC20" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "NEW_USER_REWARD", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "NEW_USER_REWARD_TIMESTAMP", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "UPDATER_ROLE", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "UPGRADE_INTERFACE_VERSION", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "bonusAmount", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "claim", + "inputs": [ + { + "name": "proof", + "type": "bytes32[]", + "internalType": "bytes32[]" + }, + { + "name": "user", + "type": "address", + "internalType": "address" + }, + { + "name": "totalUserTokens", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "claimedByUser", + "inputs": [ + { + "name": "wallet", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "claimedRoot", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getRewards", + "inputs": [ + { + "name": "time", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getRewards", + "inputs": [ + { + "name": "fromTime", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "toTime", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getRoleAdmin", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getTotalLimit", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getTotalLimit", + "inputs": [ + { + "name": "time", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getUnclaimedLimit", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "grantRole", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "hasRole", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "initialize", + "inputs": [ + { + "name": "root_", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "bonusAmount_", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "newUserClaim", + "inputs": [ + { + "name": "wallet", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "proxiableUUID", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "quarters", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "renounceRole", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "callerConfirmation", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "revokeRole", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "rewardsPerQuarter", + "inputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "root", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "startTime", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "supportsInterface", + "inputs": [ + { + "name": "interfaceId", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "totalClaimed", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "totalTokens", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "updateBonusAmount", + "inputs": [ + { + "name": "newBonusAmount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "updateRoot", + "inputs": [ + { + "name": "newRoot", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "upgradeToAndCall", + "inputs": [ + { + "name": "newImplementation", + "type": "address", + "internalType": "address" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "walletFactory", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "event", + "name": "BonusAmountUpdated", + "inputs": [ + { + "name": "newBonusAmount", + "type": "uint256", + "indexed": true, + "internalType": "uint256" + }, + { + "name": "oldBonusAmount", + "type": "uint256", + "indexed": true, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Initialized", + "inputs": [ + { + "name": "version", + "type": "uint64", + "indexed": false, + "internalType": "uint64" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "NewUserReward", + "inputs": [ + { + "name": "user", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "indexed": true, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "RoleAdminChanged", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + }, + { + "name": "previousAdminRole", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + }, + { + "name": "newAdminRole", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "RoleGranted", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + }, + { + "name": "account", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "sender", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "RoleRevoked", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + }, + { + "name": "account", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "sender", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "RootUpdated", + "inputs": [ + { + "name": "newRoot", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + }, + { + "name": "oldRoot", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Upgraded", + "inputs": [ + { + "name": "implementation", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "UserClaimed", + "inputs": [ + { + "name": "user", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "indexed": true, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "UserEngenClaimed", + "inputs": [ + { + "name": "user", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "indexed": true, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "error", + "name": "AccessControlBadConfirmation", + "inputs": [] + }, + { + "type": "error", + "name": "AccessControlUnauthorizedAccount", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + }, + { + "name": "neededRole", + "type": "bytes32", + "internalType": "bytes32" + } + ] + }, + { + "type": "error", + "name": "AddressEmptyCode", + "inputs": [ + { + "name": "target", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "AddressInsufficientBalance", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "AlreadyClaimed", + "inputs": [ + { + "name": "user", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "ERC1967InvalidImplementation", + "inputs": [ + { + "name": "implementation", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "ERC1967NonPayable", + "inputs": [] + }, + { + "type": "error", + "name": "EngenAlreadyClaimed", + "inputs": [ + { + "name": "user", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "FailedInnerCall", + "inputs": [] + }, + { + "type": "error", + "name": "InvalidInitialization", + "inputs": [] + }, + { + "type": "error", + "name": "InvalidProof", + "inputs": [ + { + "name": "proof", + "type": "bytes32[]", + "internalType": "bytes32[]" + }, + { + "name": "leaf", + "type": "bytes32", + "internalType": "bytes32" + } + ] + }, + { + "type": "error", + "name": "MaxLimitReached", + "inputs": [ + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "limit", + "type": "uint256", + "internalType": "uint256" + } + ] + }, + { + "type": "error", + "name": "NotInitializing", + "inputs": [] + }, + { + "type": "error", + "name": "OnlyWalletFactory", + "inputs": [ + { + "name": "caller", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "ReentrancyGuardReentrantCall", + "inputs": [] + }, + { + "type": "error", + "name": "RootAlreadyClaimed", + "inputs": [ + { + "name": "user", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "SafeERC20FailedOperation", + "inputs": [ + { + "name": "token", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "UUPSUnauthorizedCallContext", + "inputs": [] + }, + { + "type": "error", + "name": "UUPSUnsupportedProxiableUUID", + "inputs": [ + { + "name": "slot", + "type": "bytes32", + "internalType": "bytes32" + } + ] + } + ], + "address": "0xD157904639E89df05e89e0DabeEC99aE3d74F9AA" + }, + "SponsorPaymaster": { + "abi": [ + { + "type": "constructor", + "inputs": [ + { + "name": "__entryPoint", + "type": "address", + "internalType": "contract IEntryPoint" + }, + { + "name": "_walletFactory", + "type": "address", + "internalType": "contract IKintoWalletFactory" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "COST_OF_POST", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "MAX_COST_OF_PREVERIFICATION", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "MAX_COST_OF_VERIFICATION", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "RATE_LIMIT_PERIOD", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "RATE_LIMIT_THRESHOLD_TOTAL", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "addDepositFor", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "addStake", + "inputs": [ + { + "name": "unstakeDelaySec", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "appRegistry", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract IKintoAppRegistry" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "appUserLimit", + "inputs": [ + { + "name": "wallet", + "type": "address", + "internalType": "address" + }, + { + "name": "app", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "balances", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "contractSpent", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "costLimit", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "lastOperationTime", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "operationCount", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "ethCostCount", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "depositInfo", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "_unlockBlock", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "entryPoint", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract IEntryPoint" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getDeposit", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "globalRateLimit", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "lastOperationTime", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "operationCount", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "ethCostCount", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "initialize", + "inputs": [ + { + "name": "_owner", + "type": "address", + "internalType": "address" + }, + { + "name": "_appRegistry", + "type": "address", + "internalType": "contract IKintoAppRegistry" + }, + { + "name": "_kintoID", + "type": "address", + "internalType": "contract IKintoID" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "kintoID", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract IKintoID" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "lockTokenDeposit", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "owner", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "postOp", + "inputs": [ + { + "name": "mode", + "type": "uint8", + "internalType": "enum IPaymaster.PostOpMode" + }, + { + "name": "context", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "actualGasCost", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "proxiableUUID", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "rateLimit", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + }, + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "lastOperationTime", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "operationCount", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "ethCostCount", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "renounceOwnership", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setAppRegistry", + "inputs": [ + { + "name": "_newRegistry", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setUserOpMaxCost", + "inputs": [ + { + "name": "_newUserOpMaxCost", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "transferOwnership", + "inputs": [ + { + "name": "newOwner", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "unlockBlock", + "inputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "unlockStake", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "unlockTokenDeposit", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "upgradeTo", + "inputs": [ + { + "name": "newImplementation", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "upgradeToAndCall", + "inputs": [ + { + "name": "newImplementation", + "type": "address", + "internalType": "address" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "userOpMaxCost", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "validatePaymasterUserOp", + "inputs": [ + { + "name": "userOp", + "type": "tuple", + "internalType": "struct UserOperation", + "components": [ + { + "name": "sender", + "type": "address", + "internalType": "address" + }, + { + "name": "nonce", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "initCode", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "callData", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "callGasLimit", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "verificationGasLimit", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "preVerificationGas", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "maxFeePerGas", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "maxPriorityFeePerGas", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "paymasterAndData", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "signature", + "type": "bytes", + "internalType": "bytes" + } + ] + }, + { + "name": "userOpHash", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "maxCost", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "context", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "validationData", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "walletFactory", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "contract IKintoWalletFactory" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "withdrawStake", + "inputs": [ + { + "name": "withdrawAddress", + "type": "address", + "internalType": "address payable" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "withdrawTokensTo", + "inputs": [ + { + "name": "target", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "event", + "name": "AdminChanged", + "inputs": [ + { + "name": "previousAdmin", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "newAdmin", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "AppRegistrySet", + "inputs": [ + { + "name": "oldRegistry", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "newRegistry", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "BeaconUpgraded", + "inputs": [ + { + "name": "beacon", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Initialized", + "inputs": [ + { + "name": "version", + "type": "uint8", + "indexed": false, + "internalType": "uint8" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "OwnershipTransferred", + "inputs": [ + { + "name": "previousOwner", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "newOwner", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Upgraded", + "inputs": [ + { + "name": "implementation", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "UserOpMaxCostSet", + "inputs": [ + { + "name": "oldUserOpMaxCost", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "newUserOpMaxCost", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + } + ], + "anonymous": false + }, + { + "type": "error", + "name": "AccountKYCRequired", + "inputs": [] + }, + { + "type": "error", + "name": "AppGasLimitExceeded", + "inputs": [] + }, + { + "type": "error", + "name": "AppRateLimitExceeded", + "inputs": [] + }, + { + "type": "error", + "name": "DepositNotLocked", + "inputs": [] + }, + { + "type": "error", + "name": "DepositTooLow", + "inputs": [] + }, + { + "type": "error", + "name": "GasOutsideRangeForPostOp", + "inputs": [] + }, + { + "type": "error", + "name": "GasTooHighForUserOp", + "inputs": [] + }, + { + "type": "error", + "name": "GasTooHighForVerification", + "inputs": [] + }, + { + "type": "error", + "name": "InvalidAmount", + "inputs": [] + }, + { + "type": "error", + "name": "InvalidRegistry", + "inputs": [] + }, + { + "type": "error", + "name": "InvalidTarget", + "inputs": [] + }, + { + "type": "error", + "name": "KintoRateLimitExceeded", + "inputs": [] + }, + { + "type": "error", + "name": "OnlyOwner", + "inputs": [] + }, + { + "type": "error", + "name": "PaymasterAndDataLengthInvalid", + "inputs": [] + }, + { + "type": "error", + "name": "SenderKYCRequired", + "inputs": [] + }, + { + "type": "error", + "name": "TokenDepositLocked", + "inputs": [] + } + ], + "address": "0x1842a4EFf3eFd24c50B63c3CF89cECEe245Fc2bd" + }, + "Counter": { + "abi": [ + { + "type": "constructor", + "inputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "count", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "increment", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + } + ], + "address": "0xdb791AF345A21588957E4e45596411b2Be2BD4cd" + }, + "IBridge": { + "abi": [ + { + "type": "function", + "name": "bridge", + "inputs": [ + { + "name": "receiver_", + "type": "address", + "internalType": "address" + }, + { + "name": "amount_", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "msgGasLimit_", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "connector_", + "type": "address", + "internalType": "address" + }, + { + "name": "execPayload_", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "options_", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "getMinFees", + "inputs": [ + { + "name": "connector_", + "type": "address", + "internalType": "address" + }, + { + "name": "msgGasLimit_", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "payloadSize_", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "totalFees", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "receiveInbound", + "inputs": [ + { + "name": "siblingChainSlug_", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "payload_", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "retry", + "inputs": [ + { + "name": "connector_", + "type": "address", + "internalType": "address" + }, + { + "name": "messageId_", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + } + ] + }, + "IConnector": { + "abi": [ + { + "type": "function", + "name": "getMessageId", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getMinFees", + "inputs": [ + { + "name": "msgGasLimit_", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "payloadSize_", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "totalFees", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "outbound", + "inputs": [ + { + "name": "msgGasLimit_", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "payload_", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "options_", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "messageId_", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "siblingChainSlug", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint32", + "internalType": "uint32" + } + ], + "stateMutability": "view" + } + ] + }, + "IController": { + "abi": [ + { + "type": "function", + "name": "connectorCache", + "inputs": [ + { + "name": "connector_", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "cache", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "identifierCache", + "inputs": [ + { + "name": "messageId_", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "cache", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "payable" + } + ] + }, + "IHook": { + "abi": [ + { + "type": "function", + "name": "dstPostHookCall", + "inputs": [ + { + "name": "params_", + "type": "tuple", + "internalType": "struct DstPostHookCallParams", + "components": [ + { + "name": "connector", + "type": "address", + "internalType": "address" + }, + { + "name": "messageId", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "connectorCache", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "postHookData", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "transferInfo", + "type": "tuple", + "internalType": "struct TransferInfo", + "components": [ + { + "name": "receiver", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ] + } + ] + } + ], + "outputs": [ + { + "name": "cacheData", + "type": "tuple", + "internalType": "struct CacheData", + "components": [ + { + "name": "identifierCache", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "connectorCache", + "type": "bytes", + "internalType": "bytes" + } + ] + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "dstPreHookCall", + "inputs": [ + { + "name": "params_", + "type": "tuple", + "internalType": "struct DstPreHookCallParams", + "components": [ + { + "name": "connector", + "type": "address", + "internalType": "address" + }, + { + "name": "connectorCache", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "transferInfo", + "type": "tuple", + "internalType": "struct TransferInfo", + "components": [ + { + "name": "receiver", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ] + } + ] + } + ], + "outputs": [ + { + "name": "postHookData", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "transferInfo", + "type": "tuple", + "internalType": "struct TransferInfo", + "components": [ + { + "name": "receiver", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ] + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "postRetryHook", + "inputs": [ + { + "name": "params_", + "type": "tuple", + "internalType": "struct PostRetryHookCallParams", + "components": [ + { + "name": "connector", + "type": "address", + "internalType": "address" + }, + { + "name": "messageId", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "postRetryHookData", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "cacheData", + "type": "tuple", + "internalType": "struct CacheData", + "components": [ + { + "name": "identifierCache", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "connectorCache", + "type": "bytes", + "internalType": "bytes" + } + ] + } + ] + } + ], + "outputs": [ + { + "name": "cacheData", + "type": "tuple", + "internalType": "struct CacheData", + "components": [ + { + "name": "identifierCache", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "connectorCache", + "type": "bytes", + "internalType": "bytes" + } + ] + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "preRetryHook", + "inputs": [ + { + "name": "params_", + "type": "tuple", + "internalType": "struct PreRetryHookCallParams", + "components": [ + { + "name": "connector", + "type": "address", + "internalType": "address" + }, + { + "name": "cacheData", + "type": "tuple", + "internalType": "struct CacheData", + "components": [ + { + "name": "identifierCache", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "connectorCache", + "type": "bytes", + "internalType": "bytes" + } + ] + } + ] + } + ], + "outputs": [ + { + "name": "postRetryHookData", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "transferInfo", + "type": "tuple", + "internalType": "struct TransferInfo", + "components": [ + { + "name": "receiver", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ] + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "srcPostHookCall", + "inputs": [ + { + "name": "params_", + "type": "tuple", + "internalType": "struct SrcPostHookCallParams", + "components": [ + { + "name": "connector", + "type": "address", + "internalType": "address" + }, + { + "name": "options", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "postSrcHookData", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "transferInfo", + "type": "tuple", + "internalType": "struct TransferInfo", + "components": [ + { + "name": "receiver", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ] + } + ] + } + ], + "outputs": [ + { + "name": "transferInfo", + "type": "tuple", + "internalType": "struct TransferInfo", + "components": [ + { + "name": "receiver", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ] + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "srcPreHookCall", + "inputs": [ + { + "name": "params_", + "type": "tuple", + "internalType": "struct SrcPreHookCallParams", + "components": [ + { + "name": "connector", + "type": "address", + "internalType": "address" + }, + { + "name": "msgSender", + "type": "address", + "internalType": "address" + }, + { + "name": "transferInfo", + "type": "tuple", + "internalType": "struct TransferInfo", + "components": [ + { + "name": "receiver", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ] + } + ] + } + ], + "outputs": [ + { + "name": "transferInfo", + "type": "tuple", + "internalType": "struct TransferInfo", + "components": [ + { + "name": "receiver", + "type": "address", + "internalType": "address" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ] + }, + { + "name": "postSrcHookData", + "type": "bytes", + "internalType": "bytes" + } + ], + "stateMutability": "nonpayable" + } + ] + }, + "ISocket": { + "abi": [ + { + "type": "function", + "name": "chainSlug", + "inputs": [], + "outputs": [ + { + "name": "chainSlug", + "type": "uint32", + "internalType": "uint32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "connect", + "inputs": [ + { + "name": "siblingChainSlug_", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "siblingPlug_", + "type": "address", + "internalType": "address" + }, + { + "name": "inboundSwitchboard_", + "type": "address", + "internalType": "address" + }, + { + "name": "outboundSwitchboard_", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "execute", + "inputs": [ + { + "name": "executionDetails_", + "type": "tuple", + "internalType": "struct ISocket.ExecutionDetails", + "components": [ + { + "name": "packetId", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "proposalCount", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "executionGasLimit", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "decapacitorProof", + "type": "bytes", + "internalType": "bytes" + }, + { + "name": "signature", + "type": "bytes", + "internalType": "bytes" + } + ] + }, + { + "name": "messageDetails_", + "type": "tuple", + "internalType": "struct ISocket.MessageDetails", + "components": [ + { + "name": "msgId", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "executionFee", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "minMsgGasLimit", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "executionParams", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "payload", + "type": "bytes", + "internalType": "bytes" + } + ] + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "getMinFees", + "inputs": [ + { + "name": "minMsgGasLimit_", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "payloadSize_", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "executionParams_", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "transmissionParams_", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "remoteChainSlug_", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "plug_", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "totalFees", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getPlugConfig", + "inputs": [ + { + "name": "plugAddress_", + "type": "address", + "internalType": "address" + }, + { + "name": "siblingChainSlug_", + "type": "uint32", + "internalType": "uint32" + } + ], + "outputs": [ + { + "name": "siblingPlug", + "type": "address", + "internalType": "address" + }, + { + "name": "inboundSwitchboard__", + "type": "address", + "internalType": "address" + }, + { + "name": "outboundSwitchboard__", + "type": "address", + "internalType": "address" + }, + { + "name": "capacitor__", + "type": "address", + "internalType": "address" + }, + { + "name": "decapacitor__", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "globalMessageCount", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "uint64", + "internalType": "uint64" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "outbound", + "inputs": [ + { + "name": "remoteChainSlug_", + "type": "uint32", + "internalType": "uint32" + }, + { + "name": "minMsgGasLimit_", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "executionParams_", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "transmissionParams_", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "payload_", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [ + { + "name": "msgId", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "payable" + }, + { + "type": "event", + "name": "ExecutionSuccess", + "inputs": [ + { + "name": "msgId", + "type": "bytes32", + "indexed": false, + "internalType": "bytes32" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "MessageOutbound", + "inputs": [ + { + "name": "localChainSlug", + "type": "uint32", + "indexed": false, + "internalType": "uint32" + }, + { + "name": "localPlug", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "dstChainSlug", + "type": "uint32", + "indexed": false, + "internalType": "uint32" + }, + { + "name": "dstPlug", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "msgId", + "type": "bytes32", + "indexed": false, + "internalType": "bytes32" + }, + { + "name": "minMsgGasLimit", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "executionParams", + "type": "bytes32", + "indexed": false, + "internalType": "bytes32" + }, + { + "name": "transmissionParams", + "type": "bytes32", + "indexed": false, + "internalType": "bytes32" + }, + { + "name": "payload", + "type": "bytes", + "indexed": false, + "internalType": "bytes" + }, + { + "name": "fees", + "type": "tuple", + "indexed": false, + "internalType": "struct ISocket.Fees", + "components": [ + { + "name": "transmissionFees", + "type": "uint128", + "internalType": "uint128" + }, + { + "name": "executionFee", + "type": "uint128", + "internalType": "uint128" + }, + { + "name": "switchboardFees", + "type": "uint128", + "internalType": "uint128" + } + ] + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "PlugConnected", + "inputs": [ + { + "name": "plug", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "siblingChainSlug", + "type": "uint32", + "indexed": false, + "internalType": "uint32" + }, + { + "name": "siblingPlug", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "inboundSwitchboard", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "outboundSwitchboard", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "capacitor", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "decapacitor", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + } + ] + }, + "EngenBadges": { + "abi": [ + { + "type": "function", + "name": "DEFAULT_ADMIN_ROLE", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "MINTER_ROLE", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "UPGRADER_ROLE", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "balanceOf", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + }, + { + "name": "id", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "balanceOfBatch", + "inputs": [ + { + "name": "accounts", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "ids", + "type": "uint256[]", + "internalType": "uint256[]" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256[]", + "internalType": "uint256[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "burnBadgesBatch", + "inputs": [ + { + "name": "accounts", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "ids", + "type": "uint256[][]", + "internalType": "uint256[][]" + }, + { + "name": "amounts", + "type": "uint256[][]", + "internalType": "uint256[][]" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "getAllBadges", + "inputs": [ + { + "name": "wallet", + "type": "address", + "internalType": "address" + }, + { + "name": "upToId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "uint256[]", + "internalType": "uint256[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getRoleAdmin", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "grantRole", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "hasRole", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "initialize", + "inputs": [ + { + "name": "uri", + "type": "string", + "internalType": "string" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "isApprovedForAll", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + }, + { + "name": "operator", + "type": "address", + "internalType": "address" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "mintBadges", + "inputs": [ + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "ids", + "type": "uint256[]", + "internalType": "uint256[]" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "mintBadgesBatch", + "inputs": [ + { + "name": "recipients", + "type": "address[]", + "internalType": "address[]" + }, + { + "name": "ids", + "type": "uint256[][]", + "internalType": "uint256[][]" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "name", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "owner", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "address", + "internalType": "address" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "proxiableUUID", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "renounceOwnership", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "renounceRole", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "revokeRole", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "account", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "safeBatchTransferFrom", + "inputs": [ + { + "name": "from", + "type": "address", + "internalType": "address" + }, + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "ids", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "amounts", + "type": "uint256[]", + "internalType": "uint256[]" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "safeTransferFrom", + "inputs": [ + { + "name": "from", + "type": "address", + "internalType": "address" + }, + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "id", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "setApprovalForAll", + "inputs": [ + { + "name": "operator", + "type": "address", + "internalType": "address" + }, + { + "name": "approved", + "type": "bool", + "internalType": "bool" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "supportsInterface", + "inputs": [ + { + "name": "interfaceId", + "type": "bytes4", + "internalType": "bytes4" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "symbol", + "inputs": [], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "transferOwnership", + "inputs": [ + { + "name": "newOwner", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "upgradeTo", + "inputs": [ + { + "name": "newImplementation", + "type": "address", + "internalType": "address" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "upgradeToAndCall", + "inputs": [ + { + "name": "newImplementation", + "type": "address", + "internalType": "address" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" + } + ], + "outputs": [], + "stateMutability": "payable" + }, + { + "type": "function", + "name": "uri", + "inputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "view" + }, + { + "type": "event", + "name": "AdminChanged", + "inputs": [ + { + "name": "previousAdmin", + "type": "address", + "indexed": false, + "internalType": "address" + }, + { + "name": "newAdmin", + "type": "address", + "indexed": false, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "ApprovalForAll", + "inputs": [ + { + "name": "account", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "operator", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "approved", + "type": "bool", + "indexed": false, + "internalType": "bool" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "BeaconUpgraded", + "inputs": [ + { + "name": "beacon", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "Initialized", + "inputs": [ + { + "name": "version", + "type": "uint8", + "indexed": false, + "internalType": "uint8" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "OwnershipTransferred", + "inputs": [ + { + "name": "previousOwner", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "newOwner", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "RoleAdminChanged", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + }, + { + "name": "previousAdminRole", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + }, + { + "name": "newAdminRole", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "RoleGranted", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + }, + { + "name": "account", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "sender", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "RoleRevoked", + "inputs": [ + { + "name": "role", + "type": "bytes32", + "indexed": true, + "internalType": "bytes32" + }, + { + "name": "account", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "sender", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "event", + "name": "TransferBatch", + "inputs": [ + { + "name": "operator", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "from", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "to", + "type": "address", + "indexed": true, + "internalType": "address" + }, + { + "name": "ids", + "type": "uint256[]", + "indexed": false, + "internalType": "uint256[]" + }, + { + "name": "values", + "type": "uint256[]", + "indexed": false, + "internalType": "uint256[]" } ], - "stateMutability": "view" + "anonymous": false }, { - "type": "function", - "name": "connect", + "type": "event", + "name": "TransferSingle", "inputs": [ { - "name": "siblingChainSlug_", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "siblingPlug_", + "name": "operator", "type": "address", + "indexed": true, "internalType": "address" }, { - "name": "inboundSwitchboard_", + "name": "from", "type": "address", + "indexed": true, "internalType": "address" }, { - "name": "outboundSwitchboard_", + "name": "to", "type": "address", + "indexed": true, "internalType": "address" + }, + { + "name": "id", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "value", + "type": "uint256", + "indexed": false, + "internalType": "uint256" } ], - "outputs": [], - "stateMutability": "nonpayable" + "anonymous": false }, { - "type": "function", - "name": "execute", + "type": "event", + "name": "URI", "inputs": [ { - "name": "executionDetails_", - "type": "tuple", - "internalType": "struct ISocket.ExecutionDetails", - "components": [ - { - "name": "packetId", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "proposalCount", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "executionGasLimit", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "decapacitorProof", - "type": "bytes", - "internalType": "bytes" - }, - { - "name": "signature", - "type": "bytes", - "internalType": "bytes" - } - ] + "name": "value", + "type": "string", + "indexed": false, + "internalType": "string" }, { - "name": "messageDetails_", - "type": "tuple", - "internalType": "struct ISocket.MessageDetails", - "components": [ - { - "name": "msgId", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "executionFee", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "minMsgGasLimit", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "executionParams", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "payload", - "type": "bytes", - "internalType": "bytes" - } - ] + "name": "id", + "type": "uint256", + "indexed": true, + "internalType": "uint256" } ], - "outputs": [], - "stateMutability": "payable" + "anonymous": false }, { - "type": "function", - "name": "getMinFees", + "type": "event", + "name": "Upgraded", "inputs": [ { - "name": "minMsgGasLimit_", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "payloadSize_", - "type": "uint256", - "internalType": "uint256" - }, + "name": "implementation", + "type": "address", + "indexed": true, + "internalType": "address" + } + ], + "anonymous": false + }, + { + "type": "error", + "name": "BurnTooManyAddresses", + "inputs": [] + }, + { + "type": "error", + "name": "MintToManyAddresses", + "inputs": [] + }, + { + "type": "error", + "name": "MismatchedInputLengths", + "inputs": [] + }, + { + "type": "error", + "name": "NoTokenIDsProvided", + "inputs": [] + } + ], + "address": "0x1d950eA52e436854b8d343134863B21454499025" + }, + "EngenCredits": { + "abi": [ + { + "type": "constructor", + "inputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "CLOCK_MODE", + "inputs": [], + "outputs": [ { - "name": "executionParams_", - "type": "bytes32", - "internalType": "bytes32" - }, + "name": "", + "type": "string", + "internalType": "string" + } + ], + "stateMutability": "pure" + }, + { + "type": "function", + "name": "DOMAIN_SEPARATOR", + "inputs": [], + "outputs": [ { - "name": "transmissionParams_", + "name": "", "type": "bytes32", "internalType": "bytes32" - }, + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "allowance", + "inputs": [ { - "name": "remoteChainSlug_", - "type": "uint32", - "internalType": "uint32" + "name": "owner", + "type": "address", + "internalType": "address" }, { - "name": "plug_", + "name": "spender", "type": "address", "internalType": "address" } ], "outputs": [ { - "name": "totalFees", + "name": "", "type": "uint256", "internalType": "uint256" } @@ -9234,292 +13446,225 @@ }, { "type": "function", - "name": "getPlugConfig", + "name": "approve", "inputs": [ { - "name": "plugAddress_", + "name": "spender", "type": "address", "internalType": "address" }, { - "name": "siblingChainSlug_", - "type": "uint32", - "internalType": "uint32" + "name": "amount", + "type": "uint256", + "internalType": "uint256" } ], "outputs": [ { - "name": "siblingPlug", - "type": "address", - "internalType": "address" - }, + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "balanceOf", + "inputs": [ { - "name": "inboundSwitchboard__", + "name": "account", "type": "address", "internalType": "address" - }, + } + ], + "outputs": [ { - "name": "outboundSwitchboard__", - "type": "address", - "internalType": "address" - }, + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "burn", + "inputs": [ + { + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "burnFrom", + "inputs": [ { - "name": "capacitor__", + "name": "account", "type": "address", "internalType": "address" }, { - "name": "decapacitor__", - "type": "address", - "internalType": "address" + "name": "amount", + "type": "uint256", + "internalType": "uint256" } ], - "stateMutability": "view" + "outputs": [], + "stateMutability": "nonpayable" }, { "type": "function", - "name": "globalMessageCount", + "name": "burnsEnabled", "inputs": [], "outputs": [ { "name": "", - "type": "uint64", - "internalType": "uint64" + "type": "bool", + "internalType": "bool" } ], "stateMutability": "view" }, { "type": "function", - "name": "outbound", - "inputs": [ - { - "name": "remoteChainSlug_", - "type": "uint32", - "internalType": "uint32" - }, - { - "name": "minMsgGasLimit_", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "executionParams_", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "transmissionParams_", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "payload_", - "type": "bytes", - "internalType": "bytes" - } - ], + "name": "clock", + "inputs": [], "outputs": [ { - "name": "msgId", - "type": "bytes32", - "internalType": "bytes32" + "name": "", + "type": "uint48", + "internalType": "uint48" } ], - "stateMutability": "payable" + "stateMutability": "view" }, { - "type": "event", - "name": "ExecutionSuccess", - "inputs": [ + "type": "function", + "name": "decimals", + "inputs": [], + "outputs": [ { - "name": "msgId", - "type": "bytes32", - "indexed": false, - "internalType": "bytes32" + "name": "", + "type": "uint8", + "internalType": "uint8" } ], - "anonymous": false + "stateMutability": "view" }, { - "type": "event", - "name": "MessageOutbound", + "type": "function", + "name": "decreaseAllowance", "inputs": [ { - "name": "localChainSlug", - "type": "uint32", - "indexed": false, - "internalType": "uint32" - }, - { - "name": "localPlug", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "dstChainSlug", - "type": "uint32", - "indexed": false, - "internalType": "uint32" - }, - { - "name": "dstPlug", + "name": "spender", "type": "address", - "indexed": false, "internalType": "address" }, { - "name": "msgId", - "type": "bytes32", - "indexed": false, - "internalType": "bytes32" - }, - { - "name": "minMsgGasLimit", + "name": "subtractedValue", "type": "uint256", - "indexed": false, "internalType": "uint256" - }, - { - "name": "executionParams", - "type": "bytes32", - "indexed": false, - "internalType": "bytes32" - }, - { - "name": "transmissionParams", - "type": "bytes32", - "indexed": false, - "internalType": "bytes32" - }, - { - "name": "payload", - "type": "bytes", - "indexed": false, - "internalType": "bytes" - }, + } + ], + "outputs": [ { - "name": "fees", - "type": "tuple", - "indexed": false, - "internalType": "struct ISocket.Fees", - "components": [ - { - "name": "transmissionFees", - "type": "uint128", - "internalType": "uint128" - }, - { - "name": "executionFee", - "type": "uint128", - "internalType": "uint128" - }, - { - "name": "switchboardFees", - "type": "uint128", - "internalType": "uint128" - } - ] + "name": "", + "type": "bool", + "internalType": "bool" } ], - "anonymous": false + "stateMutability": "nonpayable" }, { - "type": "event", - "name": "PlugConnected", + "type": "function", + "name": "earnedCredits", "inputs": [ { - "name": "plug", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "siblingChainSlug", - "type": "uint32", - "indexed": false, - "internalType": "uint32" - }, - { - "name": "siblingPlug", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "inboundSwitchboard", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "outboundSwitchboard", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "capacitor", - "type": "address", - "indexed": false, - "internalType": "address" - }, - { - "name": "decapacitor", + "name": "", "type": "address", - "indexed": false, "internalType": "address" } ], - "anonymous": false - } - ] - }, - "EngenBadges": { - "abi": [ - { - "type": "function", - "name": "DEFAULT_ADMIN_ROLE", - "inputs": [], "outputs": [ { "name": "", - "type": "bytes32", - "internalType": "bytes32" + "type": "uint256", + "internalType": "uint256" } ], "stateMutability": "view" }, { "type": "function", - "name": "MINTER_ROLE", + "name": "eip712Domain", "inputs": [], "outputs": [ { - "name": "", + "name": "fields", + "type": "bytes1", + "internalType": "bytes1" + }, + { + "name": "name", + "type": "string", + "internalType": "string" + }, + { + "name": "version", + "type": "string", + "internalType": "string" + }, + { + "name": "chainId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "verifyingContract", + "type": "address", + "internalType": "address" + }, + { + "name": "salt", "type": "bytes32", "internalType": "bytes32" + }, + { + "name": "extensions", + "type": "uint256[]", + "internalType": "uint256[]" } ], "stateMutability": "view" }, { "type": "function", - "name": "UPGRADER_ROLE", - "inputs": [], + "name": "getPastTotalSupply", + "inputs": [ + { + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], "outputs": [ { "name": "", - "type": "bytes32", - "internalType": "bytes32" + "type": "uint256", + "internalType": "uint256" } ], "stateMutability": "view" }, { "type": "function", - "name": "balanceOf", + "name": "getPastVotes", "inputs": [ { "name": "account", @@ -9527,7 +13672,7 @@ "internalType": "address" }, { - "name": "id", + "name": "", "type": "uint256", "internalType": "uint256" } @@ -9543,184 +13688,192 @@ }, { "type": "function", - "name": "balanceOfBatch", + "name": "increaseAllowance", "inputs": [ { - "name": "accounts", - "type": "address[]", - "internalType": "address[]" + "name": "spender", + "type": "address", + "internalType": "address" }, { - "name": "ids", - "type": "uint256[]", - "internalType": "uint256[]" + "name": "addedValue", + "type": "uint256", + "internalType": "uint256" } ], "outputs": [ { "name": "", - "type": "uint256[]", - "internalType": "uint256[]" + "type": "bool", + "internalType": "bool" } ], - "stateMutability": "view" + "stateMutability": "nonpayable" }, { "type": "function", - "name": "burnBadgesBatch", - "inputs": [ - { - "name": "accounts", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "ids", - "type": "uint256[][]", - "internalType": "uint256[][]" - }, - { - "name": "amounts", - "type": "uint256[][]", - "internalType": "uint256[][]" - } - ], + "name": "initialize", + "inputs": [], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", - "name": "getAllBadges", + "name": "mint", "inputs": [ { - "name": "wallet", + "name": "to", "type": "address", "internalType": "address" }, { - "name": "upToId", + "name": "amount", "type": "uint256", "internalType": "uint256" } ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "mintCredits", + "inputs": [], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "name", + "inputs": [], "outputs": [ { "name": "", - "type": "uint256[]", - "internalType": "uint256[]" + "type": "string", + "internalType": "string" } ], "stateMutability": "view" }, { "type": "function", - "name": "getRoleAdmin", + "name": "nonces", "inputs": [ { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" + "name": "owner", + "type": "address", + "internalType": "address" } ], "outputs": [ { "name": "", - "type": "bytes32", - "internalType": "bytes32" + "type": "uint256", + "internalType": "uint256" } ], "stateMutability": "view" }, { "type": "function", - "name": "grantRole", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" - }, + "name": "owner", + "inputs": [], + "outputs": [ { - "name": "account", + "name": "", "type": "address", "internalType": "address" } ], - "outputs": [], - "stateMutability": "nonpayable" + "stateMutability": "view" }, { "type": "function", - "name": "hasRole", + "name": "permit", "inputs": [ { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" + "name": "owner", + "type": "address", + "internalType": "address" }, { - "name": "account", + "name": "spender", "type": "address", "internalType": "address" + }, + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "deadline", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "v", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "r", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "s", + "type": "bytes32", + "internalType": "bytes32" } ], + "outputs": [], + "stateMutability": "nonpayable" + }, + { + "type": "function", + "name": "proxiableUUID", + "inputs": [], "outputs": [ { "name": "", - "type": "bool", - "internalType": "bool" + "type": "bytes32", + "internalType": "bytes32" } ], "stateMutability": "view" }, { "type": "function", - "name": "initialize", - "inputs": [ - { - "name": "uri", - "type": "string", - "internalType": "string" - } - ], + "name": "renounceOwnership", + "inputs": [], "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", - "name": "isApprovedForAll", + "name": "setBurnsEnabled", "inputs": [ { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "operator", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", + "name": "_burnsEnabled", "type": "bool", "internalType": "bool" } ], - "stateMutability": "view" + "outputs": [], + "stateMutability": "nonpayable" }, { "type": "function", - "name": "mintBadges", + "name": "setCredits", "inputs": [ { - "name": "to", - "type": "address", - "internalType": "address" + "name": "_wallets", + "type": "address[]", + "internalType": "address[]" }, { - "name": "ids", + "name": "_points", "type": "uint256[]", "internalType": "uint256[]" } @@ -9730,17 +13883,12 @@ }, { "type": "function", - "name": "mintBadgesBatch", + "name": "setTransfersEnabled", "inputs": [ { - "name": "recipients", - "type": "address[]", - "internalType": "address[]" - }, - { - "name": "ids", - "type": "uint256[][]", - "internalType": "uint256[][]" + "name": "_transfersEnabled", + "type": "bool", + "internalType": "bool" } ], "outputs": [], @@ -9748,122 +13896,70 @@ }, { "type": "function", - "name": "name", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "owner", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "address", - "internalType": "address" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "proxiableUUID", + "name": "symbol", "inputs": [], "outputs": [ { "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "renounceOwnership", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "renounceRole", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "account", - "type": "address", - "internalType": "address" + "type": "string", + "internalType": "string" } ], - "outputs": [], - "stateMutability": "nonpayable" + "stateMutability": "view" }, { "type": "function", - "name": "revokeRole", - "inputs": [ + "name": "totalCredits", + "inputs": [], + "outputs": [ { - "name": "role", - "type": "bytes32", - "internalType": "bytes32" - }, + "name": "", + "type": "uint256", + "internalType": "uint256" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "totalSupply", + "inputs": [], + "outputs": [ { - "name": "account", - "type": "address", - "internalType": "address" + "name": "", + "type": "uint256", + "internalType": "uint256" } ], - "outputs": [], - "stateMutability": "nonpayable" + "stateMutability": "view" }, { "type": "function", - "name": "safeBatchTransferFrom", + "name": "transfer", "inputs": [ - { - "name": "from", - "type": "address", - "internalType": "address" - }, { "name": "to", "type": "address", "internalType": "address" }, { - "name": "ids", - "type": "uint256[]", - "internalType": "uint256[]" - }, - { - "name": "amounts", - "type": "uint256[]", - "internalType": "uint256[]" - }, + "name": "amount", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ { - "name": "data", - "type": "bytes", - "internalType": "bytes" + "name": "", + "type": "bool", + "internalType": "bool" } ], - "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", - "name": "safeTransferFrom", + "name": "transferFrom", "inputs": [ { "name": "from", @@ -9875,38 +13971,29 @@ "type": "address", "internalType": "address" }, - { - "name": "id", - "type": "uint256", - "internalType": "uint256" - }, { "name": "amount", "type": "uint256", "internalType": "uint256" - }, + } + ], + "outputs": [ { - "name": "data", - "type": "bytes", - "internalType": "bytes" + "name": "", + "type": "bool", + "internalType": "bool" } ], - "outputs": [], "stateMutability": "nonpayable" }, { "type": "function", - "name": "setApprovalForAll", + "name": "transferOwnership", "inputs": [ { - "name": "operator", + "name": "newOwner", "type": "address", "internalType": "address" - }, - { - "name": "approved", - "type": "bool", - "internalType": "bool" } ], "outputs": [], @@ -9914,14 +14001,8 @@ }, { "type": "function", - "name": "supportsInterface", - "inputs": [ - { - "name": "interfaceId", - "type": "bytes4", - "internalType": "bytes4" - } - ], + "name": "transfersEnabled", + "inputs": [], "outputs": [ { "name": "", @@ -9931,32 +14012,6 @@ ], "stateMutability": "view" }, - { - "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "transferOwnership", - "inputs": [ - { - "name": "newOwner", - "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, { "type": "function", "name": "upgradeTo", @@ -9988,25 +14043,6 @@ "outputs": [], "stateMutability": "payable" }, - { - "type": "function", - "name": "uri", - "inputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [ - { - "name": "", - "type": "string", - "internalType": "string" - } - ], - "stateMutability": "view" - }, { "type": "event", "name": "AdminChanged", @@ -10028,25 +14064,25 @@ }, { "type": "event", - "name": "ApprovalForAll", + "name": "Approval", "inputs": [ { - "name": "account", + "name": "owner", "type": "address", "indexed": true, "internalType": "address" }, { - "name": "operator", + "name": "spender", "type": "address", "indexed": true, "internalType": "address" }, { - "name": "approved", - "type": "bool", + "name": "value", + "type": "uint256", "indexed": false, - "internalType": "bool" + "internalType": "uint256" } ], "anonymous": false @@ -10066,158 +14102,46 @@ }, { "type": "event", - "name": "Initialized", - "inputs": [ - { - "name": "version", - "type": "uint8", - "indexed": false, - "internalType": "uint8" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "OwnershipTransferred", - "inputs": [ - { - "name": "previousOwner", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "newOwner", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "RoleAdminChanged", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - }, - { - "name": "previousAdminRole", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - }, - { - "name": "newAdminRole", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - } - ], - "anonymous": false - }, - { - "type": "event", - "name": "RoleGranted", - "inputs": [ - { - "name": "role", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - }, - { - "name": "account", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "sender", - "type": "address", - "indexed": true, - "internalType": "address" - } - ], + "name": "EIP712DomainChanged", + "inputs": [], "anonymous": false }, { "type": "event", - "name": "RoleRevoked", + "name": "Initialized", "inputs": [ { - "name": "role", - "type": "bytes32", - "indexed": true, - "internalType": "bytes32" - }, - { - "name": "account", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "sender", - "type": "address", - "indexed": true, - "internalType": "address" + "name": "version", + "type": "uint8", + "indexed": false, + "internalType": "uint8" } ], "anonymous": false }, { "type": "event", - "name": "TransferBatch", + "name": "OwnershipTransferred", "inputs": [ { - "name": "operator", - "type": "address", - "indexed": true, - "internalType": "address" - }, - { - "name": "from", + "name": "previousOwner", "type": "address", "indexed": true, "internalType": "address" }, { - "name": "to", + "name": "newOwner", "type": "address", "indexed": true, "internalType": "address" - }, - { - "name": "ids", - "type": "uint256[]", - "indexed": false, - "internalType": "uint256[]" - }, - { - "name": "values", - "type": "uint256[]", - "indexed": false, - "internalType": "uint256[]" } ], "anonymous": false }, { "type": "event", - "name": "TransferSingle", + "name": "Transfer", "inputs": [ - { - "name": "operator", - "type": "address", - "indexed": true, - "internalType": "address" - }, { "name": "from", "type": "address", @@ -10230,12 +14154,6 @@ "indexed": true, "internalType": "address" }, - { - "name": "id", - "type": "uint256", - "indexed": false, - "internalType": "uint256" - }, { "name": "value", "type": "uint256", @@ -10245,25 +14163,6 @@ ], "anonymous": false }, - { - "type": "event", - "name": "URI", - "inputs": [ - { - "name": "value", - "type": "string", - "indexed": false, - "internalType": "string" - }, - { - "name": "id", - "type": "uint256", - "indexed": true, - "internalType": "uint256" - } - ], - "anonymous": false - }, { "type": "event", "name": "Upgraded", @@ -10279,32 +14178,48 @@ }, { "type": "error", - "name": "BurnTooManyAddresses", + "name": "BurnsAlreadyEnabled", "inputs": [] }, { "type": "error", - "name": "MintToManyAddresses", + "name": "LengthMismatch", "inputs": [] }, { "type": "error", - "name": "MismatchedInputLengths", + "name": "MintNotAllowed", "inputs": [] }, { "type": "error", - "name": "NoTokenIDsProvided", + "name": "NoTokensToMint", + "inputs": [] + }, + { + "type": "error", + "name": "TransfersAlreadyEnabled", + "inputs": [] + }, + { + "type": "error", + "name": "TransfersNotEnabled", "inputs": [] } ], - "address": "0x1d950eA52e436854b8d343134863B21454499025" + "address": "0xD1295F0d8789c3E0931A04F91049dB33549E9C8F" }, - "EngenCredits": { + "NioGuardians": { "abi": [ { "type": "constructor", - "inputs": [], + "inputs": [ + { + "name": "initialOwner", + "type": "address", + "internalType": "address" + } + ], "stateMutability": "nonpayable" }, { @@ -10320,65 +14235,22 @@ ], "stateMutability": "pure" }, - { - "type": "function", - "name": "DOMAIN_SEPARATOR", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bytes32", - "internalType": "bytes32" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "allowance", - "inputs": [ - { - "name": "owner", - "type": "address", - "internalType": "address" - }, - { - "name": "spender", - "type": "address", - "internalType": "address" - } - ], - "outputs": [ - { - "name": "", - "type": "uint256", - "internalType": "uint256" - } - ], - "stateMutability": "view" - }, { "type": "function", "name": "approve", "inputs": [ { - "name": "spender", + "name": "to", "type": "address", "internalType": "address" }, { - "name": "amount", + "name": "tokenId", "type": "uint256", "internalType": "uint256" } ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], + "outputs": [], "stateMutability": "nonpayable" }, { @@ -10386,7 +14258,7 @@ "name": "balanceOf", "inputs": [ { - "name": "account", + "name": "owner", "type": "address", "internalType": "address" } @@ -10405,25 +14277,7 @@ "name": "burn", "inputs": [ { - "name": "amount", - "type": "uint256", - "internalType": "uint256" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "burnFrom", - "inputs": [ - { - "name": "account", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", + "name": "tokenId", "type": "uint256", "internalType": "uint256" } @@ -10431,19 +14285,6 @@ "outputs": [], "stateMutability": "nonpayable" }, - { - "type": "function", - "name": "burnsEnabled", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, { "type": "function", "name": "clock", @@ -10459,47 +14300,61 @@ }, { "type": "function", - "name": "decimals", - "inputs": [], - "outputs": [ + "name": "delegate", + "inputs": [ { "name": "", - "type": "uint8", - "internalType": "uint8" + "type": "address", + "internalType": "address" } ], - "stateMutability": "view" + "outputs": [], + "stateMutability": "pure" }, { "type": "function", - "name": "decreaseAllowance", + "name": "delegateBySig", "inputs": [ { - "name": "spender", + "name": "", "type": "address", "internalType": "address" }, { - "name": "subtractedValue", + "name": "", "type": "uint256", "internalType": "uint256" - } - ], - "outputs": [ + }, { "name": "", - "type": "bool", - "internalType": "bool" + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "", + "type": "bytes32", + "internalType": "bytes32" } ], - "stateMutability": "nonpayable" + "outputs": [], + "stateMutability": "pure" }, { "type": "function", - "name": "earnedCredits", + "name": "delegates", "inputs": [ { - "name": "", + "name": "account", "type": "address", "internalType": "address" } @@ -10507,8 +14362,8 @@ "outputs": [ { "name": "", - "type": "uint256", - "internalType": "uint256" + "type": "address", + "internalType": "address" } ], "stateMutability": "view" @@ -10534,24 +14389,62 @@ "internalType": "string" }, { - "name": "chainId", + "name": "chainId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "verifyingContract", + "type": "address", + "internalType": "address" + }, + { + "name": "salt", + "type": "bytes32", + "internalType": "bytes32" + }, + { + "name": "extensions", + "type": "uint256[]", + "internalType": "uint256[]" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "exists", + "inputs": [ + { + "name": "tokenId", + "type": "uint256", + "internalType": "uint256" + } + ], + "outputs": [ + { + "name": "", + "type": "bool", + "internalType": "bool" + } + ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "getApproved", + "inputs": [ + { + "name": "tokenId", "type": "uint256", "internalType": "uint256" - }, + } + ], + "outputs": [ { - "name": "verifyingContract", + "name": "", "type": "address", "internalType": "address" - }, - { - "name": "salt", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "extensions", - "type": "uint256[]", - "internalType": "uint256[]" } ], "stateMutability": "view" @@ -10561,7 +14454,7 @@ "name": "getPastTotalSupply", "inputs": [ { - "name": "", + "name": "timepoint", "type": "uint256", "internalType": "uint256" } @@ -10585,7 +14478,7 @@ "internalType": "address" }, { - "name": "", + "name": "timepoint", "type": "uint256", "internalType": "uint256" } @@ -10601,19 +14494,38 @@ }, { "type": "function", - "name": "increaseAllowance", + "name": "getVotes", "inputs": [ { - "name": "spender", + "name": "account", "type": "address", "internalType": "address" - }, + } + ], + "outputs": [ { - "name": "addedValue", + "name": "", "type": "uint256", "internalType": "uint256" } ], + "stateMutability": "view" + }, + { + "type": "function", + "name": "isApprovedForAll", + "inputs": [ + { + "name": "owner", + "type": "address", + "internalType": "address" + }, + { + "name": "operator", + "type": "address", + "internalType": "address" + } + ], "outputs": [ { "name": "", @@ -10621,14 +14533,7 @@ "internalType": "bool" } ], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "initialize", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" + "stateMutability": "view" }, { "type": "function", @@ -10640,7 +14545,7 @@ "internalType": "address" }, { - "name": "amount", + "name": "tokenId", "type": "uint256", "internalType": "uint256" } @@ -10648,13 +14553,6 @@ "outputs": [], "stateMutability": "nonpayable" }, - { - "type": "function", - "name": "mintCredits", - "inputs": [], - "outputs": [], - "stateMutability": "nonpayable" - }, { "type": "function", "name": "name", @@ -10702,56 +14600,19 @@ }, { "type": "function", - "name": "permit", + "name": "ownerOf", "inputs": [ { - "name": "owner", - "type": "address", - "internalType": "address" - }, - { - "name": "spender", - "type": "address", - "internalType": "address" - }, - { - "name": "value", - "type": "uint256", - "internalType": "uint256" - }, - { - "name": "deadline", + "name": "tokenId", "type": "uint256", "internalType": "uint256" - }, - { - "name": "v", - "type": "uint8", - "internalType": "uint8" - }, - { - "name": "r", - "type": "bytes32", - "internalType": "bytes32" - }, - { - "name": "s", - "type": "bytes32", - "internalType": "bytes32" } ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "proxiableUUID", - "inputs": [], "outputs": [ { "name": "", - "type": "bytes32", - "internalType": "bytes32" + "type": "address", + "internalType": "address" } ], "stateMutability": "view" @@ -10765,12 +14626,22 @@ }, { "type": "function", - "name": "setBurnsEnabled", + "name": "safeTransferFrom", "inputs": [ { - "name": "_burnsEnabled", - "type": "bool", - "internalType": "bool" + "name": "from", + "type": "address", + "internalType": "address" + }, + { + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "tokenId", + "type": "uint256", + "internalType": "uint256" } ], "outputs": [], @@ -10778,17 +14649,27 @@ }, { "type": "function", - "name": "setCredits", + "name": "safeTransferFrom", "inputs": [ { - "name": "_wallets", - "type": "address[]", - "internalType": "address[]" + "name": "from", + "type": "address", + "internalType": "address" }, { - "name": "_points", - "type": "uint256[]", - "internalType": "uint256[]" + "name": "to", + "type": "address", + "internalType": "address" + }, + { + "name": "tokenId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "data", + "type": "bytes", + "internalType": "bytes" } ], "outputs": [], @@ -10796,10 +14677,15 @@ }, { "type": "function", - "name": "setTransfersEnabled", + "name": "setApprovalForAll", "inputs": [ { - "name": "_transfersEnabled", + "name": "operator", + "type": "address", + "internalType": "address" + }, + { + "name": "approved", "type": "bool", "internalType": "bool" } @@ -10809,54 +14695,42 @@ }, { "type": "function", - "name": "symbol", - "inputs": [], - "outputs": [ + "name": "supportsInterface", + "inputs": [ { - "name": "", - "type": "string", - "internalType": "string" + "name": "interfaceId", + "type": "bytes4", + "internalType": "bytes4" } ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "totalCredits", - "inputs": [], "outputs": [ { "name": "", - "type": "uint256", - "internalType": "uint256" + "type": "bool", + "internalType": "bool" } ], "stateMutability": "view" }, { "type": "function", - "name": "totalSupply", + "name": "symbol", "inputs": [], "outputs": [ { "name": "", - "type": "uint256", - "internalType": "uint256" + "type": "string", + "internalType": "string" } ], "stateMutability": "view" }, { "type": "function", - "name": "transfer", + "name": "tokenURI", "inputs": [ { - "name": "to", - "type": "address", - "internalType": "address" - }, - { - "name": "amount", + "name": "tokenId", "type": "uint256", "internalType": "uint256" } @@ -10864,11 +14738,11 @@ "outputs": [ { "name": "", - "type": "bool", - "internalType": "bool" + "type": "string", + "internalType": "string" } ], - "stateMutability": "nonpayable" + "stateMutability": "view" }, { "type": "function", @@ -10885,18 +14759,12 @@ "internalType": "address" }, { - "name": "amount", + "name": "tokenId", "type": "uint256", "internalType": "uint256" } ], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], + "outputs": [], "stateMutability": "nonpayable" }, { @@ -10913,102 +14781,101 @@ "stateMutability": "nonpayable" }, { - "type": "function", - "name": "transfersEnabled", - "inputs": [], - "outputs": [ - { - "name": "", - "type": "bool", - "internalType": "bool" - } - ], - "stateMutability": "view" - }, - { - "type": "function", - "name": "upgradeTo", + "type": "event", + "name": "Approval", "inputs": [ { - "name": "newImplementation", + "name": "owner", "type": "address", - "internalType": "address" - } - ], - "outputs": [], - "stateMutability": "nonpayable" - }, - { - "type": "function", - "name": "upgradeToAndCall", - "inputs": [ + "indexed": true, + "internalType": "address" + }, { - "name": "newImplementation", + "name": "approved", "type": "address", + "indexed": true, "internalType": "address" }, { - "name": "data", - "type": "bytes", - "internalType": "bytes" + "name": "tokenId", + "type": "uint256", + "indexed": true, + "internalType": "uint256" } ], - "outputs": [], - "stateMutability": "payable" + "anonymous": false }, { "type": "event", - "name": "AdminChanged", + "name": "ApprovalForAll", "inputs": [ { - "name": "previousAdmin", + "name": "owner", "type": "address", - "indexed": false, + "indexed": true, "internalType": "address" }, { - "name": "newAdmin", + "name": "operator", "type": "address", - "indexed": false, + "indexed": true, "internalType": "address" + }, + { + "name": "approved", + "type": "bool", + "indexed": false, + "internalType": "bool" } ], "anonymous": false }, { "type": "event", - "name": "Approval", + "name": "DelegateChanged", "inputs": [ { - "name": "owner", + "name": "delegator", "type": "address", "indexed": true, "internalType": "address" }, { - "name": "spender", + "name": "fromDelegate", "type": "address", "indexed": true, "internalType": "address" }, { - "name": "value", - "type": "uint256", - "indexed": false, - "internalType": "uint256" + "name": "toDelegate", + "type": "address", + "indexed": true, + "internalType": "address" } ], "anonymous": false }, { "type": "event", - "name": "BeaconUpgraded", + "name": "DelegateVotesChanged", "inputs": [ { - "name": "beacon", + "name": "delegate", "type": "address", "indexed": true, "internalType": "address" + }, + { + "name": "previousVotes", + "type": "uint256", + "indexed": false, + "internalType": "uint256" + }, + { + "name": "newVotes", + "type": "uint256", + "indexed": false, + "internalType": "uint256" } ], "anonymous": false @@ -11019,19 +14886,6 @@ "inputs": [], "anonymous": false }, - { - "type": "event", - "name": "Initialized", - "inputs": [ - { - "name": "version", - "type": "uint8", - "indexed": false, - "internalType": "uint8" - } - ], - "anonymous": false - }, { "type": "event", "name": "OwnershipTransferred", @@ -11068,59 +14922,236 @@ "internalType": "address" }, { - "name": "value", + "name": "tokenId", "type": "uint256", - "indexed": false, + "indexed": true, "internalType": "uint256" } ], "anonymous": false }, { - "type": "event", - "name": "Upgraded", + "type": "error", + "name": "CheckpointUnorderedInsertion", + "inputs": [] + }, + { + "type": "error", + "name": "ERC5805FutureLookup", "inputs": [ { - "name": "implementation", + "name": "timepoint", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "clock", + "type": "uint48", + "internalType": "uint48" + } + ] + }, + { + "type": "error", + "name": "ERC6372InconsistentClock", + "inputs": [] + }, + { + "type": "error", + "name": "ERC721IncorrectOwner", + "inputs": [ + { + "name": "sender", + "type": "address", + "internalType": "address" + }, + { + "name": "tokenId", + "type": "uint256", + "internalType": "uint256" + }, + { + "name": "owner", "type": "address", - "indexed": true, "internalType": "address" } - ], - "anonymous": false + ] }, { "type": "error", - "name": "BurnsAlreadyEnabled", - "inputs": [] + "name": "ERC721InsufficientApproval", + "inputs": [ + { + "name": "operator", + "type": "address", + "internalType": "address" + }, + { + "name": "tokenId", + "type": "uint256", + "internalType": "uint256" + } + ] }, { "type": "error", - "name": "LengthMismatch", - "inputs": [] + "name": "ERC721InvalidApprover", + "inputs": [ + { + "name": "approver", + "type": "address", + "internalType": "address" + } + ] }, { "type": "error", - "name": "MintNotAllowed", - "inputs": [] + "name": "ERC721InvalidOperator", + "inputs": [ + { + "name": "operator", + "type": "address", + "internalType": "address" + } + ] }, { "type": "error", - "name": "NoTokensToMint", + "name": "ERC721InvalidOwner", + "inputs": [ + { + "name": "owner", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "ERC721InvalidReceiver", + "inputs": [ + { + "name": "receiver", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "ERC721InvalidSender", + "inputs": [ + { + "name": "sender", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "ERC721NonexistentToken", + "inputs": [ + { + "name": "tokenId", + "type": "uint256", + "internalType": "uint256" + } + ] + }, + { + "type": "error", + "name": "InvalidAccountNonce", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + }, + { + "name": "currentNonce", + "type": "uint256", + "internalType": "uint256" + } + ] + }, + { + "type": "error", + "name": "InvalidShortString", "inputs": [] }, { "type": "error", - "name": "TransfersAlreadyEnabled", + "name": "NoDelegate", "inputs": [] }, { "type": "error", - "name": "TransfersNotEnabled", + "name": "OnlyMintOrBurn", "inputs": [] + }, + { + "type": "error", + "name": "OwnableInvalidOwner", + "inputs": [ + { + "name": "owner", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "OwnableUnauthorizedAccount", + "inputs": [ + { + "name": "account", + "type": "address", + "internalType": "address" + } + ] + }, + { + "type": "error", + "name": "SafeCastOverflowedUintDowncast", + "inputs": [ + { + "name": "bits", + "type": "uint8", + "internalType": "uint8" + }, + { + "name": "value", + "type": "uint256", + "internalType": "uint256" + } + ] + }, + { + "type": "error", + "name": "StringTooLong", + "inputs": [ + { + "name": "str", + "type": "string", + "internalType": "string" + } + ] + }, + { + "type": "error", + "name": "VotesExpiredSignature", + "inputs": [ + { + "name": "expiry", + "type": "uint256", + "internalType": "uint256" + } + ] } ], - "address": "0xD1295F0d8789c3E0931A04F91049dB33549E9C8F" + "address": "0x0100005D52Be9ab3ccE0C70Abf6F6FA2C48e91C9" }, "Treasury": { "abi": [ diff --git a/broadcast/144-new_sponsored_contracts.s.sol/7887/run-1731001790.json b/broadcast/144-new_sponsored_contracts.s.sol/7887/run-1731001790.json new file mode 100644 index 00000000..9bd5f61e --- /dev/null +++ b/broadcast/144-new_sponsored_contracts.s.sol/7887/run-1731001790.json @@ -0,0 +1,78 @@ +{ + "transactions": [ + { + "hash": "0xb4dd592aab4feb95268af03027b96184fe66f2ba170420e4ca6cc62eaae77539", + "transactionType": "CALL", + "contractName": null, + "contractAddress": null, + "function": null, + "arguments": null, + "transaction": { + "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", + "to": "0x2843c269d2a64ecfa63548e8b3fc0fd23b7f70cb", + "value": "0x0", + "input": "0x1fad948c0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000660ad4b5a74130a4796b4d54bc6750ae93c86e6c000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000002e2b1c42e38f5af81771e65d87729e57abd1337a0000000000000000000000000000000000000000000000000000000000000e770000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000003d0900000000000000000000000000000000000000000000000000000000000003345000000000000000000000000000000000000000000000000000000000000052080000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000003b9aca000000000000000000000000000000000000000000000000000000000000000440000000000000000000000000000000000000000000000000000000000000048000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000284b61d27f60000000000000000000000005a2b641b84b0230c8e75f55d5afd27f4dbd59d5b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000001e4e2c463160000000000000000000000003e9727470c66b1e77034590926cde0242b5a3dcc0000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000050000000000000000000000006000003a8ed10ef59185adf65fc51c72f975be85000000000000000000000000cbe70061ce17e7469c474af342e063bacb33e5c1000000000000000000000000cbb7c0f98bb7312b821e78ab76312cd3950fbfca0000000000000000000000001100003a4f372b763d98407adad1ac310203d2df0000000000000000000000009e70005da96a71017572258f4d1bba67e0bee2460000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000082981ea9cb36f427ac6defc867d2d5244edc0741216993ad9bb900f72d0cc29eeb6a0feca7cac9050c7f72c166d29ecfb9626f0c1b663ae5ed8cbd9716142e57da1b1f641e3e0da86a9891110b7cafbb597e8ac802f323593a24b8fbe74c93e9280143e67a09eade89870e6b432febeb33ecccde2e118e2f76c57a2338e9612d09241c000000000000000000000000000000000000000000000000000000000000", + "nonce": "0x6028", + "chainId": "0x1ecf" + }, + "additionalContracts": [], + "isFixedGasLimit": false + } + ], + "receipts": [ + { + "status": "0x1", + "cumulativeGasUsed": "0xaaf93", + "logs": [ + { + "address": "0x2843c269d2a64ecfa63548e8b3fc0fd23b7f70cb", + "topics": [ + "0xbb47ee3e183a558b1a2ff0874b079f3fc5478b7454eacf2bfc5af2ff5878f972" + ], + "data": "0x", + "blockHash": "0x89154d89ad9976d56544a5439f843083040920eac9f08b16855ccaf881db5364", + "blockNumber": "0x3d0e9", + "transactionHash": "0xb4dd592aab4feb95268af03027b96184fe66f2ba170420e4ca6cc62eaae77539", + "transactionIndex": "0x1", + "logIndex": "0x0", + "removed": false + }, + { + "address": "0x2843c269d2a64ecfa63548e8b3fc0fd23b7f70cb", + "topics": [ + "0x49628fd1471006c1482da88028e9ce4dbb080b815c9b0344d39e5a8e6ec1419f", + "0x53d6c190cd2f473b0bb4105bac9c893e1ecd460160e9ffcf35b46182c98129e4", + "0x0000000000000000000000002e2b1c42e38f5af81771e65d87729e57abd1337a", + "0x0000000000000000000000000000000000000000000000000000000000000000" + ], + "data": "0x0000000000000000000000000000000000000000000000000000000000000e770000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000009e1c8000000000000000000000000000000000000000000000000000000000009e1c8", + "blockHash": "0x89154d89ad9976d56544a5439f843083040920eac9f08b16855ccaf881db5364", + "blockNumber": "0x3d0e9", + "transactionHash": "0xb4dd592aab4feb95268af03027b96184fe66f2ba170420e4ca6cc62eaae77539", + "transactionIndex": "0x1", + "logIndex": "0x1", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000008000000000000000000010000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000100000000000800000000020000000000000000000800002000000000000000000000000000000000000000100000000000000000800000000000000000000000000000000000000400000000000000400000000000000000000000000000000002000000000004000000000000100001000000000000000000000000000000000000000020000000000000010000000000000000000000000000000000000000000000000000", + "type": "0x0", + "transactionHash": "0xb4dd592aab4feb95268af03027b96184fe66f2ba170420e4ca6cc62eaae77539", + "transactionIndex": "0x1", + "blockHash": "0x89154d89ad9976d56544a5439f843083040920eac9f08b16855ccaf881db5364", + "blockNumber": "0x3d0e9", + "gasUsed": "0xaaf93", + "effectiveGasPrice": "0x5f5e100", + "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", + "to": "0x2843c269d2a64ecfa63548e8b3fc0fd23b7f70cb", + "contractAddress": null, + "gasUsedForL1": "0x63871", + "l1BlockNumber": "0x14287d7" + } + ], + "libraries": [], + "pending": [], + "returns": {}, + "timestamp": 1731001790, + "chain": 7887, + "commit": "c0e8536e" +} \ No newline at end of file diff --git a/broadcast/144-new_sponsored_contracts.s.sol/7887/run-1731002850.json b/broadcast/144-new_sponsored_contracts.s.sol/7887/run-1731002850.json new file mode 100644 index 00000000..0390f2aa --- /dev/null +++ b/broadcast/144-new_sponsored_contracts.s.sol/7887/run-1731002850.json @@ -0,0 +1,78 @@ +{ + "transactions": [ + { + "hash": "0x23a79d33d083e5d826da18cedcd83b53f51c568143afd5e8288b94b016492123", + "transactionType": "CALL", + "contractName": null, + "contractAddress": null, + "function": null, + "arguments": null, + "transaction": { + "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", + "to": "0x2843c269d2a64ecfa63548e8b3fc0fd23b7f70cb", + "value": "0x0", + "input": "0x1fad948c0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000660ad4b5a74130a4796b4d54bc6750ae93c86e6c000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000002e2b1c42e38f5af81771e65d87729e57abd1337a0000000000000000000000000000000000000000000000000000000000000e790000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000003d0900000000000000000000000000000000000000000000000000000000000003345000000000000000000000000000000000000000000000000000000000000052080000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000003b9aca00000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000003c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001c4b61d27f60000000000000000000000005a2b641b84b0230c8e75f55d5afd27f4dbd59d5b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000124e2c463160000000000000000000000003e9727470c66b1e77034590926cde0242b5a3dcc000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000a9b000d6479e5fa53010b0d67c55fff823f61844000000000000000000000000aa0e00f095eb986cb65fd3fa328782c7fe4cefd9000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008220071f591ce9a9b1ba8d00641562eb8df31c51c01c361785609107e2ffacb5a61106ff3da90193d7f4fa0ec1fda1cbb7cff7619cd2af9667487ba8e0205e32af1b35b3322c90702b306a52757e8cb542c5f3f315ce92e2c37a1a3d104684d3a93a00e9d78aba77fdeda717166cc7cd892ddf71c87eb118051696b8b671116eda1d1b000000000000000000000000000000000000000000000000000000000000", + "nonce": "0x602a", + "chainId": "0x1ecf" + }, + "additionalContracts": [], + "isFixedGasLimit": false + } + ], + "receipts": [ + { + "status": "0x1", + "cumulativeGasUsed": "0x8e05b", + "logs": [ + { + "address": "0x2843c269d2a64ecfa63548e8b3fc0fd23b7f70cb", + "topics": [ + "0xbb47ee3e183a558b1a2ff0874b079f3fc5478b7454eacf2bfc5af2ff5878f972" + ], + "data": "0x", + "blockHash": "0xae75ea46515c7102da5895d7b4328ab8f1e01168438866b733b17c762d646774", + "blockNumber": "0x3d0ef", + "transactionHash": "0x23a79d33d083e5d826da18cedcd83b53f51c568143afd5e8288b94b016492123", + "transactionIndex": "0x1", + "logIndex": "0x0", + "removed": false + }, + { + "address": "0x2843c269d2a64ecfa63548e8b3fc0fd23b7f70cb", + "topics": [ + "0x49628fd1471006c1482da88028e9ce4dbb080b815c9b0344d39e5a8e6ec1419f", + "0xfdddad158dc4d2af2ece5a5eac5c02abb291252c0682b79a90bd0c5fa89acbba", + "0x0000000000000000000000002e2b1c42e38f5af81771e65d87729e57abd1337a", + "0x0000000000000000000000000000000000000000000000000000000000000000" + ], + "data": "0x0000000000000000000000000000000000000000000000000000000000000e790000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000008d0eb000000000000000000000000000000000000000000000000000000000008d0eb", + "blockHash": "0xae75ea46515c7102da5895d7b4328ab8f1e01168438866b733b17c762d646774", + "blockNumber": "0x3d0ef", + "transactionHash": "0x23a79d33d083e5d826da18cedcd83b53f51c568143afd5e8288b94b016492123", + "transactionIndex": "0x1", + "logIndex": "0x1", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000008000000000000000000010000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000008000000800000000020000000000000000000800002000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000400000000000000400000000000000000000000000000000002000000000000000000000000100001000000000000000000000000000000000000000020000000000000010000000000000000000000000040010000000000000000000000", + "type": "0x0", + "transactionHash": "0x23a79d33d083e5d826da18cedcd83b53f51c568143afd5e8288b94b016492123", + "transactionIndex": "0x1", + "blockHash": "0xae75ea46515c7102da5895d7b4328ab8f1e01168438866b733b17c762d646774", + "blockNumber": "0x3d0ef", + "gasUsed": "0x8e05b", + "effectiveGasPrice": "0x5f5e100", + "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", + "to": "0x2843c269d2a64ecfa63548e8b3fc0fd23b7f70cb", + "contractAddress": null, + "gasUsedForL1": "0x59e68", + "l1BlockNumber": "0x1428830" + } + ], + "libraries": [], + "pending": [], + "returns": {}, + "timestamp": 1731002850, + "chain": 7887, + "commit": "fe1d82dc" +} \ No newline at end of file diff --git a/broadcast/144-new_sponsored_contracts.s.sol/7887/run-latest.json b/broadcast/144-new_sponsored_contracts.s.sol/7887/run-latest.json new file mode 100644 index 00000000..0390f2aa --- /dev/null +++ b/broadcast/144-new_sponsored_contracts.s.sol/7887/run-latest.json @@ -0,0 +1,78 @@ +{ + "transactions": [ + { + "hash": "0x23a79d33d083e5d826da18cedcd83b53f51c568143afd5e8288b94b016492123", + "transactionType": "CALL", + "contractName": null, + "contractAddress": null, + "function": null, + "arguments": null, + "transaction": { + "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", + "to": "0x2843c269d2a64ecfa63548e8b3fc0fd23b7f70cb", + "value": "0x0", + "input": "0x1fad948c0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000660ad4b5a74130a4796b4d54bc6750ae93c86e6c000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000002e2b1c42e38f5af81771e65d87729e57abd1337a0000000000000000000000000000000000000000000000000000000000000e790000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000003d0900000000000000000000000000000000000000000000000000000000000003345000000000000000000000000000000000000000000000000000000000000052080000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000003b9aca00000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000003c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001c4b61d27f60000000000000000000000005a2b641b84b0230c8e75f55d5afd27f4dbd59d5b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000124e2c463160000000000000000000000003e9727470c66b1e77034590926cde0242b5a3dcc000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000002000000000000000000000000a9b000d6479e5fa53010b0d67c55fff823f61844000000000000000000000000aa0e00f095eb986cb65fd3fa328782c7fe4cefd9000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008220071f591ce9a9b1ba8d00641562eb8df31c51c01c361785609107e2ffacb5a61106ff3da90193d7f4fa0ec1fda1cbb7cff7619cd2af9667487ba8e0205e32af1b35b3322c90702b306a52757e8cb542c5f3f315ce92e2c37a1a3d104684d3a93a00e9d78aba77fdeda717166cc7cd892ddf71c87eb118051696b8b671116eda1d1b000000000000000000000000000000000000000000000000000000000000", + "nonce": "0x602a", + "chainId": "0x1ecf" + }, + "additionalContracts": [], + "isFixedGasLimit": false + } + ], + "receipts": [ + { + "status": "0x1", + "cumulativeGasUsed": "0x8e05b", + "logs": [ + { + "address": "0x2843c269d2a64ecfa63548e8b3fc0fd23b7f70cb", + "topics": [ + "0xbb47ee3e183a558b1a2ff0874b079f3fc5478b7454eacf2bfc5af2ff5878f972" + ], + "data": "0x", + "blockHash": "0xae75ea46515c7102da5895d7b4328ab8f1e01168438866b733b17c762d646774", + "blockNumber": "0x3d0ef", + "transactionHash": "0x23a79d33d083e5d826da18cedcd83b53f51c568143afd5e8288b94b016492123", + "transactionIndex": "0x1", + "logIndex": "0x0", + "removed": false + }, + { + "address": "0x2843c269d2a64ecfa63548e8b3fc0fd23b7f70cb", + "topics": [ + "0x49628fd1471006c1482da88028e9ce4dbb080b815c9b0344d39e5a8e6ec1419f", + "0xfdddad158dc4d2af2ece5a5eac5c02abb291252c0682b79a90bd0c5fa89acbba", + "0x0000000000000000000000002e2b1c42e38f5af81771e65d87729e57abd1337a", + "0x0000000000000000000000000000000000000000000000000000000000000000" + ], + "data": "0x0000000000000000000000000000000000000000000000000000000000000e790000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000008d0eb000000000000000000000000000000000000000000000000000000000008d0eb", + "blockHash": "0xae75ea46515c7102da5895d7b4328ab8f1e01168438866b733b17c762d646774", + "blockNumber": "0x3d0ef", + "transactionHash": "0x23a79d33d083e5d826da18cedcd83b53f51c568143afd5e8288b94b016492123", + "transactionIndex": "0x1", + "logIndex": "0x1", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000008000000000000000000010000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000008000000800000000020000000000000000000800002000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000400000000000000400000000000000000000000000000000002000000000000000000000000100001000000000000000000000000000000000000000020000000000000010000000000000000000000000040010000000000000000000000", + "type": "0x0", + "transactionHash": "0x23a79d33d083e5d826da18cedcd83b53f51c568143afd5e8288b94b016492123", + "transactionIndex": "0x1", + "blockHash": "0xae75ea46515c7102da5895d7b4328ab8f1e01168438866b733b17c762d646774", + "blockNumber": "0x3d0ef", + "gasUsed": "0x8e05b", + "effectiveGasPrice": "0x5f5e100", + "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", + "to": "0x2843c269d2a64ecfa63548e8b3fc0fd23b7f70cb", + "contractAddress": null, + "gasUsedForL1": "0x59e68", + "l1BlockNumber": "0x1428830" + } + ], + "libraries": [], + "pending": [], + "returns": {}, + "timestamp": 1731002850, + "chain": 7887, + "commit": "fe1d82dc" +} \ No newline at end of file diff --git a/broadcast/97-update_socket_app.s.sol/7887/run-1731002806.json b/broadcast/97-update_socket_app.s.sol/7887/run-1731002806.json new file mode 100644 index 00000000..05f32d14 --- /dev/null +++ b/broadcast/97-update_socket_app.s.sol/7887/run-1731002806.json @@ -0,0 +1,92 @@ +{ + "transactions": [ + { + "hash": "0xae28f56f4895bec500c19ab9dad6c08b28aad036007183d03451f71d29debfef", + "transactionType": "CALL", + "contractName": null, + "contractAddress": null, + "function": null, + "arguments": null, + "transaction": { + "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", + "to": "0x2843c269d2a64ecfa63548e8b3fc0fd23b7f70cb", + "value": "0x0", + "input": "0x1fad948c0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000660ad4b5a74130a4796b4d54bc6750ae93c86e6c000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000002e2b1c42e38f5af81771e65d87729e57abd1337a0000000000000000000000000000000000000000000000000000000000000e780000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000003d0900000000000000000000000000000000000000000000000000000000000003345000000000000000000000000000000000000000000000000000000000000052080000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000003b9aca00000000000000000000000000000000000000000000000000000000000000076000000000000000000000000000000000000000000000000000000000000007a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005a4b61d27f60000000000000000000000005a2b641b84b0230c8e75f55d5afd27f4dbd59d5b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000504c1d3c7b300000000000000000000000000000000000000000000000000000000000001000000000000000000000000003e9727470c66b1e77034590926cde0242b5a3dcc0000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000278d00000000000000000000000000000000000000000000000000002386f26fc1000000000000000000000000000000000000000000000000000000000000000004e00000000000000000000000000000000000000000000000000000000000000006536f636b65740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000abc64e84c653e0f077c0178e4b1fac01bfcc20b0000000000000000000000000db09c7c2c4071e3ca1bad0c357906efa17c251020000000000000000000000007d4e3628c3dece7ba053c296eea3729318f93715000000000000000000000000fe6e2862ef74adf306aacd575eaf5f45281b1017000000000000000000000000342f5ba3230f6d1e32aa775440bdcb93647dd4cd0000000000000000000000004c9c64b2fae0e13df9a635ad699c5efc386d1cee000000000000000000000000345b2061ea8256689349fca968cf7af0ff6011aa0000000000000000000000008d23e5ba32ca80809d60ed70ddbd96e6b3d6101500000000000000000000000028a6468de32690f63d8095e8980b43ab48f9470c000000000000000000000000ce2fc6c6bfcf04f2f857338ecf6004381f414926000000000000000000000000e3f4c9cca8ea855497d63800befb43f290ac78c6000000000000000000000000c7fca8ab6d1e1142790454e7e5655d93c3b03ed600000000000000000000000024f287b474a05e48627846148ccda3d05de03953000000000000000000000000a2a13094bab725d6d9dd8b9b5c01f1a1bf67f98600000000000000000000000090128652cf49a44f0374d0ee7d3782df59e72a8c000000000000000000000000d17b43d94f0bf2960d285e89de5b9a8369e3ed5b000000000000000000000000f5d3d976872e01b7b7af7964ca9cf4d9925847260000000000000000000000007da5691fb59740cf02cc7dc16743be9dcbf685b5000000000000000000000000e5b6205cfc03786fc554c40767a591b8dcbc1e76000000000000000000000000a968c2771d5e984979589ef8f6fa59d5818a208f000000000000000000000000ae7f260b74f289ab3701fb01cbf81bcd7645422200000000000000000000000045113356a5b8b1ba8a8bc75dcaac42be066638800000000000000000000000002d82862810e1b040b8ea419dc309572364e574e70000000000000000000000005f40795576557877d0fed93b5a9ea8a19592486200000000000000000000000019e5c67db27284907978f4fd856403346816bf870000000000000000000000005324a41fac86c0d6cd301b3144124fd3c399fd870000000000000000000000008cd4725d32ccfb201a25f1e1a18260e53f37c927000000000000000000000000b0fc8b7fb66958fe813475bbdc91c1ac75725442000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000829869980407b68ab1ea84834804ba26439dfac056993f5eafbd4c40d760bc0e0325aba9e0ab4598972fec1587e2fd999dd3a11f7831e0a646c6a67cfdcf3bd4e41bf9ffb66566f70e9bd422a6f8b5bce0f9f4513f1a53d170038825dc57f88ac2920f0d854eec50e09ef3271cdfa993aa254170f43019788c92c6a7c902fbd8436d1c000000000000000000000000000000000000000000000000000000000000", + "nonce": "0x6029", + "chainId": "0x1ecf" + }, + "additionalContracts": [], + "isFixedGasLimit": false + } + ], + "receipts": [ + { + "status": "0x1", + "cumulativeGasUsed": "0x182a98", + "logs": [ + { + "address": "0x2843c269d2a64ecfa63548e8b3fc0fd23b7f70cb", + "topics": [ + "0xbb47ee3e183a558b1a2ff0874b079f3fc5478b7454eacf2bfc5af2ff5878f972" + ], + "data": "0x", + "blockHash": "0xd284c01af196fa8141088e6979f4b4f2eb796de67990d716740f6564e9c65c60", + "blockNumber": "0x3d0ee", + "transactionHash": "0xae28f56f4895bec500c19ab9dad6c08b28aad036007183d03451f71d29debfef", + "transactionIndex": "0x1", + "logIndex": "0x0", + "removed": false + }, + { + "address": "0x5a2b641b84b0230c8e75f55d5afd27f4dbd59d5b", + "topics": [ + "0x1c64f068a47e25f729fe0a695d5999e7c9669e2f9397d4a40fb04b3e89ad393f", + "0x0000000000000000000000003e9727470c66b1e77034590926cde0242b5a3dcc" + ], + "data": "0x0000000000000000000000002e2b1c42e38f5af81771e65d87729e57abd1337a00000000000000000000000000000000000000000000000000000000672d01b3", + "blockHash": "0xd284c01af196fa8141088e6979f4b4f2eb796de67990d716740f6564e9c65c60", + "blockNumber": "0x3d0ee", + "transactionHash": "0xae28f56f4895bec500c19ab9dad6c08b28aad036007183d03451f71d29debfef", + "transactionIndex": "0x1", + "logIndex": "0x1", + "removed": false + }, + { + "address": "0x2843c269d2a64ecfa63548e8b3fc0fd23b7f70cb", + "topics": [ + "0x49628fd1471006c1482da88028e9ce4dbb080b815c9b0344d39e5a8e6ec1419f", + "0xd1a289f15b473e8fc72e3ea346b89c507df13ad5ebe8baae4f07306bdf219108", + "0x0000000000000000000000002e2b1c42e38f5af81771e65d87729e57abd1337a", + "0x0000000000000000000000000000000000000000000000000000000000000000" + ], + "data": "0x0000000000000000000000000000000000000000000000000000000000000e78000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000001286300000000000000000000000000000000000000000000000000000000000128630", + "blockHash": "0xd284c01af196fa8141088e6979f4b4f2eb796de67990d716740f6564e9c65c60", + "blockNumber": "0x3d0ee", + "transactionHash": "0xae28f56f4895bec500c19ab9dad6c08b28aad036007183d03451f71d29debfef", + "transactionIndex": "0x1", + "logIndex": "0x2", + "removed": false + } + ], + "logsBloom": "0x00000000000000000000000000000080000000000000000000000000000000000008000000000000000000010000000000000000000000000000020000000000000000000000000000000000000000000000000001000000000000000008000800000000020000000000000000000800002000800000000000000000000000000000000040000000000000000000800000000000000000800000080000008000000400000000000000400000000000000000000000000000000002000000000000000000000000100001000000000000000000010000000000000000000020000000000000010000000000000000000000000000000000000000000080000000", + "type": "0x0", + "transactionHash": "0xae28f56f4895bec500c19ab9dad6c08b28aad036007183d03451f71d29debfef", + "transactionIndex": "0x1", + "blockHash": "0xd284c01af196fa8141088e6979f4b4f2eb796de67990d716740f6564e9c65c60", + "blockNumber": "0x3d0ee", + "gasUsed": "0x182a98", + "effectiveGasPrice": "0x5f5e100", + "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", + "to": "0x2843c269d2a64ecfa63548e8b3fc0fd23b7f70cb", + "contractAddress": null, + "gasUsedForL1": "0xadb69", + "l1BlockNumber": "0x142882c" + } + ], + "libraries": [], + "pending": [], + "returns": {}, + "timestamp": 1731002806, + "chain": 7887, + "commit": "fe1d82dc" +} \ No newline at end of file diff --git a/broadcast/97-update_socket_app.s.sol/7887/run-latest.json b/broadcast/97-update_socket_app.s.sol/7887/run-latest.json index bae1bf3a..05f32d14 100644 --- a/broadcast/97-update_socket_app.s.sol/7887/run-latest.json +++ b/broadcast/97-update_socket_app.s.sol/7887/run-latest.json @@ -1,21 +1,18 @@ { "transactions": [ { - "hash": "0x7c06e785f6126334972d05526846f2cc10839faab6aa410d1bd91544f0552377", + "hash": "0xae28f56f4895bec500c19ab9dad6c08b28aad036007183d03451f71d29debfef", "transactionType": "CALL", "contractName": null, - "contractAddress": "0x2843c269d2a64ecfa63548e8b3fc0fd23b7f70cb", - "function": "handleOps((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes)[],address)", - "arguments": [ - "[(0x2e2B1c42E38f5af81771e65D87729E57ABD1337a, 3577, 0x, 0xb61d27f60000000000000000000000005a2b641b84b0230c8e75f55d5afd27f4dbd59d5b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000424c1d3c7b300000000000000000000000000000000000000000000000000000000000001000000000000000000000000003e9727470c66b1e77034590926cde0242b5a3dcc0000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000278d00000000000000000000000000000000000000000000000000002386f26fc1000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000006536f636b657400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000015000000000000000000000000abc64e84c653e0f077c0178e4b1fac01bfcc20b0000000000000000000000000db09c7c2c4071e3ca1bad0c357906efa17c251020000000000000000000000007d4e3628c3dece7ba053c296eea3729318f93715000000000000000000000000fe6e2862ef74adf306aacd575eaf5f45281b1017000000000000000000000000342f5ba3230f6d1e32aa775440bdcb93647dd4cd0000000000000000000000004c9c64b2fae0e13df9a635ad699c5efc386d1cee000000000000000000000000345b2061ea8256689349fca968cf7af0ff6011aa0000000000000000000000008d23e5ba32ca80809d60ed70ddbd96e6b3d6101500000000000000000000000028a6468de32690f63d8095e8980b43ab48f9470c000000000000000000000000ce2fc6c6bfcf04f2f857338ecf6004381f414926000000000000000000000000e3f4c9cca8ea855497d63800befb43f290ac78c6000000000000000000000000c7fca8ab6d1e1142790454e7e5655d93c3b03ed600000000000000000000000024f287b474a05e48627846148ccda3d05de03953000000000000000000000000a2a13094bab725d6d9dd8b9b5c01f1a1bf67f98600000000000000000000000090128652cf49a44f0374d0ee7d3782df59e72a8c000000000000000000000000d17b43d94f0bf2960d285e89de5b9a8369e3ed5b000000000000000000000000f5d3d976872e01b7b7af7964ca9cf4d9925847260000000000000000000000007da5691fb59740cf02cc7dc16743be9dcbf685b5000000000000000000000000e5b6205cfc03786fc554c40767a591b8dcbc1e76000000000000000000000000a968c2771d5e984979589ef8f6fa59d5818a208f000000000000000000000000ae7f260b74f289ab3701fb01cbf81bcd76454222000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000, 4000000, 210000, 21000, 1, 1000000000, 0x0000000000000000000000000000000000000000, 0xc5ee4c030fb24daa2255e2eefab719f45a68b75f5482d8624e190694d1f71e3b022ac559e175c2303f999596e1d6f26eb2b5b69972179d1b90533ef4483b03681caed45898bfd2cc8bb52dc66c755292890387ae932f7224e800c9306e9dbe1ca71818f44a178938cf78faa03ead547f22fb3aec76ab5cd4c61b08b9b6f1d0891b1b)]", - "0x660ad4B5A74130a4796B4d54BC6750Ae93C86e6c" - ], + "contractAddress": null, + "function": null, + "arguments": null, "transaction": { "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", "to": "0x2843c269d2a64ecfa63548e8b3fc0fd23b7f70cb", "value": "0x0", - "input": "0x1fad948c0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000660ad4b5a74130a4796b4d54bc6750ae93c86e6c000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000002e2b1c42e38f5af81771e65d87729e57abd1337a0000000000000000000000000000000000000000000000000000000000000df90000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000003d0900000000000000000000000000000000000000000000000000000000000003345000000000000000000000000000000000000000000000000000000000000052080000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000003b9aca00000000000000000000000000000000000000000000000000000000000000068000000000000000000000000000000000000000000000000000000000000006c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004c4b61d27f60000000000000000000000005a2b641b84b0230c8e75f55d5afd27f4dbd59d5b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000424c1d3c7b300000000000000000000000000000000000000000000000000000000000001000000000000000000000000003e9727470c66b1e77034590926cde0242b5a3dcc0000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000278d00000000000000000000000000000000000000000000000000002386f26fc1000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000006536f636b657400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000015000000000000000000000000abc64e84c653e0f077c0178e4b1fac01bfcc20b0000000000000000000000000db09c7c2c4071e3ca1bad0c357906efa17c251020000000000000000000000007d4e3628c3dece7ba053c296eea3729318f93715000000000000000000000000fe6e2862ef74adf306aacd575eaf5f45281b1017000000000000000000000000342f5ba3230f6d1e32aa775440bdcb93647dd4cd0000000000000000000000004c9c64b2fae0e13df9a635ad699c5efc386d1cee000000000000000000000000345b2061ea8256689349fca968cf7af0ff6011aa0000000000000000000000008d23e5ba32ca80809d60ed70ddbd96e6b3d6101500000000000000000000000028a6468de32690f63d8095e8980b43ab48f9470c000000000000000000000000ce2fc6c6bfcf04f2f857338ecf6004381f414926000000000000000000000000e3f4c9cca8ea855497d63800befb43f290ac78c6000000000000000000000000c7fca8ab6d1e1142790454e7e5655d93c3b03ed600000000000000000000000024f287b474a05e48627846148ccda3d05de03953000000000000000000000000a2a13094bab725d6d9dd8b9b5c01f1a1bf67f98600000000000000000000000090128652cf49a44f0374d0ee7d3782df59e72a8c000000000000000000000000d17b43d94f0bf2960d285e89de5b9a8369e3ed5b000000000000000000000000f5d3d976872e01b7b7af7964ca9cf4d9925847260000000000000000000000007da5691fb59740cf02cc7dc16743be9dcbf685b5000000000000000000000000e5b6205cfc03786fc554c40767a591b8dcbc1e76000000000000000000000000a968c2771d5e984979589ef8f6fa59d5818a208f000000000000000000000000ae7f260b74f289ab3701fb01cbf81bcd7645422200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000082c5ee4c030fb24daa2255e2eefab719f45a68b75f5482d8624e190694d1f71e3b022ac559e175c2303f999596e1d6f26eb2b5b69972179d1b90533ef4483b03681caed45898bfd2cc8bb52dc66c755292890387ae932f7224e800c9306e9dbe1ca71818f44a178938cf78faa03ead547f22fb3aec76ab5cd4c61b08b9b6f1d0891b1b000000000000000000000000000000000000000000000000000000000000", - "nonce": "0x5f2e", + "input": "0x1fad948c0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000660ad4b5a74130a4796b4d54bc6750ae93c86e6c000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000002e2b1c42e38f5af81771e65d87729e57abd1337a0000000000000000000000000000000000000000000000000000000000000e780000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000003d0900000000000000000000000000000000000000000000000000000000000003345000000000000000000000000000000000000000000000000000000000000052080000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000003b9aca00000000000000000000000000000000000000000000000000000000000000076000000000000000000000000000000000000000000000000000000000000007a0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005a4b61d27f60000000000000000000000005a2b641b84b0230c8e75f55d5afd27f4dbd59d5b000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000504c1d3c7b300000000000000000000000000000000000000000000000000000000000001000000000000000000000000003e9727470c66b1e77034590926cde0242b5a3dcc0000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000003c000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000278d00000000000000000000000000000000000000000000000000002386f26fc1000000000000000000000000000000000000000000000000000000000000000004e00000000000000000000000000000000000000000000000000000000000000006536f636b65740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000abc64e84c653e0f077c0178e4b1fac01bfcc20b0000000000000000000000000db09c7c2c4071e3ca1bad0c357906efa17c251020000000000000000000000007d4e3628c3dece7ba053c296eea3729318f93715000000000000000000000000fe6e2862ef74adf306aacd575eaf5f45281b1017000000000000000000000000342f5ba3230f6d1e32aa775440bdcb93647dd4cd0000000000000000000000004c9c64b2fae0e13df9a635ad699c5efc386d1cee000000000000000000000000345b2061ea8256689349fca968cf7af0ff6011aa0000000000000000000000008d23e5ba32ca80809d60ed70ddbd96e6b3d6101500000000000000000000000028a6468de32690f63d8095e8980b43ab48f9470c000000000000000000000000ce2fc6c6bfcf04f2f857338ecf6004381f414926000000000000000000000000e3f4c9cca8ea855497d63800befb43f290ac78c6000000000000000000000000c7fca8ab6d1e1142790454e7e5655d93c3b03ed600000000000000000000000024f287b474a05e48627846148ccda3d05de03953000000000000000000000000a2a13094bab725d6d9dd8b9b5c01f1a1bf67f98600000000000000000000000090128652cf49a44f0374d0ee7d3782df59e72a8c000000000000000000000000d17b43d94f0bf2960d285e89de5b9a8369e3ed5b000000000000000000000000f5d3d976872e01b7b7af7964ca9cf4d9925847260000000000000000000000007da5691fb59740cf02cc7dc16743be9dcbf685b5000000000000000000000000e5b6205cfc03786fc554c40767a591b8dcbc1e76000000000000000000000000a968c2771d5e984979589ef8f6fa59d5818a208f000000000000000000000000ae7f260b74f289ab3701fb01cbf81bcd7645422200000000000000000000000045113356a5b8b1ba8a8bc75dcaac42be066638800000000000000000000000002d82862810e1b040b8ea419dc309572364e574e70000000000000000000000005f40795576557877d0fed93b5a9ea8a19592486200000000000000000000000019e5c67db27284907978f4fd856403346816bf870000000000000000000000005324a41fac86c0d6cd301b3144124fd3c399fd870000000000000000000000008cd4725d32ccfb201a25f1e1a18260e53f37c927000000000000000000000000b0fc8b7fb66958fe813475bbdc91c1ac75725442000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000829869980407b68ab1ea84834804ba26439dfac056993f5eafbd4c40d760bc0e0325aba9e0ab4598972fec1587e2fd999dd3a11f7831e0a646c6a67cfdcf3bd4e41bf9ffb66566f70e9bd422a6f8b5bce0f9f4513f1a53d170038825dc57f88ac2920f0d854eec50e09ef3271cdfa993aa254170f43019788c92c6a7c902fbd8436d1c000000000000000000000000000000000000000000000000000000000000", + "nonce": "0x6029", "chainId": "0x1ecf" }, "additionalContracts": [], @@ -25,7 +22,7 @@ "receipts": [ { "status": "0x1", - "cumulativeGasUsed": "0xcb04e", + "cumulativeGasUsed": "0x182a98", "logs": [ { "address": "0x2843c269d2a64ecfa63548e8b3fc0fd23b7f70cb", @@ -33,9 +30,9 @@ "0xbb47ee3e183a558b1a2ff0874b079f3fc5478b7454eacf2bfc5af2ff5878f972" ], "data": "0x", - "blockHash": "0xfda38dd3188f9380b8da919835fcf73672fba8b0d2b808b50ffc76113988d23f", - "blockNumber": "0x3cc13", - "transactionHash": "0x7c06e785f6126334972d05526846f2cc10839faab6aa410d1bd91544f0552377", + "blockHash": "0xd284c01af196fa8141088e6979f4b4f2eb796de67990d716740f6564e9c65c60", + "blockNumber": "0x3d0ee", + "transactionHash": "0xae28f56f4895bec500c19ab9dad6c08b28aad036007183d03451f71d29debfef", "transactionIndex": "0x1", "logIndex": "0x0", "removed": false @@ -46,10 +43,10 @@ "0x1c64f068a47e25f729fe0a695d5999e7c9669e2f9397d4a40fb04b3e89ad393f", "0x0000000000000000000000003e9727470c66b1e77034590926cde0242b5a3dcc" ], - "data": "0x0000000000000000000000002e2b1c42e38f5af81771e65d87729e57abd1337a0000000000000000000000000000000000000000000000000000000067293aa7", - "blockHash": "0xfda38dd3188f9380b8da919835fcf73672fba8b0d2b808b50ffc76113988d23f", - "blockNumber": "0x3cc13", - "transactionHash": "0x7c06e785f6126334972d05526846f2cc10839faab6aa410d1bd91544f0552377", + "data": "0x0000000000000000000000002e2b1c42e38f5af81771e65d87729e57abd1337a00000000000000000000000000000000000000000000000000000000672d01b3", + "blockHash": "0xd284c01af196fa8141088e6979f4b4f2eb796de67990d716740f6564e9c65c60", + "blockNumber": "0x3d0ee", + "transactionHash": "0xae28f56f4895bec500c19ab9dad6c08b28aad036007183d03451f71d29debfef", "transactionIndex": "0x1", "logIndex": "0x1", "removed": false @@ -58,38 +55,38 @@ "address": "0x2843c269d2a64ecfa63548e8b3fc0fd23b7f70cb", "topics": [ "0x49628fd1471006c1482da88028e9ce4dbb080b815c9b0344d39e5a8e6ec1419f", - "0xbaf33ad53e80f0e3165fe04d24e6244ad375070171da95213cd3e65edb819578", + "0xd1a289f15b473e8fc72e3ea346b89c507df13ad5ebe8baae4f07306bdf219108", "0x0000000000000000000000002e2b1c42e38f5af81771e65d87729e57abd1337a", "0x0000000000000000000000000000000000000000000000000000000000000000" ], - "data": "0x0000000000000000000000000000000000000000000000000000000000000df9000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000deecb00000000000000000000000000000000000000000000000000000000000deecb", - "blockHash": "0xfda38dd3188f9380b8da919835fcf73672fba8b0d2b808b50ffc76113988d23f", - "blockNumber": "0x3cc13", - "transactionHash": "0x7c06e785f6126334972d05526846f2cc10839faab6aa410d1bd91544f0552377", + "data": "0x0000000000000000000000000000000000000000000000000000000000000e78000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000001286300000000000000000000000000000000000000000000000000000000000128630", + "blockHash": "0xd284c01af196fa8141088e6979f4b4f2eb796de67990d716740f6564e9c65c60", + "blockNumber": "0x3d0ee", + "transactionHash": "0xae28f56f4895bec500c19ab9dad6c08b28aad036007183d03451f71d29debfef", "transactionIndex": "0x1", "logIndex": "0x2", "removed": false } ], - "logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000008000000000000000000010000000000400000000000000000020000000000000000000000000000000000000000000000000001000008000000000008000800000000020000000000000000000800002000800000000000000000000000000000000000000000000000000000800000000000000000800000080000000000000400000000000000400000000000000000008000000000000002000000000000000000000000100001000000000000000000010000000000000000000020000000000000010000000000000000000000000000000000000000000080000000", - "type": "0x2", - "transactionHash": "0x7c06e785f6126334972d05526846f2cc10839faab6aa410d1bd91544f0552377", + "logsBloom": "0x00000000000000000000000000000080000000000000000000000000000000000008000000000000000000010000000000000000000000000000020000000000000000000000000000000000000000000000000001000000000000000008000800000000020000000000000000000800002000800000000000000000000000000000000040000000000000000000800000000000000000800000080000008000000400000000000000400000000000000000000000000000000002000000000000000000000000100001000000000000000000010000000000000000000020000000000000010000000000000000000000000000000000000000000080000000", + "type": "0x0", + "transactionHash": "0xae28f56f4895bec500c19ab9dad6c08b28aad036007183d03451f71d29debfef", "transactionIndex": "0x1", - "blockHash": "0xfda38dd3188f9380b8da919835fcf73672fba8b0d2b808b50ffc76113988d23f", - "blockNumber": "0x3cc13", - "gasUsed": "0xcb04e", + "blockHash": "0xd284c01af196fa8141088e6979f4b4f2eb796de67990d716740f6564e9c65c60", + "blockNumber": "0x3d0ee", + "gasUsed": "0x182a98", "effectiveGasPrice": "0x5f5e100", "from": "0x660ad4b5a74130a4796b4d54bc6750ae93c86e6c", "to": "0x2843c269d2a64ecfa63548e8b3fc0fd23b7f70cb", "contractAddress": null, - "gasUsedForL1": "0x47b98", - "l1BlockNumber": "0x1423805" + "gasUsedForL1": "0xadb69", + "l1BlockNumber": "0x142882c" } ], "libraries": [], "pending": [], "returns": {}, - "timestamp": 1730755239, + "timestamp": 1731002806, "chain": 7887, - "commit": "142576b" + "commit": "fe1d82dc" } \ No newline at end of file diff --git a/script/migrations/144-new_sponsored_contracts.s.sol b/script/migrations/144-new_sponsored_contracts.s.sol new file mode 100644 index 00000000..f28d1be3 --- /dev/null +++ b/script/migrations/144-new_sponsored_contracts.s.sol @@ -0,0 +1,39 @@ +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.18; + +import "../../src/apps/KintoAppRegistry.sol"; +import "../../src/wallet/KintoWallet.sol"; +import {MigrationHelper} from "@kinto-core-script/utils/MigrationHelper.sol"; +import "forge-std/console2.sol"; + +import "@kinto-core-test/helpers/ArrayHelpers.sol"; + +contract Script is MigrationHelper { + using ArrayHelpers for *; + + function run() public override { + super.run(); + + KintoAppRegistry kintoAppRegistry = KintoAppRegistry(_getChainDeployment("KintoAppRegistry")); + + address socketApp = 0x3e9727470C66B1e77034590926CDe0242B5A3dCc; + + _handleOps( + abi.encodeWithSelector( + KintoAppRegistry.setSponsoredContracts.selector, + socketApp, + [_getChainDeployment("ARB"), _getChainDeployment("AAVE")].toMemoryArray(), + [true, true].toMemoryArray() + ), + address(_getChainDeployment("KintoAppRegistry")) + ); + + assertEq(kintoAppRegistry.isSponsored(socketApp, _getChainDeployment("ARB")), true); + assertEq(kintoAppRegistry.isSponsored(socketApp, _getChainDeployment("cbBTC")), true); + assertEq(kintoAppRegistry.isSponsored(socketApp, _getChainDeployment("rETH")), true); + assertEq(kintoAppRegistry.isSponsored(socketApp, _getChainDeployment("GHO")), true); + assertEq(kintoAppRegistry.isSponsored(socketApp, _getChainDeployment("LINK")), true); + assertEq(kintoAppRegistry.isSponsored(socketApp, _getChainDeployment("ARB")), true); + assertEq(kintoAppRegistry.isSponsored(socketApp, _getChainDeployment("AAVE")), true); + } +} diff --git a/script/migrations/97-update_socket_app.s.sol b/script/migrations/97-update_socket_app.s.sol index ed5dcd08..fdf9d556 100644 --- a/script/migrations/97-update_socket_app.s.sol +++ b/script/migrations/97-update_socket_app.s.sol @@ -12,7 +12,7 @@ contract KintoMigration97DeployScript is MigrationHelper { KintoAppRegistry kintoAppRegistry = KintoAppRegistry(payable(_getChainDeployment("KintoAppRegistry"))); address socketApp = 0x3e9727470C66B1e77034590926CDe0242B5A3dCc; // Socket-DL contract - address[] memory appContracts = new address[](21); + address[] memory appContracts = new address[](28); // controllers appContracts[0] = address(0xaBc64E84c653e0f077c0178E4b1fAC01Bfcc20b0); // DAI controller @@ -36,6 +36,13 @@ contract KintoMigration97DeployScript is MigrationHelper { appContracts[18] = address(0xe5b6205CfC03786Fc554c40767A591b8dCBC1E76); // stEUR controller appContracts[19] = address(0xa968C2771d5E984979589ef8f6fA59D5818a208F); // SOL controller appContracts[20] = address(0xaE7f260b74f289ab3701fb01Cbf81bCD76454222); // SPX controller + appContracts[21] = address(0x45113356a5b8b1ba8A8Bc75dcAAc42bE06663880); // rETH controller + appContracts[22] = address(0x2d82862810e1B040B8EA419dc309572364E574e7); // GHO controller + appContracts[23] = address(0x5f40795576557877d0fEd93b5A9ea8a195924862); // LINK controller + appContracts[24] = address(0x19E5C67db27284907978F4Fd856403346816BF87); // ARB controller + appContracts[25] = address(0x5324a41FaC86C0D6CD301B3144124fD3c399Fd87); // AAVE controller + appContracts[26] = address(0x8cd4725D32CcFB201A25F1E1a18260E53F37C927); // cbETH controller + appContracts[27] = address(0xB0FC8B7fb66958fe813475bBDC91c1Ac75725442); // cbBTC controller uint256[4] memory appLimits = [ kintoAppRegistry.RATE_LIMIT_PERIOD(), diff --git a/test/helpers/ArrayHelpers.sol b/test/helpers/ArrayHelpers.sol index 14271076..c8508f11 100644 --- a/test/helpers/ArrayHelpers.sol +++ b/test/helpers/ArrayHelpers.sol @@ -11,6 +11,23 @@ library ArrayHelpers { return ret; } + function toMemoryArray(bool[2] memory array) internal pure returns (bool[] memory) { + bool[] memory ret = new bool[](2); + ret[0] = array[0]; + ret[1] = array[1]; + return ret; + } + + function toMemoryArray(bool[5] memory array) internal pure returns (bool[] memory) { + bool[] memory ret = new bool[](5); + ret[0] = array[0]; + ret[1] = array[1]; + ret[2] = array[2]; + ret[3] = array[3]; + ret[4] = array[4]; + return ret; + } + function toMemoryArray(address[1] memory array) internal pure returns (address[] memory) { address[] memory ret = new address[](1); ret[0] = array[0]; @@ -32,6 +49,25 @@ library ArrayHelpers { return ret; } + function toMemoryArray(address[4] memory array) internal pure returns (address[] memory) { + address[] memory ret = new address[](4); + ret[0] = array[0]; + ret[1] = array[1]; + ret[2] = array[2]; + ret[3] = array[3]; + return ret; + } + + function toMemoryArray(address[5] memory array) internal pure returns (address[] memory) { + address[] memory ret = new address[](5); + ret[0] = array[0]; + ret[1] = array[1]; + ret[2] = array[2]; + ret[3] = array[3]; + ret[4] = array[4]; + return ret; + } + function toMemoryArray(uint256[1] memory array) internal pure returns (uint256[] memory) { uint256[] memory ret = new uint256[](1); ret[0] = array[0];