Versions in this module Expand all Collapse all v1 v1.3.0 Sep 11, 2024 Changes in this version + var CELESTIA_RELAY_ADDRESS common.Address = common.HexToAddress("0x4e64020dc800f02decb8Bd45bB4D0f74048e7535") + var EPOCH_DURATION = getEpochDuration() + var INPUT_FETCH_SIZE = 130 + var VM_ID = devnet.ApplicationAddress[0:18] + func CallCelestiaRelay(ctx context.Context, height uint64, start uint64, end uint64, ...) error + func FetchFromTendermint(ctx context.Context, id string) (*string, error) + func GetBlob(ctx context.Context, id string, url string, token string) ([]byte, error) + func GetDataCommitment(eth *ethclient.Client, height int64, blocks uint64) (*blobstreamx.BlobstreamXDataCommitmentStored, error) + func GetShareProof(ctx context.Context, height uint64, start uint64, end uint64) (shareProofFinal *contracts.ShareDigestsProof, blockDataRoot [32]byte, ...) + func SubmitBlob(ctx context.Context, url string, token string, namespaceHex string, ...) (height uint64, start uint64, end uint64, err error) + type CelestiaClient struct + func (c *CelestiaClient) Fetch(ctx echo.Context, id string) (*string, *HttpCustomError) + type EspressoAPI struct + func NewEspressoAPI(ctx context.Context, url *string) *EspressoAPI + func (s *EspressoAPI) FetchLatestBlockHeight(ctx context.Context) (uint64, error) + func (s *EspressoAPI) FetchTransactionsInBlock(ctx context.Context, blockHeight uint64, namespace uint64) (client.TransactionsInBlock, error) + func (s *EspressoAPI) GetHeaderByBlockByHeight(height *big.Int) (*EspressoHeader, error) + func (s *EspressoAPI) GetLatestBlockHeight() (*big.Int, error) + func (s *EspressoAPI) GetTransactionByHeight(height *big.Int) (*EspressoBlockResponse, error) + type EspressoBlockResponse = client.TransactionsInBlock + type EspressoFetcher struct + func (e *EspressoFetcher) Fetch(ctx echo.Context, id string) (*string, *HttpCustomError) + type EspressoHeader = types.Header + type Fetch interface + Fetch func(ctx echo.Context, id string) (*string, *HttpCustomError) + func NewCelestiaClient() Fetch + func NewEspressoFetcher(input *cRepos.InputRepository) Fetch + func NewSyscoinClient() Fetch + func NewSyscoinClientMock(endpoint string, client *http.Client) Fetch + type FetchInputBoxContext struct + type GioReqParams struct + End *big.Int + Height *big.Int + Namespace []byte + Start *big.Int + type HttpCustomError struct + func NewHttpCustomError(status uint, body *string) *HttpCustomError + func (m *HttpCustomError) Body() *string + func (m *HttpCustomError) Error() string + func (m *HttpCustomError) Status() uint + type SyscoinClient struct + func (sc *SyscoinClient) Fetch(ctx echo.Context, id string) (*string, *HttpCustomError)