Skip to content

Commit

Permalink
Merge pull request #74 from IndexCoop/fix/morpho-abi
Browse files Browse the repository at this point in the history
fix: morpho abi
  • Loading branch information
janndriessen authored Jul 1, 2024
2 parents d94d856 + 5824788 commit 279062c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/quote/flashmint/hyeth/component-quotes/morpho.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ export class MorphoQuoteProvider {
getTokenContract(address: string): Contract {
const provider = getRpcProvider(this.rpcUrl)
const abi = [
'function previewMint(uint256 shares) public returns (uint256)',
'function previewRedeem(uint256 shares) public returns (uint256)',
'function previewMint(uint256 shares) public view returns (uint256)',
'function previewRedeem(uint256 shares) public view returns (uint256)',
]
return new Contract(address, abi, provider)
}
Expand Down

0 comments on commit 279062c

Please sign in to comment.