Ramm

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0x647eaf55 at 18618621
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 2 additional slots

No balances found for "Ramm"

No transactions found for "Ramm"


Functions
Getter at block 21167624
FAST_LIQUIDITY_SPEED(view returns (uint256)
1500000000000000000000
FAST_RATCHET_SPEED(view returns (uint256)
5000
GRANULARITY(view returns (uint256)
3
LIQ_SPEED_A(view returns (uint256)
100000000000000000000
LIQ_SPEED_B(view returns (uint256)
100000000000000000000
LIQ_SPEED_PERIOD(view returns (uint256)
86400
NORMAL_RATCHET_SPEED(view returns (uint256)
400
PERIOD_SIZE(view returns (uint256)
259200
PRICE_BUFFER(view returns (uint256)
100
PRICE_BUFFER_DENOMINATOR(view returns (uint256)
10000
RATCHET_DENOMINATOR(view returns (uint256)
10000
RATCHET_PERIOD(view returns (uint256)
86400
TARGET_LIQUIDITY(view returns (uint256)
5000000000000000000000
ethLimit(view returns (uint32)
0
ethReleased(view returns (uint96)
0
 
getBookValue(view returns (uint256 bookValue)
 
getInternalPrice(view returns (uint256 internalPrice)
 
getReserves(view returns (uint256 _ethReserveuint256 nxmAuint256 nxmBuint256 _budget)
 
getSpotPrices(view returns (uint256 spotPriceAuint256 spotPriceB)
loadState(view returns (struct State)
(0, 0, 0, 0, 400, 0)
master(view returns (address)
0x0000000000000000000000000000000000000000
nxmLimit(view returns (uint32)
0
nxmReleased(view returns (uint96)
0
ratchetSpeedB(view returns (uint256)
400
slot0(view returns (uint128 nxmReserveAuint128 nxmReserveB)
(nxmReserveA=0, nxmReserveB=0)
slot1(view returns (uint128 ethReserveuint88 budgetuint32 updatedAtbool swapPaused)
(ethReserve=0, budget=0, updatedAt=0, swapPaused=false)
swapPaused(view returns (bool)
false
Read-only
_getInternalPrice(struct State state(uint32, uint112, uint112)[3] _observationsuint256 capitaluint256 supplyuint256 timestamppure returns (uint256)
_getReserves(struct State statestruct Context contextuint256 currentTimestamppure returns (struct Stateuint256 injecteduint256 extracted)
_updateTwap(struct State initialState(uint32, uint112, uint112)[3] _observationsstruct Context contextuint256 currentStateTimestamppure returns ((uint32, uint112, uint112)[3])
getInitialObservations(uint256 initialPriceAuint256 initialPriceBuint256 timestamppure returns ((uint32, uint112, uint112)[3] initialObservations)
getObservation(struct State previousStatestruct State statestruct Observation previousObservationuint256 capitaluint256 supplypure returns (struct Observation)
internalContracts(uint256view returns (address)
observations(uint256view returns (uint32 timestampuint112 priceCumulativeAboveuint112 priceCumulativeBelow)
State-modifying
changeDependentContractAddress(
changeMasterAddress(address masterAddress
getInternalPriceAndUpdateTwap(returns (uint256 internalPrice)
removeBudget(
setCircuitBreakerLimits(uint256 _ethLimituint256 _nxmLimit
setEmergencySwapPause(bool _swapPaused
swap(uint256 nxmInuint256 minAmountOutuint256 deadlinepayable returns (uint256)
updateTwap(
Events
BudgetRemoved(
EthExtracted(uint256 value
EthInjected(uint256 value
EthSwappedForNxm(address indexed memberuint256 ethInuint256 nxmOut
NxmSwappedForEth(address indexed memberuint256 nxmInuint256 ethOut
ObservationUpdated(uint32 timestampuint112 priceCumulativeAboveuint112 priceCumulativeBelow
SwapPauseConfigured(bool paused
Constructor
constructor(uint256 spotPriceB
Fallback and receive

This contract contains no fallback and receive objects.

Errors
EthCircuitBreakerHit(
EthTransferFailed(
InsufficientAmountOut(uint256 amountOutuint256 minAmountOut
NoSwapsInBufferZone(
NxmCircuitBreakerHit(
OneInputOnly(
OneInputRequired(
SwapExpired(uint256 deadlineuint256 blockTimestamp
SwapPaused(
SystemPaused(