Vaulta

daccustodia1

Contract

The data structures defined by this contract.

  • Table row type of candidates

    {
      "name": "candidate",
      "base": "",
      "fields": [
        {
          "name": "candidate_name",
          "type": "name"
        },
        {
          "name": "requestedpay",
          "type": "asset"
        },
        {
          "name": "locked_tokens",
          "type": "asset"
        },
        {
          "name": "total_votes",
          "type": "uint64"
        },
        {
          "name": "is_active",
          "type": "uint8"
        },
        {
          "name": "custodian_end_time_stamp",
          "type": "time_point_sec"
        }
      ]
    }
  • Action parameter in claimpay

    {
      "name": "claimpay",
      "base": "",
      "fields": [
        {
          "name": "payid",
          "type": "uint64"
        }
      ]
    }
  • Struct property of updateconfig

    Table row type of config

    {
      "name": "contr_config",
      "base": "",
      "fields": [
        {
          "name": "lockupasset",
          "type": "asset"
        },
        {
          "name": "maxvotes",
          "type": "uint8"
        },
        {
          "name": "numelected",
          "type": "uint8"
        },
        {
          "name": "periodlength",
          "type": "uint32"
        },
        {
          "name": "authaccount",
          "type": "name"
        },
        {
          "name": "tokenholder",
          "type": "name"
        },
        {
          "name": "serviceprovider",
          "type": "name"
        },
        {
          "name": "should_pay_via_service_provider",
          "type": "bool"
        },
        {
          "name": "initial_vote_quorum_percent",
          "type": "uint32"
        },
        {
          "name": "vote_quorum_percent",
          "type": "uint32"
        },
        {
          "name": "auth_threshold_high",
          "type": "uint8"
        },
        {
          "name": "auth_threshold_mid",
          "type": "uint8"
        },
        {
          "name": "auth_threshold_low",
          "type": "uint8"
        },
        {
          "name": "lockup_release_time_delay",
          "type": "uint32"
        },
        {
          "name": "requested_pay_max",
          "type": "asset"
        }
      ]
    }
  • Table row type of state

    {
      "name": "contr_state",
      "base": "",
      "fields": [
        {
          "name": "lastperiodtime",
          "type": "time_point_sec"
        },
        {
          "name": "total_weight_of_votes",
          "type": "int64"
        },
        {
          "name": "total_votes_on_candidates",
          "type": "int64"
        },
        {
          "name": "number_active_candidates",
          "type": "uint32"
        },
        {
          "name": "met_initial_votes_threshold",
          "type": "bool"
        }
      ]
    }
  • Table row type of custodians

    {
      "name": "custodian",
      "base": "",
      "fields": [
        {
          "name": "cust_name",
          "type": "name"
        },
        {
          "name": "requestedpay",
          "type": "asset"
        },
        {
          "name": "total_votes",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in firecand

    {
      "name": "firecand",
      "base": "",
      "fields": [
        {
          "name": "cand",
          "type": "name"
        },
        {
          "name": "lockupStake",
          "type": "bool"
        }
      ]
    }
  • Action parameter in firecust

    {
      "name": "firecust",
      "base": "",
      "fields": [
        {
          "name": "cust",
          "type": "name"
        }
      ]
    }
  • Action parameter in newperiod

    {
      "name": "newperiod",
      "base": "",
      "fields": [
        {
          "name": "message",
          "type": "string"
        }
      ]
    }
  • Action parameter in nominatecand

    {
      "name": "nominatecand",
      "base": "",
      "fields": [
        {
          "name": "cand",
          "type": "name"
        },
        {
          "name": "requestedpay",
          "type": "asset"
        }
      ]
    }
  • Table row type of pendingpay

    {
      "name": "pay",
      "base": "",
      "fields": [
        {
          "name": "key",
          "type": "uint64"
        },
        {
          "name": "receiver",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Action parameter in resigncust

    {
      "name": "resigncust",
      "base": "",
      "fields": [
        {
          "name": "cust",
          "type": "name"
        }
      ]
    }
  • Action parameter in stprofile

    {
      "name": "stprofile",
      "base": "",
      "fields": [
        {
          "name": "cand",
          "type": "name"
        },
        {
          "name": "profile",
          "type": "string"
        }
      ]
    }
  • Action parameter in stprofileuns

    {
      "name": "stprofileuns",
      "base": "",
      "fields": [
        {
          "name": "cand",
          "type": "name"
        },
        {
          "name": "profile",
          "type": "string"
        }
      ]
    }
  • Table row type of pendingstake

    {
      "name": "tempstake",
      "base": "",
      "fields": [
        {
          "name": "sender",
          "type": "name"
        },
        {
          "name": "quantity",
          "type": "asset"
        },
        {
          "name": "memo",
          "type": "string"
        }
      ]
    }
  • Action parameter in unstake

    {
      "name": "unstake",
      "base": "",
      "fields": [
        {
          "name": "cand",
          "type": "name"
        }
      ]
    }
  • Action parameter in updatebio

    {
      "name": "updatebio",
      "base": "",
      "fields": [
        {
          "name": "cand",
          "type": "name"
        },
        {
          "name": "bio",
          "type": "string"
        }
      ]
    }
  • Action parameter in updateconfig

    {
      "name": "updateconfig",
      "base": "",
      "fields": [
        {
          "name": "newconfig",
          "type": "contr_config"
        }
      ]
    }
  • Action parameter in updatereqpay

    {
      "name": "updatereqpay",
      "base": "",
      "fields": [
        {
          "name": "cand",
          "type": "name"
        },
        {
          "name": "requestedpay",
          "type": "asset"
        }
      ]
    }
  • Table row type of votes

    {
      "name": "vote",
      "base": "",
      "fields": [
        {
          "name": "voter",
          "type": "name"
        },
        {
          "name": "proxy",
          "type": "name"
        },
        {
          "name": "candidates",
          "type": "name[]"
        }
      ]
    }
  • Action parameter in votecust

    {
      "name": "votecust",
      "base": "",
      "fields": [
        {
          "name": "voter",
          "type": "name"
        },
        {
          "name": "newvotes",
          "type": "name[]"
        }
      ]
    }
  • Action parameter in withdrawcand

    {
      "name": "withdrawcand",
      "base": "",
      "fields": [
        {
          "name": "cand",
          "type": "name"
        }
      ]
    }