Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ models:
project: ajna
contributors: [gunboats]
config:
tag: ['ajna', 'cross-chain', 'borrowing', 'lending']
tags: ['ajna', 'cross-chain', 'borrowing', 'lending']
description: 'All deployed ERC-20 pools across all chains on Ajna'
data_tests:
- dbt_utils.unique_combination_of_columns:
Expand Down
146 changes: 73 additions & 73 deletions dbt_subprojects/daily_spellbook/models/chainswap/chain_swap_schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,79 +10,79 @@ models:
tags: ["ethereum", "dex", "bot", "trades"]
description: >
Trades by trading bots on Ethereum
columns:
- &blockchain
name: blockchain
description: "Blockchain which the DEX is deployed"
- &block_time
name: block_time
description: "UTC event block time of each DEX trade"
- &block_date
name: block_date
description: "UTC event block date of each DEX trade"
- &block_month
name: block_month
description: "UTC event block month of each DEX trade"
- &amount_usd
name: amount_usd
description: "USD value of the trade at time of execution"
- &type
name: type
description: "Wether the trade is a buy or sell"
- &token_bought_amount
name: token_bought_amount
description: "Value of the token bought at time of execution in the original currency"
- &token_bought_symbol
name: token_bought_symbol
description: "Token symbol for token bought in the trade"
- &token_bought_address
name: token_bought_address
description: "Contract address of the token bought"
- &token_sold_amount
name: token_sold_amount
description: "Value of the token sold at time of execution in the original currency"
- &token_sold_symbol
name: token_sold_symbol
description: "Token symbol for token sold in the trade"
- &token_sold_address
name: token_sold_address
description: "Contract address of the token sold"
- &fee_usd
name: fee_usd
description: "USD value of the fee at time of execution"
- &fee_token_amount
name: fee_token_amount
description: "Value of the fee paid at time of execution in the original currency"
- &fee_token_symbol
name: fee_token_symbol
description: "Token symbol for fee token"
- &fee_token_address
name: fee_token_address
description: "Contract address of the fee token"
- &project
name: project
description: "Project name of the DEX"
- &version
name: version
description: "Version of the contract built and deployed by the DEX project"
- &token_pair
name: token_pair
description: "Token symbol pair for each token involved in the trade"
- &project_contract_address
name: project_contract_address
description: "Project contract address which executed the trade on the blockchain"
- &user
name: user
description: "Address which initiated the trade"
- &tx_hash
name: tx_hash
description: "Unique transaction hash value tied to each transaction on the DEX"
- &evt_index
name: evt_index
description: "Index of the corresponding trade event"
- &is_last_trade_in_transaction
name: is_last_trade_in_transaction
description: "Wether the trade is the last hop of the trade transaction, in case of a multi-hop trade"
columns:
- &blockchain
name: blockchain
description: "Blockchain which the DEX is deployed"
- &block_time
name: block_time
description: "UTC event block time of each DEX trade"
- &block_date
name: block_date
description: "UTC event block date of each DEX trade"
- &block_month
name: block_month
description: "UTC event block month of each DEX trade"
- &amount_usd
name: amount_usd
description: "USD value of the trade at time of execution"
- &type
name: type
description: "Wether the trade is a buy or sell"
- &token_bought_amount
name: token_bought_amount
description: "Value of the token bought at time of execution in the original currency"
- &token_bought_symbol
name: token_bought_symbol
description: "Token symbol for token bought in the trade"
- &token_bought_address
name: token_bought_address
description: "Contract address of the token bought"
- &token_sold_amount
name: token_sold_amount
description: "Value of the token sold at time of execution in the original currency"
- &token_sold_symbol
name: token_sold_symbol
description: "Token symbol for token sold in the trade"
- &token_sold_address
name: token_sold_address
description: "Contract address of the token sold"
- &fee_usd
name: fee_usd
description: "USD value of the fee at time of execution"
- &fee_token_amount
name: fee_token_amount
description: "Value of the fee paid at time of execution in the original currency"
- &fee_token_symbol
name: fee_token_symbol
description: "Token symbol for fee token"
- &fee_token_address
name: fee_token_address
description: "Contract address of the fee token"
- &project
name: project
description: "Project name of the DEX"
- &version
name: version
description: "Version of the contract built and deployed by the DEX project"
- &token_pair
name: token_pair
description: "Token symbol pair for each token involved in the trade"
- &project_contract_address
name: project_contract_address
description: "Project contract address which executed the trade on the blockchain"
- &user
name: user
description: "Address which initiated the trade"
- &tx_hash
name: tx_hash
description: "Unique transaction hash value tied to each transaction on the DEX"
- &evt_index
name: evt_index
description: "Index of the corresponding trade event"
- &is_last_trade_in_transaction
name: is_last_trade_in_transaction
description: "Wether the trade is the last hop of the trade transaction, in case of a multi-hop trade"

