Documentation
¶
Index ¶
Constants ¶
View Source
const (
LIGHTER_DOMAIN_ID uint64 = 1701984817 // lower 32bits of sha256 hash of lighter caip ("lighter:1")
)
Variables ¶
View Source
var ( ARBITRUM_CHAIN_ID = big.NewInt(42161) LIGHTER_CAIP = "lighter:1" ARBITRUM_CAIP = "eip155:42161" USDC = "usdc" )
Functions ¶
This section is empty.
Types ¶
type LighterChain ¶
type LighterChain struct {
// contains filtered or unexported fields
}
func NewLighterChain ¶
func NewLighterChain(messageHandler MessageHandler) *LighterChain
func (*LighterChain) DomainID ¶
func (c *LighterChain) DomainID() uint64
func (*LighterChain) PollEvents ¶
func (c *LighterChain) PollEvents(_ context.Context)
func (*LighterChain) ReceiveMessage ¶
type LighterConfig ¶
type LighterConfig struct {
WithdrawalAddress common.Address
UsdcAddress common.Address
RepaymentAddress string
}
func NewLighterConfig ¶
func NewLighterConfig(solverConfig solverConfig.SolverConfig) (*LighterConfig, error)
Click to show internal directories.
Click to hide internal directories.