package
0.11.1
Repository: https://github.com/dream-dapps/dreams.git
Documentation: pkg.go.dev

# Functions

Creates framed icon image.
Owned asset list object - Sets Assets.Viewing and buttons visibility on selected - rescan is func placed in button to rescan wallet assets.
Additional asset type info.
Returns container for auction display objects.
Create a new raster from image, looking for dreams.Theme.Img.Resource and will fallback to bundle.ResourceBackgroundPng if err.
Confirm a bid or buy action of listed NFA - amt of Dero in atomic units - bid true for auction, false for sale.
Returns container for NFA buy now display objects.
Check if wallet owns any indexed NFAs - Pass scids from db store, can be nil arg to check all from db.
Checks if wallet has any claimable NFAs, looking assets sent with dst uint64(0xA1B2C3D4E5F67890).
Check NFA listing type and return owner address - Auction returns 1 - Sale returns 2.
Get a wallets registered names.
Dialogs for claiming all NFAs available to wallet.
Call ClaimOwnership on SC and confirm tx on all claimable SCs.
Used for placing coin decimal, default returns 2 decimal place.
Confirm a cancel or close action of listed NFA - close true to close listing, false to cancel.
Create a new NFA contract string with passed values.
Returns if a dApp is enabled.
Returns default theme resource by Theme.Name.
Disable index objects.
Display SCID rating from dReams SCID rating system.
Enable asset collection objects - intro used to set label if initial boot screen.
Returns how many dApps are enabled.
Scan index for any active auction and buy now NFA listings - Pass scids from db store, can be nil arg to check all from db - progress widget to update ui.
Returns collection SCID by name.
Manually add G45 collections to Gnomon index.
Get auction details for current asset and set display objects.
Get buy now details for current asset and set display objects.
Get search filters from on chain store.
Get percentages for a NFA.
Get NFA cover and icon images for scid and set market images.
Get the nameHdr of a NFA.
Main price fetch, returns float and display string, average from 4 feeds - coin, "BTC-USDT", "DERO-USDT", "XMR-USDT", "DERO-BTC", "XMR-BTC".
Get details for unlisted NFA and set display objects.
Tree object containing NFA minting instructions screen.
Set wallet and chain display content for menu.
Menu instruction tree.
Check if menu is calling to close.
dReams G45 collections.
Check if string is dReams NFA collection.
Check if string is dReams NFA creator address.
Create menu tree items for dApps.
Dero wallet name entry.
Returns NFA cover image for market display.
Check that all creation directories exists.
Returns NFA market icon image with frame.
Initialize market display objects.
Returns container for unlisted display objects.
Parse url for ipfs prefix.
Owned asset tab layout - tag for log print - profile is canvas object of widgets used to select assets for games, themes, etc - rescan is func used to rescan wallet assets - icon resources for side menus - d for main window dialogs.
Place NFA market layout.
Place objects for NFA minting of collections or single mint.
Confirmation for a SCID rating.
Read a Dero .sign file and return signer, C and S signatures.
Read dReams platform config.json file - tag for log print - Sets up directory if none exists.
Reset auction display content to default values.
Reset buy now display content to default values.
Reset unlisted NFA display content to default values.
Main gif seems to stop when hidden for 5min+ will use this for now to check if running and restart.
No description provided by the author
Returns search filter with all enabled G45s.
Returns search filter with all enabled NFAs.
Routine for NFA market, finds listings and disables controls, see PlaceAssets() and PlaceMarket() layouts.
Search NFAs in index by name or collection - by 0 is collection, 1 is name, 2 is description, 3 is scid.
Send Dero message menu.
Set menu closing bool value.
Set up NFA-Creation directory with sub directory for collection or single asset, which contains sub directories for asset, bas, icon, cover and sign files.
Shows a passed Fyne CustomDialog or ConfirmDialog and closes it if connection is lost.
Create and show dialog for general messages.
Create and show dialog for sent TX, dismiss copies txid to clipboard, dialog will hide after delay.
dReams app status indicators for wallet, daemon, Gnomon and services - Pass further DreamsIndicators to add.
Dero status indicators for wallet, daemon and Gnomon.
Stop dReams app status indicators.
No description provided by the author
App theme selection object - If image is not present locally, it is downloaded.
Returns badge for dReam Tools enabled assets.
Trim input string to specified len.
Check if SCID is a valid NFA - file != "-".
Save dReams config.json file for platform wide dApp use.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

go:embed ART-NFA-MS1.bas.
No description provided by the author
Control menu indicators, checks, maps and defaults.
No description provided by the author
Market contains widget a list objects for NFA market.
Background theme AssetSelect.
No description provided by the author

# Structs

Dero A-Team metadata struct.
Asset info.
No description provided by the author
No description provided by the author
Menu tree items for dApp intros.
NFA listing data.
Dero Seals metadata struct.