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
| Name | Type | Description |
|---|---|---|
| _bundle | string | the bundle of the transformation module. |
| _source | string | The host of the transformation module source (e.g. "Uniswap") |
| _host | string | The host of the transformation module source (e.g. "Uniswap") |
| _output | string | The output type of the adapter, example: OHLC, OHLCV, SingleValue, etc. |
| _infoHash | string | undefined |
| _active | bool | determines 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
| Name | Type | Description |
|---|---|---|
| _adapter | bytes32 | undefined |
| _remainActive | bool | undefined |
Events
BundleRegistered
Solidity
event BundleRegistered(bytes32 hash, string bundle, string host, string source, string output, string infoHash, bool active, address creator)
Parameters
| Name | Type | Description |
|---|---|---|
| hash | bytes32 | undefined |
| bundle | string | undefined |
| host | string | undefined |
| source | string | undefined |
| output | string | undefined |
| infoHash | string | undefined |
| active | bool | undefined |
| creator | address | undefined |
BundleStateChange
Solidity
event BundleStateChange(bytes32 hash, bool toggle)
Parameters
| Name | Type | Description |
|---|---|---|
| hash | bytes32 | undefined |
| toggle | bool | undefined |