1.0.0 • Published 3 years ago

@awilmoth/unicli v1.0.0

Weekly downloads
5
License
MIT
Repository
github
Last release
3 years ago

unicli

CLI for Uniswap protocol

oclif Version Downloads/week License

Usage

$ npm install -g unicli
$ unicli COMMAND

$ unicli (-v|--version|version)
unicli/1.0.0 darwin-x64 node-v12.19.0
$ unicli --help [COMMAND]
USAGE
  $ unicli COMMAND
...

Commands

unicli _meta

USAGE
  $ unicli _meta

OPTIONS
  -h, --help     show CLI help
  --block=block

See code: src/commands/_meta/index.ts

unicli autocomplete [SHELL]

display autocomplete installation instructions

USAGE
  $ unicli autocomplete [SHELL]

ARGUMENTS
  SHELL  shell type

OPTIONS
  -r, --refresh-cache  Refresh cache (ignores displaying instructions)

EXAMPLES
  $ unicli autocomplete
  $ unicli autocomplete bash
  $ unicli autocomplete zsh
  $ unicli autocomplete --refresh-cache

See code: @oclif/plugin-autocomplete

unicli bundle

USAGE
  $ unicli bundle

OPTIONS
  -h, --help     show CLI help
  --block=block
  --id=id        (required)

See code: src/commands/bundle/index.ts

unicli bundles

USAGE
  $ unicli bundles

OPTIONS
  -h, --help                       show CLI help
  --block=block
  --first=first
  --orderBy=orderBy
  --orderDirection=orderDirection
  --skip=skip
  --where=where

See code: src/commands/bundles/index.ts

unicli burn

USAGE
  $ unicli burn

OPTIONS
  -h, --help                         show CLI help
  --block=block
  --first=first
  --first1=first1
  --first2=first2
  --first3=first3
  --first4=first4
  --id=id                            (required)
  --orderBy=orderBy
  --orderBy1=orderBy1
  --orderBy2=orderBy2
  --orderBy3=orderBy3
  --orderBy4=orderBy4
  --orderDirection=orderDirection
  --orderDirection1=orderDirection1
  --orderDirection2=orderDirection2
  --orderDirection3=orderDirection3
  --orderDirection4=orderDirection4
  --skip=skip
  --skip1=skip1
  --skip2=skip2
  --skip3=skip3
  --skip4=skip4
  --where=where
  --where1=where1
  --where2=where2
  --where3=where3
  --where4=where4

See code: src/commands/burn/index.ts

unicli burns

USAGE
  $ unicli burns

OPTIONS
  -h, --help                         show CLI help
  --block=block
  --first=first
  --first1=first1
  --first2=first2
  --first3=first3
  --first4=first4
  --first5=first5
  --orderBy=orderBy
  --orderBy1=orderBy1
  --orderBy2=orderBy2
  --orderBy3=orderBy3
  --orderBy4=orderBy4
  --orderBy5=orderBy5
  --orderDirection=orderDirection
  --orderDirection1=orderDirection1
  --orderDirection2=orderDirection2
  --orderDirection3=orderDirection3
  --orderDirection4=orderDirection4
  --orderDirection5=orderDirection5
  --skip=skip
  --skip1=skip1
  --skip2=skip2
  --skip3=skip3
  --skip4=skip4
  --skip5=skip5
  --where=where
  --where1=where1
  --where2=where2
  --where3=where3
  --where4=where4
  --where5=where5

See code: src/commands/burns/index.ts

unicli commands

list all the commands

USAGE
  $ unicli commands

OPTIONS
  -h, --help              show CLI help
  -j, --json              display unfiltered api data in json format
  -x, --extended          show extra columns
  --columns=columns       only show provided columns (comma-separated)
  --csv                   output is csv format [alias: --output=csv]
  --filter=filter         filter property by partial string matching, ex: name=foo
  --hidden                show hidden commands
  --no-header             hide table header from output
  --no-truncate           do not truncate output to fit screen
  --output=csv|json|yaml  output in a more machine friendly format
  --sort=sort             property to sort by (prepend '-' for descending)

