@dhedge/v2-sdk 1.10.16 → 1.11.0

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.
@@ -4250,7 +4250,7 @@ var Network;
4250
4250
  Network["OPTIMISM"] = "optimism";
4251
4251
  Network["ARBITRUM"] = "arbitrum";
4252
4252
  Network["BASE"] = "base";
4253
- Network["SONIC"] = "sonic";
4253
+ Network["ETHEREUM"] = "ethereum";
4254
4254
  })(Network || (Network = {}));
4255
4255
 
4256
4256
  var Dapp;
@@ -4277,7 +4277,6 @@ var Dapp;
4277
4277
  Dapp["PANCAKECL"] = "pancakeCL";
4278
4278
  Dapp["COMPOUNDV3"] = "compoundV3";
4279
4279
  Dapp["ODOS"] = "odos";
4280
- Dapp["SHADOWCL"] = "shadowCL";
4281
4280
  Dapp["PENDLE"] = "pendle";
4282
4281
  })(Dapp || (Dapp = {}));
4283
4282
 
@@ -4305,19 +4304,19 @@ var Transaction;
4305
4304
  Transaction["REMOVE_LIQUIDITY_UNSTAKE"] = "removeLiquidityAndUnstake";
4306
4305
  })(Transaction || (Transaction = {}));
4307
4306
 
4308
- var _factoryAddress, _Network$POLYGON, _Network$OPTIMISM, _Network$ARBITRUM, _Network$BASE, _Network$SONIC, _routerAddress, _Network$POLYGON2, _dappFactoryAddress, _Network$POLYGON3, _Network$OPTIMISM2, _Network$ARBITRUM2, _Network$BASE2, _Network$SONIC2, _stakingAddress, _Network$POLYGON4, _Network$OPTIMISM3, _Network$ARBITRUM3, _Network$BASE3, _Network$SONIC3, _aaveAddressProvider, _Network$POLYGON5, _Network$OPTIMISM4, _Network$ARBITRUM4, _Network$BASE4, _Network$SONIC4, _nonfungiblePositionM, _networkChainIdMap, _balancerSubgraph, _multiCallAddress, _lyraNetworkMap, _flatMoneyContractAdd;
4307
+ var _factoryAddress, _Network$POLYGON, _Network$OPTIMISM, _Network$ARBITRUM, _Network$BASE, _Network$ETHEREUM, _routerAddress, _Network$POLYGON2, _dappFactoryAddress, _Network$POLYGON3, _Network$OPTIMISM2, _Network$ARBITRUM2, _Network$BASE2, _stakingAddress, _Network$POLYGON4, _Network$OPTIMISM3, _Network$ARBITRUM3, _Network$BASE3, _Network$ETHEREUM2, _aaveAddressProvider, _Network$POLYGON5, _Network$OPTIMISM4, _Network$ARBITRUM4, _Network$BASE4, _nonfungiblePositionM, _networkChainIdMap, _balancerSubgraph, _multiCallAddress, _lyraNetworkMap, _flatMoneyContractAdd;
4309
4308
 
4310
4309
  require("dotenv").config();
4311
4310
 
