package
0.0.5
Repository: https://github.com/goplugin/plugin.git
Documentation: pkg.go.dev

# Functions

FindNativeAdapterFor find the native adapter for a given task.
For determines the adapter type to use for a given task.

# Constants

DataFormatBytes instructs the EthTx Adapter to treat the input value as a bytes string, rather than a hexadecimal encoded bytes32.

# Variables

A base set of supported types, expand as needed.
Defining errors to use if the Compare operations fail.
Defining errors to use if the Compare operations fail.
Defining errors to use if the Compare operations fail.
Defining errors to use if the Compare operations fail.
TaskTypeCompare is the identifier for the Compare adapter.
TaskTypeCopy is the identifier for the Copy adapter.
TaskTypeEthBool is the identifier for the EthBool adapter.
TaskTypeEthBytes32 is the identifier for the EthBytes32 adapter.
TaskTypeEthInt256 is the identifier for the EthInt256 adapter.
TaskTypeEthTx is the identifier for the EthTx adapter.
TaskTypeEthUint256 is the identifier for the EthUint256 adapter.
TaskTypeHTTPGet is the identifier for the HTTPGet adapter.
TaskTypeHTTPGetWithUnrestrictedNetworkAccess is the identifier for the HTTPGet adapter, with local/private IP access enabled.
TaskTypeHTTPPost is the identifier for the HTTPPost adapter.
TaskTypeHTTPPostWithUnrestrictedNetworkAccess is the identifier for the HTTPPost adapter, with local/private IP access enabled.
TaskTypeJSONParse is the identifier for the JSONParse adapter.
TaskTypeMultiply is the identifier for the Multiply adapter.
TaskTypeNoOp is the identifier for the NoOp adapter.
TaskTypeNoOpPendOutgoing is the identifier for the NoOpPendOutgoing adapter.
TaskTypeQuotient is the identifier for the Quotient adapter.
TaskTypeRandom is the identifier for the Random adapter.
TaskTypeResultCollect is the identifier for the ResultCollect adapter.
TaskTypeSleep is the identifier for the Sleep adapter.

# Structs

Bridge adapter is responsible for connecting the task pipeline to external adapters, allowing for custom computations to be executed and included in runs.
Compare adapter type takes an Operator and a Value field to compare to the previous task's Result.
Copy obj keys refers to which value to copy inside `data`, each obj value refers to where to copy the value to inside `data`.
EthBool holds no fields.
EthBytes32 holds no fields.
EthInt256 holds no fields.
EthTx holds the Address to send the result to and the FunctionSelector to execute.
EthUint256 holds no fields.
HTTPGet requires a URL which is used for a GET request when the adapter is called.
HTTPPost requires a URL which is used for a POST request when the adapter is called.
JSONParse holds a path to the desired field in a JSON object, made up of an array of strings.
Multiply holds the a number to multiply the given value by.
NoOp adapter type holds no fields.
NoOpPendOutgoing adapter type holds no fields.
PipelineAdapter wraps a BaseAdapter with requirements for execution in the pipeline.
Quotient holds the Dividend.
Random adapter type implements VRF calculation in its Perform method.
ResultCollect receiver type.
Sleep adapter allows a job to do nothing for some amount of wall time.

# Interfaces

BaseAdapter is the minimum interface required to create an adapter.

# Type aliases

ExtendedPath is the path to append to a base URL.
JSONPath is a path to a value in a JSON object.
QueryParameters are the keys and values to append to the URL.