UNPKG

@haechi-labs/henesis-cli

Version:

🚀 Command Line Interface tool to Utilize henesis

132 lines (131 loc) • 3.94 kB
[ { "constant": false, "inputs": [ { "name": "marketId", "type": "uint256" }, { "name": "erc20Addr", "type": "address" }, { "name": "tokenAmt", "type": "uint256" } ], "name": "borrow", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "constant": true, "inputs": [], "name": "getAddressWETH", "outputs": [{ "name": "weth", "type": "address" }], "payable": false, "stateMutability": "pure", "type": "function" }, { "constant": false, "inputs": [ { "name": "marketId", "type": "uint256" }, { "name": "erc20Addr", "type": "address" }, { "name": "tokenAmt", "type": "uint256" } ], "name": "payback", "outputs": [], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [], "name": "getSoloAddress", "outputs": [{ "name": "addr", "type": "address" }], "payable": false, "stateMutability": "pure", "type": "function" }, { "constant": true, "inputs": [], "name": "getAddressETH", "outputs": [{ "name": "eth", "type": "address" }], "payable": false, "stateMutability": "pure", "type": "function" }, { "constant": false, "inputs": [ { "name": "marketId", "type": "uint256" }, { "name": "erc20Addr", "type": "address" }, { "name": "tokenAmt", "type": "uint256" } ], "name": "deposit", "outputs": [], "payable": true, "stateMutability": "payable", "type": "function" }, { "constant": true, "inputs": [], "name": "getSoloPayableAddress", "outputs": [{ "name": "addr", "type": "address" }], "payable": false, "stateMutability": "pure", "type": "function" }, { "constant": false, "inputs": [ { "name": "marketId", "type": "uint256" }, { "name": "erc20Addr", "type": "address" }, { "name": "tokenAmt", "type": "uint256" } ], "name": "withdraw", "outputs": [], "payable": false, "stateMutability": "nonpayable", "type": "function" }, { "payable": true, "stateMutability": "payable", "type": "fallback" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "erc20Addr", "type": "address" }, { "indexed": false, "name": "tokenAmt", "type": "uint256" }, { "indexed": false, "name": "owner", "type": "address" } ], "name": "LogDeposit", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "erc20Addr", "type": "address" }, { "indexed": false, "name": "tokenAmt", "type": "uint256" }, { "indexed": false, "name": "owner", "type": "address" } ], "name": "LogWithdraw", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "erc20Addr", "type": "address" }, { "indexed": false, "name": "tokenAmt", "type": "uint256" }, { "indexed": false, "name": "owner", "type": "address" } ], "name": "LogBorrow", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "name": "erc20Addr", "type": "address" }, { "indexed": false, "name": "tokenAmt", "type": "uint256" }, { "indexed": false, "name": "owner", "type": "address" } ], "name": "LogPayback", "type": "event" } ]