deprecated

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IAVSABI = IAVSMetaData.ABI

IAVSABI is the input ABI used to generate the binding from. Deprecated: Use IAVSMetaData.ABI instead.

View Source
var IAVSDirectoryABI = IAVSDirectoryMetaData.ABI

IAVSDirectoryABI is the input ABI used to generate the binding from. Deprecated: Use IAVSDirectoryMetaData.ABI instead.

View Source
var IAVSDirectoryMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"function\",\"name\":\"OPERATOR_AVS_REGISTRATION_TYPEHASH\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"calculateOperatorAVSRegistrationDigestHash\",\"inputs\":[{\"name\":\"operator\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"avs\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"salt\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"expiry\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"deregisterOperatorFromAVS\",\"inputs\":[{\"name\":\"operator\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"operatorSaltIsSpent\",\"inputs\":[{\"name\":\"operator\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"salt\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"registerOperatorToAVS\",\"inputs\":[{\"name\":\"operator\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"operatorSignature\",\"type\":\"tuple\",\"internalType\":\"structISignatureUtils.SignatureWithSaltAndExpiry\",\"components\":[{\"name\":\"signature\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"salt\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"expiry\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"updateAVSMetadataURI\",\"inputs\":[{\"name\":\"metadataURI\",\"type\":\"string\",\"internalType\":\"string\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"event\",\"name\":\"AVSMetadataURIUpdated\",\"inputs\":[{\"name\":\"avs\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"metadataURI\",\"type\":\"string\",\"indexed\":false,\"internalType\":\"string\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"OperatorAVSRegistrationStatusUpdated\",\"inputs\":[{\"name\":\"operator\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"avs\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"status\",\"type\":\"uint8\",\"indexed\":false,\"internalType\":\"enumIAVSDirectory.OperatorAVSRegistrationStatus\"}],\"anonymous\":false}]",
}

IAVSDirectoryMetaData contains all meta data concerning the IAVSDirectory contract.

View Source
var IAVSMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"function\",\"name\":\"canRegister\",\"inputs\":[{\"name\":\"operator\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"operators\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address[]\",\"internalType\":\"address[]\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"registerOperator\",\"inputs\":[{\"name\":\"operatorSignature\",\"type\":\"tuple\",\"internalType\":\"structISignatureUtils.SignatureWithSaltAndExpiry\",\"components\":[{\"name\":\"signature\",\"type\":\"bytes\",\"internalType\":\"bytes\"},{\"name\":\"salt\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"expiry\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"strategyParams\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"tuple[]\",\"internalType\":\"structIAVS.StrategyParam[]\",\"components\":[{\"name\":\"strategy\",\"type\":\"address\",\"internalType\":\"contractIStrategy\"},{\"name\":\"multiplier\",\"type\":\"uint96\",\"internalType\":\"uint96\"}]}],\"stateMutability\":\"view\"},{\"type\":\"event\",\"name\":\"OperatorAdded\",\"inputs\":[{\"name\":\"operator\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"OperatorRemoved\",\"inputs\":[{\"name\":\"operator\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"StrategyParamsSet\",\"inputs\":[{\"name\":\"params\",\"type\":\"tuple[]\",\"indexed\":false,\"internalType\":\"structIAVS.StrategyParam[]\",\"components\":[{\"name\":\"strategy\",\"type\":\"address\",\"internalType\":\"contractIStrategy\"},{\"name\":\"multiplier\",\"type\":\"uint96\",\"internalType\":\"uint96\"}]}],\"anonymous\":false}]",
}

IAVSMetaData contains all meta data concerning the IAVS contract.

Functions

This section is empty.

Types

type IAVS

type IAVS struct {
	IAVSCaller     // Read-only binding to the contract
	IAVSTransactor // Write-only binding to the contract
	IAVSFilterer   // Log filterer for contract events
}

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

func NewIAVS

func NewIAVS(address common.Address, backend bind.ContractBackend) (*IAVS, error)

NewIAVS creates a new instance of IAVS, bound to a specific deployed contract.

type IAVSCaller

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

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

func NewIAVSCaller

func NewIAVSCaller(address common.Address, caller bind.ContractCaller) (*IAVSCaller, error)

