Network:mainnet - contract:mpdao-vote.near - bot account:meta-pool-dao-7.near Balance 225.9265 -
2026-07-09 12:57:03:623: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:03:624: 429 too many requests, sleeping 750 and RETRY # 2
2026-07-09 12:57:05:012: 0.005419 mpDAO/USDT Uniswap v3 spot price using sqrtPriceX96
2026-07-09 12:57:05:155: 0.000003104287669556 mpDAO/WETH Uniswap v3 spot price using sqrtPriceX96
2026-07-09 12:57:05:155: 0.0054 mpDAO/wETH price converted to usd
2026-07-09 12:57:05:216: Simulated sell: 10000 mpDAO -> 17.776970803456628 stNEAR, effective price: 0.0017776970803456628 mpDAO/stNEAR
2026-07-09 12:57:05:313: Simulated sell: 10000 mpDAO -> 17.776970803456628 stNEAR, effective price: 0.0017776970803456628 mpDAO/stNEAR
2026-07-09 12:57:05:323: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:05:323: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:05:585: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:05:585: 429 too many requests, sleeping 750 and RETRY # 2
2026-07-09 12:57:06:398: Simulated sell: 17.776970803456628 stNEAR -> 26.538837542066492 wNEAR, effective price: 1.4928773768873025 stNEAR/wNEAR
2026-07-09 12:57:06:411: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:06:411: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:06:674: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:06:674: 429 too many requests, sleeping 750 and RETRY # 2
2026-07-09 12:57:07:480: Simulated sell: 26.538837542066492 wNEAR -> 50.663808 USDT, effective price: 1.909044 wNEAR/USDT
2026-07-09 12:57:07:481: 0.005066 Effective mpDAO Ref price (if Sell 10k mpDAO->USDT)
2026-07-09 12:57:07:661: {
2026-07-09 12:57:07:661: nearUsd: 1.913512,
2026-07-09 12:57:07:661: stNearNear: 1.4946034742607501,
2026-07-09 12:57:07:661: stNearUsd: 2.8599416832396365,
2026-07-09 12:57:07:661: rheaMpDaoStNear: 0.0017776970803456628,
2026-07-09 12:57:07:661: rheaMpDaoStNearAsUsd: 0.005084109980253962,
2026-07-09 12:57:07:661: refMetaUsdtE: 0.005066,
2026-07-09 12:57:07:662: mpDaoUsdtOnEthMain: 0.005419,
2026-07-09 12:57:07:662: mpDaoWEthOnUniswap: 0.000003104287669556,
2026-07-09 12:57:07:662: mpDaoWEthOnUniswapAsUsd: 0.0054,
2026-07-09 12:57:07:662: mpDaoTwap20d: 0.007488,
2026-07-09 12:57:07:662: mpDaoTwap5d: 0.005407,
2026-07-09 12:57:07:662: stUsdMp: 1,
2026-07-09 12:57:07:662: mpSolSolTrue: 1.189281939,
2026-07-09 12:57:07:662: mpSolSolOnJupiter: 1.1498282823446582,
2026-07-09 12:57:07:662: mpSolUsdOnJupiter: 93.58506858437322,
2026-07-09 12:57:07:662: solUsdOnJupiter: 77.50334204013598
2026-07-09 12:57:07:662: }
2026-07-09 12:57:07:670: -------------------------------
2026-07-09 12:57:07:670: meta-pool-dao-7.near Balance: 225.9265 NEAR, 1765.7198 stNEAR, 1408.013975 mpDAO
2026-07-09 12:57:07:766: Epoch ends in 0h 34m hs
2026-07-09 12:57:07:767: --- computeBuybackVars ---
2026-07-09 12:57:07:768: monthlyFeesStNear 5,640.00
2026-07-09 12:57:07:768: annualFeesStNear 67,680.00
2026-07-09 12:57:07:768: stNear/usd $2.859942
2026-07-09 12:57:07:768: annualFees as usd $193,560.85
2026-07-09 12:57:07:782: totalLockedMpDao 241,726,834.53
2026-07-09 12:57:07:782: mpDaoTwap20d $0.007488
2026-07-09 12:57:07:782: targetApy 10%
2026-07-09 12:57:07:782: floorPrice $0.008007
2026-07-09 12:57:07:800: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:07:800: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:08:205: ------
2026-07-09 12:57:08:205: to consider migrations,
2026-07-09 12:57:08:205: top up mpDAO amount at contract: mpdao-vote.near
2026-07-09 12:57:08:205: get all voters to compute required mpDAO
2026-07-09 12:57:08:209: locked 239,249,319.18 unlocking 40,245,463.84 unlocked 2,080,416.76
2026-07-09 12:57:08:220: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:08:220: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:08:481: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:08:481: 429 too many requests, sleeping 750 and RETRY # 2
2026-07-09 12:57:09:314: required mpDAO in the contract 281,575,199.7865 mpDAO
2026-07-09 12:57:09:326: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:09:326: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:09:590: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:09:591: 429 too many requests, sleeping 750 and RETRY # 2
2026-07-09 12:57:10:395: mpDAO in the contract 284,060,651.4554 mpDAO
2026-07-09 12:57:10:395: delta|extraRequired -2,485,451.6689 mpDAO
2026-07-09 12:57:10:596: Story val-rewards-address 0x4bD26DC30305ae1130EED11B41c675909Eb8f08a balance 0.099997899999349010 IP
2026-07-09 12:57:10:596: Story validator rewards balance is low, skipping injection
2026-07-09 12:57:10:631: Story val-rewards-balance 0.099997899999349010 IP
2026-07-09 12:57:10:632: No surplus to move to treasury (0.000000000000000000 IP <= 1 IP)
2026-07-09 12:57:10:632: --- BuybackMpDaoOnRef ---
2026-07-09 12:57:10:642: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:10:642: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:10:904: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:10:905: 429 too many requests, sleeping 750 and RETRY # 2
2026-07-09 12:57:11:709: meta-pool-dao-7.near mpDAO balance: 1408.01
2026-07-09 12:57:11:709: maxToSpendStNear 871.07, totalSpentThisMonth 4004.32, remainderToSpendStNear -3133.25
2026-07-09 12:57:11:709: db: near-mainnet-pool
2026-07-09 12:57:12:039: DB version: 4
2026-07-09 12:57:12:039: DB tables version: 4 for code: buyback-bot
2026-07-09 12:57:12:080: Inserted 1 rows into buyback_grafana
2026-07-09 12:57:12:080: saved in table buyback_grafana {
2026-07-09 12:57:12:080: time: '2026-07-09T15:57:10.632Z',
2026-07-09 12:57:12:080: total_stnear_spent_month: 4004.3172999999997,
2026-07-09 12:57:12:080: total_mpdao_bought_month: 1389.534858,
2026-07-09 12:57:12:080: stnear_usd_price: 2.8599416832396365,
2026-07-09 12:57:12:080: mpdao_stnear_usd_price: 0.005084109980253962,
2026-07-09 12:57:12:080: price_impact: 0,
2026-07-09 12:57:12:080: note: 'remainder -3133.25 < 0.1, no buyback'
2026-07-09 12:57:12:080: }
2026-07-09 12:57:12:828: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:12:828: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:13:229: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:13:230: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:13:494: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:13:495: 429 too many requests, sleeping 750 and RETRY # 2
2026-07-09 12:57:14:397: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:14:398: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:14:657: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:14:657: 429 too many requests, sleeping 750 and RETRY # 2
2026-07-09 12:57:15:472: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:15:472: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:15:733: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:15:733: 429 too many requests, sleeping 750 and RETRY # 2
2026-07-09 12:57:16:622: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:16:623: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:16:885: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:16:886: 429 too many requests, sleeping 750 and RETRY # 2
2026-07-09 12:57:17:757: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:17:757: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:18:070: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:18:070: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:18:333: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:18:334: 429 too many requests, sleeping 750 and RETRY # 2
2026-07-09 12:57:19:220: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:19:220: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:19:482: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:19:483: 429 too many requests, sleeping 750 and RETRY # 2
2026-07-09 12:57:20:359: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:20:359: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:20:620: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:20:620: 429 too many requests, sleeping 750 and RETRY # 2
2026-07-09 12:57:21:470: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:21:471: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:21:732: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:21:733: 429 too many requests, sleeping 750 and RETRY # 2
2026-07-09 12:57:22:605: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:22:605: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:22:866: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:22:866: 429 too many requests, sleeping 750 and RETRY # 2
2026-07-09 12:57:23:744: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:23:744: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:24:005: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:24:005: 429 too many requests, sleeping 750 and RETRY # 2
2026-07-09 12:57:24:851: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:24:851: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:25:227: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:25:228: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:25:490: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:25:491: 429 too many requests, sleeping 750 and RETRY # 2
2026-07-09 12:57:26:366: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:26:366: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:26:625: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:26:626: 429 too many requests, sleeping 750 and RETRY # 2
2026-07-09 12:57:27:449: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:27:450: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:27:711: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:27:711: 429 too many requests, sleeping 750 and RETRY # 2
2026-07-09 12:57:28:602: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:28:602: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:28:865: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:28:865: 429 too many requests, sleeping 750 and RETRY # 2
2026-07-09 12:57:29:774: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:29:775: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:30:096: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:30:096: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:30:356: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:30:356: 429 too many requests, sleeping 750 and RETRY # 2
2026-07-09 12:57:31:246: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:31:247: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:31:507: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:31:507: 429 too many requests, sleeping 750 and RETRY # 2
2026-07-09 12:57:32:396: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:32:397: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:32:657: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:32:658: 429 too many requests, sleeping 750 and RETRY # 2
2026-07-09 12:57:33:504: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:33:505: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:33:766: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:33:766: 429 too many requests, sleeping 750 and RETRY # 2
2026-07-09 12:57:34:670: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:34:670: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:34:933: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:34:933: 429 too many requests, sleeping 750 and RETRY # 2
2026-07-09 12:57:35:836: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:35:836: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:36:184: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:36:184: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:36:446: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:36:446: 429 too many requests, sleeping 750 and RETRY # 2
2026-07-09 12:57:37:341: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:37:341: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:37:603: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:37:603: 429 too many requests, sleeping 750 and RETRY # 2
2026-07-09 12:57:38:485: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:38:485: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:38:745: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:38:745: 429 too many requests, sleeping 750 and RETRY # 2
2026-07-09 12:57:39:561: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:39:561: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:39:823: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:39:824: 429 too many requests, sleeping 750 and RETRY # 2
2026-07-09 12:57:40:699: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:40:699: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:40:960: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:40:961: 429 too many requests, sleeping 750 and RETRY # 2
2026-07-09 12:57:41:837: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:41:838: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:42:156: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:42:156: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:42:415: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:42:415: 429 too many requests, sleeping 750 and RETRY # 2
2026-07-09 12:57:43:324: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:43:324: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:43:586: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:43:587: 429 too many requests, sleeping 750 and RETRY # 2
2026-07-09 12:57:44:480: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:44:480: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:44:741: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:44:741: 429 too many requests, sleeping 750 and RETRY # 2
2026-07-09 12:57:45:559: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:45:560: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:45:820: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:45:820: 429 too many requests, sleeping 750 and RETRY # 2
2026-07-09 12:57:46:725: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:46:725: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:46:987: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:46:987: 429 too many requests, sleeping 750 and RETRY # 2
2026-07-09 12:57:47:875: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:47:875: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:48:194: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:48:194: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:48:455: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:48:455: 429 too many requests, sleeping 750 and RETRY # 2
2026-07-09 12:57:49:391: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:49:391: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:49:653: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:49:653: 429 too many requests, sleeping 750 and RETRY # 2
2026-07-09 12:57:50:555: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:50:555: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:50:819: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:50:819: 429 too many requests, sleeping 750 and RETRY # 2
2026-07-09 12:57:51:638: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:51:638: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:51:898: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:51:898: 429 too many requests, sleeping 750 and RETRY # 2
2026-07-09 12:57:52:773: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:52:773: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:53:143: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:53:143: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:53:403: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:53:404: 429 too many requests, sleeping 750 and RETRY # 2
2026-07-09 12:57:54:254: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:54:254: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:54:513: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:54:513: 429 too many requests, sleeping 750 and RETRY # 2
2026-07-09 12:57:55:435: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:55:435: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:55:696: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:55:697: 429 too many requests, sleeping 750 and RETRY # 2
2026-07-09 12:57:56:577: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:56:577: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:56:836: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:56:836: 429 too many requests, sleeping 750 and RETRY # 2
2026-07-09 12:57:57:663: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:57:663: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:57:923: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:57:923: 429 too many requests, sleeping 750 and RETRY # 2
2026-07-09 12:57:58:806: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:58:806: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:59:145: mirrorEvmVoteLockers result: 80 equal, 0 mirrored
2026-07-09 12:57:59:146: updateBuyAndLockMpdaoPrices at: mpdao-vote.near
2026-07-09 12:57:59:147: NEAR: $1.913512 / $0.005066 = 377.716542 mpDAO per NEAR
2026-07-09 12:57:59:147: stNEAR: $2.8599416832396365 / $0.005066 = 564.536455 mpDAO per stNEAR
2026-07-09 12:57:59:147: USDT: $1 / $0.005066 = 197.394394 mpDAO per USDT
2026-07-09 12:57:59:147: USDC: $1 / $0.005066 = 197.394394 mpDAO per USDC
2026-07-09 12:57:59:147: voteContract.update_mpdao_prices
2026-07-09 12:57:59:270: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:59:270: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 12:57:59:531: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 12:57:59:531: 429 too many requests, sleeping 750 and RETRY # 2
2026-07-09 12:58:02:361: Uniswap arbitrage: uniswap mpDAO/USD=$0.005419, rhea mpDAO/USD=$0.005084, delta=6.59%
2026-07-09 12:58:02:361: mpDAO is 6.59% more expensive on Uniswap, direction: SELL
2026-07-09 12:58:02:361: direction: sell on uniswap, uniswap price: $0.0054, rhea price: $0.01
2026-07-09 12:58:02:361: uniswap arb last operation: sell mpDAO 70503.21670900006 ($382.06), 2026-03-30T09:03:46.380Z, 2430.9h ago
2026-07-09 12:58:02:870: account 0x004e34f47e8C64004087f27D7a62d17513A46E5e Balance USDT: 21300.304991, mpDAO: 1375488.710393
2026-07-09 12:58:02:870: use account {"accountId":"0x004e34f47e8C64004087f27D7a62d17513A46E5e","lastOperation":{"direction":"sell","dateISO":"2026-03-30T09:03:46.380Z","token":"mpDAO","amount":70503.21670900006},"balanceStNear":0,"balanceMpDao":2018310.927876,"lastBuyMpDaoPriceImpactPct":1.9166,"lastSellMpDaoPriceImpactPct":-1.9477,"balanceUsdt":15039.266822,"balanceUpdatedIsoDateTime":"2026-07-09T15:58:02.869Z","balances":{"stNear":0,"mpDao":1375488.710393,"usdt":21300.304991,"sol":0,"mpSol":0}}
2026-07-09 12:58:02:870: Arb estimate: midPrice=$0.005252, move Uniswap from $0.005419 toward $0.005252 (3.09% change needed)
2026-07-09 12:58:02:870: ---- start getUniswapV3Quote ----
2026-07-09 12:58:02:870: Uniswap v3 quoteExactInputSingle 36907.178446 mpDAO -> USDT
2026-07-09 12:58:02:870: pool: mpDAO-USDT/fee:1%
2026-07-09 12:58:02:871: calling quoterV2Contract.quoteExactInputSingle
2026-07-09 12:58:02:926: ---
2026-07-09 12:58:02:927: gasEstimate 99664
2026-07-09 12:58:03:109: Max fee per gas: 0.147841067 Gwei
2026-07-09 12:58:03:109: Fallback gasPrice: 0.07382442 Gwei
2026-07-09 12:58:03:109: Max priority fee per gas: 0.000192227 Gwei
2026-07-09 12:58:03:109: Gas cost: 14734432101488 wei (0.000014734432101488 ETH)
2026-07-09 12:58:03:109: Gas cost: 0.026 USD
2026-07-09 12:58:03:109: ---
2026-07-09 12:58:03:109: in 36907.178446 mpDAO, out 180.488284 USDT
2026-07-09 12:58:03:109: Effective price: 1 mpDAO = 0.004890 USDT
2026-07-09 12:58:03:109: Effective price: 1 USDT = 204.485176 mpDAO
2026-07-09 12:58:03:109: price after 0.004502
2026-07-09 12:58:03:109: --- end getUniswapV3Quote ---
2026-07-09 12:58:03:110: Estimated slippage 8.76% exceeds 5%, skipping trade to avoid high price impact
2026-07-09 12:58:03:109: Arb estimate: ref $200 → 9.756% total impact (1.0% fee + 8.756% slippage), pool moves ~8.7559% per $100
2026-07-09 12:58:03:110: Arb estimate: $35.29 needed (capped at $800.00)
2026-07-09 12:58:03:271: mpSOL/SOL true contract price : 1.189281939
2026-07-09 12:58:03:271: mpSOL/SOL Jupiter quoted price: 1.149828282
2026-07-09 12:58:03:271: SOL/USD (Jupiter): $77.5167
2026-07-09 12:58:03:271: mpSOL/USD (Jupiter): $93.5851
2026-07-09 12:58:03:271: mpSOL price delta (Jupiter vs contract): -3.3174%
2026-07-09 12:58:03:271: mpSOL is 3.3174% underpriced on Jupiter, direction: BUY mpSOL
2026-07-09 12:58:03:271: mpSOL arb interval not elapsed yet (last: 2026-07-09T15:46:15.571Z), skipping
2026-07-09 12:58:03:271: Last buyback already matched and processed, skipping
2026-07-09 12:58:03:272: next beat in 538 seconds (~8 minutes)
2026-07-09 13:07:02:060: --------------------------------------------------------------------------------
2026-07-09 13:07:02:060: Thu Jul 09 2026 13:07:02 GMT-0300 (Argentina Standard Time)
2026-07-09 13:07:02:060: BEAT 2 (129640)
2026-07-09 13:07:07:743: Error: request timeout (code=TIMEOUT, version=6.13.5)
2026-07-09 13:07:07:743: at makeError (/home/metapool/repos/metapool/buyback-bot/node_modules/ethers/src.ts/utils/errors.ts:694:21)
2026-07-09 13:07:07:743: at ClientRequest. (/home/metapool/repos/metapool/buyback-bot/node_modules/ethers/src.ts/utils/geturl.ts:66:33)
2026-07-09 13:07:07:743: at ClientRequest.emit (node:events:508:28)
2026-07-09 13:07:07:743: at TLSSocket.emitRequestTimeout (node:_http_client:927:9)
2026-07-09 13:07:07:743: at Object.onceWrapper (node:events:622:28)
2026-07-09 13:07:07:743: at TLSSocket.emit (node:events:520:35)
2026-07-09 13:07:07:743: at TLSSocket.Socket._onTimeout (node:net:604:8)
2026-07-09 13:07:07:743: at listOnTimeout (node:internal/timers:605:17)
2026-07-09 13:07:07:743: at processTimers (node:internal/timers:541:7) {
2026-07-09 13:07:07:743: code: 'TIMEOUT',
2026-07-09 13:07:07:743: shortMessage: 'request timeout'
2026-07-09 13:07:07:743: }
2026-07-09 13:07:07:743: mpDAO USDT price on Eth Main has a big difference vs last price: 0.005419 USD, current: 0.033 USD, diff: 508.97% - using last price
2026-07-09 13:07:07:913: 0.000003104287669556 mpDAO/WETH Uniswap v3 spot price using sqrtPriceX96
2026-07-09 13:07:07:914: 0.005401 mpDAO/wETH price converted to usd
2026-07-09 13:07:08:109: Simulated sell: 10000 mpDAO -> 17.776970803456628 stNEAR, effective price: 0.0017776970803456628 mpDAO/stNEAR
2026-07-09 13:07:08:186: Simulated sell: 10000 mpDAO -> 17.776970803456628 stNEAR, effective price: 0.0017776970803456628 mpDAO/stNEAR
2026-07-09 13:07:08:314: Simulated sell: 17.776970803456628 stNEAR -> 26.538837542066492 wNEAR, effective price: 1.4928773768873025 stNEAR/wNEAR
2026-07-09 13:07:08:422: Simulated sell: 26.538837542066492 wNEAR -> 50.826546 USDT, effective price: 1.915176 wNEAR/USDT
2026-07-09 13:07:08:422: 0.005083 Effective mpDAO Ref price (if Sell 10k mpDAO->USDT)
2026-07-09 13:07:08:661: {
2026-07-09 13:07:08:661: nearUsd: 1.914111,
2026-07-09 13:07:08:661: stNearNear: 1.4946034742607501,
2026-07-09 13:07:08:661: stNearUsd: 2.8608369507207185,
2026-07-09 13:07:08:661: rheaMpDaoStNear: 0.0017776970803456628,
2026-07-09 13:07:08:661: rheaMpDaoStNearAsUsd: 0.005085701494641211,
2026-07-09 13:07:08:661: refMetaUsdtE: 0.005083,
2026-07-09 13:07:08:661: mpDaoUsdtOnEthMain: 0.005419,
2026-07-09 13:07:08:661: mpDaoWEthOnUniswap: 0.000003104287669556,
2026-07-09 13:07:08:661: mpDaoWEthOnUniswapAsUsd: 0.005401,
2026-07-09 13:07:08:661: mpDaoTwap20d: 0.007488,
2026-07-09 13:07:08:661: mpDaoTwap5d: 0.005407,
2026-07-09 13:07:08:661: stUsdMp: 1,
2026-07-09 13:07:08:661: mpSolSolTrue: 1.189281939,
2026-07-09 13:07:08:661: mpSolSolOnJupiter: 1.1498282823446582,
2026-07-09 13:07:08:661: mpSolUsdOnJupiter: 93.58506858437322,
2026-07-09 13:07:08:661: solUsdOnJupiter: 77.57232273054792
2026-07-09 13:07:08:661: }
2026-07-09 13:07:08:733: -------------------------------
2026-07-09 13:07:08:733: meta-pool-dao-7.near Balance: 225.9265 NEAR, 1765.7198 stNEAR, 1408.013975 mpDAO
2026-07-09 13:07:08:865: Epoch ends in 0h 23m hs
2026-07-09 13:07:08:866: --- computeBuybackVars ---
2026-07-09 13:07:08:866: monthlyFeesStNear 5,640.00
2026-07-09 13:07:08:866: annualFeesStNear 67,680.00
2026-07-09 13:07:08:866: stNear/usd $2.860837
2026-07-09 13:07:08:866: annualFees as usd $193,621.44
2026-07-09 13:07:08:888: totalLockedMpDao 241,726,834.53
2026-07-09 13:07:08:888: mpDaoTwap20d $0.007488
2026-07-09 13:07:08:888: targetApy 10%
2026-07-09 13:07:08:888: floorPrice $0.008010
2026-07-09 13:07:09:550: Story val-rewards-address 0x4bD26DC30305ae1130EED11B41c675909Eb8f08a balance 0.099997899999349010 IP
2026-07-09 13:07:09:550: Story validator rewards balance is low, skipping injection
2026-07-09 13:07:09:631: Story val-rewards-balance 0.099997899999349010 IP
2026-07-09 13:07:09:631: No surplus to move to treasury (0.000000000000000000 IP <= 1 IP)
2026-07-09 13:07:09:631: --- BuybackMpDaoOnRef ---
2026-07-09 13:07:09:723: meta-pool-dao-7.near mpDAO balance: 1408.01
2026-07-09 13:07:09:723: maxToSpendStNear 871.07, totalSpentThisMonth 4004.32, remainderToSpendStNear -3133.25
2026-07-09 13:07:09:724: db: near-mainnet-pool
2026-07-09 13:07:10:059: DB version: 4
2026-07-09 13:07:10:059: DB tables version: 4 for code: buyback-bot
2026-07-09 13:07:10:099: Inserted 1 rows into buyback_grafana
2026-07-09 13:07:10:099: saved in table buyback_grafana {
2026-07-09 13:07:10:099: time: '2026-07-09T16:07:09.631Z',
2026-07-09 13:07:10:099: total_stnear_spent_month: 4004.3172999999997,
2026-07-09 13:07:10:099: total_mpdao_bought_month: 1389.534858,
2026-07-09 13:07:10:099: stnear_usd_price: 2.8608369507207185,
2026-07-09 13:07:10:099: mpdao_stnear_usd_price: 0.005085701494641211,
2026-07-09 13:07:10:099: price_impact: 0,
2026-07-09 13:07:10:099: note: 'remainder -3133.25 < 0.1, no buyback'
2026-07-09 13:07:10:099: }
2026-07-09 13:07:16:846: mirrorEvmVoteLockers result: 80 equal, 0 mirrored
2026-07-09 13:07:16:846: updateBuyAndLockMpdaoPrices at: mpdao-vote.near
2026-07-09 13:07:16:846: NEAR: $1.914111 / $0.005083 = 376.571119 mpDAO per NEAR
2026-07-09 13:07:16:846: stNEAR: $2.8608369507207185 / $0.005083 = 562.824503 mpDAO per stNEAR
2026-07-09 13:07:16:846: USDT: $1 / $0.005083 = 196.734212 mpDAO per USDT
2026-07-09 13:07:16:846: USDC: $1 / $0.005083 = 196.734212 mpDAO per USDC
2026-07-09 13:07:16:847: voteContract.update_mpdao_prices
2026-07-09 13:07:19:146: Uniswap arbitrage: uniswap mpDAO/USD=$0.005419, rhea mpDAO/USD=$0.005086, delta=6.55%
2026-07-09 13:07:19:146: mpDAO is 6.55% more expensive on Uniswap, direction: SELL
2026-07-09 13:07:19:146: direction: sell on uniswap, uniswap price: $0.0054, rhea price: $0.01
2026-07-09 13:07:19:146: uniswap arb last operation: sell mpDAO 70503.21670900006 ($382.06), 2026-03-30T09:03:46.380Z, 2431.1h ago
2026-07-09 13:07:19:497: account 0x004e34f47e8C64004087f27D7a62d17513A46E5e Balance USDT: 21300.304991, mpDAO: 1375488.710393
2026-07-09 13:07:19:497: use account {"accountId":"0x004e34f47e8C64004087f27D7a62d17513A46E5e","lastOperation":{"direction":"sell","dateISO":"2026-03-30T09:03:46.380Z","token":"mpDAO","amount":70503.21670900006},"balanceStNear":0,"balanceMpDao":2018310.927876,"lastBuyMpDaoPriceImpactPct":1.9166,"lastSellMpDaoPriceImpactPct":-1.9477,"balanceUsdt":15039.266822,"balanceUpdatedIsoDateTime":"2026-07-09T16:07:19.497Z","balances":{"stNear":0,"mpDao":1375488.710393,"usdt":21300.304991,"sol":0,"mpSol":0}}
2026-07-09 13:07:19:497: Arb estimate: midPrice=$0.005252, move Uniswap from $0.005419 toward $0.005252 (3.08% change needed)
2026-07-09 13:07:19:497: ---- start getUniswapV3Quote ----
2026-07-09 13:07:19:497: Uniswap v3 quoteExactInputSingle 36907.178446 mpDAO -> USDT
2026-07-09 13:07:19:497: pool: mpDAO-USDT/fee:1%
2026-07-09 13:07:19:498: calling quoterV2Contract.quoteExactInputSingle
2026-07-09 13:07:19:549: ---
2026-07-09 13:07:19:549: gasEstimate 99664
2026-07-09 13:07:20:254: Max fee per gas: 0.244587863 Gwei
2026-07-09 13:07:20:254: Fallback gasPrice: 0.122197818 Gwei
2026-07-09 13:07:20:254: Max priority fee per gas: 0.000192227 Gwei
2026-07-09 13:07:20:254: Gas cost: 24376604778032 wei (0.000024376604778032 ETH)
2026-07-09 13:07:20:254: Gas cost: 0.042 USD
2026-07-09 13:07:20:254: ---
2026-07-09 13:07:20:254: in 36907.178446 mpDAO, out 180.488284 USDT
2026-07-09 13:07:20:254: Effective price: 1 mpDAO = 0.004890 USDT
2026-07-09 13:07:20:254: Effective price: 1 USDT = 204.485176 mpDAO
2026-07-09 13:07:20:254: price after 0.004502
2026-07-09 13:07:20:254: --- end getUniswapV3Quote ---
2026-07-09 13:07:20:255: Estimated slippage 8.76% exceeds 5%, skipping trade to avoid high price impact
2026-07-09 13:07:20:254: Arb estimate: ref $200 → 9.756% total impact (1.0% fee + 8.756% slippage), pool moves ~8.7559% per $100
2026-07-09 13:07:20:254: Arb estimate: $35.12 needed (capped at $800.00)
2026-07-09 13:07:20:376: mpSOL/SOL true contract price : 1.189281939
2026-07-09 13:07:20:377: mpSOL/SOL Jupiter quoted price: 1.149828282
2026-07-09 13:07:20:377: SOL/USD (Jupiter): $77.5667
2026-07-09 13:07:20:377: mpSOL/USD (Jupiter): $93.5851
2026-07-09 13:07:20:377: mpSOL price delta (Jupiter vs contract): -3.3174%
2026-07-09 13:07:20:377: mpSOL is 3.3174% underpriced on Jupiter, direction: BUY mpSOL
2026-07-09 13:07:20:377: mpSOL arb interval not elapsed yet (last: 2026-07-09T15:46:15.571Z), skipping
2026-07-09 13:07:20:377: Last buyback already matched and processed, skipping
2026-07-09 13:07:20:380: next beat in 581 seconds (~9 minutes)
2026-07-09 13:17:02:061: --------------------------------------------------------------------------------
2026-07-09 13:17:02:061: Thu Jul 09 2026 13:17:02 GMT-0300 (Argentina Standard Time)
2026-07-09 13:17:02:061: BEAT 3 (129641)
2026-07-09 13:17:03:069: 0.005419 mpDAO/USDT Uniswap v3 spot price using sqrtPriceX96
2026-07-09 13:17:03:259: 0.000003104287669556 mpDAO/WETH Uniswap v3 spot price using sqrtPriceX96
2026-07-09 13:17:03:259: 0.005394 mpDAO/wETH price converted to usd
2026-07-09 13:17:03:348: Simulated sell: 10000 mpDAO -> 17.776970803456628 stNEAR, effective price: 0.0017776970803456628 mpDAO/stNEAR
2026-07-09 13:17:03:407: Simulated sell: 10000 mpDAO -> 17.776970803456628 stNEAR, effective price: 0.0017776970803456628 mpDAO/stNEAR
2026-07-09 13:17:03:467: Simulated sell: 17.776970803456628 stNEAR -> 26.538837542066492 wNEAR, effective price: 1.4928773768873025 stNEAR/wNEAR
2026-07-09 13:17:03:546: Simulated sell: 26.538837542066492 wNEAR -> 50.696913 USDT, effective price: 1.910291 wNEAR/USDT
2026-07-09 13:17:03:546: 0.00507 Effective mpDAO Ref price (if Sell 10k mpDAO->USDT)
2026-07-09 13:17:03:743: {
2026-07-09 13:17:03:743: nearUsd: 1.913616,
2026-07-09 13:17:03:743: stNearNear: 1.4946034742607501,
2026-07-09 13:17:03:743: stNearUsd: 2.8600971220009597,
2026-07-09 13:17:03:743: rheaMpDaoStNear: 0.0017776970803456628,
2026-07-09 13:17:03:743: rheaMpDaoStNearAsUsd: 0.005084386303286139,
2026-07-09 13:17:03:743: refMetaUsdtE: 0.00507,
2026-07-09 13:17:03:743: mpDaoUsdtOnEthMain: 0.005419,
2026-07-09 13:17:03:743: mpDaoWEthOnUniswap: 0.000003104287669556,
2026-07-09 13:17:03:743: mpDaoWEthOnUniswapAsUsd: 0.005394,
2026-07-09 13:17:03:743: mpDaoTwap20d: 0.007488,
2026-07-09 13:17:03:743: mpDaoTwap5d: 0.005407,
2026-07-09 13:17:03:743: stUsdMp: 1,
2026-07-09 13:17:03:743: mpSolSolTrue: 1.189281939,
2026-07-09 13:17:03:743: mpSolSolOnJupiter: 1.1498282823446582,
2026-07-09 13:17:03:743: mpSolUsdOnJupiter: 93.58506858437322,
2026-07-09 13:17:03:743: solUsdOnJupiter: 77.43880273266016
2026-07-09 13:17:03:743: }
2026-07-09 13:17:03:748: -------------------------------
2026-07-09 13:17:03:748: meta-pool-dao-7.near Balance: 225.9265 NEAR, 1765.7198 stNEAR, 1408.013975 mpDAO
2026-07-09 13:17:03:822: Epoch ends in 0h 13m hs
2026-07-09 13:17:03:822: --- computeBuybackVars ---
2026-07-09 13:17:03:822: monthlyFeesStNear 5,640.00
2026-07-09 13:17:03:822: annualFeesStNear 67,680.00
2026-07-09 13:17:03:822: stNear/usd $2.860097
2026-07-09 13:17:03:822: annualFees as usd $193,571.37
2026-07-09 13:17:03:827: totalLockedMpDao 241,726,834.53
2026-07-09 13:17:03:827: mpDaoTwap20d $0.007488
2026-07-09 13:17:03:827: targetApy 10%
2026-07-09 13:17:03:827: floorPrice $0.008008
2026-07-09 13:17:04:118: Story val-rewards-address 0x4bD26DC30305ae1130EED11B41c675909Eb8f08a balance 0.099997899999349010 IP
2026-07-09 13:17:04:118: Story validator rewards balance is low, skipping injection
2026-07-09 13:17:04:164: Story val-rewards-balance 0.099997899999349010 IP
2026-07-09 13:17:04:164: No surplus to move to treasury (0.000000000000000000 IP <= 1 IP)
2026-07-09 13:17:04:164: --- BuybackMpDaoOnRef ---
2026-07-09 13:17:04:224: meta-pool-dao-7.near mpDAO balance: 1408.01
2026-07-09 13:17:04:224: maxToSpendStNear 871.07, totalSpentThisMonth 4004.32, remainderToSpendStNear -3133.25
2026-07-09 13:17:04:224: db: near-mainnet-pool
2026-07-09 13:17:04:546: DB version: 4
2026-07-09 13:17:04:546: DB tables version: 4 for code: buyback-bot
2026-07-09 13:17:04:588: Inserted 1 rows into buyback_grafana
2026-07-09 13:17:04:588: saved in table buyback_grafana {
2026-07-09 13:17:04:588: time: '2026-07-09T16:17:04.164Z',
2026-07-09 13:17:04:588: total_stnear_spent_month: 4004.3172999999997,
2026-07-09 13:17:04:588: total_mpdao_bought_month: 1389.534858,
2026-07-09 13:17:04:588: stnear_usd_price: 2.8600971220009597,
2026-07-09 13:17:04:588: mpdao_stnear_usd_price: 0.005084386303286139,
2026-07-09 13:17:04:588: price_impact: 0,
2026-07-09 13:17:04:588: note: 'remainder -3133.25 < 0.1, no buyback'
2026-07-09 13:17:04:588: }
2026-07-09 13:17:10:567: mirrorEvmVoteLockers result: 80 equal, 0 mirrored
2026-07-09 13:17:10:568: updateBuyAndLockMpdaoPrices at: mpdao-vote.near
2026-07-09 13:17:10:568: NEAR: $1.913616 / $0.00507 = 377.439053 mpDAO per NEAR
2026-07-09 13:17:10:568: stNEAR: $2.8600971220009597 / $0.00507 = 564.121720 mpDAO per stNEAR
2026-07-09 13:17:10:568: USDT: $1 / $0.00507 = 197.238659 mpDAO per USDT
2026-07-09 13:17:10:568: USDC: $1 / $0.00507 = 197.238659 mpDAO per USDC
2026-07-09 13:17:10:568: voteContract.update_mpdao_prices
2026-07-09 13:17:12:657: Uniswap arbitrage: uniswap mpDAO/USD=$0.005419, rhea mpDAO/USD=$0.005084, delta=6.58%
2026-07-09 13:17:12:657: mpDAO is 6.58% more expensive on Uniswap, direction: SELL
2026-07-09 13:17:12:657: direction: sell on uniswap, uniswap price: $0.0054, rhea price: $0.01
2026-07-09 13:17:12:657: uniswap arb last operation: sell mpDAO 70503.21670900006 ($382.06), 2026-03-30T09:03:46.380Z, 2431.2h ago
2026-07-09 13:17:13:021: account 0x004e34f47e8C64004087f27D7a62d17513A46E5e Balance USDT: 21300.304991, mpDAO: 1375488.710393
2026-07-09 13:17:13:021: use account {"accountId":"0x004e34f47e8C64004087f27D7a62d17513A46E5e","lastOperation":{"direction":"sell","dateISO":"2026-03-30T09:03:46.380Z","token":"mpDAO","amount":70503.21670900006},"balanceStNear":0,"balanceMpDao":2018310.927876,"lastBuyMpDaoPriceImpactPct":1.9166,"lastSellMpDaoPriceImpactPct":-1.9477,"balanceUsdt":15039.266822,"balanceUpdatedIsoDateTime":"2026-07-09T16:17:13.021Z","balances":{"stNear":0,"mpDao":1375488.710393,"usdt":21300.304991,"sol":0,"mpSol":0}}
2026-07-09 13:17:13:021: Arb estimate: midPrice=$0.005252, move Uniswap from $0.005419 toward $0.005252 (3.09% change needed)
2026-07-09 13:17:13:021: ---- start getUniswapV3Quote ----
2026-07-09 13:17:13:021: Uniswap v3 quoteExactInputSingle 36907.178446 mpDAO -> USDT
2026-07-09 13:17:13:021: pool: mpDAO-USDT/fee:1%
2026-07-09 13:17:13:021: calling quoterV2Contract.quoteExactInputSingle
2026-07-09 13:17:13:163: ---
2026-07-09 13:17:13:163: gasEstimate 99664
2026-07-09 13:17:13:708: Max fee per gas: 0.175033342 Gwei
2026-07-09 13:17:13:708: Fallback gasPrice: 0.087516671 Gwei
2026-07-09 13:17:13:708: Max priority fee per gas: 0.001 Gwei
2026-07-09 13:17:13:708: Gas cost: 17444522997088 wei (0.000017444522997088 ETH)
2026-07-09 13:17:13:708: Gas cost: 0.03 USD
2026-07-09 13:17:13:708: ---
2026-07-09 13:17:13:708: in 36907.178446 mpDAO, out 180.488284 USDT
2026-07-09 13:17:13:708: Effective price: 1 mpDAO = 0.004890 USDT
2026-07-09 13:17:13:708: Effective price: 1 USDT = 204.485176 mpDAO
2026-07-09 13:17:13:708: price after 0.004502
2026-07-09 13:17:13:708: --- end getUniswapV3Quote ---
2026-07-09 13:17:13:708: Arb estimate: ref $200 → 9.756% total impact (1.0% fee + 8.756% slippage), pool moves ~8.7559% per $100
2026-07-09 13:17:13:708: Arb estimate: $35.26 needed (capped at $800.00)
2026-07-09 13:17:13:708: Estimated slippage 8.76% exceeds 5%, skipping trade to avoid high price impact
2026-07-09 13:17:13:839: mpSOL/SOL true contract price : 1.189281939
2026-07-09 13:17:13:839: mpSOL/SOL Jupiter quoted price: 1.149828282
2026-07-09 13:17:13:839: SOL/USD (Jupiter): $77.4439
2026-07-09 13:17:13:839: mpSOL/USD (Jupiter): $93.5851
2026-07-09 13:17:13:839: mpSOL price delta (Jupiter vs contract): -3.3174%
2026-07-09 13:17:13:839: mpSOL is 3.3174% underpriced on Jupiter, direction: BUY mpSOL
2026-07-09 13:17:13:839: mpSOL arb interval not elapsed yet (last: 2026-07-09T15:46:15.571Z), skipping
2026-07-09 13:17:13:839: Last buyback already matched and processed, skipping
2026-07-09 13:17:13:840: next beat in 588 seconds (~9 minutes)
2026-07-09 13:27:02:062: --------------------------------------------------------------------------------
2026-07-09 13:27:02:062: Thu Jul 09 2026 13:27:02 GMT-0300 (Argentina Standard Time)
2026-07-09 13:27:02:062: BEAT 4 (129642)
2026-07-09 13:27:02:998: 0.005419 mpDAO/USDT Uniswap v3 spot price using sqrtPriceX96
2026-07-09 13:27:03:157: 0.000003104287669556 mpDAO/WETH Uniswap v3 spot price using sqrtPriceX96
2026-07-09 13:27:03:157: 0.005388 mpDAO/wETH price converted to usd
2026-07-09 13:27:03:231: Simulated sell: 10000 mpDAO -> 17.776970803456628 stNEAR, effective price: 0.0017776970803456628 mpDAO/stNEAR
2026-07-09 13:27:03:291: Simulated sell: 10000 mpDAO -> 17.776970803456628 stNEAR, effective price: 0.0017776970803456628 mpDAO/stNEAR
2026-07-09 13:27:03:382: Simulated sell: 17.776970803456628 stNEAR -> 26.538837542066492 wNEAR, effective price: 1.4928773768873025 stNEAR/wNEAR
2026-07-09 13:27:03:469: Simulated sell: 26.538837542066492 wNEAR -> 50.476828 USDT, effective price: 1.901998 wNEAR/USDT
2026-07-09 13:27:03:469: 0.005048 Effective mpDAO Ref price (if Sell 10k mpDAO->USDT)
2026-07-09 13:27:03:657: {
2026-07-09 13:27:03:657: nearUsd: 1.908445,
2026-07-09 13:27:03:657: stNearNear: 1.4946034742607501,
2026-07-09 13:27:03:657: stNearUsd: 2.8523685274355572,
2026-07-09 13:27:03:657: rheaMpDaoStNear: 0.0017776970803456628,
2026-07-09 13:27:03:657: rheaMpDaoStNearAsUsd: 0.005070647203292047,
2026-07-09 13:27:03:657: refMetaUsdtE: 0.005048,
2026-07-09 13:27:03:657: mpDaoUsdtOnEthMain: 0.005419,
2026-07-09 13:27:03:657: mpDaoWEthOnUniswap: 0.000003104287669556,
2026-07-09 13:27:03:657: mpDaoWEthOnUniswapAsUsd: 0.005388,
2026-07-09 13:27:03:657: mpDaoTwap20d: 0.007488,
2026-07-09 13:27:03:657: mpDaoTwap5d: 0.005407,
2026-07-09 13:27:03:657: stUsdMp: 1,
2026-07-09 13:27:03:657: mpSolSolTrue: 1.189281939,
2026-07-09 13:27:03:657: mpSolSolOnJupiter: 1.1498282823446582,
2026-07-09 13:27:03:657: mpSolUsdOnJupiter: 93.58506858437322,
2026-07-09 13:27:03:657: solUsdOnJupiter: 77.20074429713969
2026-07-09 13:27:03:657: }
2026-07-09 13:27:03:735: -------------------------------
2026-07-09 13:27:03:735: meta-pool-dao-7.near Balance: 225.9265 NEAR, 1765.7198 stNEAR, 1408.013975 mpDAO
2026-07-09 13:27:03:809: Epoch ends in 0h 4m hs
2026-07-09 13:27:03:809: --- computeBuybackVars ---
2026-07-09 13:27:03:809: monthlyFeesStNear 5,640.00
2026-07-09 13:27:03:809: annualFeesStNear 67,680.00
2026-07-09 13:27:03:809: stNear/usd $2.852369
2026-07-09 13:27:03:809: annualFees as usd $193,048.30
2026-07-09 13:27:03:814: totalLockedMpDao 241,726,834.53
2026-07-09 13:27:03:814: mpDaoTwap20d $0.007488
2026-07-09 13:27:03:814: targetApy 10%
2026-07-09 13:27:03:814: floorPrice $0.007986
2026-07-09 13:27:04:212: Story val-rewards-address 0x4bD26DC30305ae1130EED11B41c675909Eb8f08a balance 0.099997899999349010 IP
2026-07-09 13:27:04:212: Story validator rewards balance is low, skipping injection
2026-07-09 13:27:04:259: Story val-rewards-balance 0.099997899999349010 IP
2026-07-09 13:27:04:259: No surplus to move to treasury (0.000000000000000000 IP <= 1 IP)
2026-07-09 13:27:04:259: --- BuybackMpDaoOnRef ---
2026-07-09 13:27:04:320: meta-pool-dao-7.near mpDAO balance: 1408.01
2026-07-09 13:27:04:321: maxToSpendStNear 871.07, totalSpentThisMonth 4004.32, remainderToSpendStNear -3133.25
2026-07-09 13:27:04:321: db: near-mainnet-pool
2026-07-09 13:27:04:631: DB version: 4
2026-07-09 13:27:04:631: DB tables version: 4 for code: buyback-bot
2026-07-09 13:27:04:671: Inserted 1 rows into buyback_grafana
2026-07-09 13:27:04:671: saved in table buyback_grafana {
2026-07-09 13:27:04:671: time: '2026-07-09T16:27:04.259Z',
2026-07-09 13:27:04:671: total_stnear_spent_month: 4004.3172999999997,
2026-07-09 13:27:04:671: total_mpdao_bought_month: 1389.534858,
2026-07-09 13:27:04:671: stnear_usd_price: 2.8523685274355572,
2026-07-09 13:27:04:671: mpdao_stnear_usd_price: 0.005070647203292047,
2026-07-09 13:27:04:671: price_impact: 0,
2026-07-09 13:27:04:671: note: 'remainder -3133.25 < 0.1, no buyback'
2026-07-09 13:27:04:672: }
2026-07-09 13:27:10:318: mirrorEvmVoteLockers result: 80 equal, 0 mirrored
2026-07-09 13:27:10:318: updateBuyAndLockMpdaoPrices at: mpdao-vote.near
2026-07-09 13:27:10:318: NEAR: $1.908445 / $0.005048 = 378.059628 mpDAO per NEAR
2026-07-09 13:27:10:318: stNEAR: $2.8523685274355572 / $0.005048 = 565.049233 mpDAO per stNEAR
2026-07-09 13:27:10:318: USDT: $1 / $0.005048 = 198.098257 mpDAO per USDT
2026-07-09 13:27:10:318: USDC: $1 / $0.005048 = 198.098257 mpDAO per USDC
2026-07-09 13:27:10:318: voteContract.update_mpdao_prices
2026-07-09 13:27:12:923: Uniswap arbitrage: uniswap mpDAO/USD=$0.005419, rhea mpDAO/USD=$0.005071, delta=6.87%
2026-07-09 13:27:12:923: mpDAO is 6.87% more expensive on Uniswap, direction: SELL
2026-07-09 13:27:12:924: direction: sell on uniswap, uniswap price: $0.0054, rhea price: $0.01
2026-07-09 13:27:12:924: uniswap arb last operation: sell mpDAO 70503.21670900006 ($382.06), 2026-03-30T09:03:46.380Z, 2431.4h ago
2026-07-09 13:27:13:299: account 0x004e34f47e8C64004087f27D7a62d17513A46E5e Balance USDT: 21300.304991, mpDAO: 1375488.710393
2026-07-09 13:27:13:299: use account {"accountId":"0x004e34f47e8C64004087f27D7a62d17513A46E5e","lastOperation":{"direction":"sell","dateISO":"2026-03-30T09:03:46.380Z","token":"mpDAO","amount":70503.21670900006},"balanceStNear":0,"balanceMpDao":2018310.927876,"lastBuyMpDaoPriceImpactPct":1.9166,"lastSellMpDaoPriceImpactPct":-1.9477,"balanceUsdt":15039.266822,"balanceUpdatedIsoDateTime":"2026-07-09T16:27:13.298Z","balances":{"stNear":0,"mpDao":1375488.710393,"usdt":21300.304991,"sol":0,"mpSol":0}}
2026-07-09 13:27:13:299: Arb estimate: midPrice=$0.005245, move Uniswap from $0.005419 toward $0.005245 (3.21% change needed)
2026-07-09 13:27:13:300: ---- start getUniswapV3Quote ----
2026-07-09 13:27:13:300: Uniswap v3 quoteExactInputSingle 36907.178446 mpDAO -> USDT
2026-07-09 13:27:13:300: pool: mpDAO-USDT/fee:1%
2026-07-09 13:27:13:301: calling quoterV2Contract.quoteExactInputSingle
2026-07-09 13:27:13:356: ---
2026-07-09 13:27:13:356: gasEstimate 99664
2026-07-09 13:27:14:109: Max fee per gas: 0.184820656 Gwei
2026-07-09 13:27:14:109: Fallback gasPrice: 0.091910328 Gwei
2026-07-09 13:27:14:109: Max priority fee per gas: 0.001 Gwei
2026-07-09 13:27:14:109: Gas cost: 18419965859584 wei (0.000018419965859584 ETH)
2026-07-09 13:27:14:109: Gas cost: 0.032 USD
2026-07-09 13:27:14:109: ---
2026-07-09 13:27:14:109: in 36907.178446 mpDAO, out 180.488284 USDT
2026-07-09 13:27:14:109: Effective price: 1 mpDAO = 0.004890 USDT
2026-07-09 13:27:14:109: Effective price: 1 USDT = 204.485176 mpDAO
2026-07-09 13:27:14:110: price after 0.004502
2026-07-09 13:27:14:110: --- end getUniswapV3Quote ---
2026-07-09 13:27:14:110: Estimated slippage 8.76% exceeds 5%, skipping trade to avoid high price impact
2026-07-09 13:27:14:110: Arb estimate: ref $200 → 9.756% total impact (1.0% fee + 8.756% slippage), pool moves ~8.7559% per $100
2026-07-09 13:27:14:110: Arb estimate: $36.71 needed (capped at $800.00)
2026-07-09 13:27:14:231: mpSOL/SOL true contract price : 1.189281939
2026-07-09 13:27:14:231: mpSOL/SOL Jupiter quoted price: 1.149828282
2026-07-09 13:27:14:231: SOL/USD (Jupiter): $77.2500
2026-07-09 13:27:14:231: mpSOL/USD (Jupiter): $93.5851
2026-07-09 13:27:14:231: mpSOL price delta (Jupiter vs contract): -3.3174%
2026-07-09 13:27:14:231: mpSOL is 3.3174% underpriced on Jupiter, direction: BUY mpSOL
2026-07-09 13:27:14:231: mpSOL arb interval not elapsed yet (last: 2026-07-09T15:46:15.571Z), skipping
2026-07-09 13:27:14:231: Last buyback already matched and processed, skipping
2026-07-09 13:27:14:232: next beat in 587 seconds (~9 minutes)
2026-07-09 13:37:02:062: --------------------------------------------------------------------------------
2026-07-09 13:37:02:062: Thu Jul 09 2026 13:37:02 GMT-0300 (Argentina Standard Time)
2026-07-09 13:37:02:062: BEAT 5 (129643)
2026-07-09 13:37:03:188: 0.005419 mpDAO/USDT Uniswap v3 spot price using sqrtPriceX96
2026-07-09 13:37:03:336: 0.000003104287669556 mpDAO/WETH Uniswap v3 spot price using sqrtPriceX96
2026-07-09 13:37:03:336: 0.005386 mpDAO/wETH price converted to usd
2026-07-09 13:37:03:398: Simulated sell: 10000 mpDAO -> 17.776970803456628 stNEAR, effective price: 0.0017776970803456628 mpDAO/stNEAR
2026-07-09 13:37:03:473: Simulated sell: 10000 mpDAO -> 17.776970803456628 stNEAR, effective price: 0.0017776970803456628 mpDAO/stNEAR
2026-07-09 13:37:03:538: Simulated sell: 17.776970803456628 stNEAR -> 26.538837542066492 wNEAR, effective price: 1.4928773768873025 stNEAR/wNEAR
2026-07-09 13:37:03:598: Simulated sell: 26.538837542066492 wNEAR -> 50.534786 USDT, effective price: 1.904182 wNEAR/USDT
2026-07-09 13:37:03:599: 0.005053 Effective mpDAO Ref price (if Sell 10k mpDAO->USDT)
2026-07-09 13:37:03:807: {
2026-07-09 13:37:03:807: nearUsd: 1.908397,
2026-07-09 13:37:03:807: stNearNear: 1.4946034742607501,
2026-07-09 13:37:03:808: stNearUsd: 2.8522967864687927,
2026-07-09 13:37:03:808: rheaMpDaoStNear: 0.0017776970803456628,
2026-07-09 13:37:03:808: rheaMpDaoStNearAsUsd: 0.005070519669584889,
2026-07-09 13:37:03:808: refMetaUsdtE: 0.005053,
2026-07-09 13:37:03:808: mpDaoUsdtOnEthMain: 0.005419,
2026-07-09 13:37:03:808: mpDaoWEthOnUniswap: 0.000003104287669556,
2026-07-09 13:37:03:808: mpDaoWEthOnUniswapAsUsd: 0.005386,
2026-07-09 13:37:03:808: mpDaoTwap20d: 0.007488,
2026-07-09 13:37:03:808: mpDaoTwap5d: 0.005407,
2026-07-09 13:37:03:808: stUsdMp: 1,
2026-07-09 13:37:03:808: mpSolSolTrue: 1.189281939,
2026-07-09 13:37:03:808: mpSolSolOnJupiter: 1.1498282823446582,
2026-07-09 13:37:03:808: mpSolUsdOnJupiter: 93.58506858437322,
2026-07-09 13:37:03:808: solUsdOnJupiter: 77.54973784417814
2026-07-09 13:37:03:808: }
2026-07-09 13:37:03:816: -------------------------------
2026-07-09 13:37:03:817: meta-pool-dao-7.near Balance: 225.9265 NEAR, 1765.7198 stNEAR, 1408.013975 mpDAO
2026-07-09 13:37:03:880: COMPUTING NEW EPOCH
2026-07-09 13:37:04:138: estimated epoch duration in hours: 7.324985555555555
2026-07-09 13:37:04:138: Epoch started: Thu Jul 09 2026 13:33:11 GMT-0300 (Argentina Standard Time) => 0h 4m hs ago
2026-07-09 13:37:04:138: Epoch ends: Thu Jul 09 2026 20:52:41 GMT-0300 (Argentina Standard Time) => in 7h 16m hs
2026-07-09 13:37:04:138: {"length":43200,"prev_epoch_duration_ms":26369948,"prev_timestamp":1783588421345,"start_block_height":206250733,"start_timestamp":1783614791293,"last_block_timestamp":1783615022872,"start_dtm":"2026-07-09T16:33:11.293Z","advance":0.008842,"duration_till_now_ms":231579,"ends_dtm":"2026-07-09T23:52:41.241Z"}
2026-07-09 13:37:04:138: --- computeBuybackVars ---
2026-07-09 13:37:04:138: monthlyFeesStNear 5,640.00
2026-07-09 13:37:04:138: annualFeesStNear 67,680.00
2026-07-09 13:37:04:138: stNear/usd $2.852297
2026-07-09 13:37:04:138: annualFees as usd $193,043.45
2026-07-09 13:37:04:143: totalLockedMpDao 241,726,834.53
2026-07-09 13:37:04:143: mpDaoTwap20d $0.007488
2026-07-09 13:37:04:143: targetApy 10%
2026-07-09 13:37:04:143: floorPrice $0.007986
2026-07-09 13:37:04:422: Story val-rewards-address 0x4bD26DC30305ae1130EED11B41c675909Eb8f08a balance 0.099997899999349010 IP
2026-07-09 13:37:04:422: Story validator rewards balance is low, skipping injection
2026-07-09 13:37:04:468: Story val-rewards-balance 0.099997899999349010 IP
2026-07-09 13:37:04:468: No surplus to move to treasury (0.000000000000000000 IP <= 1 IP)
2026-07-09 13:37:04:468: --- BuybackMpDaoOnRef ---
2026-07-09 13:37:04:552: meta-pool-dao-7.near mpDAO balance: 1408.01
2026-07-09 13:37:04:553: maxToSpendStNear 871.07, totalSpentThisMonth 4004.32, remainderToSpendStNear -3133.25
2026-07-09 13:37:04:553: db: near-mainnet-pool
2026-07-09 13:37:04:889: DB version: 4
2026-07-09 13:37:04:890: DB tables version: 4 for code: buyback-bot
2026-07-09 13:37:04:932: Inserted 1 rows into buyback_grafana
2026-07-09 13:37:04:932: saved in table buyback_grafana {
2026-07-09 13:37:04:932: time: '2026-07-09T16:37:04.468Z',
2026-07-09 13:37:04:932: total_stnear_spent_month: 4004.3172999999997,
2026-07-09 13:37:04:932: total_mpdao_bought_month: 1389.534858,
2026-07-09 13:37:04:932: stnear_usd_price: 2.8522967864687927,
2026-07-09 13:37:04:932: mpdao_stnear_usd_price: 0.005070519669584889,
2026-07-09 13:37:04:932: price_impact: 0,
2026-07-09 13:37:04:932: note: 'remainder -3133.25 < 0.1, no buyback'
2026-07-09 13:37:04:932: }
2026-07-09 13:37:10:710: mirrorEvmVoteLockers result: 80 equal, 0 mirrored
2026-07-09 13:37:10:710: updateBuyAndLockMpdaoPrices at: mpdao-vote.near
2026-07-09 13:37:10:710: NEAR: $1.908397 / $0.005053 = 377.676034 mpDAO per NEAR
2026-07-09 13:37:10:710: stNEAR: $2.8522967864687927 / $0.005053 = 564.475913 mpDAO per stNEAR
2026-07-09 13:37:10:710: USDT: $1 / $0.005053 = 197.902236 mpDAO per USDT
2026-07-09 13:37:10:710: USDC: $1 / $0.005053 = 197.902236 mpDAO per USDC
2026-07-09 13:37:10:710: voteContract.update_mpdao_prices
2026-07-09 13:37:12:542: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 13:37:12:543: 429 too many requests, sleeping 250 and RETRY # 1
2026-07-09 13:37:12:806: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 13:37:12:806: 429 too many requests, sleeping 750 and RETRY # 2
2026-07-09 13:37:13:568: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 13:37:13:568: 429 too many requests, sleeping 1250 and RETRY # 3
2026-07-09 13:37:14:829: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 13:37:14:829: 429 too many requests, sleeping 2000 and RETRY # 4
2026-07-09 13:37:16:840: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 13:37:16:840: 429 too many requests, sleeping 4000 and RETRY # 5
2026-07-09 13:37:20:850: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 13:37:20:851: 429 too many requests, sleeping 8000 and RETRY # 6
2026-07-09 13:37:28:882: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 13:37:28:882: 429 too many requests, sleeping 16000 and RETRY # 7
2026-07-09 13:37:44:916: rpcUrl https://free.rpc.fastnear.com/
2026-07-09 13:37:44:916: 429 too many requests, sleeping 30000 and RETRY # 8
2026-07-09 13:38:15:106: Uniswap arbitrage: uniswap mpDAO/USD=$0.005419, rhea mpDAO/USD=$0.005071, delta=6.87%
2026-07-09 13:38:15:106: mpDAO is 6.87% more expensive on Uniswap, direction: SELL
2026-07-09 13:38:15:106: direction: sell on uniswap, uniswap price: $0.0054, rhea price: $0.01
2026-07-09 13:38:15:106: uniswap arb last operation: sell mpDAO 70503.21670900006 ($382.06), 2026-03-30T09:03:46.380Z, 2431.6h ago
2026-07-09 13:38:15:648: account 0x004e34f47e8C64004087f27D7a62d17513A46E5e Balance USDT: 21300.304991, mpDAO: 1375488.710393
2026-07-09 13:38:15:648: use account {"accountId":"0x004e34f47e8C64004087f27D7a62d17513A46E5e","lastOperation":{"direction":"sell","dateISO":"2026-03-30T09:03:46.380Z","token":"mpDAO","amount":70503.21670900006},"balanceStNear":0,"balanceMpDao":2018310.927876,"lastBuyMpDaoPriceImpactPct":1.9166,"lastSellMpDaoPriceImpactPct":-1.9477,"balanceUsdt":15039.266822,"balanceUpdatedIsoDateTime":"2026-07-09T16:38:15.648Z","balances":{"stNear":0,"mpDao":1375488.710393,"usdt":21300.304991,"sol":0,"mpSol":0}}
2026-07-09 13:38:15:648: Arb estimate: midPrice=$0.005245, move Uniswap from $0.005419 toward $0.005245 (3.22% change needed)
2026-07-09 13:38:15:648: ---- start getUniswapV3Quote ----
2026-07-09 13:38:15:648: Uniswap v3 quoteExactInputSingle 36907.178446 mpDAO -> USDT
2026-07-09 13:38:15:648: pool: mpDAO-USDT/fee:1%
2026-07-09 13:38:15:649: calling quoterV2Contract.quoteExactInputSingle
2026-07-09 13:38:15:700: ---
2026-07-09 13:38:15:700: gasEstimate 99664
2026-07-09 13:38:16:341: Max fee per gas: 0.202520192 Gwei
2026-07-09 13:38:16:341: Fallback gasPrice: 0.101260096 Gwei
2026-07-09 13:38:16:341: Max priority fee per gas: 0.001 Gwei
2026-07-09 13:38:16:341: Gas cost: 20183972415488 wei (0.000020183972415488 ETH)
2026-07-09 13:38:16:341: Gas cost: 0.035 USD
2026-07-09 13:38:16:341: ---
2026-07-09 13:38:16:341: in 36907.178446 mpDAO, out 180.488284 USDT
2026-07-09 13:38:16:341: Effective price: 1 mpDAO = 0.004890 USDT
2026-07-09 13:38:16:341: Effective price: 1 USDT = 204.485176 mpDAO
2026-07-09 13:38:16:341: price after 0.004502
2026-07-09 13:38:16:341: --- end getUniswapV3Quote ---
2026-07-09 13:38:16:341: Arb estimate: ref $200 → 9.756% total impact (1.0% fee + 8.756% slippage), pool moves ~8.7559% per $100
2026-07-09 13:38:16:341: Arb estimate: $36.72 needed (capped at $800.00)
2026-07-09 13:38:16:342: Estimated slippage 8.76% exceeds 5%, skipping trade to avoid high price impact
2026-07-09 13:38:16:531: mpSOL/SOL true contract price : 1.189281939
2026-07-09 13:38:16:531: mpSOL/SOL Jupiter quoted price: 1.149828282
2026-07-09 13:38:16:531: SOL/USD (Jupiter): $77.6175
2026-07-09 13:38:16:531: mpSOL/USD (Jupiter): $93.5851
2026-07-09 13:38:16:531: mpSOL price delta (Jupiter vs contract): -3.3174%
2026-07-09 13:38:16:531: mpSOL is 3.3174% underpriced on Jupiter, direction: BUY mpSOL
2026-07-09 13:38:16:531: mpSOL arb interval not elapsed yet (last: 2026-07-09T15:46:15.571Z), skipping
2026-07-09 13:38:16:531: Last buyback already matched and processed, skipping
2026-07-09 13:38:16:532: next beat in 525 seconds (~8 minutes)
2026-07-09 13:47:02:063: --------------------------------------------------------------------------------
2026-07-09 13:47:02:064: Thu Jul 09 2026 13:47:02 GMT-0300 (Argentina Standard Time)
2026-07-09 13:47:02:064: BEAT 6 (129644)
2026-07-09 13:47:03:293: 0.005419 mpDAO/USDT Uniswap v3 spot price using sqrtPriceX96
2026-07-09 13:47:03:436: 0.000003104287669556 mpDAO/WETH Uniswap v3 spot price using sqrtPriceX96
2026-07-09 13:47:03:436: 0.005392 mpDAO/wETH price converted to usd
2026-07-09 13:47:03:530: Simulated sell: 10000 mpDAO -> 17.776970803456628 stNEAR, effective price: 0.0017776970803456628 mpDAO/stNEAR
2026-07-09 13:47:03:597: Simulated sell: 10000 mpDAO -> 17.776970803456628 stNEAR, effective price: 0.0017776970803456628 mpDAO/stNEAR
2026-07-09 13:47:03:687: Simulated sell: 17.776970803456628 stNEAR -> 26.53888785825443 wNEAR, effective price: 1.492880207301353 stNEAR/wNEAR
2026-07-09 13:47:03:778: Simulated sell: 26.53888785825443 wNEAR -> 50.568751 USDT, effective price: 1.905459 wNEAR/USDT
2026-07-09 13:47:03:778: 0.005057 Effective mpDAO Ref price (if Sell 10k mpDAO->USDT)
2026-07-09 13:47:03:956: {
2026-07-09 13:47:03:956: nearUsd: 1.908259,
2026-07-09 13:47:03:956: stNearNear: 1.4946063145470814,
2026-07-09 13:47:03:956: stNearUsd: 2.852095951191299,
2026-07-09 13:47:03:956: rheaMpDaoStNear: 0.0017776970803456628,
2026-07-09 13:47:03:956: rheaMpDaoStNearAsUsd: 0.005070162645298458,
2026-07-09 13:47:03:956: refMetaUsdtE: 0.005057,
2026-07-09 13:47:03:956: mpDaoUsdtOnEthMain: 0.005419,
2026-07-09 13:47:03:956: mpDaoWEthOnUniswap: 0.000003104287669556,
2026-07-09 13:47:03:956: mpDaoWEthOnUniswapAsUsd: 0.005392,
2026-07-09 13:47:03:956: mpDaoTwap20d: 0.007488,
2026-07-09 13:47:03:956: mpDaoTwap5d: 0.005407,
2026-07-09 13:47:03:956: stUsdMp: 1,
2026-07-09 13:47:03:956: mpSolSolTrue: 1.189281939,
2026-07-09 13:47:03:956: mpSolSolOnJupiter: 1.1498282823446582,
2026-07-09 13:47:03:956: mpSolUsdOnJupiter: 93.58506858437322,
2026-07-09 13:47:03:956: solUsdOnJupiter: 77.58320967696888
2026-07-09 13:47:03:956: }
2026-07-09 13:47:04:014: -------------------------------
2026-07-09 13:47:04:014: meta-pool-dao-7.near Balance: 225.9265 NEAR, 1765.7198 stNEAR, 1408.013975 mpDAO
2026-07-09 13:47:04:134: Epoch ends in 7h 5m hs
2026-07-09 13:47:04:134: --- computeBuybackVars ---
2026-07-09 13:47:04:134: monthlyFeesStNear 5,640.00
2026-07-09 13:47:04:134: annualFeesStNear 67,680.00
2026-07-09 13:47:04:134: stNear/usd $2.852096
2026-07-09 13:47:04:134: annualFees as usd $193,029.85
2026-07-09 13:47:04:138: totalLockedMpDao 241,726,834.53
2026-07-09 13:47:04:138: mpDaoTwap20d $0.007488
2026-07-09 13:47:04:138: targetApy 10%
2026-07-09 13:47:04:138: floorPrice $0.007985
2026-07-09 13:47:04:447: Story val-rewards-address 0x4bD26DC30305ae1130EED11B41c675909Eb8f08a balance 0.099997899999349010 IP
2026-07-09 13:47:04:447: Story validator rewards balance is low, skipping injection
2026-07-09 13:47:04:494: Story val-rewards-balance 0.099997899999349010 IP
2026-07-09 13:47:04:494: No surplus to move to treasury (0.000000000000000000 IP <= 1 IP)
2026-07-09 13:47:04:494: --- BuybackMpDaoOnRef ---
2026-07-09 13:47:04:555: meta-pool-dao-7.near mpDAO balance: 1408.01
2026-07-09 13:47:04:555: maxToSpendStNear 871.07, totalSpentThisMonth 4004.32, remainderToSpendStNear -3133.25
2026-07-09 13:47:04:555: db: near-mainnet-pool
2026-07-09 13:47:14:556: ERR at buybackForVotersMpDaoOnRef
2026-07-09 13:47:14:558: Error: Connection terminated due to connection timeout
2026-07-09 13:47:14:558: at /home/metapool/repos/metapool/buyback-bot/node_modules/pg-pool/index.js:45:11
2026-07-09 13:47:14:558: at processTicksAndRejections (node:internal/process/task_queues:104:5) {
2026-07-09 13:47:14:558: [cause]: Error: Connection terminated unexpectedly
2026-07-09 13:47:14:558: at Connection. (/home/metapool/repos/metapool/buyback-bot/node_modules/pg/lib/client.js:136:73)
2026-07-09 13:47:14:558: at Object.onceWrapper (node:events:622:28)
2026-07-09 13:47:14:558: at Connection.emit (node:events:508:28)
2026-07-09 13:47:14:558: at Socket. (/home/metapool/repos/metapool/buyback-bot/node_modules/pg/lib/connection.js:62:12)
2026-07-09 13:47:14:558: at Socket.emit (node:events:508:28)
2026-07-09 13:47:14:558: at TCP. (node:net:346:12)
2026-07-09 13:47:14:558: }
2026-07-09 13:47:15:480: tg alert message sent successfully: {
2026-07-09 13:47:15:480: ok: true,
2026-07-09 13:47:15:480: result: {
2026-07-09 13:47:15:480: message_id: 2627,
2026-07-09 13:47:15:480: from: {
2026-07-09 13:47:15:480: id: 8423939037,
2026-07-09 13:47:15:480: is_bot: true,
2026-07-09 13:47:15:480: first_name: 'meta-test',
2026-07-09 13:47:15:480: username: 'meta_pool_test_bot'
2026-07-09 13:47:15:480: },
2026-07-09 13:47:15:480: chat: {
2026-07-09 13:47:15:480: id: -1002713985721,
2026-07-09 13:47:15:480: title: 'Metapool Alerts',
2026-07-09 13:47:15:480: type: 'supergroup'
2026-07-09 13:47:15:480: },
2026-07-09 13:47:15:480: date: 1783615634,
2026-07-09 13:47:15:480: text: 'buyback-bot ERROR in buybackForVotersMpDaoOnRef: Connection terminated due to connection timeout\n' +
2026-07-09 13:47:15:480: 'Stack: Error: Connection terminated due to connection timeout\n' +
2026-07-09 13:47:15:480: ' at /home/metapool/repos/metapool/buyback-bot/node_modules/pg-pool/index.js:45:11\n' +
2026-07-09 13:47:15:480: ' at processTicksAndRejections (node:internal/process/task_queues:104:5)'
2026-07-09 13:47:15:480: }
2026-07-09 13:47:15:480: }
2026-07-09 13:47:20:945: mirrorEvmVoteLockers result: 80 equal, 0 mirrored
2026-07-09 13:47:20:945: updateBuyAndLockMpdaoPrices at: mpdao-vote.near
2026-07-09 13:47:20:945: NEAR: $1.908259 / $0.005057 = 377.350010 mpDAO per NEAR
2026-07-09 13:47:20:945: stNEAR: $2.852095951191299 / $0.005057 = 563.989708 mpDAO per stNEAR
2026-07-09 13:47:20:945: USDT: $1 / $0.005057 = 197.745699 mpDAO per USDT
2026-07-09 13:47:20:945: USDC: $1 / $0.005057 = 197.745699 mpDAO per USDC
2026-07-09 13:47:20:945: voteContract.update_mpdao_prices
2026-07-09 13:47:22:952: Uniswap arbitrage: uniswap mpDAO/USD=$0.005419, rhea mpDAO/USD=$0.005070, delta=6.88%
2026-07-09 13:47:22:952: mpDAO is 6.88% more expensive on Uniswap, direction: SELL
2026-07-09 13:47:22:952: direction: sell on uniswap, uniswap price: $0.0054, rhea price: $0.01
2026-07-09 13:47:22:952: uniswap arb last operation: sell mpDAO 70503.21670900006 ($382.06), 2026-03-30T09:03:46.380Z, 2431.7h ago
2026-07-09 13:47:23:191: account 0x004e34f47e8C64004087f27D7a62d17513A46E5e Balance USDT: 21300.304991, mpDAO: 1375488.710393
2026-07-09 13:47:23:191: use account {"accountId":"0x004e34f47e8C64004087f27D7a62d17513A46E5e","lastOperation":{"direction":"sell","dateISO":"2026-03-30T09:03:46.380Z","token":"mpDAO","amount":70503.21670900006},"balanceStNear":0,"balanceMpDao":2018310.927876,"lastBuyMpDaoPriceImpactPct":1.9166,"lastSellMpDaoPriceImpactPct":-1.9477,"balanceUsdt":15039.266822,"balanceUpdatedIsoDateTime":"2026-07-09T16:47:23.191Z","balances":{"stNear":0,"mpDao":1375488.710393,"usdt":21300.304991,"sol":0,"mpSol":0}}
2026-07-09 13:47:23:191: Arb estimate: midPrice=$0.005245, move Uniswap from $0.005419 toward $0.005245 (3.22% change needed)
2026-07-09 13:47:23:191: ---- start getUniswapV3Quote ----
2026-07-09 13:47:23:192: Uniswap v3 quoteExactInputSingle 36907.178446 mpDAO -> USDT
2026-07-09 13:47:23:192: pool: mpDAO-USDT/fee:1%
2026-07-09 13:47:23:193: calling quoterV2Contract.quoteExactInputSingle
2026-07-09 13:47:23:342: ---
2026-07-09 13:47:23:342: gasEstimate 99664
2026-07-09 13:47:23:610: Max fee per gas: 0.155543782 Gwei
2026-07-09 13:47:23:610: Fallback gasPrice: 0.07745167 Gwei
2026-07-09 13:47:23:610: Max priority fee per gas: 0.000640442 Gwei
2026-07-09 13:47:23:610: Gas cost: 15502115489248 wei (0.000015502115489248 ETH)
2026-07-09 13:47:23:610: Gas cost: 0.027 USD
2026-07-09 13:47:23:610: ---
2026-07-09 13:47:23:610: in 36907.178446 mpDAO, out 180.488284 USDT
2026-07-09 13:47:23:610: Effective price: 1 mpDAO = 0.004890 USDT
2026-07-09 13:47:23:610: Effective price: 1 USDT = 204.485176 mpDAO
2026-07-09 13:47:23:610: price after 0.004502
2026-07-09 13:47:23:610: Estimated slippage 8.76% exceeds 5%, skipping trade to avoid high price impact
2026-07-09 13:47:23:610: --- end getUniswapV3Quote ---
2026-07-09 13:47:23:610: Arb estimate: ref $200 → 9.756% total impact (1.0% fee + 8.756% slippage), pool moves ~8.7559% per $100
2026-07-09 13:47:23:610: Arb estimate: $36.76 needed (capped at $800.00)
2026-07-09 13:47:24:044: mpSOL/SOL true contract price : 1.189281939
2026-07-09 13:47:24:044: mpSOL/SOL Jupiter quoted price: 1.149828282
2026-07-09 13:47:24:044: SOL/USD (Jupiter): $77.5413
2026-07-09 13:47:24:044: mpSOL/USD (Jupiter): $93.5851
2026-07-09 13:47:24:044: mpSOL price delta (Jupiter vs contract): -3.3174%
2026-07-09 13:47:24:044: mpSOL is 3.3174% underpriced on Jupiter, direction: BUY mpSOL
2026-07-09 13:47:24:044: trade size limits: min $50 = 0.6448 SOL, max $800 = 10.3171 SOL (SOL/USD: $77.54)
2026-07-09 13:47:24:044: Arb estimate: midPrice=1.189281939, move Jupiter from 1.149828282 toward 1.169555111 (1.7156% change needed)
2026-07-09 13:47:24:083: Arb estimate: ref 1 SOL → 0.0295% total impact (0.3% fee + 0.0010% slippage), pool moves ~0.0020% per SOL
2026-07-09 13:47:24:083: Arb estimate: 857.8163 SOL needed (capped at 10.31707871452985 SOL)
2026-07-09 13:47:24:084: -------------------
2026-07-09 13:47:24:084: start buyMpSolOnJupiter, spending 10.317079 SOL
2026-07-09 13:47:24:290: Prev balance: 0.560129 SOL, 32.404670 mpSOL
2026-07-09 13:47:24:290: Available SOL 0.510129 is too low, skipping buy
2026-07-09 13:47:24:291: Last buyback already matched and processed, skipping
2026-07-09 13:47:24:291: next beat in 577 seconds (~9 minutes)