{
    "contractName": "ExpiryV2",
    "abi": [
        {
            "constant": true,
            "inputs": [
                {
                    "name": "",
                    "type": "address"
                },
                {
                    "name": "",
                    "type": "address"
                }
            ],
            "name": "g_approvedSender",
            "outputs": [
                {
                    "name": "",
                    "type": "uint32"
                }
            ],
            "payable": false,
            "stateMutability": "view",
            "type": "function"
        },
        {
            "constant": true,
            "inputs": [],
            "name": "SOLO_MARGIN",
            "outputs": [
                {
                    "name": "",
                    "type": "address"
                }
            ],
            "payable": false,
            "stateMutability": "view",
            "type": "function"
        },
        {
            "constant": false,
            "inputs": [],
            "name": "renounceOwnership",
            "outputs": [],
            "payable": false,
            "stateMutability": "nonpayable",
            "type": "function"
        },
        {
            "constant": true,
            "inputs": [],
            "name": "owner",
            "outputs": [
                {
                    "name": "",
                    "type": "address"
                }
            ],
            "payable": false,
            "stateMutability": "view",
            "type": "function"
        },
        {
            "constant": true,
            "inputs": [],
            "name": "isOwner",
            "outputs": [
                {
                    "name": "",
                    "type": "bool"
                }
            ],
            "payable": false,
            "stateMutability": "view",
            "type": "function"
        },
        {
            "constant": true,
            "inputs": [],
            "name": "g_expiryRampTime",
            "outputs": [
                {
                    "name": "",
                    "type": "uint256"
                }
            ],
            "payable": false,
            "stateMutability": "view",
            "type": "function"
        },
        {
            "constant": false,
            "inputs": [
                {
                    "name": "newOwner",
                    "type": "address"
                }
            ],
            "name": "transferOwnership",
            "outputs": [],
            "payable": false,
            "stateMutability": "nonpayable",
            "type": "function"
        },
        {
            "inputs": [
                {
                    "name": "soloMargin",
                    "type": "address"
                },
                {
                    "name": "expiryRampTime",
                    "type": "uint256"
                }
            ],
            "payable": false,
            "stateMutability": "nonpayable",
            "type": "constructor"
        },
        {
            "anonymous": false,
            "inputs": [
                {
                    "indexed": false,
                    "name": "owner",
                    "type": "address"
                },
                {
                    "indexed": false,
                    "name": "number",
                    "type": "uint256"
                },
                {
                    "indexed": false,
                    "name": "marketId",
                    "type": "uint256"
                },
                {
                    "indexed": false,
                    "name": "time",
                    "type": "uint32"
                }
            ],
            "name": "ExpirySet",
            "type": "event"
        },
        {
            "anonymous": false,
            "inputs": [
                {
                    "indexed": false,
                    "name": "expiryRampTime",
                    "type": "uint256"
                }
            ],
            "name": "LogExpiryRampTimeSet",
            "type": "event"
        },
        {
            "anonymous": false,
            "inputs": [
                {
                    "indexed": false,
                    "name": "approver",
                    "type": "address"
                },
                {
                    "indexed": false,
                    "name": "sender",
                    "type": "address"
                },
                {
                    "indexed": false,
                    "name": "minTimeDelta",
                    "type": "uint32"
                }
            ],
            "name": "LogSenderApproved",
            "type": "event"
        },
        {
            "anonymous": false,
            "inputs": [
                {
                    "indexed": true,
                    "name": "previousOwner",
                    "type": "address"
                },
                {
                    "indexed": true,
                    "name": "newOwner",
                    "type": "address"
                }
            ],
            "name": "OwnershipTransferred",
            "type": "event"
        },
        {
            "constant": false,
            "inputs": [
                {
                    "name": "newExpiryRampTime",
                    "type": "uint256"
                }
            ],
            "name": "ownerSetExpiryRampTime",
            "outputs": [],
            "payable": false,
            "stateMutability": "nonpayable",
            "type": "function"
        },
        {
            "constant": false,
            "inputs": [
                {
                    "name": "sender",
                    "type": "address"
                },
                {
                    "name": "minTimeDelta",
                    "type": "uint32"
                }
            ],
            "name": "approveSender",
            "outputs": [],
            "payable": false,
            "stateMutability": "nonpayable",
            "type": "function"
        },
        {
            "constant": false,
            "inputs": [
                {
                    "name": "",
                    "type": "address"
                },
                {
                    "components": [
                        {
                            "name": "owner",
                            "type": "address"
                        },
                        {
                            "name": "number",
                            "type": "uint256"
                        }
                    ],
                    "name": "account",
                    "type": "tuple"
                },
                {
                    "name": "data",
                    "type": "bytes"
                }
            ],
            "name": "callFunction",
            "outputs": [],
            "payable": false,
            "stateMutability": "nonpayable",
            "type": "function"
        },
        {
            "constant": false,
            "inputs": [
                {
                    "name": "inputMarketId",
                    "type": "uint256"
                },
                {
                    "name": "outputMarketId",
                    "type": "uint256"
                },
                {
                    "components": [
                        {
                            "name": "owner",
                            "type": "address"
                        },
                        {
                            "name": "number",
                            "type": "uint256"
                        }
                    ],
                    "name": "makerAccount",
                    "type": "tuple"
                },
                {
                    "components": [
                        {
                            "name": "owner",
                            "type": "address"
                        },
                        {
                            "name": "number",
                            "type": "uint256"
                        }
                    ],
                    "name": "",
                    "type": "tuple"
                },
                {
                    "components": [
                        {
                            "name": "sign",
                            "type": "bool"
                        },
                        {
                            "name": "value",
                            "type": "uint128"
                        }
                    ],
                    "name": "oldInputPar",
                    "type": "tuple"
                },
                {
                    "components": [
                        {
                            "name": "sign",
                            "type": "bool"
                        },
                        {
                            "name": "value",
                            "type": "uint128"
                        }
                    ],
                    "name": "newInputPar",
                    "type": "tuple"
                },
                {
                    "components": [
                        {
                            "name": "sign",
                            "type": "bool"
                        },
                        {
                            "name": "value",
                            "type": "uint256"
                        }
                    ],
                    "name": "inputWei",
                    "type": "tuple"
                },
                {
                    "name": "data",
                    "type": "bytes"
                }
            ],
            "name": "getTradeCost",
            "outputs": [
                {
                    "components": [
                        {
                            "name": "sign",
                            "type": "bool"
                        },
                        {
                            "name": "denomination",
                            "type": "uint8"
                        },
                        {
                            "name": "ref",
                            "type": "uint8"
                        },
                        {
                            "name": "value",
                            "type": "uint256"
                        }
                    ],
                    "name": "",
                    "type": "tuple"
                }
            ],
            "payable": false,
            "stateMutability": "nonpayable",
            "type": "function"
        },
        {
            "constant": true,
            "inputs": [
                {
                    "components": [
                        {
                            "name": "owner",
                            "type": "address"
                        },
                        {
                            "name": "number",
                            "type": "uint256"
                        }
                    ],
                    "name": "account",
                    "type": "tuple"
                },
                {
                    "name": "marketId",
                    "type": "uint256"
                }
            ],
            "name": "getExpiry",
            "outputs": [
                {
                    "name": "",
                    "type": "uint32"
                }
            ],
            "payable": false,
            "stateMutability": "view",
            "type": "function"
        },
        {
            "constant": true,
            "inputs": [
                {
                    "name": "heldMarketId",
                    "type": "uint256"
                },
                {
                    "name": "owedMarketId",
                    "type": "uint256"
                },
                {
                    "name": "expiry",
                    "type": "uint32"
                }
            ],
            "name": "getSpreadAdjustedPrices",
            "outputs": [
                {
                    "components": [
                        {
                            "name": "value",
                            "type": "uint256"
                        }
                    ],
                    "name": "",
                    "type": "tuple"
                },
                {
                    "components": [
                        {
                            "name": "value",
                            "type": "uint256"
                        }
                    ],
                    "name": "",
                    "type": "tuple"
                }
            ],
            "payable": false,
            "stateMutability": "view",
            "type": "function"
        }
    ],
    "networks": {
        "1": {
            "links": {},
            "address": "0x739A1DF6725657f6a16dC2d5519DC36FD7911A12",
            "transactionHash": "0xcea0c6a3cea5211512cb4d63b5a82b1573da8521d8e823133eebeaec3bf0c58f"
        },
        "42": {
            "links": {},
            "address": "0x4f1d5F59fbab20750266EA173267F3380E449F05",
            "transactionHash": "0xac3aafe0ce3e012d8624b4896d92a55b145d568e69dac7a5af4f0d4d131effc5"
        }
    }
}
