Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deploy next lower range for univ3 tcl #32

Closed
gosuto-inzasheru opened this issue Jan 24, 2022 · 9 comments
Closed

deploy next lower range for univ3 tcl #32

gosuto-inzasheru opened this issue Jan 24, 2022 · 9 comments
Assignees
Labels

Comments

@gosuto-inzasheru
Copy link
Collaborator

gosuto-inzasheru commented Jan 24, 2022

the .000063 - .000125 range has to be deployed according to bip-74: https://forum.badger.finance/t/bip-74-treasury-controlled-liquidity-for-badger/5082/

requires 57.74 wbtc, which needs to be funded from vault, but nft position itself could be created on treasury ops i guess.

lowest range deployed is currently in range: https://app.uniswap.org/#/pool/167046

pool: https://info.uniswap.org/#/pools/0xe15e6583425700993bd08f51bf6e7b73cd5da91b

@petrovska-petro
Copy link
Collaborator

Waiting for funds to reach on treasury ops once nonce 6 executes, awaiting signers

@gosuto-inzasheru
Copy link
Collaborator Author

think this can be closed for now, no? good to have #100 merged and ready, but this ticket is not needed for now..?

@petrovska-petro
Copy link
Collaborator

think this can be closed for now, no? good to have #100 merged and ready, but this ticket is not needed for now..?

we could close it, but it will be just to open again in the future the same, right?

depending on market conditions at the end till it becomes relevant again, but not see damage on leaving it open

@petrovska-petro
Copy link
Collaborator

petrovska-petro commented Feb 28, 2022

snap:

snapshot result for 0x042B32Ac6b453485e357938bdC38e0340d4b9276:
                         balance_before         balance_after           balance_delta
symbol                                                                               
bibbtc/sbtcCRV-f  21.040302707297603800  0.000000000000000000  -21.040302707297603800
WBTC               8.458101360000000000  0.153107140000000000   -8.304994220000000000 
{
│   'ethereum_client': <gnosis.eth.ethereum_client.EthereumClient object at 0x7fa1136b0130>,
│   'safe_address': '0x042B32Ac6b453485e357938bdC38e0340d4b9276',
│   'to': '0x40A2aCCbd92BCA938b02010E17A5b8929b49130D',
│   'value': 0,
│   'data': HexBytes('0x8d80ff0a0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000041d00ae96ff08771a109dc6650a1bdca62f2d558e40af00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004853828b600fbdca68601f835b27790d98bbb8ec7f05fdeaa9b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044095ea7b30000000000000000000000007abdbaf29929e7f8621b757d2a7c04d78d63383400000000000000000000000000000000000000000000000133a65bf04b937ceb007abdbaf29929e7f8621b757d2a7c04d78d6338340000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008429ed2862000000000000000000000000fbdca68601f835b27790d98bbb8ec7f05fdeaa9b00000000000000000000000000000000000000000000000133a65bf04b937ceb00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000081762dd2002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044095ea7b3000000000000000000000000c36442b4a4522e871399cd717abdd847ab11fe8800000000000000000000000000000000000000000000000000000000b59af72a00c36442b4a4522e871399cd717abdd847ab11fe8800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000164883164560000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000003472a5a71965499acd81997a54bba8d852c6e53d0000000000000000000000000000000000000000000000000000000000000bb8000000000000000000000000000000000000000000000000000000000004e264000000000000000000000000000000000000000000000000000000000004fd1c00000000000000000000000000000000000000000000000000000000b59af72a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b1f9256c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000042b32ac6b453485e357938bdc38e0340d4b927600000000000000000000000000000000000000000000000000000000621d5ff2000000'),
│   'operation': 1,
│   'safe_tx_gas': 0,
│   'base_gas': 0,
│   'gas_price': 0,
│   'gas_token': '0x0000000000000000000000000000000000000000',
│   'refund_receiver': '0x0000000000000000000000000000000000000000',
│   'signatures': b'',
│   '_safe_nonce': 39,
│   '_safe_version': '1.3.0',
│   '_chain_id': None
}

@Tritium-VLK
Copy link
Contributor

Execed at 100 gwei. May take a while. Ping me for a speedup. https://etherscan.io/tx/0xe7405ac5e024a368cb261b9628c066fc0dd2b92949ba9acaa1fbb783b7dd46da

@petrovska-petro
Copy link
Collaborator

@petrovska-petro
Copy link
Collaborator

petrovska-petro commented Mar 8, 2022

Reminder:

  • ID: 198350

  • Only wd 27.238487332137918 bibbtc

  • Push json with details into TCL/positionDataafter last top-up

@petrovska-petro
Copy link
Collaborator

nonce 49, top-ups missing part on the lowest range

snap:

snapshot result for 0x042B32Ac6b453485e357938bdC38e0340d4b9276:
                         balance_before          balance_after           balance_delta
symbol                                                                                
bibbtc/sbtcCRV-f  37.537469634908901127  10.298982302770983127  -27.238487332137918000
WBTC               0.048208030000000000   0.018908040000000000   -0.029299990000000000
{
│   'ethereum_client': <gnosis.eth.ethereum_client.EthereumClient object at 0x7fabd3ef8f40>,
│   'safe_address': '0x042B32Ac6b453485e357938bdC38e0340d4b9276',
│   'to': '0x40A2aCCbd92BCA938b02010E17A5b8929b49130D',
│   'value': 0,
│   'data': HexBytes('0x8d80ff0a0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000039d00ae96ff08771a109dc6650a1bdca62f2d558e40af000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000242e1a7d4d0000000000000000000000000000000000000000000000017a028be9b30ede3000fbdca68601f835b27790d98bbb8ec7f05fdeaa9b00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044095ea7b30000000000000000000000007abdbaf29929e7f8621b757d2a7c04d78d6338340000000000000000000000000000000000000000000000017a7aa4b7adf0c94f007abdbaf29929e7f8621b757d2a7c04d78d6338340000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008429ed2862000000000000000000000000fbdca68601f835b27790d98bbb8ec7f05fdeaa9b0000000000000000000000000000000000000000000000017a7aa4b7adf0c94f0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000009f2133ed002260fac5e5542a773aa44fbcfedf7c193bc2c59900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044095ea7b3000000000000000000000000c36442b4a4522e871399cd717abdd847ab11fe8800000000000000000000000000000000000000000000000000000000a28d485600c36442b4a4522e871399cd717abdd847ab11fe88000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c4219f5d1700000000000000000000000000000000000000000000000000000000000306ce00000000000000000000000000000000000000000000000000000000a28d48560000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009f4d04540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006227e5e2000000'),
│   'operation': 1,
│   'safe_tx_gas': 0,
│   'base_gas': 0,
│   'gas_price': 0,
│   'gas_token': '0x0000000000000000000000000000000000000000',
│   'refund_receiver': '0x0000000000000000000000000000000000000000',
│   'signatures': b'',
│   '_safe_nonce': 49,
│   '_safe_version': '1.3.0',
│   '_chain_id': None
}

@petrovska-petro
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Executed
Development

No branches or pull requests

3 participants