UNPKG

6.63 kBJSONView Raw
1{
2 "_format": "hh-sol-artifact-1",
3 "contractName": "StablecoinPriceFeed",
4 "sourceName": "contracts/oracles/StablecoinPriceFeed.sol",
5 "abi": [
6 {
7 "inputs": [
8 {
9 "internalType": "int256",
10 "name": "price_",
11 "type": "int256"
12 },
13 {
14 "internalType": "string",
15 "name": "description_",
16 "type": "string"
17 }
18 ],
19 "stateMutability": "nonpayable",
20 "type": "constructor"
21 },
22 {
23 "inputs": [],
24 "name": "decimals",
25 "outputs": [
26 {
27 "internalType": "uint8",
28 "name": "",
29 "type": "uint8"
30 }
31 ],
32 "stateMutability": "pure",
33 "type": "function"
34 },
35 {
36 "inputs": [],
37 "name": "description",
38 "outputs": [
39 {
40 "internalType": "string",
41 "name": "",
42 "type": "string"
43 }
44 ],
45 "stateMutability": "view",
46 "type": "function"
47 },
48 {
49 "inputs": [
50 {
51 "internalType": "uint80",
52 "name": "roundId_",
53 "type": "uint80"
54 }
55 ],
56 "name": "getRoundData",
57 "outputs": [
58 {
59 "internalType": "uint80",
60 "name": "roundId",
61 "type": "uint80"
62 },
63 {
64 "internalType": "int256",
65 "name": "answer",
66 "type": "int256"
67 },
68 {
69 "internalType": "uint256",
70 "name": "startedAt",
71 "type": "uint256"
72 },
73 {
74 "internalType": "uint256",
75 "name": "updatedAt",
76 "type": "uint256"
77 },
78 {
79 "internalType": "uint80",
80 "name": "answeredInRound",
81 "type": "uint80"
82 }
83 ],
84 "stateMutability": "view",
85 "type": "function"
86 },
87 {
88 "inputs": [],
89 "name": "latestRoundData",
90 "outputs": [
91 {
92 "internalType": "uint80",
93 "name": "roundId",
94 "type": "uint80"
95 },
96 {
97 "internalType": "int256",
98 "name": "answer",
99 "type": "int256"
100 },
101 {
102 "internalType": "uint256",
103 "name": "startedAt",
104 "type": "uint256"
105 },
106 {
107 "internalType": "uint256",
108 "name": "updatedAt",
109 "type": "uint256"
110 },
111 {
112 "internalType": "uint80",
113 "name": "answeredInRound",
114 "type": "uint80"
115 }
116 ],
117 "stateMutability": "view",
118 "type": "function"
119 },
120 {
121 "inputs": [],
122 "name": "version",
123 "outputs": [
124 {
125 "internalType": "uint256",
126 "name": "",
127 "type": "uint256"
128 }
129 ],
130 "stateMutability": "pure",
131 "type": "function"
132 }
133 ],
134 "bytecode": "0x60a060405234801561001057600080fd5b506040516104843803806104848339818101604052604081101561003357600080fd5b81516020830180516040519294929383019291908464010000000082111561005a57600080fd5b90830190602082018581111561006f57600080fd5b825164010000000081118282018810171561008957600080fd5b82525081516020918201929091019080838360005b838110156100b657818101518382015260200161009e565b50505050905090810190601f1680156100e35780820380516001836020036101000a031916815260200191505b506040525050506080829052805161010290600090602084019061010a565b5050506101ab565b828054600181600116156101000203166002900490600052602060002090601f0160209004810192826101405760008555610186565b82601f1061015957805160ff1916838001178555610186565b82800160010185558215610186579182015b8281111561018657825182559160200191906001019061016b565b50610192929150610196565b5090565b5b808211156101925760008155600101610197565b6080516102ba6101ca6000398061022f528061025c52506102ba6000f3fe608060405234801561001057600080fd5b50600436106100575760003560e01c8063313ce5671461005c57806354fd4d501461007a5780637284e416146100945780639a6fc8f514610111578063feaf968c14610184575b600080fd5b61006461018c565b6040805160ff9092168252519081900360200190f35b610082610191565b60408051918252519081900360200190f35b61009c610196565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100d65781810151838201526020016100be565b50505050905090810190601f1680156101035780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61013a6004803603602081101561012757600080fd5b503569ffffffffffffffffffff1661022c565b604051808669ffffffffffffffffffff1681526020018581526020018481526020018381526020018269ffffffffffffffffffff1681526020019550505050505060405180910390f35b61013a610258565b600890565b600190565b60008054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156102225780601f106101f757610100808354040283529160200191610222565b820191906000526020600020905b81548152906001019060200180831161020557829003601f168201915b5050505050905090565b907f00000000000000000000000000000000000000000000000000000000000000009060009081908190565b60007f00000000000000000000000000000000000000000000000000000000000000008180809192939456fea264697066735822122025c5acfe07f37a783951610481d9eb7c5e2b4ea32d7bcaacc55935900d587f8d64736f6c63430007060033",
135 "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100575760003560e01c8063313ce5671461005c57806354fd4d501461007a5780637284e416146100945780639a6fc8f514610111578063feaf968c14610184575b600080fd5b61006461018c565b6040805160ff9092168252519081900360200190f35b610082610191565b60408051918252519081900360200190f35b61009c610196565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100d65781810151838201526020016100be565b50505050905090810190601f1680156101035780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61013a6004803603602081101561012757600080fd5b503569ffffffffffffffffffff1661022c565b604051808669ffffffffffffffffffff1681526020018581526020018481526020018381526020018269ffffffffffffffffffff1681526020019550505050505060405180910390f35b61013a610258565b600890565b600190565b60008054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156102225780601f106101f757610100808354040283529160200191610222565b820191906000526020600020905b81548152906001019060200180831161020557829003601f168201915b5050505050905090565b907f00000000000000000000000000000000000000000000000000000000000000009060009081908190565b60007f00000000000000000000000000000000000000000000000000000000000000008180809192939456fea264697066735822122025c5acfe07f37a783951610481d9eb7c5e2b4ea32d7bcaacc55935900d587f8d64736f6c63430007060033",
136 "linkReferences": {},
137 "deployedLinkReferences": {}
138}