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.function A_PRECISION() external view returns (uint256)
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
function MAX_A() external view returns (uint256)
Name | Type | Description |
---|---|---|
_0 | uint256 | undefined |
event RampA(uint256 oldA, uint256 newA, uint256 initialTime, uint256 futureTime)
Name | Type | Description |
---|---|---|
oldA | uint256 | undefined |
newA | uint256 | undefined |
initialTime | uint256 | undefined |
futureTime | uint256 | undefined |
event StopRampA(uint256 currentA, uint256 time)
Name | Type | Description |
---|---|---|
currentA | uint256 | undefined |
time | uint256 | undefined |
Last modified 11mo ago