NewIAVSCaller creates a new read-only instance of IAVS, bound to a specific deployed contract.

func (*IAVSCaller) CanRegister

func (_IAVS *IAVSCaller) CanRegister(opts *bind.CallOpts, operator common.Address) (bool, string, error)

CanRegister is a free data retrieval call binding the contract method 0x320d46d4.

Solidity: function canRegister(address operator) view returns(bool, string)

func (*IAVSCaller) Operators

func (_IAVS *IAVSCaller) Operators(opts *bind.CallOpts) ([]common.Address, error)

Operators is a free data retrieval call binding the contract method 0xe673df8a.

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

func (*IAVSCaller) StrategyParams

func (_IAVS *IAVSCaller) StrategyParams(opts *bind.CallOpts) ([]IAVSStrategyParam, error)

StrategyParams is a free data retrieval call binding the contract method 0xf57f33d0.

Solidity: function strategyParams() view returns((address,uint96)[])

type IAVSCallerRaw

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

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

func (*IAVSCallerRaw) Call

func (_IAVS *IAVSCallerRaw) 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 IAVSCallerSession

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

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

func (*IAVSCallerSession) CanRegister

func (_IAVS *IAVSCallerSession) CanRegister(operator common.Address) (bool, string, error)

CanRegister is a free data retrieval call binding the contract method 0x320d46d4.

Solidity: function canRegister(address operator) view returns(bool, string)

func (*IAVSCallerSession) Operators

func (_IAVS *IAVSCallerSession) Operators() ([]common.Address, error)

Operators is a free data retrieval call binding the contract method 0xe673df8a.

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

func (*IAVSCallerSession) StrategyParams

func (_IAVS *IAVSCallerSession) StrategyParams() ([]IAVSStrategyParam, error)

StrategyParams is a free data retrieval call binding the contract method 0xf57f33d0.

Solidity: function strategyParams() view returns((address,uint96)[])

type IAVSDirectory

type IAVSDirectory struct {
	IAVSDirectoryCaller     // Read-only binding to the contract
	IAVSDirectoryTransactor // Write-only binding to the contract
	IAVSDirectoryFilterer   // Log filterer for contract events
}

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

func NewIAVSDirectory

func NewIAVSDirectory(address common.Address, backend bind.ContractBackend) (*IAVSDirectory, error)

NewIAVSDirectory creates a new instance of IAVSDirectory, bound to a specific deployed contract.

type IAVSDirectoryAVSMetadataURIUpdated

type IAVSDirectoryAVSMetadataURIUpdated struct {
	Avs         common.Address
	MetadataURI string
	Raw         types.Log // Blockchain specific contextual infos
}

IAVSDirectoryAVSMetadataURIUpdated represents a AVSMetadataURIUpdated event raised by the IAVSDirectory contract.

type IAVSDirectoryAVSMetadataURIUpdatedIterator

