yearn

package
v0.0.0-...-bd3dd7f Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RegisterAdapterV2VaultABI = RegisterAdapterV2VaultMetaData.ABI

RegisterAdapterV2VaultABI is the input ABI used to generate the binding from. Deprecated: Use RegisterAdapterV2VaultMetaData.ABI instead.

View Source
var RegisterAdapterV2VaultMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_oracleAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_helperAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_addressesGeneratorAddress\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"stateMutability\":\"nonpayable\",\"type\":\"fallback\"},{\"inputs\":[],\"name\":\"adapterInfo\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"id\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"typeId\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"categoryId\",\"type\":\"string\"}],\"internalType\":\"structRegisteryAdapterV2Vaults.AdapterInfo\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"accountAddress\",\"type\":\"address\"}],\"name\":\"adapterPositionOf\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"balanceUsdc\",\"type\":\"uint256\"}],\"internalType\":\"structRegisteryAdapterV2Vaults.AdapterPosition\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"addressesGeneratorAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"accountAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"assetAddress\",\"type\":\"address\"}],\"name\":\"assetAllowances\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"structRegisteryAdapterV2Vaults.Allowance[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"assetAddress\",\"type\":\"address\"}],\"name\":\"assetBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"assetAddress\",\"type\":\"address\"}],\"name\":\"assetDynamic\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"id\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"typeId\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"tokenId\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountUsdc\",\"type\":\"uint256\"}],\"internalType\":\"structRegisteryAdapterV2Vaults.TokenAmount\",\"name\":\"underlyingTokenBalance\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"pricePerShare\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"migrationAvailable\",\"type\":\"bool\"},{\"internalType\":\"address\",\"name\":\"latestVaultAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"depositLimit\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"emergencyShutdown\",\"type\":\"bool\"}],\"internalType\":\"structRegisteryAdapterV2Vaults.AssetMetadata\",\"name\":\"metadata\",\"type\":\"tuple\"}],\"internalType\":\"structRegisteryAdapterV2Vaults.AssetDynamic\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"accountAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"assetAddress\",\"type\":\"address\"}],\"name\":\"assetPositionsOf\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"assetId\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenId\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"typeId\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountUsdc\",\"type\":\"uint256\"}],\"internalType\":\"structRegisteryAdapterV2Vaults.TokenAmount\",\"name\":\"underlyingTokenBalance\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"structRegisteryAdapterV2Vaults.Allowance[]\",\"name\":\"tokenAllowances\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"structRegisteryAdapterV2Vaults.Allowance[]\",\"name\":\"assetAllowances\",\"type\":\"tuple[]\"}],\"internalType\":\"structRegisteryAdapterV2Vaults.Position[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"assetAddress\",\"type\":\"address\"}],\"name\":\"assetStatic\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"id\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"typeId\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"tokenId\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"internalType\":\"uint8\",\"name\":\"decimals\",\"type\":\"uint8\"}],\"internalType\":\"structRegisteryAdapterV2Vaults.AssetStatic\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"assetAddress\",\"type\":\"address\"}],\"name\":\"assetUnderlyingTokenAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"assetAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"accountAddress\",\"type\":\"address\"}],\"name\":\"assetUserMetadata\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"depositBalance\",\"type\":\"address\"}],\"internalType\":\"structRegisteryAdapterV2Vaults.AssetUserMetadata\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"assetsAddresses\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"assetsDynamic\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"id\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"typeId\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"tokenId\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountUsdc\",\"type\":\"uint256\"}],\"internalType\":\"structRegisteryAdapterV2Vaults.TokenAmount\",\"name\":\"underlyingTokenBalance\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"pricePerShare\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"migrationAvailable\",\"type\":\"bool\"},{\"internalType\":\"address\",\"name\":\"latestVaultAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"depositLimit\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"emergencyShutdown\",\"type\":\"bool\"}],\"internalType\":\"structRegisteryAdapterV2Vaults.AssetMetadata\",\"name\":\"metadata\",\"type\":\"tuple\"}],\"internalType\":\"structRegisteryAdapterV2Vaults.AssetDynamic[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_assetsAddresses\",\"type\":\"address[]\"}],\"name\":\"assetsDynamic\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"id\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"typeId\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"tokenId\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountUsdc\",\"type\":\"uint256\"}],\"internalType\":\"structRegisteryAdapterV2Vaults.TokenAmount\",\"name\":\"underlyingTokenBalance\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"pricePerShare\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"migrationAvailable\",\"type\":\"bool\"},{\"internalType\":\"address\",\"name\":\"latestVaultAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"depositLimit\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"emergencyShutdown\",\"type\":\"bool\"}],\"internalType\":\"structRegisteryAdapterV2Vaults.AssetMetadata\",\"name\":\"metadata\",\"type\":\"tuple\"}],\"internalType\":\"structRegisteryAdapterV2Vaults.AssetDynamic[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"assetsLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"accountAddress\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"_assetsAddresses\",\"type\":\"address[]\"}],\"name\":\"assetsPositionsOf\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"assetId\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenId\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"typeId\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountUsdc\",\"type\":\"uint256\"}],\"internalType\":\"structRegisteryAdapterV2Vaults.TokenAmount\",\"name\":\"underlyingTokenBalance\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"structRegisteryAdapterV2Vaults.Allowance[]\",\"name\":\"tokenAllowances\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"structRegisteryAdapterV2Vaults.Allowance[]\",\"name\":\"assetAllowances\",\"type\":\"tuple[]\"}],\"internalType\":\"structRegisteryAdapterV2Vaults.Position[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"accountAddress\",\"type\":\"address\"}],\"name\":\"assetsPositionsOf\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"assetId\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenId\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"typeId\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountUsdc\",\"type\":\"uint256\"}],\"internalType\":\"structRegisteryAdapterV2Vaults.TokenAmount\",\"name\":\"underlyingTokenBalance\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"structRegisteryAdapterV2Vaults.Allowance[]\",\"name\":\"tokenAllowances\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"structRegisteryAdapterV2Vaults.Allowance[]\",\"name\":\"assetAllowances\",\"type\":\"tuple[]\"}],\"internalType\":\"structRegisteryAdapterV2Vaults.Position[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"assetsStatic\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"id\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"typeId\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"tokenId\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"internalType\":\"uint8\",\"name\":\"decimals\",\"type\":\"uint8\"}],\"internalType\":\"structRegisteryAdapterV2Vaults.AssetStatic[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_assetsAddresses\",\"type\":\"address[]\"}],\"name\":\"assetsStatic\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"id\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"typeId\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"tokenId\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol\",\"type\":\"string\"},{\"internalType\":\"uint8\",\"name\":\"decimals\",\"type\":\"uint8\"}],\"internalType\":\"structRegisteryAdapterV2Vaults.AssetStatic[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"assetsTokensAddresses\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"accountAddress\",\"type\":\"address\"}],\"name\":\"assetsUserMetadata\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"depositBalance\",\"type\":\"address\"}],\"internalType\":\"structRegisteryAdapterV2Vaults.AssetUserMetadata[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"extensionsAddresses\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"helperAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"oracleAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"registryAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_newExtensionsAddresses\",\"type\":\"address[]\"}],\"name\":\"setExtensionsAddresses\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"supportedPositions\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"accountAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"assetAddress\",\"type\":\"address\"}],\"name\":\"tokenAllowances\",\"outputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"internalType\":\"structRegisteryAdapterV2Vaults.Allowance[]\",\"name\":\"\",\"type\":\"tuple[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"slot\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"value\",\"type\":\"bytes32\"}],\"name\":\"updateSlot\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

RegisterAdapterV2VaultMetaData contains all meta data concerning the RegisterAdapterV2Vault contract.

Functions

This section is empty.

Types

type RegisterAdapterV2Vault

type RegisterAdapterV2Vault struct {
	RegisterAdapterV2VaultCaller     // Read-only binding to the contract
	RegisterAdapterV2VaultTransactor // Write-only binding to the contract
	RegisterAdapterV2VaultFilterer   // Log filterer for contract events
}

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

func NewRegisterAdapterV2Vault

func NewRegisterAdapterV2Vault(address common.Address, backend bind.ContractBackend) (*RegisterAdapterV2Vault, error)

NewRegisterAdapterV2Vault creates a new instance of RegisterAdapterV2Vault, bound to a specific deployed contract.

type RegisterAdapterV2VaultCaller

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

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

func NewRegisterAdapterV2VaultCaller

func NewRegisterAdapterV2VaultCaller(address common.Address, caller bind.ContractCaller) (*RegisterAdapterV2VaultCaller, error)

NewRegisterAdapterV2VaultCaller creates a new read-only instance of RegisterAdapterV2Vault, bound to a specific deployed contract.

func (*RegisterAdapterV2VaultCaller) AdapterInfo

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCaller) AdapterInfo(opts *bind.CallOpts) (RegisteryAdapterV2VaultsAdapterInfo, error)

