Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNotFound = errors.New("the bridge deposit was not found")
)
Functions ¶
func HashSliceToBytesArray ¶
Types ¶
type BridgeService ¶
type BridgeService interface {
GetDeposit(depositNetwork, depositCount uint32) (*Deposit, error)
GetDeposits(destinationAddress string, offset, limit int) (deposits []Deposit, total int, err error)
GetProof(depositNetwork, depositCount uint32) (*Proof, error)
GetProofByGer(depositNetwork, depositCount uint32, ger common.Hash) (*Proof, error)
GetProofByL1InfoTreeIndex(depositNetwork, depositCount uint32, l1InfoTreeIndex uint32) (*Proof, error)
Url() string
}
type BridgeServiceBase ¶
type BridgeServiceBase struct {
// contains filtered or unexported fields
}
func NewBridgeServiceBase ¶
func NewBridgeServiceBase(url string) BridgeServiceBase
func (*BridgeServiceBase) Url ¶
func (b *BridgeServiceBase) Url() string
Click to show internal directories.
Click to hide internal directories.