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": "PriceFeedRSKOracleMockup",
"sourceName": "contracts/mockup/PriceFeedRSKOracleMockup.sol",
"abi": [
{
"constant": true,
"inputs": [],
"name": "getPricing",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"payable": false,
"stateMutability": "view",
"type": "function"
},
{
"constant": true,
"inputs": [],
"name": "has",
"outputs": [
{
"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": "0x608060405234801561001057600080fd5b50610155806100206000396000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c806338b4e3381461005c5780633fa4f2451461007d578063552410771461009757806361da0693146100b6578063b689d5ac146100d5575b600080fd5b6100646100f1565b6040805192835260208301919091528051918290030190f35b6100856100f9565b60408051918252519081900360200190f35b6100b4600480360360208110156100ad57600080fd5b50356100ff565b005b6100b4600480360360208110156100cc57600080fd5b50351515610104565b6100dd610117565b604080519115158252519081900360200190f35b600054429091565b60005481565b600055565b6001805460ff1916911515919091179055565b60015460ff168156fea265627a7a72315820337ae32f27c3b0fbd139340606e1a958072de19353c65db7ecde6bc981822d7664736f6c63430005110032",
"deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100575760003560e01c806338b4e3381461005c5780633fa4f2451461007d578063552410771461009757806361da0693146100b6578063b689d5ac146100d5575b600080fd5b6100646100f1565b6040805192835260208301919091528051918290030190f35b6100856100f9565b60408051918252519081900360200190f35b6100b4600480360360208110156100ad57600080fd5b50356100ff565b005b6100b4600480360360208110156100cc57600080fd5b50351515610104565b6100dd610117565b604080519115158252519081900360200190f35b600054429091565b60005481565b600055565b6001805460ff1916911515919091179055565b60015460ff168156fea265627a7a72315820337ae32f27c3b0fbd139340606e1a958072de19353c65db7ecde6bc981822d7664736f6c63430005110032",
"linkReferences": {},
"deployedLinkReferences": {}
}