AdapterInfo is a free data retrieval call binding the contract method 0xc10e0eeb.

Solidity: function adapterInfo() view returns((address,string,string))

func (*RegisterAdapterV2VaultCaller) AdapterPositionOf

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCaller) AdapterPositionOf(opts *bind.CallOpts, accountAddress common.Address) (RegisteryAdapterV2VaultsAdapterPosition, error)

AdapterPositionOf is a free data retrieval call binding the contract method 0xb7cc58c1.

Solidity: function adapterPositionOf(address accountAddress) view returns((uint256))

func (*RegisterAdapterV2VaultCaller) AddressesGeneratorAddress

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCaller) AddressesGeneratorAddress(opts *bind.CallOpts) (common.Address, error)

AddressesGeneratorAddress is a free data retrieval call binding the contract method 0x59bd3909.

Solidity: function addressesGeneratorAddress() view returns(address)

func (*RegisterAdapterV2VaultCaller) AssetAllowances

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCaller) AssetAllowances(opts *bind.CallOpts, accountAddress common.Address, assetAddress common.Address) ([]RegisteryAdapterV2VaultsAllowance, error)

AssetAllowances is a free data retrieval call binding the contract method 0xc6d0dc8b.

Solidity: function assetAllowances(address accountAddress, address assetAddress) view returns((address,address,uint256)[])

func (*RegisterAdapterV2VaultCaller) AssetBalance

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCaller) AssetBalance(opts *bind.CallOpts, assetAddress common.Address) (*big.Int, error)

AssetBalance is a free data retrieval call binding the contract method 0xcd88e558.

Solidity: function assetBalance(address assetAddress) view returns(uint256)

func (*RegisterAdapterV2VaultCaller) AssetDynamic

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCaller) AssetDynamic(opts *bind.CallOpts, assetAddress common.Address) (RegisteryAdapterV2VaultsAssetDynamic, error)

AssetDynamic is a free data retrieval call binding the contract method 0x69706fed.

Solidity: function assetDynamic(address assetAddress) view returns((address,string,address,(uint256,uint256),(uint256,bool,address,uint256,bool)))

func (*RegisterAdapterV2VaultCaller) AssetPositionsOf

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCaller) AssetPositionsOf(opts *bind.CallOpts, accountAddress common.Address, assetAddress common.Address) ([]RegisteryAdapterV2VaultsPosition, error)

AssetPositionsOf is a free data retrieval call binding the contract method 0xe258f16a.

