yregistry

package
v0.0.0-...-4e01d81 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 15, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const YregistryABI = "" /* 3433-byte string literal not displayed */

YregistryABI is the input ABI used to generate the binding from.

Variables

This section is empty.

Functions

This section is empty.

Types

type Yregistry

type Yregistry struct {
	YregistryCaller     // Read-only binding to the contract
	YregistryTransactor // Write-only binding to the contract
	YregistryFilterer   // Log filterer for contract events
}

Yregistry is an auto generated Go binding around an Ethereum contract.

func NewYregistry

func NewYregistry(address common.Address, backend bind.ContractBackend) (*Yregistry, error)

NewYregistry creates a new instance of Yregistry, bound to a specific deployed contract.

type YregistryCaller

type YregistryCaller struct {
	// contains filtered or unexported fields
}

YregistryCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewYregistryCaller

func NewYregistryCaller(address common.Address, caller bind.ContractCaller) (*YregistryCaller, error)

NewYregistryCaller creates a new read-only instance of Yregistry, bound to a specific deployed contract.

func (*YregistryCaller) GetName

func (_Yregistry *YregistryCaller) GetName(opts *bind.CallOpts) (string, error)

GetName is a free data retrieval call binding the contract method 0x17d7de7c.

Solidity: function getName() pure returns(string)

func (*YregistryCaller) GetVault

func (_Yregistry *YregistryCaller) GetVault(opts *bind.CallOpts, index *big.Int) (common.Address, error)

GetVault is a free data retrieval call binding the contract method 0x9403b634.

Solidity: function getVault(uint256 index) view returns(address vault)

func (*YregistryCaller) GetVaultInfo

func (_Yregistry *YregistryCaller) GetVaultInfo(opts *bind.CallOpts, _vault common.Address) (struct {
	Controller  common.Address
	Token       common.Address
	Strategy    common.Address
	IsWrapped   bool
	IsDelegated bool
}, error)

GetVaultInfo is a free data retrieval call binding the contract method 0x90229af7.

Solidity: function getVaultInfo(address _vault) view returns(address controller, address token, address strategy, bool isWrapped, bool isDelegated)

func (*YregistryCaller) GetVaults

func (_Yregistry *YregistryCaller) GetVaults(opts *bind.CallOpts) ([]common.Address, error)

GetVaults is a free data retrieval call binding the contract method 0x44d00f82.

Solidity: function getVaults() view returns(address[])

func (*YregistryCaller) GetVaultsInfo

func (_Yregistry *YregistryCaller) GetVaultsInfo(opts *bind.CallOpts) (struct {
	ControllerArray  []common.Address
	TokenArray       []common.Address
	StrategyArray    []common.Address
	IsWrappedArray   []bool
	IsDelegatedArray []bool
}, error)

GetVaultsInfo is a free data retrieval call binding the contract method 0x6b708788.

Solidity: function getVaultsInfo() view returns(address[] controllerArray, address[] tokenArray, address[] strategyArray, bool[] isWrappedArray, bool[] isDelegatedArray)

func (*YregistryCaller) GetVaultsLength

func (_Yregistry *YregistryCaller) GetVaultsLength(opts *bind.CallOpts) (*big.Int, error)

GetVaultsLength is a free data retrieval call binding the contract method 0x44b19dfc.

Solidity: function getVaultsLength() view returns(uint256)

func (*YregistryCaller) Governance

func (_Yregistry *YregistryCaller) Governance(opts *bind.CallOpts) (common.Address, error)

Governance is a free data retrieval call binding the contract method 0x5aa6e675.

Solidity: function governance() view returns(address)

func (*YregistryCaller) IsDelegatedVault

func (_Yregistry *YregistryCaller) IsDelegatedVault(opts *bind.CallOpts, arg0 common.Address) (bool, error)

IsDelegatedVault is a free data retrieval call binding the contract method 0x44064be7.

Solidity: function isDelegatedVault(address ) view returns(bool)

func (*YregistryCaller) PendingGovernance

func (_Yregistry *YregistryCaller) PendingGovernance(opts *bind.CallOpts) (common.Address, error)

PendingGovernance is a free data retrieval call binding the contract method 0xf39c38a0.

Solidity: function pendingGovernance() view returns(address)