See code: @oclif/plugin-commands

unicli help [COMMAND]

display help for unicli

USAGE
  $ unicli help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

unicli liquidityPosition

USAGE
  $ unicli liquidityPosition

OPTIONS
  -h, --help                         show CLI help
  --block=block
  --first=first
  --first1=first1
  --first2=first2
  --id=id                            (required)
  --orderBy=orderBy
  --orderBy1=orderBy1
  --orderBy2=orderBy2
  --orderDirection=orderDirection
  --orderDirection1=orderDirection1
  --orderDirection2=orderDirection2
  --skip=skip
  --skip1=skip1
  --skip2=skip2
  --where=where
  --where1=where1
  --where2=where2

See code: src/commands/liquidityPosition/index.ts

unicli liquidityPositionSnapshot

USAGE
  $ unicli liquidityPositionSnapshot

OPTIONS
  -h, --help                         show CLI help
  --block=block
  --first=first
  --first1=first1
  --first2=first2
  --id=id                            (required)
  --orderBy=orderBy
  --orderBy1=orderBy1
  --orderBy2=orderBy2
  --orderDirection=orderDirection
  --orderDirection1=orderDirection1
  --orderDirection2=orderDirection2
  --skip=skip
  --skip1=skip1
  --skip2=skip2
  --where=where
  --where1=where1
  --where2=where2

See code: src/commands/liquidityPositionSnapshot/index.ts

unicli liquidityPositionSnapshots

USAGE
  $ unicli liquidityPositionSnapshots

OPTIONS
  -h, --help                         show CLI help
  --block=block
  --first=first
  --first1=first1
  --first2=first2
  --first3=first3
  --orderBy=orderBy
  --orderBy1=orderBy1
  --orderBy2=orderBy2
  --orderBy3=orderBy3
  --orderDirection=orderDirection
  --orderDirection1=orderDirection1
  --orderDirection2=orderDirection2
  --orderDirection3=orderDirection3
  --skip=skip
  --skip1=skip1
  --skip2=skip2
  --skip3=skip3
  --where=where
  --where1=where1
  --where2=where2
  --where3=where3

See code: src/commands/liquidityPositionSnapshots/index.ts

unicli liquidityPositions

USAGE
  $ unicli liquidityPositions

OPTIONS
  -h, --help                         show CLI help
  --block=block
  --first=first
  --first1=first1
  --first2=first2
  --first3=first3
  --orderBy=orderBy
  --orderBy1=orderBy1
  --orderBy2=orderBy2
  --orderBy3=orderBy3
  --orderDirection=orderDirection
  --orderDirection1=orderDirection1
  --orderDirection2=orderDirection2
  --orderDirection3=orderDirection3
  --skip=skip
  --skip1=skip1
  --skip2=skip2
  --skip3=skip3
  --where=where
  --where1=where1
  --where2=where2
  --where3=where3

See code: src/commands/liquidityPositions/index.ts

unicli mint

USAGE
  $ unicli mint

OPTIONS
  -h, --help                         show CLI help
  --block=block
  --first=first
  --first1=first1
  --first2=first2
  --first3=first3
  --first4=first4
  --id=id                            (required)
  --orderBy=orderBy
  --orderBy1=orderBy1
  --orderBy2=orderBy2
  --orderBy3=orderBy3
  --orderBy4=orderBy4
  --orderDirection=orderDirection
  --orderDirection1=orderDirection1
  --orderDirection2=orderDirection2
  --orderDirection3=orderDirection3
  --orderDirection4=orderDirection4
  --skip=skip
  --skip1=skip1
  --skip2=skip2
  --skip3=skip3
  --skip4=skip4
  --where=where
  --where1=where1
  --where2=where2
  --where3=where3
  --where4=where4

See code: src/commands/mint/index.ts

unicli mints

USAGE
  $ unicli mints

