API Reference

Remove Liquidity

You can use the removeLiquidity() function to remove liquidity from an existing postion.

Example

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

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 whose liquidity is being removed
/// - coinAmount		    : The amount of CoinA willing to provide 
///                       This should be a decimal such as 1.7 as the decimal places are handled internally
/// - slippage			    : The difference between the expected price of a trade and the actual price at which it is executed.
///						            This should be a number between 0 and 1, eg: 0.2

async function removeLiquidity(privateKey: string, posID: string, coinAmount : number, slippage: number){
    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 coinAmountBN = new BN(toBigNumberStr(coinAmount, pool.coin_a.decimals));
    const curSqrtPrice = new BN(pool.current_sqrt_price);
    let fix_amount_a = true;
    let roundUp = false;

    const liquidityInput = ClmmPoolUtil.estLiquidityAndCoinAmountFromOneAmounts(
        pos.lower_tick,
        pos.upper_tick,
        coinAmountBN,
        fix_amount_a,
        roundUp,
        slippage,
        curSqrtPrice
    );

    let resp = await oc.removeLiquidity(pool,posID,liquidityInput);
    return resp
}

await removeLiquidity("<private key>","0xdfb915d248674db372adfc3caba299bf0ce2ed216a6475498eabbd28c92b6c84", 1, 0.5)

Response