Solidity: function assetPositionsOf(address accountAddress, address assetAddress) view returns((address,address,string,uint256,(uint256,uint256),(address,address,uint256)[],(address,address,uint256)[])[])

func (*RegisterAdapterV2VaultCaller) AssetStatic

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCaller) AssetStatic(opts *bind.CallOpts, assetAddress common.Address) (RegisteryAdapterV2VaultsAssetStatic, error)

AssetStatic is a free data retrieval call binding the contract method 0x3d90e2c8.

Solidity: function assetStatic(address assetAddress) view returns((address,string,address,string,string,string,uint8))

func (*RegisterAdapterV2VaultCaller) AssetUnderlyingTokenAddress

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCaller) AssetUnderlyingTokenAddress(opts *bind.CallOpts, assetAddress common.Address) (common.Address, error)

AssetUnderlyingTokenAddress is a free data retrieval call binding the contract method 0x532f4273.

Solidity: function assetUnderlyingTokenAddress(address assetAddress) view returns(address)

func (*RegisterAdapterV2VaultCaller) AssetUserMetadata

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCaller) AssetUserMetadata(opts *bind.CallOpts, assetAddress common.Address, accountAddress common.Address) (RegisteryAdapterV2VaultsAssetUserMetadata, error)

AssetUserMetadata is a free data retrieval call binding the contract method 0xfdc9af8b.

Solidity: function assetUserMetadata(address assetAddress, address accountAddress) view returns((address))

func (*RegisterAdapterV2VaultCaller) AssetsAddresses

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCaller) AssetsAddresses(opts *bind.CallOpts) ([]common.Address, error)

AssetsAddresses is a free data retrieval call binding the contract method 0xa31091c7.

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

func (*RegisterAdapterV2VaultCaller) AssetsDynamic

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCaller) AssetsDynamic(opts *bind.CallOpts) ([]RegisteryAdapterV2VaultsAssetDynamic, error)

AssetsDynamic is a free data retrieval call binding the contract method 0x57d02836.

Solidity: function assetsDynamic() view returns((address,string,address,(uint256,uint256),(uint256,bool,address,uint256,bool))[])

func (*RegisterAdapterV2VaultCaller) AssetsDynamic0

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCaller) AssetsDynamic0(opts *bind.CallOpts, _assetsAddresses []common.Address) ([]RegisteryAdapterV2VaultsAssetDynamic, error)

AssetsDynamic0 is a free data retrieval call binding the contract method 0x87920845.

Solidity: function assetsDynamic(address[] _assetsAddresses) view returns((address,string,address,(uint256,uint256),(uint256,bool,address,uint256,bool))[])

func (*RegisterAdapterV2VaultCaller) AssetsLength

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCaller) AssetsLength(opts *bind.CallOpts) (*big.Int, error)

AssetsLength is a free data retrieval call binding the contract method 0xf50477a2.

Solidity: function assetsLength() view returns(uint256)

func (*RegisterAdapterV2VaultCaller) AssetsPositionsOf

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCaller) AssetsPositionsOf(opts *bind.CallOpts, accountAddress common.Address, _assetsAddresses []common.Address) ([]RegisteryAdapterV2VaultsPosition, error)

AssetsPositionsOf is a free data retrieval call binding the contract method 0xd33c39d2.

Solidity: function assetsPositionsOf(address accountAddress, address[] _assetsAddresses) view returns((address,address,string,uint256,(uint256,uint256),(address,address,uint256)[],(address,address,uint256)[])[])

func (*RegisterAdapterV2VaultCaller) AssetsPositionsOf0

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCaller) AssetsPositionsOf0(opts *bind.CallOpts, accountAddress common.Address) ([]RegisteryAdapterV2VaultsPosition, error)

AssetsPositionsOf0 is a free data retrieval call binding the contract method 0xe23121b1.

Solidity: function assetsPositionsOf(address accountAddress) view returns((address,address,string,uint256,(uint256,uint256),(address,address,uint256)[],(address,address,uint256)[])[])

func (*RegisterAdapterV2VaultCaller) AssetsStatic

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCaller) AssetsStatic(opts *bind.CallOpts) ([]RegisteryAdapterV2VaultsAssetStatic, error)

AssetsStatic is a free data retrieval call binding the contract method 0x9adbba59.

Solidity: function assetsStatic() view returns((address,string,address,string,string,string,uint8)[])

func (*RegisterAdapterV2VaultCaller) AssetsStatic0

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCaller) AssetsStatic0(opts *bind.CallOpts, _assetsAddresses []common.Address) ([]RegisteryAdapterV2VaultsAssetStatic, error)

AssetsStatic0 is a free data retrieval call binding the contract method 0xd36ec1cf.

Solidity: function assetsStatic(address[] _assetsAddresses) view returns((address,string,address,string,string,string,uint8)[])

func (*RegisterAdapterV2VaultCaller) AssetsTokensAddresses

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCaller) AssetsTokensAddresses(opts *bind.CallOpts) ([]common.Address, error)

AssetsTokensAddresses is a free data retrieval call binding the contract method 0xa2f93565.

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

func (*RegisterAdapterV2VaultCaller) AssetsUserMetadata

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCaller) AssetsUserMetadata(opts *bind.CallOpts, accountAddress common.Address) ([]RegisteryAdapterV2VaultsAssetUserMetadata, error)

AssetsUserMetadata is a free data retrieval call binding the contract method 0x8b185f36.

Solidity: function assetsUserMetadata(address accountAddress) view returns((address)[])

func (*RegisterAdapterV2VaultCaller) ExtensionsAddresses

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCaller) ExtensionsAddresses(opts *bind.CallOpts) ([]common.Address, error)

