SettlementForwarder
Source: contracts/peripherals/SettlementForwarder.sol
Functions that change state
Function
Who can call
Also
forward(uint256 amount)Checked inside the function
setDesk(address desk_)onlySafesetOffRamp(address offRamp_)onlySafeRead functions
Anyone can call these; they change nothing.
Function
Returns
allowanceModule()address
desk()address
offRamp()address
safe()address
token()address
Events
Event
DeskSet(address desk indexed)Forwarded(address offRamp indexed, address desk indexed, uint256 amount)OffRampSet(address offRamp indexed)Errors
Error
SettlementForwarderInvalidAddress()SettlementForwarderInvalidAmount()SettlementForwarderNoOffRamp()SettlementForwarderNotDesk(address caller)SettlementForwarderNotSafe(address caller)