config

package
v0.0.0-...-5362a35 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Group  core.Group     `json:"group,omitempty"`
	System System         `json:"system,omitempty"`
	Dapp   mixin.Keystore `json:"dapp,omitempty"`
	MVM    MVM            `json:"mvm,omitempty"`
}

func Load

func Load() (*Config, error)

type MVM

type MVM struct {
	RPC             string `json:"rpc,omitempty"`
	ContractAddress string `json:"contract_address,omitempty"`
}

type System

type System struct {
	ProcessID  string          `json:"process_id,omitempty"`
	GasAssetID string          `json:"gas_asset_id,omitempty"`
	GasAmount  decimal.Decimal `json:"gas_amount,omitempty"`
}

Jump to

Keyboard shortcuts

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