ExtensionsAddresses is a free data retrieval call binding the contract method 0xb618e5c3.

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

func (*RegisterAdapterV2VaultCaller) HelperAddress

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCaller) HelperAddress(opts *bind.CallOpts) (common.Address, error)

HelperAddress is a free data retrieval call binding the contract method 0x7974db4b.

Solidity: function helperAddress() view returns(address)

func (*RegisterAdapterV2VaultCaller) OracleAddress

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCaller) OracleAddress(opts *bind.CallOpts) (common.Address, error)

OracleAddress is a free data retrieval call binding the contract method 0xa89ae4ba.

Solidity: function oracleAddress() view returns(address)

func (*RegisterAdapterV2VaultCaller) Owner

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*RegisterAdapterV2VaultCaller) RegistryAddress

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCaller) RegistryAddress(opts *bind.CallOpts) (common.Address, error)

RegistryAddress is a free data retrieval call binding the contract method 0xed9aab51.

Solidity: function registryAddress() view returns(address)

func (*RegisterAdapterV2VaultCaller) SupportedPositions

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCaller) SupportedPositions(opts *bind.CallOpts, arg0 *big.Int) (string, error)

SupportedPositions is a free data retrieval call binding the contract method 0x294e9131.

Solidity: function supportedPositions(uint256 ) view returns(string)

func (*RegisterAdapterV2VaultCaller) TokenAllowances

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCaller) TokenAllowances(opts *bind.CallOpts, accountAddress common.Address, assetAddress common.Address) ([]RegisteryAdapterV2VaultsAllowance, error)

TokenAllowances is a free data retrieval call binding the contract method 0xd68bda7c.

Solidity: function tokenAllowances(address accountAddress, address assetAddress) view returns((address,address,uint256)[])

type RegisterAdapterV2VaultCallerRaw

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

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

func (*RegisterAdapterV2VaultCallerRaw) Call

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCallerRaw) 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 RegisterAdapterV2VaultCallerSession

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

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

func (*RegisterAdapterV2VaultCallerSession) AdapterInfo

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCallerSession) AdapterInfo() (RegisteryAdapterV2VaultsAdapterInfo, error)

AdapterInfo is a free data retrieval call binding the contract method 0xc10e0eeb.

Solidity: function adapterInfo() view returns((address,string,string))

func (*RegisterAdapterV2VaultCallerSession) AdapterPositionOf

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCallerSession) AdapterPositionOf(accountAddress common.Address) (RegisteryAdapterV2VaultsAdapterPosition, error)

AdapterPositionOf is a free data retrieval call binding the contract method 0xb7cc58c1.

Solidity: function adapterPositionOf(address accountAddress) view returns((uint256))

func (*RegisterAdapterV2VaultCallerSession) AddressesGeneratorAddress

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCallerSession) AddressesGeneratorAddress() (common.Address, error)

AddressesGeneratorAddress is a free data retrieval call binding the contract method 0x59bd3909.

Solidity: function addressesGeneratorAddress() view returns(address)

func (*RegisterAdapterV2VaultCallerSession) AssetAllowances

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCallerSession) AssetAllowances(accountAddress common.Address, assetAddress common.Address) ([]RegisteryAdapterV2VaultsAllowance, error)

AssetAllowances is a free data retrieval call binding the contract method 0xc6d0dc8b.

Solidity: function assetAllowances(address accountAddress, address assetAddress) view returns((address,address,uint256)[])

func (*RegisterAdapterV2VaultCallerSession) AssetBalance

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCallerSession) AssetBalance(assetAddress common.Address) (*big.Int, error)

AssetBalance is a free data retrieval call binding the contract method 0xcd88e558.

Solidity: function assetBalance(address assetAddress) view returns(uint256)

func (*RegisterAdapterV2VaultCallerSession) AssetDynamic

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCallerSession) AssetDynamic(assetAddress common.Address) (RegisteryAdapterV2VaultsAssetDynamic, error)

AssetDynamic is a free data retrieval call binding the contract method 0x69706fed.

Solidity: function assetDynamic(address assetAddress) view returns((address,string,address,(uint256,uint256),(uint256,bool,address,uint256,bool)))

func (*RegisterAdapterV2VaultCallerSession) AssetPositionsOf

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCallerSession) AssetPositionsOf(accountAddress common.Address, assetAddress common.Address) ([]RegisteryAdapterV2VaultsPosition, error)

AssetPositionsOf is a free data retrieval call binding the contract method 0xe258f16a.

Solidity: function assetPositionsOf(address accountAddress, address assetAddress) view returns((address,address,string,uint256,(uint256,uint256),(address,address,uint256)[],(address,address,uint256)[])[])

func (*RegisterAdapterV2VaultCallerSession) AssetStatic

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCallerSession) AssetStatic(assetAddress common.Address) (RegisteryAdapterV2VaultsAssetStatic, error)

AssetStatic is a free data retrieval call binding the contract method 0x3d90e2c8.

Solidity: function assetStatic(address assetAddress) view returns((address,string,address,string,string,string,uint8))

func (*RegisterAdapterV2VaultCallerSession) AssetUnderlyingTokenAddress

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCallerSession) AssetUnderlyingTokenAddress(assetAddress common.Address) (common.Address, error)

AssetUnderlyingTokenAddress is a free data retrieval call binding the contract method 0x532f4273.

Solidity: function assetUnderlyingTokenAddress(address assetAddress) view returns(address)

func (*RegisterAdapterV2VaultCallerSession) AssetUserMetadata

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCallerSession) AssetUserMetadata(assetAddress common.Address, accountAddress common.Address) (RegisteryAdapterV2VaultsAssetUserMetadata, error)

AssetUserMetadata is a free data retrieval call binding the contract method 0xfdc9af8b.

