Remove FeePercentageTooLargeError rich revert
This commit is contained in:
parent
a54624b697
commit
5ad98700e5
@ -34,14 +34,6 @@ export class UnsupportedFeeError extends RevertError {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export class FeePercentageTooLargeError extends RevertError {
|
|
||||||
constructor(feePercentage?: BigNumber | number | string) {
|
|
||||||
super('FeePercentageTooLargeError', 'FeePercentageTooLargeError(uint256 feePercentage)', {
|
|
||||||
feePercentage,
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export class InsufficientEthForFeeError extends RevertError {
|
export class InsufficientEthForFeeError extends RevertError {
|
||||||
constructor(ethFeeRequired?: BigNumber | number | string, ethAvailable?: BigNumber | number | string) {
|
constructor(ethFeeRequired?: BigNumber | number | string, ethAvailable?: BigNumber | number | string) {
|
||||||
super(
|
super(
|
||||||
@ -88,7 +80,6 @@ const types = [
|
|||||||
UnsupportedAssetProxyError,
|
UnsupportedAssetProxyError,
|
||||||
CompleteBuyFailedError,
|
CompleteBuyFailedError,
|
||||||
UnsupportedFeeError,
|
UnsupportedFeeError,
|
||||||
FeePercentageTooLargeError,
|
|
||||||
InsufficientEthForFeeError,
|
InsufficientEthForFeeError,
|
||||||
OverspentWethError,
|
OverspentWethError,
|
||||||
DefaultFunctionWethContractOnlyError,
|
DefaultFunctionWethContractOnlyError,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user