internal/

directory
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2026 License: Apache-2.0

Directories

Path Synopsis
Package abi provides helpers for working with contract ABIs beyond what generated bindings offer: address auto-discovery via the FWSS root of trust, generic event extraction from receipts, and PieceCID <-> contract struct conversions.
Package abi provides helpers for working with contract ABIs beyond what generated bindings offer: address auto-discovery via the FWSS root of trust, generic event extraction from receipts, and PieceCID <-> contract struct conversions.
Package adapters contains the private glue that composes the per-service packages (warmstorage, spregistry, payments, costs, internal/contracts/ pdpverifier) into the narrow interfaces consumed by the storage package.
Package adapters contains the private glue that composes the per-service packages (warmstorage, spregistry, payments, costs, internal/contracts/ pdpverifier) into the narrow interfaces consumed by the storage package.
Package contracts contains go:generate directives for regenerating smart contract bindings from ABI JSON files using abigen.
Package contracts contains go:generate directives for regenerating smart contract bindings from ABI JSON files using abigen.
cmd/syncabi command
Command syncabi fetches the latest contract ABIs from the upstream FilOzone/filecoin-services repository and regenerates Go bindings under internal/contracts/.
Command syncabi fetches the latest contract ABIs from the upstream FilOzone/filecoin-services repository and regenerates Go bindings under internal/contracts/.
erc20
Package erc20 contains the generated Go bindings for the standard ERC20 token interface, used for USDFC token operations.
Package erc20 contains the generated Go bindings for the standard ERC20 token interface, used for USDFC token operations.
filpay
Package filpay contains the generated Go bindings for the Filecoin Pay smart contract.
Package filpay contains the generated Go bindings for the Filecoin Pay smart contract.
fwss
Package fwss contains the generated Go bindings for the FWSS (Filecoin Warm Storage Service) smart contract.
Package fwss contains the generated Go bindings for the FWSS (Filecoin Warm Storage Service) smart contract.
fwssview
Package fwssview contains the generated Go bindings for the FWSS StateView contract (read-only surface of FilecoinWarmStorageService).
Package fwssview contains the generated Go bindings for the FWSS StateView contract (read-only surface of FilecoinWarmStorageService).
pdpverifier
Package pdpverifier contains the generated Go bindings for the PDPVerifier smart contract.
Package pdpverifier contains the generated Go bindings for the PDPVerifier smart contract.
sessionkeyregistry
Package sessionkeyregistry contains the generated Go bindings for the SessionKeyRegistry smart contract.
Package sessionkeyregistry contains the generated Go bindings for the SessionKeyRegistry smart contract.
spregistry
Package spregistry contains the generated Go bindings for the ServiceProviderRegistry smart contract.
Package spregistry contains the generated Go bindings for the ServiceProviderRegistry smart contract.
syncabi
Package syncabi fetches contract ABIs from the upstream FilOzone/filecoin-services repository and regenerates the Go bindings under internal/contracts/.
Package syncabi fetches contract ABIs from the upstream FilOzone/filecoin-services repository and regenerates the Go bindings under internal/contracts/.
Package idconv converts between SDK uint256 identifiers and generated contract binding *big.Int values.
Package idconv converts between SDK uint256 identifiers and generated contract binding *big.Int values.
Package integrationtest provides small helpers shared by the SDK's integration tests (files built under `//go:build integration`).
Package integrationtest provides small helpers shared by the SDK's integration tests (files built under `//go:build integration`).
Package lifecycle tracks whether a [synapse.Client] has been closed so that services derived from it can refuse new work with a clear error rather than making RPC calls on a closed ethclient.
Package lifecycle tracks whether a [synapse.Client] has been closed so that services derived from it can refuse new work with a clear error rather than making RPC calls on a closed ethclient.
Package retry provides exponential backoff retry logic for transient failures in RPC calls, HTTP requests, and transaction submissions.
Package retry provides exponential backoff retry logic for transient failures in RPC calls, HTTP requests, and transaction submissions.
Package testutil provides internal test helpers, mock implementations, and fixture data for testing synapse-go packages.
Package testutil provides internal test helpers, mock implementations, and fixture data for testing synapse-go packages.
Package txutil provides transaction lifecycle utilities for Ethereum/FEVM transactions.
Package txutil provides transaction lifecycle utilities for Ethereum/FEVM transactions.
Package typeddata implements EIP-712 typed data signing for storage provider authentication.
Package typeddata implements EIP-712 typed data signing for storage provider authentication.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL