pledgeBill

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2023 License: GPL-3.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncodeUnTransactionNumber

func EncodeUnTransactionNumber(number uint64) []byte

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 IsMintByTokenID

func IsMintByTokenID(tokenID *big.Int) (bool, error)

func OnDuty

func OnDuty()

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