mirror of
https://github.com/cf-sonr/motr.git
synced 2026-01-12 02:59:13 +00:00
* ui: improve visual consistency across components * feat: simplify task execution with consolidated commands * feat: enable account registration flow * feat: integrate price tracking functionality * feat: add metadata components for improved SEO and web crawling * refactor: improve code organization and consistency * fix: update login template package names * refactor: rename and restructure UI components for clarity * feat: introduce dynamic asset selection for transfer UI * chore: update dependencies and build process * feat: Add KVNamespace interface for Cloudflare KV store operations * refactor: Update JSON operations to use Golang generics with JSON Marshaller interface * feat: Add json import for KVNamespace generic JSON operations * refactor: Update PutJSON method to accept any type for JSON marshaling * refactor: migrate to modular architecture with domain-driven design * fix: directory structure for component routing * refactor: partial routes to htmx * docs: update documentation to reflect UI structure changes * refactor: relocate build artifacts for cleaner project structure * feat: integrate Cloudflare cache for improved performance * build: update import paths for middleware package * feat: implement core authentication flows * refactor: rename view handler to index handler for clarity * feat: introduce devbox for streamlined development environment * feat: introduce deployment and build scripts * feat: introduce radar and worker services with build automation * feat: introduce WASM-based worker and radar services * feat: migrate to standard go build process * fix: correct worker script path in wrangler configuration * feat: enhance service monitoring capabilities * refactor: migrate to new database and KV store context pattern * build: streamline worker builds using devbox scripts * feat: migrate to D1 database bindings for improved data access * feat: introduce session ID middleware * perf: optimize WASM build size by stripping debug information * feat: introduce process-compose for simplified local development * feat: enable direct wrangler commands and simplify deployment
133 lines
6.0 KiB
Go
133 lines
6.0 KiB
Go
// Code generated by sqlc. DO NOT EDIT.
|
|
// versions:
|
|
// sqlc v1.29.0
|
|
|
|
package network
|
|
|
|
import (
|
|
"database/sql"
|
|
"time"
|
|
)
|
|
|
|
type Asset struct {
|
|
ID string `json:"id"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
UpdatedAt time.Time `json:"updated_at"`
|
|
DeletedAt sql.NullTime `json:"deleted_at"`
|
|
Name string `json:"name"`
|
|
Symbol string `json:"symbol"`
|
|
Decimals int64 `json:"decimals"`
|
|
ChainID string `json:"chain_id"`
|
|
Channel string `json:"channel"`
|
|
AssetType string `json:"asset_type"`
|
|
CoingeckoID sql.NullString `json:"coingecko_id"`
|
|
}
|
|
|
|
type Blockchain struct {
|
|
ID string `json:"id"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
UpdatedAt time.Time `json:"updated_at"`
|
|
DeletedAt sql.NullTime `json:"deleted_at"`
|
|
ChainName string `json:"chain_name"`
|
|
ChainIDCosmos sql.NullString `json:"chain_id_cosmos"`
|
|
ChainIDEvm sql.NullString `json:"chain_id_evm"`
|
|
ApiName sql.NullString `json:"api_name"`
|
|
BechAccountPrefix sql.NullString `json:"bech_account_prefix"`
|
|
BechValidatorPrefix sql.NullString `json:"bech_validator_prefix"`
|
|
MainAssetSymbol sql.NullString `json:"main_asset_symbol"`
|
|
MainAssetDenom sql.NullString `json:"main_asset_denom"`
|
|
StakingAssetSymbol sql.NullString `json:"staking_asset_symbol"`
|
|
StakingAssetDenom sql.NullString `json:"staking_asset_denom"`
|
|
IsStakeEnabled bool `json:"is_stake_enabled"`
|
|
ChainImage sql.NullString `json:"chain_image"`
|
|
MainAssetImage sql.NullString `json:"main_asset_image"`
|
|
StakingAssetImage sql.NullString `json:"staking_asset_image"`
|
|
ChainType string `json:"chain_type"`
|
|
IsSupportMobileWallet bool `json:"is_support_mobile_wallet"`
|
|
IsSupportExtensionWallet bool `json:"is_support_extension_wallet"`
|
|
IsSupportErc20 bool `json:"is_support_erc20"`
|
|
DescriptionEn sql.NullString `json:"description_en"`
|
|
DescriptionKo sql.NullString `json:"description_ko"`
|
|
DescriptionJa sql.NullString `json:"description_ja"`
|
|
OriginGenesisTime sql.NullTime `json:"origin_genesis_time"`
|
|
AccountType string `json:"account_type"`
|
|
BtcStaking sql.NullString `json:"btc_staking"`
|
|
CosmosFeeInfo sql.NullString `json:"cosmos_fee_info"`
|
|
EvmFeeInfo sql.NullString `json:"evm_fee_info"`
|
|
LcdEndpoint sql.NullString `json:"lcd_endpoint"`
|
|
GrpcEndpoint sql.NullString `json:"grpc_endpoint"`
|
|
EvmRpcEndpoint sql.NullString `json:"evm_rpc_endpoint"`
|
|
Explorer sql.NullString `json:"explorer"`
|
|
About sql.NullString `json:"about"`
|
|
Forum sql.NullString `json:"forum"`
|
|
}
|
|
|
|
type CryptoListing struct {
|
|
ID string `json:"id"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
UpdatedAt time.Time `json:"updated_at"`
|
|
DeletedAt sql.NullTime `json:"deleted_at"`
|
|
ApiID string `json:"api_id"`
|
|
Name string `json:"name"`
|
|
Symbol string `json:"symbol"`
|
|
WebsiteSlug string `json:"website_slug"`
|
|
}
|
|
|
|
type FearGreedIndex struct {
|
|
ID string `json:"id"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
UpdatedAt time.Time `json:"updated_at"`
|
|
DeletedAt sql.NullTime `json:"deleted_at"`
|
|
Value int64 `json:"value"`
|
|
ValueClassification string `json:"value_classification"`
|
|
Timestamp time.Time `json:"timestamp"`
|
|
TimeUntilUpdate sql.NullString `json:"time_until_update"`
|
|
}
|
|
|
|
type GlobalMarket struct {
|
|
ID string `json:"id"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
UpdatedAt time.Time `json:"updated_at"`
|
|
DeletedAt sql.NullTime `json:"deleted_at"`
|
|
TotalMarketCapUsd sql.NullFloat64 `json:"total_market_cap_usd"`
|
|
Total24hVolumeUsd sql.NullFloat64 `json:"total_24h_volume_usd"`
|
|
BitcoinPercentageOfMarketCap sql.NullFloat64 `json:"bitcoin_percentage_of_market_cap"`
|
|
ActiveCurrencies sql.NullInt64 `json:"active_currencies"`
|
|
ActiveAssets sql.NullInt64 `json:"active_assets"`
|
|
ActiveMarkets sql.NullInt64 `json:"active_markets"`
|
|
LastUpdated time.Time `json:"last_updated"`
|
|
}
|
|
|
|
type Price struct {
|
|
ID string `json:"id"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
UpdatedAt time.Time `json:"updated_at"`
|
|
DeletedAt sql.NullTime `json:"deleted_at"`
|
|
AssetID string `json:"asset_id"`
|
|
PriceUsd sql.NullFloat64 `json:"price_usd"`
|
|
PriceBtc sql.NullFloat64 `json:"price_btc"`
|
|
Volume24hUsd sql.NullFloat64 `json:"volume_24h_usd"`
|
|
MarketCapUsd sql.NullFloat64 `json:"market_cap_usd"`
|
|
AvailableSupply sql.NullFloat64 `json:"available_supply"`
|
|
TotalSupply sql.NullFloat64 `json:"total_supply"`
|
|
MaxSupply sql.NullFloat64 `json:"max_supply"`
|
|
PercentChange1h sql.NullFloat64 `json:"percent_change_1h"`
|
|
PercentChange24h sql.NullFloat64 `json:"percent_change_24h"`
|
|
PercentChange7d sql.NullFloat64 `json:"percent_change_7d"`
|
|
Rank sql.NullInt64 `json:"rank"`
|
|
LastUpdated time.Time `json:"last_updated"`
|
|
}
|
|
|
|
type PriceConversion struct {
|
|
ID string `json:"id"`
|
|
CreatedAt time.Time `json:"created_at"`
|
|
UpdatedAt time.Time `json:"updated_at"`
|
|
DeletedAt sql.NullTime `json:"deleted_at"`
|
|
PriceID string `json:"price_id"`
|
|
CurrencyCode string `json:"currency_code"`
|
|
Price sql.NullFloat64 `json:"price"`
|
|
Volume24h sql.NullFloat64 `json:"volume_24h"`
|
|
MarketCap sql.NullFloat64 `json:"market_cap"`
|
|
LastUpdated time.Time `json:"last_updated"`
|
|
}
|