Versions in this module Expand all Collapse all v1 v1.0.4 Oct 13, 2021 v1.0.3 Jan 8, 2021 v1.0.2 Jan 8, 2021 v1.0.1 Oct 15, 2020 v1.0.0 Oct 6, 2020 Changes in this version + const AppTitle + var Account = func() *fio.Account { ... }() + var ActionW = 220 + var Api = &fio.API + var App = app.NewWithID("explorer") + var BalanceChan = make(chan bool) + var BalanceLabel = widget.NewLabel("") + var Connected bool + var DefaultFioAddress = "" + var EndPoints = SupportedApis + var FormState = NewAbi(0) + var H = WinSettings.H + var MainnetApi = []string + var MsigLastTab = 0 + var MsigLoaded bool + var MsigRefreshRequests = make(chan bool) + var Opts = &fio.TxOptions + var PasswordVisible bool + var PrivilegedActions = map[string]bool + var ProducerActions = map[string]bool + var RefreshQr = make(chan bool, 1) + var RefreshRequestsChan = make(chan bool) + var RefreshVotesChan = make(chan bool) + var RepaintChan = make(chan bool, 1) + var Results = make([]TxResult, 0) + var Settings = DefaultSettings() + var SettingsLoaded = make(chan *FioSettings) + var TableIndex = NewTableIndex() + var TxResultBalanceChan = make(chan string) + var TxResultBalanceChanOpen = false + var Uri = "" + var W = WinSettings.W + var WidthReduce = 26 + var Win = App.NewWindow(AppTitle) + var WinSettings = getSavedWindowSettings() + func CustomTheme() fyne.Theme + func DarkerTheme() *prettyfyne.PrettyTheme + func DefaultJsonFor(endpoint string) string + func EncryptSettings(set *FioSettings, salt []byte, password string) (encrypted []byte, err error) + func ExGreyTheme() prettyfyne.PrettyTheme + func ExLightTheme() prettyfyne.PrettyTheme + func FioDomainNameHash(s string) string + func FioLogoCanvas() fyne.CanvasObject + func FlipEndian(orig []byte) []byte + func GetAbiForm(action string, account *fio.Account, api *fio.API, opts *fio.TxOptions) (fyne.CanvasObject, error) + func GetAbiViewer(w int, h int, api *fio.API) (tab *widget.Box, ok bool) + func GetChains() []string + func GetCurrentVotes(actor string, api *fio.API) (votes string) + func GetLocation(i int) string + func GetPending(refreshChan chan bool, account *fio.Account, api *fio.API) (form fyne.CanvasObject, err error) + func GetTableBrowser(w int, h int, api *fio.API) (tab *widget.Box, ok bool) + func GetTokens(s string) []string + func InitServerInfo(info chan ServerInfo, reconnected chan bool) fyne.CanvasObject + func KeyGenTab() *widget.Box + func MkDir() (ok bool, err error) + func MsigRequestsContent(api *fio.API, opts *fio.TxOptions, account *fio.Account) *widget.TabItem + func NewAccountSearchTab(box chan fyne.Container, account *fio.Account) + func NewApiRequestTab(container chan fyne.Container) + func NewRequest(account *fio.Account, api *fio.API) fyne.CanvasObject + func PctHeight() int + func PromptForPassword() + func ProposalRows(offset int, limit int, api *fio.API, opts *fio.TxOptions, account *fio.Account) *widget.Box + func QueryTable(offset uint32, max uint32, contract string, table string, api *fio.API) (out *string, query string, more bool) + func QueryTableAdvanced(max uint32, scope string, contract string, table string, index string, ...) (out *string, query string, more bool) + func RWidth() int + func RequestContent(reqContent chan fyne.CanvasObject, refresh chan bool) + func ResetTxResult() + func RespondRequest(req *fio.FundsReqTableResp, decrypted *fio.ObtRequestContent, ...) fyne.CanvasObject + func SaveEncryptedSettings(password string, settings *FioSettings) (ok bool, err error) + func SettingsWindow() + func ShowFullRequest(b []byte, win fyne.Window) + func ShowFullResponse(b []byte, win fyne.Window) + func TxResultsWindow(win *txResultOpts, api *fio.API, opts *fio.TxOptions, account *fio.Account) + func UpdateAuthContent(container chan fyne.Container, api *fio.API, opts *fio.TxOptions, ...) + func ViewRequest(id uint64, closed chan interface{}, refresh chan bool, account *fio.Account, ...) fyne.CanvasObject + func VoteContent(content chan fyne.CanvasObject, refresh chan bool) + type Abi struct + Action string + Contract string + Rows []AbiFormItem + func NewAbi(length int) *Abi + func (abi *Abi) AddNewRowButton(name *widget.Entry, account *fio.Account, form *widget.Form) *widget.Button + func (abi *Abi) AppendRow(myName string, account *fio.Account, form *widget.Form) + func (abi *Abi) DeriveJsonAbi() (abiJson []byte) + func (abi *Abi) GeneratePayloads(key *fio.Account) error + func (abi *Abi) PackAndSign(api *fio.API, opts *fio.TxOptions, account *fio.Account, msig bool) (json.RawMessage, *eos.PackedTransaction, error) + func (abi *Abi) Update(index *int, abiForm AbiFormItem) + func (abi *Abi) UpdateInput(name string, t *widget.Entry) + func (abi *Abi) UpdateLen(name string, t *widget.Select) + func (abi *Abi) UpdateSendAs(name string, t *widget.Select) + func (abi *Abi) UpdateType(name string, t *widget.Select) + func (abi *Abi) UpdateValue(index *int, value interface{}, isSlice bool, noJsonEscape bool) + func (abi *Abi) UpdateValueWithConvert(index *int, value interface{}, isSlice bool, abiType string, noJsonEscape bool) + func (abi *Abi) UpdateVariation(name string, t *widget.Select) + type AbiFormItem struct + Action string + Contract string + Input *widget.Entry + IsSlice bool + Len *widget.Select + Name *string + Order int + SendAs *widget.Select + SliceValue []*interface{} + Type *widget.Select + Value *interface{} + Variation *widget.Select + type AccountInformation struct + Actor string + Balance int64 + BundleCred int + FioDomains []FioDomainStruct + FioNames []FioAddressStruct + MsigOwners []string + MsigThresh uint32 + PrivKey string + Producer *ProducerInfo + PubKey string + PublicKeys []AddressesList + RamUsed int64 + func AccountSearch(searchFor string, value string) (as *AccountInformation, err error) + type AddressesList struct + ChainCode string + PublicAddress string + TokenCode string + type ClickEntry struct + Button *widget.Button + func NewClickEntry(b *widget.Button) *ClickEntry + func (e *ClickEntry) KeyDown(key *fyne.KeyEvent) + type EnterEntry struct + Action func() + func NewEnterEntry(f func()) *EnterEntry + func (e *EnterEntry) KeyDown(key *fyne.KeyEvent) + type EnterSelectEntry struct + Action func() + func NewEnterSelectEntry(entries []string, f func()) *EnterSelectEntry + func (e *EnterSelectEntry) KeyDown(key *fyne.KeyEvent) + type FioActions struct + Actions map[string][]string + Index []string + func GetAccountSummary(api *fio.API) (*FioActions, error) + type FioAddressStruct struct + Addresses []AddressesList + BundleCount uint64 + Domain string + DomainHash string + Expiration int64 + Id int + Name string + NameHash string + OwnerAccount string + type FioCustomTheme struct + func (FioCustomTheme) BackgroundColor() color.Color + func (FioCustomTheme) ButtonColor() color.Color + func (FioCustomTheme) DisabledButtonColor() color.Color + func (FioCustomTheme) DisabledIconColor() color.Color + func (FioCustomTheme) DisabledTextColor() color.Color + func (FioCustomTheme) FocusColor() color.Color + func (FioCustomTheme) HoverColor() color.Color + func (FioCustomTheme) HyperlinkColor() color.Color + func (FioCustomTheme) IconColor() color.Color + func (FioCustomTheme) IconInlineSize() int + func (FioCustomTheme) Padding() int + func (FioCustomTheme) PlaceHolderColor() color.Color + func (FioCustomTheme) PrimaryColor() color.Color + func (FioCustomTheme) ScrollBarColor() color.Color + func (FioCustomTheme) ScrollBarSize() int + func (FioCustomTheme) ScrollBarSmallSize() int + func (FioCustomTheme) ShadowColor() color.Color + func (FioCustomTheme) TextBoldFont() fyne.Resource + func (FioCustomTheme) TextBoldItalicFont() fyne.Resource + func (FioCustomTheme) TextColor() color.Color + func (FioCustomTheme) TextFont() fyne.Resource + func (FioCustomTheme) TextItalicFont() fyne.Resource + func (FioCustomTheme) TextMonospaceFont() fyne.Resource + func (FioCustomTheme) TextSize() int + type FioDomainStruct struct + Account eos.AccountName + Expiration int64 + IsPublic uint8 + Name string + type FioSettings struct + AdvancedFeatures bool + DefaultKey string + DefaultKeyDesc string + FavKey2 string + FavKey2Desc string + FavKey3 string + FavKey3Desc string + FavKey4 string + FavKey4Desc string + KeosdAddress string + KeosdPassword string + MsigAccount string + Proxy string + Server string + Tpid string + func DecryptSettings(encrypted []byte, password string) (settings *FioSettings, err error) + func DefaultSettings() *FioSettings + func LoadEncryptedSettings(password string) (ok bool, fileLength int, settings *FioSettings, err error) + type ProducerInfo struct + FioAddress string + IsActive bool + LastClaimTime time.Time + Location int + Owner string + ProducerPublicKey string + TotalVotes float64 + UnpaidBlocks int + Url string + type ServerInfo struct + Info *eos.InfoResp + Uri string + type SupportedApis struct + Apis []string + func (apiList *SupportedApis) Update(url string, filter bool) error + type TableBrowserIndex struct + func NewTableIndex() *TableBrowserIndex + func (tb *TableBrowserIndex) Add(contract string, tables []string) (ok bool) + func (tb *TableBrowserIndex) Get(contract string) (tables []string) + func (tb *TableBrowserIndex) IsCreated() bool + func (tb *TableBrowserIndex) List() []string + func (tb *TableBrowserIndex) SetCreated(b bool) + type TxResult struct + FullReq []byte + FullResp []byte + Index int + Req []byte + Resp []byte + Success bool + Summary string + type TxSummary struct + ErrorCode interface{} + Processed struct{ ... } + TotalBytes int + TransactionId string