sero_addrdec

package
v1.0.12 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2019 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Default = &AddressDecoderV2{}
)

Functions

This section is empty.

Types

type AddressDecoderV2

type AddressDecoderV2 struct {
	*openwallet.AddressDecoderV2Base
	IsTestNet bool
	Client    *client.Client
}

AddressDecoderV2

func (*AddressDecoderV2) AddressDecode

func (dec *AddressDecoderV2) AddressDecode(pubKey string, opts ...interface{}) ([]byte, error)

AddressDecode decode address

func (*AddressDecoderV2) AddressEncode

func (dec *AddressDecoderV2) AddressEncode(hash []byte, opts ...interface{}) (string, error)

AddressEncode encode address

func (*AddressDecoderV2) CreateFixAddress added in v1.0.12

func (dec *AddressDecoderV2) CreateFixAddress(account *openwallet.AssetsAccount, rnd []byte, newIndex uint64) (*openwallet.Address, error)

func (*AddressDecoderV2) CustomCreateAddress

func (dec *AddressDecoderV2) CustomCreateAddress(account *openwallet.AssetsAccount, newIndex uint64) (*openwallet.Address, error)

func (*AddressDecoderV2) SupportCustomCreateAddressFunction

func (dec *AddressDecoderV2) SupportCustomCreateAddressFunction() bool

SupportCustomCreateAddressFunction 支持创建地址实现

Jump to

Keyboard shortcuts

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