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

     1  [
     2    {
     3      "inputs": [
     4        {
     5          "internalType": "address",
     6          "name": "_owner",
     7          "type": "address"
     8        }
     9      ],
    10      "stateMutability": "nonpayable",
    11      "type": "constructor"
    12    },
    13    {
    14      "stateMutability": "payable",
    15      "type": "receive"
    16    },
    17    {
    18      "inputs": [
    19        {
    20          "internalType": "address",
    21          "name": "_target",
    22          "type": "address"
    23        },
    24        {
    25          "internalType": "bytes",
    26          "name": "_data",
    27          "type": "bytes"
    28        },
    29        {
    30          "internalType": "uint256",
    31          "name": "_value",
    32          "type": "uint256"
    33        }
    34      ],
    35      "name": "CALL",
    36      "outputs": [
    37        {
    38          "internalType": "bool",
    39          "name": "success_",
    40          "type": "bool"
    41        },
    42        {
    43          "internalType": "bytes",
    44          "name": "data_",
    45          "type": "bytes"
    46        }
    47      ],
    48      "stateMutability": "payable",
    49      "type": "function"
    50    },
    51    {
    52      "inputs": [
    53        {
    54          "internalType": "address",
    55          "name": "_target",
    56          "type": "address"
    57        },
    58        {
    59          "internalType": "bytes",
    60          "name": "_data",
    61          "type": "bytes"
    62        }
    63      ],
    64      "name": "DELEGATECALL",
    65      "outputs": [
    66        {
    67          "internalType": "bool",
    68          "name": "success_",
    69          "type": "bool"
    70        },
    71        {
    72          "internalType": "bytes",
    73          "name": "data_",
    74          "type": "bytes"
    75        }
    76      ],
    77      "stateMutability": "payable",
    78      "type": "function"
    79    },
    80    {
    81      "inputs": [
    82        {
    83          "internalType": "string",
    84          "name": "_name",
    85          "type": "string"
    86        },
    87        {
    88          "components": [
    89            {
    90              "internalType": "bool",
    91              "name": "reentrant",
    92              "type": "bool"
    93            },
    94            {
    95              "internalType": "uint256",
    96              "name": "interval",
    97              "type": "uint256"
    98            },
    99            {
   100              "internalType": "contract IDripCheck",
   101              "name": "dripcheck",
   102              "type": "address"
   103            },
   104            {
   105              "internalType": "bytes",
   106              "name": "checkparams",
   107              "type": "bytes"
   108            },
   109            {
   110              "components": [
   111                {
   112                  "internalType": "address payable",
   113                  "name": "target",
   114                  "type": "address"
   115                },
   116                {
   117                  "internalType": "bytes",
   118                  "name": "data",
   119                  "type": "bytes"
   120                },
   121                {
   122                  "internalType": "uint256",
   123                  "name": "value",
   124                  "type": "uint256"
   125                }
   126              ],
   127              "internalType": "struct Drippie.DripAction[]",
   128              "name": "actions",
   129              "type": "tuple[]"
   130            }
   131          ],
   132          "internalType": "struct Drippie.DripConfig",
   133          "name": "_config",
   134          "type": "tuple"
   135        }
   136      ],
   137      "name": "create",
   138      "outputs": [],
   139      "stateMutability": "nonpayable",
   140      "type": "function"
   141    },
   142    {
   143      "inputs": [
   144        {
   145          "internalType": "string",
   146          "name": "_name",
   147          "type": "string"
   148        }
   149      ],
   150      "name": "drip",
   151      "outputs": [],
   152      "stateMutability": "nonpayable",
   153      "type": "function"
   154    },
   155    {
   156      "inputs": [
   157        {
   158          "internalType": "string",
   159          "name": "",
   160          "type": "string"
   161        }
   162      ],
   163      "name": "drips",
   164      "outputs": [
   165        {
   166          "internalType": "enum Drippie.DripStatus",
   167          "name": "status",
   168          "type": "uint8"
   169        },
   170        {
   171          "components": [
   172            {
   173              "internalType": "bool",
   174              "name": "reentrant",
   175              "type": "bool"
   176            },
   177            {
   178              "internalType": "uint256",
   179              "name": "interval",
   180              "type": "uint256"
   181            },
   182            {
   183              "internalType": "contract IDripCheck",
   184              "name": "dripcheck",
   185              "type": "address"
   186            },
   187            {
   188              "internalType": "bytes",
   189              "name": "checkparams",
   190              "type": "bytes"
   191            },
   192            {
   193              "components": [
   194                {
   195                  "internalType": "address payable",
   196                  "name": "target",
   197                  "type": "address"
   198                },
   199                {
   200                  "internalType": "bytes",
   201                  "name": "data",
   202                  "type": "bytes"
   203                },
   204                {
   205                  "internalType": "uint256",
   206                  "name": "value",
   207                  "type": "uint256"
   208                }
   209              ],
   210              "internalType": "struct Drippie.DripAction[]",
   211              "name": "actions",
   212              "type": "tuple[]"
   213            }
   214          ],
   215          "internalType": "struct Drippie.DripConfig",
   216          "name": "config",
   217          "type": "tuple"
   218        },
   219        {
   220          "internalType": "uint256",
   221          "name": "last",
   222          "type": "uint256"
   223        },
   224        {
   225          "internalType": "uint256",
   226          "name": "count",
   227          "type": "uint256"
   228        }
   229      ],
   230      "stateMutability": "view",
   231      "type": "function"
   232    },
   233    {
   234      "inputs": [
   235        {
   236          "internalType": "string",
   237          "name": "_name",
   238          "type": "string"
   239        }
   240      ],
   241      "name": "executable",
   242      "outputs": [
   243        {
   244          "internalType": "bool",
   245          "name": "",
   246          "type": "bool"
   247        }
   248      ],
   249      "stateMutability": "view",
   250      "type": "function"
   251    },
   252    {
   253      "inputs": [
   254        {
   255          "internalType": "string",
   256          "name": "_name",
   257          "type": "string"
   258        }
   259      ],
   260      "name": "getDripStatus",
   261      "outputs": [
   262        {
   263          "internalType": "enum Drippie.DripStatus",
   264          "name": "",
   265          "type": "uint8"
   266        }
   267      ],
   268      "stateMutability": "view",
   269      "type": "function"
   270    },
   271    {
   272      "inputs": [],
   273      "name": "owner",
   274      "outputs": [
   275        {
   276          "internalType": "address",
   277          "name": "",
   278          "type": "address"
   279        }
   280      ],
   281      "stateMutability": "view",
   282      "type": "function"
   283    },
   284    {
   285      "inputs": [
   286        {
   287          "internalType": "address",
   288          "name": "newOwner",
   289          "type": "address"
   290        }
   291      ],
   292      "name": "setOwner",
   293      "outputs": [],
   294      "stateMutability": "nonpayable",
   295      "type": "function"
   296    },
   297    {
   298      "inputs": [
   299        {
   300          "internalType": "string",
   301          "name": "_name",
   302          "type": "string"
   303        },
   304        {
   305          "internalType": "enum Drippie.DripStatus",
   306          "name": "_status",
   307          "type": "uint8"
   308        }
   309      ],
   310      "name": "status",
   311      "outputs": [],
   312      "stateMutability": "nonpayable",
   313      "type": "function"
   314    },
   315    {
   316      "inputs": [
   317        {
   318          "internalType": "contract ERC20",
   319          "name": "_asset",
   320          "type": "address"
   321        },
   322        {
   323          "internalType": "address",
   324          "name": "_to",
   325          "type": "address"
   326        },
   327        {
   328          "internalType": "uint256",
   329          "name": "_amount",
   330          "type": "uint256"
   331        }
   332      ],
   333      "name": "withdrawERC20",
   334      "outputs": [],
   335      "stateMutability": "nonpayable",
   336      "type": "function"
   337    },
   338    {
   339      "inputs": [
   340        {
   341          "internalType": "contract ERC20",
   342          "name": "_asset",
   343          "type": "address"
   344        },
   345        {
   346          "internalType": "address",
   347          "name": "_to",
   348          "type": "address"
   349        }
   350      ],
   351      "name": "withdrawERC20",
   352      "outputs": [],
   353      "stateMutability": "nonpayable",
   354      "type": "function"
   355    },
   356    {
   357      "inputs": [
   358        {
   359          "internalType": "contract ERC721",
   360          "name": "_asset",
   361          "type": "address"
   362        },
   363        {
   364          "internalType": "address",
   365          "name": "_to",
   366          "type": "address"
   367        },
   368        {
   369          "internalType": "uint256",
   370          "name": "_id",
   371          "type": "uint256"
   372        }
   373      ],
   374      "name": "withdrawERC721",
   375      "outputs": [],
   376      "stateMutability": "nonpayable",
   377      "type": "function"
   378    },
   379    {
   380      "inputs": [
   381        {
   382          "internalType": "address payable",
   383          "name": "_to",
   384          "type": "address"
   385        },
   386        {
   387          "internalType": "uint256",
   388          "name": "_amount",
   389          "type": "uint256"
   390        }
   391      ],
   392      "name": "withdrawETH",
   393      "outputs": [],
   394      "stateMutability": "nonpayable",
   395      "type": "function"
   396    },
   397    {
   398      "inputs": [
   399        {
   400          "internalType": "address payable",
   401          "name": "_to",
   402          "type": "address"
   403        }
   404      ],
   405      "name": "withdrawETH",
   406      "outputs": [],
   407      "stateMutability": "nonpayable",
   408      "type": "function"
   409    },
   410    {
   411      "anonymous": false,
   412      "inputs": [
   413        {
   414          "indexed": true,
   415          "internalType": "string",
   416          "name": "nameref",
   417          "type": "string"
   418        },
   419        {
   420          "indexed": false,
   421          "internalType": "string",
   422          "name": "name",
   423          "type": "string"
   424        },
   425        {
   426          "components": [
   427            {
   428              "internalType": "bool",
   429              "name": "reentrant",
   430              "type": "bool"
   431            },
   432            {
   433              "internalType": "uint256",
   434              "name": "interval",
   435              "type": "uint256"
   436            },
   437            {
   438              "internalType": "contract IDripCheck",
   439              "name": "dripcheck",
   440              "type": "address"
   441            },
   442            {
   443              "internalType": "bytes",
   444              "name": "checkparams",
   445              "type": "bytes"
   446            },
   447            {
   448              "components": [
   449                {
   450                  "internalType": "address payable",
   451                  "name": "target",
   452                  "type": "address"
   453                },
   454                {
   455                  "internalType": "bytes",
   456                  "name": "data",
   457                  "type": "bytes"
   458                },
   459                {
   460                  "internalType": "uint256",
   461                  "name": "value",
   462                  "type": "uint256"
   463                }
   464              ],
   465              "internalType": "struct Drippie.DripAction[]",
   466              "name": "actions",
   467              "type": "tuple[]"
   468            }
   469          ],
   470          "indexed": false,
   471          "internalType": "struct Drippie.DripConfig",
   472          "name": "config",
   473          "type": "tuple"
   474        }
   475      ],
   476      "name": "DripCreated",
   477      "type": "event"
   478    },
   479    {
   480      "anonymous": false,
   481      "inputs": [
   482        {
   483          "indexed": true,
   484          "internalType": "string",
   485          "name": "nameref",
   486          "type": "string"
   487        },
   488        {
   489          "indexed": false,
   490          "internalType": "string",
   491          "name": "name",
   492          "type": "string"
   493        },
   494        {
   495          "indexed": false,
   496          "internalType": "address",
   497          "name": "executor",
   498          "type": "address"
   499        },
   500        {
   501          "indexed": false,
   502          "internalType": "uint256",
   503          "name": "timestamp",
   504          "type": "uint256"
   505        }
   506      ],
   507      "name": "DripExecuted",
   508      "type": "event"
   509    },
   510    {
   511      "anonymous": false,
   512      "inputs": [
   513        {
   514          "indexed": true,
   515          "internalType": "string",
   516          "name": "nameref",
   517          "type": "string"
   518        },
   519        {
   520          "indexed": false,
   521          "internalType": "string",
   522          "name": "name",
   523          "type": "string"
   524        },
   525        {
   526          "indexed": false,
   527          "internalType": "enum Drippie.DripStatus",
   528          "name": "status",
   529          "type": "uint8"
   530        }
   531      ],
   532      "name": "DripStatusUpdated",
   533      "type": "event"
   534    },
   535    {
   536      "anonymous": false,
   537      "inputs": [
   538        {
   539          "indexed": true,
   540          "internalType": "address",
   541          "name": "user",
   542          "type": "address"
   543        },
   544        {
   545          "indexed": true,
   546          "internalType": "address",
   547          "name": "newOwner",
   548          "type": "address"
   549        }
   550      ],
   551      "name": "OwnerUpdated",
   552      "type": "event"
   553    },
   554    {
   555      "anonymous": false,
   556      "inputs": [
   557        {
   558          "indexed": true,
   559          "internalType": "address",
   560          "name": "from",
   561          "type": "address"
   562        },
   563        {
   564          "indexed": false,
   565          "internalType": "uint256",
   566          "name": "amount",
   567          "type": "uint256"
   568        }
   569      ],
   570      "name": "ReceivedETH",
   571      "type": "event"
   572    },
   573    {
   574      "anonymous": false,
   575      "inputs": [
   576        {
   577          "indexed": true,
   578          "internalType": "address",
   579          "name": "withdrawer",
   580          "type": "address"
   581        },
   582        {
   583          "indexed": true,
   584          "internalType": "address",
   585          "name": "recipient",
   586          "type": "address"
   587        },
   588        {
   589          "indexed": true,
   590          "internalType": "address",
   591          "name": "asset",
   592          "type": "address"
   593        },
   594        {
   595          "indexed": false,
   596          "internalType": "uint256",
   597          "name": "amount",
   598          "type": "uint256"
   599        }
   600      ],
   601      "name": "WithdrewERC20",
   602      "type": "event"
   603    },
   604    {
   605      "anonymous": false,
   606      "inputs": [
   607        {
   608          "indexed": true,
   609          "internalType": "address",
   610          "name": "withdrawer",
   611          "type": "address"
   612        },
   613        {
   614          "indexed": true,
   615          "internalType": "address",
   616          "name": "recipient",
   617          "type": "address"
   618        },
   619        {
   620          "indexed": true,
   621          "internalType": "address",
   622          "name": "asset",
   623          "type": "address"
   624        },
   625        {
   626          "indexed": false,
   627          "internalType": "uint256",
   628          "name": "id",
   629          "type": "uint256"
   630        }
   631      ],
   632      "name": "WithdrewERC721",
   633      "type": "event"
   634    },
   635    {
   636      "anonymous": false,
   637      "inputs": [
   638        {
   639          "indexed": true,
   640          "internalType": "address",
   641          "name": "withdrawer",
   642          "type": "address"
   643        },
   644        {
   645          "indexed": true,
   646          "internalType": "address",
   647          "name": "recipient",
   648          "type": "address"
   649        },
   650        {
   651          "indexed": false,
   652          "internalType": "uint256",
   653          "name": "amount",
   654          "type": "uint256"
   655        }
   656      ],
   657      "name": "WithdrewETH",
   658      "type": "event"
   659    }
   660  ]