Originator
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
Name | Type | Description |
---|---|---|
params | Request | The request for the origination |
Structs
Request
struct Request {
address borrower;
CaveatEnforcer.SignedCaveats borrowerCaveat;
SpentItem[] collateral;
SpentItem[] debt;
bytes details;
bytes approval;
}