Developers / Verifying the Interface
Verifying the Interface
The app is a static website that talks to the contracts directly from your browser. Before it lets you do anything, it checks on the chain that the contracts it's about to use are the right ones.
#What the app checks on its own
The list of contracts is built into the app from the same deployment manifest shown in Contract Addresses. When the app starts, it reads the chain and checks:
- that it's connected to the network the contracts were deployed on;
- that Multicall3, the standard contract it uses to read many values in one request, has its known code;
- that both libraries exist;
- that each of the 29 wrappers exists with the expected name, symbol and decimals, and points to the expected underlying token, which must also exist;
- who owns each wrapper.
If any of the first four checks fails, the app shows Contracts don't match this interface. and doesn't let you do anything. If a wrapper has a different owner, the app shows a warning.
#What you can check yourself
- Open the app only at
app.inheritfi.com, from a link you trust, such as Official Links & Social. - When your wallet asks you to confirm, check that the contract is one of the addresses in Contract Addresses.
- On a block explorer, a wrapper's
name()andsymbol()must match the table on that page.