Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add udex trades #7215

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
d08a1e2
add udex trades
clizzard7 Nov 30, 2024
ca92621
fix: add udex events as sources
whalehunting Nov 30, 2024
63133fa
fixed reviewed changes
clizzard7 Nov 30, 2024
4a5d8e2
fix typo
clizzard7 Nov 30, 2024
b4c8662
Update udex_bsc_bot_trades.sql
clizzard7 Nov 30, 2024
4079e83
fix
clizzard7 Nov 30, 2024
20bab3c
Update udex_bsc_bot_trades.sql
clizzard7 Nov 30, 2024
c4eb774
Update udex_bsc_bot_trades.sql
clizzard7 Nov 30, 2024
c4389b0
Update udex_bsc_bot_trades.sql
clizzard7 Nov 30, 2024
a3fc26a
fix: typos
whalehunting Nov 30, 2024
1f24bd6
Update udex_bsc_bot_trades.sql
clizzard7 Nov 30, 2024
f97a8f5
fix: add block number
whalehunting Nov 30, 2024
3c0af7a
fix: make block_number unambigious
whalehunting Nov 30, 2024
de4208e
fix: typo
whalehunting Nov 30, 2024
d6a91b7
chore: rename seed to bnb instead of bsc
whalehunting Nov 30, 2024
cb53f4c
chore: add seed schema
whalehunting Nov 30, 2024
e33f60d
chore: add to dex_evm.bot_trades
whalehunting Nov 30, 2024
64b3fe1
fix: rename model, move to chainspecific subfolder
whalehunting Nov 30, 2024
f7b2375
fix: use bnb contract for price
whalehunting Nov 30, 2024
c9181d5
perf: add incremental filter to prices.usd
whalehunting Nov 30, 2024
dc4bed7
fix: typo
whalehunting Nov 30, 2024
fed8d76
fix: do not cast to varchar
whalehunting Nov 30, 2024
037b89d
fix: typo
whalehunting Nov 30, 2024
783a864
fix: revert changes to match dune query
whalehunting Dec 1, 2024
1280075
correct seed added
clizzard7 Dec 1, 2024
02aa355
fix seed
clizzard7 Dec 1, 2024
e003f27
Update udex_bnb_trades_seed.csv
clizzard7 Dec 1, 2024
59743e1
Merge remote-tracking branch 'upstream/main' into feat-udex-evm-spell…
whalehunting Dec 9, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 20 additions & 1 deletion dbt_subprojects/dex/models/bot_trades/_schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ models:
- evt_index
- check_bot_trades_seed:
seed_file: ref('readyswap_ethereum_trades_seed')

- name: flokibot_ethereum_bot_trades
meta:
blockchain: ethereum
Expand Down Expand Up @@ -225,3 +225,22 @@ models:
- evt_index
- check_bot_trades_seed:
seed_file: ref('flokibot_bnb_trades_seed')

- name: udex_bnb_bot_trades
meta:
blockchain: bnb
sector: dex
project: udex
contributors: whale_hunter
config:
tags: ["evm", "dex", "udex", "trades"]
description: >
Udex trades on Bnb
data_tests:
- dbt_utils.unique_combination_of_columns:
combination_of_columns:
- blockchain
- tx_hash
- evt_index
- check_bot_trades_seed:
seed_file: ref('udex_bnb_trades_seed')
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
,ref('flokibot_base_bot_trades')
,ref('flokibot_bnb_bot_trades')
,ref('flokibot_ethereum_bot_trades')
,ref('udex_bnb_bot_trades')
] %}

{% for bot in evm_trading_bots %}
Expand Down
153 changes: 153 additions & 0 deletions dbt_subprojects/dex/models/bot_trades/udex/bnb/udex_bnb_bot_trades.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
{{ config(
alias = 'bot_trades',
schema = 'udex_bnb',
partition_by = ['block_month'],
materialized = 'incremental',
file_format = 'delta',
incremental_strategy = 'merge',
incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.block_time')],
unique_key = ['blockchain', 'tx_hash', 'evt_index']
)
}}

