IRebaseCallback

Git Source

Functions

rebaseCallback

Called by the USDN token after a rebase has happened.

function rebaseCallback(uint256 oldDivisor, uint256 newDivisor) external returns (bytes memory result_);

Parameters

NameTypeDescription
oldDivisoruint256The value of the divisor before the rebase.
newDivisoruint256The value of the divisor after the rebase (necessarily smaller than oldDivisor).

Returns

NameTypeDescription
result_bytesArbitrary data that will be forwarded to the caller of rebase.