Versions in this module Expand all Collapse all v0 v0.3.0 Sep 6, 2021 Changes in this version type CLI + ConfigStrictParsing bool type Gas + GasMaxFee float64 type SubmitCmd + CustomSubmit bool + func (self *SubmitCmd) CreateAggr(ctx context.Context, logger log.Logger, cfg *config.Config) (storage.SampleAndChunkQueryable, *aggregator.Aggregator, error) + func (self *SubmitCmd) Submit(cli *CLI, ctx context.Context, logger log.Logger, account *ethereum.Account, ...) error v0.2.0 Aug 28, 2021 Changes in this version + func ConfigClientContract(ctx context.Context, logger log.Logger, configPath string, contractAddr string, ...) (*config.Config, *ethclient.Client, contracts.ContractCaller, error) + func DataIdFullName(id int64) string + func FinalPrompt(logger log.Logger, skipConfirm bool, dataIDs, vals [5]*big.Int) bool + func GetValuesFromInput(logger log.Logger, dataIDs [5]*big.Int) [5]*big.Int + func PrintReporterStatus(logger log.Logger, statusID *big.Int, started *big.Int) + type DispIDOptional struct + DisputeID int64 type NewDisputeCmd + DataID int64 + type ProxyFlag struct + Proxy string type SubmitCmd + func (self *SubmitCmd) GetValuesFromDB(ctx context.Context, logger log.Logger, cfg *config.Config, ...) ([5]*big.Int, storage.SampleAndChunkQueryable, *aggregator.Aggregator, error) + func (self *SubmitCmd) SelectAccount(logger log.Logger) (*ethereum.Account, error) type TallyCmd + All bool type UnlockFeeCmd + All bool v0.1.0 Aug 23, 2021 Changes in this version + const VersionMessage + var CLIDefault = CLI + func CheckNewVersion(repo string, current string) (string, error) + func ValidateHex(account string) error + type AccountArg struct + Account string + func (self *AccountArg) Validate() error + type AccountArgOptional struct + Account string + func (self *AccountArgOptional) Validate() error + type AccountsCmd struct + func (self *AccountsCmd) Run() error + type ApproveCmd tokenCmd + func (self *ApproveCmd) Run() error + type BalanceCmd struct + func (self *BalanceCmd) Run() error + type CLI struct + Accounts AccountsCmd + Approve ApproveCmd + Balance BalanceCmd + Data DataCmd + Dataserver DataserverCmd + Decrypt DecryptCmd + Dispute disputeCmd + Encrypt EncryptCmd + Events eventsCmd + Report ReportCmd + Stake stakeCmd + Submit SubmitCmd + Transfer TransferCmd + Version VersionCmd + func (self *CLI) AfterApply() error + type Cfg struct + Config string + type ContractFlag struct + Contract string + func (self *ContractFlag) Validate() error + type DataCmd struct + From uint64 + LookBack time.Duration + func (self *DataCmd) Run() error + type DataserverCmd struct + func (self *DataserverCmd) Run() error + func (self *DataserverCmd) SetConfig(config *config.Config) + type DecryptCmd struct + File string + func (self *DecryptCmd) Run() error + type DepositCmd struct + func (self *DepositCmd) Run() error + type DispID struct + DisputeID int64 + type EncryptCmd struct + File string + func (self *EncryptCmd) Run() error + type Gas struct + GasBaseFee float64 + GasTip float64 + func (self *Gas) Validate() error + type GasAccount struct + type ListCmd struct + ShowClosed bool + func (self *ListCmd) Run() error + func (self *ListCmd) SetConfig(config *config.Config) + type LookBck struct + LookBack time.Duration + type NewDisputeCmd struct + RequestID int64 + Slot int64 + Timestamp int64 + func (self *NewDisputeCmd) Run() error + type NoChks struct + NoChecks bool + type ReportCmd struct + func (self *ReportCmd) Run() error + func (self *ReportCmd) SetConfig(config *config.Config) + type RequestCmd struct + func (self *RequestCmd) Run() error + type StatusCmd struct + func (self *StatusCmd) Run() error + type Submit struct + IsDisputed bool + MinerIndex int + Suggested float64 + Value float64 + type SubmitCmd struct + SkipConfirm bool + func (self *SubmitCmd) Run() error + func (self *SubmitCmd) SetConfig(config *config.Config) + type TallyCmd struct + func (self *TallyCmd) Run() error + type TallyListCmd struct + func (self *TallyListCmd) Run() error + type TransferCmd tokenCmd + func (self *TransferCmd) Run() error + type UnlockFeeCmd struct + func (self *UnlockFeeCmd) Run() error + type VersionCmd struct + func (cmd VersionCmd) Run() error + type VoteCmd struct + Support bool + func (self *VoteCmd) Run() error + type WithdrawCmd struct + func (self *WithdrawCmd) Run() error