WAX

pollpollpoll

Contract

The data structures defined by this contract.

  • Struct property of submitranks

    {
      "name": "AllRankings",
      "base": "",
      "fields": [
        {
          "name": "allRankings",
          "type": "GroupRanking[]"
        }
      ]
    }
  • Struct property of PoolS

    {
      "name": "CurrSlotS",
      "base": "",
      "fields": [
        {
          "name": "sqrtPriceX64",
          "type": "__uint128_t"
        },
        {
          "name": "tick",
          "type": "int32"
        },
        {
          "name": "lastObservationTimestamp",
          "type": "uint32"
        },
        {
          "name": "currentObservationNum",
          "type": "uint32"
        },
        {
          "name": "maxObservationNum",
          "type": "uint32"
        }
      ]
    }
  • Struct property of AllRankings

    {
      "name": "GroupRanking",
      "base": "",
      "fields": [
        {
          "name": "ranking",
          "type": "name[]"
        }
      ]
    }
  • Table row type of pools

    {
      "name": "PoolS",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "active",
          "type": "bool"
        },
        {
          "name": "tokenA",
          "type": "extended_asset"
        },
        {
          "name": "tokenB",
          "type": "extended_asset"
        },
        {
          "name": "fee",
          "type": "uint32"
        },
        {
          "name": "feeProtocol",
          "type": "uint8"
        },
        {
          "name": "tickSpacing",
          "type": "int32"
        },
        {
          "name": "maxLiquidityPerTick",
          "type": "uint64"
        },
        {
          "name": "currSlot",
          "type": "CurrSlotS"
        },
        {
          "name": "feeGrowthGlobalAX64",
          "type": "__uint128_t"
        },
        {
          "name": "feeGrowthGlobalBX64",
          "type": "__uint128_t"
        },
        {
          "name": "protocolFeeA",
          "type": "asset"
        },
        {
          "name": "protocolFeeB",
          "type": "asset"
        },
        {
          "name": "liquidity",
          "type": "uint64"
        }
      ]
    }
  • Table row type of accounts

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

    {
      "name": "addcommuus",
      "base": "",
      "fields": [
        {
          "name": "community",
          "type": "name"
        },
        {
          "name": "communityname",
          "type": "string"
        },
        {
          "name": "description",
          "type": "string"
        },
        {
          "name": "backgroundurl",
          "type": "string"
        },
        {
          "name": "tokenurl",
          "type": "string"
        },
        {
          "name": "tokensymbol",
          "type": "string"
        },
        {
          "name": "totalcirculation",
          "type": "uint64"
        },
        {
          "name": "creator",
          "type": "name"
        },
        {
          "name": "toksym",
          "type": "symbol"
        },
        {
          "name": "contractname",
          "type": "name"
        },
        {
          "name": "decimals",
          "type": "uint64"
        },
        {
          "name": "maxvotepower",
          "type": "asset"
        }
      ]
    }
  • Action parameter in addfeedata

    {
      "name": "addfeedata",
      "base": "",
      "fields": [
        {
          "name": "votefee",
          "type": "float32"
        },
        {
          "name": "pollfee",
          "type": "float32"
        },
        {
          "name": "communityfee",
          "type": "float32"
        },
        {
          "name": "community",
          "type": "name"
        }
      ]
    }
  • Table row type of avgbalance

    {
      "name": "avgbalance",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "balance",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in changeimg

    {
      "name": "changeimg",
      "base": "",
      "fields": [
        {
          "name": "cid",
          "type": "string"
        },
        {
          "name": "community",
          "type": "name"
        }
      ]
    }
  • Action parameter in close

    {
      "name": "close",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "symbol",
          "type": "symbol"
        }
      ]
    }
  • Table row type of commdata

    {
      "name": "commdata",
      "base": "",
      "fields": [
        {
          "name": "community",
          "type": "name"
        },
        {
          "name": "totalvoters",
          "type": "uint64"
        },
        {
          "name": "totaltokensvoted",
          "type": "uint64"
        },
        {
          "name": "communityname",
          "type": "string"
        },
        {
          "name": "description",
          "type": "string"
        },
        {
          "name": "backgroundurl",
          "type": "string"
        },
        {
          "name": "tokenurl",
          "type": "string"
        },
        {
          "name": "tokensymbol",
          "type": "string"
        },
        {
          "name": "toppoll",
          "type": "uint64"
        },
        {
          "name": "staked",
          "type": "asset"
        },
        {
          "name": "toksym",
          "type": "symbol"
        },
        {
          "name": "contractname",
          "type": "name"
        },
        {
          "name": "totalcirculation",
          "type": "uint64"
        },
        {
          "name": "decimals",
          "type": "uint64"
        }
      ]
    }
  • Table row type of conensus

    {
      "name": "consensus",
      "base": "",
      "fields": [
        {
          "name": "rankings",
          "type": "name[]"
        },
        {
          "name": "groupnr",
          "type": "uint64"
        },
        {
          "name": "submitter",
          "type": "name"
        }
      ]
    }
  • Action parameter in create

    {
      "name": "create",
      "base": "",
      "fields": [
        {
          "name": "issuer",
          "type": "name"
        },
        {
          "name": "maximum_supply",
          "type": "asset"
        }
      ]
    }
  • Action parameter in createpollz

    {
      "name": "createpollz",
      "base": "",
      "fields": [
        {
          "name": "question",
          "type": "string"
        },
        {
          "name": "answers",
          "type": "string[]"
        },
        {
          "name": "totalvote",
          "type": "uint64[]"
        },
        {
          "name": "community",
          "type": "name"
        },
        {
          "name": "creator",
          "type": "name"
        },
        {
          "name": "uniqueurl",
          "type": "string"
        },
        {
          "name": "description",
          "type": "string"
        },
        {
          "name": "pollkey",
          "type": "uint64"
        },
        {
          "name": "toksym",
          "type": "symbol"
        },
        {
          "name": "contractname",
          "type": "name"
        },
        {
          "name": "expiration",
          "type": "uint32"
        }
      ]
    }
  • Table row type of commcreator

    {
      "name": "creatordata",
      "base": "",
      "fields": [
        {
          "name": "creator",
          "type": "name"
        },
        {
          "name": "community",
          "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"
        }
      ]
    }
  • Table row type of datapoints

    {
      "name": "datapoints",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "value",
          "type": "uint64"
        },
        {
          "name": "median",
          "type": "uint64"
        },
        {
          "name": "timestamp",
          "type": "time_point"
        }
      ]
    }
  • Action parameter in deletecomm

    {
      "name": "deletecomm",
      "base": "",
      "fields": [
        {
          "name": "community",
          "type": "name"
        }
      ]
    }
  • Action parameter in deleteleader

    {
      "name": "deleteleader",
      "base": "",
      "fields": [
        {
          "name": "voter",
          "type": "name"
        },
        {
          "name": "community",
          "type": "name"
        }
      ]
    }
  • Action parameter in deletepoll

    {
      "name": "deletepoll",
      "base": "",
      "fields": [
        {
          "name": "pollkey",
          "type": "uint64"
        },
        {
          "name": "creator",
          "type": "name"
        },
        {
          "name": "community",
          "type": "name"
        }
      ]
    }
  • Table row type of divperiod

    {
      "name": "divperiod",
      "base": "",
      "fields": [
        {
          "name": "periodstart",
          "type": "time_point_sec"
        },
        {
          "name": "claimperiod",
          "type": "uint64"
        },
        {
          "name": "periodfreq",
          "type": "int64"
        }
      ]
    }
  • Table row type of electioninfx

    {
      "name": "electioninfx",
      "base": "",
      "fields": [
        {
          "name": "electionnr",
          "type": "uint64"
        },
        {
          "name": "starttime",
          "type": "time_point_sec"
        }
      ]
    }
  • Action parameter in erasememberz

    {
      "name": "erasememberz",
      "base": "",
      "fields": []
    }
  • Table row type of feedata

    {
      "name": "feedata",
      "base": "",
      "fields": [
        {
          "name": "votefee",
          "type": "float32"
        },
        {
          "name": "pollfee",
          "type": "float32"
        },
        {
          "name": "communityfee",
          "type": "float32"
        },
        {
          "name": "community",
          "type": "name"
        }
      ]
    }
  • Table row type of indtotalstkh

    {
      "name": "indtotalstkh",
      "base": "",
      "fields": [
        {
          "name": "staker",
          "type": "name"
        },
        {
          "name": "totalstaked",
          "type": "asset"
        }
      ]
    }
  • Action parameter in issue

    {
      "name": "issue",
      "base": "",
      "fields": [
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Action parameter in issuereward

    {
      "name": "issuereward",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Table row type of kysimused

    {
      "name": "kysimused",
      "base": "",
      "fields": [
        {
          "name": "pollkey",
          "type": "uint64"
        },
        {
          "name": "community",
          "type": "name"
        },
        {
          "name": "creator",
          "type": "name"
        },
        {
          "name": "totalvote",
          "type": "uint64[]"
        },
        {
          "name": "answers",
          "type": "string[]"
        },
        {
          "name": "question",
          "type": "string"
        },
        {
          "name": "description",
          "type": "string"
        },
        {
          "name": "nrofvoters",
          "type": "uint8"
        },
        {
          "name": "sumofallopt",
          "type": "uint64"
        },
        {
          "name": "uniqueurl",
          "type": "string"
        },
        {
          "name": "timecreated",
          "type": "time_point_sec"
        }
      ]
    }
  • Table row type of memberz

    {
      "name": "memberz",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "period_rezpect",
          "type": "uint64[]"
        },
        {
          "name": "meeting_counter",
          "type": "uint8"
        }
      ]
    }
  • Action parameter in modbalance

    {
      "name": "modbalance",
      "base": "",
      "fields": []
    }
  • Action parameter in modcommuus

    {
      "name": "modcommuus",
      "base": "",
      "fields": [
        {
          "name": "community",
          "type": "name"
        },
        {
          "name": "communityname",
          "type": "string"
        },
        {
          "name": "description",
          "type": "string"
        },
        {
          "name": "backgroundurl",
          "type": "string"
        },
        {
          "name": "tokenurl",
          "type": "string"
        },
        {
          "name": "creator",
          "type": "name"
        },
        {
          "name": "totalcirculation",
          "type": "uint64"
        },
        {
          "name": "tokensymbol",
          "type": "string"
        },
        {
          "name": "toksym",
          "type": "symbol"
        },
        {
          "name": "contractname",
          "type": "name"
        },
        {
          "name": "decimals",
          "type": "uint64"
        },
        {
          "name": "maxvotepower",
          "type": "asset"
        }
      ]
    }
  • Action parameter in open

    {
      "name": "open",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "symbol",
          "type": "symbol"
        },
        {
          "name": "ram_payer",
          "type": "name"
        }
      ]
    }
  • Table row type of ordleaders

    {
      "name": "orderlead",
      "base": "",
      "fields": [
        {
          "name": "leader",
          "type": "name"
        }
      ]
    }
  • Table row type of paid

    {
      "name": "paid",
      "base": "",
      "fields": [
        {
          "name": "balance",
          "type": "asset"
        }
      ]
    }
  • Struct property of voters

    {
      "name": "pair_uint8_B_vector_name_E",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "uint8"
        },
        {
          "name": "value",
          "type": "B_vector_name_E"
        }
      ]
    }
  • Struct property of voters

    {
      "name": "pair_uint8_uint32",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "uint8"
        },
        {
          "name": "value",
          "type": "uint32"
        }
      ]
    }
  • Table row type of parimad

    {
      "name": "parimad",
      "base": "",
      "fields": [
        {
          "name": "governor",
          "type": "name"
        },
        {
          "name": "rewardsreceived",
          "type": "asset"
        }
      ]
    }
  • Table row type of personstaked

    {
      "name": "personstaked",
      "base": "",
      "fields": [
        {
          "name": "staker",
          "type": "name"
        },
        {
          "name": "staked",
          "type": "asset"
        }
      ]
    }
  • Action parameter in remaccs

    {
      "name": "remaccs",
      "base": "",
      "fields": [
        {
          "name": "accounts",
          "type": "name[]"
        },
        {
          "name": "community",
          "type": "name"
        },
        {
          "name": "whitelister",
          "type": "name"
        }
      ]
    }
  • Action parameter in retire

    {
      "name": "retire",
      "base": "",
      "fields": [
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Action parameter in rewardamt

    {
      "name": "rewardamt",
      "base": "",
      "fields": [
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "offset",
          "type": "uint8"
        }
      ]
    }
  • Table row type of rewardconfgx

    {
      "name": "rewardconfgx",
      "base": "",
      "fields": [
        {
          "name": "eos_reward_amt",
          "type": "int64"
        },
        {
          "name": "fib_offset",
          "type": "uint8"
        }
      ]
    }
  • Action parameter in setdivper

    {
      "name": "setdivper",
      "base": "",
      "fields": [
        {
          "name": "claimperiod",
          "type": "uint64"
        },
        {
          "name": "periodfreq",
          "type": "int64"
        }
      ]
    }
  • Action parameter in setstate

    {
      "name": "setstate",
      "base": "",
      "fields": [
        {
          "name": "community",
          "type": "name"
        },
        {
          "name": "allowed_creator",
          "type": "uint8"
        },
        {
          "name": "allowed_voter",
          "type": "uint8"
        },
        {
          "name": "setter",
          "type": "name"
        }
      ]
    }
  • Action parameter in settotstkd

    {
      "name": "settotstkd",
      "base": "",
      "fields": [
        {
          "name": "algstk",
          "type": "asset"
        }
      ]
    }
  • Action parameter in stakeforcomm

    {
      "name": "stakeforcomm",
      "base": "",
      "fields": [
        {
          "name": "staker",
          "type": "name"
        },
        {
          "name": "community",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    }
  • Action parameter in startelect

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

    {
      "name": "state",
      "base": "",
      "fields": [
        {
          "name": "community",
          "type": "name"
        },
        {
          "name": "allowed_creator",
          "type": "uint8"
        },
        {
          "name": "allowed_voter",
          "type": "uint8"
        },
        {
          "name": "maxvotepower",
          "type": "int64"
        }
      ]
    }
  • Action parameter in submitcons

    {
      "name": "submitcons",
      "base": "",
      "fields": [
        {
          "name": "groupnr",
          "type": "uint64"
        },
        {
          "name": "rankings",
          "type": "name[]"
        },
        {
          "name": "submitter",
          "type": "name"
        }
      ]
    }
  • Action parameter in submitranks

    {
      "name": "submitranks",
      "base": "",
      "fields": [
        {
          "name": "ranks",
          "type": "AllRankings"
        }
      ]
    }
  • Action parameter in supplydown

    {
      "name": "supplydown",
      "base": "",
      "fields": [
        {
          "name": "issuer",
          "type": "name"
        },
        {
          "name": "maximum_supply",
          "type": "asset"
        }
      ]
    }
  • Action parameter in tokenarvdel

    {
      "name": "tokenarvdel",
      "base": "",
      "fields": [
        {
          "name": "voteri",
          "type": "name"
        },
        {
          "name": "community",
          "type": "name"
        }
      ]
    }
  • Table row type of totalstk

    {
      "name": "totalstk",
      "base": "",
      "fields": [
        {
          "name": "totalstaked",
          "type": "asset"
        }
      ]
    }
  • Action parameter in transfer

    {
      "name": "transfer",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "to",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Action parameter in unstkfromcom

    {
      "name": "unstkfromcom",
      "base": "",
      "fields": [
        {
          "name": "staker",
          "type": "name"
        },
        {
          "name": "community",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        }
      ]
    }
  • Table row type of usrpollopt

    {
      "name": "usrpollopt",
      "base": "",
      "fields": [
        {
          "name": "pollkey",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in usrvotedel

    {
      "name": "usrvotedel",
      "base": "",
      "fields": [
        {
          "name": "voteri",
          "type": "name"
        },
        {
          "name": "pollikey",
          "type": "uint64"
        }
      ]
    }
  • Table row type of voterincoms

    {
      "name": "votercounts",
      "base": "",
      "fields": [
        {
          "name": "voter",
          "type": "name"
        },
        {
          "name": "id",
          "type": "uint64"
        }
      ]
    }
  • Table row type of voters

    {
      "name": "voters",
      "base": "",
      "fields": [
        {
          "name": "poll_id",
          "type": "uint64"
        },
        {
          "name": "optid_users",
          "type": "pair_uint8_B_vector_name_E[]"
        },
        {
          "name": "optid_nrofusers",
          "type": "pair_uint8_uint32[]"
        },
        {
          "name": "expiration",
          "type": "time_point_sec"
        }
      ]
    }
  • Table row type of voterstatzi

    {
      "name": "voterstatzi",
      "base": "",
      "fields": [
        {
          "name": "voter",
          "type": "name"
        },
        {
          "name": "first_vote_time",
          "type": "time_point_sec"
        },
        {
          "name": "dailyvoted",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in votez

    {
      "name": "votez",
      "base": "",
      "fields": [
        {
          "name": "usersvote",
          "type": "uint64"
        },
        {
          "name": "pollkey",
          "type": "uint64"
        },
        {
          "name": "option",
          "type": "uint8"
        },
        {
          "name": "community",
          "type": "name"
        },
        {
          "name": "voter",
          "type": "name"
        }
      ]
    }
  • Table row type of approvedaccs

    {
      "name": "white",
      "base": "",
      "fields": [
        {
          "name": "accounts",
          "type": "name"
        }
      ]
    }
  • Action parameter in whiteaccs

    {
      "name": "whiteaccs",
      "base": "",
      "fields": [
        {
          "name": "accounts",
          "type": "name[]"
        },
        {
          "name": "community",
          "type": "name"
        },
        {
          "name": "whitelister",
          "type": "name"
        }
      ]
    }