otomato-sdk 2.0.549 → 2.0.550
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/dist/src/constants/Blocks.js +1476 -53
- package/dist/src/constants/chains.js +4 -1
- package/dist/src/constants/tokens.js +2 -0
- package/dist/src/constants/version.js +1 -1
- package/dist/src/services/RpcServices.js +9 -0
- package/dist/types/src/constants/Blocks.d.ts +143 -22
- package/dist/types/src/constants/chains.d.ts +3 -0
- package/dist/types/src/constants/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1683,7 +1683,9 @@ export const TRIGGERS = {
|
|
|
1683
1683
|
"chains": [
|
|
1684
1684
|
1,
|
|
1685
1685
|
8453,
|
|
1686
|
-
999
|
|
1686
|
+
999,
|
|
1687
|
+
56,
|
|
1688
|
+
9745
|
|
1687
1689
|
],
|
|
1688
1690
|
"image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/pendle.webp",
|
|
1689
1691
|
"PT_IMPLIED_YIELD": {
|
|
@@ -1742,6 +1744,36 @@ export const TRIGGERS = {
|
|
|
1742
1744
|
"value": "0xb9b7840ec34094ce1269c38ba7a6ac7407f9c4e3"
|
|
1743
1745
|
}
|
|
1744
1746
|
]
|
|
1747
|
+
},
|
|
1748
|
+
{
|
|
1749
|
+
"name": "PT Implied Yield for ynBNBx Market on BSC",
|
|
1750
|
+
"description": "Retrieves the PT implied yield for the ynBNBx market on BSC.",
|
|
1751
|
+
"externalVariableDescription": "Fetches the current PT implied yield for ynBNBx market on BSC",
|
|
1752
|
+
"parameters": [
|
|
1753
|
+
{
|
|
1754
|
+
"key": "chainId",
|
|
1755
|
+
"value": 56
|
|
1756
|
+
},
|
|
1757
|
+
{
|
|
1758
|
+
"key": "abiParams.marketAddress",
|
|
1759
|
+
"value": "0x6113943361e4dbaeedc0ba260195a84adebd1b9f"
|
|
1760
|
+
}
|
|
1761
|
+
]
|
|
1762
|
+
},
|
|
1763
|
+
{
|
|
1764
|
+
"name": "PT Implied Yield for USDe Market on Plasma",
|
|
1765
|
+
"description": "Retrieves the PT implied yield for the USDe market on Plasma.",
|
|
1766
|
+
"externalVariableDescription": "Fetches the current PT implied yield for USDe market on Plasma",
|
|
1767
|
+
"parameters": [
|
|
1768
|
+
{
|
|
1769
|
+
"key": "chainId",
|
|
1770
|
+
"value": 9745
|
|
1771
|
+
},
|
|
1772
|
+
{
|
|
1773
|
+
"key": "abiParams.marketAddress",
|
|
1774
|
+
"value": "0x4bab3368dedb3398664e845612d189666c6c3f5f"
|
|
1775
|
+
}
|
|
1776
|
+
]
|
|
1745
1777
|
}
|
|
1746
1778
|
],
|
|
1747
1779
|
"blockId": 101,
|
|
@@ -1803,6 +1835,34 @@ export const TRIGGERS = {
|
|
|
1803
1835
|
"value": "0x97d985a71131afc02c320b636a268df34c6f42a4"
|
|
1804
1836
|
}
|
|
1805
1837
|
]
|
|
1838
|
+
},
|
|
1839
|
+
{
|
|
1840
|
+
"name": "YT Leverage for ynBNBx Market on BSC",
|
|
1841
|
+
"description": "Retrieves the YT leverage for the ynBNBx market on BSC.",
|
|
1842
|
+
"parameters": [
|
|
1843
|
+
{
|
|
1844
|
+
"key": "chainId",
|
|
1845
|
+
"value": 56
|
|
1846
|
+
},
|
|
1847
|
+
{
|
|
1848
|
+
"key": "abiParams.marketAddress",
|
|
1849
|
+
"value": "0x6113943361e4dbaeedc0ba260195a84adebd1b9f"
|
|
1850
|
+
}
|
|
1851
|
+
]
|
|
1852
|
+
},
|
|
1853
|
+
{
|
|
1854
|
+
"name": "YT Leverage for USDe Market on Plasma",
|
|
1855
|
+
"description": "Retrieves the YT leverage for the USDe market on Plasma.",
|
|
1856
|
+
"parameters": [
|
|
1857
|
+
{
|
|
1858
|
+
"key": "chainId",
|
|
1859
|
+
"value": 9745
|
|
1860
|
+
},
|
|
1861
|
+
{
|
|
1862
|
+
"key": "abiParams.marketAddress",
|
|
1863
|
+
"value": "0x4bab3368dedb3398664e845612d189666c6c3f5f"
|
|
1864
|
+
}
|
|
1865
|
+
]
|
|
1806
1866
|
}
|
|
1807
1867
|
],
|
|
1808
1868
|
"blockId": 100,
|
|
@@ -1851,6 +1911,34 @@ export const TRIGGERS = {
|
|
|
1851
1911
|
"value": "0x810f9d4a751cafd5193617022b35fa0b0c166b4c"
|
|
1852
1912
|
}
|
|
1853
1913
|
]
|
|
1914
|
+
},
|
|
1915
|
+
{
|
|
1916
|
+
"name": "PT ynBNBx Market expired on BSC",
|
|
1917
|
+
"description": "Triggers when PT ynBNBx market on BSC expires.",
|
|
1918
|
+
"parameters": [
|
|
1919
|
+
{
|
|
1920
|
+
"key": "chainId",
|
|
1921
|
+
"value": 56
|
|
1922
|
+
},
|
|
1923
|
+
{
|
|
1924
|
+
"key": "marketAddress",
|
|
1925
|
+
"value": "0x6113943361e4dbaeedc0ba260195a84adebd1b9f"
|
|
1926
|
+
}
|
|
1927
|
+
]
|
|
1928
|
+
},
|
|
1929
|
+
{
|
|
1930
|
+
"name": "PT USDe Market expired on Plasma",
|
|
1931
|
+
"description": "Triggers when PT USDe market on Plasma expires.",
|
|
1932
|
+
"parameters": [
|
|
1933
|
+
{
|
|
1934
|
+
"key": "chainId",
|
|
1935
|
+
"value": 9745
|
|
1936
|
+
},
|
|
1937
|
+
{
|
|
1938
|
+
"key": "marketAddress",
|
|
1939
|
+
"value": "0x4bab3368dedb3398664e845612d189666c6c3f5f"
|
|
1940
|
+
}
|
|
1941
|
+
]
|
|
1854
1942
|
}
|
|
1855
1943
|
],
|
|
1856
1944
|
"blockId": 83,
|
|
@@ -1899,6 +1987,34 @@ export const TRIGGERS = {
|
|
|
1899
1987
|
"value": "0x2b55b35d9be63d016ee902d87af29d2c4f397dc1"
|
|
1900
1988
|
}
|
|
1901
1989
|
]
|
|
1990
|
+
},
|
|
1991
|
+
{
|
|
1992
|
+
"name": "YT ynBNBx Market expired on BSC",
|
|
1993
|
+
"description": "Triggers when YT ynBNBx market on BSC expires.",
|
|
1994
|
+
"parameters": [
|
|
1995
|
+
{
|
|
1996
|
+
"key": "chainId",
|
|
1997
|
+
"value": 56
|
|
1998
|
+
},
|
|
1999
|
+
{
|
|
2000
|
+
"key": "marketAddress",
|
|
2001
|
+
"value": "0x6113943361e4dbaeedc0ba260195a84adebd1b9f"
|
|
2002
|
+
}
|
|
2003
|
+
]
|
|
2004
|
+
},
|
|
2005
|
+
{
|
|
2006
|
+
"name": "YT USDe Market expired on Plasma",
|
|
2007
|
+
"description": "Triggers when YT USDe market on Plasma expires.",
|
|
2008
|
+
"parameters": [
|
|
2009
|
+
{
|
|
2010
|
+
"key": "chainId",
|
|
2011
|
+
"value": 9745
|
|
2012
|
+
},
|
|
2013
|
+
{
|
|
2014
|
+
"key": "marketAddress",
|
|
2015
|
+
"value": "0x4bab3368dedb3398664e845612d189666c6c3f5f"
|
|
2016
|
+
}
|
|
2017
|
+
]
|
|
1902
2018
|
}
|
|
1903
2019
|
],
|
|
1904
2020
|
"blockId": 86,
|
|
@@ -2006,6 +2122,34 @@ export const TRIGGERS = {
|
|
|
2006
2122
|
"value": "0x97d985a71131afc02c320b636a268df34c6f42a4"
|
|
2007
2123
|
}
|
|
2008
2124
|
]
|
|
2125
|
+
},
|
|
2126
|
+
{
|
|
2127
|
+
"name": "LP ynBNBx Market expired on BSC",
|
|
2128
|
+
"description": "Triggers when LP ynBNBx market on BSC expires.",
|
|
2129
|
+
"parameters": [
|
|
2130
|
+
{
|
|
2131
|
+
"key": "chainId",
|
|
2132
|
+
"value": 56
|
|
2133
|
+
},
|
|
2134
|
+
{
|
|
2135
|
+
"key": "marketAddress",
|
|
2136
|
+
"value": "0x6113943361e4dbaeedc0ba260195a84adebd1b9f"
|
|
2137
|
+
}
|
|
2138
|
+
]
|
|
2139
|
+
},
|
|
2140
|
+
{
|
|
2141
|
+
"name": "LP USDe Market expired on Plasma",
|
|
2142
|
+
"description": "Triggers when LP USDe market on Plasma expires.",
|
|
2143
|
+
"parameters": [
|
|
2144
|
+
{
|
|
2145
|
+
"key": "chainId",
|
|
2146
|
+
"value": 9745
|
|
2147
|
+
},
|
|
2148
|
+
{
|
|
2149
|
+
"key": "marketAddress",
|
|
2150
|
+
"value": "0x4bab3368dedb3398664e845612d189666c6c3f5f"
|
|
2151
|
+
}
|
|
2152
|
+
]
|
|
2009
2153
|
}
|
|
2010
2154
|
],
|
|
2011
2155
|
"blockId": 88,
|
|
@@ -2068,6 +2212,34 @@ export const TRIGGERS = {
|
|
|
2068
2212
|
"value": "0xc60b85cef3ccfa46d9ead992c6f2c3ba319f71ed"
|
|
2069
2213
|
}
|
|
2070
2214
|
]
|
|
2215
|
+
},
|
|
2216
|
+
{
|
|
2217
|
+
"name": "Monitor Supply Cap for ynBNBx on BSC",
|
|
2218
|
+
"description": "Alert when the supply cap changes on the ynBNBx Pendle market on BSC",
|
|
2219
|
+
"parameters": [
|
|
2220
|
+
{
|
|
2221
|
+
"key": "chainId",
|
|
2222
|
+
"value": 56
|
|
2223
|
+
},
|
|
2224
|
+
{
|
|
2225
|
+
"key": "marketAddress",
|
|
2226
|
+
"value": "0x6113943361e4dbaeedc0ba260195a84adebd1b9f"
|
|
2227
|
+
}
|
|
2228
|
+
]
|
|
2229
|
+
},
|
|
2230
|
+
{
|
|
2231
|
+
"name": "Monitor Supply Cap for USDe on Plasma",
|
|
2232
|
+
"description": "Alert when the supply cap changes on the USDe Pendle market on Plasma",
|
|
2233
|
+
"parameters": [
|
|
2234
|
+
{
|
|
2235
|
+
"key": "chainId",
|
|
2236
|
+
"value": 9745
|
|
2237
|
+
},
|
|
2238
|
+
{
|
|
2239
|
+
"key": "marketAddress",
|
|
2240
|
+
"value": "0x4bab3368dedb3398664e845612d189666c6c3f5f"
|
|
2241
|
+
}
|
|
2242
|
+
]
|
|
2071
2243
|
}
|
|
2072
2244
|
],
|
|
2073
2245
|
"blockId": 139,
|
|
@@ -2456,7 +2628,10 @@ export const TRIGGERS = {
|
|
|
2456
2628
|
146,
|
|
2457
2629
|
10,
|
|
2458
2630
|
137,
|
|
2459
|
-
56
|
|
2631
|
+
56,
|
|
2632
|
+
5000,
|
|
2633
|
+
57073,
|
|
2634
|
+
9745
|
|
2460
2635
|
],
|
|
2461
2636
|
"image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/aave.png",
|
|
2462
2637
|
"LENDING_RATE": {
|
|
@@ -2523,6 +2698,141 @@ export const TRIGGERS = {
|
|
|
2523
2698
|
"value": 5
|
|
2524
2699
|
}
|
|
2525
2700
|
]
|
|
2701
|
+
},
|
|
2702
|
+
{
|
|
2703
|
+
"name": "USDC Lending Rate is above 5% on Polygon",
|
|
2704
|
+
"description": "USDC Lending Rate is above 5% on Polygon",
|
|
2705
|
+
"externalVariableDescription": "Fetches the current USDC lending rate on Polygon",
|
|
2706
|
+
"parameters": [
|
|
2707
|
+
{
|
|
2708
|
+
"key": "chainId",
|
|
2709
|
+
"value": 137
|
|
2710
|
+
},
|
|
2711
|
+
{
|
|
2712
|
+
"key": "abiParams.asset",
|
|
2713
|
+
"value": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359"
|
|
2714
|
+
},
|
|
2715
|
+
{
|
|
2716
|
+
"key": "condition",
|
|
2717
|
+
"value": "gt"
|
|
2718
|
+
},
|
|
2719
|
+
{
|
|
2720
|
+
"key": "comparisonValue",
|
|
2721
|
+
"value": 5
|
|
2722
|
+
}
|
|
2723
|
+
]
|
|
2724
|
+
},
|
|
2725
|
+
{
|
|
2726
|
+
"name": "USDC Lending Rate is above 5% on BSC",
|
|
2727
|
+
"description": "USDC Lending Rate is above 5% on BSC",
|
|
2728
|
+
"externalVariableDescription": "Fetches the current USDC lending rate on BSC",
|
|
2729
|
+
"parameters": [
|
|
2730
|
+
{
|
|
2731
|
+
"key": "chainId",
|
|
2732
|
+
"value": 56
|
|
2733
|
+
},
|
|
2734
|
+
{
|
|
2735
|
+
"key": "abiParams.asset",
|
|
2736
|
+
"value": "0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d"
|
|
2737
|
+
},
|
|
2738
|
+
{
|
|
2739
|
+
"key": "condition",
|
|
2740
|
+
"value": "gt"
|
|
2741
|
+
},
|
|
2742
|
+
{
|
|
2743
|
+
"key": "comparisonValue",
|
|
2744
|
+
"value": 5
|
|
2745
|
+
}
|
|
2746
|
+
]
|
|
2747
|
+
},
|
|
2748
|
+
{
|
|
2749
|
+
"name": "USDC Lending Rate is above 5% on Avalanche",
|
|
2750
|
+
"description": "USDC Lending Rate is above 5% on Avalanche",
|
|
2751
|
+
"externalVariableDescription": "Fetches the current USDC lending rate on Avalanche",
|
|
2752
|
+
"parameters": [
|
|
2753
|
+
{
|
|
2754
|
+
"key": "chainId",
|
|
2755
|
+
"value": 43114
|
|
2756
|
+
},
|
|
2757
|
+
{
|
|
2758
|
+
"key": "abiParams.asset",
|
|
2759
|
+
"value": "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E"
|
|
2760
|
+
},
|
|
2761
|
+
{
|
|
2762
|
+
"key": "condition",
|
|
2763
|
+
"value": "gt"
|
|
2764
|
+
},
|
|
2765
|
+
{
|
|
2766
|
+
"key": "comparisonValue",
|
|
2767
|
+
"value": 5
|
|
2768
|
+
}
|
|
2769
|
+
]
|
|
2770
|
+
},
|
|
2771
|
+
{
|
|
2772
|
+
"name": "USDC Lending Rate on Mantle",
|
|
2773
|
+
"description": "USDC Lending Rate above 1% on Aave Mantle",
|
|
2774
|
+
"parameters": [
|
|
2775
|
+
{
|
|
2776
|
+
"key": "chainId",
|
|
2777
|
+
"value": 5000
|
|
2778
|
+
},
|
|
2779
|
+
{
|
|
2780
|
+
"key": "abiParams.asset",
|
|
2781
|
+
"value": "0x09Bc4E0D864854c6aFB6eB9A9cdF58aC190D0dF9"
|
|
2782
|
+
},
|
|
2783
|
+
{
|
|
2784
|
+
"key": "condition",
|
|
2785
|
+
"value": "gt"
|
|
2786
|
+
},
|
|
2787
|
+
{
|
|
2788
|
+
"key": "comparisonValue",
|
|
2789
|
+
"value": 1
|
|
2790
|
+
}
|
|
2791
|
+
]
|
|
2792
|
+
},
|
|
2793
|
+
{
|
|
2794
|
+
"name": "USD₮0 Lending Rate on Ink",
|
|
2795
|
+
"description": "USD₮0 Lending Rate above 1% on Aave Ink",
|
|
2796
|
+
"parameters": [
|
|
2797
|
+
{
|
|
2798
|
+
"key": "chainId",
|
|
2799
|
+
"value": 57073
|
|
2800
|
+
},
|
|
2801
|
+
{
|
|
2802
|
+
"key": "abiParams.asset",
|
|
2803
|
+
"value": "0x0200C29006150606B650577BBE7B6248F58470c1"
|
|
2804
|
+
},
|
|
2805
|
+
{
|
|
2806
|
+
"key": "condition",
|
|
2807
|
+
"value": "gt"
|
|
2808
|
+
},
|
|
2809
|
+
{
|
|
2810
|
+
"key": "comparisonValue",
|
|
2811
|
+
"value": 1
|
|
2812
|
+
}
|
|
2813
|
+
]
|
|
2814
|
+
},
|
|
2815
|
+
{
|
|
2816
|
+
"name": "USDe Lending Rate on Plasma",
|
|
2817
|
+
"description": "USDe Lending Rate above 1% on Aave Plasma",
|
|
2818
|
+
"parameters": [
|
|
2819
|
+
{
|
|
2820
|
+
"key": "chainId",
|
|
2821
|
+
"value": 9745
|
|
2822
|
+
},
|
|
2823
|
+
{
|
|
2824
|
+
"key": "abiParams.asset",
|
|
2825
|
+
"value": "0x5d3a1Ff2b6BAb83b63cd9AD0787074081a52ef34"
|
|
2826
|
+
},
|
|
2827
|
+
{
|
|
2828
|
+
"key": "condition",
|
|
2829
|
+
"value": "gt"
|
|
2830
|
+
},
|
|
2831
|
+
{
|
|
2832
|
+
"key": "comparisonValue",
|
|
2833
|
+
"value": 1
|
|
2834
|
+
}
|
|
2835
|
+
]
|
|
2526
2836
|
}
|
|
2527
2837
|
],
|
|
2528
2838
|
"blockId": 19,
|
|
@@ -2592,31 +2902,163 @@ export const TRIGGERS = {
|
|
|
2592
2902
|
"value": 3
|
|
2593
2903
|
}
|
|
2594
2904
|
]
|
|
2595
|
-
}
|
|
2596
|
-
],
|
|
2597
|
-
"blockId": 20,
|
|
2598
|
-
"image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/aave.png"
|
|
2599
|
-
},
|
|
2600
|
-
"LTV": {
|
|
2601
|
-
"name": "LTV",
|
|
2602
|
-
"dynamicName": "async (env, { otomatoSDK }) => {\n const { getChainHTML, getComparisonString, shortenAddress } = otomatoSDK;\n return `<div><b>${shortenAddress(env.parameters['abiParams.user'])}</b> LTV on ${getChainHTML(env.parameters.chainId)} ${getComparisonString(env.parameters.condition, env.parameters.comparisonValue)}</div>`;\n }",
|
|
2603
|
-
"description": "Get the maximum and current Loan-to-Value (LTV) ratios for the given wallet address on Aave",
|
|
2604
|
-
"type": 1,
|
|
2605
|
-
"prototype": "aaveLTV",
|
|
2606
|
-
"method": "function getUserAccountData(address user) external view returns (uint256 totalCollateralBase, uint256 totalDebtBase, uint256 availableBorrowsBase, uint256 currentLiquidationThreshold, uint256 ltv, uint256 healthFactor)",
|
|
2607
|
-
"parameters": [
|
|
2608
|
-
{
|
|
2609
|
-
"key": "chainId",
|
|
2610
|
-
"type": "chainId",
|
|
2611
|
-
"description": "Chain ID of the network",
|
|
2612
|
-
"mandatory": true,
|
|
2613
|
-
"category": 0
|
|
2614
2905
|
},
|
|
2615
2906
|
{
|
|
2616
|
-
"
|
|
2617
|
-
"
|
|
2618
|
-
"
|
|
2619
|
-
|
|
2907
|
+
"name": "USDC Borrowing Rate on Polygon",
|
|
2908
|
+
"description": "USDC Borrowing Rate above 3% on Aave Polygon",
|
|
2909
|
+
"parameters": [
|
|
2910
|
+
{
|
|
2911
|
+
"key": "chainId",
|
|
2912
|
+
"value": 137
|
|
2913
|
+
},
|
|
2914
|
+
{
|
|
2915
|
+
"key": "abiParams.asset",
|
|
2916
|
+
"value": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359"
|
|
2917
|
+
},
|
|
2918
|
+
{
|
|
2919
|
+
"key": "condition",
|
|
2920
|
+
"value": "gt"
|
|
2921
|
+
},
|
|
2922
|
+
{
|
|
2923
|
+
"key": "comparisonValue",
|
|
2924
|
+
"value": 3
|
|
2925
|
+
}
|
|
2926
|
+
]
|
|
2927
|
+
},
|
|
2928
|
+
{
|
|
2929
|
+
"name": "USDC Borrowing Rate on BSC",
|
|
2930
|
+
"description": "USDC Borrowing Rate above 3% on Aave BSC",
|
|
2931
|
+
"parameters": [
|
|
2932
|
+
{
|
|
2933
|
+
"key": "chainId",
|
|
2934
|
+
"value": 56
|
|
2935
|
+
},
|
|
2936
|
+
{
|
|
2937
|
+
"key": "abiParams.asset",
|
|
2938
|
+
"value": "0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d"
|
|
2939
|
+
},
|
|
2940
|
+
{
|
|
2941
|
+
"key": "condition",
|
|
2942
|
+
"value": "gt"
|
|
2943
|
+
},
|
|
2944
|
+
{
|
|
2945
|
+
"key": "comparisonValue",
|
|
2946
|
+
"value": 3
|
|
2947
|
+
}
|
|
2948
|
+
]
|
|
2949
|
+
},
|
|
2950
|
+
{
|
|
2951
|
+
"name": "USDC Borrowing Rate on Avalanche",
|
|
2952
|
+
"description": "USDC Borrowing Rate above 3% on Aave Avalanche",
|
|
2953
|
+
"parameters": [
|
|
2954
|
+
{
|
|
2955
|
+
"key": "chainId",
|
|
2956
|
+
"value": 43114
|
|
2957
|
+
},
|
|
2958
|
+
{
|
|
2959
|
+
"key": "abiParams.asset",
|
|
2960
|
+
"value": "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E"
|
|
2961
|
+
},
|
|
2962
|
+
{
|
|
2963
|
+
"key": "condition",
|
|
2964
|
+
"value": "gt"
|
|
2965
|
+
},
|
|
2966
|
+
{
|
|
2967
|
+
"key": "comparisonValue",
|
|
2968
|
+
"value": 3
|
|
2969
|
+
}
|
|
2970
|
+
]
|
|
2971
|
+
},
|
|
2972
|
+
{
|
|
2973
|
+
"name": "USDC Borrowing Rate on Mantle",
|
|
2974
|
+
"description": "USDC Borrowing Rate above 1% on Aave Mantle",
|
|
2975
|
+
"parameters": [
|
|
2976
|
+
{
|
|
2977
|
+
"key": "chainId",
|
|
2978
|
+
"value": 5000
|
|
2979
|
+
},
|
|
2980
|
+
{
|
|
2981
|
+
"key": "abiParams.asset",
|
|
2982
|
+
"value": "0x09Bc4E0D864854c6aFB6eB9A9cdF58aC190D0dF9"
|
|
2983
|
+
},
|
|
2984
|
+
{
|
|
2985
|
+
"key": "condition",
|
|
2986
|
+
"value": "gt"
|
|
2987
|
+
},
|
|
2988
|
+
{
|
|
2989
|
+
"key": "comparisonValue",
|
|
2990
|
+
"value": 1
|
|
2991
|
+
}
|
|
2992
|
+
]
|
|
2993
|
+
},
|
|
2994
|
+
{
|
|
2995
|
+
"name": "USD₮0 Borrowing Rate on Ink",
|
|
2996
|
+
"description": "USD₮0 Borrowing Rate above 1% on Aave Ink",
|
|
2997
|
+
"parameters": [
|
|
2998
|
+
{
|
|
2999
|
+
"key": "chainId",
|
|
3000
|
+
"value": 57073
|
|
3001
|
+
},
|
|
3002
|
+
{
|
|
3003
|
+
"key": "abiParams.asset",
|
|
3004
|
+
"value": "0x0200C29006150606B650577BBE7B6248F58470c1"
|
|
3005
|
+
},
|
|
3006
|
+
{
|
|
3007
|
+
"key": "condition",
|
|
3008
|
+
"value": "gt"
|
|
3009
|
+
},
|
|
3010
|
+
{
|
|
3011
|
+
"key": "comparisonValue",
|
|
3012
|
+
"value": 1
|
|
3013
|
+
}
|
|
3014
|
+
]
|
|
3015
|
+
},
|
|
3016
|
+
{
|
|
3017
|
+
"name": "USDe Borrowing Rate on Plasma",
|
|
3018
|
+
"description": "USDe Borrowing Rate above 1% on Aave Plasma",
|
|
3019
|
+
"parameters": [
|
|
3020
|
+
{
|
|
3021
|
+
"key": "chainId",
|
|
3022
|
+
"value": 9745
|
|
3023
|
+
},
|
|
3024
|
+
{
|
|
3025
|
+
"key": "abiParams.asset",
|
|
3026
|
+
"value": "0x5d3a1Ff2b6BAb83b63cd9AD0787074081a52ef34"
|
|
3027
|
+
},
|
|
3028
|
+
{
|
|
3029
|
+
"key": "condition",
|
|
3030
|
+
"value": "gt"
|
|
3031
|
+
},
|
|
3032
|
+
{
|
|
3033
|
+
"key": "comparisonValue",
|
|
3034
|
+
"value": 1
|
|
3035
|
+
}
|
|
3036
|
+
]
|
|
3037
|
+
}
|
|
3038
|
+
],
|
|
3039
|
+
"blockId": 20,
|
|
3040
|
+
"image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/aave.png"
|
|
3041
|
+
},
|
|
3042
|
+
"LTV": {
|
|
3043
|
+
"name": "LTV",
|
|
3044
|
+
"dynamicName": "async (env, { otomatoSDK }) => {\n const { getChainHTML, getComparisonString, shortenAddress } = otomatoSDK;\n return `<div><b>${shortenAddress(env.parameters['abiParams.user'])}</b> LTV on ${getChainHTML(env.parameters.chainId)} ${getComparisonString(env.parameters.condition, env.parameters.comparisonValue)}</div>`;\n }",
|
|
3045
|
+
"description": "Get the maximum and current Loan-to-Value (LTV) ratios for the given wallet address on Aave",
|
|
3046
|
+
"type": 1,
|
|
3047
|
+
"prototype": "aaveLTV",
|
|
3048
|
+
"method": "function getUserAccountData(address user) external view returns (uint256 totalCollateralBase, uint256 totalDebtBase, uint256 availableBorrowsBase, uint256 currentLiquidationThreshold, uint256 ltv, uint256 healthFactor)",
|
|
3049
|
+
"parameters": [
|
|
3050
|
+
{
|
|
3051
|
+
"key": "chainId",
|
|
3052
|
+
"type": "chainId",
|
|
3053
|
+
"description": "Chain ID of the network",
|
|
3054
|
+
"mandatory": true,
|
|
3055
|
+
"category": 0
|
|
3056
|
+
},
|
|
3057
|
+
{
|
|
3058
|
+
"key": "abiParams.user",
|
|
3059
|
+
"type": "address",
|
|
3060
|
+
"description": "The wallet address to fetch Aave account data for",
|
|
3061
|
+
"mandatory": true,
|
|
2620
3062
|
"category": 0
|
|
2621
3063
|
},
|
|
2622
3064
|
{
|
|
@@ -2661,6 +3103,138 @@ export const TRIGGERS = {
|
|
|
2661
3103
|
"value": 60
|
|
2662
3104
|
}
|
|
2663
3105
|
]
|
|
3106
|
+
},
|
|
3107
|
+
{
|
|
3108
|
+
"name": "AAVE LTV on BSC",
|
|
3109
|
+
"description": "Fetches the LTV for the given wallet on Aave BSC",
|
|
3110
|
+
"parameters": [
|
|
3111
|
+
{
|
|
3112
|
+
"key": "chainId",
|
|
3113
|
+
"value": 56
|
|
3114
|
+
},
|
|
3115
|
+
{
|
|
3116
|
+
"key": "abiParams.user",
|
|
3117
|
+
"value": "0xc7a48588f84969053a32d4de57a3ca60a7f82daf"
|
|
3118
|
+
},
|
|
3119
|
+
{
|
|
3120
|
+
"key": "condition",
|
|
3121
|
+
"value": "gte"
|
|
3122
|
+
},
|
|
3123
|
+
{
|
|
3124
|
+
"key": "comparisonValue",
|
|
3125
|
+
"value": 60
|
|
3126
|
+
}
|
|
3127
|
+
]
|
|
3128
|
+
},
|
|
3129
|
+
{
|
|
3130
|
+
"name": "AAVE LTV on Polygon",
|
|
3131
|
+
"description": "Fetches the LTV for the given wallet on Aave Polygon",
|
|
3132
|
+
"parameters": [
|
|
3133
|
+
{
|
|
3134
|
+
"key": "chainId",
|
|
3135
|
+
"value": 137
|
|
3136
|
+
},
|
|
3137
|
+
{
|
|
3138
|
+
"key": "abiParams.user",
|
|
3139
|
+
"value": "0x175ebce4ff7d3846475bd05d57e0a182a5771f5c"
|
|
3140
|
+
},
|
|
3141
|
+
{
|
|
3142
|
+
"key": "condition",
|
|
3143
|
+
"value": "gte"
|
|
3144
|
+
},
|
|
3145
|
+
{
|
|
3146
|
+
"key": "comparisonValue",
|
|
3147
|
+
"value": 60
|
|
3148
|
+
}
|
|
3149
|
+
]
|
|
3150
|
+
},
|
|
3151
|
+
{
|
|
3152
|
+
"name": "AAVE LTV on Avalanche",
|
|
3153
|
+
"description": "Fetches the LTV for the given wallet on Aave Avalanche",
|
|
3154
|
+
"parameters": [
|
|
3155
|
+
{
|
|
3156
|
+
"key": "chainId",
|
|
3157
|
+
"value": 43114
|
|
3158
|
+
},
|
|
3159
|
+
{
|
|
3160
|
+
"key": "abiParams.user",
|
|
3161
|
+
"value": "0xe1bfc96d95badcb10ff013cb0c9c6c737ca07009"
|
|
3162
|
+
},
|
|
3163
|
+
{
|
|
3164
|
+
"key": "condition",
|
|
3165
|
+
"value": "gte"
|
|
3166
|
+
},
|
|
3167
|
+
{
|
|
3168
|
+
"key": "comparisonValue",
|
|
3169
|
+
"value": 60
|
|
3170
|
+
}
|
|
3171
|
+
]
|
|
3172
|
+
},
|
|
3173
|
+
{
|
|
3174
|
+
"name": "AAVE LTV on Mantle",
|
|
3175
|
+
"description": "Fetches the LTV for the given wallet on Aave Mantle",
|
|
3176
|
+
"parameters": [
|
|
3177
|
+
{
|
|
3178
|
+
"key": "chainId",
|
|
3179
|
+
"value": 5000
|
|
3180
|
+
},
|
|
3181
|
+
{
|
|
3182
|
+
"key": "abiParams.user",
|
|
3183
|
+
"value": "0xa249ac7499bb7a18f47168f936825452d466dcaf"
|
|
3184
|
+
},
|
|
3185
|
+
{
|
|
3186
|
+
"key": "condition",
|
|
3187
|
+
"value": "gte"
|
|
3188
|
+
},
|
|
3189
|
+
{
|
|
3190
|
+
"key": "comparisonValue",
|
|
3191
|
+
"value": 60
|
|
3192
|
+
}
|
|
3193
|
+
]
|
|
3194
|
+
},
|
|
3195
|
+
{
|
|
3196
|
+
"name": "AAVE LTV on Ink",
|
|
3197
|
+
"description": "Fetches the LTV for the given wallet on Aave Ink",
|
|
3198
|
+
"parameters": [
|
|
3199
|
+
{
|
|
3200
|
+
"key": "chainId",
|
|
3201
|
+
"value": 57073
|
|
3202
|
+
},
|
|
3203
|
+
{
|
|
3204
|
+
"key": "abiParams.user",
|
|
3205
|
+
"value": "0xa19e1494b103e5dceadbb30ce27d944893a93165"
|
|
3206
|
+
},
|
|
3207
|
+
{
|
|
3208
|
+
"key": "condition",
|
|
3209
|
+
"value": "gte"
|
|
3210
|
+
},
|
|
3211
|
+
{
|
|
3212
|
+
"key": "comparisonValue",
|
|
3213
|
+
"value": 60
|
|
3214
|
+
}
|
|
3215
|
+
]
|
|
3216
|
+
},
|
|
3217
|
+
{
|
|
3218
|
+
"name": "AAVE LTV on Plasma",
|
|
3219
|
+
"description": "Fetches the LTV for the given wallet on Aave Plasma",
|
|
3220
|
+
"parameters": [
|
|
3221
|
+
{
|
|
3222
|
+
"key": "chainId",
|
|
3223
|
+
"value": 9745
|
|
3224
|
+
},
|
|
3225
|
+
{
|
|
3226
|
+
"key": "abiParams.user",
|
|
3227
|
+
"value": "0x16f037a3ddf53da1b047a926e1833219f0a8e1fc"
|
|
3228
|
+
},
|
|
3229
|
+
{
|
|
3230
|
+
"key": "condition",
|
|
3231
|
+
"value": "gte"
|
|
3232
|
+
},
|
|
3233
|
+
{
|
|
3234
|
+
"key": "comparisonValue",
|
|
3235
|
+
"value": 60
|
|
3236
|
+
}
|
|
3237
|
+
]
|
|
2664
3238
|
}
|
|
2665
3239
|
],
|
|
2666
3240
|
"blockId": 2,
|
|
@@ -2729,6 +3303,141 @@ export const TRIGGERS = {
|
|
|
2729
3303
|
"value": 1.2
|
|
2730
3304
|
}
|
|
2731
3305
|
]
|
|
3306
|
+
},
|
|
3307
|
+
{
|
|
3308
|
+
"name": "AAVE Health Factor on BSC",
|
|
3309
|
+
"description": "Fetches the health factor for the given wallet address on Aave on BSC",
|
|
3310
|
+
"parameters": [
|
|
3311
|
+
{
|
|
3312
|
+
"key": "chainId",
|
|
3313
|
+
"value": 56
|
|
3314
|
+
},
|
|
3315
|
+
{
|
|
3316
|
+
"key": "abiParams.user",
|
|
3317
|
+
"value": "0xc7a48588f84969053a32d4de57a3ca60a7f82daf"
|
|
3318
|
+
},
|
|
3319
|
+
{
|
|
3320
|
+
"key": "condition",
|
|
3321
|
+
"value": "lte"
|
|
3322
|
+
},
|
|
3323
|
+
{
|
|
3324
|
+
"key": "comparisonValue",
|
|
3325
|
+
"value": 1.5
|
|
3326
|
+
}
|
|
3327
|
+
]
|
|
3328
|
+
},
|
|
3329
|
+
{
|
|
3330
|
+
"name": "AAVE Health Factor on Polygon",
|
|
3331
|
+
"description": "Fetches the health factor for the given wallet address on Aave on Polygon",
|
|
3332
|
+
"parameters": [
|
|
3333
|
+
{
|
|
3334
|
+
"key": "chainId",
|
|
3335
|
+
"value": 137
|
|
3336
|
+
},
|
|
3337
|
+
{
|
|
3338
|
+
"key": "abiParams.user",
|
|
3339
|
+
"value": "0x175ebce4ff7d3846475bd05d57e0a182a5771f5c"
|
|
3340
|
+
},
|
|
3341
|
+
{
|
|
3342
|
+
"key": "condition",
|
|
3343
|
+
"value": "lte"
|
|
3344
|
+
},
|
|
3345
|
+
{
|
|
3346
|
+
"key": "comparisonValue",
|
|
3347
|
+
"value": 1.5
|
|
3348
|
+
}
|
|
3349
|
+
]
|
|
3350
|
+
},
|
|
3351
|
+
{
|
|
3352
|
+
"name": "AAVE Health Factor on Avalanche",
|
|
3353
|
+
"description": "Fetches the health factor for the given wallet address on Aave on Avalanche",
|
|
3354
|
+
"parameters": [
|
|
3355
|
+
{
|
|
3356
|
+
"key": "chainId",
|
|
3357
|
+
"value": 43114
|
|
3358
|
+
},
|
|
3359
|
+
{
|
|
3360
|
+
"key": "abiParams.user",
|
|
3361
|
+
"value": "0xe1bfc96d95badcb10ff013cb0c9c6c737ca07009"
|
|
3362
|
+
},
|
|
3363
|
+
{
|
|
3364
|
+
"key": "condition",
|
|
3365
|
+
"value": "lte"
|
|
3366
|
+
},
|
|
3367
|
+
{
|
|
3368
|
+
"key": "comparisonValue",
|
|
3369
|
+
"value": 1.5
|
|
3370
|
+
}
|
|
3371
|
+
]
|
|
3372
|
+
},
|
|
3373
|
+
{
|
|
3374
|
+
"name": "AAVE Health Factor on Mantle",
|
|
3375
|
+
"description": "Fetches the health factor for the given wallet address on Aave on Mantle",
|
|
3376
|
+
"externalVariableDescription": "AAVE health factor on Mantle",
|
|
3377
|
+
"parameters": [
|
|
3378
|
+
{
|
|
3379
|
+
"key": "chainId",
|
|
3380
|
+
"value": 5000
|
|
3381
|
+
},
|
|
3382
|
+
{
|
|
3383
|
+
"key": "abiParams.user",
|
|
3384
|
+
"value": "0xa249ac7499bb7a18f47168f936825452d466dcaf"
|
|
3385
|
+
},
|
|
3386
|
+
{
|
|
3387
|
+
"key": "condition",
|
|
3388
|
+
"value": "lte"
|
|
3389
|
+
},
|
|
3390
|
+
{
|
|
3391
|
+
"key": "comparisonValue",
|
|
3392
|
+
"value": 1.5
|
|
3393
|
+
}
|
|
3394
|
+
]
|
|
3395
|
+
},
|
|
3396
|
+
{
|
|
3397
|
+
"name": "AAVE Health Factor on Ink",
|
|
3398
|
+
"description": "Fetches the health factor for the given wallet address on Aave on Ink",
|
|
3399
|
+
"externalVariableDescription": "AAVE health factor on Ink",
|
|
3400
|
+
"parameters": [
|
|
3401
|
+
{
|
|
3402
|
+
"key": "chainId",
|
|
3403
|
+
"value": 57073
|
|
3404
|
+
},
|
|
3405
|
+
{
|
|
3406
|
+
"key": "abiParams.user",
|
|
3407
|
+
"value": "0xa19e1494b103e5dceadbb30ce27d944893a93165"
|
|
3408
|
+
},
|
|
3409
|
+
{
|
|
3410
|
+
"key": "condition",
|
|
3411
|
+
"value": "lte"
|
|
3412
|
+
},
|
|
3413
|
+
{
|
|
3414
|
+
"key": "comparisonValue",
|
|
3415
|
+
"value": 1.5
|
|
3416
|
+
}
|
|
3417
|
+
]
|
|
3418
|
+
},
|
|
3419
|
+
{
|
|
3420
|
+
"name": "AAVE Health Factor on Plasma",
|
|
3421
|
+
"description": "Fetches the health factor for the given wallet address on Aave on Plasma",
|
|
3422
|
+
"externalVariableDescription": "AAVE health factor on Plasma",
|
|
3423
|
+
"parameters": [
|
|
3424
|
+
{
|
|
3425
|
+
"key": "chainId",
|
|
3426
|
+
"value": 9745
|
|
3427
|
+
},
|
|
3428
|
+
{
|
|
3429
|
+
"key": "abiParams.user",
|
|
3430
|
+
"value": "0x17b504247b0d8c1856e541a70495dd622023c7d2"
|
|
3431
|
+
},
|
|
3432
|
+
{
|
|
3433
|
+
"key": "condition",
|
|
3434
|
+
"value": "lte"
|
|
3435
|
+
},
|
|
3436
|
+
{
|
|
3437
|
+
"key": "comparisonValue",
|
|
3438
|
+
"value": 1.2
|
|
3439
|
+
}
|
|
3440
|
+
]
|
|
2732
3441
|
}
|
|
2733
3442
|
],
|
|
2734
3443
|
"blockId": 3,
|
|
@@ -2779,25 +3488,181 @@ export const TRIGGERS = {
|
|
|
2779
3488
|
"category": 0
|
|
2780
3489
|
},
|
|
2781
3490
|
{
|
|
2782
|
-
"key": "abiParams.provider",
|
|
2783
|
-
"type": "address",
|
|
2784
|
-
"description": "The provider to fetch the rate prediction for",
|
|
2785
|
-
"hideInUI": true,
|
|
2786
|
-
"category": 0
|
|
3491
|
+
"key": "abiParams.provider",
|
|
3492
|
+
"type": "address",
|
|
3493
|
+
"description": "The provider to fetch the rate prediction for",
|
|
3494
|
+
"hideInUI": true,
|
|
3495
|
+
"category": 0
|
|
3496
|
+
},
|
|
3497
|
+
],
|
|
3498
|
+
"examples": [
|
|
3499
|
+
{
|
|
3500
|
+
"name": "Predict Impact on USDC Lending Rate on Base",
|
|
3501
|
+
"description": "Predict the impact of a given amount on the lending rate of USDC on Base",
|
|
3502
|
+
"parameters": [
|
|
3503
|
+
{
|
|
3504
|
+
"key": "chainId",
|
|
3505
|
+
"value": 8453
|
|
3506
|
+
},
|
|
3507
|
+
{
|
|
3508
|
+
"key": "asset",
|
|
3509
|
+
"value": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913"
|
|
3510
|
+
},
|
|
3511
|
+
{
|
|
3512
|
+
"key": "amount",
|
|
3513
|
+
"value": 1000000
|
|
3514
|
+
},
|
|
3515
|
+
{
|
|
3516
|
+
"key": "condition",
|
|
3517
|
+
"value": "gt"
|
|
3518
|
+
},
|
|
3519
|
+
{
|
|
3520
|
+
"key": "comparisonValue",
|
|
3521
|
+
"value": 5
|
|
3522
|
+
}
|
|
3523
|
+
]
|
|
3524
|
+
},
|
|
3525
|
+
{
|
|
3526
|
+
"name": "Predict Impact on USDC Lending Rate on Polygon",
|
|
3527
|
+
"description": "Predict impact of $1M USDC supply on Aave Polygon lending rate",
|
|
3528
|
+
"parameters": [
|
|
3529
|
+
{
|
|
3530
|
+
"key": "chainId",
|
|
3531
|
+
"value": 137
|
|
3532
|
+
},
|
|
3533
|
+
{
|
|
3534
|
+
"key": "asset",
|
|
3535
|
+
"value": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359"
|
|
3536
|
+
},
|
|
3537
|
+
{
|
|
3538
|
+
"key": "amount",
|
|
3539
|
+
"value": 1000000
|
|
3540
|
+
},
|
|
3541
|
+
{
|
|
3542
|
+
"key": "condition",
|
|
3543
|
+
"value": "gt"
|
|
3544
|
+
},
|
|
3545
|
+
{
|
|
3546
|
+
"key": "comparisonValue",
|
|
3547
|
+
"value": 5
|
|
3548
|
+
}
|
|
3549
|
+
]
|
|
3550
|
+
},
|
|
3551
|
+
{
|
|
3552
|
+
"name": "Predict Impact on USDC Lending Rate on BSC",
|
|
3553
|
+
"description": "Predict impact of $1M USDC supply on Aave BSC lending rate",
|
|
3554
|
+
"parameters": [
|
|
3555
|
+
{
|
|
3556
|
+
"key": "chainId",
|
|
3557
|
+
"value": 56
|
|
3558
|
+
},
|
|
3559
|
+
{
|
|
3560
|
+
"key": "asset",
|
|
3561
|
+
"value": "0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d"
|
|
3562
|
+
},
|
|
3563
|
+
{
|
|
3564
|
+
"key": "amount",
|
|
3565
|
+
"value": 1000000
|
|
3566
|
+
},
|
|
3567
|
+
{
|
|
3568
|
+
"key": "condition",
|
|
3569
|
+
"value": "gt"
|
|
3570
|
+
},
|
|
3571
|
+
{
|
|
3572
|
+
"key": "comparisonValue",
|
|
3573
|
+
"value": 5
|
|
3574
|
+
}
|
|
3575
|
+
]
|
|
3576
|
+
},
|
|
3577
|
+
{
|
|
3578
|
+
"name": "Predict Impact on USDC Lending Rate on Avalanche",
|
|
3579
|
+
"description": "Predict impact of $1M USDC supply on Aave Avalanche lending rate",
|
|
3580
|
+
"parameters": [
|
|
3581
|
+
{
|
|
3582
|
+
"key": "chainId",
|
|
3583
|
+
"value": 43114
|
|
3584
|
+
},
|
|
3585
|
+
{
|
|
3586
|
+
"key": "asset",
|
|
3587
|
+
"value": "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E"
|
|
3588
|
+
},
|
|
3589
|
+
{
|
|
3590
|
+
"key": "amount",
|
|
3591
|
+
"value": 1000000
|
|
3592
|
+
},
|
|
3593
|
+
{
|
|
3594
|
+
"key": "condition",
|
|
3595
|
+
"value": "gt"
|
|
3596
|
+
},
|
|
3597
|
+
{
|
|
3598
|
+
"key": "comparisonValue",
|
|
3599
|
+
"value": 5
|
|
3600
|
+
}
|
|
3601
|
+
]
|
|
3602
|
+
},
|
|
3603
|
+
{
|
|
3604
|
+
"name": "Predict Impact on USDC Lending Rate on Mantle",
|
|
3605
|
+
"description": "Predict impact of $1M USDC supply on Aave Mantle lending rate",
|
|
3606
|
+
"parameters": [
|
|
3607
|
+
{
|
|
3608
|
+
"key": "chainId",
|
|
3609
|
+
"value": 5000
|
|
3610
|
+
},
|
|
3611
|
+
{
|
|
3612
|
+
"key": "asset",
|
|
3613
|
+
"value": "0x09Bc4E0D864854c6aFB6eB9A9cdF58aC190D0dF9"
|
|
3614
|
+
},
|
|
3615
|
+
{
|
|
3616
|
+
"key": "amount",
|
|
3617
|
+
"value": 1000000
|
|
3618
|
+
},
|
|
3619
|
+
{
|
|
3620
|
+
"key": "condition",
|
|
3621
|
+
"value": "gt"
|
|
3622
|
+
},
|
|
3623
|
+
{
|
|
3624
|
+
"key": "comparisonValue",
|
|
3625
|
+
"value": 5
|
|
3626
|
+
}
|
|
3627
|
+
]
|
|
3628
|
+
},
|
|
3629
|
+
{
|
|
3630
|
+
"name": "Predict Impact on USD₮0 Lending Rate on Ink",
|
|
3631
|
+
"description": "Predict impact of $1M USD₮0 supply on Aave Ink lending rate",
|
|
3632
|
+
"parameters": [
|
|
3633
|
+
{
|
|
3634
|
+
"key": "chainId",
|
|
3635
|
+
"value": 57073
|
|
3636
|
+
},
|
|
3637
|
+
{
|
|
3638
|
+
"key": "asset",
|
|
3639
|
+
"value": "0x0200C29006150606B650577BBE7B6248F58470c1"
|
|
3640
|
+
},
|
|
3641
|
+
{
|
|
3642
|
+
"key": "amount",
|
|
3643
|
+
"value": 1000000
|
|
3644
|
+
},
|
|
3645
|
+
{
|
|
3646
|
+
"key": "condition",
|
|
3647
|
+
"value": "gt"
|
|
3648
|
+
},
|
|
3649
|
+
{
|
|
3650
|
+
"key": "comparisonValue",
|
|
3651
|
+
"value": 5
|
|
3652
|
+
}
|
|
3653
|
+
]
|
|
2787
3654
|
},
|
|
2788
|
-
],
|
|
2789
|
-
"examples": [
|
|
2790
3655
|
{
|
|
2791
|
-
"name": "Predict Impact on
|
|
2792
|
-
"description": "Predict
|
|
3656
|
+
"name": "Predict Impact on USDe Lending Rate on Plasma",
|
|
3657
|
+
"description": "Predict impact of $1M USDe supply on Aave Plasma lending rate",
|
|
2793
3658
|
"parameters": [
|
|
2794
3659
|
{
|
|
2795
3660
|
"key": "chainId",
|
|
2796
|
-
"value":
|
|
3661
|
+
"value": 9745
|
|
2797
3662
|
},
|
|
2798
3663
|
{
|
|
2799
3664
|
"key": "asset",
|
|
2800
|
-
"value": "
|
|
3665
|
+
"value": "0x5d3a1Ff2b6BAb83b63cd9AD0787074081a52ef34"
|
|
2801
3666
|
},
|
|
2802
3667
|
{
|
|
2803
3668
|
"key": "amount",
|
|
@@ -2893,6 +3758,90 @@ export const TRIGGERS = {
|
|
|
2893
3758
|
"value": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
|
|
2894
3759
|
}
|
|
2895
3760
|
]
|
|
3761
|
+
},
|
|
3762
|
+
{
|
|
3763
|
+
"name": "Monitor USDC Supply Cap on Polygon",
|
|
3764
|
+
"description": "Alert when AAVE V3 supply cap changes for USDC on Polygon",
|
|
3765
|
+
"parameters": [
|
|
3766
|
+
{
|
|
3767
|
+
"key": "chainId",
|
|
3768
|
+
"value": 137
|
|
3769
|
+
},
|
|
3770
|
+
{
|
|
3771
|
+
"key": "abiParams.asset",
|
|
3772
|
+
"value": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359"
|
|
3773
|
+
}
|
|
3774
|
+
]
|
|
3775
|
+
},
|
|
3776
|
+
{
|
|
3777
|
+
"name": "Monitor USDC Supply Cap on BSC",
|
|
3778
|
+
"description": "Alert when AAVE V3 supply cap changes for USDC on BSC",
|
|
3779
|
+
"parameters": [
|
|
3780
|
+
{
|
|
3781
|
+
"key": "chainId",
|
|
3782
|
+
"value": 56
|
|
3783
|
+
},
|
|
3784
|
+
{
|
|
3785
|
+
"key": "abiParams.asset",
|
|
3786
|
+
"value": "0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d"
|
|
3787
|
+
}
|
|
3788
|
+
]
|
|
3789
|
+
},
|
|
3790
|
+
{
|
|
3791
|
+
"name": "Monitor USDC Supply Cap on Avalanche",
|
|
3792
|
+
"description": "Alert when AAVE V3 supply cap changes for USDC on Avalanche",
|
|
3793
|
+
"parameters": [
|
|
3794
|
+
{
|
|
3795
|
+
"key": "chainId",
|
|
3796
|
+
"value": 43114
|
|
3797
|
+
},
|
|
3798
|
+
{
|
|
3799
|
+
"key": "abiParams.asset",
|
|
3800
|
+
"value": "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E"
|
|
3801
|
+
}
|
|
3802
|
+
]
|
|
3803
|
+
},
|
|
3804
|
+
{
|
|
3805
|
+
"name": "Monitor USDC Supply Cap on Mantle",
|
|
3806
|
+
"description": "Alert when AAVE V3 supply cap changes for USDC on Mantle",
|
|
3807
|
+
"parameters": [
|
|
3808
|
+
{
|
|
3809
|
+
"key": "chainId",
|
|
3810
|
+
"value": 5000
|
|
3811
|
+
},
|
|
3812
|
+
{
|
|
3813
|
+
"key": "abiParams.asset",
|
|
3814
|
+
"value": "0x09Bc4E0D864854c6aFB6eB9A9cdF58aC190D0dF9"
|
|
3815
|
+
}
|
|
3816
|
+
]
|
|
3817
|
+
},
|
|
3818
|
+
{
|
|
3819
|
+
"name": "Monitor USD₮0 Supply Cap on Ink",
|
|
3820
|
+
"description": "Alert when AAVE V3 supply cap changes for USD₮0 on Ink",
|
|
3821
|
+
"parameters": [
|
|
3822
|
+
{
|
|
3823
|
+
"key": "chainId",
|
|
3824
|
+
"value": 57073
|
|
3825
|
+
},
|
|
3826
|
+
{
|
|
3827
|
+
"key": "abiParams.asset",
|
|
3828
|
+
"value": "0x0200C29006150606B650577BBE7B6248F58470c1"
|
|
3829
|
+
}
|
|
3830
|
+
]
|
|
3831
|
+
},
|
|
3832
|
+
{
|
|
3833
|
+
"name": "Monitor USDT0 Supply Cap on Plasma",
|
|
3834
|
+
"description": "Alert when AAVE V3 supply cap changes for USDT0 on Plasma",
|
|
3835
|
+
"parameters": [
|
|
3836
|
+
{
|
|
3837
|
+
"key": "chainId",
|
|
3838
|
+
"value": 9745
|
|
3839
|
+
},
|
|
3840
|
+
{
|
|
3841
|
+
"key": "abiParams.asset",
|
|
3842
|
+
"value": "0xB8CE59FC3717ada4C02eaDF9682A9e934F625ebb"
|
|
3843
|
+
}
|
|
3844
|
+
]
|
|
2896
3845
|
}
|
|
2897
3846
|
],
|
|
2898
3847
|
"blockId": 125,
|
|
@@ -2970,6 +3919,90 @@ export const TRIGGERS = {
|
|
|
2970
3919
|
"value": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1"
|
|
2971
3920
|
}
|
|
2972
3921
|
]
|
|
3922
|
+
},
|
|
3923
|
+
{
|
|
3924
|
+
"name": "Monitor USDC Borrow Cap on Polygon",
|
|
3925
|
+
"description": "Alert when AAVE V3 borrow cap changes for USDC on Polygon",
|
|
3926
|
+
"parameters": [
|
|
3927
|
+
{
|
|
3928
|
+
"key": "chainId",
|
|
3929
|
+
"value": 137
|
|
3930
|
+
},
|
|
3931
|
+
{
|
|
3932
|
+
"key": "abiParams.asset",
|
|
3933
|
+
"value": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359"
|
|
3934
|
+
}
|
|
3935
|
+
]
|
|
3936
|
+
},
|
|
3937
|
+
{
|
|
3938
|
+
"name": "Monitor USDC Borrow Cap on BSC",
|
|
3939
|
+
"description": "Alert when AAVE V3 borrow cap changes for USDC on BSC",
|
|
3940
|
+
"parameters": [
|
|
3941
|
+
{
|
|
3942
|
+
"key": "chainId",
|
|
3943
|
+
"value": 56
|
|
3944
|
+
},
|
|
3945
|
+
{
|
|
3946
|
+
"key": "abiParams.asset",
|
|
3947
|
+
"value": "0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d"
|
|
3948
|
+
}
|
|
3949
|
+
]
|
|
3950
|
+
},
|
|
3951
|
+
{
|
|
3952
|
+
"name": "Monitor USDC Borrow Cap on Avalanche",
|
|
3953
|
+
"description": "Alert when AAVE V3 borrow cap changes for USDC on Avalanche",
|
|
3954
|
+
"parameters": [
|
|
3955
|
+
{
|
|
3956
|
+
"key": "chainId",
|
|
3957
|
+
"value": 43114
|
|
3958
|
+
},
|
|
3959
|
+
{
|
|
3960
|
+
"key": "abiParams.asset",
|
|
3961
|
+
"value": "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E"
|
|
3962
|
+
}
|
|
3963
|
+
]
|
|
3964
|
+
},
|
|
3965
|
+
{
|
|
3966
|
+
"name": "Monitor USDC Borrow Cap on Mantle",
|
|
3967
|
+
"description": "Alert when AAVE V3 borrow cap changes for USDC on Mantle",
|
|
3968
|
+
"parameters": [
|
|
3969
|
+
{
|
|
3970
|
+
"key": "chainId",
|
|
3971
|
+
"value": 5000
|
|
3972
|
+
},
|
|
3973
|
+
{
|
|
3974
|
+
"key": "abiParams.asset",
|
|
3975
|
+
"value": "0x09Bc4E0D864854c6aFB6eB9A9cdF58aC190D0dF9"
|
|
3976
|
+
}
|
|
3977
|
+
]
|
|
3978
|
+
},
|
|
3979
|
+
{
|
|
3980
|
+
"name": "Monitor USD₮0 Borrow Cap on Ink",
|
|
3981
|
+
"description": "Alert when AAVE V3 borrow cap changes for USD₮0 on Ink",
|
|
3982
|
+
"parameters": [
|
|
3983
|
+
{
|
|
3984
|
+
"key": "chainId",
|
|
3985
|
+
"value": 57073
|
|
3986
|
+
},
|
|
3987
|
+
{
|
|
3988
|
+
"key": "abiParams.asset",
|
|
3989
|
+
"value": "0x0200C29006150606B650577BBE7B6248F58470c1"
|
|
3990
|
+
}
|
|
3991
|
+
]
|
|
3992
|
+
},
|
|
3993
|
+
{
|
|
3994
|
+
"name": "Monitor USDe Borrow Cap on Plasma",
|
|
3995
|
+
"description": "Alert when AAVE V3 borrow cap changes for USDe on Plasma",
|
|
3996
|
+
"parameters": [
|
|
3997
|
+
{
|
|
3998
|
+
"key": "chainId",
|
|
3999
|
+
"value": 9745
|
|
4000
|
+
},
|
|
4001
|
+
{
|
|
4002
|
+
"key": "abiParams.asset",
|
|
4003
|
+
"value": "0x5d3a1Ff2b6BAb83b63cd9AD0787074081a52ef34"
|
|
4004
|
+
}
|
|
4005
|
+
]
|
|
2973
4006
|
}
|
|
2974
4007
|
],
|
|
2975
4008
|
"blockId": 126,
|
|
@@ -3392,7 +4425,8 @@ export const TRIGGERS = {
|
|
|
3392
4425
|
"chains": [
|
|
3393
4426
|
8453,
|
|
3394
4427
|
42161,
|
|
3395
|
-
1
|
|
4428
|
+
1,
|
|
4429
|
+
137
|
|
3396
4430
|
],
|
|
3397
4431
|
"image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/compound.png",
|
|
3398
4432
|
"LENDING_RATE": {
|
|
@@ -3463,6 +4497,29 @@ export const TRIGGERS = {
|
|
|
3463
4497
|
"value": 5
|
|
3464
4498
|
}
|
|
3465
4499
|
]
|
|
4500
|
+
},
|
|
4501
|
+
{
|
|
4502
|
+
"name": "USDC.e Yield is above 5% on Polygon",
|
|
4503
|
+
"description": "Gets triggered when USDC.e yield rises above 5% on Compound on Polygon",
|
|
4504
|
+
"externalVariableDescription": "Fetches the current USDC.e lending rate on Polygon",
|
|
4505
|
+
"parameters": [
|
|
4506
|
+
{
|
|
4507
|
+
"key": "chainId",
|
|
4508
|
+
"value": 137
|
|
4509
|
+
},
|
|
4510
|
+
{
|
|
4511
|
+
"key": "token",
|
|
4512
|
+
"value": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174"
|
|
4513
|
+
},
|
|
4514
|
+
{
|
|
4515
|
+
"key": "condition",
|
|
4516
|
+
"value": "gt"
|
|
4517
|
+
},
|
|
4518
|
+
{
|
|
4519
|
+
"key": "comparisonValue",
|
|
4520
|
+
"value": 5
|
|
4521
|
+
}
|
|
4522
|
+
]
|
|
3466
4523
|
}
|
|
3467
4524
|
],
|
|
3468
4525
|
"output": {
|
|
@@ -3539,6 +4596,28 @@ export const TRIGGERS = {
|
|
|
3539
4596
|
"value": 10
|
|
3540
4597
|
}
|
|
3541
4598
|
]
|
|
4599
|
+
},
|
|
4600
|
+
{
|
|
4601
|
+
"name": "USDC.e Borrowing Rate below 10% on Polygon",
|
|
4602
|
+
"description": "Gets triggered when USDC.e borrowing rate falls below 10% on Compound Polygon",
|
|
4603
|
+
"parameters": [
|
|
4604
|
+
{
|
|
4605
|
+
"key": "chainId",
|
|
4606
|
+
"value": 137
|
|
4607
|
+
},
|
|
4608
|
+
{
|
|
4609
|
+
"key": "token",
|
|
4610
|
+
"value": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174"
|
|
4611
|
+
},
|
|
4612
|
+
{
|
|
4613
|
+
"key": "condition",
|
|
4614
|
+
"value": "lt"
|
|
4615
|
+
},
|
|
4616
|
+
{
|
|
4617
|
+
"key": "comparisonValue",
|
|
4618
|
+
"value": 10
|
|
4619
|
+
}
|
|
4620
|
+
]
|
|
3542
4621
|
}
|
|
3543
4622
|
],
|
|
3544
4623
|
"output": {
|
|
@@ -3618,6 +4697,32 @@ export const TRIGGERS = {
|
|
|
3618
4697
|
"value": 5
|
|
3619
4698
|
}
|
|
3620
4699
|
]
|
|
4700
|
+
},
|
|
4701
|
+
{
|
|
4702
|
+
"name": "Predict Impact on USDC.e Lending Rate on Polygon",
|
|
4703
|
+
"description": "Predict impact of $1M USDC.e supply on Compound Polygon lending rate",
|
|
4704
|
+
"parameters": [
|
|
4705
|
+
{
|
|
4706
|
+
"key": "chainId",
|
|
4707
|
+
"value": 137
|
|
4708
|
+
},
|
|
4709
|
+
{
|
|
4710
|
+
"key": "asset",
|
|
4711
|
+
"value": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174"
|
|
4712
|
+
},
|
|
4713
|
+
{
|
|
4714
|
+
"key": "amount",
|
|
4715
|
+
"value": 1000000
|
|
4716
|
+
},
|
|
4717
|
+
{
|
|
4718
|
+
"key": "condition",
|
|
4719
|
+
"value": "gt"
|
|
4720
|
+
},
|
|
4721
|
+
{
|
|
4722
|
+
"key": "comparisonValue",
|
|
4723
|
+
"value": 5
|
|
4724
|
+
}
|
|
4725
|
+
]
|
|
3621
4726
|
}
|
|
3622
4727
|
],
|
|
3623
4728
|
"output": {
|
|
@@ -3670,27 +4775,53 @@ export const TRIGGERS = {
|
|
|
3670
4775
|
"mandatory": true,
|
|
3671
4776
|
"category": 0
|
|
3672
4777
|
},
|
|
3673
|
-
],
|
|
3674
|
-
"output": {
|
|
3675
|
-
"currentLTV": "float"
|
|
3676
|
-
},
|
|
3677
|
-
"examples": [
|
|
4778
|
+
],
|
|
4779
|
+
"output": {
|
|
4780
|
+
"currentLTV": "float"
|
|
4781
|
+
},
|
|
4782
|
+
"examples": [
|
|
4783
|
+
{
|
|
4784
|
+
"name": "Compound LTV for wallet address",
|
|
4785
|
+
"description": "Fetches the current LTV for the given wallet address on Compound on Base",
|
|
4786
|
+
"externalVariableDescription": "Compound LTV data",
|
|
4787
|
+
"parameters": [
|
|
4788
|
+
{
|
|
4789
|
+
"key": "chainId",
|
|
4790
|
+
"value": 8453
|
|
4791
|
+
},
|
|
4792
|
+
{
|
|
4793
|
+
"key": "user",
|
|
4794
|
+
"value": "0x356696BFBd8aaa37f4526f0eD6391999E53a9857"
|
|
4795
|
+
},
|
|
4796
|
+
{
|
|
4797
|
+
"key": "market",
|
|
4798
|
+
"value": "0x4200000000000000000000000000000000000006"
|
|
4799
|
+
},
|
|
4800
|
+
{
|
|
4801
|
+
"key": "condition",
|
|
4802
|
+
"value": "gte"
|
|
4803
|
+
},
|
|
4804
|
+
{
|
|
4805
|
+
"key": "comparisonValue",
|
|
4806
|
+
"value": 60
|
|
4807
|
+
}
|
|
4808
|
+
]
|
|
4809
|
+
},
|
|
3678
4810
|
{
|
|
3679
|
-
"name": "Compound LTV
|
|
3680
|
-
"description": "Fetches the
|
|
3681
|
-
"externalVariableDescription": "Compound LTV data",
|
|
4811
|
+
"name": "Compound LTV on Polygon",
|
|
4812
|
+
"description": "Fetches the LTV for the given wallet address on Compound Polygon",
|
|
3682
4813
|
"parameters": [
|
|
3683
4814
|
{
|
|
3684
4815
|
"key": "chainId",
|
|
3685
|
-
"value":
|
|
4816
|
+
"value": 137
|
|
3686
4817
|
},
|
|
3687
4818
|
{
|
|
3688
4819
|
"key": "user",
|
|
3689
|
-
"value": "
|
|
4820
|
+
"value": "0xb2d635fd7990f4330de461da225f20f90520169a"
|
|
3690
4821
|
},
|
|
3691
4822
|
{
|
|
3692
4823
|
"key": "market",
|
|
3693
|
-
"value": "
|
|
4824
|
+
"value": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174"
|
|
3694
4825
|
},
|
|
3695
4826
|
{
|
|
3696
4827
|
"key": "condition",
|
|
@@ -3781,6 +4912,32 @@ export const TRIGGERS = {
|
|
|
3781
4912
|
"value": 1.2
|
|
3782
4913
|
}
|
|
3783
4914
|
]
|
|
4915
|
+
},
|
|
4916
|
+
{
|
|
4917
|
+
"name": "Compound Health Factor on Polygon",
|
|
4918
|
+
"description": "Fetches the health factor for the given wallet on Compound Polygon",
|
|
4919
|
+
"parameters": [
|
|
4920
|
+
{
|
|
4921
|
+
"key": "chainId",
|
|
4922
|
+
"value": 137
|
|
4923
|
+
},
|
|
4924
|
+
{
|
|
4925
|
+
"key": "user",
|
|
4926
|
+
"value": "0xb2d635fd7990f4330de461da225f20f90520169a"
|
|
4927
|
+
},
|
|
4928
|
+
{
|
|
4929
|
+
"key": "market",
|
|
4930
|
+
"value": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174"
|
|
4931
|
+
},
|
|
4932
|
+
{
|
|
4933
|
+
"key": "condition",
|
|
4934
|
+
"value": "lte"
|
|
4935
|
+
},
|
|
4936
|
+
{
|
|
4937
|
+
"key": "comparisonValue",
|
|
4938
|
+
"value": 1.2
|
|
4939
|
+
}
|
|
4940
|
+
]
|
|
3784
4941
|
}
|
|
3785
4942
|
],
|
|
3786
4943
|
"blockId": 53,
|
|
@@ -4322,7 +5479,8 @@ export const TRIGGERS = {
|
|
|
4322
5479
|
"chains": [
|
|
4323
5480
|
8453,
|
|
4324
5481
|
1,
|
|
4325
|
-
999
|
|
5482
|
+
999,
|
|
5483
|
+
137
|
|
4326
5484
|
],
|
|
4327
5485
|
"image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/morpho.webp",
|
|
4328
5486
|
"LENDING_RATE": {
|
|
@@ -4406,6 +5564,28 @@ export const TRIGGERS = {
|
|
|
4406
5564
|
"value": 5
|
|
4407
5565
|
}
|
|
4408
5566
|
]
|
|
5567
|
+
},
|
|
5568
|
+
{
|
|
5569
|
+
"name": "Lending rate of Compound USDT above 5% on Polygon",
|
|
5570
|
+
"description": "Gets triggered when Lending rate of Compound USDT vault above 5% on Polygon",
|
|
5571
|
+
"parameters": [
|
|
5572
|
+
{
|
|
5573
|
+
"key": "chainId",
|
|
5574
|
+
"value": 137
|
|
5575
|
+
},
|
|
5576
|
+
{
|
|
5577
|
+
"key": "vault",
|
|
5578
|
+
"value": "0xfD06859A671C21497a2EB8C5E3fEA48De924D6c8"
|
|
5579
|
+
},
|
|
5580
|
+
{
|
|
5581
|
+
"key": "condition",
|
|
5582
|
+
"value": "gt"
|
|
5583
|
+
},
|
|
5584
|
+
{
|
|
5585
|
+
"key": "comparisonValue",
|
|
5586
|
+
"value": 5
|
|
5587
|
+
}
|
|
5588
|
+
]
|
|
4409
5589
|
}
|
|
4410
5590
|
],
|
|
4411
5591
|
"output": {
|
|
@@ -4496,6 +5676,28 @@ export const TRIGGERS = {
|
|
|
4496
5676
|
"value": 5
|
|
4497
5677
|
}
|
|
4498
5678
|
]
|
|
5679
|
+
},
|
|
5680
|
+
{
|
|
5681
|
+
"name": "Market borrowing Rate above 1% on Polygon",
|
|
5682
|
+
"description": "Morpho market borrowing rate above 1% on Polygon",
|
|
5683
|
+
"parameters": [
|
|
5684
|
+
{
|
|
5685
|
+
"key": "chainId",
|
|
5686
|
+
"value": 137
|
|
5687
|
+
},
|
|
5688
|
+
{
|
|
5689
|
+
"key": "marketId",
|
|
5690
|
+
"value": "0xfd6849cb99b05c898cf811581ff4c6e1bd529d1c7dbbac6e4ebaf2b2d3c237e7"
|
|
5691
|
+
},
|
|
5692
|
+
{
|
|
5693
|
+
"key": "condition",
|
|
5694
|
+
"value": "gt"
|
|
5695
|
+
},
|
|
5696
|
+
{
|
|
5697
|
+
"key": "comparisonValue",
|
|
5698
|
+
"value": 1
|
|
5699
|
+
}
|
|
5700
|
+
]
|
|
4499
5701
|
}
|
|
4500
5702
|
],
|
|
4501
5703
|
"output": {
|
|
@@ -4600,6 +5802,32 @@ export const TRIGGERS = {
|
|
|
4600
5802
|
"value": 5
|
|
4601
5803
|
}
|
|
4602
5804
|
]
|
|
5805
|
+
},
|
|
5806
|
+
{
|
|
5807
|
+
"name": "Predict Impact on Compound USDT vault rate on Polygon",
|
|
5808
|
+
"description": "Gets triggered when impact on Compound USDT Morpho vault rate exceeds 5% on Polygon",
|
|
5809
|
+
"parameters": [
|
|
5810
|
+
{
|
|
5811
|
+
"key": "chainId",
|
|
5812
|
+
"value": 137
|
|
5813
|
+
},
|
|
5814
|
+
{
|
|
5815
|
+
"key": "vault",
|
|
5816
|
+
"value": "0xfD06859A671C21497a2EB8C5E3fEA48De924D6c8"
|
|
5817
|
+
},
|
|
5818
|
+
{
|
|
5819
|
+
"key": "amount",
|
|
5820
|
+
"value": 1000000
|
|
5821
|
+
},
|
|
5822
|
+
{
|
|
5823
|
+
"key": "condition",
|
|
5824
|
+
"value": "gt"
|
|
5825
|
+
},
|
|
5826
|
+
{
|
|
5827
|
+
"key": "comparisonValue",
|
|
5828
|
+
"value": 5
|
|
5829
|
+
}
|
|
5830
|
+
]
|
|
4603
5831
|
}
|
|
4604
5832
|
],
|
|
4605
5833
|
"output": {
|
|
@@ -4683,6 +5911,33 @@ export const TRIGGERS = {
|
|
|
4683
5911
|
"value": 60
|
|
4684
5912
|
}
|
|
4685
5913
|
]
|
|
5914
|
+
},
|
|
5915
|
+
{
|
|
5916
|
+
"name": "Morpho LTV for wallet address on Polygon",
|
|
5917
|
+
"description": "Fetches the current LTV for the given wallet address on Morpho on Polygon",
|
|
5918
|
+
"externalVariableDescription": "Morpho LTV data",
|
|
5919
|
+
"parameters": [
|
|
5920
|
+
{
|
|
5921
|
+
"key": "chainId",
|
|
5922
|
+
"value": 137
|
|
5923
|
+
},
|
|
5924
|
+
{
|
|
5925
|
+
"key": "abiParams.user",
|
|
5926
|
+
"value": "0x9D5132Dd45CdaCd1De3a7b7f1f13da7F025fF726"
|
|
5927
|
+
},
|
|
5928
|
+
{
|
|
5929
|
+
"key": "abiParams.market",
|
|
5930
|
+
"value": "0x1cfe584af3db05c7f39d60e458a87a8b2f6b5d8c6125631984ec489f1d13553b"
|
|
5931
|
+
},
|
|
5932
|
+
{
|
|
5933
|
+
"key": "condition",
|
|
5934
|
+
"value": "gte"
|
|
5935
|
+
},
|
|
5936
|
+
{
|
|
5937
|
+
"key": "comparisonValue",
|
|
5938
|
+
"value": 60
|
|
5939
|
+
}
|
|
5940
|
+
]
|
|
4686
5941
|
}
|
|
4687
5942
|
],
|
|
4688
5943
|
"blockId": 54,
|
|
@@ -4763,6 +6018,33 @@ export const TRIGGERS = {
|
|
|
4763
6018
|
"value": 1.2
|
|
4764
6019
|
}
|
|
4765
6020
|
]
|
|
6021
|
+
},
|
|
6022
|
+
{
|
|
6023
|
+
"name": "Morpho Health Factor for wallet address on Polygon",
|
|
6024
|
+
"description": "Fetches the health factor for the given wallet address on Morpho on Polygon",
|
|
6025
|
+
"externalVariableDescription": "Morpho health factor",
|
|
6026
|
+
"parameters": [
|
|
6027
|
+
{
|
|
6028
|
+
"key": "chainId",
|
|
6029
|
+
"value": 137
|
|
6030
|
+
},
|
|
6031
|
+
{
|
|
6032
|
+
"key": "user",
|
|
6033
|
+
"value": "0x9D5132Dd45CdaCd1De3a7b7f1f13da7F025fF726"
|
|
6034
|
+
},
|
|
6035
|
+
{
|
|
6036
|
+
"key": "market",
|
|
6037
|
+
"value": "0x1cfe584af3db05c7f39d60e458a87a8b2f6b5d8c6125631984ec489f1d13553b"
|
|
6038
|
+
},
|
|
6039
|
+
{
|
|
6040
|
+
"key": "condition",
|
|
6041
|
+
"value": "lte"
|
|
6042
|
+
},
|
|
6043
|
+
{
|
|
6044
|
+
"key": "comparisonValue",
|
|
6045
|
+
"value": 1.5
|
|
6046
|
+
}
|
|
6047
|
+
]
|
|
4766
6048
|
}
|
|
4767
6049
|
],
|
|
4768
6050
|
"blockId": 55,
|
|
@@ -6509,7 +7791,8 @@ export const TRIGGERS = {
|
|
|
6509
7791
|
1,
|
|
6510
7792
|
42161,
|
|
6511
7793
|
8453,
|
|
6512
|
-
10
|
|
7794
|
+
10,
|
|
7795
|
+
9745
|
|
6513
7796
|
],
|
|
6514
7797
|
"image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/euler.webp",
|
|
6515
7798
|
"HEALTH_FACTOR": {
|
|
@@ -6566,11 +7849,37 @@ export const TRIGGERS = {
|
|
|
6566
7849
|
},
|
|
6567
7850
|
{
|
|
6568
7851
|
"key": "user",
|
|
6569
|
-
"value": "
|
|
7852
|
+
"value": "0xe227398f066F11e7fa49893bb97CAc6caa7790F9"
|
|
7853
|
+
},
|
|
7854
|
+
{
|
|
7855
|
+
"key": "market",
|
|
7856
|
+
"value": "0x797DD80692c3b2dAdabCe8e30C07fDE5307D48a9"
|
|
7857
|
+
},
|
|
7858
|
+
{
|
|
7859
|
+
"key": "condition",
|
|
7860
|
+
"value": "lte"
|
|
7861
|
+
},
|
|
7862
|
+
{
|
|
7863
|
+
"key": "comparisonValue",
|
|
7864
|
+
"value": 1.5
|
|
7865
|
+
}
|
|
7866
|
+
]
|
|
7867
|
+
},
|
|
7868
|
+
{
|
|
7869
|
+
"name": "Health Factor below 1.5 on Plasma",
|
|
7870
|
+
"description": "Triggered when health factor drops below 1.5 on Plasma",
|
|
7871
|
+
"parameters": [
|
|
7872
|
+
{
|
|
7873
|
+
"key": "chainId",
|
|
7874
|
+
"value": 9745
|
|
7875
|
+
},
|
|
7876
|
+
{
|
|
7877
|
+
"key": "user",
|
|
7878
|
+
"value": "0x1597e4b7cf6d2877a1d690b6088668afdb045766"
|
|
6570
7879
|
},
|
|
6571
7880
|
{
|
|
6572
7881
|
"key": "market",
|
|
6573
|
-
"value": "
|
|
7882
|
+
"value": "0x27934d4879fc28a74703726eDae15F757E45A48a"
|
|
6574
7883
|
},
|
|
6575
7884
|
{
|
|
6576
7885
|
"key": "condition",
|
|
@@ -6649,6 +7958,28 @@ export const TRIGGERS = {
|
|
|
6649
7958
|
"value": 8
|
|
6650
7959
|
}
|
|
6651
7960
|
]
|
|
7961
|
+
},
|
|
7962
|
+
{
|
|
7963
|
+
"name": "Borrow Rate above 0.1% on Plasma",
|
|
7964
|
+
"description": "Triggered when borrow APY exceeds 0.1% on Plasma",
|
|
7965
|
+
"parameters": [
|
|
7966
|
+
{
|
|
7967
|
+
"key": "chainId",
|
|
7968
|
+
"value": 9745
|
|
7969
|
+
},
|
|
7970
|
+
{
|
|
7971
|
+
"key": "abiParams.vault",
|
|
7972
|
+
"value": "0x27934d4879fc28a74703726eDae15F757E45A48a"
|
|
7973
|
+
},
|
|
7974
|
+
{
|
|
7975
|
+
"key": "condition",
|
|
7976
|
+
"value": "gt"
|
|
7977
|
+
},
|
|
7978
|
+
{
|
|
7979
|
+
"key": "comparisonValue",
|
|
7980
|
+
"value": 0.1
|
|
7981
|
+
}
|
|
7982
|
+
]
|
|
6652
7983
|
}
|
|
6653
7984
|
],
|
|
6654
7985
|
"output": {
|
|
@@ -6716,6 +8047,28 @@ export const TRIGGERS = {
|
|
|
6716
8047
|
"value": 3
|
|
6717
8048
|
}
|
|
6718
8049
|
]
|
|
8050
|
+
},
|
|
8051
|
+
{
|
|
8052
|
+
"name": "Lending Rate above 0.1% on Plasma",
|
|
8053
|
+
"description": "Triggered when supply APY exceeds 0.1% on Plasma",
|
|
8054
|
+
"parameters": [
|
|
8055
|
+
{
|
|
8056
|
+
"key": "chainId",
|
|
8057
|
+
"value": 9745
|
|
8058
|
+
},
|
|
8059
|
+
{
|
|
8060
|
+
"key": "vault",
|
|
8061
|
+
"value": "0x27934d4879fc28a74703726eDae15F757E45A48a"
|
|
8062
|
+
},
|
|
8063
|
+
{
|
|
8064
|
+
"key": "condition",
|
|
8065
|
+
"value": "gt"
|
|
8066
|
+
},
|
|
8067
|
+
{
|
|
8068
|
+
"key": "comparisonValue",
|
|
8069
|
+
"value": 0.1
|
|
8070
|
+
}
|
|
8071
|
+
]
|
|
6719
8072
|
}
|
|
6720
8073
|
],
|
|
6721
8074
|
"output": {
|
|
@@ -7230,7 +8583,11 @@ export const TRIGGERS = {
|
|
|
7230
8583
|
"description": "Monitors events on Uniswap pools",
|
|
7231
8584
|
"chains": [
|
|
7232
8585
|
8453,
|
|
7233
|
-
1
|
|
8586
|
+
1,
|
|
8587
|
+
137,
|
|
8588
|
+
42161,
|
|
8589
|
+
56,
|
|
8590
|
+
9745
|
|
7234
8591
|
],
|
|
7235
8592
|
"image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/uniswap.jpg",
|
|
7236
8593
|
"V3_SWAP": {
|
|
@@ -7493,6 +8850,72 @@ export const TRIGGERS = {
|
|
|
7493
8850
|
"value": true
|
|
7494
8851
|
}
|
|
7495
8852
|
]
|
|
8853
|
+
},
|
|
8854
|
+
{
|
|
8855
|
+
"name": "Check position range on Polygon",
|
|
8856
|
+
"description": "Check if Uniswap V3 position #901234 is currently in range on Polygon",
|
|
8857
|
+
"parameters": [
|
|
8858
|
+
{
|
|
8859
|
+
"key": "chainId",
|
|
8860
|
+
"value": 137
|
|
8861
|
+
},
|
|
8862
|
+
{
|
|
8863
|
+
"key": "abiParams.tokenId",
|
|
8864
|
+
"value": "901234"
|
|
8865
|
+
},
|
|
8866
|
+
{
|
|
8867
|
+
"key": "condition",
|
|
8868
|
+
"value": "eq"
|
|
8869
|
+
},
|
|
8870
|
+
{
|
|
8871
|
+
"key": "comparisonValue",
|
|
8872
|
+
"value": true
|
|
8873
|
+
}
|
|
8874
|
+
]
|
|
8875
|
+
},
|
|
8876
|
+
{
|
|
8877
|
+
"name": "Check position range on BSC",
|
|
8878
|
+
"description": "Check if Uniswap V3 position #1703861 is currently in range on BSC",
|
|
8879
|
+
"parameters": [
|
|
8880
|
+
{
|
|
8881
|
+
"key": "chainId",
|
|
8882
|
+
"value": 56
|
|
8883
|
+
},
|
|
8884
|
+
{
|
|
8885
|
+
"key": "abiParams.tokenId",
|
|
8886
|
+
"value": "1703861"
|
|
8887
|
+
},
|
|
8888
|
+
{
|
|
8889
|
+
"key": "condition",
|
|
8890
|
+
"value": "eq"
|
|
8891
|
+
},
|
|
8892
|
+
{
|
|
8893
|
+
"key": "comparisonValue",
|
|
8894
|
+
"value": true
|
|
8895
|
+
}
|
|
8896
|
+
]
|
|
8897
|
+
},
|
|
8898
|
+
{
|
|
8899
|
+
"name": "Check position range on Plasma",
|
|
8900
|
+
"description": "Check if Uniswap V3 position #18789 is currently in range on Plasma",
|
|
8901
|
+
"parameters": [
|
|
8902
|
+
{
|
|
8903
|
+
"key": "chainId",
|
|
8904
|
+
"value": 9745
|
|
8905
|
+
},
|
|
8906
|
+
{
|
|
8907
|
+
"key": "abiParams.tokenId",
|
|
8908
|
+
"value": "18789"
|
|
8909
|
+
},
|
|
8910
|
+
{
|
|
8911
|
+
"key": "condition",
|
|
8912
|
+
"value": "eq"
|
|
8913
|
+
},
|
|
8914
|
+
{
|
|
8915
|
+
"key": "comparisonValue",
|
|
8916
|
+
"value": true
|
|
8917
|
+
}
|
|
8918
|
+
]
|
|
7496
8919
|
}
|
|
7497
8920
|
],
|
|
7498
8921
|
"output": {
|