package
7.0.1+incompatible
Repository: https://github.com/dydxprotocol/v4-chain.git
Documentation: pkg.go.dev
# Functions
BigNegMaxUint64 returns a `big.Int` that is set to -math.MaxUint64.
Return a list of 60 funding premium samples, with 30 equal to 0.001% or 1000 in ppm, 15 equal to -0.1% and 15 equal to 0.1%.
Return a list of `count` constant funding premiums equal to `value`.
GenerateEpochGenesisStateWithoutFunding is a testutil function to generate genesis state for the epochs module where no new epochs will trigger for `funding-tick` and `funding-sample` within the next 365 days, meaning that there will be no funding payment for unit and end-to-end tests that use this genesis state.
Returns a funding sample list of length `n = sum(counts)`, where each `values[i]` appears `counts[i]` times.
GetPrivateKeyFromAddress returns the private key for the specified account address.
# 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
Market param validation errors.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
This is a copy of the localnet genesis.json.
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
No description provided by the author
5 cents.
TestFeeNativeTokens is the gas fee offered for test transactions specified in native tokens.
Perpetual genesis parameters.
TestGasLimit is the gas limit used for test transactions.
No description provided by the author
TestNativeTokenDenom is the denom of the native token used for testing.
No description provided by the author
No description provided by the author
# Variables
Event Info.
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
Subaccounts.
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
Markets.
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
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
Bridge Event.
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
Perpetual objects.
Perpetual objects.
Perpetual objects.
Perpetual objects.
Perpetual objects.
Perpetual objects.
Perpetual objects.
Perpetual objects.
Perpetual objects.
Perpetual objects.
Perpetual objects.
Perpetual objects.
Perpetual objects.
Perpetual OI setup in tests.
Perpetual objects.
No description provided by the author
Conditional Order Cancellations.
No description provided by the author
No description provided by the author
No description provided by the author
Long Term Order Cancellations.
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
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
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
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
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
Collateralization check functions.
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
Conditional orders.
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
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
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
Conditional IOC RO orders.
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
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
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
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
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Perpetual OI setup in tests.
No description provided by the author
No description provided by the author
AddPremiumVotes messages.
AddPremiumVotes messages.
`MsgUpdateMarketPrices`.
No description provided by the author
Eth Chain ID.
Eth Log of Bridge event ID 0 at block height 3872013 that bridges 12345 tokens to address `dydx1qqgzqvzq2ps8pqys5zcvp58q7rluextx92xhln`.
Eth Log of Bridge event ID 1 at block height 3969937 that bridges 55 tokens to an empty address.
Eth Log of Bridge event ID 2 at block height 4139345 that bridges 777 tokens to address `dydx1qqgzqvzq2ps8pqys5zcvp58q7rluextxzy3rx3z4vemc3xgq42as94fpcv` (32-byte address).
Eth Log of Bridge event ID 3 at block height 4139348 that bridges 888 tokens to address `dydx124n92ej4ve2kv4tx24n92ej4ve2kv4tx24n92ej4ve2kv4tx24nyggjyyfzzy3pzgs3yggjyyfzzy3pzgs3ygg jyyfzzy3pzgs3q8699x3` (62-byte address).
Eth Log of Bridge event ID 4 at block height 4139349 that bridges 1234123443214321 tokens to address `dydx1zg6pydqhy4yy9`.
Perpetual objects.
Perpetual objects.
Perpetual objects.
Perpetual objects.
Perpetual OI setup in tests.
No description provided by the author
Params Event Params.
Exchange 0 prices.
ExchangeQueryConfigs.
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
MutableExchangeMarketConfigs for 0, 1, 2, 3, and 5 markets.
Exchange 1 prices.
No description provided by the author
No description provided by the author
ExchangeArray.
No description provided by the author
Exchange 2 prices.
No description provided by the author
Exchange 3 prices.
No description provided by the author
Exchanges.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ExchangeIdMarketPriceTimestamps.
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
Exponents.
Block limits.
No description provided by the author
Get state position functions.
No description provided by the author
Invalid clobPairId.
AddPremiumVotes messages.
AddPremiumVotes messages.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Prices.
InvalidProposedOperationsUnspecifiedOrderRemovalReason is invalid because the order removal reason is unspecified.
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
Invalid order ids.
No description provided by the author
Perpetual objects.
Collateral pool addresses for isolated perpetuals.
Perpetual objects.
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
Liquidation Orders.
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
SHA256 hashes.
SHA256 hashes.
SHA256 hashes.
Liquidation order hashes.
No description provided by the author
Liquidation Configs.
No description provided by the author
No description provided by the author
LiquidityTier objects.
No description provided by the author
No description provided by the author
Perpetual Positions.
No description provided by the author
Long-Term post-only orders.
No description provided by the author
Long-term orders.
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
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
No description provided by the author
No description provided by the author
Long-Term reduce-only orders.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Long-Term Immediate Or Cancel Orders.
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
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
MarketPriceTimestamps.
No description provided by the author
No description provided by the author
Price Updates.
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
Markets.
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
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
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
No description provided by the author
No description provided by the author
Acknowledge Bridges Tx.
No description provided by the author
No description provided by the author
Test constants for deposit-to-subaccount messages.
Test constants for deposit-to-subaccount messages.
Test constants for withdraw-from-subaccount messages.
Test constants for withdraw-from-subaccount messages.
No description provided by the author
Pricefetcher MutableMarketConfigs for 0, 1, 2, 3 and 5 markets.
No description provided by the author
No description provided by the author
No description provided by the author
Expected exponents for above configs.
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
Short-term orders.
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
IOC orders.
No description provided by the author
Post-only orders.
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
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
No description provided by the author
No description provided by the author
No description provided by the author
Reduce-only orders.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
IOC + RO orders.
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
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
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
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
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
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
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
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
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
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
Replacement for the above order.
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
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
No description provided by the author
No description provided by the author
SHA256 hashes.
Order hashes.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SHA256 hashes.
OrderId hashes.
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
No description provided by the author
No description provided by the author
Long position for arbitrary isolated market.
Short position for arbitrary isolated market.
SOL positions.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
AddPremiumVotes messages.
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
No description provided by the author
Propose Params.
$1.
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
Perpetual objects.
No description provided by the author
No description provided by the author
AddPremiumVotes messages.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TestFeeCoins_5Cents is the gas fee offered for test transactions.
TestFeeCoins_5Cents_NativeToken is the gas fee offered for test transactions specified in native tokens.
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
MsgCompleteBridge is an example of an expected Msg type in the delaymsg module.
No description provided by the author
No description provided by the author
Test constants for starting the daemon client.
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
No description provided by the author
No description provided by the author
2022-04-14 22:20:00 -0700 PDT.
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
Time.
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
Asset Positions.
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
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
AddPremiumVotes messages.
AddPremiumVotes messages.
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