-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #335 from Instadapp/f/morpho-new
feat: add morpho new token wrapper
- Loading branch information
Showing
4 changed files
with
31 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import { AbiItem } from 'web3-utils' | ||
export const MORPHO_TOKEN_WRAPPER_A: AbiItem[] = [ | ||
{ | ||
anonymous: false, | ||
inputs: [{ indexed: true, internalType: 'uint256', name: 'newTokensReceived', type: 'uint256' }], | ||
name: 'LogConvertToNewMorpho', | ||
type: 'event' | ||
}, | ||
{ | ||
inputs: [], | ||
name: 'convertToNewMorpho', | ||
outputs: [ | ||
{ internalType: 'string', name: '_eventName', type: 'string' }, | ||
{ internalType: 'bytes', name: '_eventParam', type: 'bytes' } | ||
], | ||
stateMutability: 'payable', | ||
type: 'function' | ||
}, | ||
{ | ||
inputs: [], | ||
name: 'name', | ||
outputs: [{ internalType: 'string', name: '', type: 'string' }], | ||
stateMutability: 'view', | ||
type: 'function' | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters