otomato-sdk 2.0.526 → 2.0.527
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.
|
@@ -12014,6 +12014,60 @@ export const TRIGGERS = {
|
|
|
12014
12014
|
"image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/hypersurface.webp",
|
|
12015
12015
|
"comingSoon": true
|
|
12016
12016
|
}
|
|
12017
|
+
},
|
|
12018
|
+
"XSTOCKS": {
|
|
12019
|
+
"XSTOCKS_DIVIDEND": {
|
|
12020
|
+
"description": "Monitors xStocks dividend distributions",
|
|
12021
|
+
"chains": [
|
|
12022
|
+
1
|
|
12023
|
+
],
|
|
12024
|
+
"image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/xstocks.png",
|
|
12025
|
+
"XSTOCKS_DIVIDEND": {
|
|
12026
|
+
"name": "xStocks Dividend",
|
|
12027
|
+
"dynamicName": "async (env, { otomatoSDK }) => {\n const { getDynamicNameWrapperHTML, shortenAddress } = otomatoSDK;\n return getDynamicNameWrapperHTML(\n `Monitor xStocks dividend on`,\n shortenAddress(env.parameters.contractAddress),\n );\n }",
|
|
12028
|
+
"description": "Triggers when a dividend event (MultiplierUpdated) is detected on an xStocks contract.",
|
|
12029
|
+
"type": 0,
|
|
12030
|
+
"output": {
|
|
12031
|
+
"value": "uint256",
|
|
12032
|
+
"transactionHash": "string"
|
|
12033
|
+
},
|
|
12034
|
+
"parameters": [
|
|
12035
|
+
{
|
|
12036
|
+
"key": "chainId",
|
|
12037
|
+
"type": "chainId",
|
|
12038
|
+
"description": "Chain ID of the EVM blockchain",
|
|
12039
|
+
"mandatory": true,
|
|
12040
|
+
"category": 0,
|
|
12041
|
+
"defaultValue": 1
|
|
12042
|
+
},
|
|
12043
|
+
{
|
|
12044
|
+
"key": "contractAddress",
|
|
12045
|
+
"type": "address",
|
|
12046
|
+
"description": "The xStocks token contract address to monitor for dividends",
|
|
12047
|
+
"mandatory": true,
|
|
12048
|
+
"category": 0
|
|
12049
|
+
},
|
|
12050
|
+
],
|
|
12051
|
+
"examples": [
|
|
12052
|
+
{
|
|
12053
|
+
"name": "xStocks STRCx Dividend",
|
|
12054
|
+
"description": "Gets triggered when a dividend is distributed on the xStocks STRCx token",
|
|
12055
|
+
"parameters": [
|
|
12056
|
+
{
|
|
12057
|
+
"key": "chainId",
|
|
12058
|
+
"value": 1
|
|
12059
|
+
},
|
|
12060
|
+
{
|
|
12061
|
+
"key": "contractAddress",
|
|
12062
|
+
"value": "0x1aad217b8f78dba5e6693460e8470f8b1a3977f3"
|
|
12063
|
+
}
|
|
12064
|
+
]
|
|
12065
|
+
}
|
|
12066
|
+
],
|
|
12067
|
+
"blockId": 148,
|
|
12068
|
+
"image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/xstocks.png"
|
|
12069
|
+
}
|
|
12070
|
+
}
|
|
12017
12071
|
}
|
|
12018
12072
|
};
|
|
12019
12073
|
export const ACTIONS = {
|
|
@@ -4575,6 +4575,37 @@ export declare const TRIGGERS: {
|
|
|
4575
4575
|
comingSoon: boolean;
|
|
4576
4576
|
};
|
|
4577
4577
|
};
|
|
4578
|
+
XSTOCKS: {
|
|
4579
|
+
XSTOCKS_DIVIDEND: {
|
|
4580
|
+
description: string;
|
|
4581
|
+
chains: number[];
|
|
4582
|
+
image: string;
|
|
4583
|
+
XSTOCKS_DIVIDEND: {
|
|
4584
|
+
name: string;
|
|
4585
|
+
dynamicName: string;
|
|
4586
|
+
description: string;
|
|
4587
|
+
type: number;
|
|
4588
|
+
output: {
|
|
4589
|
+
value: string;
|
|
4590
|
+
transactionHash: string;
|
|
4591
|
+
};
|
|
4592
|
+
parameters: Parameter[];
|
|
4593
|
+
examples: {
|
|
4594
|
+
name: string;
|
|
4595
|
+
description: string;
|
|
4596
|
+
parameters: ({
|
|
4597
|
+
key: string;
|
|
4598
|
+
value: number;
|
|
4599
|
+
} | {
|
|
4600
|
+
key: string;
|
|
4601
|
+
value: string;
|
|
4602
|
+
})[];
|
|
4603
|
+
}[];
|
|
4604
|
+
blockId: number;
|
|
4605
|
+
image: string;
|
|
4606
|
+
};
|
|
4607
|
+
};
|
|
4608
|
+
};
|
|
4578
4609
|
};
|
|
4579
4610
|
export declare const ACTIONS: {
|
|
4580
4611
|
TRENDING: {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "2.0.
|
|
1
|
+
export declare const SDK_VERSION = "2.0.527";
|
|
2
2
|
export declare function compareVersions(v1: string, v2: string): number;
|