diff --git a/abis/TruthPost.json b/abis/TruthPost.json index 532001a..c99c5c0 100644 --- a/abis/TruthPost.json +++ b/abis/TruthPost.json @@ -30,6 +30,11 @@ "internalType": "uint256", "name": "_loserStakeMultiplier", "type": "uint256" + }, + { + "internalType": "address payable", + "name": "_treasury", + "type": "address" } ], "stateMutability": "nonpayable", @@ -439,6 +444,19 @@ "stateMutability": "view", "type": "function" }, + { + "inputs": [], + "name": "TREASURY", + "outputs": [ + { + "internalType": "address payable", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, { "inputs": [], "name": "VERSION", @@ -531,13 +549,6 @@ "stateMutability": "view", "type": "function" }, - { - "inputs": [], - "name": "buyAndBurn", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, { "inputs": [], "name": "categoryCounter", @@ -628,6 +639,19 @@ "stateMutability": "nonpayable", "type": "function" }, + { + "inputs": [ + { + "internalType": "address payable", + "name": "_newTreasury", + "type": "address" + } + ], + "name": "changeTreasury", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, { "inputs": [ { @@ -972,6 +996,13 @@ "stateMutability": "nonpayable", "type": "function" }, + { + "inputs": [], + "name": "transferBalanceToTreasury", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, { "inputs": [ { diff --git a/subgraph.yaml b/subgraph.yaml index 6ec86d7..fbac7c5 100644 --- a/subgraph.yaml +++ b/subgraph.yaml @@ -6,9 +6,9 @@ dataSources: name: TruthPost network: goerli source: - address: "0xA5002f1f0D0f7c4477d11137f9dDc0F1cEE38Ed3" + address: "0x597ACAeF5A4b09add9e304EFeD453d33DDecA76a" abi: TruthPost - startBlock: 8922769 + startBlock: 9093289 mapping: kind: ethereum/events apiVersion: 0.0.6