params

package
v1.2.0-pre-fork6-fix3 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2022 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 meter.Address, state *state.State) *Params

func (*Params) Get

func (p *Params) Get(key meter.Bytes32) (value *big.Int)

Get native way to get param.

func (*Params) GetAddress added in v1.2.0

func (p *Params) GetAddress(key meter.Bytes32) (addr meter.Address)

Get native way to get param.

func (*Params) Set

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

Set native way to set param.

func (*Params) SetAddress added in v1.2.0

func (p *Params) SetAddress(key meter.Bytes32, addr meter.Address)

Set native way to set param.

Jump to

Keyboard shortcuts

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