Open verdigos opened 1 month ago
CREATE TYPE dex_withdraw_liquidity_details AS ( dex VARCHAR, amount1 NUMERIC, amount2 NUMERIC, asset1_out VARCHAR, asset2_out VARCHAR, user_jetton_wallet_1 VARCHAR, user_jetton_wallet_2 VARCHAR, dex_jetton_wallet_1 VARCHAR, dex_jetton_wallet_2 VARCHAR, lp_tokens_burned NUMERIC ); -- Create custom type for dex_deposit_liquidity_details CREATE TYPE dex_deposit_liquidity_details AS ( dex VARCHAR, amount1 NUMERIC, amount2 NUMERIC, asset1 VARCHAR, asset2 VARCHAR, user_jetton_wallet_1 VARCHAR, user_jetton_wallet_2 VARCHAR, lp_tokens_minted NUMERIC ); alter table public.actions add dex_withdraw_liquidity_data dex_withdraw_liquidity_details; alter table public.actions add dex_deposit_liquidity_data dex_deposit_liquidity_details;