otomato-sdk 2.0.516 → 2.0.517
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.
|
@@ -1819,6 +1819,65 @@ export const TRIGGERS = {
|
|
|
1819
1819
|
"blockId": 86,
|
|
1820
1820
|
"image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/pendle.webp"
|
|
1821
1821
|
},
|
|
1822
|
+
"LIMIT_ORDER_FILL": {
|
|
1823
|
+
"name": "Limit order filled",
|
|
1824
|
+
"dynamicName": "async (env, { otomatoSDK }) => {\n const { getDynamicNameWrapperHTML, shortenAddress } = otomatoSDK;\n return getDynamicNameWrapperHTML(\n `${shortenAddress(env.parameters.walletAddress)}'s Pendle limit order filled`\n );\n }",
|
|
1825
|
+
"description": "Triggers when a Pendle limit order is partially or fully filled",
|
|
1826
|
+
"type": 6,
|
|
1827
|
+
"output": {
|
|
1828
|
+
"message": "string",
|
|
1829
|
+
"fillEventsJson": "string"
|
|
1830
|
+
},
|
|
1831
|
+
"parameters": [
|
|
1832
|
+
{
|
|
1833
|
+
"key": "walletAddress",
|
|
1834
|
+
"type": "address",
|
|
1835
|
+
"description": "The wallet address to monitor for Pendle limit order fills",
|
|
1836
|
+
"mandatory": true,
|
|
1837
|
+
"category": 0
|
|
1838
|
+
},
|
|
1839
|
+
{
|
|
1840
|
+
"key": "chainId",
|
|
1841
|
+
"type": "chainId",
|
|
1842
|
+
"description": "Chain ID to monitor orders on",
|
|
1843
|
+
"mandatory": true,
|
|
1844
|
+
"category": 0
|
|
1845
|
+
},
|
|
1846
|
+
{
|
|
1847
|
+
"key": "condition",
|
|
1848
|
+
"type": "logic_operator",
|
|
1849
|
+
"description": "Logic operator used for the comparison",
|
|
1850
|
+
"hideInUI": true,
|
|
1851
|
+
"category": 0
|
|
1852
|
+
},
|
|
1853
|
+
{
|
|
1854
|
+
"key": "comparisonValue",
|
|
1855
|
+
"type": "string",
|
|
1856
|
+
"description": "The value to compare to",
|
|
1857
|
+
"hideInUI": true,
|
|
1858
|
+
"category": 0
|
|
1859
|
+
},
|
|
1860
|
+
],
|
|
1861
|
+
"examples": [
|
|
1862
|
+
{
|
|
1863
|
+
"name": "Monitor Pendle limit order fills",
|
|
1864
|
+
"description": "Gets triggered when any limit order for the user on Pendle is filled",
|
|
1865
|
+
"externalVariableDescription": "Monitors Pendle limit orders and detects when they are filled",
|
|
1866
|
+
"parameters": [
|
|
1867
|
+
{
|
|
1868
|
+
"key": "walletAddress",
|
|
1869
|
+
"value": "0xA1265E2554Cf9F2fBDdf0374d60d4cCB5D1F2813"
|
|
1870
|
+
},
|
|
1871
|
+
{
|
|
1872
|
+
"key": "chainId",
|
|
1873
|
+
"value": "1"
|
|
1874
|
+
}
|
|
1875
|
+
]
|
|
1876
|
+
}
|
|
1877
|
+
],
|
|
1878
|
+
"blockId": 143,
|
|
1879
|
+
"image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/pendle.webp"
|
|
1880
|
+
},
|
|
1822
1881
|
"LP_EXPIRED": {
|
|
1823
1882
|
"name": "LP Expired",
|
|
1824
1883
|
"dynamicName": "async (env, { otomatoSDK }) => {\n const { getDynamicNameWrapperHTML, getChainHTML, shortenAddress } = otomatoSDK;\n return getDynamicNameWrapperHTML(\n `When LP for ${shortenAddress(env.parameters['marketAddress'])} on ${getChainHTML(env.parameters.chainId)} expired`\n );\n }",
|
|
@@ -729,6 +729,28 @@ export declare const TRIGGERS: {
|
|
|
729
729
|
blockId: number;
|
|
730
730
|
image: string;
|
|
731
731
|
};
|
|
732
|
+
LIMIT_ORDER_FILL: {
|
|
733
|
+
name: string;
|
|
734
|
+
dynamicName: string;
|
|
735
|
+
description: string;
|
|
736
|
+
type: number;
|
|
737
|
+
output: {
|
|
738
|
+
message: string;
|
|
739
|
+
fillEventsJson: string;
|
|
740
|
+
};
|
|
741
|
+
parameters: Parameter[];
|
|
742
|
+
examples: {
|
|
743
|
+
name: string;
|
|
744
|
+
description: string;
|
|
745
|
+
externalVariableDescription: string;
|
|
746
|
+
parameters: {
|
|
747
|
+
key: string;
|
|
748
|
+
value: string;
|
|
749
|
+
}[];
|
|
750
|
+
}[];
|
|
751
|
+
blockId: number;
|
|
752
|
+
image: string;
|
|
753
|
+
};
|
|
732
754
|
LP_EXPIRED: {
|
|
733
755
|
name: string;
|
|
734
756
|
dynamicName: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "2.0.
|
|
1
|
+
export declare const SDK_VERSION = "2.0.517";
|
|
2
2
|
export declare function compareVersions(v1: string, v2: string): number;
|