📄Storage and types overview
Base types
Storage - main contract storage
dev_store
dev_storage_t
init_price
nat
Amount of QUIPU tokens to be charged when deploy of DEX called.
burn_rate
nat
Decimal value. multiplied by
Persent of QUIPU charges to be sent to zero address.
pools_count
nat
Counter
Amount of pools created by current contract.
pool_to_address
big_map(bytes, address)
Bytes - packed by Bytes.pack(key)
where key is record[ tokens=tokens; deployer=deployer]
where tokens is valid tokens_map_t
(sorted tokens) and deployer is address of user that deployed DEX contract.
Mapping that allows finding pool address by packed bytes of record with fields tokens
of tokens_map_t
type and deployer
of address
.
quipu_token
fa2_token_t
QUIPU token address and token ID
quipu_rewards
nat
Collected QUIPU tokens from deploy (without sent to zero address).
whitelist
set(address)
set of addresses that allowed to deploy without QUIPU charges.
Full storage type - storage root
storage
inner_store_t
Main configuration and contract values of factory
admin_lambdas
big_map(nat, bytes)
Administrative lambda-methods storage
dex_lambdas
big_map(nat, bytes)
DEX stable swap protocol lambda-methods storage
token_lambdas
big_map(nat, bytes)
FA2 lambda-methods storage
init_func
option(bytes)
lambda function for deploying new DEX
Last updated