test-contracts-sovryn
Version:
Smart contracts for the Sovryn protocol and external integrations.
92 lines (91 loc) • 3.31 kB
JSON
{
"_format": "hh-sol-artifact-1",
"contractName": "PriceFeedsMoCMockup",
"sourceName": "contracts/mockup/PriceFeedsMoCMockup.sol",
"abi": [
{
"constant": true,
"inputs": [],
"name": "has",
"outputs": [
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "peek",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
},
{
"internalType": "bool",
"name": "",
"type": "bool"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"internalType": "bool",
"name": "_has",
"type": "bool"
}
],
"name": "setHas",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": false,
"inputs": [
{
"internalType": "uint256",
"name": "_value",
"type": "uint256"
}
],
"name": "setValue",
"outputs": [],
"payable": false,
"stateMutability": "nonpayable",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "value",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
}
],
"bytecode": "0x608060405234801561001057600080fd5b5061015a806100206000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c80633fa4f2451461005c578063552410771461007657806359e02dd71461009557806361da0693146100b6578063b689d5ac146100d5575b600080fd5b6100646100f1565b60408051918252519081900360200190f35b6100936004803603602081101561008c57600080fd5b50356100f7565b005b61009d6100fc565b6040805192835290151560208301528051918290030190f35b610093600480360360208110156100cc57600080fd5b50351515610109565b6100dd61011c565b604080519115158252519081900360200190f35b60005481565b600055565b60005460015460ff169091565b6001805460ff1916911515919091179055565b60015460ff168156fea265627a7a723158205868f132d6f8e84f91bb7e66423a90ea7b92cc41db5d41258ccd44224194de4364736f6c63430005110032",
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100575760003560e01c80633fa4f2451461005c578063552410771461007657806359e02dd71461009557806361da0693146100b6578063b689d5ac146100d5575b600080fd5b6100646100f1565b60408051918252519081900360200190f35b6100936004803603602081101561008c57600080fd5b50356100f7565b005b61009d6100fc565b6040805192835290151560208301528051918290030190f35b610093600480360360208110156100cc57600080fd5b50351515610109565b6100dd61011c565b604080519115158252519081900360200190f35b60005481565b600055565b60005460015460ff169091565b6001805460ff1916911515919091179055565b60015460ff168156fea265627a7a723158205868f132d6f8e84f91bb7e66423a90ea7b92cc41db5d41258ccd44224194de4364736f6c63430005110032",
"linkReferences": {},
"deployedLinkReferences": {}
}