params

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2021 License: LGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Params

type Params struct {
	// contains filtered or unexported fields
}

Params binder of `Params` contract.

func New

func New(addr thor.Address, state *state.State) *Params

func (*Params) Get

func (p *Params) Get(key thor.Bytes32) (value *big.Int, err error)

Get native way to get param.

func (*Params) Set

func (p *Params) Set(key thor.Bytes32, value *big.Int) error

Set native way to set param.

Jump to

Keyboard shortcuts

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