interfaces

package
v1.11.2 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContractsRegistry

type ContractsRegistry interface {
	SuperchainWETH(address types.Address) (SuperchainWETH, error)
}

ContractsRegistry provides access to all supported contract instances

type ErrContractNotFound

type ErrContractNotFound struct {
	ContractType string
	Address      types.Address
}

ErrContractNotFound indicates that a contract is not available at the requested address

func (*ErrContractNotFound) Error

func (e *ErrContractNotFound) Error() string

type SuperchainWETH

type SuperchainWETH interface {
	BalanceOf(user types.Address) types.ReadInvocation[types.Balance]
}

SuperchainWETH represents the interface for interacting with the SuperchainWETH contract

Jump to

Keyboard shortcuts

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