diff --git a/src/assets/abi/ModuleProxyFactory.ts b/src/assets/abi/ModuleProxyFactory.ts new file mode 100644 index 0000000000..1cbdfdf0f8 --- /dev/null +++ b/src/assets/abi/ModuleProxyFactory.ts @@ -0,0 +1,79 @@ +const ModuleProxyFactoryAbi = [ + { + inputs: [], + name: 'FailedInitialization', + type: 'error', + }, + { + inputs: [ + { + internalType: 'address', + name: 'address_', + type: 'address', + }, + ], + name: 'TakenAddress', + type: 'error', + }, + { + inputs: [ + { + internalType: 'address', + name: 'target', + type: 'address', + }, + ], + name: 'ZeroAddress', + type: 'error', + }, + { + anonymous: false, + inputs: [ + { + indexed: true, + internalType: 'address', + name: 'proxy', + type: 'address', + }, + { + indexed: true, + internalType: 'address', + name: 'masterCopy', + type: 'address', + }, + ], + name: 'ModuleProxyCreation', + type: 'event', + }, + { + inputs: [ + { + internalType: 'address', + name: 'masterCopy', + type: 'address', + }, + { + internalType: 'bytes', + name: 'initializer', + type: 'bytes', + }, + { + internalType: 'uint256', + name: 'saltNonce', + type: 'uint256', + }, + ], + name: 'deployModule', + outputs: [ + { + internalType: 'address', + name: 'proxy', + type: 'address', + }, + ], + stateMutability: 'nonpayable', + type: 'function', + }, +] as const; + +export default ModuleProxyFactoryAbi;