Pulsar-LP
Verified contract
Proxy
Active on
Ethereum with 419 txns
Unified storage
Map
Table
Raw
Constants and immutables
7
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 14 additional slots
Balances ($9,892.85)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
USDC | ERC-20 | 9.907135K | $0.998558 |
$9,892.85 | |
BANA | ERC-20 | 8.838387M | -- | -- | |
0x0f24…0831 | ERC-1555 | 1 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21148484 | 17 days ago | | | 0 | 0.00031640440 | |
| 21018832 | a month ago | | | 0 | 0.00015565440 | |
| 20998680 | a month ago | | | 0 | 0.00023596650 | |
| 20982219 | a month ago | | | 0 | 0.00024137156 | |
| 20839577 | 2 months ago | | | 0 | 0.00032692343 | |
| 20727244 | 2 months ago | | | 0 | 0.000068098800 | |
| 20725790 | 2 months ago | | | 0 | 0.000044579867 | |
| 20582007 | 3 months ago | | | 0 | 0.000046209900 | |
| 20552218 | 3 months ago | | | 0 | 0.000028354463 | |
| 20549249 | 3 months ago | | | 0 | 0.000081049709 |
ABI
ABI objects
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 lastVirtualOrderBlock, uint256 tokenASalesRate, uint256 tokenBSalesRate, uint256 orderPoolARewardFactor, uint256 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 owner, address spender) view returns (uint256)
balanceOf(address account) view returns (uint256)
getOrderDetails(uint256 orderId) view returns (struct LongTermOrdersLibOrder)
getOrderRewardFactor(uint256 orderId) view returns (uint256 orderRewardFactorAtSubmission, uint256 orderRewardFactorAtExpiring)
getTWAMMSalesRateEnding(uint256 blockNumber) view returns (uint256 orderPoolASalesRateEnding, uint256 orderPoolBSalesRateEnding)
orderIdStatusCheck(uint256 orderId) view returns (bool)
reserveMap(address) view returns (uint256)
userIdsCheck(address userAddress) view returns (uint256[])
State-modifying
Events approve(address spender, uint256 amount) returns (bool)
cancelLongTermSwap(address sender, uint256 orderId) returns (uint256 unsoldAmount, uint256 purchasedAmount)
decreaseAllowance(address spender, uint256 subtractedValue) returns (bool)
executeVirtualOrders(uint256 blockNumber)
increaseAllowance(address spender, uint256 addedValue) returns (bool)
instantSwapFromAToB(address sender, uint256 amountAIn) returns (uint256 amountBOut)
instantSwapFromBToA(address sender, uint256 amountBIn) returns (uint256 amountAOut)
longTermSwapFromAToB(address sender, uint256 amountAIn, uint256 numberOfBlockIntervals) returns (uint256 orderId)
longTermSwapFromBToA(address sender, uint256 amountBIn, uint256 numberOfBlockIntervals) returns (uint256 orderId)
provideInitialLiquidity(address to, uint256 amountA, uint256 amountB) returns (uint256 lpTokenAmount)
provideLiquidity(address to, uint256 lpTokenAmount) returns (uint256 amountAIn, uint256 amountBIn)
removeLiquidity(address to, uint256 lpTokenAmount) returns (uint256 amountAOut, uint256 amountBOut)
transfer(address recipient, uint256 amount) returns (bool)
transferFrom(address sender, address recipient, uint256 amount) returns (bool)
withdrawProceedsFromLongTermSwap(address sender, uint256 orderId) returns (uint256 proceeds)
Approval(address indexed owner, address indexed spender, uint256 value)
CancelLongTermOrder(address indexed addr, uint256 orderId, uint256 unsoldAmount, uint256 purchasedAmount)
InitialLiquidityProvided(address indexed addr, uint256 lpTokenAmount, uint256 amountA, uint256 amountB)
InstantSwapAToB(address indexed addr, uint256 amountAIn, uint256 amountBOut)
InstantSwapBToA(address indexed addr, uint256 amountBIn, uint256 amountAOut)
LiquidityProvided(address indexed addr, uint256 lpTokenAmount, uint256 amountAIn, uint256 amountBIn)
LiquidityRemoved(address indexed addr, uint256 lpTokenAmount, uint256 amountAOut, uint256 amountBOut)
LongTermSwapAToB(address indexed addr, uint256 amountAIn, uint256 orderId)
LongTermSwapBToA(address indexed addr, uint256 amountBIn, uint256 orderId)
Transfer(address indexed from, address indexed to, uint256 value)
WithdrawProceedsFromLongTermOrder(address indexed addr, uint256 orderId, uint256 proceeds)
constructor(address _tokenA, address _tokenB, address _twamm)
This contract contains no fallback and receive objects.
PRBMathUD60x18__FromUintOverflow(uint256 x)
PRBMathUD60x18__SqrtOverflow(uint256 x)
PRBMath__MulDivFixedPointOverflow(uint256 prod1)