From e3dabdaebdc07f6e5566796112ce0c81630b7602 Mon Sep 17 00:00:00 2001 From: kevandee Date: Tue, 5 Mar 2024 20:25:32 +0200 Subject: [PATCH] updated TokenSale contract abi --- DaoPools/abis/TokenSale.json | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/DaoPools/abis/TokenSale.json b/DaoPools/abis/TokenSale.json index 1bf13ab..95e8739 100644 --- a/DaoPools/abis/TokenSale.json +++ b/DaoPools/abis/TokenSale.json @@ -343,6 +343,11 @@ "internalType": "uint256", "name": "amount", "type": "uint256" + }, + { + "internalType": "bytes32[]", + "name": "proof", + "type": "bytes32[]" } ], "name": "buy", @@ -606,6 +611,11 @@ "internalType": "uint256", "name": "amount", "type": "uint256" + }, + { + "internalType": "bytes32[]", + "name": "proof", + "type": "bytes32[]" } ], "name": "getSaleTokenAmount", @@ -787,6 +797,23 @@ "internalType": "struct ITokenSaleProposal.TierInfo", "name": "tierInfo", "type": "tuple" + }, + { + "components": [ + { + "internalType": "bytes32", + "name": "merkleRoot", + "type": "bytes32" + }, + { + "internalType": "string", + "name": "merkleUri", + "type": "string" + } + ], + "internalType": "struct ITokenSaleProposal.TierAdditionalInfo", + "name": "tierAdditionalInfo", + "type": "tuple" } ], "internalType": "struct ITokenSaleProposal.TierView[]", @@ -808,6 +835,11 @@ "internalType": "uint256[]", "name": "tierIds", "type": "uint256[]" + }, + { + "internalType": "bytes32[][]", + "name": "proofs", + "type": "bytes32[][]" } ], "name": "getUserViews",