Skip to content

Commit

Permalink
Update 10-main (#195)
Browse files Browse the repository at this point in the history
  • Loading branch information
synthetixio-team authored Aug 30, 2024
1 parent 37f5edf commit 4bbf687
Show file tree
Hide file tree
Showing 12 changed files with 37,114 additions and 2,275 deletions.
175 changes: 114 additions & 61 deletions 10-main/AllErrors.json
Original file line number Diff line number Diff line change
Expand Up @@ -536,24 +536,6 @@
}
]
},
{
"type": "error",
"name": "DeniedMulticallTarget",
"inputs": [
{
"type": "address"
}
]
},
{
"type": "error",
"name": "RecursiveMulticall",
"inputs": [
{
"type": "address"
}
]
},
{
"type": "error",
"name": "CapacityLocked",
Expand Down Expand Up @@ -603,11 +585,6 @@
"name": "OverflowUint64ToInt64",
"inputs": []
},
{
"type": "error",
"name": "RewardDistributorNotFound",
"inputs": []
},
{
"type": "error",
"name": "RewardUnavailable",
Expand Down Expand Up @@ -847,6 +824,102 @@
}
]
},
{
"type": "error",
"name": "AddressInsufficientBalance",
"inputs": [
{
"type": "address",
"name": "account"
}
]
},
{
"type": "error",
"name": "ERC2771ForwarderExpiredRequest",
"inputs": [
{
"type": "uint48",
"name": "deadline"
}
]
},
{
"type": "error",
"name": "ERC2771ForwarderInvalidSigner",
"inputs": [
{
"type": "address",
"name": "signer"
},
{
"type": "address",
"name": "from"
}
]
},
{
"type": "error",
"name": "ERC2771ForwarderMismatchedValue",
"inputs": [
{
"type": "uint256",
"name": "requestedValue"
},
{
"type": "uint256",
"name": "msgValue"
}
]
},
{
"type": "error",
"name": "ERC2771UntrustfulTarget",
"inputs": [
{
"type": "address",
"name": "target"
},
{
"type": "address",
"name": "forwarder"
}
]
},
{
"type": "error",
"name": "FailedInnerCall",
"inputs": []
},
{
"type": "error",
"name": "InvalidAccountNonce",
"inputs": [
{
"type": "address",
"name": "account"
},
{
"type": "uint256",
"name": "currentNonce"
}
]
},
{
"type": "error",
"name": "InvalidShortString",
"inputs": []
},
{
"type": "error",
"name": "StringTooLong",
"inputs": [
{
"type": "string",
"name": "str"
}
]
},
{
"type": "error",
"name": "InvalidMarketOwner",
Expand All @@ -862,6 +935,16 @@
}
]
},
{
"type": "error",
"name": "InvalidTransactionTypeIndex",
"inputs": [
{
"type": "uint128",
"name": "txnType"
}
]
},
{
"type": "error",
"name": "OnlyMarketOwner",
Expand Down Expand Up @@ -1048,32 +1131,6 @@
}
]
},
{
"type": "error",
"name": "OffchainLookup",
"inputs": [
{
"type": "address",
"name": "sender"
},
{
"type": "string[]",
"name": "urls"
},
{
"type": "bytes",
"name": "callData"
},
{
"type": "bytes4",
"name": "callbackFunction"
},
{
"type": "bytes",
"name": "extraData"
}
]
},
{
"type": "error",
"name": "OutsideSettlementWindow",
Expand All @@ -1094,25 +1151,21 @@
},
{
"type": "error",
"name": "PriceDeviationToleranceExceeded",
"name": "SettlementStrategyNotFound",
"inputs": [
{
"type": "uint256",
"name": "deviation"
},
{
"type": "uint256",
"name": "tolerance"
"type": "uint8",
"name": "strategyType"
}
]
},
{
"type": "error",
"name": "SettlementStrategyNotFound",
"name": "InvalidSettlementWindowDuration",
"inputs": [
{
"type": "uint8",
"name": "strategyType"
"type": "uint256",
"name": "duration"
}
]
},
Expand All @@ -1121,8 +1174,8 @@
"name": "InvalidCollateralType",
"inputs": [
{
"type": "bytes32",
"name": "message"
"type": "address",
"name": "configuredCollateralType"
}
]
},
Expand Down
18 changes: 12 additions & 6 deletions 10-main/AllErrors.readable.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,12 @@
"error InsufficientMarketCollateralWithdrawable(uint128 marketId, address collateralType, uint256 tokenAmountToWithdraw)",
"error IncorrectMarketInterface(address market)",
"error NotEnoughLiquidity(uint128 marketId, uint256 amount)",
"error DeniedMulticallTarget(address)",
"error RecursiveMulticall(address)",
"error CapacityLocked(uint256 marketId)",
"error MinDelegationTimeoutPending(uint128 poolId, uint32 timeRemaining)",
"error PoolAlreadyExists(uint128 poolId)",
"error OverflowUint256ToUint32()",
"error OverflowUint32ToInt32()",
"error OverflowUint64ToInt64()",
"error RewardDistributorNotFound()",
"error RewardUnavailable(address distributor)",
"error InsufficientDelegation(uint256 minDelegation)",
"error InvalidCollateralAmount()",
Expand All @@ -85,8 +82,18 @@
"error StalenessToleranceExceeded()",
"error UnprocessableNode(bytes32 nodeId)",
"error UnsupportedOperation(uint8 operation)",
"error AddressInsufficientBalance(address account)",
"error ERC2771ForwarderExpiredRequest(uint48 deadline)",
"error ERC2771ForwarderInvalidSigner(address signer, address from)",
"error ERC2771ForwarderMismatchedValue(uint256 requestedValue, uint256 msgValue)",
"error ERC2771UntrustfulTarget(address target, address forwarder)",
"error FailedInnerCall()",
"error InvalidAccountNonce(address account, uint256 currentNonce)",
"error InvalidShortString()",
"error StringTooLong(string str)",
"error InvalidMarketOwner()",
"error InvalidSynthImplementation(uint256 synthImplementation)",
"error InvalidTransactionTypeIndex(uint128 txnType)",
"error OnlyMarketOwner(address marketOwner, address sender)",
"error ExceedsMaxSynthAmount(uint256 maxSynthAmount, uint256 synthAmountCharged)",
"error ExceedsMaxUsdAmount(uint256 maxUsdAmount, uint256 usdAmountCharged)",
Expand All @@ -103,11 +110,10 @@
"error InvalidSettlementStrategy(uint8 strategyType)",
"error InvalidVerificationResponse()",
"error MinimumSettlementAmountNotMet(uint256 minimum, uint256 actual)",
"error OffchainLookup(address sender, string[] urls, bytes callData, bytes4 callbackFunction, bytes extraData)",
"error OutsideSettlementWindow(uint256 timestamp, uint256 startTime, uint256 expirationTime)",
"error PriceDeviationToleranceExceeded(uint256 deviation, uint256 tolerance)",
"error SettlementStrategyNotFound(uint8 strategyType)",
"error InvalidCollateralType(bytes32 message)",
"error InvalidSettlementWindowDuration(uint256 duration)",
"error InvalidCollateralType(address configuredCollateralType)",
"error WrapperExceedsMaxAmount(uint256 maxWrappableAmount, uint256 currentSupply, uint256 amountToWrap)",
"error InvalidCollateralLeverage(uint256)",
"error InvalidFeeCollectorInterface(address invalidFeeCollector)",
Expand Down
Loading

0 comments on commit 4bbf687

Please sign in to comment.