|
| 1 | +const SINGLE_SIGNER_VALIDATION_MODULE_ABI = [ |
| 2 | + { inputs: [], name: "InvalidSignatureType", type: "error" }, |
| 3 | + { |
| 4 | + inputs: [], |
| 5 | + name: "NotAuthorized", |
| 6 | + type: "error", |
| 7 | + }, |
| 8 | + { inputs: [], name: "NotImplemented", type: "error" }, |
| 9 | + { |
| 10 | + inputs: [], |
| 11 | + name: "UnexpectedDataPassed", |
| 12 | + type: "error", |
| 13 | + }, |
| 14 | + { |
| 15 | + anonymous: true, |
| 16 | + inputs: [ |
| 17 | + { |
| 18 | + indexed: true, |
| 19 | + internalType: "address", |
| 20 | + name: "account", |
| 21 | + type: "address", |
| 22 | + }, |
| 23 | + { |
| 24 | + indexed: true, |
| 25 | + internalType: "uint32", |
| 26 | + name: "entityId", |
| 27 | + type: "uint32", |
| 28 | + }, |
| 29 | + { |
| 30 | + indexed: true, |
| 31 | + internalType: "address", |
| 32 | + name: "newSigner", |
| 33 | + type: "address", |
| 34 | + }, |
| 35 | + { |
| 36 | + indexed: false, |
| 37 | + internalType: "address", |
| 38 | + name: "previousSigner", |
| 39 | + type: "address", |
| 40 | + }, |
| 41 | + ], |
| 42 | + name: "SignerTransferred", |
| 43 | + type: "event", |
| 44 | + }, |
| 45 | + { |
| 46 | + inputs: [], |
| 47 | + name: "moduleId", |
| 48 | + outputs: [{ internalType: "string", name: "", type: "string" }], |
| 49 | + stateMutability: "pure", |
| 50 | + type: "function", |
| 51 | + }, |
| 52 | + { |
| 53 | + inputs: [{ internalType: "bytes", name: "data", type: "bytes" }], |
| 54 | + name: "onInstall", |
| 55 | + outputs: [], |
| 56 | + stateMutability: "nonpayable", |
| 57 | + type: "function", |
| 58 | + }, |
| 59 | + { |
| 60 | + inputs: [{ internalType: "bytes", name: "data", type: "bytes" }], |
| 61 | + name: "onUninstall", |
| 62 | + outputs: [], |
| 63 | + stateMutability: "nonpayable", |
| 64 | + type: "function", |
| 65 | + }, |
| 66 | + { |
| 67 | + inputs: [ |
| 68 | + { internalType: "address", name: "account", type: "address" }, |
| 69 | + { |
| 70 | + internalType: "bytes32", |
| 71 | + name: "hash", |
| 72 | + type: "bytes32", |
| 73 | + }, |
| 74 | + ], |
| 75 | + name: "replaySafeHash", |
| 76 | + outputs: [{ internalType: "bytes32", name: "", type: "bytes32" }], |
| 77 | + stateMutability: "view", |
| 78 | + type: "function", |
| 79 | + }, |
| 80 | + { |
| 81 | + inputs: [ |
| 82 | + { internalType: "uint32", name: "entityId", type: "uint32" }, |
| 83 | + { |
| 84 | + internalType: "address", |
| 85 | + name: "account", |
| 86 | + type: "address", |
| 87 | + }, |
| 88 | + ], |
| 89 | + name: "signers", |
| 90 | + outputs: [{ internalType: "address", name: "", type: "address" }], |
| 91 | + stateMutability: "view", |
| 92 | + type: "function", |
| 93 | + }, |
| 94 | + { |
| 95 | + inputs: [{ internalType: "bytes4", name: "interfaceId", type: "bytes4" }], |
| 96 | + name: "supportsInterface", |
| 97 | + outputs: [{ internalType: "bool", name: "", type: "bool" }], |
| 98 | + stateMutability: "view", |
| 99 | + type: "function", |
| 100 | + }, |
| 101 | + { |
| 102 | + inputs: [ |
| 103 | + { internalType: "uint32", name: "entityId", type: "uint32" }, |
| 104 | + { |
| 105 | + internalType: "address", |
| 106 | + name: "newSigner", |
| 107 | + type: "address", |
| 108 | + }, |
| 109 | + ], |
| 110 | + name: "transferSigner", |
| 111 | + outputs: [], |
| 112 | + stateMutability: "nonpayable", |
| 113 | + type: "function", |
| 114 | + }, |
| 115 | + { |
| 116 | + inputs: [ |
| 117 | + { internalType: "address", name: "account", type: "address" }, |
| 118 | + { |
| 119 | + internalType: "uint32", |
| 120 | + name: "entityId", |
| 121 | + type: "uint32", |
| 122 | + }, |
| 123 | + { internalType: "address", name: "sender", type: "address" }, |
| 124 | + { |
| 125 | + internalType: "uint256", |
| 126 | + name: "", |
| 127 | + type: "uint256", |
| 128 | + }, |
| 129 | + { internalType: "bytes", name: "", type: "bytes" }, |
| 130 | + { |
| 131 | + internalType: "bytes", |
| 132 | + name: "", |
| 133 | + type: "bytes", |
| 134 | + }, |
| 135 | + ], |
| 136 | + name: "validateRuntime", |
| 137 | + outputs: [], |
| 138 | + stateMutability: "view", |
| 139 | + type: "function", |
| 140 | + }, |
| 141 | + { |
| 142 | + inputs: [ |
| 143 | + { internalType: "address", name: "account", type: "address" }, |
| 144 | + { |
| 145 | + internalType: "uint32", |
| 146 | + name: "entityId", |
| 147 | + type: "uint32", |
| 148 | + }, |
| 149 | + { internalType: "address", name: "", type: "address" }, |
| 150 | + { |
| 151 | + internalType: "bytes32", |
| 152 | + name: "digest", |
| 153 | + type: "bytes32", |
| 154 | + }, |
| 155 | + { internalType: "bytes", name: "signature", type: "bytes" }, |
| 156 | + ], |
| 157 | + name: "validateSignature", |
| 158 | + outputs: [{ internalType: "bytes4", name: "", type: "bytes4" }], |
| 159 | + stateMutability: "view", |
| 160 | + type: "function", |
| 161 | + }, |
| 162 | + { |
| 163 | + inputs: [ |
| 164 | + { |
| 165 | + internalType: "uint32", |
| 166 | + name: "entityId", |
| 167 | + type: "uint32", |
| 168 | + }, |
| 169 | + { |
| 170 | + components: [ |
| 171 | + { internalType: "address", name: "sender", type: "address" }, |
| 172 | + { |
| 173 | + internalType: "uint256", |
| 174 | + name: "nonce", |
| 175 | + type: "uint256", |
| 176 | + }, |
| 177 | + { internalType: "bytes", name: "initCode", type: "bytes" }, |
| 178 | + { |
| 179 | + internalType: "bytes", |
| 180 | + name: "callData", |
| 181 | + type: "bytes", |
| 182 | + }, |
| 183 | + { |
| 184 | + internalType: "bytes32", |
| 185 | + name: "accountGasLimits", |
| 186 | + type: "bytes32", |
| 187 | + }, |
| 188 | + { |
| 189 | + internalType: "uint256", |
| 190 | + name: "preVerificationGas", |
| 191 | + type: "uint256", |
| 192 | + }, |
| 193 | + { internalType: "bytes32", name: "gasFees", type: "bytes32" }, |
| 194 | + { |
| 195 | + internalType: "bytes", |
| 196 | + name: "paymasterAndData", |
| 197 | + type: "bytes", |
| 198 | + }, |
| 199 | + { internalType: "bytes", name: "signature", type: "bytes" }, |
| 200 | + ], |
| 201 | + internalType: "struct PackedUserOperation", |
| 202 | + name: "userOp", |
| 203 | + type: "tuple", |
| 204 | + }, |
| 205 | + { internalType: "bytes32", name: "userOpHash", type: "bytes32" }, |
| 206 | + ], |
| 207 | + name: "validateUserOp", |
| 208 | + outputs: [{ internalType: "uint256", name: "", type: "uint256" }], |
| 209 | + stateMutability: "view", |
| 210 | + type: "function", |
| 211 | + }, |
| 212 | +]; |
| 213 | + |
| 214 | +export default SINGLE_SIGNER_VALIDATION_MODULE_ABI; |
0 commit comments