From cdd7bd65d1525abcc17cffc0c7457c7dd0272d77 Mon Sep 17 00:00:00 2001 From: mmsqe Date: Mon, 18 Aug 2025 10:21:13 +0800 Subject: [PATCH] chore: cleanup deprecated increaseAllowance and decreaseAllowance non-standard methods have been removed after audit --- precompiles/erc20/tx.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/precompiles/erc20/tx.go b/precompiles/erc20/tx.go index 54bffdaf9..450999171 100644 --- a/precompiles/erc20/tx.go +++ b/precompiles/erc20/tx.go @@ -27,12 +27,6 @@ const ( // ApproveMethod defines the ABI method name for ERC-20 Approve // transaction. ApproveMethod = "approve" - // DecreaseAllowanceMethod defines the ABI method name for the DecreaseAllowance - // transaction. - DecreaseAllowanceMethod = "decreaseAllowance" - // IncreaseAllowanceMethod defines the ABI method name for the IncreaseAllowance - // transaction. - IncreaseAllowanceMethod = "increaseAllowance" ) // Transfer executes a direct transfer from the caller address to the