github.com/cwntr/go-defi@v0.0.0-20210629134751-07f9ec2f7e66/abi/yearn/yRegistry.json (about)

     1  [
     2      {
     3         "inputs":[
     4            {
     5               "internalType":"address",
     6               "name":"_governance",
     7               "type":"address"
     8            }
     9         ],
    10         "stateMutability":"nonpayable",
    11         "type":"constructor"
    12      },
    13      {
    14         "inputs":[
    15            
    16         ],
    17         "name":"acceptGovernance",
    18         "outputs":[
    19            
    20         ],
    21         "stateMutability":"nonpayable",
    22         "type":"function"
    23      },
    24      {
    25         "inputs":[
    26            {
    27               "internalType":"address",
    28               "name":"_vault",
    29               "type":"address"
    30            }
    31         ],
    32         "name":"addDelegatedVault",
    33         "outputs":[
    34            
    35         ],
    36         "stateMutability":"nonpayable",
    37         "type":"function"
    38      },
    39      {
    40         "inputs":[
    41            {
    42               "internalType":"address",
    43               "name":"_vault",
    44               "type":"address"
    45            }
    46         ],
    47         "name":"addVault",
    48         "outputs":[
    49            
    50         ],
    51         "stateMutability":"nonpayable",
    52         "type":"function"
    53      },
    54      {
    55         "inputs":[
    56            {
    57               "internalType":"address",
    58               "name":"_vault",
    59               "type":"address"
    60            }
    61         ],
    62         "name":"addWrappedVault",
    63         "outputs":[
    64            
    65         ],
    66         "stateMutability":"nonpayable",
    67         "type":"function"
    68      },
    69      {
    70         "inputs":[
    71            
    72         ],
    73         "name":"getName",
    74         "outputs":[
    75            {
    76               "internalType":"string",
    77               "name":"",
    78               "type":"string"
    79            }
    80         ],
    81         "stateMutability":"pure",
    82         "type":"function"
    83      },
    84      {
    85         "inputs":[
    86            {
    87               "internalType":"uint256",
    88               "name":"index",
    89               "type":"uint256"
    90            }
    91         ],
    92         "name":"getVault",
    93         "outputs":[
    94            {
    95               "internalType":"address",
    96               "name":"vault",
    97               "type":"address"
    98            }
    99         ],
   100         "stateMutability":"view",
   101         "type":"function"
   102      },
   103      {
   104         "inputs":[
   105            {
   106               "internalType":"address",
   107               "name":"_vault",
   108               "type":"address"
   109            }
   110         ],
   111         "name":"getVaultInfo",
   112         "outputs":[
   113            {
   114               "internalType":"address",
   115               "name":"controller",
   116               "type":"address"
   117            },
   118            {
   119               "internalType":"address",
   120               "name":"token",
   121               "type":"address"
   122            },
   123            {
   124               "internalType":"address",
   125               "name":"strategy",
   126               "type":"address"
   127            },
   128            {
   129               "internalType":"bool",
   130               "name":"isWrapped",
   131               "type":"bool"
   132            },
   133            {
   134               "internalType":"bool",
   135               "name":"isDelegated",
   136               "type":"bool"
   137            }
   138         ],
   139         "stateMutability":"view",
   140         "type":"function"
   141      },
   142      {
   143         "inputs":[
   144            
   145         ],
   146         "name":"getVaults",
   147         "outputs":[
   148            {
   149               "internalType":"address[]",
   150               "name":"",
   151               "type":"address[]"
   152            }
   153         ],
   154         "stateMutability":"view",
   155         "type":"function"
   156      },
   157      {
   158         "inputs":[
   159            
   160         ],
   161         "name":"getVaultsInfo",
   162         "outputs":[
   163            {
   164               "internalType":"address[]",
   165               "name":"controllerArray",
   166               "type":"address[]"
   167            },
   168            {
   169               "internalType":"address[]",
   170               "name":"tokenArray",
   171               "type":"address[]"
   172            },
   173            {
   174               "internalType":"address[]",
   175               "name":"strategyArray",
   176               "type":"address[]"
   177            },
   178            {
   179               "internalType":"bool[]",
   180               "name":"isWrappedArray",
   181               "type":"bool[]"
   182            },
   183            {
   184               "internalType":"bool[]",
   185               "name":"isDelegatedArray",
   186               "type":"bool[]"
   187            }
   188         ],
   189         "stateMutability":"view",
   190         "type":"function"
   191      },
   192      {
   193         "inputs":[
   194            
   195         ],
   196         "name":"getVaultsLength",
   197         "outputs":[
   198            {
   199               "internalType":"uint256",
   200               "name":"",
   201               "type":"uint256"
   202            }
   203         ],
   204         "stateMutability":"view",
   205         "type":"function"
   206      },
   207      {
   208         "inputs":[
   209            
   210         ],
   211         "name":"governance",
   212         "outputs":[
   213            {
   214               "internalType":"address",
   215               "name":"",
   216               "type":"address"
   217            }
   218         ],
   219         "stateMutability":"view",
   220         "type":"function"
   221      },
   222      {
   223         "inputs":[
   224            {
   225               "internalType":"address",
   226               "name":"",
   227               "type":"address"
   228            }
   229         ],
   230         "name":"isDelegatedVault",
   231         "outputs":[
   232            {
   233               "internalType":"bool",
   234               "name":"",
   235               "type":"bool"
   236            }
   237         ],
   238         "stateMutability":"view",
   239         "type":"function"
   240      },
   241      {
   242         "inputs":[
   243            
   244         ],
   245         "name":"pendingGovernance",
   246         "outputs":[
   247            {
   248               "internalType":"address",
   249               "name":"",
   250               "type":"address"
   251            }
   252         ],
   253         "stateMutability":"view",
   254         "type":"function"
   255      },
   256      {
   257         "inputs":[
   258            {
   259               "internalType":"address",
   260               "name":"_pendingGovernance",
   261               "type":"address"
   262            }
   263         ],
   264         "name":"setPendingGovernance",
   265         "outputs":[
   266            
   267         ],
   268         "stateMutability":"nonpayable",
   269         "type":"function"
   270      }
   271   ]