package
0.79.0-preview.4
Repository: https://github.com/vegaprotocol/vega.git
Documentation: pkg.go.dev

# Packages

Package mocks is a generated GoMock package.

# Functions

Pa = Lu * sqrt(pu) * (1 - (Lu / (Lu + sqrt(pu)))).
No description provided by the author
No description provided by the author
Pliq = (b - lc - Pb * pb) / (|Pb| * (fl + mr) - Pb).
Lu = (sqrt(pu) * sqrt(pl)) / (sqrt(pu) - sqrt(pl)).
lc = |(pa - pb) * pB|.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Pvl = rf * b / (pl * (1 - rf) + rf * pa).
Pvl = -rf * b / (pl * (1 + rf) - rf * pa).
Rf = min(Lb, 1 / (Fs + Fl) * Fi).

# Constants

No description provided by the author

# Variables

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

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
Sqrter calculates sqrt's of Uints and caches the results.

# Interfaces

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