@@ -194,6 +194,33 @@ function enterMarkets(address[] vTokens) external returns (uint256[])
194194
195195---
196196
197+ ### enterMarketBehalf
198+
199+ Add assets to be included in account liquidity calculation
200+
201+ ``` solidity
202+ function enterMarketBehalf(address onBehalf, address vToken) external returns (uint256)
203+ ```
204+
205+ #### Parameters
206+
207+ | Name | Type | Description |
208+ | ---- | ---- | ----------- |
209+ | onBehalf | address | The address of the account entering the market |
210+ | vToken | address | The address of the vToken market to enable for the account |
211+
212+ #### Return Values
213+
214+ | Name | Type | Description |
215+ | ---- | ---- | ----------- |
216+ | \[ 0] | uint256 | uint256 indicating the result (0 = success, non-zero = failure) |
217+
218+ #### ❌ Errors
219+
220+ * NotAnApprovedDelegate thrown if ` msg.sender ` is not the account itself or an approved delegate
221+
222+ ---
223+
197224### unlistMarket
198225
199226Unlists the given vToken market from the Core Pool (` poolId = 0 ` ) by setting ` isListed ` to false
@@ -486,7 +513,7 @@ function getLiquidationIncentive(address vToken) external view returns (uint256)
486513
487514### getEffectiveLtvFactor
488515
489- Returns the effective loan-to-value factor (collateral factor or liquidation threshold) for a given account and market.
516+ Get the effective loan-to-value factor (collateral factor or liquidation threshold) for a given account and market.
490517
491518``` solidity
492519function getEffectiveLtvFactor(address account, address vToken, enum WeightFunction weightingStrategy) external view returns (uint256)
@@ -510,7 +537,7 @@ function getEffectiveLtvFactor(address account, address vToken, enum WeightFunct
510537
511538### getEffectiveLiquidationIncentive
512539
513- Get the Effective liquidation Incentive for a given account and market
540+ Get the Effective Liquidation Incentive for a given account and market
514541
515542``` solidity
516543function getEffectiveLiquidationIncentive(address account, address vToken) external view returns (uint256)
0 commit comments