Skip to content

Commit

Permalink
Merge pull request #163 from loicttn/feat/kiln-lst-restaking-support
Browse files Browse the repository at this point in the history
Kiln: Add support for liquid restaking
  • Loading branch information
mohammed-ledger authored Feb 7, 2024
2 parents d07f05c + a89b4f4 commit 211e75e
Show file tree
Hide file tree
Showing 2 changed files with 148 additions and 0 deletions.
130 changes: 130 additions & 0 deletions ethereum/kiln/abis/0x858646372cc42e1a627fce94aa7a7033e7cf075a.abi.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
[
{
"inputs": [
{
"internalType": "address",
"name": "strategy",
"type": "address"
},
{
"internalType": "address",
"name": "token",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "depositIntoStrategy",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256[]",
"name": "strategyIndexes",
"type": "uint256[]"
},
{
"internalType": "address[]",
"name": "strategies",
"type": "address[]"
},
{
"internalType": "uint256[]",
"name": "shares",
"type": "uint256[]"
},
{
"internalType": "address",
"name": "withdrawer",
"type": "address"
},
{
"internalType": "bool",
"name": "undelegateIfPossible",
"type": "bool"
}
],
"name": "queueWithdrawal",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"components": [
{
"internalType": "address[]",
"name": "strategies",
"type": "address[]"
},
{
"internalType": "uint256[]",
"name": "shares",
"type": "uint256[]"
},
{
"internalType": "address",
"name": "depositor",
"type": "address"
},
{
"components": [
{
"internalType": "address",
"name": "withdrawer",
"type": "address"
},
{
"internalType": "uint96",
"name": "nonce",
"type": "uint96"
}
],
"internalType": "struct WithdrawerAndNonce",
"name": "withdrawerAndNonce",
"type": "tuple"
},
{
"internalType": "uint32",
"name": "withdrawalStartBlock",
"type": "uint32"
},
{
"internalType": "address",
"name": "delegatedAddress",
"type": "address"
}
],
"internalType": "struct QueuedWithdrawal",
"name": "queuedWithdrawal",
"type": "tuple"
},
{
"internalType": "address[]",
"name": "tokens",
"type": "address[]"
},
{
"internalType": "uint256",
"name": "middlewareTimesIndex",
"type": "uint256"
},
{
"internalType": "bool",
"name": "receiveAsTokens",
"type": "bool"
}
],
"name": "completeQueuedWithdrawal",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
}
]
18 changes: 18 additions & 0 deletions ethereum/kiln/b2c.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,24 @@
"plugin": "Kiln"
}
}
},
{
"address": "0x858646372cc42e1a627fce94aa7a7033e7cf075a",
"contractName": "EigenLayerStrategyManager",
"selectors": {
"0xe7a050aa": {
"method": "depositIntoStrategy",
"plugin": "Kiln"
},
"0xf123991e": {
"method": "queueWithdrawal",
"plugin": "Kiln"
},
"0xf3be65d3": {
"method": "completeQueuedWithdrawal",
"plugin": "Kiln"
}
}
}
],
"name": "kiln"
Expand Down

0 comments on commit 211e75e

Please sign in to comment.