{
   "digest":"3Zphsgy6XW9SzmD3rKK4fPpwCX2QMMEsSFWXqdrnC8xU",
   "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":"0x75857c5d605a7f6c09a84052f04915495906464e8947a9e3a83df7575afd405e",
                  "version":"409729492",
                  "digest":"2vchmeNdpYzqYhgorDMBz5QNhnrAZmcFssiDYhoJwtJT"
               },
               {
                  "type":"pure",
                  "valueType":"u128",
                  "value":"541731448"
               },
               {
                  "type":"pure",
                  "valueType":"u64",
                  "value":"239999999"
               },
               {
                  "type":"pure",
                  "valueType":"u64",
                  "value":"550534"
               },
               {
                  "type":"pure",
                  "valueType":"address",
                  "value":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269"
               }
            ],
            "transactions":[
               {
                  "MoveCall":{
                     "package":"0xb104ecc75397f3a65735ef26c85a037da1d197e26f4f275a9990a577ba0e6c4c",
                     "module":"gateway",
                     "function":"remove_liquidity",
                     "type_arguments":[
                        "0x2::sui::SUI",
                        "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"
                     ],
                     "arguments":[
                        {
                           "Input":0
                        },
                        {
                           "Input":1
                        },
                        {
                           "Input":2
                        },
                        {
                           "Input":3
                        },
                        {
                           "Input":4
                        },
                        {
                           "Input":5
                        },
                        {
                           "Input":6
                        },
                        {
                           "Input":7
                        }
                     ]
                  }
               },
               {
                  "MoveCall":{
                     "package":"0xb104ecc75397f3a65735ef26c85a037da1d197e26f4f275a9990a577ba0e6c4c",
                     "module":"gateway",
                     "function":"collect_fee",
                     "type_arguments":[
                        "0x2::sui::SUI",
                        "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC"
                     ],
                     "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",
                        "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
                        }
                     ]
                  }
               }
            ]
         },
         "sender":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269",
         "gasData":{
            "payment":[
               {
                  "objectId":"0x10611c2158f9d0456e6eb47b8b4168fd0fcab2102a1338cededb8cfbfc764367",
                  "version":409729492,
                  "digest":"2NWSHwSkTdzieseinDn6CfHNiYhe7G6QhZ6yUtEtMAaC"
               },
               {
                  "objectId":"0xf8049f908663106d14a7cdafa138f9d6201a242bd5705230e44249f785be4f37",
                  "version":409729492,
                  "digest":"EkhTrd6U9gffq6bEBjAPKn999zCZnjG4EWGdWmZArmKT"
               }
            ],
            "owner":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269",
            "price":"750",
            "budget":"6004292"
         }
      },
      "txSignatures":[
         "AE2Z7KCS9AC7vU97lCsBJ9Ho/vIOwGLkPDskTi6BVw/B2I3IYv1wGUjndAs00Z/MsSVyNjHtickB+C0j9eHAFQtwIesVczXTTL/3Q5yIJFnOVC24GMSqzrdNJIY1vK3z9w=="
      ]
   },
   "effects":{
      "messageVersion":"v1",
      "status":{
         "status":"success"
      },
      "executedEpoch":"566",
      "gasUsed":{
         "computationCost":"750000",
         "storageCost":"26075600",
         "storageRebate":"23527548",
         "nonRefundableStorageFee":"237652"
      },
      "modifiedAtVersions":[
         {
            "objectId":"0x10611c2158f9d0456e6eb47b8b4168fd0fcab2102a1338cededb8cfbfc764367",
            "sequenceNumber":"409729492"
         },
         {
            "objectId":"0x3b585786b13af1d8ea067ab37101b6513a05d2f90cfe60e8b1d9e1b46a63c4fa",
            "sequenceNumber":"409729492"
         },
         {
            "objectId":"0x414e64df93e359ac4c6a8c0b1dbaf3f5d097cc5b761027f471bb9390f66a2490",
            "sequenceNumber":"409729492"
         },
         {
            "objectId":"0x75857c5d605a7f6c09a84052f04915495906464e8947a9e3a83df7575afd405e",
            "sequenceNumber":"409729492"
         },
         {
            "objectId":"0xb59155bc6b699a8856772264fb9d309dea9a03b7e10d1208bb0c62174b53576d",
            "sequenceNumber":"409698087"
         },
         {
            "objectId":"0xb9959c4b05873cce0b7ff3579715e815e73edc558729326206daa0358bd693ec",
            "sequenceNumber":"409729492"
         },
         {
            "objectId":"0xf8049f908663106d14a7cdafa138f9d6201a242bd5705230e44249f785be4f37",
            "sequenceNumber":"409729492"
         }
      ],
      "sharedObjects":[
         {
            "objectId":"0x3b585786b13af1d8ea067ab37101b6513a05d2f90cfe60e8b1d9e1b46a63c4fa",
            "version":409729492,
            "digest":"hu81kfKLQs7b8nrmxCjcfbBAC2Lp4Kcz35KBesBbWHw"
         },
         {
            "objectId":"0x0000000000000000000000000000000000000000000000000000000000000006",
            "version":158551684,
            "digest":"Gg1Mgs19opm4Ja4LgCuhjZZYn1DuEehf6Lx9YYom1WEk"
         },
         {
            "objectId":"0x03db251ba509a8d5d8777b6338836082335d93eecbdd09a11e190a1cff51c352",
            "version":409452196,
            "digest":"cHY3mzy38rXW9RSBJZFvBuGA95wpNTjZet4NR136suv"
         }
      ],
      "transactionDigest":"3Zphsgy6XW9SzmD3rKK4fPpwCX2QMMEsSFWXqdrnC8xU",
      "created":[
         {
            "owner":{
               "AddressOwner":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269"
            },
            "reference":{
               "objectId":"0x7a292ae0fe5b9e3cbcdd0d26ebf1c817d82cf136cda5c648fe1263e44e9083c9",
               "version":409729493,
               "digest":"9m27YDEBCu4WUB1w3Laun7M7P8iQgrYqCD9whSYTgrwf"
            }
         },
         {
            "owner":{
               "AddressOwner":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269"
            },
            "reference":{
               "objectId":"0x9f7b58e35999081521c53de1c721c5329d7e1f7c7e4b1b47f85c67772e8f71c7",
               "version":409729493,
               "digest":"EePsUFh65PDrxS3LfssHSsfCUQ8yF6C4GPw6HSiwVSYw"
            }
         },
         {
            "owner":{
               "AddressOwner":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269"
            },
            "reference":{
               "objectId":"0xf7ab534ee9fe76a5408b43d2a708402e1e25dae337415770f71d86ea37c79097",
               "version":409729493,
               "digest":"3Mrk6L38aJMWAsAnXrTkDdyVsAKiByJarmUwo5Yf3mh4"
            }
         }
      ],
      "mutated":[
         {
            "owner":{
               "AddressOwner":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269"
            },
            "reference":{
               "objectId":"0x10611c2158f9d0456e6eb47b8b4168fd0fcab2102a1338cededb8cfbfc764367",
               "version":409729493,
               "digest":"AWiyhLxiMfyK4Ky9HEkaF5Ssdv665PhVxJUqcw2P8LoV"
            }
         },
         {
            "owner":{
               "Shared":{
                  "initial_shared_version":406731547
               }
            },
            "reference":{
               "objectId":"0x3b585786b13af1d8ea067ab37101b6513a05d2f90cfe60e8b1d9e1b46a63c4fa",
               "version":409729493,
               "digest":"J2LNLm1azXu2KGHq9ZuamSLuAhs3eSzfrE13YcVLZkd1"
            }
         },
         {
            "owner":{
               "ObjectOwner":"0x693c650ba84b5ad1234ebe85a557555576cc7a164bb1df7a1c3a9192ed2cb528"
            },
            "reference":{
               "objectId":"0x414e64df93e359ac4c6a8c0b1dbaf3f5d097cc5b761027f471bb9390f66a2490",
               "version":409729493,
               "digest":"77EkUbBn99XEab1ykrCtMvYAEw8FkMGfHx859D5YSJWX"
            }
         },
         {
            "owner":{
               "AddressOwner":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269"
            },
            "reference":{
               "objectId":"0x75857c5d605a7f6c09a84052f04915495906464e8947a9e3a83df7575afd405e",
               "version":409729493,
               "digest":"GTJmAFfYiWMMpgpGyAeWa5XGbRZgJA5AiPGECiuw4Cy1"
            }
         },
         {
            "owner":{
               "ObjectOwner":"0x3b585786b13af1d8ea067ab37101b6513a05d2f90cfe60e8b1d9e1b46a63c4fa"
            },
            "reference":{
               "objectId":"0xb59155bc6b699a8856772264fb9d309dea9a03b7e10d1208bb0c62174b53576d",
               "version":409729493,
               "digest":"5RyghG557cCiy2fkPdrFw2T9SMk3KH99UUD5NRpkswKN"
            }
         },
         {
            "owner":{
               "ObjectOwner":"0x693c650ba84b5ad1234ebe85a557555576cc7a164bb1df7a1c3a9192ed2cb528"
            },
            "reference":{
               "objectId":"0xb9959c4b05873cce0b7ff3579715e815e73edc558729326206daa0358bd693ec",
               "version":409729493,
               "digest":"9idrsBnS4wmmQeaFmvC2ucZ4G8VtLZMi2nevwXgSAh3C"
            }
         }
      ],
      "deleted":[
         {
            "objectId":"0xf8049f908663106d14a7cdafa138f9d6201a242bd5705230e44249f785be4f37",
            "version":409729493,
            "digest":"7gyGAp71YXQRoxmFBaHxofQXAipvgHyBKPyxmdSJxyvz"
         }
      ],
      "gasObject":{
         "owner":{
            "AddressOwner":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269"
         },
         "reference":{
            "objectId":"0x10611c2158f9d0456e6eb47b8b4168fd0fcab2102a1338cededb8cfbfc764367",
            "version":409729493,
            "digest":"AWiyhLxiMfyK4Ky9HEkaF5Ssdv665PhVxJUqcw2P8LoV"
         }
      },
      "eventsDigest":"2LRTxxDVu6gfJeuFKMumwFS38jjAApXz9LmYfNKRFsPd",
      "dependencies":[
         "2TzNCePBNgMWDRT56ReixvVAtLWGiFGTvxbXVwchsjfK",
         "49puDQZwHRnu7zYoARCjco1dFKMiK7LVSS8B5Si1yVdh",
         "4Dr1Nzz5WTLqpxhYqqVSoWUHD7x92WZVEcFtSv8XpNnH",
         "6iSTKc9MqGg17UnmdJfSJvbMuzcyS24emjMng1c4QduW",
         "7DkJSrf5sPWGxqHbH2X1wXwFcftRm6myhJJnuTJbaMYr",
         "CUQmrEssKtB8WxBYj3YQZJCrFTTDLqz3UWq1nRiWGCLS",
         "HzzEA9X29bCpPE7AJqoxN8zUgefPHztVJu1c73ScgxGa"
      ]
   },
   "events":[
      {
         "id":{
            "txDigest":"3Zphsgy6XW9SzmD3rKK4fPpwCX2QMMEsSFWXqdrnC8xU",
            "eventSeq":"0"
         },
         "packageId":"0xb104ecc75397f3a65735ef26c85a037da1d197e26f4f275a9990a577ba0e6c4c",
         "transactionModule":"gateway",
         "sender":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269",
         "type":"0xbc70b10012a01c00fda8957dbaa1f2b83683414f55e22341792b081fdffa9baa::events::TickUpdate",
         "parsedJson":{
            "index":{
               "bits":4294904096
            },
            "liquidity_gross":"1264040048",
            "liquidity_net":{
               "bits":"1264040048"
            }
         },
         "bcs":"F7PuGvWYC1ywtJXFeqfCzFnJtnrjR9RigUkJYUuBVmToEoEz3"
      },
      {
         "id":{
            "txDigest":"3Zphsgy6XW9SzmD3rKK4fPpwCX2QMMEsSFWXqdrnC8xU",
            "eventSeq":"1"
         },
         "packageId":"0xb104ecc75397f3a65735ef26c85a037da1d197e26f4f275a9990a577ba0e6c4c",
         "transactionModule":"gateway",
         "sender":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269",
         "type":"0xbc70b10012a01c00fda8957dbaa1f2b83683414f55e22341792b081fdffa9baa::events::TickUpdate",
         "parsedJson":{
            "index":{
               "bits":4294905176
            },
            "liquidity_gross":"1264040048",
            "liquidity_net":{
               "bits":"340282366920938463463374607430504171408"
            }
         },
         "bcs":"fnErMb8hmG5idzGVs2QPb85zUgyRzDWUrrZuH3jmnnve7oxpn"
      },
      {
         "id":{
            "txDigest":"3Zphsgy6XW9SzmD3rKK4fPpwCX2QMMEsSFWXqdrnC8xU",
            "eventSeq":"2"
         },
         "packageId":"0xb104ecc75397f3a65735ef26c85a037da1d197e26f4f275a9990a577ba0e6c4c",
         "transactionModule":"gateway",
         "sender":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269",
         "type":"0x3492c874c1e3b3e2984e8c41b589e642d4d0a5d6459e5a9cfc2d52fd7c89c267::events::LiquidityRemoved",
         "parsedJson":{
            "after_liquidity":"1915869207396",
            "before_liquidity":"1916410938844",
            "coin_a_amount":"299999999",
            "coin_b_amount":"688168",
            "current_sqrt_price":"806173570447208900",
            "current_tick_index":{
               "bits":4294904685
            },
            "liquidity":"541731448",
            "lower_tick":{
               "bits":4294904096
            },
            "pool_coin_a_amount":"776790269451",
            "pool_coin_b_amount":"1293733034",
            "pool_id":"0x3b585786b13af1d8ea067ab37101b6513a05d2f90cfe60e8b1d9e1b46a63c4fa",
            "position_id":"0x75857c5d605a7f6c09a84052f04915495906464e8947a9e3a83df7575afd405e",
            "sequence_number":"3617",
            "upper_tick":{
               "bits":4294905176
            }
         },
         "bcs":"5kVwQ3ddA3xJAixXZ7BzsmaT4o9mYh4JoTZvAP3bEBG96YFb5EbFsNEFSRn7bkBFJMFij1csGASdHZRzikTHiBs4EpdB6azKMUhA6uw4xhZ7rxwCab6mRhc9rPL3SUSnRMQS7gnRcbSBjf1stcszyysyagSz38Ay2FsNsna9zXZN5QzuYEYqNr6oGy43LEZYqVrmUS668ZmjX5LqMsX2U4B14C7yVwivKuicu5NZS4eUAj1XqsMxSDNajGk1xriDm"
      },
      {
         "id":{
            "txDigest":"3Zphsgy6XW9SzmD3rKK4fPpwCX2QMMEsSFWXqdrnC8xU",
            "eventSeq":"3"
         },
         "packageId":"0xb104ecc75397f3a65735ef26c85a037da1d197e26f4f275a9990a577ba0e6c4c",
         "transactionModule":"gateway",
         "sender":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269",
         "type":"0x3492c874c1e3b3e2984e8c41b589e642d4d0a5d6459e5a9cfc2d52fd7c89c267::events::UserRewardCollected",
         "parsedJson":{
            "pool_id":"0x3b585786b13af1d8ea067ab37101b6513a05d2f90cfe60e8b1d9e1b46a63c4fa",
            "position_id":"0x75857c5d605a7f6c09a84052f04915495906464e8947a9e3a83df7575afd405e",
            "reward_amount":"3598",
            "reward_decimals":9,
            "reward_symbol":"BLUE",
            "reward_type":"dd5c4badc89f08fb2ff3c1827411c9bafbed54c64c17d8ab969f637364ca8b4f::blue::BLUE",
            "sequence_number":"3620"
         },
         "bcs":"2yXCxUehEowt9saNgSMaJDa4KrUUfmmvKkM9jWbzVbYYZaaJAxHMpcSXEgTLD2VLk7WFuoo5csFz85rcwpkiEbATbhnWeFs7aT3uL5u2xQkweYnQEtHfBMVwvYcDoQnaC3trra9ppU32A5urukSeUMb7jXR84pupvAj73mXGfS5YMMhN9Sa8wFvmt4mTCFxtAsRrn5aPfU2z1hs84q9othJDZkDbNwMFRQ2Nvn4b1H"
      },
      {
         "id":{
            "txDigest":"3Zphsgy6XW9SzmD3rKK4fPpwCX2QMMEsSFWXqdrnC8xU",
            "eventSeq":"4"
         },
         "packageId":"0xb104ecc75397f3a65735ef26c85a037da1d197e26f4f275a9990a577ba0e6c4c",
         "transactionModule":"gateway",
         "sender":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269",
         "type":"0x3492c874c1e3b3e2984e8c41b589e642d4d0a5d6459e5a9cfc2d52fd7c89c267::events::UserRewardCollected",
         "parsedJson":{
            "pool_id":"0x3b585786b13af1d8ea067ab37101b6513a05d2f90cfe60e8b1d9e1b46a63c4fa",
            "position_id":"0x75857c5d605a7f6c09a84052f04915495906464e8947a9e3a83df7575afd405e",
            "reward_amount":"3598",
            "reward_decimals":9,
            "reward_symbol":"SUI",
            "reward_type":"0000000000000000000000000000000000000000000000000000000000000002::sui::SUI",
            "sequence_number":"3622"
         },
         "bcs":"2LFGoetGuXCknAbPHt1kSk1V3x3f7Z1MPubsXmdKLu8qs6Zrrnu5eRrFP6zaftGSGFV3nwj5KXGT4wE8zkr5mX98TYpnrDqWgCiqK4wxzDRNa3ssJ2ynKmuHb1ARbqMYLgWMrkqPYgC7jGooQTXBG3ifVU4pARaTM4TS7PuJbKEi9iGm15ZsoNDumSbSGpskwUhVRX6prYSXTyrfB2keK2DhaUGuwL77htGepX"
      }
   ],
   "objectChanges":[
      {
         "type":"mutated",
         "sender":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269",
         "owner":{
            "AddressOwner":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269"
         },
         "objectType":"0x2::coin::Coin<0x2::sui::SUI>",
         "objectId":"0x10611c2158f9d0456e6eb47b8b4168fd0fcab2102a1338cededb8cfbfc764367",
         "version":"409729493",
         "previousVersion":"409729492",
         "digest":"AWiyhLxiMfyK4Ky9HEkaF5Ssdv665PhVxJUqcw2P8LoV"
      },
      {
         "type":"mutated",
         "sender":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269",
         "owner":{
            "Shared":{
               "initial_shared_version":406731547
            }
         },
         "objectType":"0x3492c874c1e3b3e2984e8c41b589e642d4d0a5d6459e5a9cfc2d52fd7c89c267::pool::Pool<0x2::sui::SUI, 0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC>",
         "objectId":"0x3b585786b13af1d8ea067ab37101b6513a05d2f90cfe60e8b1d9e1b46a63c4fa",
         "version":"409729493",
         "previousVersion":"409729492",
         "digest":"J2LNLm1azXu2KGHq9ZuamSLuAhs3eSzfrE13YcVLZkd1"
      },
      {
         "type":"mutated",
         "sender":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269",
         "owner":{
            "ObjectOwner":"0x693c650ba84b5ad1234ebe85a557555576cc7a164bb1df7a1c3a9192ed2cb528"
         },
         "objectType":"0x2::dynamic_field::Field<0x714a63a0dba6da4f017b42d5d0fb78867f18bcde904868e51d951a5a6f5b7f57::i32::I32, 0x3492c874c1e3b3e2984e8c41b589e642d4d0a5d6459e5a9cfc2d52fd7c89c267::tick::TickInfo>",
         "objectId":"0x414e64df93e359ac4c6a8c0b1dbaf3f5d097cc5b761027f471bb9390f66a2490",
         "version":"409729493",
         "previousVersion":"409729492",
         "digest":"77EkUbBn99XEab1ykrCtMvYAEw8FkMGfHx859D5YSJWX"
      },
      {
         "type":"mutated",
         "sender":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269",
         "owner":{
            "AddressOwner":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269"
         },
         "objectType":"0x3492c874c1e3b3e2984e8c41b589e642d4d0a5d6459e5a9cfc2d52fd7c89c267::position::Position",
         "objectId":"0x75857c5d605a7f6c09a84052f04915495906464e8947a9e3a83df7575afd405e",
         "version":"409729493",
         "previousVersion":"409729492",
         "digest":"GTJmAFfYiWMMpgpGyAeWa5XGbRZgJA5AiPGECiuw4Cy1"
      },
      {
         "type":"mutated",
         "sender":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269",
         "owner":{
            "ObjectOwner":"0x3b585786b13af1d8ea067ab37101b6513a05d2f90cfe60e8b1d9e1b46a63c4fa"
         },
         "objectType":"0x2::dynamic_field::Field<0x1::string::String, 0x2::balance::Balance<0x2::sui::SUI>>",
         "objectId":"0xb59155bc6b699a8856772264fb9d309dea9a03b7e10d1208bb0c62174b53576d",
         "version":"409729493",
         "previousVersion":"409698087",
         "digest":"5RyghG557cCiy2fkPdrFw2T9SMk3KH99UUD5NRpkswKN"
      },
      {
         "type":"mutated",
         "sender":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269",
         "owner":{
            "ObjectOwner":"0x693c650ba84b5ad1234ebe85a557555576cc7a164bb1df7a1c3a9192ed2cb528"
         },
         "objectType":"0x2::dynamic_field::Field<0x714a63a0dba6da4f017b42d5d0fb78867f18bcde904868e51d951a5a6f5b7f57::i32::I32, 0x3492c874c1e3b3e2984e8c41b589e642d4d0a5d6459e5a9cfc2d52fd7c89c267::tick::TickInfo>",
         "objectId":"0xb9959c4b05873cce0b7ff3579715e815e73edc558729326206daa0358bd693ec",
         "version":"409729493",
         "previousVersion":"409729492",
         "digest":"9idrsBnS4wmmQeaFmvC2ucZ4G8VtLZMi2nevwXgSAh3C"
      },
      {
         "type":"created",
         "sender":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269",
         "owner":{
            "AddressOwner":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269"
         },
         "objectType":"0x2::coin::Coin<0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC>",
         "objectId":"0x7a292ae0fe5b9e3cbcdd0d26ebf1c817d82cf136cda5c648fe1263e44e9083c9",
         "version":"409729493",
         "digest":"9m27YDEBCu4WUB1w3Laun7M7P8iQgrYqCD9whSYTgrwf"
      },
      {
         "type":"created",
         "sender":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269",
         "owner":{
            "AddressOwner":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269"
         },
         "objectType":"0x2::coin::Coin<0x2::sui::SUI>",
         "objectId":"0x9f7b58e35999081521c53de1c721c5329d7e1f7c7e4b1b47f85c67772e8f71c7",
         "version":"409729493",
         "digest":"EePsUFh65PDrxS3LfssHSsfCUQ8yF6C4GPw6HSiwVSYw"
      },
      {
         "type":"created",
         "sender":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269",
         "owner":{
            "AddressOwner":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269"
         },
         "objectType":"0x2::coin::Coin<0x2::sui::SUI>",
         "objectId":"0xf7ab534ee9fe76a5408b43d2a708402e1e25dae337415770f71d86ea37c79097",
         "version":"409729493",
         "digest":"3Mrk6L38aJMWAsAnXrTkDdyVsAKiByJarmUwo5Yf3mh4"
      },
      {
         "type":"deleted",
         "sender":"0xa2d6fcd5ed2ae13fe527a96c96100120d519900599f33e38ee112d80e51f9269",
         "objectType":"0x2::coin::Coin<0x2::sui::SUI>",
         "objectId":"0xf8049f908663106d14a7cdafa138f9d6201a242bd5705230e44249f785be4f37",
         "version":"409729493"
      }
   ],
   "confirmedLocalExecution":false
}