@goat-sdk/plugin-mode-voting
v0.1.6
Published
<div align="center"> <a href="https://github.com/goat-sdk/goat">
Readme
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-votingUsage
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
