Skip to content
vegaprotocolPublic

About

An API for the vesting smart contract

Resources

Stars

0 stars

Watchers

11 watching

Forks

Latest commit

 

History

39 Commits

Folders and files

Repository files navigation

Tranches

How to run it:

  1. Build it:
go build -o tranches ./main.go
  1. Run it
./tranches

Flags

  • --port - port of the http server

  • --eth-rpc - ethereum RPC address

  • --vesting-contract-address - vesting contract address

  • --deployment-height - the deployment block height for the given contract

    flag.UintVar(&port, "port", 1789, "port of the http server") flag.StringVar(&ethereumRPC, "eth-rpc", "", "ethereum RPC address") flag.StringVar(&vestingContractAddress, "vesting-contract-address", "0x23d1bFE8fA50a167816fBD79D7932577c06011f4", "vesting contract address") flag.Uint64Var(&deploymentHeight, "deployment-height", 12834524, "deployment block height") }

About

An API for the vesting smart contract

Resources

Stars

0 stars

Watchers

11 watching

Forks

Releases

Packages

Used by

Contributors

Languages