4312
- var factoryAddress = (_factoryAddress = {}, _factoryAddress[Network.POLYGON] = process.env.STAGING_CONTRACTS ? "0xDd87eCdB10cFF7004276AAbAbd30e7a08F69bb53" : "0xfdc7b8bFe0DD3513Cc669bB8d601Cb83e2F69cB0", _factoryAddress[Network.OPTIMISM] = "0x5e61a079A178f0E5784107a4963baAe0c5a680c6", _factoryAddress[Network.ARBITRUM] = "0xfffb5fb14606eb3a548c113026355020ddf27535", _factoryAddress[Network.BASE] = "0x49Afe3abCf66CF09Fab86cb1139D8811C8afe56F", _factoryAddress[Network.SONIC] = "", _factoryAddress);
4313
- var routerAddress = (_routerAddress = {}, _routerAddress[Network.POLYGON] = (_Network$POLYGON = {}, _Network$POLYGON[Dapp.SUSHISWAP] = "0x1b02dA8Cb0d097eB8D57A175b88c7D8b47997506", _Network$POLYGON[Dapp.AAVE] = "0x8dFf5E27EA6b7AC08EbFdf9eB090F32ee9a30fcf", _Network$POLYGON[Dapp.AAVEV3] = "0x794a61358D6845594F94dc1DB02A252b5b4814aD", _Network$POLYGON[Dapp.ONEINCH] = "0x111111125421ca6dc452d289314280a0f8842a65", _Network$POLYGON[Dapp.QUICKSWAP] = "0xa5E0829CaCEd8fFDD4De3c43696c57F7D7A678ff", _Network$POLYGON[Dapp.BALANCER] = "0xBA12222222228d8Ba445958a75a0704d566BF2C8", _Network$POLYGON[Dapp.UNISWAPV3] = "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45", _Network$POLYGON[Dapp.ARRAKIS] = "0xc73fb100a995b33f9fa181d420f4c8d74506df66", _Network$POLYGON[Dapp.TOROS] = "0x45b90480D6F643dE2f128db091A357C3c90399f2", _Network$POLYGON[Dapp.ODOS] = "0x4e3288c9ca110bcc82bf38f09a7b425c095d92bf", _Network$POLYGON), _routerAddress[Network.OPTIMISM] = (_Network$OPTIMISM = {}, _Network$OPTIMISM[Dapp.UNISWAPV3] = "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45", _Network$OPTIMISM[Dapp.SYNTHETIX] = "0x8700dAec35aF8Ff88c16BdF0418774CB3D7599B4", _Network$OPTIMISM[Dapp.AAVEV3] = "0x794a61358D6845594F94dc1DB02A252b5b4814aD", _Network$OPTIMISM[Dapp.ONEINCH] = "0x111111125421ca6dc452d289314280a0f8842a65", _Network$OPTIMISM[Dapp.TOROS] = "0x2Ed1bd7f66e47113672f3870308b5E867C5bb743", _Network$OPTIMISM[Dapp.VELODROME] = "0x9c12939390052919aF3155f41Bf4160Fd3666A6f", _Network$OPTIMISM[Dapp.VELODROMEV2] = "0xa062ae8a9c5e11aaa026fc2670b0d65ccc8b2858", _Network$OPTIMISM[Dapp.LYRA] = "0xCCE7819d65f348c64B7Beb205BA367b3fE33763B", _Network$OPTIMISM[Dapp.ARRAKIS] = "0x9ce88a56d120300061593eF7AD074A1B710094d5", _Network$OPTIMISM[Dapp.ODOS] = "0xca423977156bb05b13a2ba3b76bc5419e2fe9680", _Network$OPTIMISM[Dapp.PENDLE] = "0x888888888889758F76e7103c6CbF23ABbF58F946", _Network$OPTIMISM), _routerAddress[Network.ARBITRUM] = (_Network$ARBITRUM = {}, _Network$ARBITRUM[Dapp.ONEINCH] = "0x111111125421ca6dc452d289314280a0f8842a65", _Network$ARBITRUM[Dapp.UNISWAPV3] = "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45", _Network$ARBITRUM[Dapp.AAVEV3] = "0x794a61358D6845594F94dc1DB02A252b5b4814aD", _Network$ARBITRUM[Dapp.BALANCER] = "0xBA12222222228d8Ba445958a75a0704d566BF2C8", _Network$ARBITRUM[Dapp.RAMSES] = "0xaaa87963efeb6f7e0a2711f397663105acb1805e", _Network$ARBITRUM[Dapp.TOROS] = "0xA5679C4272A056Bb83f039961fae7D99C48529F5", _Network$ARBITRUM[Dapp.ODOS] = "0xa669e7A0d4b3e4Fa48af2dE86BD4CD7126Be4e13", _Network$ARBITRUM[Dapp.PENDLE] = "0x888888888889758F76e7103c6CbF23ABbF58F946", _Network$ARBITRUM), _routerAddress[Network.BASE] = (_Network$BASE = {}, _Network$BASE[Dapp.ONEINCH] = "0x111111125421ca6dc452d289314280a0f8842a65", _Network$BASE[Dapp.AERODROME] = "0xcF77a3Ba9A5CA399B7c97c74d54e5b1Beb874E43", _Network$BASE[Dapp.AAVEV3] = "0xA238Dd80C259a72e81d7e4664a9801593F98d1c5", _Network$BASE[Dapp.TOROS] = "0xf067575Eb60c7587C11e867907AA7284833704d1", _Network$BASE[Dapp.ODOS] = "0x19cEeAd7105607Cd444F5ad10dd51356436095a1", _Network$BASE[Dapp.PENDLE] = "0x888888888889758F76e7103c6CbF23ABbF58F946", _Network$BASE), _routerAddress[Network.SONIC] = (_Network$SONIC = {}, _Network$SONIC[Dapp.AAVEV3] = "0x5362dBb1e601abF3a4c14c22ffEdA64042E5eAA3", _Network$SONIC[Dapp.ODOS] = "0xaC041Df48dF9791B0654f1Dbbf2CC8450C5f2e9D", _Network$SONIC[Dapp.PENDLE] = "0x888888888889758F76e7103c6CbF23ABbF58F946", _Network$SONIC), _routerAddress);
4314
- var dappFactoryAddress = (_dappFactoryAddress = {}, _dappFactoryAddress[Network.POLYGON] = (_Network$POLYGON2 = {}, _Network$POLYGON2[Dapp.SUSHISWAP] = "0xc35DADB65012eC5796536bD9864eD8773aBc74C4", _Network$POLYGON2[Dapp.QUICKSWAP] = "0x5757371414417b8C6CAad45bAeF941aBc7d3Ab32", _Network$POLYGON2), _dappFactoryAddress[Network.OPTIMISM] = {}, _dappFactoryAddress[Network.ARBITRUM] = {}, _dappFactoryAddress[Network.BASE] = {}, _dappFactoryAddress[Network.SONIC] = {}, _dappFactoryAddress);
4315
- var stakingAddress = (_stakingAddress = {}, _stakingAddress[Network.POLYGON] = (_Network$POLYGON3 = {}, _Network$POLYGON3[Dapp.SUSHISWAP] = "0x0769fd68dFb93167989C6f7254cd0D766Fb2841F", _Network$POLYGON3[Dapp.BALANCER] = "0x0F3e0c4218b7b0108a3643cFe9D3ec0d4F57c54e", _Network$POLYGON3[Dapp.AAVE] = "0x357D51124f59836DeD84c8a1730D72B749d8BC23", _Network$POLYGON3[Dapp.AAVEV3] = "0x929EC64c34a17401F460460D4B9390518E5B473e", _Network$POLYGON3), _stakingAddress[Network.OPTIMISM] = (_Network$OPTIMISM2 = {}, _Network$OPTIMISM2[Dapp.AAVEV3] = "0x929EC64c34a17401F460460D4B9390518E5B473e", _Network$OPTIMISM2[Dapp.COMPOUNDV3] = "0x443ea0340cb75a160f31a440722dec7b5bc3c2e9", _Network$OPTIMISM2), _stakingAddress[Network.ARBITRUM] = (_Network$ARBITRUM2 = {}, _Network$ARBITRUM2[Dapp.COMPOUNDV3] = "0x88730d254a2f7e6ac8388c3198afd694ba9f7fae", _Network$ARBITRUM2[Dapp.PANCAKECL] = "0x5e09ACf80C0296740eC5d6F643005a4ef8DaA694", _Network$ARBITRUM2), _stakingAddress[Network.BASE] = (_Network$BASE2 = {}, _Network$BASE2[Dapp.PANCAKECL] = "0xC6A2Db661D5a5690172d8eB0a7DEA2d3008665A3", _Network$BASE2), _stakingAddress[Network.SONIC] = (_Network$SONIC2 = {}, _Network$SONIC2[Dapp.SHADOWCL] = "0xe879d0E44e6873cf4ab71686055a4f6817685f02", _Network$SONIC2), _stakingAddress);
4316
- var aaveAddressProvider = (_aaveAddressProvider = {}, _aaveAddressProvider[Network.POLYGON] = (_Network$POLYGON4 = {}, _Network$POLYGON4[Dapp.AAVE] = "0xd05e3E715d945B59290df0ae8eF85c1BdB684744", _Network$POLYGON4[Dapp.AAVEV3] = "0xa97684ead0e402dC232d5A977953DF7ECBaB3CDb", _Network$POLYGON4), _aaveAddressProvider[Network.OPTIMISM] = (_Network$OPTIMISM3 = {}, _Network$OPTIMISM3[Dapp.AAVEV3] = "0xa97684ead0e402dC232d5A977953DF7ECBaB3CDb", _Network$OPTIMISM3), _aaveAddressProvider[Network.ARBITRUM] = (_Network$ARBITRUM3 = {}, _Network$ARBITRUM3[Dapp.AAVEV3] = "0xa97684ead0e402dc232d5a977953df7ecbab3cdb", _Network$ARBITRUM3), _aaveAddressProvider[Network.BASE] = (_Network$BASE3 = {}, _Network$BASE3[Dapp.AAVEV3] = "0xe20fCBdBfFC4Dd138cE8b2E6FBb6CB49777ad64D", _Network$BASE3), _aaveAddressProvider[Network.SONIC] = (_Network$SONIC3 = {}, _Network$SONIC3[Dapp.AAVEV3] = "0x5C2e738F6E27bCE0F7558051Bf90605dD6176900", _Network$SONIC3), _aaveAddressProvider);
4317
- var nonfungiblePositionManagerAddress = (_nonfungiblePositionM = {}, _nonfungiblePositionM[Network.POLYGON] = (_Network$POLYGON5 = {}, _Network$POLYGON5[Dapp.UNISWAPV3] = "0xC36442b4a4522E871399CD717aBDD847Ab11FE88", _Network$POLYGON5), _nonfungiblePositionM[Network.OPTIMISM] = (_Network$OPTIMISM4 = {}, _Network$OPTIMISM4[Dapp.UNISWAPV3] = "0xC36442b4a4522E871399CD717aBDD847Ab11FE88", _Network$OPTIMISM4[Dapp.VELODROMECL] = "0x416b433906b1B72FA758e166e239c43d68dC6F29", _Network$OPTIMISM4), _nonfungiblePositionM[Network.ARBITRUM] = (_Network$ARBITRUM4 = {}, _Network$ARBITRUM4[Dapp.UNISWAPV3] = "0xC36442b4a4522E871399CD717aBDD847Ab11FE88", _Network$ARBITRUM4[Dapp.RAMSESCL] = "0xAA277CB7914b7e5514946Da92cb9De332Ce610EF", _Network$ARBITRUM4[Dapp.PANCAKECL] = "0x46a15b0b27311cedf172ab29e4f4766fbe7f4364", _Network$ARBITRUM4), _nonfungiblePositionM[Network.BASE] = (_Network$BASE4 = {}, _Network$BASE4[Dapp.UNISWAPV3] = "0x03a520b32C04BF3bEEf7BEb72E919cf822Ed34f1", _Network$BASE4[Dapp.AERODROMECL] = "0x827922686190790b37229fd06084350e74485b72", _Network$BASE4[Dapp.PANCAKECL] = "0x46A15B0b27311cedF172AB29E4f4766fbE7F4364", _Network$BASE4), _nonfungiblePositionM[Network.SONIC] = (_Network$SONIC4 = {}, _Network$SONIC4[Dapp.SHADOWCL] = "0x12e66c8f215ddd5d48d150c8f46ad0c6fb0f4406", _Network$SONIC4), _nonfungiblePositionM);
4318
- var networkChainIdMap = (_networkChainIdMap = {}, _networkChainIdMap[Network.POLYGON] = 137, _networkChainIdMap[Network.OPTIMISM] = 10, _networkChainIdMap[Network.ARBITRUM] = 42161, _networkChainIdMap[Network.BASE] = 8453, _networkChainIdMap[Network.SONIC] = 146, _networkChainIdMap);
4319
- var balancerSubgraph = (_balancerSubgraph = {}, _balancerSubgraph[Network.POLYGON] = "https://api.thegraph.com/subgraphs/name/balancer-labs/balancer-polygon-v2", _balancerSubgraph[Network.OPTIMISM] = "", _balancerSubgraph[Network.ARBITRUM] = "", _balancerSubgraph[Network.BASE] = "", _balancerSubgraph[Network.SONIC] = "", _balancerSubgraph);
4320
- var multiCallAddress = (_multiCallAddress = {}, _multiCallAddress[Network.POLYGON] = "0x275617327c958bD06b5D6b871E7f491D76113dd8", _multiCallAddress[Network.OPTIMISM] = "", _multiCallAddress[Network.ARBITRUM] = "", _multiCallAddress[Network.BASE] = "", _multiCallAddress[Network.SONIC] = "", _multiCallAddress);
4311
+ var factoryAddress = (_factoryAddress = {}, _factoryAddress[Network.POLYGON] = process.env.STAGING_CONTRACTS ? "0xDd87eCdB10cFF7004276AAbAbd30e7a08F69bb53" : "0xfdc7b8bFe0DD3513Cc669bB8d601Cb83e2F69cB0", _factoryAddress[Network.OPTIMISM] = "0x5e61a079A178f0E5784107a4963baAe0c5a680c6", _factoryAddress[Network.ARBITRUM] = "0xfffb5fb14606eb3a548c113026355020ddf27535", _factoryAddress[Network.BASE] = "0x49Afe3abCf66CF09Fab86cb1139D8811C8afe56F", _factoryAddress[Network.ETHEREUM] = "0x96D33bCF84DdE326014248E2896F79bbb9c13D6d", _factoryAddress);
4312
+ var routerAddress = (_routerAddress = {}, _routerAddress[Network.POLYGON] = (_Network$POLYGON = {}, _Network$POLYGON[Dapp.SUSHISWAP] = "0x1b02dA8Cb0d097eB8D57A175b88c7D8b47997506", _Network$POLYGON[Dapp.AAVE] = "0x8dFf5E27EA6b7AC08EbFdf9eB090F32ee9a30fcf", _Network$POLYGON[Dapp.AAVEV3] = "0x794a61358D6845594F94dc1DB02A252b5b4814aD", _Network$POLYGON[Dapp.ONEINCH] = "0x111111125421ca6dc452d289314280a0f8842a65", _Network$POLYGON[Dapp.QUICKSWAP] = "0xa5E0829CaCEd8fFDD4De3c43696c57F7D7A678ff", _Network$POLYGON[Dapp.BALANCER] = "0xBA12222222228d8Ba445958a75a0704d566BF2C8", _Network$POLYGON[Dapp.UNISWAPV3] = "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45", _Network$POLYGON[Dapp.ARRAKIS] = "0xc73fb100a995b33f9fa181d420f4c8d74506df66", _Network$POLYGON[Dapp.TOROS] = "0x45b90480D6F643dE2f128db091A357C3c90399f2", _Network$POLYGON[Dapp.ODOS] = "0x4e3288c9ca110bcc82bf38f09a7b425c095d92bf", _Network$POLYGON), _routerAddress[Network.OPTIMISM] = (_Network$OPTIMISM = {}, _Network$OPTIMISM[Dapp.UNISWAPV3] = "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45", _Network$OPTIMISM[Dapp.SYNTHETIX] = "0x8700dAec35aF8Ff88c16BdF0418774CB3D7599B4", _Network$OPTIMISM[Dapp.AAVEV3] = "0x794a61358D6845594F94dc1DB02A252b5b4814aD", _Network$OPTIMISM[Dapp.ONEINCH] = "0x111111125421ca6dc452d289314280a0f8842a65", _Network$OPTIMISM[Dapp.TOROS] = "0x2Ed1bd7f66e47113672f3870308b5E867C5bb743", _Network$OPTIMISM[Dapp.VELODROME] = "0x9c12939390052919aF3155f41Bf4160Fd3666A6f", _Network$OPTIMISM[Dapp.VELODROMEV2] = "0xa062ae8a9c5e11aaa026fc2670b0d65ccc8b2858", _Network$OPTIMISM[Dapp.LYRA] = "0xCCE7819d65f348c64B7Beb205BA367b3fE33763B", _Network$OPTIMISM[Dapp.ARRAKIS] = "0x9ce88a56d120300061593eF7AD074A1B710094d5", _Network$OPTIMISM[Dapp.ODOS] = "0xca423977156bb05b13a2ba3b76bc5419e2fe9680", _Network$OPTIMISM[Dapp.PENDLE] = "0x888888888889758F76e7103c6CbF23ABbF58F946", _Network$OPTIMISM), _routerAddress[Network.ARBITRUM] = (_Network$ARBITRUM = {}, _Network$ARBITRUM[Dapp.ONEINCH] = "0x111111125421ca6dc452d289314280a0f8842a65", _Network$ARBITRUM[Dapp.UNISWAPV3] = "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45", _Network$ARBITRUM[Dapp.AAVEV3] = "0x794a61358D6845594F94dc1DB02A252b5b4814aD", _Network$ARBITRUM[Dapp.BALANCER] = "0xBA12222222228d8Ba445958a75a0704d566BF2C8", _Network$ARBITRUM[Dapp.RAMSES] = "0xaaa87963efeb6f7e0a2711f397663105acb1805e", _Network$ARBITRUM[Dapp.TOROS] = "0xA5679C4272A056Bb83f039961fae7D99C48529F5", _Network$ARBITRUM[Dapp.ODOS] = "0xa669e7A0d4b3e4Fa48af2dE86BD4CD7126Be4e13", _Network$ARBITRUM[Dapp.PENDLE] = "0x888888888889758F76e7103c6CbF23ABbF58F946", _Network$ARBITRUM), _routerAddress[Network.BASE] = (_Network$BASE = {}, _Network$BASE[Dapp.ONEINCH] = "0x111111125421ca6dc452d289314280a0f8842a65", _Network$BASE[Dapp.AERODROME] = "0xcF77a3Ba9A5CA399B7c97c74d54e5b1Beb874E43", _Network$BASE[Dapp.AAVEV3] = "0xA238Dd80C259a72e81d7e4664a9801593F98d1c5", _Network$BASE[Dapp.TOROS] = "0xf067575Eb60c7587C11e867907AA7284833704d1", _Network$BASE[Dapp.ODOS] = "0x19cEeAd7105607Cd444F5ad10dd51356436095a1", _Network$BASE[Dapp.PENDLE] = "0x888888888889758F76e7103c6CbF23ABbF58F946", _Network$BASE), _routerAddress[Network.ETHEREUM] = (_Network$ETHEREUM = {}, _Network$ETHEREUM[Dapp.AAVEV3] = "0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2", _Network$ETHEREUM[Dapp.ODOS] = "0xCf5540fFFCdC3d510B18bFcA6d2b9987b0772559", _Network$ETHEREUM[Dapp.PENDLE] = "0x888888888889758F76e7103c6CbF23ABbF58F946", _Network$ETHEREUM[Dapp.ONEINCH] = "0x111111125421ca6dc452d289314280a0f8842a65", _Network$ETHEREUM), _routerAddress);
4313
+ var dappFactoryAddress = (_dappFactoryAddress = {}, _dappFactoryAddress[Network.POLYGON] = (_Network$POLYGON2 = {}, _Network$POLYGON2[Dapp.SUSHISWAP] = "0xc35DADB65012eC5796536bD9864eD8773aBc74C4", _Network$POLYGON2[Dapp.QUICKSWAP] = "0x5757371414417b8C6CAad45bAeF941aBc7d3Ab32", _Network$POLYGON2), _dappFactoryAddress[Network.OPTIMISM] = {}, _dappFactoryAddress[Network.ARBITRUM] = {}, _dappFactoryAddress[Network.BASE] = {}, _dappFactoryAddress[Network.ETHEREUM] = {}, _dappFactoryAddress);
4314
+ var stakingAddress = (_stakingAddress = {}, _stakingAddress[Network.POLYGON] = (_Network$POLYGON3 = {}, _Network$POLYGON3[Dapp.SUSHISWAP] = "0x0769fd68dFb93167989C6f7254cd0D766Fb2841F", _Network$POLYGON3[Dapp.BALANCER] = "0x0F3e0c4218b7b0108a3643cFe9D3ec0d4F57c54e", _Network$POLYGON3[Dapp.AAVE] = "0x357D51124f59836DeD84c8a1730D72B749d8BC23", _Network$POLYGON3[Dapp.AAVEV3] = "0x929EC64c34a17401F460460D4B9390518E5B473e", _Network$POLYGON3), _stakingAddress[Network.OPTIMISM] = (_Network$OPTIMISM2 = {}, _Network$OPTIMISM2[Dapp.AAVEV3] = "0x929EC64c34a17401F460460D4B9390518E5B473e", _Network$OPTIMISM2[Dapp.COMPOUNDV3] = "0x443ea0340cb75a160f31a440722dec7b5bc3c2e9", _Network$OPTIMISM2), _stakingAddress[Network.ARBITRUM] = (_Network$ARBITRUM2 = {}, _Network$ARBITRUM2[Dapp.COMPOUNDV3] = "0x88730d254a2f7e6ac8388c3198afd694ba9f7fae", _Network$ARBITRUM2[Dapp.PANCAKECL] = "0x5e09ACf80C0296740eC5d6F643005a4ef8DaA694", _Network$ARBITRUM2), _stakingAddress[Network.BASE] = (_Network$BASE2 = {}, _Network$BASE2[Dapp.PANCAKECL] = "0xC6A2Db661D5a5690172d8eB0a7DEA2d3008665A3", _Network$BASE2), _stakingAddress[Network.ETHEREUM] = {}, _stakingAddress);
4315
+ var aaveAddressProvider = (_aaveAddressProvider = {}, _aaveAddressProvider[Network.POLYGON] = (_Network$POLYGON4 = {}, _Network$POLYGON4[Dapp.AAVE] = "0xd05e3E715d945B59290df0ae8eF85c1BdB684744", _Network$POLYGON4[Dapp.AAVEV3] = "0xa97684ead0e402dC232d5A977953DF7ECBaB3CDb", _Network$POLYGON4), _aaveAddressProvider[Network.OPTIMISM] = (_Network$OPTIMISM3 = {}, _Network$OPTIMISM3[Dapp.AAVEV3] = "0xa97684ead0e402dC232d5A977953DF7ECBaB3CDb", _Network$OPTIMISM3), _aaveAddressProvider[Network.ARBITRUM] = (_Network$ARBITRUM3 = {}, _Network$ARBITRUM3[Dapp.AAVEV3] = "0xa97684ead0e402dc232d5a977953df7ecbab3cdb", _Network$ARBITRUM3), _aaveAddressProvider[Network.BASE] = (_Network$BASE3 = {}, _Network$BASE3[Dapp.AAVEV3] = "0xe20fCBdBfFC4Dd138cE8b2E6FBb6CB49777ad64D", _Network$BASE3), _aaveAddressProvider[Network.ETHEREUM] = (_Network$ETHEREUM2 = {}, _Network$ETHEREUM2[Dapp.AAVEV3] = "0x2f39d218133AFaB8F2B819B1066c7E434Ad94E9e", _Network$ETHEREUM2), _aaveAddressProvider);
4316
+ var nonfungiblePositionManagerAddress = (_nonfungiblePositionM = {}, _nonfungiblePositionM[Network.POLYGON] = (_Network$POLYGON5 = {}, _Network$POLYGON5[Dapp.UNISWAPV3] = "0xC36442b4a4522E871399CD717aBDD847Ab11FE88", _Network$POLYGON5), _nonfungiblePositionM[Network.OPTIMISM] = (_Network$OPTIMISM4 = {}, _Network$OPTIMISM4[Dapp.UNISWAPV3] = "0xC36442b4a4522E871399CD717aBDD847Ab11FE88", _Network$OPTIMISM4[Dapp.VELODROMECL] = "0x416b433906b1B72FA758e166e239c43d68dC6F29", _Network$OPTIMISM4), _nonfungiblePositionM[Network.ARBITRUM] = (_Network$ARBITRUM4 = {}, _Network$ARBITRUM4[Dapp.UNISWAPV3] = "0xC36442b4a4522E871399CD717aBDD847Ab11FE88", _Network$ARBITRUM4[Dapp.RAMSESCL] = "0xAA277CB7914b7e5514946Da92cb9De332Ce610EF", _Network$ARBITRUM4[Dapp.PANCAKECL] = "0x46a15b0b27311cedf172ab29e4f4766fbe7f4364", _Network$ARBITRUM4), _nonfungiblePositionM[Network.BASE] = (_Network$BASE4 = {}, _Network$BASE4[Dapp.UNISWAPV3] = "0x03a520b32C04BF3bEEf7BEb72E919cf822Ed34f1", _Network$BASE4[Dapp.AERODROMECL] = "0x827922686190790b37229fd06084350e74485b72", _Network$BASE4[Dapp.PANCAKECL] = "0x46A15B0b27311cedF172AB29E4f4766fbE7F4364", _Network$BASE4), _nonfungiblePositionM[Network.ETHEREUM] = {}, _nonfungiblePositionM);
4317
+ var networkChainIdMap = (_networkChainIdMap = {}, _networkChainIdMap[Network.POLYGON] = 137, _networkChainIdMap[Network.OPTIMISM] = 10, _networkChainIdMap[Network.ARBITRUM] = 42161, _networkChainIdMap[Network.BASE] = 8453, _networkChainIdMap[Network.ETHEREUM] = 1, _networkChainIdMap);
4318
+ var balancerSubgraph = (_balancerSubgraph = {}, _balancerSubgraph[Network.POLYGON] = "https://api.thegraph.com/subgraphs/name/balancer-labs/balancer-polygon-v2", _balancerSubgraph[Network.OPTIMISM] = "", _balancerSubgraph[Network.ARBITRUM] = "", _balancerSubgraph[Network.BASE] = "", _balancerSubgraph[Network.ETHEREUM] = "", _balancerSubgraph);
4319
+ var multiCallAddress = (_multiCallAddress = {}, _multiCallAddress[Network.POLYGON] = "0x275617327c958bD06b5D6b871E7f491D76113dd8", _multiCallAddress[Network.OPTIMISM] = "", _multiCallAddress[Network.ARBITRUM] = "", _multiCallAddress[Network.BASE] = "", _multiCallAddress[Network.ETHEREUM] = "", _multiCallAddress);
4321
4320
  var lyraNetworkMap = (_lyraNetworkMap = {}, _lyraNetworkMap[Network.OPTIMISM] = Deployment.Mainnet, _lyraNetworkMap);