- name: chain_swap_ethereum_trades
meta:
Expand Down
164 changes: 82 additions & 82 deletions dbt_subprojects/dex/models/bot_trades/_schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,88 +10,88 @@ models:
tags: ["evm", "dex", "bot", "trades"]
description: >
Trades by trading bots on EVM chains
columns:
- &blockchain
name: blockchain
description: "Blockchain which the DEX is deployed"
- &block_number
name: block_number
description: "Block number that includes the DEX trade"
- &block_time
name: block_time
description: "UTC event block time of each DEX trade"
- &block_date
name: block_date
description: "UTC event block date of each DEX trade"
- &block_month
name: block_month
description: "UTC event block month of each DEX trade"
- &bot
name: bot
description: "Trading bot which executed the trade"
- &amount_usd
name: amount_usd
description: "USD value of the trade at time of execution"
- &type
name: type
description: "Wether the trade is a buy or sell"
- &token_bought_amount
name: token_bought_amount
description: "Value of the token bought at time of execution in the original currency"
- &token_bought_symbol
name: token_bought_symbol
description: "Token symbol for token bought in the trade"
- &token_bought_address
name: token_bought_address
description: "Contract address of the token bought"
- &token_sold_amount
name: token_sold_amount
description: "Value of the token sold at time of execution in the original currency"
- &token_sold_symbol
name: token_sold_symbol
description: "Token symbol for token sold in the trade"
- &token_sold_address
name: token_sold_address
description: "Contract address of the token sold"
- &fee_percentage_fraction
name: fee_percentage_fraction
description: "The trading fee in percent, as a fraction of 100"
- &fee_usd
name: fee_usd
description: "USD value of the fee at time of execution"
- &fee_token_amount
name: fee_token_amount
description: "Value of the fee paid at time of execution in the original currency"
- &fee_token_symbol
name: fee_token_symbol
description: "Token symbol for fee token"
- &fee_token_address
name: fee_token_address
description: "Contract address of the fee token"
- &project
name: project
description: "Project name of the DEX"
- &version
name: version
description: "Version of the contract built and deployed by the DEX project"
- &token_pair
name: token_pair
description: "Token symbol pair for each token involved in the trade"
- &project_contract_address
name: project_contract_address
description: "Project contract address which executed the trade on the blockchain"
- &user
name: user
description: "Address which initiated the trade"
- &tx_hash
name: tx_hash
description: "Unique transaction hash value tied to each transaction on the DEX"
- &evt_index
name: evt_index
description: "Index of the corresponding trade event"
- &is_last_trade_in_transaction
name: is_last_trade_in_transaction
description: "Wether the trade is the last hop of the trade transaction, in case of a multi-hop trade"
columns:
- &blockchain
name: blockchain
description: "Blockchain which the DEX is deployed"
- &block_number
name: block_number
description: "Block number that includes the DEX trade"
- &block_time
name: block_time
description: "UTC event block time of each DEX trade"
- &block_date
name: block_date
description: "UTC event block date of each DEX trade"
- &block_month
name: block_month
description: "UTC event block month of each DEX trade"
- &bot
name: bot
description: "Trading bot which executed the trade"
- &amount_usd
name: amount_usd
description: "USD value of the trade at time of execution"
- &type
name: type
description: "Wether the trade is a buy or sell"
- &token_bought_amount
name: token_bought_amount
description: "Value of the token bought at time of execution in the original currency"
- &token_bought_symbol
name: token_bought_symbol
description: "Token symbol for token bought in the trade"
- &token_bought_address
name: token_bought_address
description: "Contract address of the token bought"
- &token_sold_amount
name: token_sold_amount
description: "Value of the token sold at time of execution in the original currency"
- &token_sold_symbol
name: token_sold_symbol
description: "Token symbol for token sold in the trade"
- &token_sold_address
name: token_sold_address
description: "Contract address of the token sold"
- &fee_percentage_fraction
name: fee_percentage_fraction
description: "The trading fee in percent, as a fraction of 100"
- &fee_usd
name: fee_usd
description: "USD value of the fee at time of execution"
- &fee_token_amount
name: fee_token_amount
description: "Value of the fee paid at time of execution in the original currency"
- &fee_token_symbol
name: fee_token_symbol
description: "Token symbol for fee token"
- &fee_token_address
name: fee_token_address
description: "Contract address of the fee token"
- &project
name: project
description: "Project name of the DEX"
- &version
name: version
description: "Version of the contract built and deployed by the DEX project"
- &token_pair
name: token_pair
description: "Token symbol pair for each token involved in the trade"
- &project_contract_address
name: project_contract_address
description: "Project contract address which executed the trade on the blockchain"
- &user
name: user
description: "Address which initiated the trade"
- &tx_hash
name: tx_hash
description: "Unique transaction hash value tied to each transaction on the DEX"
- &evt_index
name: evt_index
description: "Index of the corresponding trade event"
- &is_last_trade_in_transaction
name: is_last_trade_in_transaction
description: "Wether the trade is the last hop of the trade transaction, in case of a multi-hop trade"

- name: banana_gun_ethereum_bot_trades
meta:
Expand Down
Loading
Loading