@compass-labs/api-sdk 2.2.94 → 2.2.95
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/codeSamples_typescript.yaml +1 -1
- package/dist/commonjs/models/components/createcreditaccountrequest.d.ts +1 -0
- package/dist/commonjs/models/components/createcreditaccountrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/createcreditaccountrequest.js +1 -0
- package/dist/commonjs/models/components/createcreditaccountrequest.js.map +1 -1
- package/dist/commonjs/models/components/creditborrowrequest.d.ts +20 -3
- package/dist/commonjs/models/components/creditborrowrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/creditborrowrequest.js +15 -3
- package/dist/commonjs/models/components/creditborrowrequest.js.map +1 -1
- package/dist/commonjs/models/components/creditbundlerequest.d.ts +20 -3
- package/dist/commonjs/models/components/creditbundlerequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/creditbundlerequest.js +15 -3
- package/dist/commonjs/models/components/creditbundlerequest.js.map +1 -1
- package/dist/commonjs/models/components/creditlooprequest.d.ts +20 -3
- package/dist/commonjs/models/components/creditlooprequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/creditlooprequest.js +15 -3
- package/dist/commonjs/models/components/creditlooprequest.js.map +1 -1
- package/dist/commonjs/models/components/creditrebalancerequest.d.ts +19 -3
- package/dist/commonjs/models/components/creditrebalancerequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/creditrebalancerequest.js +14 -3
- package/dist/commonjs/models/components/creditrebalancerequest.js.map +1 -1
- package/dist/commonjs/models/components/creditrepayrequest.d.ts +20 -3
- package/dist/commonjs/models/components/creditrepayrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/creditrepayrequest.js +15 -3
- package/dist/commonjs/models/components/creditrepayrequest.js.map +1 -1
- package/dist/commonjs/models/components/credittransferrequest.d.ts +19 -3
- package/dist/commonjs/models/components/credittransferrequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/credittransferrequest.js +15 -3
- package/dist/commonjs/models/components/credittransferrequest.js.map +1 -1
- package/dist/commonjs/models/components/creditunlooprequest.d.ts +20 -3
- package/dist/commonjs/models/components/creditunlooprequest.d.ts.map +1 -1
- package/dist/commonjs/models/components/creditunlooprequest.js +15 -3
- package/dist/commonjs/models/components/creditunlooprequest.js.map +1 -1
- package/dist/commonjs/models/operations/v2creditbalances.d.ts +1 -0
- package/dist/commonjs/models/operations/v2creditbalances.d.ts.map +1 -1
- package/dist/commonjs/models/operations/v2creditbalances.js +1 -0
- package/dist/commonjs/models/operations/v2creditbalances.js.map +1 -1
- package/dist/commonjs/models/operations/v2crediteulermarkets.d.ts +1 -0
- package/dist/commonjs/models/operations/v2crediteulermarkets.d.ts.map +1 -1
- package/dist/commonjs/models/operations/v2crediteulermarkets.js +1 -0
- package/dist/commonjs/models/operations/v2crediteulermarkets.js.map +1 -1
- package/dist/commonjs/models/operations/v2creditloopedpositions.d.ts +1 -0
- package/dist/commonjs/models/operations/v2creditloopedpositions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/v2creditloopedpositions.js +1 -0
- package/dist/commonjs/models/operations/v2creditloopedpositions.js.map +1 -1
- package/dist/commonjs/models/operations/v2creditmorphomarkets.d.ts +1 -0
- package/dist/commonjs/models/operations/v2creditmorphomarkets.d.ts.map +1 -1
- package/dist/commonjs/models/operations/v2creditmorphomarkets.js +1 -0
- package/dist/commonjs/models/operations/v2creditmorphomarkets.js.map +1 -1
- package/dist/commonjs/models/operations/v2creditpositions.d.ts +1 -0
- package/dist/commonjs/models/operations/v2creditpositions.d.ts.map +1 -1
- package/dist/commonjs/models/operations/v2creditpositions.js +1 -0
- package/dist/commonjs/models/operations/v2creditpositions.js.map +1 -1
- package/dist/esm/models/components/createcreditaccountrequest.d.ts +1 -0
- package/dist/esm/models/components/createcreditaccountrequest.d.ts.map +1 -1
- package/dist/esm/models/components/createcreditaccountrequest.js +1 -0
- package/dist/esm/models/components/createcreditaccountrequest.js.map +1 -1
- package/dist/esm/models/components/creditborrowrequest.d.ts +20 -3
- package/dist/esm/models/components/creditborrowrequest.d.ts.map +1 -1
- package/dist/esm/models/components/creditborrowrequest.js +14 -2
- package/dist/esm/models/components/creditborrowrequest.js.map +1 -1
- package/dist/esm/models/components/creditbundlerequest.d.ts +20 -3
- package/dist/esm/models/components/creditbundlerequest.d.ts.map +1 -1
- package/dist/esm/models/components/creditbundlerequest.js +14 -2
- package/dist/esm/models/components/creditbundlerequest.js.map +1 -1
- package/dist/esm/models/components/creditlooprequest.d.ts +20 -3
- package/dist/esm/models/components/creditlooprequest.d.ts.map +1 -1
- package/dist/esm/models/components/creditlooprequest.js +14 -2
- package/dist/esm/models/components/creditlooprequest.js.map +1 -1
- package/dist/esm/models/components/creditrebalancerequest.d.ts +19 -3
- package/dist/esm/models/components/creditrebalancerequest.d.ts.map +1 -1
- package/dist/esm/models/components/creditrebalancerequest.js +13 -2
- package/dist/esm/models/components/creditrebalancerequest.js.map +1 -1
- package/dist/esm/models/components/creditrepayrequest.d.ts +20 -3
- package/dist/esm/models/components/creditrepayrequest.d.ts.map +1 -1
- package/dist/esm/models/components/creditrepayrequest.js +14 -2
- package/dist/esm/models/components/creditrepayrequest.js.map +1 -1
- package/dist/esm/models/components/credittransferrequest.d.ts +19 -3
- package/dist/esm/models/components/credittransferrequest.d.ts.map +1 -1
- package/dist/esm/models/components/credittransferrequest.js +14 -2
- package/dist/esm/models/components/credittransferrequest.js.map +1 -1
- package/dist/esm/models/components/creditunlooprequest.d.ts +20 -3
- package/dist/esm/models/components/creditunlooprequest.d.ts.map +1 -1
- package/dist/esm/models/components/creditunlooprequest.js +14 -2
- package/dist/esm/models/components/creditunlooprequest.js.map +1 -1
- package/dist/esm/models/operations/v2creditbalances.d.ts +1 -0
- package/dist/esm/models/operations/v2creditbalances.d.ts.map +1 -1
- package/dist/esm/models/operations/v2creditbalances.js +1 -0
- package/dist/esm/models/operations/v2creditbalances.js.map +1 -1
- package/dist/esm/models/operations/v2crediteulermarkets.d.ts +1 -0
- package/dist/esm/models/operations/v2crediteulermarkets.d.ts.map +1 -1
- package/dist/esm/models/operations/v2crediteulermarkets.js +1 -0
- package/dist/esm/models/operations/v2crediteulermarkets.js.map +1 -1
- package/dist/esm/models/operations/v2creditloopedpositions.d.ts +1 -0
- package/dist/esm/models/operations/v2creditloopedpositions.d.ts.map +1 -1
- package/dist/esm/models/operations/v2creditloopedpositions.js +1 -0
- package/dist/esm/models/operations/v2creditloopedpositions.js.map +1 -1
- package/dist/esm/models/operations/v2creditmorphomarkets.d.ts +1 -0
- package/dist/esm/models/operations/v2creditmorphomarkets.d.ts.map +1 -1
- package/dist/esm/models/operations/v2creditmorphomarkets.js +1 -0
- package/dist/esm/models/operations/v2creditmorphomarkets.js.map +1 -1
- package/dist/esm/models/operations/v2creditpositions.d.ts +1 -0
- package/dist/esm/models/operations/v2creditpositions.d.ts.map +1 -1
- package/dist/esm/models/operations/v2creditpositions.js +1 -0
- package/dist/esm/models/operations/v2creditpositions.js.map +1 -1
- package/docs/models/components/createcreditaccountrequestchain.md +1 -1
- package/docs/models/components/creditborrowrequest.md +1 -1
- package/docs/models/components/creditborrowrequestchain.md +17 -0
- package/docs/models/components/creditbundlerequest.md +7 -7
- package/docs/models/components/creditbundlerequestchain.md +17 -0
- package/docs/models/components/creditlooprequest.md +1 -1
- package/docs/models/components/creditlooprequestchain.md +17 -0
- package/docs/models/components/creditrebalancerequest.md +1 -1
- package/docs/models/components/creditrebalancerequestchain.md +17 -0
- package/docs/models/components/creditrepayrequest.md +1 -1
- package/docs/models/components/creditrepayrequestchain.md +17 -0
- package/docs/models/components/credittransferrequest.md +1 -1
- package/docs/models/components/credittransferrequestchain.md +17 -0
- package/docs/models/components/creditunlooprequest.md +1 -1
- package/docs/models/components/creditunlooprequestchain.md +17 -0
- package/docs/models/operations/v2creditbalanceschain.md +1 -1
- package/docs/models/operations/v2crediteulermarketschain.md +1 -1
- package/docs/models/operations/v2creditloopedpositionschain.md +1 -1
- package/docs/models/operations/v2creditmorphomarketschain.md +1 -1
- package/docs/models/operations/v2creditpositionschain.md +1 -1
- package/docs/sdks/credit/README.md +2 -2
- package/openapi_prepped_for_speakeasy.json +76 -8
- package/package.json +1 -1
- package/src/models/components/createcreditaccountrequest.ts +1 -0
- package/src/models/components/creditborrowrequest.ts +27 -4
- package/src/models/components/creditbundlerequest.ts +27 -4
- package/src/models/components/creditlooprequest.ts +25 -4
- package/src/models/components/creditrebalancerequest.ts +26 -4
- package/src/models/components/creditrepayrequest.ts +27 -4
- package/src/models/components/credittransferrequest.ts +26 -4
- package/src/models/components/creditunlooprequest.ts +27 -4
- package/src/models/operations/v2creditbalances.ts +1 -0
- package/src/models/operations/v2crediteulermarkets.ts +1 -0
- package/src/models/operations/v2creditloopedpositions.ts +1 -0
- package/src/models/operations/v2creditmorphomarkets.ts +1 -0
- package/src/models/operations/v2creditpositions.ts +1 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v2crediteulermarkets.js","sourceRoot":"","sources":["../../../../src/models/operations/v2crediteulermarkets.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,QAAQ,EAAE,UAAU;IACpB,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,KAAK;IACV,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;CACN,CAAC;AASX,gBAAgB;AAChB,MAAM,CAAC,MAAM,wCAAwC,GAEjD,CAAC,CAAC,UAAU,CAAC,yBAAyB,CAAC,CAAC;AAO5C,gBAAgB;AAChB,MAAM,CAAC,MAAM,0CAA0C,GAInD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,wCAAwC;CAChD,CAAC,CAAC;AAEH,MAAM,UAAU,iCAAiC,CAC/C,2BAAwD;IAExD,OAAO,IAAI,CAAC,SAAS,CACnB,0CAA0C,CAAC,KAAK,CAC9C,2BAA2B,CAC5B,CACF,CAAC;AACJ,CAAC"}
|
|
1
|
+
{"version":3,"file":"v2crediteulermarkets.js","sourceRoot":"","sources":["../../../../src/models/operations/v2crediteulermarkets.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,QAAQ,EAAE,UAAU;IACpB,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,KAAK;IACV,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;CACN,CAAC;AASX,gBAAgB;AAChB,MAAM,CAAC,MAAM,wCAAwC,GAEjD,CAAC,CAAC,UAAU,CAAC,yBAAyB,CAAC,CAAC;AAO5C,gBAAgB;AAChB,MAAM,CAAC,MAAM,0CAA0C,GAInD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,wCAAwC;CAChD,CAAC,CAAC;AAEH,MAAM,UAAU,iCAAiC,CAC/C,2BAAwD;IAExD,OAAO,IAAI,CAAC,SAAS,CACnB,0CAA0C,CAAC,KAAK,CAC9C,2BAA2B,CAC5B,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -5,6 +5,7 @@ export declare const V2CreditLoopedPositionsChain: {
|
|
|
5
5
|
readonly Base: "base";
|
|
6
6
|
readonly Bsc: "bsc";
|
|
7
7
|
readonly Ethereum: "ethereum";
|
|
8
|
+
readonly Hyperevm: "hyperevm";
|
|
8
9
|
readonly Tempo: "tempo";
|
|
9
10
|
};
|
|
10
11
|
export type V2CreditLoopedPositionsChain = ClosedEnum<typeof V2CreditLoopedPositionsChain>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v2creditloopedpositions.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/v2creditloopedpositions.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":"v2creditloopedpositions.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/v2creditloopedpositions.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,4BAA4B;;;;;;;CAO/B,CAAC;AACX,MAAM,MAAM,4BAA4B,GAAG,UAAU,CACnD,OAAO,4BAA4B,CACpC,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG;IAC3C,KAAK,EAAE,4BAA4B,CAAC;IACpC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,aAAa,CACvE,OAAO,4BAA4B,CACS,CAAC;AAE/C,gBAAgB;AAChB,MAAM,MAAM,uCAAuC,GAAG;IACpD,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,6CAA6C,EAAE,CAAC,CAAC,OAAO,CACnE,uCAAuC,EACvC,CAAC,CAAC,UAAU,EACZ,8BAA8B,CAI9B,CAAC;AAEH,wBAAgB,oCAAoC,CAClD,8BAA8B,EAAE,8BAA8B,GAC7D,MAAM,CAMR"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v2creditloopedpositions.js","sourceRoot":"","sources":["../../../../src/models/operations/v2creditloopedpositions.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC1C,QAAQ,EAAE,UAAU;IACpB,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,KAAK;IACV,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;CACN,CAAC;AAaX,gBAAgB;AAChB,MAAM,CAAC,MAAM,2CAA2C,GAEpD,CAAC,CAAC,UAAU,CAAC,4BAA4B,CAAC,CAAC;AAQ/C,gBAAgB;AAChB,MAAM,CAAC,MAAM,6CAA6C,GAItD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,2CAA2C;IAClD,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC;AAEH,MAAM,UAAU,oCAAoC,CAClD,8BAA8D;IAE9D,OAAO,IAAI,CAAC,SAAS,CACnB,6CAA6C,CAAC,KAAK,CACjD,8BAA8B,CAC/B,CACF,CAAC;AACJ,CAAC"}
|
|
1
|
+
{"version":3,"file":"v2creditloopedpositions.js","sourceRoot":"","sources":["../../../../src/models/operations/v2creditloopedpositions.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC1C,QAAQ,EAAE,UAAU;IACpB,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,KAAK;IACV,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;CACN,CAAC;AAaX,gBAAgB;AAChB,MAAM,CAAC,MAAM,2CAA2C,GAEpD,CAAC,CAAC,UAAU,CAAC,4BAA4B,CAAC,CAAC;AAQ/C,gBAAgB;AAChB,MAAM,CAAC,MAAM,6CAA6C,GAItD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,2CAA2C;IAClD,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC;AAEH,MAAM,UAAU,oCAAoC,CAClD,8BAA8D;IAE9D,OAAO,IAAI,CAAC,SAAS,CACnB,6CAA6C,CAAC,KAAK,CACjD,8BAA8B,CAC/B,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -5,6 +5,7 @@ export declare const V2CreditMorphoMarketsChain: {
|
|
|
5
5
|
readonly Base: "base";
|
|
6
6
|
readonly Bsc: "bsc";
|
|
7
7
|
readonly Ethereum: "ethereum";
|
|
8
|
+
readonly Hyperevm: "hyperevm";
|
|
8
9
|
readonly Tempo: "tempo";
|
|
9
10
|
};
|
|
10
11
|
export type V2CreditMorphoMarketsChain = ClosedEnum<typeof V2CreditMorphoMarketsChain>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v2creditmorphomarkets.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/v2creditmorphomarkets.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,0BAA0B
|
|
1
|
+
{"version":3,"file":"v2creditmorphomarkets.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/v2creditmorphomarkets.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,0BAA0B;;;;;;;CAO7B,CAAC;AACX,MAAM,MAAM,0BAA0B,GAAG,UAAU,CACjD,OAAO,0BAA0B,CAClC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB;;;;CAItB,CAAC;AACX;;;;;;GAMG;AACH,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEzE;;GAEG;AACH,eAAO,MAAM,8BAA8B;;;CAGjC,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,8BAA8B,GAAG,UAAU,CACrD,OAAO,8BAA8B,CACtC,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG;IACzC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,KAAK,EAAE,0BAA0B,CAAC;IAClC;;OAEG;IACH,OAAO,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;IAC1C;;OAEG;IACH,SAAS,CAAC,EAAE,8BAA8B,GAAG,SAAS,CAAC;CACxD,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yCAAyC,EAAE,CAAC,CAAC,aAAa,CACrE,OAAO,0BAA0B,CACS,CAAC;AAE7C,gBAAgB;AAChB,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,aAAa,CAC9D,OAAO,mBAAmB,CACS,CAAC;AAEtC,gBAAgB;AAChB,eAAO,MAAM,6CAA6C,EAAE,CAAC,CAAC,aAAa,CACzE,OAAO,8BAA8B,CACS,CAAC;AAEjD,gBAAgB;AAChB,MAAM,MAAM,qCAAqC,GAAG;IAClD,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAChC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,2CAA2C,EAAE,CAAC,CAAC,OAAO,CACjE,qCAAqC,EACrC,CAAC,CAAC,UAAU,EACZ,4BAA4B,CAW5B,CAAC;AAEH,wBAAgB,kCAAkC,CAChD,4BAA4B,EAAE,4BAA4B,GACzD,MAAM,CAMR"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v2creditmorphomarkets.js","sourceRoot":"","sources":["../../../../src/models/operations/v2creditmorphomarkets.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,KAAK,IAAI,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAG1D,MAAM,CAAC,MA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CAAC,QAAQ,EAAE;IACnC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE;IAClC,KAAK,EAAE,yCAAyC;IAChD,OAAO,EAAE,kCAAkC,CAAC,QAAQ,EAAE;IACtD,SAAS,EAAE,6CAA6C,CAAC,QAAQ,EAAE;CACpE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,MAAM,CAAC,CAAC,EAAE;QACf,OAAO,EAAE,UAAU;KACpB,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,kCAAkC,CAChD,4BAA0D;IAE1D,OAAO,IAAI,CAAC,SAAS,CACnB,2CAA2C,CAAC,KAAK,CAC/C,4BAA4B,CAC7B,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -5,6 +5,7 @@ export declare const V2CreditPositionsChain: {
|
|
|
5
5
|
readonly Base: "base";
|
|
6
6
|
readonly Bsc: "bsc";
|
|
7
7
|
readonly Ethereum: "ethereum";
|
|
8
|
+
readonly Hyperevm: "hyperevm";
|
|
8
9
|
readonly Tempo: "tempo";
|
|
9
10
|
};
|
|
10
11
|
export type V2CreditPositionsChain = ClosedEnum<typeof V2CreditPositionsChain>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v2creditpositions.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/v2creditpositions.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"v2creditpositions.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/v2creditpositions.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,eAAO,MAA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CAClB,CAAC,CAAC;AAEH,MAAM,UAAU,8BAA8B,CAC5C,wBAAkD;IAElD,OAAO,IAAI,CAAC,SAAS,CACnB,uCAAuC,CAAC,KAAK,CAAC,wBAAwB,CAAC,CACxE,CAAC;AACJ,CAAC"}
|
|
1
|
+
{"version":3,"file":"v2creditpositions.js","sourceRoot":"","sources":["../../../../src/models/operations/v2creditpositions.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,QAAQ,EAAE,UAAU;IACpB,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,KAAK;IACV,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;CACN,CAAC;AAWX,gBAAgB;AAChB,MAAM,CAAC,MAAM,qCAAqC,GAE9C,CAAC,CAAC,UAAU,CAAC,sBAAsB,CAAC,CAAC;AAQzC,gBAAgB;AAChB,MAAM,CAAC,MAAM,uCAAuC,GAIhD,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,qCAAqC;IAC5C,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC;AAEH,MAAM,UAAU,8BAA8B,CAC5C,wBAAkD;IAElD,OAAO,IAAI,CAAC,SAAS,CACnB,uCAAuC,CAAC,KAAK,CAAC,wBAAwB,CAAC,CACxE,CAAC;AACJ,CAAC"}
|
|
@@ -24,7 +24,7 @@ let value: CreditBorrowRequest = {
|
|
|
24
24
|
| Field | Type | Required | Description | Example |
|
|
25
25
|
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
26
26
|
| `owner` | *string* | :heavy_check_mark: | The address that owns the Credit Account. | 0xfeEb60eBf707DAA8248277058eb8D28EaeCF5425 |
|
|
27
|
-
| `chain` | [components.
|
|
27
|
+
| `chain` | [components.CreditBorrowRequestChain](../../models/components/creditborrowrequestchain.md) | :heavy_check_mark: | Blockchain network. | base |
|
|
28
28
|
| `protocol` | [components.CreditProtocol](../../models/components/creditprotocol.md) | :heavy_minus_sign: | Which lending protocol a credit action targets.<br/><br/>``AAVE`` is the default so existing callers (which never send a ``protocol``<br/>field) keep hitting the unchanged Aave code path. ``MORPHO`` identifies Morpho<br/>Blue lending markets by their bytes32 ``market_id``. ``EULER`` identifies Euler<br/>V2 markets by their EVK ``collateral_vault`` + ``borrow_vault`` addresses and<br/>supports isolated per-sub-account positions (``sub_account_id``). All three<br/>support the loop/unloop leverage endpoints. | |
|
|
29
29
|
| `collateralVault` | *string* | :heavy_minus_sign: | Euler only: the EVK collateral vault to supply into. Required when protocol=EULER and supplying collateral. | |
|
|
30
30
|
| `borrowVault` | *string* | :heavy_minus_sign: | Euler only: the EVK vault to borrow from. Required when protocol=EULER. | |
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# CreditBorrowRequestChain
|
|
2
|
+
|
|
3
|
+
Blockchain network.
|
|
4
|
+
|
|
5
|
+
## Example Usage
|
|
6
|
+
|
|
7
|
+
```typescript
|
|
8
|
+
import { CreditBorrowRequestChain } from "@compass-labs/api-sdk/models/components";
|
|
9
|
+
|
|
10
|
+
let value: CreditBorrowRequestChain = "base";
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Values
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
"arbitrum" | "base" | "bsc" | "ethereum" | "hyperevm" | "tempo"
|
|
17
|
+
```
|
|
@@ -9,7 +9,7 @@ import { CreditBundleRequest } from "@compass-labs/api-sdk/models/components";
|
|
|
9
9
|
|
|
10
10
|
let value: CreditBundleRequest = {
|
|
11
11
|
owner: "<value>",
|
|
12
|
-
chain: "
|
|
12
|
+
chain: "arbitrum",
|
|
13
13
|
actions: [],
|
|
14
14
|
gasSponsorship: false,
|
|
15
15
|
};
|
|
@@ -17,9 +17,9 @@ let value: CreditBundleRequest = {
|
|
|
17
17
|
|
|
18
18
|
## Fields
|
|
19
19
|
|
|
20
|
-
| Field
|
|
21
|
-
|
|
|
22
|
-
| `owner`
|
|
23
|
-
| `chain`
|
|
24
|
-
| `actions`
|
|
25
|
-
| `gasSponsorship`
|
|
20
|
+
| Field | Type | Required | Description | Example |
|
|
21
|
+
| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ |
|
|
22
|
+
| `owner` | *string* | :heavy_check_mark: | The owner's wallet address that controls the Credit Account. | |
|
|
23
|
+
| `chain` | [components.CreditBundleRequestChain](../../models/components/creditbundlerequestchain.md) | :heavy_check_mark: | Target blockchain network where the bundled actions will execute. | |
|
|
24
|
+
| `actions` | [components.CreditUserOperation](../../models/components/credituseroperation.md)[] | :heavy_check_mark: | List of actions to bundle. Actions are executed in order. | |
|
|
25
|
+
| `gasSponsorship` | *boolean* | :heavy_minus_sign: | If true, returns EIP-712 typed data for gas-sponsored execution. | false |
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# CreditBundleRequestChain
|
|
2
|
+
|
|
3
|
+
Target blockchain network where the bundled actions will execute.
|
|
4
|
+
|
|
5
|
+
## Example Usage
|
|
6
|
+
|
|
7
|
+
```typescript
|
|
8
|
+
import { CreditBundleRequestChain } from "@compass-labs/api-sdk/models/components";
|
|
9
|
+
|
|
10
|
+
let value: CreditBundleRequestChain = "arbitrum";
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Values
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
"arbitrum" | "base" | "bsc" | "ethereum" | "hyperevm" | "tempo"
|
|
17
|
+
```
|
|
@@ -28,7 +28,7 @@ let value: CreditLoopRequest = {
|
|
|
28
28
|
| Field | Type | Required | Description | Example |
|
|
29
29
|
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
30
30
|
| `owner` | *string* | :heavy_check_mark: | The address that owns the Credit Account. | 0x5e5b00ed886A6879C2B934612D2312975427fcAf |
|
|
31
|
-
| `chain` | [components.
|
|
31
|
+
| `chain` | [components.CreditLoopRequestChain](../../models/components/creditlooprequestchain.md) | :heavy_check_mark: | Blockchain network. | ethereum |
|
|
32
32
|
| `protocol` | [components.CreditProtocol](../../models/components/creditprotocol.md) | :heavy_minus_sign: | Which lending protocol a credit action targets.<br/><br/>``AAVE`` is the default so existing callers (which never send a ``protocol``<br/>field) keep hitting the unchanged Aave code path. ``MORPHO`` identifies Morpho<br/>Blue lending markets by their bytes32 ``market_id``. ``EULER`` identifies Euler<br/>V2 markets by their EVK ``collateral_vault`` + ``borrow_vault`` addresses and<br/>supports isolated per-sub-account positions (``sub_account_id``). All three<br/>support the loop/unloop leverage endpoints. | |
|
|
33
33
|
| `marketId` | *string* | :heavy_minus_sign: | Morpho only: the bytes32 market id (from /v2/credit/morpho_markets). Required when protocol=MORPHO. | |
|
|
34
34
|
| `collateralVault` | *string* | :heavy_minus_sign: | Euler only: the EVK vault address collateral is supplied to (from /v2/credit/euler_markets). Required when protocol=EULER. | |
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# CreditLoopRequestChain
|
|
2
|
+
|
|
3
|
+
Blockchain network.
|
|
4
|
+
|
|
5
|
+
## Example Usage
|
|
6
|
+
|
|
7
|
+
```typescript
|
|
8
|
+
import { CreditLoopRequestChain } from "@compass-labs/api-sdk/models/components";
|
|
9
|
+
|
|
10
|
+
let value: CreditLoopRequestChain = "ethereum";
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Values
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
"arbitrum" | "base" | "bsc" | "ethereum" | "hyperevm" | "tempo"
|
|
17
|
+
```
|
|
@@ -31,7 +31,7 @@ let value: CreditRebalanceRequest = {
|
|
|
31
31
|
| Field | Type | Required | Description | Example |
|
|
32
32
|
| ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
|
|
33
33
|
| `owner` | *string* | :heavy_check_mark: | The address that owns the Credit Account. | 0x4D3c07d1db7E4A9E44285fae9810d6549655bc74 |
|
|
34
|
-
| `chain` | [components.
|
|
34
|
+
| `chain` | [components.CreditRebalanceRequestChain](../../models/components/creditrebalancerequestchain.md) | :heavy_check_mark: | Blockchain network. Rebalance is not available on HyperEVM yet; use loop/unloop there. | ethereum |
|
|
35
35
|
| `targets` | [components.RebalanceTarget](../../models/components/rebalancetarget.md)[] | :heavy_check_mark: | The positions to change. Scoped: only positions named here are touched; any position not listed is left untouched. | [<br/>{<br/>"borrow_token": "USDC",<br/>"collateral_token": "WETH",<br/>"protocol": "AAVE",<br/>"target_multiplier": 2<br/>}<br/>] |
|
|
36
36
|
| `maxSlippagePercent` | *components.CreditRebalanceRequestMaxSlippagePercent* | :heavy_minus_sign: | Request-level per-swap slippage tolerance in percent (including routing swaps). A per-target max_slippage_percent overrides it where set. | 0.5 |
|
|
37
37
|
| `gasSponsorship` | *boolean* | :heavy_minus_sign: | If true, returns EIP-712 typed data for gas-sponsored execution instead of an unsigned transaction. | false |
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# CreditRebalanceRequestChain
|
|
2
|
+
|
|
3
|
+
Blockchain network. Rebalance is not available on HyperEVM yet; use loop/unloop there.
|
|
4
|
+
|
|
5
|
+
## Example Usage
|
|
6
|
+
|
|
7
|
+
```typescript
|
|
8
|
+
import { CreditRebalanceRequestChain } from "@compass-labs/api-sdk/models/components";
|
|
9
|
+
|
|
10
|
+
let value: CreditRebalanceRequestChain = "ethereum";
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Values
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
"arbitrum" | "base" | "bsc" | "ethereum" | "tempo"
|
|
17
|
+
```
|
|
@@ -23,7 +23,7 @@ let value: CreditRepayRequest = {
|
|
|
23
23
|
| Field | Type | Required | Description | Example |
|
|
24
24
|
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
25
25
|
| `owner` | *string* | :heavy_check_mark: | The address that owns the Credit Account. | 0x831Ad0C52C77708DA5D49dc8278C966dfdD4ddA1 |
|
|
26
|
-
| `chain` | [components.
|
|
26
|
+
| `chain` | [components.CreditRepayRequestChain](../../models/components/creditrepayrequestchain.md) | :heavy_check_mark: | Blockchain network. | base |
|
|
27
27
|
| `protocol` | [components.CreditProtocol](../../models/components/creditprotocol.md) | :heavy_minus_sign: | Which lending protocol a credit action targets.<br/><br/>``AAVE`` is the default so existing callers (which never send a ``protocol``<br/>field) keep hitting the unchanged Aave code path. ``MORPHO`` identifies Morpho<br/>Blue lending markets by their bytes32 ``market_id``. ``EULER`` identifies Euler<br/>V2 markets by their EVK ``collateral_vault`` + ``borrow_vault`` addresses and<br/>supports isolated per-sub-account positions (``sub_account_id``). All three<br/>support the loop/unloop leverage endpoints. | |
|
|
28
28
|
| `borrowVault` | *string* | :heavy_minus_sign: | Euler only: the EVK vault the debt is owed to (repay target). Required when protocol=EULER. | |
|
|
29
29
|
| `marketId` | *string* | :heavy_minus_sign: | Morpho only: the bytes32 market id (from /v2/credit/morpho_markets). Required when protocol=MORPHO. | |
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# CreditRepayRequestChain
|
|
2
|
+
|
|
3
|
+
Blockchain network.
|
|
4
|
+
|
|
5
|
+
## Example Usage
|
|
6
|
+
|
|
7
|
+
```typescript
|
|
8
|
+
import { CreditRepayRequestChain } from "@compass-labs/api-sdk/models/components";
|
|
9
|
+
|
|
10
|
+
let value: CreditRepayRequestChain = "base";
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Values
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
"arbitrum" | "base" | "bsc" | "ethereum" | "hyperevm" | "tempo"
|
|
17
|
+
```
|
|
@@ -19,7 +19,7 @@ let value: CreditTransferRequest = {
|
|
|
19
19
|
| Field | Type | Required | Description | Example |
|
|
20
20
|
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
21
21
|
| `owner` | *string* | :heavy_check_mark: | The owner's wallet address (EOA). | 0x4A83fec8c6A9A25Be28f3242a16dBaD0ab00f3a6 |
|
|
22
|
-
| `chain` | [components.
|
|
22
|
+
| `chain` | [components.CreditTransferRequestChain](../../models/components/credittransferrequestchain.md) | :heavy_check_mark: | Blockchain network. | base |
|
|
23
23
|
| `token` | *string* | :heavy_check_mark: | The token to transfer. | USDC |
|
|
24
24
|
| `amount` | *components.CreditTransferRequestAmount* | :heavy_check_mark: | The amount of tokens to transfer (in token units, not wei). | 100 |
|
|
25
25
|
| `action` | [components.CreditTransferRequestAction](../../models/components/credittransferrequestaction.md) | :heavy_check_mark: | Whether you are depositing to or withdrawing from your credit account. | DEPOSIT |
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# CreditTransferRequestChain
|
|
2
|
+
|
|
3
|
+
Blockchain network.
|
|
4
|
+
|
|
5
|
+
## Example Usage
|
|
6
|
+
|
|
7
|
+
```typescript
|
|
8
|
+
import { CreditTransferRequestChain } from "@compass-labs/api-sdk/models/components";
|
|
9
|
+
|
|
10
|
+
let value: CreditTransferRequestChain = "base";
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Values
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
"arbitrum" | "base" | "bsc" | "ethereum" | "hyperevm" | "tempo"
|
|
17
|
+
```
|
|
@@ -26,7 +26,7 @@ let value: CreditUnloopRequest = {
|
|
|
26
26
|
| Field | Type | Required | Description | Example |
|
|
27
27
|
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
28
28
|
| `owner` | *string* | :heavy_check_mark: | The address that owns the Credit Account. | 0x0E407CdeBD8e078E6966ef6740540d25F5897082 |
|
|
29
|
-
| `chain` | [components.
|
|
29
|
+
| `chain` | [components.CreditUnloopRequestChain](../../models/components/creditunlooprequestchain.md) | :heavy_check_mark: | Blockchain network. | ethereum |
|
|
30
30
|
| `protocol` | [components.CreditProtocol](../../models/components/creditprotocol.md) | :heavy_minus_sign: | Which lending protocol a credit action targets.<br/><br/>``AAVE`` is the default so existing callers (which never send a ``protocol``<br/>field) keep hitting the unchanged Aave code path. ``MORPHO`` identifies Morpho<br/>Blue lending markets by their bytes32 ``market_id``. ``EULER`` identifies Euler<br/>V2 markets by their EVK ``collateral_vault`` + ``borrow_vault`` addresses and<br/>supports isolated per-sub-account positions (``sub_account_id``). All three<br/>support the loop/unloop leverage endpoints. | |
|
|
31
31
|
| `marketId` | *string* | :heavy_minus_sign: | Morpho only: the bytes32 market id (from /v2/credit/morpho_markets). Required when protocol=MORPHO. | |
|
|
32
32
|
| `collateralVault` | *string* | :heavy_minus_sign: | Euler only: the EVK vault the loop's collateral is in. Required when protocol=EULER. | |
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# CreditUnloopRequestChain
|
|
2
|
+
|
|
3
|
+
Blockchain network.
|
|
4
|
+
|
|
5
|
+
## Example Usage
|
|
6
|
+
|
|
7
|
+
```typescript
|
|
8
|
+
import { CreditUnloopRequestChain } from "@compass-labs/api-sdk/models/components";
|
|
9
|
+
|
|
10
|
+
let value: CreditUnloopRequestChain = "ethereum";
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Values
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
"arbitrum" | "base" | "bsc" | "ethereum" | "hyperevm" | "tempo"
|
|
17
|
+
```
|