Translations:Asset Exchange/162/en

From ArdorDocs
Revision as of 18:34, 23 June 2020 by FuzzyBot (talk | contribs) (Importing a new version from external source)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Request: Refer to Create Transaction Request for common parameters.

  • requestType is setPhasingAssetControl
  • asset the asset to set phasing asset control
  • chain the chain related to the operation
  • controlVotingModel is the voting model or -1 to remove phasing control
  • controlQuorum is the expected quorum (optional)
  • controlMinBalance is the expected minimum balance (optional)
  • controlMinBalanceModel is the expected minimum balance model (optional)
  • controlHolding is the holding ID (optional)
  • controlWhitelisted is the whitelisted accounts (optional, multiple values)
  • controlWhitelisted is the whitelisted accounts (optional, multiple values)

  • controlParams A JSON with all phasing parameters. Use the parsePhasingParams API to get this JSON. If provided, all control* parameters are ignored (optional)

{
  "phasingHolding": "0",
  "phasingQuorum": "1",
  "phasingWhitelist": [
    "11334088826327847491"
  ],
  "phasingMinBalance": "0",
  "phasingMinBalanceModel": 0,
  "phasingVotingModel": 0,
  "description": "ARDOR-XNL5-RLNZ-ZKRT-AQQ2"
}

{
  "phasingHolding": "0",
  "phasingQuorum": "1",
  "phasingMinBalance": "0",
  "phasingMinBalanceModel": 0,
  "phasingExpression": "!fPaul & fAlex",
  "phasingSubPolls": {
    "fAlex": {
      "phasingHolding": "0",
      "phasingQuorum": "1",
      "phasingWhitelist": [
        "7089993074113883968"
      ],
      "phasingMinBalance": "0",
      "phasingMinBalanceModel": 0,
      "phasingVotingModel": 0
    },
    "fPaul": {
      "phasingHolding": "0",
      "phasingQuorum": "1",
      "phasingWhitelist": [
        "9443818116697861381"
      ],
      "phasingMinBalance": "0",
      "phasingMinBalanceModel": 0,
      "phasingVotingModel": 0
    }
  },
  "phasingVotingModel": 6,
  "description": ""
}