OPTIONS
  -h, --help                         show CLI help
  --block=block
  --first=first
  --first1=first1
  --first2=first2
  --first3=first3
  --first4=first4
  --first5=first5
  --orderBy=orderBy
  --orderBy1=orderBy1
  --orderBy2=orderBy2
  --orderBy3=orderBy3
  --orderBy4=orderBy4
  --orderBy5=orderBy5
  --orderDirection=orderDirection
  --orderDirection1=orderDirection1
  --orderDirection2=orderDirection2
  --orderDirection3=orderDirection3
  --orderDirection4=orderDirection4
  --orderDirection5=orderDirection5
  --skip=skip
  --skip1=skip1
  --skip2=skip2
  --skip3=skip3
  --skip4=skip4
  --skip5=skip5
  --where=where
  --where1=where1
  --where2=where2
  --where3=where3
  --where4=where4
  --where5=where5

See code: src/commands/mints/index.ts

unicli pair

USAGE
  $ unicli pair

OPTIONS
  -h, --help                         show CLI help
  --block=block
  --first=first
  --first1=first1
  --id=id                            (required)
  --orderBy=orderBy
  --orderBy1=orderBy1
  --orderDirection=orderDirection
  --orderDirection1=orderDirection1
  --skip=skip
  --skip1=skip1
  --where=where
  --where1=where1

See code: src/commands/pair/index.ts

unicli pairDayData

USAGE
  $ unicli pairDayData

OPTIONS
  -h, --help                         show CLI help
  --block=block
  --first=first
  --first1=first1
  --id=id                            (required)
  --orderBy=orderBy
  --orderBy1=orderBy1
  --orderDirection=orderDirection
  --orderDirection1=orderDirection1
  --skip=skip
  --skip1=skip1
  --where=where
  --where1=where1

See code: src/commands/pairDayData/index.ts

unicli pairDayDatas

USAGE
  $ unicli pairDayDatas

OPTIONS
  -h, --help                         show CLI help
  --block=block
  --first=first
  --first1=first1
  --first2=first2
  --orderBy=orderBy
  --orderBy1=orderBy1
  --orderBy2=orderBy2
  --orderDirection=orderDirection
  --orderDirection1=orderDirection1
  --orderDirection2=orderDirection2
  --skip=skip
  --skip1=skip1
  --skip2=skip2
  --where=where
  --where1=where1
  --where2=where2

See code: src/commands/pairDayDatas/index.ts

unicli pairHourData

USAGE
  $ unicli pairHourData

OPTIONS
  -h, --help                         show CLI help
  --block=block
  --first=first
  --first1=first1
  --id=id                            (required)
  --orderBy=orderBy
  --orderBy1=orderBy1
  --orderDirection=orderDirection
  --orderDirection1=orderDirection1
  --skip=skip
  --skip1=skip1
  --where=where
  --where1=where1

See code: src/commands/pairHourData/index.ts

unicli pairHourDatas

USAGE
  $ unicli pairHourDatas

OPTIONS
  -h, --help                         show CLI help
  --block=block
  --first=first
  --first1=first1
  --first2=first2
  --orderBy=orderBy
  --orderBy1=orderBy1
  --orderBy2=orderBy2
  --orderDirection=orderDirection
  --orderDirection1=orderDirection1
  --orderDirection2=orderDirection2
  --skip=skip
  --skip1=skip1
  --skip2=skip2
  --where=where
  --where1=where1
  --where2=where2

See code: src/commands/pairHourDatas/index.ts

unicli pairs

USAGE
  $ unicli pairs

OPTIONS
  -h, --help                         show CLI help
  --block=block
  --first=first
  --first1=first1
  --first2=first2
  --orderBy=orderBy
  --orderBy1=orderBy1
  --orderBy2=orderBy2
  --orderDirection=orderDirection
  --orderDirection1=orderDirection1
  --orderDirection2=orderDirection2
  --skip=skip
  --skip1=skip1
  --skip2=skip2
  --where=where
  --where1=where1
  --where2=where2

See code: src/commands/pairs/index.ts

unicli swap

USAGE
  $ unicli swap

