Skip to content

Commit

Permalink
Adds Coinbase mainnet contracts (LedgerHQ#237)
Browse files Browse the repository at this point in the history
* Adds coinbase contracts

* Use proper blockchain name
  • Loading branch information
deangalvin-cb authored Oct 28, 2024
1 parent bcb9929 commit 5a35952
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
[
{
"inputs": [],
"name": "stake",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
}
],
"name": "requestExit",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address[]",
"name": "exitQueues",
"type": "address[]"
},
{
"internalType": "uint256[][]",
"name": "ticketIds",
"type": "uint256[][]"
},
{
"internalType": "uint32[][]",
"name": "casksIds",
"type": "uint32[][]"
}
],
"name": "multiClaim",
"outputs": [
{
"internalType": "enum IvExitQueue.ClaimStatus[][]",
"name": "statuses",
"type": "uint8[][]"
}
],
"stateMutability": "nonpayable",
"type": "function"
}
]
25 changes: 25 additions & 0 deletions ethereum/coinbase/b2c.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"blockchainName": "ethereum",
"chainId": 1,
"contracts": [
{
"address": "0xc4dcb059dd98b45b090da8982234c61d0b9e84f9",
"contractName": "LC Staked Shared ETH (lcETH)",
"selectors": {
"0x3a4b66f1": {
"method": "stake",
"plugin": "Coinbase"
},
"0x721c6513": {
"method": "requestExit",
"plugin": "Coinbase"
},
"0xb7ba18c7": {
"method": "multiClaim",
"plugin": "Coinbase"
}
}
}
],
"name": "Coinbase"
}

0 comments on commit 5a35952

Please sign in to comment.