Solidity: function assetUserMetadata(address assetAddress, address accountAddress) view returns((address))

func (*RegisterAdapterV2VaultCallerSession) AssetsAddresses

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCallerSession) AssetsAddresses() ([]common.Address, error)

AssetsAddresses is a free data retrieval call binding the contract method 0xa31091c7.

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

func (*RegisterAdapterV2VaultCallerSession) AssetsDynamic

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCallerSession) AssetsDynamic() ([]RegisteryAdapterV2VaultsAssetDynamic, error)

AssetsDynamic is a free data retrieval call binding the contract method 0x57d02836.

Solidity: function assetsDynamic() view returns((address,string,address,(uint256,uint256),(uint256,bool,address,uint256,bool))[])

func (*RegisterAdapterV2VaultCallerSession) AssetsDynamic0

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCallerSession) AssetsDynamic0(_assetsAddresses []common.Address) ([]RegisteryAdapterV2VaultsAssetDynamic, error)

AssetsDynamic0 is a free data retrieval call binding the contract method 0x87920845.

Solidity: function assetsDynamic(address[] _assetsAddresses) view returns((address,string,address,(uint256,uint256),(uint256,bool,address,uint256,bool))[])

func (*RegisterAdapterV2VaultCallerSession) AssetsLength

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCallerSession) AssetsLength() (*big.Int, error)

AssetsLength is a free data retrieval call binding the contract method 0xf50477a2.

Solidity: function assetsLength() view returns(uint256)

func (*RegisterAdapterV2VaultCallerSession) AssetsPositionsOf

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCallerSession) AssetsPositionsOf(accountAddress common.Address, _assetsAddresses []common.Address) ([]RegisteryAdapterV2VaultsPosition, error)

AssetsPositionsOf is a free data retrieval call binding the contract method 0xd33c39d2.

Solidity: function assetsPositionsOf(address accountAddress, address[] _assetsAddresses) view returns((address,address,string,uint256,(uint256,uint256),(address,address,uint256)[],(address,address,uint256)[])[])

func (*RegisterAdapterV2VaultCallerSession) AssetsPositionsOf0

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCallerSession) AssetsPositionsOf0(accountAddress common.Address) ([]RegisteryAdapterV2VaultsPosition, error)

AssetsPositionsOf0 is a free data retrieval call binding the contract method 0xe23121b1.

Solidity: function assetsPositionsOf(address accountAddress) view returns((address,address,string,uint256,(uint256,uint256),(address,address,uint256)[],(address,address,uint256)[])[])

func (*RegisterAdapterV2VaultCallerSession) AssetsStatic

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCallerSession) AssetsStatic() ([]RegisteryAdapterV2VaultsAssetStatic, error)

AssetsStatic is a free data retrieval call binding the contract method 0x9adbba59.

Solidity: function assetsStatic() view returns((address,string,address,string,string,string,uint8)[])

func (*RegisterAdapterV2VaultCallerSession) AssetsStatic0

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCallerSession) AssetsStatic0(_assetsAddresses []common.Address) ([]RegisteryAdapterV2VaultsAssetStatic, error)

AssetsStatic0 is a free data retrieval call binding the contract method 0xd36ec1cf.

Solidity: function assetsStatic(address[] _assetsAddresses) view returns((address,string,address,string,string,string,uint8)[])

func (*RegisterAdapterV2VaultCallerSession) AssetsTokensAddresses

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCallerSession) AssetsTokensAddresses() ([]common.Address, error)

AssetsTokensAddresses is a free data retrieval call binding the contract method 0xa2f93565.

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

func (*RegisterAdapterV2VaultCallerSession) AssetsUserMetadata

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCallerSession) AssetsUserMetadata(accountAddress common.Address) ([]RegisteryAdapterV2VaultsAssetUserMetadata, error)

AssetsUserMetadata is a free data retrieval call binding the contract method 0x8b185f36.

Solidity: function assetsUserMetadata(address accountAddress) view returns((address)[])

func (*RegisterAdapterV2VaultCallerSession) ExtensionsAddresses

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCallerSession) ExtensionsAddresses() ([]common.Address, error)

ExtensionsAddresses is a free data retrieval call binding the contract method 0xb618e5c3.

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

func (*RegisterAdapterV2VaultCallerSession) HelperAddress

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCallerSession) HelperAddress() (common.Address, error)

HelperAddress is a free data retrieval call binding the contract method 0x7974db4b.

Solidity: function helperAddress() view returns(address)

func (*RegisterAdapterV2VaultCallerSession) OracleAddress

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCallerSession) OracleAddress() (common.Address, error)

OracleAddress is a free data retrieval call binding the contract method 0xa89ae4ba.

Solidity: function oracleAddress() view returns(address)

func (*RegisterAdapterV2VaultCallerSession) Owner

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*RegisterAdapterV2VaultCallerSession) RegistryAddress

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCallerSession) RegistryAddress() (common.Address, error)

RegistryAddress is a free data retrieval call binding the contract method 0xed9aab51.

Solidity: function registryAddress() view returns(address)

func (*RegisterAdapterV2VaultCallerSession) SupportedPositions

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCallerSession) SupportedPositions(arg0 *big.Int) (string, error)

SupportedPositions is a free data retrieval call binding the contract method 0x294e9131.

Solidity: function supportedPositions(uint256 ) view returns(string)

func (*RegisterAdapterV2VaultCallerSession) TokenAllowances

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultCallerSession) TokenAllowances(accountAddress common.Address, assetAddress common.Address) ([]RegisteryAdapterV2VaultsAllowance, error)

TokenAllowances is a free data retrieval call binding the contract method 0xd68bda7c.

