accounts

package
v0.1.0-alpha.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ScriptName = "accounts"
)

Variables

View Source
var (
	Component *app.Component
)
View Source
var ParamsAccounts = &ParametersAccounts{}

Functions

This section is empty.

Types

type ParametersAccountsAllot

type ParametersAccountsAllot struct {
	Alias  string `default:"" usage:"The alias name of the account to allot mana to"`
	Amount uint64 `default:"10000" usage:"The amount of mana to allot"`
}

type ParametersAccountsConvert

type ParametersAccountsConvert struct {
	Alias string `default:"" usage:"The implicit account to be converted to full account with BIF"`
}

type ParametersAccountsCreate

type ParametersAccountsCreate struct {
	Alias                string `default:"" usage:"Alias name of the account to create"`
	NoBlockIssuerFeature bool   `` /* 169-byte string literal not displayed */
	Implicit             bool   `default:"false" usage:"Create an implicit account"`
	Transition           bool   `` /* 171-byte string literal not displayed */
}

type ParametersAccountsDelegate

type ParametersAccountsDelegate struct {
	FromAlias string `default:"default" usage:"The alias of the delegator, does not need to have an account"`
	ToAddress string `` /* 143-byte string literal not displayed */
	Amount    int64  `default:"100" usage:"The amount of mana to delegate"`
	CheckPool bool   `default:"false" usage:"Check if the delegation is added to pool stake when the start epoch is committed"`
}

type ParametersAccountsDestroy

type ParametersAccountsDestroy struct {
	Alias      string `default:"" usage:"The alias name of the account to be destroyed"`
	ExpirySlot int64  `default:"0" usage:"The expiry slot of the account to be destroyed"`
}

type ParametersAccountsStake

type ParametersAccountsStake struct {
	Alias      string `default:"" usage:"The alias name of the account to stake"`
	Amount     int64  `default:"100" usage:"The amount of tokens to stake"`
	FixedCost  int64  `default:"0" usage:"The fixed cost of the account to stake"`
	StartEpoch int64  `default:"0" usage:"The start epoch of the account to stake"`
	EndEpoch   int64  `default:"0" usage:"The end epoch of the account to stake"`
}

type ParametersAccountsUpdate

type ParametersAccountsUpdate struct {
	Alias          string `default:"" usage:"Alias name of the account to update"`
	BlockIssuerKey string `default:"" usage:"Block issuer key (in hex) to add"`
	Amount         int64  `default:"100" usage:"Amount of token to add"`
	Mana           int64  `default:"100" usage:"Amount of mana to add"`
	ExpirySlot     int64  `default:"0" usage:"Update the expiry slot of the account"`
}

type ParametersClaim

type ParametersClaim struct {
	Alias string `default:"" usage:"The alias name of the wallet to get rewards for"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL