From fcb89aad7ae236ff64a609b52aaa3427ba6d99ca Mon Sep 17 00:00:00 2001 From: Adam Gall Date: Wed, 15 May 2024 11:27:07 -0400 Subject: [PATCH] Add FractalModuleAbi --- src/assets/abi/FractalModule.ts | 334 ++++++++++++++++++++++++++++++++ 1 file changed, 334 insertions(+) create mode 100644 src/assets/abi/FractalModule.ts diff --git a/src/assets/abi/FractalModule.ts b/src/assets/abi/FractalModule.ts new file mode 100644 index 0000000000..3530aebc49 --- /dev/null +++ b/src/assets/abi/FractalModule.ts @@ -0,0 +1,334 @@ +const FractalModuleAbi = [ + { + inputs: [], + stateMutability: 'nonpayable', + type: 'constructor', + }, + { + inputs: [ + { + internalType: 'address', + name: 'guard_', + type: 'address', + }, + ], + name: 'NotIERC165Compliant', + type: 'error', + }, + { + inputs: [], + name: 'TxFailed', + type: 'error', + }, + { + inputs: [], + name: 'Unauthorized', + type: 'error', + }, + { + anonymous: false, + inputs: [ + { + indexed: true, + internalType: 'address', + name: 'previousAvatar', + type: 'address', + }, + { + indexed: true, + internalType: 'address', + name: 'newAvatar', + type: 'address', + }, + ], + name: 'AvatarSet', + type: 'event', + }, + { + anonymous: false, + inputs: [ + { + indexed: false, + internalType: 'address', + name: 'guard', + type: 'address', + }, + ], + name: 'ChangedGuard', + type: 'event', + }, + { + anonymous: false, + inputs: [ + { + indexed: false, + internalType: 'address[]', + name: 'controllers', + type: 'address[]', + }, + ], + name: 'ControllersAdded', + type: 'event', + }, + { + anonymous: false, + inputs: [ + { + indexed: false, + internalType: 'address[]', + name: 'controllers', + type: 'address[]', + }, + ], + name: 'ControllersRemoved', + type: 'event', + }, + { + anonymous: false, + inputs: [ + { + indexed: false, + internalType: 'uint8', + name: 'version', + type: 'uint8', + }, + ], + name: 'Initialized', + type: 'event', + }, + { + anonymous: false, + inputs: [ + { + indexed: true, + internalType: 'address', + name: 'previousOwner', + type: 'address', + }, + { + indexed: true, + internalType: 'address', + name: 'newOwner', + type: 'address', + }, + ], + name: 'OwnershipTransferred', + type: 'event', + }, + { + anonymous: false, + inputs: [ + { + indexed: true, + internalType: 'address', + name: 'previousTarget', + type: 'address', + }, + { + indexed: true, + internalType: 'address', + name: 'newTarget', + type: 'address', + }, + ], + name: 'TargetSet', + type: 'event', + }, + { + inputs: [ + { + internalType: 'address[]', + name: '_controllers', + type: 'address[]', + }, + ], + name: 'addControllers', + outputs: [], + stateMutability: 'nonpayable', + type: 'function', + }, + { + inputs: [], + name: 'avatar', + outputs: [ + { + internalType: 'address', + name: '', + type: 'address', + }, + ], + stateMutability: 'view', + type: 'function', + }, + { + inputs: [ + { + internalType: 'address', + name: '', + type: 'address', + }, + ], + name: 'controllers', + outputs: [ + { + internalType: 'bool', + name: '', + type: 'bool', + }, + ], + stateMutability: 'view', + type: 'function', + }, + { + inputs: [ + { + internalType: 'bytes', + name: 'execTxData', + type: 'bytes', + }, + ], + name: 'execTx', + outputs: [], + stateMutability: 'nonpayable', + type: 'function', + }, + { + inputs: [], + name: 'getGuard', + outputs: [ + { + internalType: 'address', + name: '_guard', + type: 'address', + }, + ], + stateMutability: 'view', + type: 'function', + }, + { + inputs: [], + name: 'guard', + outputs: [ + { + internalType: 'address', + name: '', + type: 'address', + }, + ], + stateMutability: 'view', + type: 'function', + }, + { + inputs: [], + name: 'owner', + outputs: [ + { + internalType: 'address', + name: '', + type: 'address', + }, + ], + stateMutability: 'view', + type: 'function', + }, + { + inputs: [ + { + internalType: 'address[]', + name: '_controllers', + type: 'address[]', + }, + ], + name: 'removeControllers', + outputs: [], + stateMutability: 'nonpayable', + type: 'function', + }, + { + inputs: [], + name: 'renounceOwnership', + outputs: [], + stateMutability: 'nonpayable', + type: 'function', + }, + { + inputs: [ + { + internalType: 'address', + name: '_avatar', + type: 'address', + }, + ], + name: 'setAvatar', + outputs: [], + stateMutability: 'nonpayable', + type: 'function', + }, + { + inputs: [ + { + internalType: 'address', + name: '_guard', + type: 'address', + }, + ], + name: 'setGuard', + outputs: [], + stateMutability: 'nonpayable', + type: 'function', + }, + { + inputs: [ + { + internalType: 'address', + name: '_target', + type: 'address', + }, + ], + name: 'setTarget', + outputs: [], + stateMutability: 'nonpayable', + type: 'function', + }, + { + inputs: [ + { + internalType: 'bytes', + name: 'initializeParams', + type: 'bytes', + }, + ], + name: 'setUp', + outputs: [], + stateMutability: 'nonpayable', + type: 'function', + }, + { + inputs: [], + name: 'target', + outputs: [ + { + internalType: 'address', + name: '', + type: 'address', + }, + ], + stateMutability: 'view', + type: 'function', + }, + { + inputs: [ + { + internalType: 'address', + name: 'newOwner', + type: 'address', + }, + ], + name: 'transferOwnership', + outputs: [], + stateMutability: 'nonpayable', + type: 'function', + }, +] as const; + +export default FractalModuleAbi;