Skip to content

Commit

Permalink
add swell
Browse files Browse the repository at this point in the history
  • Loading branch information
chcmedeiros committed Apr 11, 2024
1 parent d2c7e24 commit 4b1821c
Show file tree
Hide file tree
Showing 3 changed files with 376 additions and 0 deletions.
146 changes: 146 additions & 0 deletions ethereum/swell/abis/0x46ddc39e780088b1b146aba8cbbe15dc321a1a1d.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
[
{
"inputs": [
{
"internalType": "address",
"name": "_logic",
"type": "address"
},
{
"internalType": "address",
"name": "admin_",
"type": "address"
},
{
"internalType": "bytes",
"name": "_data",
"type": "bytes"
}
],
"stateMutability": "payable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "previousAdmin",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "newAdmin",
"type": "address"
}
],
"name": "AdminChanged",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "beacon",
"type": "address"
}
],
"name": "BeaconUpgraded",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "implementation",
"type": "address"
}
],
"name": "Upgraded",
"type": "event"
},
{
"stateMutability": "payable",
"type": "fallback"
},
{
"inputs": [],
"name": "admin",
"outputs": [
{
"internalType": "address",
"name": "admin_",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "newAdmin",
"type": "address"
}
],
"name": "changeAdmin",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "implementation",
"outputs": [
{
"internalType": "address",
"name": "implementation_",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "newImplementation",
"type": "address"
}
],
"name": "upgradeTo",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "newImplementation",
"type": "address"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "upgradeToAndCall",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"stateMutability": "payable",
"type": "receive"
}
]
146 changes: 146 additions & 0 deletions ethereum/swell/abis/0xfae103dc9cf190ed75350761e95403b7b8afa6c0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
[
{
"inputs": [
{
"internalType": "address",
"name": "_logic",
"type": "address"
},
{
"internalType": "address",
"name": "admin_",
"type": "address"
},
{
"internalType": "bytes",
"name": "_data",
"type": "bytes"
}
],
"stateMutability": "payable",
"type": "constructor"
},
{
"anonymous": false,
"inputs": [
{
"indexed": false,
"internalType": "address",
"name": "previousAdmin",
"type": "address"
},
{
"indexed": false,
"internalType": "address",
"name": "newAdmin",
"type": "address"
}
],
"name": "AdminChanged",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "beacon",
"type": "address"
}
],
"name": "BeaconUpgraded",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "implementation",
"type": "address"
}
],
"name": "Upgraded",
"type": "event"
},
{
"stateMutability": "payable",
"type": "fallback"
},
{
"inputs": [],
"name": "admin",
"outputs": [
{
"internalType": "address",
"name": "admin_",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "newAdmin",
"type": "address"
}
],
"name": "changeAdmin",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "implementation",
"outputs": [
{
"internalType": "address",
"name": "implementation_",
"type": "address"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "newImplementation",
"type": "address"
}
],
"name": "upgradeTo",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "newImplementation",
"type": "address"
},
{
"internalType": "bytes",
"name": "data",
"type": "bytes"
}
],
"name": "upgradeToAndCall",
"outputs": [],
"stateMutability": "payable",
"type": "function"
},
{
"stateMutability": "payable",
"type": "receive"
}
]
84 changes: 84 additions & 0 deletions ethereum/swell/b2c.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
{
"blockchainName": "ethereum",
"chainId": 1,
"contracts": [
{
"address": "0x46ddc39e780088b1b146aba8cbbe15dc321a1a1d",
"contractName": "TransparentUpgradeableProxy",
"selectors": {
"0xe8f28a6c": {
"erc20OfInterest": [],
"method": "updateOperatorRewardAddress",
"plugin": "Swell"
},
"0x9f5db69c": {
"erc20OfInterest": [],
"method": "updateOperatorName",
"plugin": "Swell"
},
"0x32f73258": {
"erc20OfInterest": [],
"method": "updateOperatorControllingAddress",
"plugin": "Swell"
},
"0xc4d66de8": {
"erc20OfInterest": [],
"method": "initialize",
"plugin": "Swell"
},
"0xdd307b99": {
"erc20OfInterest": [],
"method": "enableOperator",
"plugin": "Swell"
},
"0xf56408ed": {
"erc20OfInterest": [],
"method": "disableOperator",
"plugin": "Swell"
},
"0x54741d6d": {
"erc20OfInterest": [],
"method": "addOperator",
"plugin": "Swell"
},
"0xc3953502": {
"erc20OfInterest": [],
"method": "usePubKeysForValidatorSetup",
"plugin": "Swell"
},
"0xeda74e71": {
"erc20OfInterest": [],
"method": "deleteActiveValidators",
"plugin": "Swell"
},
"0x242eba0e": {
"erc20OfInterest": [],
"method": "deletePendingValidators",
"plugin": "Swell"
},
"0xf4f3b200": {
"erc20OfInterest": [],
"method": "withdrawERC20",
"plugin": "Swell"
},
"0x60ec5216": {
"erc20OfInterest": [],
"method": "addNewValidatorDetails",
"plugin": "Swell"
}
}
},
{
"address": "0xfae103dc9cf190ed75350761e95403b7b8afa6c0",
"contractName": "TransparentUpgradeableProxy",
"selectors": {
"0xd0e30db0": {
"erc20OfInterest": [],
"method": "deposit",
"plugin": "Swell"
}
}
}
],
"name": "Swell"
}

0 comments on commit 4b1821c

Please sign in to comment.