{
    "chainId": 31337,
    "chainName": "local",
    "nativeToken": "",
    "blockExplorerUrl": "",
    "blockTime": "",
    "wrappedNativeAddress": "",
    "subgraph": "",
    "subgraphProxy": "",
    "commit": "",
    "contractAddress": {
        "config": "0x9fE46736679d2D9a65F0992F2272dE9f3c7fa6e0",
        "gate": "0xDc64a140Aa3E981100a9becA4E685f962f0cF6C9",
        "observer": "0x4ed7c70F96B99c776995fB64377f0d4aB3B0e1C1",
        "guardian": "0xe7f1725E7734CE288F8367e1Bb143E90bb3F0512",
        "market": {
            "LINK": {
                "beacon": "0xB7f8BC63BbcaD18155201308C8f3540b07f84F5e",
                "market": "0x0B306BF915C4d645ff596e518fAf3F9669b97016"
            },
            "DEXV2": {
                "beacon": "0xB7f8BC63BbcaD18155201308C8f3540b07f84F5e",
                "market": "0x0DCd1Bf9A1b36cE34237eEaFef220932846BCD82"
            },
            "EMG": {
                "beacon": "0xB7f8BC63BbcaD18155201308C8f3540b07f84F5e",
                "market": "0x9A9f2CCfdE556A7E9Ff0848998Aa4a0CFD8863AE"
            },
            "PYTH": {
                "beacon": "0xB7f8BC63BbcaD18155201308C8f3540b07f84F5e",
                "market": "0x3Aa5ebB10DC797CAC828524e59A333d0A371443c"
            }
        },
        "feederFactory": {
            "PYTH": {
                "beacon": "0x2C477DFdB744E3BAf87bbdE078e21D382bc40700",
                "factory": "0x7a2088a1bFc9d81c55368AE168C2C02570cB814F"
            },
            "EMG": {
                "beacon": "0x46682cA783d96a4A65390211934D5714CDb788E4",
                "factory": "0xa85233C63b9Ee964Add6F2cffe00Fd84eb32338f"
            }
        }
    },
    "marketConfig": {
        "LINK": {
            "dailyInterestRate": 3,
            "feederSource": [
                {
                    "baseSymbol": "BTC",
                    "quoteSymbol": "USDC",
                    "ftype": 2,
                    "aggregator0": "0x93C7a6D00849c44Ef3E92E95DCEFfccd447909Ae",
                    "heartBeat0": 3600,
                    "aggregator1": "0x2910E325cf29dd912E3476B61ef12F49cb931096",
                    "heartBeat1": 86400
                },
                {
                    "baseSymbol": "ETH",
                    "quoteSymbol": "USDC",
                    "ftype": 2,
                    "aggregator0": "0xbdEd0D2bf404bdcBa897a74E6657f1f12e5C6fb6",
                    "heartBeat0": 3600,
                    "aggregator1": "0x2910E325cf29dd912E3476B61ef12F49cb931096",
                    "heartBeat1": 86400
                },
                {
                    "baseSymbol": "BTC",
                    "quoteSymbol": "USDT",
                    "ftype": 2,
                    "aggregator0": "0x93C7a6D00849c44Ef3E92E95DCEFfccd447909Ae",
                    "heartBeat0": 3600,
                    "aggregator1": "0xA7918D253764E42d60C3ce2010a34d5a1e7C1398",
                    "heartBeat1": 86400
                },
                {
                    "baseSymbol": "ETH",
                    "quoteSymbol": "USDT",
                    "ftype": 2,
                    "aggregator0": "0xbdEd0D2bf404bdcBa897a74E6657f1f12e5C6fb6",
                    "heartBeat0": 3600,
                    "aggregator1": "0xA7918D253764E42d60C3ce2010a34d5a1e7C1398",
                    "heartBeat1": 86400
                }
            ]
        },
        "DEXV2": {
            "dailyInterestRate": 3,
            "feederSource": [
                {
                    "name": "UniswapV2",
                    "factory": "0x71a9d115E322467147391c4a71D85F8e1cA623EF",
                    "router": "0x78e6B135B2A7f63b281C80e2ff639Eed32E2a81b"
                },
                {
                    "name": "Sushi",
                    "factory": "0xB737dD8FC9B304A3520B3bb609CC7532F1425Ad0",
                    "router": "0xDBD6c48913473F648f64d8E9fdDeead1F1734E22"
                },
                {
                    "name": "Kyberswap",
                    "factory": "0xB35D3C9b9f2Fd72FAAb282E8Dd56da31FAA30E3d",
                    "router": "0x536F14E49e1Bb927003E83aDEBF295F3682ff121"
                }
            ]
        },
        "EMG": {
            "dailyInterestRate": 3,
            "feederSource": [
                {
                    "baseSymbol": "BTC",
                    "quoteSymbol": "USDC",
                    "ftype": 2,
                    "aggregator0": "0x0A41804810f008e5EE565aa4B95a6a7c50a09082",
                    "heartBeat0": 3600,
                    "aggregator1": "0x46Ce97D6a4e26b143769c199e13E754B45b3e8E6",
                    "heartBeat1": 86400
                },
                {
                    "baseSymbol": "ETH",
                    "quoteSymbol": "USDC",
                    "ftype": 2,
                    "aggregator0": "0x700A1a868CA4CD1530f877B7B9f0745be63f30b5",
                    "heartBeat0": 3600,
                    "aggregator1": "0x46Ce97D6a4e26b143769c199e13E754B45b3e8E6",
                    "heartBeat1": 86400
                },
                {
                    "baseSymbol": "BTC",
                    "quoteSymbol": "USDT",
                    "ftype": 2,
                    "aggregator0": "0x0A41804810f008e5EE565aa4B95a6a7c50a09082",
                    "heartBeat0": 3600,
                    "aggregator1": "0x9083ADFE1674f031c5d9F243ea779CFA82E47d2a",
                    "heartBeat1": 86400
                },
                {
                    "baseSymbol": "ETH",
                    "quoteSymbol": "USDT",
                    "ftype": 2,
                    "aggregator0": "0x700A1a868CA4CD1530f877B7B9f0745be63f30b5",
                    "heartBeat0": 3600,
                    "aggregator1": "0x9083ADFE1674f031c5d9F243ea779CFA82E47d2a",
                    "heartBeat1": 86400
                }
            ]
        },
        "PYTH": {
            "dailyInterestRate": 3,
            "feederSource": [
                {
                    "baseSymbol": "BTC",
                    "quoteSymbol": "USDC",
                    "ftype": 1,
                    "aggregator0": "0xeB27B4cB7446CE8d77E2fD71d25a7356cF363361",
                    "heartBeat0": 129600,
                    "aggregator1": "0x6fd9a6940a9Dc7574C7377855991ddfFf7F27718",
                    "heartBeat1": 172800
                }
            ]
        }
    },
    "quotesParam": {
        "USDC": {
            "tradingFeeRatio": 30,
            "stabilityFeeRatioParam": "9898356114500",
            "protocolFeeRatio": 10,
            "qtype": 1,
            "minMarginAmount": "10000000000000000000",
            "tip": "1000000000000000000"
        },
        "USDT": {
            "tradingFeeRatio": 30,
            "stabilityFeeRatioParam": "9898356114500",
            "protocolFeeRatio": 10,
            "qtype": 1,
            "minMarginAmount": "10000000000000000000",
            "tip": "1000000000000000000"
        },
        "WETH": {
            "tradingFeeRatio": 30,
            "stabilityFeeRatioParam": "9898356114500",
            "protocolFeeRatio": 10,
            "qtype": 2,
            "minMarginAmount": "1000000000000000000",
            "tip": "100000000000000"
        },
        "WBTC": {
            "tradingFeeRatio": 30,
            "stabilityFeeRatioParam": "9898356114500",
            "protocolFeeRatio": 10,
            "qtype": 2,
            "minMarginAmount": "10000000000000000",
            "tip": "100000000000000"
        }
    },
    "instrumentProxyByteCode": "0x6080604052604051610799380380610799833981016040819052610022916104b9565b80604051806020016040528060008152506100458282600061012460201b60201c565b50506000336001600160a01b0316634fe128d36040518163ffffffff1660e01b8152600401600060405180830381865afa158015610087573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526100af919081019061051c565b905061011c826001600160a01b0316635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156100f2573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061011691906104b9565b826101e5565b505050610617565b61012d83610211565b6040516001600160a01b038416907f1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e90600090a260008251118061016e5750805b156101e0576101de836001600160a01b0316635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101b4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101d891906104b9565b836101e5565b505b505050565b606061020a838360405180606001604052806027815260200161077260279139610395565b9392505050565b6001600160a01b0381163b61027b5760405162461bcd60e51b815260206004820152602560248201527f455243313936373a206e657720626561636f6e206973206e6f74206120636f6e6044820152641d1c9858dd60da1b60648201526084015b60405180910390fd5b6102ef816001600160a01b0316635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102e091906104b9565b6001600160a01b03163b151590565b6103545760405162461bcd60e51b815260206004820152603060248201527f455243313936373a20626561636f6e20696d706c656d656e746174696f6e206960448201526f1cc81b9bdd08184818dbdb9d1c9858dd60821b6064820152608401610272565b7fa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d5080546001600160a01b0319166001600160a01b0392909216919091179055565b6060600080856001600160a01b0316856040516103b291906105c8565b600060405180830381855af49150503d80600081146103ed576040519150601f19603f3d011682016040523d82523d6000602084013e6103f2565b606091505b5090925090506104048683838761040e565b9695505050505050565b6060831561047d578251600003610476576001600160a01b0385163b6104765760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610272565b5081610487565b610487838361048f565b949350505050565b81511561049f5781518083602001fd5b8060405162461bcd60e51b815260040161027291906105e4565b6000602082840312156104cb57600080fd5b81516001600160a01b038116811461020a57600080fd5b634e487b7160e01b600052604160045260246000fd5b60005b838110156105135781810151838201526020016104fb565b50506000910152565b60006020828403121561052e57600080fd5b81516001600160401b038082111561054557600080fd5b818401915084601f83011261055957600080fd5b81518181111561056b5761056b6104e2565b604051601f8201601f19908116603f01168101908382118183101715610593576105936104e2565b816040528281528760208487010111156105ac57600080fd5b6105bd8360208301602088016104f8565b979650505050505050565b600082516105da8184602087016104f8565b9190910192915050565b60208152600082518060208401526106038160408501602087016104f8565b601f01601f19169190910160400192915050565b61014c806106266000396000f3fe60806040523661001357610011610017565b005b6100115b610027610022610029565b6100c2565b565b600061005c7fa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50546001600160a01b031690565b6001600160a01b0316635c60da1b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610099573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906100bd91906100e6565b905090565b3660008037600080366000845af43d6000803e8080156100e1573d6000f35b3d6000fd5b6000602082840312156100f857600080fd5b81516001600160a01b038116811461010f57600080fd5b939250505056fea2646970667358221220197f6b097d44a52479fabf25701b03d286488b2b844775cd235027385c4832ab64736f6c63430008130033416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564"
}
