Skip to content

Commit

Permalink
Change on 8.Remarks: ABIs to interact with Sovryn
Browse files Browse the repository at this point in the history
Since the intro of Liquidity Mining for Lending Pools, `LoanTokenLogicStandard` is no longer the most general reference contract for the iToken ABIs, but `LoanTokenLogicLM` for iTokens which are not iRBTC and `LoanTokenLogicWrbtc` otherwise.
  • Loading branch information
jjmr007 authored Jan 21, 2022
1 parent 86fab57 commit 1280037
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ Each lender has 2 balances on the iToken contract. The balance of iTokens (e.g.

The loan token (iToken) contract as well as the protocol contract act as proxies, delegating all calls to underlying contracts. Therefore, if you want to interact with them using web3, you need to use the ABIs from the contracts containing the actual logic or the interface contract.

ABI for `LoanToken` contracts: `LoanTokenLogicStandard`
ABI for `LoanToken` contracts: `LoanTokenLogicLM` (if the underlying asset is any but RBTC) and `LoanTokenLogicWrbtc` (if the underlying asset is RBTC)

ABI for `Protocol` contract: `ISovryn`

Expand Down

0 comments on commit 1280037

Please sign in to comment.