OPTIONS
  -h, --help                         show CLI help
  --block=block
  --first=first
  --first1=first1
  --first2=first2
  --first3=first3
  --first4=first4
  --id=id                            (required)
  --orderBy=orderBy
  --orderBy1=orderBy1
  --orderBy2=orderBy2
  --orderBy3=orderBy3
  --orderBy4=orderBy4
  --orderDirection=orderDirection
  --orderDirection1=orderDirection1
  --orderDirection2=orderDirection2
  --orderDirection3=orderDirection3
  --orderDirection4=orderDirection4
  --skip=skip
  --skip1=skip1
  --skip2=skip2
  --skip3=skip3
  --skip4=skip4
  --where=where
  --where1=where1
  --where2=where2
  --where3=where3
  --where4=where4

See code: src/commands/swap/index.ts

unicli swaps

USAGE
  $ unicli swaps

OPTIONS
  -h, --help                         show CLI help
  --block=block
  --first=first
  --first1=first1
  --first2=first2
  --first3=first3
  --first4=first4
  --first5=first5
  --orderBy=orderBy
  --orderBy1=orderBy1
  --orderBy2=orderBy2
  --orderBy3=orderBy3
  --orderBy4=orderBy4
  --orderBy5=orderBy5
  --orderDirection=orderDirection
  --orderDirection1=orderDirection1
  --orderDirection2=orderDirection2
  --orderDirection3=orderDirection3
  --orderDirection4=orderDirection4
  --orderDirection5=orderDirection5
  --skip=skip
  --skip1=skip1
  --skip2=skip2
  --skip3=skip3
  --skip4=skip4
  --skip5=skip5
  --where=where
  --where1=where1
  --where2=where2
  --where3=where3
  --where4=where4
  --where5=where5

See code: src/commands/swaps/index.ts

unicli token

USAGE
  $ unicli token

OPTIONS
  -h, --help                         show CLI help
  --block=block
  --first=first
  --first1=first1
  --first2=first2
  --id=id
  --orderBy=orderBy
  --orderBy1=orderBy1
  --orderBy2=orderBy2
  --orderDirection=orderDirection
  --orderDirection1=orderDirection1
  --orderDirection2=orderDirection2
  --skip=skip
  --skip1=skip1
  --skip2=skip2
  --where=where
  --where1=where1
  --where2=where2

See code: src/commands/token/index.ts

unicli tokenDayData

USAGE
  $ unicli tokenDayData

OPTIONS
  -h, --help                         show CLI help
  --block=block
  --first=first
  --first1=first1
  --first2=first2
  --first3=first3
  --id=id                            (required)
  --orderBy=orderBy
  --orderBy1=orderBy1
  --orderBy2=orderBy2
  --orderBy3=orderBy3
  --orderDirection=orderDirection
  --orderDirection1=orderDirection1
  --orderDirection2=orderDirection2
  --orderDirection3=orderDirection3
  --skip=skip
  --skip1=skip1
  --skip2=skip2
  --skip3=skip3
  --where=where
  --where1=where1
  --where2=where2
  --where3=where3

See code: src/commands/tokenDayData/index.ts

unicli tokenDayDatas

USAGE
  $ unicli tokenDayDatas

OPTIONS
  -h, --help                         show CLI help
  --block=block
  --first=first
  --first1=first1
  --first2=first2
  --first3=first3
  --first4=first4
  --orderBy=orderBy
  --orderBy1=orderBy1
  --orderBy2=orderBy2
  --orderBy3=orderBy3
  --orderBy4=orderBy4
  --orderDirection=orderDirection
  --orderDirection1=orderDirection1
  --orderDirection2=orderDirection2
  --orderDirection3=orderDirection3
  --orderDirection4=orderDirection4
  --skip=skip
  --skip1=skip1
  --skip2=skip2
  --skip3=skip3
  --skip4=skip4
  --where=where
  --where1=where1
  --where2=where2
  --where3=where3
  --where4=where4

See code: src/commands/tokenDayDatas/index.ts

unicli tokens

USAGE
  $ unicli tokens

