otomato-sdk 2.0.468 → 2.0.469
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.
|
@@ -9414,6 +9414,419 @@ export const TRIGGERS = {
|
|
|
9414
9414
|
"blockId": 111,
|
|
9415
9415
|
"image": "https://otomato-sdk-images.s3.eu-west-1.amazonaws.com/ultrasolid.webp"
|
|
9416
9416
|
}
|
|
9417
|
+
},
|
|
9418
|
+
"POSITION_DATA": {
|
|
9419
|
+
"description": "Fetches full position range data (ticks, prices, tokens) for concentrated liquidity positions",
|
|
9420
|
+
"chains": [],
|
|
9421
|
+
"image": "",
|
|
9422
|
+
"UNISWAP_V3": {
|
|
9423
|
+
"name": "Get Uniswap V3 position range data",
|
|
9424
|
+
"dynamicName": "async (env, { otomatoSDK }) => {\n const { getDynamicNameWrapperHTML, getChainHTML } = otomatoSDK;\n return getDynamicNameWrapperHTML(\n 'If',\n '#' + env.parameters['abiParams.tokenId'],\n `is in range on ${getChainHTML(env.parameters.chainId)}`\n );\n }",
|
|
9425
|
+
"description": "Returns full position range data (ticks, prices, tokens) as JSON. Returns true if the Uniswap V3 position that is currently in range, false otherwise.",
|
|
9426
|
+
"prototype": "uniswapPositionData",
|
|
9427
|
+
"type": 1,
|
|
9428
|
+
"method": "function positions(uint256 tokenId) public view returns (uint96 nonce, address operator, address token0, address token1, uint24 fee, int24 tickLower, int24 tickUpper, uint128 liquidity, uint256 feeGrowthInside0LastX128, uint256 feeGrowthInside1LastX128, uint128 tokensOwed0, uint128 tokensOwed1)",
|
|
9429
|
+
"parameters": [
|
|
9430
|
+
{
|
|
9431
|
+
"key": "chainId",
|
|
9432
|
+
"type": "chainId",
|
|
9433
|
+
"description": "Chain ID where the position exists",
|
|
9434
|
+
"category": 0,
|
|
9435
|
+
"mandatory": true
|
|
9436
|
+
},
|
|
9437
|
+
{
|
|
9438
|
+
"key": "abiParams.tokenId",
|
|
9439
|
+
"type": "uint256",
|
|
9440
|
+
"description": "Token ID of the Uniswap V3 position",
|
|
9441
|
+
"category": 0,
|
|
9442
|
+
"mandatory": true
|
|
9443
|
+
},
|
|
9444
|
+
],
|
|
9445
|
+
"examples": [],
|
|
9446
|
+
"output": {
|
|
9447
|
+
"isInRange": "string",
|
|
9448
|
+
"comparisonValue": "string",
|
|
9449
|
+
"token0Address": "address",
|
|
9450
|
+
"token1Address": "address",
|
|
9451
|
+
"token0Symbol": "string",
|
|
9452
|
+
"token1Symbol": "string",
|
|
9453
|
+
"token0Decimals": "integer",
|
|
9454
|
+
"token1Decimals": "integer",
|
|
9455
|
+
"fee": "integer",
|
|
9456
|
+
"poolAddress": "address",
|
|
9457
|
+
"tickLower": "int24",
|
|
9458
|
+
"tickUpper": "int24",
|
|
9459
|
+
"currentTick": "int24",
|
|
9460
|
+
"priceLower": "string",
|
|
9461
|
+
"priceUpper": "string",
|
|
9462
|
+
"currentPrice": "string",
|
|
9463
|
+
"priceLowerRaw": "string",
|
|
9464
|
+
"priceUpperRaw": "string",
|
|
9465
|
+
"currentPriceRaw": "string",
|
|
9466
|
+
"baseSymbol": "string",
|
|
9467
|
+
"quoteSymbol": "string",
|
|
9468
|
+
"pairLabel": "string"
|
|
9469
|
+
},
|
|
9470
|
+
"blockId": 127,
|
|
9471
|
+
"image": ""
|
|
9472
|
+
},
|
|
9473
|
+
"UNISWAP_V4": {
|
|
9474
|
+
"name": "Get Uniswap V4 position range data",
|
|
9475
|
+
"dynamicName": "async (env, { otomatoSDK }) => {\n const { getDynamicNameWrapperHTML, getChainHTML } = otomatoSDK;\n return getDynamicNameWrapperHTML(\n 'If',\n '#' + env.parameters['abiParams.tokenId'],\n `is in range on ${getChainHTML(env.parameters.chainId)}`\n );\n }",
|
|
9476
|
+
"description": "Returns full position range data (ticks, prices, tokens) as JSON. Returns true if the Uniswap V4 position is currently in range, false otherwise.",
|
|
9477
|
+
"prototype": "uniswapPositionDataV4",
|
|
9478
|
+
"type": 1,
|
|
9479
|
+
"method": "function getPoolAndPositionInfo(uint256 tokenId) view returns ((address currency0, address currency1, uint24 fee, int24 tickSpacing, address hooks) poolKey, uint256 info)",
|
|
9480
|
+
"parameters": [
|
|
9481
|
+
{
|
|
9482
|
+
"key": "chainId",
|
|
9483
|
+
"type": "chainId",
|
|
9484
|
+
"description": "Chain ID where the position exists",
|
|
9485
|
+
"category": 0,
|
|
9486
|
+
"mandatory": true
|
|
9487
|
+
},
|
|
9488
|
+
{
|
|
9489
|
+
"key": "abiParams.tokenId",
|
|
9490
|
+
"type": "uint256",
|
|
9491
|
+
"description": "Token ID of the Uniswap V4 position",
|
|
9492
|
+
"category": 0,
|
|
9493
|
+
"mandatory": true
|
|
9494
|
+
},
|
|
9495
|
+
],
|
|
9496
|
+
"examples": [],
|
|
9497
|
+
"output": {
|
|
9498
|
+
"isInRange": "string",
|
|
9499
|
+
"comparisonValue": "string",
|
|
9500
|
+
"token0Address": "address",
|
|
9501
|
+
"token1Address": "address",
|
|
9502
|
+
"token0Symbol": "string",
|
|
9503
|
+
"token1Symbol": "string",
|
|
9504
|
+
"token0Decimals": "integer",
|
|
9505
|
+
"token1Decimals": "integer",
|
|
9506
|
+
"fee": "integer",
|
|
9507
|
+
"poolAddress": "address",
|
|
9508
|
+
"tickLower": "int24",
|
|
9509
|
+
"tickUpper": "int24",
|
|
9510
|
+
"currentTick": "int24",
|
|
9511
|
+
"priceLower": "string",
|
|
9512
|
+
"priceUpper": "string",
|
|
9513
|
+
"currentPrice": "string",
|
|
9514
|
+
"priceLowerRaw": "string",
|
|
9515
|
+
"priceUpperRaw": "string",
|
|
9516
|
+
"currentPriceRaw": "string",
|
|
9517
|
+
"baseSymbol": "string",
|
|
9518
|
+
"quoteSymbol": "string",
|
|
9519
|
+
"pairLabel": "string"
|
|
9520
|
+
},
|
|
9521
|
+
"blockId": 128,
|
|
9522
|
+
"image": ""
|
|
9523
|
+
},
|
|
9524
|
+
"HYPERSWAP": {
|
|
9525
|
+
"name": "Get HyperSwap position range data",
|
|
9526
|
+
"dynamicName": "async (env, { otomatoSDK }) => {\n const { getDynamicNameWrapperHTML, getChainHTML } = otomatoSDK;\n return getDynamicNameWrapperHTML(\n 'If',\n '#' + env.parameters['abiParams.tokenId'],\n `is in range on ${getChainHTML(env.parameters.chainId)}`\n );\n }",
|
|
9527
|
+
"description": "Returns full position range data (ticks, prices, tokens) as JSON. Triggers when a given HyperSwap position is in range or not",
|
|
9528
|
+
"prototype": "hyperswapPositionData",
|
|
9529
|
+
"type": 1,
|
|
9530
|
+
"method": "function positions(uint256 tokenId) public view returns (uint96 nonce, address operator, address token0, address token1, uint24 fee, int24 tickLower, int24 tickUpper, uint128 liquidity, uint256 feeGrowthInside0LastX128, uint256 feeGrowthInside1LastX128, uint128 tokensOwed0, uint128 tokensOwed1)",
|
|
9531
|
+
"parameters": [
|
|
9532
|
+
{
|
|
9533
|
+
"key": "chainId",
|
|
9534
|
+
"type": "chainId",
|
|
9535
|
+
"description": "Chain ID where the position exists",
|
|
9536
|
+
"category": 0,
|
|
9537
|
+
"mandatory": true
|
|
9538
|
+
},
|
|
9539
|
+
{
|
|
9540
|
+
"key": "abiParams.tokenId",
|
|
9541
|
+
"type": "uint256",
|
|
9542
|
+
"description": "Token ID of the HyperSwap position",
|
|
9543
|
+
"category": 0,
|
|
9544
|
+
"mandatory": true
|
|
9545
|
+
},
|
|
9546
|
+
],
|
|
9547
|
+
"examples": [],
|
|
9548
|
+
"output": {
|
|
9549
|
+
"isInRange": "string",
|
|
9550
|
+
"comparisonValue": "string",
|
|
9551
|
+
"token0Address": "address",
|
|
9552
|
+
"token1Address": "address",
|
|
9553
|
+
"token0Symbol": "string",
|
|
9554
|
+
"token1Symbol": "string",
|
|
9555
|
+
"token0Decimals": "integer",
|
|
9556
|
+
"token1Decimals": "integer",
|
|
9557
|
+
"fee": "integer",
|
|
9558
|
+
"poolAddress": "address",
|
|
9559
|
+
"tickLower": "int24",
|
|
9560
|
+
"tickUpper": "int24",
|
|
9561
|
+
"currentTick": "int24",
|
|
9562
|
+
"priceLower": "string",
|
|
9563
|
+
"priceUpper": "string",
|
|
9564
|
+
"currentPrice": "string",
|
|
9565
|
+
"priceLowerRaw": "string",
|
|
9566
|
+
"priceUpperRaw": "string",
|
|
9567
|
+
"currentPriceRaw": "string",
|
|
9568
|
+
"baseSymbol": "string",
|
|
9569
|
+
"quoteSymbol": "string",
|
|
9570
|
+
"pairLabel": "string"
|
|
9571
|
+
},
|
|
9572
|
+
"blockId": 129,
|
|
9573
|
+
"image": ""
|
|
9574
|
+
},
|
|
9575
|
+
"PROJECT_X": {
|
|
9576
|
+
"name": "Get ProjectX position range data",
|
|
9577
|
+
"dynamicName": "async (env, { otomatoSDK }) => {\n const { getDynamicNameWrapperHTML, getChainHTML } = otomatoSDK;\n return getDynamicNameWrapperHTML(\n 'If',\n '#' + env.parameters['abiParams.tokenId'],\n `is in range on ${getChainHTML(env.parameters.chainId)}`\n );\n }",
|
|
9578
|
+
"description": "Returns full position range data (ticks, prices, tokens) as JSON. Triggers when a given ProjectX position is in range or not",
|
|
9579
|
+
"prototype": "projectXPositionData",
|
|
9580
|
+
"type": 1,
|
|
9581
|
+
"method": "function positions(uint256 tokenId) public view returns (uint96 nonce, address operator, address token0, address token1, uint24 fee, int24 tickLower, int24 tickUpper, uint128 liquidity, uint256 feeGrowthInside0LastX128, uint256 feeGrowthInside1LastX128, uint128 tokensOwed0, uint128 tokensOwed1)",
|
|
9582
|
+
"parameters": [
|
|
9583
|
+
{
|
|
9584
|
+
"key": "chainId",
|
|
9585
|
+
"type": "chainId",
|
|
9586
|
+
"description": "Chain ID where the position exists",
|
|
9587
|
+
"category": 0,
|
|
9588
|
+
"mandatory": true
|
|
9589
|
+
},
|
|
9590
|
+
{
|
|
9591
|
+
"key": "abiParams.tokenId",
|
|
9592
|
+
"type": "uint256",
|
|
9593
|
+
"description": "Token ID of the ProjectX position",
|
|
9594
|
+
"category": 0,
|
|
9595
|
+
"mandatory": true
|
|
9596
|
+
},
|
|
9597
|
+
],
|
|
9598
|
+
"examples": [],
|
|
9599
|
+
"output": {
|
|
9600
|
+
"isInRange": "string",
|
|
9601
|
+
"comparisonValue": "string",
|
|
9602
|
+
"token0Address": "address",
|
|
9603
|
+
"token1Address": "address",
|
|
9604
|
+
"token0Symbol": "string",
|
|
9605
|
+
"token1Symbol": "string",
|
|
9606
|
+
"token0Decimals": "integer",
|
|
9607
|
+
"token1Decimals": "integer",
|
|
9608
|
+
"fee": "integer",
|
|
9609
|
+
"poolAddress": "address",
|
|
9610
|
+
"tickLower": "int24",
|
|
9611
|
+
"tickUpper": "int24",
|
|
9612
|
+
"currentTick": "int24",
|
|
9613
|
+
"priceLower": "string",
|
|
9614
|
+
"priceUpper": "string",
|
|
9615
|
+
"currentPrice": "string",
|
|
9616
|
+
"priceLowerRaw": "string",
|
|
9617
|
+
"priceUpperRaw": "string",
|
|
9618
|
+
"currentPriceRaw": "string",
|
|
9619
|
+
"baseSymbol": "string",
|
|
9620
|
+
"quoteSymbol": "string",
|
|
9621
|
+
"pairLabel": "string"
|
|
9622
|
+
},
|
|
9623
|
+
"blockId": 130,
|
|
9624
|
+
"image": ""
|
|
9625
|
+
},
|
|
9626
|
+
"HYBRA_V3": {
|
|
9627
|
+
"name": "Get Hybra position range data",
|
|
9628
|
+
"dynamicName": "async (env, { otomatoSDK }) => {\n const { getDynamicNameWrapperHTML, getChainHTML } = otomatoSDK;\n return getDynamicNameWrapperHTML(\n 'If',\n '#' + env.parameters['abiParams.tokenId'],\n `is in range on ${getChainHTML(env.parameters.chainId)}`\n );\n }",
|
|
9629
|
+
"description": "Returns full position range data (ticks, prices, tokens) as JSON. Triggers when a given Hybra position is in range or not",
|
|
9630
|
+
"prototype": "hybraPositionData",
|
|
9631
|
+
"type": 1,
|
|
9632
|
+
"method": "function positions(uint256 tokenId) public view returns (uint96 nonce, address operator, address token0, address token1, uint24 fee, int24 tickLower, int24 tickUpper, uint128 liquidity, uint256 feeGrowthInside0LastX128, uint256 feeGrowthInside1LastX128, uint128 tokensOwed0, uint128 tokensOwed1)",
|
|
9633
|
+
"parameters": [
|
|
9634
|
+
{
|
|
9635
|
+
"key": "chainId",
|
|
9636
|
+
"type": "chainId",
|
|
9637
|
+
"description": "Chain ID where the position exists",
|
|
9638
|
+
"category": 0,
|
|
9639
|
+
"mandatory": true
|
|
9640
|
+
},
|
|
9641
|
+
{
|
|
9642
|
+
"key": "abiParams.tokenId",
|
|
9643
|
+
"type": "uint256",
|
|
9644
|
+
"description": "Token ID of the Hybra position",
|
|
9645
|
+
"category": 0,
|
|
9646
|
+
"mandatory": true
|
|
9647
|
+
},
|
|
9648
|
+
],
|
|
9649
|
+
"examples": [],
|
|
9650
|
+
"output": {
|
|
9651
|
+
"isInRange": "string",
|
|
9652
|
+
"comparisonValue": "string",
|
|
9653
|
+
"token0Address": "address",
|
|
9654
|
+
"token1Address": "address",
|
|
9655
|
+
"token0Symbol": "string",
|
|
9656
|
+
"token1Symbol": "string",
|
|
9657
|
+
"token0Decimals": "integer",
|
|
9658
|
+
"token1Decimals": "integer",
|
|
9659
|
+
"fee": "integer",
|
|
9660
|
+
"poolAddress": "address",
|
|
9661
|
+
"tickLower": "int24",
|
|
9662
|
+
"tickUpper": "int24",
|
|
9663
|
+
"currentTick": "int24",
|
|
9664
|
+
"priceLower": "string",
|
|
9665
|
+
"priceUpper": "string",
|
|
9666
|
+
"currentPrice": "string",
|
|
9667
|
+
"priceLowerRaw": "string",
|
|
9668
|
+
"priceUpperRaw": "string",
|
|
9669
|
+
"currentPriceRaw": "string",
|
|
9670
|
+
"baseSymbol": "string",
|
|
9671
|
+
"quoteSymbol": "string",
|
|
9672
|
+
"pairLabel": "string"
|
|
9673
|
+
},
|
|
9674
|
+
"blockId": 131,
|
|
9675
|
+
"image": ""
|
|
9676
|
+
},
|
|
9677
|
+
"HYBRA_V4": {
|
|
9678
|
+
"name": "Get Hybra V4 position range data",
|
|
9679
|
+
"dynamicName": "async (env, { otomatoSDK }) => {\n const { getDynamicNameWrapperHTML, getChainHTML } = otomatoSDK;\n return getDynamicNameWrapperHTML(\n 'If',\n '#' + env.parameters['abiParams.tokenId'],\n `is in range on ${getChainHTML(env.parameters.chainId)}`\n );\n }",
|
|
9680
|
+
"description": "Returns full position range data (ticks, prices, tokens) as JSON. Triggers when a given Hybra V4 position is in range or not",
|
|
9681
|
+
"prototype": "hybraV4PositionData",
|
|
9682
|
+
"type": 1,
|
|
9683
|
+
"method": "function positions(uint256 tokenId) public view returns (uint96 nonce, address operator, address token0, address token1, uint24 fee, int24 tickLower, int24 tickUpper, uint128 liquidity, uint256 feeGrowthInside0LastX128, uint256 feeGrowthInside1LastX128, uint128 tokensOwed0, uint128 tokensOwed1)",
|
|
9684
|
+
"parameters": [
|
|
9685
|
+
{
|
|
9686
|
+
"key": "chainId",
|
|
9687
|
+
"type": "chainId",
|
|
9688
|
+
"description": "Chain ID where the position exists",
|
|
9689
|
+
"category": 0,
|
|
9690
|
+
"mandatory": true
|
|
9691
|
+
},
|
|
9692
|
+
{
|
|
9693
|
+
"key": "abiParams.tokenId",
|
|
9694
|
+
"type": "uint256",
|
|
9695
|
+
"description": "Token ID of the Hybra V4 position",
|
|
9696
|
+
"category": 0,
|
|
9697
|
+
"mandatory": true
|
|
9698
|
+
},
|
|
9699
|
+
],
|
|
9700
|
+
"examples": [],
|
|
9701
|
+
"output": {
|
|
9702
|
+
"isInRange": "string",
|
|
9703
|
+
"comparisonValue": "string",
|
|
9704
|
+
"token0Address": "address",
|
|
9705
|
+
"token1Address": "address",
|
|
9706
|
+
"token0Symbol": "string",
|
|
9707
|
+
"token1Symbol": "string",
|
|
9708
|
+
"token0Decimals": "integer",
|
|
9709
|
+
"token1Decimals": "integer",
|
|
9710
|
+
"fee": "integer",
|
|
9711
|
+
"poolAddress": "address",
|
|
9712
|
+
"tickLower": "int24",
|
|
9713
|
+
"tickUpper": "int24",
|
|
9714
|
+
"currentTick": "int24",
|
|
9715
|
+
"priceLower": "string",
|
|
9716
|
+
"priceUpper": "string",
|
|
9717
|
+
"currentPrice": "string",
|
|
9718
|
+
"priceLowerRaw": "string",
|
|
9719
|
+
"priceUpperRaw": "string",
|
|
9720
|
+
"currentPriceRaw": "string",
|
|
9721
|
+
"baseSymbol": "string",
|
|
9722
|
+
"quoteSymbol": "string",
|
|
9723
|
+
"pairLabel": "string"
|
|
9724
|
+
},
|
|
9725
|
+
"blockId": 132,
|
|
9726
|
+
"image": ""
|
|
9727
|
+
},
|
|
9728
|
+
"NEST": {
|
|
9729
|
+
"name": "Get Nest position range data",
|
|
9730
|
+
"dynamicName": "async (env, { otomatoSDK }) => {\n const { getDynamicNameWrapperHTML, getChainHTML } = otomatoSDK;\n return getDynamicNameWrapperHTML(\n 'If',\n '#' + env.parameters['abiParams.tokenId'],\n `is in range on ${getChainHTML(env.parameters.chainId)}`\n );\n }",
|
|
9731
|
+
"description": "Returns full position range data (ticks, prices, tokens) as JSON. Triggers when a given Nest position is in range or not",
|
|
9732
|
+
"prototype": "nestPositionData",
|
|
9733
|
+
"type": 1,
|
|
9734
|
+
"method": "function positions(uint256 tokenId) public view returns (uint88 nonce, address operator, address token0, address token1, int24 tickLower, int24 tickUpper, uint128 liquidity, uint256 feeGrowthInside0LastX128, uint256 feeGrowthInside1LastX128, uint128 tokensOwed0, uint128 tokensOwed1)",
|
|
9735
|
+
"parameters": [
|
|
9736
|
+
{
|
|
9737
|
+
"key": "chainId",
|
|
9738
|
+
"type": "chainId",
|
|
9739
|
+
"description": "Chain ID where the position exists",
|
|
9740
|
+
"category": 0,
|
|
9741
|
+
"mandatory": true
|
|
9742
|
+
},
|
|
9743
|
+
{
|
|
9744
|
+
"key": "abiParams.tokenId",
|
|
9745
|
+
"type": "uint256",
|
|
9746
|
+
"description": "Token ID of the Nest position",
|
|
9747
|
+
"category": 0,
|
|
9748
|
+
"mandatory": true
|
|
9749
|
+
},
|
|
9750
|
+
],
|
|
9751
|
+
"examples": [],
|
|
9752
|
+
"output": {
|
|
9753
|
+
"isInRange": "string",
|
|
9754
|
+
"comparisonValue": "string",
|
|
9755
|
+
"token0Address": "address",
|
|
9756
|
+
"token1Address": "address",
|
|
9757
|
+
"token0Symbol": "string",
|
|
9758
|
+
"token1Symbol": "string",
|
|
9759
|
+
"token0Decimals": "integer",
|
|
9760
|
+
"token1Decimals": "integer",
|
|
9761
|
+
"fee": "integer",
|
|
9762
|
+
"poolAddress": "address",
|
|
9763
|
+
"tickLower": "int24",
|
|
9764
|
+
"tickUpper": "int24",
|
|
9765
|
+
"currentTick": "int24",
|
|
9766
|
+
"priceLower": "string",
|
|
9767
|
+
"priceUpper": "string",
|
|
9768
|
+
"currentPrice": "string",
|
|
9769
|
+
"priceLowerRaw": "string",
|
|
9770
|
+
"priceUpperRaw": "string",
|
|
9771
|
+
"currentPriceRaw": "string",
|
|
9772
|
+
"baseSymbol": "string",
|
|
9773
|
+
"quoteSymbol": "string",
|
|
9774
|
+
"pairLabel": "string"
|
|
9775
|
+
},
|
|
9776
|
+
"blockId": 133,
|
|
9777
|
+
"image": ""
|
|
9778
|
+
},
|
|
9779
|
+
"ULTRASOLID": {
|
|
9780
|
+
"name": "Get UltraSolid position range data",
|
|
9781
|
+
"dynamicName": "async (env, { otomatoSDK }) => {\n const { getDynamicNameWrapperHTML, getChainHTML } = otomatoSDK;\n return getDynamicNameWrapperHTML(\n 'If',\n '#' + env.parameters['abiParams.tokenId'],\n `is in range on ${getChainHTML(env.parameters.chainId)}`\n );\n }",
|
|
9782
|
+
"description": "Returns full position range data (ticks, prices, tokens) as JSON. Triggers when a given UltraSolid position is in range or not",
|
|
9783
|
+
"prototype": "ultrasolidPositionData",
|
|
9784
|
+
"type": 1,
|
|
9785
|
+
"method": "function positions(uint256 tokenId) public view returns (uint96 nonce, address operator, address token0, address token1, uint24 fee, int24 tickLower, int24 tickUpper, uint128 liquidity, uint256 feeGrowthInside0LastX128, uint256 feeGrowthInside1LastX128, uint128 tokensOwed0, uint128 tokensOwed1)",
|
|
9786
|
+
"parameters": [
|
|
9787
|
+
{
|
|
9788
|
+
"key": "chainId",
|
|
9789
|
+
"type": "chainId",
|
|
9790
|
+
"description": "Chain ID where the position exists",
|
|
9791
|
+
"category": 0,
|
|
9792
|
+
"mandatory": true
|
|
9793
|
+
},
|
|
9794
|
+
{
|
|
9795
|
+
"key": "abiParams.tokenId",
|
|
9796
|
+
"type": "uint256",
|
|
9797
|
+
"description": "Token ID of the UltraSolid position",
|
|
9798
|
+
"category": 0,
|
|
9799
|
+
"mandatory": true
|
|
9800
|
+
},
|
|
9801
|
+
],
|
|
9802
|
+
"examples": [],
|
|
9803
|
+
"output": {
|
|
9804
|
+
"isInRange": "string",
|
|
9805
|
+
"comparisonValue": "string",
|
|
9806
|
+
"token0Address": "address",
|
|
9807
|
+
"token1Address": "address",
|
|
9808
|
+
"token0Symbol": "string",
|
|
9809
|
+
"token1Symbol": "string",
|
|
9810
|
+
"token0Decimals": "integer",
|
|
9811
|
+
"token1Decimals": "integer",
|
|
9812
|
+
"fee": "integer",
|
|
9813
|
+
"poolAddress": "address",
|
|
9814
|
+
"tickLower": "int24",
|
|
9815
|
+
"tickUpper": "int24",
|
|
9816
|
+
"currentTick": "int24",
|
|
9817
|
+
"priceLower": "string",
|
|
9818
|
+
"priceUpper": "string",
|
|
9819
|
+
"currentPrice": "string",
|
|
9820
|
+
"priceLowerRaw": "string",
|
|
9821
|
+
"priceUpperRaw": "string",
|
|
9822
|
+
"currentPriceRaw": "string",
|
|
9823
|
+
"baseSymbol": "string",
|
|
9824
|
+
"quoteSymbol": "string",
|
|
9825
|
+
"pairLabel": "string"
|
|
9826
|
+
},
|
|
9827
|
+
"blockId": 134,
|
|
9828
|
+
"image": ""
|
|
9829
|
+
}
|
|
9417
9830
|
}
|
|
9418
9831
|
},
|
|
9419
9832
|
"SOCIALS": {
|
|
@@ -3514,6 +3514,299 @@ export declare const TRIGGERS: {
|
|
|
3514
3514
|
image: string;
|
|
3515
3515
|
};
|
|
3516
3516
|
};
|
|
3517
|
+
POSITION_DATA: {
|
|
3518
|
+
description: string;
|
|
3519
|
+
chains: never[];
|
|
3520
|
+
image: string;
|
|
3521
|
+
UNISWAP_V3: {
|
|
3522
|
+
name: string;
|
|
3523
|
+
dynamicName: string;
|
|
3524
|
+
description: string;
|
|
3525
|
+
prototype: string;
|
|
3526
|
+
type: number;
|
|
3527
|
+
method: string;
|
|
3528
|
+
parameters: Parameter[];
|
|
3529
|
+
examples: never[];
|
|
3530
|
+
output: {
|
|
3531
|
+
isInRange: string;
|
|
3532
|
+
comparisonValue: string;
|
|
3533
|
+
token0Address: string;
|
|
3534
|
+
token1Address: string;
|
|
3535
|
+
token0Symbol: string;
|
|
3536
|
+
token1Symbol: string;
|
|
3537
|
+
token0Decimals: string;
|
|
3538
|
+
token1Decimals: string;
|
|
3539
|
+
fee: string;
|
|
3540
|
+
poolAddress: string;
|
|
3541
|
+
tickLower: string;
|
|
3542
|
+
tickUpper: string;
|
|
3543
|
+
currentTick: string;
|
|
3544
|
+
priceLower: string;
|
|
3545
|
+
priceUpper: string;
|
|
3546
|
+
currentPrice: string;
|
|
3547
|
+
priceLowerRaw: string;
|
|
3548
|
+
priceUpperRaw: string;
|
|
3549
|
+
currentPriceRaw: string;
|
|
3550
|
+
baseSymbol: string;
|
|
3551
|
+
quoteSymbol: string;
|
|
3552
|
+
pairLabel: string;
|
|
3553
|
+
};
|
|
3554
|
+
blockId: number;
|
|
3555
|
+
image: string;
|
|
3556
|
+
};
|
|
3557
|
+
UNISWAP_V4: {
|
|
3558
|
+
name: string;
|
|
3559
|
+
dynamicName: string;
|
|
3560
|
+
description: string;
|
|
3561
|
+
prototype: string;
|
|
3562
|
+
type: number;
|
|
3563
|
+
method: string;
|
|
3564
|
+
parameters: Parameter[];
|
|
3565
|
+
examples: never[];
|
|
3566
|
+
output: {
|
|
3567
|
+
isInRange: string;
|
|
3568
|
+
comparisonValue: string;
|
|
3569
|
+
token0Address: string;
|
|
3570
|
+
token1Address: string;
|
|
3571
|
+
token0Symbol: string;
|
|
3572
|
+
token1Symbol: string;
|
|
3573
|
+
token0Decimals: string;
|
|
3574
|
+
token1Decimals: string;
|
|
3575
|
+
fee: string;
|
|
3576
|
+
poolAddress: string;
|
|
3577
|
+
tickLower: string;
|
|
3578
|
+
tickUpper: string;
|
|
3579
|
+
currentTick: string;
|
|
3580
|
+
priceLower: string;
|
|
3581
|
+
priceUpper: string;
|
|
3582
|
+
currentPrice: string;
|
|
3583
|
+
priceLowerRaw: string;
|
|
3584
|
+
priceUpperRaw: string;
|
|
3585
|
+
currentPriceRaw: string;
|
|
3586
|
+
baseSymbol: string;
|
|
3587
|
+
quoteSymbol: string;
|
|
3588
|
+
pairLabel: string;
|
|
3589
|
+
};
|
|
3590
|
+
blockId: number;
|
|
3591
|
+
image: string;
|
|
3592
|
+
};
|
|
3593
|
+
HYPERSWAP: {
|
|
3594
|
+
name: string;
|
|
3595
|
+
dynamicName: string;
|
|
3596
|
+
description: string;
|
|
3597
|
+
prototype: string;
|
|
3598
|
+
type: number;
|
|
3599
|
+
method: string;
|
|
3600
|
+
parameters: Parameter[];
|
|
3601
|
+
examples: never[];
|
|
3602
|
+
output: {
|
|
3603
|
+
isInRange: string;
|
|
3604
|
+
comparisonValue: string;
|
|
3605
|
+
token0Address: string;
|
|
3606
|
+
token1Address: string;
|
|
3607
|
+
token0Symbol: string;
|
|
3608
|
+
token1Symbol: string;
|
|
3609
|
+
token0Decimals: string;
|
|
3610
|
+
token1Decimals: string;
|
|
3611
|
+
fee: string;
|
|
3612
|
+
poolAddress: string;
|
|
3613
|
+
tickLower: string;
|
|
3614
|
+
tickUpper: string;
|
|
3615
|
+
currentTick: string;
|
|
3616
|
+
priceLower: string;
|
|
3617
|
+
priceUpper: string;
|
|
3618
|
+
currentPrice: string;
|
|
3619
|
+
priceLowerRaw: string;
|
|
3620
|
+
priceUpperRaw: string;
|
|
3621
|
+
currentPriceRaw: string;
|
|
3622
|
+
baseSymbol: string;
|
|
3623
|
+
quoteSymbol: string;
|
|
3624
|
+
pairLabel: string;
|
|
3625
|
+
};
|
|
3626
|
+
blockId: number;
|
|
3627
|
+
image: string;
|
|
3628
|
+
};
|
|
3629
|
+
PROJECT_X: {
|
|
3630
|
+
name: string;
|
|
3631
|
+
dynamicName: string;
|
|
3632
|
+
description: string;
|
|
3633
|
+
prototype: string;
|
|
3634
|
+
type: number;
|
|
3635
|
+
method: string;
|
|
3636
|
+
parameters: Parameter[];
|
|
3637
|
+
examples: never[];
|
|
3638
|
+
output: {
|
|
3639
|
+
isInRange: string;
|
|
3640
|
+
comparisonValue: string;
|
|
3641
|
+
token0Address: string;
|
|
3642
|
+
token1Address: string;
|
|
3643
|
+
token0Symbol: string;
|
|
3644
|
+
token1Symbol: string;
|
|
3645
|
+
token0Decimals: string;
|
|
3646
|
+
token1Decimals: string;
|
|
3647
|
+
fee: string;
|
|
3648
|
+
poolAddress: string;
|
|
3649
|
+
tickLower: string;
|
|
3650
|
+
tickUpper: string;
|
|
3651
|
+
currentTick: string;
|
|
3652
|
+
priceLower: string;
|
|
3653
|
+
priceUpper: string;
|
|
3654
|
+
currentPrice: string;
|
|
3655
|
+
priceLowerRaw: string;
|
|
3656
|
+
priceUpperRaw: string;
|
|
3657
|
+
currentPriceRaw: string;
|
|
3658
|
+
baseSymbol: string;
|
|
3659
|
+
quoteSymbol: string;
|
|
3660
|
+
pairLabel: string;
|
|
3661
|
+
};
|
|
3662
|
+
blockId: number;
|
|
3663
|
+
image: string;
|
|
3664
|
+
};
|
|
3665
|
+
HYBRA_V3: {
|
|
3666
|
+
name: string;
|
|
3667
|
+
dynamicName: string;
|
|
3668
|
+
description: string;
|
|
3669
|
+
prototype: string;
|
|
3670
|
+
type: number;
|
|
3671
|
+
method: string;
|
|
3672
|
+
parameters: Parameter[];
|
|
3673
|
+
examples: never[];
|
|
3674
|
+
output: {
|
|
3675
|
+
isInRange: string;
|
|
3676
|
+
comparisonValue: string;
|
|
3677
|
+
token0Address: string;
|
|
3678
|
+
token1Address: string;
|
|
3679
|
+
token0Symbol: string;
|
|
3680
|
+
token1Symbol: string;
|
|
3681
|
+
token0Decimals: string;
|
|
3682
|
+
token1Decimals: string;
|
|
3683
|
+
fee: string;
|
|
3684
|
+
poolAddress: string;
|
|
3685
|
+
tickLower: string;
|
|
3686
|
+
tickUpper: string;
|
|
3687
|
+
currentTick: string;
|
|
3688
|
+
priceLower: string;
|
|
3689
|
+
priceUpper: string;
|
|
3690
|
+
currentPrice: string;
|
|
3691
|
+
priceLowerRaw: string;
|
|
3692
|
+
priceUpperRaw: string;
|
|
3693
|
+
currentPriceRaw: string;
|
|
3694
|
+
baseSymbol: string;
|
|
3695
|
+
quoteSymbol: string;
|
|
3696
|
+
pairLabel: string;
|
|
3697
|
+
};
|
|
3698
|
+
blockId: number;
|
|
3699
|
+
image: string;
|
|
3700
|
+
};
|
|
3701
|
+
HYBRA_V4: {
|
|
3702
|
+
name: string;
|
|
3703
|
+
dynamicName: string;
|
|
3704
|
+
description: string;
|
|
3705
|
+
prototype: string;
|
|
3706
|
+
type: number;
|
|
3707
|
+
method: string;
|
|
3708
|
+
parameters: Parameter[];
|
|
3709
|
+
examples: never[];
|
|
3710
|
+
output: {
|
|
3711
|
+
isInRange: string;
|
|
3712
|
+
comparisonValue: string;
|
|
3713
|
+
token0Address: string;
|
|
3714
|
+
token1Address: string;
|
|
3715
|
+
token0Symbol: string;
|
|
3716
|
+
token1Symbol: string;
|
|
3717
|
+
token0Decimals: string;
|
|
3718
|
+
token1Decimals: string;
|
|
3719
|
+
fee: string;
|
|
3720
|
+
poolAddress: string;
|
|
3721
|
+
tickLower: string;
|
|
3722
|
+
tickUpper: string;
|
|
3723
|
+
currentTick: string;
|
|
3724
|
+
priceLower: string;
|
|
3725
|
+
priceUpper: string;
|
|
3726
|
+
currentPrice: string;
|
|
3727
|
+
priceLowerRaw: string;
|
|
3728
|
+
priceUpperRaw: string;
|
|
3729
|
+
currentPriceRaw: string;
|
|
3730
|
+
baseSymbol: string;
|
|
3731
|
+
quoteSymbol: string;
|
|
3732
|
+
pairLabel: string;
|
|
3733
|
+
};
|
|
3734
|
+
blockId: number;
|
|
3735
|
+
image: string;
|
|
3736
|
+
};
|
|
3737
|
+
NEST: {
|
|
3738
|
+
name: string;
|
|
3739
|
+
dynamicName: string;
|
|
3740
|
+
description: string;
|
|
3741
|
+
prototype: string;
|
|
3742
|
+
type: number;
|
|
3743
|
+
method: string;
|
|
3744
|
+
parameters: Parameter[];
|
|
3745
|
+
examples: never[];
|
|
3746
|
+
output: {
|
|
3747
|
+
isInRange: string;
|
|
3748
|
+
comparisonValue: string;
|
|
3749
|
+
token0Address: string;
|
|
3750
|
+
token1Address: string;
|
|
3751
|
+
token0Symbol: string;
|
|
3752
|
+
token1Symbol: string;
|
|
3753
|
+
token0Decimals: string;
|
|
3754
|
+
token1Decimals: string;
|
|
3755
|
+
fee: string;
|
|
3756
|
+
poolAddress: string;
|
|
3757
|
+
tickLower: string;
|
|
3758
|
+
tickUpper: string;
|
|
3759
|
+
currentTick: string;
|
|
3760
|
+
priceLower: string;
|
|
3761
|
+
priceUpper: string;
|
|
3762
|
+
currentPrice: string;
|
|
3763
|
+
priceLowerRaw: string;
|
|
3764
|
+
priceUpperRaw: string;
|
|
3765
|
+
currentPriceRaw: string;
|
|
3766
|
+
baseSymbol: string;
|
|
3767
|
+
quoteSymbol: string;
|
|
3768
|
+
pairLabel: string;
|
|
3769
|
+
};
|
|
3770
|
+
blockId: number;
|
|
3771
|
+
image: string;
|
|
3772
|
+
};
|
|
3773
|
+
ULTRASOLID: {
|
|
3774
|
+
name: string;
|
|
3775
|
+
dynamicName: string;
|
|
3776
|
+
description: string;
|
|
3777
|
+
prototype: string;
|
|
3778
|
+
type: number;
|
|
3779
|
+
method: string;
|
|
3780
|
+
parameters: Parameter[];
|
|
3781
|
+
examples: never[];
|
|
3782
|
+
output: {
|
|
3783
|
+
isInRange: string;
|
|
3784
|
+
comparisonValue: string;
|
|
3785
|
+
token0Address: string;
|
|
3786
|
+
token1Address: string;
|
|
3787
|
+
token0Symbol: string;
|
|
3788
|
+
token1Symbol: string;
|
|
3789
|
+
token0Decimals: string;
|
|
3790
|
+
token1Decimals: string;
|
|
3791
|
+
fee: string;
|
|
3792
|
+
poolAddress: string;
|
|
3793
|
+
tickLower: string;
|
|
3794
|
+
tickUpper: string;
|
|
3795
|
+
currentTick: string;
|
|
3796
|
+
priceLower: string;
|
|
3797
|
+
priceUpper: string;
|
|
3798
|
+
currentPrice: string;
|
|
3799
|
+
priceLowerRaw: string;
|
|
3800
|
+
priceUpperRaw: string;
|
|
3801
|
+
currentPriceRaw: string;
|
|
3802
|
+
baseSymbol: string;
|
|
3803
|
+
quoteSymbol: string;
|
|
3804
|
+
pairLabel: string;
|
|
3805
|
+
};
|
|
3806
|
+
blockId: number;
|
|
3807
|
+
image: string;
|
|
3808
|
+
};
|
|
3809
|
+
};
|
|
3517
3810
|
};
|
|
3518
3811
|
SOCIALS: {
|
|
3519
3812
|
FEAR_AND_GREED: {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "2.0.
|
|
1
|
+
export declare const SDK_VERSION = "2.0.469";
|
|
2
2
|
export declare function compareVersions(v1: string, v2: string): number;
|