Skip to content

Commit

Permalink
Update 10-main (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
synthetixio-team authored Sep 1, 2024
1 parent a102fdc commit 4ca881d
Show file tree
Hide file tree
Showing 7 changed files with 1,496 additions and 976 deletions.
29 changes: 28 additions & 1 deletion 10-main/AllErrors.json
Original file line number Diff line number Diff line change
Expand Up @@ -784,6 +784,20 @@
}
]
},
{
"type": "error",
"name": "OracleDataRequired",
"inputs": [
{
"type": "address",
"name": "oracleContract"
},
{
"type": "bytes",
"name": "oracleQuery"
}
]
},
{
"type": "error",
"name": "OverflowInt56ToInt24",
Expand All @@ -802,7 +816,20 @@
{
"type": "error",
"name": "StalenessToleranceExceeded",
"inputs": []
"inputs": [
{
"type": "bytes32",
"name": "parentId"
},
{
"type": "int256",
"name": "price"
},
{
"type": "uint256",
"name": "staleTimestamp"
}
]
},
{
"type": "error",
Expand Down
3 changes: 2 additions & 1 deletion 10-main/AllErrors.readable.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,11 @@
"error InvalidNodeDefinition(tuple(uint8 nodeType, bytes parameters, bytes32[] parents) nodeType)",
"error InvalidPrice(int256 price)",
"error NodeNotRegistered(bytes32 nodeId)",
"error OracleDataRequired(address oracleContract, bytes oracleQuery)",
"error OverflowInt56ToInt24()",
"error OverflowUint256ToUint160()",
"error OverflowUint56ToInt56()",
"error StalenessToleranceExceeded()",
"error StalenessToleranceExceeded(bytes32 parentId, int256 price, uint256 staleTimestamp)",
"error UnprocessableNode(bytes32 nodeId)",
"error UnsupportedOperation(uint8 operation)",
"error AddressInsufficientBalance(address account)",
Expand Down
29 changes: 28 additions & 1 deletion 10-main/OracleManagerProxy.json
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,20 @@
}
]
},
{
"type": "error",
"name": "OracleDataRequired",
"inputs": [
{
"type": "address",
"name": "oracleContract"
},
{
"type": "bytes",
"name": "oracleQuery"
}
]
},
{
"type": "error",
"name": "OverflowInt256ToUint256",
Expand Down Expand Up @@ -291,7 +305,20 @@
{
"type": "error",
"name": "StalenessToleranceExceeded",
"inputs": []
"inputs": [
{
"type": "bytes32",
"name": "parentId"
},
{
"type": "int256",
"name": "price"
},
{
"type": "uint256",
"name": "staleTimestamp"
}
]
},
{
"type": "error",
Expand Down
3 changes: 2 additions & 1 deletion 10-main/OracleManagerProxy.readable.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,13 @@
"error InvalidParameter(string parameter, string reason)",
"error InvalidPrice(int256 price)",
"error NodeNotRegistered(bytes32 nodeId)",
"error OracleDataRequired(address oracleContract, bytes oracleQuery)",
"error OverflowInt256ToUint256()",
"error OverflowInt56ToInt24()",
"error OverflowUint256ToInt256()",
"error OverflowUint256ToUint160()",
"error OverflowUint56ToInt56()",
"error StalenessToleranceExceeded()",
"error StalenessToleranceExceeded(bytes32 parentId, int256 price, uint256 staleTimestamp)",
"error UnprocessableNode(bytes32 nodeId)",
"error UnsupportedOperation(uint8 operation)",
"event NodeRegistered(bytes32 nodeId, uint8 nodeType, bytes parameters, bytes32[] parents)",
Expand Down
Loading

0 comments on commit 4ca881d

Please sign in to comment.