Vaulta

eosplanetcom

Contract

The data structures defined by this contract.

  • Table row type of chunk

    {
      "name": "chunk",
      "base": "",
      "fields": [
        {
          "name": "coords",
          "type": "uint64"
        },
        {
          "name": "type",
          "type": "uint8"
        },
        {
          "name": "bitmap",
          "type": "bytes"
        }
      ]
    }
  • Action parameter in withdraw

    {
      "name": "withdraw",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        }
      ]
    }
  • Action parameter in claim

    {
      "name": "claim",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "period_id",
          "type": "uint64"
        }
      ]
    }
  • Table row type of configvar

    {
      "name": "configvar",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "val",
          "type": "bytes"
        }
      ]
    }
  • Table row type of contribution

    {
      "name": "contribution",
      "base": "",
      "fields": [
        {
          "name": "period",
          "type": "uint64"
        },
        {
          "name": "amount_spent",
          "type": "int64"
        }
      ]
    }
  • Action parameter in poke

    {
      "name": "poke",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "uint64"
        },
        {
          "name": "mat",
          "type": "uint64"
        },
        {
          "name": "lvl",
          "type": "uint64"
        },
        {
          "name": "owner",
          "type": "name"
        }
      ]
    }
  • Action parameter in ctrl

    {
      "name": "ctrl",
      "base": "",
      "fields": [
        {
          "name": "cmd",
          "type": "string"
        },
        {
          "name": "value",
          "type": "uint64"
        },
        {
          "name": "svalue",
          "type": "string"
        }
      ]
    }
  • Action parameter in build

    {
      "name": "build",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "cmd",
          "type": "string"
        }
      ]
    }
  • Table row type of period

    {
      "name": "period",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "total_spent",
          "type": "int64"
        },
        {
          "name": "total_to_distribute",
          "type": "int64"
        },
        {
          "name": "pot_until_now",
          "type": "int64"
        },
        {
          "name": "total_distributed",
          "type": "int64"
        }
      ]
    }
  • Struct property of voxelpack

    {
      "name": "voxel_inline",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "data",
          "type": "uint8"
        }
      ]
    }
  • Table row type of voxelpack

    {
      "name": "voxelpack",
      "base": "",
      "fields": [
        {
          "name": "coords",
          "type": "uint64"
        },
        {
          "name": "voxels",
          "type": "voxel_inline[]"
        }
      ]
    }
  • Struct property of account

    {
      "name": "inventoryitem",
      "base": "",
      "fields": [
        {
          "name": "material",
          "type": "uint8"
        },
        {
          "name": "price",
          "type": "uint8"
        },
        {
          "name": "count",
          "type": "uint8"
        }
      ]
    }
  • Table row type of account

    {
      "name": "account",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "balance",
          "type": "asset"
        },
        {
          "name": "mineBalance",
          "type": "asset"
        },
        {
          "name": "lastRewardTime",
          "type": "uint32"
        },
        {
          "name": "inventory",
          "type": "inventoryitem[]"
        },
        {
          "name": "data",
          "type": "bytes"
        }
      ]
    }