Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Rollup ¶
type Rollup struct { Contract *polygonvalidiumetrog.Polygonvalidiumetrog `json:"-"` Address common.Address GenesisRoot common.Hash CreationBlock uint64 CreationBlockHash common.Hash CreationParentBlockHash common.Hash CreationTimestamp uint64 ChainID uint64 Name string RollupID uint32 GasToken common.Address }
func LoadFromL1ByChainID ¶
func LoadFromL1ByChainID(client *ethclient.Client, rm *rollupmanager.RollupManager, chainID uint64) (*Rollup, error)
func (*Rollup) InitContract ¶
InitContract initializes the rollup contract if not already initialized
Click to show internal directories.
Click to hide internal directories.