diff --git a/api/abis/Badger.json b/api/abis/Badger.json index 8707112..d2fb139 100644 --- a/api/abis/Badger.json +++ b/api/abis/Badger.json @@ -1,153 +1,9 @@ [ - { - "inputs": [ - { - "internalType": "address", - "name": "_implementation", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "contract BadgerOrganization", - "name": "organization", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "organizationId", - "type": "uint256" - } - ], - "name": "OrganizationCreated", - "type": "event" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "deployer", - "type": "address" - }, - { - "internalType": "string", - "name": "uri", - "type": "string" - }, - { - "internalType": "string", - "name": "organizationURI", - "type": "string" - }, - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "symbol", - "type": "string" - } - ], - "internalType": "struct IBadgerOrganizationStruct.Organization", - "name": "_organization", - "type": "tuple" - } - ], - "name": "createOrganization", - "outputs": [ - { - "internalType": "contract BadgerOrganization", - "name": "badgerOrganization", - "type": "address" - }, - { - "internalType": "uint256", - "name": "organizationId", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_organizationId", - "type": "uint256" - } - ], - "name": "getOrganization", - "outputs": [ - { - "internalType": "contract BadgerOrganization", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "implementation", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "organizations", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } + "constructor(address)", + "event OrganizationCreated(address indexed,address indexed,uint256 indexed)", + "function createOrganization(tuple(address,string,string,string,string)) returns (address, uint256)", + "function getOrganization(uint256) view returns (address)", + "function implementation() view returns (address)", + "function organizations() view returns (uint256)", + "function supportsInterface(bytes4) view returns (bool)" ] diff --git a/api/abis/BadgerForfeitForbidden.json b/api/abis/BadgerForfeitForbidden.json index c29a5b5..7a13727 100644 --- a/api/abis/BadgerForfeitForbidden.json +++ b/api/abis/BadgerForfeitForbidden.json @@ -1,97 +1,8 @@ [ - { - "inputs": [], - "name": "CONFIG_SCHEMA", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "EXECUTE_SCHEMA", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "config", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "execute", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "forbidden", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } + "function CONFIG_SCHEMA() view returns (string)", + "function EXECUTE_SCHEMA() view returns (string)", + "function config(bytes)", + "function execute(bytes)", + "function forbidden(address,uint256) view returns (bool)", + "function supportsInterface(bytes4) view returns (bool)" ] diff --git a/api/abis/BadgerForfeitHook.json b/api/abis/BadgerForfeitHook.json index 1992699..b942126 100644 --- a/api/abis/BadgerForfeitHook.json +++ b/api/abis/BadgerForfeitHook.json @@ -1,73 +1,7 @@ [ - { - "inputs": [], - "name": "CONFIG_SCHEMA", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "EXECUTE_SCHEMA", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "config", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "execute", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } + "function CONFIG_SCHEMA() view returns (string)", + "function EXECUTE_SCHEMA() view returns (string)", + "function config(bytes)", + "function execute(bytes)", + "function supportsInterface(bytes4) view returns (bool)" ] diff --git a/api/abis/BadgerHook.json b/api/abis/BadgerHook.json index 1992699..b942126 100644 --- a/api/abis/BadgerHook.json +++ b/api/abis/BadgerHook.json @@ -1,73 +1,7 @@ [ - { - "inputs": [], - "name": "CONFIG_SCHEMA", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "EXECUTE_SCHEMA", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "config", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "execute", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } + "function CONFIG_SCHEMA() view returns (string)", + "function EXECUTE_SCHEMA() view returns (string)", + "function config(bytes)", + "function execute(bytes)", + "function supportsInterface(bytes4) view returns (bool)" ] diff --git a/api/abis/BadgerHookBlocklist.json b/api/abis/BadgerHookBlocklist.json index d921809..f2851db 100644 --- a/api/abis/BadgerHookBlocklist.json +++ b/api/abis/BadgerHookBlocklist.json @@ -1,97 +1,8 @@ [ - { - "inputs": [], - "name": "CONFIG_SCHEMA", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "EXECUTE_SCHEMA", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "blocked", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "config", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "execute", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } + "function CONFIG_SCHEMA() view returns (string)", + "function EXECUTE_SCHEMA() view returns (string)", + "function blocked(address,address) view returns (bool)", + "function config(bytes)", + "function execute(bytes)", + "function supportsInterface(bytes4) view returns (bool)" ] diff --git a/api/abis/BadgerHookHook.json b/api/abis/BadgerHookHook.json index 1992699..b942126 100644 --- a/api/abis/BadgerHookHook.json +++ b/api/abis/BadgerHookHook.json @@ -1,73 +1,7 @@ [ - { - "inputs": [], - "name": "CONFIG_SCHEMA", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "EXECUTE_SCHEMA", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "config", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "execute", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } + "function CONFIG_SCHEMA() view returns (string)", + "function EXECUTE_SCHEMA() view returns (string)", + "function config(bytes)", + "function execute(bytes)", + "function supportsInterface(bytes4) view returns (bool)" ] diff --git a/api/abis/BadgerHooked.json b/api/abis/BadgerHooked.json index 420d66b..74680d1 100644 --- a/api/abis/BadgerHooked.json +++ b/api/abis/BadgerHooked.json @@ -1,130 +1,10 @@ [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "hookKey", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "HookConfigured", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "hookKey", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "address", - "name": "", - "type": "address" - }, - { - "indexed": true, - "internalType": "bool", - "name": "isHook", - "type": "bool" - } - ], - "name": "HookUpdated", - "type": "event" - }, - { - "inputs": [], - "name": "BEFORE_FORFEIT", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "BEFORE_MINT", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "BEFORE_REVOKE", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "BEFORE_SET_HOOK", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "BEFORE_TRANSFER", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_slot", - "type": "bytes32" - } - ], - "name": "getHooks", - "outputs": [ - { - "internalType": "address[]", - "name": "", - "type": "address[]" - } - ], - "stateMutability": "view", - "type": "function" - } + "event HookConfigured(bytes32 indexed,bytes)", + "event HookUpdated(bytes32 indexed,address,bool indexed)", + "function BEFORE_FORFEIT() view returns (bytes32)", + "function BEFORE_MINT() view returns (bytes32)", + "function BEFORE_REVOKE() view returns (bytes32)", + "function BEFORE_SET_HOOK() view returns (bytes32)", + "function BEFORE_TRANSFER() view returns (bytes32)", + "function getHooks(bytes32) view returns (address[])" ] diff --git a/api/abis/BadgerManaged.json b/api/abis/BadgerManaged.json index 4560641..ad364b1 100644 --- a/api/abis/BadgerManaged.json +++ b/api/abis/BadgerManaged.json @@ -1,59 +1,5 @@ [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "managerKey", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "ManagerConfigured", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "managerKey", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "bool", - "name": "isManager", - "type": "bool" - } - ], - "name": "ManagerUpdated", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "managerKeyToIsManager", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } + "event ManagerConfigured(bytes32 indexed,bytes)", + "event ManagerUpdated(bytes32 indexed,bool indexed)", + "function managerKeyToIsManager(bytes32) view returns (bool)" ] diff --git a/api/abis/BadgerManager.json b/api/abis/BadgerManager.json index 24c4783..dd86501 100644 --- a/api/abis/BadgerManager.json +++ b/api/abis/BadgerManager.json @@ -1,47 +1,5 @@ [ - { - "inputs": [], - "name": "CONFIG_SCHEMA", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "config", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } + "function CONFIG_SCHEMA() view returns (string)", + "function config(bytes)", + "function supportsInterface(bytes4) view returns (bool)" ] diff --git a/api/abis/BadgerManagerClaimable.json b/api/abis/BadgerManagerClaimable.json index 4213f5c..df02187 100644 --- a/api/abis/BadgerManagerClaimable.json +++ b/api/abis/BadgerManagerClaimable.json @@ -1,94 +1,7 @@ [ - { - "inputs": [], - "name": "CONFIG_SCHEMA", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "amounts", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "config", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_targetOrganization", - "type": "address" - }, - { - "internalType": "uint256", - "name": "_id", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "mint", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } + "function CONFIG_SCHEMA() view returns (string)", + "function amounts(address,uint256) view returns (uint256)", + "function config(bytes)", + "function mint(address,uint256,bytes)", + "function supportsInterface(bytes4) view returns (bool)" ] diff --git a/api/abis/BadgerManagerSignature.json b/api/abis/BadgerManagerSignature.json index a9f51ea..0d7970c 100644 --- a/api/abis/BadgerManagerSignature.json +++ b/api/abis/BadgerManagerSignature.json @@ -1,114 +1,7 @@ [ - { - "inputs": [], - "name": "CONFIG_SCHEMA", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "config", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_targetOrganization", - "type": "address" - }, - { - "internalType": "uint256", - "name": "_id", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "_amount", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - }, - { - "internalType": "bytes", - "name": "_signature", - "type": "bytes" - }, - { - "internalType": "uint256", - "name": "_nonce", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "_deadline", - "type": "uint256" - } - ], - "name": "mint", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "signers", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } + "function CONFIG_SCHEMA() view returns (string)", + "function config(bytes)", + "function mint(address,uint256,uint256,bytes,bytes,uint256,uint256)", + "function signers(address,uint256) view returns (address)", + "function supportsInterface(bytes4) view returns (bool)" ] diff --git a/api/abis/BadgerMintHook.json b/api/abis/BadgerMintHook.json index 1992699..b942126 100644 --- a/api/abis/BadgerMintHook.json +++ b/api/abis/BadgerMintHook.json @@ -1,73 +1,7 @@ [ - { - "inputs": [], - "name": "CONFIG_SCHEMA", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "EXECUTE_SCHEMA", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "config", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "execute", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } + "function CONFIG_SCHEMA() view returns (string)", + "function EXECUTE_SCHEMA() view returns (string)", + "function config(bytes)", + "function execute(bytes)", + "function supportsInterface(bytes4) view returns (bool)" ] diff --git a/api/abis/BadgerMintMax.json b/api/abis/BadgerMintMax.json index 5541dd1..b851ee2 100644 --- a/api/abis/BadgerMintMax.json +++ b/api/abis/BadgerMintMax.json @@ -1,126 +1,9 @@ [ - { - "inputs": [], - "name": "CONFIG_SCHEMA", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "EXECUTE_SCHEMA", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "config", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "execute", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "maxMint", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "minted", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } + "function CONFIG_SCHEMA() view returns (string)", + "function EXECUTE_SCHEMA() view returns (string)", + "function config(bytes)", + "function execute(bytes)", + "function maxMint(address,uint256) view returns (uint256)", + "function minted(address,uint256,address) view returns (uint256)", + "function supportsInterface(bytes4) view returns (bool)" ] diff --git a/api/abis/BadgerMintMaxAllowance.json b/api/abis/BadgerMintMaxAllowance.json index 5541dd1..b851ee2 100644 --- a/api/abis/BadgerMintMaxAllowance.json +++ b/api/abis/BadgerMintMaxAllowance.json @@ -1,126 +1,9 @@ [ - { - "inputs": [], - "name": "CONFIG_SCHEMA", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "EXECUTE_SCHEMA", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "config", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "execute", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "maxMint", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "minted", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } + "function CONFIG_SCHEMA() view returns (string)", + "function EXECUTE_SCHEMA() view returns (string)", + "function config(bytes)", + "function execute(bytes)", + "function maxMint(address,uint256) view returns (uint256)", + "function minted(address,uint256,address) view returns (uint256)", + "function supportsInterface(bytes4) view returns (bool)" ] diff --git a/api/abis/BadgerMintMaxSupply.json b/api/abis/BadgerMintMaxSupply.json index a0fa952..12613fc 100644 --- a/api/abis/BadgerMintMaxSupply.json +++ b/api/abis/BadgerMintMaxSupply.json @@ -1,121 +1,9 @@ [ - { - "inputs": [], - "name": "CONFIG_SCHEMA", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "EXECUTE_SCHEMA", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "config", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "execute", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "maxSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "totalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - } + "function CONFIG_SCHEMA() view returns (string)", + "function EXECUTE_SCHEMA() view returns (string)", + "function config(bytes)", + "function execute(bytes)", + "function maxSupply(address,uint256) view returns (uint256)", + "function supportsInterface(bytes4) view returns (bool)", + "function totalSupply(address,uint256) view returns (uint256)" ] diff --git a/api/abis/BadgerMintSelf.json b/api/abis/BadgerMintSelf.json index 3cea16a..d2a51b6 100644 --- a/api/abis/BadgerMintSelf.json +++ b/api/abis/BadgerMintSelf.json @@ -1,97 +1,8 @@ [ - { - "inputs": [], - "name": "CONFIG_SCHEMA", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "EXECUTE_SCHEMA", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "config", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "execute", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "selfOperated", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } + "function CONFIG_SCHEMA() view returns (string)", + "function EXECUTE_SCHEMA() view returns (string)", + "function config(bytes)", + "function execute(bytes)", + "function selfOperated(address,uint256) view returns (bool)", + "function supportsInterface(bytes4) view returns (bool)" ] diff --git a/api/abis/BadgerOrganization.json b/api/abis/BadgerOrganization.json index d2fe94c..f90298c 100644 --- a/api/abis/BadgerOrganization.json +++ b/api/abis/BadgerOrganization.json @@ -1,1034 +1,53 @@ [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "hookKey", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "HookConfigured", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "hookKey", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "address", - "name": "", - "type": "address" - }, - { - "indexed": true, - "internalType": "bool", - "name": "isHook", - "type": "bool" - } - ], - "name": "HookUpdated", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint8", - "name": "version", - "type": "uint8" - } - ], - "name": "Initialized", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "managerKey", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "ManagerConfigured", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "managerKey", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "bool", - "name": "isManager", - "type": "bool" - } - ], - "name": "ManagerUpdated", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "organizationURI", - "type": "string" - } - ], - "name": "OrganizationUpdated", - "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": "operator", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256[]", - "name": "ids", - "type": "uint256[]" - }, - { - "indexed": false, - "internalType": "uint256[]", - "name": "values", - "type": "uint256[]" - } - ], - "name": "TransferBatch", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "id", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "TransferSingle", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "value", - "type": "string" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "id", - "type": "uint256" - } - ], - "name": "URI", - "type": "event" - }, - { - "inputs": [], - "name": "BEFORE_FORFEIT", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "BEFORE_MINT", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "BEFORE_REVOKE", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "BEFORE_SET_HOOK", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "BEFORE_TRANSFER", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "internalType": "uint256", - "name": "id", - "type": "uint256" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address[]", - "name": "accounts", - "type": "address[]" - }, - { - "internalType": "uint256[]", - "name": "ids", - "type": "uint256[]" - } - ], - "name": "balanceOfBatch", - "outputs": [ - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_slot", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "_slotHook", - "type": "address" - }, - { - "internalType": "bytes", - "name": "_config", - "type": "bytes" - } - ], - "name": "configHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_manager", - "type": "address" - }, - { - "internalType": "bytes", - "name": "_config", - "type": "bytes" - } - ], - "name": "configManager", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_id", - "type": "uint256" - }, - { - "internalType": "address", - "name": "_manager", - "type": "address" - }, - { - "internalType": "bytes", - "name": "_config", - "type": "bytes" - } - ], - "name": "configManager", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "contractURI", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_id", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "_amount", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "", - "type": "bytes" - } - ], - "name": "forfeit", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_slot", - "type": "bytes32" - } - ], - "name": "getHooks", - "outputs": [ - { - "internalType": "address[]", - "name": "", - "type": "address[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "deployer", - "type": "address" - }, - { - "internalType": "string", - "name": "uri", - "type": "string" - }, - { - "internalType": "string", - "name": "organizationURI", - "type": "string" - }, - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "symbol", - "type": "string" - } - ], - "internalType": "struct IBadgerOrganizationStruct.Organization", - "name": "_organization", - "type": "tuple" - } - ], - "name": "initialize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "name": "isApprovedForAll", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_id", - "type": "uint256" - }, - { - "internalType": "address", - "name": "_address", - "type": "address" - } - ], - "name": "isBadgeManager", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_address", - "type": "address" - } - ], - "name": "isOrganizationManager", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "managerKeyToIsManager", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "_id", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "_amount", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "mint", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address[]", - "name": "_tos", - "type": "address[]" - }, - { - "internalType": "uint256", - "name": "_id", - "type": "uint256" - }, - { - "internalType": "uint256[]", - "name": "_amounts", - "type": "uint256[]" - }, - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "mintBatch", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes[]", - "name": "data", - "type": "bytes[]" - } - ], - "name": "multicall", - "outputs": [ - { - "internalType": "bytes[]", - "name": "", - "type": "bytes[]" - } - ], - "stateMutability": "payable", - "type": "function" - }, - { - "inputs": [], - "name": "name", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "organizationURI", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_from", - "type": "address" - }, - { - "internalType": "uint256", - "name": "_id", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "_amount", - "type": "uint256" - } - ], - "name": "revoke", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address[]", - "name": "_froms", - "type": "address[]" - }, - { - "internalType": "uint256", - "name": "_id", - "type": "uint256" - }, - { - "internalType": "uint256[]", - "name": "_amounts", - "type": "uint256[]" - } - ], - "name": "revokeBatch", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256[]", - "name": "ids", - "type": "uint256[]" - }, - { - "internalType": "uint256[]", - "name": "amounts", - "type": "uint256[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "safeBatchTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "id", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "setApprovalForAll", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_id", - "type": "uint256" - }, - { - "internalType": "string", - "name": "_uri", - "type": "string" - } - ], - "name": "setBadgeURI", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_slot", - "type": "bytes32" - }, - { - "internalType": "address[]", - "name": "_hooks", - "type": "address[]" - }, - { - "internalType": "bool[]", - "name": "_isHook", - "type": "bool[]" - } - ], - "name": "setHooks", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address[]", - "name": "_managers", - "type": "address[]" - }, - { - "internalType": "bool[]", - "name": "_isManager", - "type": "bool[]" - } - ], - "name": "setManagers", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_id", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "_managers", - "type": "address[]" - }, - { - "internalType": "bool[]", - "name": "_isManager", - "type": "bool[]" - } - ], - "name": "setManagers", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "_uri", - "type": "string" - } - ], - "name": "setOrganizationURI", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "symbol", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_id", - "type": "uint256" - } - ], - "name": "uri", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "uris", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - } + "event ApprovalForAll(address indexed,address indexed,bool)", + "event HookConfigured(bytes32 indexed,bytes)", + "event HookUpdated(bytes32 indexed,address,bool indexed)", + "event Initialized(uint8)", + "event ManagerConfigured(bytes32 indexed,bytes)", + "event ManagerUpdated(bytes32 indexed,bool indexed)", + "event OrganizationUpdated(string)", + "event OwnershipTransferred(address indexed,address indexed)", + "event TransferBatch(address indexed,address indexed,address indexed,uint256[],uint256[])", + "event TransferSingle(address indexed,address indexed,address indexed,uint256,uint256)", + "event URI(string,uint256 indexed)", + "function BEFORE_FORFEIT() view returns (bytes32)", + "function BEFORE_MINT() view returns (bytes32)", + "function BEFORE_REVOKE() view returns (bytes32)", + "function BEFORE_SET_HOOK() view returns (bytes32)", + "function BEFORE_TRANSFER() view returns (bytes32)", + "function balanceOf(address,uint256) view returns (uint256)", + "function balanceOfBatch(address[],uint256[]) view returns (uint256[])", + "function configHook(bytes32,address,bytes)", + "function configManager(address,bytes)", + "function configManager(uint256,address,bytes)", + "function contractURI() view returns (string)", + "function forfeit(uint256,uint256,bytes)", + "function getHooks(bytes32) view returns (address[])", + "function initialize(tuple(address,string,string,string,string))", + "function isApprovedForAll(address,address) view returns (bool)", + "function isBadgeManager(uint256,address) view returns (bool)", + "function isOrganizationManager(address) view returns (bool)", + "function managerKeyToIsManager(bytes32) view returns (bool)", + "function mint(address,uint256,uint256,bytes)", + "function mintBatch(address[],uint256,uint256[],bytes)", + "function multicall(bytes[]) payable returns (bytes[])", + "function name() view returns (string)", + "function organizationURI() view returns (string)", + "function owner() view returns (address)", + "function renounceOwnership()", + "function revoke(address,uint256,uint256)", + "function revokeBatch(address[],uint256,uint256[])", + "function safeBatchTransferFrom(address,address,uint256[],uint256[],bytes)", + "function safeTransferFrom(address,address,uint256,uint256,bytes)", + "function setApprovalForAll(address,bool)", + "function setBadgeURI(uint256,string)", + "function setHooks(bytes32,address[],bool[])", + "function setManagers(address[],bool[])", + "function setManagers(uint256,address[],bool[])", + "function setOrganizationURI(string)", + "function supportsInterface(bytes4) view returns (bool)", + "function symbol() view returns (string)", + "function transferOwnership(address)", + "function uri(uint256) view returns (string)", + "function uris(uint256) view returns (string)" ] diff --git a/api/abis/BadgerOrganizationLogic.json b/api/abis/BadgerOrganizationLogic.json index a15ac2c..f5f29a8 100644 --- a/api/abis/BadgerOrganizationLogic.json +++ b/api/abis/BadgerOrganizationLogic.json @@ -1,882 +1,47 @@ [ - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "hookKey", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "HookConfigured", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "hookKey", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "address", - "name": "", - "type": "address" - }, - { - "indexed": true, - "internalType": "bool", - "name": "isHook", - "type": "bool" - } - ], - "name": "HookUpdated", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint8", - "name": "version", - "type": "uint8" - } - ], - "name": "Initialized", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "managerKey", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "ManagerConfigured", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "managerKey", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "bool", - "name": "isManager", - "type": "bool" - } - ], - "name": "ManagerUpdated", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "organizationURI", - "type": "string" - } - ], - "name": "OrganizationUpdated", - "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": "operator", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256[]", - "name": "ids", - "type": "uint256[]" - }, - { - "indexed": false, - "internalType": "uint256[]", - "name": "values", - "type": "uint256[]" - } - ], - "name": "TransferBatch", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "id", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "TransferSingle", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "value", - "type": "string" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "id", - "type": "uint256" - } - ], - "name": "URI", - "type": "event" - }, - { - "inputs": [], - "name": "BEFORE_FORFEIT", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "BEFORE_MINT", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "BEFORE_REVOKE", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "BEFORE_SET_HOOK", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "BEFORE_TRANSFER", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "internalType": "uint256", - "name": "id", - "type": "uint256" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address[]", - "name": "accounts", - "type": "address[]" - }, - { - "internalType": "uint256[]", - "name": "ids", - "type": "uint256[]" - } - ], - "name": "balanceOfBatch", - "outputs": [ - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_slot", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "_slotHook", - "type": "address" - }, - { - "internalType": "bytes", - "name": "_config", - "type": "bytes" - } - ], - "name": "configHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_manager", - "type": "address" - }, - { - "internalType": "bytes", - "name": "_config", - "type": "bytes" - } - ], - "name": "configManager", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_id", - "type": "uint256" - }, - { - "internalType": "address", - "name": "_manager", - "type": "address" - }, - { - "internalType": "bytes", - "name": "_config", - "type": "bytes" - } - ], - "name": "configManager", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_slot", - "type": "bytes32" - } - ], - "name": "getHooks", - "outputs": [ - { - "internalType": "address[]", - "name": "", - "type": "address[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "deployer", - "type": "address" - }, - { - "internalType": "string", - "name": "uri", - "type": "string" - }, - { - "internalType": "string", - "name": "organizationURI", - "type": "string" - }, - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "symbol", - "type": "string" - } - ], - "internalType": "struct IBadgerOrganizationStruct.Organization", - "name": "_organization", - "type": "tuple" - } - ], - "name": "initialize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "name": "isApprovedForAll", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_id", - "type": "uint256" - }, - { - "internalType": "address", - "name": "_address", - "type": "address" - } - ], - "name": "isBadgeManager", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_address", - "type": "address" - } - ], - "name": "isOrganizationManager", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "name": "managerKeyToIsManager", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "name", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "organizationURI", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256[]", - "name": "ids", - "type": "uint256[]" - }, - { - "internalType": "uint256[]", - "name": "amounts", - "type": "uint256[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "safeBatchTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "id", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "setApprovalForAll", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_id", - "type": "uint256" - }, - { - "internalType": "string", - "name": "_uri", - "type": "string" - } - ], - "name": "setBadgeURI", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_slot", - "type": "bytes32" - }, - { - "internalType": "address[]", - "name": "_hooks", - "type": "address[]" - }, - { - "internalType": "bool[]", - "name": "_isHook", - "type": "bool[]" - } - ], - "name": "setHooks", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address[]", - "name": "_managers", - "type": "address[]" - }, - { - "internalType": "bool[]", - "name": "_isManager", - "type": "bool[]" - } - ], - "name": "setManagers", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_id", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "_managers", - "type": "address[]" - }, - { - "internalType": "bool[]", - "name": "_isManager", - "type": "bool[]" - } - ], - "name": "setManagers", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "_uri", - "type": "string" - } - ], - "name": "setOrganizationURI", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "symbol", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "uri", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "uris", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - } + "constructor()", + "event ApprovalForAll(address indexed,address indexed,bool)", + "event HookConfigured(bytes32 indexed,bytes)", + "event HookUpdated(bytes32 indexed,address,bool indexed)", + "event Initialized(uint8)", + "event ManagerConfigured(bytes32 indexed,bytes)", + "event ManagerUpdated(bytes32 indexed,bool indexed)", + "event OrganizationUpdated(string)", + "event OwnershipTransferred(address indexed,address indexed)", + "event TransferBatch(address indexed,address indexed,address indexed,uint256[],uint256[])", + "event TransferSingle(address indexed,address indexed,address indexed,uint256,uint256)", + "event URI(string,uint256 indexed)", + "function BEFORE_FORFEIT() view returns (bytes32)", + "function BEFORE_MINT() view returns (bytes32)", + "function BEFORE_REVOKE() view returns (bytes32)", + "function BEFORE_SET_HOOK() view returns (bytes32)", + "function BEFORE_TRANSFER() view returns (bytes32)", + "function balanceOf(address,uint256) view returns (uint256)", + "function balanceOfBatch(address[],uint256[]) view returns (uint256[])", + "function configHook(bytes32,address,bytes)", + "function configManager(address,bytes)", + "function configManager(uint256,address,bytes)", + "function getHooks(bytes32) view returns (address[])", + "function initialize(tuple(address,string,string,string,string))", + "function isApprovedForAll(address,address) view returns (bool)", + "function isBadgeManager(uint256,address) view returns (bool)", + "function isOrganizationManager(address) view returns (bool)", + "function managerKeyToIsManager(bytes32) view returns (bool)", + "function name() view returns (string)", + "function organizationURI() view returns (string)", + "function owner() view returns (address)", + "function renounceOwnership()", + "function safeBatchTransferFrom(address,address,uint256[],uint256[],bytes)", + "function safeTransferFrom(address,address,uint256,uint256,bytes)", + "function setApprovalForAll(address,bool)", + "function setBadgeURI(uint256,string)", + "function setHooks(bytes32,address[],bool[])", + "function setManagers(address[],bool[])", + "function setManagers(uint256,address[],bool[])", + "function setOrganizationURI(string)", + "function supportsInterface(bytes4) view returns (bool)", + "function symbol() view returns (string)", + "function transferOwnership(address)", + "function uri(uint256) view returns (string)", + "function uris(uint256) view returns (string)" ] diff --git a/api/abis/BadgerRevokeForbidden.json b/api/abis/BadgerRevokeForbidden.json index c29a5b5..7a13727 100644 --- a/api/abis/BadgerRevokeForbidden.json +++ b/api/abis/BadgerRevokeForbidden.json @@ -1,97 +1,8 @@ [ - { - "inputs": [], - "name": "CONFIG_SCHEMA", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "EXECUTE_SCHEMA", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "config", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "execute", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "forbidden", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } + "function CONFIG_SCHEMA() view returns (string)", + "function EXECUTE_SCHEMA() view returns (string)", + "function config(bytes)", + "function execute(bytes)", + "function forbidden(address,uint256) view returns (bool)", + "function supportsInterface(bytes4) view returns (bool)" ] diff --git a/api/abis/BadgerRevokeHook.json b/api/abis/BadgerRevokeHook.json index 1992699..b942126 100644 --- a/api/abis/BadgerRevokeHook.json +++ b/api/abis/BadgerRevokeHook.json @@ -1,73 +1,7 @@ [ - { - "inputs": [], - "name": "CONFIG_SCHEMA", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "EXECUTE_SCHEMA", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "config", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "execute", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } + "function CONFIG_SCHEMA() view returns (string)", + "function EXECUTE_SCHEMA() view returns (string)", + "function config(bytes)", + "function execute(bytes)", + "function supportsInterface(bytes4) view returns (bool)" ] diff --git a/api/abis/BadgerTransferBlocklist.json b/api/abis/BadgerTransferBlocklist.json index d921809..f2851db 100644 --- a/api/abis/BadgerTransferBlocklist.json +++ b/api/abis/BadgerTransferBlocklist.json @@ -1,97 +1,8 @@ [ - { - "inputs": [], - "name": "CONFIG_SCHEMA", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "EXECUTE_SCHEMA", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "blocked", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "config", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "execute", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } + "function CONFIG_SCHEMA() view returns (string)", + "function EXECUTE_SCHEMA() view returns (string)", + "function blocked(address,address) view returns (bool)", + "function config(bytes)", + "function execute(bytes)", + "function supportsInterface(bytes4) view returns (bool)" ] diff --git a/api/abis/BadgerTransferBound.json b/api/abis/BadgerTransferBound.json index 32ee627..16ccda2 100644 --- a/api/abis/BadgerTransferBound.json +++ b/api/abis/BadgerTransferBound.json @@ -1,97 +1,8 @@ [ - { - "inputs": [], - "name": "CONFIG_SCHEMA", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "EXECUTE_SCHEMA", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "accountBound", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "config", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "execute", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } + "function CONFIG_SCHEMA() view returns (string)", + "function EXECUTE_SCHEMA() view returns (string)", + "function accountBound(address,uint256) view returns (bool)", + "function config(bytes)", + "function execute(bytes)", + "function supportsInterface(bytes4) view returns (bool)" ] diff --git a/api/abis/BadgerTransferBoundManaged.json b/api/abis/BadgerTransferBoundManaged.json index 32ee627..16ccda2 100644 --- a/api/abis/BadgerTransferBoundManaged.json +++ b/api/abis/BadgerTransferBoundManaged.json @@ -1,97 +1,8 @@ [ - { - "inputs": [], - "name": "CONFIG_SCHEMA", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "EXECUTE_SCHEMA", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - }, - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "accountBound", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "config", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "execute", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } + "function CONFIG_SCHEMA() view returns (string)", + "function EXECUTE_SCHEMA() view returns (string)", + "function accountBound(address,uint256) view returns (bool)", + "function config(bytes)", + "function execute(bytes)", + "function supportsInterface(bytes4) view returns (bool)" ] diff --git a/api/abis/BadgerTransferHook.json b/api/abis/BadgerTransferHook.json index 1992699..b942126 100644 --- a/api/abis/BadgerTransferHook.json +++ b/api/abis/BadgerTransferHook.json @@ -1,73 +1,7 @@ [ - { - "inputs": [], - "name": "CONFIG_SCHEMA", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "EXECUTE_SCHEMA", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "config", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "execute", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } + "function CONFIG_SCHEMA() view returns (string)", + "function EXECUTE_SCHEMA() view returns (string)", + "function config(bytes)", + "function execute(bytes)", + "function supportsInterface(bytes4) view returns (bool)" ] diff --git a/api/abis/ContextUpgradeable.json b/api/abis/ContextUpgradeable.json index 2347c02..a585a1e 100644 --- a/api/abis/ContextUpgradeable.json +++ b/api/abis/ContextUpgradeable.json @@ -1,15 +1,3 @@ [ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint8", - "name": "version", - "type": "uint8" - } - ], - "name": "Initialized", - "type": "event" - } + "event Initialized(uint8)" ] diff --git a/api/abis/ERC1155Upgradeable.json b/api/abis/ERC1155Upgradeable.json index 9576d0d..26fc38f 100644 --- a/api/abis/ERC1155Upgradeable.json +++ b/api/abis/ERC1155Upgradeable.json @@ -1,327 +1,15 @@ [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "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": "operator", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256[]", - "name": "ids", - "type": "uint256[]" - }, - { - "indexed": false, - "internalType": "uint256[]", - "name": "values", - "type": "uint256[]" - } - ], - "name": "TransferBatch", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "id", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "TransferSingle", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "value", - "type": "string" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "id", - "type": "uint256" - } - ], - "name": "URI", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "internalType": "uint256", - "name": "id", - "type": "uint256" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address[]", - "name": "accounts", - "type": "address[]" - }, - { - "internalType": "uint256[]", - "name": "ids", - "type": "uint256[]" - } - ], - "name": "balanceOfBatch", - "outputs": [ - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "name": "isApprovedForAll", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256[]", - "name": "ids", - "type": "uint256[]" - }, - { - "internalType": "uint256[]", - "name": "amounts", - "type": "uint256[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "safeBatchTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "id", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "setApprovalForAll", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "uri", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - } + "event ApprovalForAll(address indexed,address indexed,bool)", + "event Initialized(uint8)", + "event TransferBatch(address indexed,address indexed,address indexed,uint256[],uint256[])", + "event TransferSingle(address indexed,address indexed,address indexed,uint256,uint256)", + "event URI(string,uint256 indexed)", + "function balanceOf(address,uint256) view returns (uint256)", + "function balanceOfBatch(address[],uint256[]) view returns (uint256[])", + "function isApprovedForAll(address,address) view returns (bool)", + "function safeBatchTransferFrom(address,address,uint256[],uint256[],bytes)", + "function safeTransferFrom(address,address,uint256,uint256,bytes)", + "function setApprovalForAll(address,bool)", + "function supportsInterface(bytes4) view returns (bool)", + "function uri(uint256) view returns (string)" ] diff --git a/api/abis/ERC165.json b/api/abis/ERC165.json index 6e166b5..86c9f4e 100644 --- a/api/abis/ERC165.json +++ b/api/abis/ERC165.json @@ -1,21 +1,3 @@ [ - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } + "function supportsInterface(bytes4) view returns (bool)" ] diff --git a/api/abis/ERC165Upgradeable.json b/api/abis/ERC165Upgradeable.json index 4be2528..3af1cab 100644 --- a/api/abis/ERC165Upgradeable.json +++ b/api/abis/ERC165Upgradeable.json @@ -1,34 +1,4 @@ [ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint8", - "name": "version", - "type": "uint8" - } - ], - "name": "Initialized", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } + "event Initialized(uint8)", + "function supportsInterface(bytes4) view returns (bool)" ] diff --git a/api/abis/IBadger.json b/api/abis/IBadger.json index 1ca768b..7aa0bce 100644 --- a/api/abis/IBadger.json +++ b/api/abis/IBadger.json @@ -1,97 +1,5 @@ [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "contract BadgerOrganization", - "name": "organization", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "owner", - "type": "address" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "organizationId", - "type": "uint256" - } - ], - "name": "OrganizationCreated", - "type": "event" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "address", - "name": "deployer", - "type": "address" - }, - { - "internalType": "string", - "name": "uri", - "type": "string" - }, - { - "internalType": "string", - "name": "organizationURI", - "type": "string" - }, - { - "internalType": "string", - "name": "name", - "type": "string" - }, - { - "internalType": "string", - "name": "symbol", - "type": "string" - } - ], - "internalType": "struct IBadgerOrganizationStruct.Organization", - "name": "_organization", - "type": "tuple" - } - ], - "name": "createOrganization", - "outputs": [ - { - "internalType": "contract BadgerOrganization", - "name": "badgerOrganization", - "type": "address" - }, - { - "internalType": "uint256", - "name": "organizationId", - "type": "uint256" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_organizationId", - "type": "uint256" - } - ], - "name": "getOrganization", - "outputs": [ - { - "internalType": "contract BadgerOrganization", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - } + "event OrganizationCreated(address indexed,address indexed,uint256 indexed)", + "function createOrganization(tuple(address,string,string,string,string)) returns (address, uint256)", + "function getOrganization(uint256) view returns (address)" ] diff --git a/api/abis/IBadgerConfigured.json b/api/abis/IBadgerConfigured.json index d2fb1ae..a723d1a 100644 --- a/api/abis/IBadgerConfigured.json +++ b/api/abis/IBadgerConfigured.json @@ -1,28 +1,4 @@ [ - { - "inputs": [], - "name": "CONFIG_SCHEMA", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "config", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } + "function CONFIG_SCHEMA() view returns (string)", + "function config(bytes)" ] diff --git a/api/abis/IBadgerHook.json b/api/abis/IBadgerHook.json index d62d157..b04cf0d 100644 --- a/api/abis/IBadgerHook.json +++ b/api/abis/IBadgerHook.json @@ -1,54 +1,6 @@ [ - { - "inputs": [], - "name": "CONFIG_SCHEMA", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "EXECUTE_SCHEMA", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "config", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "execute", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } + "function CONFIG_SCHEMA() view returns (string)", + "function EXECUTE_SCHEMA() view returns (string)", + "function config(bytes)", + "function execute(bytes)" ] diff --git a/api/abis/IBadgerHooked.json b/api/abis/IBadgerHooked.json index 28c34e5..e7e5281 100644 --- a/api/abis/IBadgerHooked.json +++ b/api/abis/IBadgerHooked.json @@ -1,65 +1,5 @@ [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "hookKey", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "HookConfigured", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "hookKey", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "address", - "name": "", - "type": "address" - }, - { - "indexed": true, - "internalType": "bool", - "name": "isHook", - "type": "bool" - } - ], - "name": "HookUpdated", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_slot", - "type": "bytes32" - } - ], - "name": "getHooks", - "outputs": [ - { - "internalType": "address[]", - "name": "", - "type": "address[]" - } - ], - "stateMutability": "view", - "type": "function" - } + "event HookConfigured(bytes32 indexed,bytes)", + "event HookUpdated(bytes32 indexed,address,bool indexed)", + "function getHooks(bytes32) view returns (address[])" ] diff --git a/api/abis/IBadgerManaged.json b/api/abis/IBadgerManaged.json index b7d9f95..a0f39ca 100644 --- a/api/abis/IBadgerManaged.json +++ b/api/abis/IBadgerManaged.json @@ -1,40 +1,4 @@ [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "managerKey", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "ManagerConfigured", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes32", - "name": "managerKey", - "type": "bytes32" - }, - { - "indexed": true, - "internalType": "bool", - "name": "isManager", - "type": "bool" - } - ], - "name": "ManagerUpdated", - "type": "event" - } + "event ManagerConfigured(bytes32 indexed,bytes)", + "event ManagerUpdated(bytes32 indexed,bool indexed)" ] diff --git a/api/abis/IBadgerOrganization.json b/api/abis/IBadgerOrganization.json index 4863660..d1bc8d6 100644 --- a/api/abis/IBadgerOrganization.json +++ b/api/abis/IBadgerOrganization.json @@ -1,127 +1,7 @@ [ - { - "inputs": [ - { - "internalType": "uint256", - "name": "_id", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "_amount", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "forfeit", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "_id", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "_amount", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "mint", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address[]", - "name": "_tos", - "type": "address[]" - }, - { - "internalType": "uint256", - "name": "_id", - "type": "uint256" - }, - { - "internalType": "uint256[]", - "name": "_amounts", - "type": "uint256[]" - }, - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "mintBatch", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_from", - "type": "address" - }, - { - "internalType": "uint256", - "name": "_id", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "_amount", - "type": "uint256" - } - ], - "name": "revoke", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address[]", - "name": "_froms", - "type": "address[]" - }, - { - "internalType": "uint256", - "name": "_id", - "type": "uint256" - }, - { - "internalType": "uint256[]", - "name": "_amounts", - "type": "uint256[]" - } - ], - "name": "revokeBatch", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } + "function forfeit(uint256,uint256,bytes)", + "function mint(address,uint256,uint256,bytes)", + "function mintBatch(address[],uint256,uint256[],bytes)", + "function revoke(address,uint256,uint256)", + "function revokeBatch(address[],uint256,uint256[])" ] diff --git a/api/abis/IBadgerOrganizationLogic.json b/api/abis/IBadgerOrganizationLogic.json index 2a7acf4..6cf60c2 100644 --- a/api/abis/IBadgerOrganizationLogic.json +++ b/api/abis/IBadgerOrganizationLogic.json @@ -1,217 +1,13 @@ [ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "organizationURI", - "type": "string" - } - ], - "name": "OrganizationUpdated", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_slot", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "_hook", - "type": "address" - }, - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "configHook", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_manager", - "type": "address" - }, - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "configManager", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_id", - "type": "uint256" - }, - { - "internalType": "address", - "name": "_manager", - "type": "address" - }, - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "configManager", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_id", - "type": "uint256" - }, - { - "internalType": "address", - "name": "_manager", - "type": "address" - } - ], - "name": "isBadgeManager", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_manager", - "type": "address" - } - ], - "name": "isOrganizationManager", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_id", - "type": "uint256" - }, - { - "internalType": "string", - "name": "_uri", - "type": "string" - } - ], - "name": "setBadgeURI", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes32", - "name": "_slot", - "type": "bytes32" - }, - { - "internalType": "address[]", - "name": "_hooks", - "type": "address[]" - }, - { - "internalType": "bool[]", - "name": "_isHook", - "type": "bool[]" - } - ], - "name": "setHooks", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address[]", - "name": "_managers", - "type": "address[]" - }, - { - "internalType": "bool[]", - "name": "_isManager", - "type": "bool[]" - } - ], - "name": "setManagers", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_id", - "type": "uint256" - }, - { - "internalType": "address[]", - "name": "_managers", - "type": "address[]" - }, - { - "internalType": "bool[]", - "name": "_isManager", - "type": "bool[]" - } - ], - "name": "setManagers", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "string", - "name": "_uri", - "type": "string" - } - ], - "name": "setOrganizationURI", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } + "event OrganizationUpdated(string)", + "function configHook(bytes32,address,bytes)", + "function configManager(address,bytes)", + "function configManager(uint256,address,bytes)", + "function isBadgeManager(uint256,address) view returns (bool)", + "function isOrganizationManager(address) view returns (bool)", + "function setBadgeURI(uint256,string)", + "function setHooks(bytes32,address[],bool[])", + "function setManagers(address[],bool[])", + "function setManagers(uint256,address[],bool[])", + "function setOrganizationURI(string)" ] diff --git a/api/abis/IERC1155MetadataURIUpgradeable.json b/api/abis/IERC1155MetadataURIUpgradeable.json index a4d1d60..8aa4b39 100644 --- a/api/abis/IERC1155MetadataURIUpgradeable.json +++ b/api/abis/IERC1155MetadataURIUpgradeable.json @@ -1,314 +1,14 @@ [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256[]", - "name": "ids", - "type": "uint256[]" - }, - { - "indexed": false, - "internalType": "uint256[]", - "name": "values", - "type": "uint256[]" - } - ], - "name": "TransferBatch", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "id", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "TransferSingle", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "value", - "type": "string" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "id", - "type": "uint256" - } - ], - "name": "URI", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "internalType": "uint256", - "name": "id", - "type": "uint256" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address[]", - "name": "accounts", - "type": "address[]" - }, - { - "internalType": "uint256[]", - "name": "ids", - "type": "uint256[]" - } - ], - "name": "balanceOfBatch", - "outputs": [ - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "name": "isApprovedForAll", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256[]", - "name": "ids", - "type": "uint256[]" - }, - { - "internalType": "uint256[]", - "name": "amounts", - "type": "uint256[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "safeBatchTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "id", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "setApprovalForAll", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "id", - "type": "uint256" - } - ], - "name": "uri", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "stateMutability": "view", - "type": "function" - } + "event ApprovalForAll(address indexed,address indexed,bool)", + "event TransferBatch(address indexed,address indexed,address indexed,uint256[],uint256[])", + "event TransferSingle(address indexed,address indexed,address indexed,uint256,uint256)", + "event URI(string,uint256 indexed)", + "function balanceOf(address,uint256) view returns (uint256)", + "function balanceOfBatch(address[],uint256[]) view returns (uint256[])", + "function isApprovedForAll(address,address) view returns (bool)", + "function safeBatchTransferFrom(address,address,uint256[],uint256[],bytes)", + "function safeTransferFrom(address,address,uint256,uint256,bytes)", + "function setApprovalForAll(address,bool)", + "function supportsInterface(bytes4) view returns (bool)", + "function uri(uint256) view returns (string)" ] diff --git a/api/abis/IERC1155ReceiverUpgradeable.json b/api/abis/IERC1155ReceiverUpgradeable.json index 370a56f..5085dc9 100644 --- a/api/abis/IERC1155ReceiverUpgradeable.json +++ b/api/abis/IERC1155ReceiverUpgradeable.json @@ -1,99 +1,5 @@ [ - { - "inputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "uint256[]", - "name": "ids", - "type": "uint256[]" - }, - { - "internalType": "uint256[]", - "name": "values", - "type": "uint256[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "onERC1155BatchReceived", - "outputs": [ - { - "internalType": "bytes4", - "name": "", - "type": "bytes4" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "uint256", - "name": "id", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "value", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "onERC1155Received", - "outputs": [ - { - "internalType": "bytes4", - "name": "", - "type": "bytes4" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } + "function onERC1155BatchReceived(address,address,uint256[],uint256[],bytes) returns (bytes4)", + "function onERC1155Received(address,address,uint256,uint256,bytes) returns (bytes4)", + "function supportsInterface(bytes4) view returns (bool)" ] diff --git a/api/abis/IERC1155Upgradeable.json b/api/abis/IERC1155Upgradeable.json index 69f36b4..b91788a 100644 --- a/api/abis/IERC1155Upgradeable.json +++ b/api/abis/IERC1155Upgradeable.json @@ -1,295 +1,13 @@ [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": false, - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "ApprovalForAll", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256[]", - "name": "ids", - "type": "uint256[]" - }, - { - "indexed": false, - "internalType": "uint256[]", - "name": "values", - "type": "uint256[]" - } - ], - "name": "TransferBatch", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "id", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "value", - "type": "uint256" - } - ], - "name": "TransferSingle", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "string", - "name": "value", - "type": "string" - }, - { - "indexed": true, - "internalType": "uint256", - "name": "id", - "type": "uint256" - } - ], - "name": "URI", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "internalType": "uint256", - "name": "id", - "type": "uint256" - } - ], - "name": "balanceOf", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address[]", - "name": "accounts", - "type": "address[]" - }, - { - "internalType": "uint256[]", - "name": "ids", - "type": "uint256[]" - } - ], - "name": "balanceOfBatch", - "outputs": [ - { - "internalType": "uint256[]", - "name": "", - "type": "uint256[]" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "account", - "type": "address" - }, - { - "internalType": "address", - "name": "operator", - "type": "address" - } - ], - "name": "isApprovedForAll", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256[]", - "name": "ids", - "type": "uint256[]" - }, - { - "internalType": "uint256[]", - "name": "amounts", - "type": "uint256[]" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "safeBatchTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "from", - "type": "address" - }, - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "uint256", - "name": "id", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "amount", - "type": "uint256" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "safeTransferFrom", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "operator", - "type": "address" - }, - { - "internalType": "bool", - "name": "approved", - "type": "bool" - } - ], - "name": "setApprovalForAll", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } + "event ApprovalForAll(address indexed,address indexed,bool)", + "event TransferBatch(address indexed,address indexed,address indexed,uint256[],uint256[])", + "event TransferSingle(address indexed,address indexed,address indexed,uint256,uint256)", + "event URI(string,uint256 indexed)", + "function balanceOf(address,uint256) view returns (uint256)", + "function balanceOfBatch(address[],uint256[]) view returns (uint256[])", + "function isApprovedForAll(address,address) view returns (bool)", + "function safeBatchTransferFrom(address,address,uint256[],uint256[],bytes)", + "function safeTransferFrom(address,address,uint256,uint256,bytes)", + "function setApprovalForAll(address,bool)", + "function supportsInterface(bytes4) view returns (bool)" ] diff --git a/api/abis/IERC165.json b/api/abis/IERC165.json index 6e166b5..86c9f4e 100644 --- a/api/abis/IERC165.json +++ b/api/abis/IERC165.json @@ -1,21 +1,3 @@ [ - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } + "function supportsInterface(bytes4) view returns (bool)" ] diff --git a/api/abis/IERC165Upgradeable.json b/api/abis/IERC165Upgradeable.json index 6e166b5..86c9f4e 100644 --- a/api/abis/IERC165Upgradeable.json +++ b/api/abis/IERC165Upgradeable.json @@ -1,21 +1,3 @@ [ - { - "inputs": [ - { - "internalType": "bytes4", - "name": "interfaceId", - "type": "bytes4" - } - ], - "name": "supportsInterface", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - } + "function supportsInterface(bytes4) view returns (bool)" ] diff --git a/api/abis/Initializable.json b/api/abis/Initializable.json index 2347c02..a585a1e 100644 --- a/api/abis/Initializable.json +++ b/api/abis/Initializable.json @@ -1,15 +1,3 @@ [ - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint8", - "name": "version", - "type": "uint8" - } - ], - "name": "Initialized", - "type": "event" - } + "event Initialized(uint8)" ] diff --git a/api/abis/Multicallable.json b/api/abis/Multicallable.json index 8362b87..18696a7 100644 --- a/api/abis/Multicallable.json +++ b/api/abis/Multicallable.json @@ -1,21 +1,3 @@ [ - { - "inputs": [ - { - "internalType": "bytes[]", - "name": "data", - "type": "bytes[]" - } - ], - "name": "multicall", - "outputs": [ - { - "internalType": "bytes[]", - "name": "", - "type": "bytes[]" - } - ], - "stateMutability": "payable", - "type": "function" - } + "function multicall(bytes[]) payable returns (bytes[])" ] diff --git a/api/abis/OwnableUpgradeable.json b/api/abis/OwnableUpgradeable.json index 9768e11..90cce0a 100644 --- a/api/abis/OwnableUpgradeable.json +++ b/api/abis/OwnableUpgradeable.json @@ -1,67 +1,7 @@ [ - { - "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" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - } + "event Initialized(uint8)", + "event OwnershipTransferred(address indexed,address indexed)", + "function owner() view returns (address)", + "function renounceOwnership()", + "function transferOwnership(address)" ] diff --git a/api/indexer/backfill/backfill.py b/api/indexer/backfill/backfill.py index e324a36..590aed7 100644 --- a/api/indexer/backfill/backfill.py +++ b/api/indexer/backfill/backfill.py @@ -14,20 +14,17 @@ class Backfill: self.loader = Loader() def etl(self, queryset, abi, filters): - # Build the list of contracts to get event updates for contracts = [[ contract.chain.lower(), contract.ethereum_address, contract.last_block ] for contract in queryset if contract.ethereum_address] - print(contracts, abi, filters) - - return - # Get the events for the QuerySet of contracts [events, last_block] = self.extractor.handle_contracts(contracts, abi, filters) + return + events = self.transformer.handle_events(events) event_responses = self.loader.handle_events(events) diff --git a/contracts/hardhat.config.js b/contracts/hardhat.config.js index beb1df6..7e154ea 100644 --- a/contracts/hardhat.config.js +++ b/contracts/hardhat.config.js @@ -174,7 +174,6 @@ module.exports = { runOnCompile: true, clear: true, flat: true, - spacing: 4, - format: "json" + pretty: true }] }; \ No newline at end of file