WAX

l.rplanet

Contract

The data structures defined by this contract.

  • Table row type of config

    {
      "name": "ConfigModel",
      "base": "",
      "fields": [
        {
          "name": "enabled",
          "type": "bool"
        },
        {
          "name": "end_mining_at",
          "type": "uint32"
        },
        {
          "name": "r1",
          "type": "uint32"
        },
        {
          "name": "r2",
          "type": "uint64"
        },
        {
          "name": "r3",
          "type": "uint64"
        },
        {
          "name": "r4",
          "type": "uint64"
        },
        {
          "name": "r5",
          "type": "uint64"
        }
      ]
    }
  • Struct property of addelements

    {
      "name": "ElementData",
      "base": "",
      "fields": [
        {
          "name": "symbol",
          "type": "symbol_code"
        },
        {
          "name": "rate",
          "type": "int64"
        }
      ]
    }
  • Table row type of elements

    {
      "name": "ElementModel",
      "base": "",
      "fields": [
        {
          "name": "symbol",
          "type": "symbol_code"
        },
        {
          "name": "rate",
          "type": "int64"
        },
        {
          "name": "r1",
          "type": "uint64"
        },
        {
          "name": "r2",
          "type": "uint64"
        },
        {
          "name": "r3",
          "type": "uint64"
        },
        {
          "name": "r4",
          "type": "uint64"
        },
        {
          "name": "r5",
          "type": "uint64"
        }
      ]
    }
  • Struct property of adduplift

    {
      "name": "UpliftLandData",
      "base": "",
      "fields": [
        {
          "name": "order",
          "type": "uint32"
        },
        {
          "name": "x",
          "type": "int32"
        },
        {
          "name": "y",
          "type": "int32"
        },
        {
          "name": "width",
          "type": "uint16"
        },
        {
          "name": "height",
          "type": "uint16"
        }
      ]
    }
  • Table row type of uplift

    {
      "name": "UpliftLandModel",
      "base": "",
      "fields": [
        {
          "name": "loc",
          "type": "uint64"
        },
        {
          "name": "asset_id",
          "type": "uint64"
        },
        {
          "name": "width",
          "type": "uint16"
        },
        {
          "name": "height",
          "type": "uint16"
        },
        {
          "name": "order",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in addelements

    {
      "name": "addelements",
      "base": "",
      "fields": [
        {
          "name": "elements",
          "type": "ElementData[]"
        }
      ]
    }
  • Action parameter in adduplift

    {
      "name": "adduplift",
      "base": "",
      "fields": [
        {
          "name": "world",
          "type": "name"
        },
        {
          "name": "data",
          "type": "UpliftLandData[]"
        }
      ]
    }
  • Action parameter in claim

    {
      "name": "claim",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "land_ids",
          "type": "uint64[]"
        }
      ]
    }
  • Action parameter in disable

    {
      "name": "disable",
      "base": "",
      "fields": []
    }
  • Action parameter in enable

    {
      "name": "enable",
      "base": "",
      "fields": []
    }
  • Action parameter in setendtime

    {
      "name": "setendtime",
      "base": "",
      "fields": [
        {
          "name": "value",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in upgrade

    {
      "name": "upgrade",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "land_id",
          "type": "uint64"
        },
        {
          "name": "elements",
          "type": "symbol_code[]"
        }
      ]
    }