diff --git a/ethereum/swell/abis/0x46ddc39e780088b1b146aba8cbbe15dc321a1a1d.abi.json b/ethereum/swell/abis/0x46ddc39e780088b1b146aba8cbbe15dc321a1a1d.abi.json new file mode 100644 index 00000000..81e2c51f --- /dev/null +++ b/ethereum/swell/abis/0x46ddc39e780088b1b146aba8cbbe15dc321a1a1d.abi.json @@ -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" + } +] diff --git a/ethereum/swell/abis/0xfae103dc9cf190ed75350761e95403b7b8afa6c0.abi.json b/ethereum/swell/abis/0xfae103dc9cf190ed75350761e95403b7b8afa6c0.abi.json new file mode 100644 index 00000000..81e2c51f --- /dev/null +++ b/ethereum/swell/abis/0xfae103dc9cf190ed75350761e95403b7b8afa6c0.abi.json @@ -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" + } +] diff --git a/ethereum/swell/b2c.json b/ethereum/swell/b2c.json new file mode 100644 index 00000000..778408ce --- /dev/null +++ b/ethereum/swell/b2c.json @@ -0,0 +1,84 @@ +{ + "blockchainName": "ethereum", + "chainId": 1, + "contracts": [ + { + "address": "0x46ddc39e780088b1b146aba8cbbe15dc321a1a1d", + "contractName": "TransparentUpgradeableProxy", + "selectors": { + "0x242eba0e": { + "erc20OfInterest": [], + "method": "deletePendingValidators", + "plugin": "Swell" + }, + "0x32f73258": { + "erc20OfInterest": [], + "method": "updateOperatorControllingAddress", + "plugin": "Swell" + }, + "0x54741d6d": { + "erc20OfInterest": [], + "method": "addOperator", + "plugin": "Swell" + }, + "0x60ec5216": { + "erc20OfInterest": [], + "method": "addNewValidatorDetails", + "plugin": "Swell" + }, + "0x9f5db69c": { + "erc20OfInterest": [], + "method": "updateOperatorName", + "plugin": "Swell" + }, + "0xc3953502": { + "erc20OfInterest": [], + "method": "usePubKeysForValidatorSetup", + "plugin": "Swell" + }, + "0xc4d66de8": { + "erc20OfInterest": [], + "method": "initialize", + "plugin": "Swell" + }, + "0xdd307b99": { + "erc20OfInterest": [], + "method": "enableOperator", + "plugin": "Swell" + }, + "0xe8f28a6c": { + "erc20OfInterest": [], + "method": "updateOperatorRewardAddress", + "plugin": "Swell" + }, + "0xeda74e71": { + "erc20OfInterest": [], + "method": "deleteActiveValidators", + "plugin": "Swell" + }, + "0xf4f3b200": { + "erc20OfInterest": [], + "method": "withdrawERC20", + "plugin": "Swell" + }, + "0xf56408ed": { + "erc20OfInterest": [], + "method": "disableOperator", + "plugin": "Swell" + } + } + }, + { + "address": "0xfae103dc9cf190ed75350761e95403b7b8afa6c0", + "contractName": "TransparentUpgradeableProxy", + "selectors": { + "0xd0e30db0": { + "erc20OfInterest": [], + "method": "deposit", + "plugin": "Swell" + } + } + } + ], + "name": "Swell" +} \ No newline at end of file