type IAVSDirectoryAVSMetadataURIUpdatedIterator struct {
	Event *IAVSDirectoryAVSMetadataURIUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

IAVSDirectoryAVSMetadataURIUpdatedIterator is returned from FilterAVSMetadataURIUpdated and is used to iterate over the raw logs and unpacked data for AVSMetadataURIUpdated events raised by the IAVSDirectory contract.

func (*IAVSDirectoryAVSMetadataURIUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*IAVSDirectoryAVSMetadataURIUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IAVSDirectoryAVSMetadataURIUpdatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IAVSDirectoryCaller

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

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

func NewIAVSDirectoryCaller

func NewIAVSDirectoryCaller(address common.Address, caller bind.ContractCaller) (*IAVSDirectoryCaller, error)

NewIAVSDirectoryCaller creates a new read-only instance of IAVSDirectory, bound to a specific deployed contract.

func (*IAVSDirectoryCaller) CalculateOperatorAVSRegistrationDigestHash

func (_IAVSDirectory *IAVSDirectoryCaller) CalculateOperatorAVSRegistrationDigestHash(opts *bind.CallOpts, operator common.Address, avs common.Address, salt [32]byte, expiry *big.Int) ([32]byte, error)

CalculateOperatorAVSRegistrationDigestHash is a free data retrieval call binding the contract method 0xa1060c88.

Solidity: function calculateOperatorAVSRegistrationDigestHash(address operator, address avs, bytes32 salt, uint256 expiry) view returns(bytes32)

func (*IAVSDirectoryCaller) OPERATORAVSREGISTRATIONTYPEHASH

func (_IAVSDirectory *IAVSDirectoryCaller) OPERATORAVSREGISTRATIONTYPEHASH(opts *bind.CallOpts) ([32]byte, error)

OPERATORAVSREGISTRATIONTYPEHASH is a free data retrieval call binding the contract method 0xd79aceab.

Solidity: function OPERATOR_AVS_REGISTRATION_TYPEHASH() view returns(bytes32)

func (*IAVSDirectoryCaller) OperatorSaltIsSpent

func (_IAVSDirectory *IAVSDirectoryCaller) OperatorSaltIsSpent(opts *bind.CallOpts, operator common.Address, salt [32]byte) (bool, error)

OperatorSaltIsSpent is a free data retrieval call binding the contract method 0x374823b5.

Solidity: function operatorSaltIsSpent(address operator, bytes32 salt) view returns(bool)

type IAVSDirectoryCallerRaw

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

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

func (*IAVSDirectoryCallerRaw) Call

func (_IAVSDirectory *IAVSDirectoryCallerRaw) 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 IAVSDirectoryCallerSession

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

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

func (*IAVSDirectoryCallerSession) CalculateOperatorAVSRegistrationDigestHash

func (_IAVSDirectory *IAVSDirectoryCallerSession) CalculateOperatorAVSRegistrationDigestHash(operator common.Address, avs common.Address, salt [32]byte, expiry *big.Int) ([32]byte, error)

CalculateOperatorAVSRegistrationDigestHash is a free data retrieval call binding the contract method 0xa1060c88.

Solidity: function calculateOperatorAVSRegistrationDigestHash(address operator, address avs, bytes32 salt, uint256 expiry) view returns(bytes32)

func (*IAVSDirectoryCallerSession) OPERATORAVSREGISTRATIONTYPEHASH

func (_IAVSDirectory *IAVSDirectoryCallerSession) OPERATORAVSREGISTRATIONTYPEHASH() ([32]byte, error)

OPERATORAVSREGISTRATIONTYPEHASH is a free data retrieval call binding the contract method 0xd79aceab.

Solidity: function OPERATOR_AVS_REGISTRATION_TYPEHASH() view returns(bytes32)

func (*IAVSDirectoryCallerSession) OperatorSaltIsSpent

func (_IAVSDirectory *IAVSDirectoryCallerSession) OperatorSaltIsSpent(operator common.Address, salt [32]byte) (bool, error)

OperatorSaltIsSpent is a free data retrieval call binding the contract method 0x374823b5.

Solidity: function operatorSaltIsSpent(address operator, bytes32 salt) view returns(bool)

type IAVSDirectoryFilterer

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

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

func NewIAVSDirectoryFilterer

func NewIAVSDirectoryFilterer(address common.Address, filterer bind.ContractFilterer) (*IAVSDirectoryFilterer, error)

NewIAVSDirectoryFilterer creates a new log filterer instance of IAVSDirectory, bound to a specific deployed contract.

func (*IAVSDirectoryFilterer) FilterAVSMetadataURIUpdated

func (_IAVSDirectory *IAVSDirectoryFilterer) FilterAVSMetadataURIUpdated(opts *bind.FilterOpts, avs []common.Address) (*IAVSDirectoryAVSMetadataURIUpdatedIterator, error)

FilterAVSMetadataURIUpdated is a free log retrieval operation binding the contract event 0xa89c1dc243d8908a96dd84944bcc97d6bc6ac00dd78e20621576be6a3c943713.

Solidity: event AVSMetadataURIUpdated(address indexed avs, string metadataURI)

func (*IAVSDirectoryFilterer) FilterOperatorAVSRegistrationStatusUpdated

func (_IAVSDirectory *IAVSDirectoryFilterer) FilterOperatorAVSRegistrationStatusUpdated(opts *bind.FilterOpts, operator []common.Address, avs []common.Address) (*IAVSDirectoryOperatorAVSRegistrationStatusUpdatedIterator, error)

FilterOperatorAVSRegistrationStatusUpdated is a free log retrieval operation binding the contract event 0xf0952b1c65271d819d39983d2abb044b9cace59bcc4d4dd389f586ebdcb15b41.

Solidity: event OperatorAVSRegistrationStatusUpdated(address indexed operator, address indexed avs, uint8 status)

func (*IAVSDirectoryFilterer) ParseAVSMetadataURIUpdated

func (_IAVSDirectory *IAVSDirectoryFilterer) ParseAVSMetadataURIUpdated(log types.Log) (*IAVSDirectoryAVSMetadataURIUpdated, error)

ParseAVSMetadataURIUpdated is a log parse operation binding the contract event 0xa89c1dc243d8908a96dd84944bcc97d6bc6ac00dd78e20621576be6a3c943713.

Solidity: event AVSMetadataURIUpdated(address indexed avs, string metadataURI)

func (*IAVSDirectoryFilterer) ParseOperatorAVSRegistrationStatusUpdated

func (_IAVSDirectory *IAVSDirectoryFilterer) ParseOperatorAVSRegistrationStatusUpdated(log types.Log) (*IAVSDirectoryOperatorAVSRegistrationStatusUpdated, error)

ParseOperatorAVSRegistrationStatusUpdated is a log parse operation binding the contract event 0xf0952b1c65271d819d39983d2abb044b9cace59bcc4d4dd389f586ebdcb15b41.

Solidity: event OperatorAVSRegistrationStatusUpdated(address indexed operator, address indexed avs, uint8 status)

func (*IAVSDirectoryFilterer) WatchAVSMetadataURIUpdated

func (_IAVSDirectory *IAVSDirectoryFilterer) WatchAVSMetadataURIUpdated(opts *bind.WatchOpts, sink chan<- *IAVSDirectoryAVSMetadataURIUpdated, avs []common.Address) (event.Subscription, error)

WatchAVSMetadataURIUpdated is a free log subscription operation binding the contract event 0xa89c1dc243d8908a96dd84944bcc97d6bc6ac00dd78e20621576be6a3c943713.

Solidity: event AVSMetadataURIUpdated(address indexed avs, string metadataURI)

func (*IAVSDirectoryFilterer) WatchOperatorAVSRegistrationStatusUpdated

func (_IAVSDirectory *IAVSDirectoryFilterer) WatchOperatorAVSRegistrationStatusUpdated(opts *bind.WatchOpts, sink chan<- *IAVSDirectoryOperatorAVSRegistrationStatusUpdated, operator []common.Address, avs []common.Address) (event.Subscription, error)

WatchOperatorAVSRegistrationStatusUpdated is a free log subscription operation binding the contract event 0xf0952b1c65271d819d39983d2abb044b9cace59bcc4d4dd389f586ebdcb15b41.

Solidity: event OperatorAVSRegistrationStatusUpdated(address indexed operator, address indexed avs, uint8 status)

type IAVSDirectoryOperatorAVSRegistrationStatusUpdated

type IAVSDirectoryOperatorAVSRegistrationStatusUpdated struct {
	Operator common.Address
	Avs      common.Address
	Status   uint8
	Raw      types.Log // Blockchain specific contextual infos
}

IAVSDirectoryOperatorAVSRegistrationStatusUpdated represents a OperatorAVSRegistrationStatusUpdated event raised by the IAVSDirectory contract.

type IAVSDirectoryOperatorAVSRegistrationStatusUpdatedIterator

type IAVSDirectoryOperatorAVSRegistrationStatusUpdatedIterator struct {
	Event *IAVSDirectoryOperatorAVSRegistrationStatusUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

IAVSDirectoryOperatorAVSRegistrationStatusUpdatedIterator is returned from FilterOperatorAVSRegistrationStatusUpdated and is used to iterate over the raw logs and unpacked data for OperatorAVSRegistrationStatusUpdated events raised by the IAVSDirectory contract.

func (*IAVSDirectoryOperatorAVSRegistrationStatusUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*IAVSDirectoryOperatorAVSRegistrationStatusUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IAVSDirectoryOperatorAVSRegistrationStatusUpdatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IAVSDirectoryRaw

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

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

func (*IAVSDirectoryRaw) Call

func (_IAVSDirectory *IAVSDirectoryRaw) 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 (*IAVSDirectoryRaw) Transact

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

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

func (*IAVSDirectoryRaw) Transfer

func (_IAVSDirectory *IAVSDirectoryRaw) 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 IAVSDirectorySession

type IAVSDirectorySession struct {
	Contract     *IAVSDirectory    // 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
}

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

func (*IAVSDirectorySession) CalculateOperatorAVSRegistrationDigestHash

func (_IAVSDirectory *IAVSDirectorySession) CalculateOperatorAVSRegistrationDigestHash(operator common.Address, avs common.Address, salt [32]byte, expiry *big.Int) ([32]byte, error)

CalculateOperatorAVSRegistrationDigestHash is a free data retrieval call binding the contract method 0xa1060c88.

Solidity: function calculateOperatorAVSRegistrationDigestHash(address operator, address avs, bytes32 salt, uint256 expiry) view returns(bytes32)

func (*IAVSDirectorySession) DeregisterOperatorFromAVS

func (_IAVSDirectory *IAVSDirectorySession) DeregisterOperatorFromAVS(operator common.Address) (*types.Transaction, error)

DeregisterOperatorFromAVS is a paid mutator transaction binding the contract method 0xa364f4da.

Solidity: function deregisterOperatorFromAVS(address operator) returns()

func (*IAVSDirectorySession) OPERATORAVSREGISTRATIONTYPEHASH

func (_IAVSDirectory *IAVSDirectorySession) OPERATORAVSREGISTRATIONTYPEHASH() ([32]byte, error)

OPERATORAVSREGISTRATIONTYPEHASH is a free data retrieval call binding the contract method 0xd79aceab.

Solidity: function OPERATOR_AVS_REGISTRATION_TYPEHASH() view returns(bytes32)

func (*IAVSDirectorySession) OperatorSaltIsSpent

func (_IAVSDirectory *IAVSDirectorySession) OperatorSaltIsSpent(operator common.Address, salt [32]byte) (bool, error)

OperatorSaltIsSpent is a free data retrieval call binding the contract method 0x374823b5.

Solidity: function operatorSaltIsSpent(address operator, bytes32 salt) view returns(bool)

func (*IAVSDirectorySession) RegisterOperatorToAVS

func (_IAVSDirectory *IAVSDirectorySession) RegisterOperatorToAVS(operator common.Address, operatorSignature ISignatureUtilsSignatureWithSaltAndExpiry) (*types.Transaction, error)

RegisterOperatorToAVS is a paid mutator transaction binding the contract method 0x9926ee7d.

Solidity: function registerOperatorToAVS(address operator, (bytes,bytes32,uint256) operatorSignature) returns()

func (*IAVSDirectorySession) UpdateAVSMetadataURI

func (_IAVSDirectory *IAVSDirectorySession) UpdateAVSMetadataURI(metadataURI string) (*types.Transaction, error)

UpdateAVSMetadataURI is a paid mutator transaction binding the contract method 0xa98fb355.

Solidity: function updateAVSMetadataURI(string metadataURI) returns()

type IAVSDirectoryTransactor

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

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

func NewIAVSDirectoryTransactor

func NewIAVSDirectoryTransactor(address common.Address, transactor bind.ContractTransactor) (*IAVSDirectoryTransactor, error)

NewIAVSDirectoryTransactor creates a new write-only instance of IAVSDirectory, bound to a specific deployed contract.

func (*IAVSDirectoryTransactor) DeregisterOperatorFromAVS

func (_IAVSDirectory *IAVSDirectoryTransactor) DeregisterOperatorFromAVS(opts *bind.TransactOpts, operator common.Address) (*types.Transaction, error)

DeregisterOperatorFromAVS is a paid mutator transaction binding the contract method 0xa364f4da.

Solidity: function deregisterOperatorFromAVS(address operator) returns()

func (*IAVSDirectoryTransactor) RegisterOperatorToAVS

func (_IAVSDirectory *IAVSDirectoryTransactor) RegisterOperatorToAVS(opts *bind.TransactOpts, operator common.Address, operatorSignature ISignatureUtilsSignatureWithSaltAndExpiry) (*types.Transaction, error)

RegisterOperatorToAVS is a paid mutator transaction binding the contract method 0x9926ee7d.

Solidity: function registerOperatorToAVS(address operator, (bytes,bytes32,uint256) operatorSignature) returns()

func (*IAVSDirectoryTransactor) UpdateAVSMetadataURI

func (_IAVSDirectory *IAVSDirectoryTransactor) UpdateAVSMetadataURI(opts *bind.TransactOpts, metadataURI string) (*types.Transaction, error)

UpdateAVSMetadataURI is a paid mutator transaction binding the contract method 0xa98fb355.

Solidity: function updateAVSMetadataURI(string metadataURI) returns()

type IAVSDirectoryTransactorRaw

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

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

func (*IAVSDirectoryTransactorRaw) Transact

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

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

func (*IAVSDirectoryTransactorRaw) Transfer

func (_IAVSDirectory *IAVSDirectoryTransactorRaw) 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 IAVSDirectoryTransactorSession

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

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

func (*IAVSDirectoryTransactorSession) DeregisterOperatorFromAVS

func (_IAVSDirectory *IAVSDirectoryTransactorSession) DeregisterOperatorFromAVS(operator common.Address) (*types.Transaction, error)

DeregisterOperatorFromAVS is a paid mutator transaction binding the contract method 0xa364f4da.

Solidity: function deregisterOperatorFromAVS(address operator) returns()

func (*IAVSDirectoryTransactorSession) RegisterOperatorToAVS

func (_IAVSDirectory *IAVSDirectoryTransactorSession) RegisterOperatorToAVS(operator common.Address, operatorSignature ISignatureUtilsSignatureWithSaltAndExpiry) (*types.Transaction, error)

RegisterOperatorToAVS is a paid mutator transaction binding the contract method 0x9926ee7d.

Solidity: function registerOperatorToAVS(address operator, (bytes,bytes32,uint256) operatorSignature) returns()

func (*IAVSDirectoryTransactorSession) UpdateAVSMetadataURI

func (_IAVSDirectory *IAVSDirectoryTransactorSession) UpdateAVSMetadataURI(metadataURI string) (*types.Transaction, error)

UpdateAVSMetadataURI is a paid mutator transaction binding the contract method 0xa98fb355.

Solidity: function updateAVSMetadataURI(string metadataURI) returns()

type IAVSFilterer

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

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

func NewIAVSFilterer

func NewIAVSFilterer(address common.Address, filterer bind.ContractFilterer) (*IAVSFilterer, error)

NewIAVSFilterer creates a new log filterer instance of IAVS, bound to a specific deployed contract.

func (*IAVSFilterer) FilterOperatorAdded

func (_IAVS *IAVSFilterer) FilterOperatorAdded(opts *bind.FilterOpts, operator []common.Address) (*IAVSOperatorAddedIterator, error)

FilterOperatorAdded is a free log retrieval operation binding the contract event 0xac6fa858e9350a46cec16539926e0fde25b7629f84b5a72bffaae4df888ae86d.

Solidity: event OperatorAdded(address indexed operator)

func (*IAVSFilterer) FilterOperatorRemoved

func (_IAVS *IAVSFilterer) FilterOperatorRemoved(opts *bind.FilterOpts, operator []common.Address) (*IAVSOperatorRemovedIterator, error)

FilterOperatorRemoved is a free log retrieval operation binding the contract event 0x80c0b871b97b595b16a7741c1b06fed0c6f6f558639f18ccbce50724325dc40d.

Solidity: event OperatorRemoved(address indexed operator)

func (*IAVSFilterer) FilterStrategyParamsSet

func (_IAVS *IAVSFilterer) FilterStrategyParamsSet(opts *bind.FilterOpts) (*IAVSStrategyParamsSetIterator, error)

FilterStrategyParamsSet is a free log retrieval operation binding the contract event 0x236150b37b22bc9557672069e2dfb3f05be1dafd1f9ead78df2f8b855ee69640.

Solidity: event StrategyParamsSet((address,uint96)[] params)

func (*IAVSFilterer) ParseOperatorAdded

func (_IAVS *IAVSFilterer) ParseOperatorAdded(log types.Log) (*IAVSOperatorAdded, error)

ParseOperatorAdded is a log parse operation binding the contract event 0xac6fa858e9350a46cec16539926e0fde25b7629f84b5a72bffaae4df888ae86d.

Solidity: event OperatorAdded(address indexed operator)

func (*IAVSFilterer) ParseOperatorRemoved

func (_IAVS *IAVSFilterer) ParseOperatorRemoved(log types.Log) (*IAVSOperatorRemoved, error)

ParseOperatorRemoved is a log parse operation binding the contract event 0x80c0b871b97b595b16a7741c1b06fed0c6f6f558639f18ccbce50724325dc40d.

Solidity: event OperatorRemoved(address indexed operator)

func (*IAVSFilterer) ParseStrategyParamsSet

func (_IAVS *IAVSFilterer) ParseStrategyParamsSet(log types.Log) (*IAVSStrategyParamsSet, error)

ParseStrategyParamsSet is a log parse operation binding the contract event 0x236150b37b22bc9557672069e2dfb3f05be1dafd1f9ead78df2f8b855ee69640.

Solidity: event StrategyParamsSet((address,uint96)[] params)

func (*IAVSFilterer) WatchOperatorAdded

func (_IAVS *IAVSFilterer) WatchOperatorAdded(opts *bind.WatchOpts, sink chan<- *IAVSOperatorAdded, operator []common.Address) (event.Subscription, error)

WatchOperatorAdded is a free log subscription operation binding the contract event 0xac6fa858e9350a46cec16539926e0fde25b7629f84b5a72bffaae4df888ae86d.

Solidity: event OperatorAdded(address indexed operator)

func (*IAVSFilterer) WatchOperatorRemoved

func (_IAVS *IAVSFilterer) WatchOperatorRemoved(opts *bind.WatchOpts, sink chan<- *IAVSOperatorRemoved, operator []common.Address) (event.Subscription, error)

WatchOperatorRemoved is a free log subscription operation binding the contract event 0x80c0b871b97b595b16a7741c1b06fed0c6f6f558639f18ccbce50724325dc40d.

Solidity: event OperatorRemoved(address indexed operator)

func (*IAVSFilterer) WatchStrategyParamsSet

func (_IAVS *IAVSFilterer) WatchStrategyParamsSet(opts *bind.WatchOpts, sink chan<- *IAVSStrategyParamsSet) (event.Subscription, error)

WatchStrategyParamsSet is a free log subscription operation binding the contract event 0x236150b37b22bc9557672069e2dfb3f05be1dafd1f9ead78df2f8b855ee69640.

Solidity: event StrategyParamsSet((address,uint96)[] params)

type IAVSOperatorAdded

type IAVSOperatorAdded struct {
	Operator common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

IAVSOperatorAdded represents a OperatorAdded event raised by the IAVS contract.

type IAVSOperatorAddedIterator

type IAVSOperatorAddedIterator struct {
	Event *IAVSOperatorAdded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

IAVSOperatorAddedIterator is returned from FilterOperatorAdded and is used to iterate over the raw logs and unpacked data for OperatorAdded events raised by the IAVS contract.

func (*IAVSOperatorAddedIterator) Close

func (it *IAVSOperatorAddedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*IAVSOperatorAddedIterator) Error

func (it *IAVSOperatorAddedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IAVSOperatorAddedIterator) Next

func (it *IAVSOperatorAddedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IAVSOperatorRemoved

type IAVSOperatorRemoved struct {
	Operator common.Address
	Raw      types.Log // Blockchain specific contextual infos
}

IAVSOperatorRemoved represents a OperatorRemoved event raised by the IAVS contract.

type IAVSOperatorRemovedIterator

type IAVSOperatorRemovedIterator struct {
	Event *IAVSOperatorRemoved // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

IAVSOperatorRemovedIterator is returned from FilterOperatorRemoved and is used to iterate over the raw logs and unpacked data for OperatorRemoved events raised by the IAVS contract.

func (*IAVSOperatorRemovedIterator) Close

func (it *IAVSOperatorRemovedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*IAVSOperatorRemovedIterator) Error

func (it *IAVSOperatorRemovedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IAVSOperatorRemovedIterator) Next

func (it *IAVSOperatorRemovedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IAVSRaw

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

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

func (*IAVSRaw) Call

func (_IAVS *IAVSRaw) 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 (*IAVSRaw) Transact

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

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

func (*IAVSRaw) Transfer

func (_IAVS *IAVSRaw) 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 IAVSSession

type IAVSSession struct {
	Contract     *IAVS             // 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
}

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

func (*IAVSSession) CanRegister

func (_IAVS *IAVSSession) CanRegister(operator common.Address) (bool, string, error)

CanRegister is a free data retrieval call binding the contract method 0x320d46d4.

Solidity: function canRegister(address operator) view returns(bool, string)

func (*IAVSSession) Operators

func (_IAVS *IAVSSession) Operators() ([]common.Address, error)

Operators is a free data retrieval call binding the contract method 0xe673df8a.

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

func (*IAVSSession) RegisterOperator

func (_IAVS *IAVSSession) RegisterOperator(operatorSignature ISignatureUtilsSignatureWithSaltAndExpiry) (*types.Transaction, error)

RegisterOperator is a paid mutator transaction binding the contract method 0x8317781d.

Solidity: function registerOperator((bytes,bytes32,uint256) operatorSignature) returns()

func (*IAVSSession) StrategyParams

func (_IAVS *IAVSSession) StrategyParams() ([]IAVSStrategyParam, error)

StrategyParams is a free data retrieval call binding the contract method 0xf57f33d0.

Solidity: function strategyParams() view returns((address,uint96)[])

type IAVSStrategyParam

type IAVSStrategyParam struct {
	Strategy   common.Address
	Multiplier *big.Int
}

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

type IAVSStrategyParamsSet

type IAVSStrategyParamsSet struct {
	Params []IAVSStrategyParam
	Raw    types.Log // Blockchain specific contextual infos
}

IAVSStrategyParamsSet represents a StrategyParamsSet event raised by the IAVS contract.

type IAVSStrategyParamsSetIterator

type IAVSStrategyParamsSetIterator struct {
	Event *IAVSStrategyParamsSet // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

IAVSStrategyParamsSetIterator is returned from FilterStrategyParamsSet and is used to iterate over the raw logs and unpacked data for StrategyParamsSet events raised by the IAVS contract.

func (*IAVSStrategyParamsSetIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*IAVSStrategyParamsSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IAVSStrategyParamsSetIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IAVSTransactor

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

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

func NewIAVSTransactor

func NewIAVSTransactor(address common.Address, transactor bind.ContractTransactor) (*IAVSTransactor, error)

NewIAVSTransactor creates a new write-only instance of IAVS, bound to a specific deployed contract.

func (*IAVSTransactor) RegisterOperator

func (_IAVS *IAVSTransactor) RegisterOperator(opts *bind.TransactOpts, operatorSignature ISignatureUtilsSignatureWithSaltAndExpiry) (*types.Transaction, error)

RegisterOperator is a paid mutator transaction binding the contract method 0x8317781d.

Solidity: function registerOperator((bytes,bytes32,uint256) operatorSignature) returns()

type IAVSTransactorRaw

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

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

func (*IAVSTransactorRaw) Transact

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

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

func (*IAVSTransactorRaw) Transfer

func (_IAVS *IAVSTransactorRaw) 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 IAVSTransactorSession

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

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

func (*IAVSTransactorSession) RegisterOperator

func (_IAVS *IAVSTransactorSession) RegisterOperator(operatorSignature ISignatureUtilsSignatureWithSaltAndExpiry) (*types.Transaction, error)

RegisterOperator is a paid mutator transaction binding the contract method 0x8317781d.

Solidity: function registerOperator((bytes,bytes32,uint256) operatorSignature) returns()

type ISignatureUtilsSignatureWithSaltAndExpiry

type ISignatureUtilsSignatureWithSaltAndExpiry struct {
	Signature []byte
	Salt      [32]byte
	Expiry    *big.Int
}

ISignatureUtilsSignatureWithSaltAndExpiry 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