type YregistryCallerRaw

type YregistryCallerRaw struct {
	Contract *YregistryCaller // Generic read-only contract binding to access the raw methods on
}

YregistryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*YregistryCallerRaw) Call

func (_Yregistry *YregistryCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type YregistryCallerSession

type YregistryCallerSession struct {
	Contract *YregistryCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts    // Call options to use throughout this session
}

YregistryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*YregistryCallerSession) GetName

func (_Yregistry *YregistryCallerSession) GetName() (string, error)

GetName is a free data retrieval call binding the contract method 0x17d7de7c.

Solidity: function getName() pure returns(string)

func (*YregistryCallerSession) GetVault

func (_Yregistry *YregistryCallerSession) GetVault(index *big.Int) (common.Address, error)

GetVault is a free data retrieval call binding the contract method 0x9403b634.

Solidity: function getVault(uint256 index) view returns(address vault)

func (*YregistryCallerSession) GetVaultInfo

func (_Yregistry *YregistryCallerSession) GetVaultInfo(_vault common.Address) (struct {
	Controller  common.Address
	Token       common.Address
	Strategy    common.Address
	IsWrapped   bool
	IsDelegated bool
}, error)

GetVaultInfo is a free data retrieval call binding the contract method 0x90229af7.

Solidity: function getVaultInfo(address _vault) view returns(address controller, address token, address strategy, bool isWrapped, bool isDelegated)

func (*YregistryCallerSession) GetVaults

func (_Yregistry *YregistryCallerSession) GetVaults() ([]common.Address, error)

GetVaults is a free data retrieval call binding the contract method 0x44d00f82.

Solidity: function getVaults() view returns(address[])

func (*YregistryCallerSession) GetVaultsInfo

func (_Yregistry *YregistryCallerSession) GetVaultsInfo() (struct {
	ControllerArray  []common.Address
	TokenArray       []common.Address
	StrategyArray    []common.Address
	IsWrappedArray   []bool
	IsDelegatedArray []bool
}, error)

GetVaultsInfo is a free data retrieval call binding the contract method 0x6b708788.

Solidity: function getVaultsInfo() view returns(address[] controllerArray, address[] tokenArray, address[] strategyArray, bool[] isWrappedArray, bool[] isDelegatedArray)

func (*YregistryCallerSession) GetVaultsLength

func (_Yregistry *YregistryCallerSession) GetVaultsLength() (*big.Int, error)

GetVaultsLength is a free data retrieval call binding the contract method 0x44b19dfc.

Solidity: function getVaultsLength() view returns(uint256)

func (*YregistryCallerSession) Governance

func (_Yregistry *YregistryCallerSession) Governance() (common.Address, error)

Governance is a free data retrieval call binding the contract method 0x5aa6e675.

Solidity: function governance() view returns(address)

func (*YregistryCallerSession) IsDelegatedVault

func (_Yregistry *YregistryCallerSession) IsDelegatedVault(arg0 common.Address) (bool, error)

IsDelegatedVault is a free data retrieval call binding the contract method 0x44064be7.

Solidity: function isDelegatedVault(address ) view returns(bool)

func (*YregistryCallerSession) PendingGovernance

func (_Yregistry *YregistryCallerSession) PendingGovernance() (common.Address, error)

PendingGovernance is a free data retrieval call binding the contract method 0xf39c38a0.

Solidity: function pendingGovernance() view returns(address)

type YregistryFilterer

type YregistryFilterer struct {
	// contains filtered or unexported fields
}

YregistryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewYregistryFilterer

func NewYregistryFilterer(address common.Address, filterer bind.ContractFilterer) (*YregistryFilterer, error)

NewYregistryFilterer creates a new log filterer instance of Yregistry, bound to a specific deployed contract.

type YregistryRaw

type YregistryRaw struct {
	Contract *Yregistry // Generic contract binding to access the raw methods on
}

YregistryRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*YregistryRaw) Call

func (_Yregistry *YregistryRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*YregistryRaw) Transact

func (_Yregistry *YregistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*YregistryRaw) Transfer

