Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ConfigTezosURL = ffc("config.connector.url", "URL of JSON/RPC endpoint for the Tezos node/gateway", "string") ConfigTezosDataFormat = ffc("config.connector.dataFormat", "Configure the JSON data format for query output and events", "map,flat_array,self_describing") ConfigTezosGasEstimationFactor = ffc("config.connector.gasEstimationFactor", "The factor to apply to the gas estimation to determine the gas limit", "float") ConfigBlockCacheSize = ffc("config.connector.blockCacheSize", "Maximum of blocks to hold in the block info cache", i18n.IntType) ConfigBlockPollingInterval = ffc("config.connector.blockPollingInterval", "Interval for polling to check for new blocks", i18n.TimeDurationType) ConfigEventsBlockTimestamps = ffc("config.connector.events.blockTimestamps", "Whether to include the block timestamps in the event information", i18n.BooleanType) ConfigEventsCatchupPageSize = ffc("config.connector.events.catchupPageSize", "Number of blocks to query per poll when catching up to the head of the blockchain", i18n.IntType) ConfigEventsCatchupThreshold = ffc("config.connector.events.catchupThreshold", "How many blocks behind the chain head an event stream or listener must be on startup, to enter catchup mode", i18n.IntType) ConfigEventsCheckpointBlockGap = ffc("config.connector.events.checkpointBlockGap", "The number of blocks at the head of the chain that should be considered unstable (could be dropped from the canonical chain after a re-org). Unless events with a full set of confirmations are detected, the restart checkpoint will this many blocks behind the chain head.", i18n.IntType) ConfigEventsFilterPollingInterval = ffc("config.connector.events.filterPollingInterval", "The interval between polling calls to a filter, when checking for newly arrived events", i18n.TimeDurationType) ConfigTxCacheSize = ffc("config.connector.txCacheSize", "Maximum of transactions to hold in the transaction info cache", i18n.IntType) ConfigTezosRPC = ffc("config.connector.blockchain.rpc", "URL of the Tezos RPC node", "string") ConfigTezosNetwork = ffc("config.connector.blockchain.network", "Tezos network, by default - mainnet (mainnet | ghostnet | parisnet)", "string") ConfigTezosSignatory = ffc("config.connector.blockchain.signatory", "URL of the signatory service for remote tx signing", "string") )
View Source
var ( MsgRequestTypeNotImplemented = ffe("FF23010", "FFCAPI request '%s' not currently supported") MsgBlockNotAvailable = ffe("FF23011", "Block not available") MsgReceiptNotAvailable = ffe("FF23012", "Receipt not available for transaction '%s'") MsgUnmarshalABIFail = ffe("FF23013", "Failed to parse method ABI: %s") MsgUnmarshalParamFail = ffe("FF23014", "Failed to parse parameter %d: %s") MsgGasPriceError = ffe("FF23015", `The gasPrice '%s' could not be parsed. Please supply a numeric string, or an object with 'gasPrice' field, or 'maxFeePerGas'/'maxPriorityFeePerGas' fields (EIP-1559)`) MsgInvalidOutputType = ffe("FF23016", "Invalid output type: %s") MsgInvalidGasPrice = ffe("FF23017", "Failed to parse gasPrice '%s': %s") MsgInvalidTXData = ffe("FF23018", "Failed to parse transaction data as hex '%s': %s") MsgInvalidFromAddress = ffe("FF23019", "Invalid 'from' address '%s': %s") MsgInvalidToAddress = ffe("FF23020", "Invalid 'to' address '%s': %s") MsgReverted = ffe("FF23021", "EVM reverted: %s") MsgReturnDataInvalid = ffe("FF23023", "EVM return data invalid: %s") MsgNotInitialized = ffe("FF23024", "Not initialized") MsgMissingBackendURL = ffe("FF23025", "URL must be set for the backend JSON/RPC endpoint") MsgBadVersion = ffe("FF23026", "Bad FFCAPI Version '%s': %s") MsgUnsupportedVersion = ffe("FF23027", "Unsupported FFCAPI Version '%s'") MsgUnsupportedRequestType = ffe("FF23028", "Unsupported FFCAPI request type '%s'") MsgMissingRequestID = ffe("FF23029", "Missing FFCAPI request id") MsgUnknownConnector = ffe("FF23031", "Unknown connector type: '%s'") MsgBadDataFormat = ffe("FF23032", "Unknown data format option '%s' supported: %s") MsgInvalidListenerOptions = ffe("FF23033", "Invalid listener options supplied: %v") MsgInvalidFromBlock = ffe("FF23034", "Invalid fromBlock '%s'") MsgMissingEventFilter = ffe("FF23035", "Missing event filter - must specify one or more event filters") MsgInvalidEventFilter = ffe("FF23036", "Invalid event filter: %s") MsgMissingEventInFilter = ffe("FF23037", "Each filter must have an 'event' child containing the ABI definition of the event") MsgListenerAlreadyStarted = ffe("FF23038", "Listener already started: %s") MsgInvalidCheckpoint = ffe("FF23039", "Invalid checkpoint: %s") MsgCacheInitFail = ffe("FF23040", "Failed to initialize %s cache") MsgStreamNotStarted = ffe("FF23041", "Event stream %s not started") MsgStreamAlreadyStarted = ffe("FF23042", "Event stream %s already started") MsgListenerNotStarted = ffe("FF23043", "Event listener %s not started in event stream %s") MsgListenerNotInitialized = ffe("FF23044", "Event listener %s not initialized in event stream %s") MsgStreamNotStopped = ffe("FF23045", "Event stream %s not stopped") MsgTimedOutQueryingChainHead = ffe("FF23046", "Timed out waiting for chain head block number") MsgDecodeBytecodeFailed = ffe("FF23047", "Failed to decode 'bytecode' as hex or Base64") MsgInvalidTXHashReturned = ffe("FF23048", "Received invalid transaction hash from node len=%d") MsgUnmarshalErrorFail = ffe("FF23049", "Failed to parse error %d: %s") MsgMissingRPCUrl = ffe("FF23051", "Blockchain RPC node URL must be set") MsgFailedRPCInitialization = ffe("FF23052", "Failed to initialize blockchain RPC client") )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.