params

package
v0.0.0-...-71e40f4 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 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 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

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

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