Skip to content

Latest commit

 

History

History

utils

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

@dao-dao/utils

A collection of simple utility functions used across packages.

Scripts

log-code-ids

Get Code IDs for a chain in the format for a dao-contracts tagged release.

Usage: yarn log-code-ids [options]

Options:
  -c, --chain-id <string>  chain ID
  -h, --help               display help for command

dump-go-relayer

Dump the specified chain Polytone connection(s) in the format expected by the Go relayer.

Usage: yarn dump-go-relayer [options]

dump Polytone relayer entries for one or multiple chains. passing no arguments will dump entries for all chains

Options:
  -a, --chain-a <string>  chain A
  -b, --chain-b <string>  chain B
  -m, --many <string>     comma-separated list of chains to dump
  -h, --help              display help for command

To dump the entries between two specific chains, specify both chains (with -a and -b). To dump all entries for one or multiple chains, use either -a, -b, or -m. To dump all entries for all chains, pass no arguments.

dump-hermes-relayer

Dump the specified chain Polytone connection(s) in the format expected by the Hermes relayer.

Usage: yarn dump-hermes-relayer [options]

dump Polytone relayer entries for one or multiple chains. passing no arguments will dump entries for all chains

Options:
  -a, --chain-a <string>  chain A
  -b, --chain-b <string>  chain B
  -m, --many <string>     comma-separated list of chains to dump
  -h, --help              display help for command

To dump the entries between two specific chains, specify both chains (with -a and -b). To dump all entries for one or multiple chains, use either -a, -b, or -m. To dump all entries for all chains, pass no arguments.

verify-code-ids

Validate that versions and code IDs in the codeIds.json file are correct by finding contracts that currently exist on-chain for each code ID and checking their version info.

Usage: yarn verify-code-ids

verify-code-hashes

Validate that the code hashes in the codeHashes.json file are correct by comparing with their on-chain hashes. This is only needed for Secret Network.

Usage: yarn verify-code-hashes