Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMockLaneState ¶
NewMockLaneState constructs a state for a payment channel lane with the set fixed values that satisfies the paych.LaneState interface. Useful for populating lanes when calling NewMockPayChState
func NewMockPayChState ¶
func NewMockPayChState(from address.Address, to address.Address, settlingAt abi.ChainEpoch, toSend abi.TokenAmount, lanes map[uint64]paych.LaneState, ) paych.State
NewMockPayChState constructs a state for a payment channel with the set fixed values that satisfies the paych.State interface.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.