UNPKG

@mstable/protocol

Version:
164 lines (163 loc) 3.02 kB
[ { "inputs": [ { "internalType": "address", "name": "_nexus", "type": "address" }, { "internalType": "address", "name": "_mAsset", "type": "address" }, { "internalType": "address", "name": "_forwarder", "type": "address" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "mAsset", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "amountIn", "type": "uint256" } ], "name": "RevenueReceived", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "newForwarder", "type": "address" } ], "name": "SetForwarder", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint256", "name": "amountOut", "type": "uint256" } ], "name": "Withdrawn", "type": "event" }, { "inputs": [ { "internalType": "address[]", "name": "", "type": "address[]" }, { "internalType": "uint256[]", "name": "", "type": "uint256[]" } ], "name": "depositToPool", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "forward", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "forwarder", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "mAsset", "outputs": [ { "internalType": "contract IERC20", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "nexus", "outputs": [ { "internalType": "contract INexus", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_mAsset", "type": "address" }, { "internalType": "uint256", "name": "_amount", "type": "uint256" } ], "name": "notifyRedistributionAmount", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_forwarder", "type": "address" } ], "name": "setConfig", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ]