[ { "inputs": [ { "components": [ { "internalType": "address", "name": "governance", "type": "address" }, { "internalType": "address", "name": "views", "type": "address" }, { "internalType": "address", "name": "initializeMarket", "type": "address" }, { "internalType": "address", "name": "nTokenActions", "type": "address" }, { "internalType": "address", "name": "batchAction", "type": "address" }, { "internalType": "address", "name": "accountAction", "type": "address" }, { "internalType": "address", "name": "erc1155", "type": "address" }, { "internalType": "address", "name": "liquidateCurrency", "type": "address" }, { "internalType": "address", "name": "liquidatefCash", "type": "address" }, { "internalType": "address", "name": "treasury", "type": "address" }, { "internalType": "address", "name": "calculationViews", "type": "address" }, { "internalType": "address", "name": "vaultAccountAction", "type": "address" }, { "internalType": "address", "name": "vaultAction", "type": "address" }, { "internalType": "address", "name": "vaultLiquidationAction", "type": "address" }, { "internalType": "address", "name": "vaultAccountHealth", "type": "address" } ], "internalType": "struct IRouter.DeployedContracts", "name": "contracts", "type": "tuple" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "stateMutability": "payable", "type": "fallback" }, { "inputs": [], "name": "ACCOUNT_ACTION", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "BATCH_ACTION", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "CALCULATION_VIEWS", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "ERC1155", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "GOVERNANCE", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "INITIALIZE_MARKET", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "LIQUIDATE_CURRENCY", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "LIQUIDATE_FCASH", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "NTOKEN_ACTIONS", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "TREASURY", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "VAULT_ACCOUNT_ACTION", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "VAULT_ACCOUNT_HEALTH", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "VAULT_ACTION", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "VAULT_LIQUIDATION_ACTION", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "VIEWS", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes4", "name": "sig", "type": "bytes4" } ], "name": "getRouterImplementation", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner_", "type": "address" }, { "internalType": "address", "name": "pauseRouter_", "type": "address" }, { "internalType": "address", "name": "pauseGuardian_", "type": "address" } ], "name": "initialize", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "pauseGuardian", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "pauseRouter", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "stateMutability": "payable", "type": "receive" } ]
6102806040523480156200001257600080fd5b5060405162001a4038038062001a408339810160408190526200003591620001bd565b6200003f62000131565b80516001600160601b0319606091821b811660809081526020840151831b821660a09081526040850151841b831660c090815284860151851b841660e090815292860151851b841661010090815291860151851b841661012090815290860151851b841661014090815292860151851b841661016090815291860151851b841661018090815290860151851b84166101a090815292860151851b84166101c090815291860151851b84166101e052850151841b83166102005290840151831b82166102205290920151811b9091166102405233901b610260526000805463ff000000191663010000001790556200036c565b46600181148062000143575061053981145b156200015e5762000158565b60405180910390fd5b6200019d565b61a4b1811415620001835760405162461bcd60e51b81526004016200014f9062000303565b60405162461bcd60e51b81526004016200014f9062000321565b50565b80516001600160a01b0381168114620001b857600080fd5b919050565b60006101e0808385031215620001d1578182fd5b620001dc8162000348565b9050620001e983620001a0565b8152620001f960208401620001a0565b60208201526200020c60408401620001a0565b60408201526200021f60608401620001a0565b60608201526200023260808401620001a0565b60808201526200024560a08401620001a0565b60a08201526200025860c08401620001a0565b60c08201526200026b60e08401620001a0565b60e082015261010062000280818501620001a0565b9082015261012062000294848201620001a0565b90820152610140620002a8848201620001a0565b90820152610160620002bc848201620001a0565b90820152610180620002d0848201620001a0565b908201526101a0620002e4848201620001a0565b908201526101c0620002f8848201620001a0565b908201529392505050565b6020808252600490820152634e4f544560e01b604082015260600190565b6020808252600d908201526c24b73b30b634b21021b430b4b760991b604082015260600190565b6040518181016001600160401b03811182821017156200036457fe5b604052919050565b60805160601c60a05160601c60c05160601c60e05160601c6101005160601c6101205160601c6101405160601c6101605160601c6101805160601c6101a05160601c6101c05160601c6101e05160601c6102005160601c6102205160601c6102405160601c6102605160601c6115ab62000495600039806113ef5250806104f15280611354525080610ab1528061139e525080610bae528061149352508061058252806113c252508061116b5280611330525080610f7c52806112c4525080610a3b52806112495250806109aa528061127c5250806107b052806112a052508061066352806112e8525080610388528061130c5250806109195280611225525080610bee52806114b752508061119252806111dd525080610e14528061120152506115ab6000f3fe6080604052600436106101235760003560e01c806372d27134116100a0578063a317bdfa11610064578063a317bdfa146102a5578063ba6b7fc2146102ba578063c0c53b8b146102cf578063d8e310a4146102ef578063dcc1a738146103045761012a565b806372d271341461023157806376e1df481461024657806380aafd3914610266578063824633671461027b5780638da5cb5b146102905761012a565b80632be75895116100e75780632be75895146101c85780632d255471146101dd5780632d2c5565146101f25780636009b8e6146102075780636d7cdbbf1461021c5761012a565b80630c4e793514610149578063146278341461017457806315beeb9314610189578063206109b51461019e57806324a3d622146101b35761012a565b3661012a57005b6101476101426000356001600160e01b031916610319565b6111b7565b005b34801561015557600080fd5b5061015e6111db565b60405161016b9190611561565b60405180910390f35b34801561018057600080fd5b5061015e6111ff565b34801561019557600080fd5b5061015e611223565b3480156101aa57600080fd5b5061015e611247565b3480156101bf57600080fd5b5061015e61126b565b3480156101d457600080fd5b5061015e61127a565b3480156101e957600080fd5b5061015e61129e565b3480156101fe57600080fd5b5061015e6112c2565b34801561021357600080fd5b5061015e6112e6565b34801561022857600080fd5b5061015e61130a565b34801561023d57600080fd5b5061015e61132e565b34801561025257600080fd5b5061015e610261366004611532565b610319565b34801561027257600080fd5b5061015e611352565b34801561028757600080fd5b5061015e611376565b34801561029c57600080fd5b5061015e611385565b3480156102b157600080fd5b5061015e61139c565b3480156102c657600080fd5b5061015e6113c0565b3480156102db57600080fd5b506101476102ea3660046114f0565b6113e4565b3480156102fb57600080fd5b5061015e611491565b34801561031057600080fd5b5061015e6114b5565b60006001600160e01b03198216633735195360e11b148061034a57506001600160e01b03198216630276b64b60e01b145b8061036557506001600160e01b03198216635950d8e960e01b145b8061038057506001600160e01b03198216630541f52760e41b145b156103ac57507f00000000000000000000000000000000000000000000000000000000000000006111b2565b6001600160e01b0319821663b14428b960e01b14806103db57506001600160e01b03198216630c74db1f60e41b145b806103f657506001600160e01b031982166306e5e69960e01b145b8061041157506001600160e01b031982166304a7a34160e41b145b8061042c57506001600160e01b0319821663c025d1a560e01b145b8061044757506001600160e01b031982166321d9f6a560e21b145b8061046257506001600160e01b0319821663de1eb9a360e01b145b8061047d57506001600160e01b031982166333a8abbb60e11b145b8061049857506001600160e01b031982166328536d5f60e21b145b806104b357506001600160e01b03198216635f91ee3160e11b145b806104ce57506001600160e01b0319821663f82f279d60e01b145b806104e957506001600160e01b03198216633157228160e01b145b1561051557507f00000000000000000000000000000000000000000000000000000000000000006111b2565b6001600160e01b03198216634ae0d10160e11b148061054457506001600160e01b0319821663194ed84160e21b145b8061055f57506001600160e01b03198216636ce48f0160e01b145b8061057a57506001600160e01b03198216631dd8a22160e31b145b156105a657507f00000000000000000000000000000000000000000000000000000000000000006111b2565b6001600160e01b03198216632890fb6560e01b14806105d457506001600160e01b03198216625e665d60e31b145b806105ef57506001600160e01b0319821663912e33c760e01b145b8061060a57506001600160e01b0319821663f667f89760e01b145b8061062557506001600160e01b031982166356a273dd60e01b145b8061064057506001600160e01b031982166309c9794560e41b145b8061065b57506001600160e01b03198216631874358760e21b145b1561068757507f00000000000000000000000000000000000000000000000000000000000000006111b2565b6001600160e01b031982166301ffc9a760e01b14806106b557506001600160e01b03198216627eeac760e11b145b806106d057506001600160e01b031982166313849cfd60e21b145b806106eb57506001600160e01b03198216630fac8f0960e01b145b8061070657506001600160e01b031982166381a8685560e01b145b8061072157506001600160e01b03198216637921219560e11b145b8061073c57506001600160e01b03198216631759616b60e11b145b8061075757506001600160e01b031982166307f4d70160e31b145b8061077257506001600160e01b03198216630e6b43b960e31b145b8061078d57506001600160e01b0319821663a22cb46560e01b145b806107a857506001600160e01b0319821663e985e9c560e01b145b156107d457507f00000000000000000000000000000000000000000000000000000000000000006111b2565b6001600160e01b03198216636a96e86f60e01b148061080357506001600160e01b0319821663a78dbfff60e01b145b8061081e57506001600160e01b03198216637db31ab960e01b145b8061083957506001600160e01b0319821663184e005360e11b145b8061085457506001600160e01b031982166318ae40d760e01b145b8061086f57506001600160e01b03198216634425384960e11b145b8061088a57506001600160e01b031982166305c1d97560e31b145b806108a557506001600160e01b03198216636d6503d360e11b145b806108c057506001600160e01b03198216634107597160e01b145b806108db57506001600160e01b0319821663ca2cc36160e01b145b806108f657506001600160e01b03198216631f1cd70760e21b145b8061091157506001600160e01b031982166372b88b2760e11b145b1561093d57507f00000000000000000000000000000000000000000000000000000000000000006111b2565b6001600160e01b03198216632d10e6eb60e01b148061096c57506001600160e01b03198216636633af3960e01b145b8061098757506001600160e01b0319821663e3e7cb4f60e01b145b806109a257506001600160e01b03198216639a600eeb60e01b145b156109ce57507f00000000000000000000000000000000000000000000000000000000000000006111b2565b6001600160e01b03198216631ff7aefd60e21b14806109fd57506001600160e01b0319821663e816469d60e01b145b80610a1857506001600160e01b03198216630fb281d960e01b145b80610a3357506001600160e01b0319821663fa37e39560e01b145b15610a5f57507f00000000000000000000000000000000000000000000000000000000000000006111b2565b6001600160e01b0319821663fcaf198b60e01b1480610a8e57506001600160e01b03198216634d5bb8c360e11b145b80610aa957506001600160e01b031982166310dfc63360e11b145b15610ad557507f00000000000000000000000000000000000000000000000000000000000000006111b2565b6001600160e01b03198216631a69b47360e21b1480610b0457506001600160e01b031982166315bd0a3160e21b145b80610b1f57506001600160e01b031982166354cceaf760e01b145b80610b3a57506001600160e01b03198216635b389c5560e11b145b80610b5557506001600160e01b0319821663291afdf360e01b145b80610b7057506001600160e01b031982166302f0233760e21b145b80610b8b57506001600160e01b03198216631a599a4b60e21b145b80610ba657506001600160e01b03198216634140f63560e11b145b15610bd257507f00000000000000000000000000000000000000000000000000000000000000006111b2565b6001600160e01b03198216630343819360e61b1415610c1257507f00000000000000000000000000000000000000000000000000000000000000006111b2565b6001600160e01b03198216634e62cf3d60e01b1480610c4157506001600160e01b03198216635b9cf66f60e11b145b80610c5c57506001600160e01b0319821663090b917b60e01b145b80610c7757506001600160e01b0319821663744ec0ef60e01b145b80610c9257506001600160e01b031982166303531a0960e41b145b80610cad57506001600160e01b03198216634fc24b0560e11b145b80610cc857506001600160e01b03198216630afe1c7d60e31b145b80610ce357506001600160e01b0319821663039f7cd760e41b145b80610cfe57506001600160e01b0319821663315cb2b960e21b145b80610d1957506001600160e01b03198216632c90b94d60e21b145b80610d3457506001600160e01b031982166309ce3c1960e31b145b80610d4f57506001600160e01b0319821663e1d548e760e01b145b80610d6a57506001600160e01b031982166333eabd1d60e21b145b80610d8557506001600160e01b0319821663413f2c5f60e01b145b80610da057506001600160e01b031982166311472fbd60e01b145b80610dbb57506001600160e01b0319821663fa17b5f160e01b145b80610dd657506001600160e01b031982166313eabebd60e01b145b80610df157506001600160e01b03198216631b2ce7f360e11b145b80610e0c57506001600160e01b0319821663278f794360e11b145b15610e3857507f00000000000000000000000000000000000000000000000000000000000000006111b2565b6001600160e01b031982166354ebde2960e11b1480610e6757506001600160e01b03198216636d7a00eb60e01b145b80610e8257506001600160e01b03198216637f23d4f960e11b145b80610e9d57506001600160e01b03198216637090f00560e01b145b80610eb857506001600160e01b0319821663239cec8f60e21b145b80610ed357506001600160e01b031982166312adc47b60e01b145b80610eee57506001600160e01b0319821663f5edb9d560e01b145b80610f0957506001600160e01b031982166354f7dd1960e11b145b80610f2357506001600160e01b0319821662e2bd7760e21b145b80610f3e57506001600160e01b03198216633a1e429760e01b145b80610f5957506001600160e01b0319821663a56c077f60e01b145b80610f7457506001600160e01b0319821663198d1a9760e21b145b15610fa057507f00000000000000000000000000000000000000000000000000000000000000006111b2565b6001600160e01b03198216636a09a2a360e01b1480610fcf57506001600160e01b03198216631a05bce160e01b145b80610fea57506001600160e01b03198216633b2987b360e01b145b8061100557506001600160e01b03198216631b5231e560e21b145b8061102057506001600160e01b03198216638355e89560e01b145b8061103b57506001600160e01b0319821663094614df60e01b145b8061105657506001600160e01b03198216634beb6d9760e11b145b8061107157506001600160e01b0319821663c52c43e160e01b145b8061108c57506001600160e01b03198216635953c77b60e01b145b806110a757506001600160e01b03198216631f0750c160e31b145b806110c257506001600160e01b0319821663bac9e8b160e01b145b806110dd57506001600160e01b0319821663aaae47b560e01b145b806110f857506001600160e01b0319821663416a158760e01b145b8061111357506001600160e01b03198216631baefc5d60e21b145b8061112d57506001600160e01b03198216621d692960e71b145b8061114857506001600160e01b0319821663f11ff57360e01b145b8061116357506001600160e01b03198216633142984d60e21b145b1561118f57507f00000000000000000000000000000000000000000000000000000000000000006111b2565b507f00000000000000000000000000000000000000000000000000000000000000005b919050565b3660008037600080366000845af43d6000803e8080156111d6573d6000f35b3d6000fd5b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b6002546001600160a01b031681565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b6001546001600160a01b031681565b60005464010000000090046001600160a01b031681565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561142657506000546301000000900460ff16155b61142f57600080fd5b60008054600180546001600160a01b039586166001600160a01b03199182161790915560028054948616949091169390931790925563ff000000199290931664010000000002640100000000600160c01b031990911617166301000000179055565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b80356001600160a01b03811681146111b257600080fd5b600080600060608486031215611504578283fd5b61150d846114d9565b925061151b602085016114d9565b9150611529604085016114d9565b90509250925092565b600060208284031215611543578081fd5b81356001600160e01b03198116811461155a578182fd5b9392505050565b6001600160a01b039190911681526020019056fea2646970667358221220613c3700ca60c0cc6f39344e7b36b716b6847ea7c5657526ae7278b14b72507764736f6c63430007060033000000000000000000000000514f9563ace90bde2f0f00091208236e1864690f00000000000000000000000054bb219281fe0eef1483bc4421e6502fe1e30a970000000000000000000000006a351699bec7966cdd3ba2bb47b5fc89f626881f0000000000000000000000003533f05b2c54ce1c2321cfe3c6f693a3cbbaea100000000000000000000000003b8b09e679fd545d5b8ab1f03221497e8c0708af000000000000000000000000922e6e0b80ee037b32266bca33713b2043bc87d000000000000000000000000051888550902159f2eb7c43b8589dbe975379aa100000000000000000000000000ff45fd2ad282b7e6e29dc10dbe6b3fc907284b0000000000000000000000000f38a93ee78912b10ff722d187554406b0416a8000000000000000000000000003965d75bfe40435246c22f75db2e170210b8bc68000000000000000000000000c6f5ba780b78db117233d5f76da9e2032a312a9e000000000000000000000000f8b25da34367e5fe6d9cd03d1ecfd227ee06021a00000000000000000000000067e5f0db833e7e4f000a768d1eb7a8e87b31aa7500000000000000000000000049d0e97ba2f4cf0e5e4f86c0d9c5c8acbacff50c0000000000000000000000007d764650690e60a7a6647f2d12708f8434b87052