GithubHelp home page GithubHelp logo

pm-liquidity-incentive-cli's Introduction

pm-cli

oclif

Usage

Running directly from repository root folder:

$ ./bin/run COMMAND
running command...
$ ./bin/run (-v|--version|version)
pm-cli/0.0.1 linux-x64 node-v12.16.3
$ ./bin/run --help [COMMAND]
USAGE
  $ pm-cli COMMAND

Commands

pm-cli get-funding-events

Use this command to query for funding events in a selected market. It will show a table showing funding added or removed ordered by time. It can be filtered using a start and an end date.

USAGE
  $ pm-cli get-funding-events

OPTIONS
  -m, --market=maketAddress  market address to search for events
  --fromDate=startDate  Date in which you would like to start to check for events
  --toDate=endDate  Date to stop searching for events

DESCRIPTION
  Returns a list of all the events in the given time period. If no time period is selected it will assume fromDate
  to be 1 month ago current date and toDate to be current date.

See code: src/commands/get-funding-events.js

pm-cli get-address-participation

Use this command to get address participation in a market funding during a time frame

USAGE
  $ pm-cli get-address-participation

OPTIONS
  -m, --market=maketAddress  market address to search for events
  --fromDate=startDate  Date in which you would like to start to check for events
  --toDate=endDate  Date to stop searching for events
  -r, --reward=reward Reward to split between participants providing liquidity to the market

DESCRIPTION
  Using this command will allow to calculate address participation in liquidity providing for the selected market.
  If a reward is provided as a liquidity incentive it will be automatically splitted proportionaly between addresses based on their participation.

  This command will only do the liquidity incentive calculation. Is up to the user to send the transactions manually.

See code: src/commands/get-address-participation.js

pm-cli help [COMMAND]

display help for pm-cli

USAGE
  $ pm-cli help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

pm-liquidity-incentive-cli's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.