Skip to main content

ITransferValidator

Git Source

This interface is intended for validating the solvency of an account when transfers occur.

Functions

validateOnUpdate

Validates the solvency of an account for a given token transfer operation.

Implementation should properly protect against any creation of new debt or transfer of existing debt or collateral that would leave any individual address with insufficient collateral to cover all debts.

function validateOnUpdate(address validate, address update) external;

Parameters

NameTypeDescription
validateaddressThe address of the account being checked for solvency and having its saturation updated
updateaddressThe address of the account having its saturation updated