Vaulta

echanneldtio

Contract

The data structures defined by this contract.

  • Table row type of question

    {
      "name": "question",
      "base": "",
      "fields": [
        {
          "name": "question_key",
          "type": "uint64"
        },
        {
          "name": "body",
          "type": "string"
        },
        {
          "name": "user_key",
          "type": "uint64"
        },
        {
          "name": "pub_key",
          "type": "string"
        },
        {
          "name": "point",
          "type": "uint64"
        },
        {
          "name": "answer_count",
          "type": "uint64"
        },
        {
          "name": "allpoint",
          "type": "uint64"
        },
        {
          "name": "time_stamp",
          "type": "time_point_sec"
        }
      ]
    }
  • Table row type of answer

    {
      "name": "answer",
      "base": "",
      "fields": [
        {
          "name": "answer_key",
          "type": "uint64"
        },
        {
          "name": "question_key",
          "type": "uint64"
        },
        {
          "name": "body",
          "type": "string"
        },
        {
          "name": "user_key",
          "type": "uint64"
        },
        {
          "name": "pub_key",
          "type": "string"
        },
        {
          "name": "point",
          "type": "uint64"
        },
        {
          "name": "time_stamp",
          "type": "time_point_sec"
        }
      ]
    }
  • Table row type of user

    {
      "name": "user",
      "base": "",
      "fields": [
        {
          "name": "user_key",
          "type": "uint64"
        },
        {
          "name": "pub_key",
          "type": "string"
        },
        {
          "name": "meta",
          "type": "string"
        },
        {
          "name": "point",
          "type": "uint64"
        },
        {
          "name": "count",
          "type": "uint64"
        }
      ]
    }
  • Table row type of rate

    {
      "name": "rate",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "rate",
          "type": "float64"
        },
        {
          "name": "time_stamp",
          "type": "time_point_sec"
        }
      ]
    }
  • Table row type of supply

    {
      "name": "supply",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "total_supply",
          "type": "uint64"
        },
        {
          "name": "time_stamp",
          "type": "time_point_sec"
        }
      ]
    }
  • Action parameter in registeruser

    {
      "name": "registeruser",
      "base": "",
      "fields": [
        {
          "name": "pub_key",
          "type": "string"
        },
        {
          "name": "sender",
          "type": "name"
        },
        {
          "name": "meta",
          "type": "string"
        },
        {
          "name": "sig",
          "type": "signature"
        }
      ]
    }
  • Action parameter in addquestion

    {
      "name": "addquestion",
      "base": "",
      "fields": [
        {
          "name": "body",
          "type": "string"
        },
        {
          "name": "sender",
          "type": "name"
        },
        {
          "name": "sig",
          "type": "signature"
        },
        {
          "name": "rec_pub_key",
          "type": "string"
        }
      ]
    }
  • Action parameter in addanswer

    {
      "name": "addanswer",
      "base": "",
      "fields": [
        {
          "name": "question_key",
          "type": "uint64"
        },
        {
          "name": "body",
          "type": "string"
        },
        {
          "name": "sender",
          "type": "name"
        },
        {
          "name": "sig",
          "type": "signature"
        },
        {
          "name": "rec_pub_key",
          "type": "string"
        }
      ]
    }
  • Action parameter in tipquestion

    {
      "name": "tipquestion",
      "base": "",
      "fields": [
        {
          "name": "question_key",
          "type": "uint64"
        },
        {
          "name": "point",
          "type": "uint64"
        },
        {
          "name": "sender",
          "type": "name"
        },
        {
          "name": "sig",
          "type": "signature"
        },
        {
          "name": "rec_pub_key",
          "type": "string"
        }
      ]
    }
  • Action parameter in tipanswer

    {
      "name": "tipanswer",
      "base": "",
      "fields": [
        {
          "name": "answer_key",
          "type": "uint64"
        },
        {
          "name": "point",
          "type": "uint64"
        },
        {
          "name": "sender",
          "type": "name"
        },
        {
          "name": "sig",
          "type": "signature"
        },
        {
          "name": "rec_pub_key",
          "type": "string"
        }
      ]
    }
  • Action parameter in exchange

    {
      "name": "exchange",
      "base": "",
      "fields": [
        {
          "name": "username",
          "type": "name"
        },
        {
          "name": "point",
          "type": "uint64"
        },
        {
          "name": "sig",
          "type": "signature"
        },
        {
          "name": "sender",
          "type": "name"
        },
        {
          "name": "rec_pub_key",
          "type": "string"
        }
      ]
    }
  • Action parameter in updaterate

    {
      "name": "updaterate",
      "base": "",
      "fields": [
        {
          "name": "rate",
          "type": "float64"
        }
      ]
    }
  • Action parameter in createsupply

    {
      "name": "createsupply",
      "base": "",
      "fields": [
        {
          "name": "supply",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in sendpoint

    {
      "name": "sendpoint",
      "base": "",
      "fields": [
        {
          "name": "index",
          "type": "uint64"
        },
        {
          "name": "point",
          "type": "uint64"
        }
      ]
    }