UNPKG

@moonwell-fi/moonwell-sdk

Version:

TypeScript Interface for Moonwell

80 lines (79 loc) 1.39 kB
export default [ { inputs: [ { internalType: "contract WETH9", name: "_weth", type: "address", }, { internalType: "contract MErc20", name: "_mToken", type: "address", }, ], stateMutability: "nonpayable", type: "constructor", }, { inputs: [], name: "mToken", outputs: [ { internalType: "contract MErc20", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "recipient", type: "address", }, ], name: "mint", outputs: [], stateMutability: "payable", type: "function", }, { inputs: [ { internalType: "uint256", name: "mTokenRedeemAmount", type: "uint256", }, { internalType: "address", name: "recipient", type: "address", }, ], name: "redeem", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "weth", outputs: [ { internalType: "contract WETH9", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { stateMutability: "payable", type: "receive", }, ] as const;