Settlement

Git Source

Inherits: Validation

State Variables

SP

Starport public immutable SP;

Functions

constructor

constructor(Starport SP_);

postSettlement

function postSettlement(Starport.Loan calldata loan, address fulfiller) external virtual returns (bytes4);

postRepayment

function postRepayment(Starport.Loan calldata loan, address fulfiller) external virtual returns (bytes4);

getSettlementConsideration

function getSettlementConsideration(Starport.Loan calldata loan)
    public
    view
    virtual
    returns (ReceivedItem[] memory consideration, address authorized);

onERC1155Received

function onERC1155Received(address, address, uint256, uint256, bytes calldata) external view returns (bytes4);