4322
4321
  var MaxUint128 = "0xffffffffffffffffffffffffffffffff";
4323
4322
  var UNISWAPV3_QUOTER_ADDRESS = "0xb27308f9F90D607463bb33eA1BeBb41C27CE5AB6";
@@ -8690,1209 +8689,6 @@ var IVeldodromePositionManager = {
8690
8689
  abi: abi$d
8691
8690
  };
8692
8691
 
8693
- var IShadowNonfungiblePositionManager = [
8694
- {
8695
- inputs: [
8696
- {
8697
- internalType: "address",
8698
- name: "_deployer",
8699
- type: "address"
8700
- },
8701
- {
8702
- internalType: "address",
8703
- name: "_WETH9",
8704
- type: "address"
8705
- },
8706
- {
8707
- internalType: "address",
8708
- name: "_tokenDescriptor_",
8709
- type: "address"
8710
- },
8711
- {
8712
- internalType: "address",
8713
- name: "_accessHub",
8714
- type: "address"
8715
- }
8716
- ],
8717
- stateMutability: "nonpayable",
8718
- type: "constructor"
8719
- },
8720
- {
8721
- inputs: [
8722
- ],
8723
- name: "CheckSlippage",
8724
- type: "error"
8725
- },
8726
- {
8727
- inputs: [
8728
- ],
8729
- name: "ERC721EnumerableForbiddenBatchMint",
8730
- type: "error"
8731
- },
8732
- {
8733
- inputs: [
8734
- {
8735
- internalType: "address",
8736
- name: "sender",
8737
- type: "address"
8738
- },
8739
- {
8740
- internalType: "uint256",
8741
- name: "tokenId",
8742
- type: "uint256"
8743
- },
8744
- {
8745
- internalType: "address",
8746
- name: "owner",
8747
- type: "address"
8748
- }
8749
- ],
8750
- name: "ERC721IncorrectOwner",
8751
- type: "error"
8752
- },
8753
- {
8754
- inputs: [
8755
- {
8756
- internalType: "address",
8757
- name: "operator",
8758
- type: "address"
8759
- },
8760
- {
8761
- internalType: "uint256",
8762
- name: "tokenId",
8763
- type: "uint256"
8764
- }
8765
- ],
8766
- name: "ERC721InsufficientApproval",
8767
- type: "error"
8768
- },
8769
- {
8770
- inputs: [
8771
- {
8772
- internalType: "address",
8773
- name: "approver",
8774
- type: "address"
8775
- }
8776
- ],
8777
- name: "ERC721InvalidApprover",
8778
- type: "error"
8779
- },
8780
- {
8781
- inputs: [
8782
- {
8783
- internalType: "address",
8784
- name: "operator",
8785
- type: "address"
8786
- }
8787
- ],
8788
- name: "ERC721InvalidOperator",
8789
- type: "error"
8790
- },
8791
- {
8792
- inputs: [
8793
- {
8794
- internalType: "address",
8795
- name: "owner",
8796
- type: "address"
8797
- }
8798
- ],
8799
- name: "ERC721InvalidOwner",
8800
- type: "error"
8801
- },
8802
- {
8803
- inputs: [
8804
- {
8805
- internalType: "address",
8806
- name: "receiver",
8807
- type: "address"
8808
- }
8809
- ],
8810
- name: "ERC721InvalidReceiver",
8811
- type: "error"
8812
- },
8813
- {
8814
- inputs: [
8815
- {
8816
- internalType: "address",
8817
- name: "sender",
8818
- type: "address"
8819
- }
8820
- ],
8821
- name: "ERC721InvalidSender",
8822
- type: "error"
8823
- },
8824
- {
8825
- inputs: [
8826
- {
8827
- internalType: "uint256",
8828
- name: "tokenId",
8829
- type: "uint256"
8830
- }
8831
- ],
8832
- name: "ERC721NonexistentToken",
8833
- type: "error"
8834
- },
8835
- {
8836
- inputs: [
8837
- {
8838
- internalType: "address",
8839
- name: "owner",
8840
- type: "address"
8841
- },
8842
- {
8843
- internalType: "uint256",
8844
- name: "index",
8845
- type: "uint256"
8846
- }
8847
- ],
8848
- name: "ERC721OutOfBoundsIndex",
8849
- type: "error"
8850
- },
8851
- {
8852
- inputs: [
8853
- {
8854
- internalType: "uint256",
8855
- name: "tokenId",
8856
- type: "uint256"
8857
- }
8858
- ],
8859
- name: "InvalidTokenId",
8860
- type: "error"
8861
- },
8862
- {
8863
- inputs: [
8864
- ],
8865
- name: "NotCleared",
8866
- type: "error"
8867
- },
8868
- {
8869
- inputs: [
8870
- ],
8871
- name: "Old",
8872
- type: "error"
8873
- },
8874
- {
8875
- inputs: [
8876
- ],
8877
- name: "Slippage",
8878
- type: "error"
8879
- },
8880
- {
8881
- inputs: [
8882
- ],
8883
- name: "T",
8884
- type: "error"
8885
- },
8886
- {
8887
- anonymous: false,
8888
- inputs: [
8889
- {
8890
- indexed: true,
8891
- internalType: "address",
8892
- name: "owner",
8893
- type: "address"
8894
- },
8895
- {
8896
- indexed: true,
8897
- internalType: "address",
8898
- name: "approved",
8899
- type: "address"
8900
- },
8901
- {
8902
- indexed: true,
8903
- internalType: "uint256",
8904
- name: "tokenId",
8905
- type: "uint256"
8906
- }
8907
- ],
8908
- name: "Approval",
8909
- type: "event"
8910
- },
8911
- {
8912
- anonymous: false,
8913
- inputs: [
8914
- {
8915
- indexed: true,
8916
- internalType: "address",
8917
- name: "owner",
8918
- type: "address"
8919
- },
8920
- {
8921
- indexed: true,
8922
- internalType: "address",
8923
- name: "operator",
8924
- type: "address"
8925
- },
8926
- {
8927
- indexed: false,
8928
- internalType: "bool",
8929
- name: "approved",
8930
- type: "bool"
8931
- }
8932
- ],
8933
- name: "ApprovalForAll",
8934
- type: "event"
8935
- },
8936
- {
8937
- anonymous: false,
8938
- inputs: [
8939
- {
8940
- indexed: true,
8941
- internalType: "uint256",
8942
- name: "tokenId",
8943
- type: "uint256"
8944
- },
8945
- {
8946
- indexed: false,
8947
- internalType: "address",
8948
- name: "recipient",
8949
- type: "address"
8950
- },
8951
- {
8952
- indexed: false,
8953
- internalType: "uint256",
8954
- name: "amount0",
8955
- type: "uint256"
8956
- },
8957
- {
8958
- indexed: false,
8959
- internalType: "uint256",
8960
- name: "amount1",
8961
- type: "uint256"
8962
- }
8963
- ],
8964
- name: "Collect",
8965
- type: "event"
8966
- },
8967
- {
8968
- anonymous: false,
8969
- inputs: [
8970
- {
8971
- indexed: true,
8972
- internalType: "uint256",
8973
- name: "tokenId",
8974
- type: "uint256"
8975
- },
8976
- {
8977
- indexed: false,
8978
- internalType: "uint128",
8979
- name: "liquidity",
8980
- type: "uint128"
8981
- },
8982
- {
8983
- indexed: false,
8984
- internalType: "uint256",
8985
- name: "amount0",
8986
- type: "uint256"
8987
- },
8988
- {
8989
- indexed: false,
8990
- internalType: "uint256",
8991
- name: "amount1",
8992
- type: "uint256"
8993
- }
8994
- ],
8995
- name: "DecreaseLiquidity",
8996
- type: "event"
8997
- },
8998
- {
8999
- anonymous: false,
9000
- inputs: [
9001
- {
9002
- indexed: true,
9003
- internalType: "uint256",
9004
- name: "tokenId",
9005
- type: "uint256"
9006
- },
9007
- {
9008
- indexed: false,
9009
- internalType: "uint128",
9010
- name: "liquidity",
9011
- type: "uint128"
9012
- },
9013
- {
9014
- indexed: false,
9015
- internalType: "uint256",
9016
- name: "amount0",
9017
- type: "uint256"
9018
- },
9019
- {
9020
- indexed: false,
9021
- internalType: "uint256",
9022
- name: "amount1",
9023
- type: "uint256"
9024
- }
9025
- ],
9026
- name: "IncreaseLiquidity",
9027
- type: "event"
9028
- },
9029
- {
9030
- anonymous: false,
9031
- inputs: [
9032
- {
9033
- indexed: true,
9034
- internalType: "address",
9035
- name: "from",
9036
- type: "address"
9037
- },
9038
- {
9039
- indexed: true,
9040
- internalType: "address",
9041
- name: "to",
9042
- type: "address"
9043
- },
9044
- {
9045
- indexed: true,
9046
- internalType: "uint256",
9047
- name: "tokenId",
9048
- type: "uint256"
9049
- }
9050
- ],
9051
- name: "Transfer",
9052
- type: "event"
9053
- },
9054
- {
9055
- inputs: [
9056
- ],
9057
- name: "WETH9",
9058
- outputs: [
9059
- {
9060
- internalType: "address",
9061
- name: "",
9062
- type: "address"
9063
- }
9064
- ],
9065
- stateMutability: "view",
9066
- type: "function"
9067
- },
9068
- {
9069
- inputs: [
9070
- {
9071
- internalType: "address",
9072
- name: "to",
9073
- type: "address"
9074
- },
9075
- {
9076
- internalType: "uint256",
9077
- name: "tokenId",
9078
- type: "uint256"
9079
- }
9080
- ],
9081
- name: "approve",
9082
- outputs: [
9083
- ],
9084
- stateMutability: "nonpayable",
9085
- type: "function"
9086
- },
9087
- {
9088
- inputs: [
9089
- {
9090
- internalType: "address",
9091
- name: "owner",
9092
- type: "address"
9093
- }
9094
- ],
9095
- name: "balanceOf",
9096
- outputs: [
9097
- {
9098
- internalType: "uint256",
9099
- name: "",
9100
- type: "uint256"
9101
- }
9102
- ],
9103
- stateMutability: "view",
9104
- type: "function"
9105
- },
9106
- {
9107
- inputs: [
9108
- {
9109
- internalType: "uint256",
9110
- name: "tokenId",
9111
- type: "uint256"
9112
- }
9113
- ],
9114
- name: "burn",
9115
- outputs: [
9116
- ],
9117
- stateMutability: "payable",
9118
- type: "function"
9119
- },
9120
- {
9121
- inputs: [
9122
- {
9123
- components: [
9124
- {
9125
- internalType: "uint256",
9126
- name: "tokenId",
9127
- type: "uint256"
9128
- },
9129
- {
9130
- internalType: "address",
9131
- name: "recipient",
9132
- type: "address"
9133
- },
9134
- {
9135
- internalType: "uint128",
9136
- name: "amount0Max",
9137
- type: "uint128"
9138
- },
9139
- {
9140
- internalType: "uint128",
9141
- name: "amount1Max",
9142
- type: "uint128"
9143
- }
9144
- ],
9145
- internalType: "struct INonfungiblePositionManager.CollectParams",
9146
- name: "params",
9147
- type: "tuple"
9148
- }
9149
- ],
9150
- name: "collect",
9151
- outputs: [
9152
- {
9153
- internalType: "uint256",
9154
- name: "amount0",
9155
- type: "uint256"
9156
- },
9157
- {
9158
- internalType: "uint256",
9159
- name: "amount1",
9160
- type: "uint256"
9161
- }
9162
- ],
9163
- stateMutability: "payable",
9164
- type: "function"
9165
- },
9166
- {
9167
- inputs: [
9168
- {
9169
- internalType: "address",
9170
- name: "token0",
9171
- type: "address"
9172
- },
9173
- {
9174
- internalType: "address",
9175
- name: "token1",
9176
- type: "address"
9177
- },
9178
- {
9179
- internalType: "int24",
9180
- name: "tickSpacing",
9181
- type: "int24"
9182
- },
9183
- {
9184
- internalType: "uint160",
9185
- name: "sqrtPriceX96",
9186
- type: "uint160"
9187
- }
9188
- ],
9189
- name: "createAndInitializePoolIfNecessary",
9190
- outputs: [
9191
- {
9192
- internalType: "address",
9193
- name: "pool",
9194
- type: "address"
9195
- }
9196
- ],
9197
- stateMutability: "payable",
9198
- type: "function"
9199
- },
9200
- {
9201
- inputs: [
9202
- {
9203
- components: [
9204
- {
9205
- internalType: "uint256",
9206
- name: "tokenId",
9207
- type: "uint256"
9208
- },
9209
- {
9210
- internalType: "uint128",
9211
- name: "liquidity",
9212
- type: "uint128"
9213
- },
9214
- {
9215
- internalType: "uint256",
9216
- name: "amount0Min",
9217
- type: "uint256"
9218
- },
9219
- {
9220
- internalType: "uint256",
9221
- name: "amount1Min",
9222
- type: "uint256"
9223
- },
9224
- {
9225
- internalType: "uint256",
9226
- name: "deadline",
9227
- type: "uint256"
9228
- }
9229
- ],
9230
- internalType: "struct INonfungiblePositionManager.DecreaseLiquidityParams",
9231
- name: "params",
9232
- type: "tuple"
9233
- }
9234
- ],
9235
- name: "decreaseLiquidity",
9236
- outputs: [
9237
- {
9238
- internalType: "uint256",
9239
- name: "amount0",
9240
- type: "uint256"
9241
- },
9242
- {
9243
- internalType: "uint256",
9244
- name: "amount1",
9245
- type: "uint256"
9246
- }
9247
- ],
9248
- stateMutability: "payable",
9249
- type: "function"
9250
- },
9251
- {
9252
- inputs: [
9253
- ],
9254
- name: "deployer",
9255
- outputs: [
9256
- {
9257
- internalType: "address",
9258
- name: "",
9259
- type: "address"
9260
- }
9261
- ],
9262
- stateMutability: "view",
9263
- type: "function"
9264
- },
9265
- {
9266
- inputs: [
9267
- {
9268
- internalType: "uint256",
9269
- name: "tokenId",
9270
- type: "uint256"
9271
- }
9272
- ],
9273
- name: "getApproved",
9274
- outputs: [
9275
- {
9276
- internalType: "address",
9277
- name: "",
9278
- type: "address"
9279
- }
9280
- ],
9281
- stateMutability: "view",
9282
- type: "function"
9283
- },
9284
- {
9285
- inputs: [
9286
- {
9287
- internalType: "uint256",
9288
- name: "tokenId",
9289
- type: "uint256"
9290
- },
9291
- {
9292
- internalType: "address[]",
9293
- name: "tokens",
9294
- type: "address[]"
9295
- }
9296
- ],
9297
- name: "getReward",
9298
- outputs: [
9299
- ],
9300
- stateMutability: "nonpayable",
9301
- type: "function"
9302
- },
9303
- {
9304
- inputs: [
9305
- {
9306
- components: [
9307
- {
9308
- internalType: "uint256",
9309
- name: "tokenId",
9310
- type: "uint256"
9311
- },
9312
- {
9313
- internalType: "uint256",
9314
- name: "amount0Desired",
9315
- type: "uint256"
9316
- },
9317
- {
9318
- internalType: "uint256",
9319
- name: "amount1Desired",
9320
- type: "uint256"
9321
- },
9322
- {
9323
- internalType: "uint256",
9324
- name: "amount0Min",
9325
- type: "uint256"
9326
- },
9327
- {
9328
- internalType: "uint256",
9329
- name: "amount1Min",
9330
- type: "uint256"
9331
- },
9332
- {
9333
- internalType: "uint256",
9334
- name: "deadline",
9335
- type: "uint256"
9336
- }
9337
- ],
9338
- internalType: "struct INonfungiblePositionManager.IncreaseLiquidityParams",
9339
- name: "params",
9340
- type: "tuple"
9341
- }
9342
- ],
9343
- name: "increaseLiquidity",
9344
- outputs: [
9345
- {
9346
- internalType: "uint128",
9347
- name: "liquidity",
9348
- type: "uint128"
9349
- },
9350
- {
9351
- internalType: "uint256",
9352
- name: "amount0",
9353
- type: "uint256"
9354
- },
9355
- {
9356
- internalType: "uint256",
9357
- name: "amount1",
9358
- type: "uint256"
9359
- }
9360
- ],
9361
- stateMutability: "payable",
9362
- type: "function"
9363
- },
9364
- {
9365
- inputs: [
9366
- {
9367
- internalType: "address",
9368
- name: "owner",
9369
- type: "address"
9370
- },
9371
- {
9372
- internalType: "address",
9373
- name: "operator",
9374
- type: "address"
9375
- }
9376
- ],
9377
- name: "isApprovedForAll",
9378
- outputs: [
9379
- {
9380
- internalType: "bool",
9381
- name: "",
9382
- type: "bool"
9383
- }
9384
- ],
9385
- stateMutability: "view",
9386
- type: "function"
9387
- },
9388
- {
9389
- inputs: [
9390
- {
9391
- components: [
9392
- {
9393
- internalType: "address",
9394
- name: "token0",
9395
- type: "address"
9396
- },
9397
- {
9398
- internalType: "address",
9399
- name: "token1",
9400
- type: "address"
9401
- },
9402
- {
9403
- internalType: "int24",
9404
- name: "tickSpacing",
9405
- type: "int24"
9406
- },
9407
- {
9408
- internalType: "int24",
9409
- name: "tickLower",
9410
- type: "int24"
9411
- },
9412
- {
9413
- internalType: "int24",
9414
- name: "tickUpper",
9415
- type: "int24"
9416
- },
9417
- {
9418
- internalType: "uint256",
9419
- name: "amount0Desired",
9420
- type: "uint256"
9421
- },
9422
- {
9423
- internalType: "uint256",
9424
- name: "amount1Desired",
9425
- type: "uint256"
9426
- },
9427
- {
9428
- internalType: "uint256",
9429
- name: "amount0Min",
9430
- type: "uint256"
9431
- },
9432
- {
9433
- internalType: "uint256",
9434
- name: "amount1Min",
9435
- type: "uint256"
9436
- },
9437
- {
9438
- internalType: "address",
9439
- name: "recipient",
9440
- type: "address"
9441
- },
9442
- {
9443
- internalType: "uint256",
9444
- name: "deadline",
9445
- type: "uint256"
9446
- }
9447
- ],
9448
- internalType: "struct INonfungiblePositionManager.MintParams",
9449
- name: "params",
9450
- type: "tuple"
9451
- }
9452
- ],
9453
- name: "mint",
9454
- outputs: [
9455
- {
9456
- internalType: "uint256",
9457
- name: "tokenId",
9458
- type: "uint256"
9459
- },
9460
- {
9461
- internalType: "uint128",
9462
- name: "liquidity",
9463
- type: "uint128"
9464
- },
9465
- {
9466
- internalType: "uint256",
9467
- name: "amount0",
9468
- type: "uint256"
9469
- },
9470
- {
9471
- internalType: "uint256",
9472
- name: "amount1",
9473
- type: "uint256"
9474
- }
9475
- ],
9476
- stateMutability: "payable",
9477
- type: "function"
9478
- },
9479
- {
9480
- inputs: [
9481
- {
9482
- internalType: "bytes[]",
9483
- name: "data",
9484
- type: "bytes[]"
9485
- }
9486
- ],
9487
- name: "multicall",
9488
- outputs: [
9489
- {
9490
- internalType: "bytes[]",
9491
- name: "results",
9492
- type: "bytes[]"
9493
- }
9494
- ],
9495
- stateMutability: "payable",
9496
- type: "function"
9497
- },
9498
- {
9499
- inputs: [
9500
- ],
9501
- name: "name",
9502
- outputs: [
9503
- {
9504
- internalType: "string",
9505
- name: "",
9506
- type: "string"
9507
- }
9508
- ],
9509
- stateMutability: "view",
9510
- type: "function"
9511
- },
9512
- {
9513
- inputs: [
9514
- {
9515
- internalType: "uint256",
9516
- name: "tokenId",
9517
- type: "uint256"
9518
- }
9519
- ],
9520
- name: "ownerOf",
9521
- outputs: [
9522
- {
9523
- internalType: "address",
9524
- name: "",
9525
- type: "address"
9526
- }
9527
- ],
9528
- stateMutability: "view",
9529
- type: "function"
9530
- },
9531
- {
9532
- inputs: [
9533
- {
9534
- internalType: "uint256",
9535
- name: "tokenId",
9536
- type: "uint256"
9537
- }
9538
- ],
9539
- name: "positions",
9540
- outputs: [
9541
- {
9542
- internalType: "address",
9543
- name: "token0",
9544
- type: "address"
9545
- },
9546
- {
9547
- internalType: "address",
9548
- name: "token1",
9549
- type: "address"
9550
- },
9551
- {
9552
- internalType: "int24",
9553
- name: "tickSpacing",
9554
- type: "int24"
9555
- },
9556
- {
9557
- internalType: "int24",
9558
- name: "tickLower",
9559
- type: "int24"
9560
- },
9561
- {
9562
- internalType: "int24",
9563
- name: "tickUpper",
9564
- type: "int24"
9565
- },
9566
- {
9567
- internalType: "uint128",
9568
- name: "liquidity",
9569
- type: "uint128"
9570
- },
9571
- {
9572
- internalType: "uint256",
9573
- name: "feeGrowthInside0LastX128",
9574
- type: "uint256"
9575
- },
9576
- {
9577
- internalType: "uint256",
9578
- name: "feeGrowthInside1LastX128",
9579
- type: "uint256"
9580
- },
9581
- {
9582
- internalType: "uint128",
9583
- name: "tokensOwed0",
9584
- type: "uint128"
9585
- },
9586
- {
9587
- internalType: "uint128",
9588
- name: "tokensOwed1",
9589
- type: "uint128"
9590
- }
9591
- ],
9592
- stateMutability: "view",
9593
- type: "function"
9594
- },
9595
- {
9596
- inputs: [
9597
- ],
9598
- name: "refundETH",
9599
- outputs: [
9600
- ],
9601
- stateMutability: "payable",
9602
- type: "function"
9603
- },
9604
- {
9605
- inputs: [
9606
- {
9607
- internalType: "address",
9608
- name: "from",
9609
- type: "address"
9610
- },
9611
- {
9612
- internalType: "address",
9613
- name: "to",
9614
- type: "address"
9615
- },
9616
- {
9617
- internalType: "uint256",
9618
- name: "tokenId",
9619
- type: "uint256"
9620
- }
9621
- ],
9622
- name: "safeTransferFrom",
9623
- outputs: [
9624
- ],
9625
- stateMutability: "nonpayable",
9626
- type: "function"
9627
- },
9628
- {
9629
- inputs: [
9630
- {
9631
- internalType: "address",
9632
- name: "from",
9633
- type: "address"
9634
- },
9635
- {
9636
- internalType: "address",
9637
- name: "to",
9638
- type: "address"
9639
- },
9640
- {
9641
- internalType: "uint256",
9642
- name: "tokenId",
9643
- type: "uint256"
9644
- },
9645
- {
9646
- internalType: "bytes",
9647
- name: "data",
9648
- type: "bytes"
9649
- }
9650
- ],
9651
- name: "safeTransferFrom",
9652
- outputs: [
9653
- ],
9654
- stateMutability: "nonpayable",
9655
- type: "function"
9656
- },
9657
- {
9658
- inputs: [
9659
- {
9660
- internalType: "address",
9661
- name: "operator",
9662
- type: "address"
9663
- },
9664
- {
9665
- internalType: "bool",
9666
- name: "approved",
9667
- type: "bool"
9668
- }
9669
- ],
9670
- name: "setApprovalForAll",
9671
- outputs: [
9672
- ],
9673
- stateMutability: "nonpayable",
9674
- type: "function"
9675
- },
9676
- {
9677
- inputs: [
9678
- {
9679
- internalType: "address",
9680
- name: "_voter",
9681
- type: "address"
9682
- }
9683
- ],
9684
- name: "setVoter",
9685
- outputs: [
9686
- ],
9687
- stateMutability: "nonpayable",
9688
- type: "function"
9689
- },
9690
- {
9691
- inputs: [
9692
- {
9693
- internalType: "bytes4",
9694
- name: "interfaceId",
9695
- type: "bytes4"
9696
- }
9697
- ],
9698
- name: "supportsInterface",
9699
- outputs: [
9700
- {
9701
- internalType: "bool",
9702
- name: "",
9703
- type: "bool"
9704
- }
9705
- ],
9706
- stateMutability: "view",
9707
- type: "function"
9708
- },
9709
- {
9710
- inputs: [
9711
- {
9712
- internalType: "address",
9713
- name: "token",
9714
- type: "address"
9715
- },
9716
- {
9717
- internalType: "uint256",
9718
- name: "amountMinimum",
9719
- type: "uint256"
9720
- },
9721
- {
9722
- internalType: "address",
9723
- name: "recipient",
9724
- type: "address"
9725
- }
9726
- ],
9727
- name: "sweepToken",
9728
- outputs: [
9729
- ],
9730
- stateMutability: "payable",
9731
- type: "function"
9732
- },
9733
- {
9734
- inputs: [
9735
- ],
9736
- name: "symbol",
9737
- outputs: [
9738
- {
9739
- internalType: "string",
9740
- name: "",
9741
- type: "string"
9742
- }
9743
- ],
9744
- stateMutability: "view",
9745
- type: "function"
9746
- },
9747
- {
9748
- inputs: [
9749
- {
9750
- internalType: "uint256",
9751
- name: "index",
9752
- type: "uint256"
9753
- }
9754
- ],
9755
- name: "tokenByIndex",
9756
- outputs: [
9757
- {
9758
- internalType: "uint256",
9759
- name: "",
9760
- type: "uint256"
9761
- }
9762
- ],
9763
- stateMutability: "view",
9764
- type: "function"
9765
- },
9766
- {
9767
- inputs: [
9768
- {
9769
- internalType: "address",
9770
- name: "owner",
9771
- type: "address"
9772
- },
9773
- {
9774
- internalType: "uint256",
9775
- name: "index",
9776
- type: "uint256"
9777
- }
9778
- ],
9779
- name: "tokenOfOwnerByIndex",
9780
- outputs: [
9781
- {
9782
- internalType: "uint256",
9783
- name: "",
9784
- type: "uint256"
9785
- }
9786
- ],
9787
- stateMutability: "view",
9788
- type: "function"
9789
- },
9790
- {
9791
- inputs: [
9792
- {
9793
- internalType: "uint256",
9794
- name: "tokenId",
9795
- type: "uint256"
9796
- }
9797
- ],
9798
- name: "tokenURI",
9799
- outputs: [
9800
- {
9801
- internalType: "string",
9802
- name: "",
9803
- type: "string"
9804
- }
9805
- ],
9806
- stateMutability: "view",
9807
- type: "function"
9808
- },
9809
- {
9810
- inputs: [
9811
- ],
9812
- name: "totalSupply",
9813
- outputs: [
9814
- {
9815
- internalType: "uint256",
9816
- name: "",
9817
- type: "uint256"
9818
- }
9819
- ],
9820
- stateMutability: "view",
9821
- type: "function"
9822
- },
9823
- {
9824
- inputs: [
9825
- {
9826
- internalType: "address",
9827
- name: "from",
9828
- type: "address"
9829
- },
9830
- {
9831
- internalType: "address",
9832
- name: "to",
9833
- type: "address"
9834
- },
9835
- {
9836
- internalType: "uint256",
9837
- name: "tokenId",
9838
- type: "uint256"
9839
- }
9840
- ],
9841
- name: "transferFrom",
9842
- outputs: [
9843
- ],
9844
- stateMutability: "nonpayable",
9845
- type: "function"
9846
- },
9847
- {
9848
- inputs: [
9849
- {
9850
- internalType: "uint256",
9851
- name: "amount0Owed",
9852
- type: "uint256"
9853
- },
9854
- {
9855
- internalType: "uint256",
9856
- name: "amount1Owed",
9857
- type: "uint256"
9858
- },
9859
- {
9860
- internalType: "bytes",
9861
- name: "data",
9862
- type: "bytes"
9863
- }
9864
- ],
9865
- name: "uniswapV3MintCallback",
9866
- outputs: [
9867
- ],
9868
- stateMutability: "nonpayable",
9869
- type: "function"
9870
- },
9871
- {
9872
- inputs: [
9873
- {
9874
- internalType: "uint256",
9875
- name: "amountMinimum",
9876
- type: "uint256"
9877
- },
9878
- {
9879
- internalType: "address",
9880
- name: "recipient",
9881
- type: "address"
9882
- }
9883
- ],
9884
- name: "unwrapWETH9",
9885
- outputs: [
9886
- ],
9887
- stateMutability: "payable",
9888
- type: "function"
9889
- },
9890
- {
9891
- stateMutability: "payable",
9892
- type: "receive"
9893
- }
9894
- ];
9895
-
9896
8692
  var IRamsesNonfungiblePositionManager = [
9897
8693
  {
9898
8694
  anonymous: false,
@@ -10730,13 +9526,9 @@ function _getUniswapV3MintTxData() {
10730
9526
  mintParams.push(0);
10731
9527
  }
10732
9528
 
10733
- if (dapp === Dapp.SHADOWCL) {
10734
- iNonfungiblePositionManager = new ethers.utils.Interface(IShadowNonfungiblePositionManager);
10735
- }
10736
-
10737
9529
  return _context.abrupt("return", iNonfungiblePositionManager.encodeFunctionData(Transaction.MINT, [mintParams]));
10738
9530
 
10739
- case 30:
9531
+ case 29:
10740
9532
  case "end":
10741
9533
  return _context.stop();
10742
9534
  }
@@ -10758,7 +9550,7 @@ function _getUniswapV3Liquidity() {
10758
9550
  switch (_context2.prev = _context2.next) {
10759
9551
  case 0:
10760
9552
  iNonfungiblePositionManager = new ethers.Contract( // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
10761
- nonfungiblePositionManagerAddress[pool.network][dapp], dapp === Dapp.SHADOWCL ? IShadowNonfungiblePositionManager : INonfungiblePositionManager.abi, pool.signer);
9553
+ nonfungiblePositionManagerAddress[pool.network][dapp], INonfungiblePositionManager.abi, pool.signer);
10762
9554
  _context2.next = 3;
10763
9555
  return iNonfungiblePositionManager.positions(tokenId);
10764
9556
 
@@ -10788,7 +9580,7 @@ function _getIncreaseLiquidityTxData() {
10788
9580
  while (1) {
10789
9581
  switch (_context3.prev = _context3.next) {
10790
9582
  case 0:
10791
- if (!(dapp === Dapp.UNISWAPV3 || dapp === Dapp.VELODROMECL || dapp === Dapp.AERODROMECL || dapp === Dapp.RAMSESCL || dapp === Dapp.PANCAKECL || dapp === Dapp.SHADOWCL)) {
9583
+ if (!(dapp === Dapp.UNISWAPV3 || dapp === Dapp.VELODROMECL || dapp === Dapp.AERODROMECL || dapp === Dapp.RAMSESCL || dapp === Dapp.PANCAKECL)) {
10792
9584
  _context3.next = 15;
10793
9585
  break;
10794
9586
  }
@@ -10853,7 +9645,7 @@ function _getDecreaseLiquidityTxData() {
10853
9645
  amount = 100;
10854
9646
  }
10855
9647
 
10856
- if (!(dapp === Dapp.UNISWAPV3 || dapp === Dapp.VELODROMECL || dapp === Dapp.AERODROMECL || dapp === Dapp.RAMSESCL || dapp === Dapp.PANCAKECL || dapp === Dapp.SHADOWCL)) {
9648
+ if (!(dapp === Dapp.UNISWAPV3 || dapp === Dapp.VELODROMECL || dapp === Dapp.AERODROMECL || dapp === Dapp.RAMSESCL || dapp === Dapp.PANCAKECL)) {
10857
9649
  _context4.next = 23;
10858
9650
  break;
10859
9651
  }
@@ -11702,10 +10494,10 @@ var _networkPortMap;
11702
10494
 
11703
10495
  require("dotenv").config();
11704
10496
 
11705
- var networkPortMap = (_networkPortMap = {}, _networkPortMap[Network.POLYGON] = 8542, _networkPortMap[Network.OPTIMISM] = 8544, _networkPortMap[Network.ARBITRUM] = 8540, _networkPortMap[Network.BASE] = 8546, _networkPortMap[Network.SONIC] = 8547, _networkPortMap);
10497
+ var networkPortMap = (_networkPortMap = {}, _networkPortMap[Network.POLYGON] = 8542, _networkPortMap[Network.OPTIMISM] = 8544, _networkPortMap[Network.ARBITRUM] = 8540, _networkPortMap[Network.BASE] = 8546, _networkPortMap[Network.ETHEREUM] = 8547, _networkPortMap);
11706
10498
 
11707
10499
  var _TEST_POOL, _CONTRACT_ADDRESS, _USDC_BALANCEOF_SLOT, _WETH_BALANCEOF_SLOT;
11708
- var TEST_POOL = (_TEST_POOL = {}, _TEST_POOL[Network.POLYGON] = "0x699fd4d6eadb216704c7e355cfa0a12f51813163", _TEST_POOL[Network.OPTIMISM] = "0x12573bfdf764ab9d52aca20e2827497a66829716", _TEST_POOL[Network.ARBITRUM] = "0x0b5f6591c8eb23e5a68102d3d39ebbb464ee5c14", _TEST_POOL[Network.BASE] = "0x4842b42F68524383F609aa46eAfc18c1459cE3cD", _TEST_POOL[Network.SONIC] = "", _TEST_POOL);
10500
+ var TEST_POOL = (_TEST_POOL = {}, _TEST_POOL[Network.POLYGON] = "0x699fd4d6eadb216704c7e355cfa0a12f51813163", _TEST_POOL[Network.OPTIMISM] = "0x12573bfdf764ab9d52aca20e2827497a66829716", _TEST_POOL[Network.ARBITRUM] = "0x0b5f6591c8eb23e5a68102d3d39ebbb464ee5c14", _TEST_POOL[Network.BASE] = "0x4842b42F68524383F609aa46eAfc18c1459cE3cD", _TEST_POOL[Network.ETHEREUM] = "0xe8e74f664d2d6a919a18b911990db0979789b6f7", _TEST_POOL);
11709
10501
  var CONTRACT_ADDRESS = (_CONTRACT_ADDRESS = {}, _CONTRACT_ADDRESS[Network.POLYGON] = {
11710
10502
  USDC: "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
11711
10503
  USDT: "",
@@ -11786,11 +10578,11 @@ var CONTRACT_ADDRESS = (_CONTRACT_ADDRESS = {}, _CONTRACT_ADDRESS[Network.POLYGO
11786
10578
  VELO: "0x940181a94A35A4569E4529A3CDfB74e38FD98631",
11787
10579
  COMPOUNDV3_WETH: "",
11788
10580
  TOROS: ""
11789
- }, _CONTRACT_ADDRESS[Network.SONIC] = {
11790
- USDC: "0x29219dd400f2bf60e5a23d13be72b486d4038894",
10581
+ }, _CONTRACT_ADDRESS[Network.ETHEREUM] = {
10582
+ USDC: "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
11791
10583
  USDT: "",
11792
10584
  SUSD: "",
11793
- WETH: "0x50c42deacd8fc9773493ed674b675be577f2634b",
10585
+ WETH: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
11794
10586
  WBTC: "",
11795
10587
  SWETH: "",
11796
10588
  uniswapV3: {
@@ -11806,8 +10598,8 @@ var CONTRACT_ADDRESS = (_CONTRACT_ADDRESS = {}, _CONTRACT_ADDRESS[Network.POLYGO
11806
10598
  TOROS: "",
11807
10599
  UNIT: ""
11808
10600
  }, _CONTRACT_ADDRESS);
11809
- var USDC_BALANCEOF_SLOT = (_USDC_BALANCEOF_SLOT = {}, _USDC_BALANCEOF_SLOT[Network.OPTIMISM] = 9, _USDC_BALANCEOF_SLOT[Network.ARBITRUM] = 9, _USDC_BALANCEOF_SLOT[Network.POLYGON] = 0, _USDC_BALANCEOF_SLOT[Network.BASE] = 9, _USDC_BALANCEOF_SLOT[Network.SONIC] = 9, _USDC_BALANCEOF_SLOT);
11810
- var WETH_BALANCEOF_SLOT = (_WETH_BALANCEOF_SLOT = {}, _WETH_BALANCEOF_SLOT[Network.OPTIMISM] = 3, _WETH_BALANCEOF_SLOT[Network.ARBITRUM] = 51, _WETH_BALANCEOF_SLOT[Network.POLYGON] = 0, _WETH_BALANCEOF_SLOT[Network.BASE] = 0, _WETH_BALANCEOF_SLOT[Network.SONIC] = 0, _WETH_BALANCEOF_SLOT);
10601
+ var USDC_BALANCEOF_SLOT = (_USDC_BALANCEOF_SLOT = {}, _USDC_BALANCEOF_SLOT[Network.OPTIMISM] = 9, _USDC_BALANCEOF_SLOT[Network.ARBITRUM] = 9, _USDC_BALANCEOF_SLOT[Network.POLYGON] = 0, _USDC_BALANCEOF_SLOT[Network.BASE] = 9, _USDC_BALANCEOF_SLOT[Network.ETHEREUM] = 9, _USDC_BALANCEOF_SLOT);
10602
+ var WETH_BALANCEOF_SLOT = (_WETH_BALANCEOF_SLOT = {}, _WETH_BALANCEOF_SLOT[Network.OPTIMISM] = 3, _WETH_BALANCEOF_SLOT[Network.ARBITRUM] = 51, _WETH_BALANCEOF_SLOT[Network.POLYGON] = 0, _WETH_BALANCEOF_SLOT[Network.BASE] = 0, _WETH_BALANCEOF_SLOT[Network.ETHEREUM] = 3, _WETH_BALANCEOF_SLOT);
11811
10603
 
11812
10604
  var wait = function wait(seconds) {
11813
10605
  return new Promise(function (resolve) {
@@ -27853,7 +26645,7 @@ var Pool = /*#__PURE__*/function () {
27853
26645
 
27854
26646
  isStaked = false;
27855
26647
  _context32.t0 = dapp;
27856
- _context32.next = _context32.t0 === Dapp.UNISWAPV3 ? 7 : _context32.t0 === Dapp.RAMSESCL ? 7 : _context32.t0 === Dapp.SHADOWCL ? 7 : _context32.t0 === Dapp.VELODROMECL ? 9 : _context32.t0 === Dapp.AERODROMECL ? 9 : _context32.t0 === Dapp.PANCAKECL ? 9 : _context32.t0 === Dapp.ARRAKIS ? 14 : 16;
26648
+ _context32.next = _context32.t0 === Dapp.UNISWAPV3 ? 7 : _context32.t0 === Dapp.RAMSESCL ? 7 : _context32.t0 === Dapp.VELODROMECL ? 9 : _context32.t0 === Dapp.AERODROMECL ? 9 : _context32.t0 === Dapp.PANCAKECL ? 9 : _context32.t0 === Dapp.ARRAKIS ? 14 : 16;
27857
26649
  break;
27858
26650
 
27859
26651
  case 7:
@@ -27954,7 +26746,7 @@ var Pool = /*#__PURE__*/function () {
27954
26746
 
27955
26747
  isStaked = false;
27956
26748
  _context33.t0 = dapp;
27957
- _context33.next = _context33.t0 === Dapp.UNISWAPV3 ? 6 : _context33.t0 === Dapp.RAMSESCL ? 6 : _context33.t0 === Dapp.SHADOWCL ? 6 : _context33.t0 === Dapp.VELODROMECL ? 8 : _context33.t0 === Dapp.AERODROMECL ? 8 : _context33.t0 === Dapp.PANCAKECL ? 8 : _context33.t0 === Dapp.ARRAKIS ? 13 : 15;
26749
+ _context33.next = _context33.t0 === Dapp.UNISWAPV3 ? 6 : _context33.t0 === Dapp.RAMSESCL ? 6 : _context33.t0 === Dapp.VELODROMECL ? 8 : _context33.t0 === Dapp.AERODROMECL ? 8 : _context33.t0 === Dapp.PANCAKECL ? 8 : _context33.t0 === Dapp.ARRAKIS ? 13 : 15;
27958
26750
  break;
27959
26751
 
27960
26752
  case 6:
@@ -28053,7 +26845,7 @@ var Pool = /*#__PURE__*/function () {
28053
26845
 
28054
26846
  iNonfungiblePositionManager = new ethers.utils.Interface(INonfungiblePositionManager.abi);
28055
26847
  _context34.t0 = dapp;
28056
- _context34.next = _context34.t0 === Dapp.UNISWAPV3 ? 6 : _context34.t0 === Dapp.RAMSESCL ? 6 : _context34.t0 === Dapp.SHADOWCL ? 6 : _context34.t0 === Dapp.ARRAKIS ? 9 : _context34.t0 === Dapp.BALANCER ? 9 : _context34.t0 === Dapp.VELODROME ? 13 : _context34.t0 === Dapp.RAMSES ? 13 : _context34.t0 === Dapp.VELODROMEV2 ? 16 : _context34.t0 === Dapp.AERODROME ? 16 : _context34.t0 === Dapp.VELODROMECL ? 19 : _context34.t0 === Dapp.AERODROMECL ? 19 : _context34.t0 === Dapp.PANCAKECL ? 19 : 24;
26848
+ _context34.next = _context34.t0 === Dapp.UNISWAPV3 ? 6 : _context34.t0 === Dapp.RAMSESCL ? 6 : _context34.t0 === Dapp.ARRAKIS ? 9 : _context34.t0 === Dapp.BALANCER ? 9 : _context34.t0 === Dapp.VELODROME ? 13 : _context34.t0 === Dapp.RAMSES ? 13 : _context34.t0 === Dapp.VELODROMEV2 ? 16 : _context34.t0 === Dapp.AERODROME ? 16 : _context34.t0 === Dapp.VELODROMECL ? 19 : _context34.t0 === Dapp.AERODROMECL ? 19 : _context34.t0 === Dapp.PANCAKECL ? 19 : 24;
28057
26849
  break;
28058
26850
 
28059
26851
  case 6:
@@ -28140,7 +26932,7 @@ var Pool = /*#__PURE__*/function () {
28140
26932
  /*#__PURE__*/
28141
26933
  function () {
28142
26934
  var _getRewards = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee35(dapp, tokenId, rewards, options, estimateGas) {
28143
- var claimAddress, tx;
26935
+ var tx;
28144
26936
  return runtime_1.wrap(function _callee35$(_context35) {
28145
26937
  while (1) {
28146
26938
  switch (_context35.prev = _context35.next) {
@@ -28153,16 +26945,14 @@ var Pool = /*#__PURE__*/function () {
28153
26945
  estimateGas = false;
28154
26946
  }
28155
26947
 
28156
- claimAddress = dapp === Dapp.SHADOWCL ? stakingAddress[this.network][dapp] //specific for wS/USDC CL
28157
- : nonfungiblePositionManagerAddress[this.network][dapp];
28158
- _context35.next = 5;
28159
- return getPoolTxOrGasEstimate(this, [claimAddress, getRewardsTxDta(tokenId, rewards), options], estimateGas);
26948
+ _context35.next = 4;
26949
+ return getPoolTxOrGasEstimate(this, [nonfungiblePositionManagerAddress[this.network][dapp], getRewardsTxDta(tokenId, rewards), options], estimateGas);
28160
26950
 
28161
- case 5:
26951
+ case 4:
28162
26952
  tx = _context35.sent;
28163
26953
  return _context35.abrupt("return", tx);
28164
26954
 
28165
- case 7:
26955
+ case 6:
28166
26956
  case "end":
28167
26957
  return _context35.stop();
28168
26958
  }