1.0.7 • Published 2 years ago

@beethovenx/stage-gauge-txs v1.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

This CLI is intended for admins of the gauge vote to stage farm changes whih will then be executed by the MasterChef multisig.

Installation

npm install -g @beethovenx/stage-gauge-txs

Usage

This script requires usage of the Frame wallet!

After installing globally

stage-gauge-txs -f changes.json -n <network> -e <eta>

with npx

npx @beethovenx/stage-gauge-txs -f changes.json -n <network> -e <eta>

Options

-n, --network   rinkeby | fantom
-f, --file      json file relative to current directory
-e, --eta       Timestamp for timelock execution

Config File

The file is an array of farm additions or modifications with the following fields:

 type: edit | add
 add: 
    lpToken: Address of BPT
    allocationPoints: distribution weight
    rewarder: Address of rewarder contract - optional, defaults to Zero Address
edit:
    pid: pool ID
    allocationPoints: distribution weight
    rewarder: Address of rewarder - optional, if provided will be overwritten!

Example

[
  {
    "type": "add",
    "lpToken": "0xbdc8483c96864a00910d2f16f003823cdf688604",
    "allocationPoints": 10,
    "rewarder": "0x1238483c96864a00910d2f16f003823cdf68ab03"
  },
  {
    "type": "edit",
    "pid": 0,
    "allocationPoints": 5
  }
]
1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago