Skip to content

Commit

Permalink
Base bridges & move Ethereum bridge addresses (duneanalytics#4827)
Browse files Browse the repository at this point in the history
* initial Socialtokens view

* Rename socialTokens to socialtokens.sql

* Addded new tokens to list

* Update socialtokens.sql

* rmv social tokens file

* add zeroex to dex_aggregator.trades

* remove old branches

* reset profiles.yml

* op dex routers

* base bridges

* restore op

* retsore op

* rmv op dex

* rmv unneeded

* blockchain (sp)

* add bridge

* add blockchain field to eth model

* first row fix

* add base briges to labels

* update categories

* move, name, schema, alias

* remove dex schema change

* schema

* Add files

* remove arb changes

* remove expose spell

* remove irrelevant

* unique test, remove alias name, remove expose

* remove eth dups

* /
  • Loading branch information
RantumBits authored Nov 21, 2023
1 parent 8f13fb6 commit 47a8ce0
Show file tree
Hide file tree
Showing 9 changed files with 257 additions and 159 deletions.
151 changes: 0 additions & 151 deletions models/addresses/ethereum/addresses_ethereum_bridges.sql

This file was deleted.

23 changes: 23 additions & 0 deletions models/bridges/base/_schema.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
version: 2

models:
- name: bridges_base_addresses
meta:
blockchain: base
sector: bridges
project: addresses
contributors: rantum
config:
tags: ['table', 'bridges', 'addresses', 'base']
description: "Known bridge addresses"
columns:
- name: blockchain
description: "Name of blockchain"
- name: address
description: "Address of known Bridges"
tests:
- unique
- name: bridge_name
description: "Name of protocol behind the bridge"
- name: description
description: "Description of the bridge"
19 changes: 19 additions & 0 deletions models/bridges/base/bridges_base_addresses.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{{ config(alias = 'addresses',
schema = 'bridges_base',
tags=['static']
) }}

SELECT blockchain, address, bridge_name, description
FROM (VALUES
('base', 0x4200000000000000000000000000000000000010, 'Base', 'L2StandardBridge')
,('base', 0x4200000000000000000000000000000000000014, 'Base', 'L2ERC721Bridge')
,('base', 0xaf54be5b6eec24d6bfacf1cce4eaf680a8239398, 'Stargate', 'Bridge')
,('base', 0xe4edb277e41dc89ab076a1f049f4a3efa700bce8, 'Orbiter Finance', 'Bridge 2')
,('base', 0x80c67432656d59144ceff962e8faf8926599bcf8, 'Orbiter Finance', 'Bridge 1')
,('base', 0xd9d74a29307cc6fc8bf424ee4217f1a587fbc8dc, 'Orbiter Finance', 'Bridge 3')
,('base', 0x13e46b2a3f8512ed4682a8fb8b560589fe3c2172, 'Orbiter Finance', 'Bridge 4')
,('base', 0x45a318273749d6eb00f5f6ca3bc7cd3de26d642a, 'Owlto Finance', 'Bridge')
,('base', 0x00000000000007736e2f9aa5630b8c812e1f3fc9, 'ChainEye', 'MiniBridge')
,('base', 0x09aea4b2242abc8bb4bb78d537a67a245a7bec64, 'Across', 'SpokePoolVerifier')

) AS x (blockchain, address, bridge_name, description)
23 changes: 23 additions & 0 deletions models/bridges/ethereum/_schema.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
version: 2

models:
- name: bridges_ethereum_addresses
meta:
blockchain: ethereum
sector: bridges
project: addresses
contributors: hildobby, msilb7, rantum
config:
tags: ['table', 'bridges', 'addresses', 'ethereum']
description: "Known bridge addresses"
columns:
- name: blockchain
description: "Name of blockchain"
- name: address
description: "Address of known Bridges"
tests:
- unique
- name: bridge_name
description: "Name of protocol behind the bridge"
- name: description
description: "Description of the bridge"
Loading

0 comments on commit 47a8ce0

Please sign in to comment.