Enter Markets
Last updated
Last updated
Enter into a list of markets - it is not an error to enter the same market more than once. In order to supply collateral or borrow in a market, it must be entered first.
Comptroller
msg.sender
: The account which shall enter the given markets.
aTokens
: The addresses of the aToken markets to enter.
RETURN
: For each market, returns an error code indicating whether or not it was entered. Each is 0 on success, otherwise an .
Solidity
Web3 1.0