{
    "contractName": "BorrowPositionProxyV1",
    "abi": [
        {
            "inputs": [
                {
                    "internalType": "address",
                    "name": "dolomiteMargin",
                    "type": "address"
                }
            ],
            "payable": false,
            "stateMutability": "nonpayable",
            "type": "constructor"
        },
        {
            "anonymous": false,
            "inputs": [
                {
                    "indexed": true,
                    "internalType": "address",
                    "name": "_borrower",
                    "type": "address"
                },
                {
                    "indexed": true,
                    "internalType": "uint256",
                    "name": "_borrowAccountNumber",
                    "type": "uint256"
                }
            ],
            "name": "BorrowPositionOpen",
            "type": "event"
        },
        {
            "constant": true,
            "inputs": [],
            "name": "DOLOMITE_MARGIN",
            "outputs": [
                {
                    "internalType": "contract IDolomiteMargin",
                    "name": "",
                    "type": "address"
                }
            ],
            "payable": false,
            "stateMutability": "view",
            "type": "function"
        },
        {
            "constant": false,
            "inputs": [
                {
                    "internalType": "uint256",
                    "name": "_fromAccountNumber",
                    "type": "uint256"
                },
                {
                    "internalType": "uint256",
                    "name": "_toAccountNumber",
                    "type": "uint256"
                },
                {
                    "internalType": "uint256",
                    "name": "_marketId",
                    "type": "uint256"
                },
                {
                    "internalType": "uint256",
                    "name": "_amountWei",
                    "type": "uint256"
                },
                {
                    "internalType": "enum AccountBalanceLib.BalanceCheckFlag",
                    "name": "_balanceCheckFlag",
                    "type": "uint8"
                }
            ],
            "name": "openBorrowPosition",
            "outputs": [],
            "payable": false,
            "stateMutability": "nonpayable",
            "type": "function"
        },
        {
            "constant": false,
            "inputs": [
                {
                    "internalType": "uint256",
                    "name": "_borrowAccountNumber",
                    "type": "uint256"
                },
                {
                    "internalType": "uint256",
                    "name": "_toAccountNumber",
                    "type": "uint256"
                },
                {
                    "internalType": "uint256[]",
                    "name": "_collateralMarketIds",
                    "type": "uint256[]"
                }
            ],
            "name": "closeBorrowPosition",
            "outputs": [],
            "payable": false,
            "stateMutability": "nonpayable",
            "type": "function"
        },
        {
            "constant": false,
            "inputs": [
                {
                    "internalType": "uint256",
                    "name": "_fromAccountNumber",
                    "type": "uint256"
                },
                {
                    "internalType": "uint256",
                    "name": "_toAccountNumber",
                    "type": "uint256"
                },
                {
                    "internalType": "uint256",
                    "name": "_marketId",
                    "type": "uint256"
                },
                {
                    "internalType": "uint256",
                    "name": "_amountWei",
                    "type": "uint256"
                },
                {
                    "internalType": "enum AccountBalanceLib.BalanceCheckFlag",
                    "name": "_balanceCheckFlag",
                    "type": "uint8"
                }
            ],
            "name": "transferBetweenAccounts",
            "outputs": [],
            "payable": false,
            "stateMutability": "nonpayable",
            "type": "function"
        },
        {
            "constant": false,
            "inputs": [
                {
                    "internalType": "uint256",
                    "name": "_fromAccountNumber",
                    "type": "uint256"
                },
                {
                    "internalType": "uint256",
                    "name": "_borrowAccountNumber",
                    "type": "uint256"
                },
                {
                    "internalType": "uint256",
                    "name": "_marketId",
                    "type": "uint256"
                },
                {
                    "internalType": "enum AccountBalanceLib.BalanceCheckFlag",
                    "name": "_balanceCheckFlag",
                    "type": "uint8"
                }
            ],
            "name": "repayAllForBorrowPosition",
            "outputs": [],
            "payable": false,
            "stateMutability": "nonpayable",
            "type": "function"
        }
    ],
    "networks": {
        "1": {
            "links": {},
            "address": "0x67567Fce98A44745820069C37C395426F1C30ba6",
            "transactionHash": "0x8bb312edba4850686dbb1ba42a608638f87c665596e13ec4ec5441ff9784349e"
        },
        "196": {
            "links": {},
            "address": "0xB4F0eB9c8fb5FBabEF339f8738173dB645c4147d",
            "transactionHash": "0x4650e8d614348b31f3961fed42a32d35bcb7a9e28b2beda466aec23a4bb51969"
        },
        "1101": {
            "links": {},
            "address": "0xc28A4EC9f09E4071E3707eAACa5c3754fA4f5Faa",
            "transactionHash": "0x87ce037894c7edd28ba3928c3df91c5c253a0a066ae600f4092265c9a2f2db98"
        },
        "3637": {
            "links": {},
            "address": "0x67567Fce98A44745820069C37C395426F1C30ba6",
            "transactionHash": "0xba2a21aceeffa80a3c296852d5292af8058fea60c1fe8cdb6b447f232974e0f1"
        },
        "5000": {
            "links": {},
            "address": "0x97a08604a56f16947a4a956eFEc2Ef223364b733",
            "transactionHash": "0xb94bdd275084c36f3d63f6b424084095eeb08ea10b0e6f80aabf77bee732b432"
        },
        "5330": {
            "links": {},
            "address": "0x67567Fce98A44745820069C37C395426F1C30ba6",
            "transactionHash": "0x29ecd6162747cc1ba363734843c8f77ed850ed44ed43474829a9a831b24a28cb"
        },
        "8453": {
            "links": {},
            "address": "0x67567Fce98A44745820069C37C395426F1C30ba6",
            "transactionHash": "0x86a91a5290b34063b3cc4943b394ff91d575ba33f76ce8f6f7356c64a983e587"
        },
        "42161": {
            "links": {},
            "address": "0xe43638797513ef7A6d326a95E8647d86d2f5a099",
            "transactionHash": "0x93de2e8dcd2996f7d145bda8c9db90bbb20d8c59c6b62adfc43aca0439a11c05"
        },
        "57073": {
            "links": {},
            "address": "0x67567Fce98A44745820069C37C395426F1C30ba6",
            "transactionHash": "0x2536c515eaeb0842604b9819c8320539483a6aa61a45cf2dda8e36457106e4c4"
        },
        "80094": {
            "links": {},
            "address": "0x67567Fce98A44745820069C37C395426F1C30ba6",
            "transactionHash": "0x5cd7fb951e64887613e98e41e8e281f7e806f831bb582ef7a63ea7187ac5381f"
        }
    }
}