OPTIONS
  -h, --help                         show CLI help
  --block=block
  --first=first
  --first1=first1
  --first2=first2
  --first3=first3
  --orderBy=orderBy
  --orderBy1=orderBy1
  --orderBy2=orderBy2
  --orderBy3=orderBy3
  --orderDirection=orderDirection
  --orderDirection1=orderDirection1
  --orderDirection2=orderDirection2
  --orderDirection3=orderDirection3
  --skip=skip
  --skip1=skip1
  --skip2=skip2
  --skip3=skip3
  --where=where
  --where1=where1
  --where2=where2
  --where3=where3

See code: src/commands/tokens/index.ts

unicli transaction

USAGE
  $ unicli transaction

OPTIONS
  -h, --help                         show CLI help
  --block=block
  --first=first
  --first1=first1
  --first2=first2
  --first3=first3
  --first4=first4
  --id=id                            (required)
  --orderBy=orderBy
  --orderBy1=orderBy1
  --orderBy2=orderBy2
  --orderBy3=orderBy3
  --orderBy4=orderBy4
  --orderDirection=orderDirection
  --orderDirection1=orderDirection1
  --orderDirection2=orderDirection2
  --orderDirection3=orderDirection3
  --orderDirection4=orderDirection4
  --skip=skip
  --skip1=skip1
  --skip2=skip2
  --skip3=skip3
  --skip4=skip4
  --where=where
  --where1=where1
  --where2=where2
  --where3=where3
  --where4=where4

See code: src/commands/transaction/index.ts

unicli transactions

USAGE
  $ unicli transactions

OPTIONS
  -h, --help                         show CLI help
  --block=block
  --first=first
  --first1=first1
  --first2=first2
  --first3=first3
  --first4=first4
  --first5=first5
  --first6=first6
  --first7=first7
  --first8=first8
  --orderBy=orderBy
  --orderBy1=orderBy1
  --orderBy2=orderBy2
  --orderBy3=orderBy3
  --orderBy4=orderBy4
  --orderBy5=orderBy5
  --orderBy6=orderBy6
  --orderBy7=orderBy7
  --orderBy8=orderBy8
  --orderDirection=orderDirection
  --orderDirection1=orderDirection1
  --orderDirection2=orderDirection2
  --orderDirection3=orderDirection3
  --orderDirection4=orderDirection4
  --orderDirection5=orderDirection5
  --orderDirection6=orderDirection6
  --orderDirection7=orderDirection7
  --orderDirection8=orderDirection8
  --skip=skip
  --skip1=skip1
  --skip2=skip2
  --skip3=skip3
  --skip4=skip4
  --skip5=skip5
  --skip6=skip6
  --skip7=skip7
  --skip8=skip8
  --where=where
  --where1=where1
  --where2=where2
  --where3=where3
  --where4=where4
  --where5=where5
  --where6=where6
  --where7=where7
  --where8=where8

See code: src/commands/transactions/index.ts

unicli uniswapDayData

USAGE
  $ unicli uniswapDayData

OPTIONS
  -h, --help                         show CLI help
  --block=block
  --first=first
  --first1=first1
  --first2=first2
  --first3=first3
  --first4=first4
  --id=id                            (required)
  --orderBy=orderBy
  --orderBy1=orderBy1
  --orderBy2=orderBy2
  --orderBy3=orderBy3
  --orderBy4=orderBy4
  --orderDirection=orderDirection
  --orderDirection1=orderDirection1
  --orderDirection2=orderDirection2
  --orderDirection3=orderDirection3
  --orderDirection4=orderDirection4
  --skip=skip
  --skip1=skip1
  --skip2=skip2
  --skip3=skip3
  --skip4=skip4
  --where=where
  --where1=where1
  --where2=where2
  --where3=where3
  --where4=where4

See code: src/commands/uniswapDayData/index.ts

unicli uniswapDayDatas

USAGE
  $ unicli uniswapDayDatas

