ct

package
v0.1.0-beta7 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2020 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ActionMatched = actionMatched{true, false}
View Source
var ActionSystemMatched = actionMatched{true, true}
View Source
var UndecodedActionData = undecodedActionData(true)

Functions

func Action

func Action(t testing.T, pairName string, components ...interface{}) *pbcodec.Action

func ActionTrace

func ActionTrace(t testing.T, tripletName string, components ...interface{}) *pbcodec.ActionTrace

func ActionTraceFail

func ActionTraceFail(t testing.T, tripletName string, components ...interface{}) *pbcodec.ActionTrace

func ActionTraceSetABI

func ActionTraceSetABI(t testing.T, account string, abi *eos.ABI, components ...interface{}) *pbcodec.ActionTrace

func Block

func Block(t testing.T, blkID string, components ...interface{}) *pbcodec.Block

func DBOp

func DBOp(t testing.T, op string, path string, payer string, data string, components ...interface{}) *pbcodec.DBOp

func DtrxOp

func DtrxOp(t testing.T, operation string, trxID string, components ...interface{}) *pbcodec.DTrxOp

func PermOp

func PermOp(t testing.T, op string, components ...interface{}) *pbcodec.PermOp

func Permission

func Permission(t testing.T, accountPermission string, components ...interface{}) *pbcodec.PermissionObject

func SignedTrx

func SignedTrx(t testing.T, elements ...interface{}) *pbcodec.SignedTransaction

func TableOp

func TableOp(t testing.T, op string, path string, payer string) *pbcodec.TableOp

func ToBstreamBlock

func ToBstreamBlock(t testing.T, block *pbcodec.Block) *bstream.Block

func ToPbbstreamBlock

func ToPbbstreamBlock(t testing.T, block *pbcodec.Block) *pbbstream.Block

func ToTimestamp

func ToTimestamp(t time.Time) *pbts.Timestamp

func Trx

func Trx(t testing.T, elements ...interface{}) *pbcodec.Transaction

func TrxOp

func TrxOp(t testing.T, signedTrx *pbcodec.SignedTransaction) *pbcodec.TrxOp

func TrxTrace

func TrxTrace(t testing.T, components ...interface{}) *pbcodec.TransactionTrace

Types

type ActionData

type ActionData string

type ActionIndex

type ActionIndex uint32

type BlockTime

type BlockTime string

type BlockTimestamp

type BlockTimestamp time.Time

type ContextFreeAction

type ContextFreeAction *pbcodec.Action

func CFAAction

func CFAAction(t testing.T, pairName string, abi *eos.ABI, data string) ContextFreeAction

type Counts

type Counts struct {
	TrxTraceCount      int
	ActTraceInputCount int
	ActTraceTotalCount int
}

type DtrxOpPayer

type DtrxOpPayer string

type ExecutionIndex

type ExecutionIndex uint32

type FilteredBlock

type FilteredBlock struct {
	Include         string
	Exclude         string
	UnfilteredStats Counts
	FilteredStats   Counts
}

type GlobalSequence

type GlobalSequence uint64

type Hash

type Hash string

func (Hash) Bytes

func (h Hash) Bytes(t testing.T) []byte

type NewPerm

type NewPerm *pbcodec.PermissionObject

type OldPerm

type OldPerm *pbcodec.PermissionObject

type PublicKey

type PublicKey string

type TrxID

type TrxID string

Jump to

Keyboard shortcuts

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