pledgeBill

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncodeUnTransactionNumber

func EncodeUnTransactionNumber(number uint64) []byte

func GetBPosNftPayloadVersion added in v0.2.5

func GetBPosNftPayloadVersion(txHash string) (payloadVersion byte, err error)

func GetCreateNFTPayload added in v0.2.4

func GetCreateNFTPayload(txHash string) (p *payload.CreateNFT, payloadVersion byte, err error)

func GetIndexByKey

func GetIndexByKey(Key string) (uint64, error)

func GetMintTickFunABI

func GetMintTickFunABI() (abi.ABI, error)

func GetPledgeBillData

func GetPledgeBillData(txHash string) (sAddress string, tokenID *big.Int, err error)

func GetTickFromTokenIdABI

func GetTickFromTokenIdABI() (abi.ABI, error)

func Init

func Init(spvDb *leveldb.Database, dbMutex *sync.RWMutex, contractAddress string, signer common.Address, ipcClient *ethclient.Client)

func ProcessPledgedBill

func ProcessPledgedBill(elaTx it.Transaction)

Types

type PledgeBillListener

type PledgeBillListener struct {
	Service spv.SPVService
}

func (*PledgeBillListener) Address

func (l *PledgeBillListener) Address() string

func (*PledgeBillListener) Flags

func (l *PledgeBillListener) Flags() uint64

func (*PledgeBillListener) Notify

func (l *PledgeBillListener) Notify(id common.Uint256, proof bloom.MerkleProof, tx it.Transaction)

func (*PledgeBillListener) Type

func (l *PledgeBillListener) Type() elacom.TxType

Jump to

Keyboard shortcuts

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