Explore tweets tagged as #ValidationLogic
@TheBlockChainer
Bloqarl | Zealynx
2 years
4/7 First action. it updates and validates the parameters. It uses `ValidationLogic.validateWithdraw` to validate the provided parameters. and `reserve.updateInterestRates` to update interest rates accordingly
Tweet media one
1
0
1
@wellbyt3
wellbyt3.eth
11 months
The repay() function chain looks like: Pool.sol --> PoolSetter.sol --> BorrowLogic --> ReserveLogic.sol --> ValidationLogic.sol . Instead of CMD + click to follow the function chain, I click on the tabs and for some reason, this really helps my brain.
Tweet media one
0
0
0
@ReformedTech
ReformedTech
3 years
They're a great place to hide complex validation logic. But beware of exactly that — hiding things. When your validation logic is simple, there's nothing wrong with doing it in the controller. Moving it to a form request makes it less explicit. #ReformedTech #ValidationLogic
Tweet media one
0
0
2
@SarcasmLiving
WSⱯꓛꓤⱯS ꓨNIꓥIꓶ
2 years
Ah, because who doesn't love a thrilling journey bouncing between absolute certainty and perpetual doubt? 🤔 #ValidationLogic.
0
0
0
@JosQiu
tinyhill.eth被盗了
2 years
0x09 borrow功能会先调用ValidationLogic去检查借出后的健康因子是否满足要求,其他诸如withdraw的功能也是需要先检查,然后给用户mint 不可转的债务token VariableDebtToken,这个是借鉴了aave 里面的写法,最后把要借的资产转给用户。.
1
0
2
@gauntlet_xyz
Gauntlet
2 years
@sam___iamm Unfortunately not. This is a side effect of solving to prevent insolvencies.
1
0
0
@sjkelleyjr
Jackson
2 years
@kobigurk @zachobront Aave does it as well. Generally, any established defi protocol does this in some way. This is why they're "established", they've been around a long time without getting rekt. In some sense, the only thing that matters in defi is survival 🪳.
0
0
0