AmplificationUtils
AmplificationUtils library
A library to calculate and ramp the A parameter of a given SwapUtils.Swap
struct. This library assumes the struct is fully validated.
Methods
A_PRECISION
Returns
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
MAX_A
Returns
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
Events
RampA
Parameters
Name | Type | Description |
---|---|---|
oldA | uint256 | undefined |
newA | uint256 | undefined |
initialTime | uint256 | undefined |
futureTime | uint256 | undefined |
StopRampA
Parameters
Name | Type | Description |
---|---|---|
currentA | uint256 | undefined |
time | uint256 | undefined |
Last updated