swshared

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StakewiseResources

type StakewiseResources struct {
	// The Network being used
	Network config.Network

	// The address of the Stakewise vault
	Vault common.Address

	// The address of the NodeSet fee recipient
	FeeRecipient common.Address

	// The genesis fork version for the network according to the Beacon config for the network
	GenesisForkVersion []byte

	// The URL for the NodeSet API server
	NodesetApiUrl string

	// The string to put in requests for the network param
	NodesetNetwork string
}

A collection of network-specific resources and getters for them

func NewStakewiseResources

func NewStakewiseResources(network config.Network) *StakewiseResources

Creates a new resource collection for the given network

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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