{% set project_name = 'Udex' %}
{% set project_start_date = '2023-12-24' %}
{% set blockchain = 'bnb' %}
{% set vault = '0x1df00191a32184675baA3fc0416A57009C386ed9' %}
{% set wbnb = '0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c' %}
{% set fee_token_symbol = 'BNB' %}

WITH swaps AS (
SELECT DISTINCT
'Market' AS order_type,
evt_block_time,
evt_block_number,
evt_tx_hash,
contract_address AS router
FROM
{{ source('udex_bnb', 'SpotSwapRouter_evt_Swap') }}
),
limit_orders_filled AS (
SELECT DISTINCT
'Limit' AS order_type,
evt_block_time,
evt_block_number,
evt_tx_hash,
contract_address AS router
FROM
{{ source('udex_bnb', 'SpotLimitOrderRouter_evt_SpotOrderFilled') }}
),
trades_tx_hashes AS (
SELECT
*
FROM
swaps
UNION ALL
SELECT
*
FROM
limit_orders_filled
),
bot_trades AS (
SELECT
block_time,
trades_tx_hashes.evt_block_number AS block_number,
amount_usd,
order_type,
IF(
token_sold_address = {{wbnb}}, -- WBNB
'Buy',
'Sell'
) AS type,
token_bought_amount,
token_bought_symbol,
token_bought_address,
token_sold_amount,
token_sold_symbol,
token_sold_address,
(fee_payments.value / POWER(10, decimals)) * price AS fee_usd,
(fee_payments.value / POWER(10, decimals)) AS fee_token_amount,
token_sold_symbol AS fee_token_symbol,
token_sold_address AS fee_token_address,
project,
version,
token_pair,
project_contract_address,
tx_from AS user,
router AS bot,
tx_hash,
trades.evt_index
FROM
trades_tx_hashes
JOIN {{ source('dex', 'trades') }} as trades ON (
trades_tx_hashes.evt_tx_hash = tx_hash
AND trades_tx_hashes.evt_block_time = block_time
)
LEFT JOIN {{ source('erc20_bnb','evt_transfer') }} as fee_payments ON (
fee_payments.evt_tx_hash = tx_hash
AND fee_payments.evt_block_time = block_time
AND fee_payments.contract_address = token_sold_address
AND "from" = router
AND to = {{vault}}
)
LEFT JOIN {{ source('prices', 'usd') }} AS fee_token_prices ON (
fee_token_prices.blockchain = 'bnb'
AND fee_token_prices.contract_address = token_sold_address
AND date_trunc('minute', block_time) = minute
{% if is_incremental() %}
AND {{ incremental_predicate('minute') }}
{% endif %}
)
WHERE
trades.blockchain = 'bnb'
),
highest_event_index_for_each_trade AS (
SELECT
tx_hash,
MAX(evt_index) AS highest_event_index
FROM
bot_trades
GROUP BY
tx_hash
)
SELECT
block_time,
date_trunc('day', bot_trades.block_time) as block_date,
date_trunc('month', bot_trades.block_time) as block_month,
'{{project_name}}' as bot,
block_number,
'{{blockchain}}' AS blockchain,
-- Trade
amount_usd,
type,
token_bought_amount,
token_bought_symbol,
token_bought_address,
token_sold_amount,
token_sold_symbol,
token_sold_address,
-- Fees
ROUND(
CAST(fee_usd AS DOUBLE) / CAST(amount_usd AS DOUBLE),
4 -- Round feePercentage to 0.01% steps
) AS fee_percentage_fraction,
fee_usd,
fee_token_amount,
fee_token_symbol,
fee_token_address,
-- Dex
project,
version,
token_pair,
project_contract_address,
-- User
user AS user,
bot_trades.tx_hash,
evt_index,
IF(evt_index = highest_event_index, true, false) AS is_last_trade_in_transaction
FROM
bot_trades
JOIN highest_event_index_for_each_trade ON bot_trades.tx_hash = highest_event_index_for_each_trade.tx_hash
ORDER BY
block_time DESC,
evt_index DESC
13 changes: 13 additions & 0 deletions dbt_subprojects/dex/seeds/bot_trades/udex/schema.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
version: 2

