From 8b5a12c62c012fd0769e35d7e62b12ad4c75a964 Mon Sep 17 00:00:00 2001 From: veeso Date: Sat, 30 Nov 2024 17:16:13 +0100 Subject: [PATCH] feat: burn method --- ethereum/app/src/js/web3/contracts/Ekoke.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/ethereum/app/src/js/web3/contracts/Ekoke.ts b/ethereum/app/src/js/web3/contracts/Ekoke.ts index 284c5d4..9cc99ff 100644 --- a/ethereum/app/src/js/web3/contracts/Ekoke.ts +++ b/ethereum/app/src/js/web3/contracts/Ekoke.ts @@ -364,6 +364,19 @@ export const ABI = [ stateMutability: 'view', type: 'function', }, + { + inputs: [ + { + internalType: 'uint256', + name: 'amount', + type: 'uint256', + }, + ], + name: 'burn', + outputs: [], + stateMutability: 'nonpayable', + type: 'function', + }, { inputs: [], name: 'decimals',