contracts

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 0 Imported by: 1

Documentation

Index

Constants

View Source
const (
	Sepolia = "11155111"
	Goerli  = "5"
)

Variables

This section is empty.

Functions

func PlayConfig added in v0.9.1

func PlayConfig() (*ENSConfig, *SubscriptionConfig)

PlayConfig defines the configuration for fdp-play

func TestnetConfig added in v0.9.1

func TestnetConfig(chainId string) (*ENSConfig, *SubscriptionConfig)

TestnetConfig defines the configuration for goerli/sepolia testnet

Types

type ENSConfig added in v0.9.3

type ENSConfig struct {
	ChainID               string
	ENSRegistryAddress    string
	FDSRegistrarAddress   string
	PublicResolverAddress string
	ProviderDomain        string
	ProviderBackend       string
}

ENSConfig handles the ENS configuration

type SubscriptionConfig added in v0.9.3

type SubscriptionConfig struct {
	RPC            string
	DataHubAddress string
}

SubscriptionConfig handles the Subscription Management

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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