WAX

swap.alcor

合约

此合约定义的数据表。

  • 行数据 BalanceS

    字段 类型
    id uint64
    assetBalance extended_asset
  • 字段 类型
    account name
  • 行数据 BitmapS

    字段 类型
    pos int16
    bitmap uint128
  • 字段 类型
    poolId uint64
    isUnlockLiquidityA bool
    isUnlockLiquidityB bool
  • 字段 类型
    id uint64
    fee extended_asset
  • 字段 类型
    id uint64
    creator name
    poolId uint64
    reward extended_asset
    periodFinish uint32
    rewardsDuration uint32
    rewardRateE18 uint128
    rewardPerTokenStored uint128
    totalStakingWeight uint64
    lastUpdateTime uint32
    numberOfStakes uint32
  • 字段 类型
    payer name
    fee extended_asset
  • 行数据 LockS

    字段 类型
    pos_id uint64
    unlockTime uint32
  • 行数据 MarketS

    字段 类型
    marketName name
    marketFee uint32
  • 字段 类型
    timestampInSec uint32
    tickCumulative int64
    secondsPerLiquidityCumulativeX64 uint128
  • 行数据 PoolS

    字段 类型
    id uint64
    active bool
    tokenA extended_asset
    tokenB extended_asset
    fee uint32
    feeProtocol uint8
    tickSpacing int32
    maxLiquidityPerTick uint64
    currSlot CurrSlotS
    feeGrowthGlobalAX64 uint128
    feeGrowthGlobalBX64 uint128
    protocolFeeA asset
    protocolFeeB asset
    liquidity uint64
  • 行数据 PositionS

    字段 类型
    id uint64
    owner name
    tickLower int32
    tickUpper int32
    liquidity uint64
    feeGrowthInsideALastX64 uint128
    feeGrowthInsideBLastX64 uint128
    feesA uint64
    feesB uint64
  • 字段 类型
    posId uint64
    incentiveId uint64
    stakingWeight uint64
    rewards uint64
    userRewardPerTokenPaid uint128
  • 行数据 StakeS

    字段 类型
    posId uint64
    stakingWeight uint64
    rewards uint64
    userRewardPerTokenPaid uint128
  • 字段 类型
    posId uint64
    incentiveIds uint64[]
  • 行数据 SymtemS

    字段 类型
    id uint64
    active bool
    poolIdCounter uint64
    posIdCounter uint64
    activeFee extended_asset
  • 行数据 TickS

    字段 类型
    id int32
    liquidityGross uint64
    liquidityNet int64
    feeGrowthOutsideAX64 uint128
    feeGrowthOutsideBX64 uint128
    tickCumulativeOutside int64
    secondsPerLiquidityOutsideX64 uint128
    secondsOutside uint32
    initialized bool
  • 字段 类型
    token extended_asset