Is your feature request related to a problem? Please describe.
For EIP 1559 we need different values for gas price estimation:
maxFeePerGas OR baseFee
maxPriorityFeePerGas
This is currently poorly reflected by our oracle settings as we can only configure one Oracle parameter.
Provide references to the feature you are implementing that requires this change
Workaround for this in the web interface: safe-global/safe-wallet-monorepo#3380
Describe the solution you'd like
We need to be able to configure multiple oracle parameters for 1559 networks. Sadly oracles can vary in which parameters they return. So ideally we invent a new 1559 oracle type which can have different fields:
- uri (required)
- baseFeeParameter
- maxPriorityFeePerGasParameter
- maxFeePerGasParameter
Any two of the paramter values would be required as the third value can be computed from any combinations
- baseFeeParameter + maxPriorityFeePerGasParameter = maxFeePerGas
- maxFeePerGasParameter - baseFeeParameter = maxPriorityFeePerGas
- maxFeePerGasParameter - maxPriorityFeePerGasParameter = baseFeeParameter
Describe alternatives you've considered
None
Additional context
Is your feature request related to a problem? Please describe.
For EIP 1559 we need different values for gas price estimation:
maxFeePerGasORbaseFeemaxPriorityFeePerGasThis is currently poorly reflected by our oracle settings as we can only configure one
Oracle parameter.Provide references to the feature you are implementing that requires this change
Workaround for this in the web interface: safe-global/safe-wallet-monorepo#3380
Describe the solution you'd like
We need to be able to configure multiple oracle parameters for 1559 networks. Sadly oracles can vary in which parameters they return. So ideally we invent a new 1559 oracle type which can have different fields:
Any two of the paramter values would be required as the third value can be computed from any combinations
Describe alternatives you've considered
None
Additional context