Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ARBITRUM_CHAIN_ID = big.NewInt(42161) USDC_ACCOUNT_INDEX uint64 = 3 USDC_DECIMALS float64 = 6 )
Functions ¶
func NewLighterMessage ¶
func NewLighterMessage(source, destination uint64, lighterData *LighterData) *message.Message
Types ¶
type LighterData ¶
type LighterMessageHandler ¶
type LighterMessageHandler struct {
// contains filtered or unexported fields
}
func (*LighterMessageHandler) HandleMessage ¶
HandleMessage finds the Lighter deposit with the according deposit ID and starts the MPC signature process for it. The result will be saved into the signature cache through the result channel.
func (*LighterMessageHandler) Listen ¶
func (h *LighterMessageHandler) Listen(ctx context.Context)
Click to show internal directories.
Click to hide internal directories.