web3wagmi
← All standards

ERC-7893 DeFi Protocol Solvency Proof Mechanism

FinalERCcreated 2025-01-30requires ERC-20, ERC-165

Verifiable solvency proofs and financial health monitoring for DeFi protocols

Author: Sean Luis Guada Rodríguez (@SeanLuis)

ERC-165 interface ids

Computed here as the XOR of the selectors each interface defines.

ISolvencyProof0xa6007435

Functions this standard introduces (7)

0x148c74c9getProtocolAssets()view
0xe117a765getProtocolLiabilities()view
0xf8a66851getSolvencyHistory(uint256,uint256)view
0xfefa625fgetSolvencyRatio()view
0xc7a85d1eupdateAssets(address[],uint256[],uint256[])
0x19e7476bupdateLiabilities(address[],uint256[],uint256[])
0x8b88b7e2verifySolvency()view

Events (3)

Topic0 is the keccak256 hash of the signature, which is what a log filter matches on.

0x3455e9b2afdbab6bca3270284bc11feed7e59c631426181cdca4d83a221cf618SolvencyMetricsUpdated(uint256,uint256,uint256,uint256)
0x22cf542d4edec5f18294987d215cf08f3538eb6b92ae17bb6b78900977f6899bRiskAlert(string,uint256,uint256,uint256)
0x94c9cbe1d9aa7af08484f82ab0179d6db973a391236668c34192d954ff32c06cOracleUpdated(address,bool)

Depends on (2)

Proposals this one names in its requires field.

What the specification covers

Compare with

Parsed from the canonical specification · discussion