API Reference

Close Position

You can use the closePosition() function to close a position, claiming the entire liquidity amount, the fees and the rewards in the process.

Example

import { OnChainCalls, QueryChain } from "@firefly-exchange/library-sui/dist/src/spot"
import { Ed25519Keypair, SuiClient } from "@firefly-exchange/library-sui";
import { mainnet } from './config'

const client = new SuiClient({ url: "https://fullnode.mainnet.sui.io:443" });

/// Parameters:
/// - privateKey        : The private key of the user making the blockchain call
/// - posID             : The position ID of the position that is being closed

async function closePosition(privateKey: string, posID: string){
    const keyPair = Ed25519Keypair.fromSecretKey(Buffer.from(privateKey, 'hex'));

    let oc = new OnChainCalls(client,mainnet, {signer: keyPair});
    let qc = new QueryChain(client);

    let pos = await qc.getPositionDetails(posID);
    let pool = await qc.getPool(pos.pool_id);
    let resp = await oc.closePosition(pool,posID);
    return resp
}

await closePosition("<private key>","0xdfb915d248674db372adfc3caba299bf0ce2ed216a6475498eabbd28c92b6c84")

Response

{
   "digest":"3HQ5yQDzTUaNe9a1ftQ3PScvURtpUDgfoFKpNyasdPNM",
   "transaction":{
      "data":{
         "messageVersion":"v1",
         "transaction":{
            "kind":"ProgrammableTransaction",
            "inputs":[
               {
                  "type":"object",
                  "objectType":"sharedObject",
                  "objectId":"0x0000000000000000000000000000000000000000000000000000000000000006",
                  "initialSharedVersion":"1",
                  "mutable":false
               },
               {
                  "type":"object",
                  "objectType":"sharedObject",
                  "objectId":"0x03db251ba509a8d5d8777b6338836082335d93eecbdd09a11e190a1cff51c352",
                  "initialSharedVersion":"406496849",
                  "mutable":false
               },
               {
                  "type":"object",
                  "objectType":"sharedObject",
                  "objectId":"0x3b585786b13af1d8ea067ab37101b6513a05d2f90cfe60e8b1d9e1b46a63c4fa",
                  "initialSharedVersion":"406731547",
                  "mutable":true
               },
               {
                  "type":"object",
                  "objectType":"immOrOwnedObject",
                  "objectId":"0x17d3d6ff7e9790aaf05ceb7c6300e162b1d8291750158b63c6dd5625cebd4295",
                  "version":"410525736",
                  "digest":"EWSPn6vybqMjsery7CjJQ1SxmZRYYLYALLbeysFYhbJR"
               },
               {
                  "type":"pure",
                  "valueType":"address",
                  "value":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269"
               }
            ],
            "transactions":[
               {
                  "MoveCall":{
                     "package":"0xb104ecc75397f3a65735ef26c85a037da1d197e26f4f275a9990a577ba0e6c4c",
                     "module":"gateway",
                     "function":"collect_reward",
                     "type_arguments":[
                        "0x2::sui::SUI",
                        "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC",
                        "0xdd5c4badc89f08fb2ff3c1827411c9bafbed54c64c17d8ab969f637364ca8b4f::blue::BLUE"
                     ],
                     "arguments":[
                        {
                           "Input":0
                        },
                        {
                           "Input":1
                        },
                        {
                           "Input":2
                        },
                        {
                           "Input":3
                        }
                     ]
                  }
               },
               {
                  "MoveCall":{
                     "package":"0xb104ecc75397f3a65735ef26c85a037da1d197e26f4f275a9990a577ba0e6c4c",
                     "module":"gateway",
                     "function":"collect_reward",
                     "type_arguments":[
                        "0x2::sui::SUI",
                        "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC",
                        "0x2::sui::SUI"
                     ],
                     "arguments":[
                        {
                           "Input":0
                        },
                        {
                           "Input":1
                        },
                        {
                           "Input":2
                        },
                        {
                           "Input":3
                        }
                     ]
                  }
               },
               {
                  "MoveCall":{
                     "package":"0xb104ecc75397f3a65735ef26c85a037da1d197e26f4f275a9990a577ba0e6c4c",
                     "module":"gateway",
                     "function":"close_position",
                     "type_arguments":[
                        "0x2::sui::SUI",
                        "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"
                     ],
                     "arguments":[
                        {
                           "Input":0
                        },
                        {
                           "Input":1
                        },
                        {
                           "Input":2
                        },
                        {
                           "Input":3
                        },
                        {
                           "Input":4
                        }
                     ]
                  }
               }
            ]
         },
         "sender":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269",
         "gasData":{
            "payment":[
               {
                  "objectId":"0x10611c2158f9d0456e6eb47b8b4168fd0fcab2102a1338cededb8cfbfc764367",
                  "version":410525736,
                  "digest":"F9NNmxoKibfLYR7A2X1PZWpw3F2DYU7uihh2hHibmimU"
               },
               {
                  "objectId":"0xf6eda6945797c16b6e0b2c7ae8a3f0a64bea78244ba689a2d05f61188e216791",
                  "version":410525736,
                  "digest":"3qENKWQZcYSkxretwmWyfDb77Pbbgw9Y3HscH2qApzNA"
               },
               {
                  "objectId":"0xafaf87297be6d5ea0ebcf1a1d60471a6cecc977f5236a1be62980244edbcc8d8",
                  "version":410525736,
                  "digest":"EmCWYxKYgJNxmzrrKvVWLodcUvEA8yK88nhrLZDKMhrv"
               }
            ],
            "owner":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269",
            "price":"750",
            "budget":"1500000"
         }
      },
      "txSignatures":[
         "ABkj7/V9VirYJ5x6bt9iRjTK0OekH0fuzGJElbYV0I3KSku6HstCBli53XTGRy605oSxnU12XJfMkGaZLq2esApwIesVczXTTL/3Q5yIJFnOVC24GMSqzrdNJIY1vK3z9w=="
      ]
   },
   "effects":{
      "messageVersion":"v1",
      "status":{
         "status":"success"
      },
      "executedEpoch":"569",
      "gasUsed":{
         "computationCost":"750000",
         "storageCost":"18414800",
         "storageRebate":"26416764",
         "nonRefundableStorageFee":"266836"
      },
      "modifiedAtVersions":[
         {
            "objectId":"0x10611c2158f9d0456e6eb47b8b4168fd0fcab2102a1338cededb8cfbfc764367",
            "sequenceNumber":"410525736"
         },
         {
            "objectId":"0x17d3d6ff7e9790aaf05ceb7c6300e162b1d8291750158b63c6dd5625cebd4295",
            "sequenceNumber":"410525736"
         },
         {
            "objectId":"0x3b585786b13af1d8ea067ab37101b6513a05d2f90cfe60e8b1d9e1b46a63c4fa",
            "sequenceNumber":"410525737"
         },
         {
            "objectId":"0x5c51a96b9a08d7d881f3273cdd84f3fc92295c905d76ad0ffd3c8886d1a8aeec",
            "sequenceNumber":"410525736"
         },
         {
            "objectId":"0x8df65b94ec318c1627f47327d6f60de6949b2e479ec6e03acc90fa911cdaa4f6",
            "sequenceNumber":"410525736"
         },
         {
            "objectId":"0xafaf87297be6d5ea0ebcf1a1d60471a6cecc977f5236a1be62980244edbcc8d8",
            "sequenceNumber":"410525736"
         },
         {
            "objectId":"0xb59155bc6b699a8856772264fb9d309dea9a03b7e10d1208bb0c62174b53576d",
            "sequenceNumber":"410525737"
         },
         {
            "objectId":"0xdd99957c4b324ac03fbd7886c000eeacfead8ce35cac31731ac393c268a923f5",
            "sequenceNumber":"410525731"
         },
         {
            "objectId":"0xf6eda6945797c16b6e0b2c7ae8a3f0a64bea78244ba689a2d05f61188e216791",
            "sequenceNumber":"410525736"
         }
      ],
      "sharedObjects":[
         {
            "objectId":"0x3b585786b13af1d8ea067ab37101b6513a05d2f90cfe60e8b1d9e1b46a63c4fa",
            "version":410525737,
            "digest":"C5sCAKvVQJMZ4pn4d2BtBebFt5uLTNpfcP9HnaXuisXs"
         },
         {
            "objectId":"0x0000000000000000000000000000000000000000000000000000000000000006",
            "version":161622314,
            "digest":"DrCEvAueTA1mYKpMX4ZSpedCUvEqWidiBTUiF2kGC8Ce"
         },
         {
            "objectId":"0x03db251ba509a8d5d8777b6338836082335d93eecbdd09a11e190a1cff51c352",
            "version":409452196,
            "digest":"cHY3mzy38rXW9RSBJZFvBuGA95wpNTjZet4NR136suv"
         }
      ],
      "transactionDigest":"3HQ5yQDzTUaNe9a1ftQ3PScvURtpUDgfoFKpNyasdPNM",
      "created":[
         {
            "owner":{
               "AddressOwner":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269"
            },
            "reference":{
               "objectId":"0x07651fe2910eac9384bdfda42674bab09d49b088abc079b9e12f1a3e82c2a442",
               "version":410525738,
               "digest":"7iwLHBu8Yb9LGBBfXx8Q8o4NQ3n9udMkoTCoupmAmA6Q"
            }
         },
         {
            "owner":{
               "AddressOwner":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269"
            },
            "reference":{
               "objectId":"0x5f2d76fbcbc2e7992f29d71558fd732d08bc7ffcb5361ffc036f0723ad81a698",
               "version":410525738,
               "digest":"HpkSKWfpAiaV8uBHpR2epWjn2Lx234myQSB6kwb248sK"
            }
         }
      ],
      "mutated":[
         {
            "owner":{
               "AddressOwner":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269"
            },
            "reference":{
               "objectId":"0x10611c2158f9d0456e6eb47b8b4168fd0fcab2102a1338cededb8cfbfc764367",
               "version":410525738,
               "digest":"FFVu3ZA8nPBWr5UrM79BxfDo22bTSMrM93sg9EzsDxE6"
            }
         },
         {
            "owner":{
               "Shared":{
                  "initial_shared_version":406731547
               }
            },
            "reference":{
               "objectId":"0x3b585786b13af1d8ea067ab37101b6513a05d2f90cfe60e8b1d9e1b46a63c4fa",
               "version":410525738,
               "digest":"AZqPxot5Qyer1yvTbkQYXLohNu93WCsnGPs2dewDjouZ"
            }
         },
         {
            "owner":{
               "ObjectOwner":"0x693c650ba84b5ad1234ebe85a557555576cc7a164bb1df7a1c3a9192ed2cb528"
            },
            "reference":{
               "objectId":"0x5c51a96b9a08d7d881f3273cdd84f3fc92295c905d76ad0ffd3c8886d1a8aeec",
               "version":410525738,
               "digest":"94Z7FVot1mhqyBjAL3ypwNnnzz1YZ6nMjgSyhncquGNw"
            }
         },
         {
            "owner":{
               "ObjectOwner":"0x3b585786b13af1d8ea067ab37101b6513a05d2f90cfe60e8b1d9e1b46a63c4fa"
            },
            "reference":{
               "objectId":"0xb59155bc6b699a8856772264fb9d309dea9a03b7e10d1208bb0c62174b53576d",
               "version":410525738,
               "digest":"4FJvzGok1tAo2935PoRJqSfHWvJBcSL8gyc6T6ZEZitd"
            }
         },
         {
            "owner":{
               "ObjectOwner":"0x32704049294b30b159a9fcb817bb94c5e566b2e6bc7d9b4fd2bb1d21464c1bc4"
            },
            "reference":{
               "objectId":"0xdd99957c4b324ac03fbd7886c000eeacfead8ce35cac31731ac393c268a923f5",
               "version":410525738,
               "digest":"CpgsuuuSZKNt5WT8Zc9Xx95HMa4GYqBXQg7bKAy1yius"
            }
         }
      ],
      "deleted":[
         {
            "objectId":"0x17d3d6ff7e9790aaf05ceb7c6300e162b1d8291750158b63c6dd5625cebd4295",
            "version":410525738,
            "digest":"7gyGAp71YXQRoxmFBaHxofQXAipvgHyBKPyxmdSJxyvz"
         },
         {
            "objectId":"0x8df65b94ec318c1627f47327d6f60de6949b2e479ec6e03acc90fa911cdaa4f6",
            "version":410525738,
            "digest":"7gyGAp71YXQRoxmFBaHxofQXAipvgHyBKPyxmdSJxyvz"
         },
         {
            "objectId":"0xafaf87297be6d5ea0ebcf1a1d60471a6cecc977f5236a1be62980244edbcc8d8",
            "version":410525738,
            "digest":"7gyGAp71YXQRoxmFBaHxofQXAipvgHyBKPyxmdSJxyvz"
         },
         {
            "objectId":"0xf6eda6945797c16b6e0b2c7ae8a3f0a64bea78244ba689a2d05f61188e216791",
            "version":410525738,
            "digest":"7gyGAp71YXQRoxmFBaHxofQXAipvgHyBKPyxmdSJxyvz"
         }
      ],
      "gasObject":{
         "owner":{
            "AddressOwner":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269"
         },
         "reference":{
            "objectId":"0x10611c2158f9d0456e6eb47b8b4168fd0fcab2102a1338cededb8cfbfc764367",
            "version":410525738,
            "digest":"FFVu3ZA8nPBWr5UrM79BxfDo22bTSMrM93sg9EzsDxE6"
         }
      },
      "eventsDigest":"2SpuPFXQ1vQ3Umkkt6vQ2xHxNWWovYjowgyajB5qJdrN",
      "dependencies":[
         "49puDQZwHRnu7zYoARCjco1dFKMiK7LVSS8B5Si1yVdh",
         "63RdR7WWGrKJQAqfmno18NeuVeXXPUHnj9eUDDSURRGf",
         "6iSTKc9MqGg17UnmdJfSJvbMuzcyS24emjMng1c4QduW",
         "7DkJSrf5sPWGxqHbH2X1wXwFcftRm6myhJJnuTJbaMYr",
         "7mopy3fCPkGnBxgg1y7zVRZAZv3oUJzXyVxGJVRLBq7t",
         "AmzQxrfr4bPmzCeoLg8AizrKtE8hefLNqmLwzec9zdyv",
         "CUQmrEssKtB8WxBYj3YQZJCrFTTDLqz3UWq1nRiWGCLS",
         "HzzEA9X29bCpPE7AJqoxN8zUgefPHztVJu1c73ScgxGa"
      ]
   },
   "events":[
      {
         "id":{
            "txDigest":"3HQ5yQDzTUaNe9a1ftQ3PScvURtpUDgfoFKpNyasdPNM",
            "eventSeq":"0"
         },
         "packageId":"0xb104ecc75397f3a65735ef26c85a037da1d197e26f4f275a9990a577ba0e6c4c",
         "transactionModule":"gateway",
         "sender":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269",
         "type":"0x3492c874c1e3b3e2984e8c41b589e642d4d0a5d6459e5a9cfc2d52fd7c89c267::events::UserRewardCollected",
         "parsedJson":{
            "pool_id":"0x3b585786b13af1d8ea067ab37101b6513a05d2f90cfe60e8b1d9e1b46a63c4fa",
            "position_id":"0x17d3d6ff7e9790aaf05ceb7c6300e162b1d8291750158b63c6dd5625cebd4295",
            "reward_amount":"0",
            "reward_decimals":9,
            "reward_symbol":"BLUE",
            "reward_type":"dd5c4badc89f08fb2ff3c1827411c9bafbed54c64c17d8ab969f637364ca8b4f::blue::BLUE",
            "sequence_number":"3925"
         },
         "bcs":"2yXCxUehEowt9saNgSMaJDa4KrUUfmmvKkM9jWbzVbYYP5vuFQ5Hmb3ACXaRKVvwwQAAvHmorr9pDVZZgrhWmizt3F9Gkt1TpnhEV8bbbHa8XKSCEfTDm4fc8pnwxe8kwsRYzxbLK5KpUsPLjN4BPUn13qZMVtXvKPZbtXh3jYdqSE1tdurDWWL9C9EXnSoyHdLSVjKMQCX1HUaiTr2taWhFjR3vgJY2cMcxHQLCDM"
      },
      {
         "id":{
            "txDigest":"3HQ5yQDzTUaNe9a1ftQ3PScvURtpUDgfoFKpNyasdPNM",
            "eventSeq":"1"
         },
         "packageId":"0xb104ecc75397f3a65735ef26c85a037da1d197e26f4f275a9990a577ba0e6c4c",
         "transactionModule":"gateway",
         "sender":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269",
         "type":"0x3492c874c1e3b3e2984e8c41b589e642d4d0a5d6459e5a9cfc2d52fd7c89c267::events::UserRewardCollected",
         "parsedJson":{
            "pool_id":"0x3b585786b13af1d8ea067ab37101b6513a05d2f90cfe60e8b1d9e1b46a63c4fa",
            "position_id":"0x17d3d6ff7e9790aaf05ceb7c6300e162b1d8291750158b63c6dd5625cebd4295",
            "reward_amount":"0",
            "reward_decimals":9,
            "reward_symbol":"SUI",
            "reward_type":"0000000000000000000000000000000000000000000000000000000000000002::sui::SUI",
            "sequence_number":"3927"
         },
         "bcs":"2LFGoetGuXCknAbPHt1kSk1V3x3f7Z1MPubsXmdKLu8qk22WnHGPDDh2U4wJRbH1s2XR8H2BkxfQBBrscDuzJy8WKYRUMp6TCnRkbxzwybiJ1ELaMkav2nL31KSBSczE7dbSGQXFstKmpmR62QUNG9CRVpbNepvKbbjR5k5NokxRa8WCNZEEqijThfgP9adYKz9wvGCXwbfJHhbiggKp1T6kuuJW2x5jWrYRh9"
      },
      {
         "id":{
            "txDigest":"3HQ5yQDzTUaNe9a1ftQ3PScvURtpUDgfoFKpNyasdPNM",
            "eventSeq":"2"
         },
         "packageId":"0xb104ecc75397f3a65735ef26c85a037da1d197e26f4f275a9990a577ba0e6c4c",
         "transactionModule":"gateway",
         "sender":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269",
         "type":"0xbc70b10012a01c00fda8957dbaa1f2b83683414f55e22341792b081fdffa9baa::events::TickUpdate",
         "parsedJson":{
            "index":{
               "bits":4294903896
            },
            "liquidity_gross":"0",
            "liquidity_net":{
               "bits":"0"
            }
         },
         "bcs":"fmjv4Aaz45A7z8rbxtpTsskUVQH1Ufs63Rn9x236GC1PX8g2K"
      },
      {
         "id":{
            "txDigest":"3HQ5yQDzTUaNe9a1ftQ3PScvURtpUDgfoFKpNyasdPNM",
            "eventSeq":"3"
         },
         "packageId":"0xb104ecc75397f3a65735ef26c85a037da1d197e26f4f275a9990a577ba0e6c4c",
         "transactionModule":"gateway",
         "sender":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269",
         "type":"0xbc70b10012a01c00fda8957dbaa1f2b83683414f55e22341792b081fdffa9baa::events::TickUpdate",
         "parsedJson":{
            "index":{
               "bits":4294905776
            },
            "liquidity_gross":"367475010302",
            "liquidity_net":{
               "bits":"340282366920938463463374607064293201154"
            }
         },
         "bcs":"2LYHFoQZJmSb5f3hJMpARdKuW1dx2zug53iFAhBNR5b4H27eTg"
      },
      {
         "id":{
            "txDigest":"3HQ5yQDzTUaNe9a1ftQ3PScvURtpUDgfoFKpNyasdPNM",
            "eventSeq":"4"
         },
         "packageId":"0xb104ecc75397f3a65735ef26c85a037da1d197e26f4f275a9990a577ba0e6c4c",
         "transactionModule":"gateway",
         "sender":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269",
         "type":"0x3492c874c1e3b3e2984e8c41b589e642d4d0a5d6459e5a9cfc2d52fd7c89c267::events::LiquidityRemoved",
         "parsedJson":{
            "after_liquidity":"4777733128303",
            "before_liquidity":"4777733136303",
            "coin_a_amount":"9690",
            "coin_b_amount":"13",
            "current_sqrt_price":"806255037806392276",
            "current_tick_index":{
               "bits":4294904688
            },
            "liquidity":"8000",
            "lower_tick":{
               "bits":4294903896
            },
            "pool_coin_a_amount":"2919140107717",
            "pool_coin_b_amount":"1599227454",
            "pool_id":"0x3b585786b13af1d8ea067ab37101b6513a05d2f90cfe60e8b1d9e1b46a63c4fa",
            "position_id":"0x17d3d6ff7e9790aaf05ceb7c6300e162b1d8291750158b63c6dd5625cebd4295",
            "sequence_number":"3928",
            "upper_tick":{
               "bits":4294905776
            }
         },
         "bcs":"5kVwQ3ddA3xJAixXZ7BzsmaT4o9mYh4JoTZvAP3bEBG8fJ4BF5PaAAYCRsDJ9LdpPQbuJtttqDwvm9Zfv6gZgeE8JkCbrajG7wpF4pMcB852gc6Hhkj6sM9cdZGMGuWf23qSDnQLZt1BjybCF33MrhyEhhBsY7LK1WJSDWCa1himgB2XevTuH5Jp6q9drbKynRQVQGEwd7FPAw7mUYjk4WQyrwVF3NaZy75w1JS3dcyxSTRktPx2nr4stdvGL1pjH"
      },
      {
         "id":{
            "txDigest":"3HQ5yQDzTUaNe9a1ftQ3PScvURtpUDgfoFKpNyasdPNM",
            "eventSeq":"5"
         },
         "packageId":"0xb104ecc75397f3a65735ef26c85a037da1d197e26f4f275a9990a577ba0e6c4c",
         "transactionModule":"gateway",
         "sender":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269",
         "type":"0x3492c874c1e3b3e2984e8c41b589e642d4d0a5d6459e5a9cfc2d52fd7c89c267::events::PositionClosed",
         "parsedJson":{
            "pool_id":"0x3b585786b13af1d8ea067ab37101b6513a05d2f90cfe60e8b1d9e1b46a63c4fa",
            "position_id":"0x17d3d6ff7e9790aaf05ceb7c6300e162b1d8291750158b63c6dd5625cebd4295",
            "tick_lower":{
               "bits":4294903896
            },
            "tick_upper":{
               "bits":4294905776
            }
         },
         "bcs":"sohCoDyvLf4CQipTnodRTEH58h9JKxAg9YRJF2pWjgcSHj5iSsMuKUpxytomxSmqgasD2hXhHGifLyLroLU54cqrLG8YAkZX1x"
      }
   ],
   "objectChanges":[
      {
         "type":"mutated",
         "sender":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269",
         "owner":{
            "AddressOwner":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269"
         },
         "objectType":"0x2::coin::Coin<0x2::sui::SUI>",
         "objectId":"0x10611c2158f9d0456e6eb47b8b4168fd0fcab2102a1338cededb8cfbfc764367",
         "version":"410525738",
         "previousVersion":"410525736",
         "digest":"FFVu3ZA8nPBWr5UrM79BxfDo22bTSMrM93sg9EzsDxE6"
      },
      {
         "type":"mutated",
         "sender":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269",
         "owner":{
            "Shared":{
               "initial_shared_version":406731547
            }
         },
         "objectType":"0x3492c874c1e3b3e2984e8c41b589e642d4d0a5d6459e5a9cfc2d52fd7c89c267::pool::Pool<0x2::sui::SUI, 0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC>",
         "objectId":"0x3b585786b13af1d8ea067ab37101b6513a05d2f90cfe60e8b1d9e1b46a63c4fa",
         "version":"410525738",
         "previousVersion":"410525737",
         "digest":"AZqPxot5Qyer1yvTbkQYXLohNu93WCsnGPs2dewDjouZ"
      },
      {
         "type":"mutated",
         "sender":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269",
         "owner":{
            "ObjectOwner":"0x693c650ba84b5ad1234ebe85a557555576cc7a164bb1df7a1c3a9192ed2cb528"
         },
         "objectType":"0x2::dynamic_field::Field<0x714a63a0dba6da4f017b42d5d0fb78867f18bcde904868e51d951a5a6f5b7f57::i32::I32, 0x3492c874c1e3b3e2984e8c41b589e642d4d0a5d6459e5a9cfc2d52fd7c89c267::tick::TickInfo>",
         "objectId":"0x5c51a96b9a08d7d881f3273cdd84f3fc92295c905d76ad0ffd3c8886d1a8aeec",
         "version":"410525738",
         "previousVersion":"410525736",
         "digest":"94Z7FVot1mhqyBjAL3ypwNnnzz1YZ6nMjgSyhncquGNw"
      },
      {
         "type":"mutated",
         "sender":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269",
         "owner":{
            "ObjectOwner":"0x3b585786b13af1d8ea067ab37101b6513a05d2f90cfe60e8b1d9e1b46a63c4fa"
         },
         "objectType":"0x2::dynamic_field::Field<0x1::string::String, 0x2::balance::Balance<0x2::sui::SUI>>",
         "objectId":"0xb59155bc6b699a8856772264fb9d309dea9a03b7e10d1208bb0c62174b53576d",
         "version":"410525738",
         "previousVersion":"410525737",
         "digest":"4FJvzGok1tAo2935PoRJqSfHWvJBcSL8gyc6T6ZEZitd"
      },
      {
         "type":"mutated",
         "sender":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269",
         "owner":{
            "ObjectOwner":"0x32704049294b30b159a9fcb817bb94c5e566b2e6bc7d9b4fd2bb1d21464c1bc4"
         },
         "objectType":"0x2::dynamic_field::Field<0x714a63a0dba6da4f017b42d5d0fb78867f18bcde904868e51d951a5a6f5b7f57::i32::I32, u256>",
         "objectId":"0xdd99957c4b324ac03fbd7886c000eeacfead8ce35cac31731ac393c268a923f5",
         "version":"410525738",
         "previousVersion":"410525731",
         "digest":"CpgsuuuSZKNt5WT8Zc9Xx95HMa4GYqBXQg7bKAy1yius"
      },
      {
         "type":"created",
         "sender":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269",
         "owner":{
            "AddressOwner":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269"
         },
         "objectType":"0x2::coin::Coin<0x2::sui::SUI>",
         "objectId":"0x07651fe2910eac9384bdfda42674bab09d49b088abc079b9e12f1a3e82c2a442",
         "version":"410525738",
         "digest":"7iwLHBu8Yb9LGBBfXx8Q8o4NQ3n9udMkoTCoupmAmA6Q"
      },
      {
         "type":"created",
         "sender":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269",
         "owner":{
            "AddressOwner":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269"
         },
         "objectType":"0x2::coin::Coin<0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC>",
         "objectId":"0x5f2d76fbcbc2e7992f29d71558fd732d08bc7ffcb5361ffc036f0723ad81a698",
         "version":"410525738",
         "digest":"HpkSKWfpAiaV8uBHpR2epWjn2Lx234myQSB6kwb248sK"
      },
      {
         "type":"deleted",
         "sender":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269",
         "objectType":"0x3492c874c1e3b3e2984e8c41b589e642d4d0a5d6459e5a9cfc2d52fd7c89c267::position::Position",
         "objectId":"0x17d3d6ff7e9790aaf05ceb7c6300e162b1d8291750158b63c6dd5625cebd4295",
         "version":"410525738"
      },
      {
         "type":"deleted",
         "sender":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269",
         "objectType":"0x2::dynamic_field::Field<0x714a63a0dba6da4f017b42d5d0fb78867f18bcde904868e51d951a5a6f5b7f57::i32::I32, 0x3492c874c1e3b3e2984e8c41b589e642d4d0a5d6459e5a9cfc2d52fd7c89c267::tick::TickInfo>",
         "objectId":"0x8df65b94ec318c1627f47327d6f60de6949b2e479ec6e03acc90fa911cdaa4f6",
         "version":"410525738"
      },
      {
         "type":"deleted",
         "sender":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269",
         "objectType":"0x2::coin::Coin<0x2::sui::SUI>",
         "objectId":"0xafaf87297be6d5ea0ebcf1a1d60471a6cecc977f5236a1be62980244edbcc8d8",
         "version":"410525738"
      },
      {
         "type":"deleted",
         "sender":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269",
         "objectType":"0x2::coin::Coin<0x2::sui::SUI>",
         "objectId":"0xf6eda6945797c16b6e0b2c7ae8a3f0a64bea78244ba689a2d05f61188e216791",
         "version":"410525738"
      }
   ],
   "confirmedLocalExecution":false
}