Jungle 4 (Testnet)

sentiment.gm

合约

此合约的操作及其输入参数和潜在的响应数据。

  • Bulk Remove Votes

    Maintainer action to remove multiple votes from a topic for administrative purposes. Removes up to the specified number of votes.

    请求参数
    topic_id name
    num_votes uint32
  • Change Vote

    Allows a user to change their existing vote on a topic from support to opposition or vice versa.

    请求参数
    voter name
    topic_id name
    vote_type uint8
  • Create Topic

    Creates a new topic with the specified ID and description.

    请求参数
    creator name
    id name
    description string
    payment asset
  • Delete Topic

    Deletes an existing topic from the registry.

    请求参数
    id name
  • Disable Contract

    Maintainer action to disable the contract, preventing user actions from being executed.

    请求参数
    没有操作参数。
  • Enable Contract

    Maintainer action to enable the contract, allowing user actions to be executed.

    请求参数
    没有操作参数。
  • 请求参数
    voter name
    account name
    响应对象
    voter name
    account name
    vote_type uint8
  • 请求参数
    account name
    响应数组
    ... get_account_vote_response[]
  • 请求参数
    voter name
    响应对象
    voter name
    system_staked int64
    system_liquid int64
    ram_bytes int64
    v_staked int64
    v_liquid int64
  • 请求参数
    voters name[]
  • 请求参数
    voter name
    proposer name
    proposal_name name
    响应对象
    voter name
    proposer name
    proposal_name name
    vote_type uint8
  • 请求参数
    proposer name
    proposal_name name
    响应数组
    ... get_msig_vote_response[]
  • Get Topic

    Read-only action to retrieve a topic by its ID.

    请求参数
    id name
    响应对象
    id name
    description string
    creator name
  • Get All Topics

    Read-only action to retrieve all topics from the registry.

    请求参数
    没有操作参数。
    响应数组
    ... get_topic_response[]
  • 请求参数
    voter name
    topic_id name
    响应对象
    voter name
    topic_id name
    vote_type uint8
  • 请求参数
    topic_id name
    响应数组
    ... get_topic_vote_response[]
  • 请求参数
    voter name
    topic_id name
    响应对象
    voter name
    topic_id name
    vote_type uint8
  • Get All Voters

    Read-only action to retrieve all voters and their votes for a specific topic.

    请求参数
    topic_id name
    响应数组
    ... get_topic_vote_response[]
  • Get Voter Weight

    Read-only action to retrieve the voting weight of a voter based on their staked tokens in the system contract.

    请求参数
    voter name
    响应对象
    voter name
    weight int64
  • Get Multiple Voter Weights

    Read-only action to retrieve the voting weights of multiple voters based on their staked tokens in the system contract.

    请求参数
    voters name[]
    响应数组
    ... get_voter_weight_response[]
  • 请求参数
    account name
  • Remove Vote

    Allows a user to remove their vote from a topic.

    请求参数
    voter name
    topic_id name
  • 请求参数
    没有操作参数。
  • 请求参数
    voter name
    account name
  • 请求参数
    voter name
    proposer name
    proposal_name name
  • 请求参数
    voter name
    topic_id name
  • Set Contract Configuration

    Maintainer action to set the values of the config table to update how this contract operates.

    请求参数
    system_contract name
    token_contract name
    token_action name
    token_symbol symbol
    fee_receiver name
    createtopic_fee asset
  • 请求参数
    metrics metrics_config
  • Update Topic

    Updates the description of an existing topic.

    请求参数
    id name
    description string
  • Vote on Topic

    Allows a user to express their sentiment (support or opposition) on a topic.

    请求参数
    voter name
    topic_id name
    vote_type uint8
  • 请求参数
    voter name
    account name
    vote_type uint8
  • 请求参数
    voter name
    proposer name
    proposal_name name
    vote_type uint8
  • 请求参数
    voter name
    topic_id name
    vote_type uint8
  • 请求参数
    account name
    quantity asset