Telos

eosio.trail

Contract

The data structures defined by this contract.

  • Action parameter in addcandidate

    {
      "name": "addcandidate",
      "base": "",
      "fields": [
        {
          "name": "publisher",
          "type": "name"
        },
        {
          "name": "ballot_id",
          "type": "uint64"
        },
        {
          "name": "new_candidate",
          "type": "name"
        },
        {
          "name": "info_link",
          "type": "string"
        }
      ]
    }
  • Table row type of airgrabs

    {
      "name": "airgrab",
      "base": "",
      "fields": [
        {
          "name": "recipient",
          "type": "name"
        },
        {
          "name": "tokens",
          "type": "asset"
        }
      ]
    }
  • Table row type of balances

    {
      "name": "balance",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "tokens",
          "type": "asset"
        }
      ]
    }
  • Table row type of ballots

    {
      "name": "ballot",
      "base": "",
      "fields": [
        {
          "name": "ballot_id",
          "type": "uint64"
        },
        {
          "name": "table_id",
          "type": "uint8"
        },
        {
          "name": "reference_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in burntoken

    {
      "name": "burntoken",
      "base": "",
      "fields": [
        {
          "name": "balance_owner",
          "type": "name"
        },
        {
          "name": "amount",
          "type": "asset"
        }
      ]
    }
  • Struct property of election

    Struct property of leaderboard

    Struct property of setallcands

    {
      "name": "candidate",
      "base": "",
      "fields": [
        {
          "name": "member",
          "type": "name"
        },
        {
          "name": "info_link",
          "type": "string"
        },
        {
          "name": "votes",
          "type": "asset"
        },
        {
          "name": "status",
          "type": "uint8"
        }
      ]
    }
  • Action parameter in castvote

    {
      "name": "castvote",
      "base": "",
      "fields": [
        {
          "name": "voter",
          "type": "name"
        },
        {
          "name": "ballot_id",
          "type": "uint64"
        },
        {
          "name": "direction",
          "type": "uint16"
        }
      ]
    }
  • Action parameter in claimairgrab

    {
      "name": "claimairgrab",
      "base": "",
      "fields": [
        {
          "name": "claimant",
          "type": "name"
        },
        {
          "name": "publisher",
          "type": "name"
        },
        {
          "name": "token_symbol",
          "type": "symbol"
        }
      ]
    }
  • Action parameter in closeballot

    {
      "name": "closeballot",
      "base": "",
      "fields": [
        {
          "name": "publisher",
          "type": "name"
        },
        {
          "name": "ballot_id",
          "type": "uint64"
        },
        {
          "name": "pass",
          "type": "uint8"
        }
      ]
    }
  • Table row type of counterbals

    {
      "name": "counter_balance",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "decayable_cb",
          "type": "asset"
        },
        {
          "name": "persistent_cb",
          "type": "asset"
        },
        {
          "name": "last_decay",
          "type": "uint32"
        }
      ]
    }
  • Action parameter in deloldvotes

    {
      "name": "deloldvotes",
      "base": "",
      "fields": [
        {
          "name": "voter",
          "type": "name"
        },
        {
          "name": "num_to_delete",
          "type": "uint16"
        }
      ]
    }
  • Table row type of elections

    {
      "name": "election",
      "base": "",
      "fields": [
        {
          "name": "election_id",
          "type": "uint64"
        },
        {
          "name": "publisher",
          "type": "name"
        },
        {
          "name": "info_url",
          "type": "string"
        },
        {
          "name": "candidates",
          "type": "candidate[]"
        },
        {
          "name": "unique_voters",
          "type": "uint32"
        },
        {
          "name": "voting_symbol",
          "type": "symbol"
        },
        {
          "name": "begin_time",
          "type": "uint32"
        },
        {
          "name": "end_time",
          "type": "uint32"
        }
      ]
    }
  • Table row type of environment

    {
      "name": "env",
      "base": "",
      "fields": [
        {
          "name": "publisher",
          "type": "name"
        },
        {
          "name": "totals",
          "type": "uint64[]"
        },
        {
          "name": "time_now",
          "type": "uint32"
        },
        {
          "name": "last_ballot_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in initsettings

    {
      "name": "initsettings",
      "base": "",
      "fields": [
        {
          "name": "publisher",
          "type": "name"
        },
        {
          "name": "token_symbol",
          "type": "symbol"
        },
        {
          "name": "new_settings",
          "type": "token_settings"
        }
      ]
    }
  • Action parameter in issuetoken

    {
      "name": "issuetoken",
      "base": "",
      "fields": [
        {
          "name": "publisher",
          "type": "name"
        },
        {
          "name": "recipient",
          "type": "name"
        },
        {
          "name": "tokens",
          "type": "asset"
        },
        {
          "name": "airgrab",
          "type": "bool"
        }
      ]
    }
  • Table row type of leaderboards

    {
      "name": "leaderboard",
      "base": "",
      "fields": [
        {
          "name": "board_id",
          "type": "uint64"
        },
        {
          "name": "publisher",
          "type": "name"
        },
        {
          "name": "info_url",
          "type": "string"
        },
        {
          "name": "candidates",
          "type": "candidate[]"
        },
        {
          "name": "unique_voters",
          "type": "uint32"
        },
        {
          "name": "voting_symbol",
          "type": "symbol"
        },
        {
          "name": "available_seats",
          "type": "uint8"
        },
        {
          "name": "begin_time",
          "type": "uint32"
        },
        {
          "name": "end_time",
          "type": "uint32"
        },
        {
          "name": "status",
          "type": "uint8"
        }
      ]
    }
  • Action parameter in lowermax

    {
      "name": "lowermax",
      "base": "",
      "fields": [
        {
          "name": "publisher",
          "type": "name"
        },
        {
          "name": "amount",
          "type": "asset"
        }
      ]
    }
  • Action parameter in mirrorcast

    {
      "name": "mirrorcast",
      "base": "",
      "fields": [
        {
          "name": "voter",
          "type": "name"
        },
        {
          "name": "token_symbol",
          "type": "symbol"
        }
      ]
    }
  • Action parameter in nextcycle

    {
      "name": "nextcycle",
      "base": "",
      "fields": [
        {
          "name": "publisher",
          "type": "name"
        },
        {
          "name": "ballot_id",
          "type": "uint64"
        },
        {
          "name": "new_begin_time",
          "type": "uint32"
        },
        {
          "name": "new_end_time",
          "type": "uint32"
        }
      ]
    }
  • Table row type of proposals

    {
      "name": "proposal",
      "base": "",
      "fields": [
        {
          "name": "prop_id",
          "type": "uint64"
        },
        {
          "name": "publisher",
          "type": "name"
        },
        {
          "name": "info_url",
          "type": "string"
        },
        {
          "name": "no_count",
          "type": "asset"
        },
        {
          "name": "yes_count",
          "type": "asset"
        },
        {
          "name": "abstain_count",
          "type": "asset"
        },
        {
          "name": "unique_voters",
          "type": "uint32"
        },
        {
          "name": "begin_time",
          "type": "uint32"
        },
        {
          "name": "end_time",
          "type": "uint32"
        },
        {
          "name": "cycle_count",
          "type": "uint16"
        },
        {
          "name": "status",
          "type": "uint8"
        }
      ]
    }
  • Action parameter in raisemax

    {
      "name": "raisemax",
      "base": "",
      "fields": [
        {
          "name": "publisher",
          "type": "name"
        },
        {
          "name": "amount",
          "type": "asset"
        }
      ]
    }
  • Action parameter in regballot

    {
      "name": "regballot",
      "base": "",
      "fields": [
        {
          "name": "publisher",
          "type": "name"
        },
        {
          "name": "ballot_type",
          "type": "uint8"
        },
        {
          "name": "voting_symbol",
          "type": "symbol"
        },
        {
          "name": "begin_time",
          "type": "uint32"
        },
        {
          "name": "end_time",
          "type": "uint32"
        },
        {
          "name": "info_url",
          "type": "string"
        }
      ]
    }
  • Table row type of registries

    {
      "name": "registry",
      "base": "",
      "fields": [
        {
          "name": "max_supply",
          "type": "asset"
        },
        {
          "name": "supply",
          "type": "asset"
        },
        {
          "name": "total_voters",
          "type": "uint32"
        },
        {
          "name": "total_proxies",
          "type": "uint32"
        },
        {
          "name": "publisher",
          "type": "name"
        },
        {
          "name": "info_url",
          "type": "string"
        },
        {
          "name": "settings",
          "type": "token_settings"
        }
      ]
    }
  • Action parameter in regtoken

    {
      "name": "regtoken",
      "base": "",
      "fields": [
        {
          "name": "max_supply",
          "type": "asset"
        },
        {
          "name": "publisher",
          "type": "name"
        },
        {
          "name": "info_url",
          "type": "string"
        }
      ]
    }
  • Action parameter in regvoter

    {
      "name": "regvoter",
      "base": "",
      "fields": [
        {
          "name": "voter",
          "type": "name"
        },
        {
          "name": "token_symbol",
          "type": "symbol"
        }
      ]
    }
  • Action parameter in rmvcandidate

    {
      "name": "rmvcandidate",
      "base": "",
      "fields": [
        {
          "name": "publisher",
          "type": "name"
        },
        {
          "name": "ballot_id",
          "type": "uint64"
        },
        {
          "name": "candidate",
          "type": "name"
        }
      ]
    }
  • Action parameter in seizeairgrab

    {
      "name": "seizeairgrab",
      "base": "",
      "fields": [
        {
          "name": "publisher",
          "type": "name"
        },
        {
          "name": "recipient",
          "type": "name"
        },
        {
          "name": "amount",
          "type": "asset"
        }
      ]
    }
  • Action parameter in seizebygroup

    {
      "name": "seizebygroup",
      "base": "",
      "fields": [
        {
          "name": "publisher",
          "type": "name"
        },
        {
          "name": "group",
          "type": "name[]"
        },
        {
          "name": "amount",
          "type": "asset"
        }
      ]
    }
  • Action parameter in seizetoken

    {
      "name": "seizetoken",
      "base": "",
      "fields": [
        {
          "name": "publisher",
          "type": "name"
        },
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "tokens",
          "type": "asset"
        }
      ]
    }
  • Action parameter in setallcands

    {
      "name": "setallcands",
      "base": "",
      "fields": [
        {
          "name": "publisher",
          "type": "name"
        },
        {
          "name": "ballot_id",
          "type": "uint64"
        },
        {
          "name": "new_candidates",
          "type": "candidate[]"
        }
      ]
    }
  • Action parameter in setallstats

    {
      "name": "setallstats",
      "base": "",
      "fields": [
        {
          "name": "publisher",
          "type": "name"
        },
        {
          "name": "ballot_id",
          "type": "uint64"
        },
        {
          "name": "new_cand_statuses",
          "type": "uint8[]"
        }
      ]
    }
  • Action parameter in setseats

    {
      "name": "setseats",
      "base": "",
      "fields": [
        {
          "name": "publisher",
          "type": "name"
        },
        {
          "name": "ballot_id",
          "type": "uint64"
        },
        {
          "name": "num_seats",
          "type": "uint8"
        }
      ]
    }
  • Struct property of initsettings

    Struct property of registry

    {
      "name": "token_settings",
      "base": "",
      "fields": [
        {
          "name": "is_destructible",
          "type": "bool"
        },
        {
          "name": "is_proxyable",
          "type": "bool"
        },
        {
          "name": "is_burnable",
          "type": "bool"
        },
        {
          "name": "is_seizable",
          "type": "bool"
        },
        {
          "name": "is_max_mutable",
          "type": "bool"
        },
        {
          "name": "is_transferable",
          "type": "bool"
        },
        {
          "name": "is_recastable",
          "type": "bool"
        },
        {
          "name": "is_initialized",
          "type": "bool"
        },
        {
          "name": "counterbal_decay_rate",
          "type": "uint32"
        },
        {
          "name": "lock_after_initialize",
          "type": "bool"
        }
      ]
    }
  • Action parameter in transfer

    {
      "name": "transfer",
      "base": "",
      "fields": [
        {
          "name": "sender",
          "type": "name"
        },
        {
          "name": "recipient",
          "type": "name"
        },
        {
          "name": "amount",
          "type": "asset"
        }
      ]
    }
  • Action parameter in unregballot

    {
      "name": "unregballot",
      "base": "",
      "fields": [
        {
          "name": "publisher",
          "type": "name"
        },
        {
          "name": "ballot_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in unregtoken

    {
      "name": "unregtoken",
      "base": "",
      "fields": [
        {
          "name": "token_symbol",
          "type": "symbol"
        },
        {
          "name": "publisher",
          "type": "name"
        }
      ]
    }
  • Action parameter in unregvoter

    {
      "name": "unregvoter",
      "base": "",
      "fields": [
        {
          "name": "voter",
          "type": "name"
        },
        {
          "name": "token_symbol",
          "type": "symbol"
        }
      ]
    }
  • Table row type of votereceipts

    {
      "name": "vote_receipt",
      "base": "",
      "fields": [
        {
          "name": "ballot_id",
          "type": "uint64"
        },
        {
          "name": "directions",
          "type": "uint16[]"
        },
        {
          "name": "weight",
          "type": "asset"
        },
        {
          "name": "expiration",
          "type": "uint32"
        }
      ]
    }