Skip to main content

IBundleRegistry.sol

Methods

pause()

Solidity

function pause() external nonpayable
Details

Pauses the registeration of bundles

register(string,string,string,string,string,bool)

Solidity

function register(string _bundle, string _source, string _host, string _output, string _infoHash, bool _active) external nonpayable
Details

Registers an execution bundle, printing an NFT and mapping to execution bundle and host.

Parameters

NameTypeDescription
_bundlestringthe bundle of the transformation module.
_sourcestringThe host of the transformation module source (e.g. "Uniswap")
_hoststringThe host of the transformation module source (e.g. "Uniswap")
_outputstringThe output type of the adapter, example: OHLC, OHLCV, SingleValue, etc.
_infoHashstringundefined
_activebooldetermines if the adapter is active or not, allows for inactive sources to be deprecated, vaults can pause based on this

setAdapterState(bytes32,bool)

Solidity

function setAdapterState(bytes32 _adapter, bool _remainActive) external nonpayable

Parameters

NameTypeDescription
_adapterbytes32undefined
_remainActiveboolundefined

Events

BundleRegistered

Solidity

event BundleRegistered(bytes32 hash, string bundle, string host, string source, string output, string infoHash, bool active, address creator)

Parameters

NameTypeDescription
hashbytes32undefined
bundlestringundefined
hoststringundefined
sourcestringundefined
outputstringundefined
infoHashstringundefined
activeboolundefined
creatoraddressundefined

BundleStateChange

Solidity

event BundleStateChange(bytes32 hash, bool toggle)

Parameters

NameTypeDescription
hashbytes32undefined
toggleboolundefined