seeds:
- name: udex_bnb_trades_seed
config:
column_types:
version: varchar
token_bought_address: varbinary
token_sold_address: varbinary
fee_token_address: varbinary
project_contract_address: varbinary
user: varbinary
tx_hash: varbinary
21 changes: 21 additions & 0 deletions dbt_subprojects/dex/seeds/bot_trades/udex/udex_bnb_trades_seed.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
block_time,block_date,block_month,bot,block_number,blockchain,amount_usd,type,token_bought_amount,token_bought_symbol,token_bought_address,token_sold_amount,token_sold_symbol,token_sold_address,fee_percentage_fraction,fee_usd,fee_token_amount,fee_token_symbol,fee_token_address,project,version,token_pair,project_contract_address,user,tx_hash,evt_index,is_last_trade_in_transaction
2024-04-28 00:09:46.000 UTC,2024-04-28 00:00:00.000 UTC,2024-04-01 00:00:00.000 UTC,Udex,38240280,bnb,0.10862912339480275,Sell,0.10855769243318171,USDC,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,0.10865729548988187,USDT,0x55d398326f99059ff775485246999027b3197955,0.002,0.00021781585168961795,0.000217750091162087,USDT,0x55d398326f99059ff775485246999027b3197955,pancakeswap,3,USDC-USDT,0x4f31fa980a675570939b737ebdde0471a4be40eb,0x2056f8147dc27f3cc6995ed1015c7c210f00ab57,0x16cb0270f8d7f38aa6d35b01483ebcf1ab755beaf7c4346150aa2e27aff85b5f,170,true
2024-04-28 03:28:58.000 UTC,2024-04-28 00:00:00.000 UTC,2024-04-01 00:00:00.000 UTC,Udex,38244263,bnb,0.11445468396959096,Sell,0.11456099657441203,USDT,0x55d398326f99059ff775485246999027b3197955,0.1145704,USDC,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,0.002,0.000229512752,0.0002296,USDC,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,pancakeswap,3,USDC-USDT,0x4f31fa980a675570939b737ebdde0471a4be40eb,0x3b11db19aa3fc94b5c89161a4538b68156701ead,0x5ca1ba7afb286eef6d47e039b389e5d991af6a8ba0e742b3116b54e3bf397f88,218,true
2024-04-28 04:27:41.000 UTC,2024-04-28 00:00:00.000 UTC,2024-04-01 00:00:00.000 UTC,Udex,38245436,bnb,0.16709745691065964,Sell,0.16708008058227905,USDT,0x55d398326f99059ff775485246999027b3197955,0.16709378915820072,USDC,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,0.002,0.00033501869411738393,0.000334857292902205,USDC,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,pancakeswap,3,USDC-USDT,0x4f31fa980a675570939b737ebdde0471a4be40eb,0x2fdeb62361d3c3aa52f2bc287467bbc8be16e1c9,0xd08f873a5cbe130e6b331425a70fa5474de4d5b3ca3d5f867b6a0fc5faf9746c,307,true
2024-04-28 05:03:14.000 UTC,2024-04-28 00:00:00.000 UTC,2024-04-01 00:00:00.000 UTC,Udex,38246146,bnb,0.05268021212023216,Sell,0.05265967484704182,USDT,0x55d398326f99059ff775485246999027b3197955,0.05266399008292569,USDC,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,0.002,0.00010562222306034254,0.000105539058282416,USDC,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,pancakeswap,3,USDC-USDT,0x4f31fa980a675570939b737ebdde0471a4be40eb,0x2b0edaec4d7ed750bc2b6cf620be597f236fc1f9,0x504c49b29df238595a5181ac02594bc2e8181a8686239d00dffa85867e8800fa,395,true
2024-04-28 06:21:37.000 UTC,2024-04-28 00:00:00.000 UTC,2024-04-01 00:00:00.000 UTC,Udex,38247713,bnb,0.03565089614761838,Sell,0.03565057529244075,USDT,0x55d398326f99059ff775485246999027b3197955,0.035653496240448786,USDC,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,0.002,0.00007149712064421545,0.000071449892265428,USDC,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,pancakeswap,3,USDC-USDT,0x4f31fa980a675570939b737ebdde0471a4be40eb,0xa2ec3f3af677951f11f6e71286c2b923d657d92a,0x342df076ca3f7847794c22ce4605ff82429529cdce1403b1d012ea0100a85e69,315,true
2024-04-28 06:33:58.000 UTC,2024-04-28 00:00:00.000 UTC,2024-04-01 00:00:00.000 UTC,Udex,38247960,bnb,0.17387509450528815,Sell,0.17374322339872852,USDC,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,0.17390286983544595,USDT,0x55d398326f99059ff775485246999027b3197955,0.002,0.0003486658444459494,0.000348502745161214,USDT,0x55d398326f99059ff775485246999027b3197955,pancakeswap,3,USDC-USDT,0x4f31fa980a675570939b737ebdde0471a4be40eb,0x025d752e359e1f1311cb951a94b3c5c29e277ba4,0x78e49484b0722d4831ce049d11ab509b9676126db51cd89db63866a876399e25,294,true
2024-04-28 10:51:32.000 UTC,2024-04-28 00:00:00.000 UTC,2024-04-01 00:00:00.000 UTC,Udex,38253095,bnb,0.0738150319429729,Sell,0.0737364289097551,USDC,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,0.073805094,USDT,0x55d398326f99059ff775485246999027b3197955,0.002,0.000148001695182,0.000147906,USDT,0x55d398326f99059ff775485246999027b3197955,pancakeswap,3,USDC-USDT,0x4f31fa980a675570939b737ebdde0471a4be40eb,0xc45fe52ad3fad012fc9435d316f2df4d5e84ea78,0x3ca4af0f353c7744d6f458fec1447e7547bb4c24531b7ca1d42319b5caf08ecf,516,true
2024-04-28 14:59:04.000 UTC,2024-04-28 00:00:00.000 UTC,2024-04-01 00:00:00.000 UTC,Udex,38258043,bnb,0.10499539806699915,Sell,0.10490413147261797,USDC,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,0.10500213973085065,USDT,0x55d398326f99059ff775485246999027b3197955,0.002,0.00021048531130824326,0.000210425129721143,USDT,0x55d398326f99059ff775485246999027b3197955,pancakeswap,3,USDC-USDT,0x4f31fa980a675570939b737ebdde0471a4be40eb,0xe3e2f77a249347eb3dff255ccc5233cf689b5a16,0x7ebd1b489eadbcbebc411d736435e96579e45e76b205ba9040bce48f61bba2c1,446,true
2024-04-28 22:42:44.000 UTC,2024-04-28 00:00:00.000 UTC,2024-04-01 00:00:00.000 UTC,Udex,38267312,bnb,0.010237991061053754,Sell,0.010220677233819662,USDT,0x55d398326f99059ff775485246999027b3197955,0.010221366642596845,USDC,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,0.002,0.000020510411432261282,0.000020483700686566,USDC,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,pancakeswap,3,USDC-USDT,0x4f31fa980a675570939b737ebdde0471a4be40eb,0x9022c1a1bd9df34c847d1098cb0df307a75df77d,0x9abee3d086f68783b8a956542d6d67c0299ccbf7b465954cb958103443d6a3da,192,true
2024-04-28 23:19:17.000 UTC,2024-04-28 00:00:00.000 UTC,2024-04-01 00:00:00.000 UTC,Udex,38268041,bnb,0.12628597723419663,Sell,0.12610451284021956,USDT,0x55d398326f99059ff775485246999027b3197955,0.12611302848,USDC,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,0.002,0.00025301887573824,0.00025273152,USDC,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,pancakeswap,3,USDC-USDT,0x4f31fa980a675570939b737ebdde0471a4be40eb,0x2ed50cb116f6c7141d2e32890edda432909901c5,0xd62eeb4c7f6f045308f9930cdcb73413029e90d3fb9472f56d8c4fcf9496ec87,110,true
2024-04-29 00:14:05.000 UTC,2024-04-29 00:00:00.000 UTC,2024-04-01 00:00:00.000 UTC,Udex,38269136,bnb,0.1197729926431128,Sell,0.11957951299109322,USDC,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,0.11969109319276568,USDT,0x55d398326f99059ff775485246999027b3197955,0.002,0.00024006219490096495,0.000239861910205943,USDT,0x55d398326f99059ff775485246999027b3197955,pancakeswap,3,USDC-USDT,0x4f31fa980a675570939b737ebdde0471a4be40eb,0x2056f8147dc27f3cc6995ed1015c7c210f00ab57,0x94a5f3a022c5f0742a710ff8f4c46cedf0a157a55d85b88aaf7b545b3cd94312,317,true
2024-04-23 06:00:45.000 UTC,2024-04-23 00:00:00.000 UTC,2024-04-01 00:00:00.000 UTC,Udex,38103532,bnb,3.0128438148748615,Sell,,,0x734b46e6d1d8ce9094f825420d55453d23c2e1ea,3.0099362164897325,USDT,0x55d398326f99059ff775485246999027b3197955,,,,USDT,0x55d398326f99059ff775485246999027b3197955,uniswap,3,,0x40c547e7fd88f60d94788953b83d9342d8d133c6,0x72b62786e79f936e86ef11e301633d1d1a65e9ed,0xfe99ea48e59911bc281e13611ad2a69ac0a53d5503130353889a35021f2e17b3,279,true
2024-04-23 06:27:27.000 UTC,2024-04-23 00:00:00.000 UTC,2024-04-01 00:00:00.000 UTC,Udex,38104066,bnb,0.9988932100000001,Sell,,,0x734b46e6d1d8ce9094f825420d55453d23c2e1ea,0.998,USDT,0x55d398326f99059ff775485246999027b3197955,0.002,0.0020017900000000003,0.002,USDT,0x55d398326f99059ff775485246999027b3197955,uniswap,3,,0x40c547e7fd88f60d94788953b83d9342d8d133c6,0xbaf94ae0bc4de85baccfe842c9e98de3ff6ae4cd,0x8a37fc059995799bc5734c2a1fb46e7b4319ca7d8ac2688ee92afe4fea7a8421,104,true
2024-04-27 11:56:34.000 UTC,2024-04-27 00:00:00.000 UTC,2024-04-01 00:00:00.000 UTC,Udex,38225643,bnb,0.08848901735658335,Sell,0.088408565561922,USDC,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,0.08848963497775522,USDT,0x55d398326f99059ff775485246999027b3197955,0.002,0.00017738979802158882,0.000177333937831172,USDT,0x55d398326f99059ff775485246999027b3197955,pancakeswap,3,USDC-USDT,0x4f31fa980a675570939b737ebdde0471a4be40eb,0x18cbb03324f629903dab1616ce5c186dbd82ac68,0x92df2d6f3b613797b63cea89fe1ff570b81266dbe6f193fb6d422f41aae51032,244,true
2024-04-27 12:39:18.000 UTC,2024-04-27 00:00:00.000 UTC,2024-04-01 00:00:00.000 UTC,Udex,38226497,bnb,0.18883870573740244,Sell,0.18867832915761845,USDC,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,0.18885137699659885,USDT,0x55d398326f99059ff775485246999027b3197955,0.002,0.0003786610138860938,0.000378459673339877,USDT,0x55d398326f99059ff775485246999027b3197955,pancakeswap,3,USDC-USDT,0x4f31fa980a675570939b737ebdde0471a4be40eb,0xeabbde9cb1f6d52b67ded323087f0bcba35cfc21,0xae82c766fe144e5a5ecb6c3a0b77b9112352773155f820d5113ab3015c5b40cc,175,true
2024-04-27 13:57:29.000 UTC,2024-04-27 00:00:00.000 UTC,2024-04-01 00:00:00.000 UTC,Udex,38228059,bnb,0.0928909071475906,Sell,0.09278874673743269,USDC,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,0.09287388,USDT,0x55d398326f99059ff775485246999027b3197955,0.002,0.00018614419559999997,0.00018612,USDT,0x55d398326f99059ff775485246999027b3197955,pancakeswap,3,USDC-USDT,0x4f31fa980a675570939b737ebdde0471a4be40eb,0x341cd735d024625065e697bfa03c3037aaf80e02,0x4cd87375b2fe5a7788717c98b7d08c01cbb3562588ca81142442cd3cbfe90c70,225,true
2024-04-27 19:08:22.000 UTC,2024-04-27 00:00:00.000 UTC,2024-04-01 00:00:00.000 UTC,Udex,38234265,bnb,0.07715446439296016,Sell,0.07712292111822279,USDT,0x55d398326f99059ff775485246999027b3197955,0.07712928417122727,USDC,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,0.002,0.00015466786362198397,0.000154567703749954,USDC,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,pancakeswap,3,USDC-USDT,0x4f31fa980a675570939b737ebdde0471a4be40eb,0x004937956ce72e727f17478f32111c933a43d147,0xf094fc9f9ffaeff78c95a9d945dd68f40fbfa05a4b8f6f0faa12508eb99d724d,163,true
2024-04-27 22:17:19.000 UTC,2024-04-27 00:00:00.000 UTC,2024-04-01 00:00:00.000 UTC,Udex,38238036,bnb,0.15286772505999488,Sell,0.15271562030217392,USDC,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,0.1528558017485326,USDT,0x55d398326f99059ff775485246999027b3197955,0.002,0.00030639715717304327,0.000306324252001067,USDT,0x55d398326f99059ff775485246999027b3197955,pancakeswap,3,USDC-USDT,0x4f31fa980a675570939b737ebdde0471a4be40eb,0x025d752e359e1f1311cb951a94b3c5c29e277ba4,0xdbea5ef467751ddbc519ba0053925d1986729de003b2a4f62067529fe7550b4c,79,true
2024-04-28 00:37:01.000 UTC,2024-04-28 00:00:00.000 UTC,2024-04-01 00:00:00.000 UTC,Udex,38240825,bnb,0.06836394869336043,Sell,0.06830233998269604,USDC,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,0.0683650081208857,USDT,0x55d398326f99059ff775485246999027b3197955,0.002,0.00013702553392216558,0.000137004024290352,USDT,0x55d398326f99059ff775485246999027b3197955,pancakeswap,3,USDC-USDT,0x4f31fa980a675570939b737ebdde0471a4be40eb,0x95a7fbab57f3944812260e5b1e54ed7e03bbf06f,0xcda7b26cc806b0436af39e9287f278130764a26f85cf177930f975cbfed62853,128,true
2024-04-28 00:54:52.000 UTC,2024-04-28 00:00:00.000 UTC,2024-04-01 00:00:00.000 UTC,Udex,38241182,bnb,0.009974212166105547,Sell,0.009969157803099376,USDC,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,0.009978304613156805,USDT,0x55d398326f99059ff775485246999027b3197955,0.002,0.00001999304303594225,0.000019996602431175,USDT,0x55d398326f99059ff775485246999027b3197955,pancakeswap,3,USDC-USDT,0x4f31fa980a675570939b737ebdde0471a4be40eb,0x14d538bd6ce8a4afec7740726d36a2abd347d4ff,0x7e9d25d2c0dc7e70a916f781414fd5a3660358f82f84bc33e0fda8bda242c17b,276,true
9 changes: 9 additions & 0 deletions sources/udex/bnb/udex_bnb_sources.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: 2

sources:
- name: udex_bnb
description: >
BNB decoded tables related to Udex Protocol
tables:
- name: SpotSwapRouter_evt_Swap
- name: SpotLimitOrderRouter_evt_SpotOrderFilled
Loading