WAX

pol.fusion

合约

此合约定义的数据结构。

  • claimgbmvote中的操作参数

    {
      "name": "claimgbmvote",
      "base": "",
      "fields": []
    }
  • claimrefund中的操作参数

    {
      "name": "claimrefund",
      "base": "",
      "fields": []
    }
  • clearexpired中的操作参数

    {
      "name": "clearexpired",
      "base": "",
      "fields": [
        {
          "name": "limit",
          "type": "int32"
        }
      ]
    }
  • config2 的表格行类型

    {
      "name": "config2",
      "base": "",
      "fields": [
        {
          "name": "liquidity_allocation_1e6",
          "type": "uint64"
        },
        {
          "name": "rental_pool_allocation_1e6",
          "type": "uint64"
        },
        {
          "name": "lswax_wax_pool_id",
          "type": "uint64"
        }
      ]
    }
  • deleterental中的操作参数

    {
      "name": "deleterental",
      "base": "",
      "fields": [
        {
          "name": "rental_id",
          "type": "uint64"
        }
      ]
    }
  • initconfig中的操作参数

    {
      "name": "initconfig",
      "base": "",
      "fields": [
        {
          "name": "lswax_pool_id",
          "type": "uint64"
        }
      ]
    }
  • initstate3中的操作参数

    {
      "name": "initstate3",
      "base": "",
      "fields": []
    }
  • rebalance中的操作参数

    {
      "name": "rebalance",
      "base": "",
      "fields": []
    }
  • rentcpu中的操作参数

    {
      "name": "rentcpu",
      "base": "",
      "fields": [
        {
          "name": "renter",
          "type": "name"
        },
        {
          "name": "cpu_receiver",
          "type": "name"
        }
      ]
    }
  • renters 的表格行类型

    {
      "name": "renters",
      "base": "",
      "fields": [
        {
          "name": "ID",
          "type": "uint64"
        },
        {
          "name": "renter",
          "type": "name"
        },
        {
          "name": "rent_to_account",
          "type": "name"
        },
        {
          "name": "amount_staked",
          "type": "asset"
        },
        {
          "name": "expires",
          "type": "uint64"
        }
      ]
    }
  • setallocs中的操作参数

    {
      "name": "setallocs",
      "base": "",
      "fields": [
        {
          "name": "liquidity_allocation_percent_1e6",
          "type": "uint64"
        }
      ]
    }
  • setrentprice中的操作参数

    {
      "name": "setrentprice",
      "base": "",
      "fields": [
        {
          "name": "cost_to_rent_1_wax",
          "type": "asset"
        }
      ]
    }
  • state3 的表格行类型

    {
      "name": "state3",
      "base": "",
      "fields": [
        {
          "name": "wax_available_for_rentals",
          "type": "asset"
        },
        {
          "name": "next_day_end_time",
          "type": "uint64"
        },
        {
          "name": "cost_to_rent_1_wax",
          "type": "asset"
        },
        {
          "name": "last_vote_time",
          "type": "uint64"
        },
        {
          "name": "wax_bucket",
          "type": "asset"
        },
        {
          "name": "lswax_bucket",
          "type": "asset"
        },
        {
          "name": "last_liquidity_addition_time",
          "type": "uint64"
        },
        {
          "name": "wax_allocated_to_rentals",
          "type": "asset"
        },
        {
          "name": "pending_refunds",
          "type": "asset"
        },
        {
          "name": "last_rebalance_time",
          "type": "uint64"
        }
      ]
    }