Skip to content

Commit

Permalink
Adds Contracts for Coinbase Staking (#221)
Browse files Browse the repository at this point in the history
* Adds Contracts for Coinbase Staking

* Fix plugin name

* Adjust names to match better
  • Loading branch information
deangalvin-cb authored Sep 20, 2024
1 parent b355869 commit 89196cf
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_holesky/coinbase/b2c.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"blockchainName": "ethereum_holesky",
"chainId": 17000,
"contracts": [
{
"address": "0xa55416de5de61a0ac1aa8970a280e04388b1de4b",
"contractName": "Coinbase Test Staked ETH",
"selectors": {
"0x3a4b66f1": {
"method": "stake",
"plugin": "Coinbase"
},
"0x721c6513": {
"method": "requestExit",
"plugin": "Coinbase"
},
"0xb7ba18c7": {
"method": "multiClaim",
"plugin": "Coinbase"
}
}
}
],
"name": "Coinbase"
}

0 comments on commit 89196cf

Please sign in to comment.