bean

package
v0.0.0-...-7ece11e Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetKeySetFromPrivateKeyParams

func GetKeySetFromPrivateKeyParams(privateKeyWalletStr string) (*incognitokey.KeySet, byte, error)

func GetListReceivers

func GetListReceivers(param interface{}) ([]*privacy.PaymentInfo, error)

Types

type CreateRawPrivacyTokenTxParam

type CreateRawPrivacyTokenTxParam struct {
	SenderKeySet         *incognitokey.KeySet
	ShardIDSender        byte
	PaymentInfos         []*privacy.PaymentInfo
	EstimateFeeCoinPerKb int64
	HasPrivacyCoin       bool
	TokenParamsRaw       map[string]interface{}
	TokenParams          map[string]interface{}
	HasPrivacyToken      bool
	Info                 []byte
	IsGetPTokenFee       bool
	UnitPTokenFee        int64
}

func NewCreateRawPrivacyTokenTxParam

func NewCreateRawPrivacyTokenTxParam(params interface{}) (*CreateRawPrivacyTokenTxParam, error)

func NewCreateRawPrivacyTokenTxParamV2

func NewCreateRawPrivacyTokenTxParamV2(params interface{}) (*CreateRawPrivacyTokenTxParam, error)

type CreateRawTxParam

type CreateRawTxParam struct {
	SenderKeySet         *incognitokey.KeySet
	ShardIDSender        byte
	PaymentInfos         []*privacy.PaymentInfo
	EstimateFeeCoinPerKb int64
	HasPrivacyCoin       bool
	Info                 []byte
}

func NewCreateRawTxParam

func NewCreateRawTxParam(params interface{}) (*CreateRawTxParam, error)

func NewCreateRawTxParamV2

func NewCreateRawTxParamV2(params interface{}) (*CreateRawTxParam, error)

type CreateRawTxSwitchVer1ToVer2Param

type CreateRawTxSwitchVer1ToVer2Param struct {
	SenderKeySet         *incognitokey.KeySet
	ShardIDSender        byte
	EstimateFeeCoinPerKb int64
	Info                 []byte
}

func NewCreateRawTxSwitchVer1ToVer2Param

func NewCreateRawTxSwitchVer1ToVer2Param(params interface{}) (*CreateRawTxSwitchVer1ToVer2Param, error)

type CreateRawTxTokenSwitchVer1ToVer2Param

type CreateRawTxTokenSwitchVer1ToVer2Param struct {
	SenderKeySet         *incognitokey.KeySet
	ShardIDSender        byte
	TokenID              *common.Hash
	EstimateFeeCoinPerKb int64
	Info                 []byte
}

func NewCreateRawPrivacyTokenTxConversionVer1To2Param

func NewCreateRawPrivacyTokenTxConversionVer1To2Param(params interface{}) (*CreateRawTxTokenSwitchVer1ToVer2Param, error)

Jump to

Keyboard shortcuts

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