Pulsar-LP

Verified contract

Proxy

Active on Ethereum with 419 txns
Deployed by via 0xc0772bad at 16015563
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 14 additional slots
ERC-20
Value $9,892.85
ERC-20
--
 (#0)
ERC-1555
--
0x3814dc4e6c157b0674113799469bfc96d4b4a56b09bd95e9d6aebdc75589478d
0x1ef26d118a160f80428178076d0c617d2ee526416ea021ba7ccaccc98ba86bd1
0x085e0047407467f5161ae16913dd13173e028deab3e03d82b2663d5ab8dcd607
0x5f274a47537b16a7d41fa98083a9dac8cb95ebee45f213a40cf312be6ac20ae6
0x802c61a63fca5e1b17c29e37f593894043b950d16d6bce90c951ff8b9c992728
0xbe1274a868cebfec45abb7568484fe915d3b8bff6d40cec7fded82ec5d26eb55
0x7ec2ea7449215baeb699d71af0d1c97918109d987a112bbb659a14b9a2f34c42
0x43806b772f00a78cd5db6cad1f2830a5ae9d93eb26bc68755ab289bcba742ab6
From
0xda1fd99f987bdb9dd246c6e2da0e58a5292dd66f379a88c9f236841df466a23b
0x84bac69707a81c8b62b0c0d0e06f31be931587487ab15aa78308c6e5013c45a8

Functions
Getter at block 21270606
LP_FEE(view returns (uint256)
30
decimals(view returns (uint8)
18
factory(view returns (address)
0x408f66057163d829a30d4d466092c6b0eebb692f
getExpiriesSinceLastExecuted(view returns (uint256[])
[18566140]
getPairOrdersAmount(view returns (uint256)
53
getTWAMMState(view returns (uint256 lastVirtualOrderBlockuint256 tokenASalesRateuint256 tokenBSalesRateuint256 orderPoolARewardFactoruint256 orderPoolBRewardFactor)
(lastVirtualOrderBlock=21233262, tokenASalesRate=0, tokenBSalesRate=0, orderPoolARewardFactor=5367140, orderPoolBRewardFactor=15272497418524127109808879622983812119136)
getTotalSupply(view returns (uint256)
187580884290872150
name(view returns (string)
Pulsar-LP
orderBlockInterval(view returns (uint256)
5
rootKLast(view returns (uint256)
193639318781835667
symbol(view returns (string)
PUL-LP
tokenA(view returns (address)
0x2a1dca74419c2d304a3d359f428ee1a4e9324a90
tokenAReserves(view returns (uint256)
3784797622638974533491560
tokenB(view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
tokenBReserves(view returns (uint256)
9907051715
totalSupply(view returns (uint256)
187580884290872150
LP_FEE(view returns (uint256)
30
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
getOrderDetails(uint256 orderIdview returns (struct LongTermOrdersLibOrder)
getOrderRewardFactor(uint256 orderIdview returns (uint256 orderRewardFactorAtSubmissionuint256 orderRewardFactorAtExpiring)
getTWAMMSalesRateEnding(uint256 blockNumberview returns (uint256 orderPoolASalesRateEndinguint256 orderPoolBSalesRateEnding)
orderIdStatusCheck(uint256 orderIdview returns (bool)
reserveMap(addressview returns (uint256)
userIdsCheck(address userAddressview returns (uint256[])
State-modifying
approve(address spenderuint256 amountreturns (bool)
cancelLongTermSwap(address senderuint256 orderIdreturns (uint256 unsoldAmountuint256 purchasedAmount)
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
executeVirtualOrders(uint256 blockNumber
increaseAllowance(address spenderuint256 addedValuereturns (bool)
instantSwapFromAToB(address senderuint256 amountAInreturns (uint256 amountBOut)
instantSwapFromBToA(address senderuint256 amountBInreturns (uint256 amountAOut)
longTermSwapFromAToB(address senderuint256 amountAInuint256 numberOfBlockIntervalsreturns (uint256 orderId)
longTermSwapFromBToA(address senderuint256 amountBInuint256 numberOfBlockIntervalsreturns (uint256 orderId)
provideInitialLiquidity(address touint256 amountAuint256 amountBreturns (uint256 lpTokenAmount)
provideLiquidity(address touint256 lpTokenAmountreturns (uint256 amountAInuint256 amountBIn)
removeLiquidity(address touint256 lpTokenAmountreturns (uint256 amountAOutuint256 amountBOut)
transfer(address recipientuint256 amountreturns (bool)
transferFrom(address senderaddress recipientuint256 amountreturns (bool)
withdrawProceedsFromLongTermSwap(address senderuint256 orderIdreturns (uint256 proceeds)
Events
Approval(address indexed owneraddress indexed spenderuint256 value
CancelLongTermOrder(address indexed addruint256 orderIduint256 unsoldAmountuint256 purchasedAmount
InitialLiquidityProvided(address indexed addruint256 lpTokenAmountuint256 amountAuint256 amountB
InstantSwapAToB(address indexed addruint256 amountAInuint256 amountBOut
InstantSwapBToA(address indexed addruint256 amountBInuint256 amountAOut
LiquidityProvided(address indexed addruint256 lpTokenAmountuint256 amountAInuint256 amountBIn
LiquidityRemoved(address indexed addruint256 lpTokenAmountuint256 amountAOutuint256 amountBOut
LongTermSwapAToB(address indexed addruint256 amountAInuint256 orderId
LongTermSwapBToA(address indexed addruint256 amountBInuint256 orderId
Transfer(address indexed fromaddress indexed touint256 value
WithdrawProceedsFromLongTermOrder(address indexed addruint256 orderIduint256 proceeds
Constructor
constructor(address _tokenAaddress _tokenBaddress _twamm
Fallback and receive

This contract contains no fallback and receive objects.

Errors
PRBMathUD60x18__FromUintOverflow(uint256 x
PRBMathUD60x18__SqrtOverflow(uint256 x
PRBMath__MulDivFixedPointOverflow(uint256 prod1