Skip to content

Latest commit

 

History

History
106 lines (70 loc) · 1.28 KB

LadleStorage.md

File metadata and controls

106 lines (70 loc) · 1.28 KB

LadleStorage

Ladle orchestrates contract calls throughout the Yield Protocol v2 into useful and efficient user oriented features.

JoinAdded

event JoinAdded(bytes6 assetId, address join)

PoolAdded

event PoolAdded(bytes6 seriesId, address pool)

ModuleAdded

event ModuleAdded(address module, bool set)

IntegrationAdded

event IntegrationAdded(address integration, bool set)

TokenAdded

event TokenAdded(address token, bool set)

FeeSet

event FeeSet(uint256 fee)

cauldron

contract ICauldron cauldron

router

contract Router router

weth

contract IWETH9 weth

borrowingFee

uint256 borrowingFee

cachedVaultId

bytes12 cachedVaultId

joins

mapping(bytes6 => contract IJoin) joins

pools

mapping(bytes6 => contract IPool) pools

modules

mapping(address => bool) modules

integrations

mapping(address => bool) integrations

tokens

mapping(address => bool) tokens

constructor

constructor(contract ICauldron cauldron_, contract IWETH9 weth_) public