Smart Contract interaction
Interacting with Kiln Onchain without access to Kiln Connect API or User Facing applications.
We DO NOT recommend you proceed with this path unless you are an experienced user and have an urgent need to access the funds.
Request exit via Etherscan
Find your deposit transaction on your wallet transaction history.
From the Tx Hash on etherscran click the
To
address to open the smart contract page.You can find all Kiln Pooled Staking address here: Ethereum - pooling where you find the list of all partners deposit contracts
eg. Ledger Live Pooled Staked ETH: https://etherscan.io/address/0x5db5235b5c7e247488784986e58019fffd98fda4
Navigate to Pooled staking deposit
Contract
tab and sub tabRead as Proxy
, find3. balanceOf (0x70a08231)
input your wallet address and click query.
You will get the balance in shares of your wallet.
eg. 732369644308641657 -> (0.732369644308641657)
Navigate to the
Contract
tab and theWrite as Proxy
, connect your wallet that did the initial deposit, input the amount you want to exit (in gwei) in10. requestExit (0x721c6513)
and click write, this will request exit the selected amount of shares and will give you an exit ticket.
To exit your full position, input the amount you received from
3. balanceOf
.Once this transaction is signed and successful in your transaction history, you will receive an exit ticket in your wallet.
You can search for exit tickets for by pasting your wallet in the search bar on this dune query.
Important info are
ticketIndex
andcaskId
to claim on
Withdraw available request via Etherscan - Advanced
We recommend not doing this following part alone on Etherscan and wait for the UI to be back online.
Requirements : Your exit ticket need to be ready, you can monitor this on this dune query.
Open the deposit smart contract page:
Navigate to the
Contract
tab and theRead as Proxy
, and call14. pools (0xc5c51dca)
and click query, this will return the underlying vPool.Navigate to this vPool (Kiln's) contract on Etherscan and get the
10. exitQueue (0xffed4bf5)
Kiln Exit Queue :
0x8d6Fd650500f82c7D978a440348e5a9b886943bF
https://etherscan.io/address/0x8d6Fd650500f82c7D978a440348e5a9b886943bF
On the exit queue contract navigate to the
Contract
tab and theRead as Proxy
, and call13. ticketIdAtIndex (0xeddd1bed)
with yourticketIndex
(from dune) and click query.You should get a really long string like:
ticketId in Decimals
:28300944174447531067786338663201126475685755
Encode your ticketId in Hex and 32bytes for the claim transaction :
Use a decimal to hex converter to get the hex value of your ticketId:
eg.
144E10000000000000032BCBEB2F9CA80DF7B
Pad it on the left with zeros to 32 bytes (64 hex chars):
eg.
000000000000000000000000000144E10000000000000032BCBEB2F9CA80DF7B
Make sure you have a hex value by adding 0x:
eg.
0x000000000000000000000000000144E10000000000000032BCBEB2F9CA80DF7B
To continue beyond this step, you should have:
The
exitQueue
(from step 2.a)Your exit
ticketIds
(from step 2.b)Their related
caskIds
(from dune)
To claim your ticket, go on the ExitQueueHelper contract on Etherscan and navigate to the
Contract
tab and theWrite Contract
, and call1. multiClaim (0xb7ba18c7)
with your ticket in parameters.Here is an example of the parameters:
exitQueues
:["0x8d6Fd650500f82c7D978a440348e5a9b886943bF"]
ticketIds
:[[0x000000000000000000000000000144E10000000000000032BCBEB2F9CA80DF7B]]
casksIds
:[[686]]
After this your exit ticket will be burned and you will receive your ETH directly in your wallet.
Last updated
Was this helpful?