github.com/ethereum-optimism/optimism@v1.7.2/packages/contracts-bedrock/snapshots/abi/TransferOnion.json (about)

     1  [
     2    {
     3      "inputs": [
     4        {
     5          "internalType": "contract ERC20",
     6          "name": "_token",
     7          "type": "address"
     8        },
     9        {
    10          "internalType": "address",
    11          "name": "_sender",
    12          "type": "address"
    13        },
    14        {
    15          "internalType": "bytes32",
    16          "name": "_shell",
    17          "type": "bytes32"
    18        }
    19      ],
    20      "stateMutability": "nonpayable",
    21      "type": "constructor"
    22    },
    23    {
    24      "inputs": [],
    25      "name": "SENDER",
    26      "outputs": [
    27        {
    28          "internalType": "address",
    29          "name": "",
    30          "type": "address"
    31        }
    32      ],
    33      "stateMutability": "view",
    34      "type": "function"
    35    },
    36    {
    37      "inputs": [],
    38      "name": "TOKEN",
    39      "outputs": [
    40        {
    41          "internalType": "contract ERC20",
    42          "name": "",
    43          "type": "address"
    44        }
    45      ],
    46      "stateMutability": "view",
    47      "type": "function"
    48    },
    49    {
    50      "inputs": [
    51        {
    52          "components": [
    53            {
    54              "internalType": "address",
    55              "name": "recipient",
    56              "type": "address"
    57            },
    58            {
    59              "internalType": "uint256",
    60              "name": "amount",
    61              "type": "uint256"
    62            },
    63            {
    64              "internalType": "bytes32",
    65              "name": "shell",
    66              "type": "bytes32"
    67            }
    68          ],
    69          "internalType": "struct TransferOnion.Layer[]",
    70          "name": "_layers",
    71          "type": "tuple[]"
    72        }
    73      ],
    74      "name": "peel",
    75      "outputs": [],
    76      "stateMutability": "nonpayable",
    77      "type": "function"
    78    },
    79    {
    80      "inputs": [],
    81      "name": "shell",
    82      "outputs": [
    83        {
    84          "internalType": "bytes32",
    85          "name": "",
    86          "type": "bytes32"
    87        }
    88      ],
    89      "stateMutability": "view",
    90      "type": "function"
    91    }
    92  ]