Documentation ¶
Overview ¶
Package chainio contains the logic to interact with the AVS contracts onchain.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AvsManagersBindings ¶
type AvsManagersBindings struct { ChallengeManager *preconfchallengemanager.ContractPreconfChallengeManager ServiceManager *preconfservicemanager.ContractPreconfServiceManager // contains filtered or unexported fields }
func NewAvsManagersBindings ¶
func (*AvsManagersBindings) GetErc20Mock ¶
func (b *AvsManagersBindings) GetErc20Mock(tokenAddr common.Address) (*erc20mock.ContractERC20Mock, error)
type AvsReader ¶
type AvsReader struct { sdkavsregistry.AvsRegistryReader AvsServiceBindings *AvsManagersBindings // contains filtered or unexported fields }
func BuildAvsReader ¶
func NewAvsReader ¶
func NewAvsReader(avsRegistryReader sdkavsregistry.AvsRegistryReader, avsServiceBindings *AvsManagersBindings, logger logging.Logger) (*AvsReader, error)
func (*AvsReader) GetErc20Mock ¶
func (r *AvsReader) GetErc20Mock(ctx context.Context, tokenAddr gethcommon.Address) (*erc20mock.ContractERC20Mock, error)
type AvsReaderer ¶
type AvsReaderer interface { sdkavsregistry.AvsRegistryReader GetErc20Mock(ctx context.Context, tokenAddr gethcommon.Address) (*erc20mock.ContractERC20Mock, error) }
type AvsWriter ¶
type AvsWriter struct { avsregistry.AvsRegistryWriter AvsContractBindings *AvsManagersBindings TxMgr txmgr.TxManager // contains filtered or unexported fields }
func BuildAvsWriter ¶
func NewAvsWriter ¶
func NewAvsWriter(avsRegistryWriter avsregistry.AvsRegistryWriter, avsServiceBindings *AvsManagersBindings, logger logging.Logger, txMgr txmgr.TxManager) *AvsWriter
type AvsWriterer ¶
type AvsWriterer interface { avsregistry.AvsRegistryWriter }
Click to show internal directories.
Click to hide internal directories.