test

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2020 License: Apache-2.0 Imports: 5 Imported by: 22

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ScriptHelloWorld = []byte(`transaction { execute { log("Hello, World!") } }`)

Functions

This section is empty.

Types

type AccountKeys

type AccountKeys struct {
	// contains filtered or unexported fields
}

func AccountKeyGenerator

func AccountKeyGenerator() *AccountKeys

func (*AccountKeys) New

func (g *AccountKeys) New() *flow.AccountKey

func (*AccountKeys) NewWithSigner

func (g *AccountKeys) NewWithSigner() (*flow.AccountKey, crypto.Signer)

type Accounts

type Accounts struct {
	// contains filtered or unexported fields
}

func AccountGenerator

func AccountGenerator() *Accounts

func (*Accounts) New

func (g *Accounts) New() *flow.Account

type Addresses

type Addresses struct {
	// contains filtered or unexported fields
}

func AddressGenerator

func AddressGenerator() *Addresses

func (*Addresses) New

func (g *Addresses) New() flow.Address

type Blocks

type Blocks struct {
	// contains filtered or unexported fields
}

func BlockGenerator

func BlockGenerator() *Blocks

func (*Blocks) New

func (g *Blocks) New() *flow.Block

type Collections

type Collections struct {
	// contains filtered or unexported fields
}

func CollectionGenerator

func CollectionGenerator() *Collections

func (*Collections) New

func (g *Collections) New() *flow.Collection

type Events

type Events struct {
	// contains filtered or unexported fields
}

func EventGenerator

func EventGenerator() *Events

func (*Events) New

func (g *Events) New() flow.Event

type Identifiers

type Identifiers struct {
	// contains filtered or unexported fields
}

func IdentifierGenerator

func IdentifierGenerator() *Identifiers

func (*Identifiers) New

func (g *Identifiers) New() flow.Identifier

type MockSigner

type MockSigner []byte

func (MockSigner) Sign

func (s MockSigner) Sign(message []byte) ([]byte, error)

type TransactionResults

type TransactionResults struct {
	// contains filtered or unexported fields
}

func TransactionResultGenerator

func TransactionResultGenerator() *TransactionResults

func (*TransactionResults) New

func (g *TransactionResults) New() flow.TransactionResult

type Transactions

type Transactions struct {
	// contains filtered or unexported fields
}

func TransactionGenerator

func TransactionGenerator() *Transactions

func (*Transactions) New

func (g *Transactions) New() *flow.Transaction

func (*Transactions) NewUnsigned

func (g *Transactions) NewUnsigned() *flow.Transaction

Jump to

Keyboard shortcuts

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