Vaulta

d.app.pomelo

Contract

The data structures defined by this contract.

  • Action parameter in cleartable

    {
      "name": "cleartable",
      "base": "",
      "fields": [
        {
          "name": "table_name",
          "type": "name"
        },
        {
          "name": "round_id",
          "type": "uint16?"
        },
        {
          "name": "max_rows",
          "type": "uint64?"
        }
      ]
    }
  • Action parameter in collapse

    {
      "name": "collapse",
      "base": "",
      "fields": [
        {
          "name": "user_ids",
          "type": "name[]"
        },
        {
          "name": "user_id",
          "type": "name"
        },
        {
          "name": "round_id",
          "type": "uint16"
        }
      ]
    }
  • Struct property of users_row

    {
      "name": "contribution_t",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "name"
        },
        {
          "name": "value",
          "type": "float64"
        }
      ]
    }
  • Action parameter in deltoken

    {
      "name": "deltoken",
      "base": "",
      "fields": [
        {
          "name": "symcode",
          "type": "symbol_code"
        }
      ]
    }
  • Table row type of globals

    {
      "name": "globals_row",
      "base": "",
      "fields": [
        {
          "name": "season_id",
          "type": "uint16"
        },
        {
          "name": "grant_fee",
          "type": "uint64"
        },
        {
          "name": "bounty_fee",
          "type": "uint64"
        },
        {
          "name": "login_contract",
          "type": "name"
        },
        {
          "name": "fee_account",
          "type": "name"
        }
      ]
    }
  • Table row type of grants

    {
      "name": "grants_row",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "name"
        },
        {
          "name": "type",
          "type": "name"
        },
        {
          "name": "author_user_id",
          "type": "name"
        },
        {
          "name": "funding_account",
          "type": "name"
        },
        {
          "name": "accepted_tokens",
          "type": "symbol_code[]"
        },
        {
          "name": "status",
          "type": "name"
        },
        {
          "name": "created_at",
          "type": "time_point_sec"
        },
        {
          "name": "updated_at",
          "type": "time_point_sec"
        }
      ]
    }
  • Action parameter in joinround

    {
      "name": "joinround",
      "base": "",
      "fields": [
        {
          "name": "grant_id",
          "type": "name"
        },
        {
          "name": "round_id",
          "type": "uint16"
        }
      ]
    }
  • Table row type of match

    {
      "name": "match_row",
      "base": "",
      "fields": [
        {
          "name": "grant_id",
          "type": "name"
        },
        {
          "name": "round_id",
          "type": "uint16"
        },
        {
          "name": "total_users",
          "type": "uint64"
        },
        {
          "name": "sum_value",
          "type": "float64"
        },
        {
          "name": "sum_boost",
          "type": "float64"
        },
        {
          "name": "sum_sqrt",
          "type": "float64"
        },
        {
          "name": "square",
          "type": "float64"
        },
        {
          "name": "updated_at",
          "type": "time_point_sec"
        }
      ]
    }
  • Action parameter in removeuser

    {
      "name": "removeuser",
      "base": "",
      "fields": [
        {
          "name": "user_ids",
          "type": "name[]"
        },
        {
          "name": "round_id",
          "type": "uint16"
        }
      ]
    }
  • Table row type of rounds

    {
      "name": "rounds_row",
      "base": "",
      "fields": [
        {
          "name": "round_id",
          "type": "uint16"
        },
        {
          "name": "description",
          "type": "string"
        },
        {
          "name": "season_id",
          "type": "uint16"
        },
        {
          "name": "grant_ids",
          "type": "name[]"
        },
        {
          "name": "user_ids",
          "type": "name[]"
        },
        {
          "name": "donated_tokens",
          "type": "extended_asset[]"
        },
        {
          "name": "match_value",
          "type": "float64"
        },
        {
          "name": "sum_value",
          "type": "float64"
        },
        {
          "name": "sum_boost",
          "type": "float64"
        },
        {
          "name": "sum_square",
          "type": "float64"
        },
        {
          "name": "created_at",
          "type": "time_point_sec"
        },
        {
          "name": "updated_at",
          "type": "time_point_sec"
        }
      ]
    }
  • Table row type of seasons

    {
      "name": "seasons_row",
      "base": "",
      "fields": [
        {
          "name": "season_id",
          "type": "uint16"
        },
        {
          "name": "description",
          "type": "string"
        },
        {
          "name": "round_ids",
          "type": "uint16[]"
        },
        {
          "name": "match_value",
          "type": "float64"
        },
        {
          "name": "start_at",
          "type": "time_point_sec"
        },
        {
          "name": "end_at",
          "type": "time_point_sec"
        },
        {
          "name": "submission_start_at",
          "type": "time_point_sec"
        },
        {
          "name": "submission_end_at",
          "type": "time_point_sec"
        },
        {
          "name": "created_at",
          "type": "time_point_sec"
        },
        {
          "name": "updated_at",
          "type": "time_point_sec"
        }
      ]
    }
  • Action parameter in setconfig

    {
      "name": "setconfig",
      "base": "",
      "fields": [
        {
          "name": "season_id",
          "type": "uint16?"
        },
        {
          "name": "grant_fee",
          "type": "uint64?"
        },
        {
          "name": "bounty_fee",
          "type": "uint64?"
        },
        {
          "name": "login_contract",
          "type": "name?"
        },
        {
          "name": "fee_account",
          "type": "name?"
        }
      ]
    }
  • Action parameter in setfunding

    {
      "name": "setfunding",
      "base": "",
      "fields": [
        {
          "name": "grant_id",
          "type": "name"
        },
        {
          "name": "user_id",
          "type": "name"
        }
      ]
    }
  • Action parameter in setgrant

    {
      "name": "setgrant",
      "base": "",
      "fields": [
        {
          "name": "author_id",
          "type": "name"
        },
        {
          "name": "project_id",
          "type": "name"
        },
        {
          "name": "funding_account",
          "type": "name"
        },
        {
          "name": "accepted_tokens",
          "type": "symbol_code[]"
        }
      ]
    }
  • Action parameter in setgrantid

    {
      "name": "setgrantid",
      "base": "",
      "fields": [
        {
          "name": "grant_id",
          "type": "name"
        },
        {
          "name": "new_grant_id",
          "type": "name"
        }
      ]
    }
  • Action parameter in setproject

    {
      "name": "setproject",
      "base": "",
      "fields": [
        {
          "name": "author_id",
          "type": "name"
        },
        {
          "name": "project_type",
          "type": "name"
        },
        {
          "name": "project_id",
          "type": "name"
        },
        {
          "name": "funding_account",
          "type": "name"
        },
        {
          "name": "accepted_tokens",
          "type": "symbol_code[]"
        }
      ]
    }
  • Action parameter in setround

    {
      "name": "setround",
      "base": "",
      "fields": [
        {
          "name": "round_id",
          "type": "uint16"
        },
        {
          "name": "season_id",
          "type": "uint16"
        },
        {
          "name": "description",
          "type": "string?"
        },
        {
          "name": "match_value",
          "type": "float64?"
        }
      ]
    }
  • Action parameter in setseason

    {
      "name": "setseason",
      "base": "",
      "fields": [
        {
          "name": "season_id",
          "type": "uint16"
        },
        {
          "name": "start_at",
          "type": "time_point_sec?"
        },
        {
          "name": "end_at",
          "type": "time_point_sec?"
        },
        {
          "name": "submission_start_at",
          "type": "time_point_sec?"
        },
        {
          "name": "submission_end_at",
          "type": "time_point_sec?"
        },
        {
          "name": "description",
          "type": "string?"
        },
        {
          "name": "match_value",
          "type": "float64?"
        }
      ]
    }
  • Action parameter in setstate

    {
      "name": "setstate",
      "base": "",
      "fields": [
        {
          "name": "project_id",
          "type": "name"
        },
        {
          "name": "state",
          "type": "name"
        }
      ]
    }
  • Table row type of status

    {
      "name": "status_row",
      "base": "",
      "fields": [
        {
          "name": "counters",
          "type": "uint32[]"
        },
        {
          "name": "last_updated",
          "type": "time_point_sec"
        }
      ]
    }
  • Action parameter in token

    {
      "name": "token",
      "base": "",
      "fields": [
        {
          "name": "sym",
          "type": "symbol"
        },
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "min_amount",
          "type": "uint64"
        },
        {
          "name": "oracle_contract",
          "type": "name"
        },
        {
          "name": "oracle_id",
          "type": "uint64"
        }
      ]
    }
  • Table row type of tokens

    {
      "name": "tokens_row",
      "base": "",
      "fields": [
        {
          "name": "sym",
          "type": "symbol"
        },
        {
          "name": "contract",
          "type": "name"
        },
        {
          "name": "min_amount",
          "type": "uint64"
        },
        {
          "name": "oracle_contract",
          "type": "name"
        },
        {
          "name": "oracle_id",
          "type": "uint64"
        }
      ]
    }
  • Table row type of transfers

    {
      "name": "transfers_row",
      "base": "",
      "fields": [
        {
          "name": "transfer_id",
          "type": "uint64"
        },
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "ext_quantity",
          "type": "extended_asset"
        },
        {
          "name": "fee",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        },
        {
          "name": "user_id",
          "type": "name"
        },
        {
          "name": "season_id",
          "type": "uint16"
        },
        {
          "name": "round_id",
          "type": "uint16"
        },
        {
          "name": "project_type",
          "type": "name"
        },
        {
          "name": "project_id",
          "type": "name"
        },
        {
          "name": "value",
          "type": "float64"
        },
        {
          "name": "trx_id",
          "type": "checksum256"
        },
        {
          "name": "created_at",
          "type": "time_point_sec"
        }
      ]
    }
  • Action parameter in unjoinround

    {
      "name": "unjoinround",
      "base": "",
      "fields": [
        {
          "name": "grant_id",
          "type": "name"
        },
        {
          "name": "round_id",
          "type": "uint16"
        }
      ]
    }
  • Table row type of users

    {
      "name": "users_row",
      "base": "",
      "fields": [
        {
          "name": "user_id",
          "type": "name"
        },
        {
          "name": "multiplier",
          "type": "float64"
        },
        {
          "name": "value",
          "type": "float64"
        },
        {
          "name": "boost",
          "type": "float64"
        },
        {
          "name": "contributions",
          "type": "contribution_t[]"
        },
        {
          "name": "updated_at",
          "type": "time_point_sec"
        }
      ]
    }
  • Action parameter in value

    {
      "name": "value",
      "base": "",
      "fields": [
        {
          "name": "in",
          "type": "extended_asset"
        }
      ]
    }