Solidity: function tokenAllowances(address accountAddress, address assetAddress) view returns((address,address,uint256)[])

type RegisterAdapterV2VaultFilterer

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

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

func NewRegisterAdapterV2VaultFilterer

func NewRegisterAdapterV2VaultFilterer(address common.Address, filterer bind.ContractFilterer) (*RegisterAdapterV2VaultFilterer, error)

NewRegisterAdapterV2VaultFilterer creates a new log filterer instance of RegisterAdapterV2Vault, bound to a specific deployed contract.

type RegisterAdapterV2VaultRaw

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

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

func (*RegisterAdapterV2VaultRaw) Call

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultRaw) 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 (*RegisterAdapterV2VaultRaw) Transact

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

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

func (*RegisterAdapterV2VaultRaw) Transfer

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultRaw) 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 RegisterAdapterV2VaultSession

type RegisterAdapterV2VaultSession struct {
	Contract     *RegisterAdapterV2Vault // 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
}

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

func (*RegisterAdapterV2VaultSession) AdapterInfo

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultSession) AdapterInfo() (RegisteryAdapterV2VaultsAdapterInfo, error)

AdapterInfo is a free data retrieval call binding the contract method 0xc10e0eeb.

Solidity: function adapterInfo() view returns((address,string,string))

func (*RegisterAdapterV2VaultSession) AdapterPositionOf

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultSession) AdapterPositionOf(accountAddress common.Address) (RegisteryAdapterV2VaultsAdapterPosition, error)

AdapterPositionOf is a free data retrieval call binding the contract method 0xb7cc58c1.

Solidity: function adapterPositionOf(address accountAddress) view returns((uint256))

func (*RegisterAdapterV2VaultSession) AddressesGeneratorAddress

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultSession) AddressesGeneratorAddress() (common.Address, error)

AddressesGeneratorAddress is a free data retrieval call binding the contract method 0x59bd3909.

Solidity: function addressesGeneratorAddress() view returns(address)

func (*RegisterAdapterV2VaultSession) AssetAllowances

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultSession) AssetAllowances(accountAddress common.Address, assetAddress common.Address) ([]RegisteryAdapterV2VaultsAllowance, error)

AssetAllowances is a free data retrieval call binding the contract method 0xc6d0dc8b.

Solidity: function assetAllowances(address accountAddress, address assetAddress) view returns((address,address,uint256)[])

func (*RegisterAdapterV2VaultSession) AssetBalance

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultSession) AssetBalance(assetAddress common.Address) (*big.Int, error)

AssetBalance is a free data retrieval call binding the contract method 0xcd88e558.

Solidity: function assetBalance(address assetAddress) view returns(uint256)

func (*RegisterAdapterV2VaultSession) AssetDynamic

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultSession) AssetDynamic(assetAddress common.Address) (RegisteryAdapterV2VaultsAssetDynamic, error)

AssetDynamic is a free data retrieval call binding the contract method 0x69706fed.

Solidity: function assetDynamic(address assetAddress) view returns((address,string,address,(uint256,uint256),(uint256,bool,address,uint256,bool)))

func (*RegisterAdapterV2VaultSession) AssetPositionsOf

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultSession) AssetPositionsOf(accountAddress common.Address, assetAddress common.Address) ([]RegisteryAdapterV2VaultsPosition, error)

AssetPositionsOf is a free data retrieval call binding the contract method 0xe258f16a.

Solidity: function assetPositionsOf(address accountAddress, address assetAddress) view returns((address,address,string,uint256,(uint256,uint256),(address,address,uint256)[],(address,address,uint256)[])[])

func (*RegisterAdapterV2VaultSession) AssetStatic

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultSession) AssetStatic(assetAddress common.Address) (RegisteryAdapterV2VaultsAssetStatic, error)

AssetStatic is a free data retrieval call binding the contract method 0x3d90e2c8.

Solidity: function assetStatic(address assetAddress) view returns((address,string,address,string,string,string,uint8))

func (*RegisterAdapterV2VaultSession) AssetUnderlyingTokenAddress

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultSession) AssetUnderlyingTokenAddress(assetAddress common.Address) (common.Address, error)

AssetUnderlyingTokenAddress is a free data retrieval call binding the contract method 0x532f4273.

Solidity: function assetUnderlyingTokenAddress(address assetAddress) view returns(address)

func (*RegisterAdapterV2VaultSession) AssetUserMetadata

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultSession) AssetUserMetadata(assetAddress common.Address, accountAddress common.Address) (RegisteryAdapterV2VaultsAssetUserMetadata, error)

AssetUserMetadata is a free data retrieval call binding the contract method 0xfdc9af8b.

Solidity: function assetUserMetadata(address assetAddress, address accountAddress) view returns((address))

func (*RegisterAdapterV2VaultSession) AssetsAddresses

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultSession) AssetsAddresses() ([]common.Address, error)

AssetsAddresses is a free data retrieval call binding the contract method 0xa31091c7.

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

func (*RegisterAdapterV2VaultSession) AssetsDynamic

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultSession) AssetsDynamic() ([]RegisteryAdapterV2VaultsAssetDynamic, error)

AssetsDynamic is a free data retrieval call binding the contract method 0x57d02836.

Solidity: function assetsDynamic() view returns((address,string,address,(uint256,uint256),(uint256,bool,address,uint256,bool))[])

func (*RegisterAdapterV2VaultSession) AssetsDynamic0

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultSession) AssetsDynamic0(_assetsAddresses []common.Address) ([]RegisteryAdapterV2VaultsAssetDynamic, error)

AssetsDynamic0 is a free data retrieval call binding the contract method 0x87920845.

