otomato-sdk 2.0.409 → 2.0.410
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.
|
@@ -2962,7 +2962,7 @@ export const TRIGGERS = {
|
|
|
2962
2962
|
},
|
|
2963
2963
|
"LTV": {
|
|
2964
2964
|
"name": "LTV",
|
|
2965
|
-
"dynamicName": "async (env, { otomatoSDK }) => {\n const { getDynamicNameWrapperHTML,
|
|
2965
|
+
"dynamicName": "async (env, { otomatoSDK }) => {\n const { getDynamicNameWrapperHTML, shortenAddress, getChainHTML, getComparisonString } = otomatoSDK;\n return getDynamicNameWrapperHTML(\n `If`,\n shortenAddress(env.parameters['user']),\n `LTV on ${getChainHTML(env.parameters.chainId)} ${getComparisonString(env.parameters.condition, env.parameters.comparisonValue)}`\n );\n }",
|
|
2966
2966
|
"description": "Get the current Loan-to-Value (LTV) ratio for the given wallet address on Compound",
|
|
2967
2967
|
"type": 1,
|
|
2968
2968
|
"method": "function numAssets() external view returns (uint8)",
|
|
@@ -3042,7 +3042,7 @@ export const TRIGGERS = {
|
|
|
3042
3042
|
},
|
|
3043
3043
|
"HEALTH_FACTOR": {
|
|
3044
3044
|
"name": "Health Factor",
|
|
3045
|
-
"dynamicName": "async (env, { otomatoSDK }) => {\n const { getDynamicNameWrapperHTML,
|
|
3045
|
+
"dynamicName": "async (env, { otomatoSDK }) => {\n const { getDynamicNameWrapperHTML, shortenAddress, getChainHTML, getComparisonString } = otomatoSDK;\n return getDynamicNameWrapperHTML(\n `If`,\n shortenAddress(env.parameters['user']),\n `health factor on ${getChainHTML(env.parameters.chainId)} ${getComparisonString(env.parameters.condition, env.parameters.comparisonValue)}`\n );\n }",
|
|
3046
3046
|
"description": "Get the health factor for a given account on Compound",
|
|
3047
3047
|
"type": 1,
|
|
3048
3048
|
"method": "function numAssets() external view returns (uint8)",
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "2.0.
|
|
1
|
+
export declare const SDK_VERSION = "2.0.410";
|
|
2
2
|
export declare function compareVersions(v1: string, v2: string): number;
|