convert

package
v1.0.0-preview.25 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: Apache-2.0 Imports: 9 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FlowAccountPublicKeyToSDK added in v0.50.0

func FlowAccountPublicKeyToSDK(flowPublicKey flowgo.AccountPublicKey, index int) (sdk.AccountKey, error)

func FlowAccountPublicKeysToSDK added in v0.50.0

func FlowAccountPublicKeysToSDK(flowPublicKeys []flowgo.AccountPublicKey) ([]*sdk.AccountKey, error)

func FlowAccountToSDK added in v0.50.0

func FlowAccountToSDK(flowAccount flowgo.Account) (*sdk.Account, error)

func FlowAddressToSDK added in v0.50.0

func FlowAddressToSDK(flowAddress flowgo.Address) sdk.Address

func FlowAddressesToSDK added in v0.50.0

func FlowAddressesToSDK(flowAddresses []flowgo.Address) []sdk.Address

func FlowEventToSDK added in v0.50.0

func FlowEventToSDK(flowEvent flowgo.Event) (sdk.Event, error)

func FlowEventsToSDK added in v0.50.0

func FlowEventsToSDK(flowEvents []flowgo.Event) ([]sdk.Event, error)

func FlowIdentifierToSDK added in v0.50.0

func FlowIdentifierToSDK(flowIdentifier flowgo.Identifier) sdk.Identifier

func FlowIdentifiersToSDK added in v0.50.0

func FlowIdentifiersToSDK(flowIdentifiers []flowgo.Identifier) []sdk.Identifier

func FlowLightCollectionToSDK added in v0.50.0

func FlowLightCollectionToSDK(flowCollection flowgo.LightCollection) sdk.Collection

func FlowProposalKeyToSDK added in v0.50.0

func FlowProposalKeyToSDK(flowProposalKey flowgo.ProposalKey) sdk.ProposalKey

func FlowTransactionResultToSDK added in v0.50.0

func FlowTransactionResultToSDK(result *access.TransactionResult) (*sdk.TransactionResult, error)

func FlowTransactionSignatureToSDK added in v0.50.0

func FlowTransactionSignatureToSDK(flowTransactionSignature flowgo.TransactionSignature) sdk.TransactionSignature

func FlowTransactionSignaturesToSDK added in v0.50.0

func FlowTransactionSignaturesToSDK(flowTransactionSignatures []flowgo.TransactionSignature) []sdk.TransactionSignature

func FlowTransactionToSDK added in v0.50.0

func FlowTransactionToSDK(flowTx flowgo.TransactionBody) sdk.Transaction

func SDKAccountKeyToFlow added in v0.50.0

func SDKAccountKeyToFlow(key *sdk.AccountKey) (flowgo.AccountPublicKey, error)

func SDKAccountKeysToFlow added in v0.50.0

func SDKAccountKeysToFlow(keys []*sdk.AccountKey) ([]flowgo.AccountPublicKey, error)

func SDKAccountToFlow added in v0.50.0

func SDKAccountToFlow(account *sdk.Account) (*flowgo.Account, error)

func SDKAddressToFlow added in v0.50.0

func SDKAddressToFlow(sdkAddress sdk.Address) flowgo.Address

func SDKAddressesToFlow added in v0.50.0

func SDKAddressesToFlow(sdkAddresses []sdk.Address) []flowgo.Address

func SDKEventToFlow added in v0.50.0

func SDKEventToFlow(event sdk.Event) (flowgo.Event, error)

func SDKIdentifierToFlow added in v0.50.0

func SDKIdentifierToFlow(sdkIdentifier sdk.Identifier) flowgo.Identifier

func SDKIdentifiersToFlow added in v0.50.0

func SDKIdentifiersToFlow(sdkIdentifiers []sdk.Identifier) []flowgo.Identifier

func SDKProposalKeyToFlow added in v0.50.0

func SDKProposalKeyToFlow(sdkProposalKey sdk.ProposalKey) flowgo.ProposalKey

func SDKTransactionSignatureToFlow added in v0.50.0

func SDKTransactionSignatureToFlow(sdkTransactionSignature sdk.TransactionSignature) flowgo.TransactionSignature

func SDKTransactionSignaturesToFlow added in v0.50.0

func SDKTransactionSignaturesToFlow(sdkTransactionSignatures []sdk.TransactionSignature) []flowgo.TransactionSignature

func SDKTransactionToFlow added in v0.50.0

func SDKTransactionToFlow(sdkTx sdk.Transaction) *flowgo.TransactionBody

func ToStorableResult

func ToStorableResult(
	output fvm.ProcedureOutput,
	blockID flowgo.Identifier,
	blockHeight uint64,
) (
	types.StorableTransactionResult,
	error,
)

func VMErrorToEmulator

func VMErrorToEmulator(vmError fvmerrors.CodedError) error

func VMTransactionResultToEmulator

func VMTransactionResultToEmulator(
	txnId flow.Identifier,
	output fvm.ProcedureOutput,
) (
	*types.TransactionResult,
	error,
)

Types

This section is empty.

Jump to

Keyboard shortcuts

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