-
Notifications
You must be signed in to change notification settings - Fork 18
docs: update errors #262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: v3-outline
Are you sure you want to change the base?
docs: update errors #262
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
| `MulOverflow()` | `0x0cde6c26` | | MockGyroECLPPool | | ||
| `DivInterval()` | `0xe03f5d57` | | MockGyroECLPPool | | ||
| `OwnableUnauthorizedAccount(address)` | `0x118cdaa7` | address account | MockLBPool | | ||
| `OwnableInvalidOwner(address)` | `0x1e4fbdf7` | address owner | MockLBPool | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
InvalidOwner
is in the LBPPoolFactory; not sure where it's getting the "Ownable" from. We don't use that OZ contract directly (with LBPs, anyway; some of the hooks do).
| `ContractNameAlreadyRegistered(ContractType,)` | `0xdecd1563` | ContractType contractType, string contractName | MevCaptureHook | | ||
| `ContractNameInUseAsAlias(string,)` | `0xedcd5939` | string contractName, address contractAddress | MevCaptureHook | | ||
| `ContractAliasInUseAsName(ContractType,)` | `0xc5949bff` | ContractType contractType, string contractName | MevCaptureHook | | ||
| `ContractNameNotRegistered(string)` | `0xcd3599f9` | string contractName | MevCaptureHook | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ContractNameNotRegistered
is in the BalancerContractRegistry
| `AmplificationFactorTooLow()` | `0xab923323` | | MockStablePool | | ||
| `AmplificationFactorTooHigh()` | `0x9b80d390` | | MockStablePool | | ||
| `AmpUpdateDurationTooShort()` | `0xcd6b022a` | | MockStablePool | | ||
| `AmpUpdateRateTooFast()` | `0x1c708b92` | | MockStablePool | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The AmpUpdate errors are in regular StablePool - are you doing this by reading the ABI, vs. reading the contracts? There really shouldn't be any "Mock" contracts. (They sometimes do declare their own errors, but just for tests, so I don't think they need to be documented.)
Working on automating the error code updates.