Solidity: function assetsDynamic(address[] _assetsAddresses) view returns((address,string,address,(uint256,uint256),(uint256,bool,address,uint256,bool))[])

func (*RegisterAdapterV2VaultSession) AssetsLength

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultSession) AssetsLength() (*big.Int, error)

AssetsLength is a free data retrieval call binding the contract method 0xf50477a2.

Solidity: function assetsLength() view returns(uint256)

func (*RegisterAdapterV2VaultSession) AssetsPositionsOf

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultSession) AssetsPositionsOf(accountAddress common.Address, _assetsAddresses []common.Address) ([]RegisteryAdapterV2VaultsPosition, error)

AssetsPositionsOf is a free data retrieval call binding the contract method 0xd33c39d2.

Solidity: function assetsPositionsOf(address accountAddress, address[] _assetsAddresses) view returns((address,address,string,uint256,(uint256,uint256),(address,address,uint256)[],(address,address,uint256)[])[])

func (*RegisterAdapterV2VaultSession) AssetsPositionsOf0

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultSession) AssetsPositionsOf0(accountAddress common.Address) ([]RegisteryAdapterV2VaultsPosition, error)

AssetsPositionsOf0 is a free data retrieval call binding the contract method 0xe23121b1.

Solidity: function assetsPositionsOf(address accountAddress) view returns((address,address,string,uint256,(uint256,uint256),(address,address,uint256)[],(address,address,uint256)[])[])

func (*RegisterAdapterV2VaultSession) AssetsStatic

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultSession) AssetsStatic() ([]RegisteryAdapterV2VaultsAssetStatic, error)

AssetsStatic is a free data retrieval call binding the contract method 0x9adbba59.

Solidity: function assetsStatic() view returns((address,string,address,string,string,string,uint8)[])

func (*RegisterAdapterV2VaultSession) AssetsStatic0

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultSession) AssetsStatic0(_assetsAddresses []common.Address) ([]RegisteryAdapterV2VaultsAssetStatic, error)

AssetsStatic0 is a free data retrieval call binding the contract method 0xd36ec1cf.

Solidity: function assetsStatic(address[] _assetsAddresses) view returns((address,string,address,string,string,string,uint8)[])

func (*RegisterAdapterV2VaultSession) AssetsTokensAddresses

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultSession) AssetsTokensAddresses() ([]common.Address, error)

AssetsTokensAddresses is a free data retrieval call binding the contract method 0xa2f93565.

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

func (*RegisterAdapterV2VaultSession) AssetsUserMetadata

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultSession) AssetsUserMetadata(accountAddress common.Address) ([]RegisteryAdapterV2VaultsAssetUserMetadata, error)

AssetsUserMetadata is a free data retrieval call binding the contract method 0x8b185f36.

Solidity: function assetsUserMetadata(address accountAddress) view returns((address)[])

func (*RegisterAdapterV2VaultSession) ExtensionsAddresses

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultSession) ExtensionsAddresses() ([]common.Address, error)

ExtensionsAddresses is a free data retrieval call binding the contract method 0xb618e5c3.

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

func (*RegisterAdapterV2VaultSession) Fallback

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() returns()

func (*RegisterAdapterV2VaultSession) HelperAddress

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultSession) HelperAddress() (common.Address, error)

HelperAddress is a free data retrieval call binding the contract method 0x7974db4b.

Solidity: function helperAddress() view returns(address)

func (*RegisterAdapterV2VaultSession) OracleAddress

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultSession) OracleAddress() (common.Address, error)

OracleAddress is a free data retrieval call binding the contract method 0xa89ae4ba.

Solidity: function oracleAddress() view returns(address)

func (*RegisterAdapterV2VaultSession) Owner

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*RegisterAdapterV2VaultSession) RegistryAddress

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultSession) RegistryAddress() (common.Address, error)

RegistryAddress is a free data retrieval call binding the contract method 0xed9aab51.

Solidity: function registryAddress() view returns(address)

func (*RegisterAdapterV2VaultSession) SetExtensionsAddresses

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultSession) SetExtensionsAddresses(_newExtensionsAddresses []common.Address) (*types.Transaction, error)

SetExtensionsAddresses is a paid mutator transaction binding the contract method 0x77bcb01f.

Solidity: function setExtensionsAddresses(address[] _newExtensionsAddresses) returns()

func (*RegisterAdapterV2VaultSession) SupportedPositions

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultSession) SupportedPositions(arg0 *big.Int) (string, error)

SupportedPositions is a free data retrieval call binding the contract method 0x294e9131.

Solidity: function supportedPositions(uint256 ) view returns(string)

func (*RegisterAdapterV2VaultSession) TokenAllowances

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultSession) TokenAllowances(accountAddress common.Address, assetAddress common.Address) ([]RegisteryAdapterV2VaultsAllowance, error)

TokenAllowances is a free data retrieval call binding the contract method 0xd68bda7c.

Solidity: function tokenAllowances(address accountAddress, address assetAddress) view returns((address,address,uint256)[])

func (*RegisterAdapterV2VaultSession) UpdateSlot

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultSession) UpdateSlot(slot [32]byte, value [32]byte) (*types.Transaction, error)

UpdateSlot is a paid mutator transaction binding the contract method 0x91ea83e8.

Solidity: function updateSlot(bytes32 slot, bytes32 value) returns()

type RegisterAdapterV2VaultTransactor

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

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

func NewRegisterAdapterV2VaultTransactor

func NewRegisterAdapterV2VaultTransactor(address common.Address, transactor bind.ContractTransactor) (*RegisterAdapterV2VaultTransactor, error)

NewRegisterAdapterV2VaultTransactor creates a new write-only instance of RegisterAdapterV2Vault, bound to a specific deployed contract.

