Skip to content

Commit

Permalink
Add Lido OssifiableProxy (#56)
Browse files Browse the repository at this point in the history
* Add Lido OssifiableProxy

* Fix syntaxe

Co-authored-by: Frédéric Samier <[email protected]>

---------

Co-authored-by: Frédéric Samier <[email protected]>
  • Loading branch information
paoun-ledger and fsamier authored Oct 17, 2024
1 parent b4139cf commit d6bda6a
Showing 1 changed file with 162 additions and 0 deletions.
162 changes: 162 additions & 0 deletions registry/lido/calldata-OssifiableProxy.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,162 @@
{

Check notice on line 1 in registry/lido/calldata-OssifiableProxy.json

View workflow job for this annotation

GitHub Actions / 🔎 validate descriptors

Proxy contract

Contract ABI on Etherscan is likely to be a proxy, validation skipped
"$schema": "../../specs/erc7730-v1.schema.json",

"context": {
"$id": "OssifiableProxy",
"contract": {
"deployments": [
{
"chainId": 1,
"address": "0x889edC2eDab5f40e902b864aD4d7AdE8E412F9B1"
}
],
"abi": "https://github.com/LedgerHQ/ledger-asset-dapps/blob/2eb3482cb1311f828a88e417c5095b9bbbc43fee/ethereum/lido/abis/0x889edc2edab5f40e902b864ad4d7ade8e412f9b1.abi.json"
}
},

"metadata": {
"owner": "Lido",
"info": {
"url": "https://lido.fi",
"legalName": "Lido DAO",
"lastUpdate": "2023-05-02T10:38:47Z"
},
"constants": {
"stETHaddress": "0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84",
"wstETHaddress": "0x0B925eD163218f6662a35e0f0371Ac234f9E9371"
}
},

"display": {
"formats": {
"requestWithdrawalsWstETH(uint256[] _amounts, address _owner)": {
"intent": "Request withdrawals",
"fields": [
{
"path": "_amounts.[]",
"label": "Amount to withdraw",
"format": "tokenAmount",
"params": {
"tokenPath": "$.metadata.constants.wstETHaddress"
}
},
{
"path": "_owner",
"label": "Beneficiary",
"format": "addressName"
}
],
"required": ["_amounts", "_owner"]
},
"requestWithdrawalsWstETHWithPermit(uint256[] _amounts, address _owner, (uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) _permit)": {
"intent": "Request withdrawals",
"fields": [
{
"path": "_amounts.[]",
"label": "Amount to withdraw",
"format": "tokenAmount",
"params": {
"tokenPath": "$.metadata.constants.wstETHaddress"
}
},
{
"path": "_owner",
"label": "Beneficiary",
"format": "addressName"
}
],
"required": ["_amounts", "_owner"],
"excluded": ["_permit.value", "_permit.deadline", "_permit.v", "_permit.r", "_permit.s"]
},
"requestWithdrawals(uint256[] _amounts, address _owner)": {
"intent": "Request withdrawals",
"fields": [
{
"path": "_amounts.[]",
"label": "Amount to withdraw",
"format": "tokenAmount",
"params": {
"tokenPath": "$.metadata.constants.stETHaddress"
}
},
{
"path": "_owner",
"label": "Beneficiary",
"format": "addressName"
}
],
"required": ["_amounts", "_owner"]
},
"requestWithdrawalsWithPermit(uint256[] _amounts, address _owner, (uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) _permit)": {
"intent": "Request withdrawals",
"fields": [
{
"path": "_amounts.[]",
"label": "Amount to withdraw",
"format": "tokenAmount",
"params": {
"tokenPath": "$.metadata.constants.stETHaddress"
}
},
{
"path": "_owner",
"label": "Beneficiary",
"format": "addressName"
}
],
"required": ["_amounts", "_owner"],
"excluded": ["_permit.value", "_permit.deadline", "_permit.v", "_permit.r", "_permit.s"]
},
"claimWithdrawal(uint256 _requestId)": {
"intent": "Claim withdrawal",
"fields": [
{
"path": "_requestId",
"label": "Request ID",
"format": "raw"
},
{
"path": "@.from",
"label": "Beneficiary",
"format": "addressName"
}
],
"required": ["_requestId", "@.from"]
},
"claimWithdrawals(uint256[] _requestIds, uint256[] _hints)": {
"intent": "Claim withdrawals",
"fields": [
{
"path": "_requestIds.[]",
"label": "Request ID",
"format": "raw"
},
{
"path": "@.from",
"label": "Beneficiary",
"format": "addressName"
}
],
"required": ["_requestIds", "@.from"],
"excluded": ["_hints"]
},
"claimWithdrawalsTo(uint256[] _requestIds, uint256[] _hints, address _recipient)": {
"intent": "Claim withdrawals",
"fields": [
{
"path": "_requestIds.[]",
"label": "Request ID",
"format": "raw"
},
{
"path": "_recipient",
"label": "Beneficiary",
"format": "addressName"
}
],
"required": ["_requestIds", "_recipient"],
"excluded": ["_hints"]
}
}
}
}

0 comments on commit d6bda6a

Please sign in to comment.