@goat-sdk/plugin-mode-voting
TypeScript icon, indicating that this package has built-in type declarations

0.1.6 • Public • Published

Mode governance plugin for Goat. Allows you to interact with Mode's governance system including staking MODE and BPT tokens.

Installation

npm install @goat-sdk/plugin-mode-voting
yarn add @goat-sdk/plugin-mode-voting
pnpm add @goat-sdk/plugin-mode-voting

Usage

import { modeVoting } from "@goat-sdk/plugin-mode-voting";

const tools = await getOnChainTools({
    wallet: // ...
    plugins: [
        modeVoting()
    ]
});

Tools

  • Get gauges
  • Vote on gauges
  • Change votes
  • Get voting power


Readme

Keywords

Package Sidebar

Install

npm i @goat-sdk/plugin-mode-voting

Homepage

ohmygoat.dev

Weekly Downloads

53

Version

0.1.6

License

MIT

Unpacked Size

243 kB

Total Files

48

Last publish

Collaborators

  • aigustin
  • mpaella