func (*RegisterAdapterV2VaultTransactor) Fallback

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultTransactor) Fallback(opts *bind.TransactOpts, calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() returns()

func (*RegisterAdapterV2VaultTransactor) SetExtensionsAddresses

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultTransactor) SetExtensionsAddresses(opts *bind.TransactOpts, _newExtensionsAddresses []common.Address) (*types.Transaction, error)

SetExtensionsAddresses is a paid mutator transaction binding the contract method 0x77bcb01f.

Solidity: function setExtensionsAddresses(address[] _newExtensionsAddresses) returns()

func (*RegisterAdapterV2VaultTransactor) UpdateSlot

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultTransactor) UpdateSlot(opts *bind.TransactOpts, slot [32]byte, value [32]byte) (*types.Transaction, error)

UpdateSlot is a paid mutator transaction binding the contract method 0x91ea83e8.

Solidity: function updateSlot(bytes32 slot, bytes32 value) returns()

type RegisterAdapterV2VaultTransactorRaw

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

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

func (*RegisterAdapterV2VaultTransactorRaw) Transact

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

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

func (*RegisterAdapterV2VaultTransactorRaw) Transfer

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultTransactorRaw) 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 RegisterAdapterV2VaultTransactorSession

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

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

func (*RegisterAdapterV2VaultTransactorSession) Fallback

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultTransactorSession) Fallback(calldata []byte) (*types.Transaction, error)

Fallback is a paid mutator transaction binding the contract fallback function.

Solidity: fallback() returns()

func (*RegisterAdapterV2VaultTransactorSession) SetExtensionsAddresses

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultTransactorSession) SetExtensionsAddresses(_newExtensionsAddresses []common.Address) (*types.Transaction, error)

SetExtensionsAddresses is a paid mutator transaction binding the contract method 0x77bcb01f.

Solidity: function setExtensionsAddresses(address[] _newExtensionsAddresses) returns()

func (*RegisterAdapterV2VaultTransactorSession) UpdateSlot

func (_RegisterAdapterV2Vault *RegisterAdapterV2VaultTransactorSession) UpdateSlot(slot [32]byte, value [32]byte) (*types.Transaction, error)

UpdateSlot is a paid mutator transaction binding the contract method 0x91ea83e8.

Solidity: function updateSlot(bytes32 slot, bytes32 value) returns()

type RegisteryAdapterV2VaultsAdapterInfo

type RegisteryAdapterV2VaultsAdapterInfo struct {
	Id         common.Address
	TypeId     string
	CategoryId string
}

RegisteryAdapterV2VaultsAdapterInfo is an auto generated low-level Go binding around an user-defined struct.

type RegisteryAdapterV2VaultsAdapterPosition

type RegisteryAdapterV2VaultsAdapterPosition struct {
	BalanceUsdc *big.Int
}

RegisteryAdapterV2VaultsAdapterPosition is an auto generated low-level Go binding around an user-defined struct.

type RegisteryAdapterV2VaultsAllowance

type RegisteryAdapterV2VaultsAllowance struct {
	Owner   common.Address
	Spender common.Address
	Amount  *big.Int
}

RegisteryAdapterV2VaultsAllowance is an auto generated low-level Go binding around an user-defined struct.

type RegisteryAdapterV2VaultsAssetDynamic

type RegisteryAdapterV2VaultsAssetDynamic struct {
	Id                     common.Address
	TypeId                 string
	TokenId                common.Address
	UnderlyingTokenBalance RegisteryAdapterV2VaultsTokenAmount
	Metadata               RegisteryAdapterV2VaultsAssetMetadata
}

RegisteryAdapterV2VaultsAssetDynamic is an auto generated low-level Go binding around an user-defined struct.

type RegisteryAdapterV2VaultsAssetMetadata

type RegisteryAdapterV2VaultsAssetMetadata struct {
	PricePerShare      *big.Int
	MigrationAvailable bool
	LatestVaultAddress common.Address
	DepositLimit       *big.Int
	EmergencyShutdown  bool
}

RegisteryAdapterV2VaultsAssetMetadata is an auto generated low-level Go binding around an user-defined struct.

type RegisteryAdapterV2VaultsAssetStatic

type RegisteryAdapterV2VaultsAssetStatic struct {
	Id       common.Address
	TypeId   string
	TokenId  common.Address
	Name     string
	Version  string
	Symbol   string
	Decimals uint8
}

RegisteryAdapterV2VaultsAssetStatic is an auto generated low-level Go binding around an user-defined struct.

type RegisteryAdapterV2VaultsAssetUserMetadata

type RegisteryAdapterV2VaultsAssetUserMetadata struct {
	DepositBalance common.Address
}

RegisteryAdapterV2VaultsAssetUserMetadata is an auto generated low-level Go binding around an user-defined struct.

type RegisteryAdapterV2VaultsPosition

type RegisteryAdapterV2VaultsPosition struct {
	AssetId                common.Address
	TokenId                common.Address
	TypeId                 string
	Balance                *big.Int
	UnderlyingTokenBalance RegisteryAdapterV2VaultsTokenAmount
	TokenAllowances        []RegisteryAdapterV2VaultsAllowance
	AssetAllowances        []RegisteryAdapterV2VaultsAllowance
}

RegisteryAdapterV2VaultsPosition is an auto generated low-level Go binding around an user-defined struct.

type RegisteryAdapterV2VaultsTokenAmount

type RegisteryAdapterV2VaultsTokenAmount struct {
	Amount     *big.Int
	AmountUsdc *big.Int
}

RegisteryAdapterV2VaultsTokenAmount is an auto generated low-level Go binding around an user-defined struct.

Jump to

Keyboard shortcuts

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