Originator

Git Source

Functions

originate

Accepts a request with signed data that is decoded by the originator communicates with Starport to originate a loan

function originate(Request calldata params) external virtual;

Parameters

NameTypeDescription
paramsRequestThe request for the origination

Structs

Request

struct Request {
    address borrower;
    CaveatEnforcer.SignedCaveats borrowerCaveat;
    SpentItem[] collateral;
    SpentItem[] debt;
    bytes details;
    bytes approval;
}