Fork: QuipuSwap FA2 Factory Old 2
Storage type
storage pair
counter nat
dex_lambdas big_map(nat, $dex_lambdas_value)
ledger big_map(address, $ledger_value)
metadata big_map(string, bytes)
token_lambdas big_map(nat, $token_lambdas_value)
token_list big_map(nat, $token_list_value)
token_to_exchange big_map($token_to_exchange_key, address)
user_rewards big_map(address, $user_rewards_value)
vetos big_map(key_hash, timestamp)
voters big_map(address, $voters_value)
votes big_map(key_hash, nat)
dex_lambdas_value lambda
input pair (pair (or (or (or (pair %divestLiquidity (pair (nat %min_tez) (nat %min_tokens)) (nat %shares)) (nat %initializeExchange)) (or (nat %investLiquidity) (pair %tezToTokenPayment (nat %min_out) (address %receiver)))) (or (or (pair %tokenToTezPayment (pair (nat %amount) (nat %min_out)) (address %receiver)) (pair %veto (nat %value) (address %voter))) (or (pair %vote (pair (key_hash %candidate) (nat %value)) (address %voter)) (address %withdrawProfit)))) (pair (pair (pair (pair (pair (option %current_candidate key_hash) (option %current_delegated key_hash)) (pair (nat %invariant) (timestamp %last_update_time))) (pair (pair (timestamp %last_veto) (big_map %ledger address (pair (pair (set %allowances address) (nat %balance)) (nat %frozen_balance)))) (pair (timestamp %period_finish) (nat %reward)))) (pair (pair (pair (nat %reward_paid) (nat %reward_per_sec)) (pair (nat %reward_per_share) (nat %tez_pool))) (pair (pair (address %token_address) (nat %token_id)) (pair (nat %token_pool) (nat %total_reward))))) (pair (pair (pair (nat %total_supply) (nat %total_votes)) (pair (big_map %user_rewards address (pair (nat %reward) (nat %reward_paid))) (nat %veto))) (pair (pair (big_map %vetos key_hash timestamp) (big_map %voters address (pair (pair (option %candidate key_hash) (timestamp %last_veto)) (pair (nat %veto) (nat %vote))))) (big_map %votes key_hash nat))))) address
return pair (list operation) (pair (pair (pair (pair (pair (option %current_candidate key_hash) (option %current_delegated key_hash)) (pair (nat %invariant) (timestamp %last_update_time))) (pair (pair (timestamp %last_veto) (big_map %ledger address (pair (pair (set %allowances address) (nat %balance)) (nat %frozen_balance)))) (pair (timestamp %period_finish) (nat %reward)))) (pair (pair (pair (nat %reward_paid) (nat %reward_per_sec)) (pair (nat %reward_per_share) (nat %tez_pool))) (pair (pair (address %token_address) (nat %token_id)) (pair (nat %token_pool) (nat %total_reward))))) (pair (pair (pair (nat %total_supply) (nat %total_votes)) (pair (big_map %user_rewards address (pair (nat %reward) (nat %reward_paid))) (nat %veto))) (pair (pair (big_map %vetos key_hash timestamp) (big_map %voters address (pair (pair (option %candidate key_hash) (timestamp %last_veto)) (pair (nat %veto) (nat %vote))))) (big_map %votes key_hash nat))))
ledger_value pair
allowances set(address)
balance nat
frozen_balance nat
token_lambdas_value lambda
input pair (pair (or (or (pair %iBalance_of (list %requests (pair (address %owner) (nat %token_id))) (contract %callback (list (pair (pair %request (address %owner) (nat %token_id)) (nat %balance))))) (list %iTransfer (pair (address %from_) (list %txs (pair (address %to_) (pair (nat %token_id) (nat %amount))))))) (list %iUpdate_operators (or (pair %add_operator (address %owner) (pair (address %operator) (nat %token_id))) (pair %remove_operator (address %owner) (pair (address %operator) (nat %token_id)))))) (pair (pair (pair (pair (pair (option %current_candidate key_hash) (option %current_delegated key_hash)) (pair (nat %invariant) (timestamp %last_update_time))) (pair (pair (timestamp %last_veto) (big_map %ledger address (pair (pair (set %allowances address) (nat %balance)) (nat %frozen_balance)))) (pair (timestamp %period_finish) (nat %reward)))) (pair (pair (pair (nat %reward_paid) (nat %reward_per_sec)) (pair (nat %reward_per_share) (nat %tez_pool))) (pair (pair (address %token_address) (nat %token_id)) (pair (nat %token_pool) (nat %total_reward))))) (pair (pair (pair (nat %total_supply) (nat %total_votes)) (pair (big_map %user_rewards address (pair (nat %reward) (nat %reward_paid))) (nat %veto))) (pair (pair (big_map %vetos key_hash timestamp) (big_map %voters address (pair (pair (option %candidate key_hash) (timestamp %last_veto)) (pair (nat %veto) (nat %vote))))) (big_map %votes key_hash nat))))) address
return pair (list operation) (pair (pair (pair (pair (pair (option %current_candidate key_hash) (option %current_delegated key_hash)) (pair (nat %invariant) (timestamp %last_update_time))) (pair (pair (timestamp %last_veto) (big_map %ledger address (pair (pair (set %allowances address) (nat %balance)) (nat %frozen_balance)))) (pair (timestamp %period_finish) (nat %reward)))) (pair (pair (pair (nat %reward_paid) (nat %reward_per_sec)) (pair (nat %reward_per_share) (nat %tez_pool))) (pair (pair (address %token_address) (nat %token_id)) (pair (nat %token_pool) (nat %total_reward))))) (pair (pair (pair (nat %total_supply) (nat %total_votes)) (pair (big_map %user_rewards address (pair (nat %reward) (nat %reward_paid))) (nat %veto))) (pair (pair (big_map %vetos key_hash timestamp) (big_map %voters address (pair (pair (option %candidate key_hash) (timestamp %last_veto)) (pair (nat %veto) (nat %vote))))) (big_map %votes key_hash nat))))
token_list_value pair
@address_391 address
@nat_392 nat
token_to_exchange_key pair
@address_396 address
@nat_397 nat
user_rewards_value pair
reward nat
reward_paid nat
voters_value pair
candidate option(key_hash)
last_veto timestamp
veto nat
vote nat