Documentation
¶
Index ¶
- Constants
- Variables
- type AccountsFundingPresetOption
- type AccountsFundingPresetSelect
- type AddGasStationToGenesisOption
- type AddGasStationToGenesisSelect
- type AddGenesisAccountsOption
- type AddGenesisAccountsSelect
- type ChainIdInput
- type DeleteExistingMinitiaInput
- type DownloadCelestiaBinaryLoading
- type DownloadMinitiaBinaryLoading
- type ExistingGasStationChecker
- type ExistingMinitiaChecker
- type FeeWhitelistAccountsInput
- type FundAccountsResponse
- type FundGasStationBroadcastLoading
- type FundGasStationConfirmationInput
- type GasDenomInput
- type GasStationMnemonicInput
- type GenerateOrRecoverSystemKeysLoading
- type GenesisAccountsAddressInput
- type GenesisAccountsBalanceInput
- type GenesisGasStationBalanceInput
- type L1SystemKeys
- type LatestVersionLoading
- type LaunchState
- type LaunchingNewMinitiaLoading
- type MonikerInput
- type NetworkSelect
- type NetworkSelectOption
- type OpBridgeBatchSubmissionTargetOption
- type OpBridgeBatchSubmissionTargetSelect
- type OpBridgeOutputFinalizationPeriodInput
- type OpBridgeSubmissionIntervalInput
- type OracleEnableOption
- type OracleEnableSelect
- type RollyticsData
- type ScanPayload
- type SystemKeyBatchSubmitterMnemonicInput
- type SystemKeyBridgeExecutorMnemonicInput
- type SystemKeyChallengerMnemonicInput
- type SystemKeyL1BatchSubmitterBalanceInput
- type SystemKeyL1BridgeExecutorBalanceInput
- type SystemKeyL1ChallengerBalanceInput
- type SystemKeyL1OutputSubmitterBalanceInput
- type SystemKeyOperatorMnemonicInput
- type SystemKeyOutputSubmitterMnemonicInput
- type SystemKeysMnemonicDisplayInput
- type SystemKeysOption
- type SystemKeysSelect
- type TerminalState
- type VMTypeSelect
- type VMTypeSelectOption
Constants ¶
View Source
const ( AppName string = "minitiad" OperatorKeyName string = "weave.Operator" BridgeExecutorKeyName string = "weave.BridgeExecutor" OutputSubmitterKeyName string = "weave.OutputSubmitter" BatchSubmitterKeyName string = "weave.BatchSubmitter" ChallengerKeyName string = "weave.Challenger" DefaultL1BridgeExecutorBalance string = "2000000" DefaultL1OutputSubmitterBalance string = "2000000" DefaultL1BatchSubmitterBalance string = "1000000" DefaultL1ChallengerBalance string = "2000000" DefaultL2BridgeExecutorBalance string = "100000000" TmpTxFilename string = "weave.minitia.tx.json" DefaultL1GasDenom string = "uinit" DefaultL1GasPrices = "0.015" + DefaultL1GasDenom DefaultCelestiaGasDenom string = "utia" MaxMonikerLength int = 70 MaxChainIDLength int = 50 LaunchConfigFilename = "minitia.config.json" CelestiaAppName string = "celestia-appd" InitiaScanMainnetURL string = "https://scan.initia.xyz" InitiaScanTestnetURL string = "https://scan.testnet.initia.xyz" DefaultMinitiaLCD string = "http://localhost:1317" DefaultMinitiaRPC string = "http://localhost:26657" DefaultMinitiaWebsocket string = "ws://localhost:26657/websocket" DefaultMinitiaGRPC string = "http://localhost:9090" DefaultMinitiaJsonRPC string = "http://localhost:8545" DefaultMinitiaJsonRPCWS string = "ws://localhost:8546" DefaultMinitiaIndexer string = "http://localhost:6767" DefaultRollupDenom string = "umin" DefaultMinievmDenom string = "GAS" )
View Source
const FundMinitiaAccountsDefaultTxInterface = `` /* 1394-byte string literal not displayed */
View Source
const FundMinitiaAccountsWithoutBatchTxInterface = `` /* 1156-byte string literal not displayed */
Variables ¶
View Source
var ( DefaultL1InitiaNeededBalanceIfCelestiaDA string DefaultL1InitiaNeededBalanceIfInitiaDA string )
View Source
var ErrInsufficientBalance = errors.New("insufficient balance")
Functions ¶
This section is empty.
Types ¶
type AccountsFundingPresetOption ¶
type AccountsFundingPresetOption string
const ManuallyFill AccountsFundingPresetOption = "○ Fill in an amount for each account manually"
var DefaultPreset AccountsFundingPresetOption = ""
type AccountsFundingPresetSelect ¶
type AccountsFundingPresetSelect struct {
ui.Selector[AccountsFundingPresetOption]
weavecontext.BaseModel
// contains filtered or unexported fields
}
func NewAccountsFundingPresetSelect ¶
func NewAccountsFundingPresetSelect(ctx context.Context) (*AccountsFundingPresetSelect, error)
func (*AccountsFundingPresetSelect) GetQuestion ¶
func (m *AccountsFundingPresetSelect) GetQuestion() string
func (*AccountsFundingPresetSelect) Init ¶
func (m *AccountsFundingPresetSelect) Init() tea.Cmd
func (*AccountsFundingPresetSelect) View ¶
func (m *AccountsFundingPresetSelect) View() string
type AddGasStationToGenesisOption ¶
type AddGasStationToGenesisOption string
const ( Add AddGasStationToGenesisOption = "Yes" DontAdd AddGasStationToGenesisOption = "No" )
type AddGasStationToGenesisSelect ¶
type AddGasStationToGenesisSelect struct {
ui.Selector[AddGasStationToGenesisOption]
weavecontext.BaseModel
// contains filtered or unexported fields
}
func NewAddGasStationToGenesisSelect ¶
func NewAddGasStationToGenesisSelect(ctx context.Context) *AddGasStationToGenesisSelect
func (*AddGasStationToGenesisSelect) GetQuestion ¶
func (m *AddGasStationToGenesisSelect) GetQuestion() string
func (*AddGasStationToGenesisSelect) Init ¶
func (m *AddGasStationToGenesisSelect) Init() tea.Cmd
func (*AddGasStationToGenesisSelect) View ¶
func (m *AddGasStationToGenesisSelect) View() string
type AddGenesisAccountsOption ¶
type AddGenesisAccountsOption string
const ( Yes AddGenesisAccountsOption = "Yes" No AddGenesisAccountsOption = "No" )
type AddGenesisAccountsSelect ¶
type AddGenesisAccountsSelect struct {
ui.Selector[AddGenesisAccountsOption]
weavecontext.BaseModel
// contains filtered or unexported fields
}
func NewAddGenesisAccountsSelect ¶
func NewAddGenesisAccountsSelect(recurring bool, ctx context.Context) *AddGenesisAccountsSelect
func (*AddGenesisAccountsSelect) GetQuestionAndHighlight ¶
func (m *AddGenesisAccountsSelect) GetQuestionAndHighlight() (string, string)
func (*AddGenesisAccountsSelect) Init ¶
func (m *AddGenesisAccountsSelect) Init() tea.Cmd
func (*AddGenesisAccountsSelect) View ¶
func (m *AddGenesisAccountsSelect) View() string
type ChainIdInput ¶
type ChainIdInput struct {
ui.TextInput
weavecontext.BaseModel
// contains filtered or unexported fields
}
func NewChainIdInput ¶
func NewChainIdInput(ctx context.Context) *ChainIdInput
func (*ChainIdInput) GetQuestion ¶
func (m *ChainIdInput) GetQuestion() string
func (*ChainIdInput) Init ¶
func (m *ChainIdInput) Init() tea.Cmd
func (*ChainIdInput) View ¶
func (m *ChainIdInput) View() string
type DeleteExistingMinitiaInput ¶
type DeleteExistingMinitiaInput struct {
ui.TextInput
weavecontext.BaseModel
// contains filtered or unexported fields
}
func NewDeleteExistingMinitiaInput ¶
func NewDeleteExistingMinitiaInput(ctx context.Context) *DeleteExistingMinitiaInput
func (*DeleteExistingMinitiaInput) GetQuestion ¶
func (m *DeleteExistingMinitiaInput) GetQuestion() string
func (*DeleteExistingMinitiaInput) Init ¶
func (m *DeleteExistingMinitiaInput) Init() tea.Cmd
func (*DeleteExistingMinitiaInput) View ¶
func (m *DeleteExistingMinitiaInput) View() string
type DownloadCelestiaBinaryLoading ¶
type DownloadCelestiaBinaryLoading struct {
ui.Loading
weavecontext.BaseModel
}
func NewDownloadCelestiaBinaryLoading ¶
func NewDownloadCelestiaBinaryLoading(ctx context.Context) (*DownloadCelestiaBinaryLoading, error)
func (*DownloadCelestiaBinaryLoading) Init ¶
func (m *DownloadCelestiaBinaryLoading) Init() tea.Cmd
func (*DownloadCelestiaBinaryLoading) View ¶
func (m *DownloadCelestiaBinaryLoading) View() string
type DownloadMinitiaBinaryLoading ¶
type DownloadMinitiaBinaryLoading struct {
ui.Loading
weavecontext.BaseModel
}
func NewDownloadMinitiaBinaryLoading ¶
func NewDownloadMinitiaBinaryLoading(ctx context.Context) *DownloadMinitiaBinaryLoading
func (*DownloadMinitiaBinaryLoading) Init ¶
func (m *DownloadMinitiaBinaryLoading) Init() tea.Cmd
func (*DownloadMinitiaBinaryLoading) View ¶
func (m *DownloadMinitiaBinaryLoading) View() string
type ExistingGasStationChecker ¶
type ExistingGasStationChecker struct {
ui.Loading
weavecontext.BaseModel
}
func NewExistingGasStationChecker ¶
func NewExistingGasStationChecker(ctx context.Context) *ExistingGasStationChecker
func (*ExistingGasStationChecker) Init ¶
func (m *ExistingGasStationChecker) Init() tea.Cmd
func (*ExistingGasStationChecker) View ¶
func (m *ExistingGasStationChecker) View() string
type ExistingMinitiaChecker ¶
type ExistingMinitiaChecker struct {
weavecontext.BaseModel
ui.Loading
}
func NewExistingMinitiaChecker ¶
func NewExistingMinitiaChecker(ctx context.Context) *ExistingMinitiaChecker
func (*ExistingMinitiaChecker) Init ¶
func (m *ExistingMinitiaChecker) Init() tea.Cmd
func (*ExistingMinitiaChecker) View ¶
func (m *ExistingMinitiaChecker) View() string
type FeeWhitelistAccountsInput ¶
type FeeWhitelistAccountsInput struct {
ui.TextInput
weavecontext.BaseModel
// contains filtered or unexported fields
}
func NewFeeWhitelistAccountsInput ¶
func NewFeeWhitelistAccountsInput(ctx context.Context) *FeeWhitelistAccountsInput
func (*FeeWhitelistAccountsInput) GetQuestion ¶
func (m *FeeWhitelistAccountsInput) GetQuestion() string
func (*FeeWhitelistAccountsInput) Init ¶
func (m *FeeWhitelistAccountsInput) Init() tea.Cmd
func (*FeeWhitelistAccountsInput) View ¶
func (m *FeeWhitelistAccountsInput) View() string
type FundAccountsResponse ¶
type FundAccountsResponse struct {
CelestiaTx *cosmosutils.InitiadTxResponse
InitiaTx *cosmosutils.InitiadTxResponse
}
type FundGasStationBroadcastLoading ¶
type FundGasStationBroadcastLoading struct {
ui.Loading
weavecontext.BaseModel
}
func NewFundGasStationBroadcastLoading ¶
func NewFundGasStationBroadcastLoading(ctx context.Context) *FundGasStationBroadcastLoading
func (*FundGasStationBroadcastLoading) Init ¶
func (m *FundGasStationBroadcastLoading) Init() tea.Cmd
func (*FundGasStationBroadcastLoading) View ¶
func (m *FundGasStationBroadcastLoading) View() string
type FundGasStationConfirmationInput ¶
type FundGasStationConfirmationInput struct {
ui.TextInput
weavecontext.BaseModel
// contains filtered or unexported fields
}
func NewFundGasStationConfirmationInput ¶
func NewFundGasStationConfirmationInput(ctx context.Context) (*FundGasStationConfirmationInput, error)
func (*FundGasStationConfirmationInput) GetQuestion ¶
func (m *FundGasStationConfirmationInput) GetQuestion() string
func (*FundGasStationConfirmationInput) Init ¶
func (m *FundGasStationConfirmationInput) Init() tea.Cmd
func (*FundGasStationConfirmationInput) View ¶
func (m *FundGasStationConfirmationInput) View() string
type GasDenomInput ¶
type GasDenomInput struct {
ui.TextInput
weavecontext.BaseModel
// contains filtered or unexported fields
}
func NewGasDenomInput ¶
func NewGasDenomInput(ctx context.Context) *GasDenomInput
func (*GasDenomInput) GetQuestion ¶
func (m *GasDenomInput) GetQuestion() string
func (*GasDenomInput) Init ¶
func (m *GasDenomInput) Init() tea.Cmd
func (*GasDenomInput) View ¶
func (m *GasDenomInput) View() string
type GasStationMnemonicInput ¶
type GasStationMnemonicInput struct {
ui.TextInput
weavecontext.BaseModel
// contains filtered or unexported fields
}
func NewGasStationMnemonicInput ¶
func NewGasStationMnemonicInput(ctx context.Context) *GasStationMnemonicInput
func (*GasStationMnemonicInput) GetQuestion ¶
func (m *GasStationMnemonicInput) GetQuestion() string
func (*GasStationMnemonicInput) Init ¶
func (m *GasStationMnemonicInput) Init() tea.Cmd
func (*GasStationMnemonicInput) View ¶
func (m *GasStationMnemonicInput) View() string
type GenerateOrRecoverSystemKeysLoading ¶
type GenerateOrRecoverSystemKeysLoading struct {
ui.Loading
weavecontext.BaseModel
}
func NewGenerateOrRecoverSystemKeysLoading ¶
func NewGenerateOrRecoverSystemKeysLoading(ctx context.Context) *GenerateOrRecoverSystemKeysLoading
func (*GenerateOrRecoverSystemKeysLoading) Init ¶
func (m *GenerateOrRecoverSystemKeysLoading) Init() tea.Cmd
func (*GenerateOrRecoverSystemKeysLoading) View ¶
func (m *GenerateOrRecoverSystemKeysLoading) View() string
type GenesisAccountsAddressInput ¶
type GenesisAccountsAddressInput struct {
ui.TextInput
weavecontext.BaseModel
// contains filtered or unexported fields
}
func NewGenesisAccountsAddressInput ¶
func NewGenesisAccountsAddressInput(ctx context.Context) *GenesisAccountsAddressInput
func (*GenesisAccountsAddressInput) GetQuestion ¶
func (m *GenesisAccountsAddressInput) GetQuestion() string
func (*GenesisAccountsAddressInput) Init ¶
func (m *GenesisAccountsAddressInput) Init() tea.Cmd
func (*GenesisAccountsAddressInput) View ¶
func (m *GenesisAccountsAddressInput) View() string
type GenesisAccountsBalanceInput ¶
type GenesisAccountsBalanceInput struct {
ui.TextInput
weavecontext.BaseModel
// contains filtered or unexported fields
}
func NewGenesisAccountsBalanceInput ¶
func NewGenesisAccountsBalanceInput(address string, ctx context.Context) *GenesisAccountsBalanceInput
func (*GenesisAccountsBalanceInput) GetQuestion ¶
func (m *GenesisAccountsBalanceInput) GetQuestion() string
func (*GenesisAccountsBalanceInput) Init ¶
func (m *GenesisAccountsBalanceInput) Init() tea.Cmd
func (*GenesisAccountsBalanceInput) View ¶
func (m *GenesisAccountsBalanceInput) View() string
type GenesisGasStationBalanceInput ¶
type GenesisGasStationBalanceInput struct {
ui.TextInput
weavecontext.BaseModel
// contains filtered or unexported fields
}
func NewGenesisGasStationBalanceInput ¶
func NewGenesisGasStationBalanceInput(ctx context.Context) (*GenesisGasStationBalanceInput, error)
func (*GenesisGasStationBalanceInput) GetQuestion ¶
func (m *GenesisGasStationBalanceInput) GetQuestion() string
func (*GenesisGasStationBalanceInput) Init ¶
func (m *GenesisGasStationBalanceInput) Init() tea.Cmd
func (*GenesisGasStationBalanceInput) View ¶
func (m *GenesisGasStationBalanceInput) View() string
type L1SystemKeys ¶
type L1SystemKeys struct {
BridgeExecutor *types.GenesisAccount
OutputSubmitter *types.GenesisAccount
BatchSubmitter *types.GenesisAccount
Challenger *types.GenesisAccount
}
func NewL1SystemKeys ¶
func NewL1SystemKeys(bridgeExecutor, outputSubmitter, batchSubmitter, challenger *types.GenesisAccount) *L1SystemKeys
func (*L1SystemKeys) FundAccountsWithGasStation ¶
func (lsk *L1SystemKeys) FundAccountsWithGasStation(state *LaunchState) (*FundAccountsResponse, error)
func (*L1SystemKeys) VerifyGasStationBalances ¶ added in v0.1.2
func (lsk *L1SystemKeys) VerifyGasStationBalances(state *LaunchState) error
type LatestVersionLoading ¶
type LatestVersionLoading struct {
weavecontext.BaseModel
ui.Loading
// contains filtered or unexported fields
}
func NewLatestVersionLoading ¶
func NewLatestVersionLoading(ctx context.Context) *LatestVersionLoading
func (*LatestVersionLoading) Init ¶
func (m *LatestVersionLoading) Init() tea.Cmd
func (*LatestVersionLoading) View ¶
func (m *LatestVersionLoading) View() string
type LaunchState ¶
type LaunchState struct {
// contains filtered or unexported fields
}
func NewLaunchState ¶
func NewLaunchState() *LaunchState
func (LaunchState) Clone ¶
func (ls LaunchState) Clone() LaunchState
func (*LaunchState) FillDefaultBalances ¶
func (ls *LaunchState) FillDefaultBalances()
func (*LaunchState) FinalizeGenesisAccounts ¶
func (ls *LaunchState) FinalizeGenesisAccounts()
func (*LaunchState) PrepareLaunchingWithConfig ¶
func (ls *LaunchState) PrepareLaunchingWithConfig(vm, minitiadVersion, minitiadEndpoint, configPath string, config *types.MinitiaConfig)
type LaunchingNewMinitiaLoading ¶
type LaunchingNewMinitiaLoading struct {
ui.Loading
weavecontext.BaseModel
// contains filtered or unexported fields
}
func NewLaunchingNewMinitiaLoading ¶
func NewLaunchingNewMinitiaLoading(ctx context.Context) *LaunchingNewMinitiaLoading
func (*LaunchingNewMinitiaLoading) Init ¶
func (m *LaunchingNewMinitiaLoading) Init() tea.Cmd
func (*LaunchingNewMinitiaLoading) View ¶
func (m *LaunchingNewMinitiaLoading) View() string
type MonikerInput ¶
type MonikerInput struct {
ui.TextInput
weavecontext.BaseModel
// contains filtered or unexported fields
}
func NewMonikerInput ¶
func NewMonikerInput(ctx context.Context) *MonikerInput
func (*MonikerInput) GetQuestion ¶
func (m *MonikerInput) GetQuestion() string
func (*MonikerInput) Init ¶
func (m *MonikerInput) Init() tea.Cmd
func (*MonikerInput) View ¶
func (m *MonikerInput) View() string
type NetworkSelect ¶
type NetworkSelect struct {
ui.Selector[NetworkSelectOption]
weavecontext.BaseModel
// contains filtered or unexported fields
}
func NewNetworkSelect ¶
func NewNetworkSelect(ctx context.Context) (*NetworkSelect, error)
func (*NetworkSelect) GetQuestion ¶
func (m *NetworkSelect) GetQuestion() string
func (*NetworkSelect) Init ¶
func (m *NetworkSelect) Init() tea.Cmd
func (*NetworkSelect) View ¶
func (m *NetworkSelect) View() string
type NetworkSelectOption ¶
type NetworkSelectOption string
var ( Testnet NetworkSelectOption = "" Mainnet NetworkSelectOption = "" )
func (NetworkSelectOption) ToChainType ¶
func (n NetworkSelectOption) ToChainType() (registry.ChainType, error)
type OpBridgeBatchSubmissionTargetOption ¶
type OpBridgeBatchSubmissionTargetOption string
const ( Celestia OpBridgeBatchSubmissionTargetOption = "Celestia" Initia OpBridgeBatchSubmissionTargetOption = "Initia L1" )
type OpBridgeBatchSubmissionTargetSelect ¶
type OpBridgeBatchSubmissionTargetSelect struct {
ui.Selector[OpBridgeBatchSubmissionTargetOption]
weavecontext.BaseModel
// contains filtered or unexported fields
}
func NewOpBridgeBatchSubmissionTargetSelect ¶
func NewOpBridgeBatchSubmissionTargetSelect(ctx context.Context) *OpBridgeBatchSubmissionTargetSelect
func (*OpBridgeBatchSubmissionTargetSelect) GetQuestion ¶
func (m *OpBridgeBatchSubmissionTargetSelect) GetQuestion() string
func (*OpBridgeBatchSubmissionTargetSelect) Init ¶
func (m *OpBridgeBatchSubmissionTargetSelect) Init() tea.Cmd
func (*OpBridgeBatchSubmissionTargetSelect) View ¶
func (m *OpBridgeBatchSubmissionTargetSelect) View() string
type OpBridgeOutputFinalizationPeriodInput ¶
type OpBridgeOutputFinalizationPeriodInput struct {
ui.TextInput
weavecontext.BaseModel
// contains filtered or unexported fields
}
func NewOpBridgeOutputFinalizationPeriodInput ¶
func NewOpBridgeOutputFinalizationPeriodInput(ctx context.Context) *OpBridgeOutputFinalizationPeriodInput
func (*OpBridgeOutputFinalizationPeriodInput) GetQuestion ¶
func (m *OpBridgeOutputFinalizationPeriodInput) GetQuestion() string
func (*OpBridgeOutputFinalizationPeriodInput) Init ¶
func (m *OpBridgeOutputFinalizationPeriodInput) Init() tea.Cmd
func (*OpBridgeOutputFinalizationPeriodInput) View ¶
func (m *OpBridgeOutputFinalizationPeriodInput) View() string
type OpBridgeSubmissionIntervalInput ¶
type OpBridgeSubmissionIntervalInput struct {
ui.TextInput
weavecontext.BaseModel
// contains filtered or unexported fields
}
func NewOpBridgeSubmissionIntervalInput ¶
func NewOpBridgeSubmissionIntervalInput(ctx context.Context) *OpBridgeSubmissionIntervalInput
func (*OpBridgeSubmissionIntervalInput) GetQuestion ¶
func (m *OpBridgeSubmissionIntervalInput) GetQuestion() string
func (*OpBridgeSubmissionIntervalInput) Init ¶
func (m *OpBridgeSubmissionIntervalInput) Init() tea.Cmd
func (*OpBridgeSubmissionIntervalInput) View ¶
func (m *OpBridgeSubmissionIntervalInput) View() string
type OracleEnableOption ¶
type OracleEnableOption string
const ( Enable OracleEnableOption = "Enable" Disable OracleEnableOption = "Disable" )
type OracleEnableSelect ¶
type OracleEnableSelect struct {
ui.Selector[OracleEnableOption]
weavecontext.BaseModel
// contains filtered or unexported fields
}
func NewOracleEnableSelect ¶
func NewOracleEnableSelect(ctx context.Context) *OracleEnableSelect
func (*OracleEnableSelect) GetQuestion ¶
func (m *OracleEnableSelect) GetQuestion() string
func (*OracleEnableSelect) Init ¶
func (m *OracleEnableSelect) Init() tea.Cmd
func (*OracleEnableSelect) View ¶
func (m *OracleEnableSelect) View() string
type RollyticsData ¶ added in v0.3.4
Create a simple data structure for the template
type ScanPayload ¶
type ScanPayload struct {
Vm string `json:"vm"`
ChainId string `json:"chainId"`
MinGasPrice float64 `json:"minGasPrice"`
Denom string `json:"denom"`
Lcd string `json:"lcd"`
Rpc string `json:"rpc"`
JsonRpc string `json:"jsonRpc,omitempty"`
Indexer string `json:"indexer"`
}
func (*ScanPayload) EncodeToBase64 ¶
func (sp *ScanPayload) EncodeToBase64() (string, error)
type SystemKeyBatchSubmitterMnemonicInput ¶
type SystemKeyBatchSubmitterMnemonicInput struct {
ui.TextInput
weavecontext.BaseModel
// contains filtered or unexported fields
}
func NewSystemKeyBatchSubmitterMnemonicInput ¶
func NewSystemKeyBatchSubmitterMnemonicInput(ctx context.Context) *SystemKeyBatchSubmitterMnemonicInput
func (*SystemKeyBatchSubmitterMnemonicInput) GetQuestion ¶
func (m *SystemKeyBatchSubmitterMnemonicInput) GetQuestion() string
func (*SystemKeyBatchSubmitterMnemonicInput) Init ¶
func (m *SystemKeyBatchSubmitterMnemonicInput) Init() tea.Cmd
func (*SystemKeyBatchSubmitterMnemonicInput) View ¶
func (m *SystemKeyBatchSubmitterMnemonicInput) View() string
type SystemKeyBridgeExecutorMnemonicInput ¶
type SystemKeyBridgeExecutorMnemonicInput struct {
ui.TextInput
weavecontext.BaseModel
// contains filtered or unexported fields
}
func NewSystemKeyBridgeExecutorMnemonicInput ¶
func NewSystemKeyBridgeExecutorMnemonicInput(ctx context.Context) *SystemKeyBridgeExecutorMnemonicInput
func (*SystemKeyBridgeExecutorMnemonicInput) GetQuestion ¶
func (m *SystemKeyBridgeExecutorMnemonicInput) GetQuestion() string
func (*SystemKeyBridgeExecutorMnemonicInput) Init ¶
func (m *SystemKeyBridgeExecutorMnemonicInput) Init() tea.Cmd
func (*SystemKeyBridgeExecutorMnemonicInput) View ¶
func (m *SystemKeyBridgeExecutorMnemonicInput) View() string
type SystemKeyChallengerMnemonicInput ¶
type SystemKeyChallengerMnemonicInput struct {
ui.TextInput
weavecontext.BaseModel
// contains filtered or unexported fields
}
func NewSystemKeyChallengerMnemonicInput ¶
func NewSystemKeyChallengerMnemonicInput(ctx context.Context) *SystemKeyChallengerMnemonicInput
func (*SystemKeyChallengerMnemonicInput) GetQuestion ¶
func (m *SystemKeyChallengerMnemonicInput) GetQuestion() string
func (*SystemKeyChallengerMnemonicInput) Init ¶
func (m *SystemKeyChallengerMnemonicInput) Init() tea.Cmd
func (*SystemKeyChallengerMnemonicInput) View ¶
func (m *SystemKeyChallengerMnemonicInput) View() string
type SystemKeyL1BatchSubmitterBalanceInput ¶
type SystemKeyL1BatchSubmitterBalanceInput struct {
ui.TextInput
weavecontext.BaseModel
// contains filtered or unexported fields
}
func NewSystemKeyL1BatchSubmitterBalanceInput ¶
func NewSystemKeyL1BatchSubmitterBalanceInput(ctx context.Context) *SystemKeyL1BatchSubmitterBalanceInput
func (*SystemKeyL1BatchSubmitterBalanceInput) GetQuestion ¶
func (m *SystemKeyL1BatchSubmitterBalanceInput) GetQuestion() string
func (*SystemKeyL1BatchSubmitterBalanceInput) Init ¶
func (m *SystemKeyL1BatchSubmitterBalanceInput) Init() tea.Cmd
func (*SystemKeyL1BatchSubmitterBalanceInput) View ¶
func (m *SystemKeyL1BatchSubmitterBalanceInput) View() string
type SystemKeyL1BridgeExecutorBalanceInput ¶
type SystemKeyL1BridgeExecutorBalanceInput struct {
ui.TextInput
weavecontext.BaseModel
// contains filtered or unexported fields
}
func NewSystemKeyL1BridgeExecutorBalanceInput ¶
func NewSystemKeyL1BridgeExecutorBalanceInput(ctx context.Context) *SystemKeyL1BridgeExecutorBalanceInput
func (*SystemKeyL1BridgeExecutorBalanceInput) GetQuestion ¶
func (m *SystemKeyL1BridgeExecutorBalanceInput) GetQuestion() string
func (*SystemKeyL1BridgeExecutorBalanceInput) Init ¶
func (m *SystemKeyL1BridgeExecutorBalanceInput) Init() tea.Cmd
func (*SystemKeyL1BridgeExecutorBalanceInput) View ¶
func (m *SystemKeyL1BridgeExecutorBalanceInput) View() string
type SystemKeyL1ChallengerBalanceInput ¶
type SystemKeyL1ChallengerBalanceInput struct {
ui.TextInput
weavecontext.BaseModel
// contains filtered or unexported fields
}
func NewSystemKeyL1ChallengerBalanceInput ¶
func NewSystemKeyL1ChallengerBalanceInput(ctx context.Context) *SystemKeyL1ChallengerBalanceInput
func (*SystemKeyL1ChallengerBalanceInput) GetQuestion ¶
func (m *SystemKeyL1ChallengerBalanceInput) GetQuestion() string
func (*SystemKeyL1ChallengerBalanceInput) Init ¶
func (m *SystemKeyL1ChallengerBalanceInput) Init() tea.Cmd
func (*SystemKeyL1ChallengerBalanceInput) View ¶
func (m *SystemKeyL1ChallengerBalanceInput) View() string
type SystemKeyL1OutputSubmitterBalanceInput ¶
type SystemKeyL1OutputSubmitterBalanceInput struct {
ui.TextInput
weavecontext.BaseModel
// contains filtered or unexported fields
}
func NewSystemKeyL1OutputSubmitterBalanceInput ¶
func NewSystemKeyL1OutputSubmitterBalanceInput(ctx context.Context) *SystemKeyL1OutputSubmitterBalanceInput
func (*SystemKeyL1OutputSubmitterBalanceInput) GetQuestion ¶
func (m *SystemKeyL1OutputSubmitterBalanceInput) GetQuestion() string
func (*SystemKeyL1OutputSubmitterBalanceInput) Init ¶
func (m *SystemKeyL1OutputSubmitterBalanceInput) Init() tea.Cmd
func (*SystemKeyL1OutputSubmitterBalanceInput) View ¶
func (m *SystemKeyL1OutputSubmitterBalanceInput) View() string
type SystemKeyOperatorMnemonicInput ¶
type SystemKeyOperatorMnemonicInput struct {
ui.TextInput
weavecontext.BaseModel
// contains filtered or unexported fields
}
func NewSystemKeyOperatorMnemonicInput ¶
func NewSystemKeyOperatorMnemonicInput(ctx context.Context) *SystemKeyOperatorMnemonicInput
func (*SystemKeyOperatorMnemonicInput) GetQuestion ¶
func (m *SystemKeyOperatorMnemonicInput) GetQuestion() string
func (*SystemKeyOperatorMnemonicInput) Init ¶
func (m *SystemKeyOperatorMnemonicInput) Init() tea.Cmd
func (*SystemKeyOperatorMnemonicInput) View ¶
func (m *SystemKeyOperatorMnemonicInput) View() string
type SystemKeyOutputSubmitterMnemonicInput ¶
type SystemKeyOutputSubmitterMnemonicInput struct {
ui.TextInput
weavecontext.BaseModel
// contains filtered or unexported fields
}
func NewSystemKeyOutputSubmitterMnemonicInput ¶
func NewSystemKeyOutputSubmitterMnemonicInput(ctx context.Context) *SystemKeyOutputSubmitterMnemonicInput
func (*SystemKeyOutputSubmitterMnemonicInput) GetQuestion ¶
func (m *SystemKeyOutputSubmitterMnemonicInput) GetQuestion() string
func (*SystemKeyOutputSubmitterMnemonicInput) Init ¶
func (m *SystemKeyOutputSubmitterMnemonicInput) Init() tea.Cmd
func (*SystemKeyOutputSubmitterMnemonicInput) View ¶
func (m *SystemKeyOutputSubmitterMnemonicInput) View() string
type SystemKeysMnemonicDisplayInput ¶
type SystemKeysMnemonicDisplayInput struct {
ui.TextInput
// ui.Clickable
weavecontext.BaseModel
// contains filtered or unexported fields
}
func NewSystemKeysMnemonicDisplayInput ¶
func NewSystemKeysMnemonicDisplayInput(ctx context.Context) *SystemKeysMnemonicDisplayInput
func (*SystemKeysMnemonicDisplayInput) GetQuestion ¶
func (m *SystemKeysMnemonicDisplayInput) GetQuestion() string
func (*SystemKeysMnemonicDisplayInput) Init ¶
func (m *SystemKeysMnemonicDisplayInput) Init() tea.Cmd
func (*SystemKeysMnemonicDisplayInput) View ¶
func (m *SystemKeysMnemonicDisplayInput) View() string
type SystemKeysOption ¶
type SystemKeysOption string
const ( Generate SystemKeysOption = "Generate new system keys (Will be done at the end of the flow)" Import SystemKeysOption = "Import existing keys" )
type SystemKeysSelect ¶
type SystemKeysSelect struct {
ui.Selector[SystemKeysOption]
weavecontext.BaseModel
// contains filtered or unexported fields
}
func NewSystemKeysSelect ¶
func NewSystemKeysSelect(ctx context.Context) *SystemKeysSelect
func (*SystemKeysSelect) GetQuestion ¶
func (m *SystemKeysSelect) GetQuestion() string
func (*SystemKeysSelect) Init ¶
func (m *SystemKeysSelect) Init() tea.Cmd
func (*SystemKeysSelect) View ¶
func (m *SystemKeysSelect) View() string
type TerminalState ¶
type TerminalState struct {
weavecontext.BaseModel
}
func NewTerminalState ¶
func NewTerminalState(ctx context.Context) *TerminalState
func (*TerminalState) Init ¶
func (m *TerminalState) Init() tea.Cmd
func (*TerminalState) View ¶
func (m *TerminalState) View() string
type VMTypeSelect ¶
type VMTypeSelect struct {
ui.Selector[VMTypeSelectOption]
weavecontext.BaseModel
// contains filtered or unexported fields
}
func NewVMTypeSelect ¶
func NewVMTypeSelect(ctx context.Context) *VMTypeSelect
func (*VMTypeSelect) GetQuestion ¶
func (m *VMTypeSelect) GetQuestion() string
func (*VMTypeSelect) Init ¶
func (m *VMTypeSelect) Init() tea.Cmd
func (*VMTypeSelect) View ¶
func (m *VMTypeSelect) View() string
type VMTypeSelectOption ¶
type VMTypeSelectOption string
const ( Move VMTypeSelectOption = "Move" Wasm VMTypeSelectOption = "Wasm" EVM VMTypeSelectOption = "EVM" )
func ParseVMType ¶
func ParseVMType(vmType string) (VMTypeSelectOption, error)
Click to show internal directories.
Click to hide internal directories.