Vaulta

thedaothedao

Contract

The data structures defined by this contract.

  • Table row type of abilities

    {
      "name": "ability",
      "base": "",
      "fields": [
        {
          "name": "name",
          "type": "name"
        },
        {
          "name": "total_respect",
          "type": "uint64"
        },
        {
          "name": "average_respect",
          "type": "float64"
        }
      ]
    }
  • Table row type of accounts

    {
      "name": "account",
      "base": "",
      "fields": [
        {
          "name": "balance",
          "type": "asset"
        }
      ]
    }
  • Action parameter in approve

    {
      "name": "approve",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "user_to_approve",
          "type": "name"
        }
      ]
    }
  • Action parameter in archiveevent

    {
      "name": "archiveevent",
      "base": "",
      "fields": [
        {
          "name": "block_height",
          "type": "uint64"
        },
        {
          "name": "participants",
          "type": "name[]"
        },
        {
          "name": "rooms",
          "type": "room[]"
        },
        {
          "name": "rankings",
          "type": "ranking[]"
        },
        {
          "name": "council",
          "type": "name[]"
        }
      ]
    }
  • Action parameter in authenticate

    {
      "name": "authenticate",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "event",
          "type": "uint64"
        },
        {
          "name": "room",
          "type": "uint64"
        }
      ]
    }
  • Table row type of autorewards

    {
      "name": "auto_reward",
      "base": "",
      "fields": [
        {
          "name": "quantity",
          "type": "extended_asset"
        },
        {
          "name": "from",
          "type": "name"
        }
      ]
    }
  • Action parameter in banuser

    {
      "name": "banuser",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        }
      ]
    }
  • Action parameter in changestate

    {
      "name": "changestate",
      "base": "",
      "fields": []
    }
  • Table row type of claims

    {
      "name": "claim",
      "base": "",
      "fields": [
        {
          "name": "quantity",
          "type": "extended_asset"
        }
      ]
    }
  • Action parameter in claimrewards

    {
      "name": "claimrewards",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        }
      ]
    }
  • Table row type of council

    {
      "name": "council",
      "base": "",
      "fields": [
        {
          "name": "delegate",
          "type": "name"
        }
      ]
    }
  • Table row type of stat

    {
      "name": "currency_stats",
      "base": "",
      "fields": [
        {
          "name": "supply",
          "type": "asset"
        },
        {
          "name": "max_supply",
          "type": "asset"
        },
        {
          "name": "issuer",
          "type": "name"
        }
      ]
    }
  • Action parameter in generate

    {
      "name": "generate",
      "base": "",
      "fields": [
        {
          "name": "salt",
          "type": "uint64"
        }
      ]
    }
  • Table row type of global

    {
      "name": "global",
      "base": "",
      "fields": [
        {
          "name": "state",
          "type": "uint64"
        },
        {
          "name": "event_count",
          "type": "uint64"
        },
        {
          "name": "event_archive_blocks",
          "type": "uint32[]"
        },
        {
          "name": "next_event_block_height",
          "type": "uint64"
        },
        {
          "name": "event_interval",
          "type": "uint64"
        },
        {
          "name": "participate_duration",
          "type": "uint64"
        },
        {
          "name": "rooms_duration",
          "type": "uint64"
        },
        {
          "name": "fib_offset",
          "type": "uint8"
        },
        {
          "name": "council_size",
          "type": "uint8"
        },
        {
          "name": "num_approvals_required",
          "type": "uint8"
        },
        {
          "name": "min_num_participants",
          "type": "uint8"
        }
      ]
    }
  • Action parameter in init

    {
      "name": "init",
      "base": "",
      "fields": [
        {
          "name": "first_event_block_height",
          "type": "uint64"
        },
        {
          "name": "event_interval",
          "type": "uint64"
        },
        {
          "name": "participate_duration",
          "type": "uint64"
        },
        {
          "name": "rooms_duration",
          "type": "uint64"
        },
        {
          "name": "fib_offset",
          "type": "uint8"
        },
        {
          "name": "council_size",
          "type": "uint8"
        },
        {
          "name": "num_approvals_required",
          "type": "uint8"
        },
        {
          "name": "min_num_participants",
          "type": "uint8"
        }
      ]
    }
  • Table row type of members

    {
      "name": "member",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "is_approved",
          "type": "bool"
        },
        {
          "name": "is_banned",
          "type": "bool"
        },
        {
          "name": "approvers",
          "type": "name[]"
        },
        {
          "name": "recent_respect",
          "type": "uint64[]"
        },
        {
          "name": "total_respect",
          "type": "uint64"
        },
        {
          "name": "profile_blocks",
          "type": "uint32[]"
        }
      ]
    }
  • Table row type of nodes

    {
      "name": "node",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "name"
        },
        {
          "name": "url",
          "type": "string"
        }
      ]
    }
  • Table row type of participants

    {
      "name": "participant",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        }
      ]
    }
  • Action parameter in participate

    {
      "name": "participate",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        }
      ]
    }
  • Struct property of archiveevent

    Table row type of rankings

    {
      "name": "ranking",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "room",
          "type": "uint64"
        },
        {
          "name": "rankings",
          "type": "name[]"
        }
      ]
    }
  • Action parameter in reset

    {
      "name": "reset",
      "base": "",
      "fields": []
    }
  • Table row type of rewards

    {
      "name": "reward",
      "base": "",
      "fields": [
        {
          "name": "quantity",
          "type": "extended_asset"
        }
      ]
    }
  • Action parameter in rmuser

    {
      "name": "rmuser",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        }
      ]
    }
  • Table row type of rng

    {
      "name": "rng",
      "base": "",
      "fields": [
        {
          "name": "value",
          "type": "checksum256"
        }
      ]
    }
  • Struct property of archiveevent

    Table row type of rooms

    {
      "name": "room",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "users",
          "type": "name[]"
        },
        {
          "name": "node_id",
          "type": "name"
        }
      ]
    }
  • Action parameter in setability

    {
      "name": "setability",
      "base": "",
      "fields": [
        {
          "name": "ability_name",
          "type": "name"
        },
        {
          "name": "total_respect",
          "type": "uint64"
        },
        {
          "name": "average_respect",
          "type": "float64"
        }
      ]
    }
  • Action parameter in setautorewrd

    {
      "name": "setautorewrd",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    }
  • Action parameter in setcouncilsz

    {
      "name": "setcouncilsz",
      "base": "",
      "fields": [
        {
          "name": "council_size",
          "type": "uint8"
        }
      ]
    }
  • Action parameter in setevent

    {
      "name": "setevent",
      "base": "",
      "fields": [
        {
          "name": "block_height",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in seteventint

    {
      "name": "seteventint",
      "base": "",
      "fields": [
        {
          "name": "event_interval",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in setminnumprt

    {
      "name": "setminnumprt",
      "base": "",
      "fields": [
        {
          "name": "min_num_participants",
          "type": "uint8"
        }
      ]
    }
  • Action parameter in setnode

    {
      "name": "setnode",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "name"
        },
        {
          "name": "url",
          "type": "string"
        }
      ]
    }
  • Action parameter in setnumappreq

    {
      "name": "setnumappreq",
      "base": "",
      "fields": [
        {
          "name": "num_approvals_required",
          "type": "uint8"
        }
      ]
    }
  • Action parameter in setprtcptdur

    {
      "name": "setprtcptdur",
      "base": "",
      "fields": [
        {
          "name": "participate_duration",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in setroomsdur

    {
      "name": "setroomsdur",
      "base": "",
      "fields": [
        {
          "name": "rooms_duration",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in signup

    {
      "name": "signup",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "about",
          "type": "string"
        },
        {
          "name": "b64_picture",
          "type": "string"
        }
      ]
    }
  • Action parameter in submitranks

    {
      "name": "submitranks",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "room",
          "type": "uint64"
        },
        {
          "name": "rankings",
          "type": "name[]"
        }
      ]
    }
  • Action parameter in updatereward

    {
      "name": "updatereward",
      "base": "",
      "fields": [
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "contract",
          "type": "name"
        }
      ]
    }