From 36a33422263df56698317f92f85b6facd6039730 Mon Sep 17 00:00:00 2001 From: Adam Gall Date: Sun, 5 May 2024 23:35:44 -0400 Subject: [PATCH] Add FractalRegistryAbi --- src/assets/abi/FractalRegistry.ts | 68 +++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 src/assets/abi/FractalRegistry.ts diff --git a/src/assets/abi/FractalRegistry.ts b/src/assets/abi/FractalRegistry.ts new file mode 100644 index 0000000000..a9857c0cf7 --- /dev/null +++ b/src/assets/abi/FractalRegistry.ts @@ -0,0 +1,68 @@ +const FractalRegistryAbi = [ + { + anonymous: false, + inputs: [ + { + indexed: true, + internalType: 'address', + name: 'daoAddress', + type: 'address', + }, + { + indexed: false, + internalType: 'string', + name: 'daoName', + type: 'string', + }, + ], + name: 'FractalNameUpdated', + type: 'event', + }, + { + anonymous: false, + inputs: [ + { + indexed: true, + internalType: 'address', + name: 'parentDAOAddress', + type: 'address', + }, + { + indexed: true, + internalType: 'address', + name: 'subDAOAddress', + type: 'address', + }, + ], + name: 'FractalSubDAODeclared', + type: 'event', + }, + { + inputs: [ + { + internalType: 'address', + name: '_subDAOAddress', + type: 'address', + }, + ], + name: 'declareSubDAO', + outputs: [], + stateMutability: 'nonpayable', + type: 'function', + }, + { + inputs: [ + { + internalType: 'string', + name: '_name', + type: 'string', + }, + ], + name: 'updateDAOName', + outputs: [], + stateMutability: 'nonpayable', + type: 'function', + }, +] as const; + +export default FractalRegistryAbi;