package
3.3.2+incompatible
Repository: https://github.com/hyperledger/firefly-ethconnect.git
Documentation: pkg.go.dev

# Functions

Errorf creates an error (not yet translated, but an extensible interface for that using simple sprintf formatting rather than named i18n inserts).
No description provided by the author

# Variables

AddressBookLookupBadHostsFile we have a custom hosts file for DNS resolution, but it cannot be processed.
AddressBookLookupBadURL we got back a bad URL from the remote address book after our REST call.
AddressBookLookupNotFound remote addressbook says no.
CircuitBreakerTripped is returned when the Kafka circuit breaker has deemed it unsafe to produce more messages.
CompilerABIReRead could not re-read serialized output after writing the ABI.
CompilerABISerialize could not serialize the ABI output from solc.
CompilerBytecodeEmpty null result from succcessful compile in solc.
CompilerBytecodeInvalid hex output from compiler could not be parsed.
CompilerFailedSolc compilation failure output from solc.
CompilerFailedVersion failed to get version.
CompilerFailedVersionRegex failed to extract version from output.
CompilerOutputMissingContract the output from the compiler does not include the requested contract.
CompilerOutputMultipleContracts need to select one.
CompilerSerializeDevDocs could not serialize the dev docs output from solc.
CompilerVersionBadRequest the user requested a bad semver.
CompilerVersionNotFound the runtime context of ethconnect has not been configured with a compiler for the requested version.
ConfigFileReadFailed failed to read the server config file.
ConfigKafkaMissingBadSASL problem with SASL config.
ConfigKafkaMissingBrokers missing/empty brokers.
ConfigKafkaMissingConsumerGroup consumer group missing.
ConfigKafkaMissingInputTopic request topic missing.
ConfigKafkaMissingOutputTopic response topic missing.
ConfigNoRPC missing config for JSON/RPC.
ConfigNoYAML missing configuration file on server start.
ConfigRESTGatewayRequiredReceiptStore need to enable params for REST Gatewya.
ConfigRESTGatewayRequiredRPC and RPC stuff.
ConfigTLSCertOrKey incomplete TLS config.
ConfigWebhooksDirectRPC for webhooks direct.
ConfigYAMLParseFile failed to parse YAML during server startup.
ConfigYAMLPostParseFile failed to process YAML as JSON after parsing.
DeployTransactionMissingCode a DeployTransaction message, without code to deploy.
EventStreamsCannotUpdateType cannot change tyep.
EventStreamsCreateStreamResourceErr problem creating a resource required by the eventstream.
EventStreamsCreateStreamStoreFailed problem saving a subscription to our DB.
EventStreamsDBLoad failed to init DB.
EventStreamsInvalidActionType unknown action type.
EventStreamsInvalidDistributionMode unknown distribution mode.
EventStreamsLogDecode problem decoding the logs for an event emitted on the chain.
EventStreamsLogDecodeData RLP decoding of the data section of the logs failed.
EventStreamsLogDecodeInsufficientTopics ran out of topics according to the indexed fields described on the ABI event.
EventStreamsNoID attempt to create an event stream/sub without an ID.
EventStreamsStreamNotFound stream not found.
EventStreamsSubscribeBadBlock the starting block for a subscription request is invalid.
EventStreamsSubscribeNoEvent missing event.
EventStreamsSubscribeStoreFailed problem saving a subscription to our DB.
EventStreamsSubscriptionNotFound sub not found.
EventStreamsUpdateAlreadyInProgress update already in progress.
EventStreamsWebhookFailedHTTPStatus server at the other end of a webhook returned a non-OK response.
EventStreamsWebhookInvalidURL attempt to create a Webhook event stream with an invalid URL.
EventStreamsWebhookNoURL attempt to create a Webhook event stream without a URL.
EventStreamsWebhookProhibitedAddress some IP ranges can be restricted.
EventStreamsWebhookResumeActive resume when already resumed.
EventStreamsWebSocketErrorFromClient Error message received from client.
EventStreamsWebSocketInterruptedReceive When we are interrupted waiting for a viable connection to send down.
EventStreamsWebSocketInterruptedSend When we are interrupted waiting for a viable connection to send down.
EventStreamsWebSocketNotConfigured WebSocket not configured.
EventSupportNotConfigured is returned when event support is not configured.
FFCBadVersion is returned when an FFCAPI request has a bad version header.
FFCBlockNotAvailable is returned when a receipt is not found.
FFCInvalidGasPrice is returned when the gas price cannot be parsed as a number (support for London fork not yet in place).
FFCInvalidTXData is returned when the transaction input data cannot be parsed as hex.
FFCMissingRequestID is returned when the request ID is missing.
FFCReceiptNotAvailable is returned when a receipt is not found.
FFCRequestTypeNotImplemented is returned when an operation is not supported.
FFCUnmarshalABIFail is returned when failing to unmarshal a parameter to a generic go struct.
FFCUnmarshalParamFail is returned when failing to unmarshal a parameter to a generic go struct.
FFCUnsupportedRequestType is returned when the request type is unsupported for an FFCAPI request.
FFCUnsupportedVersion is returned when there is a bad version supplied on an FFCAPI request.
HDWalletSigningBadData we got a response, but not with the correct fields.
HDWalletSigningFailed problem returned from remote HDWallet API.
HDWalletSigningNoConfig we had a request for HD Wallet signing, but we don't have the required config.
HelperStrToAddressBadAddress re-usable error for bad address.
HelperStrToAddressRequiredField re-usable error for missing fields.
HelperYAMLorJSONPayloadParseFailed input message got error parsing.
HelperYAMLorJSONPayloadReadFailed failed to read input.
HelperYAMLorJSONPayloadTooLarge input message too large.
HTTPRequesterNonStatusError common HTTP request utility for extensions, got an error sending a request.
HTTPRequesterResponseMissingField common HTTP request utility for extensions, missing expected field in response.
HTTPRequesterResponseNonStringField common HTTP request utility for extensions, expected string for field in response.
HTTPRequesterResponseNullField common HTTP request utility for extensions, expected non-empty response field.
HTTPRequesterSerializeFailed common HTTP request utility for extensions, failed to serialize request.
HTTPRequesterStatusError common HTTP request utility for extensions, got a non-ok status code.
HTTPRequesterStatusErrorNoData common HTTP request utility for extensions, got a status code, but couldn't deserialize payload.
HTTPRequesterStatusErrorWithData common HTTP request utility for extensions, got a non-ok status code with JSON errorMessage.
KakfaProducerConfirmMsgUnknown we received a confirmation callback, but we aren't expecting it.
KVStoreDBLoad failed to init DB.
KVStoreDBMarshal failed to unmarshal to object.
KVStoreDBUnmarshal failed to unmarshal to object.
KVStoreMemFilteringUnsupported memory db is really just for testing.
LevelDBFailedRetriveGeneratedID problem retrieving entry - generated ID.
LevelDBFailedRetriveOriginalKey problem retrieving entry - original key.
ReceiptErrorIdempotencyCheck failed to query receipt during idempotency check.
ReceiptStoreDBLoad failed to init DB.
ReceiptStoreDisabled not configured.
ReceiptStoreFailedNotFound receipt isn't in the store.
ReceiptStoreFailedQuery wrapper over detailed error.
ReceiptStoreFailedQuerySingle wrapper over detailed error.
ReceiptStoreInvalidRequestBadLimit bad limit.
ReceiptStoreInvalidRequestBadSince bad since.
ReceiptStoreInvalidRequestBadSkip bad skip.
ReceiptStoreInvalidRequestID bad ID query.
ReceiptStoreInvalidRequestMaxLimit bad limit over max.
ReceiptStoreKeyNotUnique non-unique request ID.
ReceiptStoreLevelDBConnect couldn't open file for the level DB.
ReceiptStoreMongoDBConnect couldn't connect to MongoDB.
ReceiptStoreMongoDBIndex couldn't create MongoDB index.
ReceiptStoreSerializeResponse problem sending a receipt stored back over the REST API.
RemoteRegistryCacheInit initialzation issue for remote contract registry.
RemoteRegistryLookupGatewayNotFound did not find the requested ID in the remote registry for a gateway/factory.
RemoteRegistryLookupGenericProcessingFailed we don't return the full original error over the REST API after logging.
RemoteRegistryLookupInstanceNotFound did not find the requested ID in the remote registry for a contract instance.
RemoteRegistryNotConfigured cannot register as a remote registry is not configured.
RemoteRegistryRegistrationFailed error during registration with remote contract registry.
RESTGatewayCompileContractCompileFailDetails output from compiler failure.
RESTGatewayCompileContractCompileFailed failed to perform compile.
RESTGatewayCompileContractExtractedReadFailed failed to read extracted contents of uploaded data.
RESTGatewayCompileContractInvalidFormData invalid form data when requesting a compilation to generate an ABI/bytecode.
RESTGatewayCompileContractNoSOL failed to find any solidity files in uploaded data.
RESTGatewayCompileContractPostCompileFailed failed to process output of compilation.
RESTGatewayCompileContractSlashes unsafe slash characters in filenames.
RESTGatewayCompileContractSolcOutputProcessFail failed to process output of compilation.
RESTGatewayCompileContractSolcVerFail failed while checking version of solidity compiler 'solc'.
RESTGatewayCompileContractUnzip failure thrown from decompression library during extract.
RESTGatewayCompileContractUnzipCopy error writing extracted zip (no extra information to remote caller).
RESTGatewayCompileContractUnzipRead error opening zip/tgz to read (no extra information to remote caller).
RESTGatewayCompileContractUnzipWrite error writing extracted zip (no extra information to remote caller).
RESTGatewayEventABIInvalid error processing method from ABI.
RESTGatewayEventManagerInitFailed constructor failure for event manager.
RESTGatewayEventNotDeclared attempt to subscribe to an event on an instance that does not exist.
RESTGatewayEventStreamInvalid attempt to create an event stream with invalid parameters.
RESTGatewayFriendlyNameClash duplicate friendly name when reigstering.
RESTGatewayGatewayNotFound the gateway REST API interface (the 'factory' / ABI generic interface) was not found.
RESTGatewayInstanceNotFound the instance REST API interface (an individual registered address) was not found.
RESTGatewayInvalidABI invalid serialized ABI in msg.
RESTGatewayInvalidFromAddress failed to parse a 'from' address supplied on a path.
RESTGatewayInvalidToAddress failed to parse a 'to' address supplied on a path.
RESTGatewayLocalStoreABILoad local filesystem load failure for ABI details (non-registry code flow).
RESTGatewayLocalStoreABINotFound lookup of ABI failed not found (non-registry code flow).
RESTGatewayLocalStoreABIParse local filesystem parse failure for ABI details (non-registry code flow).
RESTGatewayLocalStoreContractLoad local filesystem load failure for contract instance (non-registry code flow).
RESTGatewayLocalStoreContractNotFound local filesystem not found (non-registry code flow).
RESTGatewayLocalStoreContractSave local filesystem storage failure for contract instance (non-registry code flow).
RESTGatewayLocalStoreContractSavePostDeploy local filesystem storage failure for contract instance post deploy (non-registry code flow).
RESTGatewayLocalStoreMissingABI did not supply ABI JSON when attempting to install ABI (non-registry code flow).
RESTGatewayMethodABIInvalid error processing method from ABI.
RESTGatewayMethodNotDeclared attempt to invoke a method name that does not exist in the ABI, or register globally for an event that doesn't exist.
RESTGatewayMethodTypeInvalid unsupported method type.
RESTGatewayMissingFromAddress did not supply a signing address for the transaction.
RESTGatewayMissingParameter did not supply a parameter required by the method.
RESTGatewayMissingStoragePath storage path must be set.
RESTGatewayMixedPrivateForAndGroupID confused privacy group info, using simple/Tessera style as well as pre-defined/Orion style.
RESTGatewayPostDeployMissingAddress after deployment the receipt did not contain a contract address.
RESTGatewayRegistrationSuppliedInvalidAddress invalid address when registering an existing instance of a contract.
RESTGatewayResourceErr problem creating a resource required by the gateway.
RESTGatewaySubscribeMissingStreamParameter missed the ID of the stream when registering.
RESTGatewaySyncMsgTypeMismatch sync-invoke code paths in REST API Gateway should be maintained such that this cannot happen.
RESTGatewaySyncWrapErrorWithTXDetail wraps a low level error with transaction hash context on sync APIs before returning.
ResubmissionPreventedCheckTransactionHash redelivery was prevented by the processor.
RPCCallReturnedError specified RPC call returned error.
RPCConnectFailed error connecting to back-end server over JSON/RPC.
SecurityModuleNoAuthContext missing auth context in context object at point security module is invoked.
SecurityModulePluginLoad failed to load .so.
SecurityModulePluginSymbol missing symbol in plugin.
TransactionCallInvalidBlockNumber on "eth_call" the optional parameter for the target blocknumber failed to parse to a big integer.
TransactionQueryFailed transaction lookup failed.
TransactionQueryMethodMismatch transaction input did not match the method queried.
TransactionSendBadGas a user-supplied gas (maximum gas to spend on the TX) string in the JSON input cannot be processed.
TransactionSendBadGasPrice a user-supplied gasPrice (eth to pay for each unit of gas spent) string in the JSON input cannot be processed.
TransactionSendBadNonce a user-supplied nonce string in the JSON input cannot be processed.
TransactionSendBadValue a user-supplied value (eth amount to transfer) string in the JSON input cannot be processed.
TransactionSendCallFailedNoRevert failed to perform an eth_call with a JSON/RPC error (not a revert).
TransactionSendCallFailedRevertMessage directly passes the revert message from the EVM.
TransactionSendCallFailedRevertNoMessage when we couldn't process the EVM revert message.
TransactionSendConstructorPackArgs RLP encoding failure for a constructor.
TransactionSendGasEstimateFailed gas estimation failed prior to sending TX.
TransactionSendInputCountMismatch wrong number of args supplied according to the ABI.
TransactionSendInputInLineTypeArrayNotString when sending us an ABI definition for the inputs directly.
TransactionSendInputInLineTypeUnknown when sending us an ABI definition for the inputs directly, the type string isn't known as an ethereum type.
TransactionSendInputNotAssignable if we end up in a situation where the generated type cannot be assigned.
TransactionSendInputStructureWrong the JSON structure supplied to describe the arguments is incorrect according to our schema.
TransactionSendInputTooManyParams more parameters provided than specified on ABI.
TransactionSendInputTypeAddress the input JSON value supplied for a method parameter couldn't be parsed as an eth address.
TransactionSendInputTypeBadByteOutsideRange one of the entries inside of a byte array, is a number outside the range for bytes.
TransactionSendInputTypeBadJSONTypeForAddress the input JSON value supplied for a method parameter was not compatible with coercion to an eth address.
TransactionSendInputTypeBadJSONTypeForArray the input JSON value supplied for a method parameter was not compatible with coercion to an array.
TransactionSendInputTypeBadJSONTypeForBoolean the input JSON value supplied for a method parameter was not compatible with coercion to a boolean.
TransactionSendInputTypeBadJSONTypeForBytes one of the entries inside of a byte array, is a number outside the range for bytes.
TransactionSendInputTypeBadJSONTypeForNumber the input JSON value supplied for a method parameter was not a number or a string, and needs to be converted to a number.
TransactionSendInputTypeBadJSONTypeForString the input JSON value supplied for a method parameter was not compatible with coercion to a boolean.
TransactionSendInputTypeBadJSONTypeForTuple if we are provided a non object input on the JSON for a struct (tuple).
TransactionSendInputTypeBadJSONTypeInNumericArray one of the entries inside of a numeric array, is not valid as a number.
TransactionSendInputTypeBadNull the input JSON value supplied was null.
TransactionSendInputTypeBadNumber the input JSON value supplied for a method parameter cannot be converted to a number.
TransactionSendInputTypeNotSupported did not know how to handle this type - enhancement required.
TransactionSendInputTypeUnknown there is a type in the ABI inputs that we don't understand.
TransactionSendMethodPackArgs RLP encoding failure for a method.
TransactionSendMissingMethod a request to send a transaction was received (webhook/Kafka) that was missing method details (unexpected when using REST APIs that validate this).
TransactionSendMissingPrivateFromOrion there is no default privateFrom in Orion, so the user must always supply it.
TransactionSendMsgTypeUnknown we got a JSON message into the core processor (from Kafka, Webhooks etc.) that we don't understand.
TransactionSendNonceFailWithPrivacyGroup when we successfully lookup the privacy group, but cannot get the nonce.
TransactionSendOutputTypeUnknown there is a type in the ABI outputs that we don't understand.
TransactionSendPrivateForAndPrivacyGroup mixed both params.
TransactionSendPrivateTXWithExternalSigner we don't allow private transactions to be combined with a HD Wallet or other external signer currently.
TransactionSendReceiptCheckError we continually had bad RCs back from the node while trying to check for the receipt up to the timeout.
TransactionSendReceiptCheckTimeout we didn't have a problem asking the node for a receipt, but the transaction wasn't mined at the end of the timeout.
Unauthorized (401 error).
UnpackOutputsFailed RLP decoding of outputs, logs, or events failed.
UnpackOutputsMismatch RLP decoding of output gave an unexpected type according to the ABI.
UnpackOutputsMismatchCount wrong number of arguments.
UnpackOutputsMismatchNil RLP decoding of output gave a non-nil type, and we expected nil.
UnpackOutputsMismatchTupleFieldCount we had a mismatch in the number of fields described on the ABI and the number on the go structure.
UnpackOutputsMismatchTupleType we got a type back from the unpacking that doesn't match the ABI.
UnpackOutputsMismatchType expected to find a number according to supplied ABI, but got something else.
UnpackOutputsUnknownType did not know how to handle this type - enhancement required.
WebhooksDirectBadHeaders problem processing for in-memory operation.
WebhooksDirectTooManyInflight when we're not using a buffered store (Kafka) we have to reject.
WebhooksInvalidMsgFromMissing need to specify a msg type in the header.
WebhooksInvalidMsgHeaders missing headers section in the JSON/YAML posted.
WebhooksInvalidMsgType need to specify a valid msg type in the header.
WebhooksInvalidMsgTypeMissing need to specify a msg type in the header.
WebhooksKafkaDeliveryReportNoMeta delivery reports should contain the metadata we set when we sent.
WebhooksKafkaErr wrapper on detailed error from Kafka itself.
WebhooksKafkaUnexpectedErrFmt problem processing an error that came back from Kafka, so do a deep dump.
WebhooksKafkaYAMLtoJSON re-serialization of webhook message into JSON failed.
WebSocketClosed websocket was closed.

# Structs

No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author