include-sdk
get/api/v2/pwn_contracts/thesis/{slug}/

Request

  • The document declares no server URL.
  • Auth: one of:
    • HTTP bearer
    • none

Path parameters

slugstring required

Query parameters

user_addressstring

Response

idstring required
titlestring required
slugstring required
createdAtinteger required
modifiedAtinteger required
ltvnumber required
aprMinnumber required
aprMaxnumber required
minAllowedBorrowPercentagenumber required
loanDurationDaysinteger required
proposalExpirationDaysinteger required
descriptionstring nullable required
isUtilizedCreditboolean nullable
isActiveboolean nullable
isHiddenboolean nullable
thesisType1 | 2 required
chainId1 | 137 | 100 | 25 | 8453 | 10 | 130 | 42161 | 56 | 11155111 | 1301 | 112211 | 11155112 | 480 | 57073 | 59144 | 42220 required
aprMappingsAprMappingsSchema

APR mappings stored as key-value pairs where the key follows the format: {collateralAddress}/{collateralChainId}-{creditAddress}/{creditChainId}

Example response

{
  "aprMappings": {
    "0x98C23E9d8f34FEFb1B7BD6a91B7FF122F4e16F5c/1-0x0bB9aB78aAF7179b7515e6753d89822b91e670C4/1": 8.5
  }
}

Changes

    • warning

      added the new 42220.00 enum value to the response property for the response status

    • warning

      added the new 42220.00 enum value to the // response property for the response status

    • warning

      added the new 42220.00 enum value to the /// response property for the response status

    • warning

      added the new 57073.00 enum value to the response property for the response status

    • warning

      added the new 57073.00 enum value to the // response property for the response status

    • warning

      added the new 57073.00 enum value to the /// response property for the response status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the required property /// to the response with the status

    • warning

      added the new 59144.00 enum value to the response property for the response status

    • warning

      added the new 59144.00 enum value to the // response property for the response status

    • warning

      added the new 59144.00 enum value to the /// response property for the response status