Vaulta

dadgovernanc

Contract

The data structures defined by this contract.

  • Action parameter in cleanup

    {
      "name": "cleanup",
      "base": "",
      "fields": [
        {
          "name": "proposal_id",
          "type": "uint64"
        }
      ]
    }
  • Table row type of stat

    {
      "name": "currency_stats",
      "base": "",
      "fields": [
        {
          "name": "supply",
          "type": "asset"
        },
        {
          "name": "max_supply",
          "type": "asset"
        },
        {
          "name": "issuer",
          "type": "name"
        }
      ]
    }
  • Action parameter in feecheck

    {
      "name": "feecheck",
      "base": "",
      "fields": [
        {
          "name": "proposal_id",
          "type": "uint64"
        },
        {
          "name": "proposer",
          "type": "name"
        },
        {
          "name": "feeamt",
          "type": "asset"
        },
        {
          "name": "message",
          "type": "string"
        }
      ]
    }
  • Action parameter in fix

    {
      "name": "fix",
      "base": "",
      "fields": []
    }
  • Table row type of fixsett1

    {
      "name": "fixsett",
      "base": "",
      "fields": [
        {
          "name": "isfixed",
          "type": "bool"
        }
      ]
    }
  • Action parameter in implement

    {
      "name": "implement",
      "base": "",
      "fields": [
        {
          "name": "proposal_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in incrlocktm

    {
      "name": "incrlocktm",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "maturityinhr",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in initlock

    {
      "name": "initlock",
      "base": "",
      "fields": []
    }
  • Action parameter in initpatch

    {
      "name": "initpatch",
      "base": "",
      "fields": []
    }
  • Action parameter in inittotstake

    {
      "name": "inittotstake",
      "base": "",
      "fields": []
    }
  • Action parameter in lock

    {
      "name": "lock",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "unlockhrs",
          "type": "uint64"
        }
      ]
    }
  • Table row type of lockinfos

    {
      "name": "lockinfo",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "lockedamt",
          "type": "asset"
        },
        {
          "name": "initiatedat",
          "type": "time_point_sec"
        },
        {
          "name": "unlocktime",
          "type": "time_point_sec"
        }
      ]
    }
  • Action parameter in modtotdadlck

    {
      "name": "modtotdadlck",
      "base": "",
      "fields": []
    }
  • Table row type of patchsupp1

    {
      "name": "patchsupp",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "supply",
          "type": "asset"
        }
      ]
    }
  • Table row type of patchtab1

    {
      "name": "patchtab",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "amount",
          "type": "asset"
        },
        {
          "name": "initamount",
          "type": "asset"
        },
        {
          "name": "requested_at",
          "type": "time_point_sec"
        },
        {
          "name": "isdeposit",
          "type": "bool"
        },
        {
          "name": "isvoteporp",
          "type": "bool"
        }
      ]
    }
  • Table row type of proposal2

    {
      "name": "prop_struct",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "proposer",
          "type": "name"
        },
        {
          "name": "title",
          "type": "string"
        },
        {
          "name": "summary",
          "type": "string"
        },
        {
          "name": "ipfsurl",
          "type": "string"
        },
        {
          "name": "created_at",
          "type": "time_point_sec"
        },
        {
          "name": "status",
          "type": "string"
        },
        {
          "name": "approved_at",
          "type": "time_point_sec"
        },
        {
          "name": "accepted_at",
          "type": "time_point_sec"
        },
        {
          "name": "rejected_at",
          "type": "time_point_sec"
        },
        {
          "name": "vote_active",
          "type": "bool"
        },
        {
          "name": "isapproved",
          "type": "bool"
        }
      ]
    }
  • Action parameter in proposal

    {
      "name": "proposal",
      "base": "",
      "fields": [
        {
          "name": "proposer",
          "type": "name"
        },
        {
          "name": "title",
          "type": "string"
        },
        {
          "name": "summary",
          "type": "string"
        },
        {
          "name": "ipfsurl",
          "type": "string"
        }
      ]
    }
  • Action parameter in resetusrwt

    {
      "name": "resetusrwt",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "round",
          "type": "uint64"
        }
      ]
    }
  • Table row type of rounddet

    Table row type of rounddet1

    {
      "name": "rounddet",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "currround",
          "type": "uint64"
        },
        {
          "name": "round_started",
          "type": "time_point_sec"
        },
        {
          "name": "round_ends",
          "type": "time_point_sec"
        },
        {
          "name": "lastcurveapp",
          "type": "uint64"
        },
        {
          "name": "currround_amount",
          "type": "asset"
        },
        {
          "name": "prev_roundamt",
          "type": "asset"
        }
      ]
    }
  • Action parameter in setconfig

    {
      "name": "setconfig",
      "base": "",
      "fields": [
        {
          "name": "proposer_fee",
          "type": "asset"
        },
        {
          "name": "accept_vote_per",
          "type": "uint32"
        },
        {
          "name": "approved_vote_per",
          "type": "uint32"
        },
        {
          "name": "tokensymbol",
          "type": "symbol"
        },
        {
          "name": "tokencontract",
          "type": "name"
        },
        {
          "name": "timelock_hours",
          "type": "uint8"
        },
        {
          "name": "approval_hours",
          "type": "uint8"
        },
        {
          "name": "accepted_hours",
          "type": "uint8"
        },
        {
          "name": "feecontract",
          "type": "name"
        }
      ]
    }
  • Table row type of setting2

    {
      "name": "settings",
      "base": "",
      "fields": [
        {
          "name": "proposer_fee",
          "type": "asset"
        },
        {
          "name": "accept_vote_per",
          "type": "uint32"
        },
        {
          "name": "approved_vote_per",
          "type": "uint32"
        },
        {
          "name": "tokensymbol",
          "type": "symbol"
        },
        {
          "name": "tokencontract",
          "type": "name"
        },
        {
          "name": "feescontract",
          "type": "name"
        },
        {
          "name": "timelock_hours",
          "type": "uint8"
        },
        {
          "name": "approval_hours",
          "type": "uint8"
        },
        {
          "name": "accepted_hours",
          "type": "uint8"
        }
      ]
    }
  • Table row type of stake2

    {
      "name": "staking",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "balance",
          "type": "asset"
        }
      ]
    }
  • Table row type of tokdistr2

    {
      "name": "tokdistr",
      "base": "",
      "fields": [
        {
          "name": "dtoken",
          "type": "symbol"
        },
        {
          "name": "dtokcon",
          "type": "name"
        },
        {
          "name": "weight",
          "type": "float32"
        }
      ]
    }
  • Table row type of totallock1

    {
      "name": "totallock",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint8"
        },
        {
          "name": "oldtotamt",
          "type": "asset"
        },
        {
          "name": "newtotamt",
          "type": "asset"
        },
        {
          "name": "newuserwt",
          "type": "float64"
        },
        {
          "name": "tobeclaimed",
          "type": "asset"
        }
      ]
    }
  • Table row type of totalstake

    {
      "name": "totalstake",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint8"
        },
        {
          "name": "balance",
          "type": "asset"
        }
      ]
    }
  • Table row type of totalvcrv

    {
      "name": "totalvcrv",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint8"
        },
        {
          "name": "totalvcrv",
          "type": "float64"
        },
        {
          "name": "lastupdate",
          "type": "time_point_sec"
        }
      ]
    }
  • Table row type of totalwght3

    {
      "name": "totalwght",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "totwght",
          "type": "float64"
        }
      ]
    }
  • Action parameter in unlock

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

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

    {
      "name": "updatetally",
      "base": "",
      "fields": [
        {
          "name": "proposal_id",
          "type": "uint64"
        }
      ]
    }
  • Action parameter in vote

    {
      "name": "vote",
      "base": "",
      "fields": [
        {
          "name": "voter",
          "type": "name"
        },
        {
          "name": "proposal_id",
          "type": "uint64"
        },
        {
          "name": "vote_side",
          "type": "uint8"
        }
      ]
    }
  • Table row type of votes2

    {
      "name": "voteconfig",
      "base": "",
      "fields": [
        {
          "name": "proposal_id",
          "type": "uint64"
        },
        {
          "name": "vote_yes",
          "type": "asset"
        },
        {
          "name": "vote_no",
          "type": "asset"
        },
        {
          "name": "total_votes",
          "type": "asset"
        }
      ]
    }
  • Table row type of voters2

    {
      "name": "voter",
      "base": "",
      "fields": [
        {
          "name": "voter",
          "type": "name"
        },
        {
          "name": "vote_side",
          "type": "uint8"
        },
        {
          "name": "vote",
          "type": "asset"
        }
      ]
    }
  • Table row type of weightage3

    {
      "name": "weightage",
      "base": "",
      "fields": [
        {
          "name": "account",
          "type": "name"
        },
        {
          "name": "userwgt",
          "type": "float64"
        },
        {
          "name": "updatedat",
          "type": "time_point_sec"
        }
      ]
    }