From efe1dce9c929f425e2ad9ecf191e7ffac24d8b7e Mon Sep 17 00:00:00 2001 From: Tim Pechersky Date: Mon, 20 Nov 2023 21:56:48 +0000 Subject: [PATCH] updated abi files --- .../HardhatDiamondABI.sol/BestOfDiamond.json | 37 +++++++++++-------- .../CompositeERC1155.json | 21 ----------- .../LockableERC1155.sol/LockableERC1155.json | 21 ----------- .../facets/BestOfFacet.sol/BestOfFacet.json | 22 +++++++++++ .../GameOwnersFacet.sol/GameOwnersFacet.json | 15 -------- .../BestOfInit.sol/BestOfInit.json | 11 ------ abi/src/tokens/RankToken.sol/RankToken.json | 21 ----------- 7 files changed, 44 insertions(+), 104 deletions(-) diff --git a/abi/hardhat-diamond-abi/HardhatDiamondABI.sol/BestOfDiamond.json b/abi/hardhat-diamond-abi/HardhatDiamondABI.sol/BestOfDiamond.json index 197674b..98a33df 100644 --- a/abi/hardhat-diamond-abi/HardhatDiamondABI.sol/BestOfDiamond.json +++ b/abi/hardhat-diamond-abi/HardhatDiamondABI.sol/BestOfDiamond.json @@ -283,6 +283,28 @@ "internalType": "bool", "name": "contractInitialized", "type": "bool" + }, + { + "components": [ + { + "internalType": "uint256", + "name": "voteCredits", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "maxQuadraticPoints", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "minQuadraticPositons", + "type": "uint256" + } + ], + "internalType": "struct LibQuadraticVoting.qVotingStruct", + "name": "voting", + "type": "tuple" } ], "internalType": "struct IBestOf.BOGSettings", @@ -755,21 +777,6 @@ "stateMutability": "view", "type": "function" }, - { - "inputs": [], - "name": "OutOfBounds", - "type": "error" - }, - { - "inputs": [], - "name": "WrongAddress", - "type": "error" - }, - { - "inputs": [], - "name": "ZeroValue", - "type": "error" - }, { "inputs": [ { diff --git a/abi/src/abstracts/CompositeERC1155.sol/CompositeERC1155.json b/abi/src/abstracts/CompositeERC1155.sol/CompositeERC1155.json index d9db331..e33d0e8 100644 --- a/abi/src/abstracts/CompositeERC1155.sol/CompositeERC1155.json +++ b/abi/src/abstracts/CompositeERC1155.sol/CompositeERC1155.json @@ -1,25 +1,4 @@ [ - { - "inputs": [ - { - "internalType": "uint256", - "name": "id", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "balance", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "required", - "type": "uint256" - } - ], - "name": "insufficient", - "type": "error" - }, { "anonymous": false, "inputs": [ diff --git a/abi/src/abstracts/LockableERC1155.sol/LockableERC1155.json b/abi/src/abstracts/LockableERC1155.sol/LockableERC1155.json index 30988d9..30e1c49 100644 --- a/abi/src/abstracts/LockableERC1155.sol/LockableERC1155.json +++ b/abi/src/abstracts/LockableERC1155.sol/LockableERC1155.json @@ -1,25 +1,4 @@ [ - { - "inputs": [ - { - "internalType": "uint256", - "name": "id", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "balance", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "required", - "type": "uint256" - } - ], - "name": "insufficient", - "type": "error" - }, { "anonymous": false, "inputs": [ diff --git a/abi/src/facets/BestOfFacet.sol/BestOfFacet.json b/abi/src/facets/BestOfFacet.sol/BestOfFacet.json index 0903a79..9e22e5c 100644 --- a/abi/src/facets/BestOfFacet.sol/BestOfFacet.json +++ b/abi/src/facets/BestOfFacet.sol/BestOfFacet.json @@ -283,6 +283,28 @@ "internalType": "bool", "name": "contractInitialized", "type": "bool" + }, + { + "components": [ + { + "internalType": "uint256", + "name": "voteCredits", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "maxQuadraticPoints", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "minQuadraticPositons", + "type": "uint256" + } + ], + "internalType": "struct LibQuadraticVoting.qVotingStruct", + "name": "voting", + "type": "tuple" } ], "internalType": "struct IBestOf.BOGSettings", diff --git a/abi/src/facets/GameOwnersFacet.sol/GameOwnersFacet.json b/abi/src/facets/GameOwnersFacet.sol/GameOwnersFacet.json index c745a83..e9e3250 100644 --- a/abi/src/facets/GameOwnersFacet.sol/GameOwnersFacet.json +++ b/abi/src/facets/GameOwnersFacet.sol/GameOwnersFacet.json @@ -1,19 +1,4 @@ [ - { - "inputs": [], - "name": "OutOfBounds", - "type": "error" - }, - { - "inputs": [], - "name": "WrongAddress", - "type": "error" - }, - { - "inputs": [], - "name": "ZeroValue", - "type": "error" - }, { "inputs": [ { diff --git a/abi/src/initializers/BestOfInit.sol/BestOfInit.json b/abi/src/initializers/BestOfInit.sol/BestOfInit.json index 66cfe26..3751db3 100644 --- a/abi/src/initializers/BestOfInit.sol/BestOfInit.json +++ b/abi/src/initializers/BestOfInit.sol/BestOfInit.json @@ -1,15 +1,4 @@ [ - { - "inputs": [ - { - "internalType": "string", - "name": "paramter", - "type": "string" - } - ], - "name": "invalidConfiguration", - "type": "error" - }, { "inputs": [ { diff --git a/abi/src/tokens/RankToken.sol/RankToken.json b/abi/src/tokens/RankToken.sol/RankToken.json index efcda1c..4438762 100644 --- a/abi/src/tokens/RankToken.sol/RankToken.json +++ b/abi/src/tokens/RankToken.sol/RankToken.json @@ -35,27 +35,6 @@ "stateMutability": "nonpayable", "type": "constructor" }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "id", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "balance", - "type": "uint256" - }, - { - "internalType": "uint256", - "name": "required", - "type": "uint256" - } - ], - "name": "insufficient", - "type": "error" - }, { "anonymous": false, "inputs": [