Smart Contract interaction

Interacting with Kiln DeFi 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.

Please be aware of scam, if you are not sure about something, ask Support, or wait for your prefered UI to be back online.

View your position via Etherscan

  1. Click on token holdings and over the ERC-20 to see names related to your preferred application, it will open the holder history filtered on your wallet, where you can find all transaction you did for this defi product.

    1. You can already see here the amount you hold, here

      1. 3136.22 cwAaveUSDT

  2. On the transaction page, over the Interacted With (To) address and click on it.

  3. On the deposit contract page, navigate to the Contract tab and sub tab Read as Proxy , find 31. maxRedeem (0xd905777e)

    1. Input your wallet address, and click query.

    2. eg. for 0x2eEC5D4dcBB5C15A7924b54E6CB516A6BB0A1C3F it returns: 3136221376 it's the amount in USDT your principal + rewards is worth.

    3. To see this amount in a human readable format, read the 19. decimals (0x313ce567) function on the same page.

      1. eg. for this defi position I receive 6 decimals

      2. You can then multiply the maxRedeem value 3136221376 to 1e-decimals , so here 3136221376*1e-6 = 3 136,221376

    4. To confirm the asset read the 11. asset (0x38d52e0f) function on the same page, and click on the asset address, you will see the asset deposited in this defi position here. USDT.

    5. Doing so I can confirm that I own and can redeem anytime 3 136,221376 USDT

Redeem via Etherscan

Requirement, connnect you wallet to a browser wallet or use Wallet Connect to connect to Etherscan.

In this example we show how you can withdraw all your asset from your position in Etherscan.

  1. On the deposit contract page, navigate to the Contract tab and sub tab Read as Proxy , find 12.balanceOf 0x70a08231)

    1. Past your wallet address and click query.

    2. eg. for 0x2eEC5D4dcBB5C15A7924b54E6CB516A6BB0A1C3F , it's 3136221376 , this is the amount of shared you own, it's representing your principal + all rewards.

  2. On the deposit contract page, navigate to the Contract tab and sub tab Write as Proxy , find 16.redeem (0xba087652)

    1. Input the value you got from the previous balanceOf read on step 2, and your wallet for receiver and owner . (Make sure you connect your wallet on top)

    2. You will be prompted in your wallet to sign the transaction.

  3. After signing this one transaction you will directly receive the assets directly in your wallet.

Last updated

Was this helpful?