func (_Yregistry *YregistryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type YregistrySession

type YregistrySession struct {
	Contract     *Yregistry        // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

YregistrySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*YregistrySession) AcceptGovernance

func (_Yregistry *YregistrySession) AcceptGovernance() (*types.Transaction, error)

AcceptGovernance is a paid mutator transaction binding the contract method 0x238efcbc.

Solidity: function acceptGovernance() returns()

func (*YregistrySession) AddDelegatedVault

func (_Yregistry *YregistrySession) AddDelegatedVault(_vault common.Address) (*types.Transaction, error)

AddDelegatedVault is a paid mutator transaction binding the contract method 0x2019c75a.

Solidity: function addDelegatedVault(address _vault) returns()

func (*YregistrySession) AddVault

func (_Yregistry *YregistrySession) AddVault(_vault common.Address) (*types.Transaction, error)

AddVault is a paid mutator transaction binding the contract method 0x256b5a02.

Solidity: function addVault(address _vault) returns()

func (*YregistrySession) AddWrappedVault

func (_Yregistry *YregistrySession) AddWrappedVault(_vault common.Address) (*types.Transaction, error)

AddWrappedVault is a paid mutator transaction binding the contract method 0x61de8389.

Solidity: function addWrappedVault(address _vault) returns()

func (*YregistrySession) GetName

func (_Yregistry *YregistrySession) GetName() (string, error)

GetName is a free data retrieval call binding the contract method 0x17d7de7c.

Solidity: function getName() pure returns(string)

func (*YregistrySession) GetVault

func (_Yregistry *YregistrySession) GetVault(index *big.Int) (common.Address, error)

GetVault is a free data retrieval call binding the contract method 0x9403b634.

Solidity: function getVault(uint256 index) view returns(address vault)

func (*YregistrySession) GetVaultInfo

func (_Yregistry *YregistrySession) GetVaultInfo(_vault common.Address) (struct {
	Controller  common.Address
	Token       common.Address
	Strategy    common.Address
	IsWrapped   bool
	IsDelegated bool
}, error)

GetVaultInfo is a free data retrieval call binding the contract method 0x90229af7.

Solidity: function getVaultInfo(address _vault) view returns(address controller, address token, address strategy, bool isWrapped, bool isDelegated)

func (*YregistrySession) GetVaults

func (_Yregistry *YregistrySession) GetVaults() ([]common.Address, error)

GetVaults is a free data retrieval call binding the contract method 0x44d00f82.

Solidity: function getVaults() view returns(address[])

func (*YregistrySession) GetVaultsInfo

func (_Yregistry *YregistrySession) GetVaultsInfo() (struct {
	ControllerArray  []common.Address
	TokenArray       []common.Address
	StrategyArray    []common.Address
	IsWrappedArray   []bool
	IsDelegatedArray []bool
}, error)

GetVaultsInfo is a free data retrieval call binding the contract method 0x6b708788.

Solidity: function getVaultsInfo() view returns(address[] controllerArray, address[] tokenArray, address[] strategyArray, bool[] isWrappedArray, bool[] isDelegatedArray)

func (*YregistrySession) GetVaultsLength

func (_Yregistry *YregistrySession) GetVaultsLength() (*big.Int, error)

GetVaultsLength is a free data retrieval call binding the contract method 0x44b19dfc.

Solidity: function getVaultsLength() view returns(uint256)

func (*YregistrySession) Governance

func (_Yregistry *YregistrySession) Governance() (common.Address, error)

Governance is a free data retrieval call binding the contract method 0x5aa6e675.

Solidity: function governance() view returns(address)

func (*YregistrySession) IsDelegatedVault

func (_Yregistry *YregistrySession) IsDelegatedVault(arg0 common.Address) (bool, error)

IsDelegatedVault is a free data retrieval call binding the contract method 0x44064be7.

Solidity: function isDelegatedVault(address ) view returns(bool)

func (*YregistrySession) PendingGovernance

func (_Yregistry *YregistrySession) PendingGovernance() (common.Address, error)

PendingGovernance is a free data retrieval call binding the contract method 0xf39c38a0.

Solidity: function pendingGovernance() view returns(address)

func (*YregistrySession) SetPendingGovernance

func (_Yregistry *YregistrySession) SetPendingGovernance(_pendingGovernance common.Address) (*types.Transaction, error)

SetPendingGovernance is a paid mutator transaction binding the contract method 0x0abb6035.

Solidity: function setPendingGovernance(address _pendingGovernance) returns()

type YregistryTransactor

type YregistryTransactor struct {
	// contains filtered or unexported fields
}

YregistryTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewYregistryTransactor

func NewYregistryTransactor(address common.Address, transactor bind.ContractTransactor) (*YregistryTransactor, error)

NewYregistryTransactor creates a new write-only instance of Yregistry, bound to a specific deployed contract.

func (*YregistryTransactor) AcceptGovernance

func (_Yregistry *YregistryTransactor) AcceptGovernance(opts *bind.TransactOpts) (*types.Transaction, error)

AcceptGovernance is a paid mutator transaction binding the contract method 0x238efcbc.

Solidity: function acceptGovernance() returns()

func (*YregistryTransactor) AddDelegatedVault

func (_Yregistry *YregistryTransactor) AddDelegatedVault(opts *bind.TransactOpts, _vault common.Address) (*types.Transaction, error)

AddDelegatedVault is a paid mutator transaction binding the contract method 0x2019c75a.

Solidity: function addDelegatedVault(address _vault) returns()

func (*YregistryTransactor) AddVault

func (_Yregistry *YregistryTransactor) AddVault(opts *bind.TransactOpts, _vault common.Address) (*types.Transaction, error)

AddVault is a paid mutator transaction binding the contract method 0x256b5a02.

Solidity: function addVault(address _vault) returns()

func (*YregistryTransactor) AddWrappedVault

func (_Yregistry *YregistryTransactor) AddWrappedVault(opts *bind.TransactOpts, _vault common.Address) (*types.Transaction, error)

AddWrappedVault is a paid mutator transaction binding the contract method 0x61de8389.

Solidity: function addWrappedVault(address _vault) returns()

func (*YregistryTransactor) SetPendingGovernance

func (_Yregistry *YregistryTransactor) SetPendingGovernance(opts *bind.TransactOpts, _pendingGovernance common.Address) (*types.Transaction, error)

SetPendingGovernance is a paid mutator transaction binding the contract method 0x0abb6035.

Solidity: function setPendingGovernance(address _pendingGovernance) returns()

type YregistryTransactorRaw

type YregistryTransactorRaw struct {
	Contract *YregistryTransactor // Generic write-only contract binding to access the raw methods on
}

YregistryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*YregistryTransactorRaw) Transact

