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 ParametersAccounts ¶
type ParametersAccounts struct { Create ParametersAccountsCreate Convert ParametersAccountsConvert Destroy ParametersAccountsDestroy Allot ParametersAccountsAllot Stake ParametersAccountsStake Claim ParametersClaim Delegate ParametersAccountsDelegate Update ParametersAccountsUpdate }
type ParametersAccountsAllot ¶
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 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"`
}
Click to show internal directories.
Click to hide internal directories.