OPTIONS
  -h, --help                         show CLI help
  --block=block
  --first=first
  --first1=first1
  --first2=first2
  --first3=first3
  --first4=first4
  --first5=first5
  --orderBy=orderBy
  --orderBy1=orderBy1
  --orderBy2=orderBy2
  --orderBy3=orderBy3
  --orderBy4=orderBy4
  --orderBy5=orderBy5
  --orderDirection=orderDirection
  --orderDirection1=orderDirection1
  --orderDirection2=orderDirection2
  --orderDirection3=orderDirection3
  --orderDirection4=orderDirection4
  --orderDirection5=orderDirection5
  --skip=skip
  --skip1=skip1
  --skip2=skip2
  --skip3=skip3
  --skip4=skip4
  --skip5=skip5
  --where=where
  --where1=where1
  --where2=where2
  --where3=where3
  --where4=where4
  --where5=where5

See code: src/commands/uniswapDayDatas/index.ts

unicli uniswapFactories

USAGE
  $ unicli uniswapFactories

OPTIONS
  -h, --help                         show CLI help
  --block=block
  --first=first
  --first1=first1
  --first2=first2
  --first3=first3
  --first4=first4
  --first5=first5
  --orderBy=orderBy
  --orderBy1=orderBy1
  --orderBy2=orderBy2
  --orderBy3=orderBy3
  --orderBy4=orderBy4
  --orderBy5=orderBy5
  --orderDirection=orderDirection
  --orderDirection1=orderDirection1
  --orderDirection2=orderDirection2
  --orderDirection3=orderDirection3
  --orderDirection4=orderDirection4
  --orderDirection5=orderDirection5
  --skip=skip
  --skip1=skip1
  --skip2=skip2
  --skip3=skip3
  --skip4=skip4
  --skip5=skip5
  --where=where
  --where1=where1
  --where2=where2
  --where3=where3
  --where4=where4
  --where5=where5

See code: src/commands/uniswapFactories/index.ts

unicli uniswapFactory

USAGE
  $ unicli uniswapFactory

OPTIONS
  -h, --help                         show CLI help
  --block=block
  --first=first
  --first1=first1
  --first2=first2
  --first3=first3
  --first4=first4
  --id=id                            (required)
  --orderBy=orderBy
  --orderBy1=orderBy1
  --orderBy2=orderBy2
  --orderBy3=orderBy3
  --orderBy4=orderBy4
  --orderDirection=orderDirection
  --orderDirection1=orderDirection1
  --orderDirection2=orderDirection2
  --orderDirection3=orderDirection3
  --orderDirection4=orderDirection4
  --skip=skip
  --skip1=skip1
  --skip2=skip2
  --skip3=skip3
  --skip4=skip4
  --where=where
  --where1=where1
  --where2=where2
  --where3=where3
  --where4=where4

See code: src/commands/uniswapFactory/index.ts

unicli user

USAGE
  $ unicli user

OPTIONS
  -h, --help                         show CLI help
  --block=block
  --first=first
  --first1=first1
  --first2=first2
  --id=id                            (required)
  --orderBy=orderBy
  --orderBy1=orderBy1
  --orderBy2=orderBy2
  --orderDirection=orderDirection
  --orderDirection1=orderDirection1
  --orderDirection2=orderDirection2
  --skip=skip
  --skip1=skip1
  --skip2=skip2
  --where=where
  --where1=where1
  --where2=where2

See code: src/commands/user/index.ts

unicli users

USAGE
  $ unicli users

OPTIONS
  -h, --help                         show CLI help
  --block=block
  --first=first
  --first1=first1
  --first2=first2
  --first3=first3
  --first4=first4
  --orderBy=orderBy
  --orderBy1=orderBy1
  --orderBy2=orderBy2
  --orderBy3=orderBy3
  --orderBy4=orderBy4
  --orderDirection=orderDirection
  --orderDirection1=orderDirection1
  --orderDirection2=orderDirection2
  --orderDirection3=orderDirection3
  --orderDirection4=orderDirection4
  --skip=skip
  --skip1=skip1
  --skip2=skip2
  --skip3=skip3
  --skip4=skip4
  --where=where
  --where1=where1
  --where2=where2
  --where3=where3
  --where4=where4

See code: src/commands/users/index.ts