version: 2
models:
  - name: silver__historical_vote_account
    columns:
      - name: epoch_ingested_at
        description: "Epoch number for when data was ingested"
        tests:
          - not_null
      - name: authorized_voter
        description: "Account responsible for signing vote transactions"
        tests:
          - not_null
      - name: epoch
        description: "last epoch when vote account was active"
      - name: authorized_withdrawer
        description: "Account responsible for signing stake withdrawal transactions"
        tests:
          - not_null
      - name: commission
        description: "% of rewards payout to the vote account"
        tests:
          - not_null
      - name: epoch_credits
        description: "Credits earned by the end of epochs, containing epoch/credits/previous credits"
        tests:
          - not_null
      - name: last_timestamp_slot
        description: "Last slot voted on"
        tests:
          - not_null
      - name: last_timestamp
        description: "The timestamp when last slot was voted on"
        tests:
          - not_null
      - name: node_pubkey
        description: "pubkey for the Solana validator node"
        tests:
          - not_null
      - name: prior_voters
        description: "Prior voters for the vote account"
      - name: root_slot
        description: "latest slot confirmed"
      - name: votes
        description: "Votes during epoch"
        tests:
          - not_null
      - name: account_sol
        description: "SOL assigned to this account"
        tests:
          - not_null
      - name: owner
        description: "Program account that owns the vote account"
        tests:
          - not_null
      - name: rent_epoch
        description: "Epoch at which this account will next owe rent"
        tests:
          - not_null
      - name: vote_pubkey
        description: "Public key for the vote account"
        tests:
          - not_null
