contracts

package
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 Imports: 0 Imported by: 0

Documentation

Overview

Package contracts contains go:generate directives for regenerating smart contract bindings from ABI JSON files using abigen.

To regenerate all bindings:

go generate ./internal/contracts/...

Prerequisites:

  • abigen (from go-ethereum: go install github.com/ethereum/go-ethereum/cmd/abigen@latest)
  • ABI JSON files in each sub-package

Directories

Path Synopsis
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/.
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.
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.
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.
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).
Package pdpverifier contains the generated Go bindings for the PDPVerifier smart contract.
Package pdpverifier contains the generated Go bindings for the PDPVerifier smart contract.
Package sessionkeyregistry contains the generated Go bindings for the SessionKeyRegistry smart contract.
Package sessionkeyregistry contains the generated Go bindings for the SessionKeyRegistry smart contract.
Package spregistry contains the generated Go bindings for the ServiceProviderRegistry smart contract.
Package spregistry contains the generated Go bindings for the ServiceProviderRegistry smart contract.
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/.

Jump to

Keyboard shortcuts

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