Naming Convention
Naming convention of the cadCAD model:
TOKENS
POOL SHARES (BPT)
balances
price
value
balances
price
value
in float/native unit
in float USD
in float USD
float/native unit
in float USD
in float USD
tokens:
'token_(Symbol)_balance'
'token_(Symbol)_price'
'token_(Symbol)_value'
'pool_share_balance'
n/a [1]
n/a [1]
fees:
generated_fees_(Symbol)
weights: 'token_(Symbol)_weight" (normalized weight) 'token_(Symbol)_denorm_weight" (denormalized weight)
total pool: 'token_token_value" (=TVL, total value locked in USD) 'invariant" (=Invariant V, according to the Balancer Pool value function)
[1] Price and value of a pool share are not part of the simulation output, however, can be derived from the value of the underlying tokens at any pool state.
Last updated