parent
5a75653969
commit
01b54d2c58
|
@ -0,0 +1,67 @@
|
|||
[
|
||||
{
|
||||
"inputs": [],
|
||||
"name": "InsufficientFee",
|
||||
"type": "error"
|
||||
},
|
||||
{
|
||||
"inputs": [],
|
||||
"name": "InvalidArgument",
|
||||
"type": "error"
|
||||
},
|
||||
{
|
||||
"inputs": [],
|
||||
"name": "InvalidGovernanceDataSource",
|
||||
"type": "error"
|
||||
},
|
||||
{
|
||||
"inputs": [],
|
||||
"name": "InvalidGovernanceMessage",
|
||||
"type": "error"
|
||||
},
|
||||
{
|
||||
"inputs": [],
|
||||
"name": "InvalidGovernanceTarget",
|
||||
"type": "error"
|
||||
},
|
||||
{
|
||||
"inputs": [],
|
||||
"name": "InvalidUpdateData",
|
||||
"type": "error"
|
||||
},
|
||||
{
|
||||
"inputs": [],
|
||||
"name": "InvalidUpdateDataSource",
|
||||
"type": "error"
|
||||
},
|
||||
{
|
||||
"inputs": [],
|
||||
"name": "InvalidWormholeVaa",
|
||||
"type": "error"
|
||||
},
|
||||
{
|
||||
"inputs": [],
|
||||
"name": "NoFreshUpdate",
|
||||
"type": "error"
|
||||
},
|
||||
{
|
||||
"inputs": [],
|
||||
"name": "OldGovernanceMessage",
|
||||
"type": "error"
|
||||
},
|
||||
{
|
||||
"inputs": [],
|
||||
"name": "PriceFeedNotFound",
|
||||
"type": "error"
|
||||
},
|
||||
{
|
||||
"inputs": [],
|
||||
"name": "PriceFeedNotFoundWithinRange",
|
||||
"type": "error"
|
||||
},
|
||||
{
|
||||
"inputs": [],
|
||||
"name": "StalePrice",
|
||||
"type": "error"
|
||||
}
|
||||
]
|
|
@ -2,7 +2,13 @@ const fs = require("fs");
|
|||
const solc = require("solc");
|
||||
|
||||
// Assuming each contract is in the file with the same name.
|
||||
var contracts = ["IPyth", "IPythEvents", "AbstractPyth", "MockPyth"];
|
||||
var contracts = [
|
||||
"IPyth",
|
||||
"IPythEvents",
|
||||
"AbstractPyth",
|
||||
"MockPyth",
|
||||
"PythErrors",
|
||||
];
|
||||
|
||||
var sources = {};
|
||||
var outputSelection = {};
|
||||
|
|
Loading…
Reference in New Issue