Vaulta

dolphswapdao

Contract

{
  "version": "eosio::abi/1.0",
  "types": [],
  "structs": [
    {
      "name": "option",
      "base": "",
      "fields": [
        {
          "name": "optid",
          "type": "uint32"
        },
        {
          "name": "votes",
          "type": "uint64"
        },
        {
          "name": "ratio",
          "type": "uint32"
        }
      ]
    },
    {
      "name": "proposal",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "type",
          "type": "uint8"
        },
        {
          "name": "epoch",
          "type": "uint32"
        },
        {
          "name": "duration",
          "type": "uint32"
        },
        {
          "name": "state",
          "type": "uint8"
        },
        {
          "name": "votes",
          "type": "uint64"
        },
        {
          "name": "options",
          "type": "option[]"
        }
      ]
    },
    {
      "name": "voter",
      "base": "",
      "fields": [
        {
          "name": "user",
          "type": "name"
        },
        {
          "name": "votes",
          "type": "uint64"
        },
        {
          "name": "option_ids",
          "type": "uint32[]"
        }
      ]
    },
    {
      "name": "votesrcpool",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "poolids",
          "type": "uint64[]"
        }
      ]
    },
    {
      "name": "create",
      "base": "",
      "fields": [
        {
          "name": "type",
          "type": "uint8"
        },
        {
          "name": "epoch",
          "type": "uint32"
        },
        {
          "name": "duration",
          "type": "uint32"
        },
        {
          "name": "option_count",
          "type": "uint32"
        }
      ]
    },
    {
      "name": "remove",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        },
        {
          "name": "force",
          "type": "uint8"
        }
      ]
    },
    {
      "name": "addoption",
      "base": "",
      "fields": [
        {
          "name": "id",
          "type": "uint64"
        }
      ]
    },
    {
      "name": "vote",
      "base": "",
      "fields": [
        {
          "name": "from",
          "type": "name"
        },
        {
          "name": "proposal_id",
          "type": "uint64"
        },
        {
          "name": "option_ids",
          "type": "uint32[]"
        }
      ]
    },
    {
      "name": "depositlog",
      "base": "",
      "fields": [
        {
          "name": "pool_id",
          "type": "uint64"
        },
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "token",
          "type": "uint64"
        },
        {
          "name": "assets",
          "type": "asset[]"
        }
      ]
    },
    {
      "name": "withdrawlog",
      "base": "",
      "fields": [
        {
          "name": "pool_id",
          "type": "uint64"
        },
        {
          "name": "owner",
          "type": "name"
        },
        {
          "name": "token",
          "type": "uint64"
        },
        {
          "name": "assets",
          "type": "asset[]"
        }
      ]
    },
    {
      "name": "dopstakedep",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        }
      ]
    },
    {
      "name": "dopstakewd",
      "base": "",
      "fields": [
        {
          "name": "owner",
          "type": "name"
        }
      ]
    }
  ],
  "actions": [
    {
      "name": "create",
      "type": "create",
      "ricardian_contract": ""
    },
    {
      "name": "remove",
      "type": "remove",
      "ricardian_contract": ""
    },
    {
      "name": "addoption",
      "type": "addoption",
      "ricardian_contract": ""
    },
    {
      "name": "vote",
      "type": "vote",
      "ricardian_contract": ""
    },
    {
      "name": "depositlog",
      "type": "depositlog",
      "ricardian_contract": ""
    },
    {
      "name": "withdrawlog",
      "type": "withdrawlog",
      "ricardian_contract": ""
    },
    {
      "name": "dopstakedep",
      "type": "dopstakedep",
      "ricardian_contract": ""
    },
    {
      "name": "dopstakewd",
      "type": "dopstakewd",
      "ricardian_contract": ""
    }
  ],
  "tables": [
    {
      "name": "proposal",
      "index_type": "i64",
      "key_names": [
        "id"
      ],
      "key_types": [
        "uint64"
      ],
      "type": "proposal"
    },
    {
      "name": "voter",
      "index_type": "i64",
      "key_names": [
        "user"
      ],
      "key_types": [
        "name"
      ],
      "type": "voter"
    },
    {
      "name": "votesrcpool",
      "index_type": "i64",
      "key_names": [
        "id"
      ],
      "key_types": [
        "uint64"
      ],
      "type": "votesrcpool"
    }
  ],
  "ricardian_clauses": [],
  "error_messages": [],
  "abi_extensions": [],
  "variants": [],
  "action_results": []
}