diff --git a/subgraph/abis/CrowdSale.json b/subgraph/abis/CrowdSale.json index 857c24cd..9394c18b 100644 --- a/subgraph/abis/CrowdSale.json +++ b/subgraph/abis/CrowdSale.json @@ -1,4 +1,9 @@ [ + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "constructor" + }, { "inputs": [], "name": "AlreadyClaimed", @@ -40,6 +45,11 @@ "name": "BidTooLow", "type": "error" }, + { + "inputs": [], + "name": "FeesTooHigh", + "type": "error" + }, { "inputs": [], "name": "SaleAlreadyActive", @@ -161,6 +171,38 @@ "name": "Failed", "type": "event" }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint16", + "name": "feeBp", + "type": "uint16" + } + ], + "name": "FeesUpdated", + "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": [ @@ -243,6 +285,12 @@ "internalType": "struct Sale", "name": "sale", "type": "tuple" + }, + { + "indexed": false, + "internalType": "uint16", + "name": "percentageFee", + "type": "uint16" } ], "name": "Started", @@ -314,6 +362,19 @@ "stateMutability": "view", "type": "function" }, + { + "inputs": [], + "name": "currentFeeBp", + "outputs": [ + { + "internalType": "uint16", + "name": "", + "type": "uint16" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [ { @@ -374,6 +435,11 @@ "internalType": "bool", "name": "claimed", "type": "bool" + }, + { + "internalType": "uint16", + "name": "feeBp", + "type": "uint16" } ], "internalType": "struct SaleInfo", @@ -384,6 +450,19 @@ "stateMutability": "view", "type": "function" }, + { + "inputs": [], + "name": "owner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [ { @@ -407,6 +486,26 @@ "stateMutability": "nonpayable", "type": "function" }, + { + "inputs": [], + "name": "renounceOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint16", + "name": "newFeeBp", + "type": "uint16" + } + ], + "name": "setCurrentFeesBp", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, { "inputs": [ { @@ -475,5 +574,18 @@ ], "stateMutability": "nonpayable", "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "newOwner", + "type": "address" + } + ], + "name": "transferOwnership", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" } ] diff --git a/subgraph/abis/StakedLockingCrowdSale.json b/subgraph/abis/StakedLockingCrowdSale.json index 9649f03b..a662c8df 100644 --- a/subgraph/abis/StakedLockingCrowdSale.json +++ b/subgraph/abis/StakedLockingCrowdSale.json @@ -1,9 +1,4 @@ [ - { - "inputs": [], - "stateMutability": "nonpayable", - "type": "constructor" - }, { "inputs": [], "name": "AlreadyClaimed", @@ -50,6 +45,11 @@ "name": "BidTooLow", "type": "error" }, + { + "inputs": [], + "name": "FeesTooHigh", + "type": "error" + }, { "inputs": [], "name": "IncompatibleVestingContract", @@ -227,6 +227,19 @@ "name": "Failed", "type": "event" }, + { + "anonymous": false, + "inputs": [ + { + "indexed": false, + "internalType": "uint16", + "name": "feeBp", + "type": "uint16" + } + ], + "name": "FeesUpdated", + "type": "event" + }, { "anonymous": false, "inputs": [ @@ -555,6 +568,12 @@ "internalType": "struct Sale", "name": "sale", "type": "tuple" + }, + { + "indexed": false, + "internalType": "uint16", + "name": "percentageFee", + "type": "uint16" } ], "name": "Started", @@ -664,6 +683,19 @@ "stateMutability": "nonpayable", "type": "function" }, + { + "inputs": [], + "name": "currentFeeBp", + "outputs": [ + { + "internalType": "uint16", + "name": "", + "type": "uint16" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [ { @@ -753,6 +785,11 @@ "internalType": "bool", "name": "claimed", "type": "bool" + }, + { + "internalType": "uint16", + "name": "feeBp", + "type": "uint16" } ], "internalType": "struct SaleInfo", @@ -873,6 +910,19 @@ "stateMutability": "view", "type": "function" }, + { + "inputs": [ + { + "internalType": "uint16", + "name": "newFeeBp", + "type": "uint16" + } + ], + "name": "setCurrentFeesBp", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, { "inputs": [ {