Telos

amm.swaps

合约

此合约定义的数据表。

  • 行数据 config_row

    字段 类型
    status name
    protocol_fee uint8
    admin_account name
    fee_account name
    token_contract name
    notifiers name[]
    fee_exempt name[]
    blocked name[]
    listing_fee extended_asset
    issue_reward bool
    last_pair_id uint32
  • 行数据 orders_row

    字段 类型
    owner name
    quantity0 extended_asset
    quantity1 extended_asset
  • 字段 类型
    pair_id int64
    last_claim_id int64
    last_claimed time_point_sec
    stake_weight int64
  • 行数据 pairs_row

    字段 类型
    id uint64
    reserve0 extended_asset
    reserve1 extended_asset
    liquidity extended_asset
    trade_fee uint8
    amplifier uint64
    multiplier float64
    virtual_price float64
    price0_last float64
    price1_last float64
    volume0 asset
    volume1 asset
    trades uint64
    last_updated time_point_sec
    protocol name
    creator name
    trust uint8
    tags pair_name_string[]
  • 行数据 ramp_row

    字段 类型
    pair_id uint64
    start_amplifier uint64
    target_amplifier uint64
    start_time time_point_sec
    end_time time_point_sec
  • 字段 类型
    id int64
    stake_weight int64
    total_gain asset
    stake_remaining int64
    share_remaining asset
  • 字段 类型
    min_stake float64
    target_stake float64
    max_stake float64
    last_id int64
    last_reward time_point_sec
    stake_weight int64
    rex_balance asset
  • 行数据 wallet

    字段 类型
    balance asset
    contract name