Documentation ¶
Index ¶
- Variables
- type AccountKeys
- type Accounts
- type Addresses
- type BlockHeaders
- type BlockSeals
- type Blocks
- type Bytes
- type ChunkExecutionDatas
- type CollectionGuarantees
- type Events
- type ExecutionDatas
- type FullCollection
- type Greetings
- type Identifiers
- type LightCollection
- type LightTransactionResults
- type MockSigner
- type Signatures
- type TransactionResults
- type Transactions
- type TrieUpdates
Constants ¶
This section is empty.
Variables ¶
View Source
var GreetingScript = []byte(`
transaction(greeting: String) {
execute {
log(greeting.concat(", 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
type Addresses ¶
type Addresses struct {
// contains filtered or unexported fields
}
func AddressGenerator ¶
func AddressGenerator() *Addresses
type BlockHeaders ¶ added in v0.4.0
type BlockHeaders struct {
// contains filtered or unexported fields
}
func BlockHeaderGenerator ¶ added in v0.4.0
func BlockHeaderGenerator() *BlockHeaders
func (*BlockHeaders) New ¶ added in v0.4.0
func (g *BlockHeaders) New() flow.BlockHeader
type BlockSeals ¶ added in v0.15.0
type BlockSeals struct {
// contains filtered or unexported fields
}
func BlockSealGenerator ¶ added in v0.15.0
func BlockSealGenerator() *BlockSeals
func (*BlockSeals) New ¶ added in v0.15.0
func (g *BlockSeals) New() *flow.BlockSeal
type Blocks ¶
type Blocks struct {
// contains filtered or unexported fields
}
func BlockGenerator ¶
func BlockGenerator() *Blocks
type Bytes ¶ added in v1.2.0
type Bytes struct {
// contains filtered or unexported fields
}
func BytesGenerator ¶ added in v1.2.0
func BytesGenerator() *Bytes
type ChunkExecutionDatas ¶ added in v0.41.19
type ChunkExecutionDatas struct {
// contains filtered or unexported fields
}
func ChunkExecutionDataGenerator ¶ added in v0.41.19
func ChunkExecutionDataGenerator() *ChunkExecutionDatas
func (*ChunkExecutionDatas) New ¶ added in v0.41.19
func (g *ChunkExecutionDatas) New() *flow.ChunkExecutionData
type CollectionGuarantees ¶ added in v0.4.0
type CollectionGuarantees struct {
// contains filtered or unexported fields
}
func CollectionGuaranteeGenerator ¶ added in v0.4.0
func CollectionGuaranteeGenerator() *CollectionGuarantees
func (*CollectionGuarantees) New ¶ added in v0.4.0
func (g *CollectionGuarantees) New() *flow.CollectionGuarantee
type Events ¶
type Events struct {
// contains filtered or unexported fields
}
func EventGenerator ¶
func EventGenerator(encoding entities.EventEncodingVersion) *Events
type ExecutionDatas ¶ added in v0.41.19
type ExecutionDatas struct {
// contains filtered or unexported fields
}
func ExecutionDataGenerator ¶ added in v0.41.19
func ExecutionDataGenerator() *ExecutionDatas
func (*ExecutionDatas) New ¶ added in v0.41.19
func (g *ExecutionDatas) New() *flow.ExecutionData
type FullCollection ¶ added in v1.0.0
type FullCollection struct {
Transactions *Transactions
}
func FullCollectionGenerator ¶ added in v1.0.0
func FullCollectionGenerator() *FullCollection
func (*FullCollection) New ¶ added in v1.0.0
func (c *FullCollection) New() *flow.FullCollection
type Greetings ¶ added in v0.4.0
type Greetings struct {
// contains filtered or unexported fields
}
func GreetingGenerator ¶ added in v0.4.0
func GreetingGenerator() *Greetings
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 LightCollection ¶ added in v1.0.0
type LightCollection struct {
// contains filtered or unexported fields
}
func LightCollectionGenerator ¶ added in v1.0.0
func LightCollectionGenerator() *LightCollection
func (*LightCollection) New ¶ added in v1.0.0
func (g *LightCollection) New() *flow.Collection
type LightTransactionResults ¶ added in v0.41.19
type LightTransactionResults struct {
// contains filtered or unexported fields
}
func LightTransactionResultGenerator ¶ added in v0.41.19
func LightTransactionResultGenerator() *LightTransactionResults
func (*LightTransactionResults) New ¶ added in v0.41.19
func (g *LightTransactionResults) New() *flow.LightTransactionResult
type MockSigner ¶
type MockSigner []byte
func (MockSigner) PublicKey ¶ added in v0.25.0
func (s MockSigner) PublicKey() crypto.PublicKey
type Signatures ¶ added in v0.25.0
type Signatures struct {
// contains filtered or unexported fields
}
func SignaturesGenerator ¶ added in v0.25.0
func SignaturesGenerator() *Signatures
func (*Signatures) New ¶ added in v0.25.0
func (g *Signatures) New() [][]byte
type TransactionResults ¶
type TransactionResults struct {
// contains filtered or unexported fields
}
func TransactionResultGenerator ¶
func TransactionResultGenerator(encoding entities.EventEncodingVersion) *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
type TrieUpdates ¶ added in v0.41.19
type TrieUpdates struct {
// contains filtered or unexported fields
}
func TrieUpdateGenerator ¶ added in v0.41.19
func TrieUpdateGenerator() *TrieUpdates
func (*TrieUpdates) New ¶ added in v0.41.19
func (g *TrieUpdates) New() *flow.TrieUpdate
Click to show internal directories.
Click to hide internal directories.