func (_Yregistry *YregistryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*YregistryTransactorRaw) Transfer

func (_Yregistry *YregistryTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type YregistryTransactorSession

type YregistryTransactorSession struct {
	Contract     *YregistryTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts    // Transaction auth options to use throughout this session
}

YregistryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*YregistryTransactorSession) AcceptGovernance

func (_Yregistry *YregistryTransactorSession) AcceptGovernance() (*types.Transaction, error)

AcceptGovernance is a paid mutator transaction binding the contract method 0x238efcbc.

Solidity: function acceptGovernance() returns()

func (*YregistryTransactorSession) AddDelegatedVault

func (_Yregistry *YregistryTransactorSession) AddDelegatedVault(_vault common.Address) (*types.Transaction, error)

AddDelegatedVault is a paid mutator transaction binding the contract method 0x2019c75a.

Solidity: function addDelegatedVault(address _vault) returns()

func (*YregistryTransactorSession) AddVault

func (_Yregistry *YregistryTransactorSession) AddVault(_vault common.Address) (*types.Transaction, error)

AddVault is a paid mutator transaction binding the contract method 0x256b5a02.

Solidity: function addVault(address _vault) returns()

func (*YregistryTransactorSession) AddWrappedVault

func (_Yregistry *YregistryTransactorSession) AddWrappedVault(_vault common.Address) (*types.Transaction, error)

AddWrappedVault is a paid mutator transaction binding the contract method 0x61de8389.

Solidity: function addWrappedVault(address _vault) returns()

func (*YregistryTransactorSession) SetPendingGovernance

func (_Yregistry *YregistryTransactorSession) SetPendingGovernance(_pendingGovernance common.Address) (*types.Transaction, error)

SetPendingGovernance is a paid mutator transaction binding the contract method 0x0abb6035.

Solidity: function setPendingGovernance(address _pendingGovernance) returns()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL