func (_Yregistry *YregistryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
	return _Yregistry.Contract.contract.Transact(opts, method, params...)
}
Transact invokes the (paid) contract method with params as input values.
package yregistry
import (
	"math/big"
	"strings"
	ethereum "github.com/ethereum/go-ethereum"
	"github.com/ethereum/go-ethereum/accounts/abi"
	"github.com/ethereum/go-ethereum/accounts/abi/bind"
	"github.com/ethereum/go-ethereum/common"
	"github.com/ethereum/go-ethereum/core/types"
	"github.com/ethereum/go-ethereum/event"
)
var (
	_ = big.NewInt
	_ = strings.NewReader
	_ = ethereum.NotFound
	_ = bind.Bind
	_ = common.Big1
	_ = types.BloomLookup
	_ = event.NewSubscription
)
const YregistryABI = "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_governance\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"acceptGovernance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_vault\",\"type\":\"address\"}],\"name\":\"addDelegatedVault\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_vault\",\"type\":\"address\"}],\"name\":\"addVault\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_vault\",\"type\":\"address\"}],\"name\":\"addWrappedVault\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getName\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"getVault\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"vault\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_vault\",\"type\":\"address\"}],\"name\":\"getVaultInfo\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"controller\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"strategy\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"isWrapped\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"isDelegated\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getVaults\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getVaultsInfo\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"controllerArray\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"tokenArray\",\"type\":\"address[]\"},{\"internalType\":\"address[]\",\"name\":\"strategyArray\",\"type\":\"address[]\"},{\"internalType\":\"bool[]\",\"name\":\"isWrappedArray\",\"type\":\"bool[]\"},{\"internalType\":\"bool[]\",\"name\":\"isDelegatedArray\",\"type\":\"bool[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getVaultsLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"governance\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"isDelegatedVault\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pendingGovernance\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_pendingGovernance\",\"type\":\"address\"}],\"name\":\"setPendingGovernance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]"
type Yregistry struct {
	YregistryCaller      
	YregistryTransactor  
	YregistryFilterer    
}
type YregistryCaller struct {
	contract *bind.BoundContract  
}
type YregistryTransactor struct {
	contract *bind.BoundContract  
}
type YregistryFilterer struct {
	contract *bind.BoundContract  
}
type YregistrySession struct {
	Contract     *Yregistry         
	CallOpts     bind.CallOpts      
	TransactOpts bind.TransactOpts  
}
type YregistryCallerSession struct {
	Contract *YregistryCaller  
	CallOpts bind.CallOpts     
}
type YregistryTransactorSession struct {
	Contract     *YregistryTransactor  
	TransactOpts bind.TransactOpts     
}
type YregistryRaw struct {
	Contract *Yregistry  
}
type YregistryCallerRaw struct {
	Contract *YregistryCaller  
}
type YregistryTransactorRaw struct {
	Contract *YregistryTransactor  
}
func NewYregistry(address common.Address, backend bind.ContractBackend) (*Yregistry, error) {
	contract, err := bindYregistry(address, backend, backend, backend)
	if err != nil {
		return nil, err
	}
	return &Yregistry{YregistryCaller: YregistryCaller{contract: contract}, YregistryTransactor: YregistryTransactor{contract: contract}, YregistryFilterer: YregistryFilterer{contract: contract}}, nil
}
func NewYregistryCaller(address common.Address, caller bind.ContractCaller) (*YregistryCaller, error) {
	contract, err := bindYregistry(address, caller, nil, nil)
	if err != nil {
		return nil, err
	}
	return &YregistryCaller{contract: contract}, nil
}
func NewYregistryTransactor(address common.Address, transactor bind.ContractTransactor) (*YregistryTransactor, error) {
	contract, err := bindYregistry(address, nil, transactor, nil)
	if err != nil {
		return nil, err
	}
	return &YregistryTransactor{contract: contract}, nil
}
func NewYregistryFilterer(address common.Address, filterer bind.ContractFilterer) (*YregistryFilterer, error) {
	contract, err := bindYregistry(address, nil, nil, filterer)
	if err != nil {
		return nil, err
	}
	return &YregistryFilterer{contract: contract}, nil
}
func bindYregistry(address common.Address, caller bind.ContractCaller, transactor bind.ContractTransactor, filterer bind.ContractFilterer) (*bind.BoundContract, error) {
	parsed, err := abi.JSON(strings.NewReader(YregistryABI))
	if err != nil {
		return nil, err
	}
	return bind.NewBoundContract(address, parsed, caller, transactor, filterer), nil
}
func (_Yregistry *YregistryRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
	return _Yregistry.Contract.YregistryCaller.contract.Call(opts, result, method, params...)
}
func (_Yregistry *YregistryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
	return _Yregistry.Contract.YregistryTransactor.contract.Transfer(opts)
}
func (_Yregistry *YregistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) {
	return _Yregistry.Contract.YregistryTransactor.contract.Transact(opts, method, params...)
}
func (_Yregistry *YregistryCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error {
	return _Yregistry.Contract.contract.Call(opts, result, method, params...)
}
func (_Yregistry *YregistryTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) {
	return _Yregistry.Contract.contract.Transfer(opts)
}