package
0.0.0-20190507022301-b1bd2f5c3845
Repository: https://github.com/gincoinc/go.git
Documentation: pkg.go.dev
# Functions
DecodeOfferID performs the reverse operation of EncodeOfferID.
EncodeOfferId creates synthetic offer ids to be used by trade resources
This is required because stellar-core does not allocate offer ids for immediately filled offers, while clients expect them for aggregated views.
# Constants
No description provided by the author
from create_account.
from create_account, payment, path_payment, merge_account.
from create_account, payment, path_payment, create_account.
from set_options.
from set_options.
from set_options.
from merge_account.
from set_options.
from manage_data.
from manage_data.
from manage_data.
from manage_offer, creat_passive_offer.
from manage_offer, creat_passive_offer, path_payment.
from manage_offer, creat_passive_offer, path_payment.
from bump_sequence.
from set_options.
from set_options.
from set_options.
from manage_offer, creat_passive_offer, path_payment.
from allow_trust.
from change_trust.
from allow_trust.
from change_trust.
from change_trust, allow_trust.
No description provided by the author
# Variables
AllowedResolutions is the set of trade aggregation time windows allowed to be used as the `resolution` parameter.
StrictResolutionFiltering represents a simple feature flag to determine whether only predetermined resolutions of trade aggregations are allowed.
# Structs
Account is a row of data from the `history_accounts` table.
AccountsQ is a helper struct to aid in configuring queries that loads slices of account structs.
Asset is a row of data from the `history_assets` table.
AssetStat is a row in the asset_stats table representing the stats per Asset.
Effect is a row of data from the `history_effects` table.
EffectsQ is a helper struct to aid in configuring queries that loads slices of Ledger structs.
FeeStats is a row of data from the min, mode, percentile aggregate functions over the `history_transactions` table.
LatestLedger represents a response from the raw LatestLedgerBaseFeeAndSequence query.
Ledger is a row of data from the `history_ledgers` table.
LedgerCache is a helper struct to load ledger data related to a batch of sequences.
LedgerCapacityUsageStats contains ledgers fullness stats.
LedgersQ is a helper struct to aid in configuring queries that loads slices of Ledger structs.
Operation is a row of data from the `history_operations` table.
OperationsQ is a helper struct to aid in configuring queries that loads slices of Operation structs.
Q is a helper struct on which to hang common_trades queries against a history portion of the horizon database.
TotalOrderID represents the ID portion of rows that are identified by the "TotalOrderID".
Trade represents a trade from the trades table, joined with asset information from the assets table and account addresses from the accounts table.
TradeAggregation represents an aggregation of trades from the trades table.
TradeAggregationsQ is a helper struct to aid in configuring queries to bucket and aggregate trades.
TradesQ is a helper struct to aid in configuring queries that loads slices of trade structs.
Transaction is a row of data from the `history_transactions` table.
TransactionsQ is a helper struct to aid in configuring queries that loads slices of transaction structs.
# Type aliases
EffectType is the numeric type for an effect, used as the `type` field in the `history_effects` table.
No description provided by the author