Skip to content

Commit

Permalink
add stETH and wstETH permits (#243)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeday authored Nov 12, 2024
1 parent 5e3a42c commit 4b406bb
Showing 1 changed file with 146 additions and 0 deletions.
146 changes: 146 additions & 0 deletions ethereum/permit/eip712.json
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,152 @@
}
}
]
},
{
"address": "0xae7ab96520de3a18e5e111b5eaab095312d7fe84",
"contractName": "Liquid staked Ether 2.0",
"messages": [
{
"mapper": {
"fields": [
{
"label": "From",
"path": "owner"
},
{
"label": "Approve to spender",
"path": "spender"
},
{
"format": "amount",
"label": "Amount allowance",
"path": "value"
},
{
"format": "datetime",
"label": "Approval expire",
"path": "deadline"
}
],
"label": "Permit stETH transfers"
},
"schema": {
"EIP712Domain": [
{
"name": "name",
"type": "string"
},
{
"name": "version",
"type": "string"
},
{
"name": "chainId",
"type": "uint256"
},
{
"name": "verifyingContract",
"type": "address"
}
],
"Permit": [
{
"name": "owner",
"type": "address"
},
{
"name": "spender",
"type": "address"
},
{
"name": "value",
"type": "uint256"
},
{
"name": "nonce",
"type": "uint256"
},
{
"name": "deadline",
"type": "uint256"
}
]
}
}
]
},
{
"address": "0x7f39c581f595b53c5cb19bd0b3f8da6c935e2ca0",
"contractName": "Wrapped liquid staked Ether 2.0",
"messages": [
{
"mapper": {
"fields": [
{
"label": "From",
"path": "owner"
},
{
"label": "Approve to spender",
"path": "spender"
},
{
"format": "amount",
"label": "Amount allowance",
"path": "value"
},
{
"format": "datetime",
"label": "Approval expire",
"path": "deadline"
}
],
"label": "Permit wstETH transfers"
},
"schema": {
"EIP712Domain": [
{
"name": "name",
"type": "string"
},
{
"name": "version",
"type": "string"
},
{
"name": "chainId",
"type": "uint256"
},
{
"name": "verifyingContract",
"type": "address"
}
],
"Permit": [
{
"name": "owner",
"type": "address"
},
{
"name": "spender",
"type": "address"
},
{
"name": "value",
"type": "uint256"
},
{
"name": "nonce",
"type": "uint256"
},
{
"name": "deadline",
"type": "uint256"
}
]
}
}
]
}
],
"name": "Permit"
Expand Down

0 comments on commit 4b406bb

Please sign in to comment.