{ "_format": "hh-sol-artifact-1", "contractName": "MockPriceOracle", "sourceName": "contracts/mocks/MockPriceOracle.sol", "abi": [ { "inputs": [ { "internalType": "address", "name": "token", "type": "address" } ], "name": "getLatestPrice", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "prices", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "price", "type": "uint256" } ], "name": "setDefaultPrice", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "token", "type": "address" }, { "internalType": "uint256", "name": "price", "type": "uint256" } ], "name": "setPrice", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ], "bytecode": "0x6080604052670de0b6b3a764000060015534801561001c57600080fd5b506101b48061002c6000396000f3fe608060405234801561001057600080fd5b506004361061004b5760003560e01c8062e4768b1461005057806316345f181461007c5780636d3c7ec5146100a1578063cfed246b146100b4575b600080fd5b61007a61005e366004610120565b6001600160a01b03909116600090815260208190526040902055565b005b61008f61008a36600461014a565b6100d4565b60405190815260200160405180910390f35b61007a6100af366004610165565b600155565b61008f6100c236600461014a565b60006020819052908152604090205481565b6001600160a01b03811660009081526020819052604081205480156100f957806100fd565b6001545b9392505050565b80356001600160a01b038116811461011b57600080fd5b919050565b6000806040838503121561013357600080fd5b61013c83610104565b946020939093013593505050565b60006020828403121561015c57600080fd5b6100fd82610104565b60006020828403121561017757600080fd5b503591905056fea264697066735822122074810bcef461428127255ceb8f644802bcf66b40377053eac3f253dfc5be0e8064736f6c63430008140033", "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061004b5760003560e01c8062e4768b1461005057806316345f181461007c5780636d3c7ec5146100a1578063cfed246b146100b4575b600080fd5b61007a61005e366004610120565b6001600160a01b03909116600090815260208190526040902055565b005b61008f61008a36600461014a565b6100d4565b60405190815260200160405180910390f35b61007a6100af366004610165565b600155565b61008f6100c236600461014a565b60006020819052908152604090205481565b6001600160a01b03811660009081526020819052604081205480156100f957806100fd565b6001545b9392505050565b80356001600160a01b038116811461011b57600080fd5b919050565b6000806040838503121561013357600080fd5b61013c83610104565b946020939093013593505050565b60006020828403121561015c57600080fd5b6100fd82610104565b60006020828403121561017757600080fd5b503591905056fea264697066735822122074810bcef461428127255ceb8f644802bcf66b40377053eac3f253dfc5be0e8064736f6c63430008140033", "linkReferences": {}, "deployedLinkReferences": {} }