UNPKG

@mstable/protocol

Version:
235 lines (234 loc) 4.37 kB
[ { "inputs": [ { "internalType": "address", "name": "_nexus", "type": "address" }, { "internalType": "address", "name": "_musd", "type": "address" }, { "internalType": "address", "name": "_keeper", "type": "address" }, { "internalType": "address", "name": "_briber", "type": "address" }, { "internalType": "address", "name": "_childRecipient", "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": false, "internalType": "uint256", "name": "amountOut", "type": "uint256" }, { "indexed": false, "internalType": "uint256", "name": "amountToChild", "type": "uint256" } ], "name": "Withdrawn", "type": "event" }, { "inputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "name": "available", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "briber", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "childRecipient", "outputs": [ { "internalType": "contract IRevenueRecipient", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address[]", "name": "", "type": "address[]" }, { "internalType": "uint256[]", "name": "", "type": "uint256[]" } ], "name": "depositToPool", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "feeSplit", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "forward", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "keeper", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "musd", "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": "_briber", "type": "address" }, { "internalType": "address", "name": "_newRecipient", "type": "address" }, { "internalType": "uint256", "name": "_feeSplit", "type": "uint256" } ], "name": "setConfig", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ]