Documentation ¶
Index ¶
- Variables
- func NewContractMagic[C any, T any](constructor contractConstructorFunc[T], address common.Address, ...) (*C, error)
- type ContractBase
- type Contracts
- type ContractsBanana
- type ContractsElderberry
- type GlobalExitRootBananaType
- type GlobalExitRootElderberryType
- type NameType
- type RollupBananaType
- type RollupElderberryType
- type RollupManagerBananaType
- type RollupManagerElderberryType
- type VersionType
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotImplemented = errors.New("not implemented")
)
Functions ¶
func NewContractMagic ¶
func NewContractMagic[C any, T any]( constructor contractConstructorFunc[T], address common.Address, backend bind.ContractBackend, name NameType, version VersionType, ) (*C, error)
Types ¶
type ContractBase ¶
type ContractBase struct {
// contains filtered or unexported fields
}
func NewContractBase ¶
func NewContractBase(address common.Address, backend bind.ContractBackend, name NameType, version VersionType) *ContractBase
func (*ContractBase) Address ¶
func (e *ContractBase) Address() common.Address
func (*ContractBase) Name ¶
func (e *ContractBase) Name() string
func (*ContractBase) String ¶
func (e *ContractBase) String() string
func (*ContractBase) Version ¶
func (e *ContractBase) Version() string
type Contracts ¶
type Contracts struct { Banana ContractsBanana Elderberry ContractsElderberry }
func NewContracts ¶
type ContractsBanana ¶
type ContractsBanana struct { GlobalExitRoot GlobalExitRootBananaType Rollup RollupBananaType RollupManager RollupManagerBananaType }
func NewContractsBanana ¶
func NewContractsBanana(cfg config.L1Config, backend bind.ContractBackend) (*ContractsBanana, error)
func (*ContractsBanana) String ¶
func (c *ContractsBanana) String() string
type ContractsElderberry ¶
type ContractsElderberry struct { GlobalExitRoot GlobalExitRootElderberryType Rollup RollupElderberryType RollupManager RollupManagerElderberryType }
func NewContractsElderberry ¶
func NewContractsElderberry(cfg config.L1Config, backend bind.ContractBackend) (*ContractsElderberry, error)
func (*ContractsElderberry) String ¶
func (c *ContractsElderberry) String() string
type GlobalExitRootBananaType ¶
type GlobalExitRootBananaType struct { *polygonzkevmglobalexitrootv2.Polygonzkevmglobalexitrootv2 *ContractBase }
type GlobalExitRootElderberryType ¶
type GlobalExitRootElderberryType struct { *polygonzkevmglobalexitrootv2.Polygonzkevmglobalexitrootv2 *ContractBase }
type RollupBananaType ¶
type RollupBananaType struct { *polygonvalidiumetrog.Polygonvalidiumetrog *ContractBase }
type RollupElderberryType ¶
type RollupElderberryType struct { *polygonvalidiumetrog.Polygonvalidiumetrog *ContractBase }
type RollupManagerBananaType ¶
type RollupManagerBananaType struct { *polygonrollupmanager.Polygonrollupmanager *ContractBase }
type RollupManagerElderberryType ¶
type RollupManagerElderberryType struct { *polygonrollupmanager.Polygonrollupmanager *ContractBase }
type VersionType ¶
type VersionType string
const ( VersionBanana VersionType = "banana" VersionElderberry VersionType = "elderberry" )
Click to show internal directories.
Click to hide internal directories.