What changed, and why it matters
This commit simply adds two known THORChain Router smart contract definitions for the BNB Smart Chain (BSC) network to a lookup table used by the wallet's user interface. It is a routine data update with no visible security defect.
No security action required. Treat as a normal feature/data addition.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The patch appends two ABI entries to ethereum_abi_map in src/ui/gui_assets/abi/abi_ethereum.c. Each entry maps a BSC THORChain Router contract address (0xb30eC53F98ff5947EDe720D32aC2da7e52A5f56b) plus a function selector to JSON metadata describing the deposit and depositWithExpiry functions. No code logic is changed, and the added data matches the existing pattern for other THORChain/MAYAChain routers already present in the file.
Changed components
src/ui/gui_assets/abi/abi_ethereum.cInspect captured patch +8 / −0
diff --git a/src/ui/gui_assets/abi/abi_ethereum.c b/src/ui/gui_assets/abi/abi_ethereum.c
index a9e46ed..10943f8 100644
--- a/src/ui/gui_assets/abi/abi_ethereum.c
+++ b/src/ui/gui_assets/abi/abi_ethereum.c
@@ -3415,6 +3415,14 @@ const ABIItem_t ethereum_abi_map[] = {
"0xe3985E6b61b814F7Cdb188766562ba71b446B46d_44bc937b",
"{\"name\":\"MAYAChain Router\",\"address\":\"0xe3985E6b61b814F7Cdb188766562ba71b446B46d\",\"metadata\":{\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"vault\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"memo\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"expiration\",\"type\":\"uint256\"}],\"name\":\"depositWithExpiry\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}]}},\"version\":1,\"checkPoints\":[]}"
},
+ {
+ "0xb30eC53F98ff5947EDe720D32aC2da7e52A5f56b_1fece7b4",
+ "{\"name\":\"THORChain Router\",\"address\":\"0xb30eC53F98ff5947EDe720D32aC2da7e52A5f56b\",\"metadata\":{\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"vault\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"memo\",\"type\":\"string\"}],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}]}},\"version\":1,\"checkPoints\":[]}"
+ },
+ {
+ "0xb30eC53F98ff5947EDe720D32aC2da7e52A5f56b_44bc937b",
+ "{\"name\":\"THORChain Router\",\"address\":\"0xb30eC53F98ff5947EDe720D32aC2da7e52A5f56b\",\"metadata\":{\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address payable\",\"name\":\"vault\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"asset\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"memo\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"expiration\",\"type\":\"uint256\"}],\"name\":\"depositWithExpiry\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"}]}},\"version\":1,\"checkPoints\":[]}"
+ },
{
"0x152b9d0FdC40C096757F570A51E494bd4b943E50_66de3b36",
"{\"name\":\"Avax BridgeToken\",\"address\":\"0x152b9d0FdC40C096757F570A51E494bd4b943E50\",\"metadata\":{\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"}],\"name\":\"addSupportedChainId\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]}},\"version\":1,\"checkPoints\":[]}"
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.