params

package
v0.0.0-...-83a01c7 Latest Latest
Warning

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

Go to latest
Published: May 2, 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 luckyshare.Address, state *state.State) *Params

func (*Params) Get

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

Get native way to get param.

func (*Params) Set